this post was submitted on 06 Aug 2025
885 points (99.2% liked)

Programmer Humor

32824 readers
1277 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 3 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] MonkderVierte@lemmy.zip 46 points 1 year ago (2 children)

Disable sleep-on-lid-closed.

[–] ulterno@programming.dev 20 points 1 year ago (2 children)

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

[–] serenissi@lemmy.world 4 points 1 year ago (3 children)
[–] ulterno@programming.dev 8 points 1 year ago* (last edited 1 year 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 1 year ago (1 children)

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

[–] ulterno@programming.dev 1 points 1 year ago

I see.
I used "proximity sensor" because I didn't know what these sensors use and didn't want to worry about it while writing that comment.

[–] Agent641@lemmy.world 2 points 1 year ago

If the Dexter actor is near it, the screen goes off

[–] Nalivai@lemmy.world 1 points 1 year ago

On thinkpads it is, there is a magnet on the bottom.

[–] AllHailTheSheep@sh.itjust.works 3 points 1 year ago (1 children)

I had a dell latitude for my first server. even when I removed the magnets, some how it still would detect that the kid was closed and turn off. I tried everything I could think of and more, without any luck. the solution? I removed the display entirely so it couldn't be closed and only used it via ssh or a VGA monitor if I really needed it.

[–] ulterno@programming.dev 0 points 1 year ago

I removed the magnets

I have an older ASUS ROG laptop in which the sensor is a separate PCB (less than a thumb in size) connected using a few IDC pins.
It could simply be taken off and I haven't even opened the monitor frame yet.

[–] InnerScientist@lemmy.world 12 points 1 year ago (1 children)

It's probably to prevent overheating.

Why is it just sitting on the carpet though?

[–] Jakeroxs@sh.itjust.works 29 points 1 year ago (1 children)

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

[–] kkj@lemmy.dbzer0.com 7 points 1 year ago

Medium-well, more like.