• 5 Posts
  • 86 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.worldtopics@lemmy.worldNo one learnt
    link
    fedilink
    arrow-up
    53
    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.




  • They’ve recently been arresting white-skinned people from traditional white and western countries as well, such as Germany. What’s more, we’re not even talking about just sending them back anymore. That, I could even kinda live with, even if it is both unethical and stupid (the US needs those people’s cheap labor). We’re talking about locking them up without trial or any process whatsoever in illegal torture prisons.


  • You’ve hit the nail on the head. As weird and hard to believe as it seems right now, it’s not Trump himself who will be our biggest problem in the mid to long term. It’s who ever comes after him who he and his followers are paving the way for now.

    Trump so far has been of a somewhat limited dangerousness for freedom and democracy so far, not because his views and convictions are not dangerous enough, but because he’s simply too incompetent to be properly dangerous. There is a good likelihood that whoever comes after him will be a lot more competent.







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