News for hackers. Stuff that matters.
Re:Voyager 1 phones home with transmitter that hasn't been u... by crubier on Thursday October 31, 2024 @09:19AM (#42006631)
> Meanwhile a javascript app of mine from 2022 does not build now because I can’t get it to install the dependencies for some reason.

Tired take... I promise that if your JS app ran in 2022 and you completely isolated the computer from the internet, your JS app would still run in 2067. This is completely unrelated. Also JS is probably one of the easiest language to repro, if you have a lockfile you're good to go.

Re:Voyager 1 phones home with transmitter that hasn't been u... by Workaccount2 on Thursday October 31, 2024 @09:33AM (#42006745)
The transmitter software built back then was so close to bare metal that it practically could be called hardware.

Stuff today has been so hilariously abstracted on such thick layers of complexity pressed into neat "simple" blocks that it's almost miraculous anything works day-to-day.

Re:Voyager 1 phones home with transmitter that hasn't been u... by tdeck on Thursday October 31, 2024 @09:39AM (#42006793)
> The transmitter software built back then was so close to bare metal that it practically could be called hardware.

Fun fact: we call this "firmware" and it still exists today!

Re:Voyager 1 phones home with transmitter that hasn't been u... by jacobsimon on Thursday October 31, 2024 @09:48AM (#42006885)
… It somehow just dawned on me that firm is between “hard” and “soft”
Re:Voyager 1 phones home with transmitter that hasn't been u... by UI_at_80x24 on Thursday October 31, 2024 @10:49AM (#42007493)
Mind blown too!
Re:Voyager 1 phones home with transmitter that hasn't been u... by eknkc on Thursday October 31, 2024 @09:52AM (#42006922)
Holy..
Re:Voyager 1 phones home with transmitter that hasn't been u... by K0balt on Thursday October 31, 2024 @11:40AM (#42007982)
Oh, my sweet summer children…

Once you fully internalize that your buggy program is running on a buggy framework, in a buggy language, in a buggy sandbox, on a buggy virtualization, on a buggy file system, scraping along on buggy silicon running buggy microcode, managed by other buggy silicon running buggy firmware, using peripherals with their own buggy silicon and firmwares, with everything happening billions of times per second (a car engine typically doesn’t reach a billion cycles over a 20 year lifespan ), it seems mind bogglingly improbable that anything works at all lol.

The fact that it does work, and can even routinely reach 5 nines, is a testament to the generosity of the universe… and a good argument for making sure that to whatever extent possible, you should write your software to be resistant to random events and erroneous operations. Fail safe/ fail soft, fail and retry, fail and restart. The more resilience we build into our work, the less angst we create in the world.

Re:Voyager 1 phones home with transmitter that hasn't been u... by emchammer on Thursday October 31, 2024 @12:12PM (#42008303)
Coded by buggy primates who wear malfunctioning clothing.
Re:Voyager 1 phones home with transmitter that hasn't been u... by K0balt on Friday November 01, 2024 @03:46PM (#42020803)
All that being said, Holy shit, voyager. A nearly 50 year old robot in continuous operation, on its way out of the solar system into deep space. I would venture to say that this is an engineering accomplishment on par with the catch of the starship booster the other day.

It’s amazing to see both the half hour miracle of engineering and the half century one playing out at the same time. I just hope our accomplishments today will in some way be as durable as those of generations past.

Re:Voyager 1 phones home with transmitter that hasn't been u... by BrandoElFollito on Thursday October 31, 2024 @02:27PM (#42009860)
Pffff, 30 years of IT and I just realized that today (if the name was indeed intended; if not it is a cool coincidence)
Re:Voyager 1 phones home with transmitter that hasn't been u... by illiac786 on Thursday October 31, 2024 @05:04PM (#42011490)
Yeah, but if it wasn’t there wouldn’t be enough days in a human life to learn to use it.

Everything we create is to save on our most precious resource: human effort and time.

AI is so ridiculously wasteful if you think about it, from a computing point of view. But, it doesn’t require us to write a dedicated piece of code for each new problem, thus it’s saving humans effort and time.

Of course, the question remains, what does come out of all this productivity?

Re:Voyager 1 phones home with transmitter that hasn't been u... by gruturo on Thursday October 31, 2024 @12:13PM (#42008319)
Actually.... most likely no, unless you fudge the system clock. Root CAs will expire, chains of trust will break and your app most likely won't run unless you very carefully design it to not have any such dependency, not even indirectly through any of the imported libraries you use. Or your browser will throw an error and refuse to start for the same reason.

But hey, maybe you won't even be able to login if you do so through a Google/Microsoft/Apple ID.

...and you use an SSD? Be amazed at how fragile they are. Chances it will be running 45 years are... not good.

