this post was submitted on 04 Aug 2024
376 points (93.7% liked)

Programmer Humor

32394 readers
678 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Am I out of touch?

No, it's the forward-thinking generation of software engineers that want elegant, reliable, declarative systems that are wrong.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 3 months ago* (last edited 3 months ago) (2 children)

Shoving your entire system config into a couple DSL files is elegant? Sorry, I'll stick to OpenBSD's ports system and periodic rsync backups, that give me all the same benefits without the mountain of XY problems. Gentoo would also like a word, but they're too busy recompiling all of llvm with one build flag changed to give input. Hope you never have to use anything other nix, since you've spent all your time learing to configure an abstraction layer instead of interfacing with the real underlying tooling.

[–] [email protected] 6 points 3 months ago

all your time learing to configure an abstraction layer instead of interfacing with the real underlying tooling

Bro it's state machines all the way down and expressions up top

[–] Hexarei 2 points 3 months ago (1 children)

I'm not familiar with ports, does it provide an easy way to install packages of a particular version? Is it OpenBSD only, or just a system of installing things?

I've got no dog in the race as of yet, I've bounced off of nixos a few times because of the general lack of consistency from one package to the next in terms of configuration options made available in the Nix language.

Genuinely curious about how it compares. The nix package manager seems fairly promising, even on non-Nix systems, if I could ever convince myself I needed it

[–] [email protected] 1 points 3 months ago* (last edited 3 months ago)

I’m not familiar with ports, does it provide an easy way to install packages of a particular version? Is it OpenBSD only, or just a system of installing things?

OpenBSD's ports are just a collection of perl scripts and makefiles managed by a VCS (usually CVS though there are mirrors). Due to how recursive CVS works, you can easily update any part of the tree to a different commit/tag.

$ cd ${PORTSROOT}/games/stone-soup
$ cvs up -CPd -D 'some date_spec' #or -r some_tag
$ make install
$ヽ༼ຈل͜ຈ༽ノ enjoy your old or backported videos games

very scriptable, should be easy to figure out how to automate this should you need to.