Blogbody Rotating Header Image

Why your web startup will fail

A great article by Eric Karjaluoto on all the difficulties of a startup. Tons of great reasons to avoid doing a startup, but at the end of the day, this is what it all comes back to:

With all of that said, I have to emphasize that little of this really matters. If you’re inclined to start a startup, nothing anyone says will stand in your way, nor, should it. If you have the bug to make something, it’s impossible to shake, and in my mind can be one of the best life experiences you can have.

[From Why your web startup will fail]

SEO Optimization for Micro ISVs

I’m a huge fan of Balsamiq, which also is a self-described “Micro ISV“. One of the things they do well is communicate everything they are up to on their blog. Early on I decided I’d leave the official BrowserMob blog a bit more sparse so that it only had content that my customers cared about. The rest (marketing ideas, business status updates, etc) would be left for this blog. This is one of those posts :)

A friend of mine let me know that Google recently did a toolbar PageRank update, which is the best place to get a basic idea of where your page rank sits. This got us talking about simple SEO optimization tricks I could do that wouldn’t take all my time. This is important for a micro ISV like my company.

The lists of things I have already done or plan to do for BrowserMob are:

  • Use H1 tags near the top of the page, matching the TITLE tags exactly.
  • Make page titles unique for all the important pages (pricing, contact, signup, etc).
  • Use META tags for keywords and description. While not super important, they don’t hurt much either.
  • Use important keywords (”load testing”, “performance testing”, “Selenium”, etc) in the page titles.
  • Use some of the same keywords in the URLs themselves (ie: /load-testing-support vs. /contact).

These are the basics I can do quickly. Beyond that, the real push towards a higher PageRank will only happen with real work. My first guest post in support of BrowserMob was recently posted on Ajaxian. This drove 10X more traffic and signups to the site when compared to our last peak day.

More importantly, it’s now one of the most authoritative documents on the search “Ajax load testing”. While it doesn’t link to my business, it offers credibility that I know what I’m talking about (btw - awesome to see Dojo masters enjoyed the article). It also links to my business, so someone who is really interested in the subject not only learns about it, but now can also choose to check out BrowserMob if they want.

Going forward, my marketing plan will involve a lot of this type of activity. I want to get the word out there that load testing can be easier and more affordable. I’ll continue writing articles on the BrowserMob blog, but I’ll also be writing most guest posts on popular sites. I’ll also be asking industry experts to blog their thoughts on the business, product, and idea on their blog (good or bad).

Hat tip: many of these ideas formulated after I read Balsamiq’s excellent post on startup marketing advice.

Plans for Selenium in 2009

I just posted on the BrowserMob blog my thoughts on how 2009 will turn out for the Selenium world. This is in addition to a new blog post on the Selenium blog about our short term plans to get a 1.0 release out.

Please take a look and let us know what you think.

Tip: Compact Logging in Java

One of the little touches I added to Able, which came from code originally in BrowserMob, was a nice little JDK logging formatter. It is designed to work with modern IDEs (IntelliJ IDEA being my personal favorite) and their ability to understand shorthand notation for classes.

As I was building BrowserMob, I was getting irritated by long package and class names as well as the fact that my log messages weren’t lined up nicely. For example, I’d get:

INFO 12/29 19:26:28 org.directwebremoting.impl.StartupUtil - Starting: DwrGuiceServlet v3.0.0.109.dev
INFO 12/29 19:26:31 com.browsermob.stripes.WelcomeActionBean - Some log message
INFO 12/29 19:26:37 com.browsermob.stripes.WelcomeActionBean - Some log message

I tried a simple formatter that truncated the class name, but the result wasn’t very helpful, since the class name (usually the most important part) would get cut off when the package name was too long:

INFO 12/29 19:26:28 org.directwebremotin - Starting: DwrGuiceServlet v3.0.0.109.dev
INFO 12/29 19:26:31 com.browsermob.strip - Some log message
INFO 12/29 19:26:37 com.browsermob.strip - Some log message

That was when I realized that often the package name wasn’t that useful, especially since they were often very predictable and unique even in a compact state. For example, in the past developers I have worked with would often write “n.s.s.c.StripesFilter” as a short hand for “net.sourceforge.stripes.controller.StripesFilter”. So why not use this for logging too? The result was much easier on the eyes:

