comments suggest edit

We’ve been having an internal debate within the Subtext mailing list over the merits of SourceForge vs Google Code Project Hosting vs Codeplex. Much of the discussion hinges around the benefits of Subversion for Open Source projects when compared to Team Foundation System (TFS).

Before I begin, I do not mean for this to devolve into a religious argument. This is merely my critique from the perspective of running an Open Source project. I personally think both are fine products and both probably work equally well in the corporate environment.

TFS Advantages

  • Easy of use. For developers with a background in using Visual Source Safe or Sourcegear Vault, the interface into TFS will be familiar. Subversion requires more of a learning curve for these developers, though this is mitigated by my suspicion that a large percentage of Open Source developers tend to use CVS and SVN already. 
  • Work Item integration is sweet. I’ve been contributing some code to the Subsonic project and I actually love the work item integration in VS.NET. It’s pretty nice to be able to review and close work items while working on the code.
  • Shelving is great. Certainly nothing stops you from doing something like this in Subversion by using conventions, but I like the syntactic workflow sugar this provides.

Subversion Advantages

  • Anonymous access. Users who want to look at the code, view the change history of the code, and update their local code to the latest version can do so form the convenience of their favorite Subversion client. This is much more cumbersome with TFS.
  • Patch Submission. This goes hand in hand with anonymous access. Users without commit access can have Subversion generate patch files consisting of their changes and submit these files. This makes it really easy for the casual contributor to quickly submit a patch as well as makes it easy for the Open Source development team to apply contributions to the source. This is a huge benefit to the project. Unfortunately with CodePlex, you either give commit access or you don’t. If you don’t, it’s a pain for users to submit patches and a pain for the project team to apply patches. Just ask Rob Conery what happens if you give commit access too freely.
  • Offline Support. Regardless of what Jeff says, offline mode does matter for many applications. For example, sometimes I have to connect to an obnoxious VPN that destroys my general internet connectivity. It’s nice to be able to connect, get latest, disconnect, work, connect, commit changes, disconnect. Try that with TFS.

Again, as source control systems, I believe they are both great systems. But for the needs of an open source project, I feel that Subversion has advantages. As far as I understand, TFS was designed as an enterprise source control system. However, the needs of the enterprise are often different from the needs of an Open Source team.

Subversion, itself open source, was used during its own development (when it became stable enough). So it is well suited to open source development.

If Codeplex supported Subversion, I would probably want to move Subtext over in a heartbeat. If you feel the same way I do, please vote for the work item entitled Subversion Support (SVN).

It looks like a lot of people would like to see this as well as it is the top vote getter on the Codeplex work item site.

And before you rail on me asking, Why Microsoft would ever consider such a move? Isn’t Codeplex a showcase for TFS and Microsoft Technology Open Source projects?

A member of the Codeplex team informed me that Codeplex is the home for any Open Source project - on any and all platforms. In fact, they do now host a few non-Microsoft projects. Of course their dependency on TFS does naturally limit the types of projects that would host there.

comments suggest edit

Micah Dylan (CEO of VelocIT) writes about a tech support call he had with Comcast, the local cable company.

To sum (though you should go read it) Micah can’t login to the Comcast website and the tech support guy tells him to call Microsoft claiming it’s a problem with the browser!

Comcast Really?! You expect your customer to call Microsoft and singlehandedly convince them to update their browser so it works with your website, rather than following the lead of millions of other websites and making the website work with the browser? Really?

comments suggest edit

UPDATE: This post was meant to be mostly tongue in cheek. I love programmers. Some of my best friends are programmers. Also, to be fair to the FizzBuzzers, the spec for this question is flawed, as are all specs as I point out in Why Can’t Spec Writers Write Specs.

You gotta love Once again, Jeff Atwood writes a great post entitled Why Can’t Programmers.. Program?But in this case, **the best part is in the comments. Let me explain.

Jeff writes about a simple “Fizz Buzz” test given by Reginald Braithwaite. Here’s the functional spec.

Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.

Mind you, this is not a trick question. It is as easy as it sounds. Or it should be. According to Reginald Braithwaite, the majority of comp sci graduates can’t do it.

