TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Software Engineering Within SpaceX

591 pointsby theanirudhalmost 5 years ago

27 comments

aphextronalmost 5 years ago
&gt;SpaceX also made use of Chromium and JavaScript for Dragon 2 flight interface. I am not sure how that passed the certification. I assume it was allowed because for every mission-critical input on the display, there was a physical button underneath the display as well<p>I think that&#x27;s all the validation we need for HTML&#x2F;CSS&#x2F;JS as the best tool for UI development nowadays. I wonder if there was actual shared code from the Dragon UI used in their online docking simulator. How neat.
评论 #23404667 未加载
评论 #23404545 未加载
评论 #23405467 未加载
评论 #23406274 未加载
评论 #23405318 未加载
评论 #23404882 未加载
评论 #23406651 未加载
评论 #23405878 未加载
评论 #23407574 未加载
评论 #23407547 未加载
评论 #23404642 未加载
评论 #23404682 未加载
评论 #23405341 未加载
评论 #23404481 未加载
评论 #23404497 未加载
评论 #23404816 未加载
评论 #23405012 未加载
评论 #23404744 未加载
评论 #23404670 未加载
评论 #23405293 未加载
评论 #23404533 未加载
danansalmost 5 years ago
Years ago, astronaut Chris Hadfield told an audience of software engineers (including me) that the moment the space shuttle was in stable orbit, the crew would pull out laptops and set up an ethernet network for all the scientific work of their expedition, as the space shuttle&#x27;s own computers, though limited in raw computing power, ran software that was so thoroughly tested that there was every reason not to &quot;upgrade&quot; them in any way to support the scientific work.
评论 #23407769 未加载
评论 #23407531 未加载
评论 #23408987 未加载
评论 #23413308 未加载
评论 #23409296 未加载
tectonicalmost 5 years ago
Good writeup! In general, the direction in modern aerospace is to use COTS (commercial off-the-shelf) parts with redundancy and failback for radiation hardening.<p>If you’re into this sort of thing, I co-write a weekly newsletter about the space industry and often talk about software. <a href="https:&#x2F;&#x2F;orbitalindex.com" rel="nofollow">https:&#x2F;&#x2F;orbitalindex.com</a>
评论 #23405851 未加载
评论 #23407253 未加载
评论 #23406882 未加载
评论 #23406298 未加载
评论 #23406621 未加载
extrapicklesalmost 5 years ago
When you think about it from a first principals perspective, having multiple touchscreens is better than only having physical switches. When a switch is damaged&#x2F;fails, you are out of luck. When a touchscreen is damaged&#x2F;fails, you use the one next to it. On a rocket you do not have the mass or room to have more than 1 of all but the most critical of switches.<p>There have been quite a few missions that nearly caused death or mission failure directly due to a switch getting broken (Apollo 11, lander return engine-arm switch) or going faulty (Apollo 14 abort switch).<p>What really matters is that they have no single point of failure (touch screens can do everything switches can, an individual touch screen is not important, and switches can cover abort&#x2F;return scenarios to protect the crew). For the software, it only matters that its been fully tested, including random bit flips and hardware failure.<p>From a cost savings perspective, its vastly cheaper to verify that 3 touchscreens are working correctly than the 600 switches they replace.
评论 #23409490 未加载
评论 #23412550 未加载
randtrain34almost 5 years ago
Note that the data within the post is from an AMA <i></i><i>7 years ago</i><i></i>
评论 #23405557 未加载
wlesieutrealmost 5 years ago
Interesting read. I&#x27;ve wondered about their use of big touchscreen interfaces having heard a friend&#x27;s experience with the similar setup in a Model 3.<p>On multiple occasions they&#x27;ve had to pull off the highway to turn their car off and on again to get the screen working. Not really an option on your way to space.
评论 #23404511 未加载
评论 #23404740 未加载
评论 #23404611 未加载
评论 #23404298 未加载
yasoobalmost 5 years ago
Hi guys! I am the author of this article. Excited to see it on the first page :)
naringasalmost 5 years ago
I would have expected them to use formal verification tools in the vein of TLA+ and such... or maybe use ADA for mission critical systems?<p>But they only mention Astree[1] which seems to be a propietary analyzer for C code<p>[1] <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Astr%C3%A9e_(static_analysis)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Astr%C3%A9e_(static_analysis)</a>
评论 #23404576 未加载
评论 #23404799 未加载
评论 #23404668 未加载
stevofolifealmost 5 years ago
Taken from the article: &quot;We leverage C#&#x2F;MVC4&#x2F;EF&#x2F;SQL; Javascript&#x2F;Knockout&#x2F;Handlebars&#x2F;LESS&#x2F;etc and a super sexy REST API.&quot;<p>Knockout.js, good times.
评论 #23405077 未加载
评论 #23405382 未加载
评论 #23404890 未加载
chasd00almost 5 years ago
at the bottom of the article they mention model rockets and the three levels of certification. Each level grants you access to more powerful motors and therefore higher or larger flights. The hobby is self-goverend by NAR and Tripoli who manage level certification.<p>It&#x27;s a fun hobby, although large motors get pricey. The largest can be 4-5 figures per launch. However, you can get very advanced and do things you wouldn&#x27;t typically expect in a hobby.<p>Here&#x27;s a two stage ( 4&quot; diameter booster, 3&quot; diameter sustainer ) reaching over 200k feet in altitude. The Karman Line is about 330k feet.<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=g0imcpdLdB8" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=g0imcpdLdB8</a>
mips_avataralmost 5 years ago
I&#x27;d love to work with physical software (software that interacts with the real world through sensors and actuators), as a C developer, how should I move into this space? Every time I try intro to ARM kits I feel like I&#x27;m in over my head.
评论 #23410238 未加载
评论 #23407576 未加载
评论 #23410293 未加载
评论 #23407293 未加载
评论 #23407295 未加载
评论 #23407284 未加载
评论 #23407555 未加载
dangalmost 5 years ago
A thread from a few days ago: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23368109" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=23368109</a>. The current article quotes from it, in fact.<p>This article looks like a fine overview but when it comes to follow-up posts, the test is: does the new submission contain enough SNI (significant new information) to support a substantially different discussion? In this case it looks like not, but I can&#x27;t really tell.<p><a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=false&amp;query=by%3Adang%20%22significant%20new%20information%22&amp;sort=byDate&amp;type=comment" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=false&amp;qu...</a><p><a href="https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;query=by%3Adang%20follow-up&amp;sort=byDate&amp;type=comment" rel="nofollow">https:&#x2F;&#x2F;hn.algolia.com&#x2F;?dateRange=all&amp;page=0&amp;prefix=true&amp;que...</a>
0xDEEPFACalmost 5 years ago
No mention of Ada or their methods of writing the important software. I wonder what they use.<p>&quot;Avionics Test team<p>...The main objective is to write very comprehensive and robust software to be able to automate finding issues with the hardware at high volume....&quot;
评论 #23421373 未加载
theanirudhalmost 5 years ago
The astronauts show parts of the touchscreen and physical controls here: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;llbIzbOStt4?t=150" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;llbIzbOStt4?t=150</a>
drummeralmost 5 years ago
It would be awesome if some SpaceX engineers would give a few presentations at events like CppCon and talk about their software development process including some code examples and demos.
chrisfinazzoalmost 5 years ago
Hearing about the Flight Software and Avionics teams reminds me of this, although they don&#x27;t seem to be on that level quite yet.<p><a href="https:&#x2F;&#x2F;www.fastcompany.com&#x2F;28121&#x2F;they-write-right-stuff" rel="nofollow">https:&#x2F;&#x2F;www.fastcompany.com&#x2F;28121&#x2F;they-write-right-stuff</a>
theanirudhalmost 5 years ago
I wonder how they manage not to have accidental taps on the touch screen during liftoff and or re-entry. As I understand there are a lot of G&#x27;s and violent vibrations and I would assume it&#x27;s hard to keep a steady hand?<p>(Atleast this is my understanding from watching Apollo documentaries&#x2F;movies etc.)
评论 #23405314 未加载
评论 #23404795 未加载
评论 #23404270 未加载
评论 #23404297 未加载
oxguy3almost 5 years ago
I&#x27;m so relieved to hear all the redundancy and testing in place. I had heard that the touchscreens were built in Chromium&#x2F;JS and was rather alarmed. Don&#x27;t get me wrong – I do a lot of web stuff and I love that environment, but I&#x27;ve never seen a web app I would trust two human lives to. This, however, sounds like they really thought it through and made it safe.
评论 #23406619 未加载
ChrisMarshallNYalmost 5 years ago
This was cool!<p>Thanks for sharing that with us.<p>I&#x27;d be interested in finding out how they iterate. I&#x27;m absolutely positive that they do.
评论 #23405222 未加载
fallingmeatalmost 5 years ago
Does this article imply that RTCA&#x2F;DO-178B is used as a means of demonstrating compliance in some way, or otherwise is used to define lifecycle processes for their development&#x2F;verification&#x2F;systems teams? Anyone know where this was mentioned by SpaceX?
scep12almost 5 years ago
&gt; The Flight Software team is about 35 people.<p>I&#x27;m shocked the discussion is about UI tech and not that there was only 35 people on the team that built the software to land Falcon 9.<p>Surely it&#x27;s changed in the last 7 years. Anyone know the size now?
MrSaintsalmost 5 years ago
They will be doing an AMA on Reddit again soon according to <a href="https:&#x2F;&#x2F;youtu.be&#x2F;y4xBFHjkUvw?t=674" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;y4xBFHjkUvw?t=674</a>
jonpurdyalmost 5 years ago
&gt; The secondary ports go into the primary ports, which are heavy-duty actuators that connect to what’s called a “summing bar,” which is no more than a massive steel rod.<p>&quot;In Rod We Trust&quot;
sammycdubsalmost 5 years ago
This seems like a remarkably small team for the scale of what they&#x27;re building! For some reason I imagined they&#x27;d have legions of engineers.
评论 #23404961 未加载
评论 #23405018 未加载
评论 #23405363 未加载
Animatsalmost 5 years ago
It&#x27;s interesting that the mission control console systems are written in LabView.
评论 #23416563 未加载
b20000almost 5 years ago
doesn&#x27;t sound like a great idea to involve 10 different technology stacks
f00_almost 5 years ago
touch screens are a bad choice to me<p>I want the buttons and knobs.<p>Love the old soviet control rooms posted awhile ago: <a href="https:&#x2F;&#x2F;designyoutrust.com&#x2F;2018&#x2F;01&#x2F;vintage-beauty-soviet-control-rooms&#x2F;" rel="nofollow">https:&#x2F;&#x2F;designyoutrust.com&#x2F;2018&#x2F;01&#x2F;vintage-beauty-soviet-con...</a><p>Need John Carmack&#x27;s opinion of SpaceX
评论 #23405291 未加载