this post was submitted on 05 Aug 2025
24 points (100.0% liked)

Programmer Humor

27720 readers
161 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
24
Peak security (lemmy.world)
submitted 4 months ago* (last edited 4 months ago) by qaz@lemmy.world to c/programmer_humor@programming.dev
 

^This^ ^is^ ^a^ ^joke,^ ^I^ ^didn't^ ^really^ ^lock^ ^myself^ ^out^

top 34 comments
sorted by: hot top controversial new old
[–] mavu@discuss.tchncs.de 4 points 4 months ago

even worse. I regularly have to get up out of my chair and go down 2 stairs.

Also this took a while to find, but : https://sourceforge.net/p/shorewall/svn/HEAD/tree/branches/4.2/Samples/one-interface/shorewall.conf

ADMINISABSENTMINDED=Yes

Is an actual setting in the config for the (now apparently unmaintained) Shorewall Firewall software/tool for linux.

If I remember correctly, it always checks on firewall rule changes if there is an active connection on port 22, and adds a special rule at the end to maintain that connection.

They don't build them like they used to anymore.

[–] napkin2020@sh.itjust.works 3 points 4 months ago (1 children)

Happened to me once. Had a little Pi at my parent's house and that was a nice excuse to visit them.

[–] anomnom@sh.itjust.works 0 points 4 months ago (1 children)

Except when you get there and don’t want to talk or do all the meeting and greeting until you know the server still works.

[–] null@lemmy.nullspace.lol 1 points 4 months ago (1 children)

Doing this is a right of passage.

[–] palordrolap@fedia.io 1 points 4 months ago (2 children)

Believe it or not, "rite" is the, uh, right, word here.

[–] null@lemmy.nullspace.lol 4 points 4 months ago

Messing up the spelling is a wrong of passage.

[–] Tikiporch@lemmy.world 0 points 4 months ago (1 children)
[–] JackbyDev@programming.dev 0 points 4 months ago (1 children)
[–] randint@lemmy.frozeninferno.xyz 0 points 4 months ago (1 children)

Almost the same thing happened to me. I accidentally fucked up the internet connection in my home while in Japan, and I had to video call my mom to have her fix it. It was a pain for both of us, but thankfully it went rather smoothly. Thank you mom!

[–] buttnugget@lemmy.world 1 points 4 months ago

Do you mind explaining the details? I’m trying to learn as much as possible!

[–] A_norny_mousse@feddit.org 0 points 4 months ago* (last edited 4 months ago) (1 children)

Don't practically all commercial hosting providers provide remote console access?

This seems a combo of an extremely newb mistake in an extremely unusual scenario - worthy of Gru I guess.

[–] onslaught545@lemmy.zip 1 points 4 months ago

Physical, on premises servers are still a thing.

[–] piefood@feddit.online 0 points 4 months ago (1 children)

Before you make a change, do this in a screen-session:

sleep 300 && iptables-restore old_fw_rules.bak

[–] Itdidnttrickledown@lemmy.world 0 points 4 months ago (1 children)

Yeah except it would be iptables-restore < old_fw_rules.bak

[–] piefood@feddit.online 1 points 4 months ago* (last edited 4 months ago)

Fun fact: When you do iptables-save, you have to redirect the output if you want to save it to a file. But when you use iptables-restore, you don't need to pipe it back in, you can just use the filename!

[–] clockworkrat@slrpnk.net 0 points 4 months ago (1 children)

That the slrpnk.net admins in the picture?

[–] qaz@lemmy.world 0 points 4 months ago (1 children)

They had a hardware failure but close enough

[–] joyjoy@lemmy.zip 0 points 4 months ago (1 children)

Would misusing the dd command be considered a hardware failure?

[–] sylver_dragon@lemmy.world 1 points 4 months ago

Yup, that's a bug in the chair-keyboard interface.

[–] inconceivable@feddit.org 0 points 4 months ago (1 children)

Real servers have lights out management and management networks.

[–] qaz@lemmy.world 0 points 4 months ago* (last edited 4 months ago) (1 children)

I'd rather plug in a screen with VGA than deal with HPE iLO 4

[–] NeilBru@lemmy.world 0 points 4 months ago* (last edited 3 months ago) (1 children)

Networking noob here; what, pray tell, is HPE iLO4... or do I want to even know?

Edit: Never mind. Found it. HP... shudders

[–] buttnugget@lemmy.world 1 points 4 months ago

“In December 2021 Iranian researchers at Amnpardaz security firm have discovered rootkits in HPE's iLO (Integrated Lights-Out) management modules.”

Because of course lol

[–] balsoft@lemmy.ml 0 points 4 months ago (1 children)

This is precisely the problem that deploy-rs solves!

[–] somerandomperson@lemmy.dbzer0.com 0 points 4 months ago (1 children)

why is everything in rust now

[–] balsoft@lemmy.ml 0 points 4 months ago (1 children)

It's easy to write, easy to build, produces lightweight and fast executables, and the type system is great. Why not rust?

[–] UpperBroccoli@lemmy.blahaj.zone 0 points 4 months ago (2 children)

Rust does not have an ABI. Everything is linked into the executables. I would not call them lightweight.

[–] qaz@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

A standard Docker container with a NodeJS/PHP/Python app is usually around 200-300 MB (yes really), the OpenJDK JVM is around a hundred MB, but a fully statically compiled rust binary that doesn't even depend on libc is just a couple MB and can be deployed as a tiny distroless Docker container.

It's a lot heavier than your 8kb C++ executable but it's nothing compared to what is required to deploy anything else.

[–] grue@lemmy.world 0 points 4 months ago (1 children)

Oh, so it's inconvenient for GPL-circumventers, too? That just sounds better and better.

[–] UpperBroccoli@lemmy.blahaj.zone 0 points 4 months ago (1 children)

To me, it is mostly a real blocker for using it in some embedded Linux devices due to size constraints, otherwise I personally would be using it extensively.

[–] grue@lemmy.world 1 points 4 months ago* (last edited 4 months ago)

I'm having a hard time imagining this Goldilocks embedded device that is simultaneously big enough to run Linux (so not an actual microcontroller), yet too small for a few megabytes worth of statically-linked libraries. Got an example?