Ala Moana Beach Park and Magic Island

Posted in Hawaii on June 28th, 2009 by slmcmahon – Be the first to comment

My Holiday

Posted in Hawaii on June 11th, 2009 by slmcmahon – Be the first to comment

This is how I’m spending my King Kamehameha day :(

Kinda cool to be able to post this from my iPhone using the WordPress app though :)

Wow

Posted in Hawaii on March 22nd, 2009 by slmcmahon – Be the first to comment

I really like my weekends…

Thoughts on Recycling

Posted in Hawaii on March 8th, 2009 by slmcmahon – Be the first to comment

Living in the most remote archipelago in the world will open your eyes to a lot more things than natural beauty.  Recycling is a lot more common here.  Space is at a premium (understatement) and we just don’t have a lot of room for landfills.  A dump just seems out of place in Hawaii anyway.  I don’t personally know anybody that throws away an aluminum can or a plastic bottle.  I think that the rest of the U.S. really needs to shift into this mentality.  I just heard on a t.v. documentary that 2,000,000 plastic bottles are thrown away every hour.  Ironically, during the documentary, I saw a Zyrtec commercial.  Take a look at this packaging!  What a huge waste.  I assure you that if I should ever need this type of medicine then I will most definitely not buy this brand.  There is more packaging than product.  There are just so many things wrong with this.

It is way past time for the world to wake up and be more efficient.

Saturday Afternoon Walk at the Park

Posted in Hawaii on January 17th, 2009 by slmcmahon – Be the first to comment

0117091229.jpg, originally uploaded by slmcmahon.

Taken at Kualoa Regional Park — one of the few beach parks that I’ve found on Oahu that will allow dogs.  It is a far drive by Hawaii standards, but well worth it.  One of the most beautiful places on this island in my opinion.

LINQ is Not Just for SQL

Posted in LINQ, Programming on January 6th, 2009 by slmcmahon – Be the first to comment
It seems like a lot of developers that I know tend to think of LINQ only as a way to query a SQL Server database.  While it is excellent for that, LINQ to SQL is actually just an extension of the base functionality.  I’m urging my co-workers to take a look at the “Standard Query Operators”.  You can find a very good reference here:  http://www.hookedonlinq.com/StandardQueryOperators.ashx.
 
One of the nice things about LINQ is you can query just about any collection or array in the same manner as you might query a table in a database.  Rather than checking each item and filtering out what you DON’T want, you can specify in LINQ syntax what you DO want in a very natural looking language and then iterate over those items that match.
 
Also remember that if you are not working on a .NET 3.5 project and you want to use this syntax in your .NET 2.0 project, then go here:  http://www.albahari.com/nutshell/linqbridge.aspx and download LINQBridge.dll.  Not only will this allow you to use more efficient syntax, it will make your code forward compatible for when you are able to switch your project to .NET 3.5.

Sandy Beach

Posted in Hawaii on January 3rd, 2009 by slmcmahon – Be the first to comment
 

0103091353.jpg, originally uploaded by slmcmahon.

Halona Blow Hole

Posted in Hawaii on January 3rd, 2009 by slmcmahon – Be the first to comment
 

0103091352.jpg, originally uploaded by slmcmahon.

Entrance to “From Here to Eternity Beach”

Posted in Hawaii on January 3rd, 2009 by slmcmahon – Be the first to comment
 

0103091348.jpg, originally uploaded by slmcmahon.

Kualoa Regional Park

Posted in Hawaii on January 3rd, 2009 by slmcmahon – Be the first to comment
 

0103091109.jpg, originally uploaded by slmcmahon.