• AdamBomb@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    31
    ·
    edit-2
    9 months ago

    This has the stench of junior engineer all over it. This rewrite will go way over budget and come limping across the finish line late, with more bugs and less features than the system it replaces. I guarantee it.

      • adminofoz@lemmy.cafe
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 months ago

        1000% percent. If they can’t even figure out how dates work in COBOL we are getting a vibe coded SSA. Let’s hope they trained LLMs on COBOL or we are cooked.

    • ipkpjersi@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      9 months ago

      Yep, months is a joke, doubly so when talking about tens of millions of lines of code and also COBOL specifically.

      This is going to be a hilarious disaster but not so hilarious when people who need the benefits need them and won’t be able to get them.

      • dryfter@lemm.ee
        link
        fedilink
        English
        arrow-up
        6
        ·
        9 months ago

        I’m on SSDI (and Medicaid and HUD housing) and have been having insane anxiety the last month and a half to the point that I’m wondering if I’ll even get paid in April. I regularly check my SSA account online to make sure my direct deposit is still freaking scheduled. Missing a payment could mess up all of my other benefits as well.

        I know the fuck up is coming, but I don’t know if I can handle another few months hoping they don’t fuck up the migration if they don’t fuck up just paying people first with all that’s been going on.

        I’m pretty sure Im not the only one in this situation who can’t handle the stress of this bullshit.

      • monkeyman512@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        To be fair. We assume “months” means less than 2 years. But 10 years can also be “months”, and is probably a more realistic timeline.

        • ipkpjersi@lemmy.ml
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          9 months ago

          Nobody is referring to 10 years as “months”.

          When you’re talking about multiples of years, it’s going to be called years, not months. They were obviously talking about a short timeline, less than 2 years, likely less than 1 year.

          They have no idea what they’re talking about.

          Like I said, months is a joke.

          • monkeyman512@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            9 months ago

            So was what I said. I was presenting a hypothetical way they justify their ridiculous claims by doing something else ridiculous.

            But conveying tone in text is difficult, so I’m not surprised you missed what I was going for.

    • nova_ad_vitum@lemmy.ca
      link
      fedilink
      English
      arrow-up
      6
      ·
      9 months ago

      Okay but have you ever tried just throwing genAI at the problem and not caring about the consequences?

    • supersquirrel@sopuli.xyz
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 months ago

      I mean this is a great example of what happens when you put conservative men in power who think they know what they are doing but are just going to loudly, incompetently and incorrectly re-invent the wheel while everyone else suffers from not having an actual practical solution.

    • peteyestee@feddit.org
      link
      fedilink
      English
      arrow-up
      4
      ·
      9 months ago

      By rebuild I don’t think they mean it’s going to function the same. …just torn apart and replaced.

      • frezik@midwest.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        It has to function the same. It has to follow the same laws as before.

        Bur more likely, they know this and it’s all part of privatizing social security.

  • kibiz0r@midwest.social
    link
    fedilink
    English
    arrow-up
    9
    ·
    9 months ago

    There are only two reasons softwares goes for decades without being replaced:

    1. It’s so unimportant that nobody uses it
    2. It’s so important that the last major bug was squashed 15 years ago
    • britaliope@kourjetez.bzh
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      9 months ago

      Also : it’s very complex and it happens to work fine for decades.

      If one day i write a code project and manage to make it work without any major issues for several decades, there is no way i attemptto rewrite it.

      • jonne@infosec.pub
        link
        fedilink
        English
        arrow-up
        3
        ·
        9 months ago

        Yeah, there’s almost 100 years of law, case law and agency regulations built into how this software works. And they fired all the people that knew anything about it.

    • EarlGrey@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      But dude, bro, we could put the entire system on the blockchain man, and make it super efficient with an AI backend that will remove all errors bro.

      Dude it’s not even written in Rust bro. WTF is this dinosaur shit?

  • normalexit@lemmy.world
    link
    fedilink
    English
    arrow-up
    9
    ·
    edit-2
    9 months ago

    I’ve worked on teams converting legacy code for most of my life. The planning for something like this would take longer than six months.

    If this proceeds in Trump’s corrupt government, Elon will get the contract, will claim it is too broken to salvage, and will privatize it. The only way this goes anywhere is if Trump and musk stand to gain money, and they stand to gain a lot.

    • PastafARRian@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      9 months ago

      If they planned a 1 month migration of a small component, 6 months to complete would be pretty lucky imo. Refactoring Legacy Code mentions the 2.0 approach they’re taking. Spoiler alert, it doesn’t work…

  • ThePowerOfGeek@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    9 months ago

    Ah yes, a classic tale…

    “We’re going to take this perfectly efficient and functional COBOL code base and rewrite it in Java! And we’ll do it in a few months!”

    So many more competent people and organizations than them have already tried this and spectacularly crashed and burned. There are literal case studies on these types of failed endeavors.

    I bet they’ll do it in Waterfall too.

    It’s interesting. If they use Grok, this could well be the deathknell for vibe programming (at least for now). It’s just fucking tragic that their hubris will cause grief and pain to so many Americans - and cost the lives of more than a few.

    Edit: Fixed some typos.

    • criss_cross@lemmy.world
      cake
      link
      fedilink
      English
      arrow-up
      3
      ·
      9 months ago

      I’ve worked on these “cost saving” government rewrites before. The problem is getting decades of domain logic and behavior down to where people can be productive. It takes a lot of care and nuance to do this well.

      Since these nazi pea brains can’t even secure a db properly I have my doubts they’ll do this successfully.

      • britaliope@kourjetez.bzh
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        9 months ago

        well the new ruleset they will implement is quite simple:

        IF user wants money AND user is rich THEN accept request ELSE fuck off

        the tricky part is to say fuck off in a subtle enough way their maga shills think it’s perfectly normal in order to save the nation blah blah blah

      • gedhrel@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        Not just domain logic. The implementation logic is often weird too. Cobol systems have crash/restart behaviour and other obscure semantics that often end up being used in anger; it’s like using exceptions for control flow, but exceedingly obscure and unfortunately (from what I’ve seen of production cobol) a “common trick” in lots of real-world deployments.

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

      Jokes aside, nothing wrong with rewriting in Java. It is well-suited for this kind of thing.

      Rewriting it in anything without fully understanding the original code (the fact they think 150yo are collecting benefits tells me they don’t) is the biggest mistake here. I own codebases much smaller than the SSA code and there are still things I don’t fully understand about it AND I’ve caused outages because of it.

      • deranger@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 months ago

        Non programmer but skilled with computers type guy here: what makes Java well suited for this?

        This is probably an incorrect prejudice of mine, but I always thought those old languages are simpler and thus faster. Didn’t people used to rip on Java for being inefficient and too abstracted?

        Last language I had any experience with was C++ in high school programming class in the early 2000s, so I’m very ignorant of anything modern.

        • flamingo_pinyata@sopuli.xyz
          link
          fedilink
          English
          arrow-up
          2
          ·
          9 months ago

          I am a programmer but I’m not sure why people think Java is suited for anything, especially a system so sensitive to bugs. It’s so hard to write high quality readable code in Java. Everything is way more clunky, and verbose than it needs to be.

          Some major improvements were made with versions 17+ but still, it feels like walking through mud.

          It’s a language from the 1990s for the 1990s.

          Btw the performance is actually pretty good in Java, the old reputation for slowness is entirely undeserved today.

        • Feyd@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          9 months ago

          Java can be pretty damn efficient for long running processes because it optimizes at runtime. It also can use new hardware features (like cpu instructions) without having to compile for specific platforms so in practice it gets a boost there. Honestly, the worst thing about Java is the weird corporate ecosystem that produces factoryfactory and other overengineered esoteric weirdness. It can also do FFI with anything that can bind via c ABI so if some part of the program needed some hand optimized code like something from BLAS it could be done that way.

          All that to say it doesn’t matter what language they use anyway, because rewriting from scratch with a short timeline is an insane thing to do that never works.

          • deranger@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            0
            ·
            9 months ago

            Why is there a need to rewrite it at all? Is it because COBOL is basically ancient hieroglyphics to modern programmers thus making it hard to maintain or update?

            • jacksilver@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              9 months ago

              Refactoring a code base is kinda like general maintenance for the application. Over time deprecated features, temp fixes, etc. start to be a lot of the code base. By cleaning things up you can make it more maintainable, efficient, etc.

              That being said, for systems this large you usually fix up parts of it and iterate over time. Trying to do the whole code base is hard cause it’s like replacing the engine while the car is in motion.

            • BrianTheeBiscuiteer@lemmy.world
              link
              fedilink
              English
              arrow-up
              1
              ·
              9 months ago

              They want to make buttloads of money from a rewrite, and it would cost buttloads to do this. They probably also want things to run like shit and cause misery for retired Americans.

            • Feyd@programming.dev
              link
              fedilink
              English
              arrow-up
              0
              ·
              9 months ago

              I wouldn’t necessarily agree it needs to be rewritten. Hiring programmers that are willing to work in cobol would certainly be harder than other languages though, because you’ll have a much smaller candidate pool and people would be unlikely to see learning cobol as a good career investment

              • barsoap@lemm.ee
                link
                fedilink
                English
                arrow-up
                1
                ·
                edit-2
                9 months ago

                COBOL is the career advise you hear people give for people who want to make money but don’t want to deal with the VC clownshow. COBOL btw is only 13 years older than C and both language’s current standard dates to 2023.

                It’s at its core a bog-standard procedural language, with some special builtins making it particularly suited to do mainframe stuff. Learning COBOL is no worse a career investment than learning ABAP, or any other language of the bureaucracy. Sure you’ll be a career bureaucrat but that’s up sufficiently many people’s alley, no “move fast and break things”, it’s “move slowly and keep things running”.

      • digipheonix@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        9 months ago

        No. Java is not suited for this. This code runs on mainframes not some x86 shitbox cluster of dell blades. They literally could not purchase the hardware needed to switch to java in the timeline given. I get what you’re trying to say but in this case Java is a hard no.

        • Glitchvid@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          9 months ago

          Uh, Java is specifically supported by IBM in the Power and Z ISA, and they have both their own distribution, and guides for writing Java programs for mainframes in particular.

          This shouldn’t be a surprise, because after Cobol, Java is the most enterprise language that has ever enterprised.

    • DJKJuicy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      I bet they’ll do it in Waterfall too.

      Nah B. This will be Extreme Agile XP with testing exclusively in Prod. Xitter will be the code repository.

      • ThePowerOfGeek@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        Pair programming with Grok.

        Spotty DOGE intern developer: “what’s a for loop?”

        Grok: “Look it up yourself, noob! Holy shit do I hate Elon Musk in every fucking way!”

    • Boomer Humor Doomergod@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      9 months ago

      Functional, yes. But rarely are these sorts of things efficient. They’re covered in decades of cruft and workarounds.

      Which just makes them that much harder to port to a different language. Especially by some 19 year old who goes by “Big Balls”

      • Telorand@reddthat.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        9 months ago

        My company actually wrote their flagship software in COBOL starting in the 80s, and we’re only now six years into rewriting everything in a more modern language with probably four years to go.

        I can’t imagine trying to start such a project like rewriting all of Social Security and thinking it will take months. You have to be a special kind of fatuous to unironically think that.

        • billthemaxster@lemm.ee
          link
          fedilink
          English
          arrow-up
          2
          ·
          9 months ago

          Similarly, my company are 4 years into a rewrite of a cobol mainframe system much simpler than Social Security. Which was going to “take a year” there’s at least 5 years left.

          I know the UK benefits system took well over 12 years to build with an programming workforce of over 2000 and I imagine it’s simpler having to support a population one fifth the size of the US.

        • Boomer Humor Doomergod@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          9 months ago

          I was briefly employed at a firm that maintained the sales commission software for a large telecom firm.

          It was 1.5 million lines of VB6, though VB8 was already three years old. Nobody knew all of it, so they couldn’t possibly rewrite it to handle all the edge cases and special incentives we kept having to add.

          Except maybe the lone QA person, who would frequently begin sobbing at her desk. And we could all hear it because it was an open plan office and we weren’t allowed to wear headphones.

          That job was so bad I quit and began freelancing.

  • FauxLiving@lemmy.world
    link
    fedilink
    English
    arrow-up
    5
    ·
    9 months ago

    They’re really playing with fire here.

    So many MAGA supporters are seniors who are entirely dependent on OASDI. If Trump’s minions break this, we’re going to see torches and pitchforks strapped to electric scooters and golf carts coming out of Florida retirement communities in droves.

      • monkeyman512@lemmy.world
        link
        fedilink
        English
        arrow-up
        6
        ·
        9 months ago

        The reason is that it takes a lot of emotional intelligence and strength to admit that you have been scammed. These people will find it less emotionally painful to deny reality then admit their mistakes.

  • ZILtoid1991@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    9 months ago

    In theory, it wouldn’t be a necessarily bad idea to port the COBOL code to something more modern, but I cannot trust Muskrat and a few vibe coder youngsters with this task.

    • 800XL@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      9 months ago

      Bro. Check it out bro, we’re gonna like make it this dope Electron app, bro. It’ll interface with X, bro and everyone will have to login there to get their money, bro. Don’t worry tho, you’ll get paid in recession-proof Trumpbux crypto currency as long as you claim it in time. But X gets a fee of 60% bro.

      Seriously bro we like hired a bunch of grads that took a one week X created code boot camp that like you know revolved around a language big balls created called “cyber coin purse++”. On second thought bro we’re rewriting it in that. Should be like 2 weeks to rewrite it cuz old people wrote the current code and they’re like old or whatever bro. Like I live in an old person’s basement and they’re just like old, bro.

    • letzlo@feddit.nl
      link
      fedilink
      English
      arrow-up
      1
      ·
      9 months ago

      In theory it is a horrible idea. No port like this ever works out. An incremental approach has much higher chance of success but will take long.

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

    These comments are completely missing the truth.

    They have zero intention of rebuilding anything, this is just an excuse to destroy SSA …

  • Telorand@reddthat.com
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    9 months ago

    How this will go:

    DOGE: “Okay Grok. Convert this COBOL code into Python.”

    Dumb AI: “Certainly! Here you go.”

    System crashes and exposes all Americans’ SSNs

    DOGE: “Fuckin’ DEI hires…!”

      • kilonova@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        9 months ago

        When I started at my workplace a few years back, I had to login to lotus notes to obtain some sort of ID code. I’d never heard or seen the software before, but after opening it, I let out an audible “what the fuck is this shit”. Luckily they got rid of it completely a couple of years ago.

      • NeonKnight52@lemmy.ca
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        5
        ·
        9 months ago

        Node.js is a fantastic tool for web servers. Its event loop allows it to rival much lower-level languages in performance while remaining easy to write and maintain. JavaScript has been the most popular programming language for nearly a decade.

        • green@feddit.nl
          link
          fedilink
          English
          arrow-up
          6
          ·
          9 months ago

          Just no man.

          Yes, JavaScript has been the most popular language but it is exclusively because of the front-end. Many companies do not want to pay for separate back-end devs and ask their front-end devs to do it instead. These people (ab)use JS because they’re most comfortable with it and are under crunch; so we end up with the abomination that is back-end JS.

          It is NOT rivaling much lower-level languages; it can’t even rival C#.

          First off, it is interpreted. You are never going to be faster than competently written C, C++, Go, nor Rust. Secondly, the resources it takes to exist makes in a non-option for embedded machines - which Social-Security facilities are all but guaranteed to use.

          Not to mention the horrendous (and insecure) package infrastructure, and under-powered core libraries - it would be the fullest extent disaster.

          The saddest part? The larpers at DOG(shit)E are all but guaranteed to pick the worst tools for the job, over-engineer, and have extremely poor management. Meaning whatever they ship WILL collaspe the system day 1; and all of the people refusing to pay attention will be like “hOw CouLd THis HaPPen”

          • NeonKnight52@lemmy.ca
            link
            fedilink
            English
            arrow-up
            1
            ·
            9 months ago

            I was only responding to the idea that no one should ever use NodeJS, as it’s good as a web server.

            A Honda Civic is a great car for what it’s built for and people know how to drive it. But I wouldn’t use it to haul gravel or drive the Indy 500.