<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: kageroumado</title><link>https://news.ycombinator.com/user?id=kageroumado</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Tue, 30 Jun 2026 21:39:21 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=kageroumado" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>Claude Code actually uses caffeinate -i -t 300 during Claude’s turn, restarted automatically until the turn finishes.</p>
]]></description><pubDate>Sun, 28 Jun 2026 01:37:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=48703502</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48703502</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48703502</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>It’s an Electron app that uses powerSaveBlocker to prevent display sleep. It won’t prevent macOS system sleep on lid close with no power.</p>
]]></description><pubDate>Sun, 28 Jun 2026 01:29:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=48703465</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48703465</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48703465</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>Afinils are cool, and your app is cool too~</p>
]]></description><pubDate>Sun, 28 Jun 2026 01:23:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=48703423</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48703423</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48703423</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Starglyphs - A constellation puzzle game based on Euler paths"]]></title><description><![CDATA[
<p>This looks beautiful! I hope it works out well for you</p>
]]></description><pubDate>Sat, 27 Jun 2026 23:28:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=48702814</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48702814</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48702814</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>In order to get the same behavior with Amphetamine you’ll need to:
1. Install it from the AppStore (no brew, no GitHub)
2. Not forget to enable lock on lid close
3. If you ever connect/disconnect power while the lid is closed without the optional “Power Protect” system, the MacBook will sleep. The system is a script and a configuration file making sudo pmset -a disablesleep passwordless.
4. Add hooks to Claude Code configuration that will use Apple Script to start and stop Amphetamine sessions. For Codex you’ll have to make a script that will watch process activity to know when a turn ends.<p>It’s not like Amphetamine can’t do the same, it’s that this app is made specifically for AI agents and nothing else.</p>
]]></description><pubDate>Sat, 27 Jun 2026 23:04:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=48702632</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48702632</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48702632</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>The app is built for 26+, as I never tested it on earlier versions. It won’t solve your specific case, though, as it only prevents sleep. It won’t wake it once it’s already sleeping.</p>
]]></description><pubDate>Sat, 27 Jun 2026 22:47:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=48702506</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48702506</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48702506</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>The dummy display enables “clamshell mode,” which lets your MacBook stay awake even with the lid closed, provided that it’s <i>also</i> on AC power. If the MacBook is not connected to power, the clamshell mode isn’t activated and it will sleep normally.<p>Adrafinil simply disables the global sleep without spoofing hardware, and re-enables it once the agent is done working, the temperature is too high, or the battery is low.</p>
]]></description><pubDate>Sat, 27 Jun 2026 21:57:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=48702151</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48702151</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48702151</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>This is exactly what the app does, except it ties it to agent activity and re-enables sleep once the turn ends, the laptop is close to overheating, the battery is low, or on a timer.</p>
]]></description><pubDate>Sat, 27 Jun 2026 21:46:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=48702070</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48702070</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48702070</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>Caffeinate doesn’t prevent sleep with the lid closed.</p>
]]></description><pubDate>Sat, 27 Jun 2026 21:43:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=48702050</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48702050</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48702050</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>Claude Code or Codex (normally) don’t close the terminal window after a turn ends, they wait for the user’s reply.</p>
]]></description><pubDate>Sat, 27 Jun 2026 21:28:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=48701942</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48701942</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48701942</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>Probably less irritable than amphetamine~</p>
]]></description><pubDate>Sat, 27 Jun 2026 21:24:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=48701909</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48701909</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48701909</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work"]]></title><description><![CDATA[
<p>It has a setting for thermal cutoff that you can set to something like 60º C. Sleeping will stop heavy work (like a build) before it leads to overheating.</p>
]]></description><pubDate>Sat, 27 Jun 2026 21:22:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=48701887</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48701887</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48701887</guid></item><item><title><![CDATA[Show HN: Adrafinil – keep a lid-closed Mac awake only while agents work]]></title><description><![CDATA[
<p>A month ago there was a wave of posts and tweets about engineers walking around cafes and parks with their MacBooks propped half-open, as fully closing the lid forces sleep that stops their AI agents. Some people made snarky comments about using tmux or Amphetamine, and some defended their choice with “but I only need it sometimes, and forgetting to disable Amphetamine and finding my laptop discharged in my bag is worse.”<p>This is a solution to this problem. Unlike caffeinate, it will prevent your MacBook from sleeping even with the lid closed, with no external power or display, using pmset disablesleep 1. Unlike other sleep-preventing apps, Adrafinil only activates when there’s an agent actively doing something. It detects agent activity through hooks it installs into Claude Code, Codex, and others. To reassure you it’s working, the app shows the active status in the menu bar, and it plays a chime when you close the lid.<p>Once the agent is done, Adrafinil detects it and lets the laptop go to sleep by setting pmset disablesleep back to 0. It will also let it sleep in case of overheating. And if you want to manually toggle it, you can install an optional MCP and tell your agent to keep the MacBook awake for a specific time.<p>It has four binaries, one of which is a root helper exposing a single setSleepBlocked call. All the logic and policy live in the unprivileged parts. They’re all notarized, and the app is fully open source (MIT).</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=48701512">https://news.ycombinator.com/item?id=48701512</a></p>
<p>Points: 124</p>
<p># Comments: 79</p>
]]></description><pubDate>Sat, 27 Jun 2026 20:34:53 +0000</pubDate><link>https://github.com/kageroumado/adrafinil</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48701512</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48701512</guid></item><item><title><![CDATA[New comment by kageroumado in "Europe's extreme heat is shutting down power plants"]]></title><description><![CDATA[
<p>Not only the power plants, but power in residential areas too. Cables and distrubution transformers overheat, forcing shutdowns.</p>
]]></description><pubDate>Sat, 27 Jun 2026 11:13:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=48697228</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48697228</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48697228</guid></item><item><title><![CDATA[New comment by kageroumado in "The gap between open weights LLMs and closed source LLMs"]]></title><description><![CDATA[
<p>There’s going to be more and more propaganda about open models being a tool to program your children into being Chinese spies or some other absurd reason, and then a new beautiful law will be enacted unanimously, banning their use. And “thankfully," child-protecting measures will by then be implemented at the OS level.</p>
]]></description><pubDate>Sat, 27 Jun 2026 10:59:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=48697145</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48697145</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48697145</guid></item><item><title><![CDATA[New comment by kageroumado in "The gap between open weights LLMs and closed source LLMs"]]></title><description><![CDATA[
<p>If anything open-source models are a hedge against the apocalypse. Or at least against the cyberpunk dystopia.</p>
]]></description><pubDate>Sat, 27 Jun 2026 10:50:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=48697091</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48697091</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48697091</guid></item><item><title><![CDATA[New comment by kageroumado in "Use boring languages with LLMs"]]></title><description><![CDATA[
<p>Swift is something that works very well if you enforce Swift 6 + good architecture and doesn’t work very well and ends up with slop if you don’t.<p>Usually once the project is already established and has good patterns, both Claude and GPT will continue the good patterns, but you may still want to add a review pass step to remove bad practices (usually hacks around concurrency instead of doing it properly).</p>
]]></description><pubDate>Wed, 27 May 2026 00:36:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=48287954</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48287954</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48287954</guid></item><item><title><![CDATA[New comment by kageroumado in "[dead]"]]></title><description><![CDATA[
<p>Yesterday I posted my video wallpaper app which adds a custom section to your wallpaper settings and allows to use any videos you want. If you want to know how to inspect and reverse-engineer any other Apple framework, this article outlines how to do this.<p>I recommend asking Claude to do this and periodically check what happens. It can take a long time and quite a lot of tokens to test all the possibilities.</p>
]]></description><pubDate>Fri, 22 May 2026 05:31:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=48232374</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48232374</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48232374</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: I reverse engineered Apple's video wallpapers"]]></title><description><![CDATA[
<p>Thank you! I’m glad you like it</p>
]]></description><pubDate>Fri, 22 May 2026 00:56:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=48230670</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48230670</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48230670</guid></item><item><title><![CDATA[New comment by kageroumado in "Show HN: I reverse engineered Apple's video wallpapers"]]></title><description><![CDATA[
<p>My repo has a skill that describes most of my approaches in more detail.<p><a href="https://pastebin.com/XLhjr4pf" rel="nofollow">https://pastebin.com/XLhjr4pf</a>
<a href="https://github.com/kageroumado/swiftui-macos-skill" rel="nofollow">https://github.com/kageroumado/swiftui-macos-skill</a></p>
]]></description><pubDate>Fri, 22 May 2026 00:56:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=48230668</link><dc:creator>kageroumado</dc:creator><comments>https://news.ycombinator.com/item?id=48230668</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48230668</guid></item></channel></rss>