Re: "Programming in D" ebook is available for purchase

2015-11-14 Thread Namal via Digitalmars-d-announce
The book was delivered today! The size is similar to the C++ 
Primer. But I don't like the quality of the cover. Looks like 
they have used a blunt blade to cut it and there are damages at 
the adges.


Re: "Programming in D" ebook is available for purchase

2015-11-14 Thread Ali Çehreli via Digitalmars-d-announce

On 11/14/2015 03:41 AM, Namal wrote:

The book was delivered today! The size is similar to the C++ Primer. But
I don't like the quality of the cover. Looks like they have used a blunt
blade to cut it and there are damages at the adges.


That's not good. :( I have a few copies here with me, which were shipped 
from Ontario, California. They have pristine covers. However, of the 
fifty copies that I've personally seen so far, one was trimmed 
unacceptable crooked. (I don't know where that one was printed.)


Print-on-demand books are non-returnable. However, if the product is 
defective I would hope that Amazon will replace it. If not, I'll give a 
more recent printing to you in Berlin at DConf 2016. ;)


Ali



Re: "Programming in D" ebook is available for purchase

2015-11-14 Thread Ali Çehreli via Digitalmars-d-announce

On 11/14/2015 07:28 AM, Ali Çehreli wrote:


Print-on-demand books are non-returnable.


Correction: They are non-returnable in general, depending on where they 
were printed.


The other ISBN of this particular book is still print-on-demand but it 
is returnable just like any other book:


  Printed by IngramSpark
  ISBN: 9780692529577

Ali



Re: "Programming in D" ebook is available for purchase

2015-11-11 Thread Namal via Digitalmars-d-announce

On Friday, 30 October 2015 at 06:29:42 UTC, Ali Çehreli wrote:

On 10/29/2015 08:59 PM, Joakim wrote:

> it's very easy to set up a bitcoin address to receive
donations

I really appreciate it but... I am embarrassed to reveal that I 
don't want to have bitcoins. :) I can't explain this 
rationally; perhaps I was bitten by a coin in the dark when I 
was a young child; I don't know... The feeling is very similar 
to my not wanting to be on LinkedIn, Facebook, and other 
similar things. :)


Sorry... :)
Ali


So is there a way to buy the book on paper besides amazon? Not 
that I don't like amazon it is just that there are always 
problems ordering from outside the EU due to customs duties.










Re: "Programming in D" ebook is available for purchase

2015-11-11 Thread Namal via Digitalmars-d-announce

On Wednesday, 11 November 2015 at 19:43:53 UTC, Ali Çehreli wrote:

Actually, there shouldn't be a problem if you order it even in 
Europe because as I understand it, CreateSpace has two other 
printing houses: one in UK and one in somewhere in Central 
Europe. (Don't quote me on that! This is just a "feeling".)


Yes, just ordered it from german amazon for EUR 30,50.


Re: "Programming in D" ebook is available for purchase

2015-11-11 Thread Ali Çehreli via Digitalmars-d-announce

On 11/11/2015 11:43 AM, Ali Çehreli wrote:

> tl;dr:
>
> Search for ISBN 978-0-692-52957-7

Searching for it without the dashes gives more results:

  9780692529577

Ali



Re: "Programming in D" ebook is available for purchase

2015-11-11 Thread Ali Çehreli via Digitalmars-d-announce

On 11/11/2015 07:34 AM, Namal wrote:

> So is there a way to buy the book on paper besides amazon?

Yes! I haven't announced it here yet but it's on the book's page:

  http://ddili.org/ders/d.en/

tl;dr:

Search for ISBN 978-0-692-52957-7, which should be available 
conveniently at most places. Better yet, ask your local bookstore to 
order it for you.


Long version:

Note: All of the following are a part of my presentation at Silicon 
Valley ACCU tonight (November 11, 2015):


  http://www.meetup.com/SFBay-Association-of-C-C-Users/events/225125586/

I will be happy to meet other D people there! ;)

