Alex Kladov
-
Look Out For Bugs
One of my biggest mid-career shifts in how I write code was internalizing the idea from this post: Don't Write Bugs
Published
-
Vibe Coding Terminal Editor
I wrote a small tool for myself as my biannual routine check of where llms are currently at. I think I've learned a bunch from this exercise. This is frustrating! I don't want to learn by trial and error, I'd rather read someone's blog post with lessons learned. Sadly, most of the writing on the topic…
Published
-
Ads Are a Positional Good
Non-technical armchair economics post, where I explain my pet theory for why everything on and outside of the internet is absolutely infested with ads.
Published
-
Retry Loop Retry
Some time ago I lamented that I don't know how to write a retry loop such that:
Published
-
Links
If you have a blog, consider adding a links page to it, which references resources that you find notable: https://matklad.github.io/links.html
Published
-
Reserve First
A short post about a coding pattern that is relevant for people who use the heap liberally and manage memory with their own hands.
Published
-
Zig's Lovely Syntax
It's a bit of a silly post, because syntax is the least interesting detail about the language, but, still, I can't stop thinking how Zig gets this detail just right for the class of curly-braced languages, and, well, now you'll have to think about that too.
Published
-
Partially Matching Zig Enums
A short post about a neat little Zig idiom. Consider your average {sum type, variant, tagged union, enum, alt}:
Published
-
font-size-adjust Is Useful
In this article, I will describe a recent addition to CSS, the font-size-adjust property. I am also making a bold claim that everyone in the world misunderstands the usefulness of this property, including Google, MDN, and CSS Specification itself. (Just to clarify, no, I am not a web designer and I have…
Published
-
Inverse Triangle Inequality
|AC| |A B| + |BC| is one of the most hardworking inequalities in mathematics. It illustrates an obvious fact --- the fastest way to go from point A to point C is to go directly, without detours:
Published