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
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
I have laughed at this for too long. Good way to start the morning.
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.
were not shipping your machine dave
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
Shouldn’t it be
if guess != number
Isn’t Russian Roulette played with one bullet in the chamber? Not five?
deleted by creator