Category Archives: stories

$42,000 raised for the GBS/CIDP Foundation

After suffering from GBS in 2009, I’ve been on a mission to raise $52,000 for the important work of the GBS/CIDP Foundation. They’re a small non-profit with an enormous heart, and they do genuine good for people suffering from rare, debilitating conditions.

You, yes you. You should donate!

You, yes you. You should donate!

We now have less than $10,000 to go to raise our goal of $52,000!  Here’s your big chance to donate and drive us home to the goal, or to convince that family member, friend, or your workplace to help us get it done. We won’t stop when we get to $52,000 — just imagine how much we can raise if we make the goal with four months of the year left!

These feet are ready to race

These feet are ready to race

What’s been happening?

I’m not just raising money, I’m running 52 races this year to raise awareness of GBS and related conditions. We’re now 25 races of the way to our goal of 52 races. I’ve written a report about races 5 through to 25, and you can read them here: (just scroll down the home page). My favorite race so far is the Presidio 10k just for the beauty of running around and across the Golden Gate Bridge. The most exotic has to be a 10k race in Buenos Aires, which might also have been the toughest on a hot and humid day while I was jetlagged. There are two races that have surprised me: the Double 5k where I won $50 in prize money, and the St Lawrence Run for Fun where I accidentally won the race.

One US-stralian in a sea of Argentinians before the start of a 10k race in Buenos Aires

One US-stralian in a sea of Argentinians before the start of a 10k race in Buenos Aires

I think a lot about raising money, and I’ve learnt how hard it is to get people to open their wallets and donate. You know, I often think: what if every LinkedIn and Facebook connection I had donated just $1? We’d be about $3,000 further ahead, that’s what would happen. And imagine if they each donated $10. Wow. It’s really the smaller donations from more people that could make the difference — so please do encourage folks to donate, even if they can only afford $1 or $10. And if you haven’t donated, and you’re suddenly feeling inspired, just click here.

To those I owe thanks

We’ve had amazing support throughout this fundraiser. Almost 200 people and organizations contributed, and I owe them all a ton of thanks for helping raise awareness of GBS and related conditions, and helping the important work of the GBS/CIDP Foundation. A complete list of contributors is here.


$27,000. 17 Races. 98 Generous Friends!

I’ve been learning about fundraising by experience, and I now know you should lead with the donation link. So here it is! Head on over and help support my fundraiser:

A Few Thoughts on the Backstory

Crossing the line in the Bay Breeze 5k

Crossing the line in the Bay Breeze 5k

It’s almost six years since my encounter with Guillain–Barré syndrome began. I remember it well, I doubt anyone who’s had GBS would forget it. I’m happy to have it in the rear vision mirror, and to see it fading into history. I reassure myself that I’ve now got as much chance of getting GBS as anyone who’s never had it.

It took over five years to want to talk about it publicly. In hindsight, I’m not sure why. It’s been cathartic to share the story, and turn a bad experience into a fundraising experience that helps others. Perhaps it was just that talking about it brought it into the forefront of my mind, and it’s an experience I’d have rather forgotten for a while. Anyway, I feel great about doing something good with a bad experience.

Fundraising So Far

Since I began my fundraiser for the GBS/CIDP Foundation, we’ve raised over $27,000. That’s a solid effort for 4 months, but it’s still $25,000 from my goal of $52,000 in 2015. I’ve also managed to run 17 races to raise awareness of GBS and related conditions, about 33% of the way to my goal of 52 races in 2015. Running feels like a fine way to defy GBS, and I’ve heard from more than a few recovered and recovering GBS patients that they like the idea of running as a defiant act.

I maintain a separate blog about my fundraising and racing, and it’s over here at You can read the stories of my races, including my first ever unlikely victory in a race and my crazy time running in Buenos Aires. If you follow the blog, you’ll also get a near-weekly update on my fundraising escapes. If that isn’t enough, Like my page on Facebook, and you’ll get a nearly daily update in your feed.

There’s been some pretty amazing donations. I won’t pick a favorite, but I love the story of Norman Herms of Philadelphia. He mailed a check into the GBS-CIDP Foundation International with the following message: “Please give this check to Hugh Williams. I do not have a computer. I had GBS in 1988 at 55 years old. After 65 hospital days and ten days of therapy I recovered 100%”. That’s a pretty cool story.

