GraphQL Apollo Starter Kit (Lerna, Node.js)

In many ways developing in Node.js is very fast and lightweight. However it can also be bewildering at times. Mostly so since for everything there seems to be more than one established way of doing things. Moreover, the right way to do something can change within 3 to 6 months, so best practices documented in … Continue reading GraphQL Apollo Starter Kit (Lerna, Node.js)

Free Tool for Renaming Files with Current Date

For many files, it is good to keep track of when they were originally created. In theory, every file created on any mainstream operating system should have its 'creation date' and 'last date modified' recorded as part of its metadata. This mechanisms, however, is often unreliable, especially when using file synchronisation tools such as Dropbox … Continue reading Free Tool for Renaming Files with Current Date

Improving Node.js https request performance

The HTTPS module of Node.js allows making HTTPS request to other servers. Unfortunately, making requests with this module often leads to poor performance. I found that calling a nearby HTTPS server usually took between 300 ms and 150 ms. With the following simple solution, I was able to reduce this time to less than 40 … Continue reading Improving Node.js https request performance