[-] hackeryarn@lemmy.world 9 points 1 month ago

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.

[-] hackeryarn@lemmy.world 12 points 9 months ago

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.

[-] hackeryarn@lemmy.world 28 points 9 months ago

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.

[-] hackeryarn@lemmy.world 9 points 9 months ago* (last edited 9 months ago)

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.

[-] hackeryarn@lemmy.world 7 points 9 months ago

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@lemmy.world 12 points 10 months ago* (last edited 10 months ago)

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@lemmy.world 8 points 10 months ago

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.

35
[-] hackeryarn@lemmy.world 13 points 11 months ago

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.

1
Clojure GitHub Actions (hackeryarn.com)
submitted 1 year ago by hackeryarn@lemmy.world to c/clojure@lemmy.ml
[-] hackeryarn@lemmy.world 9 points 1 year ago

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.

47
Distrobox in practice (hackeryarn.com)
submitted 1 year ago by hackeryarn@lemmy.world to c/linux@lemmy.ml
[-] hackeryarn@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

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

[-] hackeryarn@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

I feel like this is a trend with dynamic languages that have a REPL. I’ve done a lot of Common Lisp in the past, and had the same feeling.

The best way to get over this is to pop open the python REPL and start playing around with the options and functions. It takes very little ceremony to get a nice example rolling.

https://realpython.com/python-repl/ has some nice advice and tips on extra things you can do in the REPL.

[-] hackeryarn@lemmy.world 19 points 1 year ago

I am happy about this change. I wanted some extra damage out of the spell, but instead it just got mobbed and lucky if it got a turn.

If I just wanted a distraction, minor illusion doesn’t use a spell slot.

view more: next ›

hackeryarn

joined 1 year ago