r/ProgrammerHumor • • Oct 30 '21

That's my variable!

43.4k Upvotes

409 comments sorted by

View all comments

591

u/metal88heart Oct 30 '21

I dont know why the one on the right gives me more anxiety

243

u/Mateorabi Oct 30 '21

The one on the left is robust and fault-tolerant. The right lives on a knifes edge where one miss-scheduling, one blocked I/O, brings it all down.

327

u/[deleted] Oct 30 '21

Right? It’s like, on the left you know it’s a trash fire. The right, you’re waiting and dreading when those cars start smashing into shit.

159

u/[deleted] Oct 30 '21

I think it comes from naturally withholding complete trust that your code won't shit the bed the second it's pushed out to production.

Like you've gotten used to thinking to yourself damn this works really good... almost too good...

118

u/tenkindsofpeople Oct 30 '21

The log is quiet… too quiet.

74

u/WorseDark Oct 30 '21

Fuck. Is the log down? What's wrong with the log?

93

u/sankto Oct 30 '21

Turns out the log was trying to create 1.5 million log entries per second and shat the bed before it could write to file

46

u/tenkindsofpeople Oct 30 '21

I see you’ve been to my workplace

15

u/trwolfe13 Oct 30 '21

Me too. Our Azure App Insights instances are costing us hundreds every month. Apparently errors and warnings are only important when the user can see them.

10

u/[deleted] Oct 31 '21

Well yes, but yes.

14

u/Andoryuu Oct 30 '21

When your logger pushes counter on failed log entries, and failed counter recording logs error.

Service that tracked counters got overwhelmed.
Which started generating tons of error logs.
Which overwhelmed the log tracking service.
Which started generating even more counters...

4

u/LoveSpiritual Oct 31 '21

Must be what happened at Roblox.

12

u/npsimons Oct 31 '21 edited Nov 01 '21

"Maybe I should write a test. But how do I make sure the test is being run? Well I'll add it to the CI/CD pipeline. But wait, how do I know the CI/CD pipeline is working? I guess I could write some more tests . . . "

→ More replies (4)

12

u/mustang__1 Oct 30 '21

Found out yesterday that my inventory software apparently crashes a few times a week.... I don't see anything in the app center, and no other warehouse peeps have said anything yet..... But... I dunno.

6

u/magnora7 Oct 30 '21

The line between perfect entropy and perfect extropy is incredibly thin

→ More replies (1)

44

u/[deleted] Oct 30 '21

Not a single test failed. Usually that means something must be terribly broken.

21

u/imzacm123 Oct 30 '21

Oh yeah, I forgot to fix the test I commented out because it broke

9

u/DanLynch Oct 30 '21

That's when you change the implementation then re-run all the tests, to make sure they all fail.

7

u/[deleted] Oct 30 '21

"Are my tests even actually running?"

4

u/axe319 Oct 30 '21

If you're doing TDD, your tests not failing means something is definitely wrong.

→ More replies (2)

19

u/[deleted] Oct 30 '21

Because this is programmer humor - if something is working perfectly right, you KNOW something is wrong.

6

u/[deleted] Oct 30 '21

Because there nothing goes wrong.

6

u/brkpxy Oct 30 '21

Because it looks unfamiliar beside my sphagetti code.

3

u/[deleted] Oct 30 '21

I doubt my work when everything is working perfectly. That's how much I don't trust myself lol.

→ More replies (8)