Live data from Hacker News

What computer and software is used by the Falcon 9? (2015)

space.stackexchange.com

71–80 of 160 posts

Re: What computer and software is used by the Falcon 9? (2015)

#71
post #49
post #26

Earlier quoted context omitted.

Why not Javascript? I would argue that a good usable UI in a spacecraft is a good thing, and Javascript is a great language for building UIs

Javascript is a bad language period. For anything. It's used for UIs for historical reasons, not because it's good.

Javascript has also evolved quite a bit and there is also TypeScript that improves on that. The language is not perfect by any means, but it gets better.

Re: What computer and software is used by the Falcon 9? (2015)

#72
post #53

Earlier quoted context omitted.

Any idea if there's a database layer (eg SQLite, PG, etc) on the systems?

On the ground side, yes, there are many databases for different purposes. But not on the actual flight software.

Very curious, how is state persisted where non-volatile storage is needed, and how is that persistence structured?

Re: What computer and software is used by the Falcon 9? (2015)

#73
post #54

Using a gigantic overly complex software written in a non-memory-safe language for a system that gives commands to the flight control system? This is how you get the Cylons pwning your spaceships. >sigh<

Adama wouldn't have worried so much about networked ships if the people who programmed this ship programmed Battlestars. They still used COBOL.

They still used COBOL.

But they were experts in using it, some even say Lords

Re: What computer and software is used by the Falcon 9? (2015)

#74
post #25

From the latest video NASA uploaded, the astronauts explain that the UI sends "commands", and if it fails, they have physical buttons below the screen to send these commands. https://mobile.twitter.com/NASA/status/1266885097359388672

The UI at 2:22 is very similar to the one discussed in https://news.ycombinator.com/item?id=23162820 as seems to use three.js and GSAP. Also, the open-source Lato font seems to be used throughout the interface.

open-source Lato font

That'd be a really nice touch, one of my favourite fonts for effects. Released after client who commissioned it, a chain of retail bookstores, rejected the design. Largest deployment till now, although just dumped in redesign, was for headings at classifieds website OLX. Caught eyes for a while I guess.

No need then for an especially legible font for cockpit screens like Airbus required https://b612-font.com/ following decades of practices in avionics. Of course the use-case is different and I'm sure everything is adequate for SpaceX goals. Like with the several layers of spontaneously rebooting virtual machines in Tesla cars, in the end branding looks gorgeous.

Re: What computer and software is used by the Falcon 9? (2015)

#75
post #11

Earlier quoted context omitted.

I believe the choice of Chromium and JS for the UI simply shows that the astronauts are merely inconvenient payloads. Gagarin's first flight was already fully automated 59 years ago.

Right, I think the crew dragon is intended to fly fully automatic from launch to docking? But imagine if there is an emergency and the crew need to take over, but lo and behold, chromium crashed! Hopefully the spacecraft can still be operated without the display.

That's just the ship telemetry tab that's crashed. The tab with YouTube still works (undoubtedly playing "Space Oddity").

Re: What computer and software is used by the Falcon 9? (2015)

#76

Sounds kinda disappointing/irresponsible. Chromium is an overly complex, relatively buggy piece of software. For example I recently experienced a bug where a text I selected was significantly offset from what should have been selected given the pointer position (on linux), a misclicky kind of bug. Considering that the majority of Crew Dragon's controls are through touch screen, maybe even manual docking(not sure, but…

I don't see why. Chromium is being used in the UI. Not on critical flight software. > maybe even manual docking It isn't done manually > C++ and linux do not strike me as mission critical piece of software / language either A lot of flight software is done on C++, as you even mentioned. In the end, your best reliability partner is not using a language that's only know by fewer people. What would be a good "mission cr…

[deleted]

Re: What computer and software is used by the Falcon 9? (2015)

#77
post #72
post #53

Earlier quoted context omitted.

On the ground side, yes, there are many databases for different purposes. But not on the actual flight software.

Very curious, how is state persisted where non-volatile storage is needed, and how is that persistence structured?

State is, as far as the system is concerned, is what values the multitude of sensors are reporting at any given moment.

Re: What computer and software is used by the Falcon 9? (2015)

#78
post #24

Earlier quoted context omitted.

Just because they do, doesn’t mean you should. I’m running an automotive firmware project at the moment and there are such things as software integrity levels, and each time you add something to the stack you create quite a large amount of testing and validation and process that needs to be followed. And it’s pretty much impossible to take something existing like Chromium and certify it to what you need. The architec…

I think it is not helpful to call out that their architecture is "wrong" and their process is "wrong". The attribute "wrong" is very opaque. As somebody who doesn't have your background, i cannot follow you. I have no idea about automotive and space software requirements. Since there are many aspects that lead to choices of a system architecture it requires more words to explain why a choice is not a good choice for…

"Wrong" for certification. Something like Chromium is so enormously humongously complex and integrated it will never pass any formal test.

Re: What computer and software is used by the Falcon 9? (2015)

#79
post #26

Sounds kinda disappointing/irresponsible. Chromium is an overly complex, relatively buggy piece of software. For example I recently experienced a bug where a text I selected was significantly offset from what should have been selected given the pointer position (on linux), a misclicky kind of bug. Considering that the majority of Crew Dragon's controls are through touch screen, maybe even manual docking(not sure, but…

Why not Javascript? I would argue that a good usable UI in a spacecraft is a good thing, and Javascript is a great language for building UIs

The only thing that's self-evident to me is that Javascript is a popular language for building UIs.
Post reply on HN