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 ;)
void main(void) {
printf("frist prost");
}
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
I would hate to have to be the one that either updates that code or has to read it. Some nice ASCII art in there, I am not brave enough to test to see if the programs do what they say they do. I went to the spoiler page so I could get the synopsis of them. That code would be a good Halloween costume it is just scary.
Man, /.'ed already. Anybody manage to grab the text? Please?
When I was learning programming, I would obfuscate code so bad that even the compiler couldn't understand it, let alone humans...
wow, the early /. effect seems to be quite popular these days. no comments by now, and almost slashdotted already.....
Powerful is he who overpowers his temptations.
"Within 20 minutes of the code release, SCO sued claiming that it contained something of theirs".
Don't blame Durga. I voted for Centauri.
Slightly offtopic, but this will serve the needs of those of us reading this thread for a fix of C-related humour. The Infrequently asked questions in C (C-IAQ).
An obfuscated code contest article has a Microsoft "Get the Facts" ad beneath it.
:-P
Does the OSTG try to be subtle or what?
Error 407 - No creative sig found
Google cache with different mirrors across the globe: http://64.233.167.104/search?q=cache:LAIfxt7dfOEJ: www.ioccc.org/+ioccc&hl=en
I wish the submitters for these things understood that 90% of the obfuscation is done post-debugging with perl scripts... (The remaining 10% is the clever part.)
here we go, Mirror
please don't kill me
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
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.
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 ..
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!!!
International Obfuscated C Code Contest (I think).
This groups releases a challenge each year that the entrants have to solve using the most obfuscated C code possible. They judge tne entries and award prizes to the best of the worst. Previous entries have used the precompiler to do much of the work, eliminated brackets and spaces, hacked the stack, and generally used many other tricks to complete the challenge.
- "Nobody came out that night, not one was ever seen. But Old Man Stauf is waiting there, crazy sick and mean!"
Asia
Australia and other Pacific
Europe
North America
I actually thought it was clever how the story on an obfuscated coding contest was, iteself, obfuscated.
There are several mirrors. I know, I run one of them. Why the submitter hardcoded the us one is beyond me.
none yet
none
SETI is looking for some sites
none
I went looking for the classic Larry Wall obfuscation for classic's sake, but now I'm having a hard time finding it. *sigh*
:)
Double-rot-13 obfuscation!
Karma: Chameleon (mostly due to the fact that you come and go).
http://www.de.ioccc.org/years.html#2004
also tw, au, es, www1.us
CC.
TaijiQuan (Huang, 5 loosenings)
You can't get better than obfuscation by slashdotting.
"You know you want me baby!" - Crow T Robot
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!!!!
HERE
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.
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!
Hasn't obfuscated C already been perfected?
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
Assume I was drunk when I posted this.
And best of all, that ridiculous code is REALLY AMAZINGLY POWERFUL in many cases.
I only looked at the first entry, anonymous.c. It's 47 utterly incomprehensible lines. What it does is convert text into one of Tolkien's Elvish fonts - and the result looks rather nice, for such a tiny C program (that doesn't use any libraries apart from stdlib, stdio and string).
I took the example from the hint file, pasted only the first half ("ash nazg durhbatuluhk, ash nazg gimbatul") and created a picture, then converted it to PNG with ImageMagick. The result is here. I think that's rather good.
And that's just the first one of this year. Many of the entries of earlier years were stunning.
I believe posters are recognized by their sig. So I made one.
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?
If you want to take a look at some code that's a real mess, try this code here.
Ugh.
I read the title a little too fast, collapsed all the C's together, and wondered out loud when coding became an Olympic sport...
"My thoughts goes out to the poor guys that actually wrote this code."
I've never had more than one thought GOES out anywhere. Perhaps it is time for a language obfuscation contest.
Jesus, I thought that since mkentry.c was so obfuscated, and at the top that is was the winning entry.
Imagine my surprise when I found out that this was supposed to be normal, radable code.
Clicking on inline hyperlinks in articles on Slashdot is really amusing. What you guys next time can do, is just post a link to the Google cache of the website in particulare.
;)
I'm sure it'll save a few expensive phone-calls.
People discover the meaning of life between getting piss drunk and the following hangover.
How to obfuscate Mandelbrot code.
I have discovered a truly remarkable proof which this margin is too small to contain.
the entries that relied simply on obfuscation via text formatting (although that anime one looked kinda cool), kind of took the easy way out.
i mean, realistically, how hard is it to strip out white space in vi or some other editor that has find/replace? once the white place is gone, place tabs as appropriate.
real obfuscation comes from indecipherable variable names, unused variables, complex algorithms that accomplish no more than simple iteration, etc.
besides, the best way to write obfuscated code in C is to write it in one big string that is really just PERL -- and then use C to recreate PERL. I mean, come on guys: PERL = OBFUSCATION.
pussies.
01100111 01100101 01110100 00100000 01101111 01110101 01110100 00100000 01101101 01101111 01110010 01100101 00101110
Bah, you could do the same with 2 lines of Perl and be 10e8 times more obfuscated :-).
But seriously that is very impressive.
wouldn't look good on a CV: ...and in 2004 i wrote the most obfusicated code known to man..
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
step 2: ?
step 3: profit!
This method also works on lame tricks like:
I only looked at the first entry, anonymous.c. It's 47 utterly incomprehensible lines. What it does is convert text into one of Tolkien's Elvish fonts
I was fairly impressed with Gavin.c. It's 165 lines of nicely indented/formatted C code that's pretty much incomprehensible. What does it do? It's a 32 bit multitasking operating system complete with a GUI, a shell, and a text viewer called vi.
Or perhaps Vik1.c - 63 lines (including a comment
Not bad for 63 lines of C code.
Jedidiah.
Craft Beer Programming T-shirts
Yay! I understood the code enough to change the movement keys to vi/nethack standard!
--LWM
I submitted this as a story when the winners were announced, but it was rejected.