Hi, I'm Brad Pleased to meet you.


Deploying a fully automated Nix-based static website — November 21, 2019

{ config, pkgs, ... }:
let
  repo = builtins.fetchTarball {
    url = https://repo.tar.gz;
  };
in
{
  imports = ["${repo}/module.nix"];

  services."site".enable = true;
}

I can’t promise that this will take you five minutes (it won’t). What I will say is this: if you’d like to learn more about Nix and NixOs then this may be interesting.


Servant's type-level domain specific language — October 5, 2019

Haskell has some very interesting type-level features, Servant is a great case-study in how they can be used to build a practical and feature rich library. This post walks through an example in an attempt to become more familiar with its inner workings.

type UsersIndex =
  Get '[JSON] [User]

type UsersShow =
  Capture "username" String
    :> Get '[JSON] User

type UsersAPI =
  "users"
    :> (UsersIndex :<|> UsersShow)

Let's learn about lenses — August 21, 2018

type Lens s t a b =
  forall f. Functor f =>
    (a -> f b) -> s -> f t

_1 :: Lens (a, c) (b, c) a b
_1 = _

_2 :: Lens (c, a) (c, b) a b
_2 = _

Gaining an understanding of the Lens type has been on my todo list for a long time. So I finally bit the bullet and read up a little. These are (more or less) my notes as I went along.


You already know what Monads are — January 6, 2017

I sought to understand what the fuss was all about and I’ve now added to the mass of Monad Explainer posts on the internet.

readAFile().then(function (content) {
  return writeAFile(content)
}).then(function (report) {
  console.log(report)
})

Petrichor Ensemble — Gig Poster — February 8, 2013

Petrichor Ensemble — Gig Poster Detail

Petrichor (/ˈpɛtrɨkɔər/) is the earthy scent produced when rain falls on dry soil. The word is constructed from Greek, petra, meaning ‘stone’, + ichor, the fluid that flows in the veins of the gods in Greek mythology.

Wikpedia

Petrichor Ensemble — Gig Poster Full

Brisbane Bicycle Film Festival 2012 — Poster — October 3, 2012

Bicycle Film Festival — Poster Detail

I don’t have the original images anymore, but this made a rad gif also…

Bicycle Film Festival — Poster Full

Design futures — Typography — June 1, 2011

Design Futures — Monogram
Design Futures — Full

Everything is connected, and the way it connects is kinda complex. I’d like to be more aware of my connections to people and the networks they’re a part of.

As it stands these are all mock-ups rendered in SketchUp, the dream plan is to get this rendering in the browser from user input. Wild scaffolding.