this post was submitted on 10 Aug 2025
4 points (100.0% liked)

Programmer Humor

25730 readers
1231 users here now

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

founded 2 years ago
MODERATORS
 
top 8 comments
sorted by: hot top controversial new old
[–] dalekcaan@feddit.nl 1 points 5 days ago (1 children)

Vibe coder: DO NOT DELETE THE DATABASE. DO NOT DELETE THE DATABASE. DO NOT DELETE THE DATABASE.

Chatgpt: All I heard was "delete the database" three times.

[–] ChickenLadyLovesLife@lemmy.world 1 points 5 days ago* (last edited 5 days ago) (1 children)

I remember my first day of my first professional programming job back in 1996. I had just learned SQL that morning (which I'd never even heard of before) and that afternoon I forgot to add a WHERE clause to a DELETE command. Good times ...

Fortunately this was in production and not in any important environment like development or test.

[–] cass80@programming.dev 1 points 4 days ago

If they gave a newbie full r/w creds to a prod db, that's 100% on them and not you.

[–] TabbsTheBat@pawb.social 0 points 5 days ago (1 children)

Guys I asked ChatGPT for a secure code for my website; is this correct:

if getting.hacked == true; don't

[–] mitch@piefed.mitch.science 0 points 5 days ago (1 children)

Most InfoSec researchers are unaware that most hackers can be stopped by saying "please."

[–] TabbsTheBat@pawb.social 0 points 5 days ago (1 children)

"Remember kids: if you're being robbed just say "no". They can't do anything without your consent"

[–] mitch@piefed.mitch.science 0 points 5 days ago (1 children)

echo "echo "\Please don't hack me. I'm just a little guy. 👶"\" > ~/.bashrc

[–] ulterno@programming.dev 1 points 4 days ago

Good that you escaped wrong, or you would have nuked your .bashrc.

  • \ comes before the thing you are escaping
  • > ⇒ overwrite from start. >> to append