this post was submitted on 14 Jan 2025
555 points (99.6% liked)

Programmer Humor

32710 readers
425 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 33 comments
sorted by: hot top controversial new old
[–] bulwark 154 points 2 weeks ago (3 children)

Not quite as bad as texting all of Hawaii that missiles are inbound, but still interesting. Wonder what they're testing.

[–] Kbobabob 33 points 2 weeks ago

It's ads isn't it?

[–] [email protected] 12 points 2 weeks ago

I wouldn't be able to decide how to feel if told "missiles are inbound but still interesting". Deeply in panic or unhealthily curious?

[–] markstos 5 points 2 weeks ago (1 children)

Did see that recently LA kept sending out orders to evacuate and didn’t know the cause or how to stop them?

[–] [email protected] 8 points 2 weeks ago

My guess would be that their server was overheating.

[–] RedditWanderer 122 points 2 weeks ago (2 children)
[–] [email protected] 39 points 2 weeks ago* (last edited 2 weeks ago)

you can reach our support team here

Except for Dave, who's now pursuing new career opportunies elsewhere.

[–] [email protected] 25 points 2 weeks ago
[–] [email protected] 77 points 2 weeks ago (3 children)

Oh man, I did that at a midsize company as a jr. That's a right of passage. Informing millions of people that you're shit at testing. That was a fun conversation with my boss

[–] [email protected] 13 points 2 weeks ago (1 children)
[–] [email protected] 7 points 2 weeks ago

Your right 👍

[–] [email protected] 9 points 2 weeks ago* (last edited 2 weeks ago)

At my first job I was tasked to create a newsletter (for customers who had subscribed to it).
My boss told me when I'm done and he looked it over, I can send it out myself.
Used the wrong recipient list and sent it to literally every single e-mail address the company had on file.

When thousands of delivery failure notices, confused replies and angry demands to unsubscribe rolled in, my boss told all my colleagues to step outside the office, and then yelled at me for several minutes straight about how I jeopardized his business by trying to be a smartass and I should run everything by him first from now on. Then he called everyone back into the office and, in front of all of them, praised my initiative, work ethic, and go-getter attitude.

All in all, it was a pretty useful mistake. We could update our contact list, actually received lots of interest in the newsletter from people who hadn't subscribed, and I learnt that my boss is a psycho and could start planning my exit.

[–] [email protected] 2 points 2 weeks ago (1 children)

I think it's a senior developer mistake. Even at midsized company developers should not have a direct access to production environment.

[–] [email protected] 3 points 2 weeks ago

Email is kind of hard. There's usually only one API key to the email client, and there's no real safe way to call it. Personally over the years my approach is to have an internal library that reads what environment it is in, and then if it doesn't explicitly tell that it's in prod, it reroutes everything to safe email addresses.

[–] FourPacketsOfPeanuts 69 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

My first week at a major fund company I was assigned to an internal business tool used by thousands. I noticed all the company email addresses in the sandbox weren't correct, so I ran a script to correct them. Cue a call from C-level to my boss asking why he got a "email changed notification". Followed by another.. And another.. And another...

I went out to lunch

[–] [email protected] 39 points 2 weeks ago (1 children)

We hired a DBA that put a read lock on a production database table and went out to lunch.

[–] [email protected] 9 points 2 weeks ago

That's, you've really added value!

[–] [email protected] 6 points 2 weeks ago (1 children)

was this really your fault then?

[–] FourPacketsOfPeanuts 8 points 2 weeks ago

The "internal business tool" was a well known industry wide product that I had experience in. I should have known that changing an email address in any environment caused that new email address to be notified. It was my fault yes

[–] [email protected] 68 points 2 weeks ago (2 children)

Always make your test messages something like, "Test message, please ignore".

That way if it all goes wrong at least it looks like it was somewhat intentional.

[–] [email protected] 35 points 2 weeks ago (1 children)

I usually go with "Test. Mentioning the existence of this message can make you the target of all sorts of unpleasant things. Ignore this message or else.

You don't get it. You're still acknowledging the existence of the message since you're reading it. You still don't get it. Either this message exists, or you do. It's a zero-sum game. Do you enjoy existing?

Are you thinking about it? Wrong.

Test."

[–] [email protected] 9 points 2 weeks ago

I just make all my test messages Dirty Harry gifs

[–] RedditWanderer 8 points 2 weeks ago

I bet he learned more today than he did all of last year. One of us!

[–] [email protected] 36 points 2 weeks ago (1 children)
[–] atocci 42 points 2 weeks ago (1 children)
[–] [email protected] 22 points 2 weeks ago (1 children)
[–] [email protected] 19 points 2 weeks ago (2 children)

This is from Montreal’s south shore agglomeration:

[–] RedditWanderer 6 points 2 weeks ago

You're not gonna believe this but i was born in gpk haha, nice to see it here.

[–] [email protected] 15 points 2 weeks ago

Pls spotify hire me. I can do these things I swear

how get such a job to earn my stripes?

[–] [email protected] 14 points 2 weeks ago

That is so fucking funny.

[–] [email protected] 9 points 2 weeks ago

Everyone gets one.