Hello! Привіт! I'm James (/d͡ʒeɪmz/) (also capjamesg). My pronouns are he/him/his. I live in Scotland. This is my blog.

I hope this website can bring a little bit of joy into your day.

Writings

  • A quiet room at Vienna airport

    Published on under the Life category.

    On my way back from a trip to Vienna, I got breakfast at the airport. My flight was early, so I was especially looking forward to having a coffee with my meal.

  • Blogging before dinner

    Published on under the Life category.

    I was speaking with a friend yesterday about finding the time to write blog posts. I offered a tip that has worked for me recently: write before dinner.

  • Implementing a transaction log for JameSQL

    Published on under the Coding category.

    This blog post describes my thought process in implementing a transaction log for my database. My implementation may not follow best practices, as I am still learning. If this blog post sparks ideas on what I could do better, please let me know!

  • Hope for the web

    Published on under the IndieWeb category.

    The web has changed all of our lives: we are more connected than ever, knowledge is easier to access than ever. But sometimes it feels that we are subjected to that change, rather than being able to proactively participate in making the future; in crafting a web that speaks to what we want.

  • Writing a search query transpiler

    Published on under the Coding category.

    Google, among other search engines, supports advanced operators for writing refined search queries. For example, you can use the site: search operator to constrain your search to a website, like:

  • Clustering blog post titles with unigrams

    Published on under the Coding category.

    I was having a conversation yesterday with a reader about clustering news headlines according to similarity. This had me reflecting on some of my past experiments with clustering and sorting, where I have used word embeddings to find similar documents. Word embeddings encode semantic similarity between documents, which allow for more nuanced calculations and clustering.

View all blog posts

Go Back to the Top