Back when

Back when our fundraising began! January 1 in Phoenix, Arizona on a cold morning

All up, 98 people and organizations have contributed to the fundraiser. That includes 3 companies, Pivotal, Accel Partners, and Medallia. I owe them a special thanks for being corporate donors, and I hope other companies will join in too. If you’d like to be part of the story — maybe even our 100th contributor — then you can head over here and donate. There’s some cool perks too, just choose one when you contribute.

See you again soon.


Five races down, forty-seven to go…

I’m trying hard to get out the word out about my fundraiser for the GBS/CIDP Foundation. As I shared last week, I suffered from GBS in 2009 — and it was a tough personal experience — and now I’m running to raise awareness of GBS and funds so that the Foundation can help others. (Hopefully, I’m not driving you crazy — this is the first time I’ve attempted a personal fundraiser, and I’m feeling my way — shoot me an email if you have advice to share.)

The view at the Bay Breeze 5k -- race 5 on my way to 52 races in 2015 to raise awareness for GBS

The view at the Bay Breeze 5k — race 5 on my way to 52 races in 2015 to raise awareness for GBS

I learnt this week that three people in my network have been touched by GBS. I’m sure there’s more out there. While it’s estimated in only affects 1 or 2 people in every 100,000, it’s not that hard to find someone who’s personally experienced what it can do. But you have to be looking to find people: the scary thing about GBS is that most people haven’t heard of it (and most medical professionals don’t know the signs), and so it’s incredibly important to raise awareness and to have support from an organization that knows what to do.

Even the name of it is impossible. I had the condition for a few weeks before I could pronounce it properly. For what it’s worth, it’s GHEE-N BAR-A syndrome.

I’m sharing the stories of my 52 races through my Facebook page, and on my fundraising blog fiftytwofives. I just published a new piece on my race yesterday — I hope you enjoy it.

I know you’re all busy, and it’s hard to find time to donate, but I’d really appreciate it if you can find the time and want to help out. I’ve got a long way to go to get to $52k. Head over to, and I promise it’ll only take 2 or 3 minutes to hand over some cash. Choose a “perk” while you’re there — my favorite is the t-shirt when you donate $100, which will include *your name* on the back as one of my major sponsors.

See you next time.

Guillain–Barré syndrome

I suffered from Guillain–Barré Syndrome (GBS) in 2009.

I am now perfectly healthy, and I’m on a mission to raise money for the GBS/CIDP Foundation. I’m going to do what GBS stopped me doing for a while: running! I’m going to run 52 races this year. Please join me in helping others who suffer from these terrible conditions by doing four things:

  1. Liking my fundraising page on Facebook
  2. Following my fundraising on Twitter @fiftytwofives
  3. Reading my fundraising and running blog at
  4. By donating at IndieGogo. Every dollar counts — there’s cool perks available!

Now, here’s the story…

The Short Story

One day in the middle of 2009, I woke up to a tingling sensation in my toes, almost like a cramp that made them feel like they were curling. I was a little dizzy.

Over a couple of days, more strange sensations began in my legs and eventually my arms. My heels went numb, then my toes, and then my calves started tingling and went mostly numb too. I felt strange buzzing sensations in my legs. Walking was awkward. My face started feeling a little numb, and talking felt strange. I suddenly felt exhausted just walking to the mailbox. I was freaked out. Very freaked out.

Late in 2009, a few months after I was diagnosed with GBS. I'm out of shape, but on my way to recovery

Late in 2009, a few months after I was diagnosed with GBS. I’m out of shape, but on my way to recovery

My general practitioner didn’t know what was happening, and sent me to a neurologist.

The neurologist tried some reflex tests. A hammer-hit on the knee did nothing. I normally had good reflexes. I had a few other tests, including getting to know the inside of an MRI machine pretty well. Somewhere around this time, doctors started muttering possible diagnoses such as Multiple Sclerosis. I wouldn’t wish that undiagnosed limbo on anyone.

The next step was a visit to the UCSF Medical Center, where I was finally but quickly diagnosed with Guillain-Barre Syndrome (GBS). While I wasn’t happy to be sick, I was very happy to know what the problem actually was, and to learn more about the condition. I’ll come back to that in a moment.

