Four Short Things – 2 March 2019

Clicks are an “unreliable seismograph” for a news article’s value — here’s new research to back it up This is a summary of a report on user behavior on the web. It found a few things that aren’t super surprising: Relevance is the paramount driver of news consumption. People find those stories most relevant that […]

Four Short Things – 23 February 2019

Leukemia has won WordPress has allowed me the opportunity to meet hundreds of people first online and then offline, but Alex “Viper007Bond” was the first. When I first started getting involved in WordPress, I spent many late nights in the IRC #wordpress channel on freenode, at first seeking help but then providing it. Viper was […]

Null Propagation Operator proposal for JavaScript

At it’s January meeting, TC39 (essentially the standards body responsible for JavaScript) heard a proposal for some syntactical sugar that really excites me.  It’s called the Null Propagation operator and allows code that looks like const firstName = (message && message.body && message.body.user && message.body.user.firstName) || ‘default’; to become code that looks like const firstName […]

“My Code is Self-Documenting” — Eric Holscher 

Self-documenting code is one of the biggest documentation myths in the software industry. This view generally conflates documentation with code comments. I’d like to make two arguments in this post: Code comments have value Documentation has more value than just explaining how software works Source: “My Code is Self-Documenting” — Eric Holscher – Surfing in […]

New BASH Prompt

For the last few years, I’ve been using impromptu for setting my bash prompt. However, it felt in perpetual beta status and I wanted to try out something new, so today I installed bash-git-prompt and am giving it a try. It was super easy to get started with it following the instructions. Run brew update Run brew install […]

An alternative splitting algorithm for publishiza

My friend John built plugin for writing tweet storms in WordPress. I’ve now used it to tweet storm about salary negotiations and WordPress committer stats in 2016. I like it, but I wasn’t super happy with how it split up the the post into individual tweets. It essentially just splits it up so that each tweet is […]