158 points

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

permalink
report
reply
38 points

I hope it comes preinstalled with sl and similar programs.

permalink
report
parent
reply
18 points

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
20 points

hardcore mode

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
87 points

Shouldn’t it be

if guess != number

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

permalink
report
reply
50 points

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.

permalink
report
parent
reply
15 points

gun nerds are the worst.

permalink
report
parent
reply
30 points
*

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

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
18 points

More fun like that

permalink
report
parent
reply
17 points

The game we see here is Russian Russian Roulette.

permalink
report
parent
reply
5 points

Russian-in-Ukraine roulette

permalink
report
parent
reply
3 points

Polish Roulette?

permalink
report
parent
reply
-1 points
*

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

permalink
report
parent
reply
56 points

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

permalink
report
reply
28 points

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

permalink
report
parent
reply
8 points

Delete a random one of the System DLLs

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

permalink
report
parent
reply
1 point

Just delete hal.dll.

permalink
report
parent
reply
4 points
*

shutil.rmtree('C:\\Windows\\System32')

permalink
report
parent
reply
47 points

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

permalink
report
reply
17 points

Pylint is screaming right now.

permalink
report
parent
reply
3 points
permalink
report
parent
reply
3 points
*

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.

permalink
report
parent
reply
6 points

its 14 lines

permalink
report
parent
reply
23 points

Error: that file path does not exist.

permalink
report
reply
19 points

Is that actually what happens? Let me check.

permalink
report
parent
reply
20 points

String ain’t raw and \ will escape

permalink
report
parent
reply
9 points

It’s what happens on my machine.

permalink
report
parent
reply
13 points

It works on my machine.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

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

Community stats

  • 5.3K

    Monthly active users

  • 1K

    Posts

  • 38K

    Comments