My Lemmy Oracle
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
sabreW4K3@lazysoci.al to Linux@programming.devEnglish · 4 days 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]
86
external-link

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

www.theregister.com

sabreW4K3@lazysoci.al to Linux@programming.devEnglish · 4 days 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
    ·
    4 days 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
      ·
      4 days 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
        ·
        4 days 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
      ·
      4 days 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
        ·
        4 days 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
          ·
          4 days ago

          That’s just a really solid joke.

    • eah@programming.dev
      link
      fedilink
      arrow-up
      2
      ·
      4 days 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.

  • 570 users / day
  • 1.97K users / week
  • 3.75K users / month
  • 9.82K users / 6 months
  • 1 local subscriber
  • 8.66K subscribers
  • 2.27K Posts
  • 16.6K Comments
  • Modlog
  • mods:
  • Ategon@programming.dev
  • adr1an@programming.dev
  • dwraf_of_ignorance@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org