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 ;)

27 of 175 comments (clear)

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

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

    1. Re:frist? by Anonymous Coward · · Score: 1, Funny
      You succeed, but also half fail it:
      frist_prost.c: In function `main':
      frist_prost.c:1: warning: return type of `main' is not `int'
    2. Re:frist? by Anonymous Coward · · Score: 1, Funny

      Your post was only six words long, and you fucked up three of them.

      Objective.
      Obfuscation.
      Efficiency.

  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. 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
    1. Re:Time to brush up on your l33t coding skills by itsNothing · · Score: 2, Funny
      The weirdest naming i saw was while trying to help an undergraduate work on a program:
      one = 4
      two = 3
      three = one + two
      The benefit is that you're pretty sure not to run out of variable names. The downside is that this is a real problem to try to follow after a VERY short time.
  7. 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.

  8. Obfuscated webserver by dk.r*nger · · Score: 3, Funny

    Their webserver is actually written in obfuscated c++ .. Sure, it's slow, but the binary plays a technoversion of Star Sprangled Banner when piped through /dev/dsp ..

    1. Re:Obfuscated webserver by Eneff · · Score: 2, Funny

      I was so unbelievably depressed when I read your entry, I just about went into my Boss's room and quit on the spot.

      I bow and commit seppaku in honor of your programming prowess.

  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!!!
    1. Re:Every day by RobertB-DC · · Score: 2, Funny

      Sometimes, .sigs mesh with comments in particularly interesting ways:

      I'm just about to finish a world wide, 3-tier, trouble ticketing system in the shape of a Maze.
      Don't write code, generate it using XML and XSLT with Visual Studio XGen


      I just hope the XGen development team has a good sense of humor...

      --
      Stressed? Me? Of course not. Stress is what a rubber band feels before it breaks, silly.
    2. Re:Every day by 3770 · · Score: 2, Funny


      I couldn't tell you if the XGen development team has a good sense of humor. What I _can_ tell you is that I'm the only developer in that project.

      It is also an open source project so you could see the source code.

      --
      The Internet is full. Go Away!!!
    3. Re:Every day by Anonymous Coward · · Score: 1, Funny

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

      So you're the one who's developing PeopleSoft 9?

  10. Wow, that's the ultimate obscuring.... by Dj · · Score: 1, Funny

    You can't get better than obfuscation by slashdotting.

    --
    "You know you want me baby!" - Crow T Robot
  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. Simple trick for beginners by grungeman · · Score: 4, Funny

    Name your variables A1, Al, B1, Bl, and so on. With some fonts (especially those fixed width fonts in code editors) a "l" (small "L") looks exactly the same as a "1" (a one), which makes sure that the guy maintaining the code will have fun a-plenty.

    --

    Signature deleted by lameness filter.
  13. That's nothing by Anonymous Coward · · Score: 1, Funny

    I could obfuscate code so bad that it would crash the compiler, impregnate the linker and produce a fat binary.

    Free iPod Photo | Free Flat Screens | It really works!

  14. Is This Necessary? by Mignon · · Score: 4, Funny

    Hasn't obfuscated C already been perfected?

  15. Oh noooooo by ewe2 · · Score: 2, Funny


    Every time I see an obfuscated code contest, I wonder if 'Winner' is the right word to describe the victor ;)


    I certainly feel like a loser when I read obfuscated code!

    --
    insecurity asks the wrong question irritation gives the wrong answer
  16. Gotta love it. by jcuervo · · Score: 4, Funny
    Check out vik1.c:
    /* Some more code */
    I think they gave him extra points for the comment.
    --
    Assume I was drunk when I posted this.
  17. Even more obfuscated code by Anonymous Coward · · Score: 3, Funny

    If you want to take a look at some code that's a real mess, try this code here.

    Ugh.

  18. 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."
  19. IOC code? by MrCocktail · · Score: 2, Funny

    I read the title a little too fast, collapsed all the C's together, and wondered out loud when coding became an Olympic sport...

  20. My Contribution by AnalogDiehard · · Score: 2, Funny

    I submitted a M$ Windows XP EULA. The code parser exploded and it was disqualified.

    --
    Eternity: will that be smoking, or non-smoking? I Corinthians 6:9-10