Just a geek, finding my way in the fediverse.

  • 1 Post
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 11th, 2023

help-circle
  • Internal RAID1 as first line of defense. Rsync to external drives where at least one is always offsite as second. Rclone to cloud storage for my most important data as the third.

    Backups 2 and 3 are manual but I have reminders set and do it about once a month. I didn’t accrue much new data that I can’t easily replace so that’s fine for me.


  • I feel your pain.

    Years ago I threw a party for work friends and acquaintances where I had 30 confirmed and 10 tentative (from calendar invite). I bought a variety of drinks (alcoholic and non) and bought/cooked food for about 50 to ensure there was plenty.

    … 4 people showed up.

    That was the instant that I stopped giving a fuck. Ever since then I’ve adopted the approach of “I’m going to do something, you can come if you want, but I’m not planning for you”. Or, more commonly, I just don’t organize anything :)

    EDIT: I should note that this was a recurring yearly party that got bigger and bigger over 5 years until it just died. Pre COVID.






  • clif@lemmy.worldtoLinux@lemmy.mllooking for half-stable Linux distro
    link
    fedilink
    arrow-up
    5
    arrow-down
    2
    ·
    edit-2
    9 months ago

    I’ve been on mint for ages but when I updated my RAID this year it originally wouldn’t recognize it. I eventually got it recognized but it capped the 16TB drives at 999GB for some reason. For fun, I went up the chain to Ubuntu… Same thing

    In frustration I went to Grandma’s house with Debian and it worked perfect out of the box. I’d spent hours researching it but the best I found was a potential RAID related bug (lvm, specifically, I think) introduced in Ubuntu that, of course, filtered into Mint. Even fdisk reported the physical drives as 999GB in Mint/Ubuntu.

    I still don’t know the exact cause but I got it up and running so I’m a Debian guy now, I guess.

    Granted, my use case isn’t super normal since I’m using a BIOS RAID1 (and we all know how fun BIOS RAID can be) with full disk encryption.

    Worked out in the end but it made me sad to ditch Mint





  • Occasionally it’s caused some problems with the tracking crapware that the spouse’s company uses in their web platform. Since they work from home and it breaks the main site they use for work, I’ve had to add some exceptions.

    I’ve also seen it occasionally cause problems on websites that rely on tracking garbage and outright fail when they’re blocked. Usually I just never go there again but in a few cases it’s been something I was forced to use so I just disable the pihole for five minutes, do what I need, and hope to never visit that site again.

    I think there have been maybe eight of these occurrences in the past five years so it’s not a continual annoyance. No big deal and definitely worth it.




  • Excellent suggestions.

    I’ve got one example for the shell scripting section - a script I wrote decades ago called serial_killer.sh that’s used to terminate “bad” processes that spin up tens to hundreds of copies of themselves. You do something like serial_killer.sh my-bad-program and it will use a few CLI commands to find the PIDs for all processes named “my-bad-program”, ask you to input the signal (sigterm/sigkill) to use, ask you for confirmation that you want to send that signal to the list of processes (listing all of them with program name, owner, PID, PPID, etc), then kill all of them in one go if you confirm.

    That was a hacky fix to a bad approach/configuration, but it was a fun script : )


  • That is an excellent idea on time management.

    Yes - I’m planning to walk them through a real install to a VM and have them follow along so they have a local instance that they can play with on their (win or mac) system. It requires me to spend a little extra time for setting up VirtualBox, but I think it’s worth it since they can then play along and experiment as we discuss each topic. I know that’s how I learn best - you can tell me something multiple times but it’s only when I truly do it that it’ll stick in my memory forever.

    Covering the intro, history, etc would be perfect topics to go over while the install runs.

    EDIT : I should point out that I’m going to distribute thumb drives to the students that will contain VirtualBox (win+mac) installers, a Linux ISO that we’ll use (probably Ubuntu), as well as that thumb drive being a live Linux bootable drive in case they ever want to plug & boot without using a VM. This will hopefully cut down on wasted class time for “now everybody go download this 4GB ISO” - they’ll already have it available and all in the same drive/directory/etc for every student. From past teaching experience, there’s always at least one that doesn’t come prepared with downloads and such no matter how much I harp on it… that and the ever present “I saved it somewhere and now I can’t find it” 😆


  • Now I’m learning something. I’ve defaulted to using ifconfig for so many years I didn’t even realize that ip and ss were around. I’ll look into them, thanks for the pointers.

    And yeah, good idea on file editing. Maybe I should move nano up to the essential category for basic editing and keep vim in the “extras” since it takes a little more training to use effectively, while providing a lot more functionality if you know how to take advantage of it : D