There's Linux distro called suicide Linux that wipes your hard drive on any mistyped command.
Programmer Humor
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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
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.
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.
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 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
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.
what machine?
were not shipping your machine dave
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