5 ms·
> the bug [..] only presented when many aircraft at the same time were using the system. This implies that the calculations are done externally to the plane? T
by adamhp 4y ago
> the bug [..] only presented when many aircraft at the same time were using the system.
This implies that the calculations are done externally to the plane? That seems... interesting.
- yunohn 4y agoAnd somehow this algorithm is not isolated by plane!? That’s quite literally insane - why would it not be a pure function…
- jaywalk 4y agoHaving no knowledge about how the system works, I could imagine the bug being that one of the calculations timed out under load and wasn't caught, leading to the output not being added to the final calculation.
- cratermoon 4y agoWhat does that even mean?
- is_true 4y agoI think it might be related to the fact that some external data related to the airport is used and shared between planes there
- dghlsakjg 4y agoPlanes operate in a world that throws variables at them like headwinds, thunderstorms, density altitude, cargo, etc... If you are going to factor the rest of the world into it, why do you need to isolate the calculatons to the plane?
- yunohn 4y agoI mean isolate calculations to the factors influencing the 1 plane in question - shouldn’t really share mutable data across planes.
- cratermoon 4y agoYes, they are done in the operations center. The weight of the aircraft empty, how much fuel has been loaded, how many passengers are boarding, the baggage weight, any cargo carried, the airport altitude, weather, runway length, and a great many other variables, plus a safety margin, all come from a variety of sources. Why would it be done on the aircraft, and how?
- burnished 4y agoWhy does this seem so absurd to you?
- phh 4y ago> Why would it be done on the aircraft, and how? I have the idea that a captain is responsible for its flight, and thus want to have as much information as possible. I think flights have their own full manifest anyway, so they have all the information you mentioned? As to "how", I'm not sure I understand the issue, can't the same computations be done locally? The computations you mention doesn't sound too computing intensive. I concur with sibling "Why does this seem so absurd to you?". You probably know real reasons for this not to be done from aircraft, and we're curious to see some.
- dghlsakjg 4y agoThe pilot arrives about when you do, or is already on board from the previous flight. Sure, the pilot could plug those numbers into the same computer the dispatcher does before they board, or disembark and use the computer and re-board, but it would be one more thing to do before you can start boarding. They could install that computer on every plane, but that's one more piece of equipment to go wrong/need to be certified, etc... Why not have a helper who has access to networked systems with all of the cargo and passenger information available do it for the pilot, and access to complex software that they are specifically trained in, and have the calculations printed out and done for the pilot to review? Well, that's exactly what they do. The pilot could probably do the calculations by hand (it is something you have to demonstrate knowledge of for small plane licenses, which all these pilots have), but that would take an hour at least. While the calculations aren't compute intensive, there are a LOT of variables. Off the top of my head: passenger count, altitude and temperature at both departure and destination, cargo, cargo distribution, fuel, fuel distribution, reserve fuel needed for the weight carried and destination and routing. What you end up with is that you want someone whose job it is to exclusively know how to correctly load the planes, and brief the pilots on how they've done it. So what happens is exactly that. There's a room full of people for any given airline who figure out the weather, the cargo they need to to move, how full flights are, etc. and do all the math and hand the pilot a ream of paperwork that says that we loaded the plane factoring all these things in, here's the proof of work. And the pilot says: looks good. A person with more tools and information and expertise than me on loading has proven they did their job, I trust them in the same way that I trust the mechanic who rebuilt this engine, and the fuel guy who pumped the correct amount of fuel into the correct tanks, and the flight crew who have checked that the doors are latched and armed.
- jaywalk 4y agoThat's how it's done from the smallest Cessna to the largest Boeing and Airbus aircraft. Nothing unique about Alaska's setup.
- iforgotpassword 4y agoAnd probably coded to run multithreaded and using global variables for intermediate results. ;-)