this post was submitted on 02 Aug 2023
498 points (97.3% liked)

Programmer Humor

32018 readers
1010 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] IHeartBadCode@kbin.social 134 points 1 year ago (4 children)

Next hardware reset and automatic reorientation for Voyager 2 is October 15th. Yes the device automatically resets itself about four to five times a year. Communications are expected to be reestablished then.

[–] fiat_lux@kbin.social 47 points 1 year ago

In the meantime, they're going to shout at it.

[–] HiddenLayer5@lemmy.ml 40 points 1 year ago

That's good news! I was about to ask whether they have some absolute software recovery procedure and glad they do!

[–] JackbyDev@programming.dev 26 points 1 year ago

That's great to know. This post made me weirdly depressed and was a bad way to start the morning lol.

[–] fibojoly@sh.itjust.works 3 points 1 year ago

Almost like real engineers planned for such an event!

[–] borlax@lemmy.borlax.com 56 points 1 year ago (1 children)

Someone ran 'systemctl restart networking' while SSH'd into the probe.

[–] Psythik@lemm.ee 3 points 1 year ago* (last edited 1 year ago) (3 children)

Unrelated but I've been wondering this for years: What's your avatar from and why do so many people across the web have that exact same one?

[–] borlax@lemmy.borlax.com 3 points 1 year ago

No idea, I found it somewhere a decade ago and have been using it. I think I’ve only seen someone with it like one other time. 🤷🏻‍♂️

load more comments (2 replies)
[–] starman@programming.dev 38 points 1 year ago (3 children)

sudo rm -rf --no-preserve-root /

[–] metaStatic@kbin.social 22 points 1 year ago* (last edited 1 year ago) (2 children)

starman is not in the sudoers file.
This incident will be reported.

[–] starman@programming.dev 20 points 1 year ago

Oh no, Linus Torvalds is gonna call me again

[–] Number358@lemmy.world 1 points 1 year ago
[–] HiddenLayer5@lemmy.ml 2 points 1 year ago

