Instant Pot Pork Vindaloo Aug 12 2020

Instant Pot Pork Vindaloo One of my favorite restaurants in Portland is Bollywood Theater, and one of my favorite dishes is their spicy Pork Vindaloo served “goa-style” on toasted dinner rolls. This recipe combines many elements from their original recipe and adapts for cooking in an Instant Pot. Ingredients I’ve separated the ingredients lists into the masala spice blend and the core dish. Some of these spices might be hard to find at a regular grocery store.

Read more

Getting Comfortable with Uncertainty Mar 30 2020

Nothing feels normal. Each morning a new alert. Each night a new worry. We point fingers and lay blame but we all feel helpless. It’s hard to admit, but nobody knows what we’re in for. We are adrift. Experts estimate between 80,000 and 1.7 million in the United States might die from COVID-19. Such a range might be statistically responsible, but feels practically worthless. There’s an order of magnitude between low and high.

Read more

Degeneracy, Code and Innovation May 09 2019

About six years ago, I stumbled across some papers in the field of evolutionary biology that eventually led me to question many of my most basic assumptions about software development. What started as a bit of a crazy thought, eventually began to offer explanations for everything from the Lean Startup movement and T-shaped skills to the popularity of microservices and why everyone uses Javascript even though Haskell is the objectively superior language <trollface>.

Read more

Why Software Development Requires Servant Leaders May 05 2018

The idea of “servant” leaders has been on the rise in the agile community of late. Robert K. Greenleaf coined the term in a 1970 essay, but the idea is timeless. Virtually every religion describes the concept. This one from the Tao Te Ching is particularly poignant: The highest type of ruler is one of whose existence the people are barely aware. Next comes one whom they love and praise.

Read more

Monadic Error Handling Mar 12 2018

Nemanja Mijailovic has a nice summary of a monadic error handling pattern in #golang.

If you find if err != nil { return err } littering your codebase, look here for ideas to improve your architecture.

Update Row Values in MySQL Based on Order Clause

Say you have a database table which contains an integer sort order column, but it’s incorrect. Perhaps you forgot to sort before creating the records. Let’s say you have another column which, when sorted, would produce the correct order. You can use that column to fix the sort order column in pure SQL. Here’s an example using the MODX CMS, which has a menuindex column (the sorting column), and a pagetitle column.

Read more

Which Modules Implement a Drupal Hook?

Working on a deep-dive Drupal rescue project, we encountered an enormous mess of modules, and needed to know which of those modules were related to Ubercart checkout features. On a related note, the full list of available Ubercart hooks is here.

Read more