Post
-
The Republic of Virtue: Terror, Tolerance and the Internet
I’ve recently been listening to the excellent podcast series Revolutions by Mike Duncan. Right now we are in the thick of the French Revolution. It’s really riveting stuff, and offers some fascinating insights into the interplay of groups, ideology, virtue, violence … read more › -
Fixing Chrome Autofill: Mysterious Wrong Values Solved
On an ecommerce website I maintain, we started running into a strange issue where we were getting orders coming in with the first line of the address being duplicated in the “delivery instructions” field. This was causing all sorts of confusion and mild distress at … read more › -
Automatic @import of Less/Sass files with Gulp
This post describes a way to use Gulp to automatically @import Less files from anywhere in your project’s folder structure. It is useful if you want to define self-contained components that put all HTML, JavaScript and LESS files together, yet you don’t want to … read more › -
angular-wordpress-seed: A complete example project with AngularJS and the WordPress JSON REST API
Last September I wrote a post detailing how I went about re-building this website with AngularJS backed by WordPress. That write-up was a high-level discussion on my choice of tools, design decisions, and lessons learned, rather than specific implementation details. The article … read more › -
A Note on Angular Expressions And JavaScript Identifiers
A variable used in an Angular expression cannot contain a hyphen. This might be obvious to some, but this issue on one of my GitHub repos baffled me for a while, and the solution was really simple and now seems totally obvious to me. I’m making a public note of it so that I … read more › -
Book Review: Responsive Web Design with AngularJS; plus Musings on Technical Writing
This is a review of the book Responsive Web Design with AngularJS by Sandeep Kumar Patel. Disclosure: I was asked to review this book by the publisher, Packt, and they provided me with a copy of the ebook free of charge. The book can be found for purchase here. Responsive Web … read more › -
Exploring ES6 Classes In AngularJS 1.x
In this post I will describe a way of using ES6 classes today in your AngularJS 1.x applications. This is intended more as an exploration than a recommendation of best practice. I’ll go into quite some detail about the reasoning and process behind my solution, but if … read more › -
The Programmer Dad
I’ve not typed a semicolon for a couple of weeks now. I don’t mean the look-at-me-I-know-fancy-punctuation kind (there will be plenty of those here). I am of course referring to ;, the token that denotes the end of a statement. No, I’ve not ditched JavaScript … read more › -
One Year of GitHub and Open Source
Next week sees the close of my first year as an active participant on GitHub and in the open source community. I’d like to mark the occasion by collecting together a few thoughts on my experience thus far. At the beginning of this year I wrote about my decidedly shaky start … read more › -
Building a 3D Game with CSS + HTML
I have recently been exploring some of the lesser-used features of CSS - namely 3D transforms and animations. For a recent talk I gave at a local JavaScript user group, I put together this demo, and in doing so I became really curious about just how far the 3D capabilities of … read more ›