• 1 Post
  • 97 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
    2 months 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.worldtomemes@lemmy.worldI mean...
    link
    fedilink
    arrow-up
    121
    arrow-down
    3
    ·
    2 months ago

    Non-murder solution:

    Place and hold the apples precisely on top of one another. (Make sure your fingers are not in the way.) From one side of the apple tower, go horizontally exactly two thirds of the way to the other side. At that position, cut vertically through both apples from top to bottom. You now have two pieces that are two thirds of an apple each, and two pieces that are one third each. The kid you like best will receive the end slices without the apple core in it.

    More realistically, disregard the stupid premise and make as many cuts as you need.



  • waigl@lemmy.worldtopics@lemmy.worldNo one learnt
    link
    fedilink
    arrow-up
    54
    arrow-down
    1
    ·
    2 months ago

    Germany’s Angela Merkel called the U.S. president’s words “sobering and a little depressing"

    Meanwhile, the Italians thought he was too chaotic and disorganized, the Greek didn’t like his lack of work ethic, the French objected to his constant philandering and the British were put off by his taste in food.







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






  • I’ve gotten used to this. The posts where I write several paragraphs and go kinda in-depth on a topic, and even do some research in the background on to make sure I don’t talk complete nonsese routinely get no upvotes at all. The ones that rise to the top are snippy one-liner remarks that get a cheap laugh out of people, but honestly don’t add anything of substance to the discussion.



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