November 26, 2014
On 11/26/2014 09:24 AM, Andrei Alexandrescu wrote:

> I wanted to mention this on reddit

That site is fine.

> but noticed that (a) http://ddili.org/ders/d.en/ has the left menu in
> Turkish

That site sucks! :)

> and (b) there are no links to the ebooks from that page.

I intentionally did not link the alpha-quality stuff. Pictures are missing, chapter numbers vary between -1 and 2, etc. :p Let me deal with it after I eat some Thanksgiving turkey tomorrow.

Speaking of which, thank you everybody! :)

Ali

November 26, 2014
Congrats on (nearly) finishing your book. It's one of the best D
resources available and very high quality.
November 26, 2014
On Wednesday, 26 November 2014 at 10:34:24 UTC, Ali Çehreli wrote:
> Main page:
>
>   http://ddili.org/ders/d.en/
>
>
> 1) For the first time, there are eBook formats:
>
>   http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub
>
>   http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.mobi
>
> I used 'calibre' to generate those "alpha" quality books. I chose epub and mobi just because I thought that they are the most common formats. Just let me know if you need another format or simply use 'calibre' or another tool yourself. :)
>
>
> 2) There has been a lot of work to make the book ready for its first print edition. (I will spare you the details of countless hours of extra work that went into this "eternal final step".)
>
> The PDF version finally looks a lot like a real book:
>
> * There is a Table of Contents section
>
> * There is an Index section
>
> * The internal links work
>
>
> 3) There are two new chapters:
>
> * Lvalues and Rvalues
>
> * Nested Functions, Structs, and Classes
>
>
> 4) There are the following notable additions to existing chapters:
>
> * 'pragma' is added to the Templates chapter
>
> * Special keywords are added to the Templates chapter (__FILE__, __LINE__, etc.)
>
> * Contract inheritance is added to the 'Contract Programming for Structs and Classes' chapter
>
> * The .offsetof property and the 'align' atribute are added to the 'Memory Management' chapter
>
>
> 5) I am grateful to Andrej Mitrović, Steven Schveighoffer, and Luís Marques, who accepted to edit the book. However, they are through only less than 10% of the book so far. As always, current or future mistakes are mine. :)
>
> Ali

This is great news. I'm excited to have more than TDPL sitting on my shelf.
November 26, 2014
On 11/26/2014 11:35 AM, Ali Çehreli wrote:

> I wonder whether Smashwords would allow me to also provide the book for free
> on my site?

Found the answer to that question:

"6c. Free Copies. As administrator of your work, Author may use the Smashwords platform to distribute complimentary copies of the work, or personally email free files to people, even when you are generally charging a fee. However, Smashwords files cannot be mass-distributed via download at blogs, websites or other retailers outside the Smashwords network."

  https://www.smashwords.com/about/tos

Ali

November 27, 2014
On Wednesday, 26 November 2014 at 23:16:11 UTC, Ali Çehreli wrote:
> On 11/26/2014 11:35 AM, Ali Çehreli wrote:
>
> > I wonder whether Smashwords would allow me to also provide
> the book for free
> > on my site?
>
> Found the answer to that question:
>
> "6c. Free Copies. As administrator of your work, Author may use the Smashwords platform to distribute complimentary copies of the work, or personally email free files to people, even when you are generally charging a fee. However, Smashwords files cannot be mass-distributed via download at blogs, websites or other retailers outside the Smashwords network."
>
>   https://www.smashwords.com/about/tos

I think you are misinterpreting that clause.  I had never heard of Smashwords before, so I just looked at their site and their TOS.  What they do is take your book in doc format and generate ebook formats that can be sold online and to other book retailers, as detailed in clause 5 of their TOS:

"5. Formats of Digital Conversions. Author shall submit their Work as a Microsoft Word .doc file. Smashwords shall utilize its proprietary Meatgrinder technology to convert the book into multiple ebook formats, and publish the work for use in sampling, distributing and selling the work. The author/publisher is not authorized to independently sell or distribute Smashwords-generated file conversions outside of the Smashwords site or Smashwords distribution network without first receiving written permission from Smashwords (in other words, you cannot use Smashwords as a free file conversion service so you can sell the files elsewhere). You acknowledge that if you violate this requirement, you may forfeit any accrued earnings at Smashwords, and your account may be deleted without notification."

I believe both clauses simply says you cannot distribute their converted ebook files: note that 6c says you cannot mass distribute "Smashwords files", not "the Work," which is how they refer to your book itself.  They also say on their site that you are free to use other distributors and retain copyright over your work.

Few would fault you for not wanting to give away free copies if you're selling the book, but I don't think Smashwords has a say in the matter.
November 27, 2014
On 11/26/2014 09:19 PM, Joakim wrote:

> Few would fault you for not wanting to give away free copies if you're
> selling the book, but I don't think Smashwords has a say in the matter.

That's my understanding as well. Thank you for checking.

Ali

November 27, 2014
No, *thank you*! - For the great work you've done! :)
November 28, 2014
On Wednesday, 26 November 2014 at 21:36:03 UTC, Meta wrote:
> This is great news. I'm excited to have more than TDPL sitting on my shelf.

Me too. I also plan to get the D Cookbook, but I'm looking for a chance to get it easly in Poland.

Piotrek
November 28, 2014
On Wednesday, 26 November 2014 at 10:34:24 UTC, Ali Çehreli wrote:
> Main page:
>
>   http://ddili.org/ders/d.en/
>
>
> 1) For the first time, there are eBook formats:
>
>   http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub
>
>   http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.mobi
>
> I used 'calibre' to generate those "alpha" quality books. I chose epub and mobi just because I thought that they are the most common formats. Just let me know if you need another format or simply use 'calibre' or another tool yourself. :)
>
>
> 2) There has been a lot of work to make the book ready for its first print edition. (I will spare you the details of countless hours of extra work that went into this "eternal final step".)
>
> The PDF version finally looks a lot like a real book:
>
> * There is a Table of Contents section
>
> * There is an Index section
>
> * The internal links work
>
>
> 3) There are two new chapters:
>
> * Lvalues and Rvalues
>
> * Nested Functions, Structs, and Classes
>
>
> 4) There are the following notable additions to existing chapters:
>
> * 'pragma' is added to the Templates chapter
>
> * Special keywords are added to the Templates chapter (__FILE__, __LINE__, etc.)
>
> * Contract inheritance is added to the 'Contract Programming for Structs and Classes' chapter
>
> * The .offsetof property and the 'align' atribute are added to the 'Memory Management' chapter
>
>
> 5) I am grateful to Andrej Mitrović, Steven Schveighoffer, and Luís Marques, who accepted to edit the book. However, they are through only less than 10% of the book so far. As always, current or future mistakes are mine. :)
>
> Ali

I can't seem to get the .mobi and .epub files to work. I have
tried both with Googles play book and aldiko. I'm on a Nexus 9.
Thanks for the book.

/Nick
December 01, 2014
Cool!
1 2
Next ›   Last »