Node.js

Node.js

Node.js is an open-source, cross-platform JavaScript run-time environment for executing JavaScript code server-side.
Jun
28
Precise vs Accurate on Arbitrary-precision Arithmetic

Precise vs Accurate on Arbitrary-precision Arithmetic

When Math isn't accurate in code Precise vs Accurate So here's a simple example to get
3 min read
Jun
17
Only inexperienced developers use infinite loops

Only inexperienced developers use infinite loops

A language agnostic look at this common programming pattern. My hope is that once you've read my post
8 min read
Sep
01
Strategy To Manage Cache At Scale

Strategy To Manage Cache At Scale

One of the major challenges we face as modern developers in our infrastructure is how do we cache effectively so
12 min read
Jun
16

Correctly checking property exists in JavaScript

While maintaining some code recently I found myself writing out of pure habit Object.hasOwnProperty.call(obj, 'prop'
3 min read
Jun
04

Misconception on CPU: Node.js vs PHP blocking web requests

We know the Node.js engine runs our code asynchronously, and we know it does that using an event loop.
3 min read
May
23

What's new in Node.js 6.0

This new release of node aims to improve performance, reliability, usability and security. Node 6.0 supports 93% of ES6
2 min read
Mar
19

Prototypes and Inheritance

Recently I had the unique pleasure of presenting at General Assembly Melbourne, I was asked to share what I knew
5 min read
Jan
03

Callback Functions Double Executing? Dont Forget To return

Callback Functions Double Executing? A quick example function doSomething(err, result, final){ if(err){ final(err); } final(null,result); } Take
2 min read
Dec
05

Node.js Error Handling Patterns

The WRONG Way There is always a exceptionally bad way of doing something in NodeJS (or any language) so I
4 min read
Nov
28

Process Functions Asynchronously with a Final Callback

Purpose and use case Generally your functions are executed asynchronously with some exceptions, and the challenge for some is when
2 min read