sabreW4K3@lazysoci.al to Linux@programming.devEnglish · 4 days agoY2K38 bug? Debian switching to 64-bit time for everythingwww.theregister.comexternal-linkmessage-square15fedilinkarrow-up186arrow-down10file-textcross-posted to: [email protected]
arrow-up186arrow-down1external-linkY2K38 bug? Debian switching to 64-bit time for everythingwww.theregister.comsabreW4K3@lazysoci.al to Linux@programming.devEnglish · 4 days agomessage-square15fedilinkfile-textcross-posted to: [email protected]
minus-squareover_clox@lemmy.worldlinkfedilinkarrow-up16arrow-down1·4 days ago‘…(potentially setting time back to 1900)…’ From my understanding, unless I’m mistaken, wouldn’t the 32 bit time reset back to 1970 after the overflow/rollover?
minus-squareFargeol@lemmy.worldlinkfedilinkarrow-up24·4 days agohttps://en.wikipedia.org/wiki/Year_2038_problem Timestamps that use signed int will go back to 1901 (-2,147,483,647)
minus-squareover_clox@lemmy.worldlinkfedilinkarrow-up13arrow-down1·4 days agoOh shit, I missed that part, I always thought it was an unsigned int… 🤦♂️ Well today I learned 👍
minus-squareschnurrito@discuss.tchncs.delinkfedilinkarrow-up7·4 days agoyou’re wrong, but so was the article, so I guess that cancels out :D it’s late 1901
minus-squareeah@programming.devlinkfedilinkarrow-up17·4 days agoThere are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.
minus-squareglimse@lemmy.worldlinkfedilinkarrow-up2arrow-down1·4 days agoThat’s just a really solid joke.
‘…(potentially setting time back to 1900)…’
From my understanding, unless I’m mistaken, wouldn’t the 32 bit time reset back to 1970 after the overflow/rollover?
https://en.wikipedia.org/wiki/Year_2038_problem
Timestamps that use signed int will go back to 1901 (-2,147,483,647)
Oh shit, I missed that part, I always thought it was an unsigned int… 🤦♂️
Well today I learned 👍
you’re wrong, but so was the article, so I guess that cancels out :D it’s late 1901
There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.
That’s just a really solid joke.
deleted by creator