News for hackers. Stuff that matters.
Re:NASA can't figure out what's causing computer issues on t... by keanebean86 on Thursday June 24, 2021 @11:08AM (#27618719)
This would be cool for earth satellites.

On the other hand watching a stream involving something on Mars, let alone voyager, would be pretty boring!

Send: ls

Ok let's take a 20 minute break.

Re:NASA can't figure out what's causing computer issues on t... by diamondo25 on Thursday June 24, 2021 @11:57AM (#27619462)
From my work experience its like this: 1. Assemble commands to run 2. Run the commands and see results in the 15 minute window 3. See if you can do more commanding in the minutes you have left 4. Make a new plan, wait for next pass, and goto 1

For LEO satellites, that usually means you have 2 blocks of 3 13 minute passes, when the groundstation is in The Netherlands. For a Svalbard groundstation, you get a lot more, but still 13 minute or less passess.

Re:NASA can't figure out what's causing computer issues on t... by sfink on Thursday June 24, 2021 @02:32PM (#27621951)
I've worked on something like this, just a lot more mundane. We had Linux PCs strapped to the ceiling of various locations, mostly malls, together with a camera and projector to produce an interactive display on the floor. I had a couple of times where somebody would be onsite and the projector would be off or the display would be mangled. And it takes quite a while to get a lift to get up to the box (if it would even be allowed at that time of day), there was no network at that time, and all they had was a wireless IR keyboard that occasionally dropped keypresses.

Imagine dictating shell commands, over the phone, to a salesperson who has no idea what half the characters are that you're asking him to type, and the only output signal I could come up with was ejecting the CD tray, which was just visible from the ground...

(Note that the goal wasn't usually to fix things on the spot, it was more to triage things like whether we needed to have a replacement projector on hand, which was a big deal.)

Re:NASA can't figure out what's causing computer issues on t... by abnry on Thursday June 24, 2021 @11:36AM (#27619144)
Job Posting: NASA programmer, needs at least 1 wpm typing speed and experience with compiling large projects.
Re:NASA can't figure out what's causing computer issues on t... by diamondo25 on Thursday June 24, 2021 @12:03PM (#27619563)
The amount of preparation is much, much more than every other "accessible" installation. Typos are the worst to recover from, backspace usually doesnt exist. As I've sent commands to our Linux-running satellites, its usually prepending your commands with ctrl-c characters and a couple newlines at the end, just to make sure it runs and nothing is left in the buffer. There is also a possibility that commands get executed multiple times, and there are usually limits in transmission speed, processing speed, and frame length. Sending a lot of characters over a terminal can cause characters to be eaten, creating typos you can't see, affecting the commanding immensely.
Re:NASA can't figure out what's causing computer issues on t... by bentcorner on Thursday June 24, 2021 @01:13PM (#27620724)
Isn't there some way to ensure that what you typed is what is being executed? Dropping characters from the terminal sounds terrifying.

I don't know enough about ssh and terminals to know if it's possible to type "12345" and see "12345" echoed back to me but really what the remote session sees is "1245".

Re:NASA can't figure out what's causing computer issues on t... by diamondo25 on Thursday June 24, 2021 @03:16PM (#27622545)
Yes, terminals usually echo back the characters. In our case this would be buffered and we could request the buffer. But that would still take some operations. Best way, usually, is to send a bunch of commands in a way you ensure proper order of execution (eg write a file, check checksum of file, execute file), and make sure you can pull the logs afterwards.

Nowadays, links and systems get easier to work with, and you can sometimes have a literal TTY open to the system, like Reactor Hello World has ( https://reaktorspace.com/reaktor-hello-world/ ). However, this is over S-band, which is a 2Mbit/s link, so overhead for a stable TTY (or ethernet connection) is a lot less than using UHF/VHF.

Re:NASA can't figure out what's causing computer issues on t... by abnry on Thursday June 24, 2021 @12:31PM (#27619964)
Very fascinating! You haven't happened to written a blog post or something on this, have you? I am sure HN would love reading about it.
Re:NASA can't figure out what's causing computer issues on t... by diamondo25 on Thursday June 24, 2021 @03:17PM (#27622559)
Sorry, I did not. There are plenty of stories on the internet about cubesats, they get launched by universities even :)
Re:NASA can't figure out what's causing computer issues on t... by 3pt14159 on Thursday June 24, 2021 @01:40PM (#27621187)
I'm surprised theres no error correction in your uplink. Crazy.
Re:NASA can't figure out what's causing computer issues on t... by nonameiguess on Thursday June 24, 2021 @07:12PM (#27625130)
One of the more interesting projects I ever had to complete was while awaiting clearance when I first started working for the NRO years back in ground processing algorithms (no longer work there, by the way). One of the long time guys gave us an assignment to implement the BCH error-correcting code, and then iteratively optimize it until we were able to implement the algorithm for computing the code published in a company proprietary whitepaper that was more efficient than any of the publicly published algorithms. That was just everything that is fun about programming. The actual production implementation corrected up to 8 bits per block, though I can't remember the block size any more.

Ground processing was a totally separate program and contract from mission control, though, so my team only ever received data from the satellites. We never sent data to them.

Re:NASA can't figure out what's causing computer issues on t... by diamondo25 on Thursday June 24, 2021 @03:08PM (#27622445)
It depends on the API. If your API is "put this data over uart to the TTY", and the uart of the device is overloaded and drops characters... Or maybe mangles characters due to bitflips. Or what have you. Its all possible!
Re:NASA can't figure out what's causing computer issues on t... by gundul on Thursday June 24, 2021 @11:52AM (#27619384)
Best programmer. -1 wpm.
Re:NASA can't figure out what's causing computer issues on t... by mywittyname on Thursday June 24, 2021 @12:17PM (#27619757)
I'm so fast that I can do -127wpm. Only in certain software though.
Re:NASA can't figure out what's causing computer issues on t... by Koshkin on Thursday June 24, 2021 @12:04PM (#27619584)
Only needs a keyboard with one key.
Re:NASA can't figure out what's causing computer issues on t... by robocat on Thursday June 24, 2021 @07:35PM (#27625303)
Re:NASA can't figure out what's causing computer issues on t... by mkr-hn on Thursday June 24, 2021 @03:13PM (#27622513)
Time to bring back flowchart templates.
Re:NASA can't figure out what's causing computer issues on t... by throwawayboise on Thursday June 24, 2021 @01:04PM (#27620562)
If you ever worked on a busy mainframe your compile jobs could easily be queued for 20-30 minutes. Made you much more careful to check for typos and do test runs of the code "in your head" before submitting.