Skip to main content

I'm a self-employed web developer, family man, nerd, scuba diver, and author of many fine books. Manager/maintainer of the Elgg community site, and core Elgg development team member.

EdiDoodle - A drawing app just for Edison (and anyone else who wants it)

I hate you, Apple. Long live Android.


Check out my blazing LTE speed @rogers


Walk To Mordor - #ionic + #Elgg for #iOS #Android or browser

This is my first personal app, a pet project I've been working on and off in my "spare time" for the last year or so.  Decided to finally go live with it.  I hope people use it and enjoy it!

Walk To Mordor - #ionic + #Elgg for #iOS #Android or browser
Icons for everything

As of today - 20 years of Oilers fandom

3 min read

I came to Canada in 1992, too young and new to the country to know/care about hockey. The oilers failed to make the playoffs from then until 1997.
I was 15, life was shitty (really shitty), but the Oilers made the playoffs and everyone was going crazy about it so I watched.
The oilers were the 7th seed, playing the 2nd place Dallas Stars. This was literally the first time I paid any attention to hockey outside of NHL '94 for the Sega Genesis. I barely knew the rules, but I was a bandwagon fan because of the excitement of the city and my friends. I watched every game, getting more and more excited each time we took the series lead, and getting deflated when the Stars tied it up. With the Oilers unexpectedly up 3 games to 2 in overtime of game 6 the Dallas Stars boogeyman Mike Modano again tied the series forcing it to the epic game 7.
I watched game 7 in the basement of my moms house, with my brothers, on an old crappy tv (CRT right?). Expectations were high. Even though it was only the first round, it was my first playoffs, and I was 6 games invested already. It might as well have been for the cup.
Then Dallas took the lead less than 2 minutes in... and the oilers responded quickly. Then came the Andy Moog show. The Oilers had tons of great chances were denied by some unbelievable saves. The pace was high, full on back and forth hockey, but the Stars were edging out (and mostly out-playing the oilers for a while) and earned a 3-2 lead. In the final minute of the game Todd Marchant gets a 2-on-1, passes to Andre Kovalenko who buries it and ties the game with 19 seconds left. Oilers were about to be eliminated, then a miracle goal, and we're still in it.
Overtime was tense, incredibly fast paced. Dallas was swarming and Curtis Joseph was making all kinds of ridiculous saves to keep the Oilers in it. Then he made the save of his career:
Less than a minute later Todd Marchant gets a partial breakaway and buries the goal that eliminates the Stars, gets Oilers to the second round and cements me as a life-long fan.
Of course it got a little depressing after that for a while, but I was hooked.  This is a good time to be celebrating 20 years.  As of right now we're 2-0 up on Anaheim in the second round and confidence has never been higher.

2+hrs to still not get @SequelizeJS to generate a simple query. Fuck it, raw queries forever.


It wasn't so long ago I thought 16 gigabytes of RAM was awesome. Now I want way more...


Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_HOME environment variable.

3 min read

This error has plagued me for a week now.  Everything was working fine until Android Studio decided to prompt me for updates which I did.  Then suddenly I can't build any android apks with cordova.  The frustrating thing is the wording of this error is so common for misconfigurations that trying to track down a solution has been an exercise of pure frustration.

After much digging around and trial and error what appears to have happened is the latest build of Android Studio has changed the file structure of how it's storing the sdk such that cordova can't find all of the required files even if the $ANDROID_HOME system variable is correct which makes the error message even more difficult as it points to an incorrect root cause of the error.

So for anyone else running into this - I completely nuked Android Studio.  I was only using it for the sdk manager anyway.  As far as I can tell Android Studio in it's current format won't work with cordova cli.

Delete the entire contents of ~/Library/Android/sdk

I downloaded the command line tools package from here: (as per the page:  Note that this location is new since the latest release and as of this writing many search results for command line tools installation are out of date.


Unzip the file and copy the resulting tools directory to ~/Library/Android/sdk/tools

Open up the sdk manager with

~/Library/Android/sdk/tools/android sdk

With the sdk manager I installed:

API 25

- SDK Platform

- Android TV Intel x86 Atom System Image

- Google APIs ARM 64 v8a System Image

- Google APIs ARM EABI v7a System Image

- Google APIs Intel x86 Atom_64 System Image

- Sources for Android SDK

API 22

- SDK Platform

- Sources for Android SDK

API 21

- SDK Platform

- Sources for Android SDK


After attempting a new build it looks like it got further but I was greeted with an error of: Error: Please install Android target: "android-23".

So I additionally installed

API 23

- SDK Platform


Next build - new error:


FAILURE: Build failed with an exception.


* What went wrong:

A problem occurred configuring root project 'android'.

> Could not resolve all dependencies for configuration ':_armv7DebugCompile'.


Followed by a list of cordova plugins that had errored out on the build.  I took the armv7 part of that as a hint and installed:

API 23

- Google APIs ARM EABI v7a System Image


When that didn't work, I tried to be smarter and searched for solution first - stackoverflow had at least one resolved hit:

So I installed:



- Android Support Repository

- Google Play Services

- Google Repository


Finally I got a build to work.  I have yet to test the resulting apk, but I'm assuming it's good.