Shouldn’t it be
if guess != number
Isn’t Russian Roulette played with one bullet in the chamber? Not five?
Submitted 1 year ago by genfood@feddit.de to programmer_humor@programming.dev
https://i.imgur.com/58prc69.png
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.
Russian roulette hard mode: you’re hoping for a jam.
More fun like that
The game we see here is Russian Russian Roulette.
Russian-in-Ukraine roulette
Polish Roulette?
It uses decorator on variable assignment so it will raise SyntaxError anyways!
You’ll get an OSError if you try to remove a directory with 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
shutil.rmtree(‘C:\Windows\System32’)
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.
I like …readthedocs.io/…/latest/, it’s the Nazi version.
its 14 lines
Error: that file path does not exist.
Is that actually what happens? Let me check.
String ain’t raw and \ will escape
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
blackn1ght@feddit.uk 1 year ago
There’s Linux distro called suicide Linux that wipes your hard drive on any mistyped command.
Rodeo@lemmy.ca 1 year ago
I hope it comes preinstalled with
sl
and similar programs.aBundleOfFerrets@sh.itjust.works 1 year ago
if you type sl it wipes your drive. No funny train for you
sip@programming.dev 1 year ago
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.
MonkCanatella@sh.itjust.works 1 year ago
hardcore mode
averyminya@beehaw.org 1 year ago
Why don’t those people just run an amnesiac OS like tails? Do they not trust themselves not to say up persistence?