1/4 Through Code Camp Christchurch

And all is well.

Enjoyed Darryl’s Lap Around Visual Studio 2008, John-Daniel’s C#3.0 New Features, I watched a bit of both of Pat’s Lap Around SQL Server 2008 and Nathan’s Windows Server 2008.

Lunch was fantastic, 6” sub, orange juice, and a biscuit from Subway, hmmm very nice.

I’m currently missing Andrew’s ASP.NET Dynamic Data Controls, but am not crying too hard, as I’m just not that much of a web guy.

It’s Movember

We are now in Movember, so all red blooded New Zealand males should be growing a Mo. Conor and a few lads from work are in a team CTCT Bandidos. Hmmm, I’m still undecided, it’s a good cause. Anyway here’s Conor’s blurb:

During Movember (the month formerly known as November) I’ll be growin a Mo. Why… Every year in New Zealand 2,656 men are diagnosed with prostate cancer and about 600 die of the disease, making prostate cancer the second largest cause of male cancer deaths, after lung cancer. The average life expectancy of a man in New Zealand is 4 years less than a woman.
To sponsor my Mo please go to www.movember.com/nz/donate, enter my registration number which is 135894 and your credit card details. Or you can sponsor me by cheque made payable to the “Prostate Cancer Foundation of New Zealand” clearly marking the donation as being for my Registration Number: 135894. Please mail cheques to: Movember, PO Box 87 150, Meadowbank 1742, Auckland. All donations over $5 are tax deductible. All donations are made directly to the Prostate Cancer Foundation of New Zealand who will use the funds to create awareness, increase support networks for those men who suffer from prostate cancer, fund research and scholarship programs.
Thanks for your support, Conor
More info is available at www.movember.com.

Curse of the Azure Bonds Code Wheel Copy Protection

This is Javascript version of the Code Wheel copy protection used in Curse of the Azure Bonds

Select one of each the Espruar and Dethek runes to see the resulting codes.

CotAB code wheel runes
CotAB code wheel runes

Path123456

-..-..-..

- - - - -

………

  // <![CDATA\[ <br>var espruar = -1; var dethek = -1; function SetRune(runeSet, runeId) { if( runeSet == 0 ) { espruar = runeId; } else { dethek = runeId; } if( espruar >= 0 ) if( dethek >= 0 ) { for(var i = 0; i < 6; i++) { CalcResult( "dashdot"+(5-i), espruar, dethek, 0, i ); CalcResult( "dash"+(5-i), espruar, dethek, 1, i ); CalcResult( "dot"+(5-i), espruar, dethek, 2, i ); } } } var codeWheel = "CWLNRTESSCEDCSHSISERRRNSHSSTSSNNHSHN" + "LAASRDAIILIDSUGADAEEOEGRLSELIITESOIO"+ "LRUNIMMORIIGRRIUPTIIUELIMLHMIXACGRIL"+ "Z0LIOHEUVNODSGEOGXYWISIOCRARLRARRHOI"+ "AMTELRLUIYNAEOOITOUELRREREUIMADPPFAB"+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890"; function CalcResult(id, espruar, dethek, code\_path, code\_row) { var code\_index = espruar + 0x22 - dethek + (code\_path * 12) + ((5 - code\_row) << 1); while( code\_index > 35 ) code\_index -= 36; while( code\_index < 0 ) code\_index += 36; var index = (code\_row*36) + code_index; document.getElementById(id).innerHTML = codeWheel.substring(index,index+1); } <br>// ]]>

Windows Media Player UI Bug

I’m writing my bug report here, as I couldn’t find where to report this bug.  Any insight to where/how to report Media Player bugs would be good to know.

  • When you view you songs in Expanded Tile mode

    Putting Windows Media Player in Expanded Tile mode
    Putting Windows Media Player in Expanded Tile mode
  • You get a grey mouse over affect on song titles

    Windows Media Player UI fine
    Windows Media Player UI fine
  • But when you have the display horizontally scrolled the mouse over draws to the original position, not the scroll adjusted position.

    Windows Media Player UI bug
    Windows Media Player UI bug

Home Building update

Following on from the Labour Day Laboring post,

Harvey and I have:

  • Pulled all the skirting board off
  • Found that the bottom of the wall framing (sits on joists) was rotten on the south and west (box window) wall
  • pulled of the weather board on the box window to find it was mostly rotten also
  • replaced all damaged wall base beams on west wall
    West wall base beams
    West wall base beams
  • replaced the framing of the box window
    Box Window framing replaced
    Box Window framing replaced
  • put the floor joist that ran along west wall in place, thus the reason for fixing the above west wall while access was there
  • removed all weatherboards on the west wall
  • replaced one west wall stud that was damaged
  • called in a builder to replace the structural corner studs that are damaged/rotten

Would be interested to know if there is a name for the bottom of wall framing board, and the name of the board that sits on the foundation.

Labour Day Weekend Laboring

I decided to spend the Labour Day long weekend to investigate the 1cm gap between the floor and wall that had appeared in our bedroom.  With Harvey’s help we had a plan that this could be done over the Sunday and Monday, which coincided with his days off.

After removing the lament floor, the padding/insulating layer, and smoothing 3mm MDF layer, we found the problem. The floor was rotten. So we removed it.

Giving us this unwanted stuff:

Floor boards junk
Floor boards junk

And a nice spacious area to relax in:

Floor boards gone
Floor boards gone

After four hours was wasted traveling to all Christchurch’s hardware shops in search of imperial sized beams, we found them at the last place we looked (and could think of looking at). Two days later we have got the two beams replaced, and two joists in place. Thus giving the room this look.

New beams and two jousts in place
New beams and two jousts in place

Work was slowed, by finding the bottom wall beams were also partially rotten so they needed replacing before inserting of the joists. So it has turned into a very slow project. Luckily our bed fits in the alcove of the dinning room nicely.

Boot Camp Puzzle released

Peter announced the Boot Camp puzzle Dave and I worked on. The main prize is a Microsoft Zune, I wonder what colour it is?

I can’t compete of course, but I have started a mine’s faster than yours thread on the mailing list, in the hope of spurring on some innovative data structures usage.

My solution is currently running at 610ms (wall clock) to build the data tree, and then search it. There are few more new’s that can be removed, but I’m not sure of the trade-off between speed and ugly code. I guess I’ll just have to find out.

Better than Halo 3

Better than Halo 3 is having Wolf ET working again. Not sure what Xtra/Telecom have done, but I’m now getting <100ms pings to some NZ/AU servers. But the numbers are ~0 on most those servers, so I’ve been playing on et.evilsmurfs.com (~200ms ping). It is an etpub server, with XP save on, and a simple 3 standard map rotation. Very fun to have gaming working again… still using the handle Schit

It’s only better than Halo 3 because I don’t have an XBox 360 or any version of Halo.  I’m happy if anybody else wants to resolve that problem.