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.
hardcore mode
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 wouldn’t work anyways because decorator can’t be applied to variable setting
Turn out I somehow mistookas
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
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
Just delete hal.dll.
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 https://wemake-python-styleguide.readthedocs.io/en/latest/, it’s the Nazi version.
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.
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
It’s what happens on my machine.
It works on my machine.
what machine?
were not shipping your machine dave
I have laughed at this for too long. Good way to start the morning.
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
Atleast it’s not rand float
deleted by creator