Hmm, Debian and other long-term support distros are kind of in a tricky position with problems like these. On the one hand, they don’t want to break things, so they’ll often make changes like these relatively late. But on the other hand, someone might still run a current version of the distro in 2038, so they actually want to solve it as early as possible, too.
The actual transition happened ages ago - 2024 or so. A bunch of transitional packages in Testing and Sid had
-t64
appended for a while.Relevant XKCD: https://xkcd.com/607/
But that’s not a solution, it’s just postponing the problem!!1!one
“it’s just postponing the problem!!1!one” The thing of including a “one” to make the irony of your exclamation abundantly clear is a delightful bit of internet-ese. I always find it funny when I see it
For me the giveaway was 2^64 being 1.8*10^19 years from now.
Thanks! I find it nicer than including “/s” at the end :)
True, but only if the latest theories on Big Crunch being back on the table don’t hold up. Debian ought to not only push out 64 bit time, but place “now” right in the middle to cover any discoveries of an older universe. Hell, they ought to do that and make it 128 bit, to cover anything.
Exponentials can be profound when you grasp them for that fleeting second.
‘…(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?
The unix time is represented as a two’s complemented integer in some places. Y2K38 is actually the moment when the most significant bit becomes set, not when it rolls over to zero. That would occur in 2106. In two’s complement, the number with the most significant bit set and the rest zeros is the most negative representable number: -2,147,483,648. As a number of seconds relative to the unix epoch, that takes you back to 1901.
It’s kind of interesting it rolls over to a time close to what Y2k would have.
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.
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 👍