Wednesday, October 29, 2008

6 Days: Making It Right First

So, what's the right answer to yesterday's question? Do I push out my launch date, do I cut things, or what? This is one of the rare times I've received clearly conflicting advice. The advice splits along the following lines:

  • Stick with your date, launch with what you have.
  • Way too much software ships before it's ready. Don't make that mistake.
Gee, that helps.

Right now, I'm just below the threshold of "it's actually useful" and I feel like I'm going to get there any minute. Once I get there, I think it'll be downhill. Kernighan and Plauger famously wrote:
Make it right before you make it fast. Make it clear before you make it faster.
That's the biggest piece of advice, modified slightly, that I'm following right now. I'm trying to make it right and clear before I make it fast, before I optimize my code, before I make it pretty. (Of course, making software pretty wasn't much of an issue in the '70s, so that's my addition.) There's a lot that I want to do that isn't absolutely essential to the launch and I'm trying real hard to focus on just the essential stuff. Making it right means it works, it does what it's supposed to do, and users won't lose their data.

So, despite the rather large speed bump that I just went over, I've resumed my countdown toward November 3rd, but I don't know for sure if I'll be able to launch then or not. I'm certainly going to try.

Tuesday, October 28, 2008

?? Days: Timeframes

If this is Tuesday, it must be ...

Actually, I'm not sure what day today is. I got back from Michigan last night, where I helped move my father-in-law into his new home, an Alzheimer's care facility. It was hard and difficult (and exhausting). Sad to say, a lot of people who move their loved ones into facilities like this do little more than move them there. We did the opposite, moving his own furniture, his own art, his own books, his own bedspread. The "apartment," as we call it, looks like a miniature version of his house. The number of things that had to happen to pull this off in the short timeframe available was daunting and it absolutely had to be on time. It took all of my project management skills, not to mention design and box hauling skills, to pull it off, and we did. I completed my last trip to the facility to finish things up two hours before we took him there.

Now that I'm back, I don't know if I can pull off shipping Groupthink on time. I knew I'd be busy on the trip, but I thought that I would get maybe five hours a day to work. The reality was that I got about five hours during the entire trip, entirely on Sunday and Monday. And that's quite a step down from the typical ten to twelve hours a day I've been working. So, on my list of tasks for today is to evaluate whether I can stick with my original schedule of launching on November 3rd or if I have to push it back a bit. And do I need to cut anything else? One complication is that I am heading out to the Hackers Conference on November 7th, so I don't have a lot of flexibility in slipping my date.

You might ask, why say something now? Why not just wait until I know for sure? Well, first of all, I believe in transparency. Through the transparency, I hope to be able to help others doing similar things, and I also receive advice from people. If I limit my disclosure, both are significantly less useful.

Thursday, October 23, 2008

12 Days: Cut Early

When I built Puzzazz, I built a mobile version of it, with pages specially designed for small screens. I also let you switch which version you get if you prefer the desktop version on your cell phone. Building the mobile version of Puzzazz took me, literally, a few hours. A fair number of users visit Puzzazz from their mobile phones,when they have a minute or two and decide to solve today's puzzle.

For Groupthink, I think mobile usage will be even more important. However, because Groupthink relies heavily on client-side code in JavaScript and many cell phones don't support JavaScript, supporting mobile browsers properly is a lot more work. Among other things, the mobile version requires more (and different) server support.

Today, I decided to cut the mobile version for my first launch. It's a cut that I hate to make, but it's the right time to make it. So far, I have written almost no code for the mobile version and none of the code that I have written is a problem -- it can all remain unchanged. It's one line of code to cut the mobile version, but, by cutting it, there's a bunch of new code that I don't have to write yet. And, the desktop version will still work on many mobile phones, so I'm not abandoning those users. In the meantime, I'll continue to note places where I have to do a mobile-specific branch and I may even write some of the code, but the big piece of work -- the mobile-only work -- I will defer.

Far too often, particularly at large software companies, cuts are made helter skelter. They have 5,000 features they want in the application. That's a problem in the first place -- they're looking at feature lists instead of the big picture. They pare that list down to "only" 500 features, which they start to implement. A few months in, they realize they're behind, so they cut some features that are half-implemented. They repeat this process a few more times. By the time, they're done, they have 400 partially-implemented features that they've tossed and a 100 actual features they plan to ship. Now, if they had back all the time from those 400 killed features -- if they would only cut features before they start implementing them -- they could have made the features they actually did ship better.

I really want to launch on time and I know that time is tight. I'm not positive that I actually need to make the cut, but I'm being conservative and I'd rather cut it now than cut it later. By cutting it now, I'm freeing up time to finish everything else. I can use the remaining time that I have more wisely and I don't feel too bad about the few hours that I've spent on it so far. And, it's a clean cut, with no repercussions in the code. And, just to be clear, Groupthink will absolutely have a mobile version -- it just won't happen as soon as I'd like.

Family First

