Thanks to Dashlane for returning to advertise on this video! If you're techie enough to be watching this, you should be using a password manager: www.dashlane.com/tomscott
I used to have tons of gigabytes of downloads in my pc/downloads folder. There was some useless file right on this upper folder, and it came with an uninstaller. I activated the uninstaller to delete this old software. The uninstaller proceeded to delete every single file in pc/downloads. Instead of specifically deleting it's related files, it deleted everything in the directory. I was unable to restore anything except some thumbnails of images. Nowadays, I constantly always download stuff into new folders, never in a root directory. So if anything needs to be deleted I just delete the folder, not use any uninstaller.
or, you know, people who just don't have any valuable files that they'd care got deleted. my storage systems are always near empty from all the constant OS reinstalling which absolutely gets me used to not relying on any important information being stored there. so a storage failure is to me about as inconvenient as a fly on your screen might be to you. perks of digital minimalism.
That saying should NOT be used in regards to only programming. It will save you a lot of regret later backing up videos and images and important documents to the cloud, because once that hard drive dies, it's dead and has taken that storage into the ground with it.
I once deleted 27 TB of offsite backups because I didn't read the text next to a checkbox. We spent a week on the road going to every client to copy their backups on hard drives and another week to copy everything back to the server. Now I read everything before clicking "next" and make a conscious effort to pause and try to understand what I am doing... Those onoseconds follow you all your life, haha !
So there was one of these in a D&D rulebook. They had used Find/Replace the word "mage" with the word "wizard". This made funny instances, like damage being changed to "dawizard"
I broke out in a cold sweat half way through this. I had a boss once who did find and replace on a massive document that changed "I" to "we" because it was supposed to be written from the perspective of the company not the individual. There were gems like "socweal mobwelwety". It couldn't be rolled back for some reason.
the amount of second hand stress I got watching this video is wild. I'm impressed you're actually able to tell this story to literal millions of people
I came here to say this exact thing. Very stressful to watch! I remember modifying a person's HDD partition and loosing everything. Luckily I was able to recover the lost partition after hours of research
I just had the worst onosecond of my life, it involved a panicked client on the phone and a lot of potential loss of data, but everything ultimately turned out fine because this video made me decide to make a backup before I got to work. (I'm not being dramatic, remembering this video is genuinely what made me reconsider and make a backup anyway). It was a ordinary system update that had no right to brick the whole system, but thanks to you Tom it only really cost us 30 minutes of downtime.
@@RustOnWheels My terminal sessions all start up with the prompt; "> This terminal window is intentionally blank." "cls" puts that text back, too. I think it's best to be clear about things like this, just in case anyone else is looking over your shoulder. "This page intentionally says content" is to my mind a lot clearer than just the single word 'content'. So the fix to past-tense-Tom's problem is quite clear to my mind...
this just reminds me of the one time that one of the entire toy story movies was deleted accidentally by pixar but it was ultimately okay because one of the artists had made a copy of the ENTIRE THING and brought it home to work on it (which was Very Not Allowed, but it ended up saving their ass) and they were able to resume work with that.
funny enough, I was just returning to this video, which I had seen previously, because I remembered it when watching a video about Pixar almost losing the entirety of Toy Story 2. this is the third contrived coincidence I've had today. It's been a weird day.
My worst one was when I was working on a server, and decided to use the console to get rid of all the GIF files in a directory. I wanted to type "rm *.gif" but I didn't let go of the shift in time, and the command became "rm *>gif". That means 'delete everything in the directory and log output to a file called gif'...
The splat (*) is dangerous with root privilege. There are some nasty surprises when logged in as root in some systems, too. I don't recall on exactly which one, but the current directory dot (.) can be crawled upward in a recursive command, as the parent directory dot-dot (..) is matched by ./.*. Weird behavior, but very bad in some cases, e.g. removing or modifying dot files: rm -r ./.*
Back in the floppy disk era, I would grab grad students' thesis disks and announce I was going to degauss them, thus permanently wiping all data from them. If they would panic in terror (many did), I would say that I was just joking about degaussing, but maybe you should make backups of your precious data. That was after more than one grad student had to retype their thesis because a massive floppy failure had caused it to be lost. If the data is important enough to panic over the thought of losing it, it is important enough to back up.
That is diabolical. This chaotic approach to teaching is among my favorites because emotional stress is a powerful motivator for learning. The main issue with it is fatigue, but for backups I think it's justified.
@@Twisted_Code After two grad students had to retype a thesis because they kept only a single copy on a floppy that went bad, I decided I was doing them a favor by scaring them into making backup copies.
Every young engineer needs a "oh ____, I'm going to dry heave into this garbage can for a minute, then never make this mistake again" moment. I'll never forget mine.
as an IT guy myself; let me in on the secret language we apply: when we are curing and shouting profanities at the system we're working with, usually that means things are going great. Once we very quietly say 'oops' or ' o no' however.... that's usually the point where you should start panicking.
my personal favourite is the soft "ahh..". customers or clients will probably just brush it off, but your co-workers know exactly what's going on, and usually send a couple pity-glances your way.
@@hansamitamajee1930 No you couldn't because then you replace 'content' with 'content'. Fill a page with 1s and 2s. Than replace the 2s with 1s. If I follow your logic after that you could replace the 1s with 2s and everything will be the exact same as before.
At the other end of the spectrum, there is the smug feeling that you can experience when something goes wrong and you DO have a working backup. Last time it happened to me, my colleagues thought I had gone mental as I danced a little jig around my desk.
Or what about that moment when you are someone who makes backups, something goes horribly wrong, and you find out your last backup was from two weeks ago and now you have to scroll through your dev twitter feed to figure out what minor features were just lost.
Tom: "I was young and I was careless." Person just now joining the conversation: "Oh shoot, what'd you do?" Tom: *sighs with shame* "I worked on the _live database."_
Everyother: "I was young, I drank much and didn't think about consequences..." Tom: "I was young, I worked on a live database, with no transaction and didn't think about consequences..."
Worst moment I had wasn't actually a typo, but still fits the theme of "always have a backup". I was working on a huge arrangement of various songs from a popular television show at the time. It was going to be a gift to a friend that he's (hopefully) have his HS's band play at some point. Well, after working for at least 4 hours straight adding all kinds of notes, edits, and other things, I was about halfway done with the whole thing (I had worked on it for about 6 months before this). Well, I was working on all of this on my laptop in 2014, and my laptop was from a few years earlier (2010 I think): earlier enough that it still had a user removable battery. I had recently replaced the battery since the old one lost its charge capacity. What I didn't do, however, was made sure that the battery had been locked into place. So, I save the file after all this work, and slide the laptop off my lap and put it down on my bed to get a soda or whatever. And... yup you guessed it. The battery came out, shutting the whole thing off, and RIGHT in the middle of saving an entire day's work. I didn't even realize until I came back with my soda. So, I put the thing back in as fast as I could, and boot it back up. I see that my file was still there, but when I go to open it... ERROR: This file is corrupted and cannot be opened. After panicking internally, I remember that I did have a backup on an old hard drive... from over a month ago. I still had the file, but now, over a month's hard work was gone. Still haven't gone back to that file 8 years later.
The reason why even something as NTFS doesn't do move operations. It does copy and delete operations. And only in the end after everything is done does the old file get deleted. If you have a power loss in the middle of operation you don't end up with two half files and a tiny piece between them missing.
UGH reminded me of that time in the middle of an online music theory exam the pc crashed while i hit the key for a minim so i ended up just submitting over 70 bars of just single note minims sobbing
Toy Story 2 was almost wiped due to an oh no moment of "sudo rm -fr *". Their backups were not working, fortunately someone who was pregnant was working from home and had most of the data on her home PC.
I always remember a colleague once saying "every time a program I've written does something wrong, it's because it's doing exactly the wrong thing I told it to".
I'd say that's it about 99% of the time. There's always this 1% of some nasty bug/error in some otherwise great library that they didn't bother fixing or mentioning anywhere
"Bugs"? I think you mean, F e a t u r e s ! Even better when applications are written expecting the bugs to function that way. Then years later when bugs are fixed, DLLs updated ... the App breaks and you have ~absolutely~ no idea what's wrong or how to fix it.
That 's why i hate most of raid solutions in NAS. If you do a genuine mistake, the mistake is backuped and replicated everywhere. Those technologies are fault tolerant, not backup tolerant. Asynchronous redondency is key.
I've experienced at least once instance of a program doing something wrong because a bit was flipped. Due to cosmic rays or voltage instability or hardware issues - I do not know.
@@CChallinor Not a backup 'til it's restored, been used for at LEAST a few years, and let's add in that the hard disk it's on should probably start degrading physically before we call ourselves certain
The closest I've come to testing this is accidentally nuking a dev server database during a "routine" upgrade at 11pm at night. Upgrade involved getting new version of k8s and the fact that the instance had no SSD assigned to it and was writing to memory was discovered after everything came back blank. Fortunately backups did work, and the worst part of the incident turned out to be the timing. See, 11pm was also when the last coffee shop around closed, meaning I had to do a full manual recovery on gas station coffee. We established better protocol for verifying we had good backups before running upgrades. All of the work on our live server went without a glitch. Startups are fun. Never a dull moment.
Far less extreme, but I was once an admin for an art forum when I was about 13 or 14, and I was known for changing my online name really often. All admins had access to the website, so I'd go into the front page and change my name and the little effects that went with it. One time I messed up, I don't really remember what went wrong, but I ended up replacing every admin and creator's name with mine, and making the background one huge stretched out picture of my avatar. I completely panicked and deleted the whole thing, which was worse, because I didn't copy any of the links or info from the original, so I couldn't even replace it. I literally spent a whole day crying and panicking because I didn't want them to kick me out, because I was an emotional teenager. I lied and said the page got deleted and they ended up just saying, "oh ok, guess well do a new one"
The "not wanting everything you ever do to be saved" discussion reminded me of the time I was at work, regression-testing and conversing on Twitter & Facebook the side to give my brain the occasional break. I copied a snippet of the Twitter conversation with the intent of pasting it to my Facebook friend but when I saw that my Facebook friend was AFK, I went back to regression-testing. And that's how "Tbh I've always kind of had a thing for [insert kink here]" got pasted into a regression test spreadsheet that everyone on the QA team had access to -- as far as I know, I Ctrl-Z'ed quickly enough that Google didn't save it, but hoo boy was it close.
My onosecond was when I went out of the math test of the "baccalauréat" (it's a national exam that French students pass at the end of high school, it has a high symbolic value), and my friend tells me "you must have found the last exercise super easy, as a programmer". I hadn't turned the last page...
I almost had a moment like that, was sat in a maths exam and had “finished” the paper, so just sat there for a while... until I turned to the back of the paper and saw another question! Managed to finish it, but that’s one of the better moments in my exam history...
Worst computer mistakes with actual consequences iv ever made have been usually been after 24-48+ hrs of insomnia. Tho ild certainly never forget the good old common opps i pressed the wrong key. Now why has this program decided to ignore its setting on auto saving.
It's funny to me that you never point out that the backticks weren't even necessary. You were showing off by being extra safe and that enabled your mistake.
I was making a t-shirt as a Christmas gift for my sister-in-law, who is Filipino. I was designing it on the computer, and it was supposed to say "World's Greatest Tita" But I typed an "s" instead of an "a" on the word "Tita". Fortunately, I caught it right away. But that would have been a really awkward present for my sister-in-law to receive from me at Christmas.
My brother and I didn't speak for 2+ years because of a missing *_hyphen_* - it was the difference between _"re-sent"_ and _"resent"_ . . . as in, _"I resent that email"_ rather than _"I re-sent that email"_ . . . 😣 When we finally realized the mutually-silly mistake we'd made, we had a good chuckle... but our relationship hasn't been the same ever since and it's looking like I'll never see him again. 😢 Details matter.
> _"Details matter."_ So does error correction. Upon seeing a single detail out of place, sane people seek clarification instead of making a sudden and confident mental swerve.
That is the worst feeling ever. I remember at one point in grad school I'd been working on a paper. I'd procrastinated, as usual, so I spent most of the night in the student lounge at the library working away. I'd gone maybe 5-6 pages since my last save and decided to take a break. I got up to go down to the coffee shop and ended up seeing a friend and chatting for a while. When I got back, my battery had died. I plugged it in, restarted it, and there was nothing. I had to beg for a one-day extension from my professor, but it was a lesson I learned well.
@@tekvax01 I once created a temporary table with a name that was just a little too similar to the content table of a forum. And yup, then accidentally deleted the wrong table... Fortunately there were backups, but that was when I learnt the same lesson Tom is talking about.
Backticks as a syntactic element is the most asinine idea ever that has risen from UNIX heritage. The difference is literally 1-2 pixels on a standard terminal font and you can't even type them easily in all keyboard layouts around the world.
@@hansamitamajee1930 no you could not, it changed ~5000 fields to "content"... so your solution would replace all instances of 'content' with '---' 😆 so the articles would be '---' repeated loads of times, and that's why it's so horrible
In today's news, someone at Cloudstrike, an antivirus firm that had software on many major businesses, had an ohnosecond as a patch disabled a great many systems, including airports, emergency services and hospitals in no small part.
I once deleted all the files on my tablet, just because they swapped the 'yes' and 'no' buttons around after an update. I hate my muscle memory sometimes.
I once accidentally deleted a whole live database instead of the test one. I had to restore from a backup then email everyone in the company and ask them to redo their timesheets for the whole week. Onosecond is a very polite way of saying what I said in the second immediately after realising what I'd done!
I did a similar mistake on a couple hundred player Minecraft server several years ago, where I had to roll back one tiny thing, but I hadn't defined radius for the command, so I accidentally rolled back the whole server, which caused a glitch with the plugin and every single block entity data was corrupted, for example all the chests were emptied. The command couldn't be undone and the server owner didn't have any kind of back ups. Even though it was such a small mistake, I was banned from the server forever. Gladly it's just a game, but I did get quite a few players upset. Actual back ups are quite important even if you have such a roll back system.
Honestly, I'd say that's the owner's fault than yours. How can you not have a simple backup plugin? Or hell, just back it up manually if you really wanted.
I don't think that's right, knowing there's a backup of someone's files allows me to think more in the brute force direction of fixing a problem, just go for the EZ clap you know
Just to add my 2 cents on to this excellent lesson, everybody working on a project should also take responsibility for it. Someone else making the final mistake doesn't mean that you couldn't have prevented it. If anyone else had suggested and/or followed through on making a backup of the database themselves, then the overconfidence of a teenager couldn't have undone all that work. Often, you aren't in a position to actually take the preventative action. But you should suggest it if no one else has. It feels nice to be part of team that covers your back, that catches you when you're about to make a mistake.
That’s the thing about being accountable. If there’s a situation that you can foresee and can take steps to mitigate/avoid but don’t, you can blame the people who actually did the mistake and avoid any consequences, but the fact remains that you could have prevented it yet didn’t. One of the reasons why I dislike the “not my problem” mindset...
I used to work for an alarm system company. I was working on the door-access system we had installed at a large computer manufacturer (with cow spotted boxes). I thought I issued a command to get a basic report from each panel. Instead, I issued a command to factory reset each panel (clear all settings and card information). I locked every door in the building, including both ways (the door couldn't be opened from either side) to the "chip room," where they secured the CPUs for machines until they needed them. I was at the security desk and within 30 seconds the phone started ringing more-or-less continuously. For the next 10 years every time I was working on any critical system, my stomach would clench if a phone rang. BTW, I still remember the commands -- I send "I = 1 R" I should have send "R = 1 I"
Seriously, whoever designed that interface was having a laugh. Just waiting for someone to do exactly what you did. That is possibly the worst designed command interface I have ever Heard of. And I worked on things were pressing b, then m, then enter, could spend $100,000 with no undo.
There was this time I created an loop for sending emails to the dev team in case of an error because of a "lock", but never limited the number of iterations, it would just send emails as long as a "lock" existed and the program was trying to use the locked content (the company used emails for this stuff). But there was a mistake in my code that locked the content and never unlocked it in some edge cases. I tested the "happy paths" and it worked so I placed it in prodution environment, in a friday. The outcome was *13'000 emails* on *every Dev Team member inbox* (about 7 people), which exceeded the sent email limit the provider offered for the month. So for the rest of the month, no one could send emails using the company address, including important spreedsheets that other systems generated and sent to managers throught an unified system's email account. Realizing it by monday was my worst onomoment to date.
I had a similar issue back in the day. We ran a competition on a website for a client where 25 people would be randomly picked to win a gameboy. There was 2000 entrants and I wrote some code to send the winning email to the 25 winning users. Unfortunately I did the complete opposite and sent it to every entrant except for the 25 users. The company decided that they had to swallow the loss and gave out nearly 2000 gameboys to the actual losers. Didn’t get fired but the worst moment of my dev career. Such a horrible sinking feeling at the moment you realise what you’ve done. Got extremely drunk that night
Well, sometimes the only way to really test a backup is a restore. So. Do you have a duplicate system you can restore to? Oh.. that's not in the budget...
It's like when I accidentally typed in the word 'an' where 'a' was needed, so automatically I set an autocorrect from 'an' to 'a'. I then realised what happened and tried to compensate for it by setting autocorrect to make every 'a' into 'an', which made the problem even worse
It's like when I anccidentanlly typed in the word 'an' where 'an' wans needed, so anutomanticanlly I set an anutocorrect from 'an' to 'an'. I then reanlised whant hanppened and tried to compensante for it by setting anutocorrect to manke every 'an' into 'an', which mande the problem even worse
It’s like when I anccidentanlly typed in the word ‘an’ where ‘an’ wans needed, so anutomanticanlly I set an anutocorrect from ‘an’ to ‘an’. I then reanlised whant hanppened and tried to compensante for it by setting anutocorrect to manke every ‘an’ into ‘an’ which mande the problem even worse
This reminds me of Master Duel where they used search & replace to swap "Magic" to "Spell" and for a short time there was a "Dark Spellian" series of cards
Or as it happened in my country a few years ago: The second after you send two passenger trains toward a head-on collision and there's no way to stop them, because the radio has been malfunctioning all day long.
I love the fact that this belongs to 'The Basics' playlist. Teams need to understand that no matter how defensively you code, humans make errors, and that is a constant factor that needs to be taken into consideration.
Being in tech and hearing the phrase "working in live code/database" made me immediately anxious. In my job we call it "testing in production", also known as "being a clown".
@@IceMetalPunk It doesn't matter how innocuous your mistake is. If you wipe out hundreds of hours of work, you deserve to be fired and your name should be put on every "do not hire" list your boss can find. You do not deserve to work in this field. The one thing you *do* deserve is scorn, hatred, disappointment, and failure.
Those volunteers work was not wasted, it gave you the ability to warn and educate millions of people. Their work was more consequential than they realized.
Even if Tom had never made this video, it would have taught THEM a valuable lesson, too. I bet the majority of them learned to back up their work after having to re-do everything they had made.
"Check your backup" - this cannot be overstated. I've had multiple times in my working career that "backups were being made," but they were not valid. One cloud provider I used for CRM suddenly replaced all of my customer records with one single other customer record (not even _my_ customer!) I called them "where did all my contacts go?" "Oh, we had a server issue overnight. But we restored from backup, so you're all good now!" "No, all of my contacts are duplicates of a single entry. All of my appointments, past and *future* list a single duplicated customer. Oh, the customers are different records, but my people have no way of knowing who the actual customer they should be contacting is." "No, we restored, everything's good." "LOOK AT MY DATASET! EVERYTHING IS NOT GOOD!" "Oh. Oooohhhhh...." Thankfully, the system was set up to email each of my employees every time an appointment was set, with the appointment date/time, customer name and contact info. I had those set to send copies to a central email address for record retention purposes. The cloud CRM company had no actually-valid backup. They had no internal way to restore. After a few days of back and forth, I .zipped up all my appointment confirmation emails, send them off to the cloud CRM company. I figured they'd have some IT engineer write up a script to do some data comparison and restore. Apparently not. Apparently they had people manually going in and updating by hand. It took three weeks to get the dataset back. The moment it was done, I exported my data and cancelled my contract with that company.
wow that's terrible. i thought cloud providers were supposed to be especially good with backups. not that i trust cloud providers. did they go bankrupt after that?
we had a major outage for all our dev and test environments a few months ago. One of the disks in a Raid had failed and when they changed it out they caused a cascade failure across the LUN. No problem because we use a household name provider to manage all this in their world beating enterprise cloud who justify charging £100,000 per month for just such instances. Actually a big problem: it took nearly 3 months and a team of 20 of *our* people to support their engineers in getting the systems back because of the way they had structured the storage. They hadn't refreshed the hardware when they were supposed to, hadn't maintained the backup set and didn't understand the complexities of the environment they were paid to manage. Now the lawyers are making another fortune arguing about who's going to pay the bill and we can't change providers because they, clearly, have no way of moving our environments safely. I never really trusted Cloud providers but now I actively dislike them.
Anonymous Freak Even as a seasoned IT veteran this can still bite you. I WAS (emphasis mine) using AWS Glacier for long term backups on my Synology NAS. So I decided to do a test restore to make sure things were in order. Much to my surprise you could ONLY restore to the original file path. You could not restore to an alternate location to test or compare. Ok, fine. I have two units so I tried the restore on the second unit. Remember that it takes 3-4 hours to initialize the catalog on a new unit. Yay Glacier. Much to my surprise the creation and modification dates of the restored files were not retained. Each file was time stamped with the current date. Whut? On top of that, when you try to delete the archives in Glacier it doesn’t clean up properly so you have to install the AWS command line utilities and manually delete them which takes hours. Lesson learned. Never assume a commercial backup solution is stable or accurate. Test. Test. Test. Synology should have higher standards in software THEY author and recommend on THEIR products.
The 'cloud' is just someone else's server - which you have no control over. Put your data in the 'cloud' and you are putting your company's survival in someone else's hands - someone you don't know, and someone to whom you are just a name and number.
When you consider how much harder it would be to merge without git, I think just is perfectly appropriate, even though it's clearly an oversimplification.
I was expecting something along the lines of "There was a file with a dangerous SQL command that was left around but commented out with -- and I accidentally commented it back in and got it to run".
@Michael Darrow I was more thinking about raw SQL scripts. "--" is the start of a line comment in SQL. So remove those characters and whatever comes after them may suddenly be executed as SQL again.
The Chernobyl reactor had a fundamental design flaw the operators didn't knew of. It was only mentioned in a footnote in the manual and not even there it was explained well enough to think that something this catasthropic would happen.
Thanks to Dashlane for returning to advertise on this video! If you're techie enough to be watching this, you should be using a password manager: www.dashlane.com/tomscott
i am so cool
Tom Scott 1 week ago
Video: *_31 seconds ago_*
Tom Scott: *_1 week ago_*
*_Wait, that's illegal. Tom Scott is a confirmed time traveller?!?_*
Tom Scott be like: *_The laws of time are mine_*
͔ it must have been unlisted before and now it's public
There are two types of people: those who backup, and those have not lost data yet.
Can confirm... Source: Lost my data once and now have multiple versions of files I need
I used to have tons of gigabytes of downloads in my pc/downloads folder. There was some useless file right on this upper folder, and it came with an uninstaller. I activated the uninstaller to delete this old software.
The uninstaller proceeded to delete every single file in pc/downloads. Instead of specifically deleting it's related files, it deleted everything in the directory. I was unable to restore anything except some thumbnails of images.
Nowadays, I constantly always download stuff into new folders, never in a root directory. So if anything needs to be deleted I just delete the folder, not use any uninstaller.
or, you know, people who just don't have any valuable files that they'd care got deleted. my storage systems are always near empty from all the constant OS reinstalling which absolutely gets me used to not relying on any important information being stored there. so a storage failure is to me about as inconvenient as a fly on your screen might be to you. perks of digital minimalism.
I always think about back up but never do and never lost my data yet hopefully never
I'm the second.
There is an old saying in programming:
"You either do backups already, or you gonna start doing backups"
I've known that as: "there are two kinds of people, those who have lost data and those who are about to lose it".
@@fadetounforgiven also "There are 2 types of people, those who make backups and those who are going to"
Or you accept the mortality of data
"There is only 10 types of DB admins, those who already make backups, and those who will make backups"
That saying should NOT be used in regards to only programming. It will save you a lot of regret later backing up videos and images and important documents to the cloud, because once that hard drive dies, it's dead and has taken that storage into the ground with it.
I once deleted 27 TB of offsite backups because I didn't read the text next to a checkbox.
We spent a week on the road going to every client to copy their backups on hard drives and another week to copy everything back to the server.
Now I read everything before clicking "next" and make a conscious effort to pause and try to understand what I am doing...
Those onoseconds follow you all your life, haha !
Wow... bad luck, buddy
F
@@BriManeely Unfortunately it wasn't bad luck but like Tom said : overconfidence. I should have asked my colleagues for advice :/
Are everything okay now mate?
Luckily it was just offsite backup so no data was lost people needed ?
So there was one of these in a D&D rulebook. They had used Find/Replace the word "mage" with the word "wizard". This made funny instances, like damage being changed to "dawizard"
That’s a awizarding example of ducking autocorrect
must've created some nice mental iwizards
Teferi moment
I would have done " mage ". Notice the spaces on each side of the word? 🤦
@@Anonymous-df8it nah, use a REGEX
I broke out in a cold sweat half way through this. I had a boss once who did find and replace on a massive document that changed "I" to "we" because it was supposed to be written from the perspective of the company not the individual. There were gems like "socweal mobwelwety". It couldn't be rolled back for some reason.
Just replace we with I again, what can possibly go wrong?!
HAHAHAHAHA
@@bassam_salim Just make sure to remove every other author from the mentions, or people might get confused!
"Playing the Wii" becomes "Playweng the Wwewe"
This reads like uwu-speak.
I love it
"The sort of lesson you only learn once"
Tom, you underestimate my negligence.
Tom should I quit youtube my friends keep making fun of me for it
tom, you underestimated my ignorance
yep, i've had this exact feeling maybe three times in the last six months.
i think you’re overconfident in your negligence. a very dangerous combination for typos...
Then you haven't actually learned it.
gotta say 5000 articles containing only the word “content” just sounds like a high-effort shitpost
Yes
low-effort*
Only needed a typo :D
content
content
Content
the amount of second hand stress I got watching this video is wild. I'm impressed you're actually able to tell this story to literal millions of people
Same! Gotta wait a bit for my blood pressure to settle back down a bit.
Had to like this, exorcise that Satanic 666.
I came here to say this exact thing.
Very stressful to watch!
I remember modifying a person's HDD partition and loosing everything. Luckily I was able to recover the lost partition after hours of research
Absolutely!! Pulse still didn't return to normal even 3 minutes after watching!
living vicariously through someone else's suffering
coding is like making wishes to a magic Genie, you have to be as specific as possible and you have to make sure there are no mistakes within the wish.
Processors actually contain miniature monkey paws, transistors are make-believe.
Yes this is factually
Nah MySQL just sucks
And then it dosent work for no reason.
like trying to get a starbucks worker to not call you something fuckin stupid
"There are two types of people in this world. Those who make backups, and those who will start making them."
Version history in google docs does this. Saving multiple backups based on the time you edited.
@@c0ldc0ne what about the other 1000
@@c0ldc0ne
And those who didn't know that this joke was actually about ternary.
There is the third type of people: the one who makes backups of backups that fail to recover.
@@PeterNjeim Subtle, that. Thanks for making my day. 👋 😉 👍
Once I was ending an email with "Regards," and realized how close the "t" and "g" keys are to each other.
This made me laugh out loud. Thanks for sharing it
Made me laugh
Funny, did laugh
I don't get it.... I must be regarded......
....Ragher hithly for my innocence and humor....
That is hilarious
I just had the worst onosecond of my life, it involved a panicked client on the phone and a lot of potential loss of data, but everything ultimately turned out fine because this video made me decide to make a backup before I got to work. (I'm not being dramatic, remembering this video is genuinely what made me reconsider and make a backup anyway). It was a ordinary system update that had no right to brick the whole system, but thanks to you Tom it only really cost us 30 minutes of downtime.
friends don't let friends forget to do a backup.
On the other hand, a whole website where every article just says "content" is hilarious.
This page intentionally says content
There's a lot of content on this website
@@RustOnWheels My terminal sessions all start up with the prompt; "> This terminal window is intentionally blank."
"cls" puts that text back, too. I think it's best to be clear about things like this, just in case anyone else is looking over your shoulder.
"This page intentionally says content" is to my mind a lot clearer than just the single word 'content'. So the fix to past-tense-Tom's problem is quite clear to my mind...
I heard you like content. Here's some content for your content.
@@willprae2992 I put content into your content now you can have content while reading content.
When you work in a company, there is also the wasntmesecond when your colleague right next to you has an onosecond.
Especially when that colleauge want to throw you under the bus.
@@babablacksheep3950 Or a bunch of buses glued randomly into a diary?
Seeing a huge fuckup happening and knowing it isn't in any way your fault is one of the sweetest feelings there are.
Shaggysecond?
whoeversmeltitdealtitsecond
"I replaced all 5000 files with content"
"What's the problem then?"
"With 'Content' "
"Oh."
I replaced them all with 'content' instead of `content`
No.
second
@Pk Shaz that's literally what it means :D
"oh no second"
@@stasyandr563 ha, nice one
this just reminds me of the one time that one of the entire toy story movies was deleted accidentally by pixar but it was ultimately okay because one of the artists had made a copy of the ENTIRE THING and brought it home to work on it (which was Very Not Allowed, but it ended up saving their ass) and they were able to resume work with that.
is it now allowed?
@@zombieslayer1468 Almost certainly not. The NDAs they have their animators sign are WILD. That's like, fireable offence x10.
The artist in question was taking care of her newborn child, so it made perfect sense for her to work from home
funny enough, I was just returning to this video, which I had seen previously, because I remembered it when watching a video about Pixar almost losing the entirety of Toy Story 2.
this is the third contrived coincidence I've had today. It's been a weird day.
This person was also fired recently from Pixar for something, but idr why
I can just imagine someone trying to access a file and is just presented with "content", then it happens again, and again...
content content content content content
content
content content content
Tom's going to have a heart attack reading this comment thread
@AUltimateHorizonAirman
That 0.001% became 100% the moment I clicked on your name and landed at your channel.
Imagine creating 5798 rows of content in 0.01 seconds. Productivity achieved.
😎👍
😎👍
😎👍
Best comment
😎👍
I love how onosecond looks like one second has been misspelled
i thought that too, when it came up on screen i thought that was the typo
MysticalMisfit
Same
it's the "oh no" -second
I am Yashasvi and my under the breath reaction
OnO wots dis?
My worst one was when I was working on a server, and decided to use the console to get rid of all the GIF files in a directory. I wanted to type "rm *.gif" but I didn't let go of the shift in time, and the command became "rm *>gif". That means 'delete everything in the directory and log output to a file called gif'...
The splat (*) is dangerous with root privilege. There are some nasty surprises when logged in as root in some systems, too. I don't recall on exactly which one, but the current directory dot (.) can be crawled upward in a recursive command, as the parent directory dot-dot (..) is matched by ./.*. Weird behavior, but very bad in some cases, e.g. removing or modifying dot files: rm -r ./.*
The onosecond, more commonly known as wildly smashing ctrl z even when you know the website doesnt support that
I sometimes use French keyboard where Ctrl Z closes the window, you can imaging how many times I accidentally lost hours worth of work.
@@ibraced1243 aw
@@ibraced1243 who tf made that a thing!?!?
@@ibraced1243 Just undo closing the window
Thinking it will work , when you know it won't ..but it's the last thing you can try doing...
Video title should be: *Tom Scott, 'content' creator.*
Totally underrated comment.
I am content with this
Your comment is great content.
Content
@@Yalikejazzboi grow up bender
I literally thought “onosecond” was the worst typo lmao
same lmao
same here
Same
Yess
Shahmir Hassan my my, how can I resist ya?
I saw a physical copy of "The Lord of The Flies" that had every instance of the letters "iv" replaced with "ChapterIV"
omfg😭😭
I can safely say ChapterIVe never made a mistake like that before.
gChapterIVe me those fChapterIVe survChapterIVal tips
That's hilarious.
Alternate title: How I once became the most efficient content-producer.
Literally!
HAHAHAHA
'content' producer
Took me a moment XD
I read this before I watched the video and didn't get it until I watched it... Well done. 🤣
Calling Tom a "Content Creator" has a whole different meaning for him.
content
content
Content
*C O N T E N T*
Content
this makes me way too nervous
Howdy doo
As a Back End dev, this makes my knees sweat
Hi
@@theramendutchman 7h
Y
Back in the floppy disk era, I would grab grad students' thesis disks and announce I was going to degauss them, thus permanently wiping all data from them. If they would panic in terror (many did), I would say that I was just joking about degaussing, but maybe you should make backups of your precious data. That was after more than one grad student had to retype their thesis because a massive floppy failure had caused it to be lost.
If the data is important enough to panic over the thought of losing it, it is important enough to back up.
That is diabolical. This chaotic approach to teaching is among my favorites because emotional stress is a powerful motivator for learning. The main issue with it is fatigue, but for backups I think it's justified.
@@Twisted_Code After two grad students had to retype a thesis because they kept only a single copy on a floppy that went bad, I decided I was doing them a favor by scaring them into making backup copies.
Shows how wholesome Tom is: most of us don’t say 'Oh no' in that second...
it’s not an onosecond, it’s an ofucksecond
@@bretsutherlandsterriblemem8439 I'd refer to it as a buggersecond.
You've never watched the Park Bench..
@@hyweljones718 I refer to is as a FUUUUU---
second
I went "oh sh*t that was important" then i cried
clicked on this video thinking "how long is an onosecond?"
not disappointed.
An eternity.
The rest of his life, it sounds like
It is simultaneously too long and not long enough.
I thought it meant a nanosecond
To an outside observer, it's approximately 1 second.
To someone experiencing an onosecond, approximately their entire life.
I was waiting for, "Fortunately.... " It never came.
Unfortunately... we never heard fortunately...
666 likes, let’s not make Satan mad shall we?
@@nufcgalore1474 Yes... It's amazing how every comment with over 700 likes has at some point had exactly 666 likes isn't it?
@@Vousie If we're being exact, 667 would arguably be a better number to use in your comment
Fortunately, I wasn't paying them.
Every young engineer needs a "oh ____, I'm going to dry heave into this garbage can for a minute, then never make this mistake again" moment. I'll never forget mine.
what was yours?
@@tacticalAneurysmguess we'll never know...
@@alexeyeliseev6322 tough
@@AyanSharma-i9f i wanna know i wanna know i wanna know i wanna know i wanna know
"Every single page just replaced with the word content"
Well, at least you have a good description for the website... at least what it used to have.
"Our website has a lot of content"
Probably would be an improvement for many web sites tbh
@@EdwardMillen Has 5000 contents!
The heaviest lossy compression ever.
@@Monody512 This gave me an image in my head of somehow replacing 5000 images with a blank white image with text saying "IMAGE".
as an IT guy myself; let me in on the secret language we apply:
when we are curing and shouting profanities at the system we're working with, usually that means things are going great.
Once we very quietly say 'oops' or ' o no' however.... that's usually the point where you should start panicking.
my personal favourite is the soft "ahh..". customers or clients will probably just brush it off, but your co-workers know exactly what's going on, and usually send a couple pity-glances your way.
That's so true...
U could have *replaced* the *'- - -'* with *'content'* after this has happened.
This is so true, the "oh no" is when it has gone extremely wrong.
@@hansamitamajee1930 No you couldn't because then you replace 'content' with 'content'. Fill a page with 1s and 2s. Than replace the 2s with 1s. If I follow your logic after that you could replace the 1s with 2s and everything will be the exact same as before.
At the other end of the spectrum, there is the smug feeling that you can experience when something goes wrong and you DO have a working backup. Last time it happened to me, my colleagues thought I had gone mental as I danced a little jig around my desk.
Thankodsecond
Literally just happened to me when my OS stopped working but I had backed up my important files thanks to this very video.
ohyesecond
Or what about that moment when you are someone who makes backups, something goes horribly wrong, and you find out your last backup was from two weeks ago and now you have to scroll through your dev twitter feed to figure out what minor features were just lost.
@@thatpaxyton that's called climax
I'll see myself out
Considering the specific typo that caused the whole mess, you could say it was an… _apostrophe catastrophe._
Badumm ts
Capastrophe
Catapostrophe
content
Tom: "I was young and I was careless."
Person just now joining the conversation: "Oh shoot, what'd you do?"
Tom: *sighs with shame* "I worked on the _live database."_
@@nikkiofthevalley What multiplayer game is this?
@@gmaergabe7313 One that I'm working on, I still haven't thought of a name yet..
@@nikkiofthevalley name it Content
@@Attilles I just might do that, if that name isn't already taken.
@@nikkiofthevalley name it Multiplayer Game
Everyother: "I was young, I drank much and didn't think about consequences..."
Tom: "I was young, I worked on a live database, with no transaction and didn't think about consequences..."
which would you rather be? i know where i would rather be 🖥️💻
@@stacyardus3898 You'd rather have potentially destroyed somebody else's work?
In reality the issue was lack of backups, not transactions.
@@ralphr-c7156 i’d rather be working at a computer than drunk all the time
@@ralphr-c7156 I'd rather have destroyed hours of work than killed someone in an accident...
I kept on writing "workshit" instead of "worksheet" for about 2 years in school before I realized.
hanakooooo
@@nit-Inundate thats clearly a rat, could never be hanako
Mary Jane hayato
OHHH NOOO XD NOOO NOOO OH NOOOOOO XD
@@mooseyexists My name is Kira Yoshikage, I'm 33 years old.
Worst moment I had wasn't actually a typo, but still fits the theme of "always have a backup". I was working on a huge arrangement of various songs from a popular television show at the time. It was going to be a gift to a friend that he's (hopefully) have his HS's band play at some point. Well, after working for at least 4 hours straight adding all kinds of notes, edits, and other things, I was about halfway done with the whole thing (I had worked on it for about 6 months before this). Well, I was working on all of this on my laptop in 2014, and my laptop was from a few years earlier (2010 I think): earlier enough that it still had a user removable battery. I had recently replaced the battery since the old one lost its charge capacity. What I didn't do, however, was made sure that the battery had been locked into place. So, I save the file after all this work, and slide the laptop off my lap and put it down on my bed to get a soda or whatever. And... yup you guessed it. The battery came out, shutting the whole thing off, and RIGHT in the middle of saving an entire day's work. I didn't even realize until I came back with my soda. So, I put the thing back in as fast as I could, and boot it back up. I see that my file was still there, but when I go to open it... ERROR: This file is corrupted and cannot be opened. After panicking internally, I remember that I did have a backup on an old hard drive... from over a month ago. I still had the file, but now, over a month's hard work was gone.
Still haven't gone back to that file 8 years later.
The reason why even something as NTFS doesn't do move operations. It does copy and delete operations. And only in the end after everything is done does the old file get deleted. If you have a power loss in the middle of operation you don't end up with two half files and a tiny piece between them missing.
UGH reminded me of that time in the middle of an online music theory exam the pc crashed while i hit the key for a minim so i ended up just submitting over 70 bars of just single note minims sobbing
Onosecond: when you’re hagrid and you realize you shouldn’t have told them that
I can relate
Why am I the only one laughing my ass off at this
MinerMaster you’re not the only one
Not many potterheads now that JK made Dumbledore Gay.
"I should NOT have said that...
I thought the typo you made was typing "one second" as "onosecond"
Same. I was so confused as to how it would be so bad.
I make that mistake a bit 😂
Same
I thought it was nanosecond
Ortherner same
Toy Story 2 was almost wiped due to an oh no moment of "sudo rm -fr *". Their backups were not working, fortunately someone who was pregnant was working from home and had most of the data on her home PC.
... but if I recall correctly they ended up binning everything that they recovered a while later because they decided that the story was weak.
Sounds like a crisis as bad as the Cuban Missile Crisis. Could you imagine a world without Toy Story 2?
*pseudo...?
@@herpderpinson6117 no, "sudo" is part of a Linux command
Didn't the same kind of thing happen to one of the Sims games cuz of a server fire?
Something I got told during IT school over and again was "kein backup, kein mitleid" which basicly means "no backup, no compassion/pity for you"
No backup, no empathy (from others)
@@ijsbeermeneer9952 yes thats a great translation
I always remember a colleague once saying "every time a program I've written does something wrong, it's because it's doing exactly the wrong thing I told it to".
I'd say that's it about 99% of the time. There's always this 1% of some nasty bug/error in some otherwise great library that they didn't bother fixing or mentioning anywhere
"Bugs"?
I think you mean, F e a t u r e s !
Even better when applications are written expecting the bugs to function that way.
Then years later when bugs are fixed, DLLs updated ... the App breaks and you have
~absolutely~ no idea what's wrong or how to fix it.
Well yes, having to patch a library sucks, ask me how I know
That 's why i hate most of raid solutions in NAS. If you do a genuine mistake, the mistake is backuped and replicated everywhere. Those technologies are fault tolerant, not backup tolerant. Asynchronous redondency is key.
I've experienced at least once instance of a program doing something wrong because a bit was flipped. Due to cosmic rays or voltage instability or hardware issues - I do not know.
"If you haven't tested your backup you do not have a backup"
and one is none. two is one, three is some.
Its not a backup until it is restored....cos a write only backup is useless
@@CChallinor Not a backup 'til it's restored, been used for at LEAST a few years, and let's add in that the hard disk it's on should probably start degrading physically before we call ourselves certain
Wise words
The closest I've come to testing this is accidentally nuking a dev server database during a "routine" upgrade at 11pm at night. Upgrade involved getting new version of k8s and the fact that the instance had no SSD assigned to it and was writing to memory was discovered after everything came back blank. Fortunately backups did work, and the worst part of the incident turned out to be the timing. See, 11pm was also when the last coffee shop around closed, meaning I had to do a full manual recovery on gas station coffee. We established better protocol for verifying we had good backups before running upgrades. All of the work on our live server went without a glitch. Startups are fun. Never a dull moment.
Far less extreme, but I was once an admin for an art forum when I was about 13 or 14, and I was known for changing my online name really often. All admins had access to the website, so I'd go into the front page and change my name and the little effects that went with it. One time I messed up, I don't really remember what went wrong, but I ended up replacing every admin and creator's name with mine, and making the background one huge stretched out picture of my avatar. I completely panicked and deleted the whole thing, which was worse, because I didn't copy any of the links or info from the original, so I couldn't even replace it. I literally spent a whole day crying and panicking because I didn't want them to kick me out, because I was an emotional teenager. I lied and said the page got deleted and they ended up just saying, "oh ok, guess well do a new one"
I laughed out loud
I Laughed My Ass Off
rip
@@Sean-hv9df Why Do You Capatalize Every Word?
@@deepknight930 I didnt also, so what if I did?
The "not wanting everything you ever do to be saved" discussion reminded me of the time I was at work, regression-testing and conversing on Twitter & Facebook the side to give my brain the occasional break. I copied a snippet of the Twitter conversation with the intent of pasting it to my Facebook friend but when I saw that my Facebook friend was AFK, I went back to regression-testing. And that's how "Tbh I've always kind of had a thing for [insert kink here]" got pasted into a regression test spreadsheet that everyone on the QA team had access to -- as far as I know, I Ctrl-Z'ed quickly enough that Google didn't save it, but hoo boy was it close.
Guy: loses a race
Guy: oh no, second
heehee
Ahahahah
I've never laughed so hard
Underrated
Shut up
My onosecond was when I went out of the math test of the "baccalauréat" (it's a national exam that French students pass at the end of high school, it has a high symbolic value), and my friend tells me "you must have found the last exercise super easy, as a programmer". I hadn't turned the last page...
I almost had a moment like that, was sat in a maths exam and had “finished” the paper, so just sat there for a while... until I turned to the back of the paper and saw another question! Managed to finish it, but that’s one of the better moments in my exam history...
So relatable
@@debesys6306 same format for exams in Scotland
@@debesys6306
Pages are numbered X/Y during the baccalaureat iirc
MathS.
"The sort of lesson you only learn once." Oh, if only, Scott. If only.
You only learn the lesson once. You may continue to repeat the mistake many times until you learn the lesson.
"I have learned from my mistakes, and I am sure I can repeat them exactly" - Peter Cook
@@Hi11is Until you learn a workable solution and put it into practice.*
@@Hi11is awesome quote
Worst computer mistakes with actual consequences iv ever made have been usually been after 24-48+ hrs of insomnia.
Tho ild certainly never forget the good old common opps i pressed the wrong key. Now why has this program decided to ignore its setting on auto saving.
It's funny to me that you never point out that the backticks weren't even necessary. You were showing off by being extra safe and that enabled your mistake.
That mistake is art by mistake
"Content" was the right word for it lmao
tap to add content
Ryan Knutson Err
@@andymorin9163 Add a public reply...
Glad to know I wasn't the only one who thought that.
666 likes, the devils work
I was making a t-shirt as a Christmas gift for my sister-in-law, who is Filipino. I was designing it on the computer, and it was supposed to say "World's Greatest Tita" But I typed an "s" instead of an "a" on the word "Tita".
Fortunately, I caught it right away. But that would have been a really awkward present for my sister-in-law to receive from me at Christmas.
@Kanashimi OR Sweet home alabama?
Should've left it and acted like it was a typo. Would've made for a good story
Was the typo wrong though? 😏
At least it was an s, and not e. ( ^:
Mas awkward ata ibigay sa hipag mo yung "World's Greatest Tite" title HAHAHAHA
Why would you call anyone "tita" anyways?
Surgeon: _"Pass the forceps"_
Nurse: _"But the patient is dead!"_
Surgeon: *_"ROLLBACK"_*
*No transaction to rollback*
*No life to rollback*
They were working on a live database though
Restart from checkpoint
Restore from last backup
My brother and I didn't speak for 2+ years because of a missing *_hyphen_* - it was the difference between _"re-sent"_ and _"resent"_ . . . as in, _"I resent that email"_ rather than _"I re-sent that email"_ . . . 😣
When we finally realized the mutually-silly mistake we'd made, we had a good chuckle... but our relationship hasn't been the same ever since and it's looking like I'll never see him again. 😢
Details matter.
thats sad, i hope you both come around... maybe try a little more?
what does "resent" mean? english is not my main languagr
Gosh, how important was that email?
> _"Details matter."_
So does error correction. Upon seeing a single detail out of place, sane people seek clarification instead of making a sudden and confident mental swerve.
@@VestinVestin oftentimes, errors aren't obvious.
There's another way to tell this: "Hey, I made the database a lot lighter and fast"
Angry volunteers: you deleted all the content from our 5000 pages!?!?!
Tom Scott: ono, they all have content, see, it says right here on each sheet...
@Sam Sharaf Right now? 36.
Also this will be my last day.
@@kushmoosh4171 on earth? Is there a need to worry??
@Sam Sharaf Yes
shocking content
Omg schmoyoho what u doing here
@@marcusgraydon1060 Songs you may not know
oh hey
Shut up
tunes
That was an apostrophe catastrophe.
Said the question mark
I literally thought “onosecond” was the worst typo lmao
@@maryrivera1959 mhm so does the person with the top comment
Sus?
I thought onosecond the typo for one second
More like phobia.
That is the worst feeling ever. I remember at one point in grad school I'd been working on a paper. I'd procrastinated, as usual, so I spent most of the night in the student lounge at the library working away. I'd gone maybe 5-6 pages since my last save and decided to take a break. I got up to go down to the coffee shop and ended up seeing a friend and chatting for a while. When I got back, my battery had died. I plugged it in, restarted it, and there was nothing. I had to beg for a one-day extension from my professor, but it was a lesson I learned well.
on april fools next year we all have to just comment the word "content" on his video to mess with him
I'm game! 😅
That's evil tho
you mean 'content'
content
content
There's also the "ignosecond," the moment of brain flatulence or attention lapse BEFORE you make the mistake.
those 2 words are hilarious.
the ignore-second followed by the oh-no-second
So the ignosecond is followed by an onosecond?
And then, followed by the bruhsecond
What about the "ofusecond"
@@tornadotaylor8956 That comes after the onosecond as the implications of your mistake hit you
me: "how bad could it be? it's not like they used a lot of triple dashes"
tom: "... backticks-"
me; "ono"
Yes, I've made the ' for an ` error before!
Luckily it just threw a syntax error and not a "hose-the-entire-database" command...
@@tekvax01 I once created a temporary table with a name that was just a little too similar to the content table of a forum. And yup, then accidentally deleted the wrong table... Fortunately there were backups, but that was when I learnt the same lesson Tom is talking about.
Backticks as a syntactic element is the most asinine idea ever that has risen from UNIX heritage. The difference is literally 1-2 pixels on a standard terminal font and you can't even type them easily in all keyboard layouts around the world.
U could have *replaced* the *'- - -'* with *'content'* after this has happened.
Oyes
@@hansamitamajee1930 no you could not, it changed ~5000 fields to "content"... so your solution would replace all instances of 'content' with '---' 😆 so the articles would be '---' repeated loads of times, and that's why it's so horrible
In today's news, someone at Cloudstrike, an antivirus firm that had software on many major businesses, had an ohnosecond as a patch disabled a great many systems, including airports, emergency services and hospitals in no small part.
I once deleted all the files on my tablet, just because they swapped the 'yes' and 'no' buttons around after an update. I hate my muscle memory sometimes.
Roblox buy button
I hate pointless updates and changes, there is nothing wrong with muscle memory.
Nah, that's just stupidity of the person who put that into the update
Did you have a backup of said files?
i feel remorseful for you..
My worst typo: Accidentally writing “the controversy over the Best Wank in Israel” on the top of a PowerPoint.
i was laughing for a solid half minute
What?
It's rare I genuinely belly laugh out loud. Your misfortune made it happen.
A Spoonerism for the ages
Dr.Barrel They probably meant to say West Bank.
"Worst spelling mistake ever"
Ehh, how bad could it be?
"SQL"
Oh .... Oh no ....
Colin Broderick
To err is human, but to really foul things up you need a computer.
Paul R. Ehrlich
onosecond
@@ErzengelDesLichtes "In most cases, the error sits 30cm in front of the screen"
Dunno who said this
Übrigens, hi, bin auch Deutsch
@@mariushsk05 "PEBKAC" - Problem exists between keyboard and chair
@@aolson5795 Thanks. I tried to translate it from german to english. Well, my english isn't the best :)
I once accidentally deleted a whole live database instead of the test one. I had to restore from a backup then email everyone in the company and ask them to redo their timesheets for the whole week. Onosecond is a very polite way of saying what I said in the second immediately after realising what I'd done!
I did a similar mistake on a couple hundred player Minecraft server several years ago, where I had to roll back one tiny thing, but I hadn't defined radius for the command, so I accidentally rolled back the whole server, which caused a glitch with the plugin and every single block entity data was corrupted, for example all the chests were emptied.
The command couldn't be undone and the server owner didn't have any kind of back ups. Even though it was such a small mistake, I was banned from the server forever.
Gladly it's just a game, but I did get quite a few players upset. Actual back ups are quite important even if you have such a roll back system.
Oof. What server was this? Also, seems unfair to ban you for a simple mistake
That's a bit unfair that you got banned, the server owner was the negligent person here for not having regular backups.
Honestly, I'd say that's the owner's fault than yours. How can you not have a simple backup plugin? Or hell, just back it up manually if you really wanted.
I've done it several times with Bukkit, luckily on my private server
the term it's just a game is a weak mind set
Maxim 41: “Do you have a backup?” means “I can’t fix this.”
I don't think that's right, knowing there's a backup of someone's files allows me to think more in the brute force direction of fixing a problem, just go for the EZ clap you know
Compare and contrast Maxim 43.
And of course the reply you never want to hear is "I did..."
The onosecond. Often spelled with a capital ‘F’.
Fonosecond
The oshitsecond
The "ohgoodgodifuckedupsecond"
The ‘IFedupsecond’
The FrickOhGodIAmScrewedSecond
My heart dropped when you explained what had happened. That must have been horrible
Just to add my 2 cents on to this excellent lesson, everybody working on a project should also take responsibility for it. Someone else making the final mistake doesn't mean that you couldn't have prevented it. If anyone else had suggested and/or followed through on making a backup of the database themselves, then the overconfidence of a teenager couldn't have undone all that work. Often, you aren't in a position to actually take the preventative action. But you should suggest it if no one else has.
It feels nice to be part of team that covers your back, that catches you when you're about to make a mistake.
That’s the thing about being accountable. If there’s a situation that you can foresee and can take steps to mitigate/avoid but don’t, you can blame the people who actually did the mistake and avoid any consequences, but the fact remains that you could have prevented it yet didn’t. One of the reasons why I dislike the “not my problem” mindset...
@@fetchstixRHD Couldn't agree more. When you're part of a team, your success is contingent on everybody else succeeding with you.
Agree. If the whole team handles the project irresponsibly, it is only a matter of time until someone makes that final, determinant mistake.
"Always back up before you smack up" 😅
(a smack up can mean a car crash, something that you don't want to happen)
Indeed
I used to work for an alarm system company. I was working on the door-access system we had installed at a large computer manufacturer (with cow spotted boxes). I thought I issued a command to get a basic report from each panel. Instead, I issued a command to factory reset each panel (clear all settings and card information).
I locked every door in the building, including both ways (the door couldn't be opened from either side) to the "chip room," where they secured the CPUs for machines until they needed them. I was at the security desk and within 30 seconds the phone started ringing more-or-less continuously.
For the next 10 years every time I was working on any critical system, my stomach would clench if a phone rang.
BTW, I still remember the commands -- I send "I = 1 R" I should have send "R = 1 I"
Oof! You win
🥇
OMG
Not your fault with syntax like that...
Seriously, whoever designed that interface was having a laugh. Just waiting for someone to do exactly what you did. That is possibly the worst designed command interface I have ever Heard of. And I worked on things were pressing b, then m, then enter, could spend $100,000 with no undo.
5000 people: Tom!Where has our content gone?
Tom: It's just gone. Reduced to CONTENT.
I used the content to destroy the content
ShadowSlam both of you are great haha
"You said you wanted content on the site!"
*A small price to play for content*
@@shadowslam947 i used the 'content' to destroy the `content`
I love how while watching a Tom Scott video, you can’t skip a second without missing so much.
There was this time I created an loop for sending emails to the dev team in case of an error because of a "lock", but never limited the number of iterations, it would just send emails as long as a "lock" existed and the program was trying to use the locked content (the company used emails for this stuff). But there was a mistake in my code that locked the content and never unlocked it in some edge cases. I tested the "happy paths" and it worked so I placed it in prodution environment, in a friday.
The outcome was *13'000 emails* on *every Dev Team member inbox* (about 7 people), which exceeded the sent email limit the provider offered for the month. So for the rest of the month, no one could send emails using the company address, including important spreedsheets that other systems generated and sent to managers throught an unified system's email account.
Realizing it by monday was my worst onomoment to date.
Honestly, if it were me, I would've just quit my job after that :D
Did you get fired?
I had a similar issue back in the day. We ran a competition on a website for a client where 25 people would be randomly picked to win a gameboy. There was 2000 entrants and I wrote some code to send the winning email to the 25 winning users. Unfortunately I did the complete opposite and sent it to every entrant except for the 25 users.
The company decided that they had to swallow the loss and gave out nearly 2000 gameboys to the actual losers.
Didn’t get fired but the worst moment of my dev career. Such a horrible sinking feeling at the moment you realise what you’ve done. Got extremely drunk that night
Oh. This is my nightmare. had 23 Cc’d emails in the past month about a SUGGESTION. gawd.
Hah, you're not alone with that. The emails were sent to customers though. Aaawkward.
At a new job years ago I asked if we had backups of the database.
"Yes."
"Have they been tested?"
"We'll test them when we need them."
In the industry we call that "foreshadowing "
Have they run into a brick wall with that yet?
Even just a little one?
Schrödingers Backup, you only know if the backup works when you have to use it
oh no
Well, sometimes the only way to really test a backup is a restore. So. Do you have a duplicate system you can restore to?
Oh.. that's not in the budget...
It's like when I accidentally typed in the word 'an' where 'a' was needed, so automatically I set an autocorrect from 'an' to 'a'. I then realised what happened and tried to compensate for it by setting autocorrect to make every 'a' into 'an', which made the problem even worse
edit this comment to say "a autocorrect"
@@AmnesiaForever annn annnoutocorrect
It's like when I anccidentanlly typed in the word 'an' where 'an' wans needed, so anutomanticanlly I set an anutocorrect from 'an' to 'an'. I then reanlised whant hanppened and tried to compensante for it by setting anutocorrect to manke every 'an' into 'an', which mande the problem even worse
@@Ari-rf9bu
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAH
AHAHAHAHAHAH
AHAHAHAHAHAHAH
!!!
Thanks for making me laugh irl.
Thumbs up :)
It’s like when I anccidentanlly typed in the word ‘an’ where ‘an’ wans needed, so anutomanticanlly I set an anutocorrect from ‘an’ to ‘an’. I then reanlised whant hanppened and tried to compensante for it by setting anutocorrect to manke every ‘an’ into ‘an’ which mande the problem even worse
This reminds me of Master Duel where they used search & replace to swap "Magic" to "Spell" and for a short time there was a "Dark Spellian" series of cards
Everybody experiences the onosecond when they are tipping their chair in school and lose balance.
Or really don’t pull out
im now unable to speak due to the brain injury the fall caused for me.
that was a dark joke now wasnt it
that's me rn
like frikkin rn
@@maya_yaser Straight outta anime
The onosecond is basically a bruh moment
It's a bruh moment but with more panik
Bronosecond
@@novarender_ brunosecond
ofucksecond
5000 pages of bruh
Or as it happened in my country a few years ago: The second after you send two passenger trains toward a head-on collision and there's no way to stop them, because the radio has been malfunctioning all day long.
Mikosch2 which country
Which country
余宗翰: Adding a comment cause I want to know where too
I'm curious now
ANSKWER
I love the fact that this belongs to 'The Basics' playlist. Teams need to understand that no matter how defensively you code, humans make errors, and that is a constant factor that needs to be taken into consideration.
Make things idiot-proof, God will create a stronger idiot.
To quote Darkest Dungeon:
"Overconfidence is a slow and insidious killer."
I just got that game. Which reminds me, i have to play it.
“Overconfidence is a flimsy shield,” - Zenyatta (Overwatch)
Very nice!
"Be wary---triumphant pride precipitates a dizzying fall..."
666 likes ;)
Being in tech and hearing the phrase "working in live code/database" made me immediately anxious. In my job we call it "testing in production", also known as "being a clown".
Also known as, "unless your boss REALLY, REALLY likes you, you're fired."
We call it „open heart surgery”
Meh, it'll be fine 🙂
@@IceMetalPunk It doesn't matter how innocuous your mistake is. If you wipe out hundreds of hours of work, you deserve to be fired and your name should be put on every "do not hire" list your boss can find. You do not deserve to work in this field. The one thing you *do* deserve is scorn, hatred, disappointment, and failure.
@@FreakHandy As someone who had open heard surgery. Thanks.
I love how we’ve gotten to a point where it’s simpler to explain text editing using time travel than anything else
I always make sure I double check whenever I type “bigger.” B and n are scarily close on the keyboard
Those volunteers work was not wasted, it gave you the ability to warn and educate millions of people. Their work was more consequential than they realized.
Even if Tom had never made this video, it would have taught THEM a valuable lesson, too. I bet the majority of them learned to back up their work after having to re-do everything they had made.
Except they also needed the website
Well the outcome wouldntve changed if they had typed 5000 articles worth of the letter A
Over 4.2 M views and counting
Ahh the beauty of the butterfly effect
"Check your backup" - this cannot be overstated.
I've had multiple times in my working career that "backups were being made," but they were not valid. One cloud provider I used for CRM suddenly replaced all of my customer records with one single other customer record (not even _my_ customer!) I called them "where did all my contacts go?"
"Oh, we had a server issue overnight. But we restored from backup, so you're all good now!"
"No, all of my contacts are duplicates of a single entry. All of my appointments, past and *future* list a single duplicated customer. Oh, the customers are different records, but my people have no way of knowing who the actual customer they should be contacting is."
"No, we restored, everything's good."
"LOOK AT MY DATASET! EVERYTHING IS NOT GOOD!"
"Oh. Oooohhhhh...."
Thankfully, the system was set up to email each of my employees every time an appointment was set, with the appointment date/time, customer name and contact info.
I had those set to send copies to a central email address for record retention purposes.
The cloud CRM company had no actually-valid backup. They had no internal way to restore. After a few days of back and forth, I .zipped up all my appointment confirmation emails, send them off to the cloud CRM company. I figured they'd have some IT engineer write up a script to do some data comparison and restore. Apparently not. Apparently they had people manually going in and updating by hand. It took three weeks to get the dataset back.
The moment it was done, I exported my data and cancelled my contract with that company.
wow that's terrible. i thought cloud providers were supposed to be especially good with backups. not that i trust cloud providers. did they go bankrupt after that?
we had a major outage for all our dev and test environments a few months ago. One of the disks in a Raid had failed and when they changed it out they caused a cascade failure across the LUN. No problem because we use a household name provider to manage all this in their world beating enterprise cloud who justify charging £100,000 per month for just such instances. Actually a big problem: it took nearly 3 months and a team of 20 of *our* people to support their engineers in getting the systems back because of the way they had structured the storage. They hadn't refreshed the hardware when they were supposed to, hadn't maintained the backup set and didn't understand the complexities of the environment they were paid to manage. Now the lawyers are making another fortune arguing about who's going to pay the bill and we can't change providers because they, clearly, have no way of moving our environments safely. I never really trusted Cloud providers but now I actively dislike them.
Anonymous Freak Even as a seasoned IT veteran this can still bite you.
I WAS (emphasis mine) using AWS Glacier for long term backups on my Synology NAS.
So I decided to do a test restore to make sure things were in order.
Much to my surprise you could ONLY restore to the original file path. You could not restore to an alternate location to test or compare. Ok, fine. I have two units so I tried the restore on the second unit. Remember that it takes 3-4 hours to initialize the catalog on a new unit. Yay Glacier.
Much to my surprise the creation and modification dates of the restored files were not retained. Each file was time stamped with the current date. Whut?
On top of that, when you try to delete the archives in Glacier it doesn’t clean up properly so you have to install the AWS command line utilities and manually delete them which takes hours.
Lesson learned. Never assume a commercial backup solution is stable or accurate. Test. Test. Test.
Synology should have higher standards in software THEY author and recommend on THEIR products.
This is why we do monthly failover tests where we try to restore backups to a separate training db to see if they work.
The 'cloud' is just someone else's server - which you have no control over. Put your data in the 'cloud' and you are putting your company's survival in someone else's hands - someone you don't know, and someone to whom you are just a name and number.
Tom Scott “content creator” since 2003
Content "content" content content
Content??!! CONTENT CONTENT!!!!!
Con Tent
Predicted UA-cam
Content.
why is birthday bot feeling like this
They say there are two types of admins: those who do backups, and those who do now.
"everything just gets merged back together"
"Just"
@Artur Terho merge conflict detected, please merge the files manually
Artur Terho it’s not always as simple as running the command tho. Tons of conflicts can arise from merge
Luckily I've so far never had a problem with merge
When you consider how much harder it would be to merge without git, I think just is perfectly appropriate, even though it's clearly an oversimplification.
@@brainndamage according to my peers, that's the stuff of nightmares
Tom: Had to replace --- with
Tom: This was an SQL database.
Me: *dawning realization* OH NO
It was actually worse than I was expecting.
@@OmegaDoesThings I am physically in pain rn
Literally me rn
I was expecting something along the lines of "There was a file with a dangerous SQL command that was left around but commented out with -- and I accidentally commented it back in and got it to run".
@Michael Darrow I was more thinking about raw SQL scripts. "--" is the start of a line comment in SQL. So remove those characters and whatever comes after them may suddenly be executed as SQL again.
8:28 The same can be said about Chernobyl. Its always a string of minute errors that can turn a single small issue into a horrendously massive one.
Yup, and it soured the world to the best energy source for freaking ever.
The Chernobyl reactor had a fundamental design flaw the operators didn't knew of. It was only mentioned in a footnote in the manual and not even there it was explained well enough to think that something this catasthropic would happen.
It’s one thing to verify you can back up data.
It’s quite another to verify you can actually _restore_ from a backup.
this made my blood run cold
This. Also, do you have multiple backups? Online, onsite, offsite, etc. Also, also, RAID 1 isn't a backup!!!
imagine the voulenteers looking at the site and then just seeing
"content"
"content"
CONTENT.
I don't think I would be very content seeing that xD
Content warning: content
@@chaotickreg7024 Content contentcontent content
content content content content content content
"Oh, that's not the right word, we should delete that..."
***deletes the internet***
"Oh, that's not the right word, we should delete that..."
"Oh, 's not the right word, we should delete ..."
I hate when I accidentally delete the Internet and have to recreate all of its content 😔
@@AlexanderPrussak if you delete the internet, most content wont be lost...
@@CharleyCheno Yes it will.
rip servers then