Some middle-aged guy on the Internet; Seen a lot of it and occasionally regurgitate it, trying to be amusing and informative.

Lurked Digg until v4.

Commented on Reddit (same username) until it went full Musk.

Now I’m here.

Other Adjectives: Neurodivergent; Nerd; Broken; British; Ally; Leftish

Applying for mod in places where an occasional mod would better than none at all.

  • 0 Posts
  • 169 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle



  • Gonna guess people who missed the memo about Mint until well after they installed Ubuntu. They haven’t had the time or energy to switch distros yet, but did manage the time and/or energy to install Cinnamon.

    Maybe a couple of others who have unknown reasons for avoiding Mint. No idea what those reasons are, but there’s always someone with a different take.



  • Obligatory note that /etc/profile and ~/.profile are only run by login shells, and many terminal emulators do not execute a login shell by default.

    Unfortunately, there is no standard secondary place* that all shells execute, so check your chosen shell’s manual for what it does run on startup and put your functions into one of those. Preferably one that goes in your homedir.

    Alternatively have that file source ~/.profile assuming that won’t cause an infinite loop.

    * And not even a primary if you count *csh, but if you use those you have other problems.


  • palordrolap@kbin.socialtoProgrammer Humor@lemmy.mlCheckmate
    link
    fedilink
    arrow-up
    35
    arrow-down
    3
    ·
    5 months ago

    Is it still the norm to go to the dev’s office, yank their power cord and when they ask what we’re doing, tell them we’re shipping their machine to the client because it’s the only one that the code runs on?

    And can we do that with whatever server ChatGPT-4o is running on?

    I’m assuming that this response from 4o isn’t real and was invented for the laugh, but it would be tempting to throw this scenario at it if it decided to give this response.


  • My guess is a “solution” to the age-old problem of needing to store a secret in a file that the user can download, thus making the entire system insecure.

    This “solution” appears to be either that the string itself is so outrageous that the user would not believe that it’s the real secret when it is in fact the real secret, leveraging security through obscurity, or else it’s there in place of the real secret that cannot be revealed under pain of death firing, and therefore is accidentally being used instead of that intended secret… so it’s not secret after all.

    Unless they’re doing something incredibly clever to substitute that secret string for the real thing when the time is right and doing it in such a way that the user can’t intercept, someone’s getting fired.


  • Dinosaur here.

    Windows Paint, as it was back in 9x? Totally my jam. Between that and Irfanview for access to resizing and filter features Paint didn’t have, I could get a surprising amount done.

    But then they updated Paint to have more advanced abilities and I had no idea how to do things any more.

    I’ve tried Krita recently, but I felt lost. I think I need to attend a course or watch some videos on layers and the brushes and everything like that. It isn’t intuitive at all. None of the advanced graphics programs are.

    Old Paint? You didn’t need a how-to or a course. It was one layer. No overwhelming number of tools and options. You wanted another layer? You opened another Paint window.

    You wanted anti-aliasing? You drew things two or four times the size then used something like Irfanview to shrink it down when you were done.

    Damn kids get off my etc.


  • palordrolap@kbin.socialtoProgrammer Humor@lemmy.mlOf course
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    6 months ago

    Someone told me every processor used 0xEA

    Not sure if this is a riff on the joke or not.

    Back in the day I dabbled in 6510 code, and up until today hadn’t even bothered to look at a chart of opcodes for any of its contemporaries. Today I learned that Z80 uses $00 for NOP.

    Loth as I am to admit it, that actually makes sense. Maybe more sense than 65xx which acts more like a divide-by-zero has happened.

    The rest of the opcode table was full of alien looking mnemonics though, and no undocumented single byte opcodes? Freaky, man.

    But the point is that not even Z80 used $EA. If the someone was real they probably meant every 65xx processor.



  • find’s expressions are order-sensitive and look like options, which is probably why the real options go zeroth, then the starting path goes first. Also, there is a -path-match expression that means something different than that starting path.

    That said, there’s nothing stopping the writing of a wrapper script that allows any placement or intermingling of any of those groupings.

    The simplest would just grab the last argument and use it in the first position, which I’m guessing is what the meme creator really wants. Watch out for the edge case of whitespace in the path name. (And the edge case of the edge case where the end part of that path is valid but not the intended target.)



  • If they have any sense they’ll not try to find out what’s on it and send it straight to whatever electronics recycling is available.

    Sticking a USB device of unknown provenance into your computer is just asking for trouble. (When you think about it, we even take a risk every time we buy one.)

    Sure, you know it’s harmless, but they don’t know that, even if you tell them. Who are you? You’re just someone who used to live in their house. As far as they know, you might be a freak who gets a kick out of leaving dodgy devices around for people to find.




  • Ha. No, I don’t think it was Linus, but it might have been someone else European. Really hard to be sure at this point. SATA has been around for a while.

    And I’ve unearthed a memory of the other, other pronunciation that I know I’ve heard: “serial ay-tee-ay”. Why make it an acronym when you can say one of the words and then the initials of the others!