338
submitted 8 hours ago by cannedtuna@lemmy.world to c/memes@lemmy.world
you are viewing a single comment's thread
view the rest of the comments
[-] Pistcow@lemmy.world 9 points 7 hours ago
[-] huppakee@lemmy.world 1 points 2 hours ago

Can we please just handle thing one y at a time.

[-] 4am@lemmy.zip 5 points 5 hours ago

Isn't this one already largely patched including most 32-bit operating systems that were still getting updates like 20 years ago?

[-] Ephera@lemmy.ml 2 points 3 hours ago

That was my impression as well, but we also really shouldn't underestimate the remaining percentage of unpatched software, especially for embedded software.

We are building hardware with software included right now, which will still be on roads, in doctor's offices, broadcast stations, manufacturing lines, water pumps etc. in 2038.

And I can guarantee you that some of the hardware manufacturers will cheap out and put in too little memory for a larger clock.
Mainly because no customer asks for it at this point, but also because they won't be liable in a decade from now.

[-] Venator 3 points 6 hours ago

Why would you use a signed int to represent system time...

[-] 4am@lemmy.zip 4 points 5 hours ago

In order to be able to reference times prior to the epoch. If you made the system clock unsigned, all that math would still break if you did calculations against it after the final bit flipped.

At the time all this was standardized, no one knew we'd ever have gigabytes of RAM, terabytes of storage, etc. 32 bits for a clock was already expensive and they figured we wouldn't be using any of this software by 2038.

[-] Zarobi@aussie.zone 1 points 5 hours ago

64bit wasn't widely adopted when they had to fix the previous datetime crisis. The permanent solution is to upgrade your system to use x64 signed dates. Many systems are already starting to account for this

As the article mentions, the biggest problem will be embedded systems that get forgotten about and never get updated… many many things will break at that time, unexpectedly, and in subtle ways. As a normal consumer, your up-to-date devices like mobile phone and laptop should^TM^ be unaffected.

[-] Venator 2 points 5 hours ago

Doesn't need to be 64 bit to be unsigned... And the system clock generally only goes up, so no need to represent system time as earlier than 1970...

[-] 9point6@lemmy.world 1 points 48 minutes ago

If you want computers to not have an arbitrary line in the sand when referring to the past, you need to be able to do calculations with time from before the epoch, that's why it needs to be signed.

Off the top of my head, working out the age of someone born before 1970 is going to be a calculation that happens countless times a day

[-] Venator 1 points 33 minutes ago* (last edited 33 minutes ago)

You generally don't need the precision of seconds for that sort of calculation however, so can use a signed int representing date rather than datetime for that.

[-] 9point6@lemmy.world 1 points 2 minutes ago

"Generally" is doing a lot of heavy lifting in your responses

Unless it covers all use cases, it's not good enough, because that's what we basically already have today.

We all settled on using seconds (and later smaller increments) since the 1970 epoch across systems because it makes moving data around easier.

It's better to have one source of truth value and then you derive everything else from that, keeping a 2nd counter of days (which would also need to be signed, there's no first date of all time) rather than just doing some maths when you need it isn't good system design

this post was submitted on 17 Sep 2026
338 points (97.2% liked)

memes

22671 readers
3355 users here now

Community rules

1. Be civilNo trolling, bigotry or other insulting / annoying behaviour

2. No politicsThis is non-politics community. For political memes please go to !politicalmemes@lemmy.world

3. No recent repostsCheck for reposts when posting a meme, you can only repost after 1 month

4. No botsNo bots without the express approval of the mods or the admins

5. No Spam/Ads/AI SlopNo advertisements or spam. This is an instance rule and the only way to live. We also consider AI slop to be spam in this community and is subject to removal.

A collection of some classic Lemmy memes for your enjoyment

Sister communities

founded 3 years ago
MODERATORS