LiveCoda, Real-Time Coding Competition
Robert Shelton points out this "debrief" from ESCI LiveCoda 2006, a live programming competition. From the article: "On Wednesday the 24th of May at Loop Bar in Melbourne (Australia) fourteen teams of programmers gathered for the first ESCI LiveCoda real-time programming competition. Possibly the first performance based real-time programming competition. Before a packed night club with live music, each team had just ten minutes to write a program which could correct a corrupted image." (Here's a mirror of the LiveCoda site).
Anyone else ever heard of the ACM International Collegiate Programming Contest? A live programming contest based on # of problems correctly solved in the least amount of time. Lots of fun.
I went to this thing for a little bit, and while nifty, I don't see why thousands of geeks need to know about it...
Anyhow, it went down like this: four machines with an editor common to all of them, with teams of 2-4 people. They were given a 200x200 image file consisting of simple rgb triples. (200 100 50\n100 133 212 etc, real simple). There was a transform done to it that they had to reverse. The ones I saw were some color rotations/swaps and rotations in increments of 90 degrees. The program had to read in the file, invert the transformation, and output the correct image in the same simple format.
The teams could pick whatever language they wanted. I saw C, C++, Python and Java before I got bored and left. The admins had a system set up that it would compile the code at certain intervals and print out the errors on the screen, or the resulting image if it compiled successfully.
The teams didn't really have trouble writing the code. It was no longer than a screen worth, and they seemed to get that in about 2.5-4 minutes. They spent the rest of the time trying to figure out what the transformation was. They'd try 10-15 different color rotations/swaps combos before the time ran out. They didn't get the correct image in advance, but they were all photos from around the Melbourne area and it was easy to tell what it should be.
If I had heard about it with enough time in advance I would have taken some friends and entered... ah well.
boldly going forward, 'cause we can't find reverse