Naturally, the very first comment to Jeff’s post solves this simple problem. But read further and be amazed at how many developers get it wrong in such a public forum!

The problem may not be that these programmers can’t program. It’s that they can’t read!

I think reading comprehension must be at an all-time low among graduating programmers. Perhaps it’s time to bring back more word problems in our curriculum. Of course we’ve all seen this lack of reading comprehension in comments to our blog posts, haven’t we? As in when someone completely argues against a misinterpretation of your post.

It never fails to amaze me at how some companies I’ve worked with (or at) praise developers who are fast, even if they do the wrong thing because they failed to understand the spec or include so many bugs as to have made the spec irrelevant.

At least he’s fast!


So what’s worse? A programmer who can’t write code, or a programmer who can, but can’t follow a spec?

code, tech comments suggest edit

Forget flame wars. They’re so USENET. The new way of geek fighting is much more subtle.

Subtlety of a blow

Recently Scott Hanselman wrote a post on the SEO implications of URL standardization which Jeff Atwood followed up with his post on URL Rewriting to prevent Duplicate URLs.

Jeff makes it known that he prefers that his blog be referenced with the “www.” in the front. I think that’s an unnecessary three characters that is quite dated. Yes, we know your blog is on the World Wide Web. The World Wide Web is no longer a nice new shiny bauble. You can feel free to drop the www.

Besides, your domain name will sort better without it.

And for those who say: But if you hit CTRL+ENTER in the address bar, it’ll surround what you type with “www.” and “.com” I saw bah! If I want to go to Jeff’s blog, I can type c-o-d and hit tab and I’m there. A modern browser is pretty handy for that with that newfangled auto complete.

Anyways, in this recent post on the reading habits of programmers, I linked to a post of Jeff’s without the “www.”, which did not go unnoticed by Jeff nor LazyCoder Scott (thanks for pointing out the jab Scott, it might’ve gone under his radar damnit! A nice subversive jab at the man.)

Responding with a geek equivalent of “Oh no you di’int”, Jeff’s very next post, he returns the favor. Touché my friend! Touché. Well I’ve hidden a little something for you in this post. Oh yeah. Bring it on.

Aren’t we just so pathetic?

P.S. Jeff now flinches if you threaten to Digg his blog.

comments suggest edit

I finally got around to uploading pics of our short Seattle vacation to Flickr. Our first full day there, Saturday, benefitted from beautiful weather. We took a nice boat ride on Lake Washington and skipped by BillG᾿s immense house.

Bill Gate᾿s

The pic does not do it justice. There are a few more here. We must᾿ve gotten too close for comfort because a security guard came to the water᾿s edge and mad dogged us.

We also had the opportunity to check out the new sculpture park. I thought it was quite interesting. One of my favorite sculptures was this chrome tree, seen here behind a real tree.


I also had the opportunity to visit some friends at Microsoft. Apparently Microsoft is experiencing explosive growth. My friend Julie who worked on campus a couple years ago is now at an office complex one freeway exit away off campus.

Our friends worked hard to convince us that we should move to Seattle. But I think it may take more convincing, as we᾿ve both contracted a cold and blame the damn Seattle weather. Wink comments suggest edit

Scott Watermasysk has a great set of Quick Tips for ASP.NET on his blog. And this is only part one! I’m Looking forward to seeing the subsequent posts of this series.

However, I disagree slightly with his tip to Never use the ASP.NET Label control. I would rephrase it to:

Never use the ASP.NET Label control when a Literal would do.

The problem is not the Label control. The problem is treating the Label control as if it was merely a Literal control.

The Label control has a specific usage, to be a label for a form input. For example, check out this screenshot of a text label and textbox.

Textbox control and

Let’s look at one way to create this simple form using a Literal control (Notice I’m getting the value from a Resource file because we all want to be internationally friendly, right? But it also points out why I use an actual control rather than just typing the label directly).

<asp:Literal id="label" Text="<%$ Resources:UserName %>"   runat="server" /> <asp:TextBox id="textbox" runat="server"/>