It was a tough time. My family was in Seattle, and I was in California. I’d just started a new job at eBay. Luckily, eBay was very understanding, and I was able to quietly work part-time for a while. My days went like this: wake up at 8am, feeling exhausted; struggle to make breakfast; slowly get ready (lots of sitting and resting); drive to work; pretend you’re ok for a few hours (while sitting, resting, and feeling strange sensations); go home; struggle to make a meal; sleep for 13 to 15 hours; begin the next day.

What is GBS?

GBS is rare and unusual. It occurs in one to two people per 100,000.

It’s thought that after you’ve had an infection (in my case, probably a viral ear infection), your immune system loses the plot and attacks your nervous system. GBS is otherwise known as Acute Inflammatory Demyelinating Polyneuropathy (AIDP) which gives you clues as to what it does. Acute means it’s not as serious as it could be; chronic is worse. Demyelinating means your immune system strips your peripheral nerves of their myelin, leading to strange sensations and loss of function. Polyneuropathy means it affects many nerves at once. It perhaps should be called Peripheral AIDP since it doesn’t affect your central nervous system (brain and spine): it starts at your feet and works its way up, often taking out your arms.

Serious cases leave people on a respirator and can involve months in hospital. My case wasn’t serious. There’s no cure for GBS – you just wait it out. Doctors often prescribe strong steroids, but there’s no evidence I can find that they help. Blood transfusions can ease the symptoms. Luckily, most people are back to normal within a year or two. Not everyone is that lucky though.

People who’ve suffered from GBS have the same chance of getting it again as those who’ve never had it.

For the Australians out there, you may recall that Alistair Clarkson, the coach of the Hawthorn footy club had GBS in May 2014. He recovered quickly and, of course, coached the Hawks to the flag (championship). Other notable folks who’ve had GBS include Franklin D. Roosevelt, Joseph Heller, Andy Griffith, and Lucky Oceans.

Getting Better

Over the next year, I put on 25+ pounds and became horribly out of shape. There’s no way I could exercise, and I wasn’t in the mood to eat right. I often woke in the night because of numb hands and tingling legs. I was phenomenally tired and easily exhausted. My balance was off, and I became dizzy easily. But I steadily got better – and by mid 2010 was thinking about getting gently back into exercise. Fast forward to today and I’m completely fine.

A recent race. I'm back running, and ready to run 52 races in 2015 to fight GBS

A recent race. I’m back running, and ready to run 52 races in 2015 to fight GBS

I think differently post-GBS. I know that health is the most important thing in the world: without it, you can’t look after your family, let alone work. I spend more time looking after myself, and balancing work and life more effectively. I also think more about people less fortunate than me: having GBS was tough, but my case was mild and there are far worse things that happen to people.

Helping People with GBS

I am turning the tables on GBS, and fundraising for the GBS/CIDP Foundation. I am going to run fifty-two races in 2015, and blog about it over at The name is inspired from running fifty-two races of 5k in distance — but I will count anything that has a timer as one race (one-milers, 5ks, 10ks, ten-milers, half-marathons. Heck, maybe even a marathon). If you’d like to be part of my fundraising, just head over here to IndieGoGo.

The GBS/CIDP Foundation is doing great work. The foundation helps with education for those suffering GBS and its chronic, recurring cousin CIDP and related conditions. They fund research to understand more about this condition. They lobby to ensure people get access to the health care they need (I’m lucky because I can afford access to great healthcare; of course, not everyone can).

A Quirky Afterword

Next time you have a flu vaccination, take note of the questions you’re asked. Down the bottom, you’ll find “Have you ever suffered from GBS?”. If you answer yes, your doctor probably won’t give you the flu vax – in 1976, after the flu vax was issued, there was roughly twice the incidence of GBS in people who’d had the vax compared to the population that hadn’t. It’s not understood why that happened. And even though they think GBS doesn’t recur, they generally won’t give the flu vax to folks who’ve had GBS.

I didn’t get the flu vax for that reason from 2009 to 2013. However, after I got the flu in 2013, I talked my doctor into giving me the flu vax in 2014. I just got this year’s too. Nothing interesting happened. I’m happy about that.

I thank Sean Southey for encouraging me to share my GBS story.

See you next time.

