digitalmars.D.announce - My D book is now officially coming soon
- Adam D. Ruppe (21/21) Mar 03 2014 As some of you might know, I've been working on a D book over the
- Chris (2/23) Mar 03 2014 Looking forward to reading it!
- JR (2/10) Mar 03 2014 Preordered.
- Meta (2/23) Mar 03 2014 Will the book also be available on Amazon?
- Adam D. Ruppe (2/3) Mar 03 2014 Yes, closer to the release date.
- Meta (2/5) Mar 03 2014 Great, I'm excited to read it.
- Walter Bright (3/9) Mar 03 2014 Dang, we could have set up a table for your book.
- =?UTF-8?B?QWxpIMOHZWhyZWxp?= (5/10) Mar 03 2014 He should bring early copies to the conference! Please, please,
- extrawurst (2/14) Mar 03 2014
- =?UTF-8?B?IlRow6lv?= Bueno" (2/6) Mar 03 2014 This is a really good news !
- Craig Dillabaugh (2/23) Mar 03 2014 Congratulations. I certainly intend to buy a copy.
- Gary Willoughby (4/25) Mar 03 2014 Looks great. I understand the effort and dedication of writing a
- Francesco Cattoglio (3/7) Mar 03 2014 I see there's a "sample chapters" tab, which is empty right now.
- Adam D. Ruppe (5/7) Mar 03 2014 I don't know when, but eventually, yes. They'll probably wait for
- bearophile (9/13) Mar 03 2014 Congratulations Adam :-)
- Jesse Phillips (5/18) Mar 04 2014 I believe there is a Japanese book for ~0.110
- Stanislav Blinov (2/2) Mar 03 2014 Excellent! Congratulations! Best of luck finishing the book and
- Dicebot (2/2) Mar 03 2014 Damn, soon I will need to actually think before choosing what
- Steven Schveighoffer (4/23) Mar 03 2014 Congratulations! I look forward to reading it.
- Philippe Sigaud (5/18) Mar 03 2014 Nice! I find what you write here always clear and bringing very
- Andrei Alexandrescu (3/7) Mar 03 2014 Let's share this on reddit tomorrow at 9 AM PST. Thanks!
- Andrei Alexandrescu (5/9) Mar 03 2014 I thought it's implied since I've already been connected to the book as
- Nick Sabalausky (2/6) Mar 03 2014 Sounds awesome, congrats!
- Mike (2/6) Mar 03 2014 Congratulations! Looking forward to getting my hands on it.
- John J (3/11) Mar 03 2014 Congratulations!
- Jonathan Dunlap (1/1) Mar 03 2014 I'm excited to check it out! +1 preorder
- Andrei Alexandrescu (6/10) Mar 04 2014 Announced:
- Adam D. Ruppe (9/10) Mar 04 2014 Ah, cool, I almost forgot!
- Andrei Alexandrescu (5/13) Mar 04 2014 It's a much harder problem than one might anticipate.
- Andrei Alexandrescu (5/21) Mar 04 2014 That said I really wish we had CTFE-able parsing and formatting for FP
- Adam D. Ruppe (10/11) Mar 04 2014 Indeed, I started it last night figuring I could slap something
- Walter Bright (2/8) Mar 04 2014 3 hours? Try a week or two.
- Adam D. Ruppe (10/11) Mar 04 2014 Yeah, I believe it now. Got close with my int version (shifting
- Nick Sabalausky (10/12) Mar 04 2014 I like to do that too :)
- Walter Bright (5/6) Mar 04 2014 It might work better for CTFE to notice that the floating point formatti...
- Andrei Alexandrescu (5/16) Mar 04 2014 The Net is definitely in a bad mood today. My reddit submission shows "1...
- Vladimir Panteleev (3/6) Mar 04 2014 I don't see it in http://www.reddit.com/r/programming/new/ .
- Max Klyga (2/8) Mar 04 2014 Probably was filtered by some algorithm. Contact moderators.
- Walter Bright (2/10) Mar 04 2014 yah, looks like that happened.
- Andrei Alexandrescu (18/33) Mar 04 2014 Messaged a moderator. The post has been approved. However the timing is
- Suliman (1/2) Mar 05 2014 Do you mean low-level code like drivers?
- Adam D. Ruppe (9/10) Mar 05 2014 Sort of. This chapter is one of the ones not yet written, but my
- Namespace (1/1) Mar 06 2014 Already planned to translate it into German? :P
- Jonathan M Davis (5/8) Mar 05 2014 Oh no! Now, I'll have yet another programming book that I'll have troubl...
- Dejan Lekic (4/4) Mar 06 2014 I've just pre-ordered it, on Amazon. ;)
- extrawurst (3/5) Mar 06 2014 Me too, @Amazon UK!
- Iain Buclaw (2/4) Mar 06 2014 Cut the reviewers some lack! :)
- Mike James (3/8) Mar 07 2014 Some lack of speed ;-)
- Jason King (3/6) Apr 18 2014 Packt is having a 1/2 price ebooks sale, so if you haven't gotten
- Adam D. Ruppe (6/6) Apr 18 2014 Aye, and I just finished the first draft this week, now doing the
- John (1/3) Apr 19 2014 Wow! :)
- John (2/4) Apr 19 2014 Yes, I did it too.
- Daniel Davidson (5/9) May 05 2014 Congrats. Is there a early access option, like Manning Early
- Adam D. Ruppe (2/2) May 05 2014 We're publishing in about two weeks now so it won't be long until
- Szymon Gatner (2/4) May 06 2014 Any way to see the TOC?
- Adam D. Ruppe (93/94) May 06 2014 Hmm, not on the website yet but here it is. Each one is shown
- Szymon Gatner (4/102) May 06 2014 Holy s**t, that is a lot! How did you manage to fit all this in
- Adam D. Ruppe (19/23) May 06 2014 Each individual item tended to only be about 3 pages, some
- Szymon Gatner (5/30) May 06 2014 Everything sounds great, really can't wait. Coming from C++ I am
- Adam D. Ruppe (9/13) May 06 2014 Actually, my main recommendation is to try not to worry about it
- Chris (3/101) May 06 2014 Wow! I'm really looking forward to reading it. I'll probably
- Nick Sabalausky (2/6) May 06 2014 Sounds awesome!
- Szymon Gatner (4/11) May 27 2014 Jus got mail from PacktPub: D Cookbook is now released:
- Chris (4/16) May 27 2014 Just downloaded the eBook version. Printed version will soon
- Kozzi (2/14) May 27 2014 I am reading it now, but there is a lot of errata :(.
- Adam D. Ruppe (2/3) May 27 2014 What do you mean?
- Daniel Kozak via Digitalmars-d-announce (24/27) May 27 2014 I mean there is a lot of typo (for e.g. multiple ';' chars at the end of...
- Adam D. Ruppe (11/13) May 27 2014 Blargh, the code got screwed up something nasty through the
- Chris (6/19) May 27 2014 Tell me about formatting getting lost while re-formatting. But
- Szymon Gatner (2/24) May 27 2014 Will epub version be available too?
- Adam D. Ruppe (2/3) May 27 2014 Yeah, I think it is already on the packt website.
- Mike James (4/7) May 28 2014 I'm looking at getting the ebook version - does that version
- Alix Pexton (7/15) May 28 2014 I've not checked them side-by-side the whole way through but the ePub
- Mike James (3/22) May 28 2014 Thanks. As 'early adopters' do we get a chance to upgrade :-)
- Adam D. Ruppe (6/8) May 28 2014 Yeah, those errors were in the .doc I sent in after revisions on
- Mattcoder (5/13) May 28 2014 Question: But any mistakes like those founded will be updated?
- Mattcoder (2/16) May 28 2014 s/founded/found.
- Adam D. Ruppe (4/5) May 29 2014 Just heard back: maybe on the pdf, probably not on print due to
- Mattcoder (4/5) May 27 2014 Well that's a good thing about PDF, because you can fix it and
- Joakim (3/15) May 28 2014 Thanks for the update. I have the pdf loaded up now, looking
- =?UTF-8?B?IlRow6lv?= Bueno" (2/4) May 06 2014 Just preordered the ebook, waiting to read that :)
- Andrei Alexandrescu (2/6) May 06 2014 I just agreed with Packt to write a foreword for the book. -- Andrei
- John (2/5) May 27 2014 I just read the foreword. It's great!
- Adam D. Ruppe (2/2) May 28 2014 I just posted it to reddit btw:
- Walter Bright (2/4) May 28 2014 Just snagged my copy!
- Andrei Alexandrescu (2/4) May 29 2014 Looks like this got junked. -- Andrei
- Adam D. Ruppe (6/7) May 29 2014 hmm, that was my first time ever posting to reddit so maybe
- Szymon Gatner (3/10) Sep 03 2014 @ Adam D. Ruppe: Where should we ask questions and post spotted
- Adam D. Ruppe (7/9) Sep 03 2014 Packt's website has an errata section.... somewhere, I can't find
- Szymon Gatner (13/22) Sep 03 2014 Asking because I noticed few minor things like multiple commas or
As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book I was hoping to have it finished in time for the D conference, but the publisher thought that was too soon to be realistic and it is looking like they are right... right now we believe it will be available in the summer. Anyway, the topics I talk about include: * Phobos, including Ranges * Testing (both static and run time), documentation, and error handling * Reflection and code generation * All kinds of fun with structs * Integration with other languages and environments * Using some third party libraries and some more. My goal is to act as a nice complement to Andrei's book, not to repeat it, so while I do cover a lot of language features, I try to do them in the context of bigger picture tasks. So hopefully, the books can go together and reinforce each other.
Mar 03 2014
On Monday, 3 March 2014 at 16:37:49 UTC, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book I was hoping to have it finished in time for the D conference, but the publisher thought that was too soon to be realistic and it is looking like they are right... right now we believe it will be available in the summer. Anyway, the topics I talk about include: * Phobos, including Ranges * Testing (both static and run time), documentation, and error handling * Reflection and code generation * All kinds of fun with structs * Integration with other languages and environments * Using some third party libraries and some more. My goal is to act as a nice complement to Andrei's book, not to repeat it, so while I do cover a lot of language features, I try to do them in the context of bigger picture tasks. So hopefully, the books can go together and reinforce each other.Looking forward to reading it!
Mar 03 2014
On Monday, 3 March 2014 at 16:37:49 UTC, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book I was hoping to have it finished in time for the D conference, but the publisher thought that was too soon to be realistic and it is looking like they are right... right now we believe it will be available in the summer.Preordered.
Mar 03 2014
On Monday, 3 March 2014 at 16:37:49 UTC, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book I was hoping to have it finished in time for the D conference, but the publisher thought that was too soon to be realistic and it is looking like they are right... right now we believe it will be available in the summer. Anyway, the topics I talk about include: * Phobos, including Ranges * Testing (both static and run time), documentation, and error handling * Reflection and code generation * All kinds of fun with structs * Integration with other languages and environments * Using some third party libraries and some more. My goal is to act as a nice complement to Andrei's book, not to repeat it, so while I do cover a lot of language features, I try to do them in the context of bigger picture tasks. So hopefully, the books can go together and reinforce each other.Will the book also be available on Amazon?
Mar 03 2014
On Monday, 3 March 2014 at 17:06:36 UTC, Meta wrote:Will the book also be available on Amazon?Yes, closer to the release date.
Mar 03 2014
On Monday, 3 March 2014 at 17:11:59 UTC, Adam D. Ruppe wrote:On Monday, 3 March 2014 at 17:06:36 UTC, Meta wrote:Great, I'm excited to read it.Will the book also be available on Amazon?Yes, closer to the release date.
Mar 03 2014
On 3/3/2014 8:37 AM, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookCongratulations! This is a great contribution to D.I was hoping to have it finished in time for the D conference, but the publisher thought that was too soon to be realistic and it is looking like they are right...Dang, we could have set up a table for your book.
Mar 03 2014
On 03/03/2014 09:24 AM, Walter Bright wrote:they areI was hoping to have it finished in time for the D conference, but the publisher thought that was too soon to be realistic and it is looking likeHe should bring early copies to the conference! Please, please, please... (<-- I've already earned mine. :p ) Aliright...Dang, we could have set up a table for your book.
Mar 03 2014
On Monday, 3 March 2014 at 22:36:29 UTC, Ali Çehreli wrote:On 03/03/2014 09:24 AM, Walter Bright wrote:+1conference, but theI was hoping to have it finished in time for the Dlike they arepublisher thought that was too soon to be realistic and it is lookingHe should bring early copies to the conference! Please, please, please... (<-- I've already earned mine. :p )right...Dang, we could have set up a table for your book.Ali
Mar 03 2014
On Monday, 3 March 2014 at 16:37:49 UTC, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookThis is a really good news !
Mar 03 2014
On Monday, 3 March 2014 at 16:37:49 UTC, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book I was hoping to have it finished in time for the D conference, but the publisher thought that was too soon to be realistic and it is looking like they are right... right now we believe it will be available in the summer. Anyway, the topics I talk about include: * Phobos, including Ranges * Testing (both static and run time), documentation, and error handling * Reflection and code generation * All kinds of fun with structs * Integration with other languages and environments * Using some third party libraries and some more. My goal is to act as a nice complement to Andrei's book, not to repeat it, so while I do cover a lot of language features, I try to do them in the context of bigger picture tasks. So hopefully, the books can go together and reinforce each other.Congratulations. I certainly intend to buy a copy.
Mar 03 2014
On Monday, 3 March 2014 at 16:37:49 UTC, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book I was hoping to have it finished in time for the D conference, but the publisher thought that was too soon to be realistic and it is looking like they are right... right now we believe it will be available in the summer. Anyway, the topics I talk about include: * Phobos, including Ranges * Testing (both static and run time), documentation, and error handling * Reflection and code generation * All kinds of fun with structs * Integration with other languages and environments * Using some third party libraries and some more. My goal is to act as a nice complement to Andrei's book, not to repeat it, so while I do cover a lot of language features, I try to do them in the context of bigger picture tasks. So hopefully, the books can go together and reinforce each other.Looks great. I understand the effort and dedication of writing a technical book, it's not a small thing. I'll definitely be buying a copy when released. In fact i can't wait. :)
Mar 03 2014
On Monday, 3 March 2014 at 16:37:49 UTC, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookI see there's a "sample chapters" tab, which is empty right now. Can we expect some preview chapter coming out soonish, too?
Mar 03 2014
On Monday, 3 March 2014 at 18:33:32 UTC, Francesco Cattoglio wrote:I see there's a "sample chapters" tab, which is empty right now. Can we expect some preview chapter coming out soonish, too?I don't know when, but eventually, yes. They'll probably wait for the first draft to be done (a month or so away still) before choosing one to put on the site.
Mar 03 2014
Adam D. Ruppe:My goal is to act as a nice complement to Andrei's book, not to repeat it, so while I do cover a lot of language features, I try to do them in the context of bigger picture tasks. So hopefully, the books can go together and reinforce each other.Congratulations Adam :-) Now among the printed books about D there's Andrei book, the book about Tango, and your one. Plus there's Ali Çehreli online book, and probably more. Compared to other new languages like Scala there are far less books about D, but the situation is improving :-) Bye, bearophile
Mar 03 2014
On Monday, 3 March 2014 at 18:39:34 UTC, bearophile wrote:Adam D. Ruppe:I believe there is a Japanese book for ~0.110 http://www.prowiki.org/wiki4d/wiki.cgi?DevelopmentWithD#OtherLanguagesnon-English But the link is dead and I really couldn't/can't confirm that the book was print.My goal is to act as a nice complement to Andrei's book, not to repeat it, so while I do cover a lot of language features, I try to do them in the context of bigger picture tasks. So hopefully, the books can go together and reinforce each other.Congratulations Adam :-) Now among the printed books about D there's Andrei book, the book about Tango, and your one. Plus there's Ali Çehreli online book, and probably more. Compared to other new languages like Scala there are far less books about D, but the situation is improving :-) Bye, bearophile
Mar 04 2014
Excellent! Congratulations! Best of luck finishing the book and publishing it!
Mar 03 2014
Damn, soon I will need to actually think before choosing what book to recommend to newbies! :)
Mar 03 2014
On Mon, 03 Mar 2014 11:37:48 -0500, Adam D. Ruppe <destructionator gmail.com> wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book I was hoping to have it finished in time for the D conference, but the publisher thought that was too soon to be realistic and it is looking like they are right... right now we believe it will be available in the summer. Anyway, the topics I talk about include: * Phobos, including Ranges * Testing (both static and run time), documentation, and error handling * Reflection and code generation * All kinds of fun with structs * Integration with other languages and environments * Using some third party libraries and some more. My goal is to act as a nice complement to Andrei's book, not to repeat it, so while I do cover a lot of language features, I try to do them in the context of bigger picture tasks. So hopefully, the books can go together and reinforce each other.Congratulations! I look forward to reading it. -Steve
Mar 03 2014
On Mon, 03 Mar 2014 11:37:48 -0500, Adam D. Ruppe <destructionator gmail.com> wrote:Nice! I find what you write here always clear and bringing very interesting stuff along. Your posts here are always insightful, I'm really looking forward to reading thisAs some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookNice choice of subjects! Good luck to finish it, it's always a very tiring endeavour.* Phobos, including Ranges * Testing (both static and run time), documentation, and error handling * Reflection and code generation * All kinds of fun with structs * Integration with other languages and environments * Using some third party libraries
Mar 03 2014
On 3/3/14, 8:37 AM, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookLet's share this on reddit tomorrow at 9 AM PST. Thanks! Andrei
Mar 03 2014
On 3/3/14, 8:37 AM, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookI thought it's implied since I've already been connected to the book as a reviewer: congratulations to Adam for undertaking such a powerful project. I'm enjoying the galleys quite a bit. Andrei
Mar 03 2014
On 3/3/2014 11:37 AM, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookSounds awesome, congrats!
Mar 03 2014
On Monday, 3 March 2014 at 16:37:49 UTC, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookCongratulations! Looking forward to getting my hands on it.
Mar 03 2014
On 03/03/2014 11:37 AM, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book I was hoping to have it finished in time for the D conference, but the publisher thought that was too soon to be realistic and it is looking like they are right... right now we believe it will be available in the summer.Congratulations! I will buy it as soon as it's available.
Mar 03 2014
On 3/3/14, 8:37 AM, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookAnnounced: https://www.facebook.com/dlang.org/posts/10202073362529100?stream_ref=10 http://www.reddit.com/r/programming/comments/1zjt9y/d_cookbook_available_for_preordering_from_packt/ I get internal server error from Twitter. Andrei
Mar 04 2014
On Tuesday, 4 March 2014 at 18:39:01 UTC, Andrei Alexandrescu wrote:Announced:Ah, cool, I almost forgot! BTW my brain is currently on something that might be of interest: I'm writing a little float to string function. Phobos currently uses sprintf which can't be run at compile time and isn't pure/ safe, so my new D implementation.... if I get it right on all the cases, it is close now tho... might be a nice replacement there.
Mar 04 2014
On 3/4/14, 10:41 AM, Adam D. Ruppe wrote:On Tuesday, 4 March 2014 at 18:39:01 UTC, Andrei Alexandrescu wrote:It's a much harder problem than one might anticipate. http://www.serpentine.com/blog/2011/06/29/here-be-dragons-advances-in-problems-you-didnt-even-know-you-had/ (article by my manager!) AndreiAnnounced:Ah, cool, I almost forgot! BTW my brain is currently on something that might be of interest: I'm writing a little float to string function. Phobos currently uses sprintf which can't be run at compile time and isn't pure/ safe, so my new D implementation.... if I get it right on all the cases, it is close now tho... might be a nice replacement there.
Mar 04 2014
On 3/4/14, 10:57 AM, Andrei Alexandrescu wrote:On 3/4/14, 10:41 AM, Adam D. Ruppe wrote:That said I really wish we had CTFE-able parsing and formatting for FP numbers. The opportunities for function tabulation, interpolation etc. are fantastic. AndreiOn Tuesday, 4 March 2014 at 18:39:01 UTC, Andrei Alexandrescu wrote:It's a much harder problem than one might anticipate. http://www.serpentine.com/blog/2011/06/29/here-be-dragons-advances-in-problems-you-didnt-even-know-you-had/ (article by my manager!) AndreiAnnounced:Ah, cool, I almost forgot! BTW my brain is currently on something that might be of interest: I'm writing a little float to string function. Phobos currently uses sprintf which can't be run at compile time and isn't pure/ safe, so my new D implementation.... if I get it right on all the cases, it is close now tho... might be a nice replacement there.
Mar 04 2014
On Tuesday, 4 March 2014 at 18:56:50 UTC, Andrei Alexandrescu wrote:It's a much harder problem than one might anticipate.Indeed, I started it last night figuring I could slap something together in 30 minutes to do the job... now I've spent over three hours on it and it still isn't quite right. It almost works (including in CTFE) but rounds some numbers incorrectly (very large and very small especially). The guys on IRC said to look up the Burger algorithm and do it right, but I kinda wanna just finish it all by myself then maybe take a look at the prior art to see how wrong I was :)
Mar 04 2014
On 3/4/2014 12:04 PM, Adam D. Ruppe wrote:On Tuesday, 4 March 2014 at 18:56:50 UTC, Andrei Alexandrescu wrote:3 hours? Try a week or two.It's a much harder problem than one might anticipate.Indeed, I started it last night figuring I could slap something together in 30 minutes to do the job... now I've spent over three hours on it and it still isn't quite right. It almost works (including in CTFE) but rounds some numbers incorrectly (very large and very small especially).
Mar 04 2014
On Tuesday, 4 March 2014 at 22:29:31 UTC, Walter Bright wrote:3 hours? Try a week or two.Yeah, I believe it now. Got close with my int version (shifting the fractional portion by the exponent... works great until it overflows adding up the bits). Tried a version with floating point math (cast to int, print that, append . to the string, raise the other to some power of ten, cast to int, call it done) and even that didn't actually work right - the leading zeroes or high exponents weren't right. Haven't even tried parsing them yet! Yikes. I hate to admit defeat, but this has blown my time budget to pieces. Time to give it up. :(
Mar 04 2014
On 3/4/2014 3:04 PM, Adam D. Ruppe wrote:but I kinda wanna just finish it all by myself then maybe take a look at the prior art to see how wrong I was :)I like to do that too :) That's what I tried the first time I ever did any parsing (it might have even just been lexing at that point). Wound up with several notebook pages filled with some half-baked bullshit "theory" that made no sense, and then gave up while trying to distill general rules out of it. I'm kind of amazed just how far I managed to dig down that particular rabbit hole. It was fun, though. And it made learning the proper theory easier since it made so much more sense than my crazy version ;)
Mar 04 2014
On 3/4/2014 10:57 AM, Andrei Alexandrescu wrote:It's a much harder problem than one might anticipate.It might work better for CTFE to notice that the floating point formatting function is being called, and instead of interpreting that function, do its own workalike. Certainly that'd be a heluva lot faster. A bugzilla issue for this would be apropos.
Mar 04 2014
On 3/4/14, 10:39 AM, Andrei Alexandrescu wrote:On 3/3/14, 8:37 AM, Adam D. Ruppe wrote:The Net is definitely in a bad mood today. My reddit submission shows "1 comment" but there's no comment to see. It also appear in "new" submissions but not in "hot" submissions. AndreiAs some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookAnnounced: https://www.facebook.com/dlang.org/posts/10202073362529100?stream_ref=10 http://www.reddit.com/r/programming/comments/1zjt9y/d_cookbook_available_for_preordering_from_packt/ I get internal server error from Twitter.
Mar 04 2014
On Tuesday, 4 March 2014 at 18:58:43 UTC, Andrei Alexandrescu wrote:The Net is definitely in a bad mood today. My reddit submission shows "1 comment" but there's no comment to see. It also appear in "new" submissions but not in "hot" submissions.I don't see it in http://www.reddit.com/r/programming/new/ .
Mar 04 2014
On 2014-03-04 19:14:13 +0000, Vladimir Panteleev said:On Tuesday, 4 March 2014 at 18:58:43 UTC, Andrei Alexandrescu wrote:Probably was filtered by some algorithm. Contact moderators.The Net is definitely in a bad mood today. My reddit submission shows "1 comment" but there's no comment to see. It also appear in "new" submissions but not in "hot" submissions.I don't see it in http://www.reddit.com/r/programming/new/ .
Mar 04 2014
On 3/4/2014 12:46 PM, Max Klyga wrote:On 2014-03-04 19:14:13 +0000, Vladimir Panteleev said:yah, looks like that happened.On Tuesday, 4 March 2014 at 18:58:43 UTC, Andrei Alexandrescu wrote:Probably was filtered by some algorithm. Contact moderators.The Net is definitely in a bad mood today. My reddit submission shows "1 comment" but there's no comment to see. It also appear in "new" submissions but not in "hot" submissions.I don't see it in http://www.reddit.com/r/programming/new/ .
Mar 04 2014
On 3/4/14, 2:35 PM, Walter Bright wrote:On 3/4/2014 12:46 PM, Max Klyga wrote:Messaged a moderator. The post has been approved. However the timing is crappy so essentially the opportunity for a broad reach has been wasted. BTW this is not something that only I can do. Anyone can politely message the moderators and ask what happened. Had that happened earlier (I've had a million meetings today), the impact of the post might have been much higher. Let me reiterate: there's a lot of good talk about helping D out. Concurrently there are many simple, absolutely trivial tasks that are very easy for anyone to do but add to a lot of overhead if they all fall on the same person. Case in point, I asked for the photos of the keynote speakers on the homepage. This is a good idea because e.g. Scott's mugshot is instant credibility and a good selling points. Nobody found it worth their while to do that, so I ended up doing it myself, too. It would be awesome if there was more attention (thanks eco for the dconf.org pull request!) paid to all things that we can crowdsource. Thanks, AndreiOn 2014-03-04 19:14:13 +0000, Vladimir Panteleev said:yah, looks like that happened.On Tuesday, 4 March 2014 at 18:58:43 UTC, Andrei Alexandrescu wrote:Probably was filtered by some algorithm. Contact moderators.The Net is definitely in a bad mood today. My reddit submission shows "1 comment" but there's no comment to see. It also appear in "new" submissions but not in "hot" submissions.I don't see it in http://www.reddit.com/r/programming/new/ .
Mar 04 2014
to bare metal codeDo you mean low-level code like drivers?
Mar 05 2014
On Wednesday, 5 March 2014 at 13:06:48 UTC, Suliman wrote:Do you mean low-level code like drivers?Sort of. This chapter is one of the ones not yet written, but my plan is to show how to boot to a D program and interface (in a minimal way) with the keyboard (requires an interrupt handler) and screen (which is memory-mapped). A lot of drivers use those same principles, so the stuff could apply there too, but for a real situation you'll need to use more care than I intend to take. BTW I'll probably be talking about these things the the dconf too.
Mar 05 2014
Already planned to translate it into German? :P
Mar 06 2014
On Monday, March 03, 2014 16:37:48 Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website:Oh no! Now, I'll have yet another programming book that I'll have trouble getting around to reading... ;) This is great news. Congrats! - Jonathan M Davis
Mar 05 2014
I've just pre-ordered it, on Amazon. ;) Hurry up! :) -- http://dejan.lekic.org
Mar 06 2014
On Thursday, 6 March 2014 at 14:17:57 UTC, Dejan Lekic wrote:I've just pre-ordered it, on Amazon. ;) Hurry up! :)Me too, Amazon UK! Looking foward.
Mar 06 2014
On 6 March 2014 14:17, Dejan Lekic <dejan.lekic gmail.com> wrote:I've just pre-ordered it, on Amazon. ;) Hurry up! :)Cut the reviewers some lack! :)
Mar 06 2014
"Iain Buclaw" <ibuclaw gdcproject.org> wrote in message news:mailman.10.1394132086.25740.digitalmars-d-announce puremagic.com...On 6 March 2014 14:17, Dejan Lekic <dejan.lekic gmail.com> wrote:Some lack of speed ;-)I've just pre-ordered it, on Amazon. ;) Hurry up! :)Cut the reviewers some lack! :)
Mar 07 2014
On Monday, 3 March 2014 at 16:37:49 UTC, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website:Packt is having a 1/2 price ebooks sale, so if you haven't gotten this yet, now would be the time. I just did.
Apr 18 2014
Aye, and I just finished the first draft this week, now doing the second draft and it is moving along at an excellent pace, I'm pretty sure we're going to release earlier than expected on the website. BTW it now has a cover image, that's a painting my brother did called "View from Phobos", seemed appropriate :P
Apr 18 2014
BTW it now has a cover image, that's a painting my brother did called "View from Phobos", seemed appropriate :PWow! :)
Apr 19 2014
On Friday, 18 April 2014 at 23:03:54 UTC, Jason King wrote:Packt is having a 1/2 price ebooks sale, so if you haven't gotten this yet, now would be the time. I just did.Yes, I did it too.
Apr 19 2014
On Monday, 3 March 2014 at 16:37:49 UTC, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookCongrats. Is there a early access option, like Manning Early Access Program, instead of just pre-order? Thanks Dan
May 05 2014
We're publishing in about two weeks now so it won't be long until the real thing is out anyway!
May 05 2014
On Monday, 5 May 2014 at 12:34:18 UTC, Adam D. Ruppe wrote:We're publishing in about two weeks now so it won't be long until the real thing is out anyway!Any way to see the TOC?
May 06 2014
On Tuesday, 6 May 2014 at 12:40:48 UTC, Szymon Gatner wrote:Any way to see the TOC?Hmm, not on the website yet but here it is. Each one is shown through examples (with a few exceptions where I couldn't think of a good example but wanted to discuss the principle behind it anyway): Chapter 1: "Core Tasks", has a brief introduction to D then gets into using modules, libraries, immutability, classes, basic stuff to get you acquainted with the core language. BTW the book assumes you already know basic programming stuff, so I don't explain what variables are and stuff like that. Chapter 2: "Phobos", goes over some phobos modules to show you the basic idea. Covers files and directories, socket clients and servers, zlib, random numbers, and a bit more. It isn't comprehensive, there's the documentation for that, but it covers a few important points you'll need to know throughout through representative examples. Chapter 3: "Ranges" goes over how to create a range, use a range (including something I had to ask the group: what is a "generic input range"?), transform ranges, and use some of the algorithms. Also goes into why the efficiency rules are important (don't emulate range features you don't really support) by showing a bad sort result with a linked list that pretends to be an array. Chapter 4: "Integration" talks about how to integrate with outside code, including calling C functions (including doing your own bindings and using implib on Windows), C++ interfaces, Windows API and Linux system calls in asm, C functions calling D, using COM, cross-language resource management (briefly) and I show some convenient scripting bindings using opDispatch with my script.d Chapter 5: "Resource Management" gives tips on avoiding the GC, writing your own reference counted objects, using owned pointers, and stuff like how not to use class destructors. Chapter 6: "Wrapped Types" goes into a bunch of struct features you can use to wrap other things. Includes a cute trick to make a gettext translation file in D alone, operator overloading, disabling default construction, etc. Chapter 7: "Correctness Checking" talks about bug catching. Includes an introduction to ddoc, static assert, throw vs assert, safe, and more. Chapter 8: "Reflection" goes into compile time and runtime reflection including TypeInfo, __traits, is(), std.traits, and using module constructors to extend typeinfo. Culminates in an automatic function caller from the command line, showing how to get functions by name, convert strings to their arguments, and their return values back to strings, all generically with CT reflection. Chapter 9: "Code Generation" talks about user-defined literals (including showing a disassembly to you can prove it did what it was supposed to do), template value parameters, string mixins, domain-specific language converters (including a relatively traditional programming language and an ASCII art diagram conversion to a struct), and talks about doing more efficient generation with the right statements so the optimizer can do its magic. Chapter 10: "Multitasking" introduces you to threads, fibers, pipe process, and std.parallelism. I don't go too deeply into all this since I think the documentation and Andrei's book both did a good job and I didn't have a lot to add. (generally, I wanted my book to be a nice complement to Andrei's book and avoid repeating documentation, so it is genuinely something new that you might not have seen before. Though much of it is stuff I've talked about on the forums, stack overflow, or IRC, so it won't be all new if you've seen my posts over the last couple years.) Chapter 11: "Kernel coding in D" gets you started using D on bare metal x86; booting your PC to a D program without an operating system. Shows how to remove druntime then add back the minimal parts to get hello world to compile, how to easily compile and link the program so it can run without the OS (a simpler process can be used to make a minimal tiny binary that works on an OS btw, it would be like using D as C), then kinda dumps some code on you to get keyboard interrupt handling working. I didn't go into the details of how the hardware specific code works; I didn't explain what an interrupt table actually is or why its format is so weird, but I did give you the pieces to make it work and discuss the D features that are helpful in this environment (and some pitfalls) like naked asm functions. Chapter 12: "Web and GUI programming" shows how to get some fun stuff started with my misc github libraries including a dynamic website, a desktop graphics demo, some image file manipulation, an OpenGL window, and my dom.d for HTML parsing and manipulation. The main focus isn't so much how to use the libraries though, there's the [s]docs[/s] lol, the source and emailing me with questions for that. Instead, I talked more about how I implemented them and some lessons learned in the process so you see more practical application of stuff the book talked about before and can hopefully use that to extend your own libraries. Each thing also has a See Also section pointing to other D libraries. Appendix A: has a small assortment of things that didn't fit elsewhere like bare metal ARM getting started, Raspberry Pi coding, getting a stack trace without an exception, the exponent operator, and finally, how to get more help and resources about D.
May 06 2014
On Tuesday, 6 May 2014 at 13:12:01 UTC, Adam D. Ruppe wrote:On Tuesday, 6 May 2014 at 12:40:48 UTC, Szymon Gatner wrote:Holy s**t, that is a lot! How did you manage to fit all this in 337 pages?! I assume it has standard PACKT format ("give it a go hero" etc)? Bought it and waiting for a release :) Congratz!Any way to see the TOC?Hmm, not on the website yet but here it is. Each one is shown through examples (with a few exceptions where I couldn't think of a good example but wanted to discuss the principle behind it anyway): Chapter 1: "Core Tasks", has a brief introduction to D then gets into using modules, libraries, immutability, classes, basic stuff to get you acquainted with the core language. BTW the book assumes you already know basic programming stuff, so I don't explain what variables are and stuff like that. Chapter 2: "Phobos", goes over some phobos modules to show you the basic idea. Covers files and directories, socket clients and servers, zlib, random numbers, and a bit more. It isn't comprehensive, there's the documentation for that, but it covers a few important points you'll need to know throughout through representative examples. Chapter 3: "Ranges" goes over how to create a range, use a range (including something I had to ask the group: what is a "generic input range"?), transform ranges, and use some of the algorithms. Also goes into why the efficiency rules are important (don't emulate range features you don't really support) by showing a bad sort result with a linked list that pretends to be an array. Chapter 4: "Integration" talks about how to integrate with outside code, including calling C functions (including doing your own bindings and using implib on Windows), C++ interfaces, Windows API and Linux system calls in asm, C functions calling D, using COM, cross-language resource management (briefly) and I show some convenient scripting bindings using opDispatch with my script.d Chapter 5: "Resource Management" gives tips on avoiding the GC, writing your own reference counted objects, using owned pointers, and stuff like how not to use class destructors. Chapter 6: "Wrapped Types" goes into a bunch of struct features you can use to wrap other things. Includes a cute trick to make a gettext translation file in D alone, operator overloading, disabling default construction, etc. Chapter 7: "Correctness Checking" talks about bug catching. Includes an introduction to ddoc, static assert, throw vs assert, safe, and more. Chapter 8: "Reflection" goes into compile time and runtime reflection including TypeInfo, __traits, is(), std.traits, and using module constructors to extend typeinfo. Culminates in an automatic function caller from the command line, showing how to get functions by name, convert strings to their arguments, and their return values back to strings, all generically with CT reflection. Chapter 9: "Code Generation" talks about user-defined literals (including showing a disassembly to you can prove it did what it was supposed to do), template value parameters, string mixins, domain-specific language converters (including a relatively traditional programming language and an ASCII art diagram conversion to a struct), and talks about doing more efficient generation with the right statements so the optimizer can do its magic. Chapter 10: "Multitasking" introduces you to threads, fibers, pipe process, and std.parallelism. I don't go too deeply into all this since I think the documentation and Andrei's book both did a good job and I didn't have a lot to add. (generally, I wanted my book to be a nice complement to Andrei's book and avoid repeating documentation, so it is genuinely something new that you might not have seen before. Though much of it is stuff I've talked about on the forums, stack overflow, or IRC, so it won't be all new if you've seen my posts over the last couple years.) Chapter 11: "Kernel coding in D" gets you started using D on bare metal x86; booting your PC to a D program without an operating system. Shows how to remove druntime then add back the minimal parts to get hello world to compile, how to easily compile and link the program so it can run without the OS (a simpler process can be used to make a minimal tiny binary that works on an OS btw, it would be like using D as C), then kinda dumps some code on you to get keyboard interrupt handling working. I didn't go into the details of how the hardware specific code works; I didn't explain what an interrupt table actually is or why its format is so weird, but I did give you the pieces to make it work and discuss the D features that are helpful in this environment (and some pitfalls) like naked asm functions. Chapter 12: "Web and GUI programming" shows how to get some fun stuff started with my misc github libraries including a dynamic website, a desktop graphics demo, some image file manipulation, an OpenGL window, and my dom.d for HTML parsing and manipulation. The main focus isn't so much how to use the libraries though, there's the [s]docs[/s] lol, the source and emailing me with questions for that. Instead, I talked more about how I implemented them and some lessons learned in the process so you see more practical application of stuff the book talked about before and can hopefully use that to extend your own libraries. Each thing also has a See Also section pointing to other D libraries. Appendix A: has a small assortment of things that didn't fit elsewhere like bare metal ARM getting started, Raspberry Pi coding, getting a stack trace without an exception, the exponent operator, and finally, how to get more help and resources about D.
May 06 2014
On Tuesday, 6 May 2014 at 13:19:09 UTC, Szymon Gatner wrote:Holy s**t, that is a lot! How did you manage to fit all this in 337 pages?!Each individual item tended to only be about 3 pages, some shorter, a few longer (I had a fair chunk to say about ranges and reflection, not so much to say about threads and phobos) and in some cases I kinda ask the reader to take things on faith. Mostly, I explain the faith stuff on the following page, but in the bare metal thing, like i said before, some of it is just "that interacts with the hardware, trust me". So that chapter was only about 15 pages.... a lot for two "recipes" ("hello world" and "handling interrupts"), but certainly not a comprehensive covering of the subject. I gotta writing my dconf talk next though that will go a bit more into it, but again, with a focus on druntime functions more than on how the hardware actually works.I assume it has standard PACKT format ("give it a go hero" etc)? Bought it and waiting for a release :) Congratz!yeah, it starts with a list of steps, then usually shows code (not always a complete program but usually), then some talk about how it works and covering details. the code should also be available as a separate download for each thing so you can run it more easily and play with it that way.
May 06 2014
On Tuesday, 6 May 2014 at 13:39:51 UTC, Adam D. Ruppe wrote:On Tuesday, 6 May 2014 at 13:19:09 UTC, Szymon Gatner wrote:Everything sounds great, really can't wait. Coming from C++ I am really interested in resource management. I still can't find myself in non-deterministic d-tor / GC world (and recent discussion on removal of d-tors entirely isn't helping ;P).Holy s**t, that is a lot! How did you manage to fit all this in 337 pages?!Each individual item tended to only be about 3 pages, some shorter, a few longer (I had a fair chunk to say about ranges and reflection, not so much to say about threads and phobos) and in some cases I kinda ask the reader to take things on faith. Mostly, I explain the faith stuff on the following page, but in the bare metal thing, like i said before, some of it is just "that interacts with the hardware, trust me". So that chapter was only about 15 pages.... a lot for two "recipes" ("hello world" and "handling interrupts"), but certainly not a comprehensive covering of the subject. I gotta writing my dconf talk next though that will go a bit more into it, but again, with a focus on druntime functions more than on how the hardware actually works.I assume it has standard PACKT format ("give it a go hero" etc)? Bought it and waiting for a release :) Congratz!yeah, it starts with a list of steps, then usually shows code (not always a complete program but usually), then some talk about how it works and covering details. the code should also be available as a separate download for each thing so you can run it more easily and play with it that way.
May 06 2014
On Tuesday, 6 May 2014 at 15:28:01 UTC, Szymon Gatner wrote:Everything sounds great, really can't wait. Coming from C++ I am really interested in resource management. I still can't find myself in non-deterministic d-tor / GC world (and recent discussion on removal of d-tors entirely isn't helping ;P).Actually, my main recommendation is to try not to worry about it and love the GC! When it works, it really is pretty nice, and I find it works well enough in most places to be really useful. But when it isn't right for you, then the other options come in and I showed some tricks to do it. Move semantics, for example, might not be obvious but is easy once you see the trick: disable the postblit and provide a release method. So that's the kind of stuff the chapter focuses on.
May 06 2014
On Tuesday, 6 May 2014 at 13:12:01 UTC, Adam D. Ruppe wrote:On Tuesday, 6 May 2014 at 12:40:48 UTC, Szymon Gatner wrote:Wow! I'm really looking forward to reading it. I'll probably first have a look at the Ranges chapter and dom.d.Any way to see the TOC?Hmm, not on the website yet but here it is. Each one is shown through examples (with a few exceptions where I couldn't think of a good example but wanted to discuss the principle behind it anyway): Chapter 1: "Core Tasks", has a brief introduction to D then gets into using modules, libraries, immutability, classes, basic stuff to get you acquainted with the core language. BTW the book assumes you already know basic programming stuff, so I don't explain what variables are and stuff like that. Chapter 2: "Phobos", goes over some phobos modules to show you the basic idea. Covers files and directories, socket clients and servers, zlib, random numbers, and a bit more. It isn't comprehensive, there's the documentation for that, but it covers a few important points you'll need to know throughout through representative examples. Chapter 3: "Ranges" goes over how to create a range, use a range (including something I had to ask the group: what is a "generic input range"?), transform ranges, and use some of the algorithms. Also goes into why the efficiency rules are important (don't emulate range features you don't really support) by showing a bad sort result with a linked list that pretends to be an array. Chapter 4: "Integration" talks about how to integrate with outside code, including calling C functions (including doing your own bindings and using implib on Windows), C++ interfaces, Windows API and Linux system calls in asm, C functions calling D, using COM, cross-language resource management (briefly) and I show some convenient scripting bindings using opDispatch with my script.d Chapter 5: "Resource Management" gives tips on avoiding the GC, writing your own reference counted objects, using owned pointers, and stuff like how not to use class destructors. Chapter 6: "Wrapped Types" goes into a bunch of struct features you can use to wrap other things. Includes a cute trick to make a gettext translation file in D alone, operator overloading, disabling default construction, etc. Chapter 7: "Correctness Checking" talks about bug catching. Includes an introduction to ddoc, static assert, throw vs assert, safe, and more. Chapter 8: "Reflection" goes into compile time and runtime reflection including TypeInfo, __traits, is(), std.traits, and using module constructors to extend typeinfo. Culminates in an automatic function caller from the command line, showing how to get functions by name, convert strings to their arguments, and their return values back to strings, all generically with CT reflection. Chapter 9: "Code Generation" talks about user-defined literals (including showing a disassembly to you can prove it did what it was supposed to do), template value parameters, string mixins, domain-specific language converters (including a relatively traditional programming language and an ASCII art diagram conversion to a struct), and talks about doing more efficient generation with the right statements so the optimizer can do its magic. Chapter 10: "Multitasking" introduces you to threads, fibers, pipe process, and std.parallelism. I don't go too deeply into all this since I think the documentation and Andrei's book both did a good job and I didn't have a lot to add. (generally, I wanted my book to be a nice complement to Andrei's book and avoid repeating documentation, so it is genuinely something new that you might not have seen before. Though much of it is stuff I've talked about on the forums, stack overflow, or IRC, so it won't be all new if you've seen my posts over the last couple years.) Chapter 11: "Kernel coding in D" gets you started using D on bare metal x86; booting your PC to a D program without an operating system. Shows how to remove druntime then add back the minimal parts to get hello world to compile, how to easily compile and link the program so it can run without the OS (a simpler process can be used to make a minimal tiny binary that works on an OS btw, it would be like using D as C), then kinda dumps some code on you to get keyboard interrupt handling working. I didn't go into the details of how the hardware specific code works; I didn't explain what an interrupt table actually is or why its format is so weird, but I did give you the pieces to make it work and discuss the D features that are helpful in this environment (and some pitfalls) like naked asm functions. Chapter 12: "Web and GUI programming" shows how to get some fun stuff started with my misc github libraries including a dynamic website, a desktop graphics demo, some image file manipulation, an OpenGL window, and my dom.d for HTML parsing and manipulation. The main focus isn't so much how to use the libraries though, there's the [s]docs[/s] lol, the source and emailing me with questions for that. Instead, I talked more about how I implemented them and some lessons learned in the process so you see more practical application of stuff the book talked about before and can hopefully use that to extend your own libraries. Each thing also has a See Also section pointing to other D libraries. Appendix A: has a small assortment of things that didn't fit elsewhere like bare metal ARM getting started, Raspberry Pi coding, getting a stack trace without an exception, the exponent operator, and finally, how to get more help and resources about D.
May 06 2014
On 5/6/2014 9:11 AM, Adam D. Ruppe wrote:On Tuesday, 6 May 2014 at 12:40:48 UTC, Szymon Gatner wrote:Sounds awesome!Any way to see the TOC?Hmm, not on the website yet but here it is. [snip]
May 06 2014
On Tuesday, 6 May 2014 at 19:58:10 UTC, Nick Sabalausky wrote:On 5/6/2014 9:11 AM, Adam D. Ruppe wrote:Jus got mail from PacktPub: D Cookbook is now released: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book Congratz!On Tuesday, 6 May 2014 at 12:40:48 UTC, Szymon Gatner wrote:Sounds awesome!Any way to see the TOC?Hmm, not on the website yet but here it is. [snip]
May 27 2014
On Tuesday, 27 May 2014 at 10:00:01 UTC, Szymon Gatner wrote:On Tuesday, 6 May 2014 at 19:58:10 UTC, Nick Sabalausky wrote:Just downloaded the eBook version. Printed version will soon follow, I suppose. It couldn't have arrived at a better time, because I'm re-organizing and revising my code at the moment.On 5/6/2014 9:11 AM, Adam D. Ruppe wrote:Jus got mail from PacktPub: D Cookbook is now released: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book Congratz!On Tuesday, 6 May 2014 at 12:40:48 UTC, Szymon Gatner wrote:Sounds awesome!Any way to see the TOC?Hmm, not on the website yet but here it is. [snip]
May 27 2014
On Tuesday, 27 May 2014 at 10:00:01 UTC, Szymon Gatner wrote:On Tuesday, 6 May 2014 at 19:58:10 UTC, Nick Sabalausky wrote:I am reading it now, but there is a lot of errata :(.On 5/6/2014 9:11 AM, Adam D. Ruppe wrote:Jus got mail from PacktPub: D Cookbook is now released: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book Congratz!On Tuesday, 6 May 2014 at 12:40:48 UTC, Szymon Gatner wrote:Sounds awesome!Any way to see the TOC?Hmm, not on the website yet but here it is. [snip]
May 27 2014
On Tuesday, 27 May 2014 at 11:43:32 UTC, Kozzi wrote:I am reading it now, but there is a lot of errata :(.What do you mean?
May 27 2014
I mean there is a lot of typo (for e.g. multiple ';' chars at the end of line, import std.stdio : writeln;;;) on page 2,6,8,10,14 ... On page 19: static Vector fromPoint(float[2] point) { import std.math; Vector v; float x = point[0]; float y= point[1]; v.magnitude = sqrt(x ^^ 2 + y ^^ 2); v.direction = atan2(y, x); return v; }}} // this 3 brackets Vector opBinary(string op : "+")(Vector rhs) const { auto point = toPoint(), point2 = rhs.toPoint(); point[0] += point2[0]; point[1] += point2[1];];]; // here return Vector.fromPoint(point);); // and here } That is what I already found Dne Tue, 27 May 2014 13:45:53 +0200 Adam D. Ruppe via Digitalmars-d-announce <digitalmars-d-announce puremagic.com> napsal(a):On Tuesday, 27 May 2014 at 11:43:32 UTC, Kozzi wrote:-- Vytvořeno poštovní aplikací Opery: http://www.opera.com/mail/I am reading it now, but there is a lot of errata :(.What do you mean?
May 27 2014
On Tuesday, 27 May 2014 at 11:57:05 UTC, Daniel Kozak via Digitalmars-d-announce wrote:I mean there is a lot of typo (for e.g. multiple ';' chars at the end of line, import std.stdio : writeln;;;)Blargh, the code got screwed up something nasty through the revision process (chapter 6 especially, the spacing got totally butchered, the end of virtually every line had random characters, wtf, the file got changed from a .doc to a .docx in that process too which i suspect is to blame) and I thought I fixed all those in the final draft but apparently not... I suspect that'll get better past chapter 1; chapter one needed so much content revision that I didn't spend as much time on the punctuation in the review process.
May 27 2014
On Tuesday, 27 May 2014 at 12:05:43 UTC, Adam D. Ruppe wrote:On Tuesday, 27 May 2014 at 11:57:05 UTC, Daniel Kozak via Digitalmars-d-announce wrote:Tell me about formatting getting lost while re-formatting. But why on earth do people (publishers / editors) still insist on using .doc and .docx (i.e. MS)!? This is to invite disaster. Laziness? Saving money? Nah, you'll work and pay more in the end. Incompetence? I dunno.I mean there is a lot of typo (for e.g. multiple ';' chars at the end of line, import std.stdio : writeln;;;)Blargh, the code got screwed up something nasty through the revision process (chapter 6 especially, the spacing got totally butchered, the end of virtually every line had random characters, wtf, the file got changed from a .doc to a .docx in that process too which i suspect is to blame) and I thought I fixed all those in the final draft but apparently not... I suspect that'll get better past chapter 1; chapter one needed so much content revision that I didn't spend as much time on the punctuation in the review process.
May 27 2014
On Tuesday, 27 May 2014 at 12:59:59 UTC, Chris wrote:On Tuesday, 27 May 2014 at 12:05:43 UTC, Adam D. Ruppe wrote:Will epub version be available too?On Tuesday, 27 May 2014 at 11:57:05 UTC, Daniel Kozak via Digitalmars-d-announce wrote:Tell me about formatting getting lost while re-formatting. But why on earth do people (publishers / editors) still insist on using .doc and .docx (i.e. MS)!? This is to invite disaster. Laziness? Saving money? Nah, you'll work and pay more in the end. Incompetence? I dunno.I mean there is a lot of typo (for e.g. multiple ';' chars at the end of line, import std.stdio : writeln;;;)Blargh, the code got screwed up something nasty through the revision process (chapter 6 especially, the spacing got totally butchered, the end of virtually every line had random characters, wtf, the file got changed from a .doc to a .docx in that process too which i suspect is to blame) and I thought I fixed all those in the final draft but apparently not... I suspect that'll get better past chapter 1; chapter one needed so much content revision that I didn't spend as much time on the punctuation in the review process.
May 27 2014
On Tuesday, 27 May 2014 at 13:27:56 UTC, Szymon Gatner wrote:Will epub version be available too?Yeah, I think it is already on the packt website.
May 27 2014
On Tuesday, 27 May 2014 at 14:20:49 UTC, Adam D. Ruppe wrote:On Tuesday, 27 May 2014 at 13:27:56 UTC, Szymon Gatner wrote:I'm looking at getting the ebook version - does that version include the errata described above? -<mike>-Will epub version be available too?Yeah, I think it is already on the packt website.
May 28 2014
On 28/05/2014 9:00 AM, Mike James wrote:On Tuesday, 27 May 2014 at 14:20:49 UTC, Adam D. Ruppe wrote:I've not checked them side-by-side the whole way through but the ePub does have the same triple colons as the PDF. the ePub uses colour instead of font weight for the keywords in the text and the notes and tips are styled differently, but as far as I've seen so far the content is the same. A...On Tuesday, 27 May 2014 at 13:27:56 UTC, Szymon Gatner wrote:I'm looking at getting the ebook version - does that version include the errata described above? -<mike>-Will epub version be available too?Yeah, I think it is already on the packt website.
May 28 2014
On Wednesday, 28 May 2014 at 09:06:12 UTC, Alix Pexton wrote:On 28/05/2014 9:00 AM, Mike James wrote:Thanks. As 'early adopters' do we get a chance to upgrade :-) -<mike>-On Tuesday, 27 May 2014 at 14:20:49 UTC, Adam D. Ruppe wrote:I've not checked them side-by-side the whole way through but the ePub does have the same triple colons as the PDF. the ePub uses colour instead of font weight for the keywords in the text and the notes and tips are styled differently, but as far as I've seen so far the content is the same. A...On Tuesday, 27 May 2014 at 13:27:56 UTC, Szymon Gatner wrote:I'm looking at getting the ebook version - does that version include the errata described above? -<mike>-Will epub version be available too?Yeah, I think it is already on the packt website.
May 28 2014
On Wednesday, 28 May 2014 at 08:01:00 UTC, Mike James wrote:I'm looking at getting the ebook version - does that version include the errata described above?Yeah, those errors were in the .doc I sent in after revisions on chapter 1 and we didn't catch them in the final draft. But the subsequent chapters did them all right so hopefully people won't be turned off by the (IMO fairly weak anyway) first chapter before things get interesting later on.
May 28 2014
On Wednesday, 28 May 2014 at 14:06:33 UTC, Adam D. Ruppe wrote:On Wednesday, 28 May 2014 at 08:01:00 UTC, Mike James wrote:Question: But any mistakes like those founded will be updated? And if it yes, who already purchased the PDF book will be able to download the new file corrected too? Matheus.I'm looking at getting the ebook version - does that version include the errata described above?Yeah, those errors were in the .doc I sent in after revisions on chapter 1 and we didn't catch them in the final draft. But the subsequent chapters did them all right so hopefully people won't be turned off by the (IMO fairly weak anyway) first chapter before things get interesting later on.
May 28 2014
On Wednesday, 28 May 2014 at 16:51:56 UTC, Mattcoder wrote:On Wednesday, 28 May 2014 at 14:06:33 UTC, Adam D. Ruppe wrote:s/founded/found.On Wednesday, 28 May 2014 at 08:01:00 UTC, Mike James wrote:Question: But any mistakes like those founded will be updated? And if it yes, who already purchased the PDF book will be able to download the new file corrected too? Matheus.I'm looking at getting the ebook version - does that version include the errata described above?Yeah, those errors were in the .doc I sent in after revisions on chapter 1 and we didn't catch them in the final draft. But the subsequent chapters did them all right so hopefully people won't be turned off by the (IMO fairly weak anyway) first chapter before things get interesting later on.
May 28 2014
On Wednesday, 28 May 2014 at 16:51:56 UTC, Mattcoder wrote:Question: But any mistakes like those founded will be updated?Just heard back: maybe on the pdf, probably not on print due to it not being worth the cost. Most likely they'll just be some eratta listed on the site.
May 29 2014
On Tuesday, 27 May 2014 at 11:43:32 UTC, Kozzi wrote:I am reading it now, but there is a lot of errata :(.Well that's a good thing about PDF, because you can fix it and update the version online. Matheus.
May 27 2014
On Tuesday, 27 May 2014 at 10:00:01 UTC, Szymon Gatner wrote:On Tuesday, 6 May 2014 at 19:58:10 UTC, Nick Sabalausky wrote:Thanks for the update. I have the pdf loaded up now, looking forward to going through it.On 5/6/2014 9:11 AM, Adam D. Ruppe wrote:Jus got mail from PacktPub: D Cookbook is now released: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/book Congratz!On Tuesday, 6 May 2014 at 12:40:48 UTC, Szymon Gatner wrote:Sounds awesome!Any way to see the TOC?Hmm, not on the website yet but here it is. [snip]
May 28 2014
On Monday, 5 May 2014 at 12:34:18 UTC, Adam D. Ruppe wrote:We're publishing in about two weeks now so it won't be long until the real thing is out anyway!Just preordered the ebook, waiting to read that :)
May 06 2014
On 3/3/14, 8:37 AM, Adam D. Ruppe wrote:As some of you might know, I've been working on a D book over the last few months. It is now available as "coming soon" on the publisher's website: http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookI just agreed with Packt to write a foreword for the book. -- Andrei
May 06 2014
On Tuesday, 6 May 2014 at 16:38:51 UTC, Andrei Alexandrescu wrote:I just read the foreword. It's great!http://www.packtpub.com/discover-advantages-of-programming-in-d-cookbook/bookI just agreed with Packt to write a foreword for the book. -- Andrei
May 27 2014
I just posted it to reddit btw: http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/
May 28 2014
On 5/28/2014 10:34 AM, Adam D. Ruppe wrote:I just posted it to reddit btw: http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/Just snagged my copy!
May 28 2014
On 5/28/14, 10:34 AM, Adam D. Ruppe wrote:I just posted it to reddit btw: http://www.reddit.com/r/programming/comments/26pn00/d_cookbook_officially_published_consists_of_d/Looks like this got junked. -- Andrei
May 29 2014
On Thursday, 29 May 2014 at 07:51:30 UTC, Andrei Alexandrescu wrote:Looks like this got junked. -- Andreihmm, that was my first time ever posting to reddit so maybe that's why. Regardless, when the dconf talks come around I'll post the link in those comments too and that'll hopefully make up for it.
May 29 2014
On Thursday, 29 May 2014 at 12:39:23 UTC, Adam D. Ruppe wrote:On Thursday, 29 May 2014 at 07:51:30 UTC, Andrei Alexandrescu wrote:Adam D. Ruppe: Where should we ask questions and post spotted issues regarding your pretty great book?Looks like this got junked. -- Andreihmm, that was my first time ever posting to reddit so maybe that's why. Regardless, when the dconf talks come around I'll post the link in those comments too and that'll hopefully make up for it.
Sep 03 2014
On Wednesday, 3 September 2014 at 13:34:11 UTC, Szymon Gatner wrote:Adam D. Ruppe: Where should we ask questions and post spotted issues regarding your pretty great book?Packt's website has an errata section.... somewhere, I can't find it now because they redesigned the site, but a lot of chapter 1 errors are on that (typos and stuff). If you can find that, that's one option, but I'd say just discuss it here or in the main dm.D newsgroup.
Sep 03 2014
On Wednesday, 3 September 2014 at 13:38:42 UTC, Adam D. Ruppe wrote:On Wednesday, 3 September 2014 at 13:34:11 UTC, Szymon Gatner wrote:Asking because I noticed few minor things like multiple commas or too many brackets etc, but also because I am trying to go through "Interfacing with C++" chapter and I am having some problems (VC++ x64, Win7): 1st I managed to solve and I think it could be useful for other that try to follow this chapter: http://forum.dlang.org/thread/ugkpqprobonorbdunxsx forum.dlang.org 2nd I am now stuck with and not much idea how to continue. http://forum.dlang.org/thread/hsglkscatlniiuacpkhe forum.dlang.org I am actually very much interested in this because of COFF support for Win32 in DMD merged recently.Adam D. Ruppe: Where should we ask questions and post spotted issues regarding your pretty great book?Packt's website has an errata section.... somewhere, I can't find it now because they redesigned the site, but a lot of chapter 1 errors are on that (typos and stuff). If you can find that, that's one option, but I'd say just discuss it here or in the main dm.D newsgroup.
Sep 03 2014