Which of those infamous software bugs have left their mark in history?

Which of those infamous software bugs have left their mark in history?

In today's digital age, computer bugs not only bother every programmer, but also inevitably affect our lives, from the daily life of each person to the national economy and the world situation. As our lifestyle gradually becomes digital and internet-based, finding and killing bugs in the digital world becomes more and more important.

[[158465]]

What are some famous bugs in software history? Let's review them together:

1. The mother of all insects, a name left in history

(The first bug in software history)

At 3:45 pm on September 9, 1947, Grace Murray Hopper recorded the first computer bug in her notebook - a moth found in the Harvard Mark II computer. She pasted the moth on her notebook and wrote "First actual case of bug being found". This discovery established the status of the word "bug" in the computer world and became the nightmare of countless hard-working programmers. Since then, the word "bug" in the computer world refers to errors or omissions in computer programs, which can cause the program to calculate inexplicable results or even cause the program to crash. Grace Murray Hopper was one of the earliest programmers in history, and she was also a female programmer. She served in the US Navy and was promoted to brigadier general.

This is the most widely circulated story about computer bugs, but the historical truth is that the word "bug" was widely used to refer to machine failures as early as the time of inventor Thomas Edison, which can also be seen in Edison's own notes around 1870. The Institute of Electrical and Electronics Engineers (IEEE) also attributes the introduction of the word "bug" to Edison.

2. Y2K, a carnival of hype

(In 1999, it provided excellent material for sensationalist magazines and tabloids)

In the last century, software developers never thought that their codes and products would enter the new millennium. Therefore, in order to save memory, many software developers omitted the first two digits of the year, "19", or assumed the first two digits to be "19".

As the calendar got closer to December 31, 1999, people became increasingly concerned that everyone's computer systems would crash on New Year's Eve of the millennium because the system date would be updated to January 1, 1900 instead of January 1, 2000, which could mean countless catastrophic events or even the end of the world.

To this day, we can laugh at this ridiculous story because nuclear missiles did not launch automatically, planes did not fall out of the sky out of control, and banks did not lose large amounts of deposits of the country and its users.

The Y2K bug was real, and the world spent hundreds of millions of dollars upgrading systems. In addition, some minor incidents occurred:

In Spain, parking meters broke down; the French meteorological service released a weather forecast for January 1, 1910; in Australia, the bus ticket verification system crashed. That was it. The final tally showed that software companies made a lot of money, tabloid sales soared, many programmers' millennium parties were ruined, and several illiterate Chinese old ladies were defrauded of their pensions. It was a serious matter.

3. Dhahran missile incident, millisecond error

During the first Gulf War in February 1991, a Scud missile launched by Iraq accurately hit the U.S. Dhahran base in Saudi Arabia, killing 28 American soldiers on the spot and injuring more than 100 people. This was the only time in the Gulf War that the U.S. military suffered more than 100 casualties.

Later investigations revealed that a simple computer bug had caused the Patriot anti-missile system at the base to fail and fail to intercept the Scud missile in mid-air. At the time, the Patriot anti-missile system responsible for defending the base had been working for 100 hours in a row. Every hour of work, the clock in the system would have a tiny millisecond delay, which was the root cause of the failure tragedy. The clock register of the Patriot anti-missile system was designed to be 24 bits, so the time accuracy was limited to 24 bits of accuracy. After a long period of work, this tiny precision error was gradually magnified. After working for 100 hours, the system time delay was one-third of a second.

To the average person, 0.33 seconds is insignificant. But for a radar system that needs to track and destroy a missile in the air, it is catastrophic - the Hussein Scud missile has an airspeed of Mach 4.2 (1.5 kilometers per second), and this "insignificant" 0.33 seconds is equivalent to an error of about 600 meters. In the Dhahran missile incident, the radar detected the missile in the air, but due to the clock error, it was not able to accurately track it, so the base's anti-missiles did not launch.

(Dhahran missile incident illustration)

4. Meters or Feet? Mars Climate Orbiter's Star Trek

The Mars Climate Orbiter was launched in 1997 to study the Martian climate, but it failed to achieve its $300 million-plus mission.

After flying in space for several months, the probe eventually disintegrated in the Martian atmosphere due to a navigation error. The probe's control team used imperial units to send navigation instructions, while the probe's software system read the instructions in metric units. This error greatly changed the path of navigation control. Finally, the probe entered a too low Martian orbit (about 100 kilometers error) and disintegrated under the excessive Martian atmospheric pressure and friction.

(Meters or feet? Off by 100 kilometers!)

Ariane 5 launch vehicle, an expensive simple copy

When programming, programmers must define the variables used by the program and the computer memory required for these variables, which is defined in bits.

A 16-bit variable can represent values ​​between -32.768 and 32.767, while a 64-bit variable can represent values ​​between −9.223.372.036.854.775.808 and 9.223.372.036.854.775.807.

On June 4, 1996, after the first launch of the Ariane 5 rocket, the rocket began to deviate from its course and was eventually forced to detonate and self-destruct. The whole process took only 30 seconds. The Ariane 5 rocket was developed based on the previous generation of the Ariane 4 rocket. In the Ariane 4 rocket system, a 16-bit variable and memory were used for the measurement of a horizontal rate. Because it was repeatedly verified in the Ariane 4 rocket system that this value would not exceed the 16-bit variable, the developers of the Ariane 5 rocket simply copied this part of the program without verifying the value of the new rocket, resulting in a fatal numerical overflow. After the launch, this 64-bit variable with a decimal point was converted into a 16-bit variable without a decimal point, triggering a series of errors, which affected all the computers and hardware on the rocket and paralyzed the entire system, so it had to choose to self-destruct, and 400 million US dollars turned into a huge firework.

(Ariane 5 fireworks cost $400 million, produced by software bug)

Easter egg: Windows 98 Blue Screen of Death (Bill Gates witnessed the Blue Screen of Death with the audience at the Windows 98 live demonstration)

<<:  Where has the time gone? The classic software that was popular in those years

>>:  If you want to be a full stack engineer

Recommend

How to attract user traffic and trigger social communication?

Today’s topic is how to ignite social communicati...

What is the core of information flow? Social content!

Don't use bidding thinking to place informati...

The difference between iQiyi splash screen ads and information flow ads

Often, advertisers will ask, iQiyi has so many ad...

Software Engineer Entrepreneurship Trap - Taking Private Jobs

I am a Java engineer by profession. I have been w...

Does Shenzhen Mini Program Mall need to apply for a business license?

Can an e-commerce business license be used to ope...

Teach you how to quickly find shortcuts for APP operation and promotion

The eight golden rules introduced in this article...

Xiaomi invests $300 million in iQiyi and acquires stake in Youku Tudou

[[122536]] According to the report of China Busin...

A Rough Guy - Advanced Chest Training

A rough man-chest training advanced resource intr...

APP promotion: How to use traffic pool to acquire customers at low cost?

Traffic pool thinking is the guiding thinking for...

The landing page conversion rate is low, and 90% of the traffic is wasted?

How do you design your landing pages? In bidding,...