Landslide election fun with NaN
The New York Times has a neat
href="http://www.nytimes.com/packages/html/politics/2004_ELECTIONGUIDE_GRAPHIC/"
title="Election Graphics">Election guide (flash) that shows not only the
way polls are going for each state but also past presidential results when you
mouse over the state or district.
Now, my friend Andre noticed yet another
href="http://danimal.org/SenorTaco/2004/07/15#not-a-number" title="Silly
Interface Gaffe">NaN interface gaffe where the District of Columbia (D.C.)
has Kennedy winning by ‘NaN%’ in 1960. Not only should there not be any
listing for D.C. in 1960 (see, they only got electoral votes in 1961 with the
href="http://www.law.cornell.edu/constitution/constitution.amendmentxxiii.html"
title="Amendment XXIII">23rd Amendment) if it comes up as a NaN then it
should just not display at all. Oh well, things like this will continue. I’m
guessing it’s because people aren’t doing correct data input validation which
is the cause of many of our buffer over-runs and successful attacks against
software.