A fun simple game

Gollum@feddit.de to Programmer Humor@programming.dev – 870 points –
41

There's Linux distro called suicide Linux that wipes your hard drive on any mistyped command.

I hope it comes preinstalled with sl and similar programs.

if you type sl it wipes your drive. No funny train for you

Nah; it puts funny train to make you say phew then wipes your drive anyways!

or with ll alias for ls -laF, I'm using it so often, even if it's not available, I still type it 5 times a minute.

Why don't those people just run an amnesiac OS like tails? Do they not trust themselves not to say up persistence?

Shouldn't it be

if guess != number

Isn't Russian Roulette played with one bullet in the chamber? Not five?

A chamber is the space in automatics, semiautomatic, and the slide back single shot weapons for the bullet when it is about to be fired. Any game of Russin Roulette played with a bullet in the chamber is going to be very short.

Russian Roulette is played with one bullet in the cylinder, the spinny thing on a revolver.

gun nerds are the worst.

Lemme tell you about the difference between a clip and a magazine!

A magazine is a paper distributed like newspapers but in more of a booklet form and with higher quality paper.

A clip is the thing that holds you chips bag closed after opening so they don't get stolen.

Edit: that should be stale, not stolen, but I'm leaving it

Russian roulette hard mode: you’re hoping for a jam.

It wouldn't work anyways because decorator can't be applied to variable setting
Turn out I somehow mistook # as @

Isn't it also played with 6 slots instead of 10?

You'll get an OSError if you try to remove a directory with os.remove

https://docs.python.org/3/library/os.html#os.remove

I was gonna say, isn’t os.remove only for files? Docs say yes.

Delete a random one of the System DLLs

It’ll crash good and hard after a game or 2

No docstring, no shebang, no main function, no raw strings, and I’m sure they don’t have unit tests with a mocked filesystem.

Pylint is screaming right now.

it’s the Nazi version.

I skimmed the linked doc and they don't:

Reformat code, since we believe that developers should do that

Which seems more open and forgiving than some linters. What makes them strict and inflexible?

Or did you mean actual Nazi run the project? (I hate that this is a possibility.)

Edit: They do say they have lots of strict rules. So, I am going that is it.

It’s flake8 with all the rules enabled. You get a hundred warnings even for small programs. I love it.

Error: that file path does not exist.

I have laughed at this for too long. Good way to start the morning.

Still a better chance of success than an in-place upgrade of Win 10 to Win 11.

Have you actually tried that? It just works. Win11 isnt much more than a big Win10 feature update. We've updated a few hundred machines across several customers and they rarely required manual intervention.

So they posted that screenshot before even trying to run it on some useless file to see it works.. Internet points are surely a drug