Earlier quoted context omitted.
Mine was a DELETE FROM Users; WHERE... Fun was had.
Usually the recommendation is to not start writing the DELETE query first. Write the SELECT query first and see the results. If you miss the WHERE clause, you will see that immediately. Then change SELECT * to DELETE. But I assume you have learned that lesson already :)
I Accidentally Deleted 7TB of Videos Before Going to Production
211–220 of 362 posts
Re: I Accidentally Deleted 7TB of Videos Before Going to Production
#212What negativity and arrogance in the comments here. Jeez, it's like no one HN ever made a mistake, a bunch of 10xers ninja programmers here. Please read this: >I also want to preface this whole post by saying that I'm a Junior Developer with less than one year of actual experience. Some of the things that might seem obvious to some might not be so for me, thanks! It's just some kid sharing a mistake they made and own…
But nope, they went right back to scripting and got it done.
Re: I Accidentally Deleted 7TB of Videos Before Going to Production
#213Re: I Accidentally Deleted 7TB of Videos Before Going to Production
#214Earlier quoted context omitted.
It has been edited. https://news.ycombinator.com/item?id=31271836
It still breaks the NDA: * Firstly, you don't have to name the company to break the NDA anyway (you are still disclosing information you aren't supposed to disclose regardless of if it can be linked back to the company). * Secondly, the client is still named on the front page of the website. * Thirdly, OP posted this with his real name that trivially links back to the dev shop he is working for. The site also has his…
Re: I Accidentally Deleted 7TB of Videos Before Going to Production
#215What negativity and arrogance in the comments here. Jeez, it's like no one HN ever made a mistake, a bunch of 10xers ninja programmers here. Please read this: >I also want to preface this whole post by saying that I'm a Junior Developer with less than one year of actual experience. Some of the things that might seem obvious to some might not be so for me, thanks! It's just some kid sharing a mistake they made and own…
Re: I Accidentally Deleted 7TB of Videos Before Going to Production
#216"What does this teach us? Well, it teaches me to do more diverse tests when doing destructive operations. It also should probably teach something to Vimeo and to my contractor but I doubt it will (and yes, the upload for some reason is still manual to this day. Go figure!)" So you wrote bad code, didn't test it properly, ran it on production on the Friday before a release and are blaming Vimeo and [name redacted]? An…
Re: I Accidentally Deleted 7TB of Videos Before Going to Production
#217What negativity and arrogance in the comments here. Jeez, it's like no one HN ever made a mistake, a bunch of 10xers ninja programmers here. Please read this: >I also want to preface this whole post by saying that I'm a Junior Developer with less than one year of actual experience. Some of the things that might seem obvious to some might not be so for me, thanks! It's just some kid sharing a mistake they made and own…
Re: I Accidentally Deleted 7TB of Videos Before Going to Production
#218So, “i am under NDA” but I reveal my client’s name and a lot of sensitive details about what we are doing. LOL.
Re: I Accidentally Deleted 7TB of Videos Before Going to Production
#219Hey, everyone, ease up. I have: 1) dropped a production database because I thought it was the test database. 2) screwed up a print job costing $100,000 in today’s money and had to do it again 3) crashed all of Facebook with a C++ bug. 4) crashed Facebook photo uploads, with a JavaScript bug, in my first month. 5) literally killed a startup’s cash flow and caused them to lose their merchant account because I over focu…