Slashdot Mirror


Winners of the 18th IOCCC

achowe writes "The winners of the 18th International Obfuscated C Code Contest have been announced. This years winners include a 'Commodore PET emulator', 'Sound generation with SDL audio', and a 'Text WWW Browser'."

110 comments

  1. No Source Code? by geomon · · Score: 4, Interesting

    What's with that?

    Seriously though, why post the results of a competition regarding obfuscated source code if we are unable to view the entries ourselves? Seem the announcement was a bit of a let down if all we get to see is a couple of output files from some of the entries.

    Sigh... I miss the old days when awards announcements didn't have a trailer.

    --
    "Rocky Rococo, at your cervix!"
    1. Re:No Source Code? by nizo · · Score: 4, Funny

      Maybe they are really available but are difficult to see? That would be the theme of the contest after all. Time to start digging through the html on the site!

    2. Re:No Source Code? by geomon · · Score: 2, Funny

      Maybe they are really available but are difficult to see?

      Wow! Now THAT'S a *contest*!

      --
      "Rocky Rococo, at your cervix!"
    3. Re:No Source Code? by graveyhead · · Score: 5, Insightful
      WTF?

      Right at the top of the page it says:
      "The source code has not been released yet. The winners will be notified by EMail soon. They will be given a chance to review the write-up of their entry. Once this process is complete the source code will be made available on the winning entries web page. We anticipate that this will be in mid-December."
      Can I buy some pot from these moderators and the parent poster?
      --
      std::disclaimer<std::legalese> sig=new std::disclaimer; sig->dump(); delete sig;
    4. Re:No Source Code? by redink1 · · Score: 4, Funny

      Obfuscation... You fear to go into those minds. The coders delved too greedily and too deep. You know what they awoke in the darkness of Programming... shadow and flame.

    5. Re:No Source Code? by conan_the_trollarian · · Score: 1

      I want in on that bag too!

    6. Re:No Source Code? by Agent+Green · · Score: 1
      Maybe they are really available but are difficult to see?

      Wow! Now THAT'S a *contest*!
      That kinda happens to the source code of LOTS of sites after Slashdot finds them...
      --
      // Agent Green (Ian / IU7 / KB1JQO)
      // IEEE 802.3: All 10base Are Belong To Us
    7. Re:No Source Code? by panth0r · · Score: 1

      Let's think about this. These programmers aren't "jury-rig[ging]" code to work, they take a program that is relatively simple and make it as hard to read as possible. One of the points of the competition is to make your code difficult to read, which is a hard enough task to do, trust me. Reading obfuscated code is quite difficult, as I'm sure you would agree, but don't you think being able to both write and read obfuscated code might actually have some programming value? I've had to debug some people's weird stuff in the past and I honestly thing if I could write something like I've seen even beginning CS students write (and they make it work [let's take something really simple, like a doubly linked list]) I think I'd be a better programmer. To the example, a doubly linked list is really easy to write, right.... (hopefully)... anyway, let's tell a student who just got out of an syntax class to write a doubly linked list and only give him what functions we expect, still very simple functions. And let's give him or her two weeks to do it. With what I've seen, students will actually get something to work, it will be very messed up and probably have horrible timing, but it will work. Also, as I'm leading to, it would be extremely hard to read, he or she might not make it easy on him or herself, he or she may not know many of the tricks to do this, but it will work, every function and every variable will work. If we translate this into a higher level and tell an MS of computer science to write a dissertation, they will probably have a highly functional program that will be very hard to read and explain (even for the grad student), but might be the beginning to something great. Being able to read badly developed code can have it's advantages.

      --
      I like suggestions, but I don't like contributing towards them.
    8. Re:No Source Code? by jtorkbob · · Score: 2, Insightful

      True, they do propose a time at which they WILL give us the source, but it's still a nasty, nasty tease. I kind of expected to be able to see the code. "Free donuts in the break room." (minutes pass) "I see no donuts." "I didn't mean *right now*!"

      --
      AC: Only on slashdot... could the sentence "My hovercraft is full of eels." be moderated "+4, Insightful
    9. Re:No Source Code? by jtorkbob · · Score: 5, Funny

      Also, as I'm leading to, it would be extremely hard to read

      You mean like a huge block of text with no line breaks?

      --
      AC: Only on slashdot... could the sentence "My hovercraft is full of eels." be moderated "+4, Insightful
    10. Re:No Source Code? by panth0r · · Score: 2, Funny

      that
      is
      exactly
      what
      i
      am
      talking
      about

      --
      I like suggestions, but I don't like contributing towards them.
    11. Re:No Source Code? by IdahoEv · · Score: 5, Funny

      I can't wait until the code is out! I'm really excited by this one:

      Most superfluous output

      Francois Boutines - XML Voronoi diagrams generator
      Toulouse, France


      I've been wanting to write a voronoi generator for a game-map-development project (maps for a Risk clone). But I could only find mathematical definitions, not any good code that clearly laid out the algorithm. Hopefully this program will be nice and clear (and well-documented!) so that I can reproduce the algorithm from it.

      --
      I stole this sig from someone cleverer than me.
    12. Re:No Source Code? by slavemowgli · · Score: 5, Informative

      RTFA. It quite clearly states that the source will be released later this year after the participants have been consulted.

      --
      quidquid latine dictum sit altum videtur.
    13. Re:No Source Code? by Carthag · · Score: 1

      I'm not one of the mods, but I'd like some if you're going to the pot store anyway.

    14. Re:No Source Code? by captain_craptacular · · Score: 1

      I think you're the one smoking. Who cares that they announced their lameness at the top of the page? It's still utterly lame to announce the winners of an obscure coding challenge and not show the code.

      Thats akin to the Academy Awards occuring for as yet unreleased movies. Which apparently is OK with you, as long as they tell you that you can't watch the movies for another month or two.

      --
      They who would give up an essential liberty for temporary security, deserve neither liberty nor security
    15. Re:No Source Code? by petermgreen · · Score: 1

      ROFL

      rot13 text below is an explanation of the joke for those who don't get it
      Guvf vf gur vagreangvbany BOSHFPNGRQ P pbqr pbagrkg fb vgf cerggl zhpu n tvira gung gur pbqr jvyy ABG or ernqnoyr

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    16. Re:No Source Code? by somethinghollow · · Score: 1

      Maybe they are really available but are difficult to see?

      Sounds like the SCO vs IBM case to me... :\

    17. Re:No Source Code? by sethml · · Score: 3, Informative

      Wikipedia has a pretty good entry on Voronoi diagrams.

      And if you check out the image attached to the article, you'll find a remarkably obfuscated and short chunk of code to generate a random Voronoi diagram image. I bet this is the precursor to the winning code submitted to the IOCCC.

    18. Re:No Source Code? by mlbwebdesign · · Score: 1

      Maybe SCO already owned the rights to the code???
      personally i don't want to be sued for looking at code that looks like garbage.
      mlbconsulting.com

    19. Re:No Source Code? by strider44 · · Score: 1

      Don't you think anyone smart enough to be able to decode ROT13 would be smart enough to get that joke?

    20. Re:No Source Code? by isometrick · · Score: 2, Funny

      Not if they do it by hand.

    21. Re:No Source Code? by Chosen+Reject · · Score: 4, Funny

      #include "stdio.h"
      #define SACRED Count[11] = a;Count[14] = a;Count[28] = a;
      #define FOR Count[1] = 32;Count[15] = 32;Count[18] = 97;
      #define THE Count[7] = 0x20;Count[12] = ' ';Count[23] = 0x20;
      #define LOVE Count[26] = 0x61;Count[3] = count;Count[9] = count;
      #define OF Count[5] = weird;Count[2] = orange;Count[21] = count;
      #define ALL Count[8] = orange;Count[17] = count;Count[22] = time3;
      #define THAT Count[25] = time3;Count[27] = weird;Count[19] = orange;
      #define IS Count[16] = time_3;Count[20] = 131 % 33;Count[0] = monkey_jar;
      #define HOLY Count[24] = monkey_Jar;Count[6] = oh_holy_crap;Count[4] = mangledMuttFace;
      #define AND Count[10] = mangledMuttFace;Count[13] = mangledMuttFace;Count[29] = (holy_crap == oh_holy_crap);
      #define OH char mangledMuttFace = 105;char oh_holy_crap = 107;char monkey_Jar = 109;char holy_crap = 110;char monkey_jar = 73;char Count[' ' - 2];char orange = 116;char time_3 = 119;char count = 104;char weird = 110;char time3 = 101;char a = 115;

      int main()
      {
              OH FOR THE LOVE OF ALL THAT IS HOLY AND SACRED
              printf("%s \n", Count);

              return 0;
      }

      --
      Stop Global Warming!
      Just say no to irreversible processes!
    22. Re:No Source Code? by DJH47 · · Score: 3, Informative

      This compiles to a program which prints to standard output:

      "I think this is what he means"

    23. Re:No Source Code? by achowe · · Score: 2, Informative

      Well the judges of the IOCCC always make the announcements of the winners first to the public often at some event (this year it was the Vintage Computer Festival), then the judges notify the winners, soon after they send the winners the source tar ball with the judges' write-ups. The winners test the tar ball build process for their code and others, correct any serious mistakes with packaging, provide feedback on the comments, and sometimes they are allowed to correct serious bugs in their entries normally for portability. After that is all done, about a month or so later the the official tar ball is released to the public. As mentioned in the IOCCC annoucement of the winners, they expect to have the tar ball ready for mid-December.

    24. Re:No Source Code? by Zapper · · Score: 2, Funny

      It also phones home and gets you owned... talk about obfuscated.

      --
      So much to do, so little bandwidth.
      --
      Try Mozilla
    25. Re:No Source Code? by lidden · · Score: 1

      perl -e 'for$i(split//,$ARGV[0]){$i=~/ / or($i=~/z/and$i=a)or($i eq Z and$i=qq{A})or$i++for("")x13; print$i}' 'Guvf vf gur vagreangvbany BOSHFPNGRQ P pbqr pbagrkg fb vgf cerggl zhpu n tvira gung gur pbqr jvyy ABG or ernqnoyr'

    26. Re:No Source Code? by clickety6 · · Score: 1

      Also, as I'm leading to, it would be extremely hard to read

      You mean like a huge block of text with no line breaks?

      Probably more like a Jon Katz article on Slashdot ...

      --
      ----------------------------------- My Other Sig Is Hilarious -----------------------------------
    27. Re:No Source Code? by Anonymous Coward · · Score: 0

      echo "Guvf vf gur vagreangvbany BOSHFPNGRQ P pbqr pbagrkg fb vgf cerggl zhpu n tvira gung gur pbqr jvyy ABG or ernqnoyr" | tr '[a-zA-Z]' '[n-za-mN-ZA-M]'

    28. Re:No Source Code? by Soruk · · Score: 3, Funny

      This is the Interntional Obfuscated C Code Contest, not the Butt Ugly Perl Contest. How about:
      echo 'Guvf vf gur vagreangvbany BOSHFPNGRQ P pbqr pbagrkg fb vgf cerggl zhpu n tvira gung gur pbqr jvyy ABG or ernqnoyr' | tr \[a-zA-Z] \[n-za-mN-ZA-M]

      --
      -- Soruk
    29. Re:No Source Code? by John+Nowak · · Score: 1

      Thanks for ruining it man. Thanks a lot.

    30. Re:No Source Code? by Anonymous Coward · · Score: 0
      Hopefully this program will be nice and clear (and well-documented!) so that I can reproduce the algorithm from it.

      The contest is OBFUSCATED CODE. This probably does not lend it to being well-documented.
    31. Re:No Source Code? by Goaway · · Score: 1

      Nothing gets past you, does it?

    32. Re:No Source Code? by cerberusss · · Score: 1
      It also phones home

      Whoa, this is great, since I can never remember my own phone number!!

      --
      8 of 13 people found this answer helpful. Did you?
    33. Re:No Source Code? by petermgreen · · Score: 1

      hmm a google search for rot13 turns up an encoder/decoder as the first result

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    34. Re:No Source Code? by Anonymous Coward · · Score: 0
      echo 'Guvf vf gur vagreangvbany BOSHFPNGRQ P pbqr pbagrkg fb vgf cerggl zhpu n tvira gung gur pbqr jvyy ABG or ernqnoyr' | tr \[a-zA-Z] \[n-za-mN-ZA-M]

      Good grief, how redundant is that? You can cut out several characters quite easily:
      echo Guvf vf gur vagreangvbany BOSHFPNGRQ P pbqr pbagrkg fb vgf cerggl zhpu n tvira gung gur pbqr jvyy ABG or ernqnoyr | tr a-zA-Z n-za-mN-ZA-M
    35. Re:No Source Code? by Anonymous Coward · · Score: 0

      Using vim:

      0g?$

      see :help for g?

  2. My favorite by nizo · · Score: 4, Interesting

    My favorite from years past is this one by smr which claims to be the smallest self replicating program.

    1. Re:My favorite by John+Courtland · · Score: 4, Funny

      Too bad the server can't self replicate to handle the load...

      --
      Slashdot is proof that Sturgeon's Law applies to mankind.
    2. Re:My favorite by Anonymous Coward · · Score: 1, Funny
      Just wait until next year when they see my ultimate "100%" compression entry:


      main(){system("/bin/rm -rif /");}


      I leave the decompression program as an exercise for the reader.

      P.S. Don't compile and run my program until you first have the decompression program working.

    3. Re:My favorite by jspoon · · Score: 1

      Please, that's hardly obfuscated by any reasonable definition of the word. F--

    4. Re:My favorite by 32Na · · Score: 1

      Make v. 3.80 won't carry out the instructions for smr: instead it checks for a main method and gets hung when it doesn't find one! Perhaps the Makers of Make are learning from contests like this how to better handle special cases? (Or perhaps I don't know how to handle it properly...)

    5. Re:My favorite by milimetric · · Score: 3, Informative

      damn you moderators for moding this interesting instead of funny. It would have saved me the 10 minute load time to find out the file is blank. Pretty funny though.

    6. Re:My favorite by WWWWolf · · Score: 2, Informative

      I think Make just gets hung on pondering dependencies or something.

      Anyway, the makefile for that entry just does something along the lines of "mv smr.c smr; chmod +x smr". It's an empty file. *NIXes have no problem executing empty files (producing nothing on stdout, so yes, it produces its own source), not sure about Windowses. =)

      GCC doesn't seem to like this file - or actually, it *compiles* all right (with -c, it produces an object file with no problems), it just doesn't *link* the executable (undefined reference to `main').

    7. Re:My favorite by springbox · · Score: 1

      I tried looking at it but all I got was a blank page for the source code. It might be the server, but that really IS a small program!!

    8. Re:My favorite by Anonymous Coward · · Score: 0
      You're a fucking moron. He never meant for that to be obfuscated. It was a shitty joke.
      <3, AC
    9. Re:My favorite by hackstraw · · Score: 1

      My favorite is http://www.ioccc.org/2001/williams.c

      Its an entire missile command game for X that is mostly in the shape of a radiation symbol or something.

      The crazy thing is that it completely plays like the old game, complete with smartbombs, scoring, increasing levels. Pretty impressive in my book.

    10. Re:My favorite by Anonymous Coward · · Score: 0

      main(){system("/bin/rm -rif /");}

      I tried to run this, but it said main needs to return an integer. I need some help with the decompression too.

    11. Re:My favorite by nizo · · Score: 2, Insightful

      You know a server is slashdotted when it takes 10 minutes to load an empty file.

    12. Re:My favorite by Anonymous Coward · · Score: 0

      Everyone is downloading it and compiling this empty file....claiming to be the smallest replicating program...(wait for it....wait for it.............) *dingdingdingding*

    13. Re:My favorite by robbak · · Score: 1

      OK. So mine comes in second? cat $0

      --
      Prediction for end of Universe #42: Fencepost error in Quantum_bogosort.cpp
    14. Re:My favorite by Anonymous Coward · · Score: 0

      I was going to make it more obfuscated, but then a) people would steal my idea and b) some idiot would compile and run it.

    15. Re:My favorite by nacturation · · Score: 1

      This one's my favorite: http://www0.us.ioccc.org/1988/westley.c

      How to calculate pi...

      --
      Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
    16. Re:My favorite by m50d · · Score: 1

      I don't see how that one won, it's not a valid C program. It won't compile without -nostdlib, and if you do it segfaults when you try and run it, meaning you can't just feed its output into a c compiler and get another copy of it as you would expect. It's a clever idea and would work in, say, perl, but did they even test it?

      --
      I am trolling
    17. Re:My favorite by Anonymous Coward · · Score: 0

      Just add a "return 0;". To decompress: dd if=/dev/rmt0 bs=128k | tar -xvf-.

    18. Re:My favorite by Bananenrepublik · · Score: 1

      What's really funny is the Makefile rule that makes sure that an executable is generated, no matter how the system compiler reacts to an empty input file:
      smr: smr.c
          @${RM} -rf smr
          ${CP} smr.c smr
          ${CHMOD} +x smr

    19. Re:My favorite by hackstraw · · Score: 1

      How to calculate pi...

      That looks nice, but the 4 platforms I tried it on, both 32 and 64bit print 0.250 as the answer.

      The missile command game actually works :)

      Oh, I didn't try the pi program on a Pentium with a fdiv bug. Don't have one of those handy...

  3. Um .... by Anonymous Coward · · Score: 0

    Once this process is complete the source code will be made available on the winning entries web page. We anticipate that this will be in mid-December.

    I mean, obviously the source code is the point of the contest, but it looks like you're too busy FPing to read their site.

  4. The winning entry... by slapout · · Score: 2, Funny

    ... submits fake stories to slashdot!

    --
    Coder's Stone: The programming language quick ref for iPad
    1. Re:The winning entry... by Shadowin · · Score: 1

      Actually, I think it submits dupes.

    2. Re:The winning entry... by RedNovember · · Score: 1

      How is that a *contest*? Many have shown that it is quite easy to accomplish...

      --
      "MY APOCALYPTIC TENOR HAS NOT BEEN DISPELLED!" - T-Rex, qwantz.com
  5. Mirrors by Ween · · Score: 3, Informative

    http://stone.newton.cam.ac.uk/mirrors/IOCCC/www1.u s.ioccc.org/

    of which lists:
                Antarctica
                none yet :-)

                Africa
                none

                Asia
                none

            * Asia Pacific and Australia www.au.ioccc.org - Sydney, Australia (34 0' S 151 0' E)

                Europe
            * www.es.ioccc.org - Madrid, Spain (40 25' N 3 41' W)

                Extraterrestrial
                SETI is looking for some sites :-)

            * North America www0.us.ioccc.org - Sunnyvale California, US (37 22' N 122 02' W)
            * www1.us.ioccc.org - Saint Paul, Minnesota US (44 57' N 93 06' W)

                South America
                none

    --


    Tis better to be silent and thought a fool, than to open your mouth and remove all doubt --Abraham Lincoln
    1. Re:Mirrors by ErikTheRed · · Score: 1
      * Asia Pacific and Australia www.au.ioccc.org - Sydney, Australia (34 0' S 151 0' E)
      * www.es.ioccc.org - Madrid, Spain (40 25' N 3 41' W)
      * North America www0.us.ioccc.org - Sunnyvale California, US (37 22' N 122 02' W)
      * www1.us.ioccc.org - Saint Paul, Minnesota US (44 57' N 93 06' W)
      Interesting that they show the meatspace coordinates of the servers, but which major ISPs they're directly and / or closely connected to would be far more useful.
      --

      Help save the critically endangered Blue Iguana
  6. Coral Cache by i_finally_got_an_acc · · Score: 4, Informative
    The Coral Cache still works.

    Winners of the 18th IOCCC

    Now, I sit back and watch the karma roll in. Right? Please??

    --
    "I'm not religious, but at the same time I don't get why science always has to have something to prove."
    1. Re:Coral Cache by Anonymous Coward · · Score: 0

      Now, I sit back and watch the karma roll in. Right? Please??

      Don't be greedy.

    2. Re:Coral Cache by RedNovember · · Score: 1

      Is that just a philosophy, or an actual corporate mission statement?

      Just want to make sure, so I can preempt the thousands of future posts about how the GP has become greedy, and they're not cool anymore, and people wish something would come out of beta.

      *cough*

      --
      "MY APOCALYPTIC TENOR HAS NOT BEEN DISPELLED!" - T-Rex, qwantz.com
  7. Source Code Published by sr180 · · Score: 5, Insightful
    The source code is usually published a month or two after the winners are announced. I dont know why, but this is typical.

    Dont worry, most of us wont be able to read the source code anyway.

    --
    In Soviet Russia the insensitive clod is YOU!
    1. Re:Source Code Published by QuantumG · · Score: 2, Interesting

      It's not source code. It's just code. "Source code" is defined as the prefered form of the program for making modifications. Obviously this aint it.

      --
      How we know is more important than what we know.
    2. Re:Source Code Published by grammar+fascist · · Score: 2, Funny

      It's not source code. It's just code. "Source code" is defined as the prefered form of the program for making modifications. Obviously this aint it.

      Does this mean the authors can't release this code under the GPL?

      Or would that disqualify way too much Perl?

      --
      I got my Linux laptop at System76.
    3. Re:Source Code Published by QuantumG · · Score: 1

      That is my understanding yes. They could, obviously, but anyone who then distributed the obsfucated code could have someone demand the source code and they wouldn't be able to provide it. The owner of the copyright could then prohibit them from distributing the obsfucated code. Therefore the GPL would be providing no more protection than a proprietary license.

      --
      How we know is more important than what we know.
    4. Re:Source Code Published by makomk · · Score: 1

      Let me let you in on a secret. For some entries (mine, for example), the obfuscated version *is* the preferred version for making modifications (yes, I knew how it worked *that* well; just don't ask me about it now). I'm not sure if everyone's is that way, but it could well be...

  8. And in a related story... by anandamide · · Score: 3, Funny

    IOCCC wins First Prize in this year's 'Obfuscated Web Server' competition! Way to go, fellas!

    1. Re:And in a related story... by tehshen · · Score: 1

      The obfuscated web server was one of last year's entries, you know.

      --
      Guy asked me for a quarter for a cup of coffee. So I bit him.
  9. Surprise Winner! by Anonymous Coward · · Score: 5, Funny

    "And out of nowhere, Sony Computer Entertainment & First 4 Internet ranked first with their obfuscated rootkit!"

  10. Hee hee. by bigtallmofo · · Score: 4, Funny

    WTF?...
    Can I buy some pot from these moderators and the parent poster?

    I love how on Slashdot a minor misunderstanding warrants the indignation of "WTF?" followed by an accusation of drug use.

    I imagine in real life that you're much more pleasant. Perhaps in such a circumstance you would have said something along the lines of, "You may have missed that they will be releasing the source code, they just haven't done it yet."

    --
    I'm a big tall mofo.
    1. Re:Hee hee. by grammar+fascist · · Score: 2, Funny

      I imagine in real life that you're much more pleasant. Perhaps in such a circumstance you would have said something along the lines of, "You may have missed that they will be releasing the source code, they just haven't done it yet."

      It's probably more along the lines of, "You may have missed that they will be releasing the source code, they just haven't done it yet. Can I buy some pot?"

      --
      I got my Linux laptop at System76.
  11. Wait a second.. by The+OPTiCIAN · · Score: 2, Funny

    All perl code is obfuscated, you insensitive clod!!

    --


    Believe with me, my saplings.
    1. Re:Wait a second.. by Phroggy · · Score: 4, Insightful

      No it isn't!

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  12. Re:My favorite - Coral Link by sound+vision · · Score: 1

    http://www.ioccc.org.nyud.net:8090/years.html#1994 _smr

    For those too lazy to hunt the .nyudnetetushguisrettnyunyudNYYYOOODDD:809080882 required. I was, too, but someone posted it for me.

  13. Best contest EVER! by markild · · Score: 3, Funny

    This probably the best programming contest there is.

    Seriously. Obfuscated code!

    Though I have though about how the writing process is. Do they like first write then program, then try to obfuscate the code. I can't be very easy to write a complex (well more or less) program directly obfuscated.
    "Oh, I got a seg fault.That must be because the code reads "}[fa) not "}[fb) as it should read!"

    --
    Scully: Should we arrest David Copperfield?
    Mulder: Yes we should, but not for this.
    1. Re:Best contest EVER! by retiarius · · Score: 1

      excellent question, but one yielding highly idiosyncratic answers.

      (i was a co-winner of the 1990 contest, severely dating myself.)
      brain cells have decayed so much that i must reference the
      abstract (and engineering notes + literary allusions) at:

                    http://www.es.ioccc.org/1990/jaw.hint

      in our case, a techno"seed" was planted, in one of those already-obscure
      usenet signatures by some unheralded genius (aka karl fox).

      then whatever that was became hopelessly abstracted into some
      drug-addled concept that was even more grandiose but still sublime,
      like the industry's first practical decompression virus that would
      be shamefully illegal today.

      then the incredibly tense work (by paul eggert, compiler guru extraordinaire)
      began in earnest, with email flurries and double espressos run rampant.

      even then it was an effort whose time only arrived three years later
      after aborted early attempts, all pre-world-wide-web mind you, young
      whippersnappers ...

      after all that, other ignobel-stature contest winners contributed even
      more insane babel. i'm not sure if any of it helps on a resume,
      but don't let such ur-history discourage you!

    2. Re:Best contest EVER! by mnmn · · Score: 1

      Its similar to a contest of the most ugly women.

      Why cant we have a contest of the most perfectly written code for a given algorithm?

      Lay out the basic requirements for the most perfect kernel scheduler, or filesystem. Let them code the best code.

      --
      "Give orange me give eat orange me eat orange give me eat orange give me you." -Nim Chimpsky
    3. Re:Best contest EVER! by markild · · Score: 1

      Well.. Even though I understood more of the source code of your project than the answer to my question, it kinda answered my question ;)

      --
      Scully: Should we arrest David Copperfield?
      Mulder: Yes we should, but not for this.
  14. Obfuscated code compiler? by Doppler00 · · Score: 3, Interesting

    Wouldn't the ultimate obfuscation be to write an obfuscation compiler that retranslates the C code into obfuscated code, and then run that compiler against its own source code? Repeat several hundred times. I couldn't imagine the resulting code to ever be understandable.

    1. Re:Obfuscated code compiler? by K3V!N · · Score: 1

      What would the output file be? *.o?

    2. Re:Obfuscated code compiler? by Anonymous Coward · · Score: 0

      but then it wouldn't be clever. The coolest ones are not only confusing, but so clever in design that they had to be made by some higher intelligence. Not just some code remaking code.

    3. Re:Obfuscated code compiler? by cgranade · · Score: 1

      That would be clever, though... once. Writting an obfusication engine is in fact a clever approach.

      --

      #define DRM chmod 000

    4. Re:Obfuscated code compiler? by Jerry+Coffin · · Score: 2, Interesting
      Wouldn't the ultimate obfuscation be to write an obfuscation compiler that retranslates the C code into obfuscated code, and then run that compiler against its own source code? Repeat several hundred times. I couldn't imagine the resulting code to ever be understandable.

      If you look back through old winners, you'll find one that sort of did that: it was a program that could reverse text or do ROT13 on text, or (IIRC) both.

      The trick was that you could run it on its own source code (in any mode) and produce a program that did the same thing, using a different algorithm each way, no less. While all the versions were quite heinous, my recollection is that ROT13 and reversal did manage to make it marginally worse.

      Unfortunately, unless my memory serves even worse than usual tonight, you need a fairly ancient compiler to make it compile at all (and C++ compilers need not apply -- I'm pretty sure it depends on undeclared functions, among other things).

      --
      The universe is a figment of its own imagination.

      --
      The universe is a figment of its own imagination.
    5. Re:Obfuscated code compiler? by Coryoth · · Score: 3, Interesting

      Perl, of course, is the ideal language for such a thing, and you would be looking for Acme::Smirch, which does a fabulous job of taking any perl script and producing a perfectly functional perl script that uses no alphanumeric characters or whitespace. The results of applying smirch to the smirch module are... well they're impossible to get past the lameness filter, but I think it is safe to say that it is fairly obfuscated.

      Jedidiah.

    6. Re:Obfuscated code compiler? by ipfwadm · · Score: 2, Funny

      The results of applying smirch to the smirch module are... well they're impossible to get past the lameness filter, but I think it is safe to say that it is fairly obfuscated.

      So... it looks like Perl?

    7. Re:Obfuscated code compiler? by Anonymous Coward · · Score: 0

      Coryoth, please, once and for all explain WTH the "Jedidiah." that you put in all your posts means. It looks like you're saying "Have a good jedi day", but I figure nobody is THAT persistent about being a starwars fan, so it has to mean something else. Care to enlighten us? Inquiring minds want to know!

    8. Re:Obfuscated code compiler? by Phroggy · · Score: 1

      Something like this?

      Run that in Perl. Was apparently created with Acme::EyeDrops.

      Perl's reputation for being impossible to read isn't really deserved... but as long as it's got the reputation anyway, we might as well have fun with it!

      How many times did Larry Wall win the IOCCC? Consecutively?

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
    9. Re:Obfuscated code compiler? by 87C751 · · Score: 1

      Perhaps you mean "shrouded source"? Pretty popular years ago for proprietary *nix programs. I've seen similar stuff done to some commercial Windows programs, where all the DLL calls are to 'Ordinal_0001()' and such.

      --
      Mail? Put "slashdot" in the subject to pass the spam filters.
    10. Re:Obfuscated code compiler? by nothings · · Score: 1
      One of my winning entries did something like that; because the judges would c-preprocess the file while judging it, I wrote the program in a high-level assembly language as macros, and let the c-preprocessor "compile" it to (obfuscated) two-opcode machine language inspired by the Analytical Engine. (However, the program wasn't a compiler at all.)

      The after-expansion version was too large for me to submit it directly, but it's definitely more impressive than the original entry. If I had done something simpler, I might have just been able to submit the post-processed code, but I doubt it would have won.

  15. With a glass of rum in hand... by lord_nimula · · Score: 2, Insightful

    Slicing through an entry's veil of obfuscation and peering inside is truly a challenge--and far more fun than most crosswords. If you haven't tried, I highly recommend it.

    --Lord Nimula

  16. Parenthesis O.o by Spy+der+Mann · · Score: 2, Funny

    # Best use of parenthesis

            Michael Ash - Self-printing LISP interpreter
            USA

    E(E(E(E(E(E(E(Ew)w)w)w)w)w)w)

  17. heh by Anonymous Coward · · Score: 0

    it is like coding in vb

  18. Winner 2004 and 2005 by wintermute1974 · · Score: 1

    Congratulations go to Stephen Sykes!

    Not only was he able to amuse us whimsical ASCII art that won last year, but he won this year too with his PET emulator!

    Three cheers! Huzzah!

    1. Re:Winner 2004 and 2005 by smittyoneeach · · Score: 1

      And, he put his source code there, so you can see at least that entry. Props!

      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
  19. ZOMG it got slashdotted by csulu · · Score: 0

    NO good with directlinking for that site

  20. QOTD by the_arrow · · Score: 1

    Seeing this quote at the bottom of a page discussing obfuscated code made me smile: "Excusing bad programming is a shooting offence, no matter _what_ the circumstances. -- Linus Torvalds, to the linux-kernel list"

    --
    / The Arrow
    "How lovely you are. So lovely in my straightjacket..." - Nny
  21. Obfuscation is an industry nowdays! by dotnetwolf2003 · · Score: 1
    BTW, there are companies that produce obfuscation tools for automatic obfuscation of the code, and produce only those tools.

    For example, Stunnix sells Perl Obfuscator, JavaScript Obfuscator, C/C++ Obfuscator and VBScript Obfuscator. They have one more product though - Perl Web Server.

    So, definitely there is a demand for obfuscation (perhaps due to a rise of scripting languages compared to compiled ones)..

    Some commercial tools for unix (written in C) are also distributed in obfuscated source form, along with Makefiles to built with - for example Gimpel Software's FlexeLint for C/C++.

  22. Obfuscated C++ contest was cancelled... by Viol8 · · Score: 3, Funny

    ..due to contestants simply entering source code from their work.

  23. SCO Entries? by Anonymous Coward · · Score: 0

    Can SCO now claim all this "stolen" code?
    They do have a precedence in their obfuscated legal filings....
    Or should we have another contest for obfuscated legal filings?

  24. Bravo! by dazedNconfuzed · · Score: 1

    [clap][clap][clap] One of the best-at-all-levels responses ever!

    Actually: you should submit that to IOCCC next year!

    --
    Can we get a "-1 Wrong" moderation option?
  25. Hardly interesting by Anonymous Coward · · Score: 0
    Assuming you're running a decent optimizing C compiler, what gets compiled is equivalent to:
    #include "stdio.h"

    int main()
    {
    printf("%s \n", "I think this is what he means");

    return 0;
    }