hackeryarn

joined 1 year ago
[–] hackeryarn 9 points 10 months ago (4 children)

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.

[–] hackeryarn 11 points 11 months ago* (last edited 11 months ago) (1 children)

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.

[–] hackeryarn 9 points 11 months ago (1 children)

I love the addition of dataclass. Makes refactoring such a breeze. If you need to extract some function, boom, you already have a class that you’re using everywhere.

[–] hackeryarn 13 points 11 months ago (1 children)

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.

[–] hackeryarn 2 points 1 year ago

From a privacy and security perspective, it’s mostly better to run non free software in something like flatpak. At least it provides some layer of isolation from the rest of the system.

[–] hackeryarn 5 points 1 year ago (2 children)

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.

[–] hackeryarn 8 points 1 year ago

I’ve used pine64 boards for this. They have a few more options and are always available.

[–] hackeryarn 2 points 1 year ago

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.

[–] hackeryarn 2 points 1 year ago

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.

[–] hackeryarn 3 points 1 year ago

Yeah that's totally fair. It's definitely far from perfect. Although, I do like that it provides at least some level of isolation.

[–] hackeryarn 9 points 1 year ago (4 children)

That's a super interesting idea. I will have to give that a shot!

Right now I just use flatpak for all my gaming needs and shared things like browsers, slack, etc.

[–] hackeryarn 8 points 1 year ago* (last edited 1 year ago) (2 children)

Keeping my fingers crossed that it would be a Definitive Edition feature, if nothing else.

view more: ‹ prev next ›