JavaScript Labels: Explained

I recently went to a talk by the creator of human.js about writing readable code, a central tenet of which is avoiding JavaScript "quirks". The purpose of this post is to enlighten you about one of these quirks--labels--and equip you with the knowledge of their meaning to the interpreter…

Sane GitHub Hooks with Plain Node.js and Bash

This morning, I decided to try out another automated deployment strategy (see previous post on using Travis-CI) using GitHub's webhook service. NOTE: I used a VPS (Ubuntu 12.04 on Microsoft Azure) for this setup, so there was no "out of the box" hook available or git deployment (that old…

Continuous Firebase Deployment with Travis-CI

We just started our first group projects at Hack Reactor and we decided to go with Firebase as a backend service for easy-to-use sockets / events and also using Firebase hosting to serve our static front-end assets.As the "scrum master" on my team, I wanted to design a work flow…

Oddities in JavaScript's 'NaN' and 'null'

JavaScript is a beautiful but strange beast. It is the lingua franca of the web and one of the most widely used programming languages ever, yet it was only designed in 10 days. One of its great strengths is in its extreme (and according to some critics excessive) flexibility, but…