News for hackers. Stuff that matters.
Re:A program bug that really did depend on the phase of the ... by roundsquare on Sunday January 10, 2010 @11:11PM (#1044303)
The first story isn't so great. I mean, a program that was used to estimate the phase of the moon had bugs that depend on it. Oh my!

The second story is great.

Re:A program bug that really did depend on the phase of the ... by lt on Sunday January 10, 2010 @09:07PM (#1044121)
Once a coworker found a bug that would not happen in the mornings - a timestamp was being rounded instead of truncated so in the afternoon it would round off to the next day.

Another similar anedocte: http://www.snopes.com/autos/techno/icecream.asp

Re:A program bug that really did depend on the phase of the ... by sketerpot on Monday January 11, 2010 @01:06AM (#1044472)
A bit off-topic, but am I the only one who always sees character encoding problems on that web site? Check this out for a particularly egregious example:

http://www.catb.org/jargon/html/B/BNF.html

Re:A program bug that really did depend on the phase of the ... by coryrc on Monday January 11, 2010 @03:36AM (#1044691)
Are you using Safari?

Even if not, your browser is ignoring the encoding tag. Change the encoding to ISO-8859-1 or ISO-Latin-1 or ISO Windows or whatever your browser calls it...

Re:A program bug that really did depend on the phase of the ... by Vitaly on Monday January 11, 2010 @09:03AM (#1045085)
no it doesn't. the page does NOT have the encoding tag. so this is a matter of different defaults. safari, ff, and chrome have utf8 as the default. I guess IE has Western or smth
Re:A program bug that really did depend on the phase of the ... by johnaspden on Monday January 11, 2010 @07:34AM (#1044955)
Firefox, same problem on that page, changing encoding solves it.
Re:A program bug that really did depend on the phase of the ... by CaseOfEmergency on Sunday January 10, 2010 @11:07PM (#1044298)
I liked the CERN story at the end. Imagine having to factor that into your experiments.