Brutkey

Barry Schwartz πŸ«–πŸ«–
@chemoelectric@masto.ai

I just thought of

(a) Installing a cron on my NixOS systems.

(b) Setting up cron.monthly, cron.daily, etc., or even cron.15th-of-each-month and so forth.

(c) Timing events by putting scripts in these directories.

(d) Doing all this with the NixOS configuration.

Why?

BECAUSE SYSTEMD IS EVIL!!!!!!!

Systemd is what you get when people are working on this who have never in their lives used Unix, and those who have and care much contribute to BSDs instead.

#NixOS #systemd #linux #POSIX #Unix


Mark Crocker
@mcrocker@indieweb.social

@chemoelectric@masto.ai you might want to have a look at #GUIX, GUIX uses GNU Shepherd inserted of SystemD.

Full disclosure, I've never tried GUIX or Shepherd.

The GNU Shepherd
https://www.gnu.org/software/shepherd/

eruwero
@eruwero@ieji.de

@mcrocker@indieweb.social @chemoelectric@masto.ai I'm using #guix and can definitely recommend it

Barry Schwartz πŸ«–πŸ«–
@chemoelectric@masto.ai

@eruwero@ieji.de @mcrocker@indieweb.social I know about Guix and am quite familiar with Guile, at least version 2.0. The main problem is I stopped liking Guile at version 2.2. :) I stopped trusting libguile to do what I expected.

Also I am a 7th Revision fan. Guile makes claims of having R⁷RS support, but Guile has no actual R⁷RS support.

So the deal is I have no great preference for Guile over Nix! But I would take either over Common Lisp or Prolog. :) (I am fond of Mercury, but can't stand Prolog.)

eruwero
@eruwero@ieji.de

@chemoelectric@masto.ai @mcrocker@indieweb.social fair enough :)

In the end you're dealing with a declarative DSL within guile anyway most of the time, so the revision shouldn't matter that much I think. I would prefer any kind of lisp over what nix has, just from the looks of it :)

And I quite like common lisp (not every aspect of it, but in general). Scheme is definitely more elegant but common lisp is just a beast

Barry Schwartz πŸ«–πŸ«–
@chemoelectric@masto.ai

@eruwero@ieji.de @mcrocker@indieweb.social Mercury is actually perhaps the closest to Nix in many ways, although it can do Prolog-like things. But mostly it is used in a declarative style similar to Nix. But it is eager evaluated and prefers tail recursion, so in that is like Scheme.

Anyway, it requires compilation so would be a terrible choice. :)

Barry Schwartz πŸ«–πŸ«–
@chemoelectric@masto.ai

@eruwero@ieji.de @mcrocker@indieweb.social Guix is one of the two HURD distros I know of BTW. The other is Debian, which I have in a very old VirtualBox I haven’t tried starting up lately.

I wish we had HURD instead of Linux, but Linux took the steam out of it. The BSDs would have, anyway, if Linux hadn’t done so. GNU would have de facto adopted a copylefted BSD kernel variant, no doubt.

Barry Schwartz πŸ«–πŸ«–
@chemoelectric@masto.ai

@eruwero@ieji.de @mcrocker@indieweb.social Guix is one of the two HURD distros I know of BTW. The other is Debian, which I have in a very old VirtualBox I haven’t tried starting up lately.

I wish we had HURD instead of Linux, but Linux took the steam out of it. The BSDs would have, anyway, if Linux hadn’t done so. GNU would have de facto adopted a copylefted BSD kernel variant, no doubt.

eruwero
@eruwero@ieji.de

@chemoelectric@masto.ai @mcrocker@indieweb.social I agree Hurd would be really nice from what I've read about it, haven't tried it yet

eruwero
@eruwero@ieji.de

@chemoelectric@masto.ai @mcrocker@indieweb.social I agree Hurd would be really nice from what I've read about it, haven't tried it yet

Barry Schwartz πŸ«–πŸ«–
@chemoelectric@masto.ai

@eruwero@ieji.de @mcrocker@indieweb.social It doesn’t run, as far as anyone knows, except in virtual machines. :) You are definitely on your own if you try to install it in hardware. It is just basically just a very fancy toy.

Things that are done with FUSE in Linux are just natural in HURD. An ftp connection is just a file, for instance.

I think the same thing may be true in Plan 9 BTW. You can run that in a virtual machine, too.

The only filesystem in HURD is ext2 modified for unlimited file length. :)

Barry Schwartz πŸ«–πŸ«–
@chemoelectric@masto.ai

@eruwero@ieji.de @mcrocker@indieweb.social It doesn’t run, as far as anyone knows, except in virtual machines. :) You are definitely on your own if you try to install it in hardware. It is just basically just a very fancy toy.

Things that are done with FUSE in Linux are just natural in HURD. An ftp connection is just a file, for instance.

I think the same thing may be true in Plan 9 BTW. You can run that in a virtual machine, too.

The only filesystem in HURD is ext2 modified for unlimited file length. :)

eruwero
@eruwero@ieji.de

@chemoelectric@masto.ai I thought the Debian version can run on some specific hardware, maybe. But I don't have an ancient thinkpad anyway, so I'd have to use a VM :)

Barry Schwartz πŸ«–πŸ«–
@chemoelectric@masto.ai

@eruwero@ieji.de @mcrocker@indieweb.social That is because GNU design principles call for no artificial limitations such as filename length limitations. That is one of the things that went to heck when everyone settled on Linux. Linus Torvalds had no such design principle!

I am in favor of GNU’s design principle here. I prefer their C indentation format, too.

(Richard Stallman may be a much bigger jerk but Emacs is a better program than Linux, too. In fact I was using Emacs before there was a GNU Emacs.)

eruwero
@eruwero@ieji.de

@chemoelectric@masto.ai I agree, emacs is a better operating system :)