Glitch takes down petrol stations around country

3 years ago by Ilovethebomb to c/offtopic

A leap year error is being blamed for a nationwide outage that's stopping payments going through.

I find this absolutely hilarious.

absGeekNZ 4 points 3 years ago

Honestly working with local date and time is a pain in the arse; if everything was kept at UTC and only displayed as Local time, it would be so much easier. Daylight savings makes everything worse!

Even if you lose access to your time server you can keep fairly accurate time by counting with your local clock from your last registered timestamp; the local clock should be able to keep to a few ms/day accuracy.

path: 0 7990251, hotness: undefined, score: 4, children: 0
Dave 4 points 3 years ago

I can understand Y2K bugs where it only happens once in 1000 years, but how does this happen when leap years are so common?

It's not like everyone programs a calendar from scratch, I'm trying to understand how they could have screwed this up.

path: 0 7989326, hotness: undefined, score: 4, children: 5
Ross_audio 3 points 3 years ago path: 0 7989326 7989874, hotness: undefined, score: 3, children: 4
Dave 3 points 3 years ago

Haha that's a pretty entertaining watch (pun intended).

I still want details on how a leap day can take down a petrol station! My money is on time-based encryption but really it's anyone's guess. It just seems like things should still work even if (somehow!) the date is set wrong.

path: 0 7989326 7989874 7991482, hotness: undefined, score: 3, children: 2
Ross_audio 3 points 3 years ago

It could be even simpler.

If they couldn't put the date as 29th Feb yesterday most card payment machines wouldn't allow them to connect. Especially if it was "March 1st"

Much like the reasons for the "leap second smear" Tom mentions at the end of that video. Banks really care about continuity and knowing the order of events.

path: 0 7989326 7989874 7991482 7999396, hotness: undefined, score: 3, children: 1
Dave 3 points 3 years ago

But what series of events could possibly lead to there being no February 29? As Tom mentions in the video, you don't do this stuff yourself, there's no reason to build that yourself.

My new guess is they had the year set wrong and no one noticed until now.

path: 0 7989326 7989874 7991482 7999396 8000505, hotness: undefined, score: 3, children: 0
Ilovethebomb 2 points 3 years ago

Poor Tom.

path: 0 7989326 7989874 7999225, hotness: undefined, score: 2, children: 0
offtopic
offtopic

@lemmy.nz

login for more options
523
123
1

This community is for NZ discussion about random non-NZ things, or whatever you want! Shitposts, circlejerks, memes, something you found funny, anything goes!*

*except for:

  • anything against the global instance CoC
  • anything too controversial (keep it light-hearted)

If you want to have a serious political discussion, take it to !politics@lemmy.nz.

go to feed...