merb + datamapper version frustration

I read about Merb and Datamapper and wanted to try them out. Merb does not have particularly good documentation at the moment, but I found some blog posts about how to install. Unfortunately it turns out that at the moment just doing a “gem install merb” and equivalent for datamapper leaves you with a system […]

giggle on passenger

I switched Giggle over to run on Passenger, and after some five minutes of testing I think it’s probably working ok. I had to disable page caching, but it uses fragment caching so there is still a potential reduction in database activity1. It seems stable, which is the main advantage compared to the old FastCGI […]

Passenger and conditional page caching, part 2

A while back I posted about Passenger and how it could affect my Giggle website. Today I got around to some testing to see if the idea I outlined would actually work. Unfortunately it seems that it doesn’t. Passenger has built-in support for running Rails applications, and it looks like its code for checking for […]

Passenger and conditional page caching

Dreamhost recently made Passenger available for running Rails applications. I switched over Exchange Rates and it appears to work fine. Giggle does not work properly when switched over to Passenger though. The problem is that my caching setup relies on a custom rewrite rule, but Passenger disables use of mod_rewrite for web applications it runs. […]

giggle patching

Uhoh. I had to do some hurried patching on Giggle yesterday when I tried to add the latest gig I went to and found it wouldn’t work. It seems my last set of updates caused a couple of problems that I hadn’t spotted. The first problem was entirely my own fault. Due to my caching […]

running to stand still

I spent a busy evening working on updates and fixes to Giggle, with the end result of several hours hacking being… no apparent change as far as the user is concerned. Sigh. The motivation for this seemingly pointless exercise was when I started trying to run the development version of the system locally and it […]

more currency exchange fixes

Yuk, I had to do some more fixing of my currency exchange application. The small change I mentioned at the end of my last post was not implemented quite right, so I tweaked it. Then I noticed that when you drag currencies to the color bar, sometimes the graph was showing them in a different […]

currency exchange fixes

I have had some trouble recently with my Currency graph site. The data for this site comes from an email subscription I have to an daily feed. The emails were identified by Procmail on my server, and piped into a script which parses them and inserts the rates into the database. The initial problem […]

not sure? write a test

I learned this lesson from a colleague some years ago, but it’s worth reiterating. If you have a question about how a certain aspect of a programming language or library behaves, then it’s usually quicker to write and run a small test which demonstrates, than it is to read the documentation to try and figure […]

ruter project

I forgot to mention, my device control system software is now in a public subversion repository I’m afraid it has no setup/installation script or instructions at the moment, perhaps that’s something I’ll have to work on.