Category: Development

3 posts

All posts

Flagging Bad Comments and Messages with Local Decision Models

Since this blog runs on its own code, the comments and the contact form are mine, and so is the moderation. That means somebody has to look at every message that comes in, and most of that work is reading things that were never meant for a person.

I wanted a model that reads them first and says: this is real, this is spam, this is a scam, this is nothing. It had to run on my own machine, it had to be fast, and it had to be careful. This is the story of how I got there, including the parts where my own test was wrong.

Continue reading — Flagging Bad Comments and Messages with Local Decision Models

Building the "Is First Commit" GitHub Action

In this post I go through a small GitHub Action I wrote, Is First Commit. It checks whether the current commit is the very first one of a repository. The project An action starts with a package.json, the same as any Node project. It holds the metadata, the dependencies and the scripts. For Is First Commit it looks…

Continue reading — Building the "Is First Commit" GitHub Action