Mad Props!

Omniscience is just a Google-search away.

Login

You're reading Mabsterama, the weblog of Matt Hamilton. Enjoy your stay.

Blog

Concatenate a list with ToConcatenatedString

I've been posting a few extension methods here lately, so I thought I'd throw another into the mix. This set of ToConcatenatedString methods will take a list of objects and return a delimited string. It gives you the option of specifying your own delimiter (the default is ", ") and your own...

Continue reading →

Enter to Tab as an Attached Property

Updated! As suggested by Eric Burke in the comments, I'm now handling the "Unloaded" event and unhooking the event handlers there, so the elements are properly cleaned up by the garbage collector. Thanks Eric! A while ago I posted about a trick to make your WPF applications treat the enter key as a tab...

Continue reading →

Collection Implementations as Dependencies

We're working on a series of classes here at work which form a domain model which will some day be accessed from both a PC client (using Windows Presentation Foundation) and a mobile client (using the .NET Compact Framework). Targeting two different frameworks from the same set of classes is usually...

Continue reading →

Usability of Pigeon-Holes

Everyone knows what a pigeon-hole is, right? It's a term for the trays or boxes in offices that are assigned to people or groups so that you can drop mail off for someone without having to know where their office is. I'm defining the term because I honestly don't know if it's an Australian term or if...

Continue reading →

Type Inference for Constants

In C# 3.0 (part of .NET 3.5) we were introduced to a new keyword: var . The var keyword enabled a really nice feature called "type inference", whereby you can declare a variable without having to explicitly state its type. In trivial examples like this, it doesn't feel like it saves you much: var i ...

Continue reading →

Campaign for a Free EPG in Australia

Last week saw the launch of MyEPG.com.au , a web site devoted to the freeing of the electronic program guide (EPG) data for Australian free-to-air digital TV. As I've written in the past, the commercial FTA television networks here in Australia actually use copyright law to protect their guide data....

Continue reading →

Video Time!

Firstly, the reason why I went to bed last night feeling very angry (video courtesy of Kotaku Australia ). Thanks for nothing, Australian politicians (not to mention the host, Tony Jones, who is usually awesome): ... and secondly, an interview with two of the guys from Team SOAK , who took out the Imagine...

Continue reading →

The 60th Birthday Party and The Dark Knight

This weekend was pretty busy for us. On Saturday night we celebrated my father-in-law's 60th birthday party, a party that Sal had been organizing for months. We had invited friends and family from all over the place, and it went off without a hitch. An hour or two into the party, Sal and I were relaxing...

Continue reading →

Does Your 404 404?

Remember my awesome custom 404 page built using Graffiti's Chalk theme engine? I found out today (thanks to Google's webmaster tools) that it had a problem - it was actually returning HTTP/200 (OK) as its response code. That meant that any robot visiting an address on my site that doesn't exist would...

Continue reading →

Graffiti Similar Posts

At lunchtime today I was poking around and discovered this tip from Steve Smith (presumably not the minister for foreign affairs ). I've implemented it, and it works a treat, so now you get three similar posts at the bottom of the page (just before the comment section) in case there's some more reading...

Continue reading →