<body><script type="text/javascript"> function setAttributeOnload(object, attribute, val) { if(window.addEventListener) { window.addEventListener("load", function(){ object[attribute] = val; }, false); } else { window.attachEvent('onload', function(){ object[attribute] = val; }); } } </script> <iframe src="http://www.blogger.com/navbar.g?targetBlogID=12803833&amp;blogName=thomasnguyen.com&amp;publishMode=PUBLISH_MODE_FTP&amp;navbarType=TAN&amp;layoutType=CLASSIC&amp;homepageUrl=http%3A%2F%2Fwww.thomasnguyen.com%2Fblog%2F&amp;searchRoot=http%3A%2F%2Fblogsearch.google.com%2F" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" height="30px" width="100%" id="navbar-iframe" title="Blogger Navigation and Search"></iframe> <div></div>
home blog contact

Assumptions are the DEVIL.
Tuesday, June 28, 2005
[ASSUMPTION 1:] I've been banging my head against the cubicle wall for the past few days trying to figure out why my code wasn't working (Figure 1) based in the code I found on MSDN. I kept on getting some error about the items are not unique. So I tried almost EVERYTHING assuming that the parent.[name] column was unique. Of the 300 or so records, one repeated itself.

BEHOLD THE TRUTH: name was not unique.

[Figure 1]
ds.Relations.Add("myRelation",
     ds.Tables("parent").Columns("name"),
     ds.Tables("child").Columns("name"));
parentRepeater.DataSource = ds.Tables("parent");
[/Figure 1]

(temporary) [SOLUTION 1:] Put DISTINCT in the SELECT statement. Whoever created this database is driving me NUTS. They tell me its unique, and it's NOT!!! I now need to edit my query to get the most recent name created. MORE WORK...

[ASSUMPTION 2:] The lady I called up today to get an apartment assumed their complex let people get 2 month leases. So after work I drive up, and get rejected by the manager!

BEHOLD THE TRUTH: 3 month leases minimum, even if the lady says it's 2.

[SOLUTION 2:] I'll be getting my own place still, but in a freaking Homestead Suite or something like that. Hopefully there's free cable, internet, a pool, and a place to work out. I KNEW apartments only had a 3 month minimum!
1 comments
American media.
Friday, June 24, 2005
It makes me sick! I'm watching CNN, MSNBC, and Fox News's coverage on the St. Louis Praxair plant explosion and they keep using adjectives to make this seem like...war is upon us. I mean come on, it's a plant that packages liquified gas into containers. If it's going to blow up, it's going to be big, but NOT comparable to war.

"Lighting bolts of fire shooting into the sky." -haha, enough said.
"Such a large area than you see on the screen." -its a city block.
"Firey flames from hell." -um...yeah.
"Enormous fire caused by an enormous amount of gas." -DUH..its a gas plant!

On the other side, VS.NET 2005 is freaking awesome. Controls for EVERYTHING. Seriously, check it out when you get a chance.

Now for Simpsons.
Skinner: "I believe only ride for me is the ride of broken dreams."
Homer: "You mean the Enron ride?"
0 comments
Club Web Site Starter Kit.
Tuesday, June 21, 2005
So I downloaded and installed the Club Web Site Starter Kit for Visual Studio .NET 2005 Beta 2. It's pretty sweet. All the source code is there for you so you can edit and update anything you want. While I'm walking through a tutorial, I'll be fixing and editing the site for CougarCS.

If you can't get a hold of Visual Studio .NET 2005 Beta 2, get the Visual Web Developer 2005 and the starter kits.

GO PISTONS!!!
0 comments
5 1/2 hours of fun...
Saturday, June 18, 2005
So I decided to head back to Houston yesterday to pick up some last minute things, return a monitor, play raquetball, watch Batman Begins and most of all: celebrate Father's Day.

I got off work at 1:00 PM to go back to my place and get my things. I leave to grab some food and gas and hit the road around 2:00 PM. So I get about 50 miles south of Plano and hit dead traffic, literally. I took my an hour to travel 3 miles! So I'm back on the road, make my usual stop at the Woody's Smokehouse to pick up some beef jerky. At 100 miles out of Plano, I hit another set of traffic. This one took me 30 minutes to get through. The last set of traffic hit at Huntsville which took 30 minutes as well. So 7:30 PM was the time I got home. I was so exhausted!

