# Saturday, August 16, 2003

I am sitting in my office at Corzen in Union Square, having just brought the servers back up. It has been a long 40 hours or so.


Thursday 4:11 pm. Corzen’s Office @ Union Square


I am oddly sitting in the server room working on a staging server when all the Uninterruptible Power Supplies (UPSes) start to chirp. I know that only badness will follow. About 30 seconds later, the power goes. Everyone is calm since we are in a very old and has a power outage every once in a while. So my business partner and Corzen’s CEO, Bruce Murray and I decide to go and get a few beers at the local bar to wait it out.


Thursday 5:00pm. Park Bar @ Union Square

As more people start to filter on in the bar, we realize that this is bigger than we thought. At first we thought it was just local to our building, then our general area, but then we heard about Canada and such. We immediately thought terrorism (we are New Yorkers) and ran back to the office and plugged a TV into a UPS and saw some CNN. We decide to all walk home, Bruce and Bob Plummer (our director of Indicator Services) both live in Brooklyn, so they left for a 5.5 mile walk over the Brooklyn Bridge.


Thursday 6:30pm. West 57th Street

I finally get home. Being the CTO, I was the last to leave the office and it only took about 45 minutes to walk home. Since it was mobbed with people and about 94 and humid, I was drenched. (I also had tix for a bway show that night, so I was dressed not in my typical shorts and tee shirt.) I peeled off my clothes and showered with all the windows open in my apartment for light. After my shower I was making some phone calls to my teammate Tom Halligan (who was in Long Island WITH power) and his wife stuck home on 11th Avenue without power and my buddy Richard Campbell in Canada for information. I get hungry around 8pm and go out to look for some food.


Thursday 9:45pm. East 89th Street

So my quest for food brings me to the east side where I actually hook up with my running partner and walk her home (she was walking home alone and I had a flashlight.) After I drop her off I walk down 5th avenue, all along Museum Mile and to my disbelief, I see stars! Yes total constellations, like I was in the woods. I can hear the crickets in Central Park. It was so strange just walking home in such darkness. When I mean pitch black, I mean pitch black. When I get home to my building there was a little party going on, cheese and wine set up, and chairs. Talked about my Everest trip with my building owners (who are Everest junkies and climbers themselves) and I helped a bunch of people up the stairs with my flashlight (good Everest training.) When I was done, I climbed the 14 flights to my apartment and went to bed.


Friday 4:14am. West 57th Street

I was awaken by the sounds of the power turning on! I turned on my AC and thought that the worst was over.


Friday 6:00am. Engineers Gate, Central Park

My running partner arrives and she is still without power. The whole east side of Manhattan is still without power. We run and it is nice and cool. When I get home I realize that just about 75% of the city is still without power. My phone goes out and the cell phone is spotty, very spotty. Bruce calls me and said that power is still not back in Union Square, don’t even think of coming in until it is. So I do laundry, clean my apartment and pack my bags for my Everest trip in the comfort of my air conditioning (I feel very guilty, but it was HOT).


Friday 4:00pm. Central Park South

I just completed a 30km circuit in 57:04 on my OLD bike. This was by far the best time I have ever had. Some friends come on over (who STILL don’t have power) and a good time is had by all. Total power is restored to the city by late evening. The subways still don’t work.

Saturday 12:00pm Corzen’s Office @ Union Square

The subways are open and I get down to the office and brought the servers back up. Life is back to normal.

posted on Saturday, August 16, 2003 7:46:54 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [1] Trackback
# Thursday, August 14, 2003

You can go home again…


Tonight was a major homecoming, for many reasons. I was born in Flushing, Queens and spent the first 18 years of my life four miles from Shea Stadium, home of the New York Mets. My late Grandfather took me to my first Mets game in May of 1977 (a loss against the San Diego Padres, I still have the ticket.) I also worked for the Mets as a stadium vendor from 1987 to 1994. So I have been to at least one Mets game every year since 1977, and from ’87 to ’94 I must have worked over 500. Tonight was my first and only game of this season. So as my pal Kyle and I traveled on the 7 train to Shea tonight to watch the Mets take on Barry Bonds and the San Francisco Giants it was a bit of a homecoming for me.


But despite what my teammate Tom Halligan says, this blog is not all about me. Tonight was a very special Mets game for Mets fans. Superstar Mike Piazza officially came off the disabled list after missing the last three months of the season. So tonight was Mike’s homecoming and first game as a Met since early May.


