Warning: getimagesize(/home/benc/public_html/../../../../../../../../../../../../../../../../../../../../tmp/fb125.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/benc/public_html/wp-content/plugins/yet-another-photoblog/lib/YapbImage.class.php on line 438

Warning: getimagesize(/home/benc/public_html/../../../../../../../../../../../../../../../../../../../../tmp/pista.png) [function.getimagesize]: failed to open stream: No such file or directory in /home/benc/public_html/wp-content/plugins/yet-another-photoblog/lib/YapbImage.class.php on line 438
2008 June archive | Ben Cornwell

Archive for June, 2008

 

CITCON

Jun 27, 2008 in Random

CITCON 2008 kicked off earlier this evening in Melbourne.

More to follow tomorrow!

Fail

Jun 26, 2008 in Random

Fail

I’m not normally one to partake of stealing posts from other blogs, but this is just too good to resist.

Lifted from FailBlog.org

PHPUnderControl (Install cont.)

Jun 25, 2008 in Random

In a previous post, I mentioned I would post the init script I’ve been using to start/stop CruiseControl. It’s not my own work (lifted from teh Internets). Looks like it was originally written by someone from ThoughWorks, but I didn’t find it on a ThoughWorks site & it didn’t come with a licence or copyright notice. Until I’m told otherwise, I guess it’s OK to redistribute.

Download it here

Obviously you’ll need to configure the script for your environment and allocate appropriate permissions. When you’re done, drop it into /etc/init.d/ and CruiseControl will automatically start during your server’s init routines. Also, when trying to stop the process, rather than scanning ps output trying to find the correct pid to kill, you just run:

# sudo /etc/init.d/cruisecontrol stop

PistaDex

Jun 24, 2008 in Bikes

pistadex.com

With official interest rates likely to increase by one billion percent in the second half of 2008, the RBA is advising potential pista-riders to get into the market while they can.

(previously: PistaDex)

PHPUnderControl Install Guide

Jun 22, 2008 in CI, PHP

Lately I’ve been doing some work with PHPUnderControl. It’s based on the Cruise Control Continuous Integration framework, which in turn, is based on Ant. It combines PHPUnit, PHPDocumentor & CodeSniffer to build & test software projects. It works pretty well, though there were a few mysteries along the way to getting an install up and running. I’m in the middle of preparing a comprehensive how-to, but meanwhile, here are a few notes I made about the installation & configuration process.

* There’s no easy way to start and stop Cruise Control. You’ll need to add an init script for starting/stopping/restarting. I’ll post mine here eventually.

* Disc Space: Builds can potentially use up a ton of the stuff. Make sure you have plenty of room, and/or, an easy way to shutdown the CC process if you find yourself running out of disc space.

* Configuration changes require a restart/reload to take affect. This should be second-nature if you’re used to configuring apache etc. Having said this, it caught me out a couple of times.

* You can configure builds to be triggered only where code changes have been merged to your svn sources. This saves heaps of unnecessary disc writing etc.

* Be careful using relative file paths. I’m still looking into how Ant handles file paths, but it definitely seems to be inconsistent. I’m using absolute paths in my build.xml & config.xml config files.

* If commands in your build process are failing, check the contents of /path/to/cruisecontrol/cruisecontrol.log - This will detail the exact commands being run by cruisecontrol.

* To test your build.xml configuration for a specific project run /path/to/cruisecontrol/apacheAnt-Version/bin/ant from within the project directory. Do this before restarting the cruisecontrol process to avoid builds failing because config errors.

Bianchi Pista

Jun 20, 2008 in Random

Bianchi Pista

I’m building a bike! Bought a frame through Ebay last week which should be arriving any day now. More pics from the build will turn up here.

Eastlink (plus to & from)

Jun 11, 2008 in Bikes

This Sunday should be fun!

Velo-Rage

Jun 08, 2008 in Bikes

On Cycling

Jun 06, 2008 in Bikes

Fat Cyclist:

“Everyone talks about their hobbies and what they do for fun. Cycling, though, is much more than a hobby for me. It’s a giant reset button. I can be having the worst day ever; after ninety minutes on a bike, I’ve got my balance back.”


My problems are trivial compared to what this bloke & his family are coping with, but this is a sentiment shared.

Watch Your Step

Jun 03, 2008 in Lame

http://en.wikipedia.org/wiki/Web_3.0

“Web 3.0″ is coming, apparently.