this post was submitted on 04 Aug 2026
792 points (98.9% liked)

Programmer Humor

32882 readers
355 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] fargeol@lemmy.world 279 points 2 weeks ago (6 children)
[–] LodeMike@lemmy.today 113 points 2 weeks ago (3 children)

How am I still learning about XKCDs I've never seen especially ones in the 1000 range.

[–] db2@lemmy.world 30 points 2 weeks ago

It's the Key and Peele of geek comics

[–] FishFace@piefed.social 26 points 2 weeks ago (1 children)

When you first learnt about xkcd, did you not S L O O O R P the entire back catalogue?

I guess when I did that there were A LOT fewer. Cuz I'm old.

[–] criticon@lemmy.ca 17 points 2 weeks ago

I'm so old I remember anticipating the 404

[–] eager_eagle@lemmy.world 44 points 2 weeks ago (1 children)

if $1 is not installed after that, wipe your hard drive and start over

[–] SleeplessCityLights@programming.dev 25 points 2 weeks ago (1 children)
[–] boonhet@sopuli.xyz 18 points 2 weeks ago (1 children)

Script needs to be updated, Rust wasn't particularly popular back then (if it existed. I don't know how old this one is, but it's pretty old)

[–] NeatNit@discuss.tchncs.de 13 points 2 weeks ago

March 11, 2016 according to https://www.explainxkcd.com/wiki/index.php/1654:_Universal_Install_Script

According to the Rust Wikipedia article, it was juuuust starting to be used in real things around that period. Definitely before it was popular.

[–] zr0@lemmy.dbzer0.com 38 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

apt-get install
sudo apt-get install

sigh

[–] ryannathans@aussie.zone 10 points 2 weeks ago

I know right could just be apt install

[–] SleeplessCityLights@programming.dev 31 points 2 weeks ago (1 children)

I can stop laughing at steamcmd.

[–] NeatNit@discuss.tchncs.de 24 points 2 weeks ago

Good. If you couldn't that would be a real problem.

[–] psud@aussie.zone 5 points 2 weeks ago (3 children)

With all those connected with & won't it skip the rest after the first failure? Or does 'no such program' or 'you don't have permission' not produce an error?

[–] Kimplul@programming.dev 10 points 2 weeks ago (1 children)

In bash, & just starts the program in the background, so all of the commands are run in parallel. You're probably thinking of &&, which runs the command on its left, checks its return code, and then decides whether run the command on the right.

Although, in this case there are no 'commands on the right' since all the commands are on separate lines. You'd need to backslash the commands together, something like

pip install "$1" && \
easy_install "$1" && \
...
[–] psud@aussie.zone 6 points 2 weeks ago

I saw it as wrapped, so couldn't dismiss the option that all were on a single logical line. But you're right, I was thinking of &&

[–] Tja@programming.dev 8 points 2 weeks ago (1 children)

That would be &&.

A single & will run them in parallel.

[–] psud@aussie.zone 3 points 2 weeks ago
[–] katze@lemmy.4d2.org 0 points 2 weeks ago

Yes, it should have been a ; instead.

[–] MonkeMischief@lemmy.today 5 points 2 weeks ago

(clears throat in Zypper install)

:p