A variable crash  = $370 million

A variable crash = $370 million

?? In 1996, Ariane 5 crashed, costing $370 million due to a simple software error.

?? What Went Wrong:

  • The Ariane 4 used a 16-bit (short).
  • In contrast, Ariane 5 used a 64-bit (double) in version 5.
  • The code was reused from Ariane 4, which had lower horizontal velocities
  • As the rocket's acceleration exceeded the maximum limit for a 16-bit short (32,767), the system failed, triggering an exception that ultimately caused the crash.

Here’s a simplified version of the problem:

fun convertHorizontalBias(velocity: Double): Short {
    return velocity.toShort() // This will throw exception if velocity > 32767
}        

This small oversight in code reuse was enough to cause a disastrous failure, proving how even the tiniest errors can have massive repercussions.


Similarly, the 30-06 incident—a strange invitation to participate from Z-i-o-nist and secularist forces for unclear reasons—set off a chain of events. This led to a series of wars in 2014, 2019, 2021, and 2022, each escalating tensions and causing widespread destruction. Finally, this sequence of mistakes culminated in the tragic loss of over 200,000 lives.

This shows that sometimes, you try to be clever and naive, thinking that small decisions or oversights won’t matter, but if you do not take those seriously, you may become a major player in the bloodshed a decade down the line.

Both of these events show that small mistakes, if ignored or underestimated, can cause massive, irreversible damage, the long-term effects of minor oversights are often far more devastating than we anticipate.


?? Lessons:


  1. Event Space ESA(NASA) do not write unit testing.
  2. Even ESA with advanced technology cannot guarantee zero failures.
  3. Unit Testing Saves Millions.
  4. Validate Assumptions: Code reused from Ariane 4 wasn’t tested for Ariane 5.
  5. Avoid Parasitic Assumptions: Small mistakes can have huge consequences.
  6. Some Tiny Mistakes Have a Huge Effect After Years—More Than Big Mistakes: The long-term impact of small mistakes can be far greater than we anticipate.

#SoftwareEngineering #TechFailure #Ariane5 #UnitTesting #Innovation #LessonsLearned #RiskManagement #AvoidParasiticAssumptions

Ahmed Abdul Saad

Jr. Software Engineer @ Beno

3 个月

Good read Huzaifa!

要查看或添加评论,请登录

Huthayfah Alfararjeh的更多文章

  • Composition Over Inheritance

    Composition Over Inheritance

    The third principle is the Liskov Substitution Principle (LSP), which states that if two classes, A and B, share the…

  • The unstable Computer science

    The unstable Computer science

    The field of computer science remains fluid, mysterious, and unstable, with its technologies and methods undergoing…

  • ??????? ?? ??? ??????

    ??????? ?? ??? ??????

    ?? ??? ??? ?????? ????? ????? ?????? ???? ?????? ? ???? ??????? ???????? ?????? ?????? ? ?????? ?????? ????????? ?????…

社区洞察

其他会员也浏览了