SVG's scalability and CSS flexibility don't help when platforms like OGP, email, and Slack simply reject it. Here's why PNG is still necessary and how the Canvas API handles the conversion.
$ devtools --philosophy
From API key generation to an SVG viewer, ULID generation, and color palettes: a free toolbox for everyday development work. Wondering about the edge cases? Several tools come with an article that walks through how they actually behave.
Take a look at the dashboard$ ls tools/ --by-category
HOW IT WORKS
We dug into how each tool actually works, including the edge cases that trip people up, and wrote it all down. Every article links straight back to the tool it covers.
SVG's scalability and CSS flexibility don't help when platforms like OGP, email, and Slack simply reject it. Here's why PNG is still necessary and how the Canvas API handles the conversion.
The same bytes encode differently in Base64 vs Base64URL in three distinct ways: character substitution, padding, and how = behaves in URLs. Most JWT decoding failures trace back to mixing these up.
Plain ULID generation breaks ordering within the same millisecond. We read the monotonicFactory source to see exactly how it increments the random bits, and compare that with UUID v7.
Splitting 192.168.1.0/24 across four departments with different host counts, this post traces why allocating from the smallest subnet first leaves the address space too fragmented for later, larger blocks.
Encoding a single query string value with encodeURI lets characters like & and = survive, which can break the structure of the URL itself. This article walks through an actual case where the URL breaks and clarifies the boundary between encodeURI and encodeURIComponent.
The "-2" in the standard CIDR host-count formula comes from reserving a network and broadcast address — and that's exactly why /31 and /32 don't follow it.
Using 192.168.1.130/26 — a CIDR that splits in the middle of an octet — as an example, we trace exactly how bitwise AND and OR produce the network and broadcast addresses.
Explains the relationship between UNIX time's fixed 86400-second day and leap seconds, and what to watch out for when converting.
Explains the internal structure of randomly generated v4 and chronologically sortable v7, and the use cases each is best suited for.