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
  • 212 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle
  • You need to lay at least some blame on Logitech for that one.

    They’ve sold drivers to Microsoft, but since no-one writing Linux would give them any money, they wouldn’t provide drivers for their proprietary hardware.

    This then lead to early Linux adopters buying non-Logitech devices and not seeing a use-case for rolling a reverse-engineered driver into the kernel.

    Logitech still haven’t written their own Linux driver. I wouldn’t be surprised if some of the money from Microsoft is so that they don’t.



  • Do. Take a boot USB for a spin. Try a few distros.

    I’ve been on Linux (Mint) for years and never had a mouse-wheel not work or any problems with sound (hardware failure notwithstanding). The computer’s been the same all the way through, but it is a bit of a Ship of Theseus at this point. Mint has had no problem with new (and old) parts that I’ve thrown in. Or new mice, as I implied before.

    Getting old Windows games to work has been the biggest non-starter, which is pretty much where OPs friend was having trouble too.

    Minecraft (Java) runs fine with the standard launcher, but I do get FPS problems if I’ve had an Xorg update. That’s more of a “your graphics card is so old Mint doesn’t really support it any more” problem, which I know how to work around.

    I did have problems getting Linux to run on a laptop once, but then it was 1998 and Linux drivers weren’t quite so plug and play. I had no idea what refresh rates my TFT screen needed and neither did Linux, boldly warning that if I set them wrong I could burn out my screen. Since I needed a GUI, I went back to Windows 95.


  • True. There are various legitimate tools that are only really one step away from malware, so it’s not too hard to imagine going that one step further.

    Thinking specifically of the fact that a new process is allowed to change its apparent name, as well as creating secondary process pools, but there are bound to be other, deeper ways.


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


  • palordrolap@kbin.socialtoProgrammer Humor@lemmy.mlOf course
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    4 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.




  • palordrolap@kbin.socialtoLinux@lemmy.mlDisk imaging
    link
    fedilink
    arrow-up
    11
    ·
    5 months ago

    Ones I have used: GNOME Disks’ create and restore image features. Possibly Mint’s mintstick for writing a distro’s .iso out to a USB stick. I am not too sure on that.

    I assume old-school dd still works as well, which might be a better option for scripted backups or minimal systems.








  • 512KB? At the risk of going all Four Yorkshiremen, that sounds luxurious.

    Floppy disks held 170KB if you were lucky to have a drive. The PET line, like many 8-bit computers, used a cassette tape drive (yes, those things that preceded CDs for holding and playing music). Capacity depended on the length of the tape. And it took ages to load.

    The PET was fancy because it had a built-in cassette drive. That’s what you can see to the left of the keyboard in the picture.


  • Wow. I totally forgot that Commodore BASIC ignores spaces in variable names. I do remember that it ignores anything after the first two letters though. That said, there’s a bit more going on here than meets the eye.

    PRINT HELLO WORLD is actually parsed as PRINT HELLOW OR LD, that is: grab the values of the variables HELLOW (which is actually just HE) and LD, bitwise OR them together and then print.

    Since it’s very likely both HE and LD were undefined, they were quietly created then initialised to 0 before their bitwise-OR was calculated for the 0 that appeared.

    Back in the day, people generally didn’t put many spaces in their Commodore BASIC programs because those spaces each took up a byte of valuable memory. That PET2001, if unexpanded, only has 8KB in it.

    </old man rant>


  • The gsettings command can change things on the fly in the dconf, assuming that’s where the setting actually resides. It’s a pain to do, but that means it’s possible to write a script that makes the necessary change(s) and that can then be assigned to a keyboard combo.

    For example, I have one that toggles a Cinnamon panel between the top and the bottom of its screen (I won’t get into why) and currently have it bound to Ctrl-Alt-Space.

    It’s currently a hack that uses a couple of hardcoded values that I pulled from the dconf by observing what it was set to with the panel in each location. If it finds the first value it changes it to the second, and vice versa.

    (In the unlikely event I come to change the layout to something it doesn’t recognise, it bails out, doing nothing.)

    Anyway, you could probably do something similar to toggle the dark/light mode.