INFO 12/29 19:26:28 o.d.i.StartupUtil    - Starting: DwrGuiceServlet v3.0.0.109.dev
INFO 12/29 19:26:31 c.b.s.WelcomeAction~ - Some log message
INFO 12/29 19:26:37 c.b.s.WelcomeAction~ - Some log message

Basically, the packages would get cut down to the first letter of each sub-package. If the class name pushes the whole thing beyond 20 characters, then a tilde is added to indicate the name is longer than could fit.

The nice thing about this is that it works beautifully with modern IDEs. I can copy the text “c.b.s.WelcomeAction” and locate that string in IDEA and it’ll know what I mean:

200812291142.jpg

If you want to use this formatter, you can find the code here in the Able source repository. It could probably get some performance improvements, such as some simple memoization, so feel free to send any tweaks you make my way. Do you have any neat tricks you do with logging? If so, please share in the comments!

Merb to be Merged in to Rails

Very smart move by both the Merb and Rails project leaders:

Big news in the world of Ruby web frameworks: Merb and Rails will be merged.

[From InfoQ: Merb Will Be Merged Into Rails 3.0 ]

I’ve been telling people for a while that Ruby has been following the Java path at an accelerated pace. Ruby was able to learn from many of the mistakes that Java made, but the overall path seemed very similar.

The split between Merb and Rails was no different than the split between Struts and XYZ Framework. The XYZ project leaders explained that they forked off from Merb because they wanted “more flexibility” or “more cowbell” or whatever. This sounded exactly like me circa 2003 when I was championing WebWork as a better alternative to Struts.

By 2005, some of us in the Java community got a clue and realized that joining forces may be better for the user.

Congratulations to the Ruby community for getting a clue faster than we did the Java community. But please don’t let it go to your head (*cough*DHH*cough*)… you have had the benefit of learning from previous pioneers. ;)

Tonight: Java and Beer AppFuse and Tapestry tech leads

Reposting Matt’s blog entry:

If you live in Portland, Oregon - or just happen to be in town - you might want to join us for some beers and tech talk tomorrow (Monday) night. Patrick Lightbody, Howard Lewis Ship and Matt Raible will be meeting around 6:30PM at the Rogue Distillery & Public House. With 36 taps and the delicious beer from Rogue Ales, this is sure to be a fun night.

If you’re on Facebook, you can let us know you’re coming by RSVP’ing to the Event. Otherwise, please leave a comment or just show up.

There is also a Calagator entry here.

Tonight: Speaking Portland Java Users Group

Tonight I will be speaking at the Portland Java User’s Group in downtown Portland:

Patrick will present his work on a new open source initiative named Able. Able is a combination of a library and quickstart template that aims to tightly integrate several modern Java frameworks: Hibernate (persistence), Stripes (web framework), Guice (core container), and DWR (AJAX). By taking advantage of libraries that embrace annotations and generics, Able simplifies Java web development and provides integration at several levels, including validation, transaction handling, and object lifecycle management.

If you want to do some reading in advance, here are some relevant links:


Business-readable DSLs

I completely agree with Martin Fowler’s latest post:

The sweet spot, however is in making DSLs business-readable rather than business-writeable. If business people are able to look at the DSL code and understand it, then we can build a deep and rich communication channel between software development and the underlying domain.

[From MF Bliki: BusinessReadableDSL]

We’re getting close to a point where code can be written in a language that a non-programmer could readily understand. I’m most excited about JetBrains’ Meta Programming System. I think it has the best chance of being the first IDE that people really understand and can use for exactly the purposes that Martin describes.

Even better? JetBrains released their first beta of MPS just a few days ago! If you’re tried it out, please let me know what you think. I’ve been watching MPS for a while now and am really excited, but I just don’t have the time yet to take an in-depth look.

Pictures of my dog

I’m loving the fact that FriendFeed is now showing pictures in my posts. To celebrate, here’s some pictures of my dog:


200812040856.jpg


200812040857.jpg


200812040857.jpg


200812040857.jpg


200812040858.jpg

Testing FriendFeed-compatible MediaRSS WordPress plugin

Found out that FriendFeed supports showing images in your blog posts as long as your blog emits MediaRSS. This is a test of that feature by using a tweaked version of the MediaRSS plugin for WordPress. It has supposedly been modified to be compatible with FriendFeed.

Here’s a nice picture of where I stayed during my first visit to Italy. I hope to take my wife there sometime too. Can you guess what city this is?


Rio.png