Posts

Showing posts from 2009

A taste of my road-trip mix tape

Image
Buttons by The Weeks Anna Begins by Counting Crows Everlong by Foo Fighters One new and 2 staples, although the staples tend to fluctuate between songs but the bands are pretty stable. The great thing about music and trips for me is to focus on an album for an entire trip. It has to be one that I am currently hooked on (so not an automatic for every trip). If I am able to have a single album for that trip then for years to come I have a teleporter to that trip. Pop the album in and and the trips feelings and emotions come right back to the surface.

Windows 7 take 1…. and Action!

My first post from within Win7 and I must say overall I have been very pleased.  My understanding is this version is more of an R2 of Vista than brand new everything and I think the early Beta stability represents that  (Disclaimer: I am a happy Vista user). The only issue I have had is the lack of a way to mount an iso except through third party plugins.  In this day and age where everything gets distributed via iso files it just seems crazy.  We are left to scrounge around in the free third party tools world to install apps that install device drivers deep in the heart of Windows.  All of this work to create a stable, secure, and reliable OS and the first thing I have to do before I can install Visual Studio is start loading unsupported device drivers which not surprisingly at all, suck.  So for 3 hours last night (until I could find and rip out the offending stuff) my explorer would not work, shutdown would not work and required a hard reset.  So ...

Linq to Objects (When orderby does not order by but OrderBy does)

I must admit that while I have really enjoyed getting to know linq , it is not without it's frustrations. Sometimes things that seem like they should work, compile giving you that warm fuzzy, then in execute mode they turn out not to work. I understand that what this really means is that I don't yet intuitively grasp the internals of what is happening in the plumbing but perhaps one day I will. With that being said, today's example is about my first use of orderby for a linq to object query. Consider this linq statement: var needed = from a in myFCs where a.Status == Status.Needed orderby a.Priority, a.WeeksIncluded, a.QtyPlan select a; Looks ok, compiles ok, runs ok with the small issue that as you step through the collection the objects are not ordered as requested. My first thought was that I might need to modify my object class maybe add an additional interface or two. However a few minutes with google got me to here . On...