The One Thing Missing in Every Budget App: Spending Commitments
money
The one thing missing in every budgeting application is the “Spending Commitment”.
Definition: “A thing I am already committed to paying for”
Read More
Fix for Kamal Deploy Assets Not Updating
ci rails kamal
Does this sound like you?
You are using Sprockets to pre-compile assets for production. You are using Kamal to deploy. You have asset bridging enabled in your deploy.
Read More
How to Set Output Values in Github Actions
ci github
This is the syntax for setting an output parameter in a Github Actions step.
echo "{name}={value}" >> "$GITHUB_OUTPUT" Here’s an example of using this syntax in a workflow step.
Read More
Responsive Sizing for React Arborist Tree Component
javascript react react-arborist
Many people ask me about how to dynamically set the width and height of the Tree component based on its parent using react-arborist.
Read More
Cache the Result of a JavaScript Getter Method
javascript
My first programming language was Ruby. Well, it was actually Microsoft Excel, then VBA, then C# for a university class, then Ruby.
Read More
The Friend Is You
addiction love god
Imagine hanging out with someone all day who berates you. They make final judgements about your character. They criticize anything you do imperfectly.
Read More
Finally Understanding How Array.sort(comparator) Works
javascript
After 13 years of JavaScript, I finally have a way to remember how the comparator function in Array.sort() works.
I think the trouble is that all the examples use this shorthand syntax.
Read More
Using @monaco-editor/react in Electron without Internet Connection
react electron monaco
The Monaco Editor is awesome. It’s what powers VSCode. I wanted to use it to power the query editor pane in Zui, the data exploration app I work on.
Read More
Transitions All Settled
javascript
I just published a JavaScript library called transitions-all-settled that allows you to wait for CSS transitions to settle before you do something.
Read More
There Are Only Two Types of Transactions
budgets money
There are only two types of transactions.
The ones you are present for. The ones you are not. This just dawned on me.
Read More