Archive for December, 2008

Most Popular Posts of 2008

Monday, December 29th, 2008

Time to look back on the year and pick out the most popular posts or topics based on visits: Building a Green Windows Home Server Common project settings for your Visual Studio solution C# Inline Methods and Optimization Gotchas: MSTest's [DeploymentItem] attribute The "It Works ...

Using the EntLib Validation Block with WPF Part 1: Attribute Based Validation

Wednesday, December 24th, 2008

Getting validation working with data binding in WPF is pretty simple as .NET 3.5 added support for IDataErrorInfo. You can read more about this on the WPF SDK blog and in the databinding overview article on MSDN. This post outlines how you can go about extending this validation approach to ...

Samsung NC10: Enabling Two Finger Scrolling

Sunday, December 21st, 2008

The Synaptics Touchpad on the Samsung NC10 supports two finger scrolling but the driver they ship doesn't enable this feature. Considering the touchpad is so small two finger scrolling sounds pretty attractive as it allows you to turn off the virtual scrollbars on the sides of the pad. Lucky for there's an ...

Gotchas: Debugging WPF Data Binding

Thursday, December 18th, 2008

I've been playing around with WPF data binding recently and was struggling a bit with how to debug it when things weren't working right. Translation: cursing a lot when everything was hawked and I couldn't figure out why. Suppose I have the following binding that doesn't work the way I expect. ...

Does Test Driven Development Really Give Better Results?

Tuesday, December 16th, 2008

Someone pointed me at this video today. Pretty interesting stuff... Nachi Nagappan discusses a study done over multiple teams within and outside of Microsoft on TDD Channel 9 talks with Nachi Nagappan about Test Driven Development (TDD): Does it work better? How better? ...

Samsung NC10 Sleeve Case

Tuesday, December 16th, 2008

I needed a soft case for my Samsung NC10. After some searching I settled on the Caselogic PLS-9 Ultra Portable 7-10" Laptop Sleeve. Buying this sort of stuff is always pretty hit and miss but in this instance the sleeve fits perfectly. The pocket on the front is big enough ...

Unity for Silverlight from patterns & practices

Monday, December 15th, 2008

A month or so back p&p shipped Unity 1.2 a dependency injection container for .NET. Just in time for the gift giving season comes Unity for Silverlight! So if you want to use DI as part of your Silverlight application today you can. Unity for Silverlight December 2008 Release (1.2) The ...

Switching Audio Input and Output With PowerShell

Thursday, December 11th, 2008

Switching between different audio input and output devices on Windows XP is pretty straightforward. You can do this using the Control Panel > Sounds, Speech, and Audio Devices > Sounds and Audio Devices tab (see right). It means opening this up and changing the appropriate dropdowns. I wanted to ...

Samsung NC10 Memory Upgrade

Thursday, December 11th, 2008

I upgraded the memory on my Samsung NC10 , largely because I've never met a computer I didn't like more when it had some extra memory. Laptop Mag as a great article/video on How to Add RAM to the Samsung NC10. The video does a great job of stepping you ...

Mouse Envy

Wednesday, December 10th, 2008

So Chris showed up at a meeting on Friday with a nice new Microsoft Arc Mouse. I caught a severe case of shiny object envy pretty much right there. It's a really interesting and unusual design. As you can see from the picture on the right the mouse folds up ...