• 0 Posts
  • 108 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle

  • waigl@lemmy.worldtolinuxmemes@lemmy.worldThe good old days
    link
    fedilink
    arrow-up
    221
    ·
    edit-2
    1 month ago

    This is x86 assembler. (Actually, looking at the register names, it’s probably x86_64. On old school x86, they were named something like al, ah (8 bit), ax (16 bit), or eax (32 bit).) Back in the old days, when you pressed a key on the keyboard, the keyboard controller would generate a hardware interrupt, which, unless masked, would immediately make the CPU jump to a registered interrupt handler, interrupting whatever else it was doing at the point. That interrupt handler would then usually save all registers on the stack, communicate with the keyboard controller to figure out what exactly happened, react to that, restore the old registers again and then jump back to where the CPU was before.

    In modern times, USB keyboards are periodically actively polled instead.









  • waigl@lemmy.worldtoMicroblog Memes@lemmy.worldCulture shock
    link
    fedilink
    English
    arrow-up
    54
    ·
    5 months ago

    Remember the whole “Ivermectin, the dewormer, helps against Covid” thing in the US? Researchers did look at those claims and came to the completely unsurprising conclusion that, unless you have gut parasites, Ivermectin does not help with anything, including Covid. However, if you do have parasites, the Ivermectin can remove a comorbidity, which is obviously going to help with just about anything, including Covid. (Unless you have the wrong kind of parasite, and the sudden presence of rotting worm corpses throughout your body leads to septic shock…)

    My takeaway from that is, modern day Americans probably have a lot more gut parasites than we used to think before Covid.








  • IMHO, it was a mistake to make USB block storage use the same line of names also used for local hard disks. Sure, the block device drivers for USB mass storage internally hook into the SCSI subsystem to provide block level access, and that’s why the drives are called sd[something], but why should I as an end user have to care about that? A USB drive is very much not the same thing for me as a SCSI harddisk. A NVMe drive on the other hand, kinda sorta is, at least from a practical purpose point of view, yet NVMe drives get a completely different naming scheme.

    That aside, suggest you use lsblk before dd.


  • The last Windows I installed was Windows 10. I was trying to install onto a SATA SSD, while keeping my pre-existing Linux installation on the M.2 SSD intact. This took me an unreasonably long time and lots of failed attempts, and in the end, the only way I could find to make it work was to first physically remove the M.2, then install Windows, then add the M.2 back again. Which sucked a lot, because M.2s are really not optimized for easy or frequent installation and deinstallation.