Fighting Distraction With Unit Tests

While I won’t go so far as to diagnose myself with ADD without consulting a doctor, those who know me know I can be distracted quite easily. So recently, I decided to do something a little different with a personal project I started a few weeks ago (link to come). I wrote unit tests. That may seem rather uninspired, but I’ve always poo-pood the idea of test-driven development (TDD), as it seems wild to me to write a test for something that you don’t know what it needs to do yet....

January 21, 2023 · 3 min · Me

I Love Parsec + HomeKit

I have lots of laptops and one desktop. While jumping around the country, it’s annoying to have to setup a dev environment on every machine. There are solutions out there like docker, github codespaces, or renting a VM from one of the dozens of cloud providers. But I already have a great desktop with everything I want already setup. I work on tons of different projects (most don’t see enough work to warrant a writeup) and it’s annoying to have to provision the different environment....

November 5, 2022 · 3 min · Me

Simple Passwordless User Authorization

I hate passwords. Not as a user as password management is basically solved with most modern browsers and password managers. What I hate is having to deal with them as a developer. Hashing, storing, authentication, etc. I did a small project recently using my socket.io synced vuex state and needed a system where users could easily login. I will put a huge disclaimer on this that this is just what I did for my personal project where security isn’t critical....

February 18, 2022 · 10 min · Me

Vuex Sync Part 1

This is the tale of how I wrote a state syncing framework based on vuex and rollback netcode . It took a few years and isn’t intended to be a “copy and paste” type of thing. I’ll be including code fragments and I’ll eventually post a cleaned up repo with only the relevant pieces. Who knows, if there’s enough interest, maybe I’ll even post a NPM package. TL;DR This is a long article....

November 25, 2021 · 16 min · Me