# Sunday, August 31, 2003

Bangkok Day 2

After sleeping in I got up and got a haircut for about $0.30 and did my laundry that piled up while in KL.

Spent the day seeing the sights I have not seen before, spent a lot of time in the National Museum. Waiting for Kevin Collins to arrive in from Tokyo tonight then one more night of fun before we head to Kathmandu tomorrow!

posted on Sunday, August 31, 2003 9:01:42 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [17] Trackback
# Saturday, August 30, 2003

I ain't goin' out like no punk-bitch


It seems that in KL they really like House of Pain’s Jump Around and the DJ at one club last night mixed it in with Kriss Kross’ Jump for an insane party. Add that to the almost local Panjabi, of course mixed with Jay-z. After an epic night of partying in KL with fellow speaker Chris Featherstone, it was time to say goodbye to KL.


So I have arrived in Bangkok and have to move from speaking/working mode to R&R mode for the weekend before moving into trekking to Everest mode on Monday. Bangkok is one of those places that I just seem addicted to and have to visit if I am in the region (Paris is another). Fun, cheap, and very friendly, Bangkok has lots to offer everyone including many Royal and Buddhist sights, awesome shopping (can you say custom clothing) and of course the wild and crazy nightlife. Now my third time to Bangkok in the last year and a half, I already know the cool places to party down at Pat Pung, so if any of you are down at Lucifers’ tonight or tomorrow, come dance with me to Indian Hip-Hop and a little old school Irish Rap (they like House of Pain here too)... And Tom, I am wearing my purple shirt that you hate so much…

posted on Saturday, August 30, 2003 10:40:56 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [9] Trackback
# Friday, August 29, 2003

The Malaysian Rainforest


Today a bunch of us speakers went on a trek for 8 hours in the Malaysian Rainforest where we did battle with malaria laden bugs, leaches and lots of natural obstacles. At times it was sweltering hot (to quote Tim) and we had to strip down and cool off.


This was a truly amazing experience. We used a machete to cut through the jungle and climbed through water, drank water out of roots and learned basic jungle survival (like how to cut a water bottle out of bamboo-I don’t think my bamboo water bottle is going to make it through Thai customs tomorrow).


The reward of the day was a phenomenal series of waterfalls and lots of wildlife. 



posted on Friday, August 29, 2003 2:14:17 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [18] Trackback
DEV315 Using Regular Expressions in .NET

The RegEx session went over very well. The crowd liked how my mom made my life difficult and helped me with this expression: Ste((v|ph)en|ve). They also found the flaw in this test for US Phone Numbers: 1-\(?\d{3}\)?-\d{3}-\d{4}

Code and slides avaliable here.

posted on Friday, August 29, 2003 12:23:26 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [10] Trackback
# Thursday, August 28, 2003

Top of the World-and TechEd

Last night we had dinner on the top of the world, in the world's tallest building, The Petronas Towers. I also found out I am the #1 ranked speaker so far at TechED, I am humbled.

posted on Thursday, August 28, 2003 2:09:00 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [4] Trackback
# Wednesday, August 27, 2003

Rozenshtein Comes to Asia...

Who said TSQL is not fun? Dr. Rozenshtein is now a popular man in KL. Code and slide download for DEV206 "Efficient and Secure Data Retrieval in Your Middle Tier Using Stored Procedures and ADO. NET " is available on gotdotnet here. Enjoy!

There is no code for EDM207 ".NET CF Database Development with SQL Server CE 2.0 ROI" since it is a case study.

posted on Wednesday, August 27, 2003 7:25:54 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [14] Trackback

Party KL Style

Ok, Clemens finally showed up and we did our usual routine: drink a lot, dance like wackos and have an awesome time at a local bar last night with some other speakers and local MS folkes. Too bad for Clemens that he had an early session, mine is not until 4pm. :)

