Now

LAST UPDATE: 14/07/26

A nowpage is like a dotplan, but for the web.


Orford, 2026

Doing

Writing the dissertation for my Master's degree. If you see me around the University of Essex, feel free to say hi!

Recent GitHub pushes:

Going

I tend to travel on my motorcycle at weekends.

So far this year, I have visited the places on the map. A visit is when I park my motorcycle and have a drink for reasons strictly of leisure, so my weekly visits to the University don't count.

Using

Geolocation in FastHTML. Here's a snippet.

from fasthtml.common import *

def geolocation():
    return Script("""
        if (navigator.geolocation){
            const setGeolocation = (position) => {
                navigator.geo = position.coords;
            };
            const geolocationError = () => {
                window.alert("Geolocation is not enabled in this browser.");
            };
            navigator.geolocation.getCurrentPosition(setGeolocation, geolocationError);
        };
    """)

If the browser allows it, the JavaScript takes the browser's current coordinates through the browser API and hoists them up to the navigator object so it can be accessed elsewhere in the application. I know it's abusing a browser API. I don't care. It works.

Reading

I like re-reading the Dune series. For every passing year there's something that I missed the previous year.

“When I am weaker than you, I ask you for freedom because that is according to your principles; when I am stronger than you, I take away your freedom because that is according to my principles.”

-- Frank Herbert, Children of Dune

I'm also reading On Quality by Robert Pirsig. I saw it on the book stand at Cambridge market and bought it on impulse.