It’s a Marathon, not a Sprint…

What makes a career successful over the long term? How do you sustain (or even increase) your professional impact, while also deriving meaning and enjoyment from your life? This was the question I set about answering in my talk at StretchCon last week. To see my answers, you can watch the presentation. You can also view the prezi1966321_313990785474109_1977531760847682083_o

The Backstory

I asked eleven colleagues about their success. I chose colleagues who have made it to the C-suite (whether as a CEO, CTO, or another C-level designation) and that appeared to do it with balance between their professional and personal lives. Ten of the eleven responded, and nine of the ten shared thoughts before my deadline. I thank Chris Caren, Adrian Colyer, John Donahoe, Ken Moss, Satya Nadella, Mike Olson, Christopher Payne, Stephanie Tilenius, and Joe Tucci for their help.

I sent each of these colleagues an email that went something like this:

I am speaking about successful careers being about sustained contribution (and not a series of sprints, all-nighters, or unsustainable peaks). Would you be up for giving me a quote I could use and attribute to you? I admire your ability to work hard and smart, while obviously also having a life outside of work.

Their replies were varied, but as you’ll see in the video, there were themes that repeated in their answers. I shared edited quotes in the talk, and promised that I’d share their complete thoughts in my blog. The remainder of this blog is their complete words.

Chris Caren

Chris is the CEO and Chairman of Turnitin. We worked together at Microsoft, and Chris was (and sometimes still is!) my mentor. Here are his thoughts in response to my questions:

My philosophy:  I do my best work when my life is in balance — family, me, and work.  I need a routine of hard work, but no more than 9-10 hours a day, solid exercise daily, low stress (via self-control), 7-8 hours of sleep at a minimum each day, and the time I want with my family and for myself.  When I maintain this balance, I am maximally effective at work — both in terms of quality of thinking and decision making, and maximum output.  More hours worked actually pull down my impact as a CEO.

Adrian Colyer

Adrian was the CTO of SpringSource, the custodians of the Spring Java programming framework. We worked together at Pivotal, where he was the CTO of the Application Fabric team. Recently, Adrian joined Accel Partners as an Executive-in-Residence. Here are Adrian’s thoughts:

A great topic! Maybe the most counter-intuitive lesson I’ve learned over the years is that I can make a much more valuable contribution when I work* less. So work-life balance isn’t really a trade-off as most people normally present it (I have more ‘life’, but sacrifice ‘work’ to get it), it’s actually a way of being better at both life *and* work!

* ‘work’ in the sense that most people would intuitively think of it – frenetic activity.

When I’ve analysed this, I came to realise that when work crowds everything else out I often end up in a very reactive mode. But the biggest and most impactful things you can do – especially as a leader – don’t come about during that constant fire-fighting mode. The vast majority of my important insights and decisions – the things that made the biggest positive impact on the organisations I was working with at the time – have come in the space I’ve made around the busy-ness of the office to actually allow myself the luxury of thinking! Running, cycling, walking and so on have all been very effective for me over the years. But so is just taking some time out in the evening and not necessarily even consciously thinking about work, the brain seems to be very good at background processing! That time has also given space to allow my natural curiosity and love of learning to be indulged. In turn that creates a broader perspective, exposes you to new ideas, and allows you to make connections and insights that you otherwise might not of. All of this feeds back into the work-related decisions and issues you are wrestling with and helps you to make breakthroughs from time to time.

To the extent I’ve been successful over the years, I attribute much of that not to being smarter than the people around me, nor to working ‘harder’, but to creating the space to think.

John Donahoe

John is the CEO of eBay Inc. John was an enthusiastic sponsor of my work while I was there. When I asked John for his thoughts, he sent me a speech he’d recently given to the graduating class at the Stanford Business School. In it, you’ll find John’s thoughts of his professional and personal journey.

Ken Moss

Ken recently became the CTO of Electronic Arts. Prior to that, Ken and I worked together on, off, and on over a period of nine years. Ken was the GM of Microsoft’s MSN Search when I joined Microsoft, and left to found his own company. I managed to help persuade Ken to come to eBay for a few years. Here are Ken’s thoughts:

