JavaScript Type Check Guide - Code with Hugo - Jun 25th 2019
Hot off the press
JavaScript Data Type Check Cheatsheet: Common JavaScript data type checks, pitfalls and idiomatic workarounds.
If you missed it
Avoiding recursion pitfalls: MongoDB nested query clause addition and removal: A case-study on where recursion can be useful for enterprise Node.js applications and how to avoid its common pitfalls like RangeError: Maximum call stack size exceeded.
Jest assert over single or specific argument/parameters with .toHaveBeenCalledWith and expect.anything(): With Jest it’s possible to assert of single or specific arguments/parameters of a mock function call with .toHaveBeenCalled/.toBeCalled and expect.anything().
An enterprise-style Node.js REST API setup with Docker Compose, Express and Postgres: The why and how of enterprise-style Node.js application.
From the web
The Trello Tech Stack 2016 by Barry Clark: Our last post outlining our tech stack was a mere four months after Trello launched. More than three years and 8 million members later, we’re serving 1300 requests per second. It’s safe to assume a few things have changed. That’s right - plural.
Some Were Meant for C by Stephen Kell: "The Endurance of an Unmanageable Language". The C language leads a double life: as an application programming language of yesteryear, perpetuated by circumstance, and as a systems programming language which remains a weapon of choice decades after its creation. This essay is a C programmer’s reaction to the call to abandon ship.
Understanding Database Sharding by Justin Ellingwood: Any application or website that sees significant growth will eventually need to scale in order to accommodate increases in traffic. For data-driven applications and websites, it's critical that scaling is done in a way that ensures the security and integrity of their data.
Hacking thousands of websites via third-party JavaScript libraries – Daniel by Daniel: A vast number of websites use third-party JavaScript libraries as a way to enhance their functionality with the capabilities offered by a particular library. In many cases, library data is conveniently loaded directly from the service provider’s domain.