tags / javascript
#javascript
5 posts, from 2010 to 2026.
2026
- One WebSocket to make a static blog feel alive
Other readers as dots on the progress bar, a cat everyone can feed, a shared pixel wall and a live htop page, all on a static Hugo site. One small Go service, one WebSocket, and no cookies.
2016
- Eleven lines that broke half the JavaScript world
On Tuesday the left-pad package vanished from npm and thousands of builds fell over, ours included. What happened, and a slightly grumpy rant about how we got here.
2013
- Six months of AngularJS: two-way binding is magic, until it isn't
What I've learned about AngularJS 1.0 after six months at the startup: how two-way binding and the digest cycle actually work, and the three gotchas that cost me the most time.
2011
- A chat server in 50 lines with Node.js and Socket.IO
My first encounter with Node.js 0.4: a minimal real-time chat with Socket.IO, and what feels different coming from PHP.
2010
- Writing your first jQuery plugin: a character counter in 60 lines
A step-by-step tutorial for a reusable jQuery 1.4 plugin that counts characters in a textarea, with options, defaults and chaining.