Slashdot Mirror


F-22 Avionics Require Inflight Reboot

An anonymous reader writes "The Atlanta Journal & Constitution is fronting a lengthy piece on the USAF's new F-22 and its upcoming shootout with the existing fleet of F-15's & 16's. One line in the article really jumped out at me: 'When avionics problems crop up now, pilots must restart the entire system as if rebooting a personal computer.' I did some googling, and this is about as much as I could find: The hardware backbone for the system is the Hughes Common Integrated Processor, which, in turn, appears to be built around the Intel i960 CPU. I couldn't find a name for the operating system, but it appears to be written in about one and a half million lines of Ada code; more on the Ada hardware integration and Ada i960 compilers is here. Any Slashdotters working on this project? If so, why do you need the inflight reboot? PS: Gamers will be interested to learn that nVidia's Quadro2 Go GPU and Wind River's VxWorks Operating System are melded in the F-22's Multi-Function Display."

559 comments

  1. F-22 BSOD... by Toasty16 · · Score: 1, Funny

    ...Blue Skies of Death

    1. Re:F-22 BSOD... by Verizon+Guy · · Score: 1, Funny

      I wonder if there are Ctrl, Alt, and Del buttons on the F-22 cockpit console?

      --

      Aw, fuck it. Let's go bowling. - The Big Lebowski

    2. Re:F-22 BSOD... by Anonymous Coward · · Score: 3, Funny

      I wonder if there are Ctrl, Alt, and Del buttons on the F-22 cockpit console?

      Sure, Ctrl is on the right control panel, Alt on the left, and Delete on the stick. :-)

    3. Re:F-22 BSOD... by H3XA · · Score: 1

      nah.... it is recommended that you radio Tech Support to be stepped though the diagnostic checklist of fault finding to discover the best course of action...... if you live long enough - C-A-D is pointless when the system AND the plane has crashed.

      - HeXa

    4. Re:F-22 BSOD... by revbob · · Score: 2

      Ever hear of a CB (circuit breaker)? Works like a charm.

    5. Re:F-22 BSOD... by netsharc · · Score: 1

      Wouldn't that combination be hard to press? with one hand on the stick, how would you reach both Ctrl und Alt? I suppose you could use an elbow..

      --
      What time is it/will be over there? Check with my iPhone app!
    6. Re:F-22 BSOD... by DragonTHC · · Score: 2, Funny

      no no, you see ctrl-alt-del is on the stick, though you have to press them at exactly the same time or you'll launch a missile :

      --
      They're using their grammar skills there.
    7. Re:F-22 BSOD... by Cnik70 · · Score: 0

      I think they call that the Ejection Seat

      --
      -Cnik
    8. Re:F-22 BSOD... by stilwebm · · Score: 3, Funny

      You have to find a paperclip, the straighten one end to fit it in the small "reset" hole on the side of the console.

    9. Re:F-22 BSOD... by Anonymous Coward · · Score: 0

      Wouldn't that combination be hard to press? with one hand on the stick, how would you reach both Ctrl und Alt? I suppose you could use an elbow..

      It was supposed to be a joke, I think. I found it amusing, at least.

    10. Re:F-22 BSOD... by RackinFrackin · · Score: 1

      I wonder if there are Ctrl, Alt, and Del buttons on the F-22 cockpit console?

      Maybe it has an square orange reset button recessed into the right side of the control panel's keyboard. At least in the plane you wouldn't have to worry about some jerk in your class pressing it after you spent twenty minutes typing in a program in TRS80 Basic.

    11. Re:F-22 BSOD... by LoadWB · · Score: 1

      SYS 64738 isn't TRS-80, that's Commodore 64 :)

  2. F-22 Display Units by Cardhore · · Score: 0, Troll

    That's what happens when you use ADA. If it was in Scheme we'd have no problem.

    Openoffice 1.0.1 was released a few days ago and it didn't make the headlines. However, development releases of Linux do. Strange, eh?

    1. Re: F-22 Display Units by Black+Parrot · · Score: 1, Redundant

      > That's what happens when you use ADA.

      FYI, "ADA" is the American Dental Association.

      You may be confusing it with the programming language, Ada, named after Ada Byron, Lady Lovelace, Lord Byron's daughter.

      --
      Sheesh, evil *and* a jerk. -- Jade
    2. Re: F-22 Display Units by Cardhore · · Score: 2

      Thanks for the heads up. My mistake. :)

    3. Re: F-22 Display Units by Black+Parrot · · Score: 1

      > Thanks for the heads up. My mistake. :)

      No problem; it's a common mistake.

      For that matter, I still don't know the proper capitalization for Fortran ("formula translator" --> "ForTran"?) and Cobol ("common business-oriented language" --> "CoBOL"?).

      No one is born knowing these things.

      --
      Sheesh, evil *and* a jerk. -- Jade
  3. Hope it doesn't hang by BlindSpot · · Score: 0, Redundant

    My system (Windows ME) hangs every time I try to use Restart. I hope their avionics system is more stable, or those pilots are in trouble...

    1. Re:Hope it doesn't hang by Anonymous Coward · · Score: 0

      you seriously use ME???

      You sir, are a fucking fuckwit.

    2. Re:Hope it doesn't hang by aceAzza · · Score: 1

      If you are using Windows ME, you can't come to slashdot.org anymore!

  4. Why a reboot - because the creators are bozos by putaro · · Score: 2, Interesting

    Long ago a friend of mine was working on an add-in computer driven compass for the F-16 for a big defense contractor. She called me up looking for graphics algorithms (she was the junior engineer on the project). She was fighting with her boss who wanted to install an FPU to speed up their circle drawing routine (this drew the compass rose onto the screen) while she thought they could speed it up by switching algorithms. Why did her boss want an FPU - well, because software sine and cosine routines were too slow. (BTW, the circle was always the same size and just the tick marks actually moved).

    1. Re:Why a reboot - because the creators are bozos by Anonymous Coward · · Score: 0

      My favorite circle-drawing trick is one even faster than bresenham's in many cases, single-stepping from one line to another is just calculating sequentially-calculatable values for the squares of the X and Y, so other than one squaring operation (radius squared) the entire algo turns into two adds, and two subs, to get the X/Y coords for each step of the circle, then single axis-aligned lines between them.

      Of course, if you're dealing with anti-aliased circles, all of it still works, just gets a little wonky on the math and runs out of registers on an x86-alike, need a 68k or Arm-series CPU to pull it off easilly, needs about 10 ot 11 registers to do it all in-register then, including anti-aliasing.

    2. Re:Why a reboot - because the creators are bozos by Anonymous Coward · · Score: 1, Insightful

      I don't get it. Surely in a real time app, the sine and cosine routines would use look-up tables ? Difficult to speed that up by much.

    3. Re:Why a reboot - because the creators are bozos by TheStruuus · · Score: 5, Interesting

      not bozos, it's the government guidlines. For instance the fuel systems have redundent processor units. when started both are online with the slave electronicly disconencted. Following FAA guidlines dictates that a one strike and your out is enforced. At the first sign of CPU trouble (crash,freeze,any electronic part failing within the system) all inputs and ouputs on the unit are sent to high-z and the other unit takes over. Now the reboot part, the first unit will sit in a frozen state indefintly until it is manualy reset with a POR or full HR. But the plane will fly just fine on the redundent system. In an emergency the pilot can manualy reboot the halted system and it will either start up again (if the inital failure was some glitch) or immidiatly halt again if it was a critical falure.

    4. Re:Why a reboot - because the creators are bozos by Anonymous Coward · · Score: 0

      Holy crap!

      Inept losers like that work on military software?
      When I was in HIGH SCHOOL I had the same problem
      on my Z80 CPU. My solution?
      Precompute COS and SIN values for each degree and
      hold it in an array.

    5. Re:Why a reboot - because the creators are bozos by esonik · · Score: 1

      She'd still need the sine/cosine values to draw the moving tickmarks. So an FPU would speed up compass drawing but not in the circle part. Maybe she just misunderstood her boss.

  5. I had to say it... by qnonsense · · Score: 1

    Not to be cliche or anything, and I'm sure you could see this one coming a million miles away,

    but what happens when it crashes?

    Hahahahaha!!!

    --
    There comes a time in every man's life when he must say, "No mother! I do not want any more Jell-O!"
    1. Re:I had to say it... by Anonvmous+Coward · · Score: 5, Funny
      Not to be cliche or anything, and I'm sure you could see this one coming a million miles away,

      but what happens when it crashes?

      Hahahahaha!!!
      This reminds me of some trouble I got into in high-school once: Anybody remember Channel 1? It started around 1990-1, and it was a news channel that some schools got. Each episode had a trivia question just before a commercial break.

      One day, they asked "What is the most common cause of plane crashes?". I hastily and enthusiastically responded "gravity!!" I got in real serious trouble that day, I forgot that the teacher was also a pilot. The real answer was 'human error', which I had illustrated that day when my teacher shot me down to the principal's office.
    2. Re:I had to say it... by slaida1 · · Score: 0

      Where in the hell was your school to have that kind of draconian laws?! Make a fun joke and off to the principals office you go, sheesh... I hope you moved far and away from there, where ever it was, after graduation.

      --
      Preserve old classics: copy your collection onto all hard drives.
    3. Re:I had to say it... by faaaz · · Score: 1

      yep, a teacher that can't stand a joke isn't fit for teaching at all. In fact, I can't recall a single one of my teachers that didn't have a sense of humor.

      --
      we come in peace / shoot to kill
    4. Re:I had to say it... by blue_zero · · Score: 1

      ah yes, channel 1, we still get that in schools nowadays..

      (off topic sorta..)

      --
      I support publik eduscatation!
    5. Re:I had to say it... by red_gnom · · Score: 1
      Where in the hell was your school to have that kind of draconian laws?!

      He was extremely lucky, he was not sent to Siberia...

    6. Re:I had to say it... by Anonvmous+Coward · · Score: 1

      Lol! Actually I did move thousands of miles away after graduation.

      The guy took flying way too seriously, and I think he thought I was making fun of plane crashes. Honestly, I wasn't going for sarcasm. My mouth was moving while I was thinking and 'gravity' came out. It's the type of thing that would have been avoided if I had waited a little bit before opening my yaps.

      I'm not defending the guy, though. He'd sit there telling you stupid jokes all the time like:

      "If everbody in America had a pink cadillac, the USA could be called a 'pink-car-nation'." ... Yet I make a joke that erupts the class into laughter (albeit unintentionally), and I get to go see the principal.

      Heh. Joke's on him, though. 2 years after I leave and start my career, I'm making more than he is.

    7. Re:I had to say it... by netruner · · Score: 1

      coutermeasure.dispense_chaff() has made an illegal function call - your system will now reboot.

      OR

      enemy_lock_on.warning() has caused a sementation fault - your system will now reboot

      --



      DISCLAIMER: This post was not checked for speling and grammar- if you complain- you're a whiner
    8. Re:I had to say it... by Ian+Wolf · · Score: 2

      "sementation fault"

      Dude, that is one hell of a freudian slip. Try Viagra.

      --
      "The words of the prophets are written on the Slashdot walls."
    9. Re:I had to say it... by geekoid · · Score: 2

      did you ask him if it would crash without gravity?

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    10. Re:I had to say it... by Anonymous Coward · · Score: 0

      it prolly would, if a mountain got in the way :D

    11. Re:I had to say it... by Saeger · · Score: 1
      Yeah, because money is the only measuring stick worth using... you shallow fuck.

      --

      --
      Power to the Peaceful
    12. Re:I had to say it... by Anonvmous+Coward · · Score: 1

      "Yeah, because money is the only measuring stick worth using... you shallow fuck."

      I'm sure more than one person will find it funny that you based your judgement on only one post. Heh. Yep, I'm the shallow one here. ::eyeroll::

    13. Re:I had to say it... by NanoGator · · Score: 1

      Funny, I don't see where he said that. I do see where the teacher treated him like crap, and he still went on to do well in life. What was he supposed to do? Hit him?

      Grow up dude, you're serioulsy overreacting over something AC didn't say. That's a bit feminine if you ask me. Heh.

      --
      "Derp de derp."
    14. Re:I had to say it... by Saeger · · Score: 1
      Not even the entire post. I was with you up until the very last sentence.....You shallow fuck.

      It's just a pet peeve of mine - move along now 'Anonvmous Coward', nothing to see here.

      --

      --
      Power to the Peaceful
    15. Re:I had to say it... by Anonvmous+Coward · · Score: 1

      Your 'pet peeve' is overreactive and assumptive. What's that make you? A shallow fuck. So don't call me one.

    16. Re:I had to say it... by NanoGator · · Score: 1

      Oh grow up dude. It's okay for the teacher to dunk him into the principal's office, but the dude one-ups his teacher and he's 'a shallow fuck'.

      I hate people like you. "I'm going to call you names because I'm easily offended." Just like Kile's mom.

      Go be a bitch somewhere else.

      --
      "Derp de derp."
    17. Re:I had to say it... by Anonvmous+Coward · · Score: 1

      Don't get pulled in. He's just a troll. He's not really offended, he just wants to get some attention.

    18. Re:I had to say it... by Saeger · · Score: 1
      Your 'pet peeve' is overreactive and assumptive.

      Well, that's what a pet peeve will do to you, won't it.

      And there's many flavors of shallow fucks; I'm sure I'm one of them.

      --

      --
      Power to the Peaceful
    19. Re:I had to say it... by Saeger · · Score: 1
      Hmm. Coming to "Anonvmous Cowards's" aid twice now? I think you might just might be defending an alter ego. :)

      As fer bitch'n - the post was impulsuve, and I expected to be buried and forgotten as usually happens with old threads (I'm catch'n up).

      --

      --
      Power to the Peaceful
    20. Re:I had to say it... by Anonvmous+Coward · · Score: 1

      "I think you might just might be defending an alter ego. :)"

      Close, he's my coworker. He showed me your post and we had a good laugh at you. :)

    21. Re:I had to say it... by Saeger · · Score: 1
      Grow up dude, you're serioulsy overreacting over something AC didn't say.

      He did say it, and yes, I did overreact to the trigger. That was the point of my impulsive short reply... why would I put a lot of thought into it?

      That's a bit feminine if you ask me. Heh.

      Riiiight, just like all the other one-liner retorts on slashdot. (Glad you got your insult in too).

      --

      --
      Power to the Peaceful
    22. Re:I had to say it... by Saeger · · Score: 1
      Well good for you chums. Now go home and roll around in your piles of cash bigger than your teachers. Heh.

      --

      --
      Power to the Peaceful
    23. Re:I had to say it... by Anonvmous+Coward · · Score: 1

      Lol okay, I'll smoke my money. :P

      cya

    24. Re:I had to say it... by NanoGator · · Score: 2

      ah! t'was fun. :)

      Cheers!

      --
      "Derp de derp."
  6. Finally! by decaying · · Score: 3, Funny

    My years of Comp Sci with Ada as the language of choice (Uni's not mine).... I struggled with it, and grew to hate it.....

    At least I know who uses the bloody thing.... The tutors never could.....

    --
    ----- One piece short of Legoland
    1. Re:Finally! by FunkSoulBrother · · Score: 1

      You went to the University of North Dakota too?

      I hear they are on to Java as of a year or two ago.

    2. Re:Finally! by Jeppe+Salvesen · · Score: 3, Insightful

      Ada is excellent for this sort of stuff. It's been designed for implementing anal designs. That is exactly what is required in military systems.

      I also thought Ada is a good language for teaching in Uni. You don't like it, but it will teach you a lot of important concepts, from its strong typing amongst other things.

      That being said, it's not the right tool for most software development being done currently.

      --

      Stop the brainwash

    3. Re:Finally! by little1973 · · Score: 1

      I have some ideas about "anal designs". Where can I sign on?

      --
      Government cannot make man richer, but it can make him poorer. - Ludwig von Mises
    4. Re:Finally! by Anonymous Coward · · Score: 0

      > That being said, it's not the right tool for most software development being done currently.

      I'm a professional programmer and have written applications in nearly every language (Assembler, Basic, Lisp, Prolog, Pascal, Modula, C, C++, Java, C# etc. etc.).

      Finally I reached Ada95. This is by far the best language I've ever used. It is an excellent language for writing _really_ big applications, not for rapid quick-and-dirty designs. It is pretty hard to learn but it educates and forces you to disciplined programming. That's the point - it seems to be too hard for most programmers. They aren't willing (or able?) to learn such powerful languages and prefer light-weight soft languages like Visual Basic and Java where they can do rapid programming and where they don't need to care much about good software design.

      http://www.adapower.com

    5. Re:Finally! by Robb · · Score: 1

      Unfortunately your experience is far too common I have experience teaching Ada and C++ and was always amazed at the things people found to not like about Ada.

      When using Ada I was often suprised at the level of frustration caused when a reasonably intellegent person is forced to jump through a lot of hoops in order to get a piece of code to compile. The programmers tended to develop an adversarial relationship with the compiler/language and in general this translated into a negative view of the language as a whole. Of course tutors that don't know the language only makes this situation worse.

    6. Re:Finally! by Anonymous Coward · · Score: 0

      I was often suprised at the level of frustration caused when a reasonably intellegent person is forced to jump through a lot of hoops in order to get a piece of code to compile

      Half the battle with Ada is its strong typing, which necessitates great care when passing values. While it is possible to write bad Ada code, it does not permit you to make truly stupid "C/C++/Java" mistakes. This strictness can slow you down, but it also makes you considerably more careful. If Slashdot was like Ada, 99% of the crap posts with misspellings, poor grammar, and misapplication of punctuation would be eliminated.

    7. Re:Finally! by Ahlee · · Score: 1

      That may be true, but you'd also have a lot of overhead with the
      Ada.Text_IO.Put_Line("First Post!");
      Now I know you can always add the Use Ada.Text_IO; Put_Line("First Post!"); but if you were taught like I was taugh Ada (at the University of Northern Iowa you were forbidden to use the "use" clause. *Sigh* I do have to say, though, that Ada did teach me a good fundamental base, and also told me I'm _not_ a good programmer :)

    8. Re:Finally! by Anonymous Coward · · Score: 0

      Ada provides a smart renaming facility which helps you to use statements like

      Print("First Post!");

      or even

      P("First Post!");

      instead 8-)

    9. Re:Finally! by Anonymous Coward · · Score: 0
      It's been designed for implementing anal designs

      Freudian slip? Spending a little time at goatse.cx, have we?

    10. Re:Finally! by Dalcius · · Score: 1

      ...and prefer light-weight soft languages like Visual Basic and Java where they can do rapid programming and where they don't need to care much about good software design.

      How much Java work have you done? It's nearly impossible to begin a Java program until you're already done, thanks to the hardlined-OOP standards. Of course I'm generalizing...

      And BTW, it's Assembly Language, not Assembler. *g* As they say, a common mistake...

      *nit-pick pick... pick pick pick*

      --
      ~Dalcius
      Rome wasn't burnt in a day.
    11. Re:Finally! by lrichardson · · Score: 2
      "That being said, it's not the right tool for most software development being done currently."

      The older I get, the more I find this problem ... people get locked into 'language' mind-sets, without evaluating what is the best choice for the task at hand.

      Take a look at VB. It's the McDonald's paradigm ... fast, and any grunt can do it with minimal training. Tasks can be easily seperated. Of course, the flip side is that debugging is hell (wtf is that code?), typing is next to useless, and performance ... not to mention it runs on windows ;)

      Compare that to something like assembler ... takes forever to code, and, in most respects, kinda hard to debug. But runs great, and all the code in one place.

      For projects like this, where the requirements are stability, stability and stability, you don't want any language known for problems in that area. Modularity is good, and forcing strong constraints (whether OO or not (e.g. Java and Pascal)) is vital.

      I'm not sure I'd actually use Ada (and it's ilk)... any language where you're putting all the info on one line (e.g. Ada.Text_IO.Put_Line("Eject!")) is following the McDonald's paradigm, to an extent. Not to mention that sort of line level complexity severely impacts comprehension.

      *Send Eject Message to Screen and HUD Msg="Eject!;"

      Send Msg to Screen;

      Send Msg to HUD;

      Return;

      Is a heck of a lot clearer, and thus less prone to errors. One of the cardinal rules about languages ... less errors per line and less lines required are both good and multiplicative. And choosing the languuage appropriate to the task (e.g. don't use Assembler for Web sites ;) reduces the number of lines

      Remember the Yorktown? The ship that was dead in the water for hours, thanks to forgetting that rule ... anything requiring stability shouldn't be built on Windows (NT, IIRC)

    12. Re:Finally! by Hoser+McMoose · · Score: 1

      Ada is a language which is very good for certain things, but not that great of a choice for most application code.

      I just finished a Systems Engineering degree at my school, and Ada was one of MANY languages we did (aside: I don't quite get some of the other schools out there that use only ONE language, we did Java, C, C++, Perl, Tcl/Tk, Ada, assembly, and there were also courses offered in VB and Fortran, though I didn't take either). I only used Ada for one course, a real-time systems course (more for real-time applications rather then an RTOS course, though we did discuss real-time OSes). For this sort of course, Ada made a reasonably good choice because of the way it handled timing and simultaneous tasks. Sure, that sort of thing could also be done in C or most other languages, but it would have been a fair bit trickier.

      However, the real strength of Ada though is that it forces reasonably good code at compile time. It tends to pick up a LOT more potential problems at compile time then a language like Java would, and it certainly picks up a hell of a lot more then C would! It also lets your trap just about any exception and at least try to recover for that sort of problem, or at the very least stop and then restart everything, where with most other languages you would tend to be booted out to the operating system altogether.

      Basically, the language was designed by the military for military purposes, and for that use, it works well. It is NOT designed to run just any old application. Writing a text editor in Ada might be possible, but it's a fairly bad idea. There are good reasons why there are dozens of different languages out there. All languages have their set of strengths and weaknesses.

    13. Re:Finally! by Anonymous Coward · · Score: 0

      With a 'use' statement at the top, it's just:

      Put_Line("Eject");

      I don't see what's so bad about that. Of course, that isn't using OO features at all. Even then, OO Ada is no more verbose and no less clear than your counter-example, if written reasonably.

    14. Re:Finally! by Anonymous Coward · · Score: 0

      > Writing a text editor in Ada might be possible, but it's a fairly bad idea.

      Why? Personally, after 2 years of using mostly Ada 95 in school, followed by two years of mostly C++, I'd much rather use Ada than C/C++ for any large project. I spent a lot less time in the debugger with Ada, and only a little more in coding, so it was overall a big win for me.

    15. Re:Finally! by Afrosheen · · Score: 2

      The trolls disappoint today. Where's the predictable goatse.cx link in response to this post?

    16. Re:Finally! by dvdeug · · Score: 2

      I'm not sure I'd actually use Ada (and it's ilk)... any language where you're putting all the info on one line (e.g. Ada.Text_IO.Put_Line("Eject!"))

      That's why you have use clauses; so you can write stuff like

      with Ada.Text_IO; use Ada.Text_IO;

      and then just write Put_Line ("Eject!");

    17. Re: Finally! by Black+Parrot · · Score: 2

      > Unfortunately your experience is far too common I have experience teaching Ada and C++ and was always amazed at the things people found to not like about Ada.

      Me too, though I'm not sure I mean the same thing as you did when you wrote that.

      Side note, the Ada old-timers often wryly point out that the reasons they often hear people give now for liking newer languages such as Java are often the same reasons people gave for not liking Ada 20 years ago.

      > When using Ada I was often suprised at the level of frustration caused when a reasonably intellegent person is forced to jump through a lot of hoops in order to get a piece of code to compile.

      Actually, that's exactly why I think Ada should be used as an introductory language. If beginners would learn to say what they mean and mean what they say, the world would be full of better programmers. If it takes a surly compiler to enforce a bit of discipline on beginners, then I'm all for it.

      The software crisis isn't a result of having trouble getting programs to compile; it's the result of the attitude that anyone who can get something to compile is a programmer. We need to raise the bar on that somewhat.

      --
      Sheesh, evil *and* a jerk. -- Jade
    18. Re:Finally! by Stefan+S · · Score: 1

      Download GtkAda and GVD sometime , will you? You are gonna need gtk+ 1.2.12 though. And oh yes gnat is wholly written in Ada95. Ada is a multipurpose language designed with an eye towards maintainability and supports for working in a hard physical environment ie real-time control systems. But, Ada isn't useless for writing an editor and allow you to do so in an orderly manner.

  7. Boeing's Avionics press release by Perdo · · Score: 5, Informative

    Boeing, responsible for integrating the F-22 Raptor's advanced avionics, has been testing software packages in both its avionics integration lab, or AIL, since 1998, and on its 757 Flying Test Bed, or FTB, since March 1999.
    Both the AIL and FTB are helping reduce avionics risks and contain development costs by enabling extensive evaluation and troubleshooting before full avionics are ever installed on the F-22. Testing in the AIL and aboard the 757 FTB has allowed for early delivery of avionics Operational Flight Packages, or OFPs, to the F-22 test aircraft.

    To date, Boeing has completed more than 21,000 hours of avionics testing in the AIL and 800 hours on the FTB.

    Despite an accelerated delivery schedule for the year 2000 to support the Defense Acquisition Board, or DAB, requirements, the Boeing Avionics Integration team was able to integrate, test and deliver all Operational Flight Programs, or OFP's, ahead of plan. This included delivery of the Block 1.2 OFP on July 5, 2000, and Block 2/3S OFP on July 20, 2000. The AIL was also able to deliver the Block 3.0 OFP Engineering version to the Avionics Flying Test Bed aircraft a month ahead of schedule (Sept. 4, 2000) to allow for early testing and maturing of the OFP, which resulted in the first demonstration of multi-sensor fusion (Sept. 13, 2000).

    The most significant accomplishment of the AIL for 2000 was the delivery of the Block 3.0 OFP, the first fully integrated avionics package, to F-22 aircraft 4005 on Nov. 21. This was a critical milestone since the Block 3.0 OFP was the first complete avionics software package to be flown on the F-22 aircraft, one of the most challenging DAB milestones accomplished to date.

    The Boeing Avionics' Systems Engineering team's performance testing on the radar has resulted in all Test Performance Measurements, or TPMs, meeting or exceeding specification requirements. A significant milestone was reached on Nov. 15, 2000, when Raptor 4004 conducted its first flight, and targets were successfully detected and tracked in the air. Performance of the radar system was described as "eye-watering" by the pilot who flew the mission. A second major milestone occurred on Jan. 5, 2001, when Raptor 4005 flew for the first time utilizing Avionics Block 3.0 with the full complement of Radar Modes incorporated. Once again, targets were detected and tracked at long range, and the radar performance was outstanding.

    Avionics Radar and Power Supplies Production activities continue to be a high priority. All shipments for PRTV I have been completed, PRTV II shipments are well under way, and hardware manufacturing for Lot 1 has begun. In the area of affordability, the implementation of Boeing-funded process improvements on several components of the radar/power supply systems, to include the T/R module and circulators, have been a tremendous success. The predicted cost savings have been substantiated in the first three production contracts and the targeted cost savings of $350 million dollars over the production life have been legitimized.

    The next critical avionics milestone is delivery of Block 3.1 avionics. Block 3.1 will provide additional functionality to the F-22 Raptor and allow it to accomplish a significant amount of flight testing. Block 3.1 is scheduled to be delivered to Lockheed Martin this fall.

    Overall, the F-22 avionics program is very much on target in the areas of performance, cost and schedule. The avionics packages have been performing exceptionally well, and all major milestones have been met on or ahead of schedule.

    --

    If voting were effective, it would be illegal by now.

    1. Re:Boeing's Avionics press release by philipsblows · · Score: 3, Insightful

      According to what this says, the avionics package meets or exceeds expectations. Now, this is not an MS bash, but I can recall of the top of my head that our intelligence services have database software that can only search on one term that probably met or exceeded expectations, and there's that ship that had to be towed back to port due to some NT failures.

      Now this is more of an MS bash... people have come to expect system failures, and I've read admissions that 5-9's uptime is just too difficult and expensive a goal, and so-on, and of course this mostly points to MS desktop and server software. I wonder if people who sit at desks and write specs all day for military projects decided that only having to reboot now and then exceeds expectations as set by people not flying in the aircraft.

      I'll probably get modded down, but I just think this sort of thing (Boeing's press release, the actual performance as reported, and the overall state of technology in our government) is a bit troubling and it doesn't appear to be getting better.

    2. Re:Boeing's Avionics press release by Anonvmous+Coward · · Score: 4, Interesting

      "Now this is more of an MS bash... people have come to expect system failures, and I've read admissions that 5-9's uptime is just too difficult and expensive a goal, and so-on, and of course this mostly points to MS desktop and server software"

      That's an interesting read, my company chose Windows 2000 for stability as desktop machines, and we're doing fine. 19 desktops and laptops, all running 2k. My job is to maintain them, and I find way too much time to post on Slashdot. ;)

      We've also got an NT4 webserver running IIS, and it's been up for 3 months. It would have been up longer except I had to shut the box down to move it.

      I'll tell you something, it was a huge relief to go to 2000 from 98. Nobody bugs me about anything anymore. We have computers running all weekend processing video data. We haven't had an 'over the weekend crash'. We'll have 4 video files going at once, two per processor, and they'll all be done by Monday. As you can see, we beat our machines pretty hard sometimes.

      *Thought it'd be nice for you to hear from somebody who's had good experiences with MS for a change.*

      I've drifted off topic a bit. Sorry. The point I'm basically making is that Windows 2000 is a fine OS and would probably be up to the job, at least run-time wise. I know that comment's going to draw criticism, but oh well. I've worked around a ton of these machines for the last two years and you're not going to change my mind about it. Heck, I have a computer in my bedroom right now capturing TV shows as a home-brew Tivo. Hasn't been rebooted in over a month. Not bad given how buggy the TV drivers are. Heh.

    3. Re:Boeing's Avionics press release by forgoil · · Score: 2

      Those who would criticise you must be pretty stupid. You simply tell your experience with win2k. I have found it to be a very stable OS as well, and any problems have more usually been a case of bad hardware/drivers in my experience.

      Windows XP has also been really stable for me (and others). I have 10 days of uptime right now, without a problem. I only reboot for updates, and I do that at convienient times. The server 10 feet away only boots when need to fiddle with its hardware (behind a firewall after all). Win2k is just as stable as the two debian machines besides it.

      Stop thinking that all windowses are as stable as Win9x, it is just not true. It would be like saying MacOS X is crashing all the time because MacOS 7.x did. Lying after all doesn't give good arguments in the long run. Let it be sufficient to say that Linux is stable and leave it at that, don't make such a point out of it being more stable than Win9x, nobody is speaking about how well Linux 1.2 does these days do they?

      That said, I just installed Gentoo 1.3b at home, all the other distros are now 0wned;)

    4. Re:Boeing's Avionics press release by 1u3hr · · Score: 1
      I wonder if people who sit at desks and write specs all day for military projects decided that only having to reboot now and then exceeds expectations as set by people not flying in the aircraft.

      The story said "When avionics problems crop up now, pilots must restart the entire system as if rebooting a personal computer. Avionics tests are about halfway complete ... There are some bugs that need to be worked out"

      Routine rebooting (probably -- I hope) wouldn't be tolerated in the final sytem.

    5. Re:Boeing's Avionics press release by C. · · Score: 1

      Routine rebooting (probably -- I hope) wouldn't be tolerated in the final sytem
      Maybe, maybe not... It wouldn't be acceptable for commercial avionics products as it would land them at least a DO-178B level D or E certification (something along the line of "excessive manual operations required by the flight crew"), but this is military product we're talking about.

      They're pretty much free to accept whatever code they want, as long as it's written in Ada.

      Christian.
      --
      C.
    6. Re:Boeing's Avionics press release by Your_Mom · · Score: 2

      We've also got an NT4 webserver running IIS, and it's been up for 3 months. It would have been up longer except I had to shut the box down to move it.

      So, when's the last time youve applied patches on that box? 3 months uptime means you are missing at least 1 major IIS patch that plugs a hole that allows an attacker to run arbitrary code.

      --
      Objects in the blog are closer then they ap
    7. Re:Boeing's Avionics press release by dillon_rinker · · Score: 2

      The point I'm basically making is that Windows 2000 is a fine OS and would probably be up to the job, at least run-time wise.

      Up to the job...well, as a desktop OS for a typical business, I'll agree with you. For an avionics platform, though, I'd be afraid to be on the plane until it had been in use for 3-4 years and proven itself safe.

    8. Re:Boeing's Avionics press release by Anonymous Coward · · Score: 0

      I've also found that Win2K Pro is pretty stable and I'm very happy with it. I've had XP Pro up and running for up to 45days though, and I have had some difficulties with it. Simply put, it tends to slow down over a longer period of time.

      Anyways, as IT/Network Admin at my company, I can state with confidence that we won't be moving from Win2K Pro to XP Pro on the desktop. I just don't like the "spyware"-direction that MS is travelling.

    9. Re:Boeing's Avionics press release by Jaysyn · · Score: 1

      WinXp worked great for me until I started updating it.... now everything has gone to shit.

      Jaysyn

      --
      There is a war going on for your mind.
    10. Re:Boeing's Avionics press release by Shanep · · Score: 2

      Up to the job...well, as a desktop OS for a typical business, I'll agree with you. For an avionics platform, though, I'd be afraid to be on the plane until it had been in use for 3-4 years and proven itself safe.

      Absolutely.

      Some embedded OS are required to respond to I/O within some seriously short time spans. Win2k, Linux/BSD with real-time scheduling might not be up to the task.

      Win2k on the desktop, good choice if you want to pay for it. Win2k responding to a fault with an engine spinning at extreme rpms? No thanks.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    11. Re:Boeing's Avionics press release by L1nUx+h4x0r · · Score: 0

      They're pretty much free to accept whatever code they want, as long as it's written in Ada.

      That isn't true. I'm sure the government gets stuff written in other languages too. It's whatever they agreed to in the contract.

      Also, I doubt they would tollerate that in the final design. Imagine, if you will, an AF pilot in a dogfight with another jet and, just as he's about to lockon to his target... "Oh sit! Gotta reboot!" ... Yeah, I don't see that happening.

      --
      The GPL makes software more like your mom. Free and open to all.
    12. Re:Boeing's Avionics press release by Shanep · · Score: 2

      Routine rebooting (probably -- I hope) wouldn't be tolerated in the final sytem.

      Me too. Anyone seen the footage of the F-22 (I think from memory) which had computer failure during take off?

      Seconds after the wheels left the ground the pilot was unable to stop the plane from pitching up and down. It smacked right into the ground.

      I would LOVE to see someone try to fly an F-117 with a faulty avionics computer, since the magic of the F-117 is NOT the small RADAR signature, but the fact that it flies at all.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    13. Re:Boeing's Avionics press release by SN74S181 · · Score: 1

      You are making that erroneous assumption, that many people make, that he's talking about a server that faces the world, on the Internet. Many companies use servers running IIS for all sorts of internal tasks. Think of it kind of like a copying machine: the copying machine at most companies doesn't have to be 'hardened' in the same manner as the coin-fed ones out in the middle of the lobby of a shopping mall. At a company where the clients are semi-locked down and people are just running Word/Excel/Powerpoint/Access to do their daily jobs, and grabbing and updating docs to the IIS server, there aren't script kiddies scratching around. There are security concerns, but not of the same nature as with a public machine shared out to the Internet as a whole.

      And Microsoft is very strong in this Workgroup Server market. It's what they sell, it's what Netscape hyped that got Microsoft motivated to crush them.

    14. Re:Boeing's Avionics press release by Your_Mom · · Score: 2

      An unpatched IIS server on the intranet is still a problem. On our Intranet behind our massive firewall-o-doom, one of our developers ran an unpatched IIS server (unbenownst to IT). Someone from another department, who /also/ was running an unpatched IIS server somehow got infected with Nimda, compromised the developer's server.

      Result? About 2 straight days of various servers getting their shares filled with .eml and .nws files. (Yes, we were running Virus protection, up until 2 days into the attack, Norton's virii definitions did not stop the virus from completely executing, it just stopped it from infecting machine)

      So, Yes, its not the same, but, there are still major problems from running servers with holes, and it should not be done.

      --
      Objects in the blog are closer then they ap
    15. Re:Boeing's Avionics press release by JWW · · Score: 2

      IIS is turned off on our NT file server and it hasn't been rebooted in months (since its DLT drive ate a tape).

      That being said, generally there is a patch, or software chnage, or settings change that requires a reboot 3-4 times a year. Almost all of our unix boxes have uptimes greater that that with the top one having an uptime (wait let me check....) of 559 days.

      NT Servers can be stable. Win 2000 servers can be stable, but are they as stable?

      Back on topic, when running a jet airplane that requires computers to keep it in the air you need 5 (or 6) nines of uptime. Anything else should be unacceptable. My belief is that this means a hand written "OS" to run the plane. Everything should be built from the groud up with an eye always on the uptime and reliability. And with this being a handmade OS, so to speak, I'm sure they will find the bugs causing the problem and fix them themselves. Something you can't do with NT (I guess you could do it if you bulit off of Linux, though).

    16. Re:Boeing's Avionics press release by pmz · · Score: 2

      Despite an accelerated delivery schedule...

      So why should we be suprised about any problems? Lack of time and/or budget for development are among the top causes for software failing in actual use.

      While the F-22 is a beautiful and amazing aircraft, has the software industry matured enough to really handle its complexity?

    17. Re:Boeing's Avionics press release by SN74S181 · · Score: 1

      You mistyped the last paragraph. It's not consistent with the paragraph before it:

      Win2k/Linux/BSD responding to a fault with an engine spinning at extreme rpms? No thanks.


      Of course, you neglect to mention nobody would credibly assert that any of these 'interactive user-oriented' OSes are suited for that kind of high speed real time operation. That's what embedded controllers are in the mix for. Often tightly interfaced to a slower responding system that supervises everything.

    18. Re:Boeing's Avionics press release by Amazing+Quantum+Man · · Score: 2

      but this is military product we're talking about.

      They're pretty much free to accept whatever code they want, as long as it's written in Ada.


      Disclaimer IWADC (I was a defense contractor).

      A reboot in flight would be considered a "Priority 1" problem. Systems generally do not pass qual testing with any 1's or 2's.

      --
      Fascism starts when the efficiency of the government becomes more important than the rights of the people.
    19. Re:Boeing's Avionics press release by eyepeepackets · · Score: 1

      Exactly my experience as well. As long as I did the initial install and left it alone it was okay. Start tweaking or upgrading, it becomes more unstable by the click. My first XP install lasted less than 30 days before I had to rebuild it due to being unable to get it to boot past a BSOD after changing out the sound card. Now that I'm thinking about it, my first install of Win95 lasted about 30 days before I had to do the very same thing. After that initial experisnce with Win95 I figured I needed a better OS so went to Powell's in Portland and bought this Sam's book which had a copy of Slackware on CD in the back. Been a happy Slackware user since 1997.

      Lucky me, I don't need to use MS product any longer. For all the MS BS about "professional" (hey, it's even part of the name so it must be true) it's really just a toy OS pretending to be something more.

      --
      Everything in the Universe sucks: It's the law!
    20. Re:Boeing's Avionics press release by Shanep · · Score: 2

      You mistyped the last paragraph.

      No I didn't, it's a straight cut and paste.

      It's not consistent with the paragraph before it:

      Hardly matters when A. my post follows his, B. I am clearly speaking about desktop OS, not Win2k specifically, C. I reference Win2k also and D. this...

      Of course, you neglect to mention nobody would credibly assert that any of these 'interactive user-oriented' OSes are suited for that kind of high speed real time operation. That's what embedded controllers are in the mix for. Often tightly interfaced to a slower responding system that supervises everything.

      is EXACTLY my point.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    21. Re:Boeing's Avionics press release by neitzsche · · Score: 1

      I run Win2k at work and have had to reinstall it twice so far this year. At home, the only time I have to restart my computer is to swap my second IDE hard drive.

      Curious that our personal experiences vary so much.

      --
      "God is dead." - Frederik Nietzsche
    22. Re:Boeing's Avionics press release by Dalcius · · Score: 1

      I know this is semi-redundant, but I couldn't help myself...

      As they say -- hack some low security and get in through the back door (user's desktop) and then go for the big stuff.

      You've seen Hackers, right? =P

      Don't take this as a flame, it's just an honest observation, but I hope you're not a systems admin.

      --
      ~Dalcius
      Rome wasn't burnt in a day.
    23. Re:Boeing's Avionics press release by Dalcius · · Score: 1

      That probably has to do with differences in hardware -- the parent doesn't seem incompetent to me, at least. =P

      The interesting thing is that while Microsoft has all the hardware companies publishing Windows drivers before they ship the hardware, and those same companies pay relatively tiny amounts of attention to Linux (if any), that Microsoft has the hardware compatibility problems that it does (Read: Win2K - do some research on driver oddities, even new hardware) and yet (that I know of) Linux isn't too difficult to get working.

      I'm sure there are plenty of exceptions, but I haven't heard of any major studies on Linux hardware compatibility. I just know that I keep updating my hardware and I only have to install a RAID and video driver to get everything working.

      --
      ~Dalcius
      Rome wasn't burnt in a day.
    24. Re:Boeing's Avionics press release by Anonvmous+Coward · · Score: 1

      "Those who would criticise you must be pretty stupid. You simply tell your experience with win2k."

      Thanks man. T'was nice to get a response that wasn't like this:

      "OH yeah?! WelL I had a computer with WinDows 2000, and I couldn't do anything without it BSOD'ing. My one computer tells a better story than your 19 working ones!", or in other words "1 bad computers > 19 good computers".

      Funny thing is, most of the problems that people have told me about could be traced back to defective/crappy hardware. Heh. :)

    25. Re:Boeing's Avionics press release by Fulcrum+of+Evil · · Score: 2

      Start tweaking or upgrading, it becomes more unstable by the click.

      Pray tell, what sort of tweaks were you making?

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    26. Re:Boeing's Avionics press release by Fulcrum+of+Evil · · Score: 2

      Back on topic, when running a jet airplane that requires computers to keep it in the air you need 5 (or 6) nines of uptime. Anything else should be unacceptable.

      And the article under discussion is talking about datacenters running websites. When being down is defined as being unreachable by a significat portion of the internet, you are dependent on several external entities and 5 nines is a pipe dream.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    27. Re:Boeing's Avionics press release by Anonvmous+Coward · · Score: 1

      LOL! Hehe.

      Okay, I'll give you guys a tip about NT Server running IIS: Download a tool called "URLSniffer". (Damn I hope that's the name of it, been a while...)

      Basically what it does is it applies a rule to each address that comes in and allows you to filter out ones intended to be buffer overflows that cerate weakenesses that viruses like Nimda can exploit. What I did was I looked through the logs of an infected machine and looked at all the bad URLS that were attempted. From there, I composed a comprehensive set of rules. They go someething like this:

      - If it has .EXE in the string, don't allow it through to IIS.

      - If it has CMD, or other common hacking executables, flush it.

      - If it contains non-alphanumeric characters, flush it. ...and so on. Because of this tool, anybody trying to use a malicious url cannot get through to IIS. It's like a firewall. Combine this with MS's "Lockdown" tool that disables a bunch of 'features' in IIS, and you have a pretty strong webserver. I won't say that it's entirely secure, or that it's secure as Apache, but I do feel pretty good that the Nimda wannabe's out there will have a good deal of trouble getting through.

      I realize I'm way off topic here, but I'm hoping this little tip will help people down the road lock-up their servers to help get rid of Nimda.

    28. Re:Boeing's Avionics press release by rjamestaylor · · Score: 1
      - If it has .EXE in the string, don't allow it through to IIS.
      there are legitimate URLs including .EXE files -- used eBay recently? -- so you may be stopping legitimate traffic.
      --
      -- @rjamestaylor on Ello
    29. Re:Boeing's Avionics press release by Anonvmous+Coward · · Score: 1

      Heh.

      The site my company uses doesn't use .EXE's anywhere. B'sides, I think you can tell it to allow a very particular .EXE. It's been a while since I've needed to play with it, so it might be worth double checking.

      Remember, this is stuff I manually set, not default settings for everybody to use. :P

    30. Re:Boeing's Avionics press release by rjamestaylor · · Score: 1

      consider it a comment for people who like the idea you presented and yet didn't realize the full implications. :)

      --
      -- @rjamestaylor on Ello
    31. Re:Boeing's Avionics press release by Jaysyn · · Score: 1

      Well ArcGIS, Mapinfo & AutoCAD won't run on slackware so I'm SOL. I wouldn't even be using WinXP but Win2K STOP Errors during the install. Apparently it doesn't like the hard drive controller drivers for my motherboard. I was pressed for time & the hardware (mobo) vendor wasn't helping so I had to put XP on it. It worked great at first, and I was pretty happy, then everytime I updated it (through Windows Update) something new would screw up or die.

      My WinXP deadlist.

      My work PC: Super unstable now, IE isn't usable anymore.

      My home gaming system: Neither IE or Windows Update works anymore. Along with anything that uses Windows HTML rendering engine & tries for an outside connection i.e. WinAMP, Bearshare, Bigfix, etc... And the network browser service won't start.

      My Moms Toshiba laptop: Lost sound & CD-Rom at last update. The CD-Rom is probably just device failure (it's old). Javascript is now broken & she can't open a link in a new window in explorer.

      My neighbor's computer: Dead HD & the machine isn't even 1/2 a year old. Can't pin that one on XP for sure though...

      Jaysyn

      --
      There is a war going on for your mind.
    32. Re:Boeing's Avionics press release by Anonvmous+Coward · · Score: 1

      Fair enough. :) Good day!

    33. Re:Boeing's Avionics press release by superkri · · Score: 1

      Anyone know a way to do this on Linux, preferably using OS-software? Check the requests to my webserver when they arrive at the firewall and filter malicious URLs before they hits the server?

    34. Re:Boeing's Avionics press release by Anonymous Coward · · Score: 0

      Bogus info. The Ada requirement has been dead for at least a couple of years now, and was apparently very easy to get out of for a long time prior to that.

    35. Re:Boeing's Avionics press release by Anonymous Coward · · Score: 0

      It wasn't a 'computer failure' as such, nor a reboot. I can't remember the details, but it was some kind of unforeseen feedback problem in the software. At least one JAS-39 Gripen crashed in it's test program due to the same type of problem.

    36. Re: Boeing's Avionics press release by Black+Parrot · · Score: 2

      > We've also got an NT4 webserver running IIS, and it's been up for 3 months.

      Most telling of all is the fact that you think 3 months of uptime is worth mentioning.

      For some of us, once in three months is excessively frequent for logging out, to say nothing of rebooting.

      --
      Sheesh, evil *and* a jerk. -- Jade
    37. Re: Boeing's Avionics press release by Anonvmous+Coward · · Score: 1

      Didn't catch the part where I said this: "It would have been up longer except I had to shut the box down to move it." Didja?

      I have no idea how long the uptime would be if we didn't geographically move it.

      It sure beats the pants off of "herrr herr, Windows crashes every 10 minutes." duddn't it?

    38. Re: Boeing's Avionics press release by Black+Parrot · · Score: 2

      > Didn't catch the part where I said this: "It would have been up longer except I had to shut the box down to move it." Didja?

      Yes, I did catch it. And it's completely irrelevant to my observation about how revealing it is for someone to bother mentioning a 3 mo uptime as evidence for an operating system's robustness.

      > I have no idea how long the uptime would be if we didn't geographically move it.

      Indeed you don't. And per your .sig, one example isn't very useful anyway. A more interesting measure would be MTBF, the standard deviation on that, and perhaps some suggestion of the upper bound (e.g., what's the MTBF for the 5% of machines with the best MTBFs).

      But so long as you're mentioning uptimes that are a small fraction of the time some of us leave a source file open in the editor, or less than the amount of CPU time a developing program consumes during a test run without crashing, you're not going to score much of a PR coup.

      As I said before, the biggest problem with software reliability these days is the low expectations on the part of consumers.

      > It sure beats the pants off of "herrr herr, Windows crashes every 10 minutes." duddn't it?

      I don't doubt that recent offerings from Microsoft are more reliable than Windows 2.0. Of course, you can make anything look good if you use a low enough standard for comparison.

      --
      Sheesh, evil *and* a jerk. -- Jade
    39. Re:Boeing's Avionics press release by Anonymous Coward · · Score: 0


      So how are the Afghans coming with their 'pointy-stick' software and 'hefty-rock' guidance system?

    40. Re: Boeing's Avionics press release by whereiswaldo · · Score: 1

      I'm running an unpatched Win2k Server that's been up for almost 13 months. Yes, believe it or not. It's not doing anything strenuous, but it's pretty constantly slightly busy. I don't use the GUI much.
      Windows 2000 is certainly more reliable than Windows NT, but in different situations you can be rebooting daily. My opinion is that it depends on what you are doing, and it depends on what hardware you run.
      An example of a high-uptime Windows app is a hardware-based phone system.
      An example of a low-uptime Windows app is an application server or power-user workstation.

    41. Re: Boeing's Avionics press release by Black+Parrot · · Score: 2

      > Windows 2000 is certainly more reliable than Windows NT, but in different situations you can be rebooting daily. My opinion is that it depends on what you are doing, and it depends on what hardware you run. ... An example of a low-uptime Windows app is an application server or power-user workstation.

      Alas, I happen to be particularly interested in stability for power-user workstations.

      BTW, thanks for the balanced post on the topic.

      --
      Sheesh, evil *and* a jerk. -- Jade
    42. Re:Boeing's Avionics press release by Anonymous Coward · · Score: 0

      I thought that the latest F16 update was to be written entirely in C++.

  8. Yikes! by MediaBoy77 · · Score: 0, Redundant

    Gives "Blue Screen of Death" a whole new meaning...

    1. Re:Yikes! by Anonymous Coward · · Score: 0, Funny

      more like blue sky of death

  9. Please reboot... by Subcarrier · · Score: 5, Funny

    Apparently, the reboot is only necessary after discharging ammunition. The hardware configuration wizard will pop up and instruct the pilot to reboot the system in order to activate the changes.

    --
    "I have opinions of my own, strong opinions, but I don't always agree with them." -- George H. W. Bush
    1. Re:Please reboot... by Anonvmous+Coward · · Score: 2

      He missed his target anyway. The pilot didn't realize he had to be logged in as Administrator to fire the guns in the first place.

    2. Re:Please reboot... by Sergeant+Beavis · · Score: 1

      All he needs to do is use SU at the shell.

      --
      There is nothing inherently safe about liberty. That's why so many people died protecting it.
    3. Re:Please reboot... by doormat · · Score: 1

      Does the pilot have to call and authorize the OS if he fires ammunition off too quickly??

      --
      The Doormat

      If you're not outraged, then you're not paying attention.
    4. Re:Please reboot... by DavidBrown · · Score: 2

      Actually the system requires a reboot only when a sprite enters a game cube...

      --
      144l. ph34r my 133t l3g4l 5k1lz!
  10. Duh.. by Malduin · · Score: 4, Funny

    If it requires an inflight reboot, there's no doubt what OS it's running. Gotta be Win98. I can see the MS tech support call now..

    MS Support: "Thank you for calling Microsoft Customer support. How may I help you?"
    Pilot: "Uhh.. I'm spiraling towards the earth, both my engines are out, and my display says 'General Protection Fault' in white text on a blue background."
    MS Support: "And what is the system model?"
    Pilot: "The the F-22 jet.."
    MS Support: "Oh yes, there are known issues that we will not admit to with that particular system. To temporarily fix the problem, simply reboot. Or, if the 5 minute boot time is too long, may I personally recommend that you eject. However, you will have to purchase another license of Windows 98 for $1000 since jet fighter crashes are not a valid reason to receive a new license."
    Pilot: "@#$*(! Microsoft!"
    MS Support: "Thank you and have a nice day!"

    1. Re:Duh.. by yatest5 · · Score: 1

      If it requires an inflight reboot, there's no doubt what OS it's running. Gotta be Win98. I can see the MS tech support call now

      Yay, first irrelevant MS post! It even states what the OS is written in.

      --
      • Mod parent up! [a] by Anonymous Coward (Score:5) Thurs, June 31, @13:37
    2. Re:Duh.. by sql*kitten · · Score: 5, Funny

      If it requires an inflight reboot, there's no doubt what OS it's running.

      RH support: Thanks for calling Red Hat! How may we help you?
      Pilot: "Uhh.. I'm spiraling towards the earth, both my engines are out, and my display says 'kernel panic' in white text on a black background."
      RH Support: "And what is the system model?"
      Pilot: "The the F-22 jet.."
      RH support: If you read linux-kernel-bugtraq, you will see that you should have patched your kernel to 2.4.19-pre-alpha-revision-d before takeoff. But no problem, this is Linux after all. Do you have another F22 on your LAN? Just telnet in from there, su to root and restart sendmail.
      Pilot: @#$*! Redhat! I'm switching to Debian if I survive!
      RH support: Can I interest you in any RHAT?

    3. Re:Duh.. by Bartmoss · · Score: 5, Funny

      telnet? on a wlan? better use ipsec, or the enemy will have your f-22's passwords in no time.

      F-22 HUD Display: "Your System has been 0wned."

      Oops.

    4. Re:Duh.. by Grey+Brick · · Score: 4, Funny

      If it requires an inflight reboot, there's no doubt what OS it's running.

      FreeBSD support: Thanks for calling FreeBSD! How may we help you?
      Pilot: "Uhh.. I'm spiraling towards the earth, both my engines are out, and my display says 'Fatal trap 12: page fault while in kernel mode' in white text on a black background."
      FreeBSD Support: "And what is the system model?"
      Pilot: "The the F-22 jet.."
      FreeBSD support: No worries, just send us a full backtrace... you _did_ enable debugging information in your kernel didn't you?!
      Pilot: @#$*! FreeBSD! I'm switching to OpenBSD if I survive!
      FreeBSD support: RTFM!

    5. Re:Duh.. by GroovBird · · Score: 5, Funny

      pilot@airoplane:~$ su -c "apt-get install ejection-seat"
      Password:
      Reading Package Lists... Done
      Building Dependency Tree... Done
      E: Couldn't find package ejection-seat

      Damn!

    6. Re:Duh.. by Rogerborg · · Score: 5, Funny
      • If it requires an inflight reboot, there's no doubt what OS it's running.
      Apple support: Thanks for calling Apple! How may we help you?
      Pilot: "Uhh.. I'm spiraling towards the earth, both my engines are out, and my display says 'unresolved kernel trap' in white text on a black background, admittedly overlaid on very a friendly GUI. Before that, there was a three second delay accompanied by a busy icon whenever I tried anything."
      Apple Support: "And what is the system model?"
      Pilot: "The the F-22 jet.."
      Apple support: Oh, sorry, we don't plan to support that hardware until version 10.3. Can you use 10.2 Jaguar until then?
      Pilot: @#$*! Mac! I'm switching to BeOS if I survive!
      Apple support: Can I interest you in a .Mac subscription?
      --
      If you were blocking sigs, you wouldn't have to read this.
    7. Re:Duh.. by Anonymous Coward · · Score: 1, Funny

      Followed closely by the first irrelevant indignant-yet-humorless-response post.

      Congrats, you get the coveted No Shit Sherlock Award for the day.

    8. Re:Duh.. by lobsterGun · · Score: 1

      BeOS support: The number you have reached, 912-555-1212, has been disconnected. If you feel you have received this message in error please contact your operator.
      Pilot : damn.

    9. Re:Duh.. by gspeare · · Score: 1

      At least there would be a happy ending after this pilot ejected and contacted his buddies...

      MS Support: "Thank you for calling Microsoft Customer support. How may I help you?"
      Pilot: "Locked on. Firing."
      --whooshing noise follows--
      MS Support: "I'm sorry, we don't suppor--BOOM!"
      Pilot: "Circular Error Probable zero. Impact with high-order detonation. Have a nice day."

    10. Re:Duh.. by halibut007 · · Score: 1

      All your base are belong to us.

    11. Re:Duh.. by gilroy · · Score: 3, Funny

      Almost. But of course, if they don't admit the problem, it's not a "known issue". The conversation would be more like:

      Microsoft: Oh yes, there are known issues with that system. We should have a hot update in, say, two to six months. Until then, we suggest the workaround of never leaving the ground.
      Pilot: But it's a fratzing PLANE!
      Microsoft: If you care to read your End User License Agreement, you will see that Microsoft makes no warranty as to the usefulness of the software for any given task, including that for which it was purchased.
      Pilot: This is a $500M plane you're responsible for.
      Microsoft: Actually, if you read the EULA, Microsoft is not responsible for any damages caused by failure of the software, whether or not those failures were known, or avoidable, or intentional.
      Pilot: That's it. I'm ejecting.
      Microsoft: Actually, sir, the maker of the ejection seats chose not to use WindowsXP embedded. To preserve the integrity of the Windows experience, your on-board avionics have been instructed not to interoperate with the rogue OS on the ejection seat. But WindowsEJ will be out in first quarter 2003 for your ejection seat pleasure.

    12. re: Duh.. by egriebel · · Score: 1

      "Someone set us up the root"
      "H4c|< you say?"
      "All your plane are belong to us"

      --
      ACHTUNG! Das computermachine ist nicht fuer gefingerpoken und mittengrabben. Ist nicht fuer gewerken bei das dumpkopfen.
    13. Re:Duh.. by Anonymous Coward · · Score: 0

      I hate everything about you.

    14. Re:Duh.. by Anonymous Coward · · Score: 0

      this does bring up an interesting idea...wireless connection back to co, on bord os, autopilot, automatic fire controls, ect...

      Image hacking a fighter jet and having control of all of that and using the plane against us...

      BG

    15. Re:Duh.. by RealDhar · · Score: 1

      BeOS support: "The number you have reached has been disconnected or is no longer in service."
      Pilot: "$%#@%! BeOS!"

      --
      Sucks to be a Windows user.
      -g.
    16. Re:Duh.. by macmouse · · Score: 1

      Apple Support :No, thats "Can I interest you in applecare? its $300 a year with an extra warranty and support? "

      (everytime I call, I get bombarded them asking me to get it).

    17. Re:Duh.. by mark_space2001 · · Score: 1

      If it requires an inflight reboot, there's no doubt what OS it's running.

      BeOS support: Hello...
      Pilot: "Uhh.. I'm spiraling towards the earth, both my engines are out, and my display says 'Kernel oops' in white text on a black background."
      BeOS Support: (Operator cuts in) "We're sorry. The number you are calling has been disconnected due to the company going tits up."
      Pilot: @#$*! BeOS! I'm switching to Micrsoft if I survive!
      Operator: *click*

      Now go back to the top and start all the OS's again. That's how we do the OS shuffle, kids. ^_^

    18. Re:Duh.. by Anonymous Coward · · Score: 0

      What I find hilarious that the Microsoftie funny
      betrays that they DO use TELNET over SSH :D

    19. Re:Duh.. by Cybrr · · Score: 1

      ID4!

      --
      Why did GEAR crush RDP?
  11. If Slashdotters were working on this... by Anonymous Coward · · Score: 1, Funny

    they sure wouldn't be able to say anything about it.

    1. Re:If Slashdotters were working on this... by Anonymous Coward · · Score: 0

      Actually, I did work on the Common Integrated Processor at Raytheon, and there is no reason I can't say as much. While much of the details are company proprietary, the project itself is not DoD classified, so mundane stuff like who worked on it, is nothing special. It's obviously different for classified projects.

      The OS is, thankfully, not anything microsoft derived. It is an interally developed product dubbed RTSecure.

      As for all the quibbling over the choice of Ada.... how long did it take from the date of ANSI C standardization for a fully-compliant C compiler to show up on the market? And there's the reason for using Ada.

      Granted, we do use C for just about everything now, but as far as the government is concerned, there are a lot of reasons to prefer Ada, especially in a core-item like an OS.

    2. Re:If Slashdotters were working on this... by Anonymous Coward · · Score: 0

      And as far as the rebooting thing goes... I think most people would be shocked to learn just how often flight electronics get rebooted. And I do mean intentionally. Not to say that it's justifiable, but this certainly isn't the first case of it. Remember, you've got equipment that's being subjected to below-zero temperatures and up to 7Gs of acceleration. Not to mention other odd environmental sources of One-Time-Failures. Memory gets glitched... it just plain happens sometimes. Would you rather fly a plain with corrupt memory, or reboot the system and have it come up fresh?

      Would you rather fire a missile knowing that the targetting tracker module is corrupt, or wait 5 seconds for it to reboot and reacquire using working parameters.

      The vast majority of the reboots are the operator's response to the Built-In Test software indicating a failure.

  12. Drivers? by Stonent1 · · Score: 1

    Yeah and all the flight sim pilots claim that getting shot down was due to lag induced by running an old set of Detonator drivers and not by getting sniped.

    1. Re: Drivers? by Black+Parrot · · Score: 3, Funny

      > Stonent Imagine a Beowulf cluster of whatever this story is about!

      They already thought of that. You see, while they rarely mention it at air shows, the realy reason airplanes fly in formation is because those "formations" are actually high-availability clusters for their avionics software.

      --
      Sheesh, evil *and* a jerk. -- Jade
    2. Re: Drivers? by WetCat · · Score: 1

      For your information, 4 Mig-31s CAN form a cluster
      of four of their computers while in flight
      to better track and engage the enemy.

    3. Re: Drivers? by Dalcius · · Score: 1

      Russian Military Advisor: Sir, we haven't been able to find a supercomputer cheap enough to put in our new planes; our funding just isn't enough.

      Russian General: Well, what options have we?

      Advisor: Well, sir, we could take the 486's from our floggers and move them over to our new jets.

      General: Would that be enough computing power to handle targeting data from our new, advanced systems?

      Advisor: No sir, but can you imagine a Beowulf cluster of...

      --
      ~Dalcius
      Rome wasn't burnt in a day.
  13. who knows about obscure custom computing? by Anonymous Coward · · Score: 0

    This guy does. This guy does!

  14. You're digging hard... by Ironpoint · · Score: 1


    But nope, can't find Win98 here. Sorry, maybe check those cash registers at target. I think maybe those bank signs that tell the temperature might run in Win95. You'll find something.

  15. Bresenham's by EnglishTim · · Score: 2

    Please tell me you told her about Bresenham's integer circle drawing algorithmn...

    1. Re:Bresenham's by Isle · · Score: 1

      Please tell me, they stopped redrawing the whole thing..

      If it is static why try to render it at all?

  16. Lockheed's Avionics Press Release by Perdo · · Score: 2

    The requirements for the F-22's avionics system are derived from the F-22 Weapon System Concept, the guiding design principles for the aircraft's overall design. The integrated avionics system is one of the essential elements, along with stealth, maneuverability and supercruise, which will give the F-22 the tactical advantage against the threats of the future.

    The F-22's avionics suite features extensive use of very high-speed integrated circuit technology, common modules and high-speed data buses. The avionics suite is an advanced integrated system that allows the pilot to concentrate fully on the mission, rather than on managing the sensors.

    The avionics system is now flying on the F-22, and the advanced Block 3.0 software, which provides nearly full sensor and avionics functionality, began testing on the Raptor in early 2001.

    Technologies incorporated in the F-22 include:

    A common integrated processor (CIP), a central "brain" with the equivalent computing throughput of two Cray supercomputers

    Shared low-observable antennas

    Ada software

    Expert systems

    Advanced data fusion cockpit displays

    Integrated electronic warfare system (INEWS) technology

    Integrated communications, navigation and identification (CNI) avionics technology

    Fiber optic data transmission.

    --

    If voting were effective, it would be illegal by now.

    1. Re:Lockheed's Avionics Press Release by Perdo · · Score: 2, Informative

      "A common integrated processor (CIP), a central "brain" with the equivalent computing throughput of two Cray supercomputers"

      Um.. No:

      ftp://download.intel.com/design/i960/perform/272 95 003.pdf

      (Intel's i860 performance brief)

      --

      If voting were effective, it would be illegal by now.

    2. Re:Lockheed's Avionics Press Release by KILNA · · Score: 2

      They didn't say which two Crays. Perhpas a couple of 'em while powered-off?

      --
      Error: PANTS NOT FOUND. Press <F1> to continue.
    3. Re:Lockheed's Avionics Press Release by Asprin · · Score: 2


      Technologies incorporated in the F-22 include:

      A common integrated processor (CIP), a central "brain" with the equivalent computing throughput of two Cray supercomputers.



      THHPBPBPBPT!!!

      *That* shows you how old this 'hi-tech' design really is -- they're still using the old Standard Cray Equivalence Benchmark (SCEB) for performance comparision.

      How 1988!

      What *I* want to know is how many FPS does Q3A pull in 1600x1200 32bit with FSAA enabled!

      --
      "Lawyers are for sucks."
      - Doug McKenzie
  17. Re:I had to say it... as well by Anonymous Coward · · Score: 0

    Sorry, username/password incorrect, plase try again
    *damn* what was that new password?

  18. F-22 "avionics" by sluggie · · Score: 4, Interesting

    Sorry, but if you have to reboot the ENTIRE avionics system of a F-22 you're fucked to say mildly.

    This plane is always in a controlled stall, the movements of the rudder to prevent it from crashing are calculated every second this bird flys, the pilot just decides in which directions the plane goes, but the task of keeping it up is left to the CPU.

    So, if you just "reboot" this sucker for a second the plane would plummet like a stone, no matter how strong it's pushed forward by the engine or what the pilot does.

    What I can imagine that the pilot would have to restart some none vital components of the main computer.
    Such as the timing of the green/red flashlights or his seat heating. ;)
    Even restarting the RADAR/TARGETING unit would be ok, BUT DO NOT SWITCH OF THE AVIONICS ON THIS BIRDY!

    1. Re:F-22 "avionics" by Isle · · Score: 1

      The aerodynamics system is seperate. It is the weapon system they need to reboot.

      (I dont think the aerodynamic/anti-stall system even has a general processor or an operating system.)

    2. Re:F-22 "avionics" by Moofie · · Score: 5, Informative

      The flight controls are run by totally different hardware. It's the sensor and weapons systems that are at issue here.

      Typically, when aero geeks talk about avionics, we're not talking about the flight control systems, even though those systems are now "aviation electronics".

      Is this bad? Yes. Does it need to be fixed? You betcha. But don't worry about the planes not being able to keep the pointy end into the wind. That part seems to be working fine.

      As an aside, the little anecdote about the test pilot intentionally making RADICAL configuration changes in-flight (moving fuel around, opening weapon bay doors, and wacky control inputs) producing only an easily-recoverable spin is a testament to the airplane's superb design. I mean, you do stupid things in ANY airplane and it'll bite you. The sign of a really GOOD airplane is that it then forgives you and doesn't splatter you all over the terrain.

      --
      Why yes, I AM a rocket scientist!
    3. Re:F-22 "avionics" by PD · · Score: 5, Informative

      You sure about that? A stall is a condition in which the airflow over the wing becomes turbulent and separates from the upper surface of the wing. That destroys lift until the smooth airflow is restored.

      To say that the F-22 is in a controlled stall is just ridiculous. The proper way to state things is that the F-22 has relaxed static stability, which has nothing to do with a stall.

    4. Re:F-22 "avionics" by sluggie · · Score: 2

      Alright I'm sorry, since english is not my native language I ceased to get the right definition of stall.

      What I meant to say was that the CPU always has to do litle rudder movements to prevent it from falling down, or the other way round: the pilot wouldn't be able to keep the plane up with his stick alone.

      And yeah, I know there's some subliminal punchline in "keep the plane up with his stick" ;)

    5. Re:F-22 "avionics" by Grab · · Score: 2

      Not a "stall". A stall is where the plane flies too slow, the wings no longer produce enough lift to keep it in the air, and the thing basically just drops out of the sky.

      The processor doing its little movements just means that it's an unstable system. Nothing new there, the SR-71 also requires an active control system to keep it going in a straight line, and that was designed 20-some years ago.

      Grab.

    6. Re:F-22 "avionics" by hal90000 · · Score: 1
      You're talking about fly-by-wire systems. There's some info about FBW in the article below:

      F-8 Digital Fly-By-Wire Aircraft

    7. Re:F-22 "avionics" by trumpetplayer · · Score: 1

      If you have to reboot the entire thing you're fucked, right.

      But if you reboot for a second, the bird won't plummet like a stone anyway: its feedback loops are closed through software normally, but it surely can operate in open loop, where pure analog electronics control the navigation and the feedback is given by the pilot ("classic" approach).

      This sort of "redundancy" (not redundancy, but implementation of different functions in more than one way) is commonplace in space design, even unmanned (satellites).

      For example, here at Surrey Satellite we use a microcontroller to keep the solar arrays of our satellites in their Maximum Power Point. In case of a failure, we still keep them near that point using pure analog, ie, measuring temperature and doing an estimation with opamps.

    8. Re:F-22 "avionics" by Kysh · · Score: 5, Informative

      > Sorry, but if you have to reboot the ENTIRE
      > avionics system of a F-22 you're fucked to say
      > mildly.

      Avionics and flight control systems are separate
      and extremely disparate.

      > This plane is always in a controlled stall,

      That is extremely unlikely. A stall is defined as
      a condition when the wing exceeds the critical
      angle of attack (Which is in turn defined as the
      angle of attack where the airfoil is no longer
      producing lift, but is instead experiencing
      separated and turbulent airflow).

      | .--.
      | / \
      Cl | /
      1| /
      | /
      | /
      | /
      |/
      +--------------
      0 5 10 15 20
      AOA (Degrees)

      Is a typical graph depicting Cl (Coefficient of
      Lift) and its relation to Angle of Attack. Lift
      (And induced drag) increases with an increase of
      angle of attack or an increase in speed.

      Angle of Attack, for your reference, is defined as
      the angle between the chord line and the relative
      wind. The chord line of an airfoil is an imaginary
      line connecting its leading edge with its trailing
      edge.
      The 'Relative wind' is defined as the flight path
      of the aircraft.

      Therefore, for an airplane to be flown perpetually
      in a state of controlled stall, its airfoil would
      always be pitched up at approximately 17 degrees
      relative to the flight path of the airplane.

      Would be quite funny to watch, actually. :>

      There's a lot of misunderstanding about 'stalls'
      out there. What the F-22 may be able to do better
      than more 'conventional' airplanes, and perhaps
      that to which you refer, is ride the edge of an
      impending stall (In a high speed, hard banked,
      high-G turn, for example) without diverging from
      controlled flight.

      I for one don't care for fly-by-wire. Perhaps I'm
      old fashioned. :>

      I'd rather the airplane do what I told it to do
      than what it thinks I should have told it to do.
      Same reason I like Unix- I don't want my airplane,
      or my computer, doing what it thinks I meant
      rather than what I told it. :>

      -Kysh

      --
      --=:: Wings and tail and snout and scales of blackest night ::=- A dragon stands be
    9. Re:F-22 "avionics" by Blackneto · · Score: 0

      Time "flies" buddy
      We are approaching 40 years on the blackbird.
      From a NASA doc at: http://www.dfrc.nasa.gov/PAO/PAIS/HTML/FS-030-DFRC .html
      "The basic design of the SR-71 and YF-12 aircraft originated in secrecy in the late l950s with the aircraft designation of A-11. Its existence was publicly announced by President Lyndon Johnson on Feb. 29, 1964, when he announced that an A-11 had flown at sustained speeds of over 2000 miles per hour during tests at Edwards AFB, Calif.
      Development of the SR-71s from the A-11 design, as strategic reconnaissance aircraft, began in February 1963. First flight of an SR-71 was on Dec. 22, 1964. "

      --
      Ursula Andress, Catherine Deneuve, and Charo, twice...
    10. Re:F-22 "avionics" by Dun+Malg · · Score: 3, Informative

      20? try 40. It was first fielded during the johnson administration.

      --
      If a job's not worth doing, it's not worth doing right.
    11. Re:F-22 "avionics" by Anonymous Coward · · Score: 0
      > A stall is where the plane flies too slow

      No. Stall has to do with angle of attack and
      can happen at any speed.

    12. Re:F-22 "avionics" by fferreres · · Score: 2

      The sign of a really GOOD airplane is that it then forgives you and doesn't splatter you all over the terrain.

      Good! Now MSCEs can defend the US in the IT and military fieldsby simply attending a 3 day intensive training seminar. As an expected bonus I can mention the HUGE savings in TOD. Oh god, the gift that keeps giving! :)

      (TOD = Total Cost of Defense)

      --
      unfinished: (adj.)
    13. Re:F-22 "avionics" by joib · · Score: 1, Offtopic

      ...opening weapon bay doors...producing only an easily-recoverable spin

      Well, hopefully that feature puts a lid on those trigger-happy pilots, especially at low altitude.

      Sorry, couldn't resist. :)

    14. Re:F-22 "avionics" by Zathrus · · Score: 5, Interesting

      I for one don't care for fly-by-wire. Perhaps I'm old fashioned

      Well, sure... except that for modern fighter aircraft that's simply not viable. What the original poster was trying to say was that the F-22 is not inherently stable in flight (the AE's out there will now point out how minutely incorrect that statement is). If the flight control software goes wacky, you will be unable to fly the plane -- even if it was good ol hydralics and pneumatics.

      The F-22, like a lot of newer jets, has totally integrated flight systems. The ailerons do not work seperately from other control surfaces, particularly the directed thrust system. A human trying to control all of this at once would be overwhelmed, and have considerably lower flight capabilities than a fly-by-wire system.

      Another poster pointed out the pilot intenionally doing bad things to the aircraft - shifting all the fuel to one side, opening the weapon bay doors on that side, etc. which threw the jet into cartwheels at 45k feet. Once the pilot released the controls the jet self-stabilized. That's pretty damn impressive. Ok, sure, with fly-by-wire you're pretty well hosed if it doesn't do this because you don't have a "real" concept of what the plane is doing and reacting.

      Fly-by-wire is becoming standard on large commercial jets too. I suspect it'll be a long time before it's common place on your small, private plane though -- especially since I can't imagine a single engine prop ever being designed to be "inherently unstable" in the air :)

      One of the most impressive things I've seen a Raptor do so far (on Discovery Wings, of course, heh) is fly backwards... jet is flying straight and level, pilot pulls the throttle all the way up and the jet actually goes into a "controlled stall" and moves backwards (or so it appears visually) for a short distance. Hell if I know if it's useful in combat -- but nifty to the layperson.

    15. Re:F-22 "avionics" by Jeppe+Salvesen · · Score: 2
      I for one don't care for fly-by-wire. Perhaps I'm
      old fashioned.
      I'm not sure. Automation sometimes enable us to do things we could not otherwise do. You could not fly the F22 without the computers - it's much too unstable. However, if the F22 was more stable, it would not have the required flight characteristics in order to win the dogfight as often as it could.

      On the flipside, it's always good to be able to do as much as possible manually. When machines fail, we're fucked if we don't have any backup. I wouldn't be surprised if the terrorists at some point would attempt to teach us that.

      The need to understand the basics first may be why they still teach students how to fly in small, primitive single-engine planes.

      One last thing. Automation also levels the playing field a bit between the truly talented and the skilled. You like Unix because it gives you control. Most people dislike Unix because it gives them too much control - too few things are automated and beginner-friendly, and they don't know how to use their freedom. Hrmph. I sometimes wish the world was black and white, but it's much more challenging when it's all greys.

      --

      Stop the brainwash

    16. Re:F-22 "avionics" by Kysh · · Score: 1

      > One of the most impressive things I've seen a
      > Raptor do so far (on Discovery Wings, of course,
      > heh) is fly backwards... jet is flying straight
      > and level, pilot pulls the throttle all the way up
      > and the jet actually goes into a "controlled
      > stall" and moves backwards (or so it appears
      > visually) for a short distance. Hell if I know if
      > it's useful in combat -- but nifty to the
      > layperson.

      Perhaps. I've seen my flight instructor doing the
      same thing in a 1939 Piper Cub (SuperCub with a
      bigger engine) while towing banners. He'd fly into
      a strongish headwind down the beach, and ride the
      stall at somewhere around 32mph. Depending on the
      wind speed, he'd either be hovering or flying
      backward.

      For the F-22 to perform the same stunt, the
      aircraft would have to be either flying against
      the jet stream at stall speed, or they'd have to
      go into a ballistic attitude, 'sitting on the
      jets', and use the vectored thrust to move
      backwards as well as staying aloft.

      Of course, for the difference in price, I'll take
      the cub anyday. ;>

      -Kysh

      --
      --=:: Wings and tail and snout and scales of blackest night ::=- A dragon stands be
    17. Re:F-22 "avionics" by archen · · Score: 1

      Well, you don't really win dogfights anymore. It's more about who has better missles.

    18. Re:F-22 "avionics" by Zathrus · · Score: 1

      or they'd have to go into a ballistic attitude, 'sitting on the jets', and use the vectored thrust to move backwards as well as staying aloft.

      Exactly what the pilot was doing - nose was at about an 80 degree angle.

      Of course, for the difference in price, I'll take the cub anyday

      Well sure, but just think of the fun you could have buzzing everyone else in Cubs :)

    19. Re:F-22 "avionics" by Jeppe+Salvesen · · Score: 1

      Not a single SR-71 blackbird has been shot down. It flies too high up, and too quickly. Hitting a blackbird is like hitting a bullet with another bullet.

      With the extreme performance of the F22, wouldn't it be easier to dodge missiles? And harder for the opposition to lock and fire their missiles, because of the stealth?

      --

      Stop the brainwash

    20. Re:F-22 "avionics" by GT_Alias · · Score: 1
      ...is a testament to the airplane's superb design.

      Or excessively brave/stupid test pilots.

      Those guys must have balls the size of boulders.

    21. Re:F-22 "avionics" by hal90000 · · Score: 1
      > I for one don't care for fly-by-wire. Perhaps
      > I'm old fashioned. :>
      > I'd rather the airplane do what I told it to do
      > than what it thinks I should have told it to do.
      ...

      You almost make it sound like FBW has 'a mind of its own' and fails to obey your physical feedback, which is not true. One of the advantages of FBW is the increased responsiveness, a factor which can be very important in air-to-air engagements.

      FBW does not allow you to push the aircraft *beyond its flight envelope* (such as automatic G-limiting), but that's for your own and the plane's safety.

      A very skilled pilot can potentially push a mechanically controlled plane further than a FBW based aircraft under certain circumstances (at the risk of structural damage, loss of control, etc), but FBW systems allows for faster responsivess and better use of the full flight capabilities of today's sophisticated fighter aircraft.

      You should also keep in mind that many of the world's most maneuverable fighter aircraft - such as the F-16 and Su-27 - use FBW. Later versions of the highly maneuverable Mig-29 also featured FBW, but as far as I can recall they never entered regular service.

      Besides, F-22 is such a complex combat aircraft (with special features such as vectorized thrust and supercruise) that FBW is necessary if the pilot wants to take full advantage of F-22's flight capabilities.

      One final note: One of the earlier posters here used the term "controlled stall". I think a more correct term would be "relaxed stability".

    22. Re:F-22 "avionics" by Shanep · · Score: 2

      the CPU always has to do litle rudder movements

      Is it doing it just with the rudder? What about at cruise speeds?

      I would have thought it would intelligently be doing it with ailerons, elevators and rudder, depending on air speed and conditions.

      How effective is the rudder in the F-22 at cruise speeds?

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    23. Re:F-22 "avionics" by Sergeant+Beavis · · Score: 1

      There is no such thing as a Stupid Test Pilot. Those guys spend about 10 hours of planning their flight on the ground for every hour spent in the air. Nothing is done outside of "the plan" unless a situation arises.

      --
      There is nothing inherently safe about liberty. That's why so many people died protecting it.
    24. Re:F-22 "avionics" by ebbe11 · · Score: 2
      and the jet actually goes into a "controlled stall" and moves backwards (or so it appears visually) for a short distance. Hell if I know if it's useful in combat

      It is if the opponent cannot do the same. The opponent will overshoot and is now a very nice and easy target - as Argentine pilots found out the hard way during the Falklands war when flying against British Sea Harriers.

      --

      My opinion? See above.
    25. Re:F-22 "avionics" by Shanep · · Score: 2

      doing an estimation with opamps.

      And there's nothing wrong with that! When I left the Navy in the early 90's, some ships were still using Valve based analog amplifiers to point guns.

      Analog computers are fantastic since they don't require rebooting (they're much simpler), are able to work directly with analog values, are continuously correcting their positions and with extremely high resolution. I won't say infinitely small due to noise constraints throughout input and output transducers, amplifiers themselves and sometimes even gear backlash (not all analog computers are electronic, some merely use gearboxes).

      Analog had its place and now to a lesser extent still does. Balanced signals with UTP ethernet that give great noise immunity are built on a great analog technology.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    26. Re:F-22 "avionics" by Anonymous Coward · · Score: 0

      Jesus people, let it go.

      If you're seriously asking that question, I'm seriously asking why you don't use google to get an answer. However, I'm guessing you're not seriously asking the question, and are instead trolling like a little bitch.
      If the fly by wire system only had to adjust the rudder position, we wouldn't be talking about an immediate plummet to the earth if the system went down.

    27. Re:F-22 "avionics" by patrixx · · Score: 1
      No its not in a controlled stall, or something even remotely comparable to that. Its called inherently unstable aircraft first used in aircraft design by no less than Orville and Wilbur Wright! Stall is something very different.

      And NO these planes does not plummet to earth vaporised by their own instability if the on board computers fails, which seems to be the common belief. The normal solution as seen in the Swedish JAS or the Eurofighter is to have forward stabilisers that if in "serious shit" can be set to flow freely automatically or by the pilot. This gives the plane enough stable aircraft behaviour so that a good pilot can fly it without computer assistance. But you need of course to have some juice in the fly-by-wire system otherwise you have to steer by thrust (which is perfectly doable if you have two engines but difficult).

      Do some homework dude. And who the ... are modding these days!? ;-)

      Cheers Patrix

    28. Re:F-22 "avionics" by Shanep · · Score: 2

      Actually, I'm not seriously asking those questions. That's my way of very nicely doubting that the rudder is the usual tool for avoiding stall.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    29. Re:F-22 "avionics" by Myrv · · Score: 2

      You almost make it sound like FBW has 'a mind of its own' and fails to obey your physical feedback, which is not true.
      Not quite. While true that in the strictest definition of FBW it does not have a 'mind of its own', by its very nature a 3rd party (usually another computer) can be interposed between the pilot and the FBW system. Just look at the Airbus A320 and family. The onboard computer on the Airbus has been shown on several occasions to override the pilots input. Some have claimed this disconnection between pilot and plane to has lead to several accidents involving the plane. On the other hand, I'm sure the system has also saved planes from pilot error.

      Personally I feel any computer enchanced FBW system should have an override switch that causes it to accept direct control inputs in an emergency.

      Now, whether the F22 has such a backseat driving computer system I don't know.
    30. Re:F-22 "avionics" by Anonymous Coward · · Score: 0

      ASCII PHYSICS GRAPHS RULE!!!

      SCORE 5 - KEWL!!!

      The world needs more ASCII physics graphs...

    31. Re:F-22 "avionics" by Anonymous Coward · · Score: 0

      rudders become more effective the faster you go. so the computer probably limits the motion of the rudder as you increase spead out of the white arc. (Not that these jets have a true white arc, but you get the picture.)

    32. Re:F-22 "avionics" by Firethorn · · Score: 1

      But they still have balls the size of boulders. Common, the plane's still 'untested'. Something might happen, and often has. They even have plans for the situations. Even it 'Eject' is a fairly early option in alot of them.

      --
      I don't read AC A human right
    33. Re:F-22 "avionics" by jbwolfe · · Score: 1

      >I for one don't care for fly-by-wire. Perhaps I'm
      >old fashioned. :>

      >I'd rather the airplane do what I told it to do
      >than what it thinks I should have told it to do.
      >Same reason I like Unix- I don't want my airplane,
      >or my computer, doing what it thinks I meant
      >rather than what I told it. :>

      When Airbus was the only commercial FBW aircraft manufacturer, I used to feel the same way. The issue is how FBW is implemented and to what degree the pilot understands the implementation. Airbus' approach the FBW issue is that the aircraft will never allow the pilot to break the "flight laws" that the engineers designed. Airbus' says once a given critical flight parameter is reached, any further control input that would exceed this limit is ignored. Personally, I feel this is too limiting. Boeing's approach with the 777 (their first commercial FBW) has been to provide the pilot adequate warning that a critical flight parameter is nearing or exceeded but allow the exceedance. Recall the A320 that flew beautifully into the trees at the end of the runway in Toulose, FR back in the late 80's or early 90's. The pilot exploited the software without fully understanding the consequences. FBW works wonderfully well when its used as a tool and the pilot that has ultimate control rather than vice versa.
      Disclaimer: I've never flown Airbus, but I have flown lots of Boeing- 737,757,767,777. I do, however, have access to industry safety data that shows the advantages/disadvantages of both implementations and IMHO Boeing's is better.

      --
      Have you ever noticed that anybody driving slower than you is an idiot, and anyone going faster than you is a maniac?
    34. Re:F-22 "avionics" by Kysh · · Score: 1

      > The pilot exploited the software without fully
      > understanding the consequences. FBW works
      > wonderfully well when its used as a tool and the
      > pilot that has ultimate control rather than vice
      > versa.

      I agree wholeheartedly! That's the specific
      incident I had in mind, and the specific
      ramifications. I don't mind FBW as a supplement
      (For example, ABS), but the thought of flying an
      airplane where I didn't have the final say no
      matter what would blow my mind. I'd rather stress
      a 747-400 beyond certification limits to the
      'design failure' limit than collide with a C-17.
      The last thing I want is the FBW overruling me if
      that situation becomes necessary. Granted, getting
      INTO that situation would likely be bad piloting,
      and getting out would be extraordinary piloting..
      but a 20% chance is better than a 0% chance.

      I have the same problems with FBW systems that
      take the ultimate authority away from the pilot as
      the pilots of the Enstrom F28 (I believe) helos
      had with the popoff valve that was designed to
      prevent going beyond 100% power. Sometimes it's
      desirable to exceed design limits on the off
      chance that it'll save you from a fireball.

      Of course, where I'm headed hopefully (Flying
      airtankers), I don't have to worry about that
      stuff. :>

      -Kysh

      --
      --=:: Wings and tail and snout and scales of blackest night ::=- A dragon stands be
    35. Re:F-22 "avionics" by M$+Mole · · Score: 1

      One of the most impressive things I've seen a Raptor do so far (on Discovery Wings, of course, heh) is fly backwards...

      I believe you're referring to the "Cobra Maneuver", which was first demonstrated by the Soviets using their SU-27 back in the early 90's if I'm not mistaken (Paris Airshow?). It does have a use, which is to provide a very nice AOA in the right circumstances.

      --
      Karma: Non-existant. Due mostly to the fact that you smell funny and nobody likes you.
    36. Re:F-22 "avionics" by Moofie · · Score: 1

      No doubt. I had the pleasure of speaking with the chief test pilot of the ATF program, Paul Metz (who was mentioned briefly in the article) at a chapter meeting of AIAA. He talked about how the flight test program was structured, and the performance of the F-22. He also had the opportunity to fly the Northrop YF-23, but when I asked him to compare the two, he declined. Pointedly. : )

      He's gone on to be the director of flight test ops for the F-35. Lucky sod. Who do I have to kill to get his job?

      --
      Why yes, I AM a rocket scientist!
    37. Re:F-22 "avionics" by matt-fu · · Score: 1

      "I'm gonna hit the brakes and he'll fly right by..."

    38. Re:F-22 "avionics" by Zathrus · · Score: 2

      Not a single SR-71 blackbird has been shot down. It flies too high up, and too quickly.

      Well, certainly true for when it was flying. Modern missiles may be another issue entirely. But, yes, there are several stories floating around of SR-71 pilots flying around MiG's knowing full well that the MiG couldn't touch them.

      With the extreme performance of the F22, wouldn't it be easier to dodge missiles? And harder for the opposition to lock and fire their missiles, because of the stealth?

      In theory, yes... particularly the lock bit. In reality? Well, the Air Force will be testing that shortly, as the article mentions.

      But assume that your missiles are rendered useless, either due to lack of target lock or acrobatics. So you're going to engage me with air-to-air cannon fire? When I'm more manueverable, faster, and harder to see (in both a radar and eye-to-eye sense)? It's a pretty safe guess that the F-22 will be capable of Mach 3 or greater -- since it can supercruise at Mach 1.6 without full power, much less afterburners. This is back up to where the SR-71 was... with a smaller radar and IR profile and missiles.

      Although I'm sure a good bit of it is hype, I'd still hate to be going up against a Raptor without some radically new designs in radar and weaponry.

    39. Re:F-22 "avionics" by Ntense007 · · Score: 1

      The F-022 is an aircraft that is inherently unstable, to allow the plane to turn tighter and quicker than planes that are inherently stable. That means the center of gravity is positioned to the rear of the center of pressure.

    40. Re:F-22 "avionics" by Ntense007 · · Score: 1

      hell no....what a pretty picture a slow flying f-22 would present to an enemy pilot....nothing better than having a weaving fighter do the infamous Cobra" manuever and present a nice flat planform view for a nice gun or heater shot.

      the f-22 seems to have the best capability of slow knife fight dogfights, high AOA flight regimes, and high speed slashing attacks. but who knows...that stuff is classified..

    41. Re:F-22 "avionics" by sysadmn · · Score: 2

      Sorry, any pilot who opens the weapons-bay doors to release while the aircraft is UPSIDE-DOWN deserves it...

      --
      Envy my 5 digit Slashdot User ID!
    42. Re:F-22 "avionics" by hal90000 · · Score: 1
      Not quite. While true that in the strictest definition of FBW it does not have a 'mind of its own', by its very nature a 3rd party (usually another computer) can be interposed between the pilot and the FBW system
      Computers *are* a part of the FBW system itself. It's not a matter of 'can'.
      Just look at the Airbus A320 and family. The onboard computer on the Airbus has been shown on several occasions to override the pilots input. Some have claimed this disconnection between pilot and plane to has lead to several accidents involving the plane.

      Now we're talking about bugs or technical malfunction, which is very hard or virtually impossible to eliminate in such complex systems. But the benefits are so great in many respects when compared to these minor risks (after all, these error redundant, fault tolerant systems are thoroughly tested before they're put into service).

      When the original poster of this thread complained about FBW, I had the impression that he believed FBW suffered from more disadvantages than advantages due to lack of direct, mechanical control. That's what I responded to. Technical failure can and do certainly occur in simpler, mechanical systems as well. The sort of incidents you mention (those which cause accidents or crashes) are extreme examples which are not representative for FBW based aircraft. And, as you mentioned yourself, I think we can safely state that FBW systems have prevented more pilot errors and accidents than it has caused.

      Personally I feel any computer enchanced FBW system should have an override switch that causes it to accept direct control inputs in an emergency. Now, whether the F22 has such a backseat driving computer system I don't know.
      I know that at least some FBW systems features 'soft limits' which allows for pilot override. In extreme situations such manual override can come in handy, I won't deny that. But I'd rather fly a FBW combat aircraft than a manually controlled one, due to the benefits of FBW (as mentioned earlier in this thread).
      Now, whether the F22 has such a backseat driving computer system I don't know.
      Me neither, but I wouldn't be surprised to learn that it does allow for pilot override.
    43. Re:F-22 "avionics" by fredrik70 · · Score: 1

      Believe one of the migs (forgot which) could do this as well. saw it on TV from some airshow in russia quite a few years back

      --
      if (!signature) { throw std::runtime_error("No sig!"); }
    44. Re:F-22 "avionics" by Fast+Ben · · Score: 1

      >> Hell if I know if it's useful in combat -- but nifty to the layperson.

      It makes you disappear from an opponents doppler radar momentarily - can quite useful in combat I'm sure...

    45. Re:F-22 "avionics" by markmoss · · Score: 2

      the center of gravity is positioned to the rear of the center of pressure. Doesn't that mean that in a stall, the nose will tend to go up and the stall become worse?

    46. Re:F-22 "avionics" by bondjamesbond · · Score: 0

      ok, then it goes:
      "Hello M$ support, I have a flight of SU-27's in front of me, and I can't shoot a ##$#@#$@ AMRAAM."

      "Um, can you hold, please? I need to talk to my supervisor."

    47. Re:F-22 "avionics" by StevenMaurer · · Score: 1

      The Isrieli pilots (best in the world) have done precisely that.

      The target was an AA site nestled between two mountains. You go over it, it shoots you. So instead, the pilots came up the mountain in a steep climb, turned themselves over into an inside loop, and released the bomb upside down. The plane pulled out from under the bomb, and the pilot kept himself close enough to duck back down under the ridgeline without getting shot.

      Of course these days, they'd just use standoff weaponry to do the same thing.

  19. It's a safety feature. by Black+Parrot · · Score: 5, Funny

    Everyone knows that frequent reboots prevents crashes.

    --
    Sheesh, evil *and* a jerk. -- Jade
    1. Re:It's a safety feature. by Anonymous Coward · · Score: 0
      I'm not sure if you were kidding but that's exactly why it's being done.

      I'm surprised that there aren't more people here who work on life-critical realtime embedded systems and would point this out. Because it is impossible to write faultless non-trivial code (admit it!), it's a standard practise to have the system reset itself once in a while. Of course the reset time is nothing like on your ordinary PC, but is measured in milliseconds.

    2. Re:It's a safety feature. by sql*kitten · · Score: 2

      Everyone knows that frequent reboots prevents crashes.

      The value of a reboot is that it restores the system to a known state. If you're depending on that system, you really don't want it to get into a state the designers never anticipated, because its behavior might be unpredictable. So in a sense, you are correct.

  20. Similar to Mars Pathfinder by Deton8 · · Score: 5, Interesting

    In 1997 the Mars Pathfinder probe had a problem with VxWorks and priority inversion. Perhaps the F22 is having something similar -- whenever you have a RTOS, the designer must try to anticipate when it's safe to block real time interrups and when it isn't. I don't know anything about the F22, but it's easy to imagine that it has hundreds of input sources with all sorts of latency requirements. AFAIK, it all comes down to some humans trying to balance these conflicting needs. Clearly they don't always get it right.

    1. Re:Similar to Mars Pathfinder by ebbe11 · · Score: 5, Informative
      In 1997 the Mars Pathfinder probe had a problem with VxWorks and priority inversion.

      Priority inversion is never caused by the OS, only by the interrupt/task priority design. So VxWorks shouldn't be blamed here.

      There are RTOS'es that try to avoid priority inversion by temporarily raising the priority of the blocking task to the same priority as the task being blocked. This may at first look like a good solution but if the priority bumping happens too often, "medium priority" tasks may get starved because the low priority task is really running at high priority.

      Perhaps the F22 is having something similar -- whenever you have a RTOS, the designer must try to anticipate when it's safe to block real time interrups and when it isn't.

      Blocking interrupts may mean missing interrupts. This is a very dangerous thing to do in hard realtime systems, because what you don't know may not only hurt you but may actually kill you. If it is necessary to disable interrupts to get the system running, the system design is horribly flawed.

      --

      My opinion? See above.
    2. Re:Similar to Mars Pathfinder by benhaha · · Score: 2, Informative

      There is an interesting account of that here: What Happened on Mars?

      --
      NO ID: BEING FREE MEANS NOT HAVING TO PROVE IT
    3. Re:Similar to Mars Pathfinder by ronnie_james_dio · · Score: 0

      Most software engineers will tell you that one of the requirements of an RTOS is guaranteed response to all interrupts of real-time priority within a certain maximum time. This generally isn't a "nice-to-have" thing. It's a characteristic of an RTOS. And it's a fairly obvious customer requirement in this application.

      --
      satan! SATAN! 54T4N! s4tAN! 5at4n!
    4. Re:Similar to Mars Pathfinder by Anonymous Coward · · Score: 0

      WHY would this be similar AT ALL? Do you know ANYTHING about the F22's problems? What makes you think they are AT ALL like the Pathfinder problem? Why is your mind STUCK IN SUCH A RUT??

    5. Re:Similar to Mars Pathfinder by slickwillie · · Score: 2

      Maybe they should install a priority inversion indicator light. Then the pilot could fly upside down until it fixes itself.

      Oh, never mind.

    6. Re:Similar to Mars Pathfinder by BigRedZX · · Score: 2, Informative
      Priority inversion is never caused by the OS, only by the interrupt/task priority design. So VxWorks shouldn't be blamed here.

      Yes, but it is WindRiver's fault.

      The default configuration of all semaphores within 5.x VxWorks modules is to be 'simple'. In order to change these initialization values, you had either hunt through symbol tables and assembly code dumps or put a gun to the head of some poor slob in Windriver tech support.

      To have a non-inversion safe objects inside a network stack is simply stupid design.

    7. Re:Similar to Mars Pathfinder by cheezedawg · · Score: 2

      Whoa- I think you missed the point of this article. They didnt actually want a serious answer- they were only giving some nerds a chance to make some irrelevant Microsoft jokes.

      --
      "The defense of freedom requires the advance of freedom" - George W Bush
    8. Re:Similar to Mars Pathfinder by X · · Score: 2

      I thought it was possible to avoid significant problems with priority inversion by using a probabilistic scheduler... like BeOS?

      --
      sigs are a waste of space
    9. Re:Similar to Mars Pathfinder by ebbe11 · · Score: 2
      Yes, but it is WindRiver's fault.

      The default configuration of all semaphores within 5.x VxWorks modules is to be 'simple'. In order to change these initialization values, you had either hunt through symbol tables and assembly code dumps or put a gun to the head of some poor slob in Windriver tech support.

      I haven't used VxWorks and therefore I don't know the level of their documentation. But if the way a semaphore works can be changed, surely there must be a documented public interface for this. Otherwise it gives no meaning to have that flag in the semaphore at all.

      The problem with the Pathfinder was that the developers had to apply the patch at run-time and therefore they had to pore over symboltables and whatnot. If they had been aware of the problem during debugging before launch, it could probably have been solved by adding a simple function call.

      To have a non-inversion safe objects inside a network stack is simply stupid design.

      No. To need priority inheritance because the design is not priority inversion safe is simply stupid design. The question one needs to ask oneself is:
      Is it really necessary for the low priority task to have direct access to this resource and thereby running the risk of blocking the high priority task that uses the same resource?

      There are ways to avoid priority inversion such as serializing access to the resource through the high priority task. Yes, at first this looks like priority inheritance but the big difference is that the high priority task is in control and can thus decide which request to process. Solving the problem with priority inheritance simply means that the high priority won't have to wait so long before the low priority task finishes.

      Priority inheritance is the duct tape of real-time programming: It holds the program together but God knows for how long.

      --

      My opinion? See above.
    10. Re:Similar to Mars Pathfinder by ebbe11 · · Score: 2
      I thought it was possible to avoid significant problems with priority inversion by using a probabilistic scheduler... like BeOS?

      Probalistic scheduler? Had to look that one up :-)

      No, because BeOS uses probalistic scheduling only for its timesliced tasks. In hard real-time systems, timeslicing is almost never used because it makes it a lot harder to guarantee that the system responds within the time limit - and getting that part right is hard enough as it is. Probablistic scheduling may help a little but it is not a cure-all. If it was, BeOS wouldn't need a Real-time class for tasks.

      --

      My opinion? See above.
  21. Re: Why do you need the inflight reboot? by back@slash · · Score: 5, Funny

    It's so todays pilots feel more at home with their fighter jets computer of course, having grown up with 90's software. You haven't seen the changes to communication protocal yet have you?

    typical conversation between pilots
    pilot1: u missed ur target fag u suck
    pilot2: stfu idiot i'll kik ur ass
    pilot1: lol ill show u how to shoot missles loser... im gonna get that camper anti-aircraft fag
    pilot2: haha u missed 2... u couldnt even hit ur fat momma

    and so forth....

    --
    This comment was generated by a Squadron of Ultra Ninjas
  22. Re:odd by Verizon+Guy · · Score: 0, Troll

    Maybe they should have gone with something more tried and true, like *nix, rather than writing their own custom code.

    No offense, but... eat a dick.

    *nix is not the solution to everything, no matter how much you may think this is the case.

    --

    Aw, fuck it. Let's go bowling. - The Big Lebowski

  23. Redundant by Perdo · · Score: 4, Interesting

    The flight control computers are 7x redundant and distributed throughout the airframe. It's the new radar and v3.0 combat avionics that need "rebooting"

    --

    If voting were effective, it would be illegal by now.

    1. Re:Redundant by UranusReallyHertz · · Score: 1

      7 times redundency? Wow. Wonder what the mean time between failure is.

      --
      Smoking is an expensive, slow, and unreliable method of suicide.
    2. Re:Redundant by Anonymous Coward · · Score: 0

      This just means /bin/laden can get 7 times as many buffer overflows at once on our jets with one script kiddie's tool of destruction.

    3. Re:Redundant by yatest5 · · Score: 1

      7 times redundency? Wow. Wonder what the mean time between failure is.

      I'm pretty sure the 7x redundancy is not to combat software crashes but to combat bullets taking out the computers.

      --
      • Mod parent up! [a] by Anonymous Coward (Score:5) Thurs, June 31, @13:37
    4. Re:Redundant by duffbeer703 · · Score: 2

      MTBF is however long it takes to pump 7 shells into the various parts of the airframe where the computers are housed.

      --
      Conformity is the jailer of freedom and enemy of growth. -JFK
    5. Re:Redundant by Anonymous Coward · · Score: 0

      On nuclear subs, most of the primary plant instruments are 4 times redundent. Just about every piece of equipment at least has a spare though.

  24. Reset button broken... by JanusFury · · Score: 1

    The idea of one of these with a broken reset button, adds a whole new meaning to the word 'crash'. In fact, it's more like 'crash and explode, charring everything within a 1000 foot radius'. Yay.

    --
    using namespace slashdot;
    troll::post();
  25. Midair by Quantum+Singularity · · Score: 1

    And just what we'll happen when you reboot in Midair? I guess you can't run any programs. When I get in to the Air Force, I'm bringin Linux and BSD with me!

  26. How I solved this for a heads up display - 15 ya by jerryasher · · Score: 5, Insightful

    Sine, cosine? Assuming you have a line draw routine and a raster display, none of that is needed.

    About fifteen years ago for a prototype heads up display I had the same exact problem: draw the tick marks for a compass rose with no memory and no time. There was no scaling of the circle, only rotation about a fixed center.

    After some though, what I did was to store in a table the tickmark endpoints for 45 degrees of arc (I recall it being 22.5 and not 90 degrees) for all the displayable rotations of that arc. Then at runtime, my compass rose routine would exploit the symmetry of the situation to determine the endpoints of all the other displayable tickmarks.

    It used very little memory since at any point in time we only displayed tick marks at 5 degree intervals. Therefore 45 degrees of those would be 9 tick marks, or 18 ints (two ints per tickmark). At 5 degree intervals with a resolution of 1 degree, you only need a table of 5 x those 18 ints, or 90 ints all told.

    I always loved the 3am epiphany!

  27. really? by mojo-raisin · · Score: 1

    Here, the planes are pushed beyond normal limits by test pilots who cartwheel them through the sky at high altitudes and race at supersonic speeds a few feet above the Pacific.

    Man - that would make pod-racing looking like drag-racing snails... 750+mph just feet above the ocean?! Imagine the wake behind that beast.

    1. Re:really? by Anonymous Coward · · Score: 0

      Let me get this straight...

      Someone just made a comparison between TODAY'S
      real-life premiere flight and aerial fighting machinery...

      VS.

      Star Wars Episode 1: Pod Racing on Tatooine?!?!?

      OMG. Get a life!

    2. Re:really? by Anonymous Coward · · Score: 0

      Like, totally. They should be making comparisons to Firefox instead.

  28. Contractor Breakdown for F-22 by gmanske · · Score: 4, Informative
    For a good breakdown of who (LM, Boeing, others) supply what, have a look here.

    Also, can anyone confirm if OSA is the name of the referenced ADA software project (1.7 million lines etc...)

    Gmanske.

  29. Re:How I solved this for a heads up display - 15 y by jerryasher · · Score: 2

    Ah, 3am then, but now I'm all done by midnight.

    I needed four ints per tickmark then or most likely 180 ints all told. Of course you should be able to make these shorts as store not actual points, but vertical and horizontal offsets from the center of the rose.

  30. IMHO the USAF has more acronyms than M$ by InsMonkey · · Score: 1, Funny

    Apparently one cannot even speculate about modern weaponry without falling victim to TMFA (Too Many Fucking Acronyms). I've often debated over who's TMFA was worse: Micro$oft or the guv'ment. Perdo here is really making a strong case for the latter.

    --
    I'd rather have a full bottle in front of me than a full frontal lobotomy.
    1. Re:IMHO the USAF has more acronyms than M$ by Anonymous Coward · · Score: 0

      The only thing they have more of is forms.

    2. Re:IMHO the USAF has more acronyms than M$ by Perdo · · Score: 2, Flamebait

      Microsoft Acronyms:

      http://www.microsoft.com/hwdev/resources/glossar y. asp

      Government and Military acronyms:

      http://www.ulib.iupui.edu/subjectareas/gov/docs_ ab brev.html

      And the Winner is:

      Not us.

      --

      If voting were effective, it would be illegal by now.

  31. imagine this by drDugan · · Score: 5, Funny



    MAVERICK
    I've lost him -- where is he?

    GOOSE
    On your six -- coming hard. Four
    hundred. Losing airspeed! He's on
    your six and closing fast!
    Hard left! HARD LEFT!

    Maverick jerks the stick left, and the F-14 takes an
    astonishing turn. Jester ROARS past into a wide arc.

    GOOSE
    Great move. Great

    MAVERICK
    He should've had me.

    GOOSE
    Take it down. Let's bug out of
    here. Call for a draw.

    MAVERICK
    No way. Let's reboot. I'll nail him this time.
    Going vertical.
    ...

  32. yeah i heard by Anonymous Coward · · Score: 0

    when the nato bombed serbia, sometimes they hit civilian houses because of such errors.

    know what?
    war sucks

  33. There Is Something Rotten in Software Engineering by Louis+Savain · · Score: 2, Interesting

    Why do you need the inflight reboot?

    Because that is the nature of complex algorithmic systems. An algorithmic system is temporally inconsistent and unstable by nature. Using the algorithm as the basis of software construction is an ancient practice pioneered by Lady Ada Lovelace and Charles Babbage. It is the fundamental reason why dependable software systems are so hard to produce.

    There is something rotten at the core of software engineering. Software functionality should not be fundamentally different from hardware functionality. Software should emulate hardware and serve as an extension to it. It should only provide the two things that are lacking in hardware: flexibility and ease of modification. The only way to solve the reliability crisis is to abandon the bad practice of using algorithms as the basis of software construction and to adopt a pure signal-based paradigm. More details can be found at the links below:

    Project COSA

  34. i960 in PC's by Ratso+Baggins · · Score: 2, Interesting

    More than 10 years ago I first saw a i960 dev board, and I thought "YUM! I can't wait for PC's to use them..." But they haven't. Anyone have any valid conjecture as to why?

    --

    --
    "we live in a post-ideological world..." - Billy Bragg.

    1. Re:i960 in PC's by OrangeSpyderMan · · Score: 2, Informative

      A good number of RAID controller cards used them, and have done for a while now. They are in PCs all over the world as we speak.

      --
      Try NetBSD... safe,straightforward,useful.
    2. Re:i960 in PC's by John+Miles · · Score: 2

      If I remember right, some of the first commercial RAID boards ("Dell Drive Array") used the i960.

      Can't think of anything else, though. The i860 and i960 were supposed to take over the planet at one point, but it never seemed to happen.

      --
      Dahlmann tightly grips the knife, which he may have no idea how to use, and steps out into the plain.
    3. Re:i960 in PC's by loddington · · Score: 1

      Compaq's RILOE (remote insight lights out edition) remote control cards use it. It seems nice enough and has only required 1 reboot in 12 months.

      --
      --- Who put this sig here? ---
    4. Re:i960 in PC's by sql*kitten · · Score: 2

      The i860 and i960 were supposed to take over the planet at one point, but it never seemed to happen.

      The earliest version of Windows NT was written on the i860. The i860 machine was called the N-10, that's where the NT in NT comes from (other theories are "New Technology" and "Northern Telecom", but the NT product manager says it's from N-10 and I believe him). I expect the decision to mainly target x86 was just due to the sheer installed base, there was never a compelling enough reason for Intel, IBM, MS et al to move away from it. These days the i960 is used for Raster Image Processing (RIPing) in laser printers.

    5. Re:i960 in PC's by Rhinobird · · Score: 1

      Are they x86 compatible? If not then there you go.

      --
      If Mr. Edison had thought smarter he wouldn't sweat as much. --Nikola Tesla
    6. Re:i960 in PC's by Anonymous Coward · · Score: 0

      VMS (shift each letter forward one) -> WNT (Win NT)

      Microsoft hired David Cutler who previously did work on VMS.

    7. Re:i960 in PC's by Shanep · · Score: 2

      A number of printers have used the i960 for Postscript interpretation.

      --
      War crimes, torture, lies, illegal spying... Would someone give Bush a blowjob, already, so he can be impeached?
    8. Re:i960 in PC's by ekarjala · · Score: 1

      Intels's i960 is a RISC chip. It has been used in many advanced embedded systems for years. It is not x86 compatible and is was never mean't to be the main system processor in a PC.

    9. Re:i960 in PC's by Anonymous Coward · · Score: 0

      My Mylex raid card has one and I've tracked the chip use to the arcade versions of Virtua Fighter 2 by Sega. Cool stuff!

    10. Re:i960 in PC's by nighthawk · · Score: 1

      The i960 line was Intel's line of embedded RISC processors. Compared to the x86 procs available at the time they offered stunning price/performance. Ran in the 20-50Mhz speed range. This was in the late 80's when they came out. There were several varriants from $20/part 80960ka w/o floating point to the ~$1000/part 80960mx/mm which was mil spec FPU/PMMU/and all sorts of security acronym compliant.
      Sometime between then and now, Intel decided that they didn't want to be players in the embeded market (price competetion was wicked) and they did not want the military market either. They dropped mil spec support in the mid/late 90's and all sorts of mil projects freaked!

      The i960mx/mm was wicked bad when first announced. Beautiful RISC design. Serious x86 butt kicker. Had to be killed. Now it's a museum piece. 33 MHx clock I think.

      The use of technology like this in Mil systems is a real crisis. The military spec/design/implement/field/support life is soooo long that parts are long out of production before the systems they are in are ever fielded. AC like the V-22 are on their 3rd or 4th generation of Mission Computer proc and heve never been fielded. F-22 is in same boat.

    11. Re:i960 in PC's by Anonymous Coward · · Score: 0

      "These days the i960 is used for Raster Image Processing (RIPing in laster printers" NOT! Intel lost this market YEARS AGO! I worked at AMD with 29K's and they were having a "shoot out" with Intel over i960's then. They BOTH LOST to MIPS (the 4K or 64 bit variant) in the laster marketplace. And AMD closed down the 29K efforts (and I was "downsized"). Yes, i960's are used in RAID controllers, using I2O Software.

    12. Re:i960 in PC's by Anonymous Coward · · Score: 0

      XScale killed the i960.

    13. Re:i960 in PC's by Sloppy · · Score: 2

      Because if Intel had promoted processor heterogeneity and encouraged people to pick the best processor for the job, then Intel would be out of business by now. It doesn't matter that both (x86 amd 960) were from them; once people had gotten the idea that they should have portable code instead of relying on a single binary "standard", then they would have also had versions of their software for 68k, MIPS, etc. Adios, Wintel.

      --
      As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  35. What Happened to the YF23 by turgid · · Score: 0

    Northrop Grumman's competitor was the YF23, which was rumoured to be superior in some areas to the YF22. I've been looking on Google for info and all I can find is nonsense about black projects and flying saucers. Does anyone have any links to real information?

    1. Re:What Happened to the YF23 by blincoln · · Score: 1

      I remember reading an article in Newsweek back when the YF22 was selected. The YF22 was newly built from the ground up, whereas the YF23 incorporated some old bits and bobs (I remember specifically that the entire cockpit was from an F15). Apparently that was one of the big factors, that Lockheed could have what was basically a complete prototype in the same time that it took Northrop/MD to build one using old parts as stand-ins.

      --
      "...always new atoms but always doing the same dance, remembering what the dance was yesterday." -Richard Feynman
    2. Re:What Happened to the YF23 by YrWrstNtmr · · Score: 1

      ...the YF23, which was rumoured to be superior in some areas to the YF22...

      And inferior in other areas. The F-22 won the competition.

      And also, Northrup already had the B-2 contract. Excellent aircraft, but late, and overbudget. Lockheed had built the F-117 on time and under budget. Industrial capacity matters.

    3. Re:What Happened to the YF23 by Anonymous Coward · · Score: 0

      I remember seeing something on prime time about how when the YF23 turned there was a visible vapour plume on one of the wing tips. Visible being a bad thing for a stealth fighter. I still prefer the look of it though. It looks totally bad A$$.

  36. Drivers? by zentu · · Score: 2, Funny

    So, uh when do they update the drivers for the displays, and when do they know that there was a problem with them? Pilot: Air traffic contol, come in. Air Triaffic contoler: We read you Pilot. What's your problem. P: The heads up display is going fuzzy, any clue what may be wrong?. ATC: Let me see, what version of the Windows F22 are you running? P: The version my machanic put in. ATC: So do you see the blinky red light in the left corner? P: No, I see a green one on the upper right. ATC: Well, you need to come back to base then, you have the old drivers. P: O.K. I will turn around now. ATC: Oh, by the way, the problem with your version is that the ground is actually off by six feet, becareful. P:WTF? Is it up or down? ATC: it varyies, by the driver version....

  37. AKA The Black Widow by gmanske · · Score: 1
    There's some open source specifications available here.

    Gmanske.

    1. Re:AKA The Black Widow by turgid · · Score: 1

      Thanks.

  38. Re: Why do you need the inflight reboot? by Anonvmous+Coward · · Score: 2

    They're having trouble recruiting new pilots today because they're sick of campers sitting there using their anti-aircraft guns.

  39. Re: Why do you need the inflight reboot? by Buck2 · · Score: 1

    That was funny. You roX0r.

    --

    As my father lik@(munch munch)... ....
  40. grrr by yatest5 · · Score: 2, Insightful

    If so, why do you need the inflight reboot?

    Is this how low slashdot has sunk? Someone can't be assed to research themselves the answer to a question so they post it to our x million readership?

    Or maybe it's just another shameless editor troll for reams and reams of the same tired old offtopic MS / Windows 98 / BSOD jokes?

    Jesus, is there any chance of getting any intelligent replies? I checked out kuro5shin recently and was surprised at how intelligent most of the posts are.

    Anyway, mod me down because I haven't slagged MS, whatever.

    --
    • Mod parent up! [a] by Anonymous Coward (Score:5) Thurs, June 31, @13:37
    1. Re:grrr by Anonymous Coward · · Score: 0

      Chill out..

      I haven't laughed this hard in at least 2 weeks.

      The IM chat one was the best, although I did enjoy the "eject package not found"..

  41. Unfortunately, they are using Ada by Florian+Weimer · · Score: 3, Flamebait

    Since they use Ada, this war machine will actually work, despite more 1.5 million lines of source code running it. That's sad, why couldn't they use C, C++ or even Java for such projects, where failure might actually benefit mankind?

    1. Re:Unfortunately, they are using Ada by entrox · · Score: 1

      Because nowadays we know better. Ancient languages like Common Lisp or Ada are obsolete. After all, everybody uses more modern languages like C(#,++) and Java. A million lemmings can't be wrong, no?

      --
      -- The plural of 'anecdote' is not 'data'.
    2. Re:Unfortunately, they are using Ada by grazzy · · Score: 1

      Ada is not ancient. Read your textbooks undergraduate!

    3. Re:Unfortunately, they are using Ada by Anonymous Coward · · Score: 0

      Look here (remove blanks in link):

      http://slashdot.org/comments.pl?sid=36482&cid=39 29 226

    4. Re:Unfortunately, they are using Ada by Mr_Silver · · Score: 4, Informative
      That's sad, why couldn't they use C, C++ or even Java for such projects

      Because for mission critical applications the US Department of Defence consider C, C++ and Java to suck.

      See here for a brief history about why the US Department of Defence found that they were using 450 odd languages and needed to standardise on one common one that did everything right.

      They produced a specification of what the language should do and found that nothing out there did what was required well enough. So a competition was born and ADA was the language that won it.

      --
      Avantslash - View Slashdot cleanly on your mobile phone.
    5. Re:Unfortunately, they are using Ada by codexus · · Score: 1

      Well, with C/C++ and Java they would still have a chance of succeeding. The DoD should be forced to use Visual Basic for all its programming. The world would be a much safer place.

      --
      True warriors use the Klingon Google
    6. Re:Unfortunately, they are using Ada by Anonymous Coward · · Score: 0

      I happen to know that C++ is being allowing for use in some DoD projects. Some of these projects range from avionics to guided shell munitions; that is, the software packages used within the shell it self.

      These are being allowed because DoD is realizing that no one uses ADA in the real world which is greatly increasing the cost of development as well as increasing error rates. Not to mention supporting these packages are costly and a real pain.

      Again, the government is attempting to wake and and realize that commodity items can be cost effective for DoD projects as well.

      You should be clapping as it's not often these entities are able to pull their heads from the sand and pursue viable alternatives.

      FYI, in one last note, the use of NT on certain military ships, which is constantly under fire here, had NT been forced to actually go through a qualification process, it would have never qualified! Simply put, it's a defacto understanding that monies and services exchanged hands to allow MS to very illegally bypass acceptance testing. Needless to say, some spankings have quietly taken place within certain government offices and departments.

      You wonder why MS is able to get away with so much...check into who one of the larger MS customers is...hint, hint...government.

    7. Re:Unfortunately, they are using Ada by jred · · Score: 2

      For some reason the thought of having jet fighters and missiles running VB doesn't make me feel safe. Quite the opposite...

      --

      jred
      I'm not a mechanic but I play one in my garage...
    8. Re:Unfortunately, they are using Ada by Anonymous Coward · · Score: 0

      ADA was the required language for DoD work for many years. This regulation has been repealed, but projects like these were probably started before the regulation was ended.

    9. Re:Unfortunately, they are using Ada by Stultsinator · · Score: 5, Informative

      Why Ada?

      Because quite a few years ago when all source code was Assembly, the US sponsored a Compile-off between high-level languages. The idea was that they'd adopt a single language and build compilers for it suitable for the thousands of different processors we use in all of the various systems around the world.

      So Ada won, even though it was developed by a French consulting firm. Even now we maintain an Ada compiler for every single CPU type in existence. In fact, this is why Oracle's PL/SQL code looks so much like Ada. When Oracle was looking to make a PL for their database, a few gov't guys said: "Hey, why don't you make it like Ada. We'll buy it and our programmers won't have a high learning curve to tackle."

    10. Re:Unfortunately, they are using Ada by Anonymous Coward · · Score: 0

      Since they use Ada, this war machine will actually work, despite more 1.5 million lines of source code running it. That's sad, why couldn't they use C, C++ or even Java for such projects, where failure might actually benefit mankind?

      What a crock of shit. It's circular reasoning, I know, but I see no reason for the USA to lay down the sword and leave itself vulnerable, to 'benefit mankind'. Maybe it's pride in my country, but I don't see how a USA unable to respond to a threat is a good thing.

    11. Re:Unfortunately, they are using Ada by Anonymous Coward · · Score: 0

      That's interesting and all, but if you read the post, the guy _want's_ the software to fail in order to save lives.

    12. Re:Unfortunately, they are using Ada by psychofox · · Score: 1
      The click through license for Java explicity states "Customer acknowledges that Products are not designed for or intended for use in on-line control of aircraft, air traffic, aircraft navigation or aircraft communications; or in the the design, construction, operation or maintenance of any nuclear facility. sun disclaims any express or implied warrany of fitness for suchs uses".

      Thats why they're not using Java...

    13. Re:Unfortunately, they are using Ada by Mark+of+THE+CITY · · Score: 1

      Because for mission critical applications the US Department of Defence consider C, C++ and Java to suck.

      Partially true. In 1999, you could use C or assembler for "nonreprogrammable" systems like 8-bit controllers. I did a pair of small embedded firmware systems for fighter a/c and they were in C (and were carefully tested for bugs). Not sure about now, though the trend was to relax the Ada mandate.

      --
      The clearance system sounds logical. It is not. It is completely arbitrary. -- John Bolton
    14. Re:Unfortunately, they are using Ada by Loligo · · Score: 1

      >the guy _want's_ the software to fail in order
      >to save lives.

      Without even considering the lives that would be lost due to the software failing...

      -l

    15. Re:Unfortunately, they are using Ada by Russ+Steffen · · Score: 1

      That's standard lawyer-speak on pretty much every software license out there. It's about liability not quality. If you really, really wanted to use software like that for such purposes, assuming you could get regulatory approval, you would have to negotiate a custom contract.

    16. Re:Unfortunately, they are using Ada by 198348726583297634 · · Score: 1

      Nobody got the joke? :-P

      Everyone's defending C, etc, or explaining why they're using ADA?

      morons!

    17. Re:Unfortunately, they are using Ada by Anonymous Coward · · Score: 0

      Yep, it would be. With the VB GUI's allowing just about any congressman or politician to point-n-click any country into oblivion, the world would be a much safer place (for the US). Sure, the program might mess up now and then and blow up the wrong country, but hey, we'd have to sooner or later anyhow....

    18. Re:Unfortunately, they are using Ada by Anonymous Coward · · Score: 0

      ...except that Ada compiler vendors routinely sell their wares for such critical uses.

    19. Re:Unfortunately, they are using Ada by Stefan+S · · Score: 1

      Wrong. At the time Boeing and the subcontractors started design work DoD had already stopped enforcing the mandate. Boeing and its subcontractors chose to use Ada because it to them made sense.

    20. Re:Unfortunately, they are using Ada by Stefan+S · · Score: 1

      Not really true. At the time that the Ada competition was started the US military used : COBOL FORTRAN in different version APL PL/1 C probably

    21. Re:Unfortunately, they are using Ada by Stefan+S · · Score: 1

      Hrrmm, I happen to think that the DoD doesn't requires Ada-usage nowadays. What they requires is strong quality assurance. If the contractor chooses to write the s/w in Ada,C or Common Lisp isn't really DoD's business. It exists other reasons why programmers chose to use C/C++/Jave like : 1 somewhat easier to get another work 2 not to have to face drivel from the C/C++/Java crowd. 3 managers could be more comfortable with C - less risk for getting flak from the personnel.

    22. Re:Unfortunately, they are using Ada by Florian+Weimer · · Score: 2

      People tried to get a custom contract for Microsoft Visual Studio (or some other development product). They failed.

      I can image that the situation with Sun is better in gernal (maybe not in the Java area).

    23. Re:Unfortunately, they are using Ada by Florian+Weimer · · Score: 2

      Without even considering the lives that would be lost due to the software failing...

      Projects of this size which are not carefully planned (which involves the choice of proper tools) tend to fail during development, not in the field.

    24. Re:Unfortunately, they are using Ada by Stultsinator · · Score: 2

      That's interesting - thanks for clarifying that for me.

      I think the reason the story stuck in my mind was that it made sense (the reason for sponsoring the competition, ie. too many dialects of Assembly for too many processors.) What confuses me now is: If they already had high-level languages in common use, why not enhance them rather than start from scratch?

  42. Ada? Still using that pile of junk! Sheech! by SWTP · · Score: 1

    Oh well old habits die hard I guess.

    When these guys start to adapt the research from AI low level bug's etc instead of unfuzzy logic of the "Do this" and "crash", the concept of reboot or give up and start completly over can finaly be removed. Then self repair correcting for damge problems can finaly be added giving the pilot or who ever a better chance of surviving. Basicaly a way to heal itself so to speak.

  43. Flight Simulators by Anonymous Coward · · Score: 0
    One question: Is this feature going to be carried across to the F22 sims?

    If so, how will it be implemented, cos I reckon my PC could do a pretty accurate version...

  44. Entropy? by Bastian · · Score: 2

    I seem to remember hearing somewhere that the avionics system on the F-22 uses a neural net of some sort. In my experience, some kinds of neural networks can develop this creeping flakiness as a result of a sort of entropy in the weightings on each neuron. Since neural nets are subtle enough that it would be nigh-impossible to get rid of this cruft on the fly, the best way I can think of to fix problems is to simply reset all of the weights to a default value.

    The best analogy of this that I can think of is to say that it's similar to a reboot, even though it doesn't necessarily require shutting the entire system down for a period of time.

    Of course, like all hearsay, this doesn't make a whole lot of sense when you think of it. . . I'm not aware of any reason why they would put a neural net that continues to learn while it is being used in control of the avionics system, but then again a lot of technologies I see make no sense to me. . .

  45. Yanno... by Greyfox · · Score: 2

    This is the only application I can think of where you reboot BEFORE you crash...

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  46. Moderation Funny(+1)? by Cryptnotic · · Score: 2

    This isn't a joke. Read the linked pages, moderators. There is a rather large amount of thought and theory behind the ideas presented.

    Of course, any computer can be thought of as a signal processing device. It has input (the sequence of bits in the program code and data storage and external input (e.g., keyboard, mouse, network, etc)), state (memory, registers, etc), and output (display, sound card, printer ports, disk, network, etc).

    --
    My other first post is car post.
    1. Re:Moderation Funny(+1)? by flatrock · · Score: 2

      Here's the funny part.

      Software should emulate hardware and serve as an extension to it. It should only provide the two things that are lacking in hardware: flexibility and ease of modification.

      If you've ever worked on a device driver for a relatively complicated piece of hardware you'll quickly figure out that this already is how it works. The problem is that the hardware designs are also buggy, and your driver often ends up 10 times more complicated because you need to fix hardware bugs in the driver. This is because hardware is infleximle and hard to modify. The post is funny because it assumes that the hardware is solid and stable, and that the software is to blame. While the software may be to blame, the hardware almost invariably has a variety of bugs that are being worked around in software. Such is the nature of product development.

    2. Re:Moderation Funny(+1)? by alienmole · · Score: 1

      Unfortunately, a "large amount of thought", when misdirected, can be worthless. In this case, the theory you mention indicates that a +1 Funny moderation is appropriate. -1 Kook would also work.

    3. Re:Moderation Funny(+1)? by paulydavis · · Score: 1

      This is what i had in mind when i moderated it funny

  47. Ada ? by DarkDust · · Score: 1

    The part from globalsecurity.com (that one that says the system has about 1.7 millions lines of Ada code) says this:

    Ninety percent of the software is written in Ada, the Department of Defense's common computer language. Exceptions to the Ada requirement are granted only for special processing or maintenance requirements.

    This means the developers were forced to use Ada, but why ? To me, it seems some suits think it's especially "safe" for some reason, does anyone know more about that ?

    But I think you can try to make a programming language as "safe" as you want, it won't prevent you from implementing bugs, it just causes a false sense of safety instead which can be even more dangerous, IMHO.

    1. Re:Ada ? by Kysh · · Score: 5, Interesting

      > This means the developers were forced to use
      > Ada, but why ? To me, it seems some suits think
      > it's especially "safe" for some reason, does
      > anyone know more about that ?

      Ada is especially safe. It is, in fact, one of the
      VERY few safety critical environments you will
      find. It's very simple- A safety critical program
      must never exit and give up control functionality
      entirely, no matter what happens. There are many
      things that you can do with C/C++/Java that will
      cause a crash unrecoverable by the system.

      Ada is designed to inherantly prevent a programmer
      who follows the appropriate standards from writing
      a program that can just crash and exit. As long as
      every possible exception has a handler, an Ada
      program can be written that will not crash.

      > But I think you can try to make a programming
      > language as "safe" as you want, it won't prevent
      > you from implementing bugs, it just causes a
      > false sense of safety instead which can be even
      > more dangerous, IMHO.

      Bugs are universal. But bugs in a C program can
      cause the controlling system to shut it down with
      prejudice (Sig 11 and others), and it doesn't
      offer the automatic safety nets Ada does. Can you
      write safety critical software in C/C++/Java?
      Certainly. It's all a matter of methodology. Ada
      enforces the methodology, which is why people hate
      it. They can't do cute, horrible hacks like they
      can in C/C++, and Ada requires explicit
      specification.. Ada has specific standards of
      implementation for software, and a good inherant
      design. It is designed, from the ground up, as a
      'safety critical' language, and for the most part
      succeeds on its own merit.

      I do understand the widespread animosity towards
      Ada. People don't like the verbose, very specific
      code. Progammers often want to bend the langauge
      over their knees and perform horrid hacks that
      make reasonable people blanch in fear, but Ada
      doesn't really allow that. Programmers are often
      forced to learn Ada in structured learning
      courses, and forced to read the Ada RM. They end
      up hating it because of the language and
      terminology used, because of the verbosity of the
      language, because of some of the difficult
      concepts of Ada, etc..

      But it really is a fine language. (I'm sure many
      people will disagree with me without really having
      an objective or informed viewpoint, but that's
      just how it goes)

      -Kysh

      --
      --=:: Wings and tail and snout and scales of blackest night ::=- A dragon stands be
    2. Re:Ada ? by cdand · · Score: 1

      I used Ada in my first years at Uni and I can honestly say that I like it. I've never had the use for it's safety critical abilities (still being an undergraduate) but I did enjoy programming in it. I certainly didn't have any problems with it being so strict.

      Wish Ada was still part of my course these days, but I guess there are important skills in learning Java...oh well!

      --
      Chuck Dand.

    3. Re:Ada ? by Anonymous Coward · · Score: 0

      I would have difficulty sleeping at night if I found out the US DoD installations ran on C code.

      I've never seen ADA in the wild, but it's good to know there's a language designed with acknowlegment that programmers are only human and will trip themselves up given too much rope. The interesting thing is that all that extra rope given by other languages doesn't seem to provide much in the way of added functionality.

      Bugs will always be with us, but many language designs promote bugs.

    4. Re:Ada ? by Anonymous Coward · · Score: 0

      > Can you write safety critical software in C/C++/Java?
      > Certainly. It's all a matter of methodology.
      > Ada enforces the methodology, which is why
      > people hate it. They can't do cute, horrible
      > hacks like they can in C/C++, and Ada requires
      > explicit specification.

      Very good point. It agrees on my programming experience. See (remove blanks in link):

      http://slashdot.org/comments.pl?sid=36482&cid=39 29 226

    5. Re:Ada ? by Jamie+Zawinski · · Score: 4, Interesting

      Ada is especially safe. It is, in fact, one of the VERY few safety critical environments you will find. It's very simple- A safety critical program must never exit and give up control functionality entirely, no matter what happens. There are many things that you can do with C/C++/Java that will cause a crash unrecoverable by the system.

      Ada is designed to inherantly prevent a programmer who follows the appropriate standards from writing a program that can just crash and exit. As long as every possible exception has a handler, an Ada program can be written that will not crash.

      In what way is Ada better than Java in this respect? I only know a little about Ada, so this is a serious question. My understanding is that Ada and Java have very similar safety goals (especially with respect to exceptions) so I'm curious about what you think Ada gets right and Java gets wrong.

      It should be the case that the only way for a Java program to "crash" is if there is a bug in the runtime library or hardware interface: the same kinds of problems can of course affect Ada.

      (I've got a lot of problems with Java, mind you, but I'd never say it was "too lenient"...)

    6. Re:Ada ? by Kysh · · Score: 3, Informative

      > In what way is Ada better than Java in this
      > respect? I only know a little about Ada, so this
      > is a serious question. My understanding is that
      > Ada and Java have very similar safety goals
      > (especially with respect to exceptions) so I'm
      > curious about what you think Ada gets right and
      > Java gets wrong.

      Let me be fair.. as a language, I'm not terribly
      familiar with java. I have spent a great amount of
      time supporting Java developers on the system
      level, however. I have seen developers write java
      code that crashes in very gnarly ways, and had to
      support them. I've seen java interpreters just
      spontaneously die. Now this could certainly be
      buggy implementations, and not a bad language
      specification. While that was not the impression I
      was given by the developers in question, I don't
      deny the possibility. I have, personally, never
      seen an Ada program 'crash'. I have never seen an
      Ada program exit in any way other than an
      unhandled exception or a normal exit. I've seen
      Java do a lot worse.

      I will not say that java, as a specification, is
      less 'safety critical' than Ada, only that I am
      not aware that it is as much so. If the
      implementation is the problem, as I mentioned that
      it could be above, then pending better
      implementations, I'll check back in with this
      topic. :>

      In closing, though, I have to say that, from the
      information I have, an Ada program is about a
      billion times more reliable than a Java program,
      when you're talking about large (Or huge)
      applications. Ada also has the benefit of a big
      experience base, mathematical analysis, review,
      etc.

      I'm open to comments regarding Java
      implementations, stability, and the
      safety-critical methodologies present (Or lacking)
      in Java from those more familiar with the
      language.

      Respectfully,

      -Kysh

      --
      --=:: Wings and tail and snout and scales of blackest night ::=- A dragon stands be
    7. Re:Ada ? by Anonymous Coward · · Score: 1, Informative

      In my experience Ada educates you to disciplined programming step by step. It educates you to be accustomed to use exceptions by default everytime where it makes sense.

      Because Java is so easy to learn and to use it "seduces" you to do lazy programming. You don't use exceptions all the time because you are too lazy do so. IMHO Java programmers have internalized rapid prototyping so much that they don't care about really good software design. Finally they are only interested in producing solutions in shortest time. Good design doesn't matter so much. In Ada you cannot afford to think this way.

      I use Ada 95 for web application development. I came from C/C++ to Java and Ada95 afterwards. Java was no problem for me to learn because it is so similar to C. But I was not satisfied with it (no enumerations, no templates, no subtyping, can be decompiled) so I tried Ada95. This language was the first that satisfied me. It was pretty hard to learn but I haven't regret so far. Ada95 is nearly as platform-independent as Java. There are free compilers (GNAT) for several platforms. It can even be compiled to Java Bytecode. In Q4/2002 you can get a Visual Studio C++ like IDE for Ada ("GPS" from AdaCore Technologies).

      http://www.adapower.com
      http://www.gnat.com
      ht tp://libre.act-europe.fr

    8. Re:Ada ? by shaldannon · · Score: 3, Interesting

      I had the (dis?)pleasure of learning Ada as the required language in 4 years at Auburn University's Computer Science department. While what you say is quite true (from my observation) my two biggest objections to it were verbosity and strong typing. It's really, really annoying to have to convert, say, and int to a float through a function call. I'm not even asking for a Perl-style eval{} here...I just want the ability to declare something as an int with value 3, divide it in half, and reassign the value back so it is now a float 1.5....I also want the ability to get a newline without having to type in 'Newline;' or 'Ada.Text_IO.Newline;'. For what it's worth.

      Until that time...I write Perl code all day long in web apps (nobody dies if your web app goes kaput).

      --


      What is your Slash Rating?
    9. Re:Ada ? by Anonymous Coward · · Score: 0

      Ada95 is vastly broader than Java.

      Just to give an example, you can (and for safety critical software, should) defined the exact range allowed for an integer type.

      Types are strictly enforced and type conversions are checked including range; you can override this (including the ability to do pointer arithmetic like in C), but you must do it explicitly. You're not going to see people doing it out of laziness because it is simple to do things cleanly.

      When used properly, these features will make it difficult for bogus data to propagate far before generating a local exception from which it is possible to recover.

    10. Re:Ada ? by Anonymous Coward · · Score: 0

      It's really, really annoying to have to convert, say, and int to a float through a function call.

      It's not really a function call, but when you're reading the code later on at least you'll know that you really intended to do the conversion. Float to Integer in particular is neither lossless nor guaranteed to work; shouldn't it be flagged?

      I also want the ability to get a newline without having to type in 'Newline;' or 'Ada.Text_IO.Newline;'

      What's wrong with Put_Line? Remember that you can join strings together with '&', so the equivalent of

      printf("message %d %f", intvar, floatvar);

      is just

      Put_Line ("Message is " & Integer'Image (Intvar) & Float'Image (Floatvar));

      And it's even type safe. What a bargain.

    11. Re:Ada ? by SuiteSisterMary · · Score: 3, Funny
      I just want the ability to declare something as an int with value 3, divide it in half, and reassign the value back so it is now a float 1.5

      Holy CRAP.

      --
      Vintage computer games and RPG books available. Email me if you're interested.
    12. Re:Ada ? by foobar104 · · Score: 5, Interesting

      First, read Kysh's comment. It's better than mine.

      But the short answer is that it's possible to compile a Java program that will exit due to an uncaught exception. For many exceptions, Java forces you to have an exception handler, otherwise the code won't compile. But not for all. Runtime exceptions can send your code straight out the window.

      The idea behind Ada-- I've never done much Ada programming myself-- is that it's not supposed to be possible to compile code that can throw an uncaught exception. The compiler is supposed to prevent you from doing such a thing.

      This doesn't mean that Ada code is always perfect, but it does give you a degree of freedom that you don't get with other languages.

      I did some work about four years ago on a flight simulator project for the DoD. The first stage in the project was to build an unclassified demonstration version of the new sim. Some code related to weapons-- in this case, the AIM-120 missile-- is classified, and can't be demonstrated in an unclassified environment. So what did we do? We just didn't link in that code. (I may have my terminology wrong; I was doing HSI, not code, so I'm just going by what my friend on the other side of the hall told me.)

      With any other environment, C or Java or whatever, that would have resulted in a fatal runtime error. But Ada doesn't let you have runtime error situations without exception handlers, so when it encountered the missing chunk if AIM-120 code, the sim just dropped into the exception handler-- which basically said, ``never mind, everything's fine''-- and kept right on going. The sim dropped a couple of frames every time you fired a missile, but other than that, no problem.

      I've gotta say that I found that pretty cool. I mean, the sim just kept on going, after it found that a huge chunk of important code was simply missing! Neato!

    13. Re:Ada ? by Theovon · · Score: 1

      My biggest peeve about Ada, which I believe MAY have been corrected since, was that it didn't directly support variable-length character strings. That's something I also hates about what's called "Standard Pascal" which makes you use fixed-length character arrays. Are we still stuck in the days of Fortran? Did these language designers never consider that one might want to perform string manipulation that resulted in a length not predicted at development time? I can certainly understand having strings with a maximum length, and I can see problems with having strings which exceed the array size you've allocated, but variable-length string handling seems so BASIC (pun intended) to me that I have trouble respecting a language that lacks it.

      But that's just me ranting. It's also conceivable to me that the Ada designers had a valid reason for explicitly not including variable-length strings. Perhaps they chose it because it eliminates the possibility of having a buffer overrun?

    14. Re:Ada ? by Anonymous Coward · · Score: 1, Interesting

      One HUGE advantage that ada has over java is that it is mostly hardware-independent (although of course there are always system-dependent packages and stuff) without having the overhead of that silly bytecode interpreter. Most code written for the military in ada is going to be for realtime embedded systems (either hard or soft). If you went the java route, that would mean having to choose a CPU and OS that runs the java interpreter, which would probably be some huge bloated OS that has way more functionality than is desirable in an embedded system and would have very high CPU requirements. In addition to that, the operating system would have to be one that handled real-time priority applications RIGHT. No pausing the system for 3 seconds while writing something to swap. Even THEN, you'd still probably have to write some hardware interface code in C or ada or a similar language for the displays and stuff. Ada, on the other hand, is designed from the bottom up to be used in real-time embedded systems. It compiles to native code. There are ada compilers for just about any processor you care to name. Ada is very type-safe. Ada95 (the most recent iteration of the language) is even somewhat object-oriented. Java is a good language, it just isn't good for systems with hard real-time requirements like aircraft avionics control systems.

    15. Re:Ada ? by arrow · · Score: 2, Interesting

      Dosen't Javas licence agreement specificly forbid its use in nuclear power plants, dams, weapon control systems, etc.?

      I can't find good linkage to the discussion I remember, but heres something close: The Java2 Plugin licence (http://java.sun.com/getjava/license.html) states "You acknowledge that Software is not designed, licensed or intended for use in the design, construction, operation or maintenance of any nuclear facility.".

      --
      symetrix. We are building a religion, a limited edition.
    16. Re:Ada ? by RhettLivingston · · Score: 0

      While leading a sizable (about 2.5 million+ lines) real time project using Ada, I spent more time debugging at the assembly language level using an In-Circuit-Emulator than with any other language I've ever worked with including many assembly languages.

      Ada was designed to replace the DOD's widest used language, Cobol. Then it was forced into hard real time like a Sears Tower sized square into a round post hole.

      There are many problems with using Ada for hardware control, but the biggest problem we had was the extremely high degree of abstraction. It was very difficult to know absolutely how long a line of code was going to take to execute. Even a simple assignment statement might consume 1000s of CPU cycles if it was an assignment of an array or structure. The lack of visible syntactic difference between truly simple code and extremely complex code really really hurt.

      On the Ada project, I had a staff of 25. We produced about 2.5 million lines of code that ran on about 60 processors in a loosely couple distributed system in about 2 years time. The product was mostly complete but loaded with bugs, instabilities, and performance issues. Due to circumstances beyond our control, we weren't allowed to complete the project.

      Two years later we got to essentially repeat the project as an upgrade to an older platform. Constrained to CPUs that had about 1/5 the potential of what we had been using, we chose to use ANSI C as our core language and Gimpel Lint to help with quality control. Using a staff of 5 to 7 people, we created a completely new software package for the system consisting of approximately 1.5 million lines of code written over a period of 2 years. By the way, both of these systems were completely custom, so the operating system, device drivers, and even the ANSI C standard library in the latter case were written from scratch too. The result had more functionality and about 100 times the performance of the Ada version on hardware running 1/5th the speed. Best of all, there were only 5 significant bugs reported in the first couple of years of deployment. Out of embarassment, we fixed all but one of those for free in less than a days time a piece.

      I attribute some of the success to greatly decreased compilation times and far greater efficiency, but the main reason was the reduction in abstraction of the code. WYSIWYG behavior in a language being used for hardware control is indispensable.

    17. Re:Ada ? by pdrome4robert · · Score: 1

      Way back in college, I had a CS professor who was a retired Marine who had programmed in Ada. When we studied concurrecy in OS class, the prof taught us about the Ada rendezvous mechanism. As I remember, this feature of Ada provided the ability to synchronize concurrent tasks. In C/C++ or Java you have to roll your own.

    18. Re:Ada ? by Anonymous Coward · · Score: 0

      > Put_Line ("Message is " & Integer'Image (Intvar) & Float'Image (Floatvar));

      With my extension of Ada's unbounded strings library I simply write

      Put_Line ("Message is " & Intvar & " " & Floatvar);

      without need for any type conversions.

      In Java, what if you write this way 8-):

      printf("message %f %d", intvar, floatvar);

    19. Re:Ada ? by _xeno_ · · Score: 3, Interesting
      It is possible to let an Exception cause a Java application to "crash", although it usually exits fairly cleanly, or, if the exception occured as the result of an event in a GUI, just continue on it's merry way, with the given function having been aborted.

      The Java compiler forces people to catch any Throwable that does not extend either Error or RuntimeException - assuming that the given exception is noted in the throws clause of the method it's looking at. However, as far as the Java runtime is concerned, any exception can be ignored. (So if you managed to compile against classes that claimed not to throw a given exception and link at runtime against code that does, an uncaught exception can wind up "crashing" the program.) An ignored excpetion just propagates up the stack (well, the stack of called methods), until eventually it gets caught by the root exception handler in java.lang.Thread.run(), which simply dumps the stack trace and then destroys the current thread - in essence, causing the application to "crash", although it's really just an uncaught exception.

      To prevent that, just

      try {
      // your code
      } catch (Exception e) {
      // Either fix it, or restart, or something
      }
      Generally speaking, Errors should not be caught because they're basically signs of the underlying system getting ready to go out the window. (Except for StackOverflowException which is usually a sign of unchecked recurrsion...)

      Oh, and you should add something to your list of problems - the completely inconsistant and confusing versioning numbers that Sun uses.

      Since as you do complain about the fact that Sun uses Java to mean both the language, virtual machine, and class library, the Java version number is just plain confusing since it applies to all three.

      As an example, when Java went from version 1.0 to 1.1, there were several changes to the language (the addition of inner classes), several changes to the API (a new AWT event model), and changes to the JIT technology backing the virtual machine. This pales in comparison to the absolutely stunning Java 2 release.

      See, when Java 1.2 was released, half the documentation called it "Java 2" - which is understandable, since there were many additions to the default class library (Graphics2D, Collections, Arrays (which adds the qsort that was missing, BTW - it's java.util.Arrays.sort(java.lang.Object[]) - oh, and because Object[] isn't the same as int[] etc, they have special copies of the method for byte[], char[], double[], float[], int[], long[], short[], and of course, Object[].)

      Java 2 - or Java 1.2 - also saw the default JIT be changed to the HotSpot JIT. I think Java 1.3 changed the compiler, as well as adding new classes, and 1.4 changed the language to add an assert feature - involving another change to the compiler...

      Anyway, I still do write Java as my day job, and it's nice to get that off my chest... ahhhhh...

      --
      You are in a maze of twisty little relative jumps, all alike.
    20. Re:Ada ? by imnoteddy · · Score: 0
      But it really is a fine language. (I'm sure many people will disagree with me without really having an objective or informed viewpoint, but that's just how it goes)

      Ada is a religious experience. You either believe or you don't. I don't. I don't because I had to live with Ada on an avionics project. I have an objective and informed opinion.

      Some background. I worked for Boeing in the commercial airplane group during the 80s. I was part of a group that wrote a document entitled "Ada Language Guidelines" (D6-53340, if you have access to Boeing documents). Much of the document was devoted to describing the parts of Ada that shouldn't be used because they are unsafe or make code obscure.

      I was amused by the statement:

      They end up hating it because of the language and terminology used, because of the verbosity of the language, because of some of the difficult concepts of Ada, etc..

      We called Ada "PASCAL for lawyers". Yeah, difficult concepts, no shit. Consider this seemingly simple construct:
      -1..1
      which should mean a range from -1 to 1. But it doesn't. It took a chain of six or seven references into the Ada RM (Reference Manual) to determine that "-1" and "1" are not of the same type, which makes the ".." operator barf. I don't really think the language designers meant to make "-1..1" illegal - I think the made their rules so complicated they didn't understand all of the ramifications.

      However the real problem with Ada in avionics systems comes because there is no way to state hard real time constraints. For example, an autopilot computer typically reads the state of an airplane every 10 to 50 milliseconds and issues new commands to the control surfaces (flaps, rudder, etc.) on that time frame. So people doing systems with Ada would put an RTOS underneath Ada to ensure the hard real-time requirements would be met.

      How do I know this? Other than the fact that it is obvious, my next job at Boeing was to oversee a subcontractor who used Ada and guess what, they put an RTOS underneath Ada.

      --
      No electrons were harmed creating this post, though some may have been subjected to electrical and/or magnetic fields.
    21. Re:Ada ? by Anonymous Coward · · Score: 0

      All Java programs either have a normal exit or quit with an unchecked Java throwable. Plus these two caveats:

      If you invoke native (ie, non-Java) code from Java, you have no guarantees as to what happens.

      Every VM implementation has at least one known bug. Most have a lot more than one bug.

    22. Re:Ada ? by Anonymous Coward · · Score: 0

      Java has synchronization primitives to do the equivalent of a rendezvous.

      C/C++ relies on you using whatever synchronization capabilities the OS provides.

    23. Re:Ada ? by WinterSolstice · · Score: 2
      Try doing things as a power of 10, then. (ie int x = 10 would be equiv to x = 1, but with the ability to do limited float.)

      This way, you would declare x = 30, x = x/2, and bingo, x == 15. (or 1.5, you see.)

      Also, you get to avoid some nasty traps that can occur with floats in double-digit precision systems. (Like financial, for example.) You don't have "loose change" floating around.

      -WS

      --
      An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
    24. Re:Ada ? by Nick_Roberts · · Score: 1

      For one thing, Ada is specifically designed as a native-code compiled language, and provides facilities suited to (fairly) speed-critical code. I suspect a compiler would have to be extremely clever to achieve the same efficiency from Java code. For this reason alone, I doubt avionics software could sensibly be written in Java.

      Ada is really only a kind of suped-up Pascal, but it has certain genuine advantages over C and C++ -- the languages most commonly used as an alternative to Ada for developing safety-critical software (which tends to be embedded) -- that certain big corporations would prefer people didn't know.

      These advantages are really very simple. Ada tends to catch a lot of typical errors at compile-time that (for the equivalent errors) would be caught only at run-time in languages such as C and C++ (and Java, for that matter), or that would not be caught at all. Catching these errors, in practice, reduces the debugging cycle drastically. The economic benefits for commercial software development are obvious -- and this is the reason why savvy companies like Boeing use Ada -- but the benefits for the lone hacker are also obvious.

      In addition, Ada programs -- especially if use is made of the simple facilities Ada provides for the purpose -- tend to catch (as a controllable exception) many typical errors at run-time that would not be caught by C or C++ (but would cause uncontrolled failure instead).

      So long as exceptions are handled sensibly, this makes it possible to program Ada software to defend itself against catasrophic failure in the field (or in the air). The classic 'buffer overrun' vulnerabilities that have plagued various kinds of Internet service software recently -- costing businesses huge amounts of money in some cases -- would certainly never have occurred if the software had been written in Ada (or, for that matter, in almost any language other than C or C++).

      Of course it should be noted that, most of the time, the reliability of a piece of (safety-critical) software as delivered will depend on how well it was designed, specified, coded, and tested, not on which language it was programmed in.

      It should be emphasised that there are plenty of other languages (e.g. Modula III, Oberon, Eiffel) that offer advantages similar to Ada. I believe, of these, Ada is the only one which is an ISO standard (which it has been since 1983).

      Ada is a totally general-purpose language. It can certainly be used for anything that C or C++ can. If you are curious, you may be surprised to learn that if you throw a file ending with ".ads" or ".adb" at any recent gcc it will compile it.

      If you are curious about Ada, the best starting point is:

      http://www.adapower.com

      Happy hunting!

      --
      Nick Roberts
    25. Re: Ada ? by Black+Parrot · · Score: 2

      > My biggest peeve about Ada, which I believe MAY have been corrected since, was that it didn't directly support variable-length character strings.

      As poster "Ada95" has already said, that 'feature' of Ada83 has been modified in Ada95 by the addition of two more classes of strings, bounded and unbounded.

      > That's something I also hates about what's called "Standard Pascal" which makes you use fixed-length character arrays. Are we still stuck in the days of Fortran? Did these language designers never consider that one might want to perform string manipulation that resulted in a length not predicted at development time?

      I agree wholeheartedly. IMO it was clever to think of a string as an array of char, but the concept was fundamentally flawed. Strings should be conceived as a natural data type with their own natural set of operations, not as a funny kind of array.

      --
      Sheesh, evil *and* a jerk. -- Jade
    26. Re:Ada ? by shaldannon · · Score: 2
      *sigh*

      that doesn't work so good if you are trying to divide 1 by 3, for example. Besides which, that's a hack anyway. The whole point is that Ada makes the doable stuff hard and the hard stuff impossible (rather the opposite of Perl). I guess my whole philosophy of programming boils down to "do it the easiest, and most easily documentable way." I don't do hacks, understand, but I see nothing wrong with

      • print (defined $_ ? "True" : "False") foreach (qw { 1 0 1 0 });
      if you get my drift...
      --


      What is your Slash Rating?
    27. Re:Ada ? by markmoss · · Score: 2

      I just want the ability to declare something as an int with value 3, divide it in half, and reassign the value back so it is now a float 1.5
      (wince)

      int n=3;
      float x;
      x = n/2 /* A page of other code */
      printf("%d",4*x)

      Logically, (n/2) should be done in integer, since both the operands are integers. That is, 3/2 => 1, and then you convert that to float, so x = 1.0. But compilers _might_ do this differently, and it sure as hell is not obvious why somewhere on the next page x*4 came out as 4.0 instead of 6.0. If you expected x = 1.5, that's a bug you'll probably spend hours figuring out. What's worse, given a legal range for n of 0 through 4, the testers might just decide to try it at 0, 2, and 4, and the bug remain undetected until the airplane takes off and the ride gets bumpy...

      Implicit type conversion seems to make programming easier, but it's a prolific bug generator. What I'd rather have is a compiler that would handle mismatched types by rewriting the source to insert casts as needed. That is, "x=n/2" comes back as "x=(float)(n/2), and you get to think about whether you meant that or "x=((float) n)/2.0.

    28. Re: Ada ? by markmoss · · Score: 2

      Strings should be conceived as a natural data type with their own natural set of operations, not as a funny kind of array.

      I agree in general, but this adds considerable complexity to the language. Either you reserve the maximum possible size for every string (wasting maybe 90% of the space since most strings are short), or you make string variables a sort of pointer, with the actual strings allocated and freed as needed. In 1983 or so the Ada spec was released, the first choice was probably unacceptable because a lot of the military hardware Ada was targeted for was limited in memory. The second choice was unacceptable because it requires garbage collection and Ada was supposed to be suitable for embedded systems where you cannot have the system pause for garbage collection. IIRC, in 1983 on-the-fly garbage collection (that doesn't freeze the system until done) was a new and untested concept, far too risky to add on to a language that already severely challenged the compiler technology of that time. (IIRC, it took a few years after the first release of the spec before you could buy compilers for more than one or two CPU's, or count on the code beiing compiled 100% correctly.)

      Yeah, now if you need to handle strings freely you've probably got a >100MHz CPU with >32M RAM, so you just choose whether bounded or unbounded strings will fit your programming style better. But it sure wasn't so when the spec was written.

    29. Re:Ada ? by eison · · Score: 1

      Ada is also *great* for memory mapped I/O. You explicitly tell it where every bit and byte is, what they are and what they can be, and it will always enforce that. No moving your bits around to byte boundaries to optimize memory access, no unchecked bounds, no secretly using extra memory to store a virtual function lookup table.
      Needless to say, when interfacing with external systems, rigid memory specification is extremely useful, can't be done in Java, and isn't the default and requires caution in C or C++.

      --
      is competition good, or is duplication of effort bad?
    30. Re:Ada ? by aebrain · · Score: 2

      Ada is designed to inherantly prevent a programmer who follows the appropriate standards from writing a program that can just crash and exit. As long as every possible exception has a handler, an Ada program can be written that will not crash.

      In what way is Ada better than Java in this respect? I only know a little about Ada, so this is a serious question. My understanding is that Ada and Java have very similar safety goals (especially with respect to exceptions) so I'm curious about what you think Ada gets right and Java gets wrong.

      Speaking as someone who's got nearly 20 years of Ada experience (started in 83) and about 3 years with Java... you're not quite right.

      Exceptions and exception handling are just part of the issue. Java's exceptions are in many ways more informative than Ada's - which are basically "Exception of type X raised" rather than "Exception of type X thrown with the following additional information [blah blah]".

      The more important issue is that with Ada it's trivial to make all sorts of checks that will raise exceptions. For example:

      type SpeedType is new Float;

      KPH :constant SpeedType := 1_000.0/(60.0 * 60.0);

      -- Kilometers per Hr in standard metres/sec form. In practice the two 60.0's above would be constants, MinsPerHour and SecsPerMin respectively

      subtype LegalSpeedType is SpeedType range 0.0 .. 1_000 * KPH;

      Any time an object of type LegalSpeedType tries to take on a negative value, or one over 1,000 Kph, you'll get a CONSTRAINT_ERROR (a predefined exception).

      With Java, you'd have to have a class for CSpeed, then a derived class for CLegalSpeed, with any sets triggering a check which would throw an exception if out of bounds. It can be done relatively easily, it's just more work with more opportunities to get wrong.

      Ada's a language that, when in the hands of a competent programmer, prevents the expression in code of a lot of mistakes. They're picked up at compile, rather than run, time. A hopeless incompetent can write horrible code in it, but it's actually harder to write buggy code than correct code.

      One other thing: the representation clauses of Ada allow you to make records where with each individual field, you know exactly what bits mean what - and simultaneously have a high-level view so that you know that bits 7..8 of word 11 mean STOPPED when 00,STARTING when 01 and RUNNING when 11, with any assignment of 10 raising an exception.

      For more data about Ada, see the Ada Information Clearinghouse. Free, Open-source compilers available (GNAT).

      Two disadvantages of using Ada though. First, no-one much uses it, the products are too reliable to be commercial successes requiring lots of expensive maintenance - so a project that took 30 programmers to build only needs 1 part-time to keep it running. Forget job security, you're always doing something new, usually something really cutting-edge. Secondly, you're confined to such boring applications as spacecraft avionics, supersonic jets, medical applications, railway management, air traffic control systems, sonars, radars, missiles... :-)

      --
      Zoe Brain - Rocket Scientist
  48. somewhere up in blue skies... by tanveer1979 · · Score: 2

    Alert, i have crashed please reboot

    __reboot__

    Last time you rebooted it was due to a crash ..

    • 1.reboot in safe mode(no missiles)
    • 2.reboot electronics only
    • 3.Reboot in parachute mode
    __parachute mode__

    Illegal instruction at address FFCFFFCC

    • 1. Start praying
    • 2. SEnd email to mom
    • 3. Wait
    __2__

    ould not connect to mail server

    • 1. retry
    • 2.Abort
    • __2__
    • Illegal instruction at address blah blah So you want to die:

      • 1. With fireworks on ground
      • 2. In ocean
      __2__

      I wont listen to you i a going to crahs now.. 4 5 3 2 1 . . . Failed to crash :-(

      and so the pilot walks home safely :-)

    --
    My Aurora : http://www.youtube.com/watch?v=o91ZsGwJYyg
    FB : https://www.facebook.com/TanveersPhotography
    1. Re:somewhere up in blue skies... by Anonymous Coward · · Score: 0

      Ba dum chi.

    2. Re:somewhere up in blue skies... by GT_Alias · · Score: 1

      When will this tripe no longer funny? I'm sorry, I thought that point had passed LONG ago.

  49. how disappointing by neurovish · · Score: 1

    I first read the article title as "F-22 Avionics Require Inflight Robot"...at which point visions of R2 units on USAF craft started dancing in my head. I got 1/2-way through the article without seeing any mention of an astromech droid before I realized I read the title wrong...how disappointing

  50. Re:There Is Something Rotten in Software Engineeri by plaa · · Score: 2

    Because that is the nature of complex algorithmic systems. An algorithmic system is temporally inconsistent and unstable by nature. Using the algorithm as the basis of software construction is an ancient practice pioneered by Lady Ada Lovelace and Charles Babbage. It is the fundamental reason why dependable software systems are so hard to produce.

    This reminds me of a story on Slashdot a few years ago about the process of writing the software that contols space shuttles. Still an interesting read.

    (As timothy writes: These guys are "pretty thorough" the way Vlad the Impaler was "a little unbalanced." I could have certainly sometimes saved a lot of time using similar bug-documenting stuff.)

    --

    I doubt, therefore I may be.
  51. Reboot - a true story by djelovic · · Score: 1

    Even though they get a lot of bad press, the only reason why the planes fly are Boeing and Airbus. If it were up to pilots the planes would crash more often that Windows 95 boxes.

    I remember sitting inside a Lufthansa plane on the Munich airport waiting for the plane to taxi. Sudenly we hear this very loud noise from somewhere below. The plane doesn't move and the noise goes on for 10 minutes or so. Then it suddenly stops and after a short pause the pilot gets on the intercom:

    (Strong German accent:) "Ladies and Gentlemen: We had zi small problem witz one of our computerz. But now we've rezetet it and everything seemz to be OK."

    After a short pause he adds:

    "It waz very cold tonight here on zi ground, zat must have cauzed it."

    Oh shit.

    1. Re:Reboot - a true story by mborland · · Score: 2
      We had zi small problem witz one of our computerz. But now we've rezetet it and everything seemz to be OK.

      Heh, this happened to a friend of mine. He said that Airbus is more reliant on computers for some functions than other manufacturers...in his case they could not start the engine until they rebooted the computer. Needless to say, he didn't feel entirely assured about the safety of his flight.

      That all said, I'm not aware of any reboots being responsible for aviation disasters.

    2. Re:Reboot - a true story by Treeluvinhippy · · Score: 1

      That all said, I'm not aware of any reboots being responsible for aviation disasters.

      Famous last words.

      --
      >
  52. vortex-induced lift by bob@dB.org · · Score: 2

    have a look at this. i'm not saying the f22 does this, but the concept is not ridiculous!

    --
    Acts@core.mailboks.com Acrux@core.mailboks.com Adam@core.mailboks.com Adar@core.mailboks.com Ada@core.mailboks.com
    1. Re:vortex-induced lift by PD · · Score: 2

      Actually, that's the opposite. A vortex is not exactly turbulent flow.

      Also, a vortex generated above the wing can delay separation of the flow from the upper surface of the wing. As I said before, the separation of flow from the upper surface of the wing is a stall. So, a vortex is NOT a stall.

  53. Re:There Is Something Rotten in Software Engineeri by Black+Parrot · · Score: 5, Insightful

    > Software functionality should not be fundamentally different from hardware functionality.

    Am I to understand that you are saying that software, like hardware, should only fail when it fails?

    Granted, we have a software reliability crisis on our hands. But hardware isn't generally fault-free either. I've had a lot more Zip drives die on me than I've had kernel panics. And arguably a kernel is much more complex than the design of a removable disk drive.

    > An algorithmic system is temporally inconsistent and unstable by nature.

    That's an absurd claim. It's possible to prove correct behavior for algorithmic systems. Time is explicitly accounted for in most such proofs.

    The biggest engineering difference between software and hardware is that people find software errors acceptable, or even normal, whereas they have never reconciled themselves to, say, collapsing bridges or wings falling off of airplanes. When that attitude changes we'll start seeing software that rivals hardware in reliability, not before. Most of the engineering concepts required for producing good software have been around for quite a while.

    --
    Sheesh, evil *and* a jerk. -- Jade
  54. why win98? same happens with win2k too. by slaida1 · · Score: 1

    I was just installing various things to my win2k box and it still wants rebooting when:
    Nero was installed,
    when VIA 4in1 was installed,
    when ATI catalyst display drivers were installed,
    when I changed pagefile's size,
    when I changed access mode for IDE device from PIO to UDMA...

    --
    Preserve old classics: copy your collection onto all hard drives.
    1. Re:why win98? same happens with win2k too. by Anonymous Coward · · Score: 0

      Yes, but if you were in an F22, wouldn't you do that all before takeoff?

    2. Re:why win98? same happens with win2k too. by Anonymous Coward · · Score: 0

      Want and need are 2 different things. From my experience you will only NEED to reboot for 2 of those events: Pagefile sizing (when permanent), and IDE access modes.

    3. Re:why win98? same happens with win2k too. by Hoser+McMoose · · Score: 1

      Interesting comment about Nero and applications "requiring" reboots in general. Usually you don't actually have to reboot.

      With Nero, if you tell it not to reboot, it works perfectly under Win2K. In fact, rebooting doesn't change a single thing, though that doesn't stop them from saying that you need to reboot after you install it. I've run into the same thing with a number of other applications in Win2K. For example, my ISP (Sympatico) has a POS bit of software to do PPPoE for their DSL connections. Now, this software just flat out doesn't work on my PC, but that didn't stop the tech support people from telling me to install and uninstall it about 500 times. Each time for both install and uninstall it requires a reboot to the system, while other PPPoE clients I've used manage to do the same without ever rebooting. What's worse, the Sympatico "Access Manager" software doesn't even give you the choice of whether to reboot or not, it just pops up a window with an "Ok" button that automatically reboots your system, no "Cancel" button and closing the application with Alt-F4 also seems to cause a reboot.

      Of course, not to let Microslop off the hook, they do require a reboot for EVERY security patch I've ever downloaded from them I think. I couldn't possibly imagine running an MS server! You would have to reboot once a week just to keep the system secure!

  55. Pictures of F-22 by LippyTheLip · · Score: 2, Informative

    Perhaps I am not the only slashdotter left who does not know what this thing looks like.

    You can find a selection of pictures here. The fourth and fifth rows from the botttom of the page have photos of the F-22. The best one is here.

    1. Re:Pictures of F-22 by Speed+Racer · · Score: 1

      Is that duct tape on the leading edges?

      --
      Free Mac Mini. Yes, I'm
  56. In my past experiences... by TrAvELAr · · Score: 4, Informative

    I used to be an avionics tech/computer system specialist for the US Navy. I specialized on the AYK-10 mission computer. During the years, I worked on/flew in the S-3B Viking. Due to the ancient technology of the AYK-10, we often did not even boot it until we were in flight. The magnetic drum did not like the carrier take-offs and often dumped if booted before flight. Rarely, did we have to reboot after the initial boot. Flight control was not affected by this. Neither was basic NAV/Weather radar or comms. As for ada, DoD is big on it. When I asked about it in the AYK-10 school, they told me it was because it was small and clean. I'm not sure that I agree with them, but since I don't know ada, I'll have to take their word. I'm guessing that the mission computer is based off of 80's technology as that would be par for DoD standards. At least it's pre-windows era. :)

    1. Re:In my past experiences... by shaldannon · · Score: 3, Interesting

      I'm not sure Ada is small and clean either, and I had 4 years of it at Auburn University since that was the required language for data structures and algorithms classes. They alleged that Ada was bullet proof as a language...that it never crashed, dumped core, etc., so made perfect sense for use in avionics. Mind, we were getting government contracts, so it's entirely possible that they were spouting the party line.

      At any rate, my observations are as follow: First, the Ada syntax was based on the Pascal syntax (they state this in the textbooks). Second, it is almost as anal as Java. Third, you may write a program in Ada but if you use Gnat to generate your code, it's getting translated to C anyway, so theoretically your bullet proof code just developed some vulnerabilities.

      I guess Ada has its uses, but I heard recently that even the DoD has stopped requiring its use.

      --


      What is your Slash Rating?
    2. Re:In my past experiences... by archen · · Score: 1

      They're big on Ada becaus the military came up with Ada in the first place. It was designed for mission critical applications. As for Small, I don't know; but Ada does read fairly easy. Multi-threading in ada I found to be especially slick.

    3. Re:In my past experiences... by Amazing+Quantum+Man · · Score: 4, Informative

      At any rate, my observations are as follow: First, the Ada syntax was based on the Pascal syntax (they state this in the textbooks). Second, it is almost as anal as Java. Third, you may write a program in Ada but if you use Gnat to generate your code, it's getting translated to C anyway, so theoretically your bullet proof code just developed some vulnerabilities.

      1. What do you mean *ALMOST* as anal? It's more anal.

      2. You won't be using GNAT in an avionics systems. You'd be using a Validated platform. That means that the compiler, OS, *AND* target platform have been validated together. It costs a bundle.

      3. DoD has removed the mandate that ALL new software be written in Ada, but most avionics are written that way for safety reasons (editorial: Ada83 sucked, but Ada95 is a fairly decent language).

      --
      Fascism starts when the efficiency of the government becomes more important than the rights of the people.
    4. Re:In my past experiences... by shaldannon · · Score: 2

      yeah, I heard a rumor that Ada83 sucked, but having only played with Ada95 I can't confirm or deny that rumor. Note, too that all of my experience was writing assignments for class, so we're talking about trivial things here (although there was the infamous bank system project that when completed had a good 30 files associated with it...'course I got so lost trying to figure out what I was supposed to be doing, let alone how to do it, all along with my other homework, that I failed the class). If I had that bad of an experience with contrived Ada programs....what's the real world like? *shudder* No wonder they pay mid-to-high 6 figure salaries to program Ada....

      I'll stick with Perl, thanks...

      --


      What is your Slash Rating?
    5. Re:In my past experiences... by gorilla · · Score: 3, Informative
      I'm not sure Ada is small and clean either

      Ada wasn't designed to be small and clean. It was designed as a 'catchall' language, able to do everything from low level system programming - replacing assembler & C to the highest possible level application program. You can't really make a small & clean language, and hit both ends of this spectrum. On top of that, it was realized that a lot of the 'bugs' in programs are preventable, because they are caused by the programmer not properly handling error conditions. So they added in features which make it harder for the programmer to screw up. Together, this means that Ada is a very large language compared to other languages of the 70's, however you don't have to know all of Ada to write a program, especially if you're only working in one problem domain.

      As for the requirement, as of 1994, is that Commerical off the Shelf (COTS) is the prefered choice, whenever it meets their needs. Failing that, Ada is required, but waviers can be granted if they are cost effictive, and that the proposed alternative does not compromise the goals of the project - in particular the safe programming practices that Ada requires.

    6. Re: In my past experiences... by Black+Parrot · · Score: 2

      > Second, it is almost as anal as Java.

      FYI, engineering of any kind is an anal retentive profession. It's the underlying concept of getting things right that's anal, and the anality is inherited by any procedure or tool that supports that goal.

      That's as true for a mechanical engineer as it is for a software engineer.

      --
      Sheesh, evil *and* a jerk. -- Jade
    7. Re: In my past experiences... by shaldannon · · Score: 2

      I wasn't thinking about proper software design when I made that statement. I was thinking about the relative ease of use with respect to different programming languages. Perl is like a surgeon's kit. You can do all sorts of neat and clever things with it, but if you mess up even a little bit, you got a big mess. Ada is more like a construction worker's toolbelt. You have lots of little safety devices attached to keep you from maiming yourself, but it also precludes you from doing create or clever work. When even simple typecasting is a chore, then a language qualifies as anal.

      --


      What is your Slash Rating?
    8. Re:In my past experiences... by dvdeug · · Score: 2

      Third, you may write a program in Ada but if you use Gnat to generate your code, it's getting translated to C anyway

      First place, GNAT does not compile to C - it compiles to GCC trees and then to assembly, just like the C compiler in GCC does.

      Secondly, there's no reason why translating to C would change anything. The reason Ada has less problems than C is that it checks all arrays, it's more restrictive on pointer use, it prevents mixing of unrlated types; all of that is preserved when translating to C, and could be written in C by a very careful programmer.

    9. Re: In my past experiences... by aebrain · · Score: 2
      Perl is like a surgeon's kit. You can do all sorts of neat and clever things with it, but if you mess up even a little bit, you got a big mess. Ada is more like a construction worker's toolbelt. You have lots of little safety devices attached to keep you from maiming yourself, but it also precludes you from doing create or clever work. When even simple typecasting is a chore, then a language qualifies as anal.

      Can't agree with the last two phrases. There's nothing to stop you making everything numeric FLOATs if you want. Then you can cast away to your heart's content. You won't be worse off than with Java or C++. You want seat belts, you pay the price, but they're optional. Highly recommended though.

      As for not being able to do creative or clever work... Last year I had to do the programming for the mass memory of a scientific satellite. Memory-mapped IO. BUT it used a different memory-map from the rest of the hardware, different endianism, addresses 0 and 1 were valid, 2 and 3 weren't, 4 and 5 were valid, 6 and 7 weren't etc etc. It was bank-switched, with multiple threads of execution trying to access it simultaneously - so all request had to be queued. Oh yes, in a high-radiation environment, so everything had to be tell-me-thrice with error-correction for soft failures, self testing in an embedded thread of its own. etc. On an old CPU running at the glacial pace of 8 Mhz.

      It was done in Ada - of course. I'm not a genius, I don't think I could have done it in the time available if I had to use C. And certainly not ar reliably, regardless of the time available. Just used representation clauses and a huge array of records, each of which was a word with only the top 2 bytes defined, the rest being don't-care. So it was 2 orders of magnitude faster than the original address-computing method. Impossible to address a byte that wasn't there, impossible to underflow or overflow, impossible to deadlock or miss a request due to Ada-95's protected objects.

      Clever, creative - others can judge that. It was my code, so of course it was brilliant he says sarcastically.

      --
      Zoe Brain - Rocket Scientist
    10. Re: In my past experiences... by Black+Parrot · · Score: 2

      > Ada is more like a construction worker's toolbelt. You have lots of little safety devices attached to keep you from maiming yourself, but it also precludes you from doing create or clever work.

      Good analogy.

      Thing is, we expect creativity and cleverness from architects, but not from construction workers. Construction workers are supposed to follow well established procedures that contribute to cost-effective construction of a correctly built structure. When a construction worker decides to express his creativity by welding a joint that is spec'd out to be bolted, or leave out a few bolts in the name of speed or weight reduction, then he's off the job.

      And even the architects have a lot of constraints placed on how they can express their creativity and cleverness.

      > When even simple typecasting is a chore, then a language qualifies as anal.

      I'm not denying that it helps to be anal if you program in Ada. What I'm arguing is that our profession needs to be more anal about things than we traditionally have been.

      As for typecasting, I like to think of it as a way of telling the compiler, "Yes, I know what I'm doing, and yes, I really did intend to do it."

      The goal, for some of us, is to minimize bugs rather than minimizing keystrokes.

      --
      Sheesh, evil *and* a jerk. -- Jade
    11. Re: In my past experiences... by shaldannon · · Score: 2

      I place less value on minimizing keystrokes than I do on being able to do something without having to figure out all the conversions necessary to get it done. Call it a weakness or whatever, but I find I like a weakly typed language like Perl for this reason.

      Of course, it may very well be that using Perl is like going over to the dark side...I don't know. I do know that after a year and a half programming nothing but Perl that it was really tough to do C, let alone sit down with Java or Ada.

      And it isn't so much a cry of "why can't ____ be more like Perl." As I said before, I understand the reason for many of the methods used in Ada programming, even if a little verbose. It certainly makes the code more readable, and I like the ability to create procedures within procedures. However, my two biggest gripes with Ada are its typecasting and its I/O routines because you can't mix types.

      The argument one of my profs used about the I/O was that no language let you do multiple types in a print statement except for C, which he said was a special case. He said C++'s cout was really a series of different output streams depending on type. That's fine to say, but C, C++, and Perl all let you specify multiple types for output at least in the same command, even if they handle it behind the scenes for you.

      Perhaps I'm settling for the 'Laziness' virtue here, but I wonder if it's unreasonable to expect that sort of ease of use in other languages.

      --


      What is your Slash Rating?
    12. Re: In my past experiences... by Black+Parrot · · Score: 2

      > I place less value on minimizing keystrokes than I do on being able to do something without having to figure out all the conversions necessary to get it done. Call it a weakness or whatever, but I find I like a weakly typed language like Perl for this reason.

      I'm less of a hard-liner than I may sound sometimes. E.g., for quick hacks I almost always use Scheme. (I wouldn't call it "weakly typed", but it is declaration-free.)

      > Of course, it may very well be that using Perl is like going over to the dark side...I don't know. I do know that after a year and a half programming nothing but Perl that it was really tough to do C, let alone sit down with Java or Ada.

      I think any language can have that effect. After a year when I used an extra lot of Scheme, I found myself asking "Where's the $CENSORED in-line 'if' function?!?!?" when I went back to my my work-a-day habits.

      > However, my two biggest gripes with Ada are its typecasting and its I/O routines because you can't mix types.

      There's a pretty easy workaround for mixed I/O in Ada; you just append all the garbage together into a single string argument. It will still have something rather like the typecasting where you convert all the numerics/whatevers to their string images, but at least you don't have to do a separate Put for each item.

      > Perhaps I'm settling for the 'Laziness' virtue here, but I wonder if it's unreasonable to expect that sort of ease of use in other languages.

      "Ease of use" is always a problematic concept. While Ada is too syntax-heavy for many people's tastes, I find that after suitable declarations I can often program at a very high level of abstraction. (Though perhaps that's true of any language?)

      At any rate, in line with what another poster said yesterday, I shudder to imagine doing some of the stuff I have done recently if working in some of the other languages I've used in the past. For me, "ease of use" has to be a big-picture evaluation. Which is, I suppose, why I use Scheme for a quick math problem and Ada for 10,000 line program.

      --
      Sheesh, evil *and* a jerk. -- Jade
    13. Re: In my past experiences... by shaldannon · · Score: 2

      I guess that makes sense....

      If I currently had a use for Ada I'd ask for some sample code...unless you can think of one for the average programmer who has lost the hacking bug...

      --


      What is your Slash Rating?
  57. Integrated Avionics by Igirisu · · Score: 1

    I'm working on stuff that at some point would *require* an implicit reboot of the system any time hardware or software failed, or perhaps even a new mode was selected.

    This sounds worrying until you realise that the requirement for a "reconfiguration" is such that it can be performed in-flight.

    Perhaps the Wintel crew need to look at making their reboots non-intrusive!!

  58. Re:There Is Something Rotten in Software Engineeri by Anonymous Coward · · Score: 0

    Whatever.. isn't this COSA thing just Occam? It's not like there's a Transputer on every desk.

  59. Why C? by Anonymous Coward · · Score: 1

    Why do you say C? Is it just because "everyone uses it"?

    C is a horrible choice for oh, I don't know, just about EVERYTHING.

    People act as though C and C++ are the top of the language evolutionary scale--sheer nonsense. C and all of the "C-alikes" have held back decent software engineering now for decades...we get to enjoy buffer and stack overflows, pointers wandering through address space and other idiocies. We STILL live in the dungeon of ancient functional thought. And sadly, attitudes like yours ("why not just use C?") help promote this.

    With the ascendence of C, all "other" language design has almost completely stopped, and that's just pathetic.

    1. Re:Why C? by Erich · · Score: 4, Interesting
      People act as though C and C++ are the top of the language evolutionary scale--sheer nonsense. C and all of the "C-alikes" have held back decent software engineering now for decades...we get to enjoy buffer and stack overflows, pointers wandering through address space and other idiocies.

      You act as though C is responsible for a stack overflow or pointer pointing problems.

      You wanna know something: IT'S THE PROGRAMMER.

      You can write huge applicatations in plain ANSI C. They can run flawlessly. As long as you use good programming practices and have good programmers.

      Excepting buggy compilers or libraries (very rare in my experience), when you write something in C and it doesn't work, it's your fault. C is very simple, elegant, and deterministic. For examples of C programs that work very well, see UNIX OS kernels, most of the system tools on UNIX, and especially TeX.

      You can write perfect programs in some "more modern" languages ("safe" languages like Java) that will crash, because the environment is so complex that many environments are buggy. This is unacceptable. Not only that, most of these languages aren't any better than C as far as memory management (That's why all the Java programs I see crash with "NullPointerException").

      These new languages, however, do increase the overhead of a program running, to make things slower. As a computer engineer, I do like that feature, as it means that people will go out to buy more complex hardware.

      There are some programming languages that really do have features that help write very very stable, unbuggy code. I would say ADA, ML, and LISP fall in these catagories. But even in these languages, the language can only do so much. In the end, your program will only be as good as your programmer.

      We STILL live in the dungeon of ancient functional thought. And sadly, attitudes like yours ("why not just use C?") help promote this.

      Actually, we have gotten out of the use of functional languages like LISP and replaced them with procedural languages like C. Which is good! That's what your computer does anyway. Though most functional languages do a very good job of implementing themselves in a procedural system... stacks are pretty simple things.

      But I bet you're one of those OO people. You think that OO is the greatest thing and that if everyone used it to write their programs, the world would be a fantastic place.

      There's a place for OO languages. They do some things well. Some things they do very badly. And in the end, OO languages are still only as good as the programmer. And they have enough problems and complexities that for things like flight control, they aren't always appropriate.

      Let me tell you a little story. There was once a class that was trying to make a robot arm play ping-pong. There was a camera that could see the ball, and then the software computed where the paddle should be, then was supposed to move there so that the ball would return to the other side. The software was written in a "safe" language.

      When they went to test the robot arm, the ball flew straight past it. The arm didn't budge. They looked at each other, wondering what the bug was, until a few seconds later the arm moved to where it should have gone.

      The problem was the environment. After doing the complex computations, the garbage collector decided it needed to clean up all the memory used for the calculations. Once the garbage collector had finished, the arm was allowed to move, but by that time it was too late.

      And to finish off, let me tell you the one thing that bugs me about most languages: THEY DON'T HAVE BUILTIN MACRO PROCESSORS. Macros in C are the most useful thing about the language, in my opinion. Not having them is a horrible travesty.

      --

      -- Erich

      Slashdot reader since 1997

    2. Re:Why C? by Anonymous Coward · · Score: 0

      the garbage collector runs as a low priority non blocking thread you freaking MORON. garbage collectors dont block high priority threads unless the person who developed the system put a min priority on every user thread. only a total idiot would do that.

    3. Re:Why C? by Akoma+The+Immortal · · Score: 1

      Just to say you are right. This JAVA Exception:

      --
      You can write perfect programs in some "more modern" languages ("safe" languages like Java) that will crash, because the environment is so complex that many environments are buggy. This is unacceptable. Not only that, most of these languages aren't any better than C as far as memory management (That's why all the Java programs I see crash with "NullPointerException").
      --

      is generated, not by the garbage collector, but by the JVM when it trys to access a method from a null object, a pointer vers a non initialzed object. This has nothing to do with the memory management. If you had said: java.lang.OutOfMemoryError, I would have aplaud you. But, You missed the mark by a mile.

      You are absolutly right: It's the programmer.


      --
      assert(expired(knowldege)); core dump
    4. Re:Why C? by Anonymous Coward · · Score: 0

      That's why all the Java programs I see crash with "NullPointerException"

      Someone else has already pointed out that this has nothing whatsoever to do with memory management. It's usually an uninitialized variable (dynamically generated... Java compilers are quite good at catching refs to uninitialized variables at compile time).

      Let's compare the behaviors of C and Java in this situation, shall we?

      Java: Terminates the program immediately, gives you a useful error message.

      C: Blithely goes on its merry way, using whatever garbage value was in the storage location beforehand. You now have a nice ticking timebomb that's going to bite you in the ass later on. Microseconds? Minutes? Hours? Days? Hard to say, but it WILL bite you.

      Good luck on figuring out what caused it.

      Perhaps you might want to actually learn something about Java before spouting off about it? I realize that's not the Slashdot way, but think about it, m'kay?

    5. Re:Why C? by Zenki · · Score: 1

      Let me be the first (or second or third) to point out that TeX, quite possibly the world's only bug free program, is written in Pascal, an ancestor of Ada.

      (* Well, not really Pascal, but Web, a tangle of Pascal and TeX code interspersed.)

    6. Re: Why C? by Black+Parrot · · Score: 2

      > You act as though C is responsible for a stack overflow or pointer pointing problems.

      > You wanna know something: IT'S THE PROGRAMMER.

      Yep, people write programs. And the errors are almost always the people's fault, not the language's. And people can, in principle, write correct code in any language - including by toggling the machine code in on the front panel.

      But you're missing the point. The reason we don't toggle our programs in on the front panel is that it is very error prone, and we can eliminate a huge number of errors by putting the computer itself to work doing that sort of tedious grunt work where lots of errors occur.

      And that's why some of us use Ada instead of C. It's essentially the same reason we prefer C to assembly language and prefer assembly language to toggling in the machine code. Programming is fun; tracking down stupid bugs isn't. The question isn't which language prevents you from writing buggy code; the question is which one helps you catch the most bugs with the least effort. Let the compiler do the grunt work.

      And which do you think has the least negative economic impact: catching a bug when you compile, catching a bug during testing, or catching a bug in a system that's already in production?

      If your language can move bugs forward in that process, it can save your company money. (And perhaps even save lives.)

      You are entirely correct when you say that people cause bugs. But that's an argument that supports the adoption of bug-reduction technology, not an argument against adopting it.

      > Let me tell you a little story. ... Once the garbage collector had finished, the arm was allowed to move, but by that time it was too late.

      FYI, there are many different GC algorithms, including some that make trade-offs to ensure that the GC never uses more than a fixed amount of time. If someone uses a language with an inappropriate GC algorithm in a real-time situation, you should take that as de facto evidence that they aren't qualified for the job.

      > Macros in C are the most useful thing about the language, in my opinion. Not having them is a horrible travesty.

      Bet you never saw a bug that resulted from using a macro, either.

      The first step in solving the world's software crisis must be owning up to the distinction between "what I like" and "what's good for me".

      --
      Sheesh, evil *and* a jerk. -- Jade
    7. Re: Why C? by Black+Parrot · · Score: 2

      > Let me be the first (or second or third) to point out that TeX, quite possibly the world's only bug free program, is written in Pascal, an ancestor of Ada.

      Let me add that in the typical programming team of n programmers, you can expect to find about 0.00000n Donald Knuth's. Erich's pointing out that TeX works very well is about as useful as pointing out that Einstein was right about relativity. Most of us don't operate in Knuth's league any more than we do Einstein's, and so we need all the help compiler technology can give us.

      --
      Sheesh, evil *and* a jerk. -- Jade
    8. Re:Why C? by Erich · · Score: 2
      is generated, not by the garbage collector, but by the JVM when it trys to access a method from a null object, a pointer vers a non initialzed object. This has nothing to do with the memory management. If you had said: java.lang.OutOfMemoryError, I would have aplaud you. But, You missed the mark by a mile.

      Sorry, what I meant was that the object paradigm allows for invalid references. In Java I can have a reference that doesn't point to a valid object, and if I dereference it I can get a NullPointerException. This is, of course, a separate issue from the garbage collector.

      "Memory management" from the point of view of the programmer, not that of the environment. That of how you manage your storage.

      --

      -- Erich

      Slashdot reader since 1997

    9. Re:Why C? by Anonymous Coward · · Score: 0

      I completely agree with you. I like C for all the reasons you mentioned and probably more. LISP is to me something of a horror, as well as other functional languages, for example like Haskell. It's just not my way of thinking, it doesn't suit me one tiny bit at all. Actually, recursive functions is for some reason incredibly difficult for me to handle. I don't think like that (call me stupid...) The computer doesn't think like that, either.

      C is clear, clean and logical. Or maybe it's just me that is used to it. I have a really hard time, though, seeing anyone getting used to LISP, Haskell, ML and the likes!

  60. Re:There Is Something Rotten in Software Engineeri by joib · · Score: 3, Funny


    When that attitude changes we'll start seeing software that rivals hardware in reliability..

    Or will we start seeing bridges collapse as an everyday occurance? :) Well, hopefully not.

  61. That's ridiculous by Dthoma · · Score: 0
    That's ridiculous! If you'd said that in front of my science teacher, he would've given you a merit for cracking a good joke.

    Hope your principal wasn't as excessively sensitive as your teacher.

    --

    Note to M1-ers: a curt but otherwise insightful message is not "Flamebait" or "Troll".

    1. Re:That's ridiculous by Anonvmous+Coward · · Score: 1

      Heh my principal was cool. I had to sit in his office quite a bit, but he knew I was a decent kid. Somehow I managed to have a good enough story to tell that I never really did get into trouble with him, much to the disgruntlement of some of my teachers. I'm a real bastard when it comes to placing the blame elswhere, hehe. (That'd explain why I've lost 15 points so far in a Karma bombing over the last 3 days.)

  62. FYI on the whole National Security thang by Anonymous Coward · · Score: 0, Flamebait

    Just as a note to chrisd, any Slashdot reader who is also working on the F22 avionics would be working in a TOP SECRET environment. Which loosely translates to a) they couldn't tell you they even working on it b) couldn't even read Slashdot while at work because TS environments are not allowed access to the Internet.

    Just as an FYI, but then, who wouldn't expect Slashdot editors to say something stupid?

  63. Re:There Is Something Rotten in Software Engineeri by Anonymous Coward · · Score: 0

    Hmmm...

    neural networks, cellular automata and the like...
    Don't see how we gain any provability by a simple reformulation like this - and for sufficiently complex stuff, algorithms are easier to understand and more easily predictable than a (possibly self-modifying) neural net.

    Someone pass the Wolframite, please

  64. Re:There Is Something Rotten in Software Engineeri by RobinH · · Score: 2

    There is something rotten at the core of software engineering.

    Careful. If anything is rotten, it's the practice of trying to apply pure computer SCIENCE to practical machine control problems. Real engineers (who have a degree in engineering) tend to be much more pessimistic, self critical, and more driven to design the system before sitting down to write software. Reliable machine control software does get written on a regular basis, and much of it gets written in an algorithmic paradigm.

    Engineers who write good machine control software do several things to better their odds:
    1) KISS
    2) Stay away from dynamic memory structures when you can, otherwise use a language or environment that helps check for memory leaks, etc.
    3) Use a proven platform (i.e. a PLC, VLC, or a good RTOS like QNX).
    4) Design, write spike solutions, design, discuss, redesign, discuss, design again, write, test.

    Real software engineering may not be an edge of your seat, nailbiting, all night hacking experience, but it does tend to produce reliable, working results.

    --
    "I have never let my schooling interfere with my education." - Mark Twain
  65. F22??? by Chriscypher · · Score: 1

    My keyboard function keys only go up to F15 !!!

    --
    "You have liberated me from thought."
    1. Re:F22??? by shaldannon · · Score: 2

      *sigh* I hope you're trying to be funny. If not,... Well the F22 is the US' next-generation fighter. It's supposed to have all the stealth technology of the F119 and B2 and all of the maneuverability of the F16. Basically it's a very droolable, expensive toy for the government to spend $$$ on...

      --


      What is your Slash Rating?
    2. Re:F22??? by Anonymous Coward · · Score: 0

      Hold the F7 and F15 key down simultaneously ......

    3. Re:F22??? by darqchild · · Score: 1

      I have an AS/400 that i picked up for $150 Whatadeal! It goes up to F24. :o) And god, if you think that a PC takes a while to reboot, TRY an AS/400 Some Time

      --
      What? Me? Worry?
  66. How about JAS-39 by Anonymous Coward · · Score: 0

    They were the first ones with ?th generation jet fighters. I wonder if the Swedes have same kind of problems. It is more advanced in the avionics. No I am not Swedish. I hate them.

    1. Re:How about JAS-39 by Markus+Landgren · · Score: 1

      JAS-39 prototypes have crashed twice because of computer related malfunctions. Once there was too much lag between input and output and the aircraft got its nose smashed into the ground during landing. The other time the computer crashed during straight and level flight, and the plane fell like a rock to the ground in front of an airshow audience of about 500000 people. In this case a reboot would not have saved the plane even if it had been possible to execute one.

      They say these problems have been fixed and that seems true because they have moved from prototypes to production and there has not been a computer related crash in nine years next month.

  67. Reboot by cybercuzco · · Score: 2

    Yes, you do have to reboot the computer if one of them fails. However, the F-22 has 3 redundant computer systems, so that if one or two go down the remaining one(s) take over while the bad one is rebooted. If its a more permanent problem, say the computer is shot, well then you cant really reboot that. And if all of your computers go down? Reach between your legs and pull the ejection lever, because the plane is not only unflyable without computers, it wont even glide without a computer.

    --

  68. Re:There Is Something Rotten in Software Engineeri by fferreres · · Score: 3, Insightful

    [sarcasm]
    Ok, I buy it. Now show me some Cosa that can emulate my Linux Kernel, my Galeon browser and my Mplayer media player (or another tool/application at your choice) so that I can see which one's best.
    [/sarcasm]

    Algorithms do not make programs fail. Bad logic makes them crash and be unstable. The HIGHER the language level, the lower the failure rate and the faster/cheaper the implementation is. I'd love to see an OS developed as in a DSP fashion :)

    --
    unfinished: (adj.)
  69. Airbus by Whispers_in_the_dark · · Score: 1

    Years ago, a friend of mine had recounted a tale of an Airbus rebooting on the tarmac for reasons the pilots described as the "big red light" being on. Guess it's not just the sexy aircraft that needs to shake its rebootie from time to time.

    1. Re:Airbus by Anonymous Coward · · Score: 0

      Yep. This happens a good bit. The thing about the Airbus (good or bad, I suppose) is that there are five different computers, each with two processors (no two are the same) that run software that was written in different languages. This is supposed to ensure that if one computer fails the others will not fail for the same reason (say a bug in the software). Of course this doesn't count for pilot error (again, reference the AF flight that went into the trees) nor does it explain strange occurances like take-oof thrust engaging on final approach.

      I agree with the previous post that suggested that Boeings are a little more managable, but then again it can sometimes come down to human behavior (evidence one 767 that was almost put into the ground near LAX because the tower instructed the crew to change runways and BOTH crew had their eyes on the flight computer trying to alter the approach rather than out the window - very bad idea, but then again the FMC is a horrible interface). Then again, the Airbus is just a weird aircraft to fly.

  70. Windows... better, but still not competitive by DaveWood · · Score: 4, Insightful

    I will certainly grant that Win2k is a significant improvement, and perhaps an order of magnitude more reliable than NT4. I don't generally count Win98 in these comparisons; even very few slashdot trolls will stand up and try to make a go of claiming Win9x/Me exhibits reliability of any kind.

    However, to put it in perspective, doing normal development with Java, VBScript, IIS, MS SQL Server, MySQL, Flash (I am deliberately excluding crashes that occured while coding C/C++ and other "non-safe" systems), I observe Win2k either bluescreening, spontaneously rebooting, or getting to a state where it needs to be power-cycled approximately 2-4 times a month. This seems like heaven compared to NT4, which I I used to crash daily while doing Java development and writing ASP pages for IIS. Most NT4 production servers I am aware of are rebooted regularly, often nightly, to prevent them from falling apart altogether. My experience with NT4 has been unequivocal. Don't use it in production unless you want to suffer.

    That's not counting Win2k's constant explorer crashes, which are generally not disruptive but still a bit unsettling. The majority of the problem appears to come from Microsoft being unable or unwiling to sanitize the GUI code and protect failures to handle the GUI layer correctly from killing the entire system. That, and I still see the standard device-related problems. Burning CDs and attaching new mice have both proved catastrophic for Win2k, in the latter case requiring a complete reinstall of the operating system. No, I didn't build the mouse myself; it was a Logitech mouse.

    I also note that, as with all other versions of Windows, Win2k still has a tendency to "decay;" that is, to continually develop small but uncorrectable problems until reinstall is eventually required. However, the decay rate also seems to have been slowed.

    Compare this to Linux, which I also give daily and roughly equivalent use, and which _never_ crashes. _Ever_. In fact AFAIR the last time I had to deal with unexpected shutdowns on Linux was due to a foolish attempt to build a complicated high-speed SCSI chain a year or two ago. I am not aware of any problems on Linux which cannot be corrected without a reinstall of the OS, but perhaps there are exceptions in the crowd who can share experiences.

    So... Win2k. Finally usable. But still not competitive.

    To all knee-jerk anti-MS-criticism-on-slashdot and pro-MS trolls... if you're just skimming, now is the part where you hit reply and do your thing.

    1. Re:Windows... better, but still not competitive by be-fan · · Score: 2

      I am not aware of any problems on Linux which cannot be corrected without a reinstall of the OS
      >>>>>
      Well, filesystem corruption bugs come to mind.

      --
      A deep unwavering belief is a sure sign you're missing something...
    2. Re:Windows... better, but still not competitive by ScuzzMonkey · · Score: 2

      I've come to the conclusion that anyone who is still re-booting their NT4 servers every night for stability is pretty much incompetent, or relying on coders who are. There are just too many of us out there who are managing to keep the things up without doing anything of the sort, running rock-solid, for months and months on end--it's not a fluke. It's good management versus poor management, which I think you'll find is ALWAYS more of a factor than the OS when it comes to the stability of any box.

      Similarly, as a relatively new Linux user, I'm plagued with niggling little problems that come up from time to time which seem to require a reboot to fix. I'm sure they don't; I'm sure I just haven't learned enough about what I'm doing to fix the problem properly. But I'm not going to lay it off on the OS just because I haven't done something properly.

      It's not necessarily easy to get an NT box to run stably, and perhaps that's where there is an argument to be made against it (of course, I'm not finding it tremendously easy with Linux at the moment, either). But it's certainly possible. Any time I have had a server that's flaky, there has always been something that I can trace it back to that can be fixed--it might be an app that's running on it, it might be improper or incomplete patch installation, but there's always something. When you find that, and fix it, you can walk away and forget NT boxes as easily as any other.

      --
      No relation to Happy Monkey
    3. Re:Windows... better, but still not competitive by Anonvmous+Coward · · Score: 2

      "However, to put it in perspective, doing normal development with Java, VBScript, IIS, MS SQL Server, MySQL, Flash (I am deliberately excluding crashes that occured while coding C/C++ and other "non-safe" systems), I observe Win2k either bluescreening, spontaneously rebooting, or getting to a state where it needs to be power-cycled approximately 2-4 times a month."

      Wow, I totally don't relate to your story heh. I have 3 engineers sitting around me, using Win2k, doing development, and not blue-screening. I've done .ASP programming and have never had a 'reboot the computer' problem, let alone a bsod. As a matter of fact, I've used everything you've mentioned except for MySQL and Java. Not a prob.

      Without the chance to have a gander at your computer, I'd wager you've got yourself a hardware problem there. I'd be running Linux today if Win2k worked like that here. Come to think of it, the only auto-reboot or freezing that ever occured on my machine was caused by RealPlayer heh.

      In any case, I think your situation is unusual. I assume you read about my experiences. I've worked with a ridiculous number of Win2k boxes and haven't had any problems worth mentioning. Hell, I've developed a nasty habit of not saving my files because I take my computer for granted. Stupid? Yes. But I'd rather be able to take my computer for granted and lose once in a while than have my environment teach me to be paranoid.

    4. Re:Windows... better, but still not competitive by Anonvmous+Coward · · Score: 1
      I've come to the conclusion that anyone who is still re-booting their NT4 servers every night for stability is pretty much incompetent, or relying on coders who are. There are just too many of us out there who are managing to keep the things up without doing anything of the sort, running rock-solid, for months and months on end--it's not a fluke. It's good management versus poor management, which I think you'll find is ALWAYS more of a factor than the OS when it comes to the stability of any box.
      Good point. The first thing I recommend to anybody running Windows NT is to go through the event log and do what you can to get it to stop producing alerts. I have an NT box running Exchange using a prototype Intel machine, old hardware, and tape to hold it together. It gets rebooted about once a month. If I had used a decent machine (i.e. had the money to NOT scavenge..) I'm confident I could do fine with it. Using components that Windows NT has drivers built into it is a good idea as well. I try to do as much of that as possible. (I'm not saying don't update the drivers, just to be clear.)

      I wouldn't use this as a reflective indicator as to how good NT is, though. There are several people scratching their heads wondering how I manage to keep it up. Heh. Fun stuff, but I hate Exchange. MS thinks that if we use more than 25 connections at a time (IMAP uses 2 connections...) then we owe them more money for licenses. I'm so looking forward to replacing that box with Sendmail.

      Whoah.. I drifted way off topic. Sorry dudes.
    5. Re:Windows... better, but still not competitive by DaveWood · · Score: 2

      I don't assume such instability is an OS problem until I see it on a variety of hardware, which I have.

      Nonetheless, I'm glad things are working out for you. The system is complex enough I'm sure rather subtle differences in usage patterns can be responsible for problems...

    6. Re:Windows... better, but still not competitive by DaveWood · · Score: 2

      True, but this rather goes without saying.

      Fortunately, on both NT4, 5, and Linux, I haven't seen unrecoverable filesystem corruption absent a hardware failure of some kind.

    7. Re:Windows... better, but still not competitive by Anonymous Coward · · Score: 0

      "I also note that, as with all other versions of Windows, Win2k still has a tendency to "decay;" that is, to continually develop small but uncorrectable problems until reinstall is eventually required. However, the decay rate also seems to have been slowed."

      The common analogy would have to be the used car salesman who puts sawdust in your tank. He gots kids to feed.

  71. Re:There Is Something Rotten in Software Engineeri by kc8apf · · Score: 1

    I don't know about everywhere, but the college I attend has the computer science program as part of the engineering college. We both get Bachelors of Science as well.

    So, how is being a "real engineer" different from a "science person"?

    Last time I checked, the only difference between computer science and computer engineering was that the engineers are more geared towards building processors and integrated circuits whereas scientists are preped for software design.

    And BTW, software DESIGN is taught in college as part of the CS program. The idea that most programs are simply written by a single programmer who sits down and start spewing out code has been wrong for many years. But even the best designs still have flaws.

    --
    kc8apf
  72. An actual conversation on Slashdot. Amazing by Anonymous Coward · · Score: 0

    I can't believe what I just saw. Two people having an honest and decent conversation on Slashdot. Heck, why rip Slashdot in particular? Seeing that kind of thing on a web site at all is refreshing.

    Move along. Nothing to see here.

  73. re: F14,F15,F16,FA18 Avionic pakage Fly by Wire by Anonymous+Chemist · · Score: 1

    the fly by wire system in these planes was developed at Texas Instruments;in the late 80"s; the unit consists of a variety of single daughter board computers integrated into a larger motherboard. Interesting names; like the vector arithmatic logic unit (VALU),as I recall, there was the VAGU,and 4 other boards.I don't remember all the board names. They were developed under DARPA's Very High Speed Integrated Circuit (VHSIC)program, in which I worked.

  74. This is disturbing by Anonymous Coward · · Score: 0

    shit, they BETTER ERROR TEST IT BEFORE THEY FLY IT. Its ok if your pc crashes every once in a while. Its not ok if your fighter crashes EVER

    1. Re:This is disturbing by jlanthripp · · Score: 1
      shit, they BETTER ERROR TEST IT BEFORE THEY FLY IT. Its ok if your pc crashes every once in a while. Its not ok if your fighter crashes EVER

      I believe they already fly F22's. I live a couple of miles from Dobbins AFB (which is next door to the Lockheed facility where they design and build these things). I've seen planes flying around over my apartment that, while I can't quite make out the details from the gound, look to be F22 Raptors. An in-flight reboot of an embedded system on a military aircraft isn't cause for concern, or even uncommon. Even if one of their computers dies completely, there's at least one redundant system to take over its functions. And even assuming both systems require simultaneous reboot, we're talking about less than half a second reboot time, and I'm sure they program things such that the flight surfaces remain at their last position during this half-second - in other words, the plane won't be likely to crash even if this reboot is required during a landing.

      --
      "Alcohol, Tobacco, & Firearms" should be a convenience store, not a government agency.
  75. i960 by Pepijn · · Score: 1

    ... appears to be built around the Intel i960 CPU

    Cool! My old HP XTerminal has the same...

    And it only reboots about once a year when I turn it off myself.

  76. Not unusual by YrWrstNtmr · · Score: 2, Insightful

    As a former F-106, -4, -15 and -16 ground crew (Weapons) person, I can say this is not an unusual occurance. The F-16, for example, occasionally requires a reboot to some of the ancillary systems inflight. The SMS (Stores Management System) being probably the most needed.

    Jet fighters operate in an unbelievably harsh environment. High and low temps, high G forces, vibration, etc, etc. It's a wonder they get it to work at all.

    Slashdot fodder:
    For maintenance, diagnostics, and troubleshooting, the groundcrew uses laptops. Armored, waterproof, etc. Plug it in, and the jet tells you more or less what is wrong. The maintenance manuals are all on CD. These laptops are running on...wait for it....NT.

    Why not Linux? Because even if it is demonstrably more stable, the specs for the F-22 were laid down several years ago, when Linux was but a wet dream. Too late to change now.

  77. I wonder.. by Hellraisr · · Score: 0

    Do you think they'll be playing Solitaire on their HUD on the way to a sortie?

  78. I'd rather not comment by MrR0p3r · · Score: 1

    You know, this is something that I'd rather not know about, because if I can find all this information about our most advanced tactical fighter, then some "less desireables" can find the info too. Somethings are just better left alone.

    --
    Whatever man, I spelled it write!
  79. Not a new problem: F-16 required re-boots by musesoft · · Score: 1

    My first job out of college was working on F-16 avionics during the 1980's. I was surprised to find out that F-16 pilots often power-cycled the Fire Control or Stores Management computers when glitches occured. I don't know if the latest F-16 software and hardware requires such measures but they were not uncommon back then.

    As an aside, early F-16 A/B aircraft used magnetic core memories, which are non-volatile. The computer could be power-cycled without losing data. And in the case of an aircraft crashing, analysts could recover the magnetic core to help in post crash diagnosis.

  80. Can I ... by quaxzarron · · Score: 1

    ...get it to run on a cash register or something.
    Mebbe I can then get it to fly and fire sparrows at other unidentified flying things...
    ~!nrk

    --
    .sig(Anarchy Rules)
  81. This is nothing new, or overly scary by sunking2 · · Score: 5, Informative

    Any plane flying that has a computer system on it has the ability to do a hard boot of its systems. Often these happen automatically with watchdog timers, but most have a manual reboot. Keep in mind that for hte most part this is solid state stuff, so system reboots are a couple of seconds tops. Also, just about every system has at least a temporay backup to keep things running while the main system is rebooting.

    An example is the F18 Super Hornet. Correctly we're working on have the ability to drive the HUD display from the fuel control computer. It needs to be able to drive it for 7 seconds, which is the amount of time it takes for the primary and secondary HUD systems to reboot.

    Say what you want about the military, one thing they do when it comes to their planes is provide backup systems. You can fly a C130 using hand cranks in the fuselage to control the avionics (couple hundred cranks to fully elevate the flaps).

    1. Re:This is nothing new, or overly scary by Jeppe+Salvesen · · Score: 1

      couple hundred cranks to fully elevate the flaps Wouldn't it be a good idea to get some kind of power drill interface there? I didn't realize that pilots dwarf Arnie in the early 80s/late 70s.

      --

      Stop the brainwash

  82. What I know.. by Anonymous Coward · · Score: 1, Funny

    Any Slashdotters working on this project? If so, why do you need the inflight reboot?

    Yes I have entensive knowledge of the internals. I can say that#stat.372//Carnivore active#

  83. Avionic OS's and Reboots. by DracoPyre · · Score: 5, Informative

    I haven't worked on the F-22, but I coded the Korean T50's OS and a new Navy IRaD FADEC.

    At anyrate, the OS's aren't OTS, but designed and coded for each plane (Ada for all the military boxes). As for reboot, if the system becomes hosed, for any number of reasons, the Avionics will reboot. This is true in all aircraft, even your passenger planes.

    They key thing to remember is that all of these systems are atleast dual redundant, meaning that the entire system doesn't reboot, just one channel. When that channel does reboot, the reboot is done in less than 200ms. (Usually faster).

    This isn't like Windows where a reboot can take minutes, and you'll blue screen when it's finally running anyway. These are unique, tried and tested OS's, which operates with a Probability of Loss of Control around 0.3%

    --
    == Eagles may soar, but weasels don't get sucked into jet engines.
  84. The risks of fly-by-wire: Crash Video by LunarFox · · Score: 3, Informative

    In 1988, a brand-new Air France Airbus A320 crashed into trees during maneuver at an airshow in France. The aircraft failed to gain height during a low-altitude pass with the landing gear extended. Three of the 136 passengers were killed.

    The A320 was the first civilian aircraft to use fly-by-wire, which replaces conventional stick and rudder control with 3 computers and miles of electronic cables. The pilot uses a game-like joystick to his side.

    Some good video of this accident is available here, among other places.

    Ultimately, the pilot was blamed (when in doubt, claim human error). But you have to wonder what role the computer played in this crash, even if it simply confused the pilots or acted differently than they expected. Apparently, this wasn't the only A320 crash where its flight control system was suspected, either.

    It's interesting to note that Airbus has a different design philosophy vis-à-vis fly-by-wire: they believe the computer should restrict the pilots from putting any undue stresses on the airframe, or doing anything that the system thinks is "unsafe". This is contrary to Boeing, who program their computers to allow even the most dangerous manuever, with the intention of giving the pilots ultimate control over the aircraft.

    --
    on.
    1. Re:The risks of fly-by-wire: Crash Video by geekoid · · Score: 2

      and that is exactly why the airbus crashed.

      There was a DC-10 pilot who was in a situation where the only way to save the plane was to barrel roll it. The DC-10 is NOT designed to handle those stress, but it did, and the pilots quick thinking sved a plane full of people.
      What would have happened if the computer say that it wasn't designed for that and stopped the manuever?

      Now what happens to an airbus if the plane is already doing something it wasn't design for because od some outside force? it crashes.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    2. Re:The risks of fly-by-wire: Crash Video by Anonymous Coward · · Score: 0

      Sounds like a design idea from Macintosh or Windows: "Sorry, you are not allowed to do that."

    3. Re:The risks of fly-by-wire: Crash Video by rtscts · · Score: 1

      I'm told that because plane was making a low pass, the computer thought it was coming in for a landing, so it put the gear down and prevented the pilot from gaining altitude.

    4. Re:The risks of fly-by-wire: Crash Video by jonsuen · · Score: 1

      Airbus thought of that: It's called Abnormal Law. When the plane finds itself in a condition that the fly by wire system wouldn't have let the plane in, hard limits are disabled automatically.

    5. Re:The risks of fly-by-wire: Crash Video by richi · · Score: 1

      Pilot was blamed because it was his fault!

      He let the engines spool down to idle and then was surprised when he didn't get instant power when he realised (far too late) that he was too low, relative to the approaching forest.

      r.
      --

  85. Growth in complexity a problem? by mikewas · · Score: 2

    Embedded systems (70s) used to be a big loop with a goto at the end. A couple of libraries provided hardware interface. I've worked on projects (still flying) where the processor, instruction set, assembler, compiler, linker were an in-house design, so every detail was well understood.

    Now we start with an OS that's many times larger & more complex than the entire application used to be. Often it's a proprietary OS that is executable only, but even if you get the source nobody has time to really develop an understanding.

    Is this additional complexity making it easier to field an application but at the cost of reliability & usability? Have we gone too far?

    BTW: I'm no longer in Aerospace, but still working on high availability embedded systems.

    --

    "Glory is fleeting, but obscurity is forever." --Napoleon Bonaparte
  86. Nope, more like this... by sterno · · Score: 2

    MS Support: Thank you for calling Microsoft. Your call is very important to us. Your call will be answered in the order it was recieved.

    F-22 Pilot: #$@@#%%(@!!

    MS Support: o/~ The girl from iponimia dah dum dee dee. Duh dum dum dum da dee dee dee dee... o/~

    BOOM

    If it was Linux, it wouldn't crash but the pilots would constantly complain about how ugly the fonts were on the display.

    --
    This sig has been temporarily disconnected or is no longer in service
    1. Re:Nope, more like this... by egriebel · · Score: 1
      If it was Linux, it wouldn't crash but the pilots would constantly complain about how ugly the fonts were on the display.

      Pilot 1: "You're on Block 1? You're such a luser, you need to be on Block 2 to get <mumble> package."

      Pilot 2: "Block 2? Then targeting subsystem doesn't work!"

      Pilot 1: "Hah, who needs that? If you were really 133t you could aim yourself!"

      --
      ACHTUNG! Das computermachine ist nicht fuer gefingerpoken und mittengrabben. Ist nicht fuer gewerken bei das dumpkopfen.
  87. Updating Star Wars (again). by Treeluvinhippy · · Score: 2

    Right before Luke blows up the Death Star.

    "Luke, you've turned off your targeting computer. What's wrong?"

    "Fucking Windows, that's what's wrong! Now I gotta use the force!"

    --
    >
  88. TERRORISTS by Anonymous Coward · · Score: 0

    9/11 NEVER FORGET!! The terrorists are everywhere! You're a terrorist! We're all going to die because the machines rule the world!!! There's no backup!!! THERE'S NO BACKUP!!!

    1. Re:TERRORISTS by Anonymous Coward · · Score: 0

      Keep taking the Prozac. HTH.

  89. FMC reboot by Anonymous Coward · · Score: 0

    I was an intern a few years back at a company that did the flight management computer for a different commercial and military planes. All I did as an intern was take the binary logs returned from one of the commercial series planes and run them through a decompression utility that spit out plane text. Then pull out the messages from errors that had been fixed in newer versions. Then I passed the info on to the engineers who fixed the problems. It was amazing how often the FMC would reboot on an uncaught exception.

    It never seemed to cause that big of problems (not that I ever heard what the pilots were saying when their screen went down,) but then this was a plane that still had all the analog readouts and everything. I would hate to think of something like that on a plane that's fly by wire.

  90. Re: Why do you need the inflight reboot? by Anonymous Coward · · Score: 0

    Wow. You used they're, their, and there correctly in a single sentence. You must be new here.

  91. I was on a passenger liner that needed a reboot . by devmanager · · Score: 1

    Sitting on the tarmac waiting to push out from the gate. Lots of time passes. The captain comes on the horn to say that they were taking some manual fuel measurements to cross-reference with a questionable cockpit gauge. Eventually, they shut down the whole plane, one system at a time, until it was completely dark and still. Then, they started "booting" it back up, one system at a time. Eventually, the captain came back on to announce that everything's ok. There is something vaguely troubling about sitting through a Boeing reboot...

    --
    ____DevManager_____
  92. Reboot in USAF jets not uncommon by Frobnicator · · Score: 1

    One of the complaints often heard from fighter pilots is that their computers or screens crash. They have to reboot them all the time. I have heard of pilots quip about rebooting a dozen times on a mission.

    --
    //TODO: Think of witty sig statement
  93. Embedded World by drxenos · · Score: 3, Insightful

    You can tell from the comments the number of people who never worked in the embedded world. You can not apply PC design methodologies to an embedded system. In the embedded world, the software must be fault tolerant. If must not lock-up; if must always reboot. Embedded Engineers know and except that ALL software has bugs and ALL software will eventually crash. In the event of a crash, the computer must never lockup; it must recover. And while its recovering, a backup computer must take over until the primary computer is up and running again. As for Ada, you write just as crappy code as you can in any other language. As strongly typed as Ada is, it will not save you from yourself. A bad programmer is just as bad in Ada, as he would be in C. Worse, when that bad programmer forces Ada to use "pointers," they will always be functionally equivilent to void* and contain no type information at all. Why would he do this? For the same reason his code is littered with "use at," he is a bad programmer.

    --


    Anonymous Cowards suck.
  94. Re:why win98? same happens with win2k too [OT] by sfe_software · · Score: 1

    I was just installing various things to my win2k box and it still wants rebooting when: ...

    Generally software installs ask for reboots because the software author didn't feel like actually determining if a reboot was necessary. They just prompt for a reboot to be safe. 9 times out of 10 it isn't necessary in Win2k - just click 'No' and try.

    I know this works for Nero. I don't think the ATI Catalyst drivers actually needed a reboot either for me.

    I don't recall having to reboot when changing the pagefile size (or even being prompted)... in fact, Win2k often resizes it on-the-fly.

    Even changing the machine's IP from static to dynamic doesn't require a reboot if you go (re)start the DHCP client service.

    MS just feels safer asking you to reboot, because you might have ignorant software running that isn't aware of the changes. A reboot ensures that such software comes up in a known environment. Most programmers who write Windoze software are too lazy to detect certain changes at runtime.

    --
    NGWave - Fast Sound Editor for Windows
  95. Re:There Is Something Rotten in Software Engineeri by Anonymous Coward · · Score: 0

    The problem with the moderation scheme is that a known troll like this guy constantly gets moderated up by someone who isn't aware of his "quirks." What this guy is presenting is unproven and not peer reviewed. His ideas run counter to common practice in software engineering.

  96. Dual processors by charlie763 · · Score: 1

    One of the key design aspects of this aircraft is the nature of it's redundency. The aircraft is a dual processor system giving each system at least dual redundency.

    The way the government goes about creating this dual system is pretty interesting. Two seperate companies are contracted to design two different systems running on different processors to accomplish the same task. These companies are in different cities and have no contact with each other in order to make the two designs as different as possible.

    A flaw in one processor will not be found in the other and a flaw in one system design will not be found in the other. This reduces the odds that a pilot and a $22,000,000 aircraft will fall to the ground.

    --
    Welcome to the land of the free...pay toll ahead...no photography...please open your bag...
  97. Pilot bordom by GMontag · · Score: 2

    Actually, this feature was added when the pilots complained that all of the fly-by-wire crap, and other workload reducing measures, left the pilot with nothing to do but sleep and shoot.

    Nothing better to keep a body alert than the dark cloud of a fiery death ;-)

  98. Airbus A300's get rebooted too by Anonymous Coward · · Score: 0

    True story.

    A300's still run a version of the 8086. In the early days there were problems getting the planes to land. The pilots would line up the runways, start a descent, then the plane would override the landing and take off on its own. From the cockpit the pilots called tech support in Paris who finally suggested rebooting the flight systems.

  99. Re:There Is Something Rotten in Software Engineeri by dollargonzo · · Score: 1

    good job for pointing out that there really IS a diff between computer science and engineering. its a whole different mentality for one...however, the whole "design 50 times over before u write" is a bit excessive. u start with an idea and good system structure. it should be more like: design, write, design, write, test, design, write...ad infinitum. it is nice to do design and discussion, but there are FAR too many problems that are evident only once u start actually writing the software. if the writing of the actualy software is so inflexible that there is no room for redesign, you will end up with some pretty bad software. personally, i think the KEY thing to any good software is:

    only one person should be writing it.

    each additional person you add to the project does not yield another person in terms of work. maybe 0.6 of a person, if communication is ideal and he is a good programmer. otherwise, it is much less. if one person writes it, there are no inconsistensies that can ruin projects, simply because the 2 (or more) ppl didnt talk amongst each other enough.

    QED

    --
    BSD is for people who love UNIX. Linux is for those who hate Microsoft.
  100. Hard disks? by intermodal · · Score: 1

    I hope they're using something a little more stable than hard disks...taking off, landing, and other high-G maneuvering would wreak havoc on a hard disk. Not to mention jostling if hit by flying debris or enemy bullets...

    --
    In SOVIET RUSSIA... erm...NSA AMERICA, the Internet logs onto YOU!
    1. Re:Hard disks? by Anonymous Coward · · Score: 0

      Or friendly bullets :)

  101. Slight difference - These reboots are much faster by deranged+unix+nut · · Score: 3, Informative

    I went to a talk recently where a researcher was explaining human factors applied to military jet aircraft. The explanation that he gave of reboots in these systems was a 1/10th of a second or less pause - the pilot pushes a button to say "No, the computer has it wrong, it is giving me a different display than I need, reboot and give me the default display again."

    A "personal" computer reboot takes > 30 seconds nd would be unacceptable. These reboots are near instantanious.

    (I could be wrong, maybe this is a different aircraft and a different type of reboot than the researcher was talking about.)

  102. Flippy, the in-flight agent by Anonymous Coward · · Score: 0

    It looks like you're trying to eject. Would you like me to

    1. Open the canopy

    2. Make a few impressive loops while you hover towards the ground

    3. Never mind

  103. On Debian? Probably more like: by Just+Some+Guy · · Score: 3, Funny
    pilot@airplane:~$ su -c "apt-get install ejection-seat"
    Reading Package Lists... Done
    Building Dependency Tree... Done
    Package ejection seat is a virtual package provided by:
    ejection-seat-gnome
    ejection-seat-gnome2
    kseat
    gtk-seat++
    qteject-o-matic
    ncurses-eject
    ejection-svga

    ...all requiring about 31MB of dependency downloads (or 187MB for ejection-seat-gnome2, which may break 'parachute-gnome') over your 9600bps link.

    --
    Dewey, what part of this looks like authorities should be involved?
  104. Re:There Is Something Rotten in Software Engineeri by alienmole · · Score: 2
    Pure computer *science* programs are more commonly associated with pure math departments than with engineering colleges. The typical computer science curriculum deals with many topics that have little or no current application in real-world engineering, including things like quantum computing, computability theory, and even things like lambda calculus and type theory, which may arguably be applicable in the real world, but in practice often tend not to be, today (since almost no real world code is written in languages with theoretically sound type systems, and applying theoretic type system analyses to commercial languages can be a relatively futile exercise).

    Engineers build real systems, and as such have to deal with all sort of outside constraints which are usually not considered in pure computer science curricula: the compromises introduced by tight schedules and limited budgets, unreasonable feature requests from marketing departments, etc. In general, having dealt with both camps, I've found that the "scientists" often dismiss real-world concerns on one of two grounds: either they're not theoretically interesting, or they're too theoretically complex to be realistically addressable. Engineers, OTOH, don't usually have the luxury of picking and choosing their battles like this. Engineers often dismiss pure theory on the grounds that it is insufficiently applicable. I have seen a number of cases where I don't think they were correct.

    Last time I checked, the only difference between computer science and computer engineering was that the engineers are more geared towards building processors and integrated circuits whereas scientists are preped for software design.

    "Engineers geared towards building processors and [ICs]" are hardware engineers. People "preped for software design" could be either software engineers or computer scientists. In fact, software design at the level of UML diagrams and the like is more likely to be covered in a software engineering-oriented course than in a pure computer science course - since it's not really a topic of interest in the pure computer sciences, having more to do with human factors and communication than what is mathematically provable or computable.

    Of course, many curricula involve some (not always rational) mixture of both science and engineering, which in part reflects how new the entire discipline is - it will probably stratify even further in future.

  105. Sorry chrisd by TheKAVH · · Score: 1

    Sorry but any data about the on-board avionics and its software can't be shared by those working on it.

  106. Re:There Is Something Rotten in Software Engineeri by lscoughlin · · Score: 1

    If it were a Bachelor of Cheese degree handed out by the same institution would it make a difference?

    Labeling it as "science" does not change the culture it exists in, or the expectations software projects exist under.

    These are the things that make software less reliable, and software engineers, less like "real" engineers.

    Software projects tend to exist under time, and budget constraints that a hardware project manager would laugh at.

    As has been noted earlier, until the expectations of software are raised in general, the performance of software, in general, will barely meet them or fall just short. And the community that develops it will mirror that.

    --
    Old truckers never die, they just get a new peterbilt
  107. I do work on a part of the project. by Anonymous Coward · · Score: 0

    I do work on parts of the F22 project and I haven't heard any of this here. This aircraft will be one of this nations best when it is put into production. I really wish I could say more, but pretty everything I don't work on is classified, and everything I do work on is property of the government/company I work for.

  108. VxWorks reboots VERY fast by Alcemenes · · Score: 1

    If they use VxWorks in one part of the avionics then I would imagine they are using the same OS for all systems. AFAIK VxWorks is a realtime OS.

    1. Re:VxWorks reboots VERY fast by mikewas · · Score: 2

      The fact that delays are deterministic is what makes an OS real-time. It doesn't have to be fast.

      Speed to reboot doesn't just depend on your particular RTOS, it depends what portions of the OS you've linked into your application, and your custom drivers, hardware to initialize, perhaps synchronization with other equipment. There can be tremendous additional delays before a system actually boots, but it's still real-time.

      Finally, there's nothing that says the same OS is used everywhere. I worked on a board that was an upgrade to an existing system. It ran one OS, a daughtercard designed at another facility used a second OS. The shelf it plugged into used yet a third OS in its packs.

      --

      "Glory is fleeting, but obscurity is forever." --Napoleon Bonaparte
  109. Re:There Is Something Rotten in Software Engineeri by RobinH · · Score: 2

    only one person should be writing it

    Which works well, unless you subscribe to the extreme programming paradigm. In that case, you're never supposed to have a single programmer working on the code - always two there are...

    --
    "I have never let my schooling interfere with my education." - Mark Twain
  110. Why the i960? by Anonymous Coward · · Score: 0

    The CIP does not use the simple "printer controller" version of the i960 but the i960MX variant. The idea was to have a fault-tolerant system with hardware enforced capability-based security. The desire for fault tolerance is obvious but why would you want fine-grained security enforcement on an airplane? The concept was that you could have a tech with just a low-level clearance able to perform maintainance on a system that might contain more sensitive data.

    Another reason for the i960 is that it supported some of Ada's features very well. For this type of system, you need both good speed and high code density. There is not a lot of memory on these systems as both board real estate and cooling are significant issues. You also want fast interrupt handling and timing predictability and the i960 was better at this than the "competition" of the time (e.g. R3000).

    The CIP used many of the same ideas as the BiiN system (which also used the i960MX and an Ada OS.) Also note that the CIP is a backplane design: there are other processors in the mix including dedicated signal processors.

  111. What a STUPID thing to ask!!! by nvts · · Score: 1
    Any Slashdotters working on this project? If so, why do you need the inflight reboot?

    And they should respond to you and 10 minutes later be carted away from their office in handcuffs for violating all sorts of laws and agreements?! Work on this type of military hardware is absolutely classified which means you Joe Slashdot have no business knowing it.

  112. wow by spectatorion · · Score: 1

    Stupid me, I read in flight *ROBOT* and I was wondering when the AF was going to start producing R2 units...

    i obviously need more sleep.

  113. Actually by hpavc · · Score: 1

    all vital technical system are duplicated onboard. They are duplicated in a very odd way in that they have the same spec of processors, and electronics and wiring components from two sources. Not just buy two from the same manufacturer and rid them together. No they buy two from different manufacturers (that have proven they have no upstream shared source) and they rig them together.

    This is supposed to make the likelyhood of a phantom flaw unlikely to bring down the plane.

    --
    members are seeing something, your seeing an ad
  114. Re:why win98? same happens with win2k too [OT] by piznut · · Score: 0

    When you are prompted to reboot while using a third party installer, you might want to blame the company that created the application you are installing. It is rarely *really* neccesary to reboot after installing new drivers or applications. I seem to recall loading up drivers for my sound and video cards back on WIN2k with no reboot at all...just instant functionality.

  115. Re:Ada ? - Unbounded Strings by Ada95 · · Score: 1

    Two packages, Ada.Strings.Bounded and Ada.Strings.Unbounded, were added to Ada in the Ada 95 standard. I think that Ada's string handling facilities are pretty complete. The GNAT compiler also includes regular expression packages. See http://www.adaic.org/standards/95lrm/html/RM-A-4-5 .html

  116. the F-22 by Anonymous Coward · · Score: 0

    Why the hell would they be using ADA? I know the Defense Dep. has a thing for this most painful of languages, but you have to admit using C, with its huge set of libraries and well tested debuggers and compilers would have been more efficient and cost effective. I tried learning ADA back in College and I stop because I saw no practical value in continueing to learn it. Yet I love Lisp so go figure? Anyway, the Russians are designing a new fighter as well. Any specs available? Or are they still to paranoid to share?

  117. A skeleton from the closet by leonbrooks · · Score: 2
    Never believe anything that starts with `of course'.

    nobody would credibly assert that any of these 'interactive user-oriented' OSes are suited for that kind of high speed real time operation.

    You wish.

    That's what embedded controllers are in the mix for. Often tightly interfaced to a slower responding system that supervises everything.

    Consider the USS Yorktown. I doubt the turbines were supposed to be running at jet speeds (frankly, the tip velocity of a ship-sized turbine cranking to those RPM is a frightening concept) but since the boat was sail-by-wire, when the Windows supervisory machines (and maybe `embedded' systems, we've all seen WinModems, we've all heard MS touting XP as embeddable, sorta) went down, it really didn't make any difference how close to the metal the failure was, that baby was a sitting duck for hours.

    Now, if my F-22's display and controls go dead because of a display manager failure, am I any happier than if they go dead because of an engine failure or system-wide failure?

    I guess I'm marginally happier than if the wings had simply fallen off, but only for a few more seconds. High in a clear sky, probably not a life-threatening issue provided that reboot is fast.

    In combat, takeoff or hedge-hopping situations, not so good.

    --
    Got time? Spend some of it coding or testing
  118. are you guys talking about classified material? by Anonymous Coward · · Score: 0

    Given the fact that we are at WAR, is
    it appropriate for you people to be
    discussing F16 architectures?

    You don't know anything really, do you, about
    it?

    It amazes me how people discuss things that
    they know nothing about.

    How much of this stuff is Classified?

    Do you realize that your loose lipped
    ego-based panderings-on here
    could cause good people to be in much
    more danger?

    1. Re:are you guys talking about classified material? by geekster_2000 · · Score: 0

      I agree this is very classified.

      I worked on both years ago and I can tell
      you first hand your statement from the
      movie is wrong !!

      enough said !!

      Loose lips sink ships !!!

  119. Very good reason not to use Java: by marhar · · Score: 3, Insightful
    From the Java License:

    "Software is not designed or licensed for use in on-line control of aircraft, air traffic, aircraft navigation or aircraft communications; or in the design, construction, operation or maintenance of any nuclear facility. You warrant that you will not use Software for these purposes."

  120. wrong definition of stall by Preposterous+Coward · · Score: 2
    A stall is where the plane flies too slow, the wings no longer produce enough lift to keep it in the air, and the thing basically just drops out of the sky.

    Well, no. A stall occurs when the wing exceeds the critical angle of attack. It can occur in any configuration (nose up, nose down, etc.) and at any speed. The problem is not lack of speed, it's the fact that the excessive angle of attack causes airflow separation across the top of the wing, which results in loss of lift.

    As for the thing basically just dropping out of the sky: Also incorrect. In most planes recovering from a stall is a straightforward maneuver, and stall execution and recovery is part of basic flight training. Of course, if you're only a couple of hundred feet above the ground when you stall, you might not have time to recover. The other potential danger with a stall is that if you're flying uncoordinated at the time, you can get into a spin, though in most aircraft spins are also recoverable given sufficient altitude. Flat spins, such as the one depicted in "Top Gun", can indeed be a problem because the aircract lacks rudder authority in that situation, and rudder is important to stall recovery.

    --

    "Biped! Good cranial development. Evidently considerable human ancestry."
    1. Re:wrong definition of stall by Grab · · Score: 2

      OK, OK. I'm a hang-glider pilot myself, so I do know the specifics. But I'm not about to post all that in reply to someone who's first language isn't English. :-)

      You're right, stall recovery is straightforward, but it does require the room in which to do it. Dropping out of the sky is only the start; on my hang-glider, once it's started dropping, the nose goes down and the speed goes up, and it starts flying again; on more serious aircraft the pilot hits extra power and/or controls the pitch to recover; but you need a certain amount of space below you for this to take effect. Hence stalls at low level (eg. that DC-10 accident on takeoff) usually make a bit of a mess.

      Grab.

  121. Why java cannot be used in a realtime environment by rebelcool · · Score: 4, Interesting
    2 words: Garbage collector.

    The garbage collector in java is an asynchronous type. This means while it is running its collection procedures (which can begin at any time, there is no way for the programmer to control this), processing of the program code halts.

    I had a professor which demonstrated the problem of this in a simple example. Suppose you are designing a robot which can climb and descend stairs. It must monitor sensors and adjust angles of its joints appropriately to go down (quite difficult, really). Now suppose the GC runs halfway through the middle of a step. All processing stops, gravity takes over, robot falls down.

    Same goes for avionics systems, if you're landing a plane, you don't want your HUD display to suddenly freeze as you're descending at several meters per second. You'll descend straight into the ground.

    Hence the reason java puts a clause in its license about no use in safety-critical applications.

    --

    -

  122. Blackbird confetti by leonbrooks · · Score: 2

    If you let the SR-71's engines get wildly out of sync (say, pop a nose cone) the time from hale and hearty airframe to very expensive and very small confetti is about twenty milliseconds.

    It wouldn't surprise me to discover that the F22's case was similar, ie, control system death becomes unrecoverable situation or structural damage in tens of milliseconds. The thing basically looks like a large set of anti-turbulence vanes with a fuselage holding them together, and probably wouldn't take kindly to an actual stall.

    --
    Got time? Spend some of it coding or testing
  123. Whatever by DaveWood · · Score: 2

    What if that app you're running is ISS? Or SQL Server? Or Exchange? Or another of the other Microsoft solutions, system services, patches, service packs, or other miscellany? But I suppose that's the "relying on coders who are [pretty much incompetent]" part you mentioned.

    I'm very familiar with both sides. If you're open-minded enough to try, when you finish learning how to administer Linux, you will find it far more stable and maintainable, and the set of tools you'll use on it an order of magnitude more secure and reliable, than Win2k. _Let alone NT4._

    I'm convinced the people who still run around touting NT4's reliability are either incompetent or not tasked with any particularly complex applications involving microsoft tools or both, not to mention not reading the news... Remember the hotmail disaster? And that was Microsoft's own team.

    1. Re:Whatever by ScuzzMonkey · · Score: 2

      Eh, well, I guess that proves my point. I have no trouble maintaining stable production environments with Exchange, SQL Server, or IIS (not using ISS, myself--not sure if that's what you meant or just typoed). So the question is, what are other people doing wrong with them? I don't exempt Microsoft's coders from the incompetent category, but if I'm able to run these things out of the box without re-booting nightly, you should be able to as well. They have to be used in complex applications? Not a problem--some testing, a good dev crew, and a basic understanding of the software can see you through just about anything. Whether MS tools are the most efficient for a particular application may be debatable, but I don't consider it seriously in question that they are capable of accomplishing it when used properly. Anyone who does, I don't think really knows their stuff as well as they ought to. As I said, this is not about which is easier to use or better suited for a particular task--just whether or not it's possible.

      I have no doubt that you're quite correct about Linux. One may be better than the other, but as I said, by far the greater factor is who is doing it, not what they are using. I'm totally disinterested in starting an NT/Linux debate--I don't have a side in it, personally. Tools are tools. But I consider the "NT is unreliable, ya' gotta reboot it every night" to be just another example of FUD in a debate that is replete with such.

      --
      No relation to Happy Monkey
    2. Re:Whatever by DaveWood · · Score: 2

      I appreciate your civility and open-mindedness.

      When you say "but if I'm able to run these things out of the box without re-booting nightly, you should be able to as well" I must respectfully disagree with you, simply because of all of the diverse things one does with each of those three products (I did mean IIS, apologies). My experience, as I said, has been unequivocal. Both firsthand and 2nd hand, watching some extremely bright people with excellent familiarity with the product suite, I have come to expect NT4 production environments to be tainted by disaster (often repetitive disaster), where I have observed and participated in complex Linux rollouts with a significantly superior track record. You must decide whether or not you think me honest or my judgment sound, but I am certain on the point.

      To your comment about "ya' gotta reboot it every night" being FUD, I can only once again respectfully disagree; I have heard this exact statement from a number of (apparently) competent professionals responsible for major IT efforts in the fortune 500, and if I were able to name names, I'm sure you would be familiar with at least several of them. I, too, took it with a grain of salt until I observed its necessity on projects of my own using NT4, IIS and SQL Server, and more than once. Older versions of IIS and VBScript just leak like crazy and that's the beginning of their troubles. Fortunately, my experience with my Microsoft-or-death clients has improved under the Win2k regime.

      I am not making this stuff up. It is not rhetoric, but actual repeated professional experience. I should perhaps add "painfully" repeated.

      Are you not aware of Microsoft's spectacular failure while attempting to migrate hotmail from Solaris to NT4, IIS, and SQL Server? This is often my case-in-point when discussing building large applications with NT4. I understand that they did stick with it and eventually got it going with Win2k.

    3. Re:Whatever by ScuzzMonkey · · Score: 2

      No, I believe you completely, and certainly would not dispute your personal experience. My point is rather that my experience, and many others with which I'm familiar, disproves the theory. For every story like the Hotmail transition (which did sound pretty ugly, but I'm not all that familiar with it) you can find another like Nucor or Verizon where everything worked fine, using the same products. When I worked as a consultant, many times I too would go into a business and find IT staff stating the same thing you have--they had to re-boot the servers every night to get any stability out of them. Invariably, with a bit of perspective and often some patching, we were able to address the root issue and remove those stability problems.

      If that many complex projects can be undertaken successfully using those tools, I think that pretty squarely disproves the instability question--personal experience aside. As I said, I'm having lousy personal experience with Linux at the moment, but I hardly think it reflects on Linux. You seem to be drawing the conclusion that because people you know can't get a stable NT4 installation going without nightly reboots that NT4 is crap and requires such--but the fact that anyone else is able to make it happen without doing that should be enough to tell you there is something wrong with the implementation, not the software.

      And again, I'm not trying to start an NT fan club here--it has pluses and minuses, and is not the ideal tool for every project, no question. I'm simply saying that if it's possible for a large number of people and businesses (even if not a majority, although I suspect they are a silent majority) to run complex apps on these products without scripting re-boots every night, then the people who ARE doing that are most likely doing something wrong. I'm sure they don't like hearing that... but it doesn't at all change the logical conclusion.

      --
      No relation to Happy Monkey
    4. Re:Whatever by DaveWood · · Score: 2

      I thank you for continuing the discussion. However, I again respectfully cannot agree with your conclusion; no theories are proven or disproven by these anecdotes or assertions; in fact, in the face of anecdote, it is generally wiser to give more consideration to negative outcomes. Whether a system is poorly documented or organized and hence requires some magical patching and tuning (which in the case of many of the projects I observed, even Microsoft itself was not able to supply) in order not to require nightly rebooting or to scale as it has been advertised to, or whether it is simply irretrievably broken for certain tasks, that is not a system you want. If NT4's success is as we rhetorically suggest is 50/50 or 33/66, that's terrible. But of course such numbers are meaningless - this is only to attempt to illustrate my point about anecdotes.

      The thing that really troubles me about this conclusion is that application platforms like IIS and SQL Server are not like Photoshop or Sendmail. They're not special-purpose; they will be used to do a wide variety of jobs, each potentially drawing on another relatively small set of a vast feature library. If some people get them to work and others don't, it is just as reasonable to conclude, not that because it works for some that the others are incompetent, but that the system is broken but that not everyone's applications are equally unlucky in how they encounter the bugs.

      Really your implication seems to continue to be that if I have had these experiences, I and those I am referring to are simply not as good at running NT as you are. There I suppose we have little chance of discovering the truth. :) Fortunately, there is not much at stake in the NT4: good or bad? argument anymore. :) I have nonetheless appreciated your points, and agree there are certainly many problems on both platforms that are attributable to failures to use the system correctly, yet blamed on the system itself.

    5. Re:Whatever by ScuzzMonkey · · Score: 2

      I suspect that we're going to have to agree to disagree. I can agree that these theories cannot be proven by anecdotes, but certainly believe they can be disproven by (documented) anecdotes. Stating that that NT4 has to be re-booted every night to get stability beneath a complex application is just patently untrue; even one exception disproves it.

      I think you get more to the heart of the discussion when you address how difficult it may or may not be to make the system work as you expect. How easy it is to get a given product to do what you need it to do is highly relevant--and as I've said several times, I readily agree that NT is not the easiest or best platform for every job out there. In that sense, people who are trying to shoehorn it into these impossible projects that you are citing are perhaps not to be faulted for their skill with NT, but rather for their decision to use it in a place it's not best suited for--or working for numbskulls who insist on it in the face of advice to do otherwise. :)

      It's also, as you say, difficult to compare apples and oranges, as we're not getting into the specifics of what these various projects require of the applications. But I will say that with technology, there is always more than one way to accomplish any given task, and if one route happens to be bugged to hell in NT, I don't doubt there's a different way of getting there. Again, that doesn't speak to the efficiency of doing so--just that it IS possible.

      And because of that, I'm not trying to imply that I'm the uber-admin or anything--I just have an approach that has worked well for me so far, so that I have not had the experiences you have had--or rather, I have, but have been able to address them to my satisfaction at some point. I've been in this game far too long to have any conceit as to my own technical prowess. :) I do like to run stable systems, though, because I like to have time to sleep and surf Slashdot, and from my observations, it's that inherent laziness that drives me toward stable solutions, rather than cutting edge or shoestring solutions that seem to be popular in the rest of the industry.

      At any rate--thank you for the conversation. It's rare to find someone to have a coherent one with around here these days, and I appreciate it.

      --
      No relation to Happy Monkey
  124. i960 Windows Port by Jason+Cwik · · Score: 1

    I used to do i960 support for Intel and heard an interesting rumor while I worked there.

    Apparently, the i960Cx processors were released around the same time as the 386 and one of the engineers there had access to the Windows source code. He ported Windows to the i960 and showed performance 2x-4x that of the 386.

    Management got word of this and quickly ordered the project canceled and all source code deleted. Intel was in the business of selling x86 processors to consumers. i960 was to be embedded-only.

  125. kill -9 by leonbrooks · · Score: 2

    Ah, so if I want my program to recover from a `kill -KILL' I need to write it in Ada? (-:

    --
    Got time? Spend some of it coding or testing
  126. Ahem. Pascal! by fm6 · · Score: 2

    Jeez. That page says that Packages "was not a feature of Pascal". OK, first of all, Pascal is not a past-tense language. It's alive and well. Second of all, every Pascal implementation I know about supports Packages.

    1. Re:Ahem. Pascal! by sysadmn · · Score: 2
      Second of all, every Pascal implementation I know about supports Packages
      That's the problem, mate. It wasn't (isn't?) in the language specification, but every implementation supports it. Slightly differently...
      --
      Envy my 5 digit Slashdot User ID!
    2. Re:Ahem. Pascal! by dvdeug · · Score: 2

      Packages "was not a feature of Pascal" at the study was done. Packages was not and is not part of ISO 7185 - Basic Pascal. ISO 10206 - Extended Pascal wasn't standardized until 1984, after the study was done and the military had picked a language. And honestly, to this day, Extended Pascal is not a commonly used language; various compiler-specific extension sets are used instead.

  127. Uh-oh! by Anonymous Coward · · Score: 0

    rat-ta-ta-ta... click

    (Uh-oh!)

    *reboot*

    (Hurry up! Hurry up! Finally!)

    rat-ta-ta-ta-ta

  128. This reminds me of... by fm6 · · Score: 2

    ...an old joke. I once knew a guy who worked at Ford Aerospace. This was back when anti-lock brakes were still in their research phase. I asked him when they might go on the market. His response was that he had too little faith in software to rely on it to stop his car. His exact words: "It brings a whole new meaning to the halting problem!"

  129. Re:Why java cannot be used in a realtime environme by Anonymous Coward · · Score: 1, Informative

    No, that just means your garbage collector needs to be a hard realtime implementation. If you can guarantee the collection will stop before the next critical time point, there's no problem.

    And you meant to say the garbage collector is synchronous (blocking) as opposed to asynchronous (non-blocking). Although now there are garbage collectors of both types.

  130. Re:There Is Something Rotten in Software Engineeri by Gleef · · Score: 2
    Because that is the nature of complex algorithmic systems. An algorithmic system is temporally inconsistent and unstable by nature.

    What are you talking about? Algorithmic systems are by nature consistent and stable. Inconsistancy and instablity are not caused by the algorhithms, but rather by
    • the fact that we have largely moved away from an algorithmic model to an event-driven one, which is inconsistant and unstable by nature.
    • Program states used to be simplified representations modelling reality (or fantasy). They increasingly base their state on raw reality. It doesn't matter how predictable an algorhithm is if you can't predict the state getting fed to it.
    • Due to a combination of both laziness and overwork, as well as a preponderance of reinventing the wheel, most algorhithmic software-based systems use too much code that's too poorly tested to even dream of reliability.
    Using the algorithm as the basis of software construction is an ancient practice pioneered by Lady Ada Lovelace and Charles Babbage.

    Jaquard also used algorhitms for his software construction, before Lovelace and Babbage.

    Just because something is old doesn't make it bad, using the wheel as the basis of long distance land transportation is an ancient practice pioneered by someone who lived so long ago she isn't even recorded in the history books, that doesn't make wheels obsolete.

    It is the fundamental reason why dependable software systems are so hard to produce.

    The problems in producing dependable software are far far more complex than "we still use algorhithms", although clearly one of the problems is "we use algorithms where they are inappropriate". Algorithms work best where the computer is interfacing with mathematics and other abstract concepts, they work worst where the computer interfaces with the real world.

    There is something rotten at the core of software engineering.

    How can something that barely exists be rotten already? Software engineering has reached the terrible two's, it can (usually) feed itself, but it still runs around knocking over lamps.

    Software functionality should not be fundamentally different from hardware functionality.

    Huh? Most software has just the most cursory relation to hardware, it makes no sense to model such software after hardware. What would the hardware model be for a hypertext browser, for example?

    Software should emulate hardware and serve as an extension to it. It should only provide the two things that are lacking in hardware: flexibility and ease of modification.

    This statement only makes sense if you define "flexibility" far beyond its typical semantic meaning, as in "we don't have hardware that's flexible enough to draw an arbitrary projection of an arbitrary eight-dimensional surface" or "we don't have hardware flexible enough to perform statistics on multimillion element databases".

    Even stretching the statement to make some sense, it's still false, since it ignores many things that software has that hardware lacks: zero capital cost, ease of replication, ability to ignore or rewrite natural laws. Tell the people writing software for ASCI White that their work should be an extension of hardware and they'll look at you as if you've got pink elephants on your head, the whole point of that computer is to avoid using the real hardware.

    The only way to solve the reliability crisis is to abandon the bad practice of using algorithms as the basis of software construction and to adopt a pure signal-based paradigm.

    I dare you to write a GAAP-compliant accounts payable system for a typical mid-sized corporation using a pure signal-based paradigm. I'm not saying it can't be done, but you will quickly see the advantages in software reliabilty and development productivity in using an algorithmic model over a signal based model when the purpose of the program is to follow a set of number crunching algorhithms.

    The only way to solve the reliability crisis is to abandon the bad practice of using algorithms as the basis of software construction and to adopt a pure signal-based paradigm.

    Abandoning algorithms won't "solve the reliability crisis". One important step towards improving reliaibility is making sure to use the right tools for the job. If you are writing a program to crunch numbers, algorithms are the best tool that I know about. If you are writing a program to control hardware, signal-response systems often make much more sense.

    Even using these two paradigms you won't always be using the best tool for the job. Another potent tool is one of Mother Nature's favorites, the paired analog response system, where you have two (or more) complimentary analog systems (for example: the insulin/glucagon system to control blood sugar levels, the force/friction system to control accelleration). Signal-based systems can simulate this, but it can't match the precision of the truly analog processes.

    More details can be found at the links below: Project COSA

    Very very interesting work, I just see it more as complementing algorhithmic systems rather than replacing them. I see your work as particularly relevant for embedded systems (eg avionics systems like the story is talking about).

    Note that, while your COSA system does handle events (signals) more predictably than most other programming paradigms, and it encourages more relaible code in response to the signal, it does not completly eliminate the two reliabliltiy problems I listed at the top.

    To use your terms:
    • You can't predict in what order sensors will trigger, making it possible to have unexpected effects when sensors trigger in an unexpected fashion
    • Digital data and comparison sensors will never allow for a perfect decision to be made regarding analog reality.
    I can't see a digital signal-based system getting away from these fundamental problems, the best you can do is come up with tools and methods that minimizes their effect.

    One other thing: You haven't gotten away from algorhithmic computing. I assume the algorithmic kernel is just expediency, it's cheaper to model COSA on an algorithmic computer than to custom design the right hardware. However, your descriptions of the operation of cells are all algorithmic, so the fundemental unit of your system is a handful of algorithms (granted, they're small reliabile-looking ones, but they're still algorithms).
    --

    ----
    Open mind, insert foot.
  131. RTFM? by Hektor_Troy · · Score: 2

    I've never really understood the sentiment of RTFM. I mean "Read The Fucking Manual"? I have read the Kama Sutra, and I fail to see its relevance in computing.

    --
    We do not live in the 21st century. We live in the 20 second century.
  132. People still use ADA? by ColGraff · · Score: 2

    I thought it had been phased out, even in the military. Is there really any advantage to it, compared with C++?

    --
    I'm the stranger...posting to /.
    1. Re:People still use ADA? by Ada95 · · Score: 1
      Ada has many advantages over C++ and it is still used extensively (although not exclusively) in current military development projects. Inform yourself at:

      AdaPower

      AdaIC

      GNAT, free GNU Ada)

      GNU Ada in gcc

    2. Re:People still use Ada? by dvdeug · · Score: 2

      Is there really any advantage to it, compared with C++?

      Feature-wise, Ada has fixed point numbers and multitasking built in. Style-wise, Ada has strong typing and tends to raise exceptions where C++ would crash or start working with garbage (i.e. bad pointer or buffer overrun.) It's also rarely requires the use of pointers, instead letting you pass arrays, or pass stuff by reference. Aesthetically, I find it a more enjoyable language to program in than C++.

  133. Re: War Machine by Embedded+Geek · · Score: 2

    The Swiss (whose military expenditure per capita match the US) have a saying:

    Every country has an army in it. We just figure it might as well be ours here.

    --

    "Prepare for the worst - hope for the best."

  134. Ada Programmer by flyondawall · · Score: 1

    I was a computer programmer(3C0X2) for the AF. Almost all my training was done using ada. In practice if the system was going into a plane it was done in ada; otherwise, we did it in C. We had to get waivers(pain) just to use C, but that is what we thought of ada. It's true ada helps elimate bugs by being a strict type cast lang. If I had to risk my life to a program, it would be written in ada. Most avionics use multiable systems which vote, so if you lose one system your still fine. 1.5 million lines, I bet that thing takes a week to compile it all.

    1. Re:Ada Programmer by Anonymous Coward · · Score: 0

      Noway does Ada help avoid bugs by being a type cast unless your talking about the stupidest little bugs imaginable. When you have 1.5 million lines of code type casting doesnt stop seg faults or worse. ADA LACKS the debuggers and useability of C. Its a hard painful language to use and learn and isnt as tried and true as C. More money has been spent developing tools for C that alone makes C more useable. C is no less efficient than ADA, since you dont need C++ for this type of work the overhead isnt there. Also Im sure you can get 1.5 million lines into 1 million if you use C.

    2. Re:Ada Programmer by krreagan · · Score: 1

      Actually Ada would most likely be less lines of code then C. The final image might be larger due to the run-time checking. If you suppressed all the run-time code, my experience has been that Ada is at least as fast as C with compilers that have good optimization technologies.

    3. Re: Ada Programmer by Black+Parrot · · Score: 2

      > Noway does Ada help avoid bugs by being a type cast unless your talking about the stupidest little bugs imaginable.

      Unfortunately, stupid little bugs find their way into operational programs. But if you have a compiler that can catch them at compile time, they don't find their way into the operational program. End of story.

      Also, notice that for a given programming team the number of stupid little bugs will be proportional to the size of the code base, and for 1.5MLOC that generally translates to a lot of stupid little bugs.

      > ADA LACKS the debuggers and useability of C.

      I used the VAX debugger with Ada [sic] over a decade ago. For OSS fans, there's GVD, the GNU Visual Debugger, with full Ada [sic] support. Don't let your prejudices lead you into making uninformed assertions.

      (BTW, GVD supports C and C++ as well as Ada, and is designed to allow plug-ins to support additional languages, so give it a try if you're a C or C++ programmer and would like to have a visual debugger. I believe it's built on GDB, so its basic operations may already be familiar to many.)

      > Its a hard painful language to use and learn and isnt as tried and true as C.

      What is your unit of measure for "tried and true"?

      > Also Im sure you can get 1.5 million lines into 1 million if you use C.

      Are you sure about that? Ada [sic] does require rigorous type definitions, but once you've made them it often lets you program at a very high level of abstraction.

      Please save the FUD for audiences that are unfamiliar with the subject matter.

      --
      Sheesh, evil *and* a jerk. -- Jade
  135. Re:There Is Something Rotten in Software Engineeri by fizbin · · Score: 2

    The problem is that you read the moderation system the wrong way. Think of a high score not as "this is something that is true" but "this is something worth discussing, if for no other reason than to refute it".

    Of course, naming the moderation as "insightful", "interesting", etc. doesn't help things.

  136. Ariane 5 was written in Ada by egoots · · Score: 1

    I am not trying to dispute that Ada is a good language for critical safety related software... but it is only as good as the people and methodology/process being employed.

    Consider the fact that the code for the Ariane 5 rocket which crashed because of a software problem, was written in Ada.

    1. Re:Ariane 5 was written in Ada by Kysh · · Score: 1

      > I am not trying to dispute that Ada is a good
      > language for critical safety related software...
      > but it is only as good as the people and
      > methodology/process being employed.
      > Consider the fact that the code for the Ariane 5
      > rocket which crashed [eiffel.com] because of a
      > software problem, was written in Ada.

      I'll certainly agree with your statement that it's
      only as good as the people and methodology/process
      being employed.. a point I made earlier, in fact.

      Nonetheless, nobody blames Ada for the crash of
      the Ariane, except those ignorant few trying to
      bash Ada. It was found, and reported universally,
      that it was a 'Reuse specification error'. Very
      simple, very specific.

      I think that the implementation itself could have
      been better, as well. But I'm not the one to say.

      -Kysh

      --
      --=:: Wings and tail and snout and scales of blackest night ::=- A dragon stands be
    2. Re: Ariane 5 was written in Ada by Black+Parrot · · Score: 2

      > Consider the fact that the code for the Ariane 5 rocket which crashed [eiffel.com] because of a software problem, was written in Ada.

      If you search the Web you should be able to find the official report on the cause of the crash. I read it on the Web a year or two ago, but didn't bookmark it.

      Short version: it wasn't the choice of language, nor even a software bug at all.

      Intermediate version: For economy, the A5 engineers decided to re-use a sensor/controller hardware unit from the A4, since it and its associated software had worked flawlessly. Unfortunately, they did not review that part's specs carefully enough, because the A5's more powerful engines generated a thrust/acceleration/velocity/displacement that was outside the part's design spec. During the flight the part determined, correctly, that whatever it measured was out of range, and started dumping debug data on the rocket's control bus - exactly as it had been designed to do, but with unfortunate results when it happened in the sky rather than on a workbench.

      The software worked flawlessly. The design sux0red.

      > I am not trying to dispute that Ada is a good language for critical safety related software... but it is only as good as the people and methodology/process being employed.

      That is indeed true. However, my experience in using Ada is that it completely eliminates whole classes of bugs by catching them at compile time, so the only bugs I get are those related to the basic algorithmic design of my program.

      In general, Ada will catch things at compile time that most languages will only catch at run time, and it will catch things at run time that in most languages will only be caught if someone notices that the output is incorrect. Think about that next time you're debugging a program.

      --
      Sheesh, evil *and* a jerk. -- Jade
    3. Re: Ariane 5 was written in Ada by markmoss · · Score: 2

      I thought it was a re-used software module, not hardware. But either way, the problem was the module was re-used without sufficient review, and assumed to not need much test because it worked flawlessly before. That's a human error unrelated to language or even to whether it's hardware or software.

      What I really do not understand is why they did not run a full flight simulation that would have revealed a problem occurring at such and such a speed or whatever? This is more understandable if it was a hardware issue, since it might be pretty hard to persuade a hardware unit that it is flying through space at x kilometers per second - and if there was a simulator input to the hardware, it still might not react to a simulated out of range value input the same as it would to the sensors actually hitting their stops.

    4. Re: Ariane 5 was written in Ada by Black+Parrot · · Score: 1

      > I thought it was a re-used software module, not hardware.

      It has truly been a long time in dog years since I read it, so you might want to look it up rather than take my word for it.

      But as you say, the distinction is irrelevant to the discussion at hand. There is no expectation that an Ada compiler will catch design errors.

      --
      Sheesh, evil *and* a jerk. -- Jade
  137. Re:Why a reboot - Osprey reboot... by Locutus · · Score: 2

    If I remember correctly, one of the last Osprey's to go down and kill a number of marines was due to an inflight reboot. IIRC, the pilot had a system error and rebooted but the system startup defaults were not designed to maintain flight. The in-flight reboot either was not designed for being in-flight or there was a serious hole in their QC process.

    Either way, $billion flying machines which rely on so much software to fly, should have some low-level boot-kernel-like software to keep the bird flying when bad things happen. Or birds failing from the sky due to BSOD could get soo common they'll have a TV show about it...."When Bytes Attack"

    Remember, a redundant system isn't much good if it too has the same software failure.

    LoB

    --
    "Anyone who stands out in the middle of a road looks like roadkill to me." --Linus
  138. "real engineer" different from "science person"? by endoboy · · Score: 1

    The difference is simple--

    "real engineers" are oriented towards problem solving, and making something that WORKS

    "science person"s are concerned with discovery of novel phenomenna

    In short--engineering is about getting the details right; science is about discovering what is possible. The problem with software engineering is that it is in general not disciplined enough to qualify as engineering.

  139. Fly Ada! by Anonymous Coward · · Score: 2, Insightful

    I'm one of the few software engineers to have flown in an aircraft that was using his/her own code in the flight control systems. The Shuttle Training Aircraft flight software was written in Ada (83). I had the pleasure of flying on the STA during a training flight.

    Ada95 (it's not ADA, it's a name not an acronym) is a language that will never become popular to the average programmer because the compiler won't let them do a lot of the very (unsafe) things that they rely on in other languages. This is the stuff you always read about...

    The tools that an Engineer use are very important! You could build the F22 using only slide rules but I wouldn't fly it! You could even write the flight control system in C but by the time the process made it as safe as the Ada program. it would be out of date. Good engineering can happen in any language, Ada helps the process, C,C++ hinder the process)

    Writing the flight control software in a language (tool) like Ada makes the end product more reliable and predictable because of both the compile time and run-time checks. I can make just about any Ada code execute as fast as C if I get rid of the run-time checks. Even then Ada is much better then C/C++ because of the compile time checks that C/C++ lack.

    Writing software is an art and a discipline. most programmers forget the discipline part.

  140. They all need rebooting by Anonymous Coward · · Score: 0

    You'd be suprised at how often this is a required for nearly every fighter/bomber/strike aircraft.

    In addition, even manual avionics suites need to be recaged (ie. rebooted).

  141. suicide by Anonymous Coward · · Score: 0

    yeah, right. you want somebody that worked on
    this mess to come out and say "oh yeah, we knew
    all abut this, but this level 3 manager down at
    Alpharetta wanted to get his raise so we shipped
    the usual stinking, steaming pile".

    these guys make weapons for a living, remember?

  142. Re:There Is Something Rotten in Software Engineeri by gmarceau · · Score: 2
    The biggest engineering difference between software and hardware is that people find software errors acceptable, or even normal, whereas they have never reconciled themselves to, say, collapsing bridges or wings falling off of airplanes.

    Or more to the point, building bridges is hardly ever self-though as a hobby. In comparison, software engineering is possibly doomed at forever rewriting ideas which are short, simple and wrong.

    Also, since most software cannot be returned for refund, even if ridiculously defective, hardware shops have that extra highly non-trivial financial motivation for double checking their work before pushing it out.

    There is also a marketing problem.

    It's all detailed in my report

    --
    This post was compiled with `% gec -O`. email me if you need the sources
  143. Dyslexia by hondo77 · · Score: 1

    When I first saw this headline I thought it said 'F-22 Avionics Require Inflight Robot'. I thought, "Cool! R2-D2!" Reading the article after that was a bit of a letdown.

    --
    I live ze unknown. I love ze unknown. I am ze unknown.
    1. Re:Dyslexia by Stalyn · · Score: 1

      oh wait so there isnt a robot? man this story sucks.

      --
      The best education consists in immunizing people against systematic attempts at education. - Paul Feyerabend
  144. OS by langed · · Score: 1
    The OS utilized in aircraft is generally either Wind River's VxWorks or OARcorp's RTEMS.

    RTEMS is open-source, but it seems to have outgrown its Ada ancestry.

    Aircraft control code is written in Ada because Ada was designed for real-time embedded applications such as these.

    Of course, the operating system in both products above is a very minimalistic one indeed, and things like memory allocation and device management are neither abstracted away nor handled for you. This means that the work of writing a reliable device driver and making certain to deallocate memory after it has been used is left to the programmer to do. And many programmers tend to commonly make mistakes in these areas, causing many problems.

    There's a company called Rockwell-Collins out in Iowa that builds and programs aircraft. I can't speak much more than these for specifics (I didn't work there, and NDAs prevent acquaintances from cluing me in) but I know that there is a great deal of testing before certification of the software for use by the FAA, and so hopefully enough bugs would be found and squashed by then that rebooting the in-flight computer should certainly not be a common thing.

    Disclaimer: I am not an employee for RCI, nor have I ever been.

  145. Re:There Is Something Rotten in Software Engineeri by YrWrstNtmr · · Score: 1

    only one person should be writing it.

    Which is fine, if all you want to do is write until you die. If, however, you actually want a product in a reasonable time frame, you must use >1 coder.
    How long would it take you to design, code, test 1.5 million lines of code?

  146. Lookup table isn't always fastest! by JonTurner · · Score: 1

    It depends.

    The rules have changed with the arrival of insanely fast processor speeds. The CPU is so much faster than the memory bus that, on some architectures, it's MUCH faster to compute a sin/cos than it is to fetch the precomputed answer from memory, ESPECIALLY if you break the onchip cache and have to reach into main memory. Even worse, the lookup causes the processor to stall while waiting for the results of the lookup. Result? You've just screwed up the entire superscalar pipeline, flushed the cache, and stalled the hell out of everything because you tried to save a half-dozen cycles.

    You never know until you test.
    --
    JonTurner

    "We won't just shoot the bastards, but rip out their living guts and use them to grease the treads of our tanks."
    -- General George S. Patton

  147. Stall Recovery -- (was :wrong definition of stall) by muonzoo · · Score: 1

    Flat spins, such as the one depicted in "Top Gun", can indeed be a problem because the aircract lacks rudder authority in that situation, and rudder is important to stall recovery.

    Er perhaps you mean spin, or incipient spin.

    In an aeroplane where the thrust component is inline with the CG and the aerodynamic centre of pressure, such that there is no rotational (yaw) moment generated by the powerplant, there would be no need for rudder when recovering from a co-ordinated stall.
    A spin however, where you are wishing to neutralise the rotational component before recovering the stall, you'd need rudder authority. ( A spin is an asymetric stall where one wing is generating more lift than the other, causing a rotational moment about the yaw axis. -- not entirely correct, but more correct than not. ;-) )

  148. Exerpt from F22 operational manual. by JonTurner · · Score: 1

    Blue screens in the morning,
    Ground crews take warning.

    Blue screen by day,
    Stay outta the way.

    Blue screens at night.
    Reboot, and take flight.

  149. 7x redundant? by mangu · · Score: 1

    How many karma points would that cost?

  150. Re:There Is Something Rotten in Software Engineeri by dollargonzo · · Score: 1

    i have seen plenty of full blown wonderful projects written by one person. i am also talking about initial development, not supplemental additions.

    QED

    --
    BSD is for people who love UNIX. Linux is for those who hate Microsoft.
  151. Supercruise Operational Buttkicking by Mittermeyer · · Score: 2

    All this hoohaw about the OS is fine and well, and the stealth characteristics of the F-22 are nice (although likely to be countered sometime before the end of program life by LIDAR, passive EMF bounce, UWB radar or some other technology), but the really big billy bad boy aspect of this plane is the supercruise (otherwise known as flying at cruise power at over Mach 1).

    Supercruise gives this plane the ability to cover far greater distances in less time, with less refueling then would be required by F-15s running the same circuit at the same speeds. That translates to a far greater amount of territorial coverage for defense per plane, a terrifing capacity for a dash attack and an ability to have a lethal number of F-22s converge on a crucial position.

    Simply put, fewer F-22s will be able to defend more space, threaten attacks to keep an opponent on the defensive across more territory, and concentrate for overwhelming superiority.

    The F-22s' greatest capability is this operational superiority. Air forces across the world are trembling at the prospect of facing this beast.

    --
    ________________________________________ History Must Not Fall Into The Wrong Hands ___________________________________
  152. Moderation Totals: 11 by Louis+Savain · · Score: 2

    Moderation Totals: Flamebait=1, Troll=1, Insightful=1, Interesting=4, Funny=1, Overrated=3, Total=11.

    Interesting moderation totals. I must have struck a sensitive nerve. For the record, my site received over a twelve hundred hits in less than 12 hours after I posted my message on Slashdot. I thank the few enlightened souls who were kind enough to email me their words of encouragement. Stay tuned. There is much more to come.

    Project COSA

  153. hah someone mod this up! by MongooseCN · · Score: 2

    hah someone mod this up!

  154. Re:C macros -vs- sed? by Dare+nMc · · Score: 1

    > THEY DON'T HAVE BUILTIN MACRO PROCESSORS. Macros in C are the most useful thing about the language, in my opinion. Not having them is a horrible travesty.

    I think built-in macros are often poorly used in C/C++. I would much prefer someone use a sed script/etc called from a makefile. than to build a multi-level macro in C, who's intermediate results are not generally viewable, except at the assembly output. However if you use a macro in make, to produce c code, it will be portable to to all compilers, and you can look at the expanded c code to debug it.

  155. Re:Why java cannot be used in a realtime environme by Jamie+Zawinski · · Score: 2

    I had a professor which demonstrated the problem of this in a simple example. Suppose you are designing a robot which can climb and descend stairs. It must monitor sensors and adjust angles of its joints appropriately to go down (quite difficult, really). Now suppose the GC runs halfway through the middle of a step. All processing stops, gravity takes over, robot falls down.

    Well, your professor was a very ignorant man who understands little or nothing about modern garbage collection techniques. Just because a system uses GC does not mean it can't make guarentees about latency.

    I'm not claiming that Sun's implementation has a good, low-latency GC (it's been a while since I've used Java, so I don't know what they're up to these days) but I do know that the Java specification does not say much about such things. Which is as it should be: the desired GC behavior depends heavily on the platform on which the code is running.

    Garbage collection gets a bad reputation due to the seemingly inexhaustible supply of crappy implementations out there in the world (e.g., Perl.)

    Hence the reason java puts a clause in its license about no use in safety-critical applications.

    Oh come on, they put that in because the company is run by lawyers and they wanted to cover their asses. That license clause doesn't mean "you can't use Java in a critical application", it just means "if you do, you can't blame us."

    "Warning: coffee may be hot!"

  156. Re: Why do you need the inflight reboot? by Dark+Lord+Seth · · Score: 1

    CA Marine got splattered by US pilot1's bombs!
    CA Marine: Medic!
    CA Marine [South of Kabul]: wtf!?!?
    US Pilot1 [South of Kabul]: Shit I killed some cannucks!
    US Pilot1: Sorry!
    US Pilot2 [South-East of Kabul]: Goddamn tker
    > Console:
    > /g_friendlyFire 0
    Friendly Fire is now off!
    US Pilot1 [South of Kabul]: fagg0t
    Unable to kick US Pilot1: Option Disabled
    Osama Bin Laden: TEAMS FFS!!!
    Osama Bin Laden got vaporized by US Pilot2's Daisy Cutter!




    Ah yes, if only Afghanistan was like RTCW...

  157. I guess everyone has to do one by Sloppy · · Score: 1

    CATS: Thanks for calling Commodore Applications and Tech Support! How may we help you?
    Pilot: Uh.. I'm spiralling towards the earth, both my engines are out, and my display has a flashing red box at the top that says, "Guru Meditation #00000004.06660666"
    CATS: What is the system model?
    Pilot: The F-22 jet.
    CATS: REAL AMIGANS RUN ON REAL AMIGA HARDWARE, NOT EMULATORS!
    Pilot? *@#*! AmigaOS! I'm switching to QNX!
    CATS: Can I interest you in a coupon for $50 off your next Amiga, for $50?

    --
    As copyright owner of this comment, I authorize everyone to defeat any technological measure which limits access to it.
  158. Re:Why java cannot be used in a realtime environme by rebelcool · · Score: 2
    The JDC you download from sun (and every other major implementation that I know of) has no way for the programmer to decide when to collect, or methods for guaranteeing collection time. These two are crucial for any real-time system that wants to make use of garbage collection.

    It quickly becomes a big problem too. Such as do you let some kind of subsystem decide when to collect (and thus complicate timing rules for time-critical apps), or in-line the code into every module? When you start in-lining it you begin to lose the main reason for garbage collection, which is to remove memory management from the programmer's error-prone human nature.

    I don't know what the java designers were thinking, but probably it was that real-time precision is a small segment and not the market they were targetting, and thus went with the easier to implement, easier on the programmer style of GC.

    Honestly, 'modern' GC's aren't terribly different from the older types except they let you choose when to collect and how long to let it collect for. And every implementation has a way of determining which memory to reclaim which varies from one to another...

    --

    -

  159. There's the Banana by Anonymous Coward · · Score: 0

    I suspect it'll be a long time before it's common place on your small, private plane though -- especially since I can't imagine a single engine prop ever being designed to be "inherently unstable" in the air :)


    Well, there's what they call the Fork Tailed Doctor Killer, aka the Banana, aka the Bonanza V-tail. Has a bad yaw oscillation problem. Likes to wiggle through the air. However, you can buy a device known as a yaw damper, that will detect this yaw and automatically input ruddervator control to dampen the yaw. Basically it turns the ruddervators into a fly-by-wire system.

    The big reason fly-by-wire won't show up at the low and slow level is cost - by the time you tack on all the red tape the intial cost of any such device easily triples.

  160. Re:There Is Something Rotten in Software Engineeri by Anonymous Coward · · Score: 0

    In theory, it is possible to prove correct behavior for algorithmic systems. In practice, it is just about impossible to prove an algorithmic system of reasonable complexity correct.

    Don't believe me? I can almost guarantee you that any non-trivial processor-based system uses interrupts for a variety of events; interrupts, by their very nature, are not predictable. Suddenly your nice tidy proven algorithms have spontaneous changes made to all the global state the system keeps. Oops, time to re-verify based on a timing simulator simulating EVERY combination of times that an interrupt can occur. Yikes.

  161. Re:F-22 "avionics", flying backwards by Anonymous Coward · · Score: 0

    What you refer too is called the "Cobra Maneuver" and is indeed impressive.. especially when done by the pilot who invented the maneuver, victor pugachev, in his trusty su-27. The russians perfected this maneuver in early 1984 .. its impressive, but its nothign new,.

    -GenTimJS
    tim@jlc.net

  162. Re:There Is Something Rotten in Software Engineeri by Black+Parrot · · Score: 2

    > Also, since most software cannot be returned for refund, even if ridiculously defective...

    And of course, even if you could take it back for a refund, you'd just get another copy of the same thing.

    The actual choice is almost always between crappy software and no software, which is why people so avidly consume the crappy stuff.

    --
    Sheesh, evil *and* a jerk. -- Jade
  163. MS Pilotclip by zCyl · · Score: 4, Funny

    Hello! It appears you are trying to fire a missile, would you like my assistance?

  164. Re:On Debian? Probably more like: by zCyl · · Score: 1


    Package ejection seat is a virtual package provided by:
    ejection-seat-gnome
    ejection-seat-gnome2
    kseat
    gtk-seat++
    qteject-o-matic
    ncurses-eject
    ejection-svga


    At least Debian would note that package ejection-seat should depend on a package that provides parachute. With Redhat packages you're just as likely to accidently install ejection-seat without parachute.

  165. Re: Why do you need the inflight reboot? by whereiswaldo · · Score: 1

    Hell yeah, mod this guy up! And mod me down while you're at it. Dumbass.

  166. Interesting... by plurrbat · · Score: 1

    This strikes me as odd. It shouldn't, of course. The US Government is known for all kinds of stuff like this. However, this really sticks out for some reason. It seems an organization that can afford to murder people and design stealth technology can't create a working avionics system? Now, do we even _know_ that this story is accurate? Or is it another attempt at psuedo-reverse propaganda by the US Government? Well, I guess it doesn't matter, but, still...

  167. Re:why win98? same happens with win2k too [OT] by Anonymous Coward · · Score: 0

    Perhaps this should be part of Microsoft's Windows Logo program. You don't get the logo if you force the user to reboot for no reason. Maybe Nero doesn't have the logo anyway... not sure.

  168. fill in the blank by alizard · · Score: 2

    "Security by obscurity is for" ________________.

  169. Proof of "correctness" isn't. by Ungrounded+Lightning · · Score: 2

    It's possible to prove correct behavior for algorithmic systems. Time is explicitly accounted for in most such proofs.

    I thought all this "proven correctness" stuff was laid to rest when the "proven correct" software examples in Dijkstra's seminal book on the subject proved to have at least four bugs.

    It is not possible to prove that software is "correct". That is because what constitutes "correct" varies with the intent of the software. hello.c is "correct" if the intent was to type "Hello, world!\n" but not if the intent was to display a popup window or play a CD.

    What it IS possible to do is to prove two or more distinct expressions of the desired program behavior, one of them the program itself and all of them in formal languages, are equivalent.

    But expressing the desired behavior in ANY formal language is the act of writing a program. How do you know that the non-program expressions of the "correct" behavior themselves are "correct", rather than having equivalant bugs?

    The answer is that you do it by having the languages be as different as practical and having different people (or teams) write the various versions of the expressions of intent. Then you debug them all together, until they all agree, and all also agree with what the people THOUGHT was right when their attention was brought to the places they initially disagreed.

    This works because different people tend to make different mistakes, and different languages tend to lead even the same programmer into making different mistakes. (The former has been known since before automation. It was put to good use in the tab-card era, where one operator would punch the cards on a keypunch, then another would "verify" them by typing the same keystrokes on a similar machine.)

    Of course, if you substitute "spec" and/or "comments" for "formal description", and "QA team" for "proof engine" you have the classic team software development process. Substitute "other programmers" for "QA team" and you have the walkthrough. And so on.

    = = = =

    I agree with the rest of your point, however: Well designed, well tested software can be enormously more reliable than the hardware it runs on. A program is digital. If it is correct, it is ALWAYS correct. It never fails, never makes a mistake, and never wears out.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    1. Re: Proof of "correctness" isn't. by Black+Parrot · · Score: 2

      > I thought all this "proven correctness" stuff was laid to rest when the "proven correct" software examples in Dijkstra's seminal book on the subject proved to have at least four bugs.

      I haven't heard that particular story, but proofs certainly haven't been laid to rest by that or anything else.

      > It is not possible to prove that software is "correct". That is because what constitutes "correct" varies with the intent of the software.

      Yes, formal proofs require formal specs. (IMO the mere fact of pinning down the spec that carefully will probably do as much good as the verification proofs would.)

      But the challenges of constructing formal proofs are irrelevant to the claim that algorithmic systems are inherently unstable. The fact that you can prove correctness for some algorithms is sufficient to refute that claim.

      --
      Sheesh, evil *and* a jerk. -- Jade
    2. Re: Proof of "correctness" isn't. by Ungrounded+Lightning · · Score: 2

      But the challenges of constructing formal proofs are irrelevant to the claim that algorithmic systems are inherently unstable. The fact that you can prove correctness for some algorithms is sufficient to refute that claim.

      Substitute "equivalence" for "correctness" and I agree completely. Algorithmic systems are not inherently unstable (read that "buggy").

      The ease with which they can be built and modified leads to the construction of software that is fantastically more complicated than what could be implemented in hardware with a similar amount of manpower. This creates more opportunities for error. Then sloppy programmers (or programmers rushed by sloppy managers) ship software with errors and this creates the illusion that flakeyness is inherent in software.

      But with sufficient care every piece of this complexity, including the assembly of the pieces into a system, can be implemented correctly (no bugs) and/or robustly (works appropriately despite bugs). And unlike hardware, once implemented appropriately software KEEPS working correctly and/or robustly, unless/until someone breaks it by changing it or its environment.

      --
      Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
  170. What if avionics ran on... by Anonymous Coward · · Score: 0

    * Windows. I don't need to say it - use your imagination.

    * Macintosh. An elegant joy to use, but the only airplane that comes with it is translucent turquoise and shaped like a giant sphere.

    * Nokia. Good quality if a bit simplistic, but it works only when you're flying over Europe.

    * Amiga. Perfect in every conceivable way, except that it's available for only restored P-39s.

    * Sony. Controls are very simple, durable, and easy to use, but the screen can display a maximum of three gauges at a time.

    * Palm. You have to replace it every 2,000 miles.

    * UNIX. Pros: sophisticated, minimalistic, and rock-stable. Cons: the altitude-reading command is called "qxz" and the HUD is done in ASCII art.

  171. Re:There Is Something Rotten in Software Engineeri by gmarceau · · Score: 2

    you'd just get another copy of the same thing

    Not quite a refund, ain't it?

    which is why people so avidly consume the crappy stuff

    Which is why people came up with open source.

    --
    This post was compiled with `% gec -O`. email me if you need the sources
  172. Well, I'm glad someone came up with the right answ by putaro · · Score: 1

    Really you guys - all of the clues were in the first post. Circle is always the same size, only the tickmarks move. Everyone who said "Breshenham's" gets a D+. Pre-computation of sine & cosine gets an F+.

  173. Hard to say which will cost more... by godzilla808 · · Score: 1

    per call tech support charges or crashed planes.

    --
    ...///...
  174. Re:Why java cannot be used in a realtime environme by Glock27 · · Score: 2
    I suggest you look at the Realtime Specification for Java. You can find it here.

    It's been final since September 2001.

    --
    Galileo: "The Earth revolves around the Sun!"
    Score: -1 100% Flamebait
  175. Re: Why do you need the inflight reboot? by Art+Tatum · · Score: 1

    Ja Wohl!

  176. Re:Why java cannot be used in a realtime environme by Glock27 · · Score: 1

    Make that "since November 2001"...sorry it was a brain cramp. ;-)

    --
    Galileo: "The Earth revolves around the Sun!"
    Score: -1 100% Flamebait
  177. David Wood is a dick by Anonymous Coward · · Score: 0

    This post is offtopic, inflammatory, but true.

  178. DaveWood is a dick by Anonymous Coward · · Score: 0

    Truism number 2

  179. DaveWood is a dick by undecidable · · Score: 1

    Truism number 3

    --
    "The only rights you have are the rights you are willing to fight for."
  180. DavidWood is a dick by undecidable · · Score: 1

    Truism number 4

    --
    "The only rights you have are the rights you are willing to fight for."
  181. LOL by DaveWood · · Score: 2

    Ah, undecidable. Forgot to click anonymous? Oh well. So nice to see you again.

    I know I must have hit pretty close to the mark in our previous conversation to earn your lasting affections. ;)

  182. DaveWood is a dick by undecidable · · Score: 1

    Hi Dave,

    I just want you to recognize that you own what you say. I'll be bothering you for quite a while, just to remind you.

    It's all about Karma, after all.

    Perhaps you'll even grow up a little bit. I honestly hope that it doesn't have the opposite affect: making you even more belligerent.

    --
    "The only rights you have are the rights you are willing to fight for."
  183. OK Captain Hypocrite by DaveWood · · Score: 2

    If you have a burning need to make an ass out of yourself, then by all means, don't let me stop you.

    Frankly, I feel you'd really be shortchanged if you didn't strive for even higher levels of embarrassment.

    Have yourself a ball, cheez whiz. :)

  184. Re: War Machine by Stefan+S · · Score: 1

    I think that saying should be attributed to uncle Joe (Stalin) and he said: Every country has an army, its own or someone else. PS I think the Saudis can agree about that nowadays... DS

  185. Re:C macros -vs- sed? by conway · · Score: 1

    The pre-process-only option (-E) to the C compiler produces the result of macro expansion.

  186. Oh, I almost forgot to mention by DaveWood · · Score: 2

    Welcome to my ignore list. ;)

  187. Re: Quote by Embedded+Geek · · Score: 1
    You're probably right about Stalin using the quote, even though I heard it in context of the Swiss army. Fact is, a quote that handy has probably been recycled a few millions times. Kinda makes you wonder who started it...

    "Every Neanderthal encampment has a bunch of alpha males in it..."

    --

    "Prepare for the worst - hope for the best."