Let’s just say that this game was one of the best games ever. I have never seen Mike Piazza hit a home run and most of the games I go to the Mets lose. Not tonight. Mike hit a 2 run home run and two singles for 5 RBIs in his first game back. The place went wild.


In addition to killing the first place SF Giants 9-2 tonight, there was insult added to injury. Pitcher Steve Trachsel hit an RBI double! That never happens non-baseball fans. Steve also pitched 7 2/3 solid innings.


But wait there’s more. Smart ass Barry Bonds (how dare he compare himself to Babe Ruth) had a horrible night. He actually got a hit but was tossed out trying to stretch it to a double. Then in the 8th inning, they pinch hit for him! I think that the last time someone pinch hit for Barry was in 1986.


The only bad point of the game was at the 7th inning stretch when RD Mom Eileen Crain called to tell me that Scott Hanselman and myself are in trouble due to some emails we sent on a private alias. I told her that she should chill out (which made her more mad) and had to call Scott to tell him the deal and then he called her and then I called her when I got home. We all love each other again, but I think it is kind of funny that news can travel so fast, from Redmond, to Flushing to Portland in a matter of 2 minutes without the aid of a computer.


Homecoming was fun and congratz again Mike.

posted on Thursday, August 14, 2003 3:40:28 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [1] Trackback
# Wednesday, August 13, 2003

Ready for Tech*ED Malaysia


Next Friday I leave for Tech·Ed Malaysia held in Kuala Lumpur. This is the last major conference (and last TechEd) of the year for me.


We have a bunch of Regional Directors speaking:


Adam Cogan (Australia)

Tim Huckaby (US-San Diego)

Clemens Vasters (Germany)

Scott Hanselman (US-Portland)


Looking forward to some geek talk and time in KL with some of the other speakers and RDs. Looking forward to catching up with my buddy Adam Cogan, haven’t seen him since Dallas, far too long. I will get Scott Hanselman to do some drinking this time, no more lame crap from you Scott. Also looking forward to hacking some das Blog with Clemens while in KL (We will party too and his girlfriend, Pat, owes me a favor!)


I just got my machine all ready to go. Here are my sessions, the Stored Procedure session is the last time I talk about The Rozenshtein Method this year (and maybe forever if they let me talk about Yukon next year):

ASP .NET DataGrid Drill Down
Track: Developer Tools & Technologies   Code: DEV203
Room: Tun Dr Ismail A   Time Slot:
Tue, August 26 12:00 PM-1:15 PM
Stephen Forte
The ASP.NET DataGrid is an incredibly powerful and timesaving server control. Compared to "classic" ASP, with just a few lines of code you can load it with data from any data source. Formatting is accomplished by setting just a few properties. Gone are the days where you had to write lots of complex code to filter, sort and page through your data. In-place editing is also a breeze. This session will show you how easy it is to use the ASP .NET DataGrid and accomplish powerful .NET grids without sacrificing any flexibility and functionality.
.NET CF Database Development with SQL Server CE 2.0 ROI

Track: Enterprise Data Management   Code: EDM207
Room: Tun Hussien Onn A   Time Slot: Wed, August 27 4:00 PM-5:15 PM
Speakers: Stephen Forte
The decision to build an embedded application has been made. In today's environment, Return on Investment (ROI) so important that it is now a main decision making factor in deciding what platform to use. Choosing the platform that your developers can leverage their existing skills and code to build something on time and on budget is more important than a cool new language or feature. We will look at a case study of a .NET CF PocketPC application build for Professional NFL Scouts using SQL Server CE 2.0. See the ROI decisions for justifying the development effort, training the developers, leveraging current ADO code and libraries and maintenance decisions along with lines of code comparison to the other embedded tools.

Efficient and Secure Data Retrieval in Your Middle Tier Using Stored Procedures and ADO. NET.

Track: Developer Tools & Technologies   Code: DEV206
Room: Tun Dr Ismail A   Time Slot: Wed, August 27 5:30 PM-6:45 PM
Speakers: Stephen Forte
Using Stored Procedures is more efficient, secure, and easier to maintain than using in-line SQL in your application's middle tier. In this session we will look how to optimize using Stored Procedures for efficient and secure data retrieval in the middle tier of your web, windows, mobile and web services applications.

Using Regular Expressions in Windows Forms and ASP .NET

