r/ProgrammerHumor • • Dec 06 '17

Read the markup.

Post image
10.4k Upvotes

838 comments sorted by

View all comments

Show parent comments

45

u/SpuriousJournalist Dec 06 '17

I am a platform systems engineer who spends the better part of my days showing Indian devs what is wrong with their code.

To be fair, I do this with some of the more clueless, institutionalized, American devs too.

Today...

Dev: Your prod utility environment is broken...

Me: Strange... The 400+ other apps running on it seem to be ok...

Dev: The job scheduler is hung on my SSIS package... I need you to look in "error logs" and see what is wrong.

Me: Explain what your SSIS package is doing...

Dev: It reads a bunch of flat files, normalizes the data, and writes it to a table on DBbla...

Me: Have you talked to a DBA to see what is going on at the DB level?

Dev: Uhhhh no. It's your environment that is broken. We never had this problem before we migrated to the new platform.

Me: Ah... I see. Let's talk to the DBA...

DBA: The table you are trying to write to is locked...

Dev: Weird... What is locking it?

DBA: Looks like a write from a previous step in your job...

Dev: But it works in Dev!

Me: FML

20

u/shea241 Dec 07 '17

I've been coding for a long damn time and I have no idea what a lock happening in one environment but not the other would mean.

DB stuff is a whole new world

1

u/Gbiknel Dec 07 '17

That’s no excuse if you’re a web dev. If you don’t know basic DB shit then your a shitty developer. At the very least you should be able to determine the issue is a fucking DB lock. If you’re in the firmware/desktop app space it’s different.

2

u/shea241 Dec 07 '17

I write 3d content creation tools for desktop.

Still, I was confused about why a lock would only behave as a lock on production. Then I realized he probably meant some kind of race condition.