Category: lambda
-
Unit Testing with Mocha, a local instance of dynamoDB & Promises
I’m writing the backend for my current iOS App in Javascript using node.js, AWS Lambda along with DynamoDB. My AWS Lambda code is mostly AWS Lambda agnostic except for the initial handler methods, this makes them fairly testable outside of AWS. Howeve…
-
Unit Testing with Mocha, a local instance of dynamoDB & Promises
I’m writing the backend for my current iOS App in Javascript using node.js, AWS Lambda along with DynamoDB. My AWS Lambda code is mostly AWS Lambda agnostic except for the initial handler methods, this makes them fairly testable outside of AWS. Howeve…
-
Debugging AWS Lambda functions locally using VS Code and lambda-local
I’ve just started using AWS Lambda with node.js. I was able to develop these locally using the lambda-local npm package, e.g. with node.js installed (via brew) and lambda-local installed (using npm) then the following “hello, world” example i…
-
Debugging AWS Lambda functions locally using VS Code and lambda-local
I’ve just started using AWS Lambda with node.js. I was able to develop these locally using the lambda-local npm package, e.g. with node.js installed (via brew) and lambda-local installed (using npm) then the following “hello, world” example i…
-
Capturing lvalue references in C++11 lambdas
Recently the question “what is the type of an lvalue reference when captured by reference in a C++11 lambda?” was asked. It turns out that it’s a reference to whatever the original reference was too. This is just like taking a reference to an existing …
-
Capturing lvalue references in C++11 lambdas
Recently the question “what is the type of an lvalue reference when captured by reference in a C++11 lambda?” was asked. It turns out that it’s a reference to whatever the original reference was too. This is just like taking a reference to an existing …