Track: Developer Tools & Technologies   Code: DEV315
Room: Tun Hussien Onn A   Time Slot: Thu, August 28 10:30 AM-11:45 AM
Speakers: Stephen Forte
Regular expressions, although popular in Perl and other UNIX/C-like languages, are unintelligible to those not familiar with them. Regular Expressions provide an incredibly powerful and compact way of matching and replacing text. Once you become serious about .NET, you'll find Regular Expressions staring you square in the face. They're there and they are very important, but the .NET documentation doesn't help much in learning about Regular Expressions and how to work with them in .NET. This session will introduce you to RegEx, using RegEx as data validation and manipulation.

posted on Wednesday, August 13, 2003 2:46:01 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] Trackback
# Tuesday, August 12, 2003

Strategic Inflection Point


Andy Grove, in his bestselling book, Only the Paranoid Survive, describes the nightmare moment every leader dreads--when massive change occurs and a company must, virtually overnight, adapt or fall by the wayside-- a “Strategic Inflection Point.” The arrival of the Internet was one such Strategic Inflection Point in the tech industry. I think that we are at another.


The Strategic Inflection Point is for consulting firms today and the issue is outsourcing off shore. Large companies are outsourcing almost their entire development work offshore. JPMorgan Chase just announced 50% of its IT will now be offshore (that is oh about 4,000 development jobs). I am not going to make the case for or against outsourcing, since it is happening anyway, apparently if you have a convincing argument against is, nobody is listening to it. So why fight it, it is happening and the jobs are not coming back (at least not to New York). This is why I left consulting in July 1999.


But wait, there is still money to be made in the contractor role. First let’s say that you are running a consulting shop today and are feeling the pinch of outsourcing. Let’s look at the notion that it takes 30% of the development effort to design the application, 30% to code, 30% to test and 10% to physically implement.


I always say that the strategic advantage you bring to the table in the 30/30/30/10 universe is the design. That is the MOST important phase of any project-period.  (Don’t make me go Steve McConnell on you!) What if you set up shop to do the 30% design and 10% physically implement?  You can make the case to do the design locally and then work with the outsourcers offshore to code and test. Set up a strategic partnership with several off shore players. Or better yet set up a JV. You can then take on a project management, relationship management and architecture guidance role. I have worked with overseas outsourcing and they tend to follow specs to the letter, so if your potential customer has made the decision to outsource overseas, they will be more inclined to do the design work very seriously.


Just an idea…

posted on Tuesday, August 12, 2003 8:24:02 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] Trackback

Mount Rainier called a threat

What were we thinking?


posted on Tuesday, August 12, 2003 2:20:22 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [16] Trackback
# Monday, August 11, 2003

The age old question. If you ever saw one of my TechEd sessions or WebCasts, you know that I am a big fan of using the DataReader, especially when you are doing Web DataBinding. I am all about the firehose, forward only cursor. Today I actually replaced a DataReader with a DataSet, so I think that I need to tell the world the story. J


So my app that runs each Sunday morning to get data over HTTP and regex out stuff was bogging down. What happens is that I have a DataReader on the client that grabs the URLs, RegEx patterns, etc from a table for the main application “loop” to process the URLs and save the data to the database. There are about 30,000 records stuffed into the datareader and the stored procedure that powers it has to do a join to the table I am adding data into on each iteration of the loop to make sure that if the process stops and restarts, I don’t reprocess any duplicate URLs.


So all of a sudden (this code has been in production for 15 months, and on .NET 1.1 for 4 months) I started to get timeouts when I read data from the DataReader. Randomly this would happen, maybe once ever few weeks. I never really tracked it down. So this week I would run the process and every 10th record would cause a timeout. It was a timeout when I tried to read data from the next row in the DataReader, on the 10 row. I start and stop and this happened a zillion times. I spent a few minutes playing with some settings, etc, but more of the same. Oddly enough, setting the command behavior of the command that filled the reader to SequentialAccess did not even let me read data from the first record, it returned an error saying that it can only look at data starting at the 10th row.


I have not discovered the problem here, but it must have something to do with the buffer, I must have been stuffing way too much data in there. So I said DUH, let’s use a DataSet. Well I never looped through a DataTable before, so here is how it goes:


