• Go iterators don’t have a built in way to send errors back, so I borrowed something from Haskell and made a “maybe” type:

    type Maybe[T any] {
      Value T
      Err   error
    }
    
    func (m Maybe[T]) Get() (T, error) {
      return m.Value, m.Err
    }
    

    The iterator pushes values wrapped in this, which would have Value set if one is available, or Err set if not. The Get() method provides a convenient way to get both, allowing for patterns that look much like the following:

    func consume() error {
      for m := range myIter() {
        val, err := m.Get()
        if err != nil {
          return err
        }
      }
      doThingWithVal(val)
    }
    
  • Had a go (heh) at making a Go iterator. It was simpler than I expected, once I got my head around how they work. It’s a push model, the iterator pushes value to a yield function, which sends it to range, and receives a flag on whether to continue. The package docs do a good job explaining this.

  • Argh! Yeah, frickin’ tram replacement busses. Effin’ loving the Grand Prix. 👎

    Auto-generated description: A person stands at a tram stop watching a bus approach on a busy street lined with historic buildings.
  • Must say the MacBook Neo looks like an interesting offering. I don’t need a laptop — I use a desktop at home — but that may be where the strength of such a computer lies: a laptop for those that generally don’t use laptops. Could be useful for travel (I don’t travel that often either).

  • Are the sounds made by reversing EVs designed to be awful? Well, I guess they get my head turning so they must be doing something right. 😏

  • Really enjoying Inkwell, @manton’s RSS reader. Using it on the phone has been pretty good. Adjusting to the river approach to RSS has been interesting. I’ve been finding myself saving less and trying to get through more posts during the day, less they drop out of the Today view.

  • Here’s a pitch for the maintainers of Homebrew: make brew update and brew upgrade aliases of the same command, then add brew update brew (or brew upgrade brew) to upgrade Homebrew itself. End this confusion once and for all.

  • Well mark this one off your bucket list: appearing in someone’s travel vlog recommended to you by the YouTube algorithm. 😄

    Auto-generated description: A television screen displays a YouTube video titled First Day In Melbourne 🇦🇺 I Was NOT Prepared, featuring a city scene with people and shops.Auto-generated description: People are walking inside a spacious, modern building with a large window and a coffee shop visible in the background.

  • 📘 Devlog

    3rd March 2026

    This is a crosspost from devlog.lmika.org. I’m going to try and write posts about what I’ve been working on over there, while crossposting them here. Original post was made using Weiro, another attempt at a blogging CMS I’ve been working on.

    Oof! Everyone’s building blogging CMS’s now, apparently.

    Since starting work on this project, I saw one other announce their own CMS that was vibe-coded with Claude. No shame in that: making something that works for you is part of the joy of participating in the Indie-web. I did take a brief look at it, and dismissed it because it was written in PHP. Yes, I am a snooty developer that looks down on those using PHP (it’s just so annoying to deploy; although credit to this person, they did prepare a Docker container).

    Continue reading →

  • Oof! Everyone's building blogging CMS's now, apparently.

    Since starting work on this project, I saw one other announce their own CMS that was vibe-coded with Claude. No shame in that: making something that works for you is part of the joy of participating in the Indie-web. I did take a brief look at it, and dismissed it because it was written in PHP. Yes, I am a snooty developer that looks down on those using PHP (it's just so annoying to deploy; although credit to this person, they did prepare a Docker container).

    Weiro is not vibe coded. Much of it is written by hand. Not all of it, mind you: I am using agents to help with the more mundane stuff. But the models, DB schema, and much of the UI is hand-rolled. And I'm conflicted as to whether that's the right balance. Progress is slower: these vibe-coders are whipping up CMS's in the same time it takes me to add a single feature to it. And there are probably better things I could be doing other than adding one more CMS into the world (although when my mind whispers that doubt, it usually suggests watching TV or doomscrolling as an alternative, so there are certainly worse things I could be doing).

    I haven't stopped working on it yet, so here's a brief update. I've got a version of it up and running in Coolify. It currently supports posts at the moment: both draft and published via Netlify. Much of the work was just making the writing experience feel natural, given that working on posts is probably the core feature of any CMS. So there's a very large window for the post body (maybe a little too large), and there's a Cmd+S keyboard shortcut for saving updates. I would like to add an auto-save feature, but I'm not entirely sure how best to do that server side, so I may settle for something that's browser only, just to save work for when the browser crashes or has no network connection. I'm also working on uploads, so there shouldn't be too much time before I can start sharing screenshots.

  • Ooh, the barge is back. This time it’s car themed, probably because of the F1.

    A floating platform with equipment and covered items is anchored next to a dock, with trees and buildings in the background.
  • Oof! As a non-American, it’s sometimes a little hard to listen to Ben Thompson.

  • I do wonder if some of the patterns we’ve been using in software engineering, like multi-repo micro-service architecture, is actually a determent to agent coding. Those were deployed to help human developers coordinate, but it subdivides the possible area for agents to operate in. A monolith in a single repo, remarkably, may actually be better here.

  • How is it that people making screenshot mark-up apps still don’t understand that the blend mode for highlights should be multiply, not mix with alpha. A real highlighter would keep the text black, and won’t produce obvious overcoating. This just looks like I’m smearing yellow paint everywhere.

  • Grand final bocce match at Fitzroy Gardens. Congrats to Foxy for winning the season.

  • Oof! Glad that’s over.

    Joke quick review of Summer, for 2025-06 by Optoclurity of Ecliptic. Rating: Decent. Not as bad as it could've been. Started well in the first act (December), but then got quite annoying during the second (January) with all the elemental effects: the heat and the smoke. Finished well enough in the third though (February) with the grand finale of some rain (the encore of more rain is welcome). Just wish the running time was shorter. At 2,160 hours, it just dragged on for weeks.
  • Also saw a flock of pigeons enjoying the morning.

    A group of pigeons is foraging on the grass beneath a large tree near a road.
  • Saw an ibis this morning, but not a bin chicken. This is a Straw-necked Ibis.

    An ibis stands on a grassy field near a black chain-link fence.
  • You offer me Parmesan cheese for anything, you’re not getting it back.

    (And lo! The floodgates, they open.)

  • It’s funny how some days, your overthinking of what to post results in nothing being written. This is me not overthinking it (with a bit of assistance from alcohol).

  • 📘 Devlog

    Hello

    This is the inaugural post of Devlog, where I'm planning to write on what I'm working on. This post was created using Weiro, a new blogging CMS I've been working on. This post is little more than a test to see if the deployed version of Weiro is working. I'll post more about Weiro in later posts. For now, I just want to make sure this is being published correctly.

    Continue reading →

  • The Colour of Production

    On the colour-coding system used for different development environments. Continue reading →

  • A bit frustrating that I asked my IDE to rename all instances of a method, and it did around half of them, ignoring the interfaces the type implements. I know Go interfaces are different to Java interfaces, but if the type checker passes already, rename things such that it remains that way.

  • This is green grass. A week ago it was brown grass that hasn’t seen rain in about a month and a half. What a difference a week and two rainy days makes.

    A grassy field with patches of brown and green grass.
  • Been riding the Metro tunnel to work in the morning, but I think I’ll switch back to my old commute. I’ve been touching off after 7 AM which means I’m losing out on the free travel coming into the city. Noticed this after seeing the top-up alerts come through more frequently.