Claude Code - Using Context More Efficiently
A Stop hook that warns when a session's context gets too long, and a one-paragraph skill for handing off work that hasn't started yet.
A Stop hook that warns when a session's context gets too long, and a one-paragraph skill for handing off work that hasn't started yet.
rot.js covers the algorithms and Phaser the rendering, but no JavaScript library handles turn-based combat, inventory or progression. I wrote those myself.
Moonshot caches prompts automatically, but the discount never reaches you through OpenRouter. Backing the real rate out of the billing rows.
Every tool call POSTs the whole conversation back to the API, so one prompt can bill many times its context window. Prompt caching cuts reads to ~10%.
The Sonoff SNZB-05P seems like the best Zigbee leak sensor right now. It’s around $20, and its snap-on WLDC200 sensing cable detects water anywhere along the cord, so it isn’t just watching a single spot the water can spread around. I have them in appliance drip pans and under sinks, all feeding one Home Assistant automation that alerts my phone when a sensor trips and sends an all-clear when it…
CloudNativePG is a Kubernetes operator for running PostgreSQL. It joined the CNCF Sandbox in January 2025, applied for Incubation and added PostgreSQL 18 support later that year, and shipped v1.30 in June 2026. It’s used by some big companies like IBM, Google Cloud, and Microsoft Azure, and it looks solid, though I haven’t run it myself. I’ve been weighing whether it’s worth advocating a swap from…
Qwen3.6-35B-A3B fits on a 16 GB card with llama.cpp's `--n-cpu-moe`. Disabling thinking mode needed both reasoning-budget 0 and enable_thinking=false.
I was picking hardware for an OPNsense router and needed a real PCIe slot, which most cheap low-power boxes don’t have. A slot lets you add a network card with SFP+ or more ports, and swap it later for something else (like a GPU).
If Prometheus and Alertmanager run on one box, nothing alerts when that box dies. A `vector(1)` watchdog routed off-host turns silence into the failure signal.
A used Dell Wyse 5070 at $43 and an OptiPlex 3000 at $84 beat a Pi 5 on price for closet servers. Benchmarks, the memtest warning, and the M.2 fit problems.