04 Feb 2020
I’ve been flummoxed by some basic statistics questions recently. I’m not alone in this, as it’s a common one for students and 17th-century gamblers. I’m taking this chance to note this down for when I make the same mistakes again.
20 Jan 2020
Rust, Scala, and many other languages let you use a kind of or to represent errors.
In Scala it might be
Either<E, T>, and in Rust it’s likely to be
E represents an error, and the awkward part of this is chaining together results with different types for
This post contains my notes on this, for Rust.
12 Jan 2020
It’s now been a few years of using the Findster Duo pet tracker, and it’s time to share a couple of tips for making the most of it. They are: permanently attach the Findster to a collar; and start the app early in your walk.
06 Jan 2020
I’m wrangling some job automation via email, again. I decided to do this in Rust, although part of me was wondering why bother?
31 Dec 2019
I’ve been learning a little bit of biology during 2019, specifically genetics and epigenetics. This post lists out the resources I’ve been using.
16 Dec 2019
12 Dec 2019
Creative Scala and Essential Slick use mdoc, as will Scala with Cats in the next edition. mdoc helps us be sure the code we describe works, no matter how often we update the text. It does this by typechecking and running the Scala source in our text.
28 Nov 2019
21 Nov 2019
The one where we lit up the Xmas LEDs for the first time.
14 Nov 2019
Building on what we learned about RTFM last week, we converted our blinky code to use the RTFM scheduling facilities.
07 Nov 2019
This week we learned about Real-time For the Masses (RTFM), which gives us tools for concurrent programming on our embedded hardware.
31 Oct 2019
Following on from last week, this time we did “blinky”: making the LED flash on the hardware. Once again, Tim kindly led us through this and supplied some additional LEDs and resistors so we could get multiple LEDs flashing.