• @[email protected]
    link
    fedilink
    42 months ago

    https://dev.to/mdchaney/cobol-dates-may-20-1875-and-disinformation-5ggh

    1. There is no “date” data type in COBOL. Dates are stored however the programmer wants, but usually numeric character strings
    2. There’s no “default” date, even if there were such a data type
    3. Even if there were a default, 1875 would be a bizarre choice

    That (obviously) doesn’t mean Elon Musk is right. It just means that this explanation of it being some magical COBOL epoch value is wrong. What’s more likely is that the Social Security database is very old and has a lot of iffy data in it.

    My guess is that it contains everybody who has ever had a social security record, including all the duplicates, all the typos, and everything else. At some point there were probably hundreds of thousands of records that were transcribed from paper into a computer, and it was considered safer to keep the iffy data and make a plan to deal with it later, vs. remove someone from the database who should legitimately be there.

    I would also imagine that the systems that take the records out of the DB probably have filters in place that remove the (known) bad records before they’re used.

    • @[email protected]
      link
      fedilink
      12 months ago

      There is no “date” data type in COBOL, but there is in DB2, where the data would be saved, unless they are on an older VSE OS and data is still saved in VSAM files. Many still use 12/31/39 as a default max date even though OS/400 systems can handle up to year 9999 now (we still use 12/31/39 in testing where I work). It could be someone arbitrarily started using 1875, and others copied that.

  • @[email protected]
    link
    fedilink
    32 months ago

    The actual payment system stops payments automatically at age 115 and requires manual verification to restart. The database that is being reported is not even a report of who is getting paid.

    This is just dramatic, public evidence of the arrogance and incompetence of DOGE from down to his racist younglings.

    For a while, I thought they would at least be good at technology. This episode shows that even that is not true.

    How he chose this elite group of chuckleheads is an eyebrow raiser. Other than racism, they seem to have no credentials at all. I mean, on brand for this administration I guess.

    • @[email protected]
      link
      fedilink
      English
      02 months ago

      I dont even program and i could’ve told them it was probably a placeholder or default value lol “durrrrrr lot of people in this database were born at the exact same time on the same day in the same year that predates electronic databases, gotta be fraud!!1!1!11”

    • @[email protected]
      link
      fedilink
      02 months ago

      2016-2020 was the age of too stupid to break everything. Now we’re staring down the barrel of “The files are in the computer?” But the entire US government is the computer.

  • @[email protected]
    link
    fedilink
    12 months ago

    I keep hearing that gen Z is actually pretty shit with understanding things outside GUIs.

    And now I’m watching it actively destroy my country.

    • Natanox
      link
      fedilink
      English
      22 months ago

      Less of a generational problem, more of an educational one. Selfish, badly educated grifters that got pushed into high offices can be of any age. Musk also didn’t recognize SQL when he looked at it, which is arguably even more funny.

    • @[email protected]
      link
      fedilink
      1
      edit-2
      2 months ago

      I’m gen z, I use Vim, and I voted for Kamala. Guess all those VS Code kids voted Trump.

    • @[email protected]
      link
      fedilink
      12 months ago

      I get this feeling too, but then again can we blame them? With all the locked down tech these days you really have to get out of your way to learn. And in most cases it works well enough. Whereas people growing up between lets say the 1970-2000s had to muck around with their tech to get it to work. Thus learning the intricacies while using it.

    • JustEnoughDucks
      link
      fedilink
      12 months ago

      I don’t know how many teenage programmers you have interacted with recently, but they are generally just learning the basics, learning core concepts, experimenting, etc…

      There is a huge gap between making small, sometimes very cool and creative even, projects and understanding a giant legacy codebase in a language that is not taught anymore. I mean, even university grads often have trouble learning legacy code, much less in COBOL.

      You wouldn’t say your average teenage cook could make a gourmet meal for a house of 50 people 😅 not a dis, just they haven’t had the time to get to greybeard level yet

    • @[email protected]
      link
      fedilink
      English
      0
      edit-2
      2 months ago

      How many teens you think can actually read and understand legacy languages like FORTRAN and COBOL? Let alone a complex codebase written in them?

      I studied COBOL a bit in college and it’s not exactly hard to read short snippets if you understand other languages, but good luck wrapping your head around anything remotely complex and actually understand what it is doing without having someone who understands the language. Hell, 15-20 years on and multiple languages later, my eyes still cross trying to read and grok COBOL. The people supporting those old code bases get paid well for a reason …

      • @[email protected]
        link
        fedilink
        12 months ago

        Learning to COBOL is not itself that hard.

        Understanding decades of “business” logic is.

        It isn’t WHAT it is doing, it’s WHY it is doing it that makes these systems labyrinthian.

        Also afaik they don’t get paid that well which is part of the problem.

  • @[email protected]
    link
    fedilink
    English
    02 months ago

    Jesus fucking christ the interns who have neither seen nor heard of COBOL have also not encountered the concept of a sentinel value used as a fallback/default.

    • @[email protected]
      link
      fedilink
      1
      edit-2
      2 months ago

      What do you expect? most of the guys in “DOGE” weren’t even alive on 9/11 I’m a bit surprised that they still have something in COBOL, maintenance probably costs o fortune, good luck finding young COBOL devs

      • JackbyDev
        link
        fedilink
        English
        02 months ago

        I’m ready to learn COBOL. I will take up the torch. If you know good places to start, let me know. Last time I looked into it it seems way more involved than running stuff like Python, Java, and C.

        • @[email protected]
          link
          fedilink
          12 months ago

          I see, you want that that Lamorghini, well if you really want udemy is always a good start. Personally the difficult part for me when learning a new programing language is not resources, it’s the motivation to keep do it and I usually need a real project to work on. (10 years + dev)

          Usually you find on github “awesome-XYZ” repos (ex: awesome python, awesome c, awesome go), but for cobol, most of the projects are dead

          https://github.com/loveOSS/awesome-cobol?tab=readme-ov-file#email

  • Realitätsverlust
    link
    fedilink
    English
    02 months ago

    The question is, how do you not know the age of a recipient? I feel like that’s kinda required to know, no?

    • @[email protected]
      link
      fedilink
      English
      12 months ago

      There are many people who were born in developing nations during times of war who do not know their exact age. They usually do have an idea of a range though.

  • @[email protected]
    link
    fedilink
    -12 months ago

    1875 has never been an epoch anywhere, on any system. 1970 has. 1900 has. 0000 has. But 1875? No, it hasn’t. And no where in the cobol spec does 1875 appear.

    This is just propaganda. He already does enough wrong, you guys lying about it just makes everything else you say suspect.

  • @[email protected]
    link
    fedilink
    -72 months ago

    The system obviously needs improvement and like it or not Trump and Musk are the first to actually try to improve it.

      • @[email protected]
        link
        fedilink
        02 months ago

        You do realize that what you are suggesting (Musk trying to destroy social security) just isn’t what is happening in reality. Anyone that has been receiving SS still is, still receiving the same amount they historically have, and it has all been verified.