Always focus on exceeding expectations in the present, while keeping your tank 100% full of gas for the future. There is no quicker way to stall your career than by burning yourself out. I’ve seen many potentially brilliant careers cut short as someone pushed themselves too far past their limits and became bitter under-performers. It’s always in your control.

Satya Nadella

Satya became the CEO of Microsoft at the beginning of 2014. Satya was the VP of the Bing search team at Microsoft for around half the time I was there, and we have stayed in touch since. Here are Satya’s thoughts:

I would say the thing that I am most focused on is to harmonize my work and life vs trying to find the elusive “balance”. Being present in the lives of my family in the moments I am with them is more important than any quantitative view of balance.

Mike Olson

Mike is the Chairman, Chief Strategy Officer, and former CEO of Cloudera. We have interacted during my time at Pivotal, and also during my time at eBay. Mike was kind enough to invite me to give the keynote at Hadoop World in 2011. Here’s Mike’s thoughts:

I have always tried to optimize for interesting — working on problems that are important to me, with people who blow my hair back. The combination has kept me challenged and inspired, and has guaranteed real happiness in the job.

By corollary, you have to be willing to walk away from a good paycheck and fat equity if the work or the people are wrong. Money is cheaper than meaning. I’ve done that a few times. There’s some short-term angst, but it’s paid off in the long term.

Christopher Payne

Christopher is the SVP of the North America business at eBay. Christopher and I have worked on, off, and on for nine years. Christopher was the founding VP of the search team at Microsoft. He left to found his own company, his company was bought by eBay, he hired me to eBay to help run engineering, and he then moved over to run the US and Canadian business teams. Here are Christopher’s thoughts:

I believe strongly in the need to maintain my energy level in order to have the most impact in my career. To do this I find I have to make the time to recharge. For me this means taking walks during the work day, taking all of my vacation, and not being on email 24/7. With my energy level high I find I can be significantly more creative and productive over the long term.

Stephanie Tilenius

Stephanie recently founded her own company, Vida. While she’s spent parts of her career at Kleiner-Perkins, Google, and other places, we met at eBay where we spent around six months working together. Here are Stephanie’s thoughts:

… my point of view is that you have to do something you love, that will sustain you. You also have to know what drives you, what gets you out of bed, for me it is having an impact (for others it may be making money or playing a sport, etc.) You will always be willing to give it your all and you are more likely to innovate if you love what you are doing and constantly growing, challenging the status quo (stagnation is really out of the question, humans don’t thrive on it!). I am committed to my work and to constant innovation but also to having a family and I could not be great at either without the other. They are symbiotic in my mind, they both make me happy and a better person. I have learned it is about integration not necessarily perfect balance. If you integrate life and work, you are much more likely to be successful. The other day my son was out of school early and our nanny had an issue so I brought him to work and he did code academy and talked to some of our engineers. He enjoyed himself and was inspired.

Joe Tucci

Joe is the Chairman of EMC, VMware, and Pivotal, and the CEO of EMC. I met Joe in the interview process at Pivotal, and have worked with him through board and other meetings over the past year. Here’s Joe’s thoughts:

Being a successful CEO is relatively straight forward… 1st – retain, hire, and develop the best talent, 2nd – get these talented individuals to work together as a team (do not tolerate selfishness), 3rd – get this leadership team to embrace a stretch goal that is bigger then any of them imagine they can attain, and 4th – maniacally focus the leadership team on our customers (always striving to exceed their expectations)

I enjoyed giving the talk at Stretch, and interacting with these colleagues in putting it together. I hope you enjoyed it too. See you next time.

Learning Lessons from the Apollo program

I’m fascinated by the Apollo program. It’s a triumph of human endeavour that we sent twenty-four men to the moon, and twelve to the surface between 1969 and 1972. It was a program built with reliable 1950s-designed equipment, and computers far less sophisticated than a cheap modern wristwatch. Achieving Kennedy’s audacious vision was made possible through teamwork, planning, hard work, and ingenuity.

Recently, I decided to learn more about the early Apollo missions to understand what work went into getting us to the moon. It’s an incredibly story, and perhaps more interesting than several later missions.

An incremental approach

Apollo 7 was the first manned Apollo mission to fly in space. It was a confidence-builder, and the first time three people had flown together in space around the Earth. After eleven days in 1968, the crew returned having tested the command module and successfully made a live TV appearance.

