• 0 Posts
  • 24 Comments
Joined 11 months ago
cake
Cake day: November 19th, 2023

help-circle
  • Systemd is trying to stop a service. To do an action to a service (or any unit), it runs a job. The job to stop a service is called a stop job. Once the stop job is taken off the job queue, the stop job is running.

    The method of stopping a service is configurable, but the default is to send a kill signal to the MainPID, then wait for the process to exit. If it doesn’t, after a timeout, the kill is reattempted with a harsher signal.


  • I ran out of crtcs, but I wanted another monitor. I widened a virtual display, and drew the left portion of it on one monitor, like regular. Then I had a crown job that would copy chunks of it into the frame buffer of a USB to DVI-d adapter. It could do 5 fps redrawing the whole screen, but I chose things to put there where it wouldn’t matter too much. The only painful thing was arranging the windows on that monitor, with the mouse updating very infrequently, and routinely being drawn 2 or more places in the frame buffer.


  • Modern operating systems have made it take very little knowledge to connect to WiFi and browse the internet. If you want to use your computer for more than that, it can still take a longer learning process. I download 3D models for printing, and wanted an image for each model so I could find things more easily. In Linux, I can make such images with only about a hundred characters in the terminal. In Windows, I would either need to learn powershell, or make an image from each file by hand.

    The way I understand “learning Linux” these days is reimagining what a computer can do for you to include the rich powers of open source software, so that when you have a problem that computers are very good at, you recognize that there’s an obvious solution on Linux that Windows doesn’t have.




  • I’d describe it as sort of 3 layers. The first is practical/everyday things, which are mostly much nicer than being alone, but require attentiveness and communication (learn what your SO doesn’t like doing, and do it. Learn what things are work together projects, and what things are stay out of my way type things for each of you, probably other aspects too) - but once you know how to take care of each other, almost everything is less work, takes less time, and costs less money. Cooking, laundry, cleaning, gardening, repairing things, painting the house are all improved. Decorating and having guests over are harder, at least for me. You have to not fall into the trap of taking the things they do for granted, even when those things are routine.

    The second layer I’d describe is lust/romance, which is sort of easier, except that you must avoid letting things coast too long. You have to dedicate time and effort to discovering new things about each other, and new things you enjoy together. You should still be dating, no matter how long it’s been, and ideally you should both be planning things most of the time. In my relationship, this is usually 1-2 things per month, each.

    The final layer is the emotional/support layer. Almost any time, my wife can seek comfort and support from me in a variety of ways for all kinds of things, and I get the same from her. All the big problems in life are easier when you can share them, so here the benefits are huge. This is the only thing I got basically none of from having roommates or a best friend, or dating. For my situation, there’s basically no downside to this.





  • I managed a CentOS system where someone accidentally deleted everything from /usr, so no lib64, and no bin. I didn’t have a way to get proper files at the time, so I hooked the drive up to my Arch system, made sure glibc matched, and copied yum and other tools from Arch.

    Booted the system, reinstalled a whole lot of yum packages, and… the thing still worked.

    That’s almost equivalent to a reinstall, though. As a broke college student, I had a laptop with a loose drive, that would fall out very easily. I set it up to load a few crucial things into a ramdisk at boot, so that I could browse the web and take notes even if the drive was disconnected, and it would still load images and things. I could pull the cover off and push the drive back in place to save files, but doing that every time I had class got really tiring, so I wanted it to run a little like a live system.