9 comments

1

Who did this? Why do this? So many languages... So many options... And they pick JavaScript.

0

I am as baffled as you are but figured v/Programming would give their wholehearted approval to such an idea!

Yes, yes I do antagonize this sub for my own amusement at times. I like the curmudgeon responses. They remind me of the peanut gallery on The Muppet Show.

0

Event based languages are very very useful. Otherwise you end up with while loops eating up an entire process and junk like that, Javascript is not an ideal language but is it ever useful.

Languages like Python you can basically just use it to write scripts, you then need another layer outside of it that is the real "application", the thing that you run, but it's lower level like a bash script. That networks a complex infrastructure of shit together. Need something to run at a certain time of the day? Set a cron job. Javascript all I have to do is calculate the number of ms I want a piece of code not to do anything and done.

There's memory leak issues that are easy to run into coding but ultimately Es2015+ is awesome.

0

I met a group of people that had been working on a micro-sat. It was running ubuntu and they were using MySQL for data storage.... I was wondering why the hell they thought it was a good idea to put either of those in orbit and they didn't have a good response.

Unfortunately, the rocket exploded on the pad.

Not even joking. I can probably dig up the sources if anyone is really interested. (This was a few years ago).

1

I love me some Linux, but wouldn't an RTOS that's small and designed for failover and redundancy be a better choice for a satellite?

0

Yes, yes it would be. That is why I was so baffled. It was grant supported and student designed so I almost understood the choices.. But still. I had some pretty basic questions about the system layout/design and they couldn't answer them. "That guy isn't here this year".

Plus. Really? Launching MySQL into orbit is just asking for pain.

0

I wasn't actually going to give much thought as to why they'd send a DB into space. It's not like they can't just send the data back down and do temp storage in flat text files. Hell, it's like the perfect time for .csv to be used. Send the data back in compressed format it have it automatically expanded into an database of your choice. Storing it in space is just not something I was willing to try to reason about.

My degree is in applied mathematics, which puts me squarely in the 'I am a scientist' camp. I've been in the physics lab clean room where they were building a satellite. I'm not an expert, however. But... I'm going to say I could probably have given those kids some advice. I wonder what their lead or advisor were doing?

0

Wannabe web "programmers" at it again!

0

I understand the logic, this way you separate dangerous code from messing with your OS. If they developed it in C++ then there is a chance that it compromises the flight systems.