TypeScript on AWS (Work in Progress)
Tips for using TypeScript with AWS services General - Strict mode - Type vs interface - Other best practices/standards - Recommend config Lambda - Working with layers - module resolution - Jest EventBridge - Schema Step Functions - Definition language - State machines DynamoDB - Typed operations e.g. via dynamodb-toolbox Infrastructure as Code - serverless.ts - AWS CDK - Type generation from EventBridge schema, Step Functions definitions, API Gateway schema, AppSync...
Read post
The Software Highway
Believe we’re gliding down the highwayWhen in fact we’re slip slidin’ away Paul Simon, "Slip Slidin' Away" - Imagine a highway - you have a destination and it is unlikely you won't reach it, be diverted or turn around completely. But that highway has billboards that might prompt you to plan things to do once you reach your destination; or even plan to visit new destinations in the future. You also have passengers in your vehicle to discuss those plans with. - Try to keep all ideas in min...
Read post
Running Software in Production
Anything can go wrong once. Nothing should be allowed to go wrong twice. ...
Read post
Well Done Software
Well Architected Well Documented Well Tested Well Used Choose two. ...
Read post
Evenings in, waiting
...
Read post
8 years of code
By the end of this month (June 2020) I will have been pushing code to GitHub for 8 years. I came across this neat tool for charting the history of your GitHub contributions. Here's how my 8 years looks: This tells a number of stories: most obviously, for the first year I didn't make any contributions 😂 ...
Read post
Combining Yarn workspaces with Lambda layers for much 👌
If you are building a serverless application on AWS Lambda and Node.js and keep your code in a monorepo you might find this approach to managing and distributing dependencies useful. Yarn First, a note on Node package management - this approach relies on using Yarn as a package manager, rather than NPM. The reason for using Yarn is to take advantage of a particular feature: Yarn workspaces. Yarn Workspaces Yarn workspaces simplify working with monorepos. A "workspace" is usually a top-level ...
Read post
Experiments in Drawing
...
Read post
Books
Autobiography The Grass Arena by John Healy Fiction 2666 by Roberto Bolaño Libra by Don DeLillo Siddhartha by Herman Hesse Non-fiction Destiny Disrupted by Tamim Ansary Lessons in Stoicism by John Sellars Sapiens by Yuval Noah Harari Underland by Robert Macfarlane -- Follow all my reading habits on Oku. ...
Read post
First commit
Hello, world! 👋 🌏 ...
Read post