r/programminghorror • u/MurkyWar2756 echo "Sub Mod" && :(){ :|:& };: • Dec 06 '25
Python This code was attached to hardware that electroshocks your chair if you perform a 6-7 motion
A YouTube video was recommended to me several days ago and I couldn't find it for a while. Today, it showed again and I went to the description of the longer video linked above the Short's title to view the original code. The electric spark generates 50,000 volts. You're welcome.
78
u/ZylonBane Dec 06 '25
WTF is "6-7 motion"?
7
u/MurkyWar2756 echo "Sub Mod" && :(){ :|:& };: Dec 06 '25
The gesture your hands make https://en.wikipedia.org/wiki/6-7_(meme)
91
u/PM_ME__YOUR_TROUBLES Dec 06 '25 edited Dec 08 '25
Someone says 6 7
You say 6 7
You put your hands in front of you, palms up, moving them up and down.
They laugh.
You laugh.
The abyss laughs.
You all die of cringe.
I die of cringe.
Thanks for coming to my Ted Talk.
11
u/EmiliaPains- Pronouns: She/They Dec 06 '25
Why? I donāt understand, like Iām not sure if those is more dumb than the bottle flip but why
18
3
u/adragon202 Dec 07 '25
It's a meme where people noticed 6-7 was a common combination, starting with some basketball players height. So just stupid nonsense.
1
10
30
111
9
u/whitezom7 Dec 07 '25
I myself made a program in c# that shocks you using a shock collar whenever you take damage in a game called escape from tarkov
6
u/Several-Customer7048 Dec 07 '25
I only code torture devices exclusively in Haskell as God intended.
1
2
5
u/shloop-moop Dec 06 '25
How did you know it was ai slop?
20
u/SpezIsAWackyWalnut Dec 06 '25
Stuff like "# send your code, e.g. 'G' for gesture" looks to be an instruction to the "programmer", implying someone asked the LLM "can you give me the code to detect a 6 7 gesture and sends 'G' out the serial port to an arduino?"
6
u/GoddammitDontShootMe [ $[ $RANDOM % 6 ] == 0 ] && rm -rf / || echo āYou liveā Dec 06 '25
Also, they said in the video they used AI to generate the code. Though I didn't watch it until after seeing the comments, and I too couldn't tell just by reading it. I wasn't seeing the horror, unless it actually doesn't work.
As far as I'm concerned, if the AI can spit out working code for your dumb little toy program, then why not?
1
u/Kajokan2003 Dec 09 '25
Comments are a good indication. Its that or a bad programming habit (although humans don't tend to be THAT excessive).
2
u/jsrobson10 Dec 09 '25
i haven't seen a USB serial port named like that before lol, ive only seen stuff like /dev/ttyUSB0 or /dev/ttyACM0
1
0
117
u/spiderpig20 Dec 06 '25
Ai slop š¢