this post was submitted on 03 Apr 2024
1102 points (96.2% liked)
Programmer Humor
19821 readers
2 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I'm ok with timezones, but the guy who invented daylight savings time I'd slap to all the way to the sun
From a development perspective it certainly sounds easier to have one global timezone with DST than a bunch of smaller ones without it. Would that make sense in reality? Probably not but I definitely think timezones take more work to compensate for properly.
What matters is consistency and our time system has tons of crazy inconsistent shit in our. Everyone knows about leap years, but do you know about leap seconds? Imagine trying to write a function to convert unix time to a current date and suddenly all your times are a second off.
Just look at this insane bullshit nonsense. The added complexity of time zones and daylight saving time is nothing compared to simply supporting our time system.
We need to synchronize all computer times with that one clock that can stay accurate to within 1 second every 40 billion years.
We do? With NTP
I'm referring to this one, the most bleeding edge of accuracy. I don't think NIST would have implemented this particular clock (yet).
Incredible list, the scale.
hmm
A little aspirational?
Not really. Timezones, at their core (so without DST or any other special rules), are just a constant offset that you can very easily translate back and forth between, that's trivial as long as you remember to do it. Having lots of them doesn't really make anything harder, as long as you can look them up somewhere. DST, leap seconds, etc., make shit complicated, because they bend, break, or overlap a single timeline to the point where suddenly you have points in time that happen twice, or that never happen, or where time runs faster or slower for a bit. That is incredibly hard to deal with consistently, much more so that just switching a simple offset you're operating within.
Switching sucks but DST is better than Standard Time.
Which part of the year is DST and which part is Standard Time?
I know, but it seems like half the people that say they prefer DST have it backwards.
It's easy, the good part is DST (which is what we're currently in - Spring through Fall in the northern hemisphere).
It's only good from spring to fall. Come winter and it's a permanent depression.
Standard Time during that period is what's depressing.
yeah it's literally ass-backwards. how can anyone support DST as it stands is beyond me
DST vsm Standard time literally doesn't matter. It's the switching between the two that kills people.
The real problem is that across the globe there is like 50 different implementations of it. Some places have a fucking half hour, or some goofy shit. Really fun handling time zones with that sprinkled on top.
I love DST! I just think ever switching out of it is where the mistake lies
Love me some early evening daylight though. Nice warm but not hot cruise/drive with the windows and the top down on the car.
Isn't that Benjamin Franklin or did West Wing lie to me?