Thread: Code tag problem

  1. #16
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> You forgot about boycott

    I forgot my sarcasm tags, people!!!
    Last edited by twomers; 09-25-2006 at 10:25 AM.

  2. #17
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by siavoshkc
    If you wanna make admins angry, OK do that. But if you wanna do something useful finish bombing threads (max's solution).
    But they notice it. That means it works.

    Some people post some text about the question and tell them to use code tags in the normal text size and they don't usually even notice it.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  3. #18
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    > But if you wanna do something useful finish bombing threads (max's solution).

    And you think it's useful starting the Nth thread about code tags!?
    Sheesh!
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  4. #19
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> Other code help forums do just fine without worrying about code tags at all.

    Do they have them, and not incest on the users' use of them, or is it that they do not have them, and do not understand the aesthetic benifits which come with that snippet of code? The first is just silly (why have something which is good if it's not implemented), the second is also silly.

    The question is - Do you prefer reading code that's tagged or code that's not tagged? If you prefer tagged, then you can't argue with the reintroduction of the script, if you don't, then, well, I won't insult you, but you don't.

  5. #20
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Guys lets get something straight here...

    a couple of weeks after the forums upgrade one of the oldest moderators posted a thread asking if we thought a good idea to reinstate the script. A vast majority said yes. Only a few black sheep thought it was a bad idea. Curiously enough only a handful were bothered by the lack of the script before that thread.

    It's done! Over with. Finito. Subject closed. Asta la vista baby. See ya around. Period.

    When the admins have the time or will, they will solve it. No matter how many threads we start on this. Capiche?

    They know! They do. Trust me. They... know.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  6. #21
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,090
    Quote Originally Posted by twomers
    >> Other code help forums do just fine without worrying about code tags at all.

    Do they have them, and not incest on the users' use of them, or is it that they do not have them, and do not understand the aesthetic benifits which come with that snippet of code? The first is just silly (why have something which is good if it's not implemented), the second is also silly.
    They have them, just like this site does. They request that posters use them via a sticky or FAQ or board rule or something. On one site I'm thinking of, most helpers don't mention it except for a few senior helpers who respectfully request that the user use code tags. On another site I'm thinking of, there are a bunch of smart, senior posters who help all the time, and I rarely see anybody even mention code tags even though they are used by everybody but the newbies.

    So it is your first assumption- they have them but they don't insist that people use them. However, this is not silly at all, since the feature is implemented and most people do use it. It is just that only the new posters or the dense posters don't do it and nobody makes a big deal about it when it doesn't happen. People don't worry about it.
    Quote Originally Posted by twomers
    The question is - Do you prefer reading code that's tagged or code that's not tagged? If you prefer tagged, then you can't argue with the reintroduction of the script, if you don't, then, well, I won't insult you, but you don't.
    Who is arguing with the re-introduction of the script? Almost everybody agrees it was a good idea. And as I just said in the post you partially quoted, when the administrators have time they will probably put it back if it still works. Although if I was running this site I'd probably wait another couple months just to teach some patience.

  7. #22
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> Although if I was running this site I'd probably wait another couple months just to teach some patience.

    I have none

    Some good points, Mario. I hope to see it reintroduced soon though


    [EDIT]
    On one site I'm thinking of, most helpers don't mention it except for a few senior helpers who respectfully request that the user use code tags. On another site I'm thinking of, there are a bunch of smart, senior posters who help all the time, and I rarely see anybody even mention code tags even though they are used by everybody but the newbies.
    What#s this?? A friendly forum?? I don't believe it!
    Last edited by twomers; 09-25-2006 at 11:19 AM.

  8. #23
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by twomers
    >> Although if I was running this site I'd probably wait another couple months just to teach some patience.

    I have none

    Some good points, Mario. I hope to see it reintroduced soon though
    How is it even possible that a script understands where the code begins and where it ends? Do you have the best AI techonology in the world?
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  9. #24
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    >> How is it even possible that a script understands where the code begins and where it ends?

    'Understand', impossible. Guess, possible. I guess it tests the post for instances of {, } and other programming things (<, >), etc, and guesses about them.

    However, one 'bug' with the old script was that it should have given the option for you to say that something wasn't code, like if I said something like

    Quote Originally Posted by Future-Me
    On line 17, you should replace { with }, and take a look at the proper use of ==, != with the .c_str() method. Also look into std::string s, and if you want you can put in a using namespace std; to not have to use std:: on front of everything; it's probably better to use std::whatevers in big projects though!
    it would probably say "Use Code Tags!", which is wrong, so I should have an over-ride option.

  10. #25
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    On 4chan, all whitespace is automatically preserved by the board so you don't have to worry about code tags. I think they use non-breaking spaces or something like that ri achieve the effect.

  11. #26
    Registered User
    Join Date
    Oct 2004
    Posts
    151
    Quote Originally Posted by twomers
    However, one 'bug' with the old script was that it should have given the option for you to say that something wasn't code, like if I said something like



    it would probably say "Use Code Tags!", which is wrong, so I should have an over-ride option.
    In that scenario, use [font=Monospace][/font] tags. ;-)
    System: Debian Sid and FreeBSD 7.0. Both with GCC 4.3.

    Useful resources:
    comp.lang.c FAQ | C++ FQA Lite

  12. #27
    System Novice siavoshkc's Avatar
    Join Date
    Jan 2006
    Location
    Tehran
    Posts
    1,246
    As I noticed in Salem thread, I am not agree with forcing people to do something. That script only should warn the poster.

    The problem has simple solutions (S1-S6), each of them can solve the problem greatly (especialy S2). And S3 is required (max's simple logic). It only needs a bit of admins care.

    New poster doesn't know that he/she should use Code tags. It is not His/Her fault, so you can't ban him/her. You just say use code tags, then he/she should go and find out what is the code tag and then use it. Why not S4? It replaces max's solution.

    I am worry about the forum, this is why I started this thread.

    When the admins have the time or will, they will solve it. No matter how many threads we start on this. Capiche?
    So why Salem started that poll? And when they will have the will?
    Learn C++ (C++ Books, C Books, FAQ, Forum Search)
    Code painter latest version on sourceforge DOWNLOAD NOW!
    Download FSB Data Integrity Tester.
    Siavosh K C

  13. #28
    Registered User
    Join Date
    Sep 2004
    Posts
    124
    Is it not possible to introduce some fixed text immediately above the box where you enter the post text (for both new threads and replies) that says, "If you are posting code then you must use code tags, otherwise many helpers here will overlook your post"?

    Or words to that effect. Make them in bold red.

    That way, the poster has been warned, no need for a script (that can go wrong and not catch every instance of code, or worse, catch "code" that isn't code at all).
    I think you can put a signature here.

  14. #29
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    > So why Salem started that poll? And when they will have the will?

    Because, it hadn't been discussed before.

    And... how should I know? Is it really damaging you guys so much this quotes thing. I mean, I surely would like to see the problem solved. But is it really that evil that it deserves 20 threads and an endless argument that came to a point where there are more posts than there are posters? You guys are proposing options without even knowing if the previous ones where debated or agreed between the admins. Or even if they care. C'mon!

    Give it a break.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  15. #30
    The superhaterodyne twomers's Avatar
    Join Date
    Dec 2005
    Location
    Ireland
    Posts
    2,273
    But that said, would it be unrealistic to ask why it was revoked in the first place? The only problem I had with it was what I mentioned beforehand.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Someone having same problem with Code Block?
    By ofayto in forum C++ Programming
    Replies: 1
    Last Post: 07-12-2007, 08:38 AM
  2. Replies: 12
    Last Post: 06-08-2005, 11:23 AM
  3. Problem : Threads WILL NOT DIE!!
    By hanhao in forum C++ Programming
    Replies: 2
    Last Post: 04-16-2004, 01:37 PM
  4. problem with my code
    By stilllearning in forum C++ Programming
    Replies: 3
    Last Post: 04-08-2003, 03:02 PM
  5. << !! Posting Code? Read this First !! >>
    By kermi3 in forum C Programming
    Replies: 0
    Last Post: 10-03-2002, 03:04 PM