March 31, 2010 – 12:28 pm
I’m currently working on an API for Vquence’s VQdata product which allows our customers to use a REST interface to retrieve videos with certain keywords they have previously stored. While writing tests I need to be able to mock out the Time object so that my tests were deterministic relative to time. I remembered listening [...]
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 [...]
I’m currently setting up Puppet at Vquence so that, among other things, we can deploy hosts into Amazon EC2 more easily. To ensure a minimum setup time on a new server I wanted the setup to be as simple as echo ‘DAEMON_OPTS=”-w 120 –fqdn newserver.vquence.com –server puppetmaster.vquence.com” > /etc/default/puppet aptitude install puppet This means that [...]
February 26, 2008 – 11:05 am
When you create an instance in EC2 you can send Amazon some user data that is accessible by your instance. At Vquence we use this to send a script that gets executes at boot up. This script contains some openvpn and puppet RSA keys so its approaching about 10k in size. This works without any [...]
January 11, 2008 – 8:25 pm
Since I wasted over 4 hours of my life today working my way through this problem I feel the need to share. Since it seems to be the in thing in the Web 2.0 space, just to be cool, we use GUIDs to identify different objects in our URLs at Vquence. For example my randomly [...]
At CeBIT last week I participated in a panel discussion on Open Source and Business Communities as part of OpenCeBIT. Also on the panel were Simon Phipps and Jon Oxer. Simon Phipps created a podcast of the event which you can find here: MP3 Ogg iTunes You can find the slides I used for reference [...]
Bridge and VLAN support has improved dramatically under Ubuntu and probably Debian as well since I last looked into it. once upon a time to create a bridge linked to a VLAN interface you would have to do horrible things like. auto eth0 ifconfig eth0 inet manual pre-up /sbin/vconfig set_name_type VLAN_PLUS_VID_NO_PAD || true auto vlan7 [...]