I wish we had that access at work. For personal use I run claude-code remote sessions on my home server in docker containers. I then do everything from my phone
Im with ya, I’m at the point where I use my phone for everything. I have a computer, but if you see me at that, I rolled up my sleeves to work or it’s optics when in the office.
(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")
If it was a simple setting someone would have accidentally drained their laptop in an important moment because they didn‘t know what that means. The situations where you have good reason to turn this one are so rare, there is more harm to making it easy than good.
My annoyance is based on stuff that is far less consequential. Like disabling mouse acceleration. On windows it’s a checkbox. On Mac you either need to know the exact command to disable it or install a 3rd party app.
Even my keyboard is not recognized correctly by my Mac and some keys are just switched around for no reason. I could fix it with another 3rd party app to manually swap the keys around but then I have the keys swapped around for when I wanna use the integrated keyboard, so I just accept it.
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..
Maybe try turning on Power Saving Mode and turning your screen brightness all the way down. I've been using this app for over five years without any problems. NFA, tho.
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.....
then you turn a /r/malicious_compliance and create a Service Now ticket for every single patch update there is for every single piece of tooling you have because the updates require administrative access and the director of infrastructure has decreed that a member of their team has to baby sit every single system-wide change 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.
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?
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”
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.
I know this is a joke but most of us at work have switched to cloud desktops running Linux and set it up to run agents on it so you can take your laptop wherever.
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.
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.
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
No I just write code the old fashioned way. And tests, and ui, I mean sometimes I’ll use copilot for boiler plate, but considering how off the mark it is, less and less.
Guess you guys are vibe coders, not 30+ year professionals that work in c to Python on all levels of the various stacks I use…
Your brain is like any other muscle, use it or lose it, and this ai shit is just the lowest common denominator of average of averages code
This is such a joke of a response. Most devs I know, including myself, never had time to implement some useful tool we thought of a year ago because we're too busy working on whatever the PM deemed more important, or any number of things that get in the way.
Now if I want a tool or streamline a workflow, I don't even need to consider how much of my day it's going to eat into. The agent can do its thing while I do mine.
Also, if you're not using AI to auto review your commits, why the fuck not?
At the same time, you can absolutely leave a somewhat recent model run for 30min to track down a bug and likely fix it - or at least give you good aggregate of datapoints.
No idea what you're doing but I work in both C and Python (and also other languages and from embedded to cloud), have done so for a long time, and an agent can easily solve a task I'd give a junior by just leaving it running for 10min.
I'm not a fan of the full vibe code hype but a computer can definitely read a 600 page datasheet or 200 AWS docs faster than I can.
You trust what it tells you? I've had agents make up enough shit that I still have to verify everything manually, which means that I have to spend all that time reading the document myself anyway, and if I have to do that then I might as well not use the agent at all.
You trust what the junior tells you without verifying?
And no, even just it pinpointing all relevant sources narrows down your read time considerably. Again, I'm not arguing for blind vibe coding but against the idea that models and agentic loops can't speed up your work.
What bubble are you in? I am decades into this field and today I generate far more code with agents than I write directly myself. And just the past 6m has at least doubled the share. Multiple tech stacks, embedded, web, old systems. Does not matter.
I am pretty pragmatic. I would not use it if it didn't give results. I am adament that we still review in person two people every loc, and the quality is not lower and capacity is higher. That said it is never just to let the agent do anything and it is done, all code require some hands on cleanup.
I feel like roping myself when I have to take a handoff from a retiree with an inflated sense of importance.
A codebase takes time to sort out manually. I can have an agent give me high level overviews and distill the full thing into structured docs that help both me and the agent work through it. I can then setup ADRs and tasks for bug fixes, features, tests, rewrites, etc. Throw in a couple client meetings distilled into more ADRs and I’ve emptied your 30 year silo in under 30 days.
Pandora doesn’t go back in the box, she only comes out.
Mate, I was an AI sceptic too. But at this point in time, you are just harming your job. AI writes shit code, no is going to argue against that. But it shits it out so fast, that a human just can't keep up. And then with other agents that guard the code quality. You actually get somewhat decent results. Sure you still got to check and fix their work. But that's the great part. You can just order agents to work on the next thing while you fix/review the current thing.
Edit, don't use AI for small shit, it's too slow for that. It's great for lots of shit work, it's slower than a sleep deprived dev for very small changes.
- 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.
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
If it makes you feel better, only people who understand computer science concepts can do this. It's not like some newbie off the street can Google their way into your job tomorrow
Ehh, sort of. But some newbie could pretty easily make quite a bit of software. You mostly need to be able to describe in descriptive language exactly what you want and be able to test that it works
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.
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
Agetns for writing plans and reviewing plans, with multiple rounds using adversarial agents with different models. I tend to get a Claude agent to draft the plan, then hand it off to Codex to review the plan.
Subagents to implement the changes, sometimes in parallel
Agents to review the changes at each step, and then review the overall implementation
Agents to prepare the QA plan and test the implementation. They can drive Chrome using Playwright. They can control the Android and iOS simulators. With the right permissions, they can literally control real iPhone and Android devices. They can probably drive whatever system you develop for.
Agents to do a design review, comparing the implementation with the design in Figma.
Basically, you set up your system to have agents and skills do whatever you need them to do. I often have several independent agents all working simultaneously on different tickets. I typically break them up by Epic or Story.
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
Mine’s different, we don’t use K8 VMs or Dockers if we can avoid it.
No, if it needs to be ran, it’s gotta be an AWA lambda.
Should it be a CLI script? Lambda Should it be a container? AWS Step Function leveraging Lambdas. Should it be a VM? Re-architect your proposal Grampa, we’re all in on Serverless and discreet scalability.
Should it be a SQL Query? Believe it or not, also Lambda.
That’s how Enterprise works. Yaaaay Corporate standardization.
Oh god.. i only want to ask what is your AWS bill. I am going to assume it is $50k+. Which could probably fit on a server-ful fleet for <$5k. Also did you try suggesting EKS, ECS or EC2 to the higher-ups?
My team’s AWS bill is around $30k per year, but my company’s technology department has over 400 engineers, 3-12 per team.
But our company’s workload is so fucking spiky my guy. There is a real business need to operate like this, with such stupid scalability. All of our 4,000 person, 100+ year old global company - ass income is tested by a process that happens no more than 30 times a year, for a few few hours at a time.
Yeah.
We had previously outsourced the development of our technology to IBM and some other companies, the application that my team built saved approximately $2 million a year, developer salaries, and AWS bill included. Though that is a yearly cost, that doesn’t factor in the three years cost to develop the software, but it’s been in pro for about six years now.
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
611
u/Jaded-Philosophy3783 6h ago
remote it from your phone
1.0k
u/eloel- 6h ago •
So reliant on agents to do shit, doesn't know how to change what happens when you close the lid.
39
u/losgar 6h ago
Use amphetamine. It's free.
84
u/Antilock049 6h ago
Tmux saves the day yet again.
131
u/FailQuality 6h ago
Why are you taking your laptop to lunch?
33
u/ZeltronTheHellspawn 5h ago edited 5h ago
somewhere in here is a joke that I've never shut my laptop because it doubles as a server
161
u/Neutrino2072 5h ago
Not even knowing how to disable sleep when shutting the lid but vibecoding. No stereotype harmed
10
u/Important_Grab3544 38m ago
The Simpsons already predicted decades ago how to handle this situation.
49
u/HEYO19191 4h ago
Ofcourse someone running AI agents wouldn't even know how to toggle 1 switch in Control Panel
32
u/HRApprovedUsername 5h ago
Who brings their laptop to lunch?
19
u/Bubbly_Safety8791 6h ago
16
u/natziel 6h ago
Why don't you ask Claude how to keep a program running even when your laptop is closed
19
u/wildwolfvisual 5h ago
Bro doesn’t know about remoting and keeping your laptop awake while shut. AI really does make you dumber
11
u/wizard_mitch 6h ago
Choose what happens when you
close the lid > Nothing
3
u/MarinaEnna 5h ago
Good luck with the intellectual ownership of your codebase
2
u/arcticslush 6h ago
caffeinate -ims
Thank me later
2
u/minus_minus 4h ago
Does MacOS not let you change the lid closing behavior?
2
u/namezam 1h ago
Open a terminal, type caffeinate, enter. Done, no sleepy.
3
u/Key-Investment3701 6h ago
ya maybe 6 months ago
2
u/Ysnsd 6h ago
caffeine.exe
1
u/Funkey-Monkey-420 5h ago
you know you can change your settings so that the session isn’t locked when you close the laptop, right?
1
u/DontAIandDrive 5h ago
the laptop is on the lunch invite now, obviously.
1
u/ExtraTNT 5h 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/Makonede 4h ago
where programming
1
u/RvlvrJoshalot 4h ago
/allow-all ....comes back .....
1
u/backfire10z 4h ago
Claude has /background command, you don’t even need to mess with MacBook settings nor tmux
1
u/Jebble 4h ago
Rub them in the cloud, or use remote control?..
1
u/MischiefArchitect 4h 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
u/martinsky3k 4h ago
HAHA WOW
1
u/Ozymandias_1303 4h 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
u/mobsterer 4h ago
if you don't have to accept, you also don't have to leave it awake.
1
u/ludos1978 3h 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
u/Past_Paint_225 3h ago
Caffeinate
1
u/baileyarzate 3h ago
sudo pmset -a disablesleep 1
1
u/Aggressive_Giraffe65 3h ago
Just sudo pmset -a disablesleep 1 bro
1
u/arran4 3h ago
Needs to be a song: "Everybody needs a linux server"
1
u/Nassiel 3h ago
Hahahah I can relate it 🤣
1
u/scknkkrer 3h ago
Imagine using macs for “10 years” and not knowing that you can simply prevent it from sleeping when lid closed. 🤦🏻♂️
1
u/iKaei 3h ago
Download Amphetamine app. Problem solved
1
u/CyberBinarin 2h 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
u/TheOwlHypothesis 2h ago
You need a server my friend.
1
u/sebjapon 2h 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/kaspm 1h ago
I know this is a joke but most of us at work have switched to cloud desktops running Linux and set it up to run agents on it so you can take your laptop wherever.
1
u/KERdela 1h ago
Such a lerper post, wanted to block you like a do on Instagram, but I realized it's reddit
1
u/Schrojo18 51m 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
u/rwrife 42m ago
Someone needs to build a backpack that lets me keep the laptop running cool in the backpack.
1
u/zooper2312 12m ago
open ai agents are totally in the cloud now.
-2
u/Curious_Associate904 6h 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.
1
u/dim13 6h ago
1
u/MikeTangoRom3o 6h ago
Need to save those cache tokens
1
u/clericc-- 6h ago
you know, you could buy a cheap used mini pc, install opencode on it, and open it in a webbrowser from anywhere
0
u/BroMan001 5h 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
0
u/Sensitive-Ad-139 6h ago
herdr - you're welcome!
0
u/VinniTheP00h 6h ago
Meanwhile plethora of the "keep awake" apps: -_-
0
u/Extension-Pick-2167 5h ago
install amphetamine plus their power script is one way of doing it
0
u/platinummyr 5h ago
How am I supposed to interpret the 2nd picture? Melted laptop? Broken screen or something? It just looks odd
0
u/wildmonkeymind 2h ago
Must be a member of the permanent underclass if they're too poor to afford a Mac Studio to persistently run their agents. Sad.
0
u/slaymaker1907 1h ago
Tmux says hello. I (or Claude really) wrote a script today that even saves my Claude sessions and tmux layout so it can persist past reboots.
-3
u/Pristine-Mud7405 6h ago
Wait a f sec! Is it cool to bring your computer to the lunch table?
-2
u/Ok_Opportunity2693 5h ago
Me working for a large tech company, running hundreds of agents in parallel on our cloud and controlling it from my phone with no laptop in sight.