When you click on the word Username what happens? Nothing. Wouldn’t it be nice if the Textbox next to the literal was given focus? Here’s how:

<asp:Label id="label" AssociatedControlId="textbox"     Text="Username" runat="server" /> <asp:TextBox id="textbox" runat="server" />

Now, we’ve associated the label to the control. The underlying HTML looks something like (simplified for the sake of discussion):

<label for="textbox">Username</label> <input type="textbox" name="textbox" value="" />

This associates the label Username with the textbox control, so when you click on label, the textbox gets focus.

So why use the Label server control here? Why not just use the <label /> html tag directly?

Because you might not know at compile time what the client id of the TextBox will actually end up as. What if these two controls were inside a UserControl inside a page? The ID might get a bit funky as its nested in a control within a control.

Technorati Tags: Tips, ASP.NET,

comments suggest edit

Logo In Decemember I wrote about a great soccer camp I attended. Well one of the other attendees is a Sports Anchor at Univision and had a camera man in tow taking footage during the camp.

Soccer BallStarting on Saturday, February 17^th^, Univision will be airing a four part series about the Galaxy Camp. The second part will air on Sunday and the third and fourth parts the following weekend.

Of course, this is subject to change without prior notice, but if you tune in, you just might catch a glimpse of me on the tube. Unfortunately, I didn’t feel comfortable enough with my spanish to give an interview like several of the other campers.

In Los Angeles, this would would be on KMEX channel 34.

Disclaimer: I was once a Univision employee.

comments suggest edit

I’m posting this more as a reminder for myself. Where exactly are you supposed to place XSD files to give you intellisense for XML files in Visual Studio.NET?

Visual Studio.NET 2003

C:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Packages\schemas\xml

Visual Studio.NET 2005

C:\Program Files\Microsoft Visual Studio 8\Common7\Packages\schemas\xml

This is useful for such things as Nant.xsd and UrlRewriting.xsd.

To get intellisense for NAnt, you have a couple of other steps to do.

comments suggest edit

SeattleThe wife and I are headed up to Seattle for President’s day weekend to visit some friends.

Yeah, I know. Why Seattle At This Time Of Year!?

Well with her being all preggers and all we didn’t want to go somewhere too distant (like Tahiti). Not only that, a little cold weather might be a nice change of pace. I mean you can only take so many consecutive days of blue skies and sunshine.

I’ll also be swinging by the Microsoft Campuson Tuesday to have lunch with my compadres Adam Kinney and Erik Porter. My hope is to grovel and beg for them to sneak me through the back door of Mix

  1. It probably won’t work, but I gotta give it a try, no?

I plan to show up a little earlier to see another old friend from college who works at Microsoft and, believe it or not, is not a developer! She’s in Finance doing something or other.

Hopefully I’ll run into some other Microsoftie characters I know!

comments suggest edit

Steve Harman just announced the release of Subtext version 1.9.4 Windward Edition. This one comes with a lot of bug fixes, so be sure to upgrade.

Just so you know things work, I add bugs to Subtext, and Steve and the other developers fix the bugs. It’s a rather efficient ecosystem and is working quite well for us. It keeps everyone on their toes.

Steve’s post has the full list of bug fixes and such. The most interesting addition is that we’ve implemented a Google Sitemap, which was submitted as a patch, if I remember correctly.

This release is notable because of the increased number of patch submissions. I greatly appreciate the contributions by all the new contributors along with the stalwarts. Working on Subtext is a joy because of these people.

As for Subtext 2.0, Progress has been slow, but steady. One challenge we’re dealing with is how to cleanly handle the following two multi blog scenarios as summarized by Simo in our mailing list.

​1. The multi blog site is a communiy site: so user registered to a blog, are already registered for all blogs.

​2. The multi blog site is just a host for many different non related blogs: here all users are different, and even if 2 blogs are on the same system, the user shouldn’t know about that.

We pretty much can already handle case 1 which is nice because it means the same user can be the owner of more than one blog, rather than requiring a user account per blog. This is useful for me personally as I host three blogs on a single installation, and right now, the admin is technically three different accounts.

