News for hackers. Stuff that matters.
Re:How I Fired Myself by liquidise on Wednesday February 27, 2013 @12:16PM (#5293456)
The author makes mention of using a UI to connect to their db. If i was in a position over there i can see myself writing a script to clear out the tables i wanted. This reduces errors, but not the risk.
Re:How I Fired Myself by Cthulhu_ on Wednesday February 27, 2013 @01:05PM (#5293809)
And yet, the net result is the same; right-click, clear table, or ./clearTable.sh. Both are human actions, and both are fallible. What if some prankster edited clearTable.sh to do the users table instead of the raids table? What if he did it himself to test something?
Re:How I Fired Myself by chris_wot on Wednesday February 27, 2013 @03:39PM (#5294739)
Forget a prankster! What happens if the full RAID array fails that holds the database? No backups: dead company.
Re:How I Fired Myself by amputect on Wednesday February 27, 2013 @06:37PM (#5295849)
Heck when you put it that way, this guy actually did them a FAVOR. He ONLY wiped out the User table. The company was able to learn the value of backups, and they had enough data left to be able to partially recover it from the remaining tables, which is much better than the worst case scenario.
Re:How I Fired Myself by dsuth on Thursday February 28, 2013 @04:59AM (#5297980)
Do you think the company learned the value of backups, or do you think they learned to blame junior devs for fuckups? Sounds like they learned nothing, because no attempt was made to determine the root cause.
Re:How I Fired Myself by Aardwolf on Thursday February 28, 2013 @11:31AM (#5299383)
Arrow up, enter Or ctrl+r <something> enter Can be very dangerous if something other than your routine is in the bash history.
Re:How I Fired Myself by podperson on Thursday February 28, 2013 @12:01PM (#5299571)
Exactly. It's not like nothing bad ever happened from the command line ;-)

rm * .doc