#306 — September 19, 2019 |
Node Weekly |
Avoiding the Tragedy of the Commons: Acceptable Use of the npm Public Registry — Usage of the official npm repository is still growing along a ‘hockey stick’ curve and npm Inc. wants to ensure a high level of service is maintained. As such, their acceptable usage policy now clarifies that making over 5 million requests per month is considered ‘excessive’. The npm Blog |
Using GitHub Actions for Continuous Integration with Node — There are going to be quite a few articles like this in the coming months, as GitHub Actions (while still in beta) is now immediately open to anyone who applies. Jason Walton |
The Node.js Security Handbook — Learn actionable best practices to help you protect your Node.js applications. Download the checklist for tips on monitoring, infrastructure, protection, and more. Sqreen sponsor |
▶ Why Low Level JavaScript |
Last Week's OpenSSL Security Releases Don't Require Node.js Updates — Basically a case of “no news is good news”, but since we mentioned it last week.. OpenSSL had some updates for security issues but Node is considered to be unaffected. No updates needed. Sam Roberts (Node.js Foundation) |
💻 Jobs |
It’s Not Rocket Science . . . Or is it? — Our client is looking for a programmer with out-of-this-world skills and an attention to detail that would make NASA sit up and take notice. CareersJS |
Find a Node job through Vettery — Vettery specializes in tech roles and is completely free for job seekers. Create a profile to get started. Vettery |
📚 Articles and Tutorials |
▶ Playing Pokemon Together With Node.js — A fun look at writing a video game emulator script and how to interact with them using Node.js and Express. Samuel Agnew |
How To Pass Environment Info During Docker Builds — A guide to Docker’s ENV and ARG with a Node-based example. Bhargav Bachina |
▶ Creating Beautiful LED Art with JavaScript — Brings together a lot of interesting math, Johnny Five, and node-pixel. Bryan Hughes |
A Four Part Guide to Iterators and Generators — A lot to digest in this series about both synchronous and asynchronous iterators and generators, with each getting a full article. Andrea Simone Costa |
Monitoring, Alerting, & Distributed Tracing for Your Node Apps. Try Datadog APM Free Datadog APM sponsor |
The Six Most Common Types of Logic in Large Applications — All about architecture (Uncle Bob’s Clean Architecture principles, in particular) and deciding upon where to place different types of code in a larger application. Khalil Stemmler |
How to Build a Tree-Shaking Tool — Building your own “dead code” remover in JavaScript. Chidume Nnamdi |
Build a WhatsApp Bot in 10 Minutes using Node.js and Twilio Michael Ekpang |
🛠 Code and Tools |
Git Quick Statistics: A Quick Way to See Stats on Your Git Repos — Written in bash, this script helps you look at contributor stars, changelogs, commits per author/date/month/etc. Lukáš Mešťan |
HumanizeDuration.js: Turn Milliseconds into Natural Language — So 97320000 becomes ‘1 day, 3 hours, 2 minutes’, etc. Evan Hahn |
Need a Better Way to Deliver Optimized Video? — Automatically deliver the best user experience for every combination of device, browser, location, and bandwidth with Mux's video API. Try it with a $20 credit. Mux sponsor |
A Node.js S2 Library for Spherical Geometry — I realize the headline isn’t selling it, but Radar is open sourcing their Node port of Google’s S2 library which provides a way to work with geographical coordinates on a spherical basis (rather than flat). Radar Blog |
Fakingoose: An Automatic Fixture Generator That Uses Mongoose Schemas — If you’re using Mongo and Mongoose and have your data models already defined in schemas, this can generate ‘fake’ data based upon them. Lod Lawson |
vitter-sample: Efficient Sequential Random Sampling — Here’s the original academic paper, if you’re so inclined. Logan Kearsley |