Friday, November 30, 2007

Writers Block

Wikipedia says the following about writers block...

Writer's block is a phenomenon involving temporary loss of ability to begin or continue writing, usually due to lack of inspiration or creativity.

I am not sure that exactly fits me though. I have a lot of topics I would love to blog about, yet I haven't had the time to research them though.

Some of things I want to review...
VS 2008 new features and what not
Silverlight 1.1
More loose coupling techniques

So hopefully next month I will have some time to start attacking this list. If there is anything you would like me to talk about let me know. Just add a comment below.

BTW... I added ClustrMaps to my blog on the right.

Friday, November 23, 2007

Thanksgiving Thoughts

Happy Thanksgiving.

Some quick notes.

  • My Grandma was interviewed by the paper back home. She gives some great advice.
  • I ate way to much yesterday. I heard a news report say that the average person eats 7200 calories on Thanksgiving. And you thought McDonalds was bad for you.
  • The Packers are 10 and 1. So is Dallas. It should be a great game next week.
  • I been thinking of dumping Time Warner Cable in favor of AT&T's U-Verse service. I think price wise it is better, plus I would no longer have to deal with TWC. Also I wouldn't need to put a dish up on my roof. What worries is some of the problems I have read about. One in particular was that it can only record one HD source at a time.
Well that is it for now. I hope to have some good tech posts coming up in the next few days.

Thursday, November 15, 2007

Nhibernate and Composite Keys

I like using Nhibernate to do my object relational mapping. Although there is a large learning curve to the tool, once you use it a few times, mapping your objects become second nature, or that is what I thought until I had to map a database heavily using composite keys.

See for some reason when using composite keys NHibernate has trouble telling if objects are new or if they are updates. This force you to have to call the insert method instead of the save. Not a big deal if you can tell when a page is doing an insert and when it id doing an update.

Another issue was getting many-to-one mappings and one-to-many mappings to work. see loading was not a problem but again when trying to update and save I ran into all sorts of problems. The quick solution was to all those mappings out of the mapping file and load them in my DAO layer. Not a big deal but when you are using to having a tool handle all that code for you it is upsetting.

All in all I was able to make the tool work. Now that I know the tricks, I wont feel as much pain the next time I have to map a composite key system.

Monday, November 12, 2007

Las Vegas Shows

So when I was in Vegas I saw the shows Spamalot and Penn & Teller. I had really good seats for each show in fact we were within the first ten rows.

I saw Spamalot first. Spamalot was shown at the Wynn Casino. I like Monty Python and have seen their movies. Spamalot is basically an adaption of the movie Search for the Holy Grail. In fact they turned it into a musical and even added a little Vegas to it. In all it was very entertaining and still had everything you would expect from a Monty Python production and a Las Vegas show. The Lady of the Lake had a terrific voice.

I saw Penn & Teller a day after I saw Spamalot. Penn & Teller was playing at The Rio All Suite Hotel and Casino. I have enjoyed Penn & Teller shows on TV, but was disappointed by the stage show. My disappointment comes from the fact that the show was exactly the same as their TV shows. Sure they might have had one or two differences, but they were not that entertaining.

To wrap up this post I would give Spamalot an A and Penn & Teller a B-. If you have never seen Search for the Holy Grail, or Penn & Teller on TV then you might enjoy both show even more.

Sunday, November 04, 2007

Las Vegas and other Stuff

I love Las Vegas. This town is ever changing and always getting better. I just wish I could win some money.

Anyways, some thoughts while I am here.

It is amazing how the casinos are using technology. From the time you check in to the time you leave you see computers and gadgets helping make your stay better. From being able to check out from your room, to watching the cleaning service use hand held device for keeping inventory and schedules up to date.

Tonight I am going to see Spamalot at the Wynn Casino. I hope the show is good.

Ad for my sports teams, the Badger played three good quarters of football before they ran out of gas and lost to the number one team in the nation. The Packers won and it was another amazing game. Brett Favre threw a couple more touchdowns and finally has a win against all thirty-one teams in the NFL.

I am not sure if I will have time to post again fron here but if I do I will try to get some pictures posted.