Junior dev fucks up badly

Tyler James
Tyler James

Today was my first day on the job as a Junior Software Developer and was my first non-internship position after university. Unfortunately i screwed up badly.

I was basically given a document detailing how to setup my local development environment. Which involves run a small script to create my own personal DB instance from some test data. After running the command i was supposed to copy the database url/password/username outputted by the command and configure my dev environment to point to that database. Unfortunately instead of copying the values outputted by the tool, i instead for whatever reason used the values the document had.

Unfortunately apparently those values were actually for the production database (why they are documented in the dev setup guide i have no idea). Then from my understanding that the tests add fake data, and clear existing data between test runs which basically cleared all the data from the production database. Honestly i had no idea what i did and it wasn't about 30 or so minutes after did someone actually figure out/realize what i did.

https://np.reddit.com/r/cscareerquestions/comments/6ez8ag/accidentally_destroyed_production_database_on/

Thought it was an interesting read and tech would be interested.

All urls found in this thread:
https://np.reddit.com/r/cscareerquestions/comments/6ez8ag/accidentally_destroyed_production_database_on/
https://www.youtube.com/watch?v=vT6wQFhLpro
David Richardson
David Richardson

And yes, he posted it on reddit. You don't have to like the site to read this.

Robert Gutierrez
Robert Gutierrez

This was clearly his fault, for fucking up so bad, and their fault for hiring such a fucking idiot.

No sympathy for him.

Jayden Jones
Jayden Jones

Situations like this happen more often than you think.
Within first couple of weeks they usually ask 'how i undo `drop table`?' or 'where is the trash folder on this server?'. They shit all over repositories also.

They should thank him unironically for revealing such security flaw. There should be no way for a one person to delete all the data.
If their DBAs are not retarded they should recover this database within a minute or so. So if it's a big deal to them it's better not to work with such people at all.

Adrian Powell
Adrian Powell

A lot of people seem to blame the CTO, most of them actually.

https://www.youtube.com/watch?v=vT6wQFhLpro

Lincoln Rodriguez
Lincoln Rodriguez

Anyone who's not a retarded pajeet would blame the CTO, you wouldn't have production creds laying around on a piece of paper, and you certainly wouldn't give them to a junior dev their first week. No doubt that if they handle financial information it's only a matter of time until all their clients information/credit card info gets leaked, because based on what happened there they probably have no security whatsoever.

Ryder Sullivan
Ryder Sullivan

Reddit

Fucking kill yourself

Lucas Ross
Lucas Ross

redditard fucks up
this deserves its own thread
Downboat

Luke Powell
Luke Powell

reddit
sage goes in all feilds

Lincoln Morgan
Lincoln Morgan

reddit

Aiden Russell
Aiden Russell

Remember to put downvote on the mail field.

Carson White
Carson White

niggers are animals

Mason Evans
Mason Evans

Wow, what the hell? I assumed that hey, maybe you faggots won't sperg out over the fact that the guy who screwed up posted his story on reddit. It's like you live in a total separate autistic world to spazz out like this. The fuck is wrong with you? If you don't like reddit (like I do) then you cannot read a single article from there that does not require you to view user replier and downvote anyone?

I can only discuss things that did not happen on reddit? My mind is just blown by this autism. Yelling "REDDIT" like this just proves you're trying too hard to fit in. I wonder why I keep visiting this site.

Zachary Ross
Zachary Ross

This is bait? Alright. Maybe I've outgrown imageboards.

Jonathan Ross
Jonathan Ross

also their fault for giving production credentials to a literal new hire

Cameron Baker
Cameron Baker

A junior hire should be able to trash about on their dev machine without affecting prod whatsoever. Even if he has the creds, he shouldn't be able to even ping prod's backend. Definitely the CTO's fault.

Gavin Murphy
Gavin Murphy

Somebody posted this reddit link in my company slack channel last week. It is 100% the fault of whoever OK'd the setup instructions. If you let production credentials into the wild, you deserve whatever happens to you. The CTO was covering his ass when the fired this new guy.

Lincoln Garcia
Lincoln Garcia

my old company hired a poo in loo web developer
he was basically my understudy because i was preparing to leave
sat in cubicle next to me, asking me questions all day
one day he asks me "how do i undo this"
look at his terminal
# rm -rf /
mfw
we used virtual work environments with backups, so he only lost an hour of work. but the guy would literally copy and paste commands from random chatrooms if he didn't want to ask me.

Sebastian Martin
Sebastian Martin

/tech/ is filled with ledditards
I thought it was a myth

Jackson Robinson
Jackson Robinson

It's relatively new, hopefully temporary

Colton Lopez
Colton Lopez

I'm inclined to go with this too. Very specific people in my office know the credentials to the prod databases and they don't just hand them out willy nilly to every new hire and intern. We have a dev database for a reason. We have a qa database for a reason. We have a stage database for a reason. It's not like it's super secret protected information or anything, they just don't go around broadcasting it because most people in the office do not need to know the prod database credentials. If they do, and they have a reason, all they have to do is ask the guy and they'll get set up.

All of this being said
tutorial about setting up personal DB seeded with test data
instead of clearing his own personal DB between test runs, he clears the "seed" DB instead

What kind of fucking retard.

Jace Russell
Jace Russell

bump

Eli Ortiz
Eli Ortiz

contentless bump for no discernible reason
Why?

Hudson King
Hudson King

sage

Ethan Parker
Ethan Parker

bye

Mason Rivera
Mason Rivera

So? Just restore from backup. Right?

Luis Carter
Luis Carter

Their backup restoration procedures failed them as well. This was a massive clusterfuck in the IT system and the responsibility for this is squarely on the CTO who presided over that system.

Ryder Watson
Ryder Watson

And the companies DBAs were proven incompetent as well by being incapable of rolling back a transaction, and the Sys Admins were proven incompetent as well by not having backups.

Kayden Brown
Kayden Brown

np
are ledditors so deluded they think this shit will actually deter any non-brain-damaged individual?

Disable AdBlock to view this page

Disable AdBlock to view this page