awful.systems
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
sabreW4K3@lazysoci.al to Linux@programming.devEnglish · 1 year ago

Y2K38 bug? Debian switching to 64-bit time for everything

www.theregister.com

external-link
message-square
9
link
fedilink
  • cross-posted to:
  • hackernews@lemmy.bestiver.se
  • debian@lemmy.ml
86
external-link

Y2K38 bug? Debian switching to 64-bit time for everything

www.theregister.com

sabreW4K3@lazysoci.al to Linux@programming.devEnglish · 1 year ago
message-square
9
link
fedilink
  • cross-posted to:
  • hackernews@lemmy.bestiver.se
  • debian@lemmy.ml
: We say everything... just not the oldest hardware. Unix Epochalypse less than 13 years away

cross-posted from: https://lazysoci.al/post/30920734

alert-triangle
You must log in or # to comment.
  • Fargeol@lemmy.world
    link
    fedilink
    arrow-up
    37
    ·
    1 year ago

    Relevant XKCD: https://xkcd.com/607/

    • TheImpressiveX@piefed.social
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      If only we’d chosen 1944-12-02 08:45:52 as the Unix epoch, we could’ve combined two doomsday scenarios into one and added a really boring scene to that Roland Emmerich movie.

  • over_clox@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    1 year 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?

    • Fargeol@lemmy.world
      link
      fedilink
      arrow-up
      23
      ·
      1 year ago

      https://en.wikipedia.org/wiki/Year_2038_problem

      Timestamps that use signed int will go back to 1901 (-2,147,483,647)

      • over_clox@lemmy.world
        link
        fedilink
        arrow-up
        13
        ·
        1 year ago

        Oh shit, I missed that part, I always thought it was an unsigned int… 🤦‍♂️

        Well today I learned 👍

    • schnurrito@discuss.tchncs.de
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      you’re wrong, but so was the article, so I guess that cancels out :D it’s late 1901

      • eah@programming.dev
        link
        fedilink
        arrow-up
        15
        ·
        1 year ago

        There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.

    • eah@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      deleted by creator

  • Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 year ago

    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.

  • data1701d (He/Him)@startrek.website
    link
    fedilink
    English
    arrow-up
    10
    ·
    1 year ago

    The actual transition happened ages ago - 2024 or so. A bunch of transitional packages in Testing and Sid had -t64 appended for a while.

Linux@programming.dev

linux@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@programming.dev

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

  • !linux_memes@programming.dev
  • !linuxphones@lemmy.ca
  • our Matrix group chat
  • !reactos@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 313 users / day
  • 1.06K users / week
  • 2.4K users / month
  • 7.74K users / 6 months
  • 8 local subscribers
  • 15.5K subscribers
  • 4.54K Posts
  • 33.5K Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • adr1an@programming.dev
  • dwraf_of_ignorance@programming.dev
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org