Where Not to Stand

Here’s a wonderful short video of a scale model 747 taking off and landing–and a sterling example of why spectators at R/C events should carefully choose their vantage point.

Fixing a Date Formatting Bug in ASP.NET 2.0

Sometime between beta 2 and beta 3, a bug crept into ASP.NET 2.0’s BoundField class that prevents date formatting from working. In the following declaration, the “{0:d”} is ignored: The bug was slated to be fixed in the RTM release, but alas, it wasn’t. There is, however, a work-around: set the BoundField’s HtmlEncode property to…

Was 9/11 an Inside Job?

I was taking a break from writing this morning and googling the Web for articles on centers-of-lift and centers-of-gravity in airplanes when I came across a thought-provoking piece that has nothing at all to do with airplane design. It argues that the WTC collapsed on 9/11 not due to airplane strikes, but to controlled (and…

The Ultimate R/C Model?

Check out these photos of an R/C model of the new Airbus 580. To say it’s huge is an understatement! Better yet, check out this video of it flying. I’m trying to find information about the builder, but so far I’ve had no luck. Those are real gas turbine engines under the wing, and there…

Reader Needs Hacking Help

Readers submit some great e-mails to my Wicked Code column in MSDN Magazine, but every now and then I get one that makes me wonder whether to laugh or cry. Here’s one that arrived today: hi cna u help me how 2 hack on to someones msn acount with out downloading anythink cause i need…

Launch! (And Why It Sometimes Pays to be a Geek)

I’m in San Francisco for Microsoft’s worldwide Whidbey launch event, which took place today. Wintellect built a lot of the content for the launch–the slides and demos that the presenters used–and we were here to make sure everything went smoothly. Rich Hundhausen, Steve Borg, Jason Clark, and I poured a lot of blood into this…

Heavenly Body

No, I’m not talking about Jeffrey Richter. “Heavenly Body” is my R/C B-25, which is finally finished and is almost ready for its test flight. The paint scheme comes from the real Heavenly Body, a B-25 manufactured near the end of WWII that still flies today. Mine has a wingspan of 85”, so while it’s tiny…

Notepad Won’t Read a 929MB Text File

Well, I found out tonight that Notepad won’t open a 929MB text file. SQL Server 2005 Management Studio won’t, either, which leaves me in a pickle. Here’s the story. A while back, I installed a beta build of SQL Server 2005 on my desktop PC. It converted my SQL Server 2000 databases into SQL Server…

ASP.NET 2.0 GridView Fix

ASP.NET’s GridView control suffers from an irritating design flaw. When a GridView contains a ButtonField and one of the buttons in the column is clicked, there’s no obvious way to determine WHICH button was clicked–that is, to get a reference to the row containing the clicked button. I’ve seen all kinds of work-arounds, some better…

Now Available: The ASP.NET 2.0 Provider Whitepaper

I spent several weeks this summer writing an ASP.NET 2.0 provider toolkit under contract for Microsoft. The centerpiece of the toolkit is a 120-page whitepaper documenting the provider model and offering lots of samples. It’s now online (in 10 parts) on MSDN at the following locations: Introduction to the Provider Model Membership Providers Role Providers…

ASP.NET 2.0, SQL Server 2005, and SQL Cache Dependencies

If you used ASP.NET 2.0 SQL cache dependencies in early betas of the product with SQL Server 2005, you may be surprised when your code breaks on newer builds. You now have to call System.Data.SqlClient.SqlDependency.Start before using SQL cache dependencies. A good place to do it is in Application_Start. There’s a helpful document on MSDN…

It’s a Bit of a Hack, But…

I’m working on an ASP.NET 2.0 project that uses CSS to stylize the UI. I needed to include <COLGROUP> elements in the output from GridView controls, but alas, GridView doesn’t support <COLGROUP>. (The ASP.NET team is aware of this, and a future version of GridView will, in all likelihood, support <COLGROUP>.) So I built a quick-and-dirty…