In the past few years I have worked on many projects that involved implementing a testing infrastructure, I have spoken at conferences on the important of and theories of testing, and I have led workshops training beginners in testing. In all that time I have looked for a good concise and easy to read resource
How many kilometers of code do you write?
I was reading an article today and the author said he was hired to write “kilometers of code” it got me curious… How much code does one need to write to write a kilometer of code? How much code is a kilometer of code? First we have to set the stage. With all the various
Responding to Critical Vulnerabilities in WordPress Plugins
This is a video from the April 2014 Seattle WordPress Developer Meetup where I spoke on Responding to Critical Vulnerabilities in WordPress Plugins. Slides are available at https://ben.lobaugh.net/uploads/critical-vulnerability-response
PHP: Erase a value out of an array without knowing its key
If you find yourself with an array that you know contains a certain value that you need to access or erase here is a useful code snippet that I came across the other day. $key = array_search( $needle, $haystack ); unset( $haystack[$key] ); For example, given the following array: $colors = array( ‘red’, ‘blue’, ‘green’,
The Twilio Guide to Brogramming
A must watch for all male programmers http://www.youtube.com/watch?v=Qi_AAqi0RZM