Reading List

The most recent articles from a list of feeds I subscribe to.

Wonders of Web Weaving Podcast

I was a guest on James's Wonders of Web Weaving podcast and it was such a lovely conversation. We talked about old teenage blogs, how I found the IndieWeb community, why I think now is the best time to be your full weird self online, and I accidentally held myself publicly accountable for a side project.

This was also my first podcast ever, so I was a little bit nervous at the start. Besides my recent MC experience, I don't often do unscripted things, so there's always a small fear in the back of my head. What if I sound weird? Or what if I do some poor sentence construction because I can get quite excited talking? Or, the worst, what if I say a word out loud that so far I've only ever read?

Since then I've recorded another conversation for another podcast (which should go live soon), which admittedly I was far less nervous about and a lot more relaxed, and I have another one lined up. It can only get better from now on!

Testability of the Claim That Cognitive Science Can Be Effectively Applied to Embodied Non-Neural Systems [Essay assignment]

I got the results for the two evening courses I took last term, with VG for both (i.e., I passed!)

The house is valuable because it is the house.

On paring things back, and finding everything that remains.

Don't skip `else` with octane

I came across a subtle Octane but last week. We needed to disable Inertia’s history encryption in some places in the app. By default, it’s enabled everywhere. So we added a route check to the middleware to turn it off.

class HandleInertiaRequests
{
    public function handle(Request $request, Closure $next)
    {
        if ($request->is('admin/*')) {
            Inertia::encryptHistory(false);
        }
        
        // …
    }
}

The problem is, if you’re running Octane and make a request to an admin/* route, history encryption will be disabled, and there’s nothing to re-enable it for the next request.

The fix is to make sure both sides of the statement are executed.

class HandleInertiaRequests
{
    public function handle(Request $request, Closure $next)
    {
        if ($request->is('admin/*')) {
            Inertia::encryptHistory(false);
        } else {
            Inertia::encryptHistory(true);
        }
        
        // …
    }
}

Or more succinct:

class HandleInertiaRequests
{
    public function handle(Request $request, Closure $next)
    {
        Inertia::encryptHistory(! $request->is('admin/*'));
 
        // …
    }
}

Midnight Sun Half Marathon in Tromsø, Norway

Jag anmälde mig till halvmaraton på Tromsø Midnight Sun Marathon i september 2025, innan jag ens hade klarat min första HM i Uppsala. Då visste jag inte att träningen skulle gå helt åt skogen under vintern och att jag knappt skulle komma igång med löpningen igen förrän det blev varmt i år.