Skip to main content

Posts

New top story on Hacker News: Show HN: Cost.dev (YC W21) – making agents cost-aware and cheaper to call

Show HN: Cost.dev (YC W21) – making agents cost-aware and cheaper to call 9 by akh | 1 comments on Hacker News. We launched Infracost on HN five years ago ( https://ift.tt/0PSHGKW ) where our CLI generated cost estimates for infra-as-code, e.g. "this Terraform PR adds $400/mo". The idea was to shift cloud costs (FinOps) left, so engineers get visibility of costs before deployment and make better decisions. Earlier this year we started seeing agent traffic in our logs and it looked like coding agents were calling our CLI. But that CLI wasn't designed with coding agents in mind. We went down a philosophical rabbit hole to see if a CLI is even needed anymore given that Claude, Copilot et al. already follow best practices. Ultimately we decided to create a new CLI from the ground up with coding agents in mind for two reasons: 1. We optimized the CLI for agent callers and cut Claude's output token usage by up to 79% and API cost by up to 67% versus a bare-Claude baselin...

New top story on Hacker News: Show HN: RePlaya – self-hosted browser session replay with live tailing

Show HN: RePlaya – self-hosted browser session replay with live tailing 4 by shikhar | 0 comments on Hacker News. Hi HN, I'm one of the founders of s2.dev. RePlaya ( https://ift.tt/2W3bm4V ) is a self-hosted browser session replay tool using rrweb ( https://ift.tt/gLbn4Qx ). It occurred to me that a durable stream per session would be a much neater architectural foundation for much of what you'd want from such a tool. As a unique feature, it also made live tailing straightforward because the player can read from the same stream the recorder is appending to. The alternative architecture is likely an ingest firehose which is then indexed, with associated complexity and latency. You'd have to string together multiple data systems like a message queue, a metadata database, and blob storage and/or an OLAP database. Here the only dependency is S2, which has an open source version you can self-host called s2-lite ( https://ift.tt/qklKg63 ). How it works: - one S2 stream per bro...