by divbzero · 4y ago · 0 comments
– Seemingly simple tasks can be more complex than you expect (“add a leap second on this Wednesday”)
– Real world systems can be more complex than you expect (“bunch of software I never even knew existed”)
– Planning and testing can make a big difference vs. just winging it (“a bunch of our Linux servers had kernel panics for some reason”)
– Success can be a non-event that goes unnoticed (”everything worked and no money went missing”)
– Sometimes the best solution is not a technical solution (“halt the markets for 15 minutes before/after”)
We've had an election recently, right on the day when DST changed. On the night of counting of the votes, the clock went 2:59 AM -> 2:00 AM.
To save themselves trouble the Statistics Office instructed all vote counters that under no circumstances are they to enter or update anything in any system during the repeating hour until it's 3:00 AM the second time…
Here, look. Using the time zone for Norway in this example, with the `date` command on macOS.
First the last second before DST ended in Norway this year.
TZ=Europe/Oslo date -I seconds -jf %s 1667091599
2022-10-30T02:59:59+02:00
Then the second after. TZ=Europe/Oslo date -I seconds -jf %s 1667091600
2022-10-30T02:00:00+01:00
So while people say that time went from 02:59:59 to 02:00:00, I see it as time going from 02:59:59+02:00 to 02:00:00+01:00 :)Everyone should follow RFC 3339.
And for a lot of things problems would be solved with +01:00 offset while for others you actually want Europe/Berlin offsets
Sorry not personal but I find myself explaining that each time the subject comes up at work (and generally to the same people... sigh)
I once came across an early 1950s Scientific American article by Bertrand Russel, IIRC. It included a cartoon.
Frame one: Computer beats man at chess.
Frame two: Man unplugs computer.
And yet, there are still Y2K deniers (to be fair some people have exaggerated it to the point that they're promoting it as the end of the world).
I'm little confused. How does this solve the problem? If you don't code for the second, you'll still be off if you wait. I'm I missing something?
They had done it all the previous leap second during the weekend.
The hard part that required a lot of work was making sure that nothing breaks when it happens.
In this case they chose to have a mini weekend in the middle of the week for convenience