Weeknotes 2022 W43: Warm October

October 24​–​30, 2022
700 words

It’s the end of October, and as I am writing this, I have the windows open and I’m wearing just a T-shirt. Why is it so warm?!

On Friday, I met up with Esther and Justine for lunch at the Arkonaplatz Wochenmarkt (farmer’s market). The Wochenmarkt is every Friday from 12:00 on, and has a handful of food stalls (including vegan options). We had pizza. Justine and Esther are good company as always, and the warm weather made the very long lunch break absolutely worth it.


At work, I’ve set a date for the trial run of the workshop around trunk-based development. I kept pushing it off, but now that I have a (soft) deadline, I have no choice but to get it done on time. Ahh, the right kind of deadline.


In terms of projects, I’ve made progress on a few fronts.

I pushed the 1.0 version of the nanoc-tilt gem. I’m about a decade behind schedule for having an official Nanoc filter for Tilt.

I’ve been breaking my head over a Nanoc performance regression. I thought I had a fix but that wasn’t it. It’s tough because I’ve had quite some trouble reproducing the original issue.

I spent an evening or so this week in mocking up what a budgeting application1 could look like. I lost my motivation pretty soon, unfortunately, when I realized how much work it would be to get it to a useable state. Anyway, I’m pretty happy with how neat it looks:

(The desktop background in that screenshot is chel’s very pretty sky wallpaper pack.)

That’s HTML with Tailwind, and icons from Bootstrap Icons. You can get pretty far with that combination, it turns out.

I was also using the Elm language (rather than JavaScript or Type­Script) to build the frontend, but I’m not sure I like it too much. In particular, the syntax for generating HTML is too weird. Take a look at this:

viewIcon : Maybe String -> Icon -> Html Msg
viewIcon maybeColor icon =
    svg
        [ SvgAttr.class "bi"
        , SvgAttr.width "14"
        , SvgAttr.height "14"
        ]
        [ Svg.use
            [ SvgAttr.xlinkHref
                ("icons.svg#" ++ toString icon)
            ]
            []
        ]

That generates a <svg> element. I would much rather use something like JSX, which is very close to the resulting HTML (or SVG) code.

Oh, and one more thing: these week­notes now finally support images. It wasn’t hard to set up; I just needed to get it done.


Entertainment:


Links:

Tech links:

You can reply to this weeknotes entry by email. I’d love to hear your thoughts!
If you like what I write, stick your email address below and subscribe. I send out my weeknotes every Sunday morning. Alternatively, you can subscribe to the web feed.
Incoming links: Tailwind.