Short notice of server flip…

I know, I know… it’s been so long since I posted anything that I probably don’t have any readers anyway (if I had any in the first place ;-) , and this shouldn’t have a any disastrous effects on the site… but… I’m flipping the over to a new server later today so there may be a temporary glitch in the Matrix.

Please remain calm, do not be alarmed… DON’T PANIC service will NOT return to normal after the switch… I may actually start posting here again!

Stay tuned… or tune in… or whatever you need to do :-)

Update: Having just updated the database I’m now all switched over. With the exception of a minor outage courtesy of a duff plugin everything went very smoothly.

New Laptop… Finally!

A while back I posted about my long search for the perfect laptop. After a great deal of research and indecision I had settled on a Dell Vostro. Although it didn’t meet my criteria for a slim, sexy or super cool laptop it did meet my requirements on cost and features.

Well for various reasons I delayed the actual purchase until a couple of weeks ago by which time Dell had released the much slimer, sexier, dare I say “cooler” XPS M1530, the big brother to the M1330 that I had drooled over some months ago. So I’m pleased to say I am now the proud (ok, MAC fanboys, as proud as a PC owner can be!) owner of a top of the line Tuxedo Black XPS M1530.

It arrived a couple of weeks ago, the day I was scheduled to leave for a 10 day holiday in the South Island and having just returned I am yet to really get to put it through it’s paces, but it looks pretty nice. It weighs less than it’s Insperon and Vostro cousins and has a much nicer finish. The build quality is a little suspect in places, the camera bezel above the screen is fairly flimsy and looks like it is a prime candidate for breakage and I actually had to remove some screws and refit one of the bottom panels when I first unpacked it as they hadn’t been slotted in correctly. It performs pretty well and battery life seems good for both the 6 cell and 9 cell batteries. I’m still not convinced about the glossy screen but it seems that the non-glossy versions are getting fewer and further between.

I’ll post some more thoughts as I get the laptop setup and start using it but I’m pretty pleased with what I’ve seen so far. I wouldn’t call it “Legendary Design” but hey, it’s designed and it looks pretty good amongst it’s competition so I’m not complaining.

XPS M1530

Conditional Comments in XSLT

I’ve been meaning to blog this for a while having come across the problem on a project last year. When including conditional comments in a page rendered using XSL templates the comment has to be structured in a way that doesn’t break the stylesheet. While this sounds simple it took a few attempts to get a working solution.

<xsl:comment>[if lte IE 6]<![CDATA[>]]>
   &lt;link rel="stylesheet" type="text/css" href="styles.css" /&gt;
<![CDATA[<![endif]]]></xsl:comment>

The comment must be structured inside an <xsl:comment> block which, when rendered to the browser, becomes a standard html comment and the greater than and less than brackets on the stylesheet link itself must be entered using their respective character entity codes “&gt;” and “&lt;“.

2007 – My Year

So all too quickly another year draws to a close, for me a busy year, a year of change.

The year started with a new job, then in February I was my friends best man and in March we moved into our new house. We spent a couple of months travelling in Thailand, the UK and Italy through June and July and have spent the remaining months working on our new home. I have a new niece (in NZ) and a new nephew (in the UK) and am soon be a father myself.

Work wise, I have been busy improving my CSS and JavaScript mojo and have spent a lot of time wrangling MOSS.

So here’s looking forward to 2008 and all the new challenges and discoveries it will no doubt throw my way. Hopefully I’ll be able to devote a little more time to maintaining this blog!

Stop SOPA