C# Inline Methods and Optimization

Tuesday, August 19th, 2008

Last night I was playing around with a vector class that's part of a scientific computation code I've been working on. It's a long story more on that later but it means I've found some of my own time to write code in. Anyway... The Vector class uses the automatically ...

Agile 2008 - Industrial Logic’s Agile eLearning

Friday, August 15th, 2008

One of the things that really impressed me at the conference was Industrial Logic's Agile eLearning product/project. I went to two good talks by Joshua Kerievsky (refactoring) and Brian Foote (patterns) both of which demo'ed their eLearning stuff. It's arranged in albums and makes lots of use of videos. ...

Visual Studio Startup Script

Sunday, June 22nd, 2008

Given that occasionally I'm prone to playing the odd game on my home computer I didn't want a lot of the services that are only used for development running all the time. Solution... use the Services tab in the Computer Management console and configure them to start manually. Then use ...

Core Wars

Thursday, June 19th, 2008

So Chris just sent me a link to CoreWars.org. It was sort of a spin off from tonight's ALT.NET Seattle dinner. This includes some scans of the original Scientific American article from '84. I remember my father bringing a copy of the article home and he and I talking about ...

Linq DataContext Logging with the Logging Application Block

Thursday, June 5th, 2008

The System.Data.Linq.DataContext class exposes a TextWriter as the Log property allowing you to monitor the SQL that's getting executed under the covers. The trivial usage of this is to simply set the property to Console.Out and watch the results. Given that I was adding the Enterprise Library 4.0 Logging Block to ...

Dependency Injection with Unity and Linq to SQL DataContexts

Tuesday, June 3rd, 2008

I've spent a few hours in the last couple of days playing around with ASP.NET MVC, Linq to SQL and now the Unity dependency injection (DI) container. Basically I wanted to start putting together a little N-tier application using the latest and greatest new stuff. I also got to use ...

xUnit.net 1.0 released

Thursday, April 24th, 2008

Brad's blog announces the release of xUnit 1.0 RTM. Well worth the wait I'm sure. Technorati Tags: Unit testing,TDD,xUnit

Improving Twitter with a Bayesian filtering client

Monday, April 21st, 2008

Twitter has been causing me some problems of late. Other than the fact it's been loosing tweets all weekend that is. The signal to noise is causing it to scale poorly. I'd like to follow more people but need some way to cut down on the amount of noise I ...

Moq - the next mock object framework

Sunday, April 20th, 2008

Daniel Cazzulino did a show and tell on Moq, a mock object framework that uses lambda expressions and fluent interfaces to try and improve the usually kludgy feel of creating mock objects. Scott Hanselman talks about some of the other approaches here. There really doesn't seem to be a completely ...

#region around implemented interfaces and code smell

Friday, April 18th, 2008

Some (not so) random surfing got me to this... How to get rid of the auto-generated #region for implemented interfaces - Daniel Cazzulino's Blog There's a setting in VS that allows you to turn off the #region generation when using VS's implement interface feature (ALT-SHIFT-F10). 99% of the time ...