r/ProgrammerHumor • • 20d ago

Meme noAgentLeftBehind

Post image
7.7k Upvotes

358 comments sorted by

1.4k

u/Jaded-Philosophy3783 20d ago

remote it from your phone

978

u/Much_Comfortable8395 20d ago • Bravo

In my little mind, they live in there. Like the little men in the TV.

151

u/ArchWaverley 20d ago

I think every kid has the same realisation when they turn live TV off and expect it to just resume when they switch it back on.

RIP that episode of Pokémon I wanted to finish in 2001.

42

u/mridulpj 20d ago

Funny how that is how TVs work these days.

→ More replies (3)

15

u/rupert20201 20d ago

So call them. From your phone

26

u/DoomBot5 20d ago

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

13

u/OldCatPiss 20d ago

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.

8

u/nonlogin 20d ago

provision an ec2, come on

15

u/HEYO19191 20d ago

And pay a monthly subscription? F no

→ More replies (1)

2.2k

u/eloel- 20d ago • Bravo

So reliant on agents to do shit, doesn't know how to change what happens when you close the lid.

476

u/anonymousbopper767 20d ago edited 20d 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")

203

u/eloel- 20d ago

they are, it won't be a simple setting like windows would have, but it's possible

103

u/Falcon9FullThrust 20d ago

It's built into amphetamine if you have that.

227

u/eloel- 20d ago

Instructions unclear, took amphetamine, laptop still sleeping

85

u/Delyzr 20d ago

But not you though

→ More replies (4)
→ More replies (1)
→ More replies (1)

36

u/PhantomTissue 20d ago

Mac is allergic to simple settings

→ More replies (8)

8

u/pakman82 20d 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..

13

u/balbok7721 20d ago

Something for agent to figure out while on lunch

6

u/6T_K9 20d ago

You can have your agent change it for you!

→ More replies (1)

29

u/JangoDarkSaber 20d 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 19d ago

wouldn't caffeinate do the same thing without root?

12

u/Traditional_Safe_654 20d ago

Yup, super easy UX for grandpa and Aunt Annie

32

u/JangoDarkSaber 20d ago

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

→ More replies (9)

20

u/Zezinas 20d ago

Amphetamine solves all that

5

u/tempacount57813975 20d ago

I always use caffeinate. Ill look into amphetamine

→ More replies (1)

6

u/RaspberryCrafty3012 19d ago

Windows and Linux have different behaviours for powered vs unpowered too? 

4

u/vassadar 20d ago

Install Amphetamine. It prevent a machine from sleeping when unplugged.

3

u/BleakBeaches 20d ago

Just download Amphetamine

2

u/JeffysChewToy 19d ago

Dude that's exactly how it works in windows tho, atleast in the control panel

→ More replies (4)

69

u/Samot_PCW 20d ago

My company doesn't allow me to do that :(

13

u/born_zynner 20d ago

Surprising! My work laptop is giga locked down but it lets you set it to ignore lid close

14

u/vulkur 20d ago

We can't because HIPAA

→ More replies (1)

26

u/thijquint 20d 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 20d ago

Lol i had something similar till IT disabled the setting for everyone and changed it to hibernate for the entire org

3

u/mothzilla 20d ago

Alexa, how can I change what happens when I close the lid?

2

u/Mortomes 20d ago edited 19d ago

Now that's what I call a powerful political slogan!

2

u/XanXic 20d ago

I know how but I dare not risk forgetting and finding my laptop dead AF when I need it because I expected it to sleep.

1

u/protestor 19d ago

Maybe ask to configure the computer properly

1

u/not-a_lizard 18d ago

caffinate is a default mac command

→ More replies (4)

120

u/losgar 20d ago

Use amphetamine. It's free.

51

u/Much_Comfortable8395 20d ago • Popcorn

Bold advice to give out in public :D

17

u/losgar 20d ago

All I want is for everyone to be happy :)

8

u/YUNoCake 20d ago

You typed "hyper" wrong

15

u/rntdev 20d 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 

3

u/Top-Seaweed1862 20d ago

Yeah, but is there a way to make it stay cold, I doubt

5

u/losgar 20d ago

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.

→ More replies (1)

26

u/Anxious-Yak-9952 20d ago

Better yet, use the Mac’s built-in terminal command “caffeinate”

7

u/SnooTigers503 19d ago

I might be wrong but pretty sure amphetamine uses that command internally, it’s a neat convenient little program

3

u/screenslaver5963 19d ago

Pretty sure all the "keep awake" apps use it.

5

u/OatmealCoffeeMix 20d ago

And if you hate your display, caffeinate -d

3

u/ddBuddha 19d 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

u/Past_Paint_225 20d ago

Use caffeinate directly.

→ More replies (1)

5

u/theseriousman1 20d ago

