Blog
Everything I can write.
-
The Roofline Model on a Laptop: Measuring the Bandwidth Slope, the FMA Ceiling and the Ridge
Arithmetic intensity and the bound P = min(π, βI), with the bandwidth roof and FMA ceilings measured in C on one core of an Apple-silicon laptop, and a kernel walked across the ridge.
-
From Reflected XSS to a Real Content-Security-Policy
How script injection actually happens, why output encoding and CSP are different layers, and how to roll out a nonce-based policy without breaking production.
-
Designing a URL Shortener, Properly
Requirements, back-of-the-envelope capacity numbers, the data model, base62 versus hashing for IDs, and what to do when one link goes viral.
No posts match these filters.