News for hackers. Stuff that matters.
Re:Ask HN: Who is hiring? (January 2017) by elcritch on Tuesday January 03, 2017 @02:19AM (#13307365)
As always SpaceX and it's mission is just _cool_ (in a geek sense). However, to be honest, Python + rocket code in the same sentence perturbs me somewhat. Python is great for web automation tools and simple scripting situations, but for the love of humanity (seriously, because space travel & exploration), I shudder at the idea of Python being used in a complex rocket control system. Does the team use other tools for embedded or distributed controls?
Re:Ask HN: Who is hiring? (January 2017) by rasmi on Tuesday January 03, 2017 @02:32AM (#13307435)
The job description above is for internal user-facing tools. Mission-critical systems are done in C++.[1]

[1] https://www.reddit.com/r/IAmA/comments/1853ap/slug/c8bpr00

Re:Ask HN: Who is hiring? (January 2017) by elcritch on Tuesday January 03, 2017 @01:57PM (#13311902)
That makes much more sense, the job posting seemed more likely a fit for internal user interface tools. Python certainly is a good fit there, but adding in the parts about touching the rocket code seems... well I just can't comprehend the idea of running Python on a rocket at launch time. Then again, maybe all the cool rocket systems will start having REST APIs. ;)

`curl -X POST rocket10.falcon-9.spacex.com/engine/ignite -d '{"countdown": 10}'`

Would both be amazing and terrifying!

P.S. @parent: I admire the work y'all are doing, Dozbog!

Re:Ask HN: Who is hiring? (January 2017) by dominis on Thursday January 05, 2017 @09:48AM (#13327453)
you don't need the `-X POST`, because `-d` will do a post by default :)
Re:Ask HN: Who is hiring? (January 2017) by jhhn on Saturday January 14, 2017 @10:44PM (#13402173)
all the systems AND PARAMETERS are redundant in such mission...
Re:Ask HN: Who is hiring? (January 2017) by dangirsh on Tuesday January 03, 2017 @08:54AM (#13309119)
In case anyone is wondering: no, this is not a sick joke.
Re:Ask HN: Who is hiring? (January 2017) by knocte on Tuesday January 03, 2017 @11:26AM (#13310231)
facepalm
Re:Ask HN: Who is hiring? (January 2017) by webmaven on Tuesday January 03, 2017 @07:08AM (#13308585)
Python has had for a very long time both NASA and JPL as marquee customers/users, eg. http://montepy.jpl.nasa.gov/ for mission planning and control applications.

From the MONTE brochure:

The story of MONTE begins in 1998, when JPL’s navigation section commissioned an update to the aging DPTRAJ/ODP library. The goal was to translate these time-tested navigation algorithms from Fortran into a more maintainable, extensible, and better tested C++/Python application.

Re:Ask HN: Who is hiring? (January 2017) by elcritch on Tuesday January 03, 2017 @02:12PM (#13312060)
Fair enough, though reading some histories there's been a variety of languages used at JPL/NASA, and Python/C++ is a latecomer [1], [2].

1: http://wiki.c2.com/?MarsSpiritSoftwareProblem 2: http://www.flownet.com/gat/jpl-lisp.html

At the end of the day, if Python/C++ is effective for their team and works, then it gets the job done. Personally, I just dislike writing math/simulation code in Python. The syntax is too limiting for that topic and I've run into rather annoying delays when parsing CSV data due to utf8 vs byte vs ascii handling differences when mixing Pyhton 2/3. But mainly, deploying Python code to other users is a pain.

Re:Ask HN: Who is hiring? (January 2017) by dagw on Tuesday January 03, 2017 @07:13AM (#13308615)
Python is very popular for doing mathematical modelling in every domain you could possibly imagine. Even when the core algorithm isn't done in python, python is great for pre-,and post-processing the results, analysis and gluing everything together.