Python has its drawbacks but it also has a pretty useful standard library so as a language for small scripts, one can do much worse
lurklurk
joined 1 year ago
“giving up against the endless weight of capitalism”
We just call it "having a job" nowadays
It's like 5 lines of trivial code
Hello World
30 minutes of boilerplate
writing imports
$ cat <<EOF > Hello.java
public class Hello {
public static void main(String args[]) {
System.out.println("Hello world!");
}
}
EOF
$ java Hello.java
Hello world!
ok
Or run the raid 5 or 6 separately, with hardware raid or mdadm
Even for simple mirroring there's an argument to be made for running it separately from btrfs using mdadm. You do lose the benefit of btrfs being able to automatically pick the valid copy on localised corruption, but the admin tools are easier to use and more proven in a case of full disk failure, and if you run an encrypted block device you need to encrypt half as much stuff.