andrewducker: (Default)
andrewducker ([personal profile] andrewducker) wrote2010-01-07 04:05 pm

The Y2010 bug

Next time someone says that the Y2K bug was a load of rubbish, point them at this example of what happens when people don't test their software/hardware before rolling over a minor date change.

[identity profile] bracknellexile.livejournal.com 2010-01-07 04:27 pm (UTC)(link)
It's hit more than German cards. I seem to recall the Aussies got bitten too, as well as some US mobile networks (SMS datestamps IIRC) and things such as anti-virus updates and spam filters from some software companies.

Opinion seems to be it's likely down to code writing 10 into what it thinks is a decimal field when it's actually hex and the system thinking it's 2016. Thus the banks thought it was 2016 and therefore the bank cards had already expired and were rejected.

[identity profile] bracknellexile.livejournal.com 2010-01-07 04:31 pm (UTC)(link)
More details here.

[identity profile] momentsmusicaux.livejournal.com 2010-01-08 01:17 pm (UTC)(link)
How does the change from 2009 to 2010 make them fall over, given they're already on 4-figure years to handle the change to 2000?

[identity profile] momentsmusicaux.livejournal.com 2010-01-08 01:40 pm (UTC)(link)
Oh god, they stored 2009 in a variable that thought it was hexadecimal? HOW?????

[identity profile] momentsmusicaux.livejournal.com 2010-01-08 01:40 pm (UTC)(link)
What language even lets you DO that these days?? Were they programming on a BBC model B or something?

[identity profile] momentsmusicaux.livejournal.com 2010-01-08 02:24 pm (UTC)(link)
HA HA HA.

But yes. Write tests! as they say.

Apparently, "The use of COBOL cripples the mind; its teaching should, therefore, be regarded as a criminal offense."

I hate PHP slightly less today :)

[identity profile] momentsmusicaux.livejournal.com 2010-01-08 03:03 pm (UTC)(link)
And for text manipulation there's perl now!

[identity profile] momentsmusicaux.livejournal.com 2010-01-08 03:12 pm (UTC)(link)
I've no idea how it compares to cobol, but perl is geared towards processing huge amounts of text and fast. It's what biologists use to process massive amounts of experiment data like genomes or stuff, somewhat unexpectedly.

For toolchains, it can be run as one-line commands rather nicely.

Your setup is just weird! ;)

[identity profile] momentsmusicaux.livejournal.com 2010-01-08 03:21 pm (UTC)(link)
Wow.

I'll admit, this is wholly outside my experience. But: no command line? Gah!?! Do you edit the inodes with magnets too? ;)

[identity profile] momentsmusicaux.livejournal.com 2010-01-08 07:20 pm (UTC)(link)
ARGH MY EYES!!!

I'd ask why the hell are people still using this old crap, but... *sigh*