Comment on If civilization continues to the year 9999, is the idea to go to year 10.000, or...?
cobwoms@lemmy.blahaj.zone 11 months ago
we’re going to have a y2k but situation all over again. the y10k bug
Comment on If civilization continues to the year 9999, is the idea to go to year 10.000, or...?
cobwoms@lemmy.blahaj.zone 11 months ago
we’re going to have a y2k but situation all over again. the y10k bug
folkrav@lemmy.ca 11 months ago
Ackchyually, the Y2K bug was pretty different. A lot of software, for various reasons, took to representing dates as a two digit number. This meant going from 1999 to 2000 would make that software try to understand dates going from 99 to potentially various of other values, like 00 or 100.
We’re gonna have a different form of that on machines with 32 bit processors relatively soon. Past some time on Jan 19th, 2038, the epoch time, a count of seconds since Jan 1st, 1970, is stored as a 32 bit signed integer. At this time, it’ll run out of positive values, will overflow, and cause the internal clocks of such machines to go back to 1901. It probably won’t happen again after that, as the maximum date represented by the largest signed integer a 64 bit machine can store is 292+ billion years
hydrashok@sh.itjust.works 11 months ago
Good luck to all the engineers billions of years from now having fun moving to 128-bit time. What fools we were.
folkrav@lemmy.ca 11 months ago
Silver lining is, they should be done with the IPv6 migration by then.
Cosmicomical@kbin.social 11 months ago
Shouldn't it go back to 1970? Why 1901?
blargerer@kbin.social 11 months ago
The integer is signed, when it overflows it doesn't go to 0, it goes from Max Positive Value to Max Minimum Value, which will be a very 'large' negative number (-2147483648 to be exact).
Skua@kbin.social 11 months ago
It's a signed integer, meaning it has the same amount of space for negative numbers as it does for positive ones. Late 1901 is the same amount of time away from Jan 1st 1970 as early 2038 is
AA5B@lemmy.world 11 months ago
I’m pretty sure all operating systems have long ago switched to 64 bit date times. Of course, just like y2k, it’s the apps and their shortcuts that will be a problem.
folkrav@lemmy.ca 11 months ago
There has to be millions of IoT/embedded crap that runs some long obsolete OS version or whatever. Consumer stuff indeed shifted a looong time ago.