It’s nearly over.

The culmination of thousands of hours of work is finally coming to fruition. The past few weeks have been some of the most stressful I’ve ever experienced.

I am so grateful for the support of everyone who has helped, either physically or through their support.

The boat looks great. It’s not “finished” but it’s good enough. She’s watertight and has a means of propulsion (no it’s not the tractor).

Ellipsis will make her way to the bottom of the slip at low tide (at about 4pm today) and then, as the tide rises she will rise too. I expect she will be afloat as the sun sets.

Once again, thank you all.

A big box awaits my attention.

When I got home yesterday, I found this waiting for me:

To the untrained eye, this may look like a very boring beige box, however I can tell you untold wonders are contained therein.

It’s like christmas and my birthday all rolled into one happy event. I am saving opening it until I have some time to show you all

What a difference a year makes.

It was snowing yesterday. It’s still cold outside, but it’s important to remember it’s not always this way.

The photo below of Cawsand in Cornwall was taken in March 2012. It’s my favourite beach in the UK.  I can’t wait to moor Ellipsis there in the very near future.

Ellipsis has a sail number.

Every boat taking part in racing, is required by the Racing Rules of Sailing to display unique number on their sail.  In the UK, those numbers are issued by the Royal Yachting Association.

I applied for a Sail Number yesterday morning, and the RYA being efficient organisation that it is means that today I can tell you that Ellipsis’ sail number is: GBR 768M.

I have paid the entry fee for the race and there are only 80 days to get Ellipsis to the start line.  Lots to do, but I’m sure we’ll make it.  In the mean time, here’s a photo of me sailing in past the needles from a trip to Poole.

Big news coming…

I know – it’s been a while…  I’ve now got a bunch of things to say. I’ll get to that soon, I promise.

In the mean time, I need a favour.  For reasons I hope to ellaborate on soon, I’m competing in the Round the Island Race on the 1st of June:  and I’m going to need some crew.

If you’re interested in crewing and have some race experience, get in touch by twitter/email/spacebook/myface/comment below whatever.

As  just a little tease, you’ll be sailing with me on this:

A view of the bridgedeck from the bow roller.

In some posts in the very near future, I’m hoping to tell you a little about the construction project and the systems that we’ve developed for Ellipsis.

Electric propulsion for a sailing catamaran.

I keep having to search for this information which is buried in my emails, so I thought I’d post it here so it’s easier to find and I can update it as my thinking changes.
Firstly, the motor I’d like to use is:
http://www.electricmotorsport.com/store/ems_ev_parts_motors_pmac.php

This is a brushless DC motor, capable of 6hp continuous, 15hp peak.  I’d like to run it at 48v to minimise the current requirements (and therefore cable gauge, controller cost).  This means carrying a multiple of 4 x 12v batteries.

I guess we’ll need to fabricate something along the lines of this:
http://www.bellmann.nu/?nr=27
This incidentally, uses the far cheaper Lemco brushed motors.

the bellman UK agent seems to have a lot of good gear – I’ll be paying a visit to them at Southampton for sure.
http://www.mastervolt.com/marine/products/

The throttle component looks very fetching:
http://www.mastervolt.com/marine/products/accessoires/controlmaster-sport-td/

http://www.elecsolbatteries.com/products/Carbon-Agm-Deep-Cycle-Series/EL105F.html

These seem pretty good, with a 7 year guarantee, and if I carried 8 (£1200) with 4 under each bench in the saloon, that would be a shade under 200kg, and give 2 independent systems with a capacity of 840Ah (which at 30% discharge would run the motors at maximum continuous rating for 1.25hrs or 2.5hrs at 50% ).

If I went up to the 135Ah batteries:
http://www.elecsolbatteries.com/products/Carbon-Agm-Deep-Cycle-Series/EL135F.html

I would get 1080Ah with a total weight of 264kg for a cost of £1440. this would drive me at max engine rating for a little over 1.5hrs.

Elecsol claim that their batteries will still last a long time (>1000 cycles) even with 100% discharge, so the above is conservative estimates – not sure if the extra weight is worth the bother as electric is going to be used for getting in and out or we run the genset.

I could go cheaper with semi-traction leisure flooded cell batteries, however the life of the batteries would be limited, the discharge rate would be much lower than tha AGM batteries above, and the savings would not probably pay over time.

Ellipsis in flight…

Big news yesterday: Ellipsis’ tent came down and she took her first flight as a catamaran.

The tent is peeled back to reveal Ellipsis
The tent is peeled back to reveal Ellipsis
Lift off...

Ready for the second lift.

My first thoughts are: That bridgedeck cabin could have been *way* bigger. She does look a little like a guppy too, but I’m sure with some paint, it will all be okay.

The plan now is, paint, window for the front, interior fit out, install systems, drop a wad of boat tokens on equipment and get her fully wet. Target date for the celebrations is 30 July 2011. Is that realistic? I hear my self asking…  I don’t know, but it’s good to have targets.

Latest release (Baby Sharpe V5.0)

It’s been a tough couple of weeks. Karen has been in hospital as she had been having a small amount of haemorrhaging due to the placenta previa (a condition of pregnancy where the normally well behaved placenta is blocking the baby’s exit route necessitating the use of an emergency exit). This was not wholly unexpected, but nevertheless unwelcome. This meant that I was at home looking after all four of the kids. I had no idea exactly how much running around that involves. I have still been trying to get my work done, but that’s not easy when your day is so interrupted, and mainly involved me staying up way too late working ineffectively. Still I did manage to get though a few things.

Anyway, on Tuesday evening, I was summoned to the hospital as Karen had developed quite dangerous pre-eclampsia (another condition of pregnancy which is a collection of symptoms rather than any specific condition). Her blood pressure had rocketed and there was a lot of protein in her urine. The staff on duty managed to control her blood pressure, and decided that the best plan was to monitor her until the morning when the hospital would be at a higher staffing level which would be better for a pre-term baby. Cue a long sleepless night for both me and Karen.

By morning, Karen had developed quite acute pre-eclampsia, and was showing hyperreflexia, where a tap just below the knee caused her leg to quiver rather than just react once as it normally would. This was obviously bad for baby and for mother, so we were told that they would perform an emergency cesarean section immediately. It was off to don scrubs for me and a gown for Karen.
Karen and Noel in surgical getup

Baby (no name yet; we’re really bad at this naming thing) was born at 10:15am on the 16th February 2011. He weighed 2.288 Kilogrammes (that’s about 5lbs for those of you who have not yet adopted the metric system). There was much blood and gore, which I will spare you, but both are doing well. Karen is still at risk of eclampsia, and baby is in a heated cot to help keep him warm, so they are both still being monitored closely. I’ll keep you posted.

Testing Acegi Security with mock objects in Grails

I’ve always had the “will” to test my code in Grails, but have had little time to dedicate to writing tests, so at the first sign of difficulty, I’ve abandoned it.  This is bad.  I know it’s bad, but sometimes it can’t be helped.  Part of my difficulties have been due to me trying to get my tests to do something which is not unit testing.  It’s really easy to think you are writing unit tests when in reality, you are writing poor integration tests.  One area in particular that I’ve had trouble is with a small app that tracks time, and produces invoices, and recently I’ve had the luxury of being able to revisit the code and make amends for my previous omissions.   I want to share the revelations I’ve had with you here in the hope that it proves useful to someone.
Continue reading “Testing Acegi Security with mock objects in Grails”