How to Start a Software Company 2.0

by Richard Rodger

       
 
Interview for Entrepreneur Focus Book

I just got my copy of Entrepreneur Focus, a new book on starting-up companies by Eric Locken. He asked me to do an interview for the book about my experiences starting Ricebridge, so with an ego the size of a planet, how could I refuse?

Here's a transcript of the interview.

There are a load of other great stories in the book. Go check it out if you're into startup tales.

@ 11:00 PM GMT+00:00 [ comments [0] ]   email this   links to this
 
 
Friday Fun: Make Life!

It will kill your CPU, but here's the classic Game of Life, ... in JavaScript! It is possible, Your Honour!

@ 04:20 PM GMT+00:00 [ comments [0] ]   email this   links to this
 
 
Emacs Autocomplete Bliss

You known that IntelliSense rots your brain, right?

Well if you use Emacs, now you too can rot your brain, only better (everything is always better with Emacs).

This is the most treasured snippet from my .emacs file. All it does is store every word in all open files and when you hit tab, it autocompletes based on the text before the cursor. Sure, it doesn't show you the list of possible candidates, but all you ever need is a few tabs and you'll find what you want.

; auto completion
;;;;;;;;;;;;;;;;;
(require 'dabbrev)
(setq dabbrev-always-check-other-buffers t)
(setq dabbrev-abbrev-char-regexp "\\sw\\|\\s_")

(global-set-key "\C-i" 'my-tab)

(defun my-tab (&optional pre-arg)
  "If preceeding character is part of a word then dabbrev-expand,
else if right of non whitespace on line then tab-to-tab-stop or
indent-relative, else if last command was a tab or return then dedent
one step, else indent 'correctly'"
  (interactive "*P")
  (cond ((= (char-syntax (preceding-char)) ?w)
         (let ((case-fold-search t)) (dabbrev-expand pre-arg)))
        ((> (current-column) (current-indentation))
         (indent-relative))
        (t (indent-according-to-mode)))
  (setq this-command 'my-tab))

(add-hook 'html-mode-hook
          '(lambda () 
             (local-set-key "\C-i"     'my-tab)))
(add-hook 'sgml-mode-hook
          '(lambda () 
             (local-set-key "\C-i"     'my-tab)))
(add-hook 'perl-mode-hook
          '(lambda () 
             (local-set-key "\C-i"     'my-tab)))
(add-hook 'text-mode-hook
          '(lambda () 
             (local-set-key "\C-i"     'my-tab)))

; add more hooks here

The code isn't mine and I can't remember where I found it, but it has saved me countless hours of typing.

@ 05:56 PM GMT+00:00 [ comments [0] ]   email this   links to this
 
 
Hey, They Use TCP/IP Too!

Another good one from Bruce: SETI virii.

Reminds me of the "negotiating with host" bit in Independence Day. Strange how the virus isn't evil when we're the good guys.

@ 11:29 AM GMT+00:00 [ comments [0] ]   email this   links to this
 
 
Trackbacks Too Long

One thing about my current theme that was really annoying me was that my trackback URLs were pushing into the sidebar. Roller trackbacks are faily long, and there's no way I was going to go mucking about with the code making them shorter.

So then I remembered that the fancy new Google Analytics system does something nice with URLs that are too long. If you set overflow:hidden on the div, then the URL is cropped if it gets too long, but you can still select the entire thing – the div scrolls when you select text, and double clicking works too.

At first I started editing the roller template, but that is the wrong way. Just edit the div.trackbackUrl style in your stylesheet instead.

More roller hacking.

@ 10:52 PM GMT+00:00 [ comments [0] ]   email this   links to this
Undocumentation

So it looks like I'm not the only one who's a bit annoyed about crappy API documentation.

Even Microsoft can't get it right. And I'm not surprised. How many Microsoft developers have been on a creative writing course? Something to think about Bill.

Like I said before, API documentation is hard problem. The only way to produce good API docs is to get the developers to write good copy. No two ways about it. It's a good skill to have and something that should be encouraged. And yes, I know, it's damn hard.

@ 05:18 PM GMT+00:00 [ comments [0] ]   email this   links to this
 
 
Slicing and Dicing

Back to the doctor today, I had to get a mole removed. They can't enough of me.

The worst thing about minor surgery is the fact that you are conscious. Of course, the drugs are great and work really well (and amazingly quickly), but you still feel all the tugging and pulling.

The irish health service may have it's share of problems at the moment, but the people who work in the service are really excellent. I've met a lot of them this year and the standard of care once you get admitted is really great. I do think that the (traditional) media does it's usual trick of highlighting bad news. Like any organization, most workers are just trying to do a great job despite all the bureaucratic silliness.

Getting a health service to work efficiently is a really hard optimisation problem. It's not just about money – you have to get the standard of care right. It's not even a straightforward problem of deciding on priorities because a lot of your resource allocation has to be done on the basis of ethical criteria. I studied moral philosophy in an earlier life and, hey, it's one hot cookie.

Anyway, I am not going to offer some half-baked opinion on how to do things right. How did we end up with effective market economies in the first place, the kind that work out OK for most citizens? The ancient greeks put a whole lot more thought into it than we ever did, and we just happened to stumble upon an idea that really worked, almost by accident. So the default strategy as regards health care should really be to keep trying to find new solutions. There has to be a few "good enough" local maxima somewhere in there, and we may even hit the big time.

@ 10:04 PM GMT+00:00 [ comments [0] ]   email this   links to this
 
 
Friday Fun: Wolfram Warbles

An important and serious contribution to the advancement of the mathematical sciences.

A new kind of ringtone!

@ 02:32 PM GMT+00:00 [ comments [0] ]   email this   links to this
Make a Stand

So this weekend myself and the family, big culchies that we are, are off to the Dundrum Town Center (pathetic flash site - hello guys, HTML please) for a gawk. This is Ireland's latest and greatest "mall", which includes a Harvey Nicks, and a Sony Centre.

Hold the phone?

A Sony Centre? Well, like any gadget-geek-freak programmer I was just gonna go wild buying stuff! Not any more. You know why.

By the way, if you're still buying stuff from Sony, shame on you.

And if you think the little guys can't make a difference, think again. I'd like to show you something. When the SCO thing was just starting, many moons ago, I wrote some emails to companies that were selling SCO, informing them of my, er, distaste for their behaviour. Here's a sample:

Dear Sir/Madam,

I am an independent software consultant and I notice
that you are a reseller for The SCO Group.

As I am sure you are aware, The SCO Group has made
baseless claims to own the Linux Operating System.
Such claims have already been withdrawn by SCO in
Germany by court order.

I'm afraid that so long as [NAME DELETED] continues to
support the actions of The SCO Group by providing a
sales channel for them, I will refrain from recommending
your other products and services to any of my customers.

Yours Faithfully,
Richard Rodger.

-----------------------------------

Dear Richard,

Thank you for your email.

Unfortunately we have never heard of you, therefore, we are
unaware of the effect this will have on the worldwide sales of SCO software.

Kind regards,
[NAME DELETED]

And where is SCO now? Bet you've changed your strategy. Lot's of little guys that you have never heard of can be quite noisy.

If big companies do nasty things, complain! They need your money to survive you know.

Oh and in case you think I'm some sort of free software nut, I have my own software company, and I sell software for a living, and I rely on copyright laws to do that.

@ 10:25 AM GMT+00:00 [ comments [0] ]   email this   links to this
 
 
Textile Trauma

So this post is part of my continuing series on hacking Roller.

I use the textile plugin when typing up most entries as it saves on the amount of typing you have to do. If I'm going to write up pure HTML I'll do that in Emacs thanks very much.

But the textile formatter has a really annoying bug – it messes up apostrophes! They end up the wrong way round, rather just the normal old ASCII character, which is what I want. So into the source we go. The textile formatter source is available from sourceforge.

It turns out that it's all done with regular expressions, so I just disabled the relevant ones in the Textile.java file, and jarred up a patched version.

With my local JDK 1.5 compiler. And tried to run it on the server (JDK 1.4). Oh Joy. Website down. Remember to use the source and target options when you try this at home. Tomcat is such a pain to restart. Actually I wrote a neat little Tomcat restart script, expecially designed for data-center staff with no patience. I must post it sometime.

Anyway, if the apostrophes in this post are still wrong, I will cry.

@ 08:43 PM GMT+00:00 [ comments [1] ]   email this   links to this
Intelligent Design: Herring Farts!

Oi! Kansas! You know who's having the biggest laugh at you? The Big Man himself.

Hey didn't you guys try to redefine PI at one stage as well?

@ 10:43 AM GMT+00:00 [ comments [0] ]   email this   links to this
 
 
Microsoft Makes Microcontent Magic

Microsoft's new extension to RSS is a pretty big deal. Now normally I would roll my eyes at yet another attempt to smother an open standard, but this time it's actually not so bad.

You know an idea is in the air when many people are coming up with it independently. The idea that I'm taking about is micro-content. We have a lot of different people working on this at the moment, and RSS has shown the way. Even that new database thing by that annoying startup is all about micro-content.

I've been working on some ideas for a micro-content "broker". A piece of the infrastructure that makes it easier to synchronize and exchange micro-content items. Now, I knew that Lotus Notes had some cool synchronization algorithms, and that Ray Ozzie had probably had a hand in bringing a few of them over to Groove. I wanted me some of that action, but it was all tied up in the proprietary code.

So what has Ray gone and done? Only spec'ed out a working version of the synchronization algorithm! Way to go! And it's politically correct and all, using a Creative Commons license. This is gonna be big.

@ 08:32 PM GMT+00:00 [ comments [0] ]   email this   links to this
 
 
Friday Fun: Just Stop Pressing, OK?

You're not going to like this.

@ 04:04 PM GMT+00:00 [ comments [0] ]   email this   links to this
The Dawn of a New API

Tom Evslin points out that APIs will make or break most of the new web applications. And he's dead right. In fact, API's are where all the really interesting stuff happens, because you get people doing things with your service that you never dreamed of.

Now we're talking specifically about web service APIs here. Because it's the network effects that make the magic. Metcalfe's Law, Reed's Law, even Godwin's Law. Take your pick. So these days, any sensible web services entrepreneur is going to want to get an API on the boil sooner rather than later.

Now I've been doing some work with the "big" APIs, like Google, Amazon and friends. I'm building a set of examples for my new product (due out shortly). One thing I will say is, go REST young man! SOAP interfaces are the suck. They raise the bar to entry far too much. Heck, do you realise that most people not only do not understand XML Namespaces, but are actually afraid of them? Too many nooks and crannies. Too much to go wrong. Amazon, for example, seems to change their namespace on a regular basis – it's date based. What a pain.

The other thing about APIs is that they are very very hard to design and maintain. I've run into this issue quite a bit with my Java Components. It is basically impossible to fix a broken API after the fact, but version 1.0 of anything useful still has far too much complexity to get it all right the first time. Actually, I took an approach to this problem based on some ideas by David Bau, which has worked out quite well. All the callback interfaces in my components use an intermediate abstract class to provide a DMZ for future changes. I've already used this succesfully to fix some problems, without any users having to recompile.

So how can you apply this to web services, where there is no inheritance model? The most important thing is to ignore what you don't understand. HTML is the classic example of this. The second thing is that you must support until death-do-us-part all your declared objects, methods, values and properties. You just gotta. Think real hard about them before you publish them. It's very difficult to get right, but that's programming for you – not as easy as it looks. And finally, don't reinvent the square wheel. You absolutely, positively should look at what other people are doing, how it's worked for them, and what you can do better. Build a Toyota, not a Trabant.

I predict (OOH, dangerous sir!) that a market will develop in helper applications and third party API providers for websites and services. In fact, you can appize (you heard it here first: [æp'aiz]) any site, if you really want to – just look at all the blogification (OK, I'll stop now) going on. So, start your motors gentlemen! We've just got ourselves a new business model.

@ 01:33 PM GMT+00:00 [ comments [0] ]   email this   links to this
 
 
Business Ideas

Business ideas are worthless. Trouble is, when you get one, you can never believe otherwise. They usually strike around bedtime, and before you know it, you've designed a full-scale enterprise architecture to support the concept by 1AM, prepared an initial marketing plan by 2AM, and by 3AM you're wondering about how to structure refunds.

Great. Any idea can work, you just have to execute. I had this idea while back that you could sell "words". You'd have some sort of attention-getting site, and then punters could buy the right to be linked from a certain word. Yeah, I know, RealNames and all that. Still, this would be a "Web 2.0" web service thing with an API and so forth. Great.

In the cold light of day you end up discarding most of these brainwaves. Still, you wonder, maybe some of them could work.

So I was delighted to come across AllYourWords. A deadringer! I jumped in and bought some words right away, just to say thanks for going with the idea. So it would have worked!

Business ideas are worthless because if it's just occured to you, somebody else has probably already implemented it (If that breaks your heart, just remember, Google wasn't the first search engine).

@ 08:31 PM GMT+00:00 [ comments [2] ]   email this   links to this
 
 
 
YahooBloglines
NewsgatorMSN
Google Readerdel.icio.us FurlSubscribe with myFeedster
« December 2005 »
SunMonTueWedThuFriSat
    
3
5
10
11
13
17
18
24
25
26
27
28
29
30
31
       
Today

All | General | Java | Business | Fun | Perl | Rant | Ireland | Web
[This is a Roller site]
[Valid Atom 1.0] [Valid RSS]
Technology Blog Top Sites
Blogarama - The Blogs Directory

Blog Directory & Search engine

Blog Flux Directory
Irish Blogs
 View My Public Stats on MyBlogLog.com

Performancing
Enter your Email


Powered by FeedBlitz
Theme adapted from Sotto.
 
Ricebridge XML Manager
  • Convert XML to a table of data
  • Convert XML to CSV, and CSV to XML
  • High-speed, single-pass XPath
  • Memory-stable and fault-tolerant
  • Loads of documentation
  • Cut-and-paste code examples
  • Find a bug, get a gift cert
Ricebridge Java XML Manager Component


Ricebridge CSV Manager
  • Convert CSV to a table of data
  • Handle any type of delimited file
  • Memory-stable and fault-tolerant
  • Loads of documentation
  • Cut-and-paste code examples
  • Find a bug, get a gift cert
Ricebridge Java CSV Manager Component


Popular Posts

 Sign up for MyBlogLog.com
Alertra Website Monitoring Service
Get Chitika eMiniMalls
Solo Tees
BlogJet