sorted by: new top controversial old
[-] riskable@programming.dev 9 points 3 weeks ago* (last edited 3 weeks ago)

I wouldn't say, "repairing XFS is much easier." Yeah, fsck -y with XFS is really all you have to do 99% of the time but also you're much more likely to get corrupted stuff when you're in that situation compared to say, btrfs which supports snapshotting and redundancy.

Another problem with XFS is its lack of flexibility. By that I don't mean, "you can configure it across any number of partitions on-the-fly in any number of (extreme) ways" (like you can with btrfs and zfs). I mean it doesn't have very many options as to how it should deal with things like inodes (e.g. tail allocation). You can increase the total amount of space allowed for inode allocation but only when you create the filesystem and even then it has a (kind of absurdly) limited number that would surprise most folks here.

As an example, with an XFS filesystem, in order to store 2 billion symlimks (each one takes an inode) you would need 1TiB of storage just for the inodes. Contrast that with something like btrfs with max_inline set to 2048 (the default) and 2 billion symlimks will take up a little less than 1GB (assuming a simplistic setup on at least a 50GB single partition).

Learn more about btrfs inlining: https://btrfs.readthedocs.io/en/latest/Inline-files.html

[-] riskable@programming.dev 12 points 3 weeks ago

One point: ext4 has a maximum file size of 16TiB. To a regular user that is stupidly huge and of no concern but it's exactly the type of thing you overlook if you "just use ext4" on anything and everything then end up with your database broken at work because of said bad advice.

Use the filesystem that makes the most sense for your use case. Consider it every single time you format a disk. Don't become complacent! Also fuck around with the new shit from time to time! I decided to format my Linux desktop partitions with btrfs over a decade ago and as a result I'm an excellent user of that filesystem but you know what? I'm thinking I'll try bcachefs soon and fiddle around more with my zfs partition on my HTPC.

BTW: If you're thinking about trying out btrfs I would encourage you to learn about it's non-trivial maintenance tasks. btrfs needs you to fuck with it from time to time or you'll run out of disk space "for no reason". You can schedule cron jobs to take care of everything (as I have done) but you still need to learn how it all works. It's not a "set it and forget it" FS like ext4.

[-] riskable@programming.dev 2 points 3 weeks ago

Ooh this is a good idea! Because when you extract a file you just downloaded the original creation/modification dates are preserved. So when you extract some tarball the directory my be from several years ago so you can't rely on file modification times to see when you downloaded any given thing.

I think I'm going to start doing the date directory thing! I'll start by writing a bash script that runs in a systemd timer that automatically creates a directory whenever the month changes 👍

[-] riskable@programming.dev 38 points 4 weeks ago

We are merely at the beginning of this revolution! Soon AI artists will be generating whole gifs of Sonic giving birth to Borat and eventually, feature-length movies!

What a wonderful future awaits us!

[-] riskable@programming.dev 4 points 4 weeks ago

My favorite podcasts are super geeky:

(They're both available on just about every podcast platform)

Hackaday is catered to a much more general audience than The Pick, Place podcast which is all about the PCB manufacturing/assembly industry. So if you're a geeky sort you'll love Hackaday because just about everything they talk about is super interesting (to geeks) and it's never boring (unlike a lot of other geeky podcasts where the hosts can ramble on for too long about topics that are only mildly interesting).

About the Pick, Place podcast: Never in a million years would did I think I could enjoy such a podcast. They go over the steps and equipment used to make the circuit boards that live inside all the electronics we use every day and it's way more interesting than you'd think! Like, did you know that most professionally-made circuit boards go through the equivalent of a dishwasher? As in, they're washed... With (denatured/deionized) water! Furthermore, these washing machines only need their water changed out like once a month (or sometimes after several months) then they take the little bits of metal it collects over time and they sell them to companies that deal with precious metals (because they'll have multiple pounds of tiny balls of tin, silver, gold, etc).

Oh man I learned so much interesting obscure shit from that podcast! I love it 👍

[-] riskable@programming.dev 8 points 4 weeks ago

I used to use "top 24h" but these days I just sort by "hot" because it actually seems to work pretty well now: I don't see the total garbage that gets down voted immediately like you get with "new" but I see pretty much everything else (which is what I like; I especially like finding interesting posts in obscure communities!).

I also regularly block foreign language communities for no other reason than I can't read them so there's no point in them taking up space in my feed. Like, I'm sure that German meme about Elon Musk is hilarious but since I don't know German it's just noise 🤷

[-] riskable@programming.dev 12 points 4 weeks ago

Don't feel too bad. I had to think about it hard after I wrote the sentence. Then I thought about it some more, triple checked my work using a fractions calculator, then finally hit the submit button 🤣

Fractions are hard. Normal people don't think in fractions (anymore; they probably used to in days of yore).

[-] riskable@programming.dev 109 points 4 weeks ago

In Texas, a pregnant black woman or immigrant only counts as 1 and 1/5th person though.

[-] riskable@programming.dev 67 points 1 month ago

Who are the people that care about these things? Everyone's going to put a case on it anyway.

If I were in charge of product design we'd have two phones:

  • A tiny one for people who like tiny things
  • A big honkin chonker with a 30-day battery life that could jump start a car that would fit in a man's pocket no problem
[-] riskable@programming.dev 11 points 1 month ago

You'll quickly find out which brands of filament aren't of the highest quality, haha.

Pro-tip: PETG (even the shittiest brands) won't clog 99.999% of the time 👍

(There's always contaminants that can make their way into any filament... Even large chunks of dust/gunk in your house)

view more: ‹ prev next ›

riskable

joined 1 year ago