r/IAmA • u/blueoriginsoftware • Aug 05 '16
Technology We are Blue Origin Software Engineers - We Build Software for Rockets and Rocket Scientists - AUA!
We are software engineers at Blue Origin and we build...
Software that supports all engineering activities including design, manufacturing, test, and operations
Software that controls our rockets, space vehicles, and ground systems
We are extremely passionate about the software we build and would love to answer your questions!
The languages in our dev stack include: Java, C++, C, Python, Javascript, HTML, CSS, and MATLAB
A small subset of the other technologies we use: Amazon Web Services, MySQL, Cassandra, MongoDB, and Neo4J
We flew our latest mission recently which you can see here: https://www.youtube.com/watch?v=xYYTuZCjZcE
Here are other missions we have flown with our New Shepard vehicles:
Mission 1: https://www.youtube.com/watch?v=rEdk-XNoZpA
Mission 2: https://www.youtube.com/watch?v=9pillaOxGCo
Mission 3: https://www.youtube.com/watch?v=74tyedGkoUc
Mission 4: https://www.youtube.com/watch?v=YU3J-jKb75g
Proof: http://imgur.com/a/ISPcw
UPDATE: Thank you everyone for the questions! We're out of time and signing off, but we had a great time!
376
u/Bendrick92 Aug 05 '16
Hi all! Thanks for doing this AMA!
Speaking as a lowly web developer, I can honestly say that I rarely implement enough exception/error handling in my code. Thankfully, people's lives don't necessarily depend on my code...
It occurred to me, looking at the Apollo 11 Guidance System code that systems like the ones you write have to have hundreds if not thousands of fallbacks/handlers for any number of things that might go wrong.
86
u/Ai_Bot_Naughty Aug 05 '16
How does one become a software engineer for a rocket/space company? And do any of you have interesting interview stories? Thanks in advance!
168
u/touristoflife Aug 05 '16
Do you have to pay for AWS?
112
u/dot_executable Aug 05 '16
Have you guys ever played Kerbal Space Program?
67
u/tester12131234 Aug 05 '16 edited Aug 05 '16
Blue has seen a ton of growth over the past years. In your mind, what has Blue done well/poorly to handle this growth? How do you see the company managing even more growth in the future, as you shift from a small R&D firm to a company that builds and frequently flies a large fleet of reusable vehicles?
Thanks! I'm a huge fan of BO and the passion everyone there seems to have. I actually am going to be starting an internship with you in Kent in a month, and can't wait to start! Gradatim Ferociter!
63
u/[deleted] Aug 05 '16
What is your opinion on what SpaceX has achieved so far, and what do you think will change in the space industry wth such healthy competition between you and SpaceX?
112
u/aCalculus Aug 05 '16 edited Aug 05 '16
Hi! I have fun creating my own autopilots and avionics for Kerbal Space Program.
It's great to see your rockets fly. Keep up the good work!
29
u/synthematics Aug 05 '16
Love what you guys are doing, the space industry is really making phenomenal progress right now!
Congratulations on the successful launches so far!
Questions...
How many on your team, developer:tester:management ratio? How many in GNC, avionics, infrastructure, ground systems etc?
What's your development methodology?
Where does software sit in the pecking order vs propulsion, vehicle etc?
How many hours a week are you guys pulling?
Did any of you transfer from Amazon?
16
u/ImOutOfThisWorld Aug 05 '16
Hey thanks for the AMA, i'm really curious
1.- how are you using python? (I would imagine not in the rockets) 2.- it seems that you use js only for your website, is that right?
14
u/cleanshoes30 Aug 05 '16
Awesome works you guys and gals are going over there! How good are y'all at Kerbal Space Program?
14
u/FourIV Aug 05 '16
21
u/Warp_11 Aug 05 '16
Hey, I recently looked at Internships at Blue Origin and unfortunately found that you only accept US citizens because of federal Export policies (I'm german). So do you know if there is any way for non US citizens to get cleared to work in the space industry and do you have any foreign employees? Thank you
307
u/[deleted] Aug 05 '16
How often do you say CMON GUYS THIS ISN'T ROCKET SCIENCE?
10
u/wertasd123 Aug 05 '16
How long does it take to complete one of your missions?
10
u/zachone0 Aug 05 '16
What was the biggest hurdle or learning curve you faced within the first few months of starting work for Blue Origin?
10
u/Peter_Spanklage Aug 05 '16
How do you guys actively debug your code if the machinery it controls costs millions of dollars? Can you somehow simulate the code running or something?
21
u/[deleted] Aug 05 '16
Do you ever make dad jokes about how 'it's not rocket science?'
7
u/benlew Aug 05 '16
I (and many others over at /r/BlueOrigin) really enjoyed the last live stream. Do you guys have any plans to provide live video feeds from the rocket in a future live stream? Also, are you guys working on any software for Very Big Brother yet?
7
u/Deceptitron Aug 05 '16
I recently discovered that you guys have what I believe is the actual Star Trek Enterprise model used in the original motion pictures in your office. Can you confirm this and could you share some pictures of it? As a big Star Trek fan I'd love to see her!
6
u/daneagles Aug 05 '16
What advice would you give to someone finishing a B.S. in Computer Science who wants to work in the aerospace/general engineering world as a software engineer? What are the specific technologies, skills, and experiences that you'd look for if you were to hire a new graduate just beginning their career?
Thank you!
11
u/ukarmy04 Aug 05 '16
Hey guys! How much of your software would you say is built from scratch? In my experience, older aerospace companies tend to rely heavily on heritage code with only the minimum modifications needed to get the job done.
Does BO follow a similar philosophy by building upon work already done? Or are you building everything from the ground up?
5
u/SequesterMe Aug 05 '16
How do you do testing on your software? Oh yea, how do you go about tracking the tests and the results?
Please get down and dirty if you don't mind.
4
u/zachone0 Aug 05 '16
Do you plan on growing significantly for the development of Very Big Brother or is the design already maturing quickly without the need for more growth?
7
u/davidthefat Aug 05 '16
Do you guys write any in-house CFD/FEA code to analyze your system? Or do you primarily stick to commercial/NASA codes?
When it comes to fault tolerant systems, do you guys rely much on error checking at many points within the pipeline or just at critical pathways? Like for example, error checking between the ecu and the main computer or between the sensors and the flight computer or do you still check internal memories of the computers with parity or bit by bit comparisons?
3
u/muazcatalyst Aug 05 '16
Thanks for the AMA, appreciate the hard work and sweat you guys put into BO! Unto the questions:
3
u/Motorgoose Aug 05 '16
I've always believed that programming languages are like tools and you have to use the right tool for the job. Like you wouldn't use a hammer to put in a screw. Where do you use each of your languages?
2
u/Ethical_Inventory Aug 05 '16
Just how complex is the software that controls a rocket?
2
u/TheSutphin Aug 05 '16
What's the hardest thing you had to do in school to get your degree, also what is your degrees? All computer science? Was it difficult to get a job at BO?
I'm a huge face of space exploration, and I am looking forward to Spacex and NASA heading toMars, but I believe that space tourism is going to be the thing that will capture the public's eye and help push space exploration incredibly fast and farther than ever before. Keep up the amazing work, every time I see New Shep launch and land it instills an amazing feeling inside me and I cannot wait to work there.
2
u/lookwhatisee Aug 05 '16
Do you have any functional languages in your dev stack?
2
u/pianobest Aug 05 '16
What is your background? Have you all studied software engineering or some of you come from math/physics/etc?
2
u/[deleted] Aug 05 '16
Are you working on code for the new bigger launch vehicle you'll be building and launching out of Florida? Any hints about what it'll be called? ;)
2
u/BostonRich Aug 05 '16
Hi what sort of info are you storing on mongo? Why non relational db?
3
u/IronMermaiden Aug 05 '16
I'm currently a BA for a Fortune 200 company based in the renewable energy sector on the East Coast. I want to work for BO-- It's a goal of mine. How many resumes can I submit before I am asked to stop?
73
u/r1ckd33zy Aug 05 '16
My question is simple - Vim or Emacs?
176
u/iiRISH_LUcK Aug 05 '16
Did you guys also cringe when Jeff Bezos welcomed SpaceX to the club?
https://twitter.com/jeffbezos/status/679116636310360067?lang=en-gb
24
u/Closeratio Aug 05 '16
Hey, thanks for taking the time to answer our questions! I'm a software engineer working in the aerospace/defense industry, so I was pretty excited when I saw this appear on my feed.
Thanks again for doing this, and good luck with New Shepard in the future!
27
u/Partihrl Aug 05 '16
I am a computer science student right now, however I am interested in Aerospace. How important are topics like math and aerospace engineering from a software standpoint? What should I do to help prepare myself for the industry?
9
u/[deleted] Aug 05 '16
Does any of your code have to correct for relativistic effects during space travel?
6
u/[deleted] Aug 05 '16
What are your thoughts on languages like Rust or Haskell, focusing on greater static safety guarantees? Or even the extreme, dependent type systems with provably correct code?
5
u/zachone0 Aug 05 '16
What would you say the ratio of software is between Launch and Landing? Also What kind of control theory do you use for landing: modern or classical?
5
u/fuzzypickles0_0s Aug 05 '16
What is your estimate for bugs per KLOC in your production code?
5
u/scootscoot Aug 05 '16
What real time OS do you guys use?
4
u/kaiokenx4 Aug 05 '16
Have you guys met Jeff Bezos? Whats it like to work under him
7
u/YefBri Aug 05 '16
Since this is an AMA, does any of you has a funny story about how someone forgot to close a parenthesis in the software or there was a bug and the whole thing just wouldn't work?
Also, how big is the team? :P
Thanks!
3
u/[deleted] Aug 05 '16
1 How much do you work with hardware/embedded systems/low level programming. I want to have some type of job with low level stuff. As a cs (bit bummed out since i did not get into a engineering program) student will I be at a disadvantage if I want to build control software (things related to the flight of the spacecraft)?
2 How is you telemetry viewed? is that what the web technologies for?
3
u/[deleted] Aug 05 '16
So... When are you guys going orbital?
3
u/iamthedood Aug 05 '16
How often do you integrate your lessons learned? Do you attempt to do it between every mission or just roll up major / small changes on a case by case basis?
3
u/half_a_pony Aug 05 '16
What do you use C for? If you write embedded software in C, how do you test/validate the software? Do you run the code in some kind of simulated environment?
3
u/ckfinite Aug 05 '16 edited Aug 05 '16
Thanks a lot for coming and talking about your work!
3
u/brickmack Aug 05 '16
How much code commonality is there expected to be between NS and your orbital vehicle? Was NSs flight software designed from the beginning to be easily scaled to larger vehicles and different trajectories?
What sort of range safety requirements are there for NS? Does it have a self destruct system, or is your launch site far enough away from everything that you can just let it passively fail for now? If there is one, is that automated (SpaceX recently switched to and certified an automated self destruct system for F9)?
Would NS be able to support a payload other than the crew capsule, for use more along the lines of a traditional sounding rocket?
OrbATK is going to use a BE-3U on the upper stage of their new EELV, its been speculated that Blue Origin will be producing the entire upper stage for them rather than just the engine. Is this true? If so, will this upper stage be common with your orbital launcher?
Can we get some detailed specs (or at least thrust range and ISP) on BE-4 and BE-3U?
3
u/kurtu5 Aug 05 '16
I want to write a Rotovator mod for KSP. It will need to be able to simulate a hypersonic rotovator tip in Kerbin's upper atmosphere and also provide a rendevous module for pilots to intercept the tip.
What maths do you think I will need to do this? I've been brushing up on Hamiltonian Dynamics for starters.
3
u/[deleted] Aug 05 '16
This might be an odd question, but do you use some kind of formal method to verify the correctness of your code. Guaranteed correctness in general is uncomputable.
But I learned some mission critical code is programmatically verified to guarantee some level of correctness. Do you guys use stuff like that? Sorry if this question is vague, but just learning about formal logic now
5
u/[deleted] Aug 05 '16
First off, kudos for doing such a great job. You guys are pushing the limits of humanity's achievements!
My question is a different one. It is regarding the personal lives of people working at your organization. I believe the work you are doing must be very high pressure with a lot of lives and money at stake. How does it affect your personal lives? Are you able to spend quality time with the people you want to? What is the age demographic of people working there - mostly recent college graduates/married/single?
Though I'm a lowly engineer working in a cubical, the pressure sometimes gets to me and I have difficulty finding time for myself sometimes. I have read stories about Elon Musk and his personal life and it horrifies me. I just wanted to ask if that's what it takes to create what you are creating?
Sorry if the post offends or hurts anyone.
2
u/superserioussmee Aug 05 '16 edited Aug 05 '16
Hey guys, thanks for your time. I've been following the progress of vehicle for a while.
How does your software account for changing crosswinds when determining the position of the landing pad relative to the descending stage?
2
u/bi_polar2bear Aug 05 '16
Do you use tombstones above each section in your code? As software support, when I read code without access to the author, I scratch my head trying to figure out what their approach was. If I can read that in the tombstone, it cuts back time significantly. I would think that would be a requirement in your line of work due to revolving people and time needed to solve issues as they arrise.
2
u/greysam Aug 05 '16
Hi, thanks for doing this AMA! How does the rocket navigate back to the landing pad? (i.e. GPS? Radio buoy triangulation? Radar? etc.)
2
u/bakedpatato Aug 05 '16
How do you check for bugs/what is your code review process for your code especially for what will become life critical code?
2
u/fluffynukeit Aug 05 '16
What gain and phase margins do you consider acceptable for the tracking and disturbance loops on your feedback controllers?
How do you schedule your controller gains, or do you find that scheduling is not necessary?
What do you think is the coolest thing your flight software does?
2
u/neighborhoodbaker Aug 05 '16
My question is, what are your thoughts on functional programming as opposed to object-oriented programming? My company is switching from older software to the more current software my team is developing. The software will be life critical at times but we definitely do not have as many factors to account for as spacecrafts. We found that switching to a functional programming approach instead of the normal object oriented approach has shortened the amount of error handling by extraordinary amounts. Previously we would need like 50000 lines of code to handle some feature, now we need about 300-1000 lines to do the same thing in a more readable and understandable way. It also allowed us to be flexible when/if a new bugs arises. We use Java and mainly implemented the rxJava, Javaslang, and cdi libraries to complete it. What are some of the main java libraries you guys use?
2
u/[deleted] Aug 05 '16
Thanks Blue Origin for making the dream of space adventure come true!!
meters+meters2 , can be supported by static checks (I.eboost::units). Is this kind of error something you test for? How?Gradatim Ferociter!
2
u/OkiiInu Aug 05 '16
Is anyone on the team fans of /u/MrPennywhistle AKA Destin of SmarterEveryDay? Also, as a sysadmin why do software engineers hate me and my kind?
2
u/RocketFeathers Aug 05 '16
(Answers don't have to come from Blue Origin, just thought this was a good place and time to ask)
Other than, don't encircle (-1,0) on a root locus diagram, I have not had a Control Theory class. Some seat-of-the pants stuff. Any recommendations on either a book, on-line class, or website? For instance, I know sometimes one uses a lead-lag pole-zero stage, but I don't know when or why. I have heard if you have only one integrator (K/s) in the forward path you have this issue, but two integrators, I can't remember what are the trade offs. What do you do have a non-linearity in a transfer function. I have heard that intentionally adding noise can help keep time-on-target with a radar system, but how much noise? Stuff like that.
2
u/You_Are_All_Smart Aug 05 '16
How important is SEU protection and is it addressed primarily in hardware or in software?
2
u/GFandango Aug 05 '16
2
u/McCuppaT Aug 05 '16
Thanks for doing the AMA.
Do you guys follow development guidelines specifically for software development in the space industry?
Put another way: Is there a body that defines best practices specifically for your industry (equivalent for automotive is misra?)
2
u/AussieCryptoCurrency Aug 06 '16
How do I get to be a rocket surgeon?
2
u/whetboi89 Aug 06 '16
Why does the one guy get to wear the royal blue shirt?
2
u/TheOsuConspiracy Aug 06 '16
For your safety critical code, what language do you use? I'm guessing C is typically used for embedded stuff, have you guys considered using a language that's more formally provable as correct like Idris or Agda? Or instead of C or C++ have you taken a look at using rust for their guarantee of no data-races and no memory leaks?
2
u/wellmeaningdeveloper Aug 06 '16
Are cosmic-ray-induced bit flips a concern for you? Do you handle that in software or redundant hardware with consensus verification? Or do you just shield the electronics and hope for the best?
2
u/Regis_Mk5 Aug 05 '16
Hey fellow rocket engineer here. I'm in my senior year and wanted to know 2 things: How complex is the guidance software on a the reusable rocket you all are developing? Like is it just a series of PID loops or something more advanced?
Also how does one get that first job in the aerospace industry if they haven't had an internship and are a fresh grad?
0
u/anusflute Aug 05 '16
How do you handle radiation hardening of you code?
1
u/greysam Aug 05 '16
Another question - are there any kind of data exchange between the booster and capsule after the separation event? Thanks!
1
u/para78 Aug 05 '16
Awesome work you guys been doing. As a Mechanical Engineering student going in to his last year. Is there any tips or recommendations you can give for someone who wants to do mechanical design in aerospace?
1
u/[deleted] Aug 05 '16
No VMS? I seem to recall it being used for nuclear control systems, particle accelerators and guidance systems in patriot missle defense shield.
My experience is much less cool as I maintain a VMS data historian for high speed data acquisition for GE turbines and other instrumentation.
1
u/[deleted] Aug 05 '16
How closely do you work with the integration engineers, and are any of you members of the Hooligans scooter
gangclub?1
u/MrButtons9 Aug 05 '16
Thanks for joining us for this.
1
u/[deleted] Aug 05 '16
I love what you guys are doing.
Here's my question: When do you plan on making the astronaut experience public, and how much will it cost? Thanks!
1
u/Ewoktoremember Aug 05 '16
Hey guys, Electrical Engineering/Physics student that's very interested in the aerospace industry. Through the development of thrust vectoring tech and other developments that require a ton of EE, ME, AE, CE and ChE cooperation, what's the most invaluable thing you've learned? Specifically toward working across different disciplines. Thanks guys! Stoked you're doing this AMA!!!
1
u/ethanyelad Aug 05 '16
I work at a national park near your launch site! When is your next launch planned? We can see and hear them but it's always a surprise.
1
u/Throqaway Aug 05 '16
What language is the most important/use the most for your work?
1
u/royalobi Aug 05 '16
How do you feel about the future of space-travel? Do you think private companies running their own programs is the future or do you think governments will continue to be the driving force?
1
u/[deleted] Aug 05 '16
Hey Guys! So glad to see some fellow coders here.
As a computer science student, I do your basic set of theory: algorithms, data structures, networks, databases, that sorta thing. It seems like a complete jump to go from that to designing something as complex as flight software.
What kind of additional theory and knowledge do you need to go to go about building something like Blue Origin software that isn't taught in schools, and how can aspiring students get a head start?
1
u/rc_IV Aug 05 '16
Do you need to be a rocket scientist to be able to use our software?
1
u/Snakehand Aug 05 '16
Whenever I work with problems that involve spatial orientation, Quaternions is my go-to tool. I am wondering if your software use a lot of quaternion maths, or do you preferrer other representations of rotation, attitude etc ?
1
u/pablox43 Aug 05 '16
Thanks for doing what you do. How does it feel to be at the forefront of research in regards to developing the necessary software tools for humanity to explore the stars? :)
1
u/FluxSubSoldier Aug 05 '16 edited Aug 05 '16
Hello Blue! Hello Matt!
Congratulations on all the recent launches. I can't wait until the day I can buy a ticket to sit in that crew capsule and take a flight to spaaaace!
Gradatim Ferociter!
1
u/kustom Aug 05 '16
Hello everyone!
First I have to say that what you guys do really amazes me, and as i have recently graduated from my Masters in Electrical Engineering, I'm really tempted to apply to blue origins!
As for my question: since you guys mentioned using C/C++ in a real time environment, how exactly do you use C++? With the full set of features, including exceptions, or more as a beefed up C with nice libraries and with non real time features disabled (like exceptions)?
Thank you!