Feeds:
Posts
Comments

Archive for May, 2007

Bike The Drive 2007

The night before the big ride, I started getting worried. I had been pumping up “Bike The Drive 2007” with my 3 yo daughter Grace warning her that although it was a long ride, there would be a lot of cookies and juice and we’d bring balls and play catch in the park at the rest stops. We’ve been building up towards a 30 mile ride by doing shorter rides in the Doodlebug, and I was confident that she was good for at least 90 minutes and we’d bail at 15 miles if we had to. Saturday night before the ride however, there was a line of thunderstorms from Chicago to Rockford and they were predicting 80% of thunderstorm activity in downtown Chicago until 7:00 AM Sunday morning.
(more…)

Read Full Post »

Recently I deployed an ASP.Net web application that was designed to gather complex form data and store it in a database. The object model was large and complex enough that it couldn’t be stored in View State, given the network within our organization. So instead we stored the form data in Session state. Simple enough, server memory is comparatively cheap. During 10 months of requirements meetings however, it never came up that users might want to have multiple forms open at the same time, each looking at different instances of the business data. And this week, precisely that happened.

What does that spell? That’s right: M-A-Y-H-E-M.
(more…)

Read Full Post »

Mos is quoque effrego?

I always thought that Lorem Ipsum was random text, but accourding to the site http://www.lipsum.com, it is actually from a a book by Cicero called de Finibus Bonorum et Malorum. It’s important to use Lorem Ipsum in development. Just yesterday, I sent a screenshot of a web application to a user in an effort to educate the user about proper usage. I used a test case to fill the screenshot with realistic information, and didn’t notice that another text box in the application contained the words, “Is this going to break too?” Oh well. I pointed out to the user later that the mere existence of the text in the screenshot implies that the answer is “No,” but the damage was done.

So always test with Lorem Ipsum. Just make sure it doesn’t contain the phrase “Mos is quoque effrego?”

Read Full Post »

I like GridView, but using it is a sometimes like getting behind the wheel of a 747 without ever flying before.

I have a software tracking report to make that pulls data out of database using an SQLDataSource. Everything in the database is keyed on the computer name, so to make a list of installed applications across the domain, I do a GROUP BY on application name and version in the select statement. The report displays the name, version, and count in a GridView. To get the list of computers where a particular application name and version instance is installed, I query the database on GridView select. But since it’s a GROUP BY, there is no permanent primary key, and so I need to know both the application name and the version for the query.
(more…)

Read Full Post »