Some fun pictures:
  

1. I was on the traffic lane the road to the right (far distance) is the detour.
2. WHOA road kill! Car: 1, Armadillo: 0.
3. Some cars made their OWN detour.
0 comments
PepsiCo: Day 3.
Wednesday, June 15, 2005
So I'm continuing to work on the ASP.NET project and I learned a few things. Some are technical and some aren't:

1. (MS)SQL will return NOTHING with this query:
      SELECT DISTINCT column1, column2, column5
      FROM user1.[table1]
      WHERE column3 = 0
      AND column5 = NULL
      ORDER BY column1
2. Using a 700 MHz with a 512 MB laptop isn't too fun to use with Visual Studio .NET 2003.
3. My blood pressure is 151/98 which is kind of high, my cholesterol level is 192 which is desirable, and my glucose is 90 which is normal.
4. I bleed like crazy for these blood tests. The needle is so much better than this new thing that slices your finger.
5. Another intern showed me how to move ASP.NET pages from development to live: copy *.aspx and *.aspx.cs files and change the "codebehind" to "src"...it's that easy.
6. Frito Lay HQ has a better cafeteria than PepsiCo at Parkwood.
7. Our restrooms are designated "Tornado Safe Room."
2 comments
PepsiCo: Day 1.
Monday, June 13, 2005
So I got my badge, paperwork, laptop, and tour of the building. I spent all day installing VS .NET, SQL Server, MBSA, and Cisco Security Agent. My project is to mirror reports that can be viewed only by an administrator of the MCCSA. This will allow the internal non-admin users to view these reports. I'll be using ASP.NET (C#) to read data from the server and display them on a browser. We get a free bag of chips for lunch and on Fridays everyone leaves at 12:30 PM...SWEETNESS.

On the way here, I saw a candy apple green with and broke 120,000 miles on my car.
0 comments
FREE VS.NET 2005 Beta 2.
Tuesday, June 07, 2005
I've installed VS.the Beta 2 on the other partition of my laptop with my MSDN Universal Subscription. It's an awesome application. I've always wondered if other people who don't have the MSDN subscription would want it...

Today, I got the Dr. Dobb's Journal in the mail and inside was a "Do Not Disturb" sign. Along with it is a code to for anyone to get the Beta 2. Whoever comments to this first will and wants the code and link, do so. First come first serve.

You can also get all the Express Editions for FREE, here.

Visual Studio .NET 2005
0 comments
Sandcastle competition.
Monday, June 06, 2005
This past weekend Ketchup, Marie and I went to Galveston to check out the 19th AIA Sandcastle Competition on East Beach. Thanks to Elizabeth for telling us about it! It's amazing what people can do with sand, water, time, and (for a few teams) alcohol. There were 80+ 'sandcastles' and my favorite was "Alfred's Guide to Sandcastle Building".

We later met up with Grace, Joseph and Sophia. I caught a baby crab, Joseph dug a hole, Grace was buried, Sophia drew things and then guys went for a swim. Seaweed wars and wave diving became boring, so we tried to catch the flying fish, but with no success.

WARNING: Do not open your mouth or eyes in Galveston beach!!! It tastes gross and burns the eyes.

No, I did not do it on purpose. Red flags were up and we went out to where we could barely touch the bottom, go figure.

AIA Sandcastle Competition | flickr (tag: galveston)
0 comments





Recent Posts
Reading Material: Writing Secure Code.
No Right Click? Use Shift + F10.
Hurricane Ike Recovery.
CI in SD Conference.
Microsoft ArcReady Event.
University of Houston Alumni Organization.
Arrested Development - Great Show!
NYTimes.com - Double Click a Word, Try It.
Secure Vantage Technologies is Hiring.
SqlException: Invalid object name.

Archives
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008
May 2008
June 2008
July 2008
August 2008
September 2008
October 2008

Blogger
copyright 2006-2008 | thomasnguyen.com

Google Reader flickr del.icio.us nike+