• dan@upvote.au
    link
    fedilink
    arrow-up
    6
    ·
    3 months ago

    some parts of the US power grid are running on DOS

    What’s the problem with that, though? Systems like that are pretty much guaranteed to be isolated from the internet.

    There’s no need to rewrite code just because it’s old. Code doesn’t expire. If it’s still doing what it’s supposed to be doing, it’s really not as bad as people make it out to be. Windows 11 still has code from NT 3.51 in it, because that code still does its job.

    • EldritchFeminity@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      There’s nothing wrong with it, per se. As they say, if it ain’t broke, don’t fix it. Just trying to put in perspective the technological difference between the 90s and today that makes the 90s “ancient” and how systems are still running on that old tech today.

      The 90s was only about 30 years ago, but when you think of what computers running Windows 95 could do then compared to systems today, it’s like a different era. It’s no small wonder that banking systems can’t keep your accounts up to date in real time when major pieces of them were designed before the internet was more than a DARPA project.

      When my dad was in college for engineering, the college had their own computer, and he remembers going into the clean room to put his punch cards into it for classes. When I was a kid in the 90s, I remember being blown away by a flight sim on my dad’s Mac. Today, I can grab my HTC Vive and be right in the removedpit of a fighter jet in something like DCS. Compared to when I was a kid, I might as well be on the holodeck from Star Trek. Dick Tracy’s wrist computer went from science fiction to something people use just so they don’t have to pull their computer out of their pocket.

      The only thing that can outpace technology is internet meme culture.

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

        I loathe that quote, it’s so much more nuanced.

        A program from the 90s whose task is just to run a piece of machinery? Not broke, no problem

        A program from the 90s supporting the bulk of an entire countrys economy that literally can’t handle real-time transactions and causes numerous knock on effects as a result? Time replace the shit

    • The_Decryptor@aussie.zone
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      What’s the problem with that, though? Systems like that are pretty much guaranteed to be isolated from the internet.

      Because things break down eventually, and when it comes time to buy replacement parts you discover that they’re effectively impossible to find. Then instead of having a nice, planned transition period you’ve got like a weekend to cobble together something to get it working again.

      • dan@upvote.au
        link
        fedilink
        arrow-up
        3
        ·
        3 months ago

        Hardware that runs DOS well isn’t that hard to find though. There’s even new modern-ish motherboards designed for embedded systems (like robots that control production lines) that still have ISA and PCI slots to support legacy hardware, since those embedded systems are designed to last a very long time.

        For what it’s worth, I know that some places that run old systems like that have virtualized it - they have much newer systems and run the old software in a VM.

    • calcopiritus@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Code doesn’t expire. But the programmers do (they die/retire).

      If you want someone to maintain that code, old code only gets more expensive. Sure, if it ain’t broke you don’t need to maintain it to fix it, but you need to maintain it to upgrade it. When you eventually need to make an upgrade, it’s going to be expensive. I don’t know if it’s more expensive than making the code not-old though.

      • dan@upvote.au
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        Code doesn’t expire. But the programmers do (they die/retire).

        The old programmers should document their work and do a proper handoff to a new maintainer. At my work place, other people have to maintain my code, so I write wikis about how it works and do internal tech talks to explain things.