dp.cx blog

Thoughts from a programmer in (502) - A new post every 25 days!

Love, Hate, Linux
I have much of a love / hate relationship with Linux. From a philosophical standpoint, I love the idea of a free, open operating system that I can modify as I see fit.

Posted on

How CVE-2014-0160 let us show the power of puppet
CVE-2014-0160 which recently made headlines because of it’s massive impact across the large majority of Internet-based services has allowed us to show that the return on investment with puppet is greater than 0. Here’s how.

Posted on

NewsBlur CLI
Yesterday, I spent a few hours and wrote up a perl application to allow me to use NewsBlur from the command line. I’ve been thinking about this for a while, and the problem finally overflowed yesterday when trying to read some feeds in Firefox actually crashed the browser.

Posted on

Slim Framework, Route Groups, and Parameters
Yesterday, I was writing a new sub-endpoint for an API based in Slim Framework. For this API, the routes are kept in separate files for organizational purposes, but also because route groups didn’t exist at the time; so I thought I’d give them a shot.

Posted on

Zend Db and non-escaped strings
This is for my own edification in the future, but if you’re looking for a non-escaped string as a parameter to a query, it’s not Zend\DB\Raw that you’re looking for, as that doesn’t exist. What you’re looking for is new \Zend\Db\Sql\Expression() to handle those raw strings.

Posted on

Don't Deliver Cold Pizza
Years ago, many pizzerias advertised a 30/60-minute-or-less guarantee that basically promised customers that their pizza would arrive warm and timely. Isn’t it odd that their selling pitch was speed and not tastiness?

Posted on

Say 'Hello' to Trello
Keeping track of your workload is important, and Trello is the best tool for the job in my opinion. I’ve been using Trello to manage my client work for about a year now, and I love it more and more each day.

Posted on