A few months ago, I stumbled across Goodhart’s Law:When a measure becomes a target, it ceases to be a good measure.An example: The owner of a business wants his company to become a reputable brand on Twitter. To get there, he begins rewarding his social team for the number of... Read It
No matter how many times I revisit it, I have pretty consistent track record of being tripped up by how JavaScript assigns values to variables.Primitives: Assigned by ValuePrimitive values (numbers, strings, etc.) are assigned by value, meaning that assigning one variable to another variable assigned to a primitive value will... Read It
A while ago, I was hanging out with some guys at my buddy Buddy’s (this is actually his first name) house. We were chatting about typical nerd stuff, when Samuel brought up a self-hostable, privacy-minded analytics service he’s been using: Plausible. I had never heard of it, but he gave... Read It
A post on CSS Tricks exploring why HTTP requests sent during page navigation are at risk of abandonment, as well as options available to prevent it from happening. ... Read It
It’s surprisingly a big pain to create a route and render a static template in WordPress without messing with the database. For example, let’s say you’d like to create a static “/error” page, and there’s no desire to have any of the content editable. You just want a particular template... Read It
I’ve lived without a credit card for nearly a decade now. Life hasn’t been hard without one. With a debit card (backed by my own, real money) readily available and accepted anywhere a credit card is, I wouldn’t even say it’s been inconvenient. Even so, more than a few times,... Read It
All of the documentation and a few miscellaneous text blobs you see on typeitjs.com are sourced from Markdown files built using Gatsby’s gatsby-transformer-remark plugin. Sprinkled throughout the content are several references to the current published version of the library (ex: v8.0.7).When a new version is published, it’d be an error-prone... Read It
A while back, I was working in a Ruby on Rails project in which we wanted to test out different versions of features within our application, most of which were housed in separate ERB partials.For each feature, there’d be a default “experience”, but when a certain condition was met, we’d... Read It
Back when I was working on slide-element, I noticed an issue that would occur when I rapidly toggled an element open & closed. If the previous animation wasn’t allowed to finish, the new one would eventually get outta whack, clipping the content on subsequent animations.The Cause of the WeirdnessThis was... Read It
A while ago, I wrote a premium WordPress plugin for creating typewriter effects with TypeIt via shortcode or Gutenblock. I was ill-prepared for the trickiness of managing plugin updates for such a plugin. Since a premium plugin is monetized, it can’t live inside the WordPress Plugin Repository like free options... Read It