Urgent.News

What's breaking now, across thousands of outlets.

Tech

Keeping Mac work alive without pretending awake means safe

A developer usually meets Mac power management through a simple need. A build, local server, download, or agent is still running, and idle sleep would interrupt it. The caffeinate command can be enough for that open lid case. Lid close is a different boundary. An idle sleep assertion does not mean the same thing as a closed display session, and a product should not blur the distinction. I built…

Developers often encounter Mac power management issues when a build, local server, download, or agent remains active while the system enters idle sleep. The caffeinate command addresses this concern, but lid close is a separate situation. Idle sleep does not equate to a closed display session, and companies must maintain a clear distinction.

Afterlid was created around three distinct states: Sleepy, Awake, and Always On. Sleepy follows regular sleep patterns, Awake prevents both idle and display sleep when the lid is open, and Always On applies to the closed lid mode with an off display. After activation, the focus shifts to handling potential issues. If the app crashes, the battery becomes low, the system faces thermal pressure, the app heartbeat stops, or after eight hours, Afterlid returns the Mac to normal sleep behavior.

The current implementation relies on a privileged helper and an undocumented macOS sleep setting. This highlights the importance of thorough testing and honest release notes. Founder notes that the product's recovery process is crucial, emphasizing that activation is a feature, but recovery is the product.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Checking Polish companies from code: VAT, KRS, REGON, EU VAT (REST + Python + MCP)

If you invoice or onboard Polish companies, sooner or later you have to check two dull things that turn out to matter a lot: is this company actually a registered VAT payer, and is the bank account…

  • Polish companies must be checked for VAT registration status and white-listed bank accounts
  • Four REST endpoints provided by skanfirmy.pl for NIP, REGON, and EU VAT validation
  • Monitoring endpoint sends HMAC-signed webhook for changes in VAT status or white-list accounts

A hackathon is a compression test for how you actually work

A hackathon is a compression test for how you work. Everything you'd normally have weeks for gets squeezed into a window measured in hours — scoping, building, integrating, presenting — and what…

  • Hackathons compress software development stages into short timeframe
  • SYNTAX TERMINATOR placed among top 12 out of 250+ teams
  • Constraint drives efficient decision-making and prioritization

Why engineers need commercial awareness, not just technical depth

Engineers who only understand the technology, and never the business it serves, hit a ceiling early. The best ones develop commercial awareness — a real sense of how value is created, funded, and…

  • Engineers with commercial awareness surpass those with only technical depth.
  • Observing startup pitches at 21BY72 Season 4 highlights business value creation.
  • Understanding customer needs and business constraints refines engineering priorities.

Cómo pensamos el cifrado de PII en una app Ionic + Angular, para cumplir el RGPD y la LOPD-GDD

Envelope encryption con clave por usuario, qué se cifra y qué no, cómo lo puso a prueba una auditoría externa, y el incidente de rendimiento que provocó nuestro propio hardening de seguridad.

  • Cuentopia uses AI to create customized bedtime stories for children
  • Sensitive data falls under especially protected personal data per GDPR and LOPD-GDD
  • Envelope encryption with master key in Google Cloud KMS protects child data

More from Sunday 23 August →