Live data from Hacker News

SpaceX Crew Demo-1 Mission [video]

spacex.com

51–60 of 88 posts

Re: SpaceX Crew Demo-1 Mission [video]

#51

I am an engineer who builds with a computer. And when I see such things as this, I sometimes spend a minute or so marveling and thinking about the complexity of building and orchestrating such a launch. In fact, I really cannot comprehend how something like this can be successfully done, given how so many things could go wrong. Yes, I understand the idea of redundancy, I understand gravity, I understand that physics…

[deleted]

Re: SpaceX Crew Demo-1 Mission [video]

#52
post #41

Earlier quoted context omitted.

I remember reading here a document about C programming guidelines for military / space software ( basically no dynamic memory allocation ever), but that was set a long time ago. I wonder if spaceX reinvented some parts of the software stack, or if they went along the traditional way. I don’t expect seing rust code in the shuttle, but maybe formal proof with custom functionnal languages...

From what I understand, they are pushing the boundaries on the hardware front, i.e. relatively recent, typical Linux computers onboard, and just relying on having a few redundant ones and short flight times, rather than very radiation hardened systems like those used in satellites or real-time operating systems. However on the SpaceX software side I think they’re fairly conservative and “boring”, so I’d guess C and s…

I'd be surprised if they were able to be human flight certified without all the redundancy and hardening that any other manned spacecraft has, though.

Re: SpaceX Crew Demo-1 Mission [video]

#53
post #39

Earlier quoted context omitted.

They don’t reach the stations orbital velocity immediately after launch though. What they do is launch into a lower orbit behind the station. Lower orbits have a shorter orbital period, so they gradually catch up and raise their orbit as they get closer. If the went into a ballistic trajectory directly at the station, there is a risk of debris from the launch, such as paint flecks, scraps of metal, etc hitting the st…

Technically they do reach the stations velocity. In fact they exceed it. The lower orbit is slightly faster. Total energy is lower, but they are moving faster than the station. A counterintuitive part of spaceflight is that often you have to first accellerate in order to slow down.

Makes sense. Get up to a higher speed and it’s easier to do a controlled slow down. Than having to speed up after getting into orbit near another orbiting body.

Re: SpaceX Crew Demo-1 Mission [video]

#54

Earlier quoted context omitted.

From what I understand, they are pushing the boundaries on the hardware front, i.e. relatively recent, typical Linux computers onboard, and just relying on having a few redundant ones and short flight times, rather than very radiation hardened systems like those used in satellites or real-time operating systems. However on the SpaceX software side I think they’re fairly conservative and “boring”, so I’d guess C and s…

I'd be surprised if they were able to be human flight certified without all the redundancy and hardening that any other manned spacecraft has, though.

For example, my understanding is that the redundancy approach is basically "do everything on 3 computers, vote on the outcome".

Re: SpaceX Crew Demo-1 Mission [video]

#55

I am an engineer who builds with a computer. And when I see such things as this, I sometimes spend a minute or so marveling and thinking about the complexity of building and orchestrating such a launch. In fact, I really cannot comprehend how something like this can be successfully done, given how so many things could go wrong. Yes, I understand the idea of redundancy, I understand gravity, I understand that physics…

Computer engineering is new. We're still at the phase where bridges collapse and ships sink regularly.

Computer engineering is not substantially newer than aerospace engineering.

Re: SpaceX Crew Demo-1 Mission [video]

#56

I am an engineer who builds with a computer. And when I see such things as this, I sometimes spend a minute or so marveling and thinking about the complexity of building and orchestrating such a launch. In fact, I really cannot comprehend how something like this can be successfully done, given how so many things could go wrong. Yes, I understand the idea of redundancy, I understand gravity, I understand that physics…

>>In fact, I really cannot comprehend how something like this can be successfully done, given how so many things could go wrong.

I have no idea how it is actually done. But my guess is that lots and lots of automated testing. It is the only way to make sure that any changes you make do no break some other critical parts.

Re: SpaceX Crew Demo-1 Mission [video]

#57

I am an engineer who builds with a computer. And when I see such things as this, I sometimes spend a minute or so marveling and thinking about the complexity of building and orchestrating such a launch. In fact, I really cannot comprehend how something like this can be successfully done, given how so many things could go wrong. Yes, I understand the idea of redundancy, I understand gravity, I understand that physics…

>>In fact, I really cannot comprehend how something like this can be successfully done, given how so many things could go wrong. I have no idea how it is actually done. But my guess is that lots and lots of automated testing. It is the only way to make sure that any changes you make do no break some other critical parts.

Yes, lots of testing.

Sadly, not as automated as you would hope/think.

The industry is working toward fuller automated testing, but it is much harder to do with “real hardware” in the loop.

Part of the reason why space has [historically] been expensive is exactly because you have to have specialized humans doing a ton of tests.

One reason Elon has been able to lower costs by reusable rockets is exactly because you don’t have to do as much testing per launch.

Re: SpaceX Crew Demo-1 Mission [video]

#58
post #41

Earlier quoted context omitted.

To help you with not feeling overwhelmed - they are doing it since May 6, 2002. It has taken a lot of time, of a lot of people to get here. There was a lot of failures also, along the way.

I remember reading here a document about C programming guidelines for military / space software ( basically no dynamic memory allocation ever), but that was set a long time ago. I wonder if spaceX reinvented some parts of the software stack, or if they went along the traditional way. I don’t expect seing rust code in the shuttle, but maybe formal proof with custom functionnal languages...

The flight software team did a reddit AMA a while back [0]. They use C++ for writing the flight software (what flies falcon, dragon, etc) running on a customized RT Linux.

[0] https://www.reddit.com/r/IAmA/comments/1853ap/we_are_spacex_...

Re: SpaceX Crew Demo-1 Mission [video]

#59
post #58
post #41

Earlier quoted context omitted.

I remember reading here a document about C programming guidelines for military / space software ( basically no dynamic memory allocation ever), but that was set a long time ago. I wonder if spaceX reinvented some parts of the software stack, or if they went along the traditional way. I don’t expect seing rust code in the shuttle, but maybe formal proof with custom functionnal languages...

The flight software team did a reddit AMA a while back [0]. They use C++ for writing the flight software (what flies falcon, dragon, etc) running on a customized RT Linux. [0] https://www.reddit.com/r/IAmA/comments/1853ap/we_are_spacex_...

And FreeRTOS. RTLinux is only barely soft realtime.

Re: SpaceX Crew Demo-1 Mission [video]

#60

I am an engineer who builds with a computer. And when I see such things as this, I sometimes spend a minute or so marveling and thinking about the complexity of building and orchestrating such a launch. In fact, I really cannot comprehend how something like this can be successfully done, given how so many things could go wrong. Yes, I understand the idea of redundancy, I understand gravity, I understand that physics…

To help you with not feeling overwhelmed - they are doing it since May 6, 2002. It has taken a lot of time, of a lot of people to get here. There was a lot of failures also, along the way.

A lot of what they are doing dates back a lot further than that. The innovations SpaceX has brought to the industry are more process related than technical. SpaceX has done a great job of setting a streamlined vertical integration for their production processes, which has allowed them to iterate a lot faster than others in the industry.

That isn't to say they haven't been doing interesting things from a technical perspective (they're landing rockets on barges, after all), but the real secret to their success has been taking proven technology and doing it better/more efficiently (for instance, the fundamental design of their rocket engine, the Merlin, dates back to 50's).

Post reply on HN