The pros and cons of being accessible to your users

By Josh Sherman
3 min read
scenekids
retrospection

How accessible I am to my site’s users is something that I’ve went back and forth with over the last few years. When I say “accessible” I don’t mean venturing into offline interactions or anything like that, just in regard to how I interact with the users. I tend to […]

How to Setup a LAMP Stack on Ubuntu 14.04 LTS

By Josh Sherman
2 min read
development
linux
apache
mysql
php
ubuntu

The newest long term support release of Ubuntu (Trusty Tahr) is finally here! I just spun up a droplet over on DigitalOcean to walk through setting up a LAMP stack for this post. I also recommend making sure that your system is completely up to date. At the time of […]

Reducing Redis used memory by moving back to MySQL

By Josh Sherman
6 min read
development
redis
mysql

If you know me then you know I fucking adore Redis. Over the last few years it’s slowly worked it’s way into the majority of the things I have built. Unfortunately, recently I ran into a problem that Redis could easily accomplish but would require more RAM than I have […]

Compressing and uncompressing a string with PHP

By Josh Sherman
1 min read
development
php

Today I went on a mission to find a PHP function that I’ve never used before and knew nothing about. The mission was such a success that I have two functions to discuss and honestly, I’m pretty sure I’ll never use them. That being said, if the need ever arises […]

PHP's /e modifier is deprecated, use preg_replace_callback instead

By Josh Sherman
1 min read
development
php

I’ve discussed the use of preg_replace_callback in the past in regard to passing variables to anonymous functions but never touched on how to use preg_replace_callback or the fact that the /e modifier has been deprecated in PHP 5.5+. Even though /e still works in PHP 5.5 in the near future […]