Archive

Archive for March, 2006

AJAX becomes a truly meaningless term

March 29th, 2006 No comments

Have you heard of rumored Microsoft Word killer ajaxWrite? The ABM crowd is delighted with the supposed challenge to my employer’s Office suite, but what caught my eye (via Dare’s post) was the fact that ajaxWrite isn’t actually built on AJAX technology.

Now we see the full lifecycle of development ideas:

  1. Smart developers start using an interesting technique to develop apps.
  2. Smart marketing people invent a new buzzword for the technique.
  3. The buzzword is adopted by people who don’t know or care about developing apps and is endowed with as many positive characteristics as people can fit into a blog post or article.
  4. The buzzword is liberally used along w/ the meaningless term “Web 2.0″ and ceases to have any actual meaning. People who are focused on specific development techniques “just don’t get it”.

Of course, the combination of javascript, XmlHttp and DHTML is still pretty cool.


Categories: Uncategorized Tags:

KeepVid, a must have for YouTube fanatics

March 19th, 2006 No comments

A lot of the time I used to waste on general web surfing is now focused on watching the incredible videos on YouTube. The site is designed for sharing personally created videos, but instead serves (until the man gets around to squashing it) as a resource for tons of great video which would be otherwise unavailable. Live Prince performances, classical music performed on ukulele, you name it.

Well, if you enjoy YouTube as much as I do, I’m sure you’ve thought “man, I wish I could save this video for the day when the lawyers come knocking”. There have been some manual hacks floating around, but keepvid provide two or three click access to downloads (in multiple formats) of anything on YouTube, Google Video and tons of other sites. It rocks.


Categories: Uncategorized Tags:

Albert King in action

March 10th, 2006 No comments

Albert King and Stevie Ray Vaughan “In Session” is one of my favorite CDs, and I paid an embarrassing amount for a bootleg DVD of the canadian TV footage from which the CD was extracted. I think I nearly forced Sarah to move playing the DVD over and over again.

My new desktop background, a photo by grassvalleylarry on Flickr, reminds me of how much I love both of their interpretations of the style.







Categories: Uncategorized Tags:

I think I'm an XMLReader poo pooer…

March 7th, 2006 No comments

Yesterday I posted a comment to Scott Hanselman’s post about his preference for XmlReader over techniques like XPATH. Here’s my comment if you’re lazy like me:

I go 100% in the other direction. I much prefer to use XPATH as I find it easier to see what the code is doing in a single expression like:

//Foo[1]/Bar[@val = 'gerrard']

rather than ten or 15 lines of procedural code.

Perf is great, but in most of my apps simple maintanability and easy ramp up are way more important that getting every single drop of speed…

Today Scott posted a follow-up, including the following:

I also received a number of poo-poo emails that said “use XPath” or “don’t bother” and “the performance is good enough.”

Sure, if that works for you, that’s great. Of course, always measure before you make broad statements. That said, here’s a broad statement. Using an XmlReader will always be faster than the DOM and/or XmlSerializer. Always.

Can I nominate myself for spokesman of the poo pooers? Call me the Mort Spokesman if you like ;) .


I don’t think anyone is suggesting that there isn’t a speed difference, only that the perf improvement may not be worth the decrease in readability and maintainability of the code. Again, I agree 100% that there is some perf difference, I just don’t believe it’s enough of a difference to make it worth the cost in terms of complexity.

Beyond that, I can’t imagine many real world applications where that speed difference (even if it is orders of magnitude) isn’t going to be dwarfed by the time it takes to travel across a network and to run db transactions.

I tend to design applications with the following questions in mind, in order of priority:

  1. How easy is it to train a new developer to replace me?
  2. How easy will it be to fix a problem when one arises late on a Friday?
  3. How easy is it to change the application?
  4. How easy is it to expand the application?
  5. How will the application perform?

Notice where perf is in that list. Most of the developers I have worked with are really challenged by the breadth of technologies and techniques available to them. Having the applications they maintain and support easy to understand, easy to troubleshoot and easy to modify is more important to me than optimizing for every single drop of perf possible. If it wasn’t, I’d probably be writing in Assembly. Or I’d try to get my job at the t-shirt factory back.

Of course, it’s not a black and white issue. There are trade-offs and balances depending on who the user community is, and the business processes that you are supporting. Further, the old chestnut applies…test early and often. If it turns out that connecting to the db and running a sproc is less of a bottleneck for your app than your choice to use XPath instead of XMLReader, go for it! Optimize away.

That said, I think the Alpha Geeks tend to focus on perf, and premature perf optimizations, to the exclusion of maintanability more often than is healthy. Especially if, like me, you don’t like working late ;) . Remember, writing test programs with tight loops, and comparing coding patterns in terms of number of operations is fun for devs. Whether or not it adds business value to solutions is another question entirely.

Categories: Uncategorized Tags:

The Worst Day of My Life

March 4th, 2006 No comments

Today, March 3rd 2006 has been the worst day of my life. Without question, second thought or soul searching. That’s all I’m going to say. I just wanted that to be here on pickabar.


Categories: Uncategorized Tags:

Buddy Guy Fans are everywhere!

March 2nd, 2006 No comments

On the way home from my last trip to Seattle I was stopped three times by people who noticed my Buddy Guy t-shirt. Even a security guard!

Well, today Scoble posted about seeing Buddy Guy live in New Orleans. He mentions one of the best parts of seeing Buddy live, getting to see his guitarwork up close in personal in the crowd. I guess Buddy Guy fans really are everywhere.


Categories: Uncategorized Tags: