What are the chances?

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.

Continue Reading →

Combining differing error types

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 Result<T, E>. The E represents an error, and the awkward part of this is chaining together results with different types for E. This post contains my notes on this, for Rust.

Continue Reading →

Tips for using Findster

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.

Continue Reading →

The benefit of no legacy

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?

Continue Reading →

Learning about genetics and epigenetics

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.

Continue Reading →

NeurIPS 2019 presentations that caught my eye

16 Dec 2019

NeurIPS 2019 is the 33rd annual conference on Neural Information Processing Systems. Once again the recordings are online, and here are a few that caught my eye.

Continue Reading →

Tips for moving from tut to mdoc

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.

Continue Reading →

Switching to Ecotalk

28 Nov 2019

Ecotalk is a UK mobile (cell) network. It achieved the highest score in the Nov/Dec 2019 Ethical Consumer ratings. I’ve switched to it, and this post describes the experience.

Continue Reading →

Brighton Rust: Embedded systems, day 5

21 Nov 2019

The one where we lit up the Xmas LEDs for the first time.

Continue Reading →

Brighton Rust: Embedded systems, day 4

14 Nov 2019

Building on what we learned about RTFM last week, we converted our blinky code to use the RTFM scheduling facilities.

Continue Reading →

Brighton Rust: Embedded systems, day 3

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.

Continue Reading →

Brighton Rust: Embedded systems, day 2

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.

Continue Reading →


Richard Dallaway
Hello. I'm Richard. I do Rust and Scala at Underscore Consulting. I live in Brighton, UK.

Contact

Elsewhere

Publications

Essential Slick book cover Free Download

Lift Cookook cover O'Reilly Shop