top 50 comments

sorted by: hot top controversial new old
[–] 153 points 2 years ago (6 children)

LMAO watch the US be saved by an inability of Muskys frat bois to understand COBOL

  • source
  • hideshow 6 child comments
  • [–] 89 points 2 years ago (2 children)

    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"

  • source
  • parent
  • hideshow 2 child comments
  • load more comments (1 reply)
  • load more comments (1 reply)
    [–] 135 points 2 years ago (15 children)

    Teenage programmers can understand legacy code. These ones didn't. Don't dis teen coders.

  • source
  • hideshow 15 child comments
  • [–] 65 points 2 years ago (3 children)

    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

  • source
  • parent
  • hideshow 3 child comments
  • load more comments (1 reply)
  • [–] 21 points 2 years ago* (3 children)

    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 ...

  • source
  • parent
  • hideshow 3 child comments
  • load more comments (1 reply)
  • load more comments (7 replies)
    [–] 126 points 2 years ago (8 children)

    In before Musk says "You think the government uses COBOL?!"

  • source
  • hideshow 8 child comments
  • [–] 19 points 2 years ago

    He would dismiss COBOL and try to prove that he is a super cool geek with a deep knowledge of DnD and gaming culture. So more like:

    "COBOL? Such a language doesn't even exist unless you think Kobolds are real! Hahaha"

  • source
  • parent
  • load more comments (5 replies)
    [–] 112 points 2 years ago (8 children)

    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.

  • source
  • hideshow 8 child comments
  • load more comments (8 replies)
    [–] 63 points 2 years ago (3 children)

    I can't wait for them to discover a bunch of people who are 9999 years old next.

  • source
  • hideshow 3 child comments
  • load more comments (1 reply)
    [–] 56 points 2 years ago (11 children)

    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.

  • source
  • hideshow 11 child comments
  • load more comments (11 replies)
    [–] 55 points 2 years ago

    More specifically, they didn't find anyone receiving social security who were 150 years old because they didn't prove that they were receiving anything as that's not the purpose of that database.

  • source
  • [–] 53 points 2 years ago

    Honestly, if you make it to 150 you deserve the money

  • source
  • [–] 42 points 2 years ago (6 children)

    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.

  • source
  • hideshow 6 child comments
  • [–] 49 points 2 years 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.

  • source
  • parent
  • load more comments (5 replies)
    [–] 23 points 2 years ago (2 children)

    learn Cobol you uneducated teenagers

  • source
  • hideshow 2 child comments
  • load more comments (2 replies)
    [–] 23 points 2 years ago

    tbf it's only embarrassing if you're capable of embarrassment.

  • source
  • [–] 19 points 2 years ago

    But but it's BREAKING! With a red light emoji!

  • source
  • [–] 17 points 2 years ago (1 child)

    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.

  • source
  • hideshow 1 child comment
  • load more comments (1 reply)
    [–] 15 points 2 years ago

    As someone who is working on a project of recreating an enterprise application in a modern tech stack, the legacy code is hard to understand too.

    We have something similar in that a ClaimClosedDate is defaulted to 01/01/1900 and if it has that date it means it’s not closed whereas now that would be a nullable field.

  • source
  • load more comments
    view more: next ›