this post was submitted on 02 Aug 2023
545 points (97.7% liked)

Programmer Humor

36876 readers
157 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 144 points 2 years 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 48 points 2 years ago

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

[–] HiddenLayer5@lemmy.ml 44 points 2 years 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 29 points 2 years 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 5 points 2 years ago

Almost like real engineers planned for such an event!

[–] borlax@lemmy.borlax.com 58 points 2 years ago (1 children)

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

[–] Psythik@lemm.ee 4 points 2 years ago* (last edited 2 years 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 4 points 2 years 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 2 years ago (3 children)

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

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

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

[–] starman@programming.dev 20 points 2 years ago (1 children)

Oh no, Linus Torvalds is gonna call me again

[–] borlax@lemmy.borlax.com 2 points 2 years ago

Linus calling you to belittle your management of the sudoers file is the FOSS form of swatting lol.

load more comments (1 replies)
[–] HiddenLayer5@lemmy.ml 2 points 2 years ago

sudo rm -rf i_want_to_delete_everything_in_this_folder /*

oops...

load more comments (1 replies)
[–] palordrolap@kbin.social 32 points 2 years 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 32 points 2 years 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 2 years 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)
[–] dontblink@feddit.it 29 points 2 years ago (1 children)

You just need to reboot it manually

[–] HiddenLayer5@lemmy.ml 20 points 2 years ago

Just press and hold the power button smh

[–] Carol2852@discuss.tchncs.de 27 points 2 years ago

That's why your color your production windows red.

[–] platysalty@kbin.social 25 points 2 years ago (1 children)

When you ufw enable but forgot to whitelist port 22

[–] iByteABit@lemm.ee 22 points 2 years ago

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

[–] independantiste@sh.itjust.works 16 points 2 years ago

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

[–] stark@qlemmy.com 15 points 2 years ago

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

Looks like someone removed the ssh keys

[–] yoz@aussie.zone 15 points 2 years ago* (last edited 2 years 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 27 points 2 years 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 15 points 2 years 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 2 years ago (2 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.

load more comments (2 replies)
[–] lowleveldata@programming.dev 11 points 2 years 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 2 years 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)
[–] hemko@lemmy.world 11 points 2 years ago

Patching recent ssh vulnerabilities I see

[–] roi@lemmy.blahaj.zone 10 points 2 years ago
[–] Seris_@lemmy.world 10 points 2 years ago

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

[–] shiham@lemmy.shihaam.me 8 points 2 years ago
[–] Admin@tsck.org 8 points 2 years ago
ssh root@vps
[commands]
sudo shutdown now

FUC-

[–] bear_with_a_hammer@lemm.ee 7 points 2 years ago

"Hello, we are fucked up, let us explain what happened and why is this not our fault"

[–] Goodman@discuss.tchncs.de 7 points 2 years ago

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

[–] abcd@feddit.de 7 points 2 years ago

Have you tried turning it off and on again?

[–] mayflower@lemmy.ml 6 points 2 years ago

Must have been an intern.

[–] bob@infosec.pub 6 points 2 years ago

iptables -P INPUT DROP

[–] Iniquity@lemmy.zip 5 points 2 years 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 24 points 2 years 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 2 years ago* (last edited 2 years 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 2 years ago

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

[–] TalesFromTheKitchen@lemmy.world 3 points 2 years ago

Wow, I just read the wiki. It has a 64 Megabyte tape storage, so after it realigns the antenna they can receive the data they've missed. Pretty state of the art for 1977. I wonder how they shielded it from radiation. The fuel source of the reactor lasts probably until 2026. After that, it'll travel as a brick, most likely long after humans rm -rf'd

load more comments
view more: next ›