I don’t think you need AWS Mock to test your Lambdas.
If you think you need it, it’s because you’re using global variables, or state, should be using dependency injection via stubs instead.
Blog
-
Article Review: Lessons From 6 Software Rewrite Stories
This is the best software rewrite article I’ve ever read. I knew about all the stories & blog posts they reference, but the lens this author uses + the lessons he pulls out are amazing.
(more…) -
Flow Metrics Book Review
I read a non-fiction book. I never read whole non-fiction books, usually skim the “good parts”, ignore the rest, then tell everyone the book rocks. Unclear why I powered through this one.
It’s called Flow Metrics, it’s free. It + some associated blog posts answered a lot of questions I had around the factions of “story points are trash”, Agile No Estimates, and No Sprints. Eric Fahsl told me about the no estimates crowd in 2015, but for whatever reason I couldn’t find anything on Google/Twitter back then. It also made me feel better that I didn’t waste my time in the early 2,000’s reading all I could about Agile/software project planning.
There were 6 big takeaways.
(more…) -
Seeing JavaScript Math.random Not Be So Random
Read Flow Metrics. Learned about Monte Carlo Simulations. Learned you can use that to make accurate estimations with lots of data points. It’s one thing to hear “Math.random in JavaScript isn’t random”, and another to see it after only 1,000 samples. SOO COOL!
Context: “If you run Math.random enough between 1 & 6, you’re most likely to get 3.5”.
Code: https://ellie-app.com/kVjPdGBbP2ka1
Uses Elm Charts (horribly, sorry, I didn’t spend time styling it)
Article which helped get me some code: https://questsincode.com/posts/monte-carlo-simulation-javascript