The Apollo 7 crew during the first live broadcast from space

The Apollo 7 crew during the first live broadcast from space

The critical pieces of Apollo 7 had flown earlier. The earlier unmanned Apollo 4 and 6 had tested launching a similar unmanned command module and returning it to earth, while Apollo 5 had also tested the same Saturn IB rocket that was used to launch Apollo 7. Apollo 7 was focused on testing putting three astronauts in space in what was a now-trusted setup.

Apollo 8 was a shorter, six day mission. Three men flew to the moon, orbited it a few times, and returned to earth. They were the first to fly atop the Saturn V rocket — the smaller Saturn IB rocket used in Apollo 7 wasn’t sufficient to reach the moon. The Saturn V had been tested in Apollo 4 and 6. This was an audacious mission — testing both a manned Saturn V mission, and visiting the moon. Behinds the scenes, it was a tough sell to management — they didn’t like being that aggressive. But it made sense as a mission: the lunar module was behind in development and wasn’t ready to be tested, and there was fear the Russians might get Cosmonauts around the moon in 1968.

The far side of the moon as seen from Apollo 8. The Apollo 8 crew was the first to ever see the dark side of the moon

The far side of the moon as seen from Apollo 8. The Apollo 8 crew was the first to ever see the dark side of the moon

Apollo 9 was a return to an incremental approach. The mission orbited the earth, tested the lunar module in earth orbit (that would later be used to land on the moon), and included a space walk to test the spacesuits. It also included a rendezvous, which was necessary with the command and lunar modules being separated.

Testing the Apollo 9 lunar module Spider in earth orbit

Testing the Apollo 9 lunar module Spider in earth orbit

Apollo 10 was the full dress rehearsal for landing on the moon. It was time to repeat the test of the lunar module, but this time in moon orbit. The lunar module detached from the command module, and the crew descended to within ten miles of the moon’s surface. They then returned to rendezvous with the command module, and journeyed back to earth. In total, the crew spent eight days in space, and the mission was a huge success — so successful that Apollo 11 was the mission that met Kennedy’s goal in July 1969.

The Apollo 10 lunar module Snoopy returns from almost landing on the moon

The Apollo 10 lunar module Snoopy returns from almost landing on the moon

Interestingly, many people at NASA thought early in the Apollo program that Apollo 12 was likely to be the mission that landed first on the moon. Perhaps if Apollo 9 had happened before Apollo 8 (as was originally planned), there might have been two separate missions to test the manned Saturn V and then a manned Saturn V to the moon. Certainly, if something substantial had gone wrong between Apollo 7 and 10, Apollo 11 would have been repeating validation of the space craft, space suits, and processes.

The tortoise beats the hare

The Soviet Union went all-in with Soyuz 1. It was the first flight of the new Soyuz spacecraft and Soyuz rocket, and was planned to be a rendezvous with the three-manned Soyuz 2. The mission had problems from the start — a solar panel failed to deploy, and this delayed the launch of Soyuz 2. The weather turned bad, and Soyuz 2 didn’t launch. This was fortunate, as the parachute on Soyuz 1 didn’t deploy due to a design fault, and the single Cosmonaut died on reentry. If Soyuz 2 had launched, the crew wouldn’t have survived.

Vladimir Komarov, the cosmonaut who died in the ill-fated Soyuz 1

Vladimir Komarov, the cosmonaut who died in the ill-fated Soyuz 1

This was 1967, a year before Apollo 7. The Soviets went for broke, testing rockets, capsules, rendezvous, and more in one mission. On paper, it looked like they were ahead. The result was failure — and an 18-month delay in the program, and ultimately failure to get to the moon before the Americans. Indeed, Soyuz 4 and 5 in early 1969 eventually completed the mission aims of Soyuz 1 and 2.

The tortoise beat the hare. It was a pretty fast tortoise, but you see the point. The pragmatic approach of trying one complex new component in each mission ultimately made the Apollo program successful. Doing everything at once didn’t work. There’s something in that for all of us. See you next time.

Writing a Book

One day I’ll write another book. Perhaps a sports book about people and their stories, or the story of search engines and the people that build them.

