Disabling Paste Doesn't Prevent Text Entry

This week I had a fascinating conversation about disabling paste into a text input. You might see this UX pattern when a form requires a user to type “confirm” before taking an action. I believe it’s a UX anti-pattern. It breaks an expected behavior of a web form without an obvious benefit. What I learned is that even if it were good practice, you can’t reliably enforce manual typing anyway. ...

October 27, 2026

Gradle Test Continuous

Running tests in a watch mode encourages test-first thinking and creates a virtuous cycle. Here’s the command to run a Gradle Wrapper (Java) test suite in watch mode: ./gradlew test --continuous Gradle calls this a “continuous build.” It runs when tests or files under test change. Continuous Builds – Gradle Docs

October 25, 2026

Dropping Images into Keynote

Today I uncovered a nice hack for building a product demo. I had a bunch of Cleanshot screenshots I wanted to present in a Keynote slideshow. If you select all your screenshots and drop them into the left-hand slide navbar on Mac Keynote, each one becomes its own slide in the deck. This let me create a polished presentation in about five total minutes of work, including collecting the screenshots.

October 24, 2026

Thoughts on Microsoft Teams

My comment on Is Teams really all that bad? – LinkedIn “When async chat tools work, they’re like a conference room where the dev team works through an outage. There’s a history of what’s been said. Specialists and management can step in and observe, without interrupting. Teams takes a more DM-like approach that silos communication. In high-stakes situations, it feels like you’re fighting the issue and the tool.” I’d caveat that my Teams experience all relates to fully-remote work.

October 24, 2026

Sudo is "Superuser Do"

I enjoy the etymology of technology words. Understanding it can be a handle into using the tool well. One example: sudo. sudo comes from “Superuser do”, allowing you to run a program with the security privileges of another user, usually the root superuser. Here’s an example from a terminal near you: $ <dangerous-command> dangerous-command: NOT super-user $ sudo <dangerous-command> Doing a dangerous thing... This is why programmers say “su DO” (pronouncing “do” like “do”) rather than the softer “sudo”. They aren’t (just) being pedantic; it’s the more correct way to pronounce the word. ...

October 22, 2026

Reloading Zsh

When I reconfigure my Zsh terminal, I want to see the changes immediately. A good way to do that on Mac is: exec zsh This uses the Zshbuiltin exec command to replace my login shell (Zsh) with another login shell (Zsh). Sourcing the Zsh config (source ~/.zshrc) is less reliable, as things like custom functions you’ve removed tend to stick around. Check out zshbuiltin for more.

October 21, 2026

Inspect Node Scripts With npm run

I have a project with many Node scripts in package.json. One way to inspect them without ever opening that file (in a nice formatted) is npm run. It gives an output like this: $ npm run Scripts available in exercism@1.0.0 via `npm run`: download:js sh -c 'exercism download --track=javascript --exercise="$1"' -- format-check:js prettier --check javascript/ lint:js oxlint javascript/ test-all:js NODE_OPTIONS=--experimental-vm-modules npx jest javascript validate npm run format-check:js && npm run lint:js && npm run test-all:js Try npm run in a JavaScript project to see it in action.

October 20, 2026

Node Evaluate String

Today I typed node -e <string> to see what happened. Answer: it evaluated my string argument. Here’s an example; printing the milliseconds since epoch without leaving the shell: > node -e "console.log(Date.now())" 1792427691395 Scripts that being with the minus symbol (-) are ambiguous, so you must add the -p / --print flag. > node --eval="-42" --print -42 See man node for more.

October 19, 2026

The Black Box Resists Expertise

SEO, or search engine optimization, is a black box for a reason. It resists expertise. Generally speaking, a search engine is trying to do one thing: help you efficiently find what you’re searching for. When performing well, the result you’d want to see the most would be at the top of the search results page. Example: Science article Imagine I want to learn about the Mars Perseverance Rover. Let’s say that the best page on this subject is NASA’s “Mars 2020: Perseverance Rover” webpage. ...

October 14, 2026

Comma Operator Return in JavaScript

I love learning something new that’s core to the JavaScript language syntax! A code exercise I completed today did just that. Via this comma, items is returned. const removeItemAtBottom = (items) => (items.shift(), items); const cards = [1, 2, 3, 4, 5]; removeItemAtBottom(cards); // [ 2, 3, 4, 5 ] This helps us around the fact that shift() returns the removed item, 1, rather than the list of items that we modified. It works outside a function as well: ...

October 1, 2026