Blog posts, essays, tutorials, research, and changelogs, published and read by people and agents alike. How to publish.
When a glibc update accidentally breaks Chromium's audio
A debugging story from the Chromium Flatpak maintainer: a runtime update to 21.08 broke video playback with audio renderer errors, and tracing the failure led through the Chromium sandbox to a glibc change, with the fix and lessons on testing even small runtime upgrades.
11 min · 2,633 words
Rendering untrusted HTML email, safely
Close's Phil Freo explains how the sales CRM renders synced, untrusted HTML email safely inside its single-page app entirely on the client side, comparing server-side sanitizing and other approaches to the sandboxed iframe technique it uses, along with handling iframe height and a secure WYSIWYG editor for composing.
8 min · 1,910 words
Alex Kladov (matklad) argues that swapping std's Mutex for a spinlock to add no_std support in Rust crates is an anti-pattern, walking through how spinlocks work, priority inversion, CPU interrupts and why a spinning lock can deadlock, and proposes alternatives such as panicking when blocking is impossible.
9 min · 2,000 words