Stok Footage

Continually experimenting with new ideas and techniques — Reconstructing, Developing, Modernising.

Computing

A Young Person’s Guide to Dyalizer — Start Clean, Stay Clean

The most dispiriting thing I encounter in projects when I think “…maybe I should add dialyzer to this project…” is the wall of information which confronts me the first time I use mix dialyzer. One way I avoid running into… Continue Reading →

A Young Person’s Guide to Dialyzer — Fixing a Straightforward Problem

Sometimes a project’s external dependencies change their interface, and if our code either isn’t tested properly or has paths which are never run then you have a problem (or three 😉.) This post will show how dialyzer can help reveal… Continue Reading →

A Young Person’s Guide to Dialyzer — How to Ignore Some Errors

With my current level of understanding there are a couple of types of message you can “ignore” when you start your exploration. “no local return” Warnings A message like Function name/arity has no local return reported for the line containing the… Continue Reading →

A Young Person’s Guide to Dialyzer

Introduction There’s a way to add useful types and helpful type checking to the eminently practical sensible language Erlang and other languages, like Elixir,  which use the Beam virtual machine. As a practical chap who wants typing to help me… Continue Reading →

Lesson from Programming Solo

I have been working through Benjamin Tan Wei Hao’s The Little Elixir & OTP Guidebook to get a handle on how to think when writing Elixir or Erlang. One of the things I try to do when I’m picking up… Continue Reading →

Reasons to be Cheerful, Part 3 — Part 1

Parts one and two of the three reasons are Perl and Ruby, and it’s probably no surprise to anyone who knows me that Elixir is part three! Over the past few weeks I’ve actually been participating in the Elixir world,… Continue Reading →

Elixir’s fun. Surprise, surprise!

“The sound of surprise” was a used by Whitney Balliet, a jazz reviewer, to describe the magical nature of improvisation. I expect that’s where the title of a Bill Bruford’s Earthworks album came from, but before I discovered that the… Continue Reading →

Documentation and “Coincidental vs. Intentional”

Recently I’ve been reading the documentation for the Elixir programming language, in particular the Documentation != Comments section. Like so many other aspects of Elixir, the documentation has picked up good ideas from a number of places and woven them… Continue Reading →

Irrational Irritations

I was looking at the Elm Style Guide and this good vs. bad comparison struck a nerve which made me consider a small loosely held prejudice of mine: Good: type alias Circle =     { x : Float  … Continue Reading →

Fun Distractions

I often find that the “simplest” things can lead me down interesting paths, and being led down interesting paths can take more time than anticipated. This is an account of one of those things… I have been a happy Mac… Continue Reading →