After putting C to bed, E said “I wish we could just sit outside and have a glass of wine.” Thanks to the range of our baby monitor, we did exactly that.
While setting up, our upstairs neighbour walked by and invited us to join them further up our driveway. We ended up chatting the evening away from socially distanced camping chairs, contactlessly sharing our last four After Eight mints and giving directions to lost Deliveroo riders.
I didn’t realise how much I miss socialising in person with people outside our household.
I don’t know why but E and I have been making our way through the “Mission: Impossible” films.
The second one has not aged well.
I made bread this weekend after a short break from baking.
I have a file called
budget.rbthat contains all our household expenses and calculates how much money we spend every month. I often tinker with it and decided to switch to using the geometric mean instead of the typical arithmetic mean for some averages. (Despite E dismissing anything other than the arithmetic mean, median and mode as a “computer mean”.)
This led me to write a Ruby refinement to add all three Pythagorean means to
using PythagoreanMeans [1, 2, 3, 4, 5].arithmetic_mean # => 3 [1, 2, 3, 4, 5].geometric_mean # => ~2.61 [1, 2, 3, 4, 5].harmonic_mean # => ~2.18
I’ve never written a refinement before and immediately encountered a bug in Ruby 2.7 meaning you can’t refine the
Enumerablemodule. Despite being four years old, James Adam’s “Why is nobody using Refinements?” is still as relevant as ever.
C got his first teeth.
Despite months of asking ourselves “could he be teething?” whenever he was irrationally grumpy, it was still a surprise to see them. This means we have to brush his teeth twice daily. So begins a lifelong wretched task.