• 4 Posts
  • 39 Comments
Joined 1 year ago
cake
Cake day: March 4th, 2024

help-circle
  • There’s always the old piece of wisdom from the Unix jungle: “If you write a complex shellscript, sooner or later you’ll wish you wrote it in a real programming language.”

    I wrote a huge PowerShell script over the past few years. I was like “Ooh, guess this is a resume item if anyone asks me if I know PowerShell.” …around the beginning of the year I rewrote the bloody thing in Python and I have zero regrets. It’s no longer a Big Mush of Stuff That Does a Thing. It’s got object orientation now. Design patterns. Things in independent units. Shit like that.


  • Yup, the bottom line is, there was this dude who, upon buying a website, fucked it up.

    Upon attaining unprecedented government position, he got access to government systems, and fucked them up.

    Did anyone vote for this? No, no one voted for this. Were there supposed to be checks and balances to stop this from happening? Well, theoretically, maybe, but, urgh, the Founding Fathers didn’t expect anyone to unleash the Ultimate Idiot on crucial data infrastructure.


  • When Elon bought Twitter, I realised right away I’d need to close my account.

    What made me hurry up exporting my data and closing the account were the reports of Elon Musk personally fucking with the systems, and the subsequent glitches and outages. Had to get it done while the site was still moderately functional.

    And they just let this guy get his hands on actually important national computer infrastructure? Fucking hell.





  • Well, some browsers have made User-Agent strings useless. Technically, it’s like this:

    Firefox: “Mozilla based browser, Gecko engine, Firefox.”

    Chromium: “We’re totally a Mozilla based browser we swear. Also KHTML, which is like Gecko basically. I guess also a bit like WebKit. Has anyone ever heard of those? No? OK. Fine, here’s some actual information then…”





  • umbraroze@lemmy.worldtoProgrammer Humor@programming.devLanguages
    link
    fedilink
    arrow-up
    16
    arrow-down
    1
    ·
    6 months ago

    Yeah, I was about to say.

    Perl 5 is like Esperanto: borrowed neat features from many languages, somehow kinda vaguely making a bit of sense. Enjoyed some popularity back in the day but is kind of niche nowadays.

    PHP is like Volapük: same deal, but without the linguistic competence and failing miserably at being consistent.

    Raku (Perl 6) is like Esperanto reformation efforts: Noble and interesting scholarly pursuits, with dozens of fans around the multiverse.










  • Like I said this was in the Vista era. Or possibly before the Vista release, part of the Longhorn hype train (Longhorn got some super hyped features, such as an epic next-generation filesystem to replace NTFS, which Microsoft ultimately canned, and Vista ended up, you know, being Vista).

    This was so long ago that I unfortunately don’t remember what exact feature this was about, but it was about some new Windows component.


  • I can’t remember it, but I read one Microsoft blog post (in Vista era?) about how one team at Microsoft would develop some amazing new Windows component. They’d proudly name it AmazingNewService.dll. And then the operating system team would come in and say “that’s all fine and good, but you have to conform to the naming convention.” 8+3 filenames. First two letters probably “MS”, because of reasons. …and 15 years later, people still regularly go “What the fuck is MSAMNSVC.DLL?”