Thursday, April 27, 2017

We continue with the list of important software incidents in recent history as described here.   
22) At the heart - X-Ray was not the only place where a software bug could do damage. Heart devices were also found possible to be hacked.  Organ transplants implied replacing body parts with new. But these need not just be donor supplied biological alternatives but artificial ones as well. With the artificial ones needing to be maintained, patients needed trips to the doctor's office. Instead some of these devices made it possible to be controlled automatically or even in some cases remotely over the internet. This helps patient monitoring but there was not much attention paid to the security of medical devices which leads it vulnerable to hacking.
23) Power out - In 2003, there was a widespread power outage that occurred throughout the  parts of the Northeastern and Midwestern United States. It was the most widespread blackout in history.  It was triggered by a software bug in the alarm system which failed to sound after overloaded transmission lines hit obstruction. If the alarm had sounded, it would have been easier to redistribute power. The bug was a race condition in GE's XA/21 monitoring software.
24) messaging - Network nodes often exchange messages indicating the health of the peer and the actions to be taken. In 1990, AT&T long distance network crashed when the failure of one switching system would cause a message to be sent to nearby switching units. This message however made the recipient fail as well resulting in a wave of failures that swept the network. Such failures are often termed cascading failure.
#codingexercise
Find the count of numbers that begin and end with the same digit in a given range of sequential positive integers. 
Int GetCount(List<int> numbers) 

Int count = 0; 
for (int I = 0; I  numbers.Count; I++) 

Var digits = numbers[I].ToDigits(); 
If (digits.first() == digits.last()) 
     Count++; 

Return count; 
}

No comments:

Post a Comment