Strictly speaking, this implementation makes implementing the isolation requested in case 2 difficult, because usernames must be unique. So if there’s ever a name conflict between two users attempting to register with the same username, the two blogs will affect each other and not be completely isolated.

However, if we make the user’s email address their login, we can implement case 2 in spirit. First of all, there won’t be two different users using the same email address, so the naming conflict issue is resolved.

Secondly, if you wish to register for blog 2, why should we make you fill in your information again if we already know who you are? We should simply present a message that says, Hey, we know who you are, if you want to register for this site, click here and we’ll auto register you.

That way, the user is in control over who which blogs get to see their registration information, yet they only have one user account in the system. Certainly there are some improvements we can make later, for example, some blogs may want more information than others to register.

But for now, we only ask for the minimal amount of information and will keep things simple and consistent across the board.

In any case, enough blabbing. If you want to download the latest release, you can find it on our SourceForge site or just use this [DOWNLOAD] link.

comments suggest edit

UPDATE: How could I have overlooked the Plugin Keyvan Nayyeri wrote two months ago. Sorry buddy!

You know what would go well with my XFN Highlighter Script like Kimchi goes with Bulkogi? How about a plugin for inserting proper XFN hyperlinks?

Screenshot Scott Dornan (and Keyvan) delivers exactly that with his Insert XFN Hyperlink plugin for Windows Live Writer.

Apparently he was introduced to the concept of XFN after reading a post on my blog.

Yes, you have me to thank for this fine plugin (not to mention Scott who actually did all the work, while dealing with a-holes like me trying to take the credit).

It’s not yet available in the Windows Live Gallery, but will hopefully be there soon.

In the meanwhile, we’ll have to beg for a direct download. Wink

comments suggest edit

My feed looks like several items were reposted. This is due to a bug in Subtext when editing an existing post using Windows Live Writer. In any case, we’ll have a fix available in the next release of Subtext soon.

comments suggest edit

I received a call from a nice lady asking to speak to someone who could confirm an employment at VelocIT.

Me: Sure, I can do that.

Lady: What’s your name and title?

Me: I’m Phil Haack, the CTO.

Lady: Is there someone else I can speak with?

Me: Uhhh, why? Is there a problem? I am an owner and manager of the company. Certainly I have authority to confirm an employment.

Lady: I can’t have you confirm your own employment.

Me: Oh! This is for me!?

Man, I’d be in big trouble if I were a one-man shop.

comments suggest edit

IBM Second Life Offices - From Dylan, co-founder and CEO of VelocIT (you know, the place I work for my day job), has recently discovered Second Crack Life. He’s been hanging out with some big wig at IBM in charge of open source and open standards. And you know how I loves me that open source.

Apparently IBM is looking at ways to build internal community among a distributed workforce and exploring whether or not Second Life fits into that. Obviously, this holds appeal to VelocIT because we’re a distributed company.

It’s hard not to find Second Life intriguing if you’ve ever read Snow Crash, but I’m tentatively skeptical of its use as a day to day communication tool. I’m just not ready to have a processor intensive 3D environment running in a window while I’m trying to get my coding on.

However, I do see its appeal for having short fun meetings. Jon Galloway and I have hung out in Second Life for a short period before we realized what a time sink it could end up being.

I think Second Life could be a great tool for Open Source teams to hold meetings. In fact (and you heard it here first), when we release Subtext 2.0, we’re going to have our release party in Second Life.

comments suggest edit

ConeryOn Tuesday night I met Rob Conery, aka Mr. Subsonic, aka Mr. Commerce Starter Kit. The man is shifty and goes by many aliases. He was in town visiting family and was able to pull away for a night to kick it.

From time to time, I’ve met people in person at various conferences who I only knew via their blogs. Usually, because you have no idea what to expect, those meetings can be full of surprises.

You’re nothing like how I pictured you in my head. I thought you’d be taller, have hair, and be more female.

Since I’ve chatted with Rob on Skype before, there were no surprises.  Except that he’s ginormously tall. I literally almost blurted out, You’re a freakin’ giant! But was able to hold my tongue.