Confusingly, this book is now among those that have two ISBNs. :(

CreateSpace (an Amazon affiliate) ISBN is 978-1515074601. Unfortunately, 
it has almost zero chance of being sold at local bookstores because 
local bookstores don't like their business practices. Here are actual 
comments from a local bookstore:


"unable to carry your book in our store because your book is
published under an imprint of Amazon. CreateSpace is part of
Amazon."

"It is our company policy not to carry stock for titles that
Amazon has published as they are our competitors and we do not
agree with their business practices."

"your book is available from Ingram as not returnable & with a
short % for us"

Enter Ingram... Ingram is one of the largest book distributors that is 
well respected by book retailers. Ingram appears in the last excerpt 
above because, as I understand it, Ingram distributes any published 
book, self-published or not. (That's how the CreateSpace book is 
available to local bookstores, who will not carry it.)


So, I went all the trouble of getting the book published by Ingram's 
self-publishing platform as well. The following ISBN is already on 
internet search results:


  IngramSpark ISBN: 978-0-692-52957-7

If you can, please ask your local bookstores for that book or order it 
through them. You will not pay for customs or shipping and if the 
bookstore decides to stock it, more people will have a chance of running 
into it on the book aisles.


The catch: This book now has two list prices: $31.50 for the CreateSpace 
one, and $37.73 for the IngramSpark one. (These are US prices; the price 
varies at other countries.)


Publishing at IngramSpark is more costly both because they charge more 
and because the author has to set a sizable wholesale discount for the 
book to have a chance of being sold at local stores.


I had set the CreateSpace price to the very low $28.50 initially, but 
now I increased it so that the two ISBNs are at least in the thirties.


Having said all that about the price, most people can find the book for 
around $25.


> Not that I don't like amazon it is just that there are always
> problems ordering from outside the EU due to customs duties.

Actually, there shouldn't be a problem if you order it even in Europe 
because as I understand it, CreateSpace has two other printing houses: 
one in UK and one in somewhere in Central Europe. (Don't quote me on 
that! This is just a "feeling".)


I feel very bad for putting CreateSpace's name on this thread saying 
"they pay most royalty to the author". Unfortunately, it can be very 
inconvenient as well: You have to create an account with them, shipping 
times can be very long, shipping cost can be more than zero (what some 
Amazon members pay), etc. Additionally, as you say, a reader told me 
that they had to pay a huge customs fee because they just wanted me to 
get more royalty. (And we're talking $12 versus $6 royalty. Nobody can 
retire with that difference. :p)


And here is an update about the ebooks: I was able to embed the fonts in 
the EPUb and AZW3 versions. I will make the new versions available soon 
after fixing content problems: An expert emailed me saying that I've 
been spreading the misconception of categorizing languages as 
interpreted versus compiled. I am changing that part. Also, I will make 
sure that I make it clear that signed arithmetic behavior is undefined 
behavior.


I love publishing in the 21th century! :) I make a correction and 
everything gets updated almost immediately: the online version, the 
ebooks, and even the print version! (The print version needs a couple of 
days to be verified by a human. That's all.)


Ali



Re: "Programming in D" ebook is available for purchase

2015-11-10 Thread Steven Schveighoffer via Digitalmars-d-announce

On 10/30/15 3:29 AM, Joakim wrote:


But I don't see how bitcoin is similar to any of those, perhaps you have
_some_ explanation?  You don't have to keep the bitcoin, all those sites
will buy your bitcoin with dollars anytime you want.  It's just an open
way to trade value- in your case, just another payment/donation method-
I don't see the issue.  If it required setting up a bunch of software,
sure, but those websites make it easy to set up, as they run the client
for you.


Begging the question, why not trade your bitcoin for dollars and buy it 
using those?


-Steve


Re: "Programming in D" ebook is available for purchase

2015-10-28 Thread Ali Çehreli via Digitalmars-d-announce

On 10/28/2015 02:32 AM, Joakim wrote:

> Do you have a bitcoin address I can use instead?

Sorry, I am way behind on that topic. :)

Ali



Re: "Programming in D" ebook is available for purchase

2015-10-28 Thread Ali Çehreli via Digitalmars-d-announce

On 10/28/2015 11:29 AM, Andrei Alexandrescu wrote:

On 10/28/2015 10:50 AM, Andrei Alexandrescu wrote:

On 10/28/2015 04:01 AM, Ali Çehreli wrote:

Although the book will always be free[1], many of you have expressed a
need to pay without having to buy the paper version.

The ebook versions are now available at Gumroad:

   https://gum.co/PinD

The price is the very affordable $0+ ;) and you can pay with credit card
number or through PayPal.

Ali

[1] http://ddili.org/ders/d.en/


Ali is holding an impromptu AMA on reddit:
https://www.reddit.com/r/programming/comments/3qk8fz/programming_in_d_ebook_available_starting_at_001/



Approval rate is a monster at 97%. I've rarely seen such a high
percentage on /r/programming. Congratulations! -- Andrei



