Live data from Hacker News

I Accidentally Deleted 7TB of Videos Before Going to Production

blog.thevinter.com

211–220 of 362 posts

Re: I Accidentally Deleted 7TB of Videos Before Going to Production

#211
post #191

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 :)

Yes, but it can't be stressed enough, always the first time for someone.

Re: I Accidentally Deleted 7TB of Videos Before Going to Production

#212

What 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…

I’m impressed by their commitment to automation. If that was me, once I realized that manually uploading from Gdrive to Vimeo would fix the problem, I probably would have just committed myself to manually doing that all weekend. It would feel safer and serve as a sort of penance for screwing up the automation the first time.

But nope, they went right back to scripting and got it done.

Re: I Accidentally Deleted 7TB of Videos Before Going to Production

#214
post #189

Earlier 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…

Not all NDAs have the same terms. I could write up and serve an NDA right now that still counts as an NDA yet permits everything in your list.

Re: I Accidentally Deleted 7TB of Videos Before Going to Production

#215

What 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…

[deleted]

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…

[deleted]

Re: I Accidentally Deleted 7TB of Videos Before Going to Production

#217

What 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…

I currently have about 12 years of experience, and a few years back I accidentally cleaned up GitLab's database a bit too well. I wouldn't be surprised if the people being dismissive simply never worked on a moderately complex and large system, and thus don't understand how easy it is to make these kinds of mistakes.

Re: I Accidentally Deleted 7TB of Videos Before Going to Production

#219

Hey, 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…

[deleted]
Post reply on HN