A tidy game of life

Not truly a game, nor truly alive, nor very tidy

Ever since I moved to France for my postdoc in September 2016, I’ve tried to practice French whenever I can. One easy way to do that is by consuming YouTube channels in French – great things to put on the the background while I make food for my son, or feed my son, or clean up after feeding my son, etc. One of my favourite chaînes de Youtube is Science Etonnante, by David Louapre. [Read More]

Continuous fractions with Map and Reduce

Over the summer, some of us here at UBC started a reading group based around Hadley Wickham’s book, Advanced R Programming. The goal was to compare our answers to the exercises and our impressions of the content. We recently read my favourite chapter, Functionals, where readers are challenged to read about some algorithms in Structure and Interpretation of Computer Programs, and implement it in R. I wanted to share some functions I wrote to calculate these exotic things called k-term finite continued fractions, based on that challenge: [Read More]