Posted by blainegarrett on Sep 30th, 2007 | 0 comments

Continuing to fight the good fight against Rails’ slowness and processor intensive handicap, I have been working a lot with page caching over the last day. I think I finally have a decent setup now. This write up talks about the Rails side of caching. This assumes that apache is serving up cached pages just fine. This also assumes you are using sub domains and have somewhat advanced...
Posted by blainegarrett on Sep 30th, 2007 | 1 comment

Now that the Adamantine Arts site is getting more traffic, I wanted to implement page caching to really speed things up and prevent excessive server load. I’ll discuss page caching in Rails in more detail at another time. The problem at hand however was to get apache, mongrel, mod_proxy, and mod_rewrite to all play nice together.
My initial stabs at the problem gave me all sorts of grief....
Posted by blainegarrett on Sep 28th, 2007 | 5 comments

I am working on the new search engine for Adamantine Arts and wanted to display the top 25 queries. I thought it would be nice to display the searches in the cool tag cloud form where the more popular the search the larger the text.
So quick tutorial on how to build a tag cloud in Rails. Hurray for logarithms lately. They are all over the search code.
Criteria :
- Use percent based fonts to...
Posted by blainegarrett on Sep 26th, 2007 | 0 comments

Snap. I must be a dork because I think this is slick.
Check out this Blue Screen of Death tat done by Sam Rulz at Two Hands Tattoo in Auckland, New Zealand.
The buzz over this prompted one blogger to think that Microsoft May make more crappy stuff. Oh man, if they make more crap what will this world come to?
Either way, now I want to get my...
Posted by blainegarrett on Sep 26th, 2007 | 0 comments

Sarah came over while I worked on the AA site search (I’ll write about this later). We were both loopy and delierious and there was talk of pants, googling, and being a bunch of dorks.
For the next monthly online exhibition, I looked up on google to make sure I spelled menagerie correctly and the wikipedia entry came up. I said “Wow, I didn’t know that was the source of the...