Software Engineering · Archive

2025

  1. Solving a Tricky Email Invoicing Bug How I traversed library code, programming language implementations, and operating system updates to solve a critical email invoicing issue.

2024

  1. Potential impacts of the xz attack on new open-source contributors In the wake of the trust-breaking xz attack, I want to encourage hopeful first-time open-source software contributors to (1) demonstrate increased empathy for maintainers and (2) exemplify patience and kindness throughout the contribution process.
  2. Finding Python performance problems When a Python program is running too slowly, use a profiler to measure which parts of the code are hurting performance the most. Measure Code Performance with cProfile Start by writing a decorator which will add profiling metrics to the decorated function:
  3. Using Quasar in a custom Vue component library How to build a Vue component library that uses Quasar internally, including testing with Storybook.
  4. Creating a custom Vue component library with Storybook and Vitest Many developers are familiar with using a component library (e.g. Vuetify, Quasar, PrimeVue, etc.), but there comes a time when it’s useful to create your own. Multiple projects which should share custom components. A large project which is hard to test. This comprehensive, step-by-step guide1 will take you from a new, empty folder all the way to a fully-functional component library with robust automated testing tools which follow software engineering best practices. The techniques described here are neither theoretical nor a mere “proof-of-concept” – they have been used successfully in critical production applications.

2023

  1. Automatically merging trusted pull requests on GitHub You can increase development velocity by automatically merging pull requests from individuals or bots you trust. Here’s how… Enable Allow auto-merge pull requests in repository settings The default settings for GitHub repositories block auto-merging any Pull Requests. This is a beneficial security measure which makes it harder for untrusted actors to integrate malicious code into your repository.
  2. Unit Tests: How to Fix a Lamp Without Bulldozing Your Hometown A Short Story of Debugging Desperation In 97 Things Every Programmer Should Know, Thomas Guest recounts a moment when he had identified a problematic piece of code in a large application, but had lost hours in recompilation time trying to experiment with the erring edge case.

Years