• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    22 hours 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.

    • AnarchistArtificer@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      1 day ago

      “it’s just postponing the problem!!1!one” The thing of including a “one” to make the irony of your exclamation abundantly clear is a delightful bit of internet-ese. I always find it funny when I see it

    • Rhaedas@fedia.io
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      True, but only if the latest theories on Big Crunch being back on the table don’t hold up. Debian ought to not only push out 64 bit time, but place “now” right in the middle to cover any discoveries of an older universe. Hell, they ought to do that and make it 128 bit, to cover anything.

      Exponentials can be profound when you grasp them for that fleeting second.

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

    • eah@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      1 day ago

      The unix time is represented as a two’s complemented integer in some places. Y2K38 is actually the moment when the most significant bit becomes set, not when it rolls over to zero. That would occur in 2106. In two’s complement, the number with the most significant bit set and the rest zeros is the most negative representable number: -2,147,483,648. As a number of seconds relative to the unix epoch, that takes you back to 1901.

      It’s kind of interesting it rolls over to a time close to what Y2k would have.

      • over_clox@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        1 day ago

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

        Well today I learned 👍