I can't believe this! I mad the book purchasable as pay-what-you-want 
about 10 hours ago and I've already received $99.99! That is already 
higher than the amount that the paper book sales brought since the 
beginning of this month. I will retire next week... :p


Thank you everyone! :)
Ali



Re: "Programming in D" ebook is available for purchase

2015-10-28 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 10/28/2015 10:50 AM, Andrei Alexandrescu wrote:

On 10/28/2015 04:01 AM, Ali Çehreli wrote:

Although the book will always be free[1], many of you have expressed a
need to pay without having to buy the paper version.

The ebook versions are now available at Gumroad:

   https://gum.co/PinD

The price is the very affordable $0+ ;) and you can pay with credit card
number or through PayPal.

Ali

[1] http://ddili.org/ders/d.en/


Ali is holding an impromptu AMA on reddit:
https://www.reddit.com/r/programming/comments/3qk8fz/programming_in_d_ebook_available_starting_at_001/


Approval rate is a monster at 97%. I've rarely seen such a high 
percentage on /r/programming. Congratulations! -- Andrei




Re: "Programming in D" ebook is available for purchase

2015-10-28 Thread cym13 via Digitalmars-d-announce

On Wednesday, 28 October 2015 at 08:01:29 UTC, Ali Çehreli wrote:
Although the book will always be free[1], many of you have 
expressed a need to pay without having to buy the paper version.


It's a bit late now but I like what Cory Doctorow (a writter who 
publishes mainly books under Creative Common license) does: the 
epub/pdf version is free but if you want to participate without 
buying the paper version you can buy a book that will be given to 
a library (of your choice if you express one) instead. This 
allows participation as well as diffusion.


As this is not a book of fiction it may be suited to fewer 
libraries but I still think this is a concept worth sharing.


Re: "Programming in D" ebook is available for purchase

2015-10-28 Thread Ali Çehreli via Digitalmars-d-announce

On 10/28/2015 11:46 AM, cym13 wrote:

On Wednesday, 28 October 2015 at 08:01:29 UTC, Ali Çehreli wrote:

Although the book will always be free[1], many of you have expressed a
need to pay without having to buy the paper version.


It's a bit late now but I like what Cory Doctorow (a writter who
publishes mainly books under Creative Common license) does: the epub/pdf
version is free but if you want to participate without buying the paper
version you can buy a book that will be given to a library (of your
choice if you express one) instead. This allows participation as well as
diffusion.

As this is not a book of fiction it may be suited to fewer libraries but
I still think this is a concept worth sharing.


Interesting. That is almost the same as what I said to someone who 
wanted to contribute but did not want the paper book. I said "buy the 
paper book and give it to someone you know." :)


Ali



Re: "Programming in D" ebook is available for purchase

2015-10-28 Thread Dylan Allbee via Digitalmars-d-announce

On Wednesday, 28 October 2015 at 18:51:04 UTC, Ali Çehreli wrote:

On 10/28/2015 11:46 AM, cym13 wrote:
On Wednesday, 28 October 2015 at 08:01:29 UTC, Ali Çehreli 
wrote:
Although the book will always be free[1], many of you have 
expressed a

need to pay without having to buy the paper version.


It's a bit late now but I like what Cory Doctorow (a writter 
who
publishes mainly books under Creative Common license) does: 
the epub/pdf
version is free but if you want to participate without buying 
the paper
version you can buy a book that will be given to a library (of 
your
choice if you express one) instead. This allows participation 
as well as

diffusion.

As this is not a book of fiction it may be suited to fewer 
libraries but

I still think this is a concept worth sharing.


Interesting. That is almost the same as what I said to someone 
who wanted to contribute but did not want the paper book. I 
said "buy the paper book and give it to someone you know." :)


Ali


I really appreciate all of the work you've put into this book. 
It's been an immense help to myself and several friends both with 
learning the language and learning programming in general. It's 
typically the first book I recommend new students of programming 
to read.


Hope you get most of the cut from the ebook - Enjoy the donation. 
I only wish I could give more at the moment.


Re: "Programming in D" ebook is available for purchase

2015-10-28 Thread Joakim via Digitalmars-d-announce

On Wednesday, 28 October 2015 at 08:01:29 UTC, Ali Çehreli wrote:
Although the book will always be free[1], many of you have 
expressed a need to pay without having to buy the paper version.


The ebook versions are now available at Gumroad:

  https://gum.co/PinD

The price is the very affordable $0+ ;) and you can pay with 
credit card number or through PayPal.


Ali

[1] http://ddili.org/ders/d.en/


Do you have a bitcoin address I can use instead?