posted on Wednesday, August 27, 2003 3:59:06 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [2] Trackback
# Tuesday, August 26, 2003

DEV203 ASP .NET DataGrid Drill Down


Since Commnet and Wireless are down this is for those of you who attended DEV203 today, here is the code and slides download, examples in both VB and C#.

posted on Tuesday, August 26, 2003 6:41:42 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [13] Trackback

To Query String or Not to Query String


That is the question before Adam Cogan and I at breakfast this morning. He loves them. I hate them. He likes to make an HTMLa report and then use query strings to save the parameters and then email the URL to other people so that they can see the same thing. I’d rather save a view (parameters, etc) and let someone click on that. Or use postbacks. I don’t like Query Strings for a two main reasons reasons:

  1. The user can change the query string and possibly see data they are not allowed to see, or you have to write code to prevent that.
  2. Query Strings leave you wide open to SQL Injection Attacks and Denial of Service attacks (especially when you use sloppy code by concatenation of a SQL statement-something that you should NEVER do.) So you will have to write some RegEx expressions to validate the query strings.


Adam says that since you can code the responses to #1 and #2 query strings are useful and worth it. I tend to disagree and only use Query Strings when absolutely necessary. Who is right? We both are. It all depends on how much time and energy you are willing to spend, Adam wants particular functionality and is willing to pay (write validation code) for it, I am willing to pay (write functionality code) in different ways.



posted on Tuesday, August 26, 2003 6:30:01 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [3] Trackback
# Monday, August 25, 2003

Today Scott Case, fellow RD Tim Huckaby, and I went to Kuala Gandah Elephant Conservation Centre in central Malaysia. This facility, run by the Malaysian Government, takes elephants that are endangered and relocates them to the protected natural rainforest where they roam just about free. The centre also looks after orphan elephants. We got to spend the day with some of the relocated elephants that have not entered the general population yet. I am talking up close in nature with some serious elephants-at times it was quite intimidating like when we had to run out of their way! That said this was one of the most amazing things that I have ever done in my life.


First we got to hang out with an orphan baby female elephant. She was very tame and really enjoyed having us pet her and play with her. She especially liked when we would put our hands in her mouth. At 20 months old she was already over 1,000 pounds!


Then we went into the preserve and hung out with five adults and a child elephant. This was a totally wild experience. After that we got the chance to bathe and hand feed the elephants. After washing and feeding them, they treated us to rides, on land in the river. While in the river the elephants liked to throw us overboard, we were told it was a sign of affection by our guide Razali-who was a very cool dude.


When we were all done, we visited another preserve and saw a nearly extinct bear (who loved me) and some deer and other cool animals. This was quite a unique experience.


What a great day to spend my off day at TechEd. Well it is back to work tomorrow, five sessions in 3 days!!


posted on Monday, August 25, 2003 2:25:43 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [10] Trackback
# Sunday, August 24, 2003

Where in the world is Clemens Vasters?

Clearly not in KL like he is suppose to be. I think Pat told me they are in Bangkok and that they do not get into KL until Tuesday.

Anyway get your asses here, we need to get drunk. Sicne June Clemens and I have gotten drunk together in North America, Africa and Europe. We need to add Asia to that list. Plus we have to get Scott Hanselman to party some too.

posted on Sunday, August 24, 2003 7:06:30 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [13] Trackback

A Malaysian Brick-With an Australian


Adam Cogan who thinks that blogs are stupid and thinks that personal posts are even stupider did a brick with me today-we ran 5km and swam. (Well the swim was not as intense, but we went through the motions since we weight trained too after the run.)


While Adam can kick my ass in tennis as I learned the hard way back in 1998, he has no advantage over me while running. J

Meanwhile back in the good old USA, teammates Tom Halligan and Andy Catlin banged out 71.6 miles in the park Saturday as I learned when Tom called me to wake me up to tell me.

posted on Sunday, August 24, 2003 6:57:25 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [14] Trackback