Comments

This profile is from a federated server and may be incomplete. Browse more on the original instance.

rtxn, to memes in Blub blub

It’s not like any of us were there to prove it didn’t happen…

rtxn, to memes in Standards shouldn't be behind a paywall

Bro, literally re-read the comment you replied to. It has an example of what might happen.

rtxn, to memes in Standards shouldn't be behind a paywall

Yeah? I once spent an entire week debugging a plaintext database because the software expected the record identifiers to be tokenized a certain way, but the original data source had spaces in those strings.

The software was the ISC DHCP server, the industry standard for decades and only EOL’d a year ago.

rtxn, to memes in Standards shouldn't be behind a paywall

Again, it’s not just CLI, it’s an insurance against misinterpreted characters breaking programs.

rtxn, to memes in Standards shouldn't be behind a paywall

<span style="color:#323232;">rsync -a "somedir" "somedir_backup_$(date)"
</span>

If the date command returns an RFC-3339-formatted string, the filename will contain a space. If, for example, you want to iterate over the files using for d in $(find…) and forget to set $IFS properly, it can cause issues.

rtxn, to memes in Standards shouldn't be behind a paywall

On the command line, space is what separates each argument. If a path contains a space, you either have to quote the entire path, or use an escape character (e.g. the `` character in most shells, the backtick in Powershell because Microsoft is weird, or the character’s hexadecimal value), otherwise the path will be passed to the command as separate arguments. For example, cat hello world.txt would try to print the files hello and world.txt.

It is a good practice to minimize the character set used by filenames, and best to only use English alphanumeric characters and certain symbols like -, _, and .. Non-printable characters (like the lower half of ASCII), weird diacritics (like ő or ű), ligatures, or any characters that could be misinterpreted by a program should be avoided.

This is why byte-safe encodings, like base64 or percent-encoding, are important. Transmitting data directly as text runs the risk of mangling the characters because some program misinterpreted them.

rtxn, (edited ) to memes in Standards shouldn't be behind a paywall

You’ve just become the nemesis of the entire unix-like userbase for praising the space.

rtxn, to linuxmemes in I love vim

DistroTube is a great source for Doom-related knowledge (as long as you ignore his “old man yells at cloud” videos).

rtxn, (edited ) to risa in uBlock Enterprise

Isn’t this advertisement just horrible? Does it make you want to claw your eyes out? Pay up $20 per month to remove HALF of them! Thank you for always trusting us to do the right thing!

(not related to star trek, I just fucking hate ads and advertisers)

rtxn, to piracy in Fuck Subscriptions. Here is how to setup Streamio like a pro

Don’t use the triple-backtick code block markdown if the text doesn’t contain code. Most markdown renderers don’t wrap overflowing lines and it becomes a pain in the ass to read. Use the > quote block markdown instead.

rtxn, to programmer_humor in what's the difference?

GitHub was independent from Microsoft for a long time, and was only acquired in 2018.

rtxn, (edited ) to linuxmemes in Linus does not fuck around

The trick is to listen to the pronunciation. Linus of LTT pronounces it as Linus, while Linus of Torvalds uses either Linus or Linus, but he doesn’t mind if people call him Linus.

/s

rtxn, to asklemmy in Former religious lemmings, what made you quit religion or stop being a believer?

If you mean a belief in a supreme being, I’ve been agnostic for most of my life, leaning towards atheism. That hasn’t changed.

Organized religion is a completely different thing, and in my opinion, comparable to nationalism. I’ve seen way too much inhumane shit being done to other humans in the name of some ideology or other, and I decided not to be part of it. No gods or kings, as far as loyalty goes.

rtxn, (edited ) to asklemmy in What are your "poor person" money life hacks?

I consider not letting food go to waste as part of a poor person’s fiscal financial responsibility.

rtxn, to asklemmy in What are your "poor person" money life hacks?

The derailleur transmission design introduces a LOT of friction because the chain is forced to bend and twist between gears that are out of alignment, and it hates doing that. It also leads to increased wear.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #