yet another website rewrite

Ordo Acerbus was the first web application I wrote when I started learning Rails. It was a home-grown CMS of sorts. I think the version of Rails was 1.1 at the time, and a few things have changed since then. Unfortunately since I didn’t know about future-proofing it then, and Rails has gone through a […]

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 […]

some javascript hacking

My Currency Graph page now features javascript rendering of the graph, largely thanks to the excellent flot library. (I’m using the SVN version to get time scale handling). In theory the page will degrade gracefully to use server-side images if the browser doesn’t support <canvas>, but I don’t have a browser which does javascript without […]

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 xe.com 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 […]

authentication and conditional page caching

This is another followup on conditional page caching in Rails. In the original article I glossed over the integration of the page caching with the authentication mechanism. After all, there are lots of web sites discussing how to do authentication in Rails, so it was not really the focus of the article. However a few […]