Best of 2021

The blog posts Hacker News loved most in 2021. 381 posts.

Tools & Productivity
281

ANSI escape codes (2019)

My team writes a lot of command line tools, and we like to assume that people aren’t using a literal VT100 (meaning: we liberally use colours, italics, and basically every other terminal feature available to us). This tends to result in strings in our code that look a little like this: