Mad Props!

Omniscience is just a Google-search away.

Login

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

Blog

Type Aliases in C#

Under the category of "you learn something new every day": While watching dnrTV this morning, I saw something that I've never seen done in C# before. I knew that it was possible to make an "alias" for a namespace in C#. For example, if you have a complex namespace like MadProps.Windows...

Continue reading →

Faking Immutability with Extension Methods

I've been reading Eric Lippert's series on immutable collections (start here with part one ) over on his blog, Fabulous Adventures in Coding . I don't understand everything he writes, but it's still a fascinating read. This morning on my commute I was wondering whether it would be possible to "fake"...

Continue reading →

2007 Blog Stats

So I'm a day early, but here is a round-up of Mabsterama's blog statistics for 2007. You can make your own, if you run Community Server, by running the query in this post . I made 121 posts this year - about half of last year's count . I guess that's a sign of being busier at work and more tied up in...

Continue reading →

Xmas Haul 2007!

Back by popular demand! The 2007 Christmas Haul!!! Another good year this year, so let's get the ball rolling with the stuff I got from Sal this morning! I'll have to omit the "Summer Heights High" DVD since it's not available from amazon.com, and I won't bother listing the five or six shirts she got...

Continue reading →

Type Conversion - ToXxx Method or explicit?

In my recent work with LINQ to SQL I've had cause to convert between types quite a bit. Usually this involves taking a class that was generated from LINQ to SQL (mirroring the results of a stored procedure or the structure of a table) and converting it to one of our domain objects. The way I've approached...

Continue reading →

Open Source Pain

I just listened to the Open Source Panel episode of .NET Rocks! and was interested in one of Richard's comments: That one of the major pain points of open source is that when you have an idea for a feature or fix, the response is often, "if you want it, write it yourself!" This reminded me...

Continue reading →

Stupid LINQ Tricks

Actually, not stupid at all. Quite amazing, in fact. Check out this post on Mitsu's blog: Prime number product using Linq I'm really loving the idea of extension methods and the query syntax that LINQ provides. I haven't had too much of a chance to play with it yet, but reading posts like that one certainly...

Continue reading →

SharePoint Search Service Crash

What a way to be greeted by SharePoint on a Monday morning: cannot connect to the configuration database Damn. It was working Friday afternoon - something happened over the weekend. I remoted into the box and checked that SQL Server was running, which it was. Checked the application event log and noticed...

Continue reading →

Xbox 360 adds DivX Support

Overnight the Xbox team blogged about the video features in the update due out next week, officially announcing that the 360 will finally support DivX video . For me, this "completes" the 360. It pretty much does everything I need it to do. Bravo, guys....

Continue reading →

DB Object Quick Find - Wow!

Joseph Cooney has just released the first version (with source code) of his new DB Object Quick Find add-in for SQL Server Management Studio . I'm sure he won't mind me stealing his bandwidth to show you a preview: Wow - this is good stuff! The database I develop against here at work has a metric crapload...

Continue reading →