• saigot@lemmy.ca
      link
      fedilink
      arrow-up
      36
      ·
      3 months ago

      If the calendar was written in C++ or many of it’s derivatives then signed integer overflow is undefined behaviour and it could technically choose to do anything it damn well wants (unsigned integers actually do have defined overflow behaviour). Something tells me the runtime of a paper calendar is anything but standard :D

    • 🔍🦘🛎@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      3 months ago

      It’s not the overflow that’s the issue, but a calculation failure that causes the date value to be “0” and thus list the date as January 1, 1970. It’s happened to me several times with Pokemon GO.

  • 👍Maximum Derek👍@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    47
    ·
    3 months ago

    Are we still calling it Y2k38? I think it needs some rebranding or we won’t be able recruit devs to put in the overtime to fix it so history can decide it was all fake.

    • HubertManne@moist.catsweat.com
      link
      fedilink
      arrow-up
      8
      ·
      3 months ago

      I was part of y2k rememdiation and we did some stuff for the next leap year as well and I had heard about work being done for future things. Im not in it anymore but im wondering if some is already done. Thing about y2k is it was a time when the backbone stuff was never upgraded. Banks using mainframes running cobol programs and such. Now it feels like every company changes their software yearly.

        • ChickenLadyLovesLife@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 months ago

          I worked for a large chemical additives company in the late '90s and wrote an IE6 web application (using classic ASP and Visual Basic 5) that was a front end to the company’s near-useless COBOL mainframe app that contained all of their testing and production processes and dated to the 1970s. They’re still using my application today, which means they’re still using that fucking COBOL app and the mainframes as well.