• 3 Posts
  • 205 Comments
Joined 1 year ago
cake
Cake day: April 27th, 2024

help-circle

  • Computer Science (at a rather “prestigious” university for CS, for that matter, at least as far as that’s a thing here). Not in the US though, and none of the three universities I’ve studied at had mandatory attendance, for anything (exception: seminars, where attending talks by your fellow students was mandatory). As a result, I’ve never seen any prof take attendance.

    A lot of comments on this post say that attendance was called esp. for freshmen classes, but frankly, I don’t see how that would even have been possible here, with sometimes 500+ students in a lecture hall.

    In regards to assignments, at least in my experience, studying the lecture material and consulting it while solving the exercises was usually the fastest way to understand them and get them done.

















  • Managing 30+ machines with NixOS in a single unified config, currently sitting at a total of around 17k lines of nix code.

    In other words, I have put a lot of time into this. It was a very steep learning curve, but it’s paid for itself multiple times over by now.

    For “newcomers”, my observations can be boiled down to this: if you only manage one machine, it’s not worth it. Maaaaaybe give home-manager a try and see if you like it.

    Situation is probably different with things like Silverblue (IMO throwing those kinds of distros in with Guix and NixOS is a bit misleading - very different philosophy and user experience), but I can only talk about Nix here.

    With Nix, the real benefit comes once you handle multiple machines. Identical or similar configurations get combined or parametrized. Config values set for Host A can be reused and decisions be made automatically based on it in Host B, for example:

    • all hosts know my SSH pub keys from first boot, without ever having to configure anything in any of them
    • my NAS IP is set once, all hosts requiring NAS access just reuse it implicitly
    • creating new proxmox VMs just means adding, on average, 10 lines of nix config (saying: your ID will be this, you will run that service) and a single command, because the heavy lifting and configuring has already been done, once -…