One thing leads to another...

Posted by Graham Stratton Tue, 17 Jan 2006 09:46:00 GMT

I need a more interesting name for my blog. Last night I thought ‘import this’ would be good. Oh well. Not only has it been done, it’s been done by someone whose primary interests are python and ruby web frameworks.

However, from that blog I did come across a small conference in the states called Snakes and Rubies, and the website has some interesting information from it.

I haven’t heard on any dedicated UK python conference, uk ruby conference, or uk rails conference. I wonder how many people would be interested if such an event happened. I’d guess there are enough enthusiasts in the UK. Anyone else out there interested?

Posted in , , ,  | 6 comments

My Shiny New Blog

Posted by Graham Stratton Mon, 16 Jan 2006 22:18:00 GMT

I have a shiny new weblog! I’m not sure that I approve of the fixed-width design, but I’ll sort that out later.

The blog is powered by Typo, which is built on the Ruby on Rails framework. It took a little bit of installing. The first problem was that irb, the interactive ruby interpreter, was not installed, but in production mode rails does not give you any hints, it just returns status 500 (internal server error) for all requests.

Running in development mode I got a traceback and fixed the problem, but then I again got status 500s with no indication of the problem. Attempting to run the test suite showed the issue: rails not being able to find mysql.sock. I would have thought that happened enough that a useful error message could be given. Anyway, a peek at my.cnf gave the required information, and adding the socket: line to database.yml fixed the problem.

After that it was merely a matter of finding the login code, concocting the correct phrase from some salt and my password, SHA1-ing it, and inserting it into the database. Maybe there was a simpler way.

Posted in ,  | 2 comments

Older posts: 1 ... 4 5 6