Rick Strahl's Weblog  

Wind, waves, code and everything in between...
.NET • C# • Markdown • WPF • All Things Web
Contact   •   Articles   •   Products   •   Support   •   Advertise
Sponsored by:
Markdown Monster - The Markdown Editor for Windows

Bozo presentation mistake


:P
On this page:

Here's a fun bozo move to try when you're giving a presentation: Change your timezone when giving a demo that involves time sensitive data.

 

I was giving my pre-conference Intro to AJAX technologies session at ASP.NET Connections yesterday. One of the demos was a small demo that showed a simple chat client ( oh yes an example of what not to do with AJAX <g> ). So essentially you can type text into a one browser window and be able to see it in one or more other windows. Not a great practical example, but a good demonstration of the technology.

 

Anyway – it's been working just fine when I was testing things the night before. Day of the presentation though – a complete blowup! Type in a message and the message ends up in the middle of some old messages and updates repeatedly are bringing back old messages, flooding the chat display. Hardly the expected result.

 

Well, it turns out that I ended up changing the time zone between the last tests I ran and the presentation. I had put the machine into current time here in Orlando, and then had set it back to Hawaii time at a later point in time.

 

Now here's why this really freaked me out. I AM in fact using Utc dates to store the time values but it STILL failed! Huh?

 

As it turns out the problem is that IIS doesn't recognize the timezone change unless restarted. So although my time values were getting saved in UTC time format the fact that IIS's time was out of sync with the rest of the system was causing the mismatch. So SQL Server and IIS were actually seeing different timezones. Still not quite sure why this should be a problem for UTC time values, but it sure was...

 

It was pretty strange running a Web page and displaying a DateTime value at the top (all the samples in this session show the render timestamp) that's showing a different time than the system time. It didn't quite occur to me in the middle of the talk that IIS needed to be reset.

 

Anyway… next time I do a presentation I'll be sure to remember to do an IISRESET before. It's a good idea to do this anyway I suppose.

 


The Voices of Reason


 

Steve from Pleasant Hill
April 03, 2006

# re: Bozo presentation mistake

Verification of the rule that you will be embarassed in front of large audiences.


Robz
April 03, 2006

# re: Bozo presentation mistake

That's okay... Great presentation man! Don't have too much fun with booth duty. ;)

Joe Brinkman
April 04, 2006

# re: Bozo presentation mistake

That is the beauty of using VMWare/VPC for demos. Bootup is fast (don't have all the flotsam and jetsam clogging your systray and registry) and you can always return to a well-defined/known state to begin the demo. USB 2.0 or Firewire harddrives are great for carrying your demo environment. Just remember to keep a copy of VPC or VMWare install on the harddrive in case you have to get up and running on a new machine in a hurry (eg. You forgot to bring your power cord and your laptop battery is running low).

Steve
April 06, 2006

# re: Bozo presentation mistake

I also don't think it was that big a deal that you didn't get the chat working during the presentation... i just wish you spent more than 3 mins (of the 4 hours) talking about Atlas... I was really curious as to what personal experiences/likes/dislikes you have over the product

Rick Strahl
April 09, 2006

# re: Bozo presentation mistake

I hear you Steve. When I realized I was running out of time I figured I'd err on the side of ATLAS, since there were other sessions and the keynote on ATLAS where you could see it.

I'll post some of my observations and a few additional examples. In fact I posted an ATLAS version of the Chat sample last night, which is a little more realistic than the Anthem version:

http://www.west-wind.com/presentations/scriptcallbacks/sample/Atlas/Chat.aspx

Still has a few rough edges.

And BTW, I wish it woulda been 4 hours - I could've finished the session <g>. It was three...

Steve
April 10, 2006

# re: Bozo presentation mistake

My bad on the 4 to 3 hour thing, i saw the mistake as soon as i clicked "submit".. ooops...

I really enjoyed your presentations as I went to 3 of them, your AJAX, ASP.NET Engine, and the Payment processing sessions... all three were of very good topics, topics i hadn't seen anything like in the 3 previous DevConnections i've attended, with #2 and #3 especially being off the beaten path

November's DevConnections should have *tons* of Atlas stuff I can only hope... I so far like this way over Anthem and other solutions.... but it's still in such early stages

West Wind  © Rick Strahl, West Wind Technologies, 2005 - 2025