HN user

zeec123

89 karma
Posts1
Comments41
View on HN
Steam Machine 8 months ago

I am hyped for the improved gyro controller. Gyro aiming is so good that after some time it became way better than my mouse aiming.

C Package Manager 4 years ago

So if not all and every platform is supported from day 1, then “it isn’t a solution worth spending any time on”?

C Package Manager 4 years ago

Yes, today nix does not run everywhere C is used. So what? More platforms can be supported in the future.

Why Not ZFS (2021) 4 years ago

I have zfs on root with nixos since day 1. One line of code, as other fs like ext4, btrfs or bcachefs.

The Curse of NixOS 4 years ago

I fully agree, but which there would be an escape hatch when needed. It is especially frustrating for python developers.

The Curse of NixOS 4 years ago

However, until this works, nixpkgs should provide a wrapper around FHSUserEnv which allows developers to develop without the curse.

No, you are maybe 80% there. - Your logger does not send a mail with the restic logs to me. - How do I check that the backup is newer than 24h? I have to make sure the last backup succeeds. - Do I have to touch a file in /var for every backup script? When do I touch it? After the backup run, before? What if I shutdown my laptop during the backup?

These corner cases take exponentially more time to get right than the first 80%.

"Someone could have packaged utility wrapper scripts in much less time than it did to add those features to systemd"

But nobody has, and I am exhausted to hear how easy it is without systemd without offering a non-hypothetical solution. You don't like systemd, then do not use it and move on. There are distributions without it.

There are some cool features in systemd that are not easy to do in cron.

Example: I use restic backup. One timer runs every 24h or on the next boot if there where more than 24h since the last backup as this is a laptop. Also it waits some random amount so that not all script run at the same time after boot. If a backup fails (eg remote server down) it retires every 15min, but no more than one hour before I get an Mail with a detailed report.

All really easy in systemd. No scripting required.