deadbeef79000

joined 1 year ago
[–] deadbeef79000@lemmy.nz 30 points 7 months ago

I see they've never read further in the dune series, otherwise they'd know this is right on-brand for Dune.

[–] deadbeef79000@lemmy.nz 4 points 7 months ago (1 children)

I tend to use du -hxd1 / rather than -hs so that it stays on one filesystem (usually I'm looking for usage of only one file system) and descends one directory.

[–] deadbeef79000@lemmy.nz 8 points 7 months ago

Pretty much any distribution would meet that criteria.

Is just pick one and get going. If you run into problems, you'll now have more specific selection criteria and can make a more discerning choice of another distribution.

Given your initial "maybe Debian" just grab Debian stable and see where it takes you.

[–] deadbeef79000@lemmy.nz 26 points 7 months ago* (last edited 7 months ago) (1 children)

It was the right time to ensure the right stock price at the right time.

An enormous company like Boeing always has myriad legal things going on. There's always a little litigious jitter in their stock price.

Everything Swampy knew, the big cheeses did too and more. Statements entering the courts' records makes them more difficult to casually dismiss. Evidence of top echelon mismanagement becomes a problem, a stock price problem.

[–] deadbeef79000@lemmy.nz 21 points 8 months ago

When some crappy vendors (ahem, Zoom) bother to get screen sharing working on Wayland.

Until then I'm stuck on xorg at work, but it's Wayland all the way at home... not by explicit choice, just the distro default.

[–] deadbeef79000@lemmy.nz 8 points 8 months ago

Yep! I always do this too.

TL;DR: e aborts the whole script on a non-zero error. u aborts when using an undefined variable. -o pipefail aborts a piped compound command when one of the piped commands fail.

Any other way lies madness. Or erasing the whole filesystem apparently!

[–] deadbeef79000@lemmy.nz 2 points 8 months ago

Protects you from accidentally changing the variable within the block too!

[–] deadbeef79000@lemmy.nz 7 points 8 months ago* (last edited 8 months ago)

Yes! But -u is for undefined variables. It won't stop a defined variable with an empty value. E.g foo="".

Also ? and :? have the advantage of telling you right then and there where the variable use is that it must be defined or not empty... having to trek back to (likely) the top of the script to check is easily forgotten.

[–] deadbeef79000@lemmy.nz 63 points 8 months ago* (last edited 8 months ago) (9 children)

rm -rf ${var}/ is a disaster waiting to happen.

Always do rm -rf "${var:?}/" so that the script aborts if the variable is empty. Or better yet rm -rf "./${var:?}/".

Edited to add quotes. Always quote a path: it might have spaces in it, without quotes that will become multiple paths! Which would also have avoided the particular bug in question.

[–] deadbeef79000@lemmy.nz 4 points 8 months ago

He's only worried about looking like a loser.

[–] deadbeef79000@lemmy.nz 1 points 8 months ago* (last edited 8 months ago)

Lol, down votes from chumps who can't tell the difference between NVIDIA's excellent hardware and Nvidia's shitty business practice.

[–] deadbeef79000@lemmy.nz 7 points 8 months ago (1 children)

They just need to gate-keep harder. It'll work next time.

Imagine being that invested in a corporate brand.

view more: ‹ prev next ›