NGINX PUB/SUB MODULE

A coworker pointed me to this Nginx module today. You can write a chat server without actually writing a server. The message thread below indicates incredible performance. If you’ve got more than 50K users and 9000 messages / second you might be able to upgrade your hardware, or at least load balance your channels between 2 servers. When I open 10,000 connections, it seems to behave quite...

COFFEESCRIPT, BOOTSTRAP, AND LESS ARE AMAZING

I’ve been doing backend development exclusively for a long time now. When I decided to build splitmytab.net, I had sourced the front end development to HTML burger. I got the design through 99designs. Both were fine, but I really didn’t require anything past a basic utility site. When I decided to add new functionality to the site, I realized I’d either pay someone to do front...

SPLITMYTAB READY FOR THE PUBLIC!

Splitmytab.net is finally for the public to check out. Splitmytab is a bill splitting and IOU system for friends. It uses facebook’s login, so you won’t need to put in anyone’s emails, names, or get people to sign up for an account. It’ll automatically keep balances of who owes who, so you can keep a running tab with friends and always know who’s buying the next case...

JESTER WIKI UPDATED WITH TUTORIAL

I’ve updated the Jester wiki with a basic Tutorial featuring examples of creating rules and seeing how events coming into the system are processed. Enjoy!

'NEW PROJECT: JESTER'

I’ve started a new open source project called Jester. Jester is a rules engine for points and badges, also known as Gamification. Jester is written in Python, using Redis for storage. I’ve created a tiny Domain Specific Language for defining rules using the pyparsing library. A couple examples of rules: create rule on game_play award 5 points create rule on game_play award badge...

OPEN NEW TERMINAL TIP

I tend to open up several terminals when working on a project, so I usually want them to start in the same directory I’ve been working with. Stick this in your ~/.bash_profile to have your new terminal windows automatically cd to the directory you last used. export PROMPT_COMMAND='echo `pwd` > ~/.lastpwd' cd `cat ~/.lastpwd ``

INSTALLING MYSQLDB ON MACOS LION

I ran into an issue installing the MySQLdb module. >>> import MySQLdb /Library/Python/2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-intel.egg/_mysql.py:3: UserWarning: Module _mysql was already imported from /Library/Python/2.7/site-packages/MySQL_python-1.2.3-py2.7-macosx-10.7-intel.egg/_mysql.pyc, but /Users/jhaddad/Downloads/MySQL-python-1.2.3 is being added to sys.path...

HEADLESS VM SERVER USING UBUNTU 11.10

In this tutorial I’ll be guiding you through setting up a headless Ubuntu 11.10 box that you’ll manage using virt-manager, accessed via X11. My main machine is a Mac running OSX Lion. You’ll need the Ubuntu CD, and for the first part of the tutorial, physical access to the box with a keyboard and monitor. **Install Ubuntu on your server. ** I installed Ubuntu Desktop so I could...

GET RID OF FACEBOOK'S AWFUL TICKER

It’s appropriately named Facebook News Ticker Remover. Now I just need to clear out the entire right column. And most of the newsfeed. Edit: Just found minimalist-facebook which hides even more features I can’t stand.

API TESTER NOW HOSTED ON GITHUB

About 4 years ago I decided to write a little GUI tool for manually testing API calls. Put it on the top of my blog, people have downloaded it, and I haven’t touched it since then. Last updated timestamp was 2007. I don’t know if anyone wants it, but it could be useful as a starting point, or to understand how Cocoa apps were written… 4 years ago… I don’t know....