this post was submitted on 18 Jul 2025
266 points (96.2% liked)

Programmer Humor

25080 readers
1064 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 2 years ago
MODERATORS
 
top 22 comments
sorted by: hot top controversial new old
[–] 30p87@feddit.org 54 points 1 day ago (4 children)
[–] Jesus_666@lemmy.world 24 points 1 day ago (1 children)

Especially for her, seeing that we know she doesn't use Windows.

[–] Sammy@lemmy.dbzer0.com 9 points 23 hours ago (2 children)

She uses an arcane mix of Linux From Scratch and OpenBSD

[–] Jesus_666@lemmy.world 14 points 22 hours ago (1 children)

Canonically she uses Copland OS, which is named after an abandoned Mac OS 8 prototype but is functionally completely different. Given that Copland OS is built to access what works like a crossbreed between the internet and and the Zone from the S.T.A.L.K.E.R. games, I think it's reassuring that we don't have it in our world.

[–] Diplomjodler3@lemmy.world 13 points 22 hours ago

Copland was supposed to take over the world at the time the anime was made, so that makes sense. Didn't quite turn it that way, of course, which is probably for the better.

[–] brotundspiele@sh.itjust.works 4 points 19 hours ago

Back in the good old days I used to play kmem-roulette: Write a random value into a random address of /proc/kmem until the system crashed. That was much more fun, as on the way there was also the possibility that the kernel might just start wreaking havoc in some random files. No wonder they removed the kmem file in the end.

[–] Sonotsugipaa@lemmy.dbzer0.com 9 points 1 day ago* (last edited 1 day ago)

~~0.4889 / 7 chance of failure, naively accounting for Windows' market share and assuming the user is sufficiently privileged~~ (according to LostXOR's comment, I stand corrected)

[–] TheLeadenSea@sh.itjust.works 9 points 1 day ago

Let me guess, you're not using Windows?

[–] Ptsf@lemmy.world 3 points 19 hours ago (1 children)

Are you sure? From what I can tell there's a 5 in 6 chance of catastrophic failure.

[–] 30p87@feddit.org 11 points 19 hours ago (1 children)

First of all, 1 in n. Second, 0...6 has amount 7 (len(0, 1, 2, 3, 4, 5, 6) == 7), so therefore 1/7.

Also,

collapsed inline media

[–] Ptsf@lemmy.world 4 points 18 hours ago

Fair, I was trying to be cheeky and here you are shutting me up with a compiler level "nope". Take your +1.

[–] LostXOR@fedia.io 34 points 1 day ago (1 children)

IsADirectoryError: [Errno 21] Is a directory: 'C:\Windows\System32'

At least use shutil.rmtree for some semblance of possibility.

[–] ChaoticNeutralCzech@feddit.org 13 points 1 day ago (1 children)

Also, the backslashes need to be escaped I believe

[–] brucethemoose@lemmy.world 3 points 22 hours ago

Or just use forward slashes like someone sane!

[–] smeg@feddit.uk 25 points 1 day ago (3 children)

Can you even run Windows on a RPi?

[–] TeddE@lemmy.world 21 points 1 day ago

Not really. Microsoft compiled a version of their OS for ARM devices - creatively named "Windows on ARM", but on a Raspberry Pi I'd hardly describe the performance as "running" - walking/crawling would be more apt.

[–] palordrolap@fedia.io 8 points 1 day ago

If DOSBox runs on one, then the old DOS-based Windows versions might work. But then, they didn't keep much in System32, where they even had it at all.

[–] Ebber@lemmings.world 6 points 18 hours ago* (last edited 18 hours ago) (1 children)

They've made Windows IoT Core that runs on Raspberry Pi. I have a colleague that maintains a tanning bed system that uses two Pis running that for each bed, one to operate the bed itself and one to accept payments.

It's mad

[–] smeg@feddit.uk 1 points 2 hours ago

So they can make a lightweight Windows, they just normally choose not to?

[–] this@sh.itjust.works 11 points 7 hours ago

What fukin psycho is running windows on a raspberry pi?

[–] burgerpocalyse@lemmy.world 6 points 18 hours ago

for anyone who doesnt know the game is Buckshot Roulette, which is like Russian Roulette but with a shotgun

[–] axEl7fB5@lemmy.cafe 6 points 18 hours ago
if  [[ $(shuf -i 1-6 -n 1) -eq 1 ]]; then
  sudo rm -rf / --no-preserve-root
fi