this post was submitted on 06 Aug 2025
838 points (99.5% liked)

Programmer Humor

25671 readers
2483 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
 
top 50 comments
sorted by: hot top controversial new old
[–] fuckwit_mcbumcrumble@lemmy.dbzer0.com 187 points 1 week ago (1 children)

not turning off going to sleep when lid closed

Rookie maneuver.

[–] Stovetop@lemmy.world 125 points 1 week ago (3 children)

Could be an overheating concern maybe. Some laptops weren't designed to run with the lid closed, if it inhibits the air flow.

[–] over_clox@lemmy.world 135 points 1 week ago (2 children)

As right as that might be, it's on carpet!

I don't believe they put much thought into airflow and overheating...

[–] taco@piefed.social 52 points 1 week ago (5 children)

Which is exactly why it overheats so quickly when they close the lid.

Let's face it, the place using a laptop on the floor with a paper sign probably doesn't have the budget for real sysadmins. At the same time, most real sysadmins know to disable the lid-closing behavior and get the laptop off of the carpet because they've been foiled in their past by people who refused to read the goddamn paper sign.

[–] over_clox@lemmy.world 24 points 1 week ago* (last edited 1 week ago)

Sadly, I've actually seen a couple model laptops that were designed with one of the fan vents right above the keyboard, and only ventilated when the screen is open. VERY piss poor design, but yeah those do exist..

Example: https://i.redd.it/wcp4rm5o7u7a1.jpg

load more comments (4 replies)
load more comments (1 replies)
[–] MajorasMaskForever@lemmy.world 15 points 6 days ago (1 children)

I can't tell for sure, but it looks like a Lenovo y510p. Or at least it looks very similar to the one I owned back in the day.

There was a vent in the hinge, and these things would absolutely cook themselves with the lid closed

[–] zourn@lemmy.world 3 points 6 days ago (1 children)

I'm currently using a y510p as a home lab. Every update resets the shutdown-on-lid-close setting. Had to set up a cron job to re-disable it on boot.

load more comments (1 replies)
load more comments (1 replies)
[–] FurryMemesAccount@lemmy.blahaj.zone 83 points 1 week ago (5 children)
[–] expatriado@lemmy.world 52 points 1 week ago (2 children)

if you just moved in, server comes first, then a mattress, then the rest of the furniture

[–] FurryMemesAccount@lemmy.blahaj.zone 14 points 1 week ago (1 children)

The laptop could have setup to not sleep on close and could have been laying closed, screen on the ground. Also it would have provided completely unrestricted airflow to the fan...

[–] BananaOnionJuice@lemmy.dbzer0.com 9 points 1 week ago (1 children)

...but then the sign would have affected the airflow...

This is the best compromise until mom visits and steps on it.

[–] FurryMemesAccount@lemmy.blahaj.zone 5 points 1 week ago (1 children)

I have killed two laptops by stepping on them. Is this a sign?

load more comments (1 replies)
[–] eager_eagle@lemmy.world 12 points 1 week ago

you see ivan, server is much happier when comfortable on carpet, you can tell it wams its heart

load more comments (3 replies)
[–] some_guy@lemmy.sdf.org 64 points 6 days ago (1 children)

This laptop is secretly downloading scientific papers behind a paywall to release them on the public internet. Sadly, the owner will be prosecuted unfairly and threatened with unreasonable punishment.

Remember Aaron.

[–] Typewar@infosec.pub 52 points 6 days ago (4 children)

And the lid is not open because of preventing it sleeping, but rather to cool it down

[–] MonkeMischief@lemmy.today 17 points 6 days ago (1 children)

Yes! Very important!

I remember it being a bit trendy to turn old laptops into desktops by just unplugging the display and plugging peripherals into them, but people were finding that the keyboard actually was designed as another heat escape, so running them with the lids closed wasn't so great!

[–] MonkderVierte@lemmy.zip 5 points 6 days ago* (last edited 6 days ago)

There's people who gut them and build a nice wood-and-allu mini-pc (not me, too lazy, would order a case).

load more comments (3 replies)
[–] MonkderVierte@lemmy.zip 42 points 6 days ago (2 children)

Disable sleep-on-lid-closed.

[–] ulterno@programming.dev 19 points 6 days ago (3 children)

Take out the lid-close sensor and use it in a side project that requires a proximity sensor.

[–] serenissi@lemmy.world 4 points 6 days ago (3 children)
[–] ulterno@programming.dev 8 points 6 days ago* (last edited 6 days ago) (1 children)

I might/might not be one.
But it definitely is a proximity sensor. Unless yours is an Apple device, in which case, it might be an angle sensor.


The term "Hall sensor" would refer to the tech used in it, whereas the term "proximity sensor" refers to its function.
It could be using any other proximity sensing technique too and it would still be a proximity sensor.

[–] serenissi@lemmy.world 7 points 6 days ago (1 children)

technically yes. usually proximity sensor is used to mean IR or sonic sensors and I read in that sense.

