If you write and/or use open source software, you know that running an up to date version of PHP is a must. This can be a problem sometimes, like if you are running on a host that doesn’t run the…
I was having a conversation with a buddy of mine the other day and we got on the topic of PHP not having a very standardized error system. Now that he’s working with Python the mix of errors and exceptions…
If you’ve followed this blog for long enough you know that I’ve been through quite a few platform solutions over the years. Started with a homegrown blog, moved to WordPress, back again, moved to Tumblr and finally settling on Jekyll…
The Alternative PHP Cache (APC) is a PECL package that provides an opcode cache for PHP. Rasmus Lerdorf is the lead of the project along with a handful of other developers. What is an opcode cache? Before I can answer…
When I first starting biking as my primary mode of transportation to my office I felt like I was wearing a helmet mainly because I hadn’t rode a bike in something like 15 years. It’s true what they say, you…
One of biggest draws to Redis for me is the fact that it has more data structure types than just key / value. These additional data structures allow you to do some amazing things while still benefitting from being in-memory.…
Getting the IP address of a user seems like a pretty trivial task but you can’t always rely on $_SERVER[‘REMOTE_ADDR’]. The super global value is the most reliable source because it is extracted directly from the TCP stack but if…
In a previous post I’ve talked about installing phpredis a PHP Extension for Redis that has to be compiled from source. But what if you’re hosting scenario doesn’t allow you to compile extensions? Well you’re in luck, in addition to…
If you’ve ever seen my LinkedIn profile you know that I don’t take my professional life all too seriously and that I also have an underlying disdain for recruiters. Have I been through a recruiting company before to get a…
Let’s be honest, sometimes we don’t necessarily want to start a site from scratch, especially a blog. There’s so many blogging platforms out there, why reinvent the wheel? Arguably the most well known, Wordpress, is very easy to install on…