-
The stress of buying turnips may have impacted the quality of last week’s notes.
-
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.
So far, we’ve watched Brian De Palma’s “Mission: Impossible”, John Woo’s “Mission: Impossible II”, J.J. Abrams’ “Mission: Impossible III” and Brad Bird’s “Mission: Impossible - Ghost Protocol”.
The second one has not aged well.
-
I made bread this weekend after a short break from baking.
While our large quantity of flour means I can’t deviate from my usual recipe, Leo sharing a video of a baker shaping sourdough has inspired me to try different shaping techniques.
-
I have a file called
budget.rb
that 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
Enumerable
objects, e.g.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
Enumerable
module. 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.
Weeknotes 31
By Paul Mucur,
on