h a l f b a k e r yViva los semi-panaderos!
add, search, annotate, link, view, overview, recent, by name, random
news, help, about, links, report a problem
browse anonymously,
or get an account
and write.
register,
|
|
|
I'm bored of competitions and awards where someone always wins. It should be okay if there's no champion this year, as all the teams performed on par with each other.
In the OCCC, participating entrants are given a task to write a program for (compile hailstone numbers, compute mersenne primes, sort
a database of names reverse-alpha, etc) and only a text editor with no built-in syntax checking, color coding or anything. (the EXTREME version involves entrants only receiving pencil and paper, and in some cases, no eraser).
Whether or not the users have access to an internet connection can also be a parameter -- but would have to be carefully monitored to prevent test-compiling or code-checking elsewhere. It might be okay if someone is looking up the syntax to a particular function, but it would not be okay for someone to ssh into their home computer and compile their code there.
Entrants must code to a time deadline, at which point, their code will be compiled for the first and only time. Any bugs, lack of functionality or compile errors mean instant loss.
Should more than one entrant (teams of people are allowed) actually succeed in writing a working program, the software will be judged according to specs based on the type of program (speed could be foremost for number factoring, memory usage might be foremost for the embedded version of the competition.)
Obviously, the compiler and version will be listed well in advance of the competition. I picture this competition being for C, at least at first, though after it gains massive popularity and overthrows 'dancing with the stars', I imagine that spin-offs will occur, some might even involve interpreters instead of compilers.
I imagine that, at least for the first few competitions, there will be no winners, and this is okay! the prize money will carry over to the next competition.
Along similar lines
http://www.25lines.com/ What's the best Flash program that can be written in 25 lines or less? I'm guessing that PacMan took 25 fairly long lines.... [wagster, Dec 16 2009]
Please log in.
If you're not logged in,
you can see what this page
looks like, but you will
not be able to add anything.
Annotation:
|
|
I'm guessing having anybody over 40 enter is considered cheating. |
|
|
// op-codes that could be typed in // |
|
|
Op-codes ? You had a symbolic assembler ? LUXURY ! We never had op-codes, only a Hex monitor and coding sheets .. |
|
|
<Waits for someone to start on about Octal and the PDP-4 front panel switches> |
|
|
panel switches ? you had panel switches ? we had to code the cores using magnets. |
|
|
I entered a speed contest with some yoicks for some random programming problem; count the number of discrete words in a vat of text... everybody was using C(+(+)), Python, Java, etc. |
|
|
I used CoBOL.
Stop laughing. I won...
...by almost an entire order of magnitude. |
|
|
Then they decided I was cheating 'cuz I used inline assembly for some of the sticky bits.
|
|
|
I like this. I started to learn Z80 machine code, but it well and truly defeated me so I stuck with Sinclair Basic which taught me how to write terrible code. I've just spent two years in OO rehab and am now told that I'm largely fixed. |
|
|
There's a similar sort of competition you might like (link). |
|
|
.... or some individuals with Asperger's syndrome. |
|
|
We used t' 'ave t' toggle t' RIM loader into t' PDP-8 WITH US TEETH, wi' t' blindfold on. |
|
|
RIM Loader, you were lucky! |
|
|
We had to repair the brass cogs on our difference
engine with a bronze widget ... |
|
|
When I first started coding, we used only ones and zeroes --
and there was a shortage of ones! |
|
|
You had differential equations? Back in my day, we had to make do with infinitesimals. |
|
|
Infinitessimals? Feh! Ghost of a vanished quantity.
In *my* day we still had some respect for Zeno. Try coding
up an accounts receivable program when MOTION IS
IMPOSSIBLE. |
|
|
//Ghost of a vanished quantity// <marked-for-something> |
|
|
The junior version of this idea is to be told a rude word and to have to type the numbers into a pocket calculator such that the rude word is spelt out when the calculator display is viewed upside-down - and of course, to get it right, first time, with no checking. |
|
|
we used to do this... the prize was "getting a paycheque". |
|
|
"Thanks I'll have a gin & Geritol on the rocks; what! you call that ice ? Let me tell you, in my day we had ice..." |
|
|
here's one of my favorite DrDobbs challenges -- write the shortest self replicating program (i.e. program that outputs its own source). You can pick the language, compiler or interpreter environment. |
|
|
[+] Nice. I wouldn't stand a chance. Abbreviate it "1CCC"? "OCCC" is going to be confused with the IOCCC, the International Obfuscated C Code Contest. |
|
|
This isn't nice. This is an abomination. |
|
|
Of course, as someone that has never had a program compile first time *and* do what it was meant to *and* not be all one giant comment of pseudocode, I might be a tad biased. |
|
|
theircompetitor, that's called a quine. Google it and you'll see some amazingly short ones. |
|
| |