Technical

314 articles · all categories

March 2016

Animating with React, Redux, and d3

December 2015

Don't Worry; It's a Compiler Bug

November 2015

A day is not 60*60*24 seconds long

Days aren't 60*60*24 seconds long. They are 1 day long, which on most days maps to 60*60*24 = 86400 seconds. But not on all days.

There's a "bug" in ES6 modules

October 2015

React+Flux can do in just 137 lines what jQuery can do in 10

September 2015

Lesson learned, test your migrations on the big dataset

August 2015

React components as jQuery plugins

June 2015

Webpack lazy loading on Rails with CDN support

March 2015

How to wait for DOM elements to show up in modern browsers

January 2015

How to run JavaScript tests in Chrome on Travis

Javascript debugging [slightly] beyond console.log

My favourite tool for javascript debugging is `console.log`. I mean, I love `console.log`. If I ever get a programming tattoo, it's going to be `console.log` or some variation thereof. Simple to use, works every time, and every programming language I've used since I was 9 has had some variation of it.

June 2014

My new favourite Javascript trick

Using returns and callbacks in the same function. Sounds like crazy talk I know, but hear me out, I have good reason. I think.

March 2011

Checking for primes? Dumber algorithm is faster algorithm

Project euler is a fun way to become a better geek