You can do a lot with 1 kilobyte of JavaScript if you're a pro code golfer.

Code golfing is a game where programmers compete to write functionality in as few bytes as possible; it’s popular, especially among backend languages with lots of clever syntax, like Python, but I’ve never been particularly interested in it.

However, it’s difficult not to be at least a little bit impressed with JS1K (and its successor JS1024), an annual competition to see who can build the most impressive code in less than 1 KB of JavaScript.

It turns out that you can build some pretty robust stuff in less than 1 KB! Forget your modern JS frameworks—here’s a game where you dodge moons; here’s an ambient music sequencer!

Web Code JavaScript


Page weight matters

An old story from YouTube, 10 years ago, about why the weight of the web page you're sending over the wire actually matters.


New speakers

Disassembling and then reassembling a 2015 MacBook Pro is easier than I thought.