Archive for August, 2008

The Happiest Place on Earth

August 31st, 2008

Try googling “The Happiest Place on Earth”.  The top result is Disneyland, of course, since that has been a marketting slogan of the Disney Corp. for years.  But when I think of that saying, I think of Wrigley Field.  I think of taking the Red Line from downtown Chicago, and looking out the window of the train after the last stop before Wrigley expecting to see the grand ol’ lady any second.  Then the park comes into view.  And all is good.  A sea of blue spills out on to the streets from the train.  Vendors are selling tickets, t-shirts, food.  Everyone is festive.  People are genuinely happy to be in Wrigleyville.

Some people don’t like the Friendly Confines.  Recently Barrack Obama was quoted as saying, “You go to Wrigley Field, you have a beer, beautiful people up there. People aren’t watching the game. It’s not serious. White Sox, that’s baseball.”

Of course this is a load of shit from a Sox fan.  Its the same old broken record you hear from everyone on the South Side.  I don’t gig on Obama because is a politician running for president.  This isn’t about politics.  I am just calling him out.  He is full of it.

In the last few years my wife and I have visited Wrigley Field, Busche Stadium, Yankee Stadium, The Ballpark at Arlington, Minute Maid Field, Coors Field, Citizen’s Bank Park and Fenway Park.  That is eight major league parks.  We have been to Wrigley four times, and most of the other parks once.  We have been to Yankee Stadium twice, and Minute Maid four times.  We regularly attend minor league games at AAA’s top park in attendance, The Dell Diamond in Round Rock, TX.  With that wealth of experience in different parks I feel I can say that the fans at Wrigley are just as into the game as anywhere else.  I have not had the *pleasure* of going to Comisky errr US Cellular Field.  Perhaps the fans down there are *so* into the game that they put all other fans in the nation to shame.

What I would say is that fans at Yankee, Fenway, Citizens Bank, and Wrigley seem to be at a little higher level of involvment than at other parks on my list, on the days I have attended.  Yankee, Wrigley and Fenway are the most historic parks in baseball.  The fans at these parks are often very serious, having followed their teams for many years.  The fans in Philly (Citizens Bank) enjoy their new park, and enjoy cheering and booing their own team in equal measure.    The fans at Yankee are into the game, and love their tradition.  The fans at Fenway and Wrigley enjoy their old parks, are very friendly, but their friendliness should never be misinterpreted as disinterest in the game.

Maybe it is just me, but most White Sox fans I have met seem angry.  The seem like they want to start a fight.  They talk the talk and often don’t walk the walk.  They are quick to insult.  In short, they take after the manager of their team.

Wrigley is the happiest place on Earth, a great place to watch a game, and I do feel sorry for those that cannot call themselves Cubs fans.

Tired of SQL like syntax for LINQ

August 26th, 2008

I am a little tired of using the SQL like syntax that is available for LINQ.  Don’t get me wrong, LINQ and the language / .Net features introduced to support it in .Net 3.5 are great.  I don’t find myself using the SQL to LINQ at all, but I constantly find myself using LINQ with collecitons and XML.  After almost a year with the enhancements (in beta version this in GA .Net 3.5), the appeal of the SQL-like syntax has worn off, and I have come to realize that I enjoy using the actual function calls to which this psuedo-SQL-language is mapped.

I think the the SQL-like LINQ syntax was just the sugar to attract attention to LINQ.  In practice I have found that it make my code less readable.  To a developer that is not intimately familiar with LINQ, a complex expression is completely unintuitive.  It is just enough unlike SQL to confuse.  When it comes to complex select statements, joins, and other operations that are outside the standard SELECT…FROM…WHERE syntax (or FROM…WHERE…SELECT in LINQ), simply calling the framework functions directly makes more sense to me.  It creates code that is easier for C# developers to read.  It isn’t pretending to be SQL, and so it becomes much easier to follow what is really happening to anyone that understands enumeration, iteration and delegates.  With function chaining, it is also easy to write very clean chunks of code by use of indentation.  And when I have to explain the code to another developer that is unfamiliar with LINQ I can simply say, “.Select() is run for each record, .OrderBy() is run on the collection to sort the records, etc”.  With the SQL syntax I first must explain the mappings.

I have found myself rewriting old SQL syntax to C#/LINQ when I need to add new functionality.  As much as I use LINQ, I still have to look-up how to do certain operations when using the SQL-like syntax, but find it easy to write the same functional code with pure C#/LINQ extension calls.

I admire what the Microsoft .Net team did with LINQ, but I think I will be skipping the SQL syntax from now on.

Finally! New Music from Metallica!

August 21st, 2008

The greatest band since The Beatles is releasing a new album in September called Death Magnetic, a reference to various artists that have died doing what they love.  They just released the first single which is available on their web site, The Day That Never Ends.  It is awesome.  The also have short clips of some of their other songs available here.  That’s all for now, I have to go listen to the new song for the 3rd time.  It is 7 minutes, 56 seconds of classic Metallica, so it take a bit to listen to it over and over.

Death By Volcano

August 21st, 2008

Wired.com has a great gallery of pictures and write-ups about various volcanic explosions over the years.  Click over to it to see how Geology Rocks.