How to Build a Leaderboard with PHP and Redis

By Josh Sherman
6 min read
development
php
redis

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. One of the most notable ways to leverage Redis would […]

Getting a User's IP Address in PHP

By Josh Sherman
2 min read
development
php

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 you’re behind a load balancer that address would be that […]

Recruiters need to learn to listen

By Josh Sherman
3 min read
career
linkedin

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 job? Absolutely, but I’d never do it again (most likely). […]

PHP Redis Clients

By Josh Sherman
2 min read
development
php
redis

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 the extension, there are additional client libraries out there for […]

How to Install Wordpress on Ubuntu 12.04 LTS

By Josh Sherman
2 min read
development
php
wordpress
linux
ubuntu

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 Ubuntu 12.04 LTS. First things first, you will need to […]