Author |
Message |
rustybucket
I haven't seen my friends in so long
Joined: Thu Jun 18, 2009 5:10 pm Posts: 5836
|
_________________Jim
|
Thu Oct 29, 2009 3:30 pm |
|
 |
davrosG5
I haven't seen my friends in so long
Joined: Fri Apr 24, 2009 6:37 am Posts: 6954 Location: Peebo
|
The bit about the patriot missile system was a little alarming.
_________________ When they put teeth in your mouth, they spoiled a perfectly good bum. -Billy Connolly (to a heckler)
|
Thu Oct 29, 2009 6:51 pm |
|
 |
JJW009
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:58 pm Posts: 8767 Location: behind the sofa
|

At least the summary isn't misleading. When writing multi-million pound life endangering mission critical control systems, it would be best if the programmer can maths. Sadly, such people are in short supply. It's amazing how few people understand fully the sometimes dramatic consequences of rounding off, and how they may often be avoided by simply doing a calculation in a different order. Even when a true professional writes code, there are often time and budget constraints which mean it's released before it's ready. When code runs into millions of lines, it's not possible to guarantee 100% accuracy because it would be obsolete before the tests were complete. Some bugs are inevitable. However, something like that incremental clock bug in the Patriot targeting system was just idiotic by design. I suspect the fatal overflow in the Ariane V was probably brought about by trying to stretch the performance of the available hardware to the limits. *wikis* In other words, the computer wasn't fast enough to do it more thoroughly. There are often compromises on the bleeding edge of technology, and the logic sounds acceptable. However: LOLWTF. 
_________________jonbwfc's law: "In any forum thread someone will, no matter what the subject, mention Firefly." When you're feeling too silly for x404, youRwired.net
|
Thu Oct 29, 2009 10:44 pm |
|
 |
rustybucket
I haven't seen my friends in so long
Joined: Thu Jun 18, 2009 5:10 pm Posts: 5836
|
Given that Ada is a piece is of piss to debug, how the hell was this missed? 
_________________Jim
|
Thu Oct 29, 2009 11:42 pm |
|
 |
JJW009
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:58 pm Posts: 8767 Location: behind the sofa
|
Because the code wasn't even looked at. It was a known working subsystem with a proven track record. It was treated as a black box. People often use library routines which contain redundant code, and it usually doesn't matter.
_________________jonbwfc's law: "In any forum thread someone will, no matter what the subject, mention Firefly." When you're feeling too silly for x404, youRwired.net
|
Thu Oct 29, 2009 11:45 pm |
|
 |
rustybucket
I haven't seen my friends in so long
Joined: Thu Jun 18, 2009 5:10 pm Posts: 5836
|
Reusing code is fine if you're talking about a device driver or a GUI but this wasn't. This was an aerospace subsystem written in a specialist language and installed in a multi-billion pound space vehicle. If the vehicle was to be that important and expensive, short cuts should not have been acceptable.
_________________Jim
|
Fri Oct 30, 2009 12:38 am |
|
 |
finlay666
Spends far too much time on here
Joined: Thu Apr 23, 2009 9:40 pm Posts: 4876 Location: Newcastle
|
Given my dissertation/final year project is on test generation I can completely see why this was not discovered (as far as the google bug of 599 999 999 999 999 - 599 999 999 999 998 = 0 goes)
If you look at testing 2 integers where a - b = c
Then you have 5 million possibilities for a, 5 million possibilities for b
Testing every possible combination, that gives over a quintillion (1 x10 ^ 18) possible combinations
Assuming each test is automated and takes 1 second to run each test you are looking at 32 billion years to run the tests JUST for a - b = c, that doesn't even include the time taken to verify each answer is correct.
Programmers take short cuts or use unsafe code. Always have and always will until they are made accountable for their errors
_________________TwitterCharlie Brooker: Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.
|
Fri Oct 30, 2009 12:55 am |
|
 |
JJW009
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:58 pm Posts: 8767 Location: behind the sofa
|
Clearly, you're quite correct. To be honest, without knowing all the details of what the sub system actually did I don't think it's fair to judge the decisions made at the time. Frankly, even presented all the information there are few of us qualified to criticise it. However, on the surface it does appear likely that the decision was based on cost and time rather than best engineering practice. Unfortunately, I suspect these kind of shortcuts happen all too often - even in expensive and critical projects found in aerospace and other industries. Lets hope the computer systems in our nuclear power stations aren't cobbled together from old bits of code to meet deadlines. Actually, let's hope they were mechanically engineered to be fail-safe regardless. Coder: "I need a year to complete the project" Manager: "We launch in 2 weeks"
_________________jonbwfc's law: "In any forum thread someone will, no matter what the subject, mention Firefly." When you're feeling too silly for x404, youRwired.net
|
Fri Oct 30, 2009 1:06 am |
|
 |
EddArmitage
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 9:40 pm Posts: 5288 Location: ln -s /London ~
|
Grrrr, I really want to comment here, but can't 
|
Fri Oct 30, 2009 9:42 am |
|
 |
JJW009
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:58 pm Posts: 8767 Location: behind the sofa
|
Because of the official secrets act, or can't you say?
_________________jonbwfc's law: "In any forum thread someone will, no matter what the subject, mention Firefly." When you're feeling too silly for x404, youRwired.net
|
Fri Oct 30, 2009 5:52 pm |
|
 |
rustybucket
I haven't seen my friends in so long
Joined: Thu Jun 18, 2009 5:10 pm Posts: 5836
|
He could tell you but then he'd have to kill you. 
_________________Jim
|
Fri Oct 30, 2009 5:57 pm |
|
 |
finlay666
Spends far too much time on here
Joined: Thu Apr 23, 2009 9:40 pm Posts: 4876 Location: Newcastle
|
That's a risk I'm willing to take, he can tell us then kill JJ 
_________________TwitterCharlie Brooker: Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.
|
Sat Oct 31, 2009 12:41 am |
|
 |
rustybucket
I haven't seen my friends in so long
Joined: Thu Jun 18, 2009 5:10 pm Posts: 5836
|
Altered for clarity 
_________________Jim
|
Sat Oct 31, 2009 1:29 am |
|
 |
finlay666
Spends far too much time on here
Joined: Thu Apr 23, 2009 9:40 pm Posts: 4876 Location: Newcastle
|
Tell everyone! It'll be like putting the ring video on youtube!
_________________TwitterCharlie Brooker: Macs are glorified Fisher-Price activity centres for adults; computers for scaredy cats too nervous to learn how proper computers work; computers for people who earnestly believe in feng shui.
|
Sat Oct 31, 2009 1:41 am |
|
 |
JJW009
I haven't seen my friends in so long
Joined: Thu Apr 23, 2009 6:58 pm Posts: 8767 Location: behind the sofa
|
I'm guessing you've seen this, so for those who have not: 
_________________jonbwfc's law: "In any forum thread someone will, no matter what the subject, mention Firefly." When you're feeling too silly for x404, youRwired.net
|
Sun Nov 01, 2009 4:02 pm |
|
|