sudo rm -rf i_want_to_delete_everything_in_this_folder /*

oops...

load more comments (1 replies)
[–] MJBrune@beehaw.org 29 points 1 year ago (2 children)

Wikipedia states: "In July 2023, communication with Voyager 2 was lost when flight control pointed its antenna away from Earth, moving it by 2 degrees away from Earth. The NASA dish antenna in Canberra is being used to search for the space probe and will be used to saturate its location with commands to re-align the probe's antenna in an attempt to re-establish the radio link. If NASA fails to contact the probe, it is expected that an automatic system on Voyager 2 will direct its dish toward Earth in October 2023."

[–] MJBrune@beehaw.org 31 points 1 year ago

So essentially someone probably wanted to move it one way and it moved the other. It should automatically reposition itself in contact with NASA in 2 months. It's amazing the foresight we had in 1977 to write in all sorts of catch-alls... In 2 months we'll get back in contact with the probe and it will have its own place, hanging out with aliens.

[–] Sibbo@sopuli.xyz 4 points 1 year ago

Great that they included these automatic hardware resets. Way to go if your computer will never see a human or human-made thing ever again

[–] dontblink@feddit.it 29 points 1 year ago (1 children)

You just need to reboot it manually

[–] HiddenLayer5@lemmy.ml 19 points 1 year ago

Just press and hold the power button smh

[–] palordrolap@kbin.social 29 points 1 year ago

V2 be like: "WHAT did you say about my mother? F... you, Earth man."

Mission control: "Dude you don't have a mother it was a typo. Dude. Talk to me."

seen

Mission control: "Dude."

seen

Mission control: "C'mon man."

This message could not be sent. V2 may have blocked your number

[–] fuzzy_goldfish@lemmy.world 27 points 1 year ago (2 children)

https://www.npr.org/2023/08/02/1191341035/nasa-voyager-2-spacecraft-contact

Sounds like it's a recoverable error (if the scientists can't do it the spacecraft has an automated process that'll kick in in October.) Still, I can't imagine what that must feel like.

[–] BewilderedBeast@mander.xyz 2 points 1 year ago

https://www.spaceflightnow.com/news/n0410/04noaanreport/

Probably a lot like the person responsible for dropping the NOAA-19 satellite.

load more comments (1 replies)
[–] Carol2852@discuss.tchncs.de 24 points 1 year ago

That's why your color your production windows red.

[–] platysalty@kbin.social 23 points 1 year ago (1 children)

When you ufw enable but forgot to whitelist port 22

[–] iByteABit@lemm.ee 22 points 1 year ago

Hello IT, have you tried turning it off and on again?

[–] yoz@aussie.zone 15 points 1 year ago* (last edited 1 year ago) (1 children)

Wow! Wondering how the guy is being treated who sent the wrong command. I did it once at my work and people were acting really Weird. In my defense, I never really liked the job.

[–] Dirk@lemmy.ml 25 points 1 year ago (3 children)

I bet you don't simply send random commands to the probe. There are likely a dozen of people who need to approve literally every keystroke.

[–] Gecko@lemmy.world 14 points 1 year ago (1 children)

This. And even then there should be procedures in place to essentially make it impossible to send the wrong inputs.

It's like when an intern accidentally drops the production database. It's not the interns fault for sending the wrong command. It's the managements fault for not restricting access in the first place.

[–] InputZero@lemmy.ml 4 points 1 year ago (1 children)

This. This. I used to work on safety control systems for heavy industrial applications and it's this. Once the system is running any changes at all went through a whole chain of people. When the change was being implemented I had my supervisor and their manager checking every line over my shoulder before we wrote it. Then test. Then lock it down with a digital signature.

It's not at all like in college/university where you're making changes to your code over and over. Well it is in simulations but that's long before you deploy it. By the end everyone involved should be able to say exactly what every line of code is going to do. This isn't an intern fucking up, the whole team did, and whomever the buck stops with at the top is responsible.

[–] agent_flounder@lemmy.one 1 points 1 year ago (1 children)

They have like a whole test environment that is an exact duplicate right?

[–] InputZero@lemmy.ml 2 points 1 year ago

If you're talking about Voyager, I'd assume so, but I don't have any source to back that up. If you're talking about my previous work, the test environment was exact enough... Cough not-even-close cough.

[–] lowleveldata@programming.dev 11 points 1 year ago (1 children)

"I'm gonna click approve without looking because the tons of people before / after me must have / will review it."

[–] Dirk@lemmy.ml 2 points 1 year ago

I’m gonna click approve without looking

… and at this moment it is no longer my problem. I have written evidence that I forwarded my command for approval.

load more comments (1 replies)
[–] independantiste@sh.itjust.works 15 points 1 year ago

Probably played with the firewall settings and accidentally disabled port 22... It sucked when I did that

Looks like someone removed the ssh keys

[–] hemko@lemmy.world 11 points 1 year ago

Patching recent ssh vulnerabilities I see

[–] roi@lemmy.blahaj.zone 10 points 1 year ago
[–] Seris_@lemmy.world 9 points 1 year ago

Tfw you conf t and shut a management port down on accident and don't have a backup console connection

[–] stark@qlemmy.com 9 points 1 year ago

There's no going into the office to fix this one...

[–] Goodman@discuss.tchncs.de 7 points 1 year ago

No biggie just get someone to mount the files system and edit the ssh file 😌

[–] Admin@tsck.org 7 points 1 year ago
ssh root@vps
[commands]
sudo shutdown now

FUC-

[–] abcd@feddit.de 7 points 1 year ago

Have you tried turning it off and on again?

[–] bob@infosec.pub 6 points 1 year ago

iptables -P INPUT DROP

[–] Iniquity@lemmy.zip 6 points 1 year ago (2 children)

Awww, what a shame though. This probe was doing some really cool stuff, it's kinda iconic in my head.

[–] fiat_lux@kbin.social 23 points 1 year ago

It should be ok. It's due to self-reset its orientation on October 15, they put measures in place for if they accidentally lost contact.

I would still be besides myself if I had made that error though.

[–] HiddenLayer5@lemmy.ml 7 points 1 year ago* (last edited 1 year ago) (1 children)

Yeah all jokes aside this is a actually pretty big loss for the scientific community. Assuming it's completely unrecoverable. We blew our chance to actually measure the conditions in interstellar space and see if it lines up with our theories, and another probe is not only not planned for the foreseeable future by any space agency, it will also take decades to get to where Voyager 2 is now.

Edit: Nevermind, see the other comment. It's likely not permanently lost!

[–] agent_flounder@lemmy.one 3 points 1 year ago

Also haven't we been gathering interstellar readings for a while now?

[–] mayflower@lemmy.ml 6 points 1 year ago

Must have been an intern.

[–] shiham@lemmy.shihaam.me 6 points 1 year ago
load more comments
view more: next ›