Assumptions are the DEVIL

June 29th, 2005 § 1 comment § permalink

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]
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…

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.

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!

American Media

June 24th, 2005 § 0 comments § permalink

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?”

Club Web Site Starter Kit

June 22nd, 2005 § 0 comments § permalink

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.


5 1/2 hours of fun…

June 18th, 2005 § 0 comments § permalink

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:
Construction Sucks.
I was on the traffic lane the road to the right (far distance) is the detour.

Yumm, Dinner is Served.
WHOA road kill! Car: 1, Armadillo: 0.

Flee the Freeway!
Some cars made their OWN detour.

PepsiCo: Day 3

June 16th, 2005 § 2 comments § permalink

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.”

Where am I?

You are currently viewing the archives for June, 2005 at thomas nguyen.