load more comments (1 replies)
load more comments (2 replies)
load more comments (2 replies)
[–] InnerScientist@lemmy.world 11 points 6 days ago (1 children)

It's probably to prevent overheating.

Why is it just sitting on the carpet though?

[–] Jakeroxs@sh.itjust.works 28 points 6 days ago (1 children)

To prevent underheating, they're going for a medium laptop.

[–] kkj@lemmy.dbzer0.com 7 points 6 days ago

Medium-well, more like.

[–] leMe@lemmy.dbzer0.com 21 points 6 days ago

which one of you took a picture of my jellyfin server?

[–] baltakatei@sopuli.xyz 19 points 1 week ago

Is this that thin little block holding up the Internet?

[–] mmmac@lemmy.zip 18 points 6 days ago

Man when I was a kid I ran a runescape private server for anywhere within 20-100 people at a time, and for the first few weeks users reported a lot of downtime, which didn't make sense to me as whenever I tried to login it was totally fine!!

Eventually figured out closing my laptop lid put the laptop to sleep and scraped together some chore money for a VPS lol

[–] The_v@lemmy.world 13 points 1 week ago (1 children)

Lol, reminds me of my old setup.

It was all old W98 laptop that I got used. I installed xunbuntu on it back when it first came out in 2006. It sat on my desk, open like that with a bit of tape over to hold the power cord because it was loose. The battery was completely dead.

It was the server I used to host all the modded maps I made for a silly little tank game. Thing ran seemlessly only going down when the power went out or somebody juggled the power cord for 5 years.

[–] SpaceNoodle@lemmy.world 4 points 1 week ago

Wow five years is a long time to juggle something

[–] rem26_art@fedia.io 13 points 1 week ago (1 children)

and it'll be the most reliable server you own

[–] Damage@feddit.it 8 points 1 week ago

Well, for one it's got a built-in UPS... Too bad for the storage connectivity tho

[–] lemmyknow@lemmy.today 9 points 6 days ago (1 children)

TIL: maybe my local laptop-server shouldn't have the lid closed. Probably not gonna change my ways, though. What an inconvenience that'd be

[–] Yoshi@futurology.today 4 points 6 days ago (1 children)

You should be able to deactivate shutdown or sleep mode on lid closure with some commands.

load more comments (1 replies)
[–] Balldowern@lemmy.zip 9 points 1 week ago* (last edited 1 week ago) (2 children)

OMG, Y500 ? Mine is still running after 13 years!

Lenovo made some kickass computers back then.

load more comments (2 replies)
[–] jcs@lemmy.world 9 points 6 days ago* (last edited 6 days ago) (3 children)

Disable suspend when the laptop lid is closed:

sudo sed -i 's/#HandleLidSwitch=suspend/HandleLidSwitch=ignore/g' /etc/systemd/logind.conf
sudo sed -i 's/#HandleLidSwitchExternalPower=suspend/HandleLidSwitchExternalPower=ignore/g' /etc/systemd/logind.conf
sudo systemctl restart systemd-logind

If you are in a TTY, you can blank the screen before closing the lid to prevent burn-in. After running this, come back later and press a key to turn the screen on again.

alias blankscreen='setterm --blank=force; read ans; setterm --blank=poke'

[–] Grass@sh.itjust.works 5 points 6 days ago

but my keyboard is a heatsink...

load more comments (2 replies)
[–] maxwells_daemon@lemmy.world 7 points 1 week ago (1 children)

My server is a loose motherboard with a loose PSU, thrown into the living room TV rack, which I leave open for cooling. It's a repurposed (free) Athlon, DDR2. I only use it for smb and git backups, and project sharing between my desktop and laptop. What amazes me most is my IT coworkers don't find that a perfectly acceptable scenario.

[–] cmnybo@discuss.tchncs.de 7 points 1 week ago (2 children)

That free computer is going to cost you a lot on your electric bill.

[–] deadbeef79000@lemmy.nz 5 points 1 week ago (1 children)
[–] grue@lemmy.world 4 points 1 week ago (4 children)

Even in winter, it's terrible compared to a heat pump or (probably) directly burning gas or wood.

load more comments (4 replies)
load more comments (1 replies)
[–] Konstant@lemmy.world 7 points 6 days ago

Closing lid goes brrr

[–] shalafi@lemmy.world 4 points 1 week ago (4 children)

Serious question that I've wondered about but never worked on.

Can you rig a laptop to keep running with the lid closed? Either by software or hardware? I guess you could cut the switch, but an OS-based solution would be neater.

[–] IamLost@lemmy.world 8 points 6 days ago (1 children)

Yes, easily. Most OSes let you do that.

load more comments (1 replies)
[–] MBech@feddit.dk 5 points 6 days ago (1 children)

Sure, it's part of windows settings under power management.

Same with Linux!

load more comments (2 replies)
[–] Trainguyrom@reddthat.com 4 points 6 days ago (1 children)

See I would have more problems with cats chilling on the keyboard than folks closing the lid or unplugging it

load more comments (1 replies)
load more comments
view more: next ›