this post was submitted on 20 Jul 2024
278 points (93.2% liked)

Showerthoughts

30131 readers
1330 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. A showerthought should offer a unique perspective on an ordinary part of life.

Rules

  1. All posts must be showerthoughts
  2. The entire showerthought must be in the title
  3. Avoid politics
    • 3.1) NEW RULE as of 5 Nov 2024, trying it out
    • 3.2) Political posts often end up being circle jerks (not offering unique perspective) or enflaming (too much work for mods).
    • 3.3) Try c/politicaldiscussion, volunteer as a mod here, or start your own community.
  4. Posts must be original/unique
  5. Adhere to Lemmy's Code of Conduct

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] slazer2au 11 points 5 months ago (2 children)

2038 is the next big thing to hit older *nix based OS. It will be Y2K all over again.

[–] pelya 11 points 5 months ago (1 children)

Maybe on my 32-bit ARM server with ancient kernel it will. Any 64-bit machine is immune.

[–] gedhrel 19 points 5 months ago (1 children)

...unless it's running software that uses signed 32-bit timestamps, or stores data using that format.

The point about the "millennium bug" was that it was a category of problems that required (hundreds of) thousands of fixes. It didn't matter if your OS was immune, because the OS isn't where the value is.

[–] [email protected] 3 points 5 months ago* (last edited 5 months ago) (1 children)

...timestamp is signed? Why?

Edit: Oh damn, I never noticed that the timestamp is indeed signed. For anyone curious, it is mostly historical as early C didn't really have a concept of unsigned

[–] [email protected] 3 points 5 months ago

It also allows users to store dates back to ~1902.

[–] ikidd 3 points 5 months ago (1 children)
[–] [email protected] 3 points 5 months ago (1 children)

It'll be 911,000? As long as it's stored with 32 bits that should be fine 🤷

[–] [email protected] 2 points 5 months ago

I agree. We've been able to do 6 digit math for decades now