lurklurk

joined 1 year ago
[–] lurklurk@lemmy.world 4 points 2 hours ago

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.

[–] lurklurk@lemmy.world 3 points 1 week ago

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@lemmy.world 8 points 1 week ago (1 children)

“giving up against the endless weight of capitalism”

We just call it "having a job" nowadays

[–] lurklurk@lemmy.world 3 points 1 week ago* (last edited 1 week ago) (2 children)

It's like 5 lines of trivial code

[–] lurklurk@lemmy.world 28 points 1 week ago (25 children)

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