Embracing Windows 10

First off, I am a huge proponent for Linux, it has been my primary OS for many years. One of the first big projects I led was converting ETRADE’s production system from Solaris to Unix, running Linux on your production servers was a radical idea back in 2002. I’ve embraced and been a champion of […]

Hi!

My Lil Red Sprite, a 1960 Austin-Healey “BugEye” Sprite.

Create a Block in Typescript

I’ve been reading and learning Typescript recently, and I quite like it. The added type safety is a great feature to help create more error-free and stable code. You can read more about Typescript here. This got me thinking that it should be possible to create a WordPress Block in Typescript, which of course it […]

Kurt Vonnegut Buying an Envelope

When Kurt Vonnegut tells his wife he’s going out to buy an envelope: “Oh, she says, well, you’re not a poor man. You know, why don’t you go online and buy a hundred envelopes and put them in the closet?” And so I pretend not to hear her. And go out to get an envelope […]

Conditionally Load Block Assets, Part 2

Another look at conditionally loading block assets for WordPress blocks, assets being JavaScript and CSS files loaded by the browser. In the previous post, I solved using heavy-handed testing of each post in the loop checking to see if it contains our block to load the assets. The company I work for runs a few […]

Course Review: Writing in the Sciences

A review of the Writing in the Sciences online course that I recently finished. The course is taught by Dr. Kristin Sainania a Professor of Health Research and Policy at Stanford University. It is a free 8-week series of canned videos, online quizzes, and homework assignments designed to improve your writing. Course Structure Each week […]

Deploy WordPress Plugins Using Github Actions

Using automation makes your current life easier by taking tasks off your hands; plus makes your future life easier by documenting a repeatable process. I recently automated the publishing of my code-syntax-block plugin to the WordPress repository using the Github Action created by 10up. What are Github Actions First, Github Actions allow you to hook […]

Async is the Key to Distributed Work

I wrote A Year Working Remotely after my first year at Automattic — a company now at 1,000 fully distributed employees across 76 countries. This is a 6-year follow on sharing additional learning on work and productivity. A colleague Alister wrote a great post, Three Years of Working from Home, that covers personal care tips, […]

Conditionally Load Block Assets

Updated: see Part 2 post that explains a better way, as pointed out in the comments. Or see the newer Part 3 post with an even easier way with WP 5.8. One of the great features of the WordPress Block Editor is all the specialty blocks that can be created. This can also be the […]

Lessons from Walt Disney

On a sunny day, my family and I went up to San Francisco to visit the Walt Disney Museum. The museum is located in the beautiful Presidio near the Golden Gate Bridge. I simply hoped to enjoy a nice day out of the house, maybe something the kids would like–I didn’t expect to be inspired […]