Private void DataTableLoop (DataTable dt) {


   foreach (DataRow dr in dt.Rows) {

      foreach (DataColumn dc in dt.Columns) {

         Response.Write (dr[dc] +”





posted on Monday, August 11, 2003 3:54:28 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [4] Trackback


That was my triathlon time today! I am very happy. Teammate Andy Catlin got out of the water a few seconds before me (we both were at 15 minutes) and we had a hard transition (lots of rocks, and the bikes were far from the water). The bike was brutal (55 minutes). Almost all uphill, about 75% of the bike was uphill.  We had a 4 mile downhill at one point that was so super steep hill-I hit 47 miles per hour! That is almost as fast as a car… Transition from bike to run was not that bad. The run was hard, but ok, about 25-26 minutes. Andy finished about 5 minutes behind me, way to go dude…

posted on Monday, August 11, 2003 2:19:29 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] Trackback
# Saturday, August 9, 2003

Radio Uninstalled

Radio is completely off my machine. This is good since it was slow and clunky.

This is a day of liberation for Clemens and I. We are now using our Radio subscriptions just to upstream our RSS feeds to the Userland cloud dasBlog. Very cool. So now all the folks who have not resubscribed can still see the feeds at Radio, but please please please subscribe to the new feed.

What is funny is the Clemens said he did not have enough time to document everything, but his documentation is much better than Radio's! Besides my forthcoming cache code contribution to dasBlog, I have to say that Clemens rocks the house, so buddy, I owe you a few beers when we are in KL next week speaking at Tech·Ed Malaysia.


posted on Saturday, August 9, 2003 11:17:06 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] Trackback

Taper Day


Today I do nothing but sit at home, drink drink drink water and eat pasta. Tomorrow is the big race.

Last night I went out with some buds, including Rob Wlodarczyk who leaves for a job at the Evil Empire on Tuesday.

posted on Saturday, August 9, 2003 6:42:06 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [2] Trackback
# Friday, August 8, 2003

Overcome Parkinson's Law


Parkinson’s Law is taking over. The basic thesis of Parkinson is: ‘Work expands so as to fill the time available for its completion.’


So I have called a meeting to discuss 1 small bug, should take 5 minutes, but call the meeting for 30 minutes. The meeting will last 30 minutes!


Further explanation from Parkinson:


“General recognition of this fact is shown in the proverbial phrase 'It is the busiest man who has time to spare.' Thus, an elderly lady of leisure can spend the entire day in writing and dispatching a postcard to her niece at Bognor Regis. An hour will be spent finding the postcard, another in hunting for spectacles, half an hour in a search for the address, an hour and a quarter in composition, and twenty minutes in deciding whether or not to take an umbrella when going to the pillar box in the next street. The total effort that would occupy a busy man for three minutes all told may in this fashion leave another person prostrate after a day of doubt, anxiety, and toil.”


So this has a lot to do with being efficient. Overcoming Parkinson’s Law is one the most liberating things that you can ever do. A big problem I have with meetings today in corporate American. They last forever and never accomplish anything. I hate when someone calls a meeting and there is no clear reason for it and then says “Stephen why don’t you start off the meeting.” Argh. So I put an end to this. Now my new rules for meetings are (and if they don’t meet this criteria, I don’t attend the meeting, unless the person calling the meeting is “important” J):


1.         No meeting lasts more than 45 minutes

2.         All meetings are "stand-up" meetings, nobody sits down

3.         There are no meetings without an agenda

4.         No meetings should have any food or drink allowed in them

5.         No meetings at odd hours: 5pm, obvious lunch times, etc


When I was CTO over at Zagat, I also instituted a meeting free Friday, something that you may want to try at your place too. I got away with it by sending an all day meeting invite to my entire staff called “Staff Meeting” that had a recurrence on every Friday and then when other people used Outlook/Exchange to schedule a meeting, they were always booked on the Friday!!!


Even if you can’t control the 5 items above, you can always ask the meeting organizer to circulate an agenda before the meeting, this will get them thinking more efficiently!

posted on Friday, August 8, 2003 2:32:11 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [19] Trackback

Up with das Blog 1.1!

I am now up. If you are upgrading from 1.0 to 1.1, make sure you read the notes.

Time to work on the cache engine, Clemens has challenged me :)

[08:32] Peakbagger: :I am up now dude. :)
[08:32] Clemens (viel zu warm!): should work much better
[08:32] Peakbagger: looks pretty smooth
[08:33] Clemens (viel zu warm!): now... make it faster
[08:33] Clemens (viel zu warm!): ;)
[08:34] Peakbagger: that I can do


posted on Friday, August 8, 2003 12:51:22 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [13] Trackback