At funciton we are not married to a technology or language. We believe that every need has a very unique and special way to be solved. While we do a lot of python development (python is awesome!) we always struggle to find enough python developers.
This is Part 1 of a 3 part series on a single page application for Node.JS. I love Twitter Bootstrap. Yes, there are several similar frameworks, but I like the fact that Bootstrap works on nearly all...
This release addresses a potential security vulnerability.
If you do not use TypedArrays, then you're fine (but should still upgrade for other reasons, like better performance and npm peerDependencies.)
If you use TypedArrays, you should upgrade to v0.8.17 as soon as possible. If user input can affect the size parameter in a TypedArray, an integer overflow vulnerability could allow an attacker to write to areas of memory outside the intended buffer. Please upgrade ASAP.
It sounds antagonisingly obvious, but the same goes for everything you decide to build. Your app needs to have purpose. A job to do. A problem to solve. Solid reasoning here will cement durable foundations for the application itself. It will help you visualise a path towards the solution, as well as maintaining focus on the ultimate goal when you get stuck in and iterate.
howmanyleft.co.uk runs its node.js workers behind supervisord. To avoid dropping requests with 502swhen restarting workers, I hook into the SIGTERM signal and call close() on the HTTP server. This stops the server from listening for new connections, and once all the open connections are complete, the worker exits.