Elegantly accessible state in Angular services using promises

Holding state in single page applications is a bit tricky. You can do everything to make sure that state is maintained, but you really can't be »

A Range Minimum Query solution in Javascript

I've been taking a few codility tests lately and I've hit a very interesting problem dealing with prefix sums. Basically, the problem is to find the »

Deploying a static site to Heroku with Grunt

Heroku is awesome like bacon. You may love or hate the fact that they use git for deployment automation, but git is awesome like bacon too »

The classic JavaScript block scope WTF

There comes a time in every programmer's life, when they have to work with javascript. The more unlucky ones coming from their upbringing in the more »

Setting up multiple worker processes for your node server

Node runs on a single thread. And many implementations won't need anything more than this, if they just stick to the optimum use case for node »

Creating a HTTPS proxy in Node.js

Recently, I needed to mock a dev box to act as the production environment to do some debugging on a Node.js express web app. The »