I wrote my first book in 2001 with David Lane, and we rewrote it in 2003 for the second edition. I wrote another book with Saied Tahaghoghi in 2004 – the truth is I started it, and he picked up the pieces when I changed careers and countries; he’s a good man. The first book sold over 100,000 copies over the two editions (I still get a royalty check quarterly) and the second modestly (Saied and I earned our advance back). They’re both dated, old books now.

Web Database Applications with PHP and MySQL. My first book in its second English edition.

Web Database Applications with PHP and MySQL. My first book in its second English edition.

It’s thousands of hours of work to write a book. I spent at least 20 hours per week for 18 months on the first edition of the first book – that’s 1500 hours at least. I got out of bed at 5:30am and I did a few hours of writing before work. I’d also squeeze in a little more after work (typically some proof reading), and a longer period of writing on the weekend (where I’d still get out of bed at 5:30am).

Did I get rich? No. Typically, the authors get less than 10% of the wholesale book price — a couple of dollars per book sold at most. I got more than the minimum wage for the first book (roughly dividing the royalties by the number of hours by the number of authors to get an answer). The second book didn’t pay its way.

The longer I worked in a single sitting, the more productive I was. It takes a certain fixed amount of startup time to begin writing – you reread what you’ve written, edit it a little, get the context back, think about the structure of what you want to say next, and then start writing anew. But I can’t write for an extended period – it’s tiring, and I need to stop and take time away to think about what I want to do next. Three or four hour stints are the most productive for me.

When I wrote the first book, I’d count how many words I wrote in a session, and use that as a measure of success. I’d decide that I was going to write 1000 words before I took a break. It turns out, that doesn’t work for me: I’ve learnt that what’s important is sustained output, averaged over a month or so. Some days, I’ve got writer’s block. But I’ve learnt that that’s when I am doing valuable thinking – I’m working through a larger problem, or thinking through structure, or solving something that’s been bugging me for a while; sometimes, this is a subconscious activity. Other days, I’m a machine: I write as fast as I can type, and thousands of words flow. A whole chapter has been known to flow after a writer’s block.

My second book, Learning MySQL in its one-and-only edition.

My second book, Learning MySQL in its one-and-only edition.

Writing slows down as the book takes shape. I’ll be in the middle of a new section, and I’ll want to reference something else I wrote using something like “as you learned in Chapter <x>, the <something>”. Then I have to figure out what chapter it was, and what exactly was that <something> – that takes time. And, as the book gets longer, you repeat yourself – at least, my memory isn’t amazing enough to make sure I only say the same thing once. I’ll find myself waxing lyrical about some great idea, only to discover that it is somewhere else in the book too. Then it’s a case of figuring out where it should be – which is going to lead to editing a was-finished chapter elsewhere in the book or rethinking what I’m writing today.

I worked with a major publisher, O’Reilly Media Inc., and the wonderful editorial skills of Andy Oram helped me on both books. Editors are awesome – they push, prod, ask questions, push for clarity, and say things that make your book better. But they create a ton of work – you’ll get feedback such as “Perhaps you could merge those two chapters?” or “Chapter 4 needs to be broken into two chapters, and you need to really go into much more depth”. That often happens after you think you’re finished. You’ll get asked for extra chapters, rewrites, more or less content, and complete changes in style. It makes your book better. Between the first edition and second edition of my first book, Andy helped me change my style from a formal computer science style to a more conversational, chatty style – the kind that I use in this blog.

Writing a book isn’t a social experience. You need to enjoy being alone with your thoughts. Prepare for one hour of inspiration and conversation to turn into a hundred hours of hard labor and iteration. If it takes a couple of thousand hours to write a book, ten of them are the inspirational ones where you create the fundamental ideas. I wrote much of the second book in my parent’s Winnebago – parked on the grass, a good distance from the house, deliberately without wifi, and with nothing inside to distract me.

So, why do it? I enjoy writing – there’s rewarding impact in sharing knowledge with thousands of people. If you’re lucky, someone’s success or their impact will be because of what you shared. Or maybe you change how someone thinks or sees the world. Or you make their life better. It’s also cool to see your name on the cover, and to feel it in your hands – it’s even cooler when it’s translated into a language you don’t understand. I wonder what joy there is in knowing people are reading a digital copy? The digital sales on the royalty statement have never quite inspired me the same way.

Have fun. See you soon.