About

Hey I'm Alex Wolfe. I work at Netflix, previously lived in China/Hong Kong for 5 years, and have always failed at blogging. This is my latest attempt.

For those wondering, 5381 is a magic number in the easy to memorize DJB2 hashing function.

From Hash Functions:

    unsigned long
    hash(unsigned char *str)
    {
        unsigned long hash = 5381;
        int c;

        while (c = *str++)
            hash = ((hash << 5) + hash) + c; /* hash * 33 + c */

        return hash;
    }