25 crazy software bugs explained

  Рет қаралды 1,374,278

Fireship

Fireship

Күн бұрын

Пікірлер: 1 600
@SirFrankoman
@SirFrankoman 2 ай бұрын
12:30 My 80 year old grandpa was a victim of this. He said his car suddenly accelerated on its own causing him to crash into our local gas station. Nobody believed him and just figured he was an old man and got confused, but he insisted he did not hit the gas. He complained to Toyota but they also discounted him. Literally a month after he died, my grandma got a letter in the mail about the recall and his proof that he really didn't accelerate.
@whoreslayer
@whoreslayer 2 ай бұрын
Womp womp
@EverythingTechTime
@EverythingTechTime 2 ай бұрын
I'm sorry for your loss
@BillAnt
@BillAnt 2 ай бұрын
I remember some were dismissing it as BS, even I was skeptical till now. heh
@renakunisaki
@renakunisaki 2 ай бұрын
This bug is why I'll never buy a Toyota. Not _that_ it happened but _how_ it happened. Their code was terrible, and I can't trust my life to terrible code.
@jakeleo4518
@jakeleo4518 2 ай бұрын
nha nha it really is a feature! 0:10 "can you really call yourselves "peaceful" if you're not capable of causing great harm? or are you just harmless."
@Duckly97
@Duckly97 2 ай бұрын
"The helicopter has automatic throttle control based on external sensors" Just gonna check the manufac- And it's Boeing.
@LuLeBe
@LuLeBe 2 ай бұрын
Every Airbus and military jet fighter, plus most modern business jets have autothrottles. Luckily they all work fine
@anaveragehuman2937
@anaveragehuman2937 2 ай бұрын
And this is even before they were dei
@JitheshKT
@JitheshKT 2 ай бұрын
@@LuLeBe Its not luck. It is engineering 😅
@sasjadevries
@sasjadevries 2 ай бұрын
There is nothing inherently wrong with Boeing throttle controls or other parts. The main problems with Boeing is management outsourcing production to Spirit Aerospace, and management wanting to strap a big engine to a low wing 737, that behaves like older 737, such that pilots don't need training for a new aircraft (i.e. fixing hardware changes with software abstraction). ---- Personally I don't care that much what happens to Boeing, I'm not American. But it's a fact that people are bashing on Boeing for the wrong reasons.
@CombineHgrunt
@CombineHgrunt 2 ай бұрын
don't stay near windows too much, always check for red dots around you, and never leave the house alone
@stevepittman3770
@stevepittman3770 2 ай бұрын
10:26 No, what's funny about Y2K is that the reason it didn't actually cause any widespread disasters was precisely *because* of the media attention it garnered, which caused institutions and companies across the US (and, presumably, the world) to get their asses in gear and fix it before January 1 2000. I know this because I was part of the efforts to fix the issue in a certain national bank's systems. They were still using mainframes from the 60s and 70s and their software was still largely written in COBOL, it was a massive effort consisting of contractors like me coming in and updating their shit.
@letcreate123
@letcreate123 2 ай бұрын
Yeah, this is *the* most talked about tech bug in history, why do KZbinrs keep spreading misinformation about it??
@evilhamsterman
@evilhamsterman 2 ай бұрын
It's kind of like when people point to the fact that you don't hear about the ozone layer anymore. They use that as an argument that scientists were wrong and so they are probably wrong about climate change too. When really what happened was everyone got together and found solutions to fix the issue so you don't hear about it anymore because it's not as much of an issue anymore. Y2K everyone got their shit together, found solutions, and fixed the issue so it ended up being a non issue
@Sammysapphira
@Sammysapphira 2 ай бұрын
The media would have had no effect on this for the developers. Whether or not the media reported on it didn't change that all potentially broken software needed to be updated. Its 100% true that media fearmongering vastly overrepresented the situation.
@Sammysapphira
@Sammysapphira 2 ай бұрын
​@letcreate123 its definitely not the most talked about computer bug, especially because it didn't even happen. Crowdstrike is the most talked about bug.
@PedroBentoIT
@PedroBentoIT 2 ай бұрын
I often think about how us successfully preventing/fixing things like Y2K, the hole in the ozone layer, acid rain, etc... led to complacency and denial with covid, climate change, etc...
@ButterNuss.
@ButterNuss. 2 ай бұрын
Worst part about the Therac was that the Company KNEW about it. But they did not want to fix it to save money and proceeded to only placebo fix the issue, which cost the life of multiple people and injured many more. Imagine winning against cancer, going to your last Session and then you get to expirience one of the most gruesome deaths imaginable just because some guy deemed your life less important than a bit of saved cash.
@RillianGrant
@RillianGrant 2 ай бұрын
What was their calculation for that? Dead patients tend to be extremely expensive.
@ButterNuss.
@ButterNuss. 2 ай бұрын
@@RillianGrant At that time it was unknown that it was a certain string of inputs that caused it and that it was easily replicable, they probably took their chances of it not happening again.
@Xeonerable
@Xeonerable 2 ай бұрын
Companies face no actual punishment for ending people's lives, so its just an acceptable loss and cost of doing business for them which is despicable.
@OperationDarkside
@OperationDarkside 2 ай бұрын
For sociopaths it's not about the money, it's all about saving face. These people are already filthy rich to begin with. What they care about is what others think of them, but in a twisted kind of way.
@Keilnoth
@Keilnoth 2 ай бұрын
@@Xeonerable Even worse, they actually go after the programmers, instead of their managers and CEOs...
@colossalwa
@colossalwa 2 ай бұрын
// TODO: I'll comment it out later
@noanyobiseniss7462
@noanyobiseniss7462 2 ай бұрын
At least put your initials in there slacker!
@josephmgift
@josephmgift 2 ай бұрын
🤣
@Talonzor
@Talonzor 2 ай бұрын
@@noanyobiseniss7462 Ill only do it when blame still shows my name
@TamalPlays
@TamalPlays 2 ай бұрын
lol
@Helldiver211
@Helldiver211 2 ай бұрын
Noice
@DerSolinski
@DerSolinski 2 ай бұрын
About the last Boeing thing: They didn't even announced the planes had this system, because then every pilot would need mandatory retraining. So when the planes did that the pilots had no effing idea what was going on. Oh and it was there to fix a engineering mistake "in software"...
@einargs
@einargs 2 ай бұрын
Worse -- it wasn't to fix an engineering mistake. They deliberately designed the aircraft to avoid triggering retraining requirements and tried to work around the hardware problems this caused in software.
@jackdavenport5011
@jackdavenport5011 2 ай бұрын
Worse still that there was no option to manually disable the MCAS if something did go wrong
@kinfongyeung5400
@kinfongyeung5400 2 ай бұрын
​@@einargs Worse, the engineers knew about the lack of redundancy of MCAS, but they were told it is too expensive to add additional sensors, which would have solve the software limit
@johnpekkala6941
@johnpekkala6941 2 ай бұрын
In short - Boeing murdered almost 350 people for profit! No redudancy and neither the airlines or pilots even knew the system existed, even less what to do when it went haywire because Boeing did not want to spend money on pilot training so they just kept quiet about MCAS and then - disasster!
@jasminelav.332
@jasminelav.332 2 ай бұрын
And the reason they didn't want to retrain? Because the planes wouldn't sell. Airlines would have to ground pilots until their training completed, which would cost them lots of money and slow down air traffic for a few weeks. Boeing is absolutely culpable, but the MCAS shitshow is a child of unchecked greed and carelessness in the modern aviation industry as a whole.
@kkjdaniel
@kkjdaniel 2 ай бұрын
The myth of the Gandhi bug still gets perpetuated but Sid Meier himself confirmed in his book that it never happened and isn’t even sure how it began.
@StrikerEureka85
@StrikerEureka85 2 ай бұрын
hence "urban legend"
@BangaWangaTschanga
@BangaWangaTschanga 2 ай бұрын
I was just typing this then saw your comment. Its funny cause the whole video is on bugs
@kkjdaniel
@kkjdaniel 2 ай бұрын
@@StrikerEureka85 I’m not commenting as a correction to the video, I’m just stating it’s interesting that even Sid Meier himself doesn’t know where it began :)
@Liword132
@Liword132 2 ай бұрын
@@kkjdaniel Apparently it was due to Gandhi notifying the player that he has access to nukes at some point in the game, and the absurdity of Gandhi 'threatening' to use nukes made people create memes about it, even though he actually very rarely used them. Over the years the subtlety got lost and the whole thing became just 'Nuclear Gandhi'
@vytah
@vytah 2 ай бұрын
@@Liword132 Also, in the original Civ1, you couldn't have two civs with the same colours in the game. The Civ that shared the colour with Indians was the Mongols, so if the most aggressive civ was not in the game, other civs had more opportunity to shine. So in a game with Genghis Khan, you'd have to fight off his frequent invasions, but in games without him, you'd see the world peacefully develop, until some scientific-oriented civ-like the Indians-invents nukes.
@joneydew4739
@joneydew4739 Ай бұрын
0:15 this is a myth, the nuclear gandhi meme didn't even show up until the mid 2000s. The primary source for the myth is a random forum post.
@bskbh07
@bskbh07 2 ай бұрын
Let's not forget Meta's BGP bug which took down Facebook & Instagram making the world a better place while it lasted.
@Pakistani890
@Pakistani890 2 ай бұрын
Not just made a world a better place but a more secure one SO MANY people switched from sWhatsApp to more secure app like Telegram and also it was literally free advertising for the alternatives messaging apps like Discord etc..
@DRSDavidSoft
@DRSDavidSoft 2 ай бұрын
And that it also caused the data center door locks to not work. Why did that happen?
@jfbeam
@jfbeam 2 ай бұрын
@@DRSDavidSoft The locks didn't "fail". In fact, they worked perfectly. The badge readers that were supposed to _unlock_ the door couldn't reach the systems needed to verify access, so they left the doors locked. (it's also a fire code violation)
@rnts08
@rnts08 2 ай бұрын
That wasn't a bug per se, that's just how BGP works. Remember the guy accidentally announcing KZbin's ranges? Yeah.. still working as intended. It's easy to screw up a system built on trust me bro.
@Notevenmad955
@Notevenmad955 2 ай бұрын
Not really a bug, just an employee messing it up. And it's pretty easy to do given the most important internet protocols rely on "trust me bro"
@Helloworld.11122
@Helloworld.11122 2 ай бұрын
Small error for the y2k bug, the reason nothing happened was that many companies, governments, etc updated their systems and hardware so the integer overflow wouldn’t happen, the bug did cause damage but at a smaller scale than what people were expecting
@DanFlorio
@DanFlorio 2 ай бұрын
I experienced a Y2K bug on my digital watch that incorrectly calculated leap-day in 2000. I vividly remember the day, because I was flying from Italy to the US. I looked at my watch and it displayed March 1st. But it was actually February 29th. The leap-year rule is every 4 years, unless the year is evenly divisible by 100 AND not divisible by 400. I guess the programmers didn't know about the 400 part.
@carrion1234
@carrion1234 2 ай бұрын
yeah, programmers won the day essentially. companies relying on software spent a looooot of resources on identifying y2k problems in 99. ^^
@Helloworld.11122
@Helloworld.11122 2 ай бұрын
@@carrion1234 my college still uses software so old that it has f13 and above function keys
@pocpic
@pocpic 2 ай бұрын
I think the reason most people assume it wasn't a big deal is because most people thought it would effect all computers, while it was only a big problem in mainframes and other institutional systems that are invisible to the average computer users.
@clray123
@clray123 2 ай бұрын
Which is the whole point, it was blown out of proportions, and was kind of a test run before the real Bullshit of the Millenium, which was the corona pandemic.
@joehopfield
@joehopfield 2 ай бұрын
We tested, found, and fixed dozens of unix Y2K bugs. That money was *not* wasted.
@srsa2436
@srsa2436 2 ай бұрын
I think he meant that ordinary people whose livelihoods were non computer related expected that banking systems, etc. would crash and hence stockpiled unnecessary amounts of food and other supplies which was money essentially wasted by them (instead of storing in a bank).
@ThomasBlank-np5uv
@ThomasBlank-np5uv 2 ай бұрын
It's so frustrating. It was no big deal exactly *because* of the big ruckus. Only that made people spend the time, money, and effort to fix all of this. Without the ruckus, the people who thought it wouldn't be a big deal (and who oh so smugly said I-told-you-so afterwards) wouldn't have given us the budgets to fix it.
@futuza
@futuza 2 ай бұрын
​@@ThomasBlank-np5uvit's a lose-lose situation, you either warn people causing a mass panic that causes people to prepare for the disaster but people die in the panic, or you warn people but no one listens and dies in a disaster believing they were safe
@therealherbzy
@therealherbzy 2 ай бұрын
You’re correct. But there still a lot of people that took advantage of the panic and sold snake oil preparation solutions. Which is probably the wasted money he is referring to. He is definitely oversimplifying but nothing he said is actually wrong. LGR has a great video on the subject.
@Greenleaf_
@Greenleaf_ Ай бұрын
@@srsa2436 He specifically says the money that was spent to fix it, not the money random people wasted stockpiling. He just didn't research this video enough and a lot of the information is wrong.
@ChodaBoyUSA
@ChodaBoyUSA 2 ай бұрын
The reason Y2K was not a catastrophe is due to thousands of people like me working 7 days per week remediating old code.
@hamsandwich7353
@hamsandwich7353 Ай бұрын
Wait you re wrote the code on my VCR ? Real time ? Completely wirelessly ??? Orrrr It was mainly hyperbole and scaremongering
@eluddf
@eluddf Ай бұрын
What would have been catastrophic or memorable about your VCR showing 1900 not 2000? This guy fixed the important stuff unlike your dumb shit
@TheGoncas2
@TheGoncas2 Ай бұрын
@@hamsandwich7353 are you being dumb on purpose
@arnthorsnaer
@arnthorsnaer Ай бұрын
I find it so strange how people speak of “how nothing happened” as if proof that there was an overreaction while it was actually just the push people and organizations (read middle management) needed to actually plan and budget for responding to actual problems before they became catastrophies.
@hamsandwich7353
@hamsandwich7353 Ай бұрын
Hyperbole BS ! While some systems needed a “fix” the vast majority didn’t! We’re taking pre broadband most domestic services didn’t even have dial up ! The tabloids and the media had a free pass to create pandemics like fear to every day items ! So again. I’d like to thank who ever “fixed” my top loading VCR with no connection to anything other than the TV!
@asksearchknock
@asksearchknock 2 ай бұрын
10:32 Y2K never caused and disasters BECAUSE the money was spent on fixing things
@2bfrank657
@2bfrank657 2 ай бұрын
Classic example of the curse of a successful intervention. "Why all the panic? Nothing happened!".
@lexus4tw
@lexus4tw 2 ай бұрын
I was looking for this comment, we spent half a trillion to prevent it, next big thing will be PQC
@frostiefops
@frostiefops 2 ай бұрын
@@lexus4tw Y2K38 could be interesting too... there's probably still a lot of 32 bit systems used in critical environments
@JamEngulfer
@JamEngulfer 2 ай бұрын
It’s insane he actually put that in the script without researching it or thinking about it for a second.
@divinecomedian2
@divinecomedian2 2 ай бұрын
He was talking about all the money wasted worrying so much about it. Of course most companies fixed their shot because otherwise they'd have huge problems.
@sundhaug92
@sundhaug92 2 ай бұрын
Two fun facts abouty the Morris-worm: 1. It never hit Norway, because the call came over from the US to literally pull the plug on the connection to the rest of the network 2. Robert Tappan Morris' dad, Robert Morris, was the chief cryptologist (expert in ciphers and codes) of the National Security Agency
@Equalisys
@Equalisys 2 ай бұрын
Mom, I’m not a failure but a feature :p
@_kissshot_
@_kissshot_ 2 ай бұрын
someone pin this comment pls
@josephmgift
@josephmgift 2 ай бұрын
@@Equalisys 🤣
@CookieXD1998
@CookieXD1998 2 ай бұрын
Mee 2!
@AKA-077
@AKA-077 2 ай бұрын
Bro has comment pfp
@justamanofculture12
@justamanofculture12 2 ай бұрын
Todd Howard: "I'm not your mom but i know son. "
@jeberle1
@jeberle1 2 ай бұрын
Can't wait for Y2038.
@Hobbitstomper
@Hobbitstomper 2 ай бұрын
The Y2K bug was real and while the world didn't end, it did create global issues. It's most likely due to the widespread media attention that most bugs were fixed to avoid severe disasters. However despite years of preparations and spending $100s of million, not everything was patched in time and issues did occur. Those issues ranged from funny things like offering a 105 year old woman a spot in a daycare center, all the way to severe issue with Nuclear Power Plants giving false radiation readings. Check Wikipedia for a documented list of confirmed issues that happened on Jan 1. 2000. There is also a list of confirmed fixes that were patched in time, which prevented severe issues.
@georgehelyar
@georgehelyar 2 ай бұрын
Y2k - My brother works at a hospital where they can't analyse the blood because of dates of birth and it reappears every 10 years, at which point they put a hacky fix in and wait another 10 years. This happens because it uses 2 digit years. Their hacky fixes involve finding symbols that they can substitute for numbers because of poor input validation, like using 15 for 1915 and !5 for 2015.
@MushookieMan
@MushookieMan 2 ай бұрын
Yikes and they are aware of this.. What could go wrong
@vulcanfeline
@vulcanfeline 2 ай бұрын
ah, cobol. lol
@Zukias
@Zukias 2 ай бұрын
I'm a software dev, and these kind of shortcuts are pushed on us regularly. Most devs will learn early on in their careers that pushing back against it is futile. The execs want short term results for short term profits. They don't care about what happens in 10 years when they no longer have anything to do with the company.
@renakunisaki
@renakunisaki 2 ай бұрын
Surely after 9 they could move to A. That gives them another 260 years.
@sninctbur3726
@sninctbur3726 2 ай бұрын
I love that Heartbleed is so notorious of a bug that it has its own logo
@IngwiePhoenix_nb
@IngwiePhoenix_nb 2 ай бұрын
Actually, there's a lot of bugs that do. I don't know why, but aside from Heartbleed, Spectre and others too have a logo. Someone with a spare PS license probably made it...and i kinda like it. xD
@SaHaRaSquad
@SaHaRaSquad 2 ай бұрын
I think Heartbleed (or something around that timeframe) was what started the trend of giving major vulnerabilities a logo and their own website.
@Serizon_
@Serizon_ 2 ай бұрын
@MichaelPerna1289 9 hours ago Omg I designed that heartbleed logo when I worked at Fortinet He created this logo!
@TDCIYB77
@TDCIYB77 2 ай бұрын
Dude who designed the logo commented above. Seems everyone is watching Fireship. :)
@sninctbur3726
@sninctbur3726 2 ай бұрын
@@TDCIYB77 Wow, I had no idea!
@kipchickensout
@kipchickensout 2 ай бұрын
16:28 I like the idea of the plane's systems running on JS would explain a multitude of things
@XDarkGreyX
@XDarkGreyX 2 ай бұрын
My mind always jumps to Webb and I think there are more things running on JS than you think. Node is not the biggest crime.
@kipchickensout
@kipchickensout 2 ай бұрын
@XDarkGreyX didn't know webb runs JS, although it appears to only use it for high level stuff i doubt any aircraft uses something like JS (without having done any research ofc)
@joshua476
@joshua476 Ай бұрын
Bet it uses C witch I refuse to learn lol
@kipchickensout
@kipchickensout Ай бұрын
@@joshua476 it's good, especially to learn how programs work in the lower level
@williamdrum9899
@williamdrum9899 21 күн бұрын
​@@kipchickensout I think C does a piss poor job of this, learn asm first
@gralmeidan
@gralmeidan 2 ай бұрын
1:53 Finds bug on his code, manages to blame the processor itself, absolute chad.
@ac-dc2265
@ac-dc2265 2 ай бұрын
The code shown at 5:00 in the AT&T Network Switch Cascade crash is backwards. Break statements in C do not break out of if statements, only loops and switches. The issue was that it exited the switch statement early without doing the intended work, and later code overwrote the data that should have been processed.
@gregtasi
@gregtasi 2 ай бұрын
Yeah, it is just straight up wrong in the video. "When the destination switch received the second of the two closely timed messages while it was still busy with the first (buffer not empty, line 7), the program should have dropped out of the if clause (line 7), processed the incoming message, and set up the pointers to the database (line 11). Instead, because of the break statement in the else clause (line 10), the program dropped out of the case statement entirely and began doing optional parameter work which overwrote the data (line 13). Error correction software detected the overwrite and shut the switch down while it couls reset."
@MK-tt5xy
@MK-tt5xy 2 ай бұрын
*Me slightly panicking that I've written some deadly code because I've been wrong for years*
@connorcoultas9629
@connorcoultas9629 Ай бұрын
@@MK-tt5xyI think you might be confused though. You often times will put break statements in an If block if you want to break out of a loop or something too.
@MK-tt5xy
@MK-tt5xy Ай бұрын
@@connorcoultas9629my point exactly. That's explained incorrectly in the video.
@phucminhnguyenle250
@phucminhnguyenle250 Ай бұрын
Yeah, I was confused when they say the switch code continued after the break statement. That behavior doesn't make sense at all.
@AntonPuellulla
@AntonPuellulla 2 ай бұрын
I feel the corrupted blood incident in WoW deserved a mention.
@ObeseChess
@ObeseChess 2 ай бұрын
Was that a bug? It was a lot of fun!
@kevinurielfonseca
@kevinurielfonseca 2 ай бұрын
Lol, I remember that sh*t lololololololololololololololol
@kindlin
@kindlin Ай бұрын
@@ObeseChess Bug? Unintended interaction? More like accidental oversight. Who would think of dismissing their pet? Or to do it even more directly, hearthing directly to a major city from fight.
@williamdrum9899
@williamdrum9899 21 күн бұрын
That's more about how the players reacted to it
@gabrielnilo6101
@gabrielnilo6101 2 ай бұрын
0:35 "real men test in prod" I WAS DRINKING MY COFFEE WHEN THIS APPEARED, THANKS!
@i_am_called_glitchy
@i_am_called_glitchy 2 ай бұрын
remember to feed your monitor!
@XDarkGreyX
@XDarkGreyX 2 ай бұрын
He has used the joke 3 times at least. You must be new here.
@gabrielnilo6101
@gabrielnilo6101 2 ай бұрын
@@XDarkGreyX the joke was better this time around because that shit wasn't even a software bug, it was a lunatic that even used an Logitech Controller to guide a DIY submarine to Titanic.
@orangejuice732
@orangejuice732 2 ай бұрын
8:07 I’ve never heard NASA pronounce Nassau before. Must be a feature.
@jorionedwards
@jorionedwards 2 ай бұрын
Still beats people pronouncing Nassau "Na-su-aw".
@avwie132
@avwie132 2 ай бұрын
This is because these are AI generated
@Budgixous
@Budgixous 2 ай бұрын
@@avwie132 no it isn't...
@randomguy555
@randomguy555 2 ай бұрын
That didn't sound like Nassau at all, much closer to "Na-saw"
@futuza
@futuza 2 ай бұрын
​@@BudgixousPretty sure it is, fireship made a voice model of his own voice to speed up his ability to put out videos. This sort of thing shows up on his other videos regularly. Doesn't mean the whole video is AI gen, but pretty sure he's largely automated the voiceline part of his videos.
@jatin.sanghvi
@jatin.sanghvi 2 ай бұрын
I just went through two bugs in the video. Really nice to see that you explained the actual issue from the point of view of a developer, some background and the repercussions. Thanks.
@brandophiri3618
@brandophiri3618 2 ай бұрын
16 minutes of fireship video lets gooo
@dasfahrer8187
@dasfahrer8187 2 ай бұрын
The Y2K bug was legit. Myself and many I used to know in the space got paid HUGE bucks to fix dates in old code. A buddy at the time actually bought a Supra (the F&F body style) within the first month of working for a large bank.
@jammerhammer1953
@jammerhammer1953 Ай бұрын
The chase bank situation wasn't a bug. I am saying this with a 100% straight face, it was a feature. The idea was that you could deposit the check and immediately have access to the funds as a form of convenience instead of having to wait for the bank to properly process your check and make you late on rent. The "chase glitch" was literally just check fraud, there was never a glitch involved.
@ThomasBlank-np5uv
@ThomasBlank-np5uv 2 ай бұрын
@5:14: No, break statements don't interact with if blocks. Just switches and loops. I googled the bug, and other sources show something different from your screen (Something that looks a lot like Apple's goto fail bug from a few years ago.)
@Xeem_Pad
@Xeem_Pad 2 ай бұрын
GCC and G++ agree with you
@JoseLuisOchoaPadilla
@JoseLuisOchoaPadilla 2 ай бұрын
yeah, couldn't replicate the bug with gcc... perhaps they used another compiler? and what does the C standard has to say about this? 🤔 don't have the C standard at hand rn.
@waujito
@waujito 2 ай бұрын
+1, was looking for this comment
@Al-tt6tj
@Al-tt6tj 2 ай бұрын
this confused me too as a c programmer. I had never heard of break statements working this way, sp I wrote an example program to test this and couldn't reproduce the bug, the break just exits the whole switch statement.
@Al-tt6tj
@Al-tt6tj 2 ай бұрын
i guess Fireship doesnt know C and only javascript n html
@mepizzasmangled
@mepizzasmangled 2 ай бұрын
Damn sponsorblock works fast, 1 minute after upload
@HiImKyle
@HiImKyle 2 ай бұрын
Can't watch youtube without it these days..
@muhdiversity7409
@muhdiversity7409 2 ай бұрын
@@HiImKyle I wish it worked in incognito mode.
@kusumabhat6609
@kusumabhat6609 2 ай бұрын
It works if you enable to work in incognito​@@muhdiversity7409
@null-0x
@null-0x 2 ай бұрын
​@@muhdiversity7409 you can make it work (check the "allow in incognito mode" box in its options page)
@null-0x
@null-0x 2 ай бұрын
Goated community
@hydra70
@hydra70 2 ай бұрын
The patriot missile bug is a bit different than what you described. It wasn't an integer rollover. The issue is that you can't perfectly represent intervals of 0.1 seconds in a 24-bit integer, which caused a rounding error that grew in magnitude over time. If the system was regularly reset, the system clock would star over and the compounded error would be reset over time, which is why it wasn't caught during testing, since they didn't leave the system running for very long during testing. But if the system was left running long enough without a reset (in the case of the Dhahran strike, it had been running for at least 100 consecutive hours), the time drift would be so large that it would interfere with the missile's range calculation, causing it to miscalculate the range to the target, resulting in it failing to intercept the Scud.
@Teixas666
@Teixas666 2 ай бұрын
11:09 the stupidest part of this situation was that this was a private entity that messed up trying to do something that is bordering on illegal(manipulating short positions in a malicious manner) and when they messed up they proceeded to socialize their losses and demand a bailout.
@hugomazeas4297
@hugomazeas4297 2 ай бұрын
Classic late stage capitalism move
@Masterix.
@Masterix. 2 ай бұрын
@@hugomazeas4297 There's nothing capitalist about bailouts.
@cherubin7th
@cherubin7th 2 ай бұрын
@@hugomazeas4297 Demanding a Bailout is classic late stage Socialism move
@divinecomedian2
@divinecomedian2 2 ай бұрын
​@@hugomazeas4297government bailouts are capitalism now?
@bassett_green
@bassett_green 2 ай бұрын
0:16 this Gandhi bug is a myth
@vijayadeep0_0
@vijayadeep0_0 2 ай бұрын
Parallel universe 😂
@Trivve
@Trivve Ай бұрын
Off to a great start when 15 seconds into the video they already are repeating a myth as fact.
@gorilla_gorl
@gorilla_gorl Ай бұрын
at least he said "thats the urban legend anyway" afterwards
@ae4164
@ae4164 Ай бұрын
1.1m views on a video that starts with BS. What a sad commentary.
@felixjochems1238
@felixjochems1238 2 ай бұрын
14:13 Looks like the bugs couldn't escape the "THREAC-25" again
@volundrfrey896
@volundrfrey896 2 ай бұрын
3:20 this wasn't a glitch, this wasn't a bug. It how the system works and is supposed to work. All they did was cheque fraud.
@DoubleFaceReal
@DoubleFaceReal 2 ай бұрын
Bro you could make an entire series just with the content of this video
@RickWeberEcon
@RickWeberEcon 2 ай бұрын
Of all the channels encouraging me to learn book binding and calligraphy, Fireship is my favorite!
@OperationDarkside
@OperationDarkside 2 ай бұрын
If you want a real hard copy, go all the way back to kiln burned clay tablets.
@RickWeberEcon
@RickWeberEcon 2 ай бұрын
@@OperationDarkside I’m probably due for a three week binge of Primative Technology. Maybe he’s got a video on knot language or something
@OperationDarkside
@OperationDarkside 2 ай бұрын
@@RickWeberEcon You can do a binge for simple clay working with primitive technology and learn the writing from one of Irving Finkel's lessons about Cuneiform.
@ehuntley83
@ehuntley83 2 ай бұрын
Hey man, you take that back. Zune was awesome. I'll die on that hill 😆
@ME0WMERE
@ME0WMERE 2 ай бұрын
0:20 it's an overflow error. Underflow is when a floating-point operation is smaller in magnitude than the computer can represent. An integer wrapping in _either_ direction is an overflow error.
@AdoreHorror
@AdoreHorror 2 ай бұрын
Its actually not and the bug never existed
@Aliceeeeeeeeeeeeeee
@Aliceeeeeeeeeeeeeee 2 ай бұрын
@@AdoreHorror Which was also mentioned in the video -_-
@musaran2
@musaran2 2 ай бұрын
Damn, he is right. Over/under really means most/least significant digits side. Thought one could argue underflow happens with integers too, it is just much more expected.
@ME0WMERE
@ME0WMERE 2 ай бұрын
@@AdoreHorror it is - look it up. And I was never arguing the bug existed.
@incars1000
@incars1000 2 ай бұрын
It's also not an unsigned *integer* if it overflows to 255, it's a char or a byte
@vanderhooftamvl6587
@vanderhooftamvl6587 2 ай бұрын
Thanks, I will show this video at my boss when I take entire prod down on a friday afternoon so he knows it's not that bad after all
@rustygear447
@rustygear447 2 ай бұрын
0:14 The Ghandi nuke thing in Civ is a myth. Some guy made a joke one time and it became an undying meme. It never happened.
@sharp7171
@sharp7171 2 ай бұрын
Yo I just looked it up and can't believe what you are saying is true. My life has been a lie...
@loop4569
@loop4569 2 ай бұрын
He did specify it's the Urban Legend
@SoutParl
@SoutParl 2 ай бұрын
15:42 Fireship is not suicidal
@monzerfaisal3673
@monzerfaisal3673 2 ай бұрын
We all agree to this statement 100%
@vectoralphaSec
@vectoralphaSec 2 ай бұрын
Writing faulty code that ends uo killing someone is a nightmare scenario.
@KSPAtlas
@KSPAtlas 2 ай бұрын
the Gandhi civilization bug turns out to be, funnily enough, a case of the Mandela effect
@MarcinKralka
@MarcinKralka 2 ай бұрын
No, it's just misinformation.
@635574
@635574 2 ай бұрын
​@@MarcinKralka which is what Mandela effects are. People rember shit wrong all the time. You can't forgot that you forgot.
@Eichro
@Eichro 2 ай бұрын
People keep saying that but was Gandhi still going ballistic out of nowhere in that game (on purpose)? Or that part was also a legend?
@ithomas5576
@ithomas5576 Ай бұрын
a moth playing the bongos is now my favourite representation of a bug lmao
@derodomtommy3716
@derodomtommy3716 2 ай бұрын
"Speaking as one of the devs who actually worked on the original Civ, yes Gandhi tended to nuke you. It was not intentional, but resulted from the fact that Gandhi usually didn't built much of a military, and advanced rapidly in tech. So when you betray your alliance with him and attack, his only recourse was to nuke you."
@k98killer
@k98killer 2 ай бұрын
Who are you quoting?
@635574
@635574 2 ай бұрын
Sounds sus quoting someone without the name, also I would not be surprised if Sid Meier forgot or lied about the bug. half the internet believes him it was hoax.
@derodomtommy3716
@derodomtommy3716 2 ай бұрын
@ it was from the other video on the myth. I’ve heard sid discuss the same logic in other interviews.
@MatheusLB2009
@MatheusLB2009 2 ай бұрын
​@@derodomtommy3716 it's a total myth
@theycallme_nightmaster
@theycallme_nightmaster 2 ай бұрын
0:59 CRAPPY????? are you kidding me Zune was way better than ipods. Loved mine so much and the software was actually amazing
@PixelSubstream
@PixelSubstream 2 ай бұрын
Yup that was my jam, the interface looked so much nicer than the iPodds imo
@waffles3782
@waffles3782 2 ай бұрын
I loved my zune hd
@lucymorrison
@lucymorrison Ай бұрын
zune RULED!
@theLilaQ
@theLilaQ Ай бұрын
Lmao 🤣
@user-fe8gx3ie5v
@user-fe8gx3ie5v Ай бұрын
Typical Zune autist
@sonicbhoc
@sonicbhoc 2 ай бұрын
The Boeing MCAS system was not to prevent stalling, but to ise software to augment the maneuvering characteristics of the 737 MAX to match those of previous iterations of the 737. This was done solely as a money saving exercise, since it allowed pilots to do a simple difference training instead of a new type rating drastically speeding up the time and reducing the cost to the airlines to get things rolling. They essentially did this because that's what Airbus did with the A320, but the A320 didn't require any fancy software to keep the same handling characteristics. The 737 did, because fitting the larger engines to the wings meant shifting everything on the plane ever so slightly. The other problem with the system is that it only ever read from a single Angle of Attack Vein. If you paid for both available sensors (yes, it was an optional add-on when it shouldn't have been), the system would just flip-flop between them at every system start-up. It should have been reading both sensors for redundancy, and in hindsight it is quite obvious why. The last big problem with the design was that it had more control authority than the pilots. If it started sending bad commands to the horizontal stabilizer, the ONLY thing a pilot can do is to completely de-power the stabilizer and use the manual trim wheel.
@chasm1853
@chasm1853 2 ай бұрын
Correction, the 2003 blackout contributed to over 100 deaths (no traffic lights, chaos, etc.)
@Andytlp
@Andytlp 2 ай бұрын
Its just a statistic. No one actually paid for the crime\mistake.
@seriouslyWeird
@seriouslyWeird 2 ай бұрын
Wtf how do you die of chaos when its just dark
@MiniKodjo
@MiniKodjo 2 ай бұрын
9:00 its illarious how the guy says everything if fine so far as the rocket blows up xD
@erwinkonopka7071
@erwinkonopka7071 2 ай бұрын
8:36 I like to point out that 1996 was 28 years ago. NOT "few".
@musaran2
@musaran2 2 ай бұрын
LALALA CAN'T HEAR YOU.
@charmander2k
@charmander2k 2 ай бұрын
he is talking about the orbiter fail which was in '99. So 1996 is just 3 years before that. don't post ret**ded comments.
@meol0390
@meol0390 2 ай бұрын
3:35 that’s not *a glitch*. That’s one of the oldest forms of bank fraud. It’s check kiting
@JohnDoe-bu3qp
@JohnDoe-bu3qp 2 ай бұрын
There's something funny about the same car manufacturer having a breaking problem and an acceleration problem.
@MichaelPerna1289
@MichaelPerna1289 2 ай бұрын
Omg I designed that heartbleed logo when I worked at Fortinet
@Serizon_
@Serizon_ 2 ай бұрын
good job mate
@briskysh
@briskysh 2 ай бұрын
GJ! It was all over the internet for that one year when Heartbleed was identified
@ReynaMirez
@ReynaMirez 2 ай бұрын
no you didn't
@P4INKiller
@P4INKiller 2 ай бұрын
That's funny, you don't look like Leena Kurjenniska. In fact, you don't look like a woman at all. And "Fortinet" is a funny name for Synopsys Software Integrity Group. It's almost as if you pulled your claim out of your ass or something.
@isaac10231
@isaac10231 2 ай бұрын
Fr?
@Museko
@Museko 2 ай бұрын
The horrifying thing about the Therac-25 bug is that the bug arose from experienced operators when inputting the incorrect procedure. The machine was supposed to "lock up" and administer the procedure but operators who were fast enough to correct the mistake before the lock up actually caused higher doses to be administered. So slow, unfamiliar operators wouldn't cause the error to trigger but fast, experienced ones did. I remember studying this when taking my computer ethics course in uni. I don't remember the full details, but that's the gist of it.
@aSenseSeeker
@aSenseSeeker 2 ай бұрын
Holy crap. This puts the importance into perspective. Pretty sure I won’t be dreading fixing bugs, writing tests and handling exceptions from now on
@AzureFan1
@AzureFan1 Ай бұрын
I love how concise your video is. Earned my subscription!
@rolu9345
@rolu9345 2 ай бұрын
Sid Myers said it himself in interviews that the Ghandi's bug is a myth
@futuza
@futuza 2 ай бұрын
Hence "urban legend"
@d0utone
@d0utone 2 ай бұрын
Had to laugh too hard on the Perlis quote. 😂
@kostkon
@kostkon 2 ай бұрын
FYI braking bug scene is from the movie: Hangar 18 (1980).
@erikjohnson9112
@erikjohnson9112 2 ай бұрын
Yep. MST3K did the movie back in the UHF days of the show (pre-cable). I like the movie (and MST3K's handling of it).
@Malevolent_Q
@Malevolent_Q 2 ай бұрын
I like the subtle reference the Bongo Moth brings when it shows up. In fact it was due to a moth that the term for software errors of that nature are called bugs.
@youssef.elmoumen
@youssef.elmoumen 2 ай бұрын
The voice transition at 6:39 : it's not a bug, it's a feature
@alexlangevin8340
@alexlangevin8340 2 ай бұрын
AI voice
@uhhhhokey2144
@uhhhhokey2144 24 күн бұрын
@@alexlangevin8340nah. its not, too much mouth noise when hes speaking.
@snoopy1alpha
@snoopy1alpha Ай бұрын
I (as a backend developer) like your way of presenting a frontend bug after each backend bug 😀
@balas6543
@balas6543 2 ай бұрын
Fireship: one of the few channels you don’t need to watch at 1.25 speed 😊
@gavinjones
@gavinjones 2 ай бұрын
Fireship is one of the few channels that I watch at normal speed
@DrPeeper
@DrPeeper 2 ай бұрын
You should have included the "cannot print on tuesdays" bug
@henryvaneyk3769
@henryvaneyk3769 Ай бұрын
You can thank me, amongst many other software engineers, for the Y2K bug not causing any system outages. It took months of testing and certification testing to VISA, MasterCard and the bank's back-end system to make sure everything went smooth when the year 2000 arrived.
@ibendover4817
@ibendover4817 2 ай бұрын
Can't wait for part 2 of this now that more companies are laying off devs in favour of a handful of staff using chatgpt thinking productivity will be the same. As a contractor I've seen major banks, insurance companies and telcos do this and we now have mass outages or security breaches every 2 weeks where I live. It's lead to an increase in 'system reliability expert' jobs instead of companies and governments holding c-level staff responsible for making drastic changes to show artificial temporary profits.
@Sledgeh101
@Sledgeh101 2 ай бұрын
I actually got my start in IT because of the Y2K bug. I took in 1996 what is now called a bootcamp, where I learned COBOL (yes, I did). Before I could get a programmer job, I got a job as a tester, and I kept building on that over the years.
@larrytron1992
@larrytron1992 2 ай бұрын
Worst ever bug I've ever caused was I disabled a line of code that filters out car fleets by a trucking company's branch. My reason for doing so was to test an isolated bug on that particular page. I thought I had reverted it before checking in the code to TFS because we had a live release that night, but when I logged in the next morning, I noticed my mistake As soon as my lead developer came in, I informed him about my mistake and apologised profusely. He chastised me and said that I was "just wasting space" at the company; which contributed to the company's decision to make my position redundant a few days later I learnt a lot from that ordeal, and I occasionally make the same mistake but always catch it before it goes live. Thankfully no-one noticed EDIT: Technically it was breaking data protection law, this was before GDPR, which prevents data from one branch being viewed from a different branch
@willi1978
@willi1978 2 ай бұрын
working people make mistakes. if you have to chastise people for making errors then you are a bad leader
@augustday9483
@augustday9483 2 ай бұрын
Your lead developer should have caught the bug during code review. Sounds to me like you weren't the only one who made a mistake that day, and he should get off your back if he isn't going to take responsibility for doing the things a lead developer is supposed to do.
@futuza
@futuza 2 ай бұрын
Ouch, but their loss for firing you for a mistake anyone could have made due to their incompetent code review and testing processes
@larrytron1992
@larrytron1992 2 ай бұрын
​@@futuza It wasn't because of that particular mistake. I was already on a performance improvement plan because I struggled early on in my career as a software developer; my work ethic was terrible, I was immature and very inexperienced The company was in the middle of creating a shortlist of people to get rid of and I was already on the chopping block. I was upset but secured a new position about a week later There were no code reviewing processes and the testing wasn't always confirmed by the testing team. The tech stack was also a complete disaster
@LeetStack
@LeetStack 2 ай бұрын
lol, that bit of code(00:52) is why I love this channel.
@metacube2
@metacube2 2 ай бұрын
Fun Fact: The first computer bug was an actual bug-a moth found in a Mark II computer in 1947.
@danielrdrigues
@danielrdrigues 2 ай бұрын
Digital gold vid right here, compiled news fast paced, really like this format 👍🏼🙏🏼
@yaksher
@yaksher 2 ай бұрын
@3:40 I'm pretty sure the Chase thing wasn't a glitch and was just a courtesy that they let people withdraw immediately?
@aecsar
@aecsar 2 ай бұрын
What a good Halloween movie. A 16mn Fireship video 🥳🥳
@anibalismaelfermandois6943
@anibalismaelfermandois6943 2 ай бұрын
I think it's time to change my spaghetti C++ code to memory leaking unsafe untested Rust
@Muneem-d9c
@Muneem-d9c 2 ай бұрын
imagine writing a big program only to realise that there is a small issue in the loop which makes it unusable
@chair6180
@chair6180 2 ай бұрын
@16:50 Love this rounding error
@p-j-y-d
@p-j-y-d 2 ай бұрын
This man deserves an Ig Nobel Prize. His videos first make people laugh, and then make them think... and then make them save human lives and billions of dollars.
@letcreate123
@letcreate123 2 ай бұрын
The "Nuclear Gandhi" bug never actually existed in Civ 1. It was an internet myth that ended up ascending into an actual thing in later Civ games.
@Trauma_Clown
@Trauma_Clown Ай бұрын
you must be very old
@newkamil3757
@newkamil3757 2 ай бұрын
5:38 i got your sponsor as an ad with the same voice lol
@rodrigob
@rodrigob 2 ай бұрын
This video should be included in all introduction to programming courses. All of them!
@chrisgianelle3905
@chrisgianelle3905 2 ай бұрын
During my Intro to C course as a Sophomore back in 96, our professor talked at length about the Therac-25 problems. That has stuck with me for my whole career
@tonnoz
@tonnoz 2 ай бұрын
i appreciate the amount of research went into this , thanks Jeff!
@staffanestberg
@staffanestberg 2 ай бұрын
if (isStalling && sensor1 == sensor2) { pushNoseDown() }🤣Awesome as always Fireship
@Lil.Yahmeaner
@Lil.Yahmeaner 2 ай бұрын
Those first 50 seconds are hilarious, love your writing 😂
@JohnneyleeRollins
@JohnneyleeRollins 2 ай бұрын
ive been trying to cancel netflix for weeks
@muhdiversity7409
@muhdiversity7409 2 ай бұрын
I got rid of Netflix by assigning my account to my ex. Done and dusted.
@LuisSierra42
@LuisSierra42 2 ай бұрын
@@muhdiversity7409 based
@TheBackyardChemist
@TheBackyardChemist 2 ай бұрын
is that a hard process?
@forzatoro89
@forzatoro89 2 ай бұрын
15:58 prevent stalling is not what MCAS does. What MCAS does is to make the pilot fly the 737 Max with the same "feel" of piloting a normal 737. This is also confirmed by the fact that the fix is simply to disable MCAS, something that would lead to stalling, if the system was for what you said.
@tiagotiagot
@tiagotiagot 2 ай бұрын
Y2K bug is a great example of the curse IT/infosec profession (also in many other areas as well, including lots of stuff CGI artists work on and also tons of prevention focused areas etc) suffers from; when you do everything right, no one notices it...
@DefaultFlame
@DefaultFlame Ай бұрын
7:20 I love that the diskette is in a case, like the Morris Worm has to be contained for people's safety.
@krishnarajt1743
@krishnarajt1743 2 ай бұрын
This shows how complex the industry is and gives me confidence that AI will not replace programmers.
@charlielarson1350
@charlielarson1350 2 ай бұрын
Or, on the flip side, we can see just how error-prone human programmers are and the goalpost we have for AI that makes 0 mistakes is likely unreachable, but AI that still make mistakes will still be used because the alternative is humans that make mistakes.
@krishnarajt1743
@krishnarajt1743 2 ай бұрын
​@@charlielarson1350 I think it is a little more complex than that. Right now, programmers need to check the quality of code generated by AI. They should understand the code, so that the integration can be done. If the AI can do this without the human supervision, then there is other aspects of programming. The solution, documentation, new ideas, issues mentioned in the video and so on. If AI can also do these, then all knowledge based jobs are in danger not just programming. But this seems to a big jump from current state of AI. So, I think in the future, AI will help humans increase efficiency rather than replacing them.
@charlielarson1350
@charlielarson1350 2 ай бұрын
@@krishnarajt1743 so you're wanting agent AI. If you want an AI to help you write code, it can do that. If you want an AI to help you write documentation, you can do that. If you want an AI to help you generate ideas based on what's already there, it can do that. We just need the piece of the puzzle that orchestrates all of these individual tasks together, AKA long-term planning rather than current request-response schema. ChatGPT was released 2 years ago and since then we haven't gone more than a few months without a new model getting better performance, 5x cheaper, new functionality and it hasn't slowed down. o1 model is their first generation of chain of thought and they're claiming they've utilized RL which completely changes the game if true. You think 5 years from now we'll still be considering AI a smart auto-complete? We are potentially 1 next generation model away from college graduates being completely useless.
@smartperson1
@smartperson1 2 ай бұрын
The segues from one bug to the next are masterful 🙂
@SubatomicPlanets
@SubatomicPlanets 2 ай бұрын
Watching this instead of bug fixing...
@pi_xi
@pi_xi Ай бұрын
Nice compilation, but I am missing the Xerox bug, which could change numbers on copied documents because of a faulty image compression algorithm.
@marlopainter8246
@marlopainter8246 2 ай бұрын
I went to click Play on a video I paused, but I hit Next instead, and found myself in a Fireship video 4mins after posting. It was no accident. It was destiny.
@qqbre
@qqbre 2 ай бұрын
Great video! I laughed every time a software bug appeared 😂
@haschid
@haschid 2 ай бұрын
Code in an aircraft, especially a military one, most likely is Spark and not C++. In the case of the MAX, you could argue it was not a bug to use only one sensor, since it was according to boeing specification. It was bad design.
@rstewart2702
@rstewart2702 2 ай бұрын
Spark is a flavor of Ada, isn’t it?
@rexzgamer
@rexzgamer 2 ай бұрын
Love the Video, Keep doing long videos man
@goulvenbourveau
@goulvenbourveau 2 ай бұрын
8:55 French : tous les paramètres propulsifs sont normaux, la trajectoire [...] Translated : all propulsion parameters are normal, the trajectory [...]
@BrandonAaskov
@BrandonAaskov 2 ай бұрын
Those who don’t learn from history are doomed to repeat it. Great video!
God-Tier Developer Roadmap
16:42
Fireship
Рет қаралды 7 МЛН
Best OS for programming? Mac vs Windows vs Linux debate settled
8:41
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Why Apple Stopped Using Intel Chips
27:58
Apple Explained
Рет қаралды 217 М.
How People Disappear
13:23
Vsauce
Рет қаралды 21 МЛН
Cicada 3301: An Internet Mystery
17:54
LEMMiNO
Рет қаралды 37 МЛН
10 weird algorithms
9:06
Fireship
Рет қаралды 1,3 МЛН
i dove down the 7z rabbit hole (it goes deep)
12:50
Low Level
Рет қаралды 595 М.
I tried 10 code editors
10:28
Fireship
Рет қаралды 3,2 МЛН
Hackers Who Get Paid to Hack Companies | Short Documentary
15:39
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 1,5 МЛН
Why Hacking is the Future of War
31:45
Johnny Harris
Рет қаралды 3,5 МЛН
When a CIA Hacker Goes Rogue
23:09
TyFrom99
Рет қаралды 2,6 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН