News for hackers. Stuff that matters.
Re:Tour of the server room in the Airbus 350 by l33tman on Tuesday June 22, 2021 @04:27AM (#27589292)
Later in the video at 4:48 approx he demonstrates the nav computer GUI in the cockpit and I cringed when he used the touchscreen and there was a lag of about 2-5 (!) seconds after every interaction. My... god.... I kind of almost heard the mechanical drive seeking and reading and searching the heavily fragmented map data...
Re:Tour of the server room in the Airbus 350 by brunooo on Tuesday June 22, 2021 @09:39AM (#27591459)
https://en.m.wikipedia.org/wiki/DO-178C is a good starting point to understand certification requirements, and Wind River has a lot of documentation around VxWorks, which is actually quite modern supporting Rust etc.

The issue is that even a slight overlap with other cockpit functions puts you in a much stricter regime, and thus a simple modern map rendering framework doesn’t work, because its components and dependencies have never been sufficiently dissected - you rather have a 5 second lag, terrible as it sounds from a pragmatic safety perspective, than having anything, especially your own position, misplaced only once in a billion map redraws.

The practical solution is that most airlines by now fly with iPads, Jeppesen Flight Deck Pro but even GA stuff like ForeFlight, which is also owned by Boeing, is popular for quick lookups like taxi instructions etc.

Re:Tour of the server room in the Airbus 350 by fatnoah on Tuesday June 22, 2021 @10:33AM (#27592132)
>Wind River has a lot of documentation around VxWorks, which is actually quite modern supporting Rust etc.

Wow. I remember spending 3 weeks in Alameda CA to get trained and certified on VxWorks for a project...in 1999!

Re:Tour of the server room in the Airbus 350 by wolverine876 on Tuesday June 22, 2021 @12:50PM (#27594056)
The use of iPads always surprises me. What happens if they run out of power? Do they bring a redundant iPad?

BTW, are you a pilot or in the airline industry?

> https://en.m.wikipedia.org/wiki/DO-178C is a good starting point to understand certification requirements

OT: People's faith in Wikipedia seems to be increasing on HN, which is odd for a sophisticated audience in the era of misinformation.

Re:Tour of the server room in the Airbus 350 by dekhn on Tuesday June 22, 2021 @01:29PM (#27594514)
On a flight once I saw the person next to me was looking at topo maps on an ipad and we started a conversation. They were a pilot for United and said all the training and much of the data is on ipads, if one breaks you just get handed a new preloaded one, and it's not used for anything flight critical.
Re:Tour of the server room in the Airbus 350 by brunooo on Tuesday June 22, 2021 @02:30PM (#27595329)
Non-airline pilot and generally curious, plus work on viability of new ground up stack for vehicle vs Garmin or Honeywell.

Rules for my own small GA plane flights if it’s in one without glass cockpit are: two fully charged devices with latest data on both (iPad and phone), flight plan on both (ForeFlight syncs automatically), plus two means of charging (larger Anker pack, and dashboard USB or 12V outlet).

Re:Tour of the server room in the Airbus 350 by wolverine876 on Tuesday June 22, 2021 @05:22PM (#27597397)
Thanks. Have you ever had a failure of your devices? Do you know anyone who has?

I could see tablets as being far more efficient and thus effective in a crisis - no searching through thousands of pages, no juggling large volumes, just hold a tablet and search or click a bookmark. I'm just trying to get the full picture.

Re:Tour of the server room in the Airbus 350 by brunooo on Tuesday June 22, 2021 @06:37PM (#27598159)
Sure: no failures myself yet, although battery is an issue on 4 hour+ flights, and tapping into a layer of redundancy by charging always feels a bit odd.

The iPad is actually mounted on the yoke right in front of you, some people mount it to the side with suction cups against the window, and starting to fiddle with the backup phone is already a distraction if the main hands free one goes down. Issues friends had were heat shutdowns in summer, plus one already cracked screen where the backlight then suddenly failed.

You rarely use the iPad in critical flight stages anyway, it’s more a navigation aid and displaying other traffic, and good practice to (see battery point above) keep the screen switched off for longer to stay proficient in the traditional approaches anyway.

The arguably number one case were an iPad with the fast updating screen is helpful in a crisis is an engine failure or similar emergency where you need to find a place to land fast, and as it knows the airplane you’re flying in, terrain underneath, winds etc it literally draws and uneven (different terrain) circle around your current position and shows you what is probably realistic. Another one is as potential fallback if one of the actual instruments fails, once had a stuck compass for example.

Re:Tour of the server room in the Airbus 350 by dekhn on Tuesday June 22, 2021 @01:28PM (#27594495)
Yes, and the correct response is: of all the flights that have crashed and killed people in the last 10 years: was the slowness of the UI for flight operations the root cause?

The answer to that is: "almost certainly a very tiny one". Aviation computing, while externally quite boring, is exciting in the sense that tremendous effort is put into making a computing system that ensures a flight makes it from its source to its destination without killing people.

It's amazing how just a few accidents in the 50s, 60s, and 70s led to an unbelievable improvement in safety, consider that the IT systems are really constrained. Makes you wonder what you could do with a modern PC if you really tried.

Re:Tour of the server room in the Airbus 350 by laurent92 on Sunday June 27, 2021 @11:38AM (#27652408)
A few accidents? There are 20 seasons of Air Crash Investigation, and 20 episodes each. Total 400+ accidents (probably a quarter of which with the DC-10).

There are only 480 submarines in the world, and the 400 episodes exclude General Aviation accidents (non-planned routes) so there are definitely more planes than submarines which dived into water…

Re:Tour of the server room in the Airbus 350 by durnygbur on Tuesday June 22, 2021 @04:41AM (#27589366)
Youtube interrupted the video with an ad for me exactly at that timestamp, airplanes still need to catch up. So much monetization left on the table. Pilots must be among the most valuable target audience.
Re:Tour of the server room in the Airbus 350 by will_asouka on Tuesday June 22, 2021 @06:02AM (#27589784)
Where's the commercial benefit though? The cost of certification is huge so upgrades after initial certification don't happen unless the tech has big cost benefit (or safety, which is also cost at second order).

Hence A320 still running on Motorola 68000 of Sega Genesis etc fame.

And 737max having a top panel from the 60s.

Re:Tour of the server room in the Airbus 350 by durnygbur on Tuesday June 22, 2021 @07:10AM (#27590203)
I was joking obviously but that would the the answer to the marketing manager.
Re:Tour of the server room in the Airbus 350 by will_asouka on Tuesday June 22, 2021 @07:22AM (#27590286)
Ah you were saying serve ads on the flightdeck displays! Ok that's innovative- I'd recommend featuring big watches, mirrored sunglasses and divorce lawyers.
Re:Tour of the server room in the Airbus 350 by plebianRube on Tuesday June 22, 2021 @08:28AM (#27590805)
Why not just promote ads based on their conversations like everyone else?
Re:Tour of the server room in the Airbus 350 by cmpb on Tuesday June 22, 2021 @09:38AM (#27591441)
Mayday, mayd 'THIS FRIDAY ON "AIR FIRE WATER MOUNTAIN RESCUE: ALASKA": "It sort of just fell from the sky!" - TUNE IN THIS FRIDAY AT 7 EASTERN'
Re:Tour of the server room in the Airbus 350 by gumby on Tuesday June 22, 2021 @09:36AM (#27591431)
Yeah, gotta monetize that cockpit recorder. Wasted fodder for a crew campaign.

You could even insert ads into the recordings to reach the people who listen to the recordings after an accident!

Re:Tour of the server room in the Airbus 350 by mrweasel on Tuesday June 22, 2021 @11:20AM (#27592775)
I thought you where joking about the Motorola 68000 in the A320, but nope, it’s part of the flight control system.
Re:Tour of the server room in the Airbus 350 by p_l on Tuesday June 22, 2021 @12:27PM (#27593725)
Honeywell FMS systems use AMD29000 to this day, including in new designs, and Honeywell even bought the licenses to operate as fabless manufacturer for it.

The reason is simple - they need stability of parts supply with minimal recertification costs, and in this case it means that by having an already certified cpu (AMD 29k) and full manufacturing line capability for it, they don't have to face issues with vendor deciding to scrap a line (like another popular design, i860, had to deal with) or having to constantly recertify and update for newer parts.

And quite often the computing requirements didn't really grow

Re:Tour of the server room in the Airbus 350 by notyou2 on Tuesday June 22, 2021 @07:38AM (#27590414)
This screen (Onboard Information System) is run from from a laptop that is behind the seat, that's not directly part of the aircraft systems
Re:Tour of the server room in the Airbus 350 by tibbydudeza on Tuesday June 22, 2021 @04:40AM (#27589353)
Probably because it is 10 year old older hardware but thoroughly tested.

Using Chrome/JS/CSS on the latest Ryzen might be neat but when you need to transport 300 passengers daily around there is other sort of concerns then taking up 3 folks to the ISS every 6 months.

Re:Tour of the server room in the Airbus 350 by jeltz on Tuesday June 22, 2021 @06:08AM (#27589819)
That is no excuse. It was possible to create almost instantly responsive UIs more than 20 years ago.
Re:Tour of the server room in the Airbus 350 by qayxc on Tuesday June 22, 2021 @07:32AM (#27590368)
Since we don't know anything about the internals, it's safe to say the goal was "good enough and certified" vs. "snappy but no guarantees it works correctly 100% of the time".

This is an airplane after all, not a consumer-grade gadget.

Re:Tour of the server room in the Airbus 350 by paavohtl on Tuesday June 22, 2021 @08:27AM (#27590785)
They might have different standards and I'm not a pilot, but in my opinion having multiple seconds of UI lag in vitally important interfaces is not good enough nor deserves certification.
Re:Tour of the server room in the Airbus 350 by xnyan on Tuesday June 22, 2021 @10:31AM (#27592099)
The safety record for commercial airlines is extremely good per mile traveled as compared to pretty much any other form of powered transportation. At some level I share your concerns about UI lag, but it would seem not to negatively affect safety of flights in any detectable way.
Re:Tour of the server room in the Airbus 350 by p_l on Tuesday June 22, 2021 @08:39AM (#27590896)
it's not considered vitally important interface, that's probably even the reason for the lag - higher priority tasks preempting it.
Re:Tour of the server room in the Airbus 350 by justsid on Tuesday June 22, 2021 @09:27PM (#27599666)
This. The PFD and ND, the displays showing actually important data like the plane attitude, altitude and also another map responds immediately to changes. But the map shown in the video just isn’t safety critical and simply doesn’t matter in the worst case.
Re:Tour of the server room in the Airbus 350 by curryst on Wednesday June 23, 2021 @12:43PM (#27606553)
Some of that may be due to redundant devices. You're waiting for at least 2 devices to return a reading, and probably a third thing that handles reconciling the results.

The speed of this thing doesn't seem particularly vital either. Everything of interest in a split second scenario is already on-screen; just looking at their speed, it would you a comparatively long time to get off the edge of the map. If you have time to get off the edge of the map, you have time to wait a couple seconds for the page to load. If you don't have time to get off the edge of the map, there's not really a reason to fidget with it.

I agree, it seems annoying, but it doesn't ultimately seem dangerous. I can't think of a situation where you a) need to change the screen, and b) don't have time to wait for the UI to update. And I would much rather have 2 seconds of UI lag to get a known correct response than milli/nano seconds of lag to get a probably correct response. Most of us exist in a world where the response time is more important than absolute correctness.

Re:Tour of the server room in the Airbus 350 by teddyc on Tuesday June 22, 2021 @09:30AM (#27591351)
Agree. I supported a DOS based touchscreen Point of Sale (POS) with technology from decades ago and it was fast AF. You only got 256 colors and the fonts didn't look that great. But it was a speed demon.
Re:Tour of the server room in the Airbus 350 by mastax on Tuesday June 22, 2021 @10:20AM (#27591951)
In an emergency situation, an unresponsive and unintuitive GUI may be very dangerous. Especially if pilots forget how to use it because they're using the iPad day to day but right now it's rebooting to install an update.

Like, I get the argument for certification but maybe the requirements should have a minimum level of performance. If that's not possible maybe we should find a different equilibrium.

Re:Tour of the server room in the Airbus 350 by p_l on Tuesday June 22, 2021 @12:29PM (#27593747)
There are requirements for performance - appropriate to the function.

The electronic flight bag interface is not used in emergencies, one of its main uses is in planning and submitting flight plans before takeoff, and it's generally not used for actively flying the plane.

Re:Tour of the server room in the Airbus 350 by 7952 on Tuesday June 22, 2021 @04:44PM (#27596943)
Exactly. In an emergency the last thing the pilot wants to do is navigate a map interface for anything. Better to just select the alternate flight plan that was setup hours ago during flight planning.
Re:Tour of the server room in the Airbus 350 by j16sdiz on Tuesday June 22, 2021 @10:52AM (#27592407)
That's why pilot are mandated to do simulation tests every few months
Re:Tour of the server room in the Airbus 350 by 7952 on Tuesday June 22, 2021 @04:39PM (#27596885)
That assumes that deep navigation of a UI is necessary or desirable in an emergency. I think most of the important stuff is done with the main controls, dedicated switches, and screens/dials that are always on and ready.
Re:Tour of the server room in the Airbus 350 by rbanffy on Tuesday June 22, 2021 @05:30AM (#27589606)
It was certified as testes, so the lag has been there for the whole 10 years.
Re:Tour of the server room in the Airbus 350 by sslayer on Tuesday June 22, 2021 @06:37AM (#27589993)
Dependability and reliability override responsiveness
Re:Tour of the server room in the Airbus 350 by netr0ute on Tuesday June 22, 2021 @09:46AM (#27591540)
Ironic, because responsiveness might inherently make it undependable because if you really needed to know where you are right now, that multiple-second delay isn't going to help.
Re:Tour of the server room in the Airbus 350 by p_l on Tuesday June 22, 2021 @10:04AM (#27591739)
Aviate, Navigate, Communicate, in this order.

And the map isn't even part of the primary navigation method, plus with multi pilot crew usually you can offload slower, less time critical tasks to copilot.

Re:Tour of the server room in the Airbus 350 by demarq on Tuesday June 22, 2021 @08:40AM (#27590906)
spacex already disproved this myth

have a look at the last manned mission they did. Glorious touch screen displays with all the bells and whistles.

Re:Tour of the server room in the Airbus 350 by benhurmarcel on Tuesday June 22, 2021 @10:53AM (#27592412)
SpaceX doesn't certify to FAA/EASA, and also doesn't have to work for 30 years.
Re:Tour of the server room in the Airbus 350 by alistairSH on Tuesday June 22, 2021 @09:59AM (#27591693)
SpaceX's crewed capsule is 5-10 years newer than the A350.

I imagine SpaceX has a different set of certification requirements (ie Airbus has stronger financial incentives to use existing, approved designs for components).

Re:Tour of the server room in the Airbus 350 by mrweasel on Tuesday June 22, 2021 @11:22AM (#27592814)
Didn’ someone later confirm that there is in fact physical buttons below the touch screen, because you can’t actually use the touch screen with cloves on anyway.
Re:Tour of the server room in the Airbus 350 by crakenzak on Tuesday June 22, 2021 @02:59PM (#27595688)
the touch screens work with gloves they confirmed, the physical buttons are for backup.
Re:Tour of the server room in the Airbus 350 by benhurmarcel on Tuesday June 22, 2021 @11:32AM (#27592958)
As you can see in other videos, it's not usually that terrible. Apparently it's a screen showing the laptop's view (electronic flight bag), so it depends on the laptop and application.

https://www.youtube.com/watch?v=Xyctm0as-Eg&t=118

Re:Tour of the server room in the Airbus 350 by jfrunyon on Tuesday June 22, 2021 @07:18AM (#27590250)
The lag looks more to me like waiting for network response with the imagery...
Re:Tour of the server room in the Airbus 350 by FearlessNebula on Tuesday June 22, 2021 @08:22AM (#27590751)
Seriously, for $329 you can get an iPad with Foreflight that’s 100x smoother.
Re:Tour of the server room in the Airbus 350 by durnygbur on Tuesday June 22, 2021 @08:42AM (#27590914)
Professional Garmin equipment is already orders of magnitude more expensive though.
Re:Tour of the server room in the Airbus 350 by FearlessNebula on Tuesday June 22, 2021 @09:12AM (#27591150)
Foreflight on an iPad is fully certified
Re:Tour of the server room in the Airbus 350 by brunooo on Tuesday June 22, 2021 @11:30AM (#27592935)
As a flight bag / printed material replacement.

Try tapping on Belfast Muni airport (KBST in ICAO) in Maine in ForeFlight, and the dataset consolidation will pull Bost airbase (BST in IATA) in Afghanistan. While it’s fairly obvious that you’re not going to Central Asia in your Piper, imagine pulling the 3x longer runway into your FMS and have it compute landing settings or add it as emergency alternate for your A350 into Boston.

It’s still completely different levels of reliability.

Re:Tour of the server room in the Airbus 350 by ericpauley on Tuesday June 22, 2021 @11:51AM (#27593221)
Wow, just tried this and can confirm it pulls the wrong airport info. Interestingly searching KBST directly does not have this issue.
Re:Tour of the server room in the Airbus 350 by alfalfasprout on Tuesday June 22, 2021 @05:28PM (#27597470)
Not for instrument flight it's not. You can view charts on it. You cannot use it as your primary instrument (except in an emergency).

That said... in practice it's a FAR better experience than crappy built-in avionics.

Re:Tour of the server room in the Airbus 350 by FridayoLeary on Tuesday June 22, 2021 @08:23AM (#27590762)
You would imagine the software and hardware should be several levels above what we would expect to get from even premium brands such as Apple M1 etc. Because it's hard to imagine the pilot trying to restart a piece of equipment in an emergency and getting a blank white screen and a "do you want to send an error report" message coming up.
Re:Tour of the server room in the Airbus 350 by Voloskaya on Tuesday June 22, 2021 @09:19AM (#27591228)
> You would imagine the software and hardware should be several levels above what we would expect to get from even premium brands such as Apple M1 etc

You would actually expect it to be several levels below, but extremely well tested, just like spacecraft hardware/software.