r/ProgrammerHumor • • 29d ago

Meme noAgentLeftBehind

Post image
7.7k Upvotes

357 comments sorted by

View all comments

Show parent comment

29

u/JangoDarkSaber 29d ago

You can look at the power log to tell if it was sleeping or not.

pmset -g log | grep -E "Sleep|Wake|DarkWake"

You can also keep it awake with the lid closed with

sudo pmset -a disablesleep 1

5

u/New-Anybody-6206 29d ago

wouldn't caffeinate do the same thing without root?

12

u/Traditional_Safe_654 29d ago

Yup, super easy UX for grandpa and Aunt Annie

32

u/JangoDarkSaber 29d ago

This is programmer humor. Grandpa and Aunt Annie aren’t worried about their agents while grabbing lunch

6

u/Traditional_Safe_654 29d ago

I am criticizing apples lack of config options

8

u/JangoDarkSaber 29d ago

No different than Linux. Just use the terminal

10

u/ubernutie 29d ago

Yeah but their brand is all about how they know UX better than the rest of the world so it kind of lands differently.

Linux is also free, you know.

5

u/lucidludic 29d ago

For the vast majority of users the correct UX here is for the laptop to sleep automatically when the lid is shut.

0

u/Waswat 29d ago edited 29d ago

As the default, yes, and the correct UX would additionally add a UI option to change that if desired. Because there still are times that people want an exception to the default.

2

u/lucidludic 29d ago

No, the amount of users who would benefit from that is much, much smaller than the number who would accidentally set it and find that their laptop has run out of battery when they next try to use it, or has overheated in an enclosed case.

For anyone who does need it, there are terminal commands or third-party apps.

-2

u/Waswat 28d ago

Citation needed.

→ More replies

0

u/JangoDarkSaber 29d ago

Idgaf about their brand. If I’m using Mac OS it’s cause I’m developing software for apple products.

Power users do power user shit in the terminal regardless of the os.

Plus Mac’s are free too cause it’s always the company that’s paying for em.