122
I Don't Trust My Own Code (lackofimagination.org)
you are viewing a single comment's thread
view the rest of the comments
[-] souperk@reddthat.com 33 points 5 months ago

Me neither buddy, me neither...

Falsehoods About Time: ... Time always moves forwards.

I had to learn this the hard way... I was working at a platform that pulled measurements from sensors. The sensors did not declare the timezone for the timestamps of the measurement and the platform broke down twice after daylight saving. The first time there were duplicated records which caused conflicts and the second one we weren't handling impossible timestamps.

[-] agressivelyPassive@feddit.de 23 points 5 months ago

I had a client whose clock was just a few milliseconds behind the server's, but due to timezone crap one hour in the past. And the signature was valid for one hour.

If the network just happened to be too congested, the validation failed. The next request went through just fine. Took us forever to find out.

[-] barsquid@lemmy.world 3 points 5 months ago
[-] NotMyOldRedditName@lemmy.world 2 points 5 months ago
[-] perviouslyiner@lemmy.world 5 points 5 months ago* (last edited 5 months ago)
this post was submitted on 28 May 2024
122 points (96.2% liked)

Programming

17314 readers
55 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS