Dec 16, 2023

The Pleasure of Peripherals: Mice

The amount of enjoyment I get from using my new mouse is unreal. Had been using my Logitech G502 ever since it came out in 2014. Last month I decided it was time for an upgrade.
Read More

Nov 27, 2022

How to Play Custom Songs on Beat Saber on the Meta Quest 2

I recently bought the Quest 2 on sale and wanted to play Beat Saber with custom songs. The Quest 2 is a standalone VR headset, so there are a few extra steps to take. Here's what I did to mod the game.
Read More

Nov 5, 2022

VS Code Extension Development: Webview Context Menu API

Wanted to replace the default right-click context menu options in a VS Code Webview with custom ones. Also wanted to hide a command from being shown in the command palette. Used a freshly-finalized VS Code API to solve my problem.
Read More

Jan 8, 2022

PostgreSQL Jsonb Operators and JPQL/JPA Query Syntax

Trying to write a simple query for a data access layer in Java Spring involving PostgreSQL's jsonb data format. Finding out that Java Persistence Query Language doesn't support the jsonb arrow operator (and other database-specific operators). What I had to do instead.
Read More

Dec 31, 2021

Windows 10 Start Menu Won't Stay Open

My Windows 10 Start Menu wouldn't stay open after I clicked on it. It'd open briefly and immediately disappear. I was still able to search for applications if I typed quickly, but couldn't use the UI to shut down my PC. In my case, it turned out to be because of Live Tiles! Here's how I fixed it.
Read More

March 7, 2021

SQL Server GUID Sort Order

Did you know that uniqueidentifiers in MSSQL have their own special sort order? An old coworker reminded me of the time we found this out.
Read More

June 28, 2020

Using Cypress For the First Time

Cypress seems pretty useful for e2e and integration testing. I also found that cy.server() didn't work quite the way I expected.
Read More

May 11, 2020

Invalid React Hook Call With Enzyme Tests

Added some React Hooks to a component and caused some unit test failures.
Read More

October 31, 2019

Simple Asynchronous Mistake In An Integration Test

Writing up some quick integration tests for a queue consumer service and was briefly baffled when the test was failing. A simple and obvious error.
Read More

October 30, 2019

Database Permissions: A Scripting Variable Mistake

Setting up a new user role for a brand new .NET Core service to grant it database permissions to execute some stored procedures. When I deployed, I saw an error in the logs. I had forgotten something.
Read More

October 20, 2019

Execution Timeout Error from the Database

A search request on the frontend was failing due to an execution timeout error from the database. A stored procedure had to be rewritten to address this.
Read More

August 28, 2019

Weighing Options for Fixing an Angular Menu CSS Bug

I had a simple visual bug. But due to the changing expectations surrounding what interacted with it, I had to evaluate several options for fixing it.
Read More

July 15, 2019

How many SQL records are associated with more than one of another record type?

I want to know how many records are associated with more than one of another record type across four 3NF normalized tables?
Read More

July 8, 2019

npm ERR! notarget When Using a Nexus Repository

Had a fun error when I tried to build a project after changing a tiny line that should not have caused any issues. npm ERR! code ETARGET.
Read More

July 1, 2019

Checkboxes and Angular Reactive Forms Browser Discrepancy

Noticed when using Angular's reactive forms with my checkboxes that had labels and icons that were dependent on the form value that there was a discrepancy between how IE/Edge treated them versus Chrome/Firefox.
Read More

Jun 17, 2019

Conditionally Styling Angular Components and Host Elements

Here's how you can conditionally set a style value depending on a property, and how to conditionally set a style on a host element.
Read More

May 6, 2019

Group By in LINQ to Turn Flat Rows Into Nested Rows

Needed to transform some flat rows from a database into nested objects in a C# backend, so I made use of LINQ. LINQ is short for Language-Integrated Query, a neat C# tech.
Read More

April 29, 2019

There Is Method To The Madness Behind CSS

A lesson in having patience to understand what is going on during CSS troubleshooting. It's not you, CSS, it's me.
Read More

April 22, 2019

Daylight Savings Bug, and Check Your Network Requests

Troubleshooting a bug on a datepicker component that had to do with daylight savings. Another reminder to check network requests.
Read More

April 15, 2019

Remember To Check Your Helper Functions

Forgetting to check my helper functions left me debugging a problem longer than it should have taken. Here, I show an example of an incident in the form of a hypothetical application.
Read More