Hacker’s diary

I was recently doing and small research project and got kinda tired of mechanically spitting out all those boring chants like using (var cmd = new SqlCommand(“SELECT foo, bar FROM […]

One not so bright day I connected my laptop to the home network and discovered that I lost name resolution. I.e., I could ping other computers by IP address, but […]

Following up on the WCF config theme. Back in April I wrote a config merger for our CAB application. General scenario was as follows: we had a central “shell” application […]

I had a “Java update available” icon on my task bar for a while. Finally I decided to install it. I thought it would be something like a service pack […]

I wanted to create a logger that writes either to a file, or to the System.Diagnostics.Trace. To my astonishment, I found that .NET class library does not have a TextWriter […]

I was playing with .NET 2.0 unmanaged hosting API. I am trying to customize assembly loading and “fix” some assemblies on the fly. I found an interesting gotcha, that I […]

I am playing with the binary format of .NET assemblies, described here. .NET metadata is stored inside regular Windows executable PE file. I explored PE file format in detail when […]