SShortSingh.
Back to feed

Developer releases free 62 KB Windows app to prevent laptop sleep during long agent runs

0
·1 views

A developer created a lightweight Windows utility called Always Up after a six-hour coding agent run was silently interrupted when his laptop lid closed and Windows suspended the machine. The app is a single 62 KB file with no installer or dependencies, released free and open source under the MIT license. Standard workarounds — such as setting the lid action to 'Do nothing', using keep-awake tools, or adjusting Power Options — each failed because Windows manages lid behaviour, idle timeouts, unattended sleep, and awake requests as four separate policies. Always Up addresses all of them simultaneously with a single toggle, and restores the original settings automatically when the app is closed or the toggle is switched off. The tool is aimed at developers and others who run long background jobs and need reliable, uninterrupted execution with the laptop lid shut.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Differential Testing Method Catches Hidden Bugs in AI-Generated Code Patches

A software engineering approach called differential testing can expose behavioral regressions introduced by AI agent patches that conventional test suites miss. The method works by running both the original and patched code against identical inputs — including sequences of calls — and comparing outputs byte-for-byte. Standard unit tests often fail to catch bugs like faulty caching or shared state because they test single calls rather than call sequences, which is precisely where agent-generated patches tend to break behavior. The proposed gate involves freezing a baseline of recorded outputs from the original binary, then replaying a diverse corpus of inputs against the patched binary to detect any divergence. A reproducible corpus covering edge cases such as empty inputs, maximum lengths, and repeated keys is central to making the gate reliable.

0
ProgrammingDEV Community ·

Apple Launches ARKit 3.2 with Real-Time Motion Capture Ahead of iPhone 16

Apple introduced ARKit 3.2 at its WWDC 2026 keynote on June 5, 2026, ahead of the iPhone 16's planned September launch. The updated framework brings real-time skeletal motion capture at 60 fps, dual-camera depth tracking using the iPhone 16's front and rear sensors, and AI-driven AR personalization powered by Core ML. These capabilities are now bundled into a single framework, eliminating the need for third-party SDKs that developers previously relied on for motion capture and depth sensing. Apple will open the ARKit 3.2 beta to developers on June 12, 2026, with a full public release expected alongside the iPhone 16. Early industry interest is strong, with 68% of mobile developers surveyed by AppMaiters saying they plan to incorporate the new framework into upcoming projects.

0
ProgrammingHacker News ·

How to Stop Your Smart TV From Spying on You

Smart TVs are increasingly capable of collecting user data, raising privacy concerns among consumers. A technical guide outlines practical steps users can take to limit data collection and surveillance by their smart TV devices. Recommended measures include network-level controls, disabling certain features, and restricting internet access for the TV. The discussion on Hacker News attracted community interest, with users sharing additional tips and experiences. The guide aims to help everyday users take back control of their viewing privacy without necessarily replacing their devices.

0
ProgrammingDEV Community ·

CS Student Builds AI Agent That Turns Construction Site Updates Into Coordinated Actions

Daries, a computer science student and AI engineer from Accra, Ghana, developed OG Foreman, an AI-powered construction site coordinator submitted to the AllThingsAgentic Hackathon. The tool allows site teams to submit a single plain-language update, which the system then breaks down into structured project actions such as marking tasks complete, logging blockers, tracking material stock, and flagging shortages. Built on Google's Gemini, Agent Development Kit, Cloud Firestore, and a Next.js front end, the system deliberately separates language understanding from database write access to prevent errors. Consequential actions like material procurement are prepared and explained by the AI but require approval from an authorized human before execution. The project aims to solve a common construction management problem where critical site information gets lost across chat messages, calls, and spreadsheets rather than being captured in a central project record.

Developer releases free 62 KB Windows app to prevent laptop sleep during long agent runs · ShortSingh