Jul03

Setting up NFS on Red Hat Ent. 64-bit Linux Boxes

nfs sysadmin linux | comments

Come August, we will need to be able handle a surge in traffic to our Quest Atlantis system. Load balancer with multiple app servers mounting an NFS volume is what we have in mind. The diagram below explains it pretty clearly hopefully:

Continue reading »

Apr29

Checking named routes in irb console

ruby rails | comments

I tend to use named routes in my link_to, link_to_remote, remote_form_for etc prototype helpers, so that my action paths in the view always conform to the declarations in routes.rb and so it’s expressive.

Continue reading »

Apr14

Self-Referential ActiveRecord

ruby rails active_record | comments

Migrating a legacy bulletin board system based on Perl/CGI to Rails (2.2.2). I am doing this as BDD with cucumber & rspec goodness and I’ll be posting my travails on BDD pretty soon.

Continue reading »

Apr13

Getting up & running with Sinatra (0.9.1.1) on Dreamhost

rack ruby sinatra webapp dreamhost passenger | comments

Since passenger has rack support and since dreamhost supports passenger, I went with a forked scanty blogging app as my du jour.

Continue reading »

Apr10

Syntax highlighting test

ruby code gherkin cucumber | comments

Checking out how well syntax highlighting works

Some ruby

  class Gdakram
    def self.quacks
      "#{self} quack quack"
    end
  end
  Gdakram.quacks

Some gherkin

Continue reading »

Apr07

Ohai, fursht posht

hello_world | comments

Ohai frm sinatra! I’ll be bloggin 4 realz this time.

me