• 0 Posts
  • 69 Comments
Joined 3 years ago
cake
Cake day: June 15th, 2023

help-circle
  • You’ll think I’m crazy, and you’re not wrong, but: sneakernet.

    Every time I run the numbers on cloud providers, I’m stuck with one conclusion: shit’s expensive. Way more expensive than the cost of a few hard drives when calculated over the life expectancy of those drives.

    So I use hard drives. I periodically copy everything to external, encrypted drives. Then I put those drives in a safe place off-site.

    On top of that, I run much leaner and more frequent backups of more dynamic and important data. I offload those smaller backups to cloud services. Over the years I’ve picked up a number of lifetime cloud storage subscriptions from not-too-shady companies, mostly from Black Friday sales. I’ve already gotten my money’s worth out of most of them and it doesn’t look like they’re going to fold anytime soon. There are a lot of shady companies out there so you should be skeptical when you see “lifetime” sales, but every now and then a legit deal pops up.

    I will also confess that a lot of my data is not truly backed up at all. If it’s something I could realistically recreate or redownload, I don’t bother spending much of my own time and money backing it up unless it’s, like, really really important to me. Yes, it will be a pain in the ass when shit eventually hits the fan. It’s a calculated risk.

    I am watching this thread with great interest, hoping to be swayed into something more modern and robust.


  • I love Debian. I’ve bounced around distros a lot, for various reasons, but I’ll always have a soft spot for Debian.

    The problem with reputations — both in terms of Linux distros and just in general — is that they tend to reflect conventional wisdom from 10-20 years ago. Sometimes that conventional wisdom was off-base from the start, and sometimes it’s just outdated.

    Like, “Debian is hard” and “Ubuntu is great for beginners”. That was true enough 20 years ago. But today, not really.

    My last distro-hop was to Bazzite because Debian didn’t have the latest GPU drivers that I needed (Debian 13 “Trixie” does now, btw). It was just bad timing that I upgraded to a brand-new GPU toward the end of Debian 12’s life cycle. If I’d waited another 6 months (or if I didn’t need good OpenCL/ROCm/Vulkan performance) I probably would’ve stuck with Debian.

    I’m fine on Bazzite, but I feel like if I ever hop again, it’ll be back to Debian. Now that I am comfortable with DistroBox, I won’t worry so much about older application packages in Debian repos; if push comes to shove I’ll just run it in a Fedora box or something like that. Drivers are the only thing to worry about, and I’m not likely to upgrade my GPU again for 5+ years so I should be fine.


  • (and has E2EE)

    Normally my policy is “E2EE or GTFO”, but the concept only applies to a subset of Discord use cases. A good Discord alternative needs to handle the same variety of use cases as Discord.

    E2EE for a public forum makes no sense. Lemmy doesn’t have E2EE either, obviously. That’s an absurd idea.

    Discord is mostly used for public or semi-public spaces. I’m in Discord servers for some of my favorite games and game studios, for example. The only barrier to entry is clicking a link, which is usually publicly advertised. I’m also in some semi-public Discords that are locked behind a membership of some sort (like Patreon), but those are still full of an arbitrary number of people I do not know. It’s not a private space. E2EE would be counterproductive.

    That said, I have a few friends who habitually DM me on Discord, and I’m like “dude, I know you have Signal. Use it FFS”. One thing I like about Lemmy is that when you go to send a DM, it literally warns you against using it for DMs:

    Warning: Private messages in Lemmy are not secure. Please create an account on Element.io for secure messaging.


  • The problem is that there are very few people who are familiar enough with both Discord and Matrix to give a meaningful answer.

    Personally, I use both, but for completely different use cases. I do not understand how one could be used as a substitute for the other. Perhaps I’m missing something, or perhaps everyone who thinks Matrix is a good substitute for Discord just don’t use Discord very much.

    If you have a small group of friends who occasionally hang out in chat, sure, Matrix is fine. If you’re in dozens of Discord servers, each with dozens (or even hundreds) of channels, and hundreds or thousands of users, no. At least, not with Element. Perhaps there’s a better client out there for that?




  • A poly group (also known as a polycule) is a network of polyamorous people’s relationships. Polyamory, in case you’re unaware, is the practice of having multiple romantic or sexual partners at the same time, in contrast to monogamy.

    If you were polyamorous and wanted to graph out your relationships, you could do it a few different ways. For example:

    • Just you and your partners. If any of your partners are also in relationships with each other, you’d draw lines between them as well.

    • Extend an extra level and include all of your partners’ partners (known as metamours), again connecting any pair on the graph who are partners.

    • Extend that further and include all of your partners’ partners’ partners (no specific term for this as far as I know). This would likely include people you don’t personally know, and it would be difficult to build a complete graph of all their relationships.

    Etc.


  • There is certainly a very big amount of fuckery going on right now with nvidia drivers.

    “Right now” meaning every year for the past decade or two.

    It’s always something with Nvidia drivers. Performance+stability is more the exception than the rule.

    That said, AMD drivers have a bad rep too. Personally I’ve had zero issues since I switched to AMD but experiences seen to vary a lot from what I’ve read.

    Before that, I don’t think I ever got through a full year without at least one weekend lost to troubleshooting Nvidia bullshit. CUDA is a pain in the ass even on Windows.



  • I’m a software developer first and a gamer second. Being a “gaming” distro does not detract from anything else, really. It just means that getting proper GPU acceleration is easy, and you’re likely to want that for development too. That was actually why I chose Bazzite. I was tired of wrestling with CUDA and ROCm.

    It’s not “gaming” vs “developing”. That’s a false dichotomy.

    The real choice is immutable vs traditional. And I’ll admit, immutable distros have a big learning curve. But it forces you to learn techniques that will make your life easier no matter where you go. The time I spent wrestling with dependencies on Debian or Ubuntu or OpenSuse just because I didn’t know about Distrobox…

    Unless your needs are very narrow and unchanging, you’re likely to run into something that’s a giant pain in the ass no matter which distro you choose. I used to use Ubuntu LTSR so I could install a few big things in easy mode, but it made everything else harder because it was so outdated. Switched to OpenSuse Tumbleweed and everything was modern but those few vendors don’t support it so I had to wrestle with dependencies.

    The answer to this problem is Distrobox. It’s the answer on Ubuntu, it’s the answer on OpenSuse, and it’s the answer on Bazzite. I’m never going back to dependency hell because I can just run everything the environment it is specifically designed for.

    If you’re wondering “should I use distro X, Y, or Z”, the answer is simply “yes”. :D


  • On bazzite, your search order for apps/packages should be something like:

    1. Flathub
    2. ujust. This is more for general configs than specific apps, but take a look at what it offers.
    3. Homebrew
    4. Distrobox
    5. Podman/Docker images
    6. rpm-ostree

    rpm-ostree is a last resort because it compromises the “atomic” principle of the system, but in a pinch it will give you access to anything you could get with dnf on a regular Fedora install.

    Don’t sleep on Distrobox. I have a Debian box so I can run Signal from its official repo and install Geany with both GUI and CLI support. Once you export applications from distrobox they behave like first-class citizens within your desktop.

    I strongly recommend trying Distrobox. If you instead hop distros, you’re going to find yourself in a similar situation eventually, where something is unreasonably difficult. That’s why Distrobox exists; so you can get the best of all worlds.




  • Thanks for posting the solution!

    If you happen to be using a BTRFS or XFS file system, you might want to try duperemove. It will help you reclaim usable disk space without deleting any files, by using those filesystems’ built-in support for data deduplication and copy-on-write. In other words, it will make duplicate files point to the same data on disk, but still work as individual files. Files will appear and function exactly the same, and editing one copy will not change another (unlike with hard links, for example). That way it won’t interfere with cases like Flatpak or Python virtual environments where you really need multiple copies of the same files.


  • Generally speaking, xz provides higher compression.

    None of these are well optimized for images. Depending on your image format, you might be better off leaving those files alone or converting them to a more modern format like JPEG-XL. Supposedly JPEG-XL can further compress JPEG files with no additional loss of quality, and it also has an efficient lossless mode.

    Do any of them have the ability to recover from a bit flip or at the very least detect with certainty whether the data is corrupted or not when extracting?

    As far as I know, no common compression algorithms feature built-in error correction, nor does tar. This is something you can do with external tools, instead.

    For validation, you can save a hash of the compressed output. md5 is a bad hashing algorithm but it’s still generally fine (and widely used) for this purpose. SHA256 is much more robust if you are worried about dedicated malicious forgery, and not just random corruption.

    Usually, you’d just put hash files alongside your archive files with appropriate names, so you can manually check them later. Note that this will not provide you with information about which parts of the archive are corrupt, only that it is corrupt.

    For error correction, consider par2. Same idea: you give it a file, and it creates a secondary file that can be used alongside the original for error correction later.

    I also want the files to be extractable with just the Linux/Unix standard binutils

    That is a key advantage of this method. Adding a hash file or par file does not change the basic archive, so you don’t need any special tools to work with it.

    You should also consider your file system and media. Some file systems offer built-in error correction. And some media types are less susceptible to corruption than others, either due to physical durability or to baked-in error correction.




  • I’m on Bazzite now. It certainly made my life easier as far as GPU drivers go.

    However, be aware that it comes with its own learning curve. It’s an “immutable” distro, and it has like half a dozen different ways to install software. You can’t use dnf like you would on regular Fedora. The idea is to get apps from Flatpak, or use Distrobox, or use Homebrew — all things that run on top of the base OS so you can use a monolithic “immutable” OS image. There are pros and cons to this approach.

    Once I familiarized myself with Distrobox (BoxBuddy makes this a lot easier) and using Flatseal to grant Flatpak apps direct access to the folders they need to operate (like my music library on an external drive, in the case of my music player), it’s been pretty smooth sailing. But I do miss just being able to run sudo apt install <whatever>.