View Poll Results: To [code] or not to [code].

Voters
11. You may not vote on this poll
  • Put [code] in it.

    5 45.45%
  • Nah. Just leave the .

    6 54.55%
  • Other. *Specify suggestion*

    0 0%
Results 1 to 29 of 29

Thread: To [code] or not to [code].

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    To [code] or not to [code].

    I'm task to create a Console Output function in Cander's VBForums extension. Sample output would be

    javac -d ../build/classes HelloWorld.java
    java HelloWorld


    I'm having trouble dealing with spaces as   is disabled now. I just put ... to fill the spaces and colored it black

    javac -d ../build/classes HelloWorld.java
    java HelloWorld..........................


    The problem now arises if a user copy pasted the text. (...) would be a mess. Here's an alternative

    Code:
    javac -d ../build/classes HelloWorld.java
    java HelloWorld                          
    But code tag is not very nice to look at for some. What do you think guys? In code btw, we just have to add space in it so in copy/paste thing, it's safe.

  2. #2
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    Hehe..I like it better without the code tag...

  3. #3
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: To [code] or not to [code].

    I would say code it
    PHP || MySql || Apache || Get Firefox || OpenOffice.org || Click || Slap ILMV || 1337 c0d || GotoMyPc For FREE! Part 1, Part 2

    | PHP Session --> Database Handler * Custom Error Handler * Installing PHP * HTML Form Handler * PHP 5 OOP * Using XML * Ajax * Xslt | VB6 Winsock - HTTP POST / GET * Winsock - HTTP File Upload

    Latest quote: crptcblade - VB6 executables can't be decompiled, only disassembled. And the disassembled code is even less useful than I am.

    Random VisualAd: Blog - Latest Post: When the Internet becomes Electricity!!


    Spread happiness and joy. Rate good posts.

  4. #4
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    Quote Originally Posted by visualAd
    I would say code it

    I am sooo going to kill you.....why would you do that? It is not code....and the code box doesn't fill the screen, so if you have more then 30 or what ever chars on a line you will get a horizontal scrool bar....ahhhhhh

    Edit: And it looks stupid with the blank line on the bottom too...

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2005
    Location
    Cebu
    Posts
    607

    Re: To [code] or not to [code].

    And noobxurz pasted .... if they (including me) copied commands. BAahahahaha.

  6. #6
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    noteme@PCDSUSI02:/$ cd home/noteme/mydoc/
    noteme@PCDSUSI02:~/mydoc$ les............



    I don't see the problem you are having...I can't make it a problem even if I try...

  7. #7
    VBA Nutter visualAd's Avatar
    Join Date
    Apr 2002
    Location
    Ickenham, UK
    Posts
    4,906

    Re: To [code] or not to [code].

    Quote Originally Posted by NoteMe
    I am sooo going to kill you.....why would you do that? It is not code....and the code box doesn't fill the screen, so if you have more then 30 or what ever chars on a line you will get a horizontal scrool bar....ahhhhhh

    Edit: And it looks stupid with the blank line on the bottom too...
    Code tags are your friend. Respect them .....


    You are just jealouse becuase you 10x10 screen resolution doesn't support code tags

  8. #8
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    Yeah I am, but it is the opposite though, since I am using 1280*1024, but I could just as well have used 1024*765 and gotten the same out of the code tag...the code tag sucks...grrrr...

  9. #9
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: To [code] or not to [code].

    I think we need an "insert code tags button" in the Quick Reply area. There is a quote tag button so why not code? Bloody mods being lazy as usual.

  10. #10
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    Quote Originally Posted by wossname
    I think we need an "insert code tags button" in the Quick Reply area. There is a quote tag button so why not code? Bloody mods being lazy as usual.

    You can do it with the extension...but first you have to vote here...and I guess you see that my solution is much better then Neb and Visuals...

  11. #11
    Not NoteMe SLH's Avatar
    Join Date
    Mar 2002
    Location
    192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
    Posts
    3,051

    Re: To [code] or not to [code].

    I like note's solution best, the invisible dots, although that would be annoying if copying and pasting...

    EDIT: instead of using a dot, perhaps use a very rare ascii charactor, so people can do find/replace when pasting it.


    EDIT2: how about this char? █ (ALT+ 987)
    Last edited by SLH; Jun 23rd, 2005 at 08:28 AM.
    Quotes:
    "I am getting better then you guys.." NoteMe, on his leet english skills.
    "And I am going to meat her again later on tonight." NoteMe
    "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
    "my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
    Have I helped you? Please Rate my posts.


  12. #12
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    And you didn't vote.......grrr....looks like I am fighting a losing combat here...hehe..guess I can always alter my version later on so I can have it my way...

  13. #13
    Not NoteMe SLH's Avatar
    Join Date
    Mar 2002
    Location
    192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
    Posts
    3,051

    Re: To [code] or not to [code].

    What do you mean? of course i voted....
    Quotes:
    "I am getting better then you guys.." NoteMe, on his leet english skills.
    "And I am going to meat her again later on tonight." NoteMe
    "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
    "my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
    Have I helped you? Please Rate my posts.


  14. #14
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    Good, now we only need 3 more...

  15. #15
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: To [code] or not to [code].

    I dont think we should call it Cander's VBF Extension anymore. Lets call it Canotebulom's extension.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  16. #16
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: To [code] or not to [code].

    Who even remotely cares?

  17. #17
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    I don't think I can pronounce that.....BTW I can see you voted the wrong option...

  18. #18
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    Quote Originally Posted by wossname
    Who even remotely cares?

    Me and Neb..

  19. #19
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: To [code] or not to [code].

    I haven't checked the replies, but how about a horizontal line before the black box?

  20. #20
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913

    Re: To [code] or not to [code].

    Quote Originally Posted by wossname
    Who even remotely cares?

    You would if you were as cool as us.
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

  21. #21
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    Quote Originally Posted by mendhak
    I haven't checked the replies, but how about a horizontal line before the black box?

    What do you mean? Like black horizontal line in front? Like this?

    .noteme@PCDSUSI02:/$ cd home/noteme/mydoc/
    .noteme@PCDSUSI02:~/mydoc$ les............




    I like that.Maybe even after too.. Or maybe just make it as wide as a console window or the code box...

    ØØ
    Last edited by NoteMe; Jun 24th, 2005 at 01:40 AM.

  22. #22
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: To [code] or not to [code].

    Quote Originally Posted by NoteMe
    What do you mean? Like black horizontal line in front? Like this?

    .noteme@PCDSUSI02:/$ cd home/noteme/mydoc/
    .noteme@PCDSUSI02:~/mydoc$ les............




    I like that.Maybe even after too.. Or maybe just make it as wide as a console window or the code box...

    ØØ
    Where??

  23. #23
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    I added one black space in front of each line.....Making up a.....ohhh..you said horizontal.....I did vertical..

    So you mean like THIS then:



    ..........................................
    .noteme@PCDSUSI02:/$ cd home/noteme/mydoc/
    .noteme@PCDSUSI02:~/mydoc$ les............
    Last edited by NoteMe; Jun 24th, 2005 at 01:42 AM.

  24. #24
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: To [code] or not to [code].

    Actually I meant an <hr>, but this seems better. GIve it a one-space padding all around, so as to give it a properly boxed appearance.

  25. #25
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    What about this then. If I fix the top and bottom picture to suit the line width. That shouldn't be a problem if we have a fixed line widt, since Courier New is taking up the same space no matter what char we are adding.






    .noteme@PCDSUSI02:~/mydoc$ les.........................................
    .totalt 60.............................................................
    .drwxrwxrwx 11 noteme noteme 4096 2005-06-23 19:01 ....................
    .drwxrwxrwx 31 noteme noteme 4096 2005-06-24 08:59 ....................
    .drwxr-xr-x 2 noteme noteme 4096 2005-06-23 19:01 cander.web...........
    .drwxr-xr-x 2 noteme noteme 4096 2005-06-22 17:28 doc..................
    .drwxr-xr-x 3 noteme noteme 4096 2005-06-23 18:25 editor...............
    .drwxr-xr-x 2 noteme noteme 4096 2005-06-23 17:34 extension............
    .drwxrwxrwx 2 noteme noteme 4096 2005-06-21 17:13 pdf..................
    .drwxr-xr-x 3 root root 4096 2005-06-23 09:46 python...................
    .-rw-r--r-- 1 root root 210 2005-06-23 10:33 pythontags.py.............
    .-rw-r--r-- 1 root root 30 2005-06-23 10:22 pythontags.py~.............
    .drwxr-xr-x 3 noteme noteme 4096 2005-06-23 12:09 regex................
    .-rw-r--r-- 1 noteme noteme 18 2005-06-23 14:18 regex.txt..............
    .drwxr-xr-x 3 noteme noteme 4096 2005-06-23 19:46 test.................
    .-rwxrwxrwt 1 noteme noteme 878 2005-06-23 19:00 update.rdf~...........
    .drwxr-xr-x 2 noteme noteme 4096 2005-06-21 12:42 wossy png............


  26. #26
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    So can someone just give me two more votes now..

  27. #27
    Not NoteMe SLH's Avatar
    Join Date
    Mar 2002
    Location
    192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
    Posts
    3,051

    Re: To [code] or not to [code].

    How about changing the titlebar picture to say 'console output' or something?
    Quotes:
    "I am getting better then you guys.." NoteMe, on his leet english skills.
    "And I am going to meat her again later on tonight." NoteMe
    "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
    "my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
    Have I helped you? Please Rate my posts.


  28. #28
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    That was just a sample. It isn't cut very nicely either. Didn't botter to do it propely just to show a test..


    ØØ

  29. #29
    Retired G&G Mod NoteMe's Avatar
    Join Date
    Oct 2002
    Location
    @ Opera Software
    Posts
    10,190

    Re: To [code] or not to [code].

    Was it rigged now? Or did I actualy win here?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width