Signup here for the newsletter to get the weekly digest right into your inbox.

Find the 12 highlighted links of weeklyfoo #161:

Building an isolated preview for AI-generated HTML

by Keshav Malik

A srcdoc iframe runs model-written HTML on your own origin, so a security engineer breaks the naive approach and rebuilds it with sandbox and a strict CSP

🚀 Read it!, security, ai, html

Shipping 103,802 dots in 82 KB

by Layers

Quantized coordinates split into streams that expose repeated rows to Brotli, 63% smaller than compressing raw floats, plus a render loop that sleeps when idle

📰 Good to know, performance, compression, javascript

How the Claude Code team does code review

by Anthropic

Merged PRs more than doubled while reverts fell over 40%, by moving most reading to machines, scaling human approval by risk and making rollback fast

📰 Good to know, ai, code-review, agents

Investigating a curious case of font format fallbacks

by Paul Calvano

A font loaded three times as WOFF2, WOFF and TTF, traced through browser errors into Chromium source

📰 Good to know, performance, fonts, web

How a read replica almost took down its primary database

by Photoroom

A lagging BI replica made the primary hold 31.7 TB of WAL while auto-growing disks crept toward a hard limit

📰 Good to know, postgres, postmortem, databases

The AI cost of JavaScript frameworks

by Nolan Lawson

Opus 5.5 builds the same app across frameworks over repeated runs, measuring cost, time, spec compliance, performance and accessibility, with Hono plus htmx, Astro and Nuxt among the cheapest

📰 Good to know, ai, javascript, frameworks

Our AI agent executed the same successful SQL query 254 times

by Funnel

A model swap made a data agent loop instead of finishing, a case for whole-system evals, explicit tool contracts and bounds on repeated behavior

📰 Good to know, ai, agents, evals

Rapier JXL

by jackskip22

Dependency-free JPEG XL encoder in JavaScript, about 30 KB gzipped, with WebGPU quality search, lossless, HDR and JPEG transcoding

🧰 Tools, images, javascript, webgpu

Structs

by Erik Arvidsson

Usable implementation of the Stage 2 TC39 shared structs proposal, so workers can share objects instead of serializing copies

🧰 Tools, javascript, concurrency

pgvolvra

by pgEdge

Trigger-based row history to preview and undo bad updates, deletes or migrations by transaction ID, no superuser needed

🧰 Tools, postgres, databases

tstst

by zzj3720

A TypeScript compiler running inside the TypeScript type system

🤪 Fun, typescript, experiments

Software engineering at Google and CS education with Titus Winters

by Gergely Orosz

Refactoring 250M lines of C++, why Google made testing mandatory, readability reviews and why the CS curriculum needs burning down

📺 Videos, engineering, education, podcast

Want to read more? Check out the full article here.

To sign up for the weekly newsletter, visit weeklyfoo.com.