Obfuscated Vote Counting Contest 223
Daniel Horn writes "In a flash of inspiration coming from the Obfuscated C code contest and the current E-voting scandals, I wondered if there shouldn't be a similar code obfuscation contest based on obfuscating voting results, that is, C code that appears correct but does the wrong thing when counting votes. Submit your obfuscated vote-counting code now, and the two winners will be selected on November 2 and will receive a free Vega Strike CD. Obviously incorrect code, however, is not welcome."
Similar to Dr. Rubin's challenge (Score:5, Informative)
The paper can be found at:
http://avirubin.com/vote/ita.challenge.pdf [avirubin.com]
Why? Already there! (Score:5, Informative)
My favorite story was a county in Pennsylvania (if I remember correctly, it's in this months Readers Digest) where the electronic voting machine correctly counted all 144,000 votes. Except there were only 19,000 registered voters in the entire county.
We're screwed in this election. It is going to make the 2000 Florida crap look like a cakewalk.
Course at Rice (Score:3, Informative)
Re:I WIN! (Score:3, Informative)
Re:I WIN! (Score:5, Informative)
Read it again. A vote for kerry means both kerry and bush get a vote. A vote for nader means nader kerry and bush get a vote.
Almost as scary as Florida (Score:2, Informative)
It would be interesting if contestants could defeat the statistical methods [salon.com] used to uncover fraud mentioned elsewhere on that blog.
Re:I WIN! (Score:2, Informative)
This is one case where the lack of goto's is harmful.
The body is
yada_yada += 1;
nader += 1;
kerry += 1;
bush += 1;
The cases just determing where the stream is joined.
Anytime nader gets a vote, kerry and bush also get a vote.
Anytime kerry gets a vote, bush gets a vote.
None of the above will fail to register, with or without a DEFAULT.
Re:Course at Rice (Score:2, Informative)
You'll note that the very first substantial lecture is on ethics.
Re:What the fsck is wrong with this? (Score:1, Informative)
printf("Bush: %d\nKerry: %d\nNader: %d\n",
Count(_b),Count(k)(),Count(_n));
return 0;
}
The diffis between:
Count(_b)
Which accesses a variable called for_b
and:
Count(k)()
which calls a function called fork()
Re:I WIN! (Score:2, Informative)
registration fraud (Score:3, Informative)
Which made me wonder whether when, during the third debate, President's Bush boasted that, "the first person to vote in that election was a 19 year old girl", he might also have been correct to say that she was the second person, and the third person ...
Re:Similar to Dr. Rubin's challenge (Score:2, Informative)
Results? Very few sections of malicious code were found, even in this highly controlled environment. The graduate students proved very adept at obsfucation.
I hope Dr. Rubin reports on this in the literature because the results sound fascinating from a keynote address he gave last Friday (Oct. 15 at CCSCE 04). Sounds like a great class assignment.