• Home
  • Personal
  • Tech
  • Politics
  • Photography
  • News Sniffer, Ferret and Rails

    April 20th, 2007

    I’ve been working on my News Sniffer project for the last few days, finishing up a two month experiment with using the Ruby Lucene implementation, Ferret, to index news articles and comments.  More info on the News Sniffer blog.  The project spanned two months due to some instability in the newer versions of Ferret, but the author responded to the bug reports and managed to fix all the problems so I decided to deploy.

    Ferret offers huge improvements over the original MySQL full-text search method, and I’m looking forward to adding some fancy keyword statistics graphs in the future – perhaps showing censorship patterns in bbc comments with certain keywords.

    Because News Sniffer is distributed across a number of servers, I used DRb (distributed Ruby) to allow them all to update one central Ferret index.  DRb seems to work very well generally, and is amazingly simple to use, but I ran into a few problems with recycled objects and invalid references whilst using Ferret across it, apparently due to the garbage collector on the service side collecting things still in use on the client side.  I think I eliminated most of them but they still crop up once in a while – I’ll be looking into this further.

    Read the rest of this entry »

    Tags: ferret, indexing, memcached, newssniffer, rails, ruby, searching

    Posted in Ruby on Rails | No Comments »

  • Daemontools and Ruby on Rails

    April 8th, 2007

    Dan J Bernstein’s (djb) daemontools is a set of programs to help you manage unix services. It provides a flexible, secure and convenient way of starting, stopping and sending signals to background processes. Combined with his ucspi-tcp tools, it can be used as an awesome replacement to inetd (it’s most often used in this way to run qmail, a secure and high-performance mta). It can be fiddly to set up and has a bit of a steep learning curve but I already use daemontools for various other stuff, so it was just natural for me to use it for Ruby on Rails deployment.

    Read the rest of this entry »

    Tags: daemontools, deployment, fastcgi, rails, ruby

    Posted in GNU/Linux, Ruby on Rails, Tech | 4 Comments »

  • IT techie – available for hire

    April 4th, 2007

    I’m now full time self-employed. If you’d like to hire me as an IT consultant then drop me a line. I’m well experienced with all kinds of free and open source software with a specific focus on web and database services, security and networking. Some things I’ve been working with lately:

    • Apache and Lighttpd web services
    • Ruby on Rails and PHP deployment
    • MySQL database services
    • Netfilter firewalling
    • OpenVPN and OpenS/WAN VPNs

    Over the years I’ve worked with many companies with diverse networks and services, including recently: one of the largest NHS software suppliers, an international travel company and an online pharmacy.

    I’m local to the Leeds area in the UK but I often do things remotely so can work with any company in the world. Hourly rates are dependent on the type and length of the job.

    I’m doing this work under the business name ifup. There is website over at www.ifup.co.uk but it’s a little scant on details at the moment. More to come.

    Tags:

    Posted in Personal, Tech | 1 Comment »

  • You are currently browsing the archives for April, 2007.
  • John Leach

    • John Leach is a human being living in Leeds, UK.
  • Twitter

    • John had a lovely evening chatting with old friends, and their new partners. 6 hrs ago
    • More twitter updates →
  • Author Stuff

    • Brightbox Rails Hosting
    • Compost This
    • ELER Web Comic
    • New World Odour
    • News Sniffer
    • Photography
    • Profile and History
    • Recycle This
    • The Gillroyd Parade
    • Things to do today
    • Website
  • Friends

    • Caius Durling
    • Deb Bassett
    • Gianni Tedesco
    • Ian Higgins
    • Louisa Parry
    • Rahoul Baruah
    • Sleepy Kev
    • Tim Waters
    • Tom Hall
  • Stuff

    • ifup
    • Media Lens
    • Mia Bambina
    • News from nowhere
  • Meta

    • Log in
    • Entries RSS
    • Comments RSS
  • Search

Creative Commons License The text of this blog is licensed under the Creative Commons BY-ND license