JAMstack Scheduled Posts and Vue.js Click Modifiers - Code with Hugo - Oct 1st 2019
Hot off the press
Auto-publish future posts with JAMstack on Netlify and IFTTT/CircleCI 2.0 scheduled jobs: Static site generators like Hugo, Jekyll, Hexo, Gatsby or other JAMstack alternative are a great option to run your blog on.
I love micro, but Express is just too ubiquitous at the moment.
Express is the defacto way to build HTTP servers with Node.js From
express vs fastify vs hapi vs koa vs loopback vs micro vs restify vs sails | npm trends
Compare npm package download statistics over time: express vs fastify vs hapi vs koa vs loopback vs micro vs restify vs sails
Updated Detect ctrl/cmd/alt/shift + Click in Vanilla JavaScript, React and Vue to include a Vue.js click modifier example. See it working at cmd-ctrl-click-vue.netlify.com. Repository at github.com/HugoDF/cmd-ctrl-click-vue.
If you missed it
Yarn Workspaces: monorepo management without Lerna for applications and coding examples: How to use Yarn Workspaces to manage applications/coding examples.
How to run Jest tests sequentially: By default Jest runs tests in parallel with a “a worker pool of child processes that run tests” (Jest CLI docs).
Detect if the current file/module is the entrypoint or import/require-d in Node.js: How does one identify whether a JavaScript file is being run directly (node file.js) or it’s being import/require-d (require(‘./file’) in another JS file).
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
Self-serve first: the overlooked but essential paradigm underlying great so by Gokul Rajaram: “Why? What do you mean?” I asked, perplexed. He is the CEO of a company that recently raised a Series C from great investors, is growing rapidly, has strong customer retention and a top-notch leadership team. I was — to put it mildly — taken aback.
Closures · Crafting Interpreters by Robert Nystrom: As the man said, for every complex problem there’s a simple solution, and it’s wrong. Umberto Eco, Foucault’s Pendulum Thanks to our diligent labor in the last chapter, we have a virtual machine with working functions. What it lacks is closures.
MongoDB 4.2 vs 4.0, 3.6, 3.4, and 3.2 Benchmarks - hartator - Medium by hartator: I couldn’t find any benchmark measuring MongoDB newer versions against each other. I’ve decided to make my own. We are going to do very very basic insertions, reads, and deletes. Regular defaults are kept for both the server and the Ruby client. Apart disabling logging on the client.