Orbi Camp
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sabreW4K3@lazysoci.al to Linux@programming.devEnglish · 1 month ago

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

www.theregister.com

external-link
message-square
15
fedilink
  • cross-posted to:
  • [email protected]
88
external-link

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

www.theregister.com

sabreW4K3@lazysoci.al to Linux@programming.devEnglish · 1 month ago
message-square
15
fedilink
  • cross-posted to:
  • [email protected]
: We say everything... just not the oldest hardware. Unix Epochalypse less than 13 years away

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

  • over_clox@lemmy.world
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    1 month 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
      24
      ·
      1 month 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
        arrow-down
        1
        ·
        1 month 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 month 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
        17
        ·
        1 month ago

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

        • glimse@lemmy.world
          link
          fedilink
          arrow-up
          2
          arrow-down
          1
          ·
          1 month ago

          That’s just a really solid joke.

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

      deleted by creator

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: [email protected]

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

Also, check out:

  • [email protected]
  • [email protected]
  • Matrix instant messaging group chat

Original icon base courtesy of [email protected] and The GIMP

Visibility: Public
globe

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

  • 358 users / day
  • 1.36K users / week
  • 4.23K users / month
  • 10.4K users / 6 months
  • 1 local subscriber
  • 9.18K subscribers
  • 1.9K Posts
  • 12.2K Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • adr1an@programming.dev
  • dwraf_of_ignorance@programming.dev
  • BE: 0.19.8
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org