Recent Posts

GitHub Integration

published Apr 10, 2014

We’ve been working on GitHub integration for quite a while now, and I’m happy to announce that it is ready to use.

To start, go to https://leanpub.com/YOUR_BOOK/writing_settings and follow the instructions. If you do that, you can ignore the rest of this email, but here’s a quick set of steps to illustrate how it works:

First, create a repository on GitHub and add leanpub (https://github.com/leanpub) as a collaborator.

Create a manuscript directory in your repository and put the content from your current Leanpub manuscript folder in it.

Second, go to https://leanpub.com/YOUR_BOOK/writing_settings.

Select “Use Git and GitHub” and enter the path to your book’s repository on GitHub. E.g. if your repository is at

https://github.com/spatten/thes3cookbook

then you would enter

spatten/thes3cookbook

Now you can push to GitHub and we’ll pull from you before generating your book.

If you were using Dropbox before, your dropbox folder will still be on your computer, but we won’t be using it for anything. You can safely delete it once you have moved everything to GitHub.

You may also be interested in setting up a post-commit hook. This uses the Leanpub API (https://leanpub.com/help/api) and a GitHub service hook to preview your book every time you push to Leanpub.

First, you’ll need your Leanpub API key, which you can get at https://leanpub.com/dashboard/account#the-leanpub-api.

Now, set-up your Leanpub webhook.

Go to your repository’s webhooks page. Click on the “Configure Services” button and look for Leanpub in the list of services. Enter your API key and your book’s slug. Make the Webhook active, and click on “Update Settings”.

We’ll be making improvements to our Git and GitHub integration as we get feedback from you, our authors, so please let us know what you think.

Thanks,

Scott

P.S. Special thanks to Nicholas Zakas (https://leanpub.com/u/nzakas) for helping us beta test this feature!


Introducing the Leanpub Affiliate Program: Optional, Opt-in and 50% (!) of Minimum Price on Affiliate Sales

published Mar 11, 2014

At Leanpub, we want to be the best way in the world to write, publish and sell ebooks. So far, we’ve been focusing much of our efforts on the writing and publishing aspect, and less on the selling aspect.

This is something we’re going to address in 2014.

The first step was supporting packages and extras.

The second step we’re taking is building an affiliate program, which we launched on March 7.

Marketing a book on the internet is hard. This is true for everyone, from self-published authors to traditional publishers. It’s also true of digital goods in general: books aren’t unique snowflakes in this regard.

An affiliate program can help here. (For those who don’t know, an affiliate program on the internet involves sharing part of the revenue from a purchase with some third party that drove the purchaser to the product landing page. The affiliate can be anyone.)

However, there are lots of affiliate programs on the internet. To be actually helpful to authors, our affiliate program would need to be compelling, in order to attract and motivate potential affiliates. However, since we pay 90% minus 50 cents royalties, there’s not much room for us to maneuver here, in terms of supporting an affiliate program from our revenue. After PayPal takes their cut, we’re left with about 7% plus 20 cents in revenue per sale, and offering anything meaningful would destroy our profitability and thus hurt our growth.

So, we took a step back and thought about what successful affiliate programs we knew about.

Dreamhost, for example, helped drive its growth by offering up to $97 per signup to the affiliate, and they’re a successful web hosting company.

Even more impressively, the Thesis WordPress theme earned over a million dollars in revenue.

Yes, for a WordPress theme.

What Thesis had in common with Dreamhost is that it used an aggressive affiliate program. If my memory is correct, I think when I bought Thesis it cost about $160. (Once upon a time, the MVP version of Leanpub was briefly based on WordPress MU.) Anyway, of the $160 cost of Thesis, I think that about half of the revenue went to the affiliate.

So Thesis, like Dreamhost, had massive success by offering a good product and a really aggressive affiliate program.

Now this is a model we can get behind!

So, here’s how the Leanpub affiliate program works:

  1. It is strictly opt-in. No books are added by default; all new and existing Leanpub books need to opt-in to being in the affiliate program. For multi-author books, only the primary author can opt the book into the affiliate program.

  2. Any Leanpub user can be a Leanpub affiliate, provided they obey the Leanpub Terms of Service and the Leanpub Affiliate Program Terms of Service and provided that they have not issued chargeback requests for books they have purchased.

  3. If a book is in the affiliate program, any Leanpub affiliate user in good standing can get an affiliate link for it.

  4. If the affiliate link is used to navigate to a book landing page, the affiliate gets 50% of the minimum price of the book at the time of the sale. This revenue is entirely subtracted from author royalties.

  5. After opting in to the affiliate program, the book is available for all affiliates right away.

  6. At any time, the primary author can remove a book from the affiliate program.

  7. Affiliate revenue is subject to the 45-day hold, just like book royalty revenue.

  8. Refunds also apply to the affiliate revenue from the purchase.

  9. We pay affiliate revenue monthly, the same way we pay author revenue.

Now, your first instinct might be to think that point #4 (the 50% of minimum price) is totally insane.

The thing is, if you think of affiliate sales like found money (which it largely is), or if you compare it to traditional publishing royalties, then it’s totally fine. Think of it as your marketing budget, but entirely on commission – which is how you want it.

Typically an author gets 10% of a publisher’s revenue from a book. On a physical book, the publisher gets about half of the sticker price. So, on a $40 print book, the publisher gets $20, and the author gets $2. And on a $20 ebook sold from the publisher website, the author once again gets $2.

Now, I want to emphasize that the 50% affiliate portion is of the minimum price, not the suggested price. So, say you have a book with a minimum price of $15 and a suggested price of $30, and someone buys your book for the suggested price.

Here’s what this looks like:

  • A $30 No-Affiliate Purchase of a $15 Minimum Price Book:

    1. Purchase is $30.00
    2. Leanpub earns $3.50
    3. Author earns $26.50 (8.83 times better and $23.50 better than the traditional 10%, which is $3)
  • A $30 Affiliate Purchase of a $15 Minimum Price Book:

    1. Purchase is $30.00
    2. Leanpub earns $3.50
    3. Affiliate earns $7.50 (50% of the $15 Minimum Price)
    4. Author earns $19.00 (6.33 times better and $16.00 better than the traditional 10%, which is $3)

By the way, this is why we made the affiliate revenue portion be of the minimum price, not out of what the customer paid.The reasoning here is that anything above the minimum price represents goodwill from the reader to the author, and there is no reason an affiliate should get a piece of that. Also, it would potentially hurt goodwill to do so.

What about for books with a higher minimum price?

Here’s how that affiliate math works, with a couple simple examples:

  • A $20 Minimum Price, No-Affiliate $20 Purchase:

    1. Purchase is $20.00
    2. Leanpub earns $2.50
    3. Author earns $17.50 (8.75 times better and $15.50 better than the traditional 10%, which is $2)
  • A $20 Minimum Price, Affiliate $20 Purchase:

    1. Purchase is $20.00
    2. Leanpub earns $2.50
    3. Affiliate earns $10
    4. Author earns $7.50 (3.75 times better and $5.50 better than the traditional 10%, which is $2)

So, even with a really aggressive (and totally optional) affiliate program that comes entirely out of author royalties, as an author you still earn way more than you would with a traditional publisher! And instead of just your publisher marketing the book, you have a bunch of affiliates doing it.

What about multiple author books or books with causes? Well, that’s more complex, so here’s a couple scenarios showing how it works. The only thing you need to keep in mind is that the affiliate revenue comes off the minimum purchase price, and the rest is split up according to the current formula:

  • A $20 Minimum Price Non-Affiliate Purchase, where there are 2 authors (60% for Author A, 40% for Author B) and 2 causes (Author A’s cause gets 30%, Author B’s cause gets 10%):

    1. Purchase is $20.00
    2. Leanpub earns $2.50
    3. Author portion is $17.50, split into (d) and (e)
    4. Author A’s portion is $10.50, split into $7.35 for Author A and $3.15 for Author A’s cause
    5. Author B’s portion is $7.00, split into $6.30 for Author B and $0.70 for Author B’s cause
    6. Math check: 2.50 + 7.35 + 3.15 + 6.30 + 0.70 = 20.00
  • A $20 Minimum Price Affiliate Purchase, where there are 2 authors (60% for Author A, 40% for Author B) and 2 causes (Author A’s cause gets 30%, Author B’s cause gets 10%):

    1. Purchase is $20.00
    2. Leanpub earns $2.50
    3. Affiliate earns $10.00
    4. Author portion is $7.50, split into (d) and (e)
    5. Author A’s portion is $4.50, split into $3.15 for Author A and $1.35 for Author A’s cause
    6. Author B’s portion is $3.00, split into $2.10 for Author B and $0.90 for Author B’s cause
    7. Math check: 10.00 + 2.50 + 3.15 + 1.35 + 2.10 + 0.90 = 20.00

Anyway, we hope that this new program helps many of you jumpstart your Leanpub book marketing.

To enrol your book, go to https://leanpub.com/YOURBOOK/edit_affiliate

Coupled with the book packages feature, we’re excited to see what you do with these tools!

The next tool we build on this front will probably be an email drip course feature. But first we need to do some design work, to simplify the site and improve the usability of the features we already have.

Oh yeah, and before all that, we’re finally restoring GitHub integration as an option alongside Dropbox and web-only. GitHub integration will be ready later this month. (I say restoring GitHub integration, not adding, since we actually had supported GitHub before switching to Dropbox!)

Thanks,
Peter, Scott and Len

P.S. To help ensure that everyone plays nice, we have lots of fine print at https://leanpub.com/affiliateterms


Leanpub Podcast Interview #15: Derek Sivers

published Jan 22, 2014

Derek Sivers is a blogger, musician, and founder of CD Baby, one of the first online stores for music by independent musicians. In June 2013 he founded Wood Egg, which is using Leanpub to publish ebook guides to starting a business in 16 different countries in Asia. You can read his blog at sivers.org and you can find him on Twitter @sivers.

This interview was recorded on January 15, 2014.

The full audio for the interview is here. You can subscribe to this podcast in iTunes or add the following podcast URL directly: http://leanpub.com/podcast.xml.

Derek Sivers

Len Epp: Hi, I’m Len Epp from Leanpub and I’m here with Derek Sivers, blogger, musician, and founder of CD Baby, one of the first, and most popular online stores for music exclusively by independent musicians. Amongst his many activities, including some very popular TED Talks, Derek is the author of Anything You Want, a chronicle of his adventures and lessons learned founding, building, and eventually selling CD Baby. In June, Derek launched his new company, Wood Egg, which is publishing annual ebook guides on how to to start and build companies in 16 different countries in Asia. Along with his team of 22 writers and 17 editors, Derek is using Leanpub to publish and update these guides, which are comprised of thousands of answers to questions posed by over 100 researches to over 300 experts. In this interview we are going to talk about Derek’s professional interests and history, his work at Wood Egg, his experiences using Leanpub, and any suggestions he might have for us at the end.

So thank you, Derek, for being on the Lean Publishing Podcast!

Sivers: Thanks Len, thanks for having me. Hey, I had to say, have you ever heard of this thing how there are an extraordinary amount of dentists that are named Dennis, and there are a lot of lawyers that are named Larry, and how there’s this feeling that our name actually influences our career choices in life? Right, have you heard about this before?

E: I haven’t heard it, but I’ve thought it before.

S: Well, when I first started communicating with you I was like, wow, Len Epp. Lean Pub. It almost looks identical. I think it’s destiny that either Leanpub was named that because of you or that you were working with Leanpub because of your name.

E: It could be, yeah, names are a powerful thing. And definitely I’m glad I didn’t go the used car salesman route because my middle name is actually Lawrence.

S: There you go.

E: So that could be Larry as well. Ok Derek, many of our listeners are familiar with your biography already I’m sure, but we do like to start our interviews by getting people to talk a little bit about themselves. So, I was wondering if you could give me a brief two-minute autobiography of Derek Sivers in your own words?

S: Sure. Born in California, I’m very American despite everything else we may talk about here. When I was a young teenager I picked up guitar and that just changed everything for me. I said I want to be a rock star or at least I want to be a really successful musician. But knowing that one in a million gets to be a successful musician, to me that was a real turning point in my life because I started to focus. Wanting to be a successful musician is like wanting to be an Olympic athlete. You know that you’re going to have to be the best of the best to be that one in a million that actually makes a living doing the thing that everybody wishes they could. It got me really focused and serious as a teenager. I started reading lots of self-improvement books and always trying to learn about the world and learn about business and communication and marketing and all these things. Even just the philosophies of how to overcome adversity and not let things get to you, and healthy attitudes towards making your way in this world. After that I noticed that life became easier and business became easier. Learning to see things from the other person’s point of view really made all the difference in the world for me. When I was 20 years old, I moved to New York City to be a professional musician, and I did it. So, for 13 years I was a full-time musician. I actually made my living playing on people’s records and touring and doing gigs and producing people’s records and even bought a house with the money I made making music. So that’s the life I was living when I was selling my own CD on my band’s website.

Back in 1997 when I was doing this, it was a very different world. There was no PayPal. Amazon was just a bookstore. So if you were a musician with a CD and you wanted to sell your CD online there was literally not a single business anywhere on the Internet that would do it for you. So I had to build my own. So I got a book about cgi-bin Perl programming and it took me three months of effort. But after three months, I had a “buy now” button on my website, and that was huge. In 1997 that was a big deal, so when I told my musician friends in New York City that I had this buy now button everybody went “Dude, could you sell my CD too?” So literally as a favor to friends I started putting my friends’ albums on my band’s website. Like “click here to buy my CD” or “click here to buy my friend’s CD”. And after a while, friends of friends started calling so I had to kind of take those people off of my band’s website and put them on their own website, and that was CD Baby.

After 10 years of doing that, CD Baby grew into the largest seller of independent music online from 1998 through 2008. It just blew up. It ended up selling music for a quarter-million musicians with millions of customers and 85 employees and a big giant pick, pack, and ship warehouse in Portland, Oregon. It was really much bigger than I ever wanted it to be. I really thought it was just going to remain a hobby, so it really grew against my wishes. So, in 2008, after doing this for 10 years, I sold the company, which is something I thought I would never do. I thought I was just going to do CD Baby for the rest of my life. But, in 2008, the learning, growing experience was to actually move on and force myself to do something new. Probably like most people here reading or listening to this, we’ve all hit a point in your life where you want to make a major change in your life. Whether it’s a divorce, or a death, or a graduation, or getting fired, or something like that. You hit a point in your life when you make, when you want to make a real big change in your life. To me, selling the company was like that. I realized I could go start another company the next day but I wanted to make a real change to my operating system, if you know what I mean. I wanted to change the way I think, and change what I do. That’s when I started lifting my head up to the world and speaking at TED conferences, and visiting different countries, and vowing to spend the rest of my life outside of the US. Trying to expand my mind and see things from different perspectives. So here we are.

E: Ok, great. Thanks very much for that. I know that recently you moved to New Zealand. Can you tell us a little about why you made that decision?

S: Sure. Well, three years ago I moved to Singapore and thought that that was going to be my permanent home. In fact I filled out ten months of paperwork and I applied for a permanent residency and I became a permanent resident of Singapore which I’m really proud of. I love Singapore. I’m really proud of that little country. I really internalized it. I’m really happy to be a permanent resident of Singapore. I love it. But I think we all need to re-evaluate in our lives sometimes why we are where we are or what we’re doing.

Even in the music business, for example, I saw some miserable rock stars. I worked at Warner Brothers for a few years. I was running the tape room when I was 20 years old. It was my first job inside the music industry., and I got to meet a lot of miserable rock stars, because they would come in for a meeting with the VPs or something and then they would kind of come into my tape room to exhale and regroup. So I got to have some interesting conversations with some famous people that were really miserable because they wanted to be a rock star when they were a teenager, and so they followed through on that, and they became a famous rock star. But now they were 30-something with kids, but they were still acting like their 19 year-old dreams. Even though it didn’t really apply to what they really wanted out of life now. You know what I mean? So I think a lot of us are maybe in a job or a situation that we got ourselves into years ago but we but if you re-evaluate what you need in your life now, it’s not always what you want now.

So last year I was in Singapore. Very, very social. Saying yes to every invitation. Every conference. Every university that wanted me to speak to every class and every person who emailed me out of the blue saying “let’s meet for coffee”. I just said “yes, yes, yes, yes, yes” to everything and I was so social that I was getting nothing done. And now everybody knew I was there and so every person that passed through Singapore would send me an email saying “let’s meet”. Even if I said no to four out of five of those I was still swamped in social activities. And I realized that what I really wanted was solitude. That at some point in your life being out there and meeting everyone is what you need, and sometimes at a different point in your life being in here, and meeting no one, is what you need. You need to focus. I just hit that point. And that’s why I symbolically just packed up and went off to New Zealand where I didn’t know anybody and it’s wonderfully under-populated, and nobody passes through New Zealand. Its been wonderful. I’m getting a lot of work done.

E: I’m very interested in when you’re speaking about evaluating and evaluating yourself. It reminded me about something from your book Anything You Want that really struck me which was, I suppose, that negative form of evaluation where you and invoke “the invisible jury”.

S: [Laughter] Yes.

E: I was wondering if you could tell me a little bit about what you mean by that.

S: Ok, the invisible jury. I thought about this first with programming, right. There are a few different ways of approaching programming. Either you can just hack together whatever works. The bare minimum, ugly code, whatever it takes to make the computer do what you want it do. Or you can try to please this invisible jury if you imagine people on GitHub reading your code and you think “Oh no, am I doing my proper object-oriented encapsulation? Am I doing my semi-colons right in a way that I won’t get criticized for on Stack Exchange or whatever it’s called, Stack Overflow?” And sometimes I find when programming that I’m trying to please someone, I don’t know who, this invisible jury that I think is going to tease me if I do something wrong in programming.

And it’s the same thing in business I think. We read books like, whether it’s 4-Hour Workweek, or whatever book that said you start to re-evaluate your business or life or work decisions through the lens of pleasing some invisible person out there that you think is going to be criticizing you if you do it wrong. I think that’s really hard to let go of. It’s kind of tied together with, I don’t know, anxiety or insecurity or who knows what kind of mental issues.

E: It’s just such an interesting idea because, you know, one of the things that I imagine makes it hardest to let it go, is when you realize no one was listening that whole time to your internal defense against that non-existent jury

S: Yes!

E: …and there was no trial.

S: It’s hard to get over that. To just stop trying to please other people and just let it go and do whatever you personally want. Realizing, actually, sometimes I believe that you need to realize that people are going to tell you you’re wrong no matter what you do. With coding you could have your perfect code that would please whatever Rails guru you look up to or something, and still somebody somewhere else is going to tell you you’re an idiot and doing it wrong. It’s the same thing with life, you know.

I think about these big life decisions. Big life paths we could take. Some people are pursuing money. And they want to make as much money as possible. And if you follow that path, some people are going to tell you that you’re wrong. They’re going to tell you that you’re being greedy, or that you’re shallow, or whatever. Other people in life are giving up money and instead pursuing the charitable life or something. They’re giving themselves all the time, they’re donating their time, and life, and money to charity or whatever. And you know what, somebody is going to tell you you’re wrong for doing that too. They’re going to tell you you’re stupid. You should try to make as much money as you can now while you’re young. And other people, you know, I’m in the music business, and so I know lots of people that are pursuing fame. Even if it means making no money. They’re getting themselves out there into public situations trying to get famous more than trying to get rich. Somebody is going to tell you you’re wrong for pursuing that. The point is no matter what you choose somebody is going to tell you you’re wrong and you just have to let it go and not worry about that or just accept it in advance. Of course people are going to tell you you’re wrong. There is no path you’re going to follow that’s going to be devoid of criticism. So instead you just have to ignore those other voices and just listen to that quiet voice inside that knows what this is a thing that you really, really want and kind of optimize your life and career to do that, even if it’s an unpopular decision.

E: Speaking of being told you’re wrong in one way or another, that leads very well into my next question. I have a couple of big questions about CD Baby and this one is about - you had a notable incident with Apple and Steve Jobs that you talk about in your book and on your blog. And without necessarily going into the details of what that was here, I would like to ask you what you think the best thing is that Steve Jobs did for the music industry, and what you think the worst thing was.

S: Oh, I’d say there actually is no worst thing, even though that little scuffle I had with him was nasty, and I don’t own any Apple products, maybe because of that.

Actually I think the launch of the iTunes music store in 2004 was massively important for independent musicians. It was one of the best things that ever happened to independent musicians and here’s why. Up until that point indie musicians couldn’t really get their music into most places. Yes, I set up CD Baby because in 1998 there was no place that would sell your music. But within a few years there were lots of competing companies. So if you were an independent musician, you could put your CD out there on a dozen different little CD Baby-type indie shops. And then eventually Amazon started their, I forgot what it’s called, Amazon Associates or something. Amazon Advantage Program I think it was called, where just anybody could put a book or a CD or something into the Amazon system. So technically you could still be on Amazon, but it was very difficult. It wasn’t very optimized. But then CD Baby represented over two million songs or something like that in our digital catalog when the iTunes music store launched. And iTunes called us into their office and asked us to be a distributor. To send all of our catalog into the iTunes music store. And in that moment, that changed everything for musicians, ‘cause now every independent musician, no matter how unknown or small, was truly in the level playing field that everybody had been desiring because every album from Madonna to, you know, an unknown plumber from Oslo, Norway now looked exactly the same on iTunes. Everybody had the same treatment, the same placement, the same visual display. Being sold in the same store. There was no difference. And if you went into iTunes search engine and typed, whether it’s salsa music or you typed the name of your favorite song - say you typed in, whatever, “Brown Eyed Girl” by Van Morrison. You decided you wanted to buy that song. You would type it into the iTunes search engine and now there’s Van Morrison’s version and here’s five cover versions by unknown musicians from Finland or Uruguay are listed equally with Van Morrison in a search engine on iTunes. It was brilliant!

And I think it was one of the single best things that ever happened to independent musicians because after Apple did it, then of course the Amazon MP3 store launched a year later, and then the new Napster, and Rhapsody, and Yahoo! Music. All of these companies now, in order to compete with Apple, contacted companies like CD Baby and said “We want everything. We want your whole catalogue.” All four million songs, or whatever it grew to be. They took everything, no questions asked. Every independent musician had equal placement. Now you almost take it for granted. There’s so many companies out there. A new one that I really like is called DistroKid.com. Personally, actually, that’s where I’m distributing my music through right now. My albums are up through DistroKid. So it’s amazing that just anybody could make some noise into a microphone right now, save it as an MP3, upload it to any number of distributors out there and it will be for sale on iTunes tomorrow. And Amazon. That’s amazing! That’s a world of difference from where we were at ten years ago. Night and day. It’s just amazing the change that one thing made in 2004.

E: And in the contemporary music landscape are there any companies or certain individuals out there who are doing something very special that you think is maybe setting the tone for the next few years?

S: I think that DistroKid, that I mentioned, it’s not a revolution. They’re not doing anything massively different. But, it has the same friendly, no-nonsense, cut the fluff, kind of simplicity that I launched CD Baby with in 1998, and I think made it really charming. I think DistroKid is doing that now for digital distribution. They let go of the concept of an album. If you have an album, you can still create an album, but their system is very optimized for musicians recording a song at a time. As soon as you finish a song, you want to put your song out on to iTunes, Amazon, and the rest. Their system will let you do that very easily. It’s great.

E: I have one last music industry question for you which is about piracy. This obviously has been a big controversy in the music world ever since things went digital and online. And I would like to know your opinion about it, just in general. I know independent musician friends of mine are often in conflict with each other about whether or not piracy is good for small bands.

S: Yeah, I’d take the side of, piracy is not a problem. I don’t think there are a lot of people out there on PirateBay, or something, searching for the name of a local unknown band. I don’t think it’s a big problem.

I think when you’re not as famous and successful as you want to be, it’s easy to look for anybody to blame. It’s almost a comforting thought to think that if it weren’t for piracy, I would be world famous right now, or I would be rich if it weren’t for piracy. Very often, when I was with CD Baby, people who would email us to complain that iTunes was stealing money from them because they had been on iTunes for three months and hadn’t gotten any money yet. We’d ask them to provide any proof of sales. We’d say “Wow, ok, let’s look into this. Can you show us some sales on iTunes that have happened, that you haven’t gotten paid for?” And they’d say “well, I don’t know any”. Then we’d ask them to buy the album themselves from iTunes. Just to make sure that the system was working. And we’d say “Well, don’t worry, you know if you’re buying it yourself. So you’re going to spend $9.99 but $8.99 is going to come back to you” or something. And sure enough they would buy the album themselves on iTunes and then the iTunes report would come in a few weeks later that that was the one and only sale of that album. So it’s nice to think that we would all be, really, much more successful if it weren’t for piracy. But I think the truth is that piracy may be hurting a few ticket sales of Iron Man 3 or something, but, I don’t think it’s hurting most of us on the independent level.

E: Ok, great. That’s a very clear answer. Thank you.

S: Well, I love the statistics that more people are killed by pigs than sharks each year. That sharks are the newsworthy, noteworthy, media-shocking, headline-grabbing news. But, very quietly, more people are killed by pigs each year. So I kind of feel that way about piracy. That it’s a shocking thing that’s easy to demonize, and talk about how this evil Internet is making piracy rampant. But I think it’s actually the other things that are hurting our careers more than piracy.

E: Oh, and what would one of those other things be?

S: [Laughter] People’s communication skills. People’s production and engineering skills, or ability to go hustle and get themselves some gigs, or their media-friendly presentation. Their photos. Things like that. Just off the top of my head. Any one of those seven things I just named, I think, are likely hurting your career more than piracy. And I’m sure there’s a hundred more.

E: Ok, thanks. Moving on to discuss publishing a little bit. Your first book, Anything You Want was published as something part of something called The Domino Project. Can you explain a little bit about that project and who’s involved in it, and why you were published as a part of it?

S: Yeah. I never wanted to write a book. I know some people have this life-long dream to be a published author and it’s a dream to see their name in lights at Amazon. But I never wanted to do a book. People had been asking me for years to turn my blog posts into a book or write a book and I just said “No, too much work. Don’t feel like it. Not interested.” And then one day Seth Godin called me, or rather sent me an email, saying “I’d like to talk to you. It’s important.” I got on the phone and he said, “I’m starting a new publishing company and I want you to be my first author.” So of course I said: “Oh, yes. Yes sir.”

Originally he thought maybe I would do a music book. Like, a how to make it in the music business kind of book. But as we talked more, he said “No, actually, let’s take a lot of these articles on your blog and turn them into a book, plus add some more. It’ll kind of tell the story of starting, growing, and selling CD Baby, including your philosophies throughout. We’re just going to turn it into a little 88-page manifesto.” That was his big idea. He felt that most books are too long. That most of us have what he called a manifesto inside of us, that would be short, powerful, the kind of book you could read in under an hour. And it would be sold exclusively through Amazon, Kindle and hardcover, using their print-on-demand system, I guess. And that he setup a system with no advance, but, royalties were split 50/50 with the author. Something like that, I forget. The details didn’t matter to me. It was Seth. I said yes. I think I thought it was going to be an ongoing publishing company. Like he had setup this new company that was going to go for years, but he actually just did it for one year.

And in hindsight, I look at other things Seth has done and I realize that’s what he always does. He actually started a record label for a year. That’s how I first met him, when I was at CD Baby. He started a record label and signed a few artists and put them on CD Baby. And he started a publishing company and did that for a year. And he started this and that project. And he tends to do things kind of as a way of testing out his ideas in the real world. But then he delegates it off to somebody else. Or sells it and moves on to the next idea. Which, honestly, I really admire. He keeps his systems very streamlined. He has no employees. When he launches a new project like Domino Project, he got a dozen interns. People that were clamoring to work alongside him. I think he paid them, but it was clear to them that this was just, come in for nine months, help get this company going. You’ll get a lot of great experience and then it’s done and we’re on to the next thing. So yeah, that’s Domino Project. I think it’s - as far I can tell, they’re not doing any new books.

E: Speaking of launching publishing companies, on to Wood Egg. You launched Wood Egg in June, 2013. I was wondering if you could give me a description of what it is and why you founded it?

S: Yeah. So moving to Singapore three years ago I was now living in the middle of South-East Asia and realized that I knew nothing about all of the countries around me. That I could literally see Indonesia out my window but I knew nothing about Indonesia. And I could also see Malaysia out my window, and I knew nothing about Malaysia. And knew nothing about Myanmar. Or Cambodia. Or Vietnam, except something about a war a long time ago, that we see lots of movies about. I didn’t really understand the relationship between Taiwan and China. And I didn’t really understand Mongolia. Some place with Genghis Khan and some yaks I think. I wanted to understand these countries more, now that I was living in the middle of them. So at first I started out just kind of taking trips occasionally. Taking three-day vacations off to Indonesia and walking around and talking to people. But after a while I felt that that was too casual. I wasn’t learning enough, fast enough. I wanted my learning to be more focused.

They say the best way to learn something is to teach it. So I thought, “Yeah, this will help my understanding. I will commit now to starting a new company that for the next five or ten years will publish 16 books about these 16 countries in Asia. Every year. And every year I’ll release the new updated version, improved, rewritten, etc.” And at first I thought I was going to go write these 16 books myself. And that’s actually why I limited it to 16. I thought “Ok, three weeks each in 16 countries. That’s 48 weeks. Take a few weeks off for Christmas and do it again.” That’s how I’m going to spend my next few years. But, that idea only lasted about two minutes because my wife was pregnant at the time. So, then I kind of decided that I was going to be the owner/publisher of this company and I was going to have to turn it into more of a system for learning and research and turning the knowledge into books. So, that’s how it began. Really just out my own self-interest and desire to share what I was learning with others.

E: You’ve got a post at sivers.org/robust about some of the hurdles you’ve had to overcome along the way in the last, well I guess, not quite a year now. Can you tell us what were one or two of those problems and what kept you going through them?

S: Yeah. So imagine if this was you. Sitting in a hotel room in Indonesia and you decided that you wanted to publish 16 books per year about 16 countries in Asia. But you knew that you couldn’t do it all yourself. So probably then your first impulse would be to hire 16 different writers. Like one per country. Let me hire a guy from India to write the India book. And let me hire a guy from Taiwan to write the Taiwan book. So that’s what I did. And that idea lasted a few months. Actually the people from India and Taiwan did a good job but the guy from Indonesia flaked out and disappeared. And I realized that this was too fragile of a plan. That I can’t have the whole book project collapse because one person changes his mind. So then I had to think a little deeper about everything I had learned about the wisdom of crowds, and wikinomics, and crowdsourcing, and all of those books about combined efforts.

And one of the big points that those books shared that I thought was really insightful is that crowdsourcing works best when people are given simple, specific instructions. I think of Hot or Not as the extreme example. I know it’s been ten years or something since that site. But, if you remember Hot or Not, all you had to do is just, you were just given two pictures and almost like a mouse with cheese you just had to click on the one that you thought was more attractive. Or maybe give it a number or something. And that’s it. That’s all you had to do. So I realized that the problem before, that I was finding a brilliant person in India and saying, “I want you to write this book about India. Please cover these ten subjects. Go.” And it just left, what’s that saying, enough rope to hang yourself with? It was too vague. It was too broad a definition, so that’s why it wasn’t getting done. That’s why authors I was hiring were flaking out. Because it was too broad.

So then I realized the pressure was on me because I wanted to be my target. Or, I already knew that I am the target market for this book. People like me that would consider moving to a new country like Thailand, to live there and start a business there. I know it’s a small niche but there are probably a few hundred or a few thousand of us in the world who consider doing that. And so I wanted a book that addresses that.

So, here’s what I did: I came up with two hundred specific questions that I wanted to know about living and working in these countries. Two hundred questions per country. Two hundred questions to be asked of each of the 16 countries. And then it was much easier because then all I had to do was go onto elance.com and odesk.com and hire business consultants in each of these countries to answer these two hundred questions. And now I had a robust system, in fact, I made it even one level more robust by - again, I realized that if a person dropped out it would collapse. Or if a person gave me a bunch of bad information the book would suck. So instead I hired three researchers in each country to answer all two hundred questions. Now every question had three different answers, and I tried to find a variety of people. You know, one native local person to that country, one ex-pat that had been living in that country for a while, and one third person that would now give a broad perspective to each question. So then I hired a writer to combine those three different research answers into one essay. Now, this was my robust system. Researchers would occasionally drop out. No big deal. Replace them with somebody else. It doesn’t matter that much if they’re brilliant or not because their answer is just one-third, or their research is just one-third of the final answer. And it became this really robust system that has worked really well to make these books no matter who comes and goes.

E: And the books, you intend them to be updated annually?

S: Yeah, so, in fact, the ones that you see on the woodegg.com website right now are actually the second year’s books. Last year in June I released 16 books that were not very good, and luckily I knew that from the beginning. I think when I first had this idea, the reason I said that I was going to commit five or ten years to doing this is I think any of us who think about launching something, or I’m sure you have plenty of listeners who would like to write a book and have not yet and are scared of the criticism of putting a book out there into the world that might not be genius - I think it really helps instead to commit a few years to doing constant improvements. Because then you admit the first one you put out there is just not going to be that good. And you admit that up front, but you commit then to the following year, making it better, and the following year making it much, much better. So, yeah, my motto was that I know the first year’s books would be not-good. Second year’s books should be quite good. The third year’s books should be very good. And maybe by the fourth or the fifth year I’ll be able to call them great, or even amazing. If you just keep committing to massive improvements every year.

E: And at that point there will also be a record of how things have changed over the last few years as well. And actually there’s, I mean, you’ve covered 16 countries. It’s an amazing project. There’s one country I’d like to ask you about specifically, which is Myanmar, or Burma. Can you tell us what you’ve learned about the situation for entrepreneurs there, and how it’s changed in the last couple of years, and where you see things going in the next few years?

S: Sure. Actually, I don’t have that much to say about Myanmar. It’s so really tough. Up until just two years ago I think, they were completely closed to foreign investment. You really couldn’t go to Myanmar and do business. It wasn’t allowed. And just two years ago they started to open some doors but it’s still incredibly difficult. There’s even mixed information about how to incorporate a business. Some people say that you can just fill out the official forms and set up your business. And other people say that you have to prove that you have a million dollars in capital and then you have to know someone, or bribe someone, to get your company even started. It’s all a big chaotic mess but in a, hey - rule number one of investing is risk equals reward. So the few that are in there doing it right now and learning the ropes are probably going to be the ones that are rewarded the greatest in the future. You think of the people that came to the US in the late 1700s and setup the first, whatever, boot manufacturers or something. It was probably incredibly difficult to start a company in this untapped land, but those who got in early and stuck it out through the difficulties are the ones who profited the most.

E: Speaking of being there at the beginning of a big change: you’re the founder of CD Baby, and now you’re getting into publishing, and I’d like to ask you how you think the book publishing industry in 2014 compares to the record industry in 1998?

S: There aren’t many similarities but the biggest, and most important one, is that there are now no gatekeepers. In a very similar position, in 1998 things had changed radically just in four years. Because say in, like, 1994, if you wanted to put your music out into the world so that people could buy it, you couldn’t. [Laughter] You couldn’t. You would have to go know someone who knew someone to kiss some ass at a cocktail party to get a meeting with a lawyer who could introduce you to a record executive who, in between puffs on his cigar, might think that your music is good enough to sign you to a deal. And only then, and after a year, and after this and that, and debt that will never be recouped, could your music get out into the world. That was the only way in 1994, say, to put your music out there. Except obviously you could sell your CDs and cassette tapes off of the stage in person. But that was it. The only way to get into record stores was through the major labels.

So in 1998, that all changed. Now you had companies like CD Baby that would sell just anybody, anywhere, internationally. So, I think 2014, as compared to just a few years ago, now anybody who wants to put a book out into the world can do it. There’s no gatekeepers. Think about what a huge difference that is from just five or ten years ago or something. You couldn’t. If you had a book in you, the only way to get it out to the world was to know somebody that knew somebody that tried to get an appointment with a publisher, and in between puffs on his cigar, if he liked your book, you know, maybe it would be released to the world a year later. Now just anybody can put it out there. So, that’s huge. I think it’s not appreciated as much afterwards, what a massive difference that is. We take it for granted now.

E: Yeah, that’s very interesting. It reminds me again of the, if I remember, one of the main issues that happened in your incident with Steve Jobs was that he said “You know people can just put their music on there.” And then you say in your book that he obviously changed his mind about easily letting independent musicians onto iTunes. I find, I don’t know if you’ve encountered this as well, but often in the publishing world there’s a sense of elevated status. That people are, even to the detriment to their own interests, protective of the power that, say, I guess in the music world, that big labels have, to make you a real musician, and that big publishing companies have to make you a “real” author.

S: Yeah. And culturally, speaking of Asia, that’s still more true in parts of the world where in the US, for example, or in America in general, there’s this champion of the underdog that’s almost cool to be indie and not sign your life away to a corporation. But in Asia, the biggest one is still considered the coolest one. It’s actually, you don’t want to tout your credentials as a small underdog indie as much in Asia. Instead it’s almost better to appear bigger than you are, and you can see a culture difference.

E: That’s very interesting.

Now, moving to just a couple of questions on Leanpub. You chose Leanpub to make your books. I know that you’re also selling them on Amazon. Can I ask you what led you to choose Leanpub for your publishing company?

S: Markdown. I love that Leanpub uses Markdown as the book format. That was just amazing. I think even, I don’t know if you consider CreateSpace to be competition, but I looked into CreateSpace once and they talked about “upload your Microsoft Word file.” I was like [blows raspberry]. Gone. Forget that. These books are generated by my database full of essays written in plain text. I’m not going to put things into a stupid - I don’t even own a copy of Microsoft Word. I don’t want to, you know. So, I love how Leanpub is this, kind of, Linux nerd-friendly, programmer-friendly system for those of us that like to use a format like Markdown. I think it’s just brilliant. And then the fact that you, that the same system system that helps me make the books also sells them at a wonderful, friendly, author-friendly price, is just ideal. I’m a huge fan and I’ve been sending everybody your way. Everybody that asks. You know “Hey, I’ve been thinking about writing a book. What should I do?” I tell everybody to go to Leanpub.

E: Oh, ok. Well that’s great. Yeah it’s interesting what you say about Microsoft Word. Yeah, I mean, it makes me cry when I open it now. And I spent, I mean, I’ve got a Ph.D. in English and I spent all those years writing in Microsoft Word. And it was absurd when I look back on it now. So it’s great to hear that, because one of the big bets for Leanpub was that Markdown is the way to go for the future. And so it’s really great to hear that people like you agree.

S: Absolutely.

E: Can you tell me a little about how you found about us? Were you just surfing the web, or did someone mention us to you?

S: I think, well I’m a Ruby programmer, and a lot of Ruby programmers put their books on Leanpub. I think JavaScript, a couple of the Node.js books that I bought in the past were through Leanpub, and JavaScript Allongé or something like that. And Hands-on Node.js I think. I had already bought a handful of books from you, just because I’m a fan of - I’m really a book learner, so a lot of what I know from programming is learned from books more than videos or courses or whatever. So I had already bought some books from Leanpub, and was already a fan, so I knew I was going to use you guys once it was time.

E: OK. Actually, one thing I’m sure that our listeners who are either publishers or self-published authors would be interested to know is how you’ve gone about promoting the Wood Egg books.

S: Actually, I don’t have anything interesting to share there. Because Wood Egg wasn’t started as much of a business as it was a personal curiosity project, that I only finished this year’s books 12 days ago. And up until 12 days ago, everybody would ask me “Hey, what’s your marketing plan? What are you going to do to sell these?” And, I would just shrug. I just wanted to get them finished. Get them done. I was 100% focused on just getting them made. I was spending all my days just editing, and improving, and writing. Just as of 11 days ago now they exist in the world, and it’s such a huge relief. But, don’t have any business, marketing, brilliant ideas to share. Sorry.

E: [Laughter] Ok, nope, that’s fine. It’s actually, there’s a lot of important things I think for Leanpub authors in that answer. Including, think about the writing first, maybe, before you get ahead of yourself and start worrying about a lot of the marketing.

S: Well, it’s funny because, if you don’t mind, let’s look at the flip-side. There are some people making a ton of money doing helpful ebooks in the world. I forget, it was the top story on Hacker News today, it was somebody who made $350,000 on an ebook about creating iPhone apps or something. And there lots of stories out there that are worth paying attention to, but I think the difference is you can choose upfront whether you are making a book for the marketplace, or whether you’re making a book out of a sense of, like, personal, this is just something I feel like doing, whether it makes me a dime or not. So if, on the other hand, you feel like making maximum profits from the book, the best time to think about it is actually before you start writing. If that’s your intention, to make a lot of money and sell a ton of books, then you should be thinking, before you write a single word, what does the marketplace want? And the 4-Hour Workweek book gives some brilliant examples of that about - I think he wanted to call that book Drug Dealing for Fun and Profit because he was running a vitamin supplement company at the time and he was going to share some lessons learned from running his vitamin supplement company - and felt very passionately about that title. He loved that title. Drug Dealing for Fun and Profit. But apparently he contacted Walmart and found out that they would not sell a book with that title.

E: Right.

S: So he, you know, begrudgingly said “OK, I guess I need a new title.” And he started Google AdWords campaigns with a handful of title ideas, and then even with his subtitle ideas. I forget what the subtitle is. Something like “How to join the new rich and live a free life” or something. Each one of those things was tested in Google Ads to see what phrases people would click the most. And choosing that ended up helping him - seeing which phrases people clicked the most ended up shaping his whole project, in deciding what kind of book to write based on what people were clicking on the most. So Leanpub is actually a great way to do that kind of thing, I think, where you can, first start running some ads or surveys, or whatever it may be, to find out what kind of book people want. Or what will be the biggest seller. And then you can start writing it, and that as-you-go process, chapter by chapter. Getting feedback on people saying “Yes! You need to talk about this some more.” And voilà, your chapter three is now different than what you had already expected because of what feedback people gave you in chapter one and two. So I think you could write a much more successful book if you think about the marketplace from day zero.

E: Hmm, yeah. That’s very interesting. One of the features we do have that is intended to accommodate that, is that you can easily create a landing page for a book with different titles and people can sign up and say “I’ll buy this if and when you release it.” So people could do tests of different books they might want to write. Even different titles. But it reminds me, Peter Armstrong, Leanpub’s co-founder, has this great line about how “A big success for Leanpub can be when an author stops writing a book.” And that’s because, as you were describing earlier, often, people can, well I think we were talking about this, but people can feel like the thing needs to be complete and done, done. And you work pm it for years. Toiling, toiling away. And then you release it and, you know, crickets can happen sometimes. So one of the things about Leanpub is, set up a landing page. Test the idea. If you get some responses, then work on that project. Get to the end of three chapters. Get going. Start publishing that and seeing if there’s interest out there for what you’re working on. If that’s a necessary, an essential criterion for evaluating your own success - getting a lot of readers.

S: Exactly, yeah. And I think most people probably would like to sell as many books as possible. But for those of us that are actually just doing this more as a personal project, like, this is something I feel like writing for my own sake. Even technical books. I know a lot of people - I think there’s a guy, Steve Klabnik or something, that’s currently writing about Rust a lot. And he’s writing about the programming language Rust on his blog as a way of learning Rust. So to him, he might end up - somebody like that might write a book about Rust as a way of learning about Rust, and whether it actually sells a lot or not is a secondary concern. First and foremost it’s your own self-education or personal project. As long as you know which way you’d like it go, you can optimize your workflow based on which one.

E: Speaking of self-education, that actually leads right into the last question I wanted to ask you. Not just self-education, but dedication and training. You have a great post about learning to sing over the course of 15 years, I think, on your blog. And you talk about the years of practice and hard work it took you to get to the point where you could sing well enough that people assumed you’d been born with a great voice. Have you taken a similar approach to writing?

S: Writing. Programming. Everything. Even my cultural understanding in living outside the US and traveling. I think once you understand that you’re not going to be great at anything at first, it really helps to instead make that long-term commitment. There’s a book called Mastery by George Leonard, and I’m sure there’s some other books like this, that use the martial arts metaphor, that if you go into a karate dojo, studio, and say “I want to be a black belt this year,” they’ll just laugh because that’s not - you don’t get to be a master like that. First you need to do this simple move 150,000 times before you’ll really be good at it.

It’s all about the ongoing dedication. So the problem is if you’re impatient. You just want to be great and fast. In anything. I want to be a great writer. I want to be a great programmer. I want my business be big, big, big! If you’re impatient, which sometimes we think that impatience is a virtue: “Hey, I’m not going to stand for the speed limit that everybody else sets for themselves. I’m going to, what is it called, growth hacking. I’m going to hack master. I’m going to hack marketing. I’m going to hack this. I’m going to speed this process.” The problem is, if you are expecting everything to go so fast, then you might end up being a miserable dabbler. And that’s where you do a couple years of this, and then you get frustrated. You throw that away and go do a couple years of something else. You spend a couple years trying to be a good writer, but you’re not a great writer after nine months, so you lose interest and now you try to go get your pilot’s license or something, I don’t know. So that is the opposite path of mastery, that you will never be great at anything if you have that impatience - that instead you need to understand that to be great at anything, it’s going to take a long time.

Maybe having that impatience upfront can be healthy if it makes you focus harder, try harder, practice more. But then you still have to understand that it’s still going to take years. Maybe if you’re impatient you’ll be much, much better in ten years than somebody who is just kind of lackadaisical and committed for ten years, but you still have to understand that it’s going to take years regardless. So, yeah, sorry, to answer your question, it took me 15 years of trying to be a good singer, and I think it’s going to take me 15 years to be a good author and 20 years to be a good programmer. I just assume that these things are going to take a long time, but work as hard as I can in the meantime.

E: Well, “Focus harder, try harder, and practice more” sounds like a great slogan, not just for martial arts, but for anything!

Thanks very much Derek for being on the Lean Publishing Podcast, and for using Leanpub as a platform for Wood Egg.

S: Yeah. I love it! Thanks Len!

E: Thank you.


Leanpub Podcast Interview #14: Matthias Noback

published Jan 22, 2014

Matthias Noback is the author of the Leanpub book A Year With Symfony: Writing Healthy, Reusable Symfony2 Code.

Matthias is a freelance developer from the Netherlands. You can read his blog at matthiasnoback.nl

This interview was recorded on September 12, 2013.

The full audio for the interview is here. You can subscribe to this podcast in iTunes or add the following podcast URL directly: http://leanpub.com/podcast.xml.

Matthias Noback

Len Epp: I’m here with Matthias Noback, a freelance developer, consultant and writer based in Zeist, in the Netherlands. Previously, Matthias has worked as software developer, paying special attention to internal quality assurance. He’s been a PHP developer since 2002, and has been developing with Symfony web application framework since 2007. He regularly writes about advanced Symfony2-related topics on his blog, which you can find at matthiasnoback.nl, and you can find him on Twitter @matthiasnoback.

Matthias is the author of the Leanpub book A Year With Symfony: Writing healthy, reusable Symfony2 code. In this interview we’re going to talk about Matthias’ professional interests, his book, his experiences using Leanpub, and ways we can improve Leanpub for him and other technical authors.

So thank you for being on the Lean Publishing Podcast!

Noback: Thank you.

E: I’d like to start by asking you to go back a little bit, and ask you for a brief introduction to your career. How did you get interested in programming in the first place?

N: It was at high school. I tried some things with HTML and I noticed there were some very nice editors around the time like Microsoft Frontpage. I used it as well as Dreamweaver. It started with the usual WYSIWYG modifications and all of a sudden I had created a web page to begin with for my father. He is a photographer. So this was my first non-official assignment. And only later I started looking behind the images and the layout and looked at the code. Well, as soon as I saw code, I wanted to know more about this, and I started reading everything I could on the Internet - still over a telephone cable at the time, with a modem that said [dial up noise]. Great time! Later, with faster Internet connections. Also, I went many times to the library. The local library. They had a computer so I could use it to find out more about the Internet and how you could put some stuff on it yourself. So this was very interesting to me. I was 16, maybe 17.

E: Ok, and did you study programming or web development?

N: Not at all.

E: Ok, ok.

N: No, that’s something many people don’t know. I started with philosophy. It took me eight, I think eight years to finish it. All the time I was working on websites and applications. So I think I spent just a couple of hours every week to study philosophy. The rest of my week, I was already a freelancer, in 2002. But only after a couple of years, I noticed that I was repeating myself. I was living literally in an attic with my uncle near the place where I live now. I missed the fact that there were other people around me that I could talk to about the technical issues. I started looking for some company that I could work for in a team. And there was a company in Amsterdam called Driebit, it’s “three bits” translated. They had quite a nice team of, maybe I think at the time, eight people. Some front-end developers, some back-end developers, some project managers. They had some great products, projects which I loved to work on. Even before I started there I got a book on Symfony1 and I started reading it. This was a great revelation for me.

E: I was going to ask you what led you to start working with the Symfony framework.

N: It was at this time that I had created a CMS system for myself. For my own customers. This wasn’t a very good system of course. Yeah, what could I do with just me as a developer? But yeah, I noticed that after reading this book on Symfony there were so much more possibilities to create software with just PHP and Symfony of course. I became very excited about this new of doing things. I think there were already good CMS tools and also frameworks but I think Symfony was even then one of the best.

E: And what was it that distinguished Symfony from the other ones that made it better for you?

N: Yeah, I’ve always found the documentation very clear and very friendly. Also, the community has always seemed very warm or welcome to me. Though I must say I don’t have that much experience with other frameworks so you may just call it bias. This Symfony thing.

E: Fair enough. That’s something I’ve found with people who, the way they choose different frameworks, is often sometimes even just the first response they had when started entering into a new community.

N: Yeah, yeah. That’s right. But I think Symfony has always had it’s documentation very good. So from the start even with Symfony2. In the very beginning there was already a good site with some information. Although it changed a lot, it changed frequently.

E: And you’ve contributed to the documentation yourself.

N: That’s right, yeah. Only later. I worked in Amsterdam at the time and there was a lot of discussion in that company should they take the step from the first version to the second version and do things differently. Very much. There’s almost no way, I think, to port a Symfony 1 application to a Symfony2 application.

E: And can you tell me a little bit more about Symfony2 and what in particular was it meant to address? Who was it useful for? Things like that.

N: Yeah, well, I think Symfony2 is very useful for developers who are looking for a more advanced way to do things while they are developing Internet applications. They want to have as much, I mean, they should be able to make as many choices as possible. The builders of the framework have made, have built in very many options for them to choose from.

E: Ok. I’ve read from things you’ve written on your blog, I think, and also in your book that developing software for re usability is very important for you and you’ve already mentioned it. I was just wondering if you could explain a little bit about what this means for you and why it’s so important.

N: Yeah, I see this happening all the time. Especially now that I pay so much attention to it. I see many people who love frameworks develop software only for this framework. For example, there are Twitter clients, Twitter API clients, just for Symfony. There is someone who build it just for Symfony. This was especially so for Symfony 1 and now there has been and more and more knowledge about how to create packages or reusable parts of software so I think this is changing right now but still people have much to learn about this. Many things are too specific. Too specific for just one framework.

E: I see. So you’re saying when someone’s developing an application, and parts of an application, they should keep in mind that if they develop in a certain way then this can be useful, not just in this particular instance, but in other instances as well.

N: Right, right. Yeah. I always encourage people to share their work so if they make it reusable from the beginning this will be much easier to do.

E: When did you first get the idea to write your Leanpub book A Year With Symfony?

N: I think in April this year. I don’t know what I thought exactly. At the time. If I could ever finish this, it seemed like a very big task. Though when I think back of this, I had a blog already with more than 50 articles on it. I was a bit encouraged by this idea that if I could write all this stuff and put online I could surely write it and keep it offline for a while and later release it to the public.

E: So some of the content in your book came from your blog?

N: Not exactly, but some ideas. I’ve taken some from my blog.

E: In your book you say that Symfony encouraged you to do things right. Can you tell me what you mean by that?

N: Yeah, that’s an interesting question. This is one of the facts I wrote recently on my blog. I wrote an article called “Why Symfony - 7 Facts”. This is all sort of controversial of course because facts, well, they are just strong opinions. But the seventh one is interesting. It’s the most interesting I think because I’ve noticed around me start using Symfony are becoming better developers right away. They look at the code from the framework, written by very good programmers around the world, and many times they will feel inspired by this. They will, in the first place, try to replicate this coding style and write their code in the same way.

E: Ok. Since you say you started in, you just got the idea in April. How long did the book take you to write?

N: Yeah, I was already finished in July and then I had a holiday and some time to think about the book. Is this the way I wanted to become known to many people? My conclusion was yes. This is ready. I had three, no, actually more, four or five people who had read the book already. Or partially. Their comments were not very substantial. They were good comments, so the book has become better in those few weeks but no reasons to postpone release.

E: Ok, so it’s mostly you but with some opinions from other people. That’s great. I wanted to that sort of, I think a lot of people who, you know, are developers and are thinking of writing a book themselves like to hear about those details that you normally don’t hear in kind of big stories. It took you from the moment you started thinking about it to when you were finished it was about three or four months. Then you took a break and had other people read it before releasing it. But also, one of the reasons I gather you could do it in that period of time was that you’d actually been writing about it already for a long time and already had an audience of people for your blog.

N: Yeah, those are important things. The writing experience. If I had tried this two years ago it would have taken me much longer. Some good native English writers or speakers had to correct me on many things.

E: Who is the intended audience for the book? Your ideal reader that you were keeping in mind when you were writing it?

N: That’s interesting. I sometimes thought of a new colleague or a fellow developer who would become a member of my team. I would explain to him some things and then another developer and I wouldn’t want to tell him everything in person again. So I would like him to read the book. It would get me a lot of free time back.

E: I see, that’s really interesting.

N: Yeah, this has been a good idea I think because my idea from the beginning was there is a lot on Symfony on the web. There is a good documentation. It’s called “The Book”. That was already a program for me. Yeah, “The Book”, so how could there be another book on Symfony? Right? But this documentation is very, yeah, it contains only the facts and no suggestions on how you could create your project or know best practices. Even some very bad practices on this side. Especially when it comes to security of web applications.

E: I have a very specific question that is very important for successfully launching and spreading word about an ebook. Which is who made your amazing cover? It’s fantastic.

N: I did.

E: Oh you did?

N: It is a picture I bought from a stock photo website. So yeah, that would have been awesome if I had such a mosaic in my garden or something like that. But no, just the image and then some overlay. But it looks very good. If I may say so.

E: It does, yeah. It’s just amazing and one of the things, and again it’s a very precise thing to talk about but it’s very important for selling ebooks, that the font you chose and the sort of precision of it is very clear in a number of different sizes including small ones. That’s something that a lot of people who are making book covers don’t take into account that it’s not just the size of a big book page. People are often are going to see a sort of thumbnail and your title stays clear at different levels of zoom I guess. I just wanted to mention that. That’s one of the things that I found so impressive about the book when I first came across it.

N: Yeah, it was more intuition that really designers knowledge or something like that.

E: You launched your book in a really interesting way. Can you explain what you did?

N: Yeah, I thought of this just a couple of weeks before I would release this book. I thought it would be great to really release the book real-time with an audience in the room. Well this is possible with Leanpub, of course, there is a button I would have pushed myself, but then in the room with just me. When you push it, it says “Publish Your Book”. You see all the build steps being taken with the real book as a result being published online. So after that, immediately, people can start buying the book. This is what happened, actually, two weeks ago. I had a presentation at the local user group of Symfony. Two users. I put the page on screen and also the publish button. I clicked it there and people were waiting and looking at the screen.

E: That’s amazing. So they were seeing the build process live.

N: Right, yeah. And this was very nice. It took only a couple of minutes. It would have been longer this would have been quite boring but people were actually very excited while they saw the progress. They even saw the message “sending mails” to interested readers. Many of the people were interested readers. Interested people. They were even subscribing at that same moment.

E: Oh, well that’s very cool.

N: So it was a great time that night.

E: I guess that’s a good transition to the next part of the interview. I’d like to ask you some questions about your experience with Leanpub and the lean publishing process. Can you tell me how you found out about Leanpub in the first place, and why you chose us for your publishing platform?

N: Yeah. One big example for me was Chris Hartjes. He has published with Leanpub two books on PHP unit testing. I didn’t actually read the books, but I saw it was very good at this. He’s very good at marketing and at promoting his own brand. Which is “The Grumpy Programmer”. He does this very well. I thought well, maybe I can do this too. I have something to say about Symfony and I feel very passionate about this. It was a good moment to start. I also mentioned this to him and he was very happy about this.

E: Oh that’s great. We actually interviewed him a couple weeks ago and that interview is already live on our blog and on our podcast.

N: Yeah, yeah.

E: Oh you’ve seen it? Ok, ok great. Well that’s great that you came to us through Chris. How would you describe your experience using Leanpub from when you got started to when you published?

N: It was a very clean sort of experience. I wanted to write a book but not have many troubles with layout things. I was very happy that the whole infrastructure was there. So, the Dropbox folder and the build process. Whenever I wanted I could have a preview of my book. Also, Markdown, the format of the original manuscript, that is a very good format. It has many good options but not too many. So you have to use the right options and automatically be consistent in your writing. This is a very good combination of techniques. And since it was launched, I have had no trouble at all to see people buy the book, see who bought it, which discount.

E: Is engaging directly with people who’ve bought your book important to you?

N: Very much. I reserved last week a couple of days just to spend some time with these people. Sending messages, listening to what they said, making small corrections to the original text.

E: Is there more we can do to help you engage with your readers?

N: Not that I can think of, no. It is already very good: the discussions, the way people can reach me by sending an email.

E: And you’ve enabled the feedback feature so that people can either use the Disqus comments or actually email you directly.

N: Yeah. This was one of my main goals with this book. To mention Chris again, he said somewhere that one of the problems always is determining a price for your product. He said he would think of something that made himself feel uncomfortable. A bit too high, really, and that would be a good price. I thought no, not for this first book. So I chose the average price that was suggested to me by the Leanpub calculations itself.

E: Ok, oh that’s interesting.

N: Around $20. Or maybe $15.

E: So was this from people who’d gone to your page before you published the book and had entered a price they’d be willing to pay for the book?

N: That’s right. About 500 people. So I thought that would be quite representative for the price they would really want to pay. Some people were very generous at that time so they had said $30, $40, $50. Most people around $20. I thought that was a friendly price. Also, my main goal was to reach as many people as possible at this time. So I chose not too high a price.

E: You’ve chosen $25 I see.

N: Yeah, but in the beginning this was $15.

E: Ok.

N: If you were an interested reader and you supplied your email address, I gave all these people a discount code.

E: And you’ve also chosen to have the minimum price and the suggested price be the same. Is there a reason for that?

N: Not really I think.

E: There doesn’t have to be.

N: I think it’s good to have one fixed price. I have noticed not many people would want to go higher with the price.

E: Ok, so you haven’t found too many people clicking and dragging the pricing slider to the right?

N: Yeah. That’s right.

E: I see that actually already, even though you just launched recently, you already have four translations on the go.

N: Yeah, that’s amazing. As soon as maybe an hour after the official release, there was already someone saying “may I translate this book to Portuguese, German, Polish, and Spanish?” The Spanish translator already wanted to translate before the book was published. He trusted me that much that he would want to do this.

E: What is your plan for splitting royalties with your translators?

N: This will be 25% for them. I know this is kind of generous, but I see that this takes a lot of effort for them and I’m not sure if it will pay back. So I think this is a good middle way.

E: Some people actually do 50%.

N: Ah, right!

E: So you don’t need to feel like you’re being… I mean I just ask these questions because when an author is doing pricing, especially the first time, it’s hard to know what to do and whether or not what one is doing is unusual, or right down the middle. Sharing this kind of information is very useful.

N: Yeah, it is difficult in many ways. I’ve looked very much at other Leanpub authors, publishers, and people writing books and what they do with the price.

E: Is there anything generally that you’ve thought, even if it’s very minor, when you were using Leanpub, or when you think about it now that you’ve published your book, that we could improve?

N: Well, not really big things. Some things thats come to mind… when it’s formatting the text, I would like to have more freedom to choose my own font.

E: Oh, fonts. Ok.

N: Yeah, but overall it’s a very clean way of doing things. Very fast.

E: So you had used Markdown before you started using Leanpub?

N: Yeah, it’s a common format for developers who write documentation for their own code. So that’s no problem.

E: So there were no big features that you’re thinking “ah, I really wish Leanpub had this”?

N: No, not really. Some convenience, maybe some tools…. There is a feature where you can create a sample of your book. The assumption here is that you can take some chapters and provide them as a sample to the readers, potentially. I chose to not give entire chapters away, but only parts of chapters. I devised my own system for extracting parts of every chapter.

E: Oh, I see. And then you’ve got to maintain two different files, and so if you update the complete, primary copy then you’d have to update separately the sample partial?

N: Right, but I had created a tool for this. I would have comments in the original files saying “this is the beginning of a sample, this is the end of a sample”. Then it would take from all the different chapters the sample parts and put them in one file. It removes the duplication.

E: If you had any advice to give to any other developers out there who are thinking of writing a book, what would your advice be?

N: My advice would be to just start and try this. I think within ten minutes I was already writing this book. I had some ideas and I had a small brainstorm in a text file. From that I started to split this in real chapters and, well, take my time. Maybe one hour a day to write a book. It is easy because of the infrastructure that Leanpub provides. It’s very much appreciated. Anything like this. Developers really like to read each other’s ideas.

E: My last question is that, at the end of A Year With Symfony, you say that if you were ever to write a book again, it would be about PHP package design. What are the chances you’re going to do that?

N: 100%.

E: Great.

N: I’ve already created a new book on the site. On leanpub.com. I’ve already started writing on it.

E: Oh, excellent, good luck with that! If you ever have any questions or feature requests, or run into any problems, please get in touch with us directly.

N: I will.

E: Ok. Well, I think that’s about all the time we have. Thank you very much for being on the Lean Publishing podcast and for being a Leanpub author!

N: Thanks for having me.


Coupon URLS

published Jan 09, 2014

We’ve read quite a few posts showing how having a coupon input on checkout can really hurt conversion rates. People see the coupon box and go off into the wilds of the internet looking for a coupon and never come back.

We’ve also heard from authors who are getting a lot of emails from people asking for coupon codes to their books, which would be pretty annoying.

However, the ability to give discounts is still extremely important – it can really drive sales, and it’s great for things like giving free copies to reviewers or friends.

So we decided to get rid of the coupon input on the purchase form and replace it with a coupon code in the URL.

Our Solution

Normally, when you go to buy a book, the url looks like this:

https://leanpub.com/programmingforkids

A URL with a coupon will look like this:

https://leanpub.com/programmingforkids/c/blog

Try it out – the coupon works. You can see that we highlight the packages that this coupon applies to, and clicking the “Buy Now” button will take you to the purchase page with the coupon already applied.

What happens to my old coupons?

We know you might have coupons that you handed out at a conference or or on a slide in a presentation that’s still on the web or somewhere else that you don’t have control over.

So the coupon code input will still be shown on the purchase page for as long as you have valid old-style coupons for your book. Once all of your valid coupons are of the new url variety, we won’t show it any more.

Also, your old coupons will work right away with the new-style coupon URLs. Just append /c/coupon_code to your book’s URL.