Except Alpine & those based on it, which uses Linux but not GNU libc or GNU coreutils or GNU BASH… Just musl libc & Busybox. I.e. the entire subject of this thread is one of the non-GNU Linuxes.
Except Alpine & those based on it, which uses Linux but not GNU libc or GNU coreutils or GNU BASH… Just musl libc & Busybox. I.e. the entire subject of this thread is one of the non-GNU Linuxes.
Yes, I listed sysvinit for that reason. And Musl instead of glibc. GNU is optional in a Linux distro, except for the kernel’s use of a GNU license.
Sure, I should have gone further.
Systemd/GNU libc/GNU Coreutils/GNU BASH/Linux/X11//GTK/GNOME
Systemd/GNU libc/GNU Coreutils/GNU BASH/Linux/X11/GTK/LXDE
Systemd/GNU libc/GNU Coreutils/Zsh/Linux/X11/GTK/GNOME
Systemd/GNU libc/GNU Coreutils/Zsh/Linux/X11/GTK/LXDE
SysVInit/musl/Busybox/tcsh/Linux/csh
Systemd/GNU libc/GNU Coreutils/Zsh/Linux/Wayland/QT/KDE Plasma
Systemd/GNU libc/GNU Coreutils/Zsh/Linux/Wayland/QT/LXQT
etc, etc.
There are thousands of combinations of the possible layers needed to make an OS.
Systemd/GNU/Linux/GTK or Systemd/GNU/Linux/QT, really…
Swap files are useful if you are still on EXT4 or similar. If you’re using ZFS or BTRFS or BCacheFS, they have no benefits.
Used it for the last few years. X just doesn’t work right with multiple monitors of different resolution.
You wouldn’t end up at a login screen, you’d end up in the last logged in user’s session.
People use computers to accplish tasks. That requires running software on an OS, but nobody runs software or an OS just to sit & watch it exist. They run it to accomplish tasks.
Different distros mostly vary in how easy it is to accomplish various tasks. No one distro is the easiest for everything, so people make different choices depending on their needs.
__auto_type
is a compiler builtin, not a library function. It’s not a function at all, the parentheses are for precedence & grouping.
I use NixOS & Home Manager. My config is in git
, and I use an ephemeral setup with ZFS & tmpfs:
Mount layout:
/ tmpfs
├─/boot /dev/sda1 FAT32 EFI system partition
├─/nix rpool/local/nix ZFS partition
├─/home/persist rpool/safe/home ZFS partition
└─/persist rpool/safe/persist ZFS partition
ZFS partitions under rpool/safe/ get backed up, the rest don’t need to be. Everything else can be rebuilt (and most of it gets re-created at boot anyway, since / and /home are tmpfs).
#define max(x,y) ( { __auto_type __x = (x); __auto_type __y = (y); __x > __y ? __x : __y; })
GNU C. Also works with Clang. Avoids evaluating the arguments multiple times. The optimizer will convert the branch into a conditional move, if it doesn’t I’d replace the ternary with the “bit hacker 2” version.
DoH looks identical to normal website traffic. If it’s slow, it’s probably the DoH provider and not the ISP.
You mean SNI, not ESNI. ESNI is the Encrypted Server Name Indication that gets around that, though the newer ECH (Encrypted Client Hello) is better in many ways. Not all sites support either though.
You don’t have an autoformatter in your pre-commit hook? Why not?
Yep, it’s basically a way to define new groups per directory. But these groups are hidden from the normal group commands!
Hah! Lots of (shitty) sites don’t allow some “special” characters, like '. That’s usually a sign that they’re storing passwords insecurely, and it’s always a sign that they’re not following current security best practices (composition rules reduce security).
I deliberately run / and /home as tmpfs. Then everything I want to persist across boots gets symlinked in at system start, and anything I didn't opt in to saving gets deleted every boot.
Looks a heck of a lot like the RS-485 serial cable I’ve got on my desk right now. Scale is hard to tell, not sure how big that bowl is.
Many cameras these days have AI autofocus for subject detection. Phone cameras use AI image enhancemnnt by default.
I’dv deleted the default, it’s never come back.