New

The latest blog posts to take off on Hacker News. 6,220 posts.

Any topic
2025
3008

Use Your Type System

Today I'm discussing a trivially simple technique that I've rarely seen used in production codebases. In programming, we often need to deal with simple values that can be represented by simple, generic types built into our programming language or provided by libraries: types like integer, string, or UUID. In any

3011

A valid HTML zip bomb

<h1 id="a-valid-html-zip-bomb"><a tabindex="0" class="anchor" href="/notes/html_zip_bomb">A valid HTML zip bomb</a></h1><p><img src="/notes/res/zip_bomb_file.svg" alt="Illustration d&#x27;une bombe zip" height="150" width="150"> Many sites have been affected by the aggressiveness of web crawlers designed to improve…

3015

I drank every cocktail

The International Bartenders Association, or IBA, maintains a list of official cocktails, ones they deem to be “the most requested recipes” at bars all around the world. It’s the closest thing the bartending industry has to a canonical list of cocktails, akin to the American Kennel Club’s registry of dog breeds or a…

3028

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 no idea what I…