October 8, 2009 – 4:46 pm
The Vqmetrics application needs to connect to two different databases. The first holds the videos, authors and their relevant statistics, while the second database holds the users, monitors and trackers. We do this by specifying two databases in config/database.yml. development: database: vqmetrics_devel < <: *login_dev_local vqdata_development: &VQDATA_TEST database: vqdata_devel <<: *login_dev_local So by default [...]
September 15, 2009 – 2:06 pm
So in another case of tab completion gone wrong I ended up staring at the following on my laptop. johnf@zoot:~/dev/vquence/metrics/trunk$ sudo rm -rf /usr/lib ^C The command only ran for a few seconds so the damage wasn’t to bad, but what did I lose? The locate command came to my rescue. locate runs out of [...]
September 14, 2009 – 4:59 pm
One of the things I love about the Ubuntu project and launchpad is the Personal Package Archive. PPAs make it so simple and easy to backport packages. The only problem with PPAs is that they are public. I had a need to be able to host some private internal packages as well as squid with [...]
I would like to send out a big thank you to the Linux Australia Council. As I’m sure you all know yesterday was System Administrator Appreciation Day. The Council decided to send me a ThinkGeek gift certificate in appreciation for my work as an LA Admin. After hours of searching I finally decided on the [...]
I’m doing some work for a client which involves extracting some data from a legacy database and displaying it in a web interface. One of the fields in the table is the number of megabytes included in the quota. For some crazy reason this is defined as follows: CREATE TABLE quota ( bandwidth_in_included DECIMAL(8,2) ); [...]
Today I was investigating Continuous Integration solutions for rails projects. In the end I ended up settling on CruiseControl.rb mainly because it’s a rails app and most of the others where Java based. The only problem is that CruiseControl.rb doesn’t currently support Bazaar, in fact the released version only supports SVN while the development version [...]
I uploaded some packages to my Launchpad PPA today. Normally they would build in not less than 20 minutes, however 2 hours later I was still waiting. All my googling for a build bot status page led to nothing useful. wgrant on #launchpad pointed me at https://launchpad.net/builders/ which I though I would note here to [...]