• ThePowerOfGeek@lemmy.world
    link
    fedilink
    English
    arrow-up
    136
    ·
    edit-2
    23 days 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.

    • BrianTheeBiscuiteer@lemmy.world
      link
      fedilink
      English
      arrow-up
      43
      arrow-down
      5
      ·
      23 days 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.

      • digipheonix@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        31
        arrow-down
        7
        ·
        23 days 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
          12
          arrow-down
          1
          ·
          edit-2
          23 days 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.

    • criss_cross@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      23 days 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.

      • gedhrel@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        22 days 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.

    • Boomer Humor Doomergod@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      arrow-down
      1
      ·
      23 days 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”

    • Clent@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      23 days ago

      Bold of you to assume they’ll use Java and not some obscure language picked based on the need to pad their resumes.

      • acchariya@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        23 days ago

        We all know it’s going to be nodejs, backed up by mongodb. This is because LOC on the commits can be maximized for minimal effort, and it will need to be rewritten every 2-3 years.

  • Suite404@lemmy.world
    link
    fedilink
    English
    arrow-up
    25
    ·
    23 days ago

    This is like a new programmer coming in to their new job, seeing the code isn’t perfect and saying they could rebuild the entire thing and do it better in a month.

    • null_dot@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      10
      arrow-down
      1
      ·
      22 days ago

      It’s not a case of “seeing the code isn’t perfect” but rather, not understanding the myriad problems the code is solving or mitigating.

      I’m reminded of this shitshow:

      https://en.m.wikipedia.org/wiki/2010_Queensland_Health_payroll_system_implementation

      Queensland is a state of about 3m people in Australia. Their health service employs about 100k people. They ended up spending about 900m USD to develop their payroll software and fix the fuck ups it caused.

      I’m an accountant by trade, there’s a classic “techbro does accounting” style of development we see a lot. Like if you hadn’t spent a career learning how complex accounting can be, it would be easy to look at a payroll system and conclude “it’s just a database with some rules”.

    • Treczoks@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      23 days ago

      I did such a thing, but I had a big advantage: the codebase had been done by people who had never really learned to code, and I was a seasoned programmer with 20 years of experience.

    • rottingleaf@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      23 days ago

      That happens. Even if said new programmer had seen before that IRL the important part of that codebase consists of specific domain area quirks, scarcely documented and understood. They have an advantage in doing something good for the specific stage of that system’s evolution, but a huge disadvantage in knowing what the hell it really does.

  • Crashumbc@lemmy.world
    link
    fedilink
    English
    arrow-up
    25
    ·
    23 days ago

    These comments are completely missing the truth.

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

  • normalexit@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    edit-2
    22 days 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.

    • misteloct@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      edit-2
      22 days 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…

  • FauxLiving@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    22 days 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
        5
        ·
        22 days 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.

  • thebestaquaman@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    edit-2
    23 days ago

    This is just another step down “I honestly just can’t comprehend the stupidity of what is going on in the American government”-alley…

    Like… what do they even expect to come of this? Why are they even interested in doing it? Is it just to stir up shit?

    • MisterOwl@lemmy.world
      link
      fedilink
      English
      arrow-up
      26
      arrow-down
      1
      ·
      edit-2
      23 days ago

      They are trying to break the government beyond all repair. At that point they’ll say it’s the Democrats that broke it.

      Their cult members will swallow the lie hook line and sinker, and continue to keep them in power. (Side note, this will be made easier by gutting all election oversight as part of the package.)

      Meanwhile, all that tax money we paid into Social Security, SNAP, Medicaid and Medicare, Unemployment insurance… basically any program meant to help people, will flow directly into billionaire’s pockets.

  • Dragomus@lemmy.world
    link
    fedilink
    English
    arrow-up
    15
    ·
    23 days ago

    If it fails spectaculairly who will take the blame? Will there be any repercussions at all?

    Or will Musk and Trump shrug their shoulders? Halfheartedly blame Biden for badly programming the original database then go play some golf/videogaminges?

  • samuelazers@lemmy.world
    link
    fedilink
    English
    arrow-up
    13
    ·
    edit-2
    22 days ago

    step 1. rewrite into spaghetti code

    step 2. nobody understands the new code, so the govt has to contract elon musk for code maintenance forever

    step 3. profit

  • einlander@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    23 days ago

    This idea is terrifying in the most insidious ways. Who has access to the code? Who is auditing the code? Are they putting in code that may disenfranchise “the right people”. How long will it take to come to light? When found out, provided ‘Adults’ are running the country again, how much and how long would it take to fix it? And what backdoors are in the code?

    This is bad news all around.

  • Dzso@lemmy.world
    link
    fedilink
    English
    arrow-up
    11
    ·
    23 days ago

    This clusterfck has me seriously considering whether taxes are quite as certain as death anymore.

  • Xaphanos@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    23 days ago

    If SS payments stop, there will be hundreds of thousands of people with nothing left to lose.

    • whotookkarl@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      23 days ago

      Over 70 million including many retirees, orphans, and disabled workers. The people most in need of help and the reason that trying to run a government like a capitalist business is one of the dumbest forms of government organization ever. A quick way to radicalize someone against you is to harm their family or take their money.

      • Xaphanos@lemmy.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        23 days ago

        My mom is over 80. Little old suburban white lady. She already volunteered - “Just get me close.” She’d be super-thrilled to have her shot with a suicide vest.