BatmanAoD

joined 2 years ago
[โ€“] BatmanAoD@programming.dev 1 points 2 months ago

Desktop Linux is still an extremely niche userbase, even with SteamOS and Microsoft doing its absolute best to aggravate users.

[โ€“] BatmanAoD@programming.dev 2 points 2 months ago

๐Ÿค– Reality Check #1 20/20 ๐Ÿ”ฅ Perfect Streak: 20

...some of those looked much more impressive than I expected, though.

[โ€“] BatmanAoD@programming.dev 2 points 2 months ago

Believe me, whitespace-correct scripting is absolutely an issue.

You're right that it's annoying when filenames diverge right at a character that must be escaped.

[โ€“] BatmanAoD@programming.dev 7 points 2 months ago (2 children)

For interactive use, tab-completion essentially makes this a non-issue, because shells add escaping in the appropriate places.

For scripting, where spaces are harder to deal with, unfortunately there's just not much you can do; your two options are basically to learn all of your particular shell's patterns for dealing with whitespace in filenames, or only write scripts in something other than a POSIX shell.

[โ€“] BatmanAoD@programming.dev 2 points 2 months ago

Here it is:

Presumably, it already used SIMD, and that's how the existing GNU utility beat Rust by a factor of 17x.

[โ€“] BatmanAoD@programming.dev 2 points 2 months ago (1 children)

Presumably, it already used SIMD, and that's how the existing GNU utility beat Rust by a factor of 17x.

[โ€“] BatmanAoD@programming.dev 4 points 2 months ago (1 children)

That's fair; Python, Swift, and most Lisps all use or have previously used reference-counting. But the quoted sentence isn't wrong, since it said no "garbage collection pauses" rather than "garbage collection."

[โ€“] BatmanAoD@programming.dev 6 points 2 months ago

"Garbage collection" is ambiguous, actually; reference counting is traditionally considered a kind of "garbage collection". The type you're thinking of is called "tracing garbage collection," but the term "garbage collection" is often used to specifically mean "tracing garbage collection."

[โ€“] BatmanAoD@programming.dev 3 points 2 months ago

What's wrong with the explanation given?

[โ€“] BatmanAoD@programming.dev 5 points 2 months ago

...the rest of it explains the context, and then briefly says that some people will disagree with the decision, but those people should just use a different distro. What are you complaining about?

[โ€“] BatmanAoD@programming.dev 8 points 2 months ago (3 children)

To be fair, the drop/dealloc "pause" is very different from what people usually mean when they say "garbage collection pause", i.e. stop-the-world (...or at least a slice of the world).

[โ€“] BatmanAoD@programming.dev 2 points 2 months ago

You could also just alias find back to ^find. I don't use nushell as my daily driver for other reasons, and I agree with the comment above that it's a bit questionable for them to have a built-in with that name, but I don't understand why you'd even try out a new shell, let alone one that's radically different from POSIX-style shells, much less complain online about the shell you just tried, when you're already happy with the shell you're using and are not willing to adapt any habits or explore the configuration options to match your needs.

view more: โ€น prev next โ€บ