A place to keep my thoughts on programming

Monthly Archives: June 2005

Heisenberg and Properties

There are two reasons that I’m using log4net with increasing, rather than decreasing frequency, despite the excellent debugger in VS.NET: When doing multithreaded programming, it lets me more easily see what threads are doing in parallel Heisenberg’s Uncertainty Principle as … Continue reading

June 13, 2005 .net, geek, rant

Partial Exposure

Quite by accident, I just came across a useful syntax feature of using internal classes and interfaces: Partially exposing an internal class outside the containing assembly. The basic pattern is this: Create your partially exposed class as internal Create an … Continue reading


Invoke vs. BeginInvoke

Been using the DebugLog code a bunch but kept having the occasional lock-up at shutdown. So i went back to the whole Invoke business. Problem is that while Invoke does make sure our update code runs on the proper thread, … Continue reading

June 12, 2005 .net

New InSimLib w/ source

InSimLib is now at version 0.5b. I consider it feature complete and have excersized it with a number of little Apps i’ve written, so I’m relatively confident it’s ready for use. If someone comes across any problem, just drop me … Continue reading

June 8, 2005 .net, geek

Revised DebugLog window

Ran into problems with the debuglog window code i posted. Basically, since the log watcher thread is not the form’s thread, you can run into deadlock. So i created a fully self-contained floating window, that properly manages the log writing … Continue reading

June 6, 2005 .net

Log4Net ScrollingTextBox

I use log4net for most of my apps. I did similar things in all the languages i’ve worked with. I just like having a way to verbosely spew information into the ether so that i could use for analysing code … Continue reading

June 1, 2005 .net