Netlify Lambda Pocket Integration - Code with Hugo - Jun 4th 2019
Hot off the press
Super-powered newsletter content with Pocket and Netlify Lambda: An example Netlify Lambda to fetch all “newsletter” posts from Pocket.
The full code repo is at github.com/HugoDF/pocket-newsletter-lambda.
I’ve also created a Netlify Lambda + Tailwind CSS + static files starter kit which you can find at github.com/HugoDF/netlify-lambda-tailwind-static-starter.
If you missed it
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().
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.
From the web
jlevy/the-art-of-command-line: Master the command line, in one page by : Note: I’m looking for a new (and potentially paid) lead author to help expand this to a more comprehensive Guide. While it’s very popoular, it could be both deeper and more helpful.
Project Mezzanine: The Great Migration | Uber Engineering Blog by Rene Schmidt: What happens when you have to migrate hundreds of millions of rows of data and more than 100 services over several weeks while simultaneously keeping Uber running for millions of riders? This is the story of how dozens of engineers helped Uber move to Mezzanine in 2014.
How and Why We Switched from Erlang to Python – Mixpanel Engineering by mxpnl: A core component of Mixpanel is the server that sits at http://api.mixpanel.com. This server is the entry point for all data that comes into the system – it’s hit every time an event is sent from a browser, phone, or backend server.