• ThePowerOfGeek
    link
    fedilink
    English
    87
    edit-2
    3 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.

    • @BrianTheeBiscuiteer@lemmy.world
      link
      fedilink
      English
      273 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.

      • @digipheonix@lemmy.dbzer0.com
        link
        fedilink
        English
        203 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
          0
          edit-2
          3 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.

      • @deranger@sh.itjust.works
        link
        fedilink
        English
        103 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.

        • @Feyd@programming.dev
          link
          fedilink
          English
          103 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
            53 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?

            • @Feyd@programming.dev
              link
              fedilink
              English
              13 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
                1
                edit-2
                3 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”.

        • @flamingo_pinyata@sopuli.xyz
          link
          fedilink
          English
          33 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.

        • nfh
          link
          fedilink
          English
          33 months ago

          The way Java is practically written, most of the overhead (read: inefficient slowdown) happens on load time, rather than in the middle of execution. The amount of speedup in hardware since the early 2000s has also definitely made programmers less worried about smaller inefficiencies.

          Languages like Python or JavaScript have a lot more overhead while they’re running, and are less well-suited to running a server that needs to respond quickly, but certainly can do the job well enough, if a bit worse compared to something like Java/C++/Rust. I suspect this is basically what they meant by Java being well-suited.

    • Boomer Humor Doomergod
      link
      fedilink
      English
      83 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
        53 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.

        • Boomer Humor Doomergod
          link
          fedilink
          English
          13 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.

    • @ricecake@sh.itjust.works
      link
      fedilink
      English
      73 months ago

      It’s worth noting that one of those organizations is IBM. Mostly relevant because they’re the ones that originally built a lot of that cobol, the mainframes it runs on, and even the compilers that compiled it.
      They’re basically the people you would expect to be able to do it, and they pretty quickly determined that the cost of a rewrite and handling all the downstream bugs and quirks would exceed the ongoing maintenance cost of just training new cobol developers.

      My dad was a cobol developer (rather, a pascal developer using a compiler that transpiled to cobol which was then linked with the cobol libraries and recompiled for the mainframe), and before he retired they decided to try to replace everything with c#. Evidently a year later their system still took a week to run the nightly reports and they had rehired his former coworkers at exorbitant contractor rates.

  • @Telorand@reddthat.com
    link
    fedilink
    English
    52
    edit-2
    3 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…!”

    • will
      link
      fedilink
      English
      13 months ago

      Yep, this is it. Show how “broken” it is by breaking it, and enough of the population won’t even notice when it’s “fixed” and they’re only getting 2/3 of what they were before (and are entitled to). Plus grift, etc.

  • @thebestaquaman@lemmy.world
    link
    fedilink
    English
    15
    edit-2
    3 months 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
      24
      edit-2
      3 months 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.

  • snooggums
    link
    fedilink
    English
    153 months ago

    Hahahahahahahahahahahahahahahahahahaha

    Ow, my sides.

  • @Dragomus@lemmy.world
    link
    fedilink
    English
    133 months 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?

  • WolfmanEightySix
    link
    fedilink
    English
    73 months ago

    That’s the idea. Then they say anyone who complains about not receiving benefits is a fraud.

  • @einlander@lemmy.world
    link
    fedilink
    English
    63 months 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.

    • @Eezyville@sh.itjust.works
      link
      fedilink
      English
      33 months ago

      How many bugs? How will they secretly siphon money to their accounts? How much access will the Russians have? Who’s gonna get discriminated against?

  • Rentlar
    link
    fedilink
    English
    43 months ago

    If you want the source of any future “technical glitches”, it’s this wilfully negligent act. Courts, take note.

  • @AdamBomb@lemmy.sdf.org
    link
    fedilink
    English
    4
    edit-2
    3 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.

    • @whotookkarl@lemmy.world
      link
      fedilink
      English
      33 months 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
        03 months 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.

  • @geoff@lemm.ee
    link
    fedilink
    English
    33 months ago

    This is how you know Musk is a fraud. This far into his career and he’s leading teams into rookie mistakes.

    Or, he knows this will break it and that’s the goal. I’m just not sure how he avoids the blame.

    • @nova_ad_vitum@lemmy.ca
      cake
      link
      fedilink
      English
      13 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
      13 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.

    • @ipkpjersi@lemmy.ml
      link
      fedilink
      English
      03 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
        33 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
        03 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
          0
          edit-2
          3 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
            13 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.

  • @normalexit@lemmy.world
    link
    fedilink
    English
    2
    edit-2
    3 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.

    • @misteloct@lemmy.world
      link
      fedilink
      English
      0
      edit-2
      3 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…