Friday, September 28, 2007
Sam recently clued me in to a series of posts by his co-worker David Pallmann's that include a ton of great tips for using WCF.  I went through all David's tips on my train ride home a few days ago and was inspired to go through our code to confirm and/or change our services to use many of the recommendations that David put together.  If you're working with WCF, I definitely recommend that you check out David's tips and while your at it subscribe to his blog in case he drops any more tips the blogosphere's way.
 |  | 
Friday, September 28, 2007 2:20:02 PM (Eastern Daylight Time, UTC-04:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Wednesday, September 12, 2007
Over the last year I've spent a lot of my "free" time with LINQ.  When not writing and/or experimenting with LINQ I've been trying to learn Ruby.  Since I'm primarily a Microsoft guy, I've spent time in some Microsoft "friendly" Ruby communities such as SoftiesOnRails. As I think is typical in most passionate technology oriented communities, most Ruby peeps aren't real big fans of Microsoft.  I've heard numerous people in the Ruby community discount all things Microsoft, which led me to wonder if any Rubyists would ever give LINQ a fair look.  A couple weeks ago I came across Chris' "Full of Ambition" post on the err the blog site.  As soon as I saw ambition, I thought to myself "hey, it's LINQ for Ruby".  From reading over the initial post, it didn't sound like the guys behind ambition where inspired by LINQ at all, but instead were gunning for Rack.  A noble ambition, but surely LINQ would be a better and more ambitious goal!  Well it turns out that since their initial post the gents behind ambition have found LINQ, and set it as their new target!  In their most recent post about ambition they state:
We’ve moved our sights from Rack to LINQ. That is, we don’t want to only support other ORMs—we want Ambition to be a query language for SQL, LDAP, XPath, the works. The 1.0 release will be backend-agnostic. Maybe then we’ll change the name to Hubris? Time will tell.
As a big fan of both LINQ and Ruby I'm glad to see some LINQ'ness finding it's way into Ruby. 

Links:
Intro to Ambition
Update to Ambition, with LINQ as the new target
 | 
Wednesday, September 12, 2007 5:27:04 PM (Eastern Daylight Time, UTC-04:00)  #    Disclaimer  |  Comments [2]  |  Trackback
 Wednesday, September 05, 2007
Hey All,

It's that time of year again!  The 2007 Buddy Walk is on September 30th, 2007.  Christin, McKayla, Steven John, Keegan, and I will be attending the walk with our family and friends and would love to have you join us, or have you support us with a donation!  As some of you may already know, my son Steven John has Down Syndrome.   Steven John will be 4 on December 7th of this year.  He's been the most amazing blessing, and has brought so much joy and happiness to the lives of his parents, siblings, grand parents, cousins, aunts, uncles, and friends.  Christin and I are truely blessed to have such an amazing son!

The Buddy Walk is an event that benefits the Trisomy 21 Center (http://www.tri21center.org/) at Children's Hospital of Philadelphia.  The Trisomy 21 Center does a lot of excellent work that helps support children with Down Syndrome as well as their families.  That's Steven John on the front page of their website, which brings me to the next topic...

This year you have a very unique opportunity.  Not only do you get to support a great cause, but you also have the opportunity to support the poster boy of this year's event....none other than Steven John himself!  Steven has been on all the marketing material for this years event, and I believe will have a small autograph session at this years event to appease his many many followers.  To support Team Eichert you can go to the following page and donate lots of money. :) 

http://www.active.com/donate/CHOPBuddyWalk2007/teameichert

Just kidding, we love any kind of donation and can guarantee you at least 2 minutes of good karma if you do indeed donate.  If on the other hand you don't donate, well....lets hope nobody has to find out what will come your way if that happens!  In all seriousness, Christin and I would be very thankful if you would consider donating. 

Much Love,
The Eichert's
- Steve, Christin, McKayla, Steven John, and Keegan

Thursday, September 06, 2007 1:54:31 AM (Eastern Daylight Time, UTC-04:00)  #    Disclaimer  |  Comments [2]  |  Trackback
 Friday, August 31, 2007
Scott Hanselman and Carl Franklin talk about LINQ to XML in the latest episode of Hanselminutes.  Scott's done a ton of work with existing .NET XML Api's, and has starting digging into what's available with LINQ to XML.

Friday, August 31, 2007 12:10:19 PM (Eastern Daylight Time, UTC-04:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Thursday, August 30, 2007
A while back I posted an example of how to convert a comma seperated file (CSV) to XML using LINQ to XML and functional construction.  We're in the final push to get LINQ in Action to production and as such I've been spending a lot of time going back through the chapters cleaning things up, as well as making sure both a C# and VB.NET example is provided for every code sample presented in the book.  Tonight I was converting a code sample from Chapter 12 that shows how to convert a CSV file to XML using LINQ to XML.  While the C# code is very nice, I like the VB version that is shown below even better.

Imports System.IO
Imports System.Xml.Linq

Module FlatFileToXmlWithXmlLiterals
  Sub Main()
    Dim xml As XElement = <books>
                          <%= From line In File.ReadAllLines("books.txt") _
                          Where Not line.StartsWith("#") _
                          Let items = line.Split(",") _
                          Select _
                          <book>
                            <title><%= items(1) %></title>
                            <authors>
                              <%= From authorFullName In items(2).Split(";") _
                                Let authorNameParts = authorFullName.Split(" ") _
                                Select <author>
                                         <firstName><%= authorNameParts(0) %></firstName>
                                         <lastName><%= authorNameParts(1) %></lastName>
                                       </author> _
                              %>
                            </authors>
                            <publisher><%= items(3) %></publisher>
                            <publicationDate><%= items(4) %></publicationDate>
                            <price><%= items(5) %></price>
                            <isbn><%= items(0) %></isbn>
                          </book> _
                        %>
                      </books>

    Console.WriteLine(xml)
  End Sub
End Module

As an aside, if you've been meaning to learn about LINQ, or if you've already begun your journey, now is a great time to checkout the early access edition of LINQ in Action.  We have every chapter available for download, and will very shortly be making the source code available.  We still have a little ways to go, but we're getting close!

Download the sample project here: Chapter12.FlatFileToXml.Vb.zip (10.09 KB)
Friday, August 31, 2007 1:26:49 AM (Eastern Daylight Time, UTC-04:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Thursday, August 16, 2007
I just registered for Ruby East, which is being hosted by Chariot Solutions a hop, skip, and jump from my house!  Hopefully it will be a good time!  They appear to have a number of good speakers lined up to talk about some interesting topics.

 | 
Friday, August 17, 2007 12:30:26 AM (Eastern Daylight Time, UTC-04:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Saturday, August 11, 2007
Not sure why, but after months and months of hearing people talk about Twitter, I decided to create an account.  Considering I've been averaging a whopping 7 posts for the last couple months on this here blog, perhaps the intrigue of not having to write anything of value is what's sucked me in?

http://twitter.com/steveeichert

Saturday, August 11, 2007 4:53:35 PM (Eastern Daylight Time, UTC-04:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Wednesday, August 08, 2007
A couple days ago I posted about a nice video on InfoQ of Fred George talking about Appling Agile to Ruby.  The video on InfoQ was my first exposure to Fred, however, I recently came across his blog (via Jeremy and the ThoughtWorks feed).  Fred has a bunch of great content, such as:
And some choice quotes:
Agile succeeds when you write code that is easy to change. The Secret Assumption of Agile

Okay, so it may not be true that all programmers are equal. But it is it approximately right? In my experience (many, many years)
on real projects with real delivery deadlines, there is an order of magnitude difference between programmers (that is, 10x difference). Even after throwing out the incompetent programmers (who produce zero), the really good programmers are ten times better than the really mediocre programmers. So even in approximate terms, all programmers are not equal. - All Programmers are NOT Created Equal (People Topic)

Thursday, August 09, 2007 2:45:42 AM (Eastern Daylight Time, UTC-04:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Saturday, August 04, 2007
Keeping with their trend of publishing great Ruby content, InfoQ recently published a video of Fred George from Thoughtworks, talking about "Applying Agile to Ruby".  In his talk, Fred talks about how important many of the core agile practices are when working in Ruby.  Since Ruby is a dynamic language and doesn't offer some of the "safeguards" that statically typed languages provide, agile practices such as test driven development (TDD), continuous integration, and simple design become even more important.  Fred closes his talk with the following statement: "I wouldn't work on Ruby without Agile".  I wonder if he'd work on C# or Java without Agile.

Sunday, August 05, 2007 2:34:03 AM (Eastern Daylight Time, UTC-04:00)  #    Disclaimer  |  Comments [0]  |  Trackback