Slashdot Mirror


2004 IOCCC Winners Source Code Released

Langly writes "The IOCCC have finally released their source code for 2004. My thoughts goes out to the poor guys that actually wrote this code. Reader discretion is advised." Every time I see an obfuscated code contest, I wonder if 'Winner' is the right word to describe the victor ;)

16 of 175 comments (clear)

  1. frist? by Anonymous Coward · · Score: 5, Funny

    void main(void) {
    printf("frist prost");
    }

  2. obfuscated server by LiquidCoooled · · Score: 5, Funny

    The code running on the webserver must be AMAZING.
    Its so obfuscated that I cant even see it!

    ahhhhhh its finally shown up.

    Doesnt bode well though.

    --
    liqbase :: faster than paper
  3. Big deal by Anonymous Coward · · Score: 5, Funny

    When I was learning programming, I would obfuscate code so bad that even the compiler couldn't understand it, let alone humans...

  4. Follow up story. by AtariAmarok · · Score: 5, Funny

    "Within 20 minutes of the code release, SCO sued claiming that it contained something of theirs".

    --
    Don't blame Durga. I voted for Centauri.
  5. Oh the irony by agent+dero · · Score: 5, Funny

    An obfuscated code contest article has a Microsoft "Get the Facts" ad beneath it.

    Does the OSTG try to be subtle or what? :-P

    --
    Error 407 - No creative sig found
  6. Mirrors by mozingod · · Score: 5, Informative

    Google cache with different mirrors across the globe: http://64.233.167.104/search?q=cache:LAIfxt7dfOEJ: www.ioccc.org/+ioccc&hl=en

  7. Time to brush up on your l33t coding skills by GillBates0 · · Score: 5, Funny
    How to write unmaintainable code

    Some gems:
    Naming variables :
    #1 Baby names: Buy a copy of a baby naming book and you'll never be at a loss for variable names. Fred is a wonderful name, and easy to type. If you're looking for easy-to-type variable names, try adsf or aoeu if you type with a DSK keyboard.

    #17 Bedazzling Names: Choose variable names with irrelevant emotional connotation. e.g.:
    marypoppins = ( superman + starship ) / god;
    This confuses the reader because they have difficulty disassociating the emotional connotations of the words from the logic they're trying to think about.

    #26 Misleading names: Make sure that every method does a little bit more (or less) than its name suggests. As a simple example, a method named isValid(x) should as a side effect convert x to binary and store the result in a database.

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
  8. The value of not being seen by downward+dog · · Score: 5, Funny

    In this film we hope to show how not to be seen. This is "Hello World" by Mr. E. R. Bradshaw of Cambridge, MA. It can not be seen. Now I am going to ask the code to stand up. "Hello World," will you stand up please. This demonstrates the value of not being seen.

  9. Every day by 3770 · · Score: 5, Funny

    Hey,

    I write code like that every day for a living.

    I'm just about to finish a world wide, 3-tier, trouble ticketing system in the shape of a Maze.

    --
    The Internet is full. Go Away!!!
  10. Re:Mirror this already! by Anonymous Coward · · Score: 5, Informative

    There are several mirrors. I know, I run one of them. Why the submitter hardcoded the us one is beyond me.

    • Antarctica
      none yet :-)
    • Africa
      none
    • Australia and other Pacific
    • www.au.ioccc.org - Sydney, Australia (34 0' S 151 0' E)
    • Extraterrestrial
      SETI is looking for some sites :-)
    • South America
      none
  11. OK Mr Supar Comuputar by stratjakt · · Score: 5, Funny

    I wonder if 'Winner' is the right word to describe the victor

    This is coming from the dingus behind slashcode.

    --
    I don't need no instructions to know how to rock!!!!
  12. Re:ouch by ajs · · Score: 5, Insightful

    I'm so tired of this. Every time the IOCCC winners are announced someone has to go off on how unmaintainable the code is.

    For those who are unable to grasp the point, I'll say it slowly: this code is written by people who understand C well enough to twist it into any shape they please. Of course, they could write clean, maintainable code, but then they would LOSE the competition. The goal is to write obfuscated code.

    The IOCCC is an expression of source-code as art in a compettitive forum. If that isn't your cup of tea, don't hurt your brain by reading the submissions.

  13. Re:Simple trick for beginners by mopslik · · Score: 5, Interesting
    Bah, why use "A" and "B" when "I" (capital i) will do the trick even better?

    Examples:
    I1I1 (eye one eye one)
    IlIl (eye ell eye ell)
    lIll (ell eye ell ell)
    etc.
  14. Size does matter! by mwvdlee · · Score: 5, Interesting

    Why not just differentiate by varying the length of the names?

    xxxxxxxxxxxxxx = xxxxxxxxxxxx + xxxxxxxxxxxxxxxxxxxxx / xxxxxxxxxxxxxxxx;

    Makes sense, doesn't it? And it works with every letter of the alphabet too!

    --
    Slashdot social media options: AIM, ICQ, Yahoo, Jabber and Mobile Text. Why no MySpace?
  15. Re:clueless submitters by RangerRick98 · · Score: 5, Funny

    Actually, 90% of obfuscation is perl scripts. :)

    <runs>

    --
    "You're older than you've ever been, and now you're even older."
  16. Re:clueless submitters by willisachimp · · Score: 5, Interesting
    Actually, I work with the guy who wrote the 'gavin' (the best of show this year), and know for a fact that the final version you see is *very* similar to his development version. Pretty much the only difference is shorter, meaningless variable names and running it through indent (thus giving no information in the indentation, by using a standard indentation tool)

    What you see is how he wrote it - he really is that sick :-D

    I'm so glad he doesn't write like this when he's working. Well, not often, anyway.