| The Universe of Discourse | |||||||||||||||||||||||||||||||||
|
12 recent entries Archive:
Comments disabled |
Thu, 06 Nov 2008
Election results
#!/usr/bin/perl
my $remain = 1232470800 - time();
$remain > 0 or print("It's finally over.\n"), exit;
my @dur;
for (60, 60, 24, 100000) {
unshift @dur, $remain % $_;
$remain -= $dur[0];
$remain /= $_;
}
my @time = qw(day days hour hours minute minutes second seconds);
my @s;
for (0 .. $#dur) {
my $n = $dur[$_] or next;
my $unit = $time[$_*2 + ($n != 1)];
$s[$_] = "$n $unit";
}
@s = grep defined, @s;
$s[-1] = "and $s[-1]" if @s > 2;
print join ", ", @s;
print "\n";
[Other articles in category /politics] permanent link Mon, 05 Mar 2007
"Go ahead, throw your vote away!"
Trainor received a total of 5,269 votes, or 0.90% of votes cast. A fifth choice, "None of these candidates", was available. This choice received 8,232 votes, or 1.41%. Another candidate, David Schumann, representing the Independent American Party, was also defeated by "None of these candidates". I'm not sure what conclusion to draw from this. I am normally sympathetic to the attempts of independent candidates and small parties to run for office, and I frequently vote for them. But when your candidate fails to beat out "None of the above", all I can think is that you must be doing something terribly wrong.
[Other articles in category /politics] permanent link |
||||||||||||||||||||||||||||||||