Skip Navigation
What was the worst book you’ve ever read?
  • That looks really well done. And a lot of stuff would be condensed by having viduals.

    Doesn’t look like my preferred style… Maybe that’s why I couldn’t get into the book either 😅

  • What was the worst book you’ve ever read?
  • War and Peace. Heard so many good things about it. Despite everything, went in not having super high expectations.

    The whole book turned out like a reality tv show. All the characters had some petty drama that they blew out of proportion. Hundreds of pages where nothing really happens, people just complain or bad mouth other characters.

    I had to stop half way through.

  • Why is there no sense of "camaderie" in the workplace?
  • Isn’t that the whole point of hiring people that fit the company culture? I’ve worked at both types of places in different stages of my life. Both can feel good or bad depending on where you’re at. Don’t try to change the job to fit your needs. Find a different one.

  • Nix/Silverblue users: How big is the advantage if you already have 100% automated your deployments via Ansible?
  • Your summary of the language is spot on. I still hope that more distros take inspiration from the declarative config and try to move in the direction, or nix supports a better language in the future. I think that ultimately that's what the average linux user would want. The ability to still customize in a safe manner. Silverblue, and others, are and will remain a great option for the new or indifferent user.

    On your point about the transient phase, nix actually does that by default already. It installs everything at a separate path and then flips over in one go. You can even pick the mode, either try to do a live switch as you describe, or on boot. I don't know if I see many benefits to images there.

    I am at a second place now that uses NixOS in a corporate setting, and it is much easier than maintaining the CoreOS images, or similar. I've had some many broken builds of CoreOS images because something goes wrong between the custom packages and the base CoreOS images, I would rather just run an Ansible script at this point. Also, you end up using the exact same test suite for NixOS images as for your other images, so the same guarantees end up being met.

  • Nix/Silverblue users: How big is the advantage if you already have 100% automated your deployments via Ansible?
  • Definitely. That's a great way to run different option together.

    I was just using the DE as an example to demonstrate how cleanly NixOS can add and remove packages. The clean removal of packages with lots of configs is something that most distros struggle with.

  • Nix/Silverblue users: How big is the advantage if you already have 100% automated your deployments via Ansible?
  • No, I fully understand it. But if you build the whole system where every package is isolated, none of the packages interfere with each other, and every package is tested across a wide array of architectures, you can just as safely put together your ideal OS setup and don't have to deal with being locked into very simple and bare system.

    The right place for immutable OSes is if you're using it as a server for container workloads, where you will never customize the base system. Or if you never want to customize your system. Yes, you can customize the system image, but it breaks all the guarantees that the images gives you because the packages themselves are not isolated and by bumping a wrong dependency for a custom packages you can still break the whole system.

  • Nix/Silverblue users: How big is the advantage if you already have 100% automated your deployments via Ansible?
  • My favorite example of how idempotent NixOS is has to do with the DE. If you've ever looked at switching from gnome to KDE, or the other way around, most distros suggest to just re-install because each DE leaves so much cruft around and it's so hard to remove everything in a safe manner.

    With NixOS, you just change one line in your config, and the DE is cleanly swapped.

  • Nix/Silverblue users: How big is the advantage if you already have 100% automated your deployments via Ansible?
  • I would separate NixOS from other immutable distros. NixOS is really about giving you blank slate and letting you fully configure it.

    You do that configuration using a static config language that is able to be far more idempotent than Andible. It’s also able to define packages that are well contained and don’t require dynamic linking setup by manually installing other packages.

    Immutable distros, on the other hand, really have no advantage to your setup and will probably feel more restrictive. The main use I see for them is for someone new or lazy that wants to get a working system up and running quickly.

  • Framework vs Macbook laptop?
  • I’ve worked on dev tooling in a fairly large company. Especially for cyber security, do not get a Mac. A lot of the tools are just different enough on a Mac that they will make your life much harder.

  • Does Nix's break from FHS cause problems?
  • I would say it’s actually easier in many cases. Nix has really fantastic packaging tooling. You do have to learn a bit of the nix language, however (not become an expert).

    The issue comes when trying to build from source. In most other distros, ou just follow the readme. In nix, you have to package it.

  • You don't need a map for that
  • I wasn't trying to go into typing as much as using structs or objects when working with known data attributes. Sorry that it was a bit misleading.

    The original actually went into using trees, sets, heaps, tries, etc., but it felt way too... ranty. After writing all that out, I realized that most of those other cases come up really infrequently, and that my biggest gripe was about not using structs or other pre-defined key container types. I thought it would be better to keep things short and focused.

    Maybe I should re-write and publish a data structures edition.

  • You don't need a map for that
    hackeryarn.com You don't need a map for that

    One of the most misused data structures is the humble map; hashmap, dictionary, hash table, etc. It's a great data structure for quick storage and access of key value pairs. Unfortunately, because of its ease and availability, it becomes pervasive at jobs it has no business doing. The problem grows ...

    9
    Why does open source take up so much memory space on Macos
  • My first guess would be emulation for apps that do not run on aarm by default.

    A lot of OSS devs don’t want to spend time supporting a closed architecture. Especially some of the more privacy and openness focused apps that you’re running.

  • Trying to play games on Steam nuked my system on Spirallinux (Framework 13 amd laptop)
  • Don’t use steam from the Debian repository. Especially not if you’re on the stable branch. Steam simply moves to fast for stable.

    Try downloading the steam flatpak. That’s the way I always run it and haven’t had any issues.

  • Distrobox in practice
  • Yeah it does. I actually use nix as my base OS on one machine. But when I need to work on a project that will never be packaged with nix, and I need all the dependencies, it really becomes impossible to just use nix.

    Nix makes an amazing bas OS, however.

  • Distrobox in practice
  • I use it to share environments with a small team. Just have distrobox specific Docker files and we can all spin up the same distrobox environment locally.

    We end up having a different base docker file (e.g. our distrobox one has editors and stuff), but we all share the same project specific docker file. That same project specific file gets used in CI/CD and deployment, but with a minimal base. So all in all, I would say it's even better than Vagrant because we run the same system in production.

  • Distrobox in practice
    hackeryarn.com Distrobox in practice

    Distrobox is the single piece of software that completely changed the way I work. If you’ve hear of or used Vagrant and thought it was a great idea but implemented in a really heavy handed manner, then Distrobox is exactly what you’ve been looking for. Within a month Distrobox became my primary dev ...

    15
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)HA
    hackeryarn @lemmy.world
    Posts 2
    Comments 29