Keeps me awake but my laptop needs the config :(

2

u/MortCrimm 20d 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

u/The_Aspector 19d ago

It's what helps me do this

1

u/Theolaa 19d ago

Free, where?

409

u/Important_Grab3544 20d ago • Bravo

The Simpsons already predicted decades ago how to handle this situation.

36

u/LightSky 19d ago

What's happens when it falls over and I am out on a beach hours away?

30

u/Important_Grab3544 19d ago

I guess your manager will call you for low token consumption detection.

→ More replies (1)

262

u/FailQuality 20d ago

Why are you taking your laptop to lunch?

156

u/Captain_Conor 20d ago • Bravo

Because it's also an apple.

25

u/ITaggie 20d ago

Yeah that's an immediate WTF for me

5

u/abednego-gomes 20d 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.

16

u/DanLynch 20d ago

Do people who work from cafés go somewhere else for lunch?

4

u/SwordfishOk504 19d ago

Sometimes. You can get bored of the food.

2

u/coderstephen 19d ago

They aren't because the image is AI generated.

2

u/Metazolid 19d 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

89

u/ZeltronTheHellspawn 20d ago edited 20d ago

somewhere in here is a joke that I've never shut my laptop because it doubles as a server

70

u/FRleo_85 20d ago edited 20d ago • Regret

you never what your laptop?

(edit: it was written "shit" before he edited)

10

u/Shocker_360 20d ago

I believe you

2

u/Needs__Caffeine 18d ago

Dave, never shit that laptop, it controls our payroll.

112

u/Antilock049 20d ago

Tmux saves the day yet again.

76

u/sandsellers 20d ago

I don't see tmux skill, could you share your markdown

11

u/lordnacho666 20d 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 20d ago edited 20d 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

u/n4ke 20d ago

You will own nothing and you will be happy stupid.

→ More replies (2)

2

u/goota_niieve 20d ago

Tmux won't save your motherboard when the agent cooks it

→ More replies (2)

77

u/JackNotOLantern 19d ago

Imagine disabling sleep on closing the lid

24

u/Ffigy 19d ago

If only the agents could do that

61

u/verwalt 19d ago

How can a simple meme like this be AI generated? The Apple Logo is upside down.

→ More replies (1)

307

u/Neutrino2072 20d ago

Not even knowing how to disable sleep when shutting the lid but vibecoding. No stereotype harmed

111

u/Embarrassed_Jerk 20d ago

Enterprise lock down system settings behind admin control. People who have worked for even mid sized companies know that

72

u/Neutrino2072 20d 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 20d ago

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.

Keep doing this until something gives.

3

u/Whywipe 19d 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.

55

u/wildwolfvisual 20d ago

Bro doesn’t know about remoting and keeping your laptop awake while shut. AI really does make you dumber

16

u/GraphiteOxide 20d ago

Some of us on managed macs can't adjust the required settings

8

u/atomic_redneck 20d 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

u/Galitzianer0 20d ago

Docking stations, what is this 1996?

3

u/atomic_redneck 19d ago

What can I say? I'm old.

→ More replies (1)

2

u/rcls0053 17d ago

Tbh it's not as clear on OS X. There's still apps like this in the app store to prevent sleeping.

→ More replies (1)

3

u/cone5000 20d ago

You can also just turn sleep completely off

→ More replies (3)

2

u/coderstephen 19d ago

Work blocks all remote access of any kind to my work laptop

→ More replies (10)

37

u/HRApprovedUsername 20d ago

Who brings their laptop to lunch?

12

u/psioniclizard 20d 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

u/Sulungskwa 20d ago

996 tech bros

58

u/HEYO19191 20d ago

Ofcourse someone running AI agents wouldn't even know how to toggle 1 switch in Control Panel

1

u/jek39 19d ago

Many corporate environments lock that type of setting down

→ More replies (2)

25

u/Bubbly_Safety8791 20d ago
$ sudo pmset -b disablesleep 1 && caffeinate -s & claude 

24

u/natziel 20d ago

Why don't you ask Claude how to keep a program running even when your laptop is closed

22

u/Loudergood 20d ago

Claude didn't tell them to ask that.

6

u/CRYYNNGE 19d ago

don't hold that like that, that makes me nervous :(((

14

u/wizard_mitch 20d ago

Choose what happens when you
close the lid > Nothing

5

u/Positive-Engineer482 19d ago

Did you know you can keep your Mac work even closed?

9

u/PHUNKSPANGLE 18d ago

Don't worry son soon all day will be lunchtime due to unemployment, you just wont have any money to buy lunch.

3

u/namezam 20d ago

Open a terminal, type caffeinate, enter. Done, no sleepy.

3

u/urxxx 19d ago

Or… leave the hellmachine at work and take a freaking break?

7

u/zakaryan2004 19d ago

Yeah, and you generated stupid AI slop images

5

u/clericc-- 20d 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-- 20d 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 20d ago

Why the fuck do you need a K8s deployment for an opencode sandbox…

→ More replies (5)

2

u/Maddturtle 20d ago

Work has our computers to white list only for what we can install or change in settings

→ More replies (15)

4

u/Big-Dick-Energy-6967 19d 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.

5

u/MarinaEnna 20d ago

Good luck with the intellectual ownership of your codebase

2

u/arcticslush 20d ago

caffeinate -ims

Thank me later

2

u/Makonede 20d ago

where programming

2

u/minus_minus 20d ago

Does MacOS not let you change the lid closing behavior?

2

u/kryptocodes 20d ago

Dumb post

2

u/FlashyTone3042 19d ago

Steal Sam Altman's RAM.

2

u/jsdodgers 19d 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

2

u/KingJarvis108 18d ago

Open a terminal, type caffeinate -ims

2

u/denzien 17d ago

Nah, I just trigger a research task or something long running, leave my machine at work and check on it periodically with my phone...

2

u/FriendlyRing1161 17d ago

There is an app on the App Store called Amphentamine it solves this.

2

u/Latter-Sheepherder50 17d ago

run native `caffeinate` command and close the lid!

3

u/Key-Investment3701 20d ago

ya maybe 6 months ago

2

u/Ysnsd 20d ago

caffeine.exe

2

u/Neutrino2072 20d ago

Sorry I speak no microslop

→ More replies (1)

1

u/Funkey-Monkey-420 20d ago

you know you can change your settings so that the session isn’t locked when you close the laptop, right?

1

u/ExtraTNT 20d 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 20d ago

/allow-all ....comes back .....

2

u/trianuddah 20d 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 20d ago

Claude has /background command, you don’t even need to mess with MacBook settings nor tmux

1

u/Jebble 20d ago

Rub them in the cloud, or use remote control?..

1

u/MischiefArchitect 20d 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 20d ago

HAHA WOW

1

u/Ozymandias_1303 20d 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 20d ago

if you don't have to accept, you also don't have to leave it awake.

1

u/ludos1978 20d 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 20d ago

Caffeinate

1

u/baileyarzate 20d ago

sudo pmset -a disablesleep 1

1

u/Aggressive_Giraffe65 20d ago

Just sudo pmset -a disablesleep 1 bro

1

u/arran4 20d ago

Needs to be a song: "Everybody needs a linux server"

1

u/Nassiel 20d ago

Hahahah I can relate it 🤣

1

u/scknkkrer 20d ago

Imagine using macs for “10 years” and not knowing that you can simply prevent it from sleeping when lid closed. 🤦🏻‍♂️

1

u/iKaei 20d ago

Download Amphetamine app. Problem solved

1

u/CyberBinarin 20d 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 20d ago

You need a server my friend.

1

u/sebjapon 20d 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 20d 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/Schrojo18 20d 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 20d ago

Someone needs to build a backpack that lets me keep the laptop running cool in the backpack.

1

u/ansibleloop 19d ago

This entire post is a massive skill issue

1

u/zooper2312 20d ago

open ai agents are totally in the cloud now.

1

u/mimelife 20d 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

u/bako252 20d ago

You can always use an amphetamine like tools to run them in sleep mode

1

u/Dry-Refuse-8132 20d ago

Bro, run agents on a VM. The fuck you doing keeping your laptop open all day 😂

1

u/byyhmz 20d ago

Just getting an agent to program your laptop to do nothing when the screen is closed...

1

u/joerc200 19d ago

Only if you had a windows laptop. 

1

u/SnooRegrets3590 19d ago

Systemd-inhibit

1

u/JacksOnF1re 19d ago

I mean... There is amphetamine. You've probably not been a "dev" before lol

1

u/range_kun 19d ago

You can make your own bot to communicate with your agents, or use remote control

1

u/Meskours 19d ago

You forgot to click Enter

1

u/FrenchieM 19d ago

I use vorssaint

1

u/Zestyclose_Ad9843 19d ago

Explain to me like if I was a toddler what the fck is an agent?

1

u/prollypuffin 19d ago

Sudo pmset disablesleep 1

1

u/gods_tea 19d ago

Just download amphetamine from the app store.

1

u/FailureOfTheFamily 19d 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 19d 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

u/astrick304 19d ago

😭😭😭

1

u/coldoven 19d ago

It is called renting a server.

1

u/[deleted] 19d ago

Dont use AI then. Problem solved.

1

u/ninjabreath 19d ago

capsomnia. but also, cooling lol

1

u/PunctualPanther 19d ago

Run the agent on a vm. And connect it from the laptop.

1

u/E1eveny 18d ago

Yeah, the biggest progress happens during my lunch break.

1

u/DauntingPrawn 18d ago

Not caffeinated why?

1

u/Naud1993 18d ago

My laptop would go into standby at this angle.

1

u/Soopermane 16d ago

That depended on your job tho

1

u/jessejones1 15d ago

Caffeinate

-6

u/Curious_Associate904 20d 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 20d 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

u/Intelligent-Cap-8886 20d ago

To do my work?

7

u/Ciff_ 20d ago

You clearly ain't a developer

6

u/psioniclizard 20d 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.

6

u/Sulungskwa 20d ago edited 20d 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

→ More replies (3)
→ More replies (15)

3

u/-meowstar- 20d ago • Bravo

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.

8

u/HUMBUG652 20d 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

→ More replies (2)

1

u/crimxxx 20d 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.

1

u/SiriusPlague 20d 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

→ More replies (2)

1

u/MikeTangoRom3o 20d ago

Need to save those cache tokens

1

u/tempelton27 19d 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.