Canadian software engineer living in Europe.

  • 5 Posts
  • 218 Comments
Joined 3 years ago
cake
Cake day: June 7th, 2023

help-circle


  • Don’t think too hard on it. Just use git. For example, I have a repo called handy-scripts that hosts all my dotfiles. I just check that out into ${HOME}/projects/handy-scipts and then symlink everything from where it’s expected to its corresponding place in the repo.

    As you make modifications, remember to occasionally do a git pull --rebase && git commit -m WIP && git push so that all your devices are synced up.



  • Basically the IP stops responding to any traffic. At one point I set up a constant ping, and every once in a while I got something like “destination host unreachable”. It doesn’t happen often enough for me to move the service onto a physical device though. That’s work and I’m tired like, a lot.


  • Daniel Quinn@lemmy.catoLinux@lemmy.ml15 Signs Linux Is Not For You
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    12 days ago

    16: I’ve had more headaches getting multiple monitors to work in Windows than I ever have in Linux. Try connecting 2 monitors of wildly different resolutions in Windows and witness the abject failure of windows to handle that elegantly. Your mouse can slip off into a “void” where no monitor exists, and yet your content can just disappear to, dragging the mouse between monitors slips the cursor way off and to the right, screenshots are a mess, etc. etc.

    17: I only play games in Linux and I never use emulators… unless it’s for things like SNES.

    18: I don’t know what you’re getting at with this one. Software is way more shareable in Linux. You just say “it’s in your package manager” or “install this Flatpak”. Windows and Mac on the other hand have half-assed app stores and a culture of "just go to ${URL} and click “download, ok, ok, ok” which inevitably leads to stuff breaking and no discernible way to determine what failed 'cause your machine is full of rando installations.

    19: This is fair, though most high-profile stuff like CrowdStrike works for Linux now.

    20: I cannot begin to tell you how much Windows and Mac don’t work. Like, at all. Just today I spent an hour on a call with another developer stuck in Windows trying to get a JDBC driver to work. The constant ambiguous error messages, useless documentation directing you to "just go to ${RANDOM_SITE} and install some-cryptically-named-executable.msi that craps out with error messages about missing runtimes… the whole operating system is hot garbage and that’s before you factor in the missing keyboard shortcuts, flaky monitor support, creeping AI, and ads shooting into your eyeballs. The only way Windows “Just Works™” is if you redefine “works” entirely.



  • I installed a Pi-Hole largely to serve as a local DNS, but enabled the ad-blocking 'cause it seemed silly not to. My wife got very upset. Apparently she likes the ads.

    With that aside though, it seems to work quite well. Just make sure to (a) use a reasonably-powered device (my Pi Zero appears to be taxed by it) and you should probably use an Ethernet connection 'cause my Pi Zero regularly flakes out so DNS requests fail due to the IP being “unreachable” for a half second.




  • This is nowhere near the average Debian update experience. Debian is favoured precisely for its stability and simplicity, so if youre getting stuff like this, it’s far from average.

    Those errors look like file corruption. Maybe they were partially downloaded or written to a flakey disk, it’s hard to say. I’d also echo the other comment or that Kali (and honestly Debian) are not well suited for gaming due to the distro preference for Freely-licenced software and favouring stability vs quick releases.

    It’s fine if you want to experiment and “swim against the current” to do a thing with a tool for which it’s not designed, but turn around and complain as if this is normal behaviour is either dishonest or outs you as someone who doesn’t have the experience required to make such a statement.






  • The bit of information you’re missing is that du aggregates the size of all subfolders, so when you say du /, you’re saying: “how much stuff is in / and everything under it?”

    If you’re sticking with du, then you’ll need to traverse your folders, working downward until you find the culprit folder:

    $ du /*
    (Note which folder looks the biggest)
    $ du /home/*
    (If /home looks the biggest)
    

    … and so on.

    The trouble with this method however is that * won’t include folders with a . in front, which is often the culprit: .cache, .local/share, etc. For that, you can do:

    $ du /home/.*
    

    Which should do the job I think.

    If you’ve got a GUI though, things get a lot easier 'cause you have access to GNOME Disk Usage Analyzer which will draw you a fancy tree graph of your filesystem state all the way down to the smallest folder. It’s pretty handy.



  • Daniel Quinn@lemmy.catoLinux@lemmy.mlWhy?
    link
    fedilink
    English
    arrow-up
    2
    ·
    3 months ago

    I was a Windows user as a kid in the 80s & 90s doing pirate installs of 3.11 and later 95 for friends and family. I got into “computers” early and was pretty dedicated to the “Windows is the best!” camp from a young age. I had a friend who was a dedicated Mac user though, and she was bringing me around. The idea of a more-stable, virus-free desktop experience was pretty compelling.

    That all changed when I went to school and had access to a proper “Mac lab” though. Those motherfuckers crashed multiple times an hour, and took the whole OS with them when they did it. What really got to me though was the little “DAAAAAAAAAAA!” noise it would make when you had to hard reboot it. It was as if it was celebrating its inadequacy and expected you to participate… every time it fucked you over and erased your work.

    So yeah, Macs were out.

    I hadn’t even heard of Linux in 2000 when I first discovered the GPL, which (for some reason) I conflated with GNOME. I guess I thought that GNOME was a new OS based on what I could only describe as communist licensing. I loved the idea, but was intimidated by the “ix” in the name. “Ix” meant “Unix” to me, and Unix was using Pine to check email, so not a real computer as far as I was concerned.

    It wasn’t until 2000 that I joined a video game company called “Moshpit Entertainment” that I tried it. You see, the CEO, CTO, and majority of tech people at Moshpit were huge Linux nerds and they indoctrinated me into their cult. I started with SuSe (their favourite), then RedHat, then used Gentoo for 10 years before switching to Arch for another 10+.

    TL;DR: Anticapitalism and FOSS cultists lead me into the light.