New

The latest blog posts to take off on Hacker News. 521 posts.

Tools & Productivity
2021
451

Browsers eating RAM

This got a lot more attention than it deserves. As I'm pointing out below, it's likely the case that the system tool I used for measuring memory footprint isn't giving the full picture. It's also not a very indicative test in terms of every day use. However, I do think the reason this resonated with so many people is…

456

Typing Is Hard

Type checking is the process of taking a given program in some programming language and working out whether all variables and expressions have the correct types, i.e. strings are assigned to strings, arithmetic expressions involve only numbers, etc. Some languages also offer type inference , tasking the compiler with…

471

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: