Brandon Harris

Rails Simple Page Caching

Memcache is great, and Redis is even better. But you are still bound to a database, and running services. We are so caught up in making everything dynamic, that I think we don't often realize that we are still serving up mostly static html. The good news is that Rails has static html caching built in, and I rarely notice anyone talking about it. The scenario: You want to input your page content via an administrative interface, but this data rarely changes.

Read more →

JSON Templates in Rails

Sometimes, you just don't want to do call the "to_json" message on an object. It could be that the object has a lot of attributes, the json needs are very simple, or you simply don't like the default structure. Fortunately, there is a very easy solution: JSON templates. This is built in, and you might have not even known it. In my case, I wanted to plot a bunch of people and their locations on a map.

Read more →

Matrox DualHead2Go, TripleHead2Go on Ubuntu, with ATI/AMD

I recently purchased a matrox dualhead2go digital edition off of ebay on a whim. I did this because I wanted to make use of some extra monitors sitting around the office. I have also come to the realization that I have grown up as a developer and I have enough confidence to look anyone straight in the eye and say – “Yes, I need 3 monitors”. My current setup is a Dell XPS 1640 running Ubuntu 10.04, with a Radeon 3670 graphics card.

Read more →