Author Archives: ian

Beware of using stack-based COM objects from .NET

COM objects that don’t have the expected lifetime can cause chaos when combined with .NETs garbage collection system.

Posted in .NET, COM, Debugging, Software Development, WinDbg | Tagged , , , , , , | Leave a comment

A WPF custom control in F#

What F# language and syntax features are required to implement a fundamentally object-oriented WPF custom control?

Posted in .NET, F#, Software Development, WPF, Windows | Tagged , , , | 2 Comments

Don’t do anything in DllMain… Please

Thinking of adding some code to your DLLs DllMain function? STOP!

Posted in Debugging, Software Development, Uncategorized, Windows | Tagged , , , , | Leave a comment

Generating and plotting random numbers

An example of generating random numbers in F# and visualising their distribution using the WPF charting control.

Posted in .NET, F#, Finance, Visual Studio, WPF | Tagged , , , | Leave a comment

Programming is like a bad analogy

The joy of programming can be a difficult thing to describe. I take a look at some of the bizarre things people have compared it to.

Posted in Rant, Software Development | Tagged | 4 Comments

Pinned DataTips in Visual Studio 2010 Beta 2

I’ve just noticed a nice little feature in Visual Studio 2010 Beta 2: pinned DataTips. Values displayed in the debugger as you hover over a variable can now be pinned in place and remain aligned with the source. They can even have annotations added… Tasty!

Posted in Debugging, Usability, Visual Studio | Tagged , | Leave a comment

Comparing lambdas in C++ and F#

Lambdas in C++ and F#: compare and contrast.

Posted in F#, Software Development, Visual Studio | Tagged , | 1 Comment

FormatException in WPF DataBinding

A FormatException is generated by the WPF DataBinding diagnostics if the original exception text contains curly brackets.

Posted in .NET, Uncategorized, Visual Studio, Windows | Tagged , , , , | Leave a comment

TwitterVision: How Twitter transformed TV

How has Twitter transformed the act of watching TV?

Posted in Rant | Tagged , | Leave a comment

What a response!

Some comments on the massive response to the “7 signs” blog post, and a couple of snivelling apologies.

Posted in Uncategorized | Leave a comment