Speaking of the time that I have, I'm going to be absent from this blog for a few days because of a family obligation. Tonight, I'm flying to Michigan to help move my father-in-law to an Alzheimer's care facility. It's sad that we have to do it, but the time has come. Originally, we had thought that my wife could do it on her own and I would stay here and work. But it became clear in the last few weeks that she couldn't do it without me. And, even when I'm in the midst of a crazy 30-day project, family has to come first. I'm taking my laptop with me and I will try to work as much as possible. Unfortunately, I probably won't have an internet connection (and the 15" screen is no match for the 24" one I normally use).

I get back on Monday, but may not blog until Tuesday.

Wednesday, October 22, 2008

13 Days: Self Hosting And Dogfood

Computer programs are written using compilers (and interpreters), which translate high-level languages into machine language, either directly or indirectly. But what do you write the compiler in? For almost fifty years, many compilers have been written in the language they compile. Although that sounds like a contradiction, there are many ways to accomplish it, usually involving using an earlier version of the compiler not written in the language to compile and then bootstrapping forward, like the robot of many a science fiction story that can build more robots. A compiler that can compile itself is referred to as a self hosted compiler. Self hosting is a good thing. It helps ensure that the people working on the compiler know as soon as possible when there are problems.

A related term that is in more common use is dog food, as in the phrase "eating one's own dog food." Although originally used only at Microsoft, the term is now widespread throughout the industry to refer to a company or team using its own products to do their work. Like self hosting, when a team uses its own products, they ensure that they discover problems first, before users do. Sometimes, its painfully obvious when a product hasn't been used by the people who created it, because it has flaws so obvious that nobody could have actually used it without discovering them.

Groupthink reached a major milestone today, without even fireworks to mark the occasion. The first piece of real data -- part of my task list for the project -- is now live in Groupthink Projects. As a project, Groupthink is on the way to being self hosted and I am starting to eat my own dog food. It's good news, but it also makes me acutely aware of just how much work I have left to do.

Tuesday, October 21, 2008

14 Days: Compromising Perfectionism

I'm a perfectionist. Maybe you wouldn't know it if you looked at the mess on my desk in my home office. And, I'll admit I'm not a perfectionist at everything. But, on many things, from software development and user experience to puzzles and photography and cooking, I can't help but want perfection. When I wrote about commenting code earlier, I forgot to mention that my comments are also grammatically correct and properly formatted. My variables all have good names and, when I realize I've misnamed something, I want to fix it right then (I did that twice today). I hate putting off fixing things when I know they're broken.

I've worked with plenty of people who were the exact opposite -- so driven to deliver that they would take any excuse to avoid getting things right. That just drives me crazy. Even though I'm a perfectionist, I like the middle ground -- I like the compromises that come out when you have both the perfectionists and deadline-driven folks in the same room. To deliver the best product with limited resources in limited time, compromising is key.

Unfortunately, Groupthink is a team of one and it's hard to compromise with yourself. This is one of the times that I wish I had a team instead of just me.

Short post today. I should have some good news tomorrow.

Monday, October 20, 2008

15 Days: Fictional Technologies

I've mentioned that Groupthink uses Ajax and that I built my first web service using it in 1997. But, despite the fact that the X in Ajax stands for XML, I'm not using it now and I didn't use it then (back then, JSON didn't exist yet, so my format was proprietary).

You might think this is strange -- how can I say that I was using Ajax when I'm not using XML. And, how can I say I was using Ajax before the term even existed? Well, in a large sense, Ajax doesn't really exist -- just like Web 2.0 and, before that, DHTML. They're all fiction. Ajax represents some common techniques for building dynamic applications in a web browser. Web 2.0 has come to represent a certain style of dynamic applications. DHTML, well, that's just writing programs in a browser. In a way, it's all like art -- people know it when they see it.

But, in this case people actually means developers. Real people -- real users -- could care less about any of this. They just want their problems solved. They don't want pain. And they don't care about the technology, especially technology that's more of a branding exercise than anything else. I picked the technologies I'm using because I think that they are my best best for solving problems and eliminating pain points, not because I want to tout them on the web site. I'm trying to satisfy people, not just other developers.

All that said, today, I was able to run my first real Ajax queries -- whatever you want to call them.

Sunday, October 19, 2008

16 Days: Working in Groups

Today's Six Hour Startup was near my house on the Microsoft campus today. So, despite the fact that I'm pretty busy, I stopped over to check out the last few hours. It looked like this one was more successful than the last one, but it still seemed like the group didn't work together as well as they could have. I think in-project communication was better this time (probably helped by the fact that it wasn't in a noisy bar), but it could have been better still.

In many ways, a six hour startup is like a microcosm of a real company with some of the same problems on a smaller scale. A whiteboard might work when you only have six hours and I know of at least one startup doing all of their project management using Post-It notes, but I keep seeing signs that I'm on the right track -- that there's a need for something better than a whiteboard but not as large or complicated as a typical project management or task tracking system and which is aimed at small business and other small groups. I'm also currently leaning toward calling the product itself "Groupthink Projects." That's not definite by any means and I'm interested in your thoughts.

And, on the project itself, right now, I'm still in the midst of a stage where I've written a lot and everything's broken. My plan is to emerge from that stage sometime tomorrow.