Syringe.Net.Nz
Irregular Injection of Opinion
RSS 2.0|Atom 1.0|CDF

 Thursday, November 03, 2005
Putting a sorted list into columns in XSLT

So you have an ordered list of things you want to put into two columns via XSLT.

I've always done this a very hard way in the past using recursive stack popping logic.

Here's a super easy way to do it.

<tr>

<td width="50%" valign="top">

<xsl:apply-templates select="item[(position() mod 2) = 1] " mode="child-categories"/>

</td>

<td width="50%" valign="top">

<xsl:apply-templates select=“item[(position() mod 2) = 0] " mode="child-categories"/>

</td>

</tr>

|Thursday, November 03, 2005 3:53:38 AM UTC|Comments [11]|    
 Wednesday, October 26, 2005
Look What You Can Do With ASP.NET Two.....

Now this will be about the first and only time I post a friendly link to a Christian Web SIte.

But, one of my team mates here @ Kognition is a keen member of the Christadelphian church here in Dunedin and has put together a pretty kick ass wee site for his church in ASP.NET 2.0. He reckons it's childs play to use.

It even picks up the bible readings off a web service!

Anyway... take a look. Feel free to ask in the comments how any of it was done.

Be sure to check out the Joseph Movie:

“just for a little fun, one weekend we decided to travel down to Gore and film our rendition of the famous Bible story of Joseph.”

.NET|Wednesday, October 26, 2005 8:01:27 PM UTC|Comments [2]|    
 Monday, October 24, 2005
The New National Radio

The past few months have seen a number of GREAT changes to Nat radio.

Gone, for the most part, are the stuffy old fogies 'music' shows on weekday afternoons. Far more great documentary content.

Was listening today and, AT LAST, they have launched a new website with live streaming and archives of all their shows for at least 7 days.

And they have RSS feeds that you can podcast off :-)

Maaaarvelous!

Human Aggregation|Monday, October 24, 2005 7:02:21 AM UTC|Comments [16]|    
 Friday, October 21, 2005
Developer Express Support Rocks!

OK... so we use the Developer Express Components in some of our projects and we recently found an issue with their reporting library. They had it resolved and a patch delivered to us within a week....

IMHO that's pretty impressive service.

Well done Dev Express.

.NET|Friday, October 21, 2005 3:16:35 AM UTC|Comments [14]|    
 Tuesday, October 18, 2005
Another MS/Kognition Case Study

Our work with the National Poisons Center www.toxinz.com has been published as a MS Case Study

.NET | Kognition|Tuesday, October 18, 2005 8:59:28 PM UTC|Comments [128]|    
The Finalizer Case Study Is On MS.Com

http://members.microsoft.com/CustomerEvidence/Search/EvidenceDetails.aspx?EvidenceID=13423&LanguageID=1

This is not just any old boring case study... becuase The Finalizer is a .NET Powered Battle Bot. As seen @ PDC.

.NET|Tuesday, October 18, 2005 8:56:14 PM UTC|Comments [1]|    
Intensity Phase

So. I've kind of plateaued on the weight front but am still seeing pretty good body shape changes.

Currently sitting around 103.5 kgs.

I've decided to lift my intensity for a phase of about 4-5 weeks. This means:

  • Twice a day, every day exercise. Ideally around an hour on most days. Trying to lift my proportion of time in my MAX heart rate band (170 bpm +)
  • More weights. I'm focussing on pushing reasonably high reps still.
  • Pretty intensive supplementing reigime*. I started a creatine loading phase on Sunday night. I'm doing twice a day protein shakes (Gymeez OEM stuff). I'm also back on the thermogenics (I know, I know!) but they do give you a kick in the pants.

Anyway. Will be trying to blog about progress a bit more. Eating well at the moment which is good. Probably still need to lift my fluid intake. Anyone got any tips to enforce good water drinking habits?

* In case you think I'm just replacing one breed of processed shit with another I am easting well for main meals.
Typical day:

Breakfast
4 Weetbix, Fresh and Fruity Yogurt, Protein Powder. (Need to add more fruit and veg here)

Lunch
Sachet of Seafood Chowder (not too creamy and fatty variety), chopped cooked lean chicken breast.

Dinner
Ultra lean venison, green slad, corn and bean salad.

Snacks
Nuts- Walnuts, Almonds, Hazlenuts, Pecans, Brazil Nuts
A bit of Gatorade Energy Bar

Gettin Fit|Tuesday, October 18, 2005 6:56:12 AM UTC|Comments [25]|    
Best Thing About The New Govt...

...is...
The two new 'In everything but name' Ministerial posts.

Jeanette Fitzsimplesimons is the new Minister (in everything but name) of Solar Water Heating and Rod Donald is the new Minister (in everything but name) of Buying New Zealand Made.

As John Cambell would say....... Maaarrrrvelous.

Politics|Tuesday, October 18, 2005 1:45:53 AM UTC|Comments [287]|    
 Monday, October 17, 2005
Tips For Resolving WWF Build Errors - Beta 1

So the WWF tools for VS.NET 2005 have some 'issues' that can rear their head as strange build errors.

The symptom is that your solution, which has no syntax errors at all, sometimes fails to build and just spouts random bollocks.

What seems to be happening is some wierd caching of types by the designer- reason being is that the designer has to build your custom activities at design time so that you get a nice design experience.

So here are a few tips if you are seeing wierd build errors.

#1. If you are closing VS.NET and/or your solution, make sure that all designer and code documents are closed.

#2. If it's behaving strangely have a crack and building some of the key projects (communication service interfaces, services and activities) individually.

3#. If none of that works, close all your documents, close VS.NET, reopen and rebuild the solution as soon as you re-open.

.NET | Windows Workflow|Monday, October 17, 2005 7:57:46 PM UTC|Comments [6]|    
 Thursday, October 06, 2005
Trending Down.....

No not the ASX and NZSX dummy... my weight- in fact I ws up on the stocks I purchased yesterday but I've pretty much quit my NZX holdings (not they they were huge anyway).

Anyway, weight.
103.2 yesterday morning.

Tredning down and hopefully on target for sub 100kg before Xmas...... Still haven't quite saved the $$$ for my Lasik yet so I've got a bit more time....

Gettin Fit|Thursday, October 06, 2005 10:29:04 PM UTC|Comments [153]|    
 Tuesday, October 04, 2005
Didymo in the Buller and Clutha/Hawea

Yup... unfortunatly Didymo has been found in both the Buller and Hawea catchments.

Details at the NZRCA site.

http://www.rivers.org.nz/

the didymo issue for kayakers

Adventure Sports|Tuesday, October 04, 2005 3:38:00 AM UTC|Comments [467]|