Type Safety with Code Generation for Third Party JavaScript APIs

Client-side JavaScript applications often need to query third party APIs for populating strings, such as for string translations or for…

Auto Committing with Github Actions

We usually have tools that can automatically format or lint code for us, running on file save or as a precommit hook. However, if the tool…

Tracking Upload Progress in Browsers

A short piece of skeleton code to demonstrate how to track upload progress in browsers. Let’s take a look at some parts of the code. We…

Scala Case Classes

If you’ve done Python before, a case class in Scala is similar to collections.namedtuple and data classes (available only in Python 3.…

Better Syntax Highlighting With gatsby-remark-vscode

Thanks to a tip-off by a friend, I recently switched over from Prism to a plugin called gatsby-remark-vscode, which uses VS Code’s…

Resources for Understanding Money

An Ask HN came up recently, asking for recommendations for resources on understanding money. I gave it a few days before diving in to…