Latest Articles

I try not to get overly technical in this space, but when I get a chance to implement one of my very favorite programming techniques, I have a hard time keeping it to myself.  I want to tell you about recursion.  Per wikipedia: A common method of simplification is to divide a problem into subproblems of the same type […] where problems are solved by solving smaller and smaller instances. Here’s the example.  Earlier this…
There’s nothing wrong with making mistakes, in fact I highly recommend it. However, if I make a mistake and I have no plan for preventing it from happening again, that feels pretty lame. One mistake I have made before, is forgetting if I am on a live installation or a staging installation. When I say live and staging, I’m referring to WP-Engine’s excellent system. I made this mistake recently while working on a site…
Recently our reporting software, NewRelic, alerted us that some of our code was running slower than usual: I was able to trace it back to a recent update where, in order to make our code more flexible, I began to register and accept default values for various database settings: Surprisingly, this added up to a palpable slowdown.  We have tons of options in our Apple Fritter theme, hundreds actually, so running this routine potentially hundreds…