Jon Galloway joined us after a harrowing drive up the rain soaked freeway from San Diego and we headed for Hurry Curry of Tokyo on Sawtelle for some delicious Japanese style Curry. After a couple of bottles of sake and Sapporo beer, we headed over to The Mór Bar for $2 Tuesdays with Moontribe.

The Mór Bar is a sweet spot to hang out, get a drink, talk and listen to good music. They have a nice arrangment of plush couch/benches in a U-shape arrangement at the front of the bar on a deck, which evokes a Lawrence of Arabia feel.

We settled in to geek out and Rob’s a fun guy to have a conversation with. Just brimming with great ideas and interesting stories. Shortly into it, Rob remarks on my total ADD (Attention Deficit Disorder). What the heck do you expect when you buy me a Maker’s Mark for the first round of drinks? Yeah, I get easily distracted after multiple shots of sake, beer, chased by a strong whiskey. What can I say?

So there you have it, Rob’s Tall, Jon’s Bald, and I have ADD. Any case, Rob, if you read this, I hope you got your Credit Card back. Good times. Good times.

comments suggest edit

Jeff Atwood writes a great post on how to become a better programmer by not programming. For the most part, I totally agree with his premise that to become a better programmer, you need to…

Learn about your users. Learn about the industry. Learn about your business.

Understanding the big picture is absolutely essential to being a good developer. Especially when you’re in the 99^th^ percentile. The effort to get to 99.5^th^ is very great and provides diminishing margins of return.

However, most developers are not in the 99^th^ or even 90^th^ percentile (by definition), and thus still have room for improvement in programming ability, along with the important skills just mentioned.

I am not convinced by the idea that developers are either born with it or they are not. Where’s the empirical evidence to suport these types of claims? Can a programmer move from say the 50th to 90th percentile?

Jeff points out that study after study shows there is no relationship between a programmer’s amount of experience and code quality or productivity. I don’t doubt that for a second. I’ve worked with developers who have 10, 15, 20 years in the industry and couldn’t code a virtual rat through a maze consisting of two parallel lines.

But recent research points out that the belief in innate talent is “lacking in hard evidence to substantiate it” as well. I wrote about this topic recently in my post, The Question Of Innate Talent.

So how do I reconcile these seemingly contradictory statements?

Well going back to the Scientific America article, The Expert Mind, we get a clue.

Ericsson argues that what matters is not experience per se but “effortful study,” which entails continually tackling challenges that lie just beyond one’s competence. That is why it is possible for enthusiasts to spend tens of thousands of hours playing chess or golf or a musical instrument without ever advancing beyond the amateur level and why a properly trained student can overtake them in a relatively short time. It is interesting to note that time spent playing chess, even in tournaments, appears to contribute less than such study to a player’s progress; the main training value of such games is to point up weaknesses for future study.

So what we learn from this research is that experience does not matter to a person’s performance. Exactly what the studies cited by Atwood support. However, what does have an impact is effortful study.


This makes a ton of sense to me. Typically, experience in any field, especially software development, often means solving similar problems over and over again using the same techniques as before. There is no way this contributes to being a better programmer.

Sure an experienced developer had to learn new technologies to stay relevant, but if the experienced developer applies the new technologies in the same way over and over again, the developer has not improved.

I’m currently looking at some legacy C# code written in a procedural style. The developer can write C# code, but hasn’t taken the time to learn to recognize when object oriented patterns would help solve a problem more elegantly. Thus his experience has not made him a better programmer.

However, with focused effortful study and training, a programmer can lift him or herself out of mediocrity. It’s not by programming more one gets better, but by programming better. Even better is to program more better (as in more often and better).

Keep in mind though, that this takes nothing away from Atwood’s main point. My point is that most developers (by definition) are not in the 90th percentile, at which point there is diminishing margins of return for effortful study. Most developers still have room for improvement in their coding skills as well as the ever important tangential skills to which Atwood refers.

