Father, Hacker (Information Security Professional), Open Source Software Developer, Inventor, and 3D printing enthusiast

  • 4 Posts
  • 14 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle



  • 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


  • 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.




  • At this point I’m curious: WTF is Microsoft Word even good for? It’s like the worst-in-class tool for all things word processing, page layout, typesetting, embedding other stuff into the document, and more. Why are people still torturing themselves with this garbage? Just because it’s there? I mean, Wordpad is there too (though maybe not for much longer) but nobody uses that. It’s also garbage but still…





  • If robots are also building the tunnels it could be economically feasible 🤷

    I mean, it depends on how deep they go and the type of soil/dirt they need to go through. I don’t know where this town is (too lazy to research that right now… It’s New Year’s Day, give me a break LOL) but much of Georgia is loose, iron-rich (very red! Like digging a hole out of rust) dirt/sand (the awful-feeling large grain kind) like 20-30ft deep. It’s easy to dig but hard to make a stable tunnel through (it’d just collapse).

    If they are just shoving a thin steel “tube” (rectangular like the picture in the article) into the ground and forcing the dirt out (e.g. blow it out with air) that could be very cheap. It’d be like operating a really wide Ditch Witch.


  • Riskable@programming.devtoTechnology@lemmy.ml*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    1
    ·
    edit-2
    9 months ago

    It may sound pendantic but that person is correct: It’s not stealing. Stealing involves taking a physical thing away from its owner. Once the thing is stolen the owner doesn’t have it anymore.

    If you reproduce someone’s art exactly without permission that’s a copyright violation, not stealing. If you distribute a derivative work (like using img2img with Stable Diffusion) without permission that also is a (lesser) form of copyright violation. Again, not stealing/theft.

    TL;DR: If you’re making copies (or close facsimiles) of something (without permission) that’s not stealing it’s violating copyright.



  • You’re expected to know how to program microcontrollers to mainframes to fucking VCRs and knowing every programming language ever created since electronic computers exist as well as networking and cloud technology and databases, etc. AND you have to be certified in all these things to prove you know them on top of your degree.

    So there’s a problem even worse than this: When you have all those skills and more (I do 👍) employers expect to pay you the salary of someone who knows just one of those things.

    Like, I was a professional hacker, a systems administrator (both Unix/Linux and Windows), I know networking, have administered/maintained databases, I’m also an award-winning web developer (I know the usual web stuff plus Python, Rust, and a few other things), an embedded developer (C, C++, and Rust), and I can even engineer, design, and program an entire product from scratch that didn’t exist before (see: https://youtu.be/iv6Rh8UNWlI?si=dG15yQlQpfNGCDal ). That includes designing/engineering the circuit board.

    Do I get paid for knowing all these things? No. If I apply for any job you know what employers say when they reject me?

    Overqualified

    You’re damned if you do and you’re damned if you don’t!