• ThePowerOfGeek@lemmy.world
    link
    fedilink
    English
    arrow-up
    125
    ·
    edit-2
    6 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
      41
      arrow-down
      5
      ·
      6 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.

    • criss_cross@lemmy.world
      link
      fedilink
      English
      arrow-up
      10
      ·
      5 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
        ·
        5 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
      10
      arrow-down
      1
      ·
      6 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”

  • normalexit@lemmy.world
    link
    fedilink
    English
    arrow-up
    21
    ·
    edit-2
    5 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
      5 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
    16
    ·
    5 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
        ·
        4 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.

  • Suite404@lemmy.world
    link
    fedilink
    English
    arrow-up
    25
    ·
    5 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.

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

    These comments are completely missing the truth.

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

  • samuelazers@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    edit-2
    5 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

  • ZILtoid1991@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    5 days 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
      11
      ·
      5 days 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.

  • Dzso@lemmy.world
    link
    fedilink
    English
    arrow-up
    12
    ·
    5 days ago

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

  • thebestaquaman@lemmy.world
    link
    fedilink
    English
    arrow-up
    17
    ·
    edit-2
    6 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
      27
      ·
      edit-2
      6 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
    ·
    6 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?

    • jonne@infosec.pub
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 days ago

      If Trump is smart, he’ll let Musk do all the unpopular project 2025 stuff, then throw him in prison at the end and escape the blame personally. This way he gets to keep popularity with his base while telling his donors they got everything they asked for. It’s what all dictators do, really.

  • Xaphanos@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    ·
    6 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
      8
      ·
      6 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
        ·
        5 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.