• 0 Posts
  • 24 Comments
Joined 1 year ago
cake
Cake day: September 11th, 2023

help-circle
  • Yes. Not intentionally of course. But yes.

    I don’t see how your way is any more predictable or consistent than using UTC. What even is “local time”? Are you assuming they haven’t changed timezone since they created the data? Say…DST happened, or they drove over a border…?

    Storing and manipulating in UTC is the most predictable and consistent because it is universal and unchanging. You only need to worry about “local time” at the point of displaying it.


  • So many things would be fucked by a TZ change that it very rarely makes sense to consider it.

    You’re making a calendar app? Fuck it…some folks are gonna get confused…solved by simply emailing your users and telling them to reschedule shit because there’s kind of a big event going on that everyone knows about and has been planning for for years. Hell in all liklihood this is probably easily solved by simply doing a mass migration of events scheduled before the TZ change.

    You’re coding for nuclear weapons? Maybe consider it. But probably not.

    That is to say: there are ways to solve problems without resorting to writing the most complicated bullshit code ever seen. Unless of course you work on my team - in which case you’d be right at home.








  • Honestly most the advice I’m seeing is basically an answer to “how to avoid clothes looking absurdly crinkled” but nothing gets clothes as crinkle-free as an iron. Most people are just content with some crinkles.

    Not even iron-free shirts are free from my iron.









  • el_abuelo@lemmy.mltoLemmy Shitpost@lemmy.worldI got this
    link
    fedilink
    arrow-up
    28
    arrow-down
    3
    ·
    7 months ago

    I don’t disagree with the first sentence but do disagree with the comparison. A driver is in constant control of the vehicle and has to make decisions on a second by second basis that could result in death. By comparison, the chance of anyone in an exit row even being in a plane accident is vanishingly small. Even smaller still the liklihood that they’ll have to do anything (and be alive to do it)