News: 1707121568

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Developer's default setting created turbulence in the flight simulator

(2024/02/05)


who, me? Welcome once again, gentle reader, to another instalment of Who, Me? – the Monday missive in which Reg readers share stories of occasions on which their prowess didn’t quite meet techn repair challenges.

This week meet a reader we'll Regomize as "Shirley" whose very first job as a software developer was for a firm that built professional flight simulators for pilot training. You know the sort of thing: essentially the cockpit of an airplane, connected to computers to recreate conditions pilots might encounter during flight, surrounded by a screen outside the window so it looks real, and all amounted on an electro-pneumatic motion platform so it feels real too.

These things are not cheap. The experience must be as much like flying a real aircraft as possible, so the parts they're made of are the real deal – from switches and levers down to the delicate electronics underneath it all. This is not an Xbox.

[1]

Or, as Shirley put it, "even the paperwork would set you back thousands."

[2]

[3]

The sim Shirley worked on his had been promised to a client for $16 million. And Shirley was one of thirty developers working on it, so it was in use pretty much around the clock, with limited time to test things out.

(Shirley recounted a separate incident in which a dev was working on a simulator and accidentally shut the power down when he was alone in the lab at 3:00 AM, so he had to climb out the emergency escape hatch and down a rope ladder in the dark. Guess that guy picked the wrong week to give up … whatever.)

[4]

Anyway, deadlines and testing schedules led to a fairly chaotic atmosphere on Shirley's project.

[5]One person's shortcut was another's long road to panic

[6]Poor communication led to complete lack of communication

[7]WTF? Potty-mouthed intern's obscene error message mostly amused manager

[8]New year, new bug – rivalry between devs led to a deep-code disaster

The bit he was working on had to do with the vibration system (remember that electro-pneumatic platform?) to make it feel like the trainee pilots were really up in the air, experiencing real things that happen in flight – you know, like, say, extreme turbulence. Sitting in the cockpit with his laptop, Shirley implemented a "nifty little slider control" that would adjust how much the cockpit shook – from zero to 100 percent. That last setting probably not something you want to encounter on a real flight.

Having finished his coding, Shirley went to test his changes. And when he switched it on, he realized to his horror that he had neglected to consider what the default setting should be.

The simulator – or whatever gods of mischief were in charge at that moment – therefore decided the default should be set to 100 percent, a condition that felt more like a plane hitting a mountain than a plane in flight.

At that level, the sixteen million dollars worth of delicate machinery began trying to destroy itself, not to mention the young software developer inside – who was learning how it feels inside a cocktail shaker.

[9]

Somehow, despite his skeleton and his brains being jangled violently in opposite directions, Shirley found sufficient coordination to adjust the slider on his laptop down to a more survivable level.

Thankfully there was no damage to either the machine or Shirley – but he didn't mention the incident to the boss.

If you've ever made a small error that nearly led to the destruction of millions of dollars worth of equipment, you're not alone. Tell us about it in [10]an email to Who, Me? and we'll share it with other readers.

Get our [11]Tech Resources



[1] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=2&c=2ZcC-2ToFZTNmWSs9I6KdgQAAABE&t=ct%3Dns%26unitnum%3D2%26raptor%3Dcondor%26pos%3Dtop%26test%3D0

[2] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZcC-2ToFZTNmWSs9I6KdgQAAABE&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[3] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZcC-2ToFZTNmWSs9I6KdgQAAABE&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[4] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=4&c=44ZcC-2ToFZTNmWSs9I6KdgQAAABE&t=ct%3Dns%26unitnum%3D4%26raptor%3Dfalcon%26pos%3Dmid%26test%3D0

[5] https://www.theregister.com/2024/01/29/who_me/

[6] https://www.theregister.com/2024/01/22/who_me/

[7] https://www.theregister.com/2024/01/15/who_me/

[8] https://www.theregister.com/2024/01/08/who_me/

[9] https://pubads.g.doubleclick.net/gampad/jump?co=1&iu=/6978/reg_software/front&sz=300x50%7C300x100%7C300x250%7C300x251%7C300x252%7C300x600%7C300x601&tile=3&c=33ZcC-2ToFZTNmWSs9I6KdgQAAABE&t=ct%3Dns%26unitnum%3D3%26raptor%3Deagle%26pos%3Dmid%26test%3D0

[10] mailto:whome@theregister.com

[11] https://whitepapers.theregister.com/



Shirley?

CT

You can’t be serious

Re: Shirley?

simonlb

We actually introduced our 17 year old daughter to Airplane! last night. She wasn't sure what to expect but when she saw the magazine rack label said 'Whacking Material' she burst out laughing. She liked the film.

John Riddoch

"And don't call me Shirley"

J.G.Harston

Big Daddy?

Roger Greenwood

Few are going to get that reference, but I am not crabby about it.

Anonymous Coward

Few are going to get that reference

Yes, the reference is rather hard to find, like looking for a needle in a giant haystack...

Floored me

Sam not the Viking

Inspired insight. Have one of these ---->

Doctor Syntax

He had to wrestle with the controls.

BartyFartsLast

It's hard to resist punning the hell out of this, I'm wrestling with my conscience here

Military IT Moves

Barking House

From the 1980's, watched opened mouthed as Royal Navy matelots manually dragged a PDP system out of the onshore DC I was about to enter and loft it onto a flatbed truck. They tied it down, put a canvas over it and set off. I suspect it was not functional when it arrived and was offloaded to whatever destination it was going to.

I did raise my concerns with the person who was hosting me on site but they just shrugged their shoulders and said it was not part of their IT domain.

Re: manually dragged a PDP system

ldo

DEC “PDP” systems came in a lot of different families and sizes. If this was the 1980s, it was very likely it was obsolete and decommissioned anyway.

Re: manually dragged a PDP system

Phil O'Sophical

And, knowing PDPs, would probably still have booted even after being dropped from that flatbed at its destination.

Re: Military IT Moves

wyatt

Before I left the Army I went to a cold place on a comms exercise. The generators were put onto ISO pallets, covered in plastic sheet and shipped over. When the generators were switched on the majority failed to start, having ingested an amount of salt water. This was pointed out before they departed the UK but it wasn't the persons job who was shipping them to make sure they worked on arrival, just to make sure they arrived.

Have You Ever Been In A Turkish Prison?

ldo

Actually, [1]you can , and live to tell the tale.

[1] https://guide.michelin.com/en/hotels-stays/istanbul/four-seasons-hotel-istanbul-at-sultanahmet-7293

Re: Have You Ever Been In A Turkish Prison?

An_Old_Dog

Wowee! Those pics (if you follow Ido's link) are awesome.

Re: Have You Ever Been In A Turkish Prison?

werdsmith

Feels a bit off topic (bit of advertising?) , but the former HMP prison at Oxford Castle is now a Malmaison hotel and still has the look of the prison landings.

Wrong defaults

ColinPa

I remember that someone wrote a nifty script that went checked something every second (for example if a file has changed, notify me so I can do something). This was a great little tool and soon every one was using it. Soon every one (100s of people) were using it on the server. People left this running overnight when they were not at work.

The system got slower and slower as more and more CPU was used. The root cause was this little program. When they set the default interval between checks to 10 minutes the CPU problem went away, and a check every 10 minutes was fine for the end users.

Fuses?

Phil O'Sophical

Shouldn't mechanical systems like that have some sort of fuse equivalent, a sacrificial component that would break and stop the system before anything really expensive went pop?

Re: Fuses?

Sam not the Viking

If it's designed to go 0-100% nothing would happen before then anyway. Mechanical fail-safes can be tricky to make, set, calibrate and maintain.

For excessive vibration, it's far easier, more accurate and more reliable to have a transducer monitoring conditions. The associated electronics will determine whether things have gone out of control. After all, the operator might have become incapable for medical reasons.

High speed electronics

Anonymous Coward

I forget the system name, it may even have been bespoke in house but a modest workshop I had a summer job at had a fancy conveyor (rubber cords running in grooves) system to dispense and distribute prepicked trays of components to the assembly workstations. It used small pneumatic pistons to push the trays from one central conveyor on to a perpendicular one and, as the system aged, the creaky pistons stopped doing their job reliably. In response to the grumbling, someone volunteered that the regulators could be adjusted for a little more power. After lunch, there was quite a commotion when trays of components started flying through the air. It seems that someone on another distribution line was upset at not getting their line adjusted too and had copied the procedure without understanding the method. They'd simply wound the regulator fully open and the result helped a lot with the post-lunch sleepiness.

wolfetone

Was the software for the simulator fluent in Jive?

sort of on topic...

james 68

The first several times I got to play in an RAF flight simulator it had the pneumatic (hydraulic?) Cockpit, both fixed wing and Heli cockpits were available,but the interior view was provided by a tiny camera on an arm that moved throughout a rather large physical scale model of the Welsh mountains. I was given to believe that the army also had a not dissimilar setup for tank training.

Re: sort of on topic...

Killfalcon

I think Tom Scott did a video just last year about a hobbyist-built submarine simulator that used a similar setup, with the camera in a well-maintained pond. Very neat systems.

Re: sort of on topic...

Andy Taylor

This was also the method for the original Concorde simulator. I visited Filton in 1991 and had a go in the simulator (take-off, circle, land at JFK airport) with the more recently installed computer generated display. I only needed a little help with the landing.

The computer room was mostly taken up with the older physics simulator part of the system (complete with paper tape readers) with all of the graphics being handled by a single rack in the corner.

Has everybody got HALVAH spread all over their ANKLES?? ... Now, it's
time to "HAVE A NAGEELA"!!