# Monday, March 10, 2008

TDD is total crap

Okay, that's really just a hook to get you in the door. Let me complete my thought:

TDD is total crap if you don't really do TDD, but get stuck on Faux-TDD

In the last four weeks the project I'm working on has grown from 3 libraries to 12 (it's probably a bit bloated).  It has gone from 30% unit test coverage to about 75% unit test coverage.  (The white-papers I've skimmed more or less say 70% to 80% is good and that getting above that is not cost effective unless you're writing fighter-jet or medical device software.)   We're successfully implementing an MVP based on the in-depth work Vijay did looking into approaches.  We are coding against interfaces not implementation classes, using an IOC tool and writing unit tests using a mocking framework.  And, most importantly, we're trying really hard to implement TDD.

I'm going to go ahead and say, we've done everything we can in he way of employing tools and patterns to make TDD happen - save one thing: writing tests before we code.  This is kind of the classic Software Engineer response: learn a tool, get some numbers, bang some stuff out to get it going.

Monday, March 10, 2008 4:00:11 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |
# Sunday, March 09, 2008

Dinner at Telly's


Dinner at Telly's, originally uploaded by astoriahermit.

Had dinner tonight at Noam's favorite Greek joint in astoria. The whole red snapper was great. You win Noam, your greek place is better.

Telly's Taverna
2813 23rd Ave
Astoria, NY 11105-2707
Phone: (718) 728-9056

New York Magazine Write Up (10 out of 10 - 2 Reviews)
Sunday, March 09, 2008 8:45:53 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |
# Saturday, March 08, 2008

Stuck at LAS


Stuck at LAS, originally uploaded by astoriahermit.

That is airport talk for McCarran airport in Las Vegas. Apparently JFK is on a ground stop... Oh wait, we're boarding again. 11:51 flight boarding (again) at 2:18pm. At least we weren't stuck on the plane.

Saturday, March 08, 2008 5:20:46 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |
# Friday, March 07, 2008

Scott's MVC Talk is available

ScottHanselman's talk on sessions.visitmix.com

Here is the link to Scott Hanselman's talk on the ASP.NET MVC at Mix08 this year.  The site REQUIRES Silverlight which more or less puts you into IE.  That IE only BS needs to change for me to truly buy into Silverlight - I can't get it to run with Firefox.   In my previous post I named Scott my top contender for best presenter (that I saw) at Mix08 and it looks like he's going to carry the day unless I'm blown away by either of the last two sessions.

I actually ran into Scott in V bar last night and let him know I appreciated his talk.  Be sure and check out his talk.  My take on the MVC stuff is basically: It's not my future, but it's really pretty* technology.

*pretty: crazy great detailed implementation that is designed around testing and neat functionality quickly, pretty is pretty high up in the superlative chain to the end all be all 'elegant'

Friday, March 07, 2008 12:50:47 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |
# Thursday, March 06, 2008

Top Contender for Best Presenter at Mix08

I'm sitting in Scott Hanselman's talk on MVC for .NET and he is just really great and very engaging. Not only is he doing a killer demo of MVC but he's doing a great sideways sell of TDD. Of all the talks I've been to so far at Mix this year, he's the best. He's all up in the code and keeps it really funny and irreverent. I will definitely be adding his blog to my daily reading list. If you want to know a little more about him, here is his bio scraped from the Mix08 site (I added the gold star).

Girl Scout Gold Award

Scott Hanselman

Scott Hanselman works for Microsoft as a Senior Program Manager in the Developer Division, aiming to spread the good word about developing software, most often on the Microsoft stack. Before this he worked in eFinance for 6+ years and before that he was a Principal Consultant a Microsoft Partner for nearly 7 years. He was also involved in a few things like the MVP and RD programs and will speak about computers (and other passions) whenever someone will listen to him. He's written in a few books, most recently on Professional ASP.NET. He blogs at http://www.hanselman.com and podcasts at http://www.hanselminutes.com.

Thursday, March 06, 2008 9:03:30 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

Ballmer vs Kawasaki

bio_steve VS bio_guy

Steve Ballmer and Guy Kawasaki squared off today for the keynote which consisted of a one on one interview (Kawasaki, interviewing Ballmer).  While I'm not up on the history, there was certainly a friendly water-under-the-bridge adversarial thing going on.  Kawasaki being a big proponent of all things not Microsoft asked some tough questions that went straight for the throat.

His first question out of the gate went straight for the - What's up with Yahoo? question. It's not worth me rehashing it when you should just watch it for yourself - here. It stayed very interesting and Steve answered questions with great candor.

My favorite part: when Steve got all "monkey boy" and gave web developers a shout out. He actually reminds me a lot of my friend Troy - Can I get a Wooo Woooo! ?

Thursday, March 06, 2008 9:01:42 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

MS Surface Demo

In the open space area here at Mix08 they have Demo's of MS Surface.  You know that multi-touch table-top thing Microsoft rolled out as a concept doo-dad a while ago.  Well, I'm a huge fan of Multi-Touch and ever since Minority Report I've dreamed of the world where I can interact with a computer with my hands in a gesture driven touchy kind of way (think iPhone).   And there is a lot of academic work and some really cool YouTube videos of same.  This is the first time I've seen something like this (on this scale) in the flesh.  This is really cool and a nice step toward the dream of ubiquitous computing.

A little insight on what you're seeing in the photos.  The pictures of the phone (HTC Dash for T-Mobile) lying on the surface.  The surface has identified it as a Dash and shows you information about the phone (via blue tooth I think) and let's you interact with that.  The one over the map of Seattle lets' you see cell signal coverage in a given area.

The cell phone bits were pretty cool, but the thing I loved was the photo interaction.  The guy giving the demo picked up a digi-cam pointed it at us, took a picture and then set the camera down on the surface.  The pictures tumbled out and several people were able to intact with them (move, resize, rotate) simultaneously. It was really cool.

Thursday, March 06, 2008 8:02:05 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

...Stays in Vegas


...Stays in Vegas, originally uploaded by astoriahermit.

There is a ridiculous Rock Band setup here. And, of course the Elvis impersonator on the drums kind of puts the cherry on top.

The Ballmer keynote just before this photo was taken was also pretty awesome. Ballmer gave us some nice "Monkey Boy" action. I'll do a post about it on a full size keyboard and get a link to it up.

Thursday, March 06, 2008 5:38:53 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

Oh I wrote a Silverlight app. Yes I did.

Played with Silverlight on one of the hands on one of the lab boxes. Wrote a little app that rotated and changed the color of the text.

Then I did something that make the animation appear to break. I asked for help and after a couple different MS helpers I ended up talking to a Blend product manager. He was really helpful and we re created what I had done to get the weirdness and it worked fine.

Overall I will be playng with Silverlight 2 in the current preview of Blend some more, It's just a learning curve thing at this point. Looks like the goods are mostly there in the product.

I am a little bummed because I wanted to have a post about me breaking something.

Thursday, March 06, 2008 3:06:11 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |
# Wednesday, March 05, 2008

Chillin' at Tao


Chillin' at Tao, originally uploaded by astoriahermit.

At Tao beach hanging in the 60 some degree weather. Bit of a sausage fest, okay entirely a sausage fest. We'll chill here and then get some dinner.

I'll try and roll up a slideshow tonight.

Wednesday, March 05, 2008 10:33:39 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

Google Maps + IE8 = Tits Up

googleMapsIE8b1

Wednesday, March 05, 2008 5:35:53 PM (Eastern Standard Time, UTC-05:00)
#    Comments [1] |

IE8 and Jonk's Blog

Well, they almost got there.  This is Jonk's blog in Firefox:

Jonk's Blog in FF

This is Jonk's Blog in IE 8 Beta 1:

jonksBlogIE8b1

Doh.

Wednesday, March 05, 2008 5:14:09 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

Ari represent


Ari represent, originally uploaded by astoriahermit.

Ari's demo was great, cut through the bullshit and straight to the code, run it, break point and show the money.

Wednesday, March 05, 2008 1:57:44 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

IE8 has firebug.


IE8 has firebug., originally uploaded by astoriahermit.

Well, not really. But they built something like it.

Actually the activities functionality through the OpenService stuff looks pretty cool.

Wednesday, March 05, 2008 1:51:07 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

Scott Gu is a rockstar, no really

So Scott comes on and the place goes a little crazy. Everyone starts snapping photos... Ooooh get on the stream, they are about to show IE8.

Wednesday, March 05, 2008 12:59:13 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

Flickr / Twitter overclocking


Flickr / Twitter overclocking, originally uploaded by astoriahermit.

With all the user generated to screen Flickr / Twitter exposure it's like there is a race going to generate content.

The hot buzz seems to be that IE8 will be launched to beta in a little bit here. I'll see if I can post a link. Also, it appears the keynote will be streamed live.

Wednesday, March 05, 2008 12:23:45 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

Staking out for the keynote


Staking out for the keynote, originally uploaded by astoriahermit.

Celebrity sightings: Ray Ozzie getting his credentials challenged and I swear I saw Rockford Lhotka. Oh, and Elvis.

Pretty good Johnny Cash cover artist singing for us.

Note to Noam and Jason I am up front on the left side about 5 rows back.

Wednesday, March 05, 2008 12:15:04 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

Peppermill, damn straight


Peppermill, damn straight, originally uploaded by astoriahermit.

Noam got a pineapple mojito and it was down hill from there. I had a manhattan and a massive quesadilla.

Wednesday, March 05, 2008 2:24:02 AM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

This post composed at 38,000 feet

I am currently over Kearney, Nebraska ( I would throw in a link for you but I'm not connected to the inter-webs right now).  Two seats to my left is Noam of Blog.a.lish and right behind me is Jason of soon to be some blog somewhere.  We're on our way to Mix 08 in Las Vegas - Microsoft's Big web development conference.  The next few days will be dominated by posts about happenings at the conference.  Under a cloud of Wi-Fi, armed with a Wi-Fi enabled phone with and a post by email setup through Flickr I'm going to be a buzz with conference posts.

Last year at Mix07 the buzz was Silverlight followed by the Google-DoubleClick acquisition.  This year is certain to be Microsoft's hostile bid for Yahoo (is it safe to call it hostile yet? or just post bear-hug?).

This year has a few sessions about online advertising, an obvious subject of interest for anyone who knows why the web is "free" and/or want's a slice of the pie.  I'm also hoping to get some more insight into LINQ, Silverlight and the MS MVC. And, while it will be tempting to rant, I'm probably going to refrain from sharing my well earned opinion that WebParts are junk.

Actually, on a more non-specific front I'm going to quiz my MS friends about testability.  The project I am currently working on is using Sprint .NET as an IOC tool and N-Mock as a mocking tool. I'm curious what the MS boys have up their sleeve in this vein.  As I start to feel the effects of the TDD Kool-Aid these things have become more important to me as part of my daily work.

Sorry about the absence of links to the various subjects here-in.  I really am at 38,000 feet.  If only there were really Internet access on planes.  Then again, where else would I get to feel cut-off from the world in a cocoon of I-can't-affect-anything - oh wait, I ride the subway to work.  Thank you MTA for keeping me relaxed when I'm powerless.

Wednesday, March 05, 2008 12:49:39 AM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |
# Monday, March 03, 2008

Did I tell you I found these on my phone?

jetBlue
Jet Setting

ChristmasDayPhoenix2007
Christmas Day 2007, Phoenix Arizona

Monday, March 03, 2008 6:00:43 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

Regular Expressions are Magic

I am a huge fan of Regular Expressions (Regex).  There are a lot of cool technologies, but no other technology seems as much like total hocus pocus.  I take most every opportunity to use Regular Expressions in my applications, and I'm pretty much a sucker when a friend asks me to figure one out.  I'll spend hours tweaking an expression in The Regulator, a cute little .NET regular expression utility.  Actually I just noticed that the last release is 2004.  What are other people using to do regular expression development and testing?

There is one rule of thumb I observe whenever I use a Regular Expression in an application: Make it overridable by a config setting.  Regular Expressions are forever a work in progress and very often the first slice needs some tweaking after you get it into the real world.  This little practice has saved my ass more than once, most recently I was able to fix a production application by just tweaking a config rather than pushing a whole patched release through QA and doing a full deployment.

At this point I just automatically do this when I put a regular expression into an application:

Monday, March 03, 2008 12:54:49 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |
# Saturday, March 01, 2008

Darjeeling Limited - 5 Stars

Saw The Darjeeling Limited last night and I loved it. First of all I'm a huge Wes Anderson fan - like back to Bottle Rocket big.  If you haven't seen this one you need to.  I've conveniently included the trailer here for your viewing pleaure:

I'm not going to drag you down with great themes and symbolism, but they are all there and delivery. You should see this movie for no other reason that the visual richness, but the music is great as well. And if all that weren't enough the movie was shot on a freakin train - no really, like on a train underway not just some we'll-CGI-it-in-later train. I'm kind of sad I already put it back in the netflix envelope.

Saturday, March 01, 2008 9:33:06 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |

Dinner at Nha Trang on Centre Street

148 Centre Street, New York

I've been going to Nha Trang for years, and something was different last night. The usual cadre of servers wasn't there, replaced by a new bunch. I can't help but wonder if the place has changed hands. I'm still recovering from a cold so my taste buds are not up to full speed, but my wife said stuff wasn't as good as usual. I fear I may have to find a new favorite Vietnamese place.

Saturday, March 01, 2008 8:15:45 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |
# Friday, February 29, 2008

The way to the loo at my favorite Irish Bar

There is a great, great Irish bar out here in Astoria called The Quays.  You can scuttle off and find the mentions and what not.  Frankly, I don't want you to find it.  But if you doubt it's a fantastic bar I have two things for you: 1) for some reason the Smithwicks on tap there tastes better than anywhere else I've had it and 2) Here is the view at the top of the stairs down to the bathroom.

 stairsAtTheQuays

Yeah, that's money.

Friday, February 29, 2008 6:00:45 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |
# Thursday, February 28, 2008

Working late with Vijay


Working late with Vijay, originally uploaded by astoriahermit.

I suppose I should tell him I stole his soul with my talking box.

Thursday, February 28, 2008 7:04:00 PM (Eastern Standard Time, UTC-05:00)
#    Comments [0] |