Re:Voyager 1 phones home with transmitter that hasn't been u... by fph on Thursday October 31, 2024 @12:40PM (#42008566)
This suggests a question: how does the Voyager handle authenticating commands? Whatever crypto they had in 1977 is surely completely broken now. Security by obscurity? Or can anyone with a large enough antenna send commands to it?
Re:Voyager 1 phones home with transmitter that hasn't been u... by xyx0826 on Thursday October 31, 2024 @02:48PM (#42010128)
The Voyagers’ protocol use no encryption and the specification appears to be public. I’ve linked a PDF of what appears to contain the protocol description below. So anyone with a *large enough* antenna can talk to it. It just happens to be that the “anyone” on earth really is just NASA and its Deep Space Network.

https://descanso.jpl.nasa.gov/DPSummary/Descanso4--Voyager_n...

Re:Voyager 1 phones home with transmitter that hasn't been u... by alexander2002 on Thursday October 31, 2024 @02:01PM (#42009541)
I need to know the answer to this also!
Re:Voyager 1 phones home with transmitter that hasn't been u... by crubier on Friday November 01, 2024 @05:51PM (#42021908)
This is moving goalposts. Voyager doesn't need to manage Root CAs. Any JS program with the same scope as what Voyager does would be fine. Of course if it needs to connects to online services, deal with certs or other things, yes, it won't work. But neither would voyager-era software with similar requirements.
Re:Voyager 1 phones home with transmitter that hasn't been u... by tivert on Thursday October 31, 2024 @10:32AM (#42007299)
Actually, the amazing thing is the Voyager team has documentation to know how all that stuff built in 1977 works, so they can still maintain it.

So much software nowadays is written like it's a disposable item (and then the company decides to keep using what amounts to a 2006-era paper cup from McDonalds every day in a business-critical process for the next 20 years).

Re:Voyager 1 phones home with transmitter that hasn't been u... by jauntywundrkind on Thursday October 31, 2024 @11:44AM (#42008033)
I'm not even sure how to categorize such an amazing known but widely crudded upon truth. It's incredible but this tower of protocols has been quite enduring and allows many many epochs of js to come and go, as time marches on. And it will keep being here.

There's so much scaredness, anger, and mistrust of js. But this tired take was with us, and still is with us, and will keep being with us for a long long long time. Nothing else comes as close to being a media form as HTML+js+css.

Re:Voyager 1 phones home with transmitter that hasn't been u... by eknkc on Thursday October 31, 2024 @09:24AM (#42006663)
Meh. I tried to npm install and run it. Npm failed with a cryptic error message. I have a built docker image of this so in any case, I can eventually fix it. Was not that important though.

But then again, why the fuck does that fail now?

I had a friend who was convinced that JPEGs would slowly degrade sitting on a disk. This was around 1990s so he would store important things in BMP so they would not degrade.

I think node_modules has something similar.

Re:Voyager 1 phones home with transmitter that hasn't been u... by actionfromafar on Thursday October 31, 2024 @09:27AM (#42006691)
Your friend was sort of not entirely wrong. A JPEG decoder can do many decisions on how to decode, while a BMP is just pixels. (So then it's "only" a matter of color spaces.)
Re:Voyager 1 phones home with transmitter that hasn't been u... by eknkc on Thursday October 31, 2024 @09:41AM (#42006808)
Ok you are probably on to something I need to apologize for calling him a moron more than once on this.

Come to think about this, we used a lot of different software and switched them as Windows would not open JPEGs by itself I believe.

Re:Voyager 1 phones home with transmitter that hasn't been u... by Scene_Cast2 on Thursday October 31, 2024 @09:46AM (#42006855)
There's also bit flips. A JPEG can be more easily corrupted if some bits randomly flip.
Re:Voyager 1 phones home with transmitter that hasn't been u... by yjftsjthsd-h on Thursday October 31, 2024 @10:14AM (#42007137)
Also JPEG is lossy, BMP is lossless.
Re:Voyager 1 phones home with transmitter that hasn't been u... by moron4hire on Thursday October 31, 2024 @09:34AM (#42006755)
I haven't experienced this with JPEGs but wouldn't be surprised, as I have experienced it with MP3s. Newer decoders can't play some of my MP3s made with older encoders.
Re:Voyager 1 phones home with transmitter that hasn't been u... by actionfromafar on Thursday October 31, 2024 @09:44AM (#42006831)
Well, a compliant JPEGs will still open in any reader, but can look slightly different. In a low-resolution image, it could change some fine detail you really cared about.
Re:Voyager 1 phones home with transmitter that hasn't been u... by stvltvs on Thursday October 31, 2024 @03:59PM (#42010870)
Ages ago I did some bit flip tests on different image encodings for a school project. It was interesting to see how a single flipped bit would propagate across the image in encodings that relied on similarity to nearby pixels for compression. Really the effect was limited to the frame, but the effects could be striking.
Re:Voyager 1 phones home with transmitter that hasn't been u... by greenavocado on Thursday October 31, 2024 @09:46AM (#42006858)
Bit rot is real and has affected me multiple times. You need redundant storage like RAID to minimize the risk.
Re:Voyager 1 phones home with transmitter that hasn't been u... by needaname on Thursday October 31, 2024 @09:30AM (#42006720)
That's your fault for not using npm ci