Hacker’s diary

Text Template Transformation Toolkit (T4) is a code generator built into Visual Studio 2008 and 2010. Yes, you have it now on your machine 🙂 It was proposed to me […]

I had an interesting bug the other day. I wrote a foreach loop along these lines: foreach (var entry in controlsByName) {     entry.Key.SomeEvent += (sender,args)=>{ProcessControlName(entry.Value);} } Looks innocent enough, […]

I am now using Internet Explorer 8 at work (corporate policy), and I noticed that sometimes I cannot find the tabs I open with “open link in new tab”. Firefox […]

I’ve got a Ruby book “The Ruby Programming Language” by Flanagan and Matsumoto (or should I say the Ruby book?) as a New Year present. I am only starting the […]

What are the options? This is what I found so far: * Dynamically compile C# or VB.NET code into an assembly and execute it – I used this route before […]

Just installed Microsoft Visual Studio 2010 Beta 2 in a virtual PC (Microsoft Virtual PC 2007). It is kinda slow, but it works. In the process I created two “baseline” […]