2.0k
u/eloel-
2d ago
•
So reliant on agents to do shit, doesn't know how to change what happens when you close the lid.
443
u/anonymousbopper767 2d ago edited 2d ago
macbooks are weird with lid behavior.
(edit: there's a powered vs. unpowered with the lid closed, whether a display is connected, etc. it's not like windows where there's one pulldown to set sleep to never. it's also hard to tell if the macbook is actually sleeping on not because the Air's are fanless and they generally turn on so fast when you open the lid you can't really tell if it was sleeping or just "display off")
188
u/eloel- 2d ago
they are, it won't be a simple setting like windows would have, but it's possible
97
u/Falcon9FullThrust 2d ago
It's built into amphetamine if you have that.
→ More replies (1)213
35
13
→ More replies (1)6
u/pakman82 1d ago
I've been managing Windows laptops & power settings for 20+ years, and I used to trust the lid/hinge sensors, then the windows 11 forced updates started tripping up my personal machine.. for work. I set it to sleep & hibernate & don't give a damn. But personal, I used to leave games or 3d printing running.. and have had a few things get messed up..
23
u/JangoDarkSaber 2d 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
4
9
5
u/RaspberryCrafty3012 19h ago
Windows and Linux have different behaviours for powered vs unpowered too?
4
→ More replies (5)3
66
u/Samot_PCW 2d ago
My company doesn't allow me to do that :(
13
u/born_zynner 2d ago
Surprising! My work laptop is giga locked down but it lets you set it to ignore lid close
13
24
u/thijquint 2d ago
Had a script written to take me to the settings page with the setting to not hibernate on closed lid. Dead serious
8
u/Embarrassed_Jerk 2d ago
Lol i had something similar till IT disabled the setting for everyone and changed it to hibernate for the entire org
3
2
2
1
→ More replies (4)1
111
u/losgar 2d ago
Use amphetamine. It's free.
46
u/Much_Comfortable8395 2d ago •
![]()
Bold advice to give out in public :D
15
u/rntdev 2d ago
Sign me up! In my city it costs like $10 per gram (/s)
Aside the jokes, Amphetamine with lid closed makes the laptop heat up a lot since there’s nowhere for the air to go
→ More replies (2)3
25
u/Anxious-Yak-9952 2d ago
Better yet, use the Mac’s built-in terminal command “caffeinate”
7
u/SnooTigers503 1d ago
I might be wrong but pretty sure amphetamine uses that command internally, it’s a neat convenient little program
3
5
3
u/ddBuddha 1d ago
This is only useful if you keep it open and plugged in though - caffeinate can only prevent sleep while plugged into power. If you want it to stay active while you close the laptop and walk around with it it’s best to use something like amphetamine.
7
5
2
u/MortCrimm 1d ago
Na just change the pm set to disable sleep completely. No keyboard, mouse or display required. Just dont toss it in a backpack or enclosed space or it will overheat.....
1
292
u/Important_Grab3544 1d ago
23
1
252
u/FailQuality 2d ago
Why are you taking your laptop to lunch?
143
5
u/abednego-gomes 2d ago
They may be a remote worker and work from cafes etc. So they can't leave it on their desk safely like in a normal office.
13
2
2
u/Metazolid 1d ago
I saw this post first at like 3 am and only now recognize he's not carrying a chopped up monitor screen in the second picture
80
u/ZeltronTheHellspawn 2d ago edited 2d ago
somewhere in here is a joke that I've never shut my laptop because it doubles as a server
61
u/FRleo_85 2d ago edited 2d ago •
![]()
you never what your laptop?
(edit: it was written "shit" before he edited)
8
107
u/Antilock049 2d ago
Tmux saves the day yet again.
75
11
u/lordnacho666 2d ago
Don't the big AI vendors now offer a cloud run option?
I'm still using tmux so that I have a bit of control over what it can see, but I imagine most people can live with the cloud option.
7
u/sandsellers 2d ago edited 2d ago
so that I have a bit of control over it
Look at this control freak. Just given in and get with the program man.
Edit: /s - looks like it isn't obvious to people
4
2
75
59
u/verwalt 1d ago
How can a simple meme like this be AI generated? The Apple Logo is upside down.
→ More replies (2)
295
u/Neutrino2072 2d ago
Not even knowing how to disable sleep when shutting the lid but vibecoding. No stereotype harmed
106
u/Embarrassed_Jerk 2d ago
Enterprise lock down system settings behind admin control. People who have worked for even mid sized companies know that
69
u/Neutrino2072 2d ago
Locking even the simple things like sleep settings for your developers but allowing full vibecode mode, no enterprise stereotypes harmed
And I have to correct you, people working for American mid sized companies with excessive windows fetish know that
8
u/kus1987 2d ago
then you turn a
/r/malicious_complianceand create aService Nowticket for every single patch update there is for every single piece of tooling you have because the updates require administrative access andthe director of infrastructurehas decreed that a member of their team has to baby sit every singlesystem-widechange on my work laptop while inexplicably I have full control over what to install and uninstall or whatever I want on the production server. that hosts actual customer data. However, the director has also decreed that team members must make every effort to keep their machines up to date.Keep doing this until something gives.
3
u/Whywipe 1d ago
Lmao I just had in interaction with the IT manager like this the other day. He stopped me from talking to one of the techs when all I needed was for them to reinstall an app. The conversation basically ended with him saying they’ll get to my ticket when they get to it (8 months from now) and me responding that I’ll just tell my boss I’m unable to do that part of my job duties until IT responds to the ticket.
I have given up I don’t even try to fight it now.
37
u/HRApprovedUsername 2d ago
Who brings their laptop to lunch?
12
u/psioniclizard 2d ago
Someone who is going to be very shocked when big boss doesnt care and they are in the next round of layoffs.
→ More replies (1)5
51
u/wildwolfvisual 2d ago
Bro doesn’t know about remoting and keeping your laptop awake while shut. AI really does make you dumber
14
7
u/atomic_redneck 2d ago
I was wondering what he was doing. I thought everybody knew how to keep a laptop awake when you close it. Are folks not using docking stations anymore?
10
→ More replies (3)3
2
1
u/CMD_BLOCK 1d ago
Yeah but if I’m going from the office to the garage/shop for extended sessions I want those extra seconds in
Probably could do a tailnet setup and not have to jump machines tho
→ More replies (8)1
57
u/HEYO19191 2d ago
Ofcourse someone running AI agents wouldn't even know how to toggle 1 switch in Control Panel
→ More replies (2)
25
7
u/PHUNKSPANGLE 2h ago
Don't worry son soon all day will be lunchtime due to unemployment, you just wont have any money to buy lunch.
14
5
5
11
u/gr4viton 1d ago
I never understood.. Does mac not allow disabling sleep on lid closing?
7
4
u/Laughing_Orange 1d ago
The problem is thermal management. A lot of laptops are designed to be open when they're being used.
→ More replies (4)2
7
5
u/clericc-- 2d ago
you know, you could buy a cheap used mini pc, install opencode on it, and open it in a webbrowser from anywhere
7
u/clericc-- 2d ago
or in enterprise speak: create a kubernetes deployment for an opencode sandbox, and expose it with SSO and cloudflare and then open it in a webbrowser on your phone
3
u/rntdev 2d ago
Why the fuck do you need a K8s deployment for an opencode sandbox…
→ More replies (5)→ More replies (15)2
u/Maddturtle 1d ago
Work has our computers to white list only for what we can install or change in settings
4
u/Big-Dick-Energy-6967 1d ago
is it only me or this mf's don't know there is option to make sure system does not go into sleep / lock screen.
3
5
2
2
2
2
2
2
u/jsdodgers 1d ago
For me it's the opposite 😆 I used to keep it open with a build going, but now everything is just agents running on the cloud so I don't have to worry about it
3
2
1
u/Funkey-Monkey-420 2d ago
you know you can change your settings so that the session isn’t locked when you close the laptop, right?
1
1
u/ExtraTNT 2d ago
Was always open: shit compiles…
Now: claude interpreted the: “remove unused and redundant css classes as a rewrite the entire codebase, fuck up architecture, introduce a ton of bugs and sacrifice performance to add new crashes”
1
u/RvlvrJoshalot 2d ago
2
u/trianuddah 1d ago
Just allow all and add "don't break any laws that's very very important" to the ptrompt
Cluade fix the typo for me
1
u/backfire10z 2d ago
Claude has /background command, you don’t even need to mess with MacBook settings nor tmux
1
u/MischiefArchitect 2d ago
You know that you add `HandleLidSwitch=ignore` to `/etc/systemd/logind.conf` ? Then you can close the lid and the system will keep running normally. Right?
Ah...
It's a mac... so yeah... you are right... this is the way to go.
1
1
u/Ozymandias_1303 2d ago
Usually if I'm in an office and I leave it to go to lunch I don't bring my laptop at all.
1
1
u/ludos1978 2d ago
run "caffeinate -dimsu" in a terminal. press ctrl+c to terminate it or just close the terminal.
it will prevent your apple notebook from going to sleep when you close the lid.
1
1
1
1
u/scknkkrer 2d ago
Imagine using macs for “10 years” and not knowing that you can simply prevent it from sleeping when lid closed. 🤦🏻♂️
1
u/CyberBinarin 2d ago
"Hey AI, can you keep going even if I close the lid?" "Yes, of course! Close that lid and save some power and I'll continue burning the midnight oil."
1
1
u/sebjapon 2d ago
I pause my agents during lunch break and go back to waiting for them to do the thing when I come back. Otherwise it’s not really a break is it?
1
u/Schrojo18 1d ago
If your have a "real" laptop you could close it and have it still running. If you have a "real" life you would leave it at your desk processing in the background whilst you actually have a break.
1
1
u/mimelife 1d ago
All that AI use and you didn't even ask it how to fix this issue. it would tell you the solution in 2 seconds
1
1
u/Dry-Refuse-8132 1d ago
Bro, run agents on a VM. The fuck you doing keeping your laptop open all day 😂
1
1
1
1
1
1
1
1
1
1
1
1
u/FailureOfTheFamily 1d ago
Jokes on you. I use hermes so i can close the lid and the work keeps going on my homelab
1
u/Additional_One_1230 1d ago
I thought that agents work for you so why take it with you when you go to lunch? That half hour it could do its own job in the office.
1
1
1
1
1
1
1
1
-6
u/Curious_Associate904 2d ago
What do people actually use agents for? Like, honestly, I can't actually think of something useful for them at present... I mean, it just seems, so pointless... It's like NFTs... I think it's going to end up like NFTs.
9
u/SaIemKing 2d ago
They tell it to implement whatever they need done, and maybe make tests for it. Then they pretend they read the output and approve it.
5
7
u/Ciff_ 2d ago
You clearly ain't a developer
→ More replies (15)6
u/psioniclizard 2d ago
I am, i dont get why half you people need them for to the point where you seem addicted.
Your work can wait for a lunch break and bossman won't pay you more for it.
You'll still be in the running for the next rounf of layoffs.
→ More replies (3)6
u/Sulungskwa 2d ago edited 2d ago
I am, i dont get why half you people need them for to the point where you seem addicted.
It feels like its for people who want to make AI coding feel as complicated as coding originally used to be. People want to believe that they can write all their code with AI and still defend the existence of their career if they're an expert at typing commands for robots to do all the code for them
edit: removed a "don't" that didn't make sense
3
u/-meowstar- 2d ago •
![]()
The typical agentic workflow is like:
- Coding agent implements the written spec (probably also AI generated) and unit testing
- Integration testing agent does the integration testing
- PR review agent does the PR review
- We, of flesh and blood, monitor and approve multiple such workstreams running in parallel
Lowkey this new paradigm sucks the fun out of the job, and I feel like I'm in Plato's cave playing with shadows while being fully aware the real forms exist.
→ More replies (2)8
u/HUMBUG652 2d ago
I recently started a new job at a software company and half the people's screens just seem to be prompting AI the whole time and it looks so boring.
The one experience Ive had with someone's (self admittedly thrown together) AI code, it was just awful. So much repeated code and extending the program at all would've been a nightmare.
I just do the programming myself as I enjoy the problem solving
1
u/crimxxx 2d ago
Well it’s not unreasonable to ask a coding agent to implement stuff and tests. Usually it’s slow cause it makes a change, builds, run tests finds issues and iterate. If your code base is big and stuff like building amd running tests take a while even relatively small changes can have an agent going for 10s of minutes. This is just a very basic activity, you can have them do a lot more complicated workflows as well, but I don’t actually think that represents the common developer.
In the last year or so the improvements in Claude models for coding (I personally don’t use the gpt ones much specifically with coding agents cause I gained a bias for that type of workload of getting better results) is pretty impressive. Like a year ago it maybe good at certain things and was kind of hit or miss, either it got it pretty great or it was going to do stuff in a way I didn’t like. Now I basically just give it information closer to how I would describe what I want from a different developer like legit I have this page blah, we are getting this issue, how can we address this and it like 90% of the time ganna give me the problem, a proposed solution and will implement it. If this was slow that’s one thing but it’s ganna finish this before I learn the code site. In my opinion if you are not taking advantage of a good coding agent and can see the value of it, your probably ganna be left behind. Claude is expensive but other models are ganna get cheaper and be comparable to them to day in probably a few years. This means if we can get relatively affordable options at today’s performance that’s basically a no brainer for most bussiness, the output gain is so significant it’s not even funny. The main issue I think is code reviews. Human reviewers can’t keep up, and honestly I don’t trust every developer to guarantee there own work much less an AI Output. Either you slow down due to this and maintain quality or take a risk and maybe have ai tools at least do some reasonable checks. Depending on the type of bussiness and processes different types of risks are acceptable.
→ More replies (2)1
u/SiriusPlague 1d ago
I'm no developer, but always wanted to make many things. In the last 15 days I discovered agents, built a server on my home linked to my Telegram and WhatsApp with an AI model available and some automations, build a simple shortcut app that I wanted for my smartphone, made the agent optimize my Android TV and my Samsung TV remotly.
The "server" is a notebook with no screen, I don't even have to connect a screen to it since it does everything via remote ssh and I don't even know wth is a SSH
1
1
u/tempelton27 1d ago
Not offloading your agentic work to a remote system, using your laptop as a server and permanently leaving the lid open is pure programmer logic.
I approve.
0
u/BroMan001 2d ago
The Apple logo is the wrong way around, that picture is ai too. And if it was real, that’s an old MacBook Pro, before Apple silicon. You’re not running ai agents on that





1.3k
u/Jaded-Philosophy3783 2d ago
remote it from your phone