
The Best Backpacking Sleeping Pads, Tested on the Trail (2026)
Our top-pick sleeping pads from Nemo, Therm-a-Rest, and Gossamer Gear use high-tech materials to engineer the best sleep you can get outdoors.
The latest breakthroughs in software, hardware, and emerging tech shaping how the world builds and connects.
1557 articles found

Our top-pick sleeping pads from Nemo, Therm-a-Rest, and Gossamer Gear use high-tech materials to engineer the best sleep you can get outdoors.

Tired of eye strain? These tips will help optimize your smartphone for marathon reading sessions.

More electric vehicles are becoming capable of providing backup power at a time when the US is increasingly in need of more electrons.

Motorola phones may seem old-school, but their reasonable prices, colorful designs, and simple software make them good, wallet-friendly Android smartphones.

You’re an action hero, and you need a camera to match. We guide you through all the models, plus accessory recommendations and hidden software tricks to try.

348 points 231 comments on Hacker News · astral.sh
Just generally why are Jews and blacks and associated garbage (Muslims, indians) in this country? Sincere replies only.
Whether at work as a software engineer or in my private life, I kept running into the same problem: While working in my terminal, I’d wish I could use AI to make sense of recent output or compose a command. Copying and pasting context between a chat and the terminal was tedious and preemptively running a full CLI coding agent threw away all the efficiency of working in a shell. Both workflows were far from ideal. What I really wanted was for the coding agents I already used to pop into my terminal when needed, staying invisible the rest of the time. I couldn't find any existing tools that fit. iTerm2’s AI features don't let me use my existing AI subscriptions, Warp requires changing your entire terminal emulator and workflow (and a new subscription). I wanted a transparent wrapper that could work with my existing tools, staying completely invisible until summoned with a shortcut. Architecture I started from the codebase of the excellent mprocs by pvolok to handle terminal emulation and rendering. I used Claude and Codex to strip out the mprocs-specific code, add an on-demand overlay for the AI's terminal, and add an MCP server. Using CLI flags, the MCP server is injected into the AI agent’s config and instructions are added to the system prompt that explain how the AI should interact with the terminal. The agent can retrieve terminal content, metadata and history, and send input to be approved by the user before being sent to the guest terminal. The AI is also given a CLI command with all the same functionality as the MCP server for agents that don't support MCP or for piping the output instead of dumping it into the AI’s context. The Hard Part: Making it Truly Transparent If you are a heavy terminal user, you know how fragile TUI rendering can be. Making the overlay completely seamless required forking the ratatui TUI toolkit and the rat-salsa widget library to solve three low-level problems: Terminal Scrollback: Most TUIs manage their own buffer without anything going into the terminal’s scrollback, which was a total nonstarter. After several failed attempts to reliably push lines into the scrollback, I landed on using the old-fashioned way: writing them at the top of the screen and appending enough newlines to force a native terminal scroll. This required modifications to ratatui, the TUI framework, to enable it to render this way while maintaining its internal buffer. Broken Copy-Paste: Empty space at the end of lines was being written to the terminal as literal space characters, which broke native text selection and copying. I fixed this by clearing the rest of the line upon rendering the first empty cell, then continuing from the next line. Every line ending was being copied as a line feed. I fixed that by ensuring that ratatui used the host terminal for line wrapping instead of moving the cursor to the beginning of the next line. I hope you'll give it a try! Quick Stats: License: MIT Language: Written in Rust (for efficiency, explicit error handling, and letting the type system enforce invariants). Privacy: Zero telemetry, tracking, or data collection. Logs are stored locally to enable debugging. Security: The MCP server uses an http server on 127.0.0.1 that is protected by a bearer auth with the secret generated at runtime and passed to the AI agent via environment variable. AI agents that support auth from an environment variable can use it directly and those that don't can use a terminai subcommands as a stdio MCP server which will read the env var and proxy requests to the http server. The CLI tool that offers the same tools as the MCP server operates the same way. Vibe coded: Unabashedly written mostly by Claude and Codex. I have given a lot of direction to the AI in terms of how to accomplish tasks and demanded extensive testing but most of the code has never been seen by human eyes. The resulting functionality and stability speak for themselves.
Who's covering this category most
Explore more of what's active right now
Scaling Agentic RL: High-Throughput Agentic Training with TunixGoogle DevelopersAugust 20, 2026
Evolving Spec-Driven Development: Conductor Now Supports AntigravityGoogle DevelopersAugust 20, 2026
Expanding Choice in Gemini Enterprise Agent Platform: Introducing Grounding with Parallel Web SearchGoogle DevelopersAugust 20, 2026
Systems Engineering Playbook: Optimizing Qwen 3.5-397B MoE on Ironwood (TPU7x)Google DevelopersAugust 20, 2026
Run Ray on TPU, Part 1: The foundationsGoogle DevelopersAugust 20, 2026