TLDR Dev 2025-02-04
Dev philosophies 📖, why some flag emojis are broken 🏳, animating height ❌
I Wrote a Wasm Interpreter in C (11 minute read)
This developer spent six months building a WebAssembly (Wasm) interpreter in C as a learning project to deepen their understanding of low-level computing. In this post, they explain the evolution of Wasm and its applications in web and cloud environments, such as in-browser compilation. They then walk through the interpreter's implementation, covering module decoding, function invocation, and execution via an opcode switch loop.
Don't animate height! (5 minute read)
A note-taking app had high CPU and GPU usage due to a CSS animation affecting the height property of a visualizer. Animating the height property triggers expensive layout and paint recalculations in the browser's rendering pipeline. Replacing the height animation with a transform animation, specifically using two rectangles with translate transformations instead of scaleY, drastically reduces CPU and GPU usage.
What Okta Bcrypt incident can teach us about designing better APIs (16 minute read)
The Okta Bcrypt incident exposed a vulnerability where excessively long usernames allowed authentication bypass due to the 72-character input limit of the Bcrypt algorithm, leading to ignored password data. Through testing various implementations in Go, Java, JavaScript, and Python, the blog post shows that while some libraries enforce this limitation correctly (like Go's and Patrick Favre's Java Bcrypt), others fail to do so (such as Spring Security and bcryptjs).
Software development topics I've changed my mind on after 10 years in the industry (3 minute read)
A software dev reflects on their decade in the industry, revisiting opinions they had written down in the past. For example, contrary to their past beliefs, they now believe that DynamoDB is a good database, typed languages are essential, and that simplicity is not a given. Some earlier beliefs still hold though, such as skepticism on code style obsession, microservices, and the necessity of project managers.
Developer philosophy (7 minute read)
Some key dev philosophies to follow include the importance of avoiding ground-up rewrites by managing technical debt early, recognizing that the last 10% of a project often takes as much effort as the first 90%, and automating good practices to enforce consistency. Devs also need to account for edge cases, simplify code when possible, and write testable, obviously correct code rather than relying on implicit correctness.
Goose (Website)
Goose is an open-source, local AI agent that automates engineering tasks, allowing devs to focus on higher-level work. It's effective for tasks like debugging, data generation, code migration, and custom CLI command creation.
Httptap (GitHub Repo)
Httptap is a Linux tool that allows users to view the HTTP and HTTPS requests made by any program by running httptap -- `command`. It works by running the given command in an isolated network namespace and transparently proxying the traffic.
Beyond the AI MVP: What it really takes (7 minute read)
Most AI companies are stuck in the experimental phase and lack proper eval tools to measure and improve model performance. The “AI MVP trap” misleads teams into thinking an impressive prototype is nearly complete, when in reality, building a good AI product requires extensive eval suites and automated testing.
The dumb reason why flag emojis aren't working on your site in Chrome on Windows (7 minute read)
Flag emojis don't render properly in Chrome on Windows because Microsoft's system font doesn't support them, likely due to geopolitical concerns. As a result, Chrome users see country code letters (e.g., "GB" instead of 🇬🇧), while Firefox avoids the issue by using its own emoji font.
Inside imessage-exporter: Reverse Engineering Apple's typedstream Format (34 minute read)
A developer reverse-engineered Apple's undocumented typedstream binary serialization format used in iMessage's attributedBody BLOB, which stores rich text and formatting data. In this post, they explain how they deciphered the format's structure, including type tags, indicators, and object caching, to create imessage-exporter, a tool that can extract and represent this data in a platform-agnostic way.
The most important software engineering news in one daily email
Join 480,000 readers for
one daily email