In fact, I believe that for many developers, the tangential skills will distinguish and increase the value of a developer faster than improving programming skills. But don’t toss out that book on Design Patterns just yet.

comments suggest edit

Steve Harman digs in and solves a longtime mystery for me regarding VPN connections and default gateways on remote networks.

Most clients we have require that we connect to their network via VPN. Nothing new about that of course. But some clients require that we check the Use default gateway on remote network option when setting up the VPN.

That effectively shuts down my ability to access resources on my local network as all traffic gets routed through the remote network.

VPN Dialog. Shows the Use Default Gateway on Remote Network

Fortunately, Steve didn’t give up like I did. He persisted and, following up on a tip by Jon Galloway, figured out how to configure Routing Tables to achieve what he needed.

This so beats my twine and wire MacGuyver solution of simply setting up Remote Desktop to another machine that is then connected to the VPN.

With persistence and problem solving skills like that, a company would be lucky to hire Steve. So we did this past month!

blogging comments suggest edit

DownIf you’ve read my blog for any length of time, you know I tend to go on and on about the virtues of blogging and participating in Open Source projects.

You might even start to suspect that I think we could end wars, poverty, and hunger and sit around singing Cumbaya together in harmony if only everyone would blog and participate in Open Source.

Really now. I’m not that naïve. I’m sure we could pick a better song to sing around the campfire.

All kidding aside, I really have put my money where my mouth is.

UpIn the past, I’ve talked about the challenges of hiring, as well as my belief that blogs are a great means to connect with good developers.

That’s how I met and hired Jon Galloway who is a tremendous technical leader, developer, and business partner.

I also think that judging potential hires on open source contributions (as 37Signals suggests) is a great way to find good developers, though I’m not so inclined to be as extreme as they are and only hire Open Source developers.

But rather than just talking about hiring Open Source developers, we recently hired Steve Harman. Steve was a Java developer at a large financial institution when he started contributing to Subtext so that he could cut his teeth with C# and .NET.

Over time, he really took on a lot of responsibility and impressed me with both his good judgment, and his work ethic. By actually working with him on a project and seeing the quality of his code, I got a really good sense of him as a developer and potential coworker that is impossible to get from a three hour or even three week interview.

I’ve been responsible for hiring as a development manager at three companies, with varying degrees of success. It turns out, that my best hiring has been at VelocIT.

Hiring is full of landmines. I’ve hired people who were great in interviews, but ended up not being able to code their way out of a Hello World program.

That is why I’m such a firm believer in the power of blogs and open source contributions to filter out the true gems among the lumps of coal.

Of course, another great way to hire good people, though draws upon a smaller pool of talent, is to hire the best people you’ve worked with in the past. A while back we hired Pat Gannon who is a fantastic software developer. The only reason he doesn’t get mentioned much here is because he doesn’t have a blog, and you know how I feel about blogs.

Maybe if we didn’t we keep him so busy building systems, he’d have time to write a blog post or two.

comments suggest edit

This is amusing. I tried to view a post on Slashdot and got the following error page.

Banned from Slashdot

I have no idea why that would be the case. I think I have RSS Bandit configured to download the RSS feed every hour, which hardly qualifies as a DDOS attack. Interesting.

comments suggest edit

Image of the sun from Today I turn 32 years old.

I remember when that sounded old to me. But with recent advances in health care and life expectancy, songs like Jay-Z’s new 30 Something (the chorus states “30 is the new 20”) remind me I’m still in my prime.

If only someone would tell my knees that.

My wife threw a nice party for me and some friends on Saturday. We had a huge Korean food spread. In true Korean style, it was way too much food, and I’ve been eating Korean food all week, not that I’m complaining or anything. We bought some marinated ribs (Kalbee) in KoreaTown and grilled it up proper on my friend’s grill.

Tonight will be low key. I’ll probably grab some sushi with the wife, and later hang out with Jeff Atwood who happens to be in town.

One of the new toys I received from my family is a Linksys CIT200 Skype phone. It’s not a wifi phone, but rather a cordless phone. It’ll allow me to roam around the house on those long Skype conference calls. So far, I think it’s pretty nice.