Archive for August, 2004

Fun reading…

Monday, August 16th, 2004

This is the list of bugs fixed in Windows XP Service Pack 2.

Bootstrap

Thursday, August 12th, 2004

Dave Winer says Bootstrap a lot.

Windows Forms control positioning

Wednesday, August 11th, 2004

I had something very strange happen to me in deploying a fairly simple Windows Forms app recently:  Some of the controls ended up somewhere other than where I put them. I have no idea why.. I was setting the position of the most of the controls myself by setting the Left, Top, Width and Height […]

Interesting benchmark: Reading lines from a text file

Monday, August 9th, 2004

The obvious way to read lines from a text file is simply to open it and call ReadLine until you get nothing back: StreamReader r = File.OpenText(fileName); while (true) { string thisLine = r.ReadLine(); if (thisLine == null) break; // Process the line here } r.Close(); Reading a million lines from a text file this […]

Window Transparency

Friday, August 6th, 2004

When you’re creating an application with non-rectangular windows, there’s the “old way” (associating a region with the window) and the “new way”, using a transparency mask. The “old way” works pretty well, but it’s a pain to set up.  Creating a transparency mask is easy, and setting your form up to use it is easy […]

Rear Projection TV vs Front Projection

Sunday, August 1st, 2004

I recently moved, and as part of the move, I decided to switch from a front projection home theater to a traditional rear projection TV. There is some good information on the net about this.   Here’s some notes based on my experience with these things.   Among the drawbacks of a projector: They take […]