Re: Build It And They Will Not Come

2015-08-20 Thread Lars T. Kyllingstad via Digitalmars-d-announce

On Tuesday, 18 August 2015 at 19:35:02 UTC, Walter Bright wrote:

Here's the pattern that works a lot better:

1. spend hundreds if not thousands of hours developing 
something really cool


Check!

2. spend 10 minutes writing the announcement to D.announce. Be 
sure to include:

   who, what, where, when, why, and how


Check!


3. someone posts it to reddit


Wait, what?  They did?

4. post the who, what, where, when, why and how on reddit AS 
SOON AS POSSIBLE after the reddit link appears. Stuff on reddit 
has a VERY SHORT shelf life. If it doesn't get action within a 
couple hours, it fades into oblivion. Identify yourself as the 
author, say AMA. The first one to post a comment tends to spark 
and set the tone for the discussion.


Oh man, I'm like two days too late for that.
goto 7?

5. check back on reddit once an hour or so for the next day, 
answer questions


Whoa.  I don't have time for that!


6. *


???


7. profit!


Fingers crossed!

-Lars


Re: ∅MQD messaging library v1.0 released

2015-08-20 Thread Lars T. Kyllingstad via Digitalmars-d-announce

On Tuesday, 18 August 2015 at 19:35:56 UTC, Walter Bright wrote:

On 8/16/2015 2:22 AM, Lars T. Kyllingstad wrote:
I am happy to announce the (somewhat overdue) release of ∅MQD 
v1.0!


https://www.reddit.com/r/programming/comments/3hgg00/mqd_d_library_for_zeromq_v10_released/

Lars, please post an AMA there.


After the present thread didn't garner much attention the first 
couple of days, I kind of stopped following it, and didn't catch 
up on it until now.  I guess that reddit thread is long dead now. 
:(


Lars


Re: ∅MQD messaging library v1.0 released

2015-08-20 Thread Lars T. Kyllingstad via Digitalmars-d-announce

On Tuesday, 18 August 2015 at 20:44:25 UTC, Suliman wrote:
Lars, did you thought about full port? I read post of etcimon 
about his Botan lib. He eventual decided to rewrite original 
lib from C++ to D to make code more easier maintainable.


I considered it, yes, but it is a *lot* more work, and I think 
the wrapper solution turned out rather nice.  The ZMQ API is 
pretty "wrappable", and I don't expect it to become much more 
complex in the future either.  The big changes these days seem to 
be in the ZMQ guys' own high-level wrapper library, CZMQ, rather 
than in ZMQ core.


Recently, I've played around with the idea of making a pure D 
implementation of Scalable Protocols, which was created by Martin 
Sustrik, one of the original ZMQ authors.  He invented SP and the 
reference implementation, nanomsg (http://nanomsg.org), partly as 
kind of a do-over for some things he considered design mistakes 
in ZMQ.  SP seems "cleaner" and more principled than ZMQ in many 
ways.


So many fun projects, so little time...

Lars


Re: scriptlike v0.9.3

2015-08-20 Thread Nick Sabalausky via Digitalmars-d-announce

On 08/20/2015 05:44 PM, biorelated wrote:


Many thanks!
But I wish it came with a couple of examples on usage in addition to the
API.
:)



Yea, examples/tutorials for it are getting pretty high on my priority 
list for it. I want to do a blog posting or two as well.




Re: "Programming in D" paper book is available for purchase

2015-08-20 Thread notna via Digitalmars-d-announce

On Wednesday, 19 August 2015 at 00:57:32 UTC, Ali Çehreli wrote:

I am very happy! :)



So am I! Finally I'll have it in my hands soon, thanks! Maybe 
I'll get a more frequent "D user" with your help ;)




And the book will always be freely available as well but I 
haven't updated the web site yet.




Another great reason for me to buy it :O


Enjoy, and go buy some books! ;)



Did it the other way around :P Ordered and now wait for the joy ;)


Ali


THANKS Ali!




Re: "Programming in D" paper book is available for purchase

2015-08-20 Thread Israel via Digitalmars-d-announce

On Thursday, 20 August 2015 at 17:09:54 UTC, Ali Çehreli wrote:

On 08/20/2015 07:02 AM, Johannes Pfau wrote:

> BTW: For everybody searching on amazon.de: Use the full title
> "Programming in D: Tutorial and Reference". If you only
search for
> "Programming in D" it's not on the first few result pages...

Thanks for the tip. I think Amazon's search engine is slowly 
learning and perhaps the European site is a little behind.


Just "Programming in D" with quotes were sufficient to find on 
the US site right away. Today, it is on the first search page 
even when searched without the quotes (still at the bottom 
though). (Of course, the results may be customized for the 
logged in user; I don't know.)


Ali


Thanks. Its available on amazon. "Programming in D" does not 
bring it up as the first result although i think you can contact 
them to have them fix it faster.


I think you made a wise choice directing it towards new 
programmers rather than stubborn C/C++ die hards.


Re: scriptlike v0.9.3

2015-08-20 Thread biorelated via Digitalmars-d-announce
On Wednesday, 19 August 2015 at 22:08:26 UTC, Nick Sabalausky 
wrote:
Minor update to scriptlike: Utility library to aid in writing 
script-like programs in D.


Homepage and features:
https://github.com/Abscissa/scriptlike

On DUB:
http://code.dlang.org/packages/scriptlike

API Reference:
http://semitwist.com/scriptlike

Full Changelog:
http://semitwist.com/scriptlike/changelog.html

New in v0.9.3:
- Fixed: #16: Access to standard Phobos function hampered: 
https://github.com/Abscissa/scriptlike/issues/16

- Enhancement: Support running unittests through DUB: "dub test"
- Enhancement: Uses travis-ci.org for continuous integration 
testing.


Many thanks!
But I wish it came with a couple of examples on usage in addition 
to the API.

:)



Re: "Programming in D" paper book is available for purchase

2015-08-20 Thread Nordlöw

On Wednesday, 19 August 2015 at 00:57:32 UTC, Ali Çehreli wrote:

Enjoy, and go buy some books! ;)


Thank you!


Re: "Programming in D" paper book is available for purchase

2015-08-20 Thread Olivier Pisano via Digitalmars-d-announce

On Wednesday, 19 August 2015 at 00:57:32 UTC, Ali Çehreli wrote:

I am very happy! :)

It will be available on many other distribution channels like 
Amazon in a few days as well but the following is the link that 
pays me the most royalty:


  https://www.createspace.com/5618128

This revision has many corrections and improvements over the 
one on the web site, which was from December 2014. (Thank you, 
Luís Marques!)


I am too excited to list the changes right now but I can say 
that it is up to date with 2.068. :D


eBook formats will follow but here are two 
almost-production-ready versions, which, hopefully apparent 
from their names, will disappear soon:


  http://ddili.org/deleteme.epub

  http://ddili.org/deleteme.azw3

And the book will always be freely available as well but I 
haven't updated the web site yet.


Enjoy, and go buy some books! ;)

Ali


I ordered my copy this morning. This book is fantastic and it 
deserves its place near Andrei's and Adam's books on one's 
bookshelf.


Congratulations for this achievement, Ali.


Re: Build It And They Will Not Come

2015-08-20 Thread Russel Winder via Digitalmars-d-announce
On Thu, 2015-08-20 at 14:59 +, Daniel via Digitalmars-d-announce
wrote:
> […]
> 
> Oh, an official Docker image would also help. Look at Go's: 
> https://hub.docker.com/_/golang/

Go 1.3, how appallingly out of date, it's 1.5 now.

-- 
Russel.
=
Dr Russel Winder  t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Roadm: +44 7770 465 077   xmpp: rus...@winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder


signature.asc
Description: This is a digitally signed message part


Re: "Programming in D" paper book is available for purchase

2015-08-20 Thread Johannes Pfau via Digitalmars-d-announce
Am Thu, 20 Aug 2015 10:09:53 -0700
schrieb Ali Çehreli :

> On 08/20/2015 07:02 AM, Johannes Pfau wrote:
> 
>  > BTW: For everybody searching on amazon.de: Use the full title
>  > "Programming in D: Tutorial and Reference". If you only search for
>  > "Programming in D" it's not on the first few result pages...
> 
> Thanks for the tip. I think Amazon's search engine is slowly learning 
> and perhaps the European site is a little behind.
> 
> Just "Programming in D" with quotes were sufficient to find on the US 
> site right away. Today, it is on the first search page even when 
> searched without the quotes (still at the bottom though). (Of course, 
> the results may be customized for the logged in user; I don't know.)
> 
> Ali
> 

"Programming in D" with quotes seems to work on the german amazon.de
page as well. I first searched without quotes and erroneously assumed
it's not available from amazon.de. I guess this might improve once
enough copies have been sold, but this of course takes some more time on
the german amazon page ;-)



Re: "Programming in D" paper book is available for purchase

2015-08-20 Thread Ali Çehreli via Digitalmars-d-announce

On 08/20/2015 07:02 AM, Johannes Pfau wrote:

> BTW: For everybody searching on amazon.de: Use the full title
> "Programming in D: Tutorial and Reference". If you only search for
> "Programming in D" it's not on the first few result pages...

Thanks for the tip. I think Amazon's search engine is slowly learning 
and perhaps the European site is a little behind.


Just "Programming in D" with quotes were sufficient to find on the US 
site right away. Today, it is on the first search page even when 
searched without the quotes (still at the bottom though). (Of course, 
the results may be customized for the logged in user; I don't know.)


Ali



Re: Build It And They Will Not Come

2015-08-20 Thread anonymous via Digitalmars-d-announce
On Thursday 20 August 2015 17:18, Daniel wrote:

> Anyway, I didn't know about Ali's book. Maybe it could be linked
> at dlang.org's left menu?

It's the first link on the "Getting Started" page (added somewhat recently). 
And it's the first link in the "Books & Articles" section. I wouldn't oppose 
a link on the top level, but I'm not sure if it's a good idea.


Re: Build It And They Will Not Come

2015-08-20 Thread Daniel via Digitalmars-d-announce

On Thursday, 20 August 2015 at 14:59:33 UTC, bachmeier wrote:

On Thursday, 20 August 2015 at 14:45:24 UTC, Daniel wrote:
One thing that always comes to mind is that D does not have a 
free, extensive, structured good reference as Go 
(https://www.golang-book.com/books/intro) and Rust 
(https://doc.rust-lang.org/book/index.html) do. I mean, 
compare D's learn section (http://forum.dlang.org/group/learn) 
to those other links. It's kind of frustrating to newcomers. 
I've read Andrei's book and its awesome. Couldn't you guys 
consider making it open and the official book?


Can you give some examples of things provided by those books 
that are not provided by Ali's book? I ignore any project for 
which you have to pay to get basic documentation, but I don't 
see how that applies with D.


It's not about having free docs, it's about having an official 
and good to use free doc. Yes, I'm also talking about ux here 
(although being a programmer), not only content - compare Rust's 
experience (https://doc.rust-lang.org/stable/book/) to Ali's 
(http://ddili.org/ders/d.en/). Ali, I mean no offense, of course. 
Anyway, I didn't know about Ali's book. Maybe it could be linked 
at dlang.org's left menu?


Re: Build It And They Will Not Come

2015-08-20 Thread bachmeier via Digitalmars-d-announce

On Thursday, 20 August 2015 at 14:45:24 UTC, Daniel wrote:
One thing that always comes to mind is that D does not have a 
free, extensive, structured good reference as Go 
(https://www.golang-book.com/books/intro) and Rust 
(https://doc.rust-lang.org/book/index.html) do. I mean, compare 
D's learn section (http://forum.dlang.org/group/learn) to those 
other links. It's kind of frustrating to newcomers. I've read 
Andrei's book and its awesome. Couldn't you guys consider 
making it open and the official book?


Can you give some examples of things provided by those books that 
are not provided by Ali's book? I ignore any project for which 
you have to pay to get basic documentation, but I don't see how 
that applies with D.




Re: Build It And They Will Not Come

2015-08-20 Thread Daniel via Digitalmars-d-announce

On Tuesday, 18 August 2015 at 19:35:02 UTC, Walter Bright wrote:
I hate the movie "Field of Dreams" where they push the idiotic 
idea of "Build it and they will come." No, they won't. There's 
a blizzard of stuff competing for their attention out there, 
why should they invest the time looking at your stuff? You need 
to tell them why!


Oh, an official Docker image would also help. Look at Go's: 
https://hub.docker.com/_/golang/


Re: Build It And They Will Not Come

2015-08-20 Thread Daniel via Digitalmars-d-announce

On Tuesday, 18 August 2015 at 19:35:02 UTC, Walter Bright wrote:
I hate the movie "Field of Dreams" where they push the idiotic 
idea of "Build it and they will come." No, they won't. There's 
a blizzard of stuff competing for their attention out there, 
why should they invest the time looking at your stuff? You need 
to tell them why!


Here's the frustrating typical pattern I've seen here for years:

1. spend hundreds if not thousands of hours developing 
something really cool
2. spend 2 minutes posting a link to the repository on 
D.announce

3. someone posts it to reddit. Ignore it
4. get frustrated that nobody looks at it
5. get bitter and quit

Here's the pattern that works a lot better:

1. spend hundreds if not thousands of hours developing 
something really cool
2. spend 10 minutes writing the announcement to D.announce. Be 
sure to include:

   who, what, where, when, why, and how
3. someone posts it to reddit
4. post the who, what, where, when, why and how on reddit AS 
SOON AS POSSIBLE after the reddit link appears. Stuff on reddit 
has a VERY SHORT shelf life. If it doesn't get action within a 
couple hours, it fades into oblivion. Identify yourself as the 
author, say AMA. The first one to post a comment tends to spark 
and set the tone for the discussion.
5. check back on reddit once an hour or so for the next day, 
answer questions

6. *
7. profit!


One thing that always comes to mind is that D does not have a 
free, extensive, structured good reference as Go 
(https://www.golang-book.com/books/intro) and Rust 
(https://doc.rust-lang.org/book/index.html) do. I mean, compare 
D's learn section (http://forum.dlang.org/group/learn) to those 
other links. It's kind of frustrating to newcomers. I've read 
Andrei's book and its awesome. Couldn't you guys consider making 
it open and the official book?


For the web guys, you should really consider committing something 
with vibe.d to TechEmpower 
(https://www.techempower.com/benchmarks/). A lot of web 
programmers look at that.


Finally, a good comparison between D's GC and the Go's 1.5 GC 
would be great. The latter has been making a lot of impact 
recently.


Re: "Programming in D" paper book is available for purchase

2015-08-20 Thread Johannes Pfau via Digitalmars-d-announce
Am Tue, 18 Aug 2015 17:57:31 -0700
schrieb Ali Çehreli :

> I am very happy! :)
> 
> It will be available on many other distribution channels like Amazon
> in a few days as well but the following is the link that pays me the
> most royalty:
> 
>https://www.createspace.com/5618128
> 
> This revision has many corrections and improvements over the one on
> the web site, which was from December 2014. (Thank you, Luís Marques!)
> 
> I am too excited to list the changes right now but I can say that it
> is up to date with 2.068. :D
> 
> eBook formats will follow but here are two almost-production-ready 
> versions, which, hopefully apparent from their names, will disappear
> soon:
> 
>http://ddili.org/deleteme.epub
> 
>http://ddili.org/deleteme.azw3
> 
> And the book will always be freely available as well but I haven't 
> updated the web site yet.
> 
> Enjoy, and go buy some books! ;)
> 
> Ali

Awesome!

BTW: For everybody searching on amazon.de: Use the full title
"Programming in D: Tutorial and Reference". If you only search for
"Programming in D" it's not on the first few result pages...



Re: Build It And They Will Not Come

2015-08-20 Thread Mike via Digitalmars-d-announce
On Thursday, 20 August 2015 at 06:50:51 UTC, Rikki Cattermole 
wrote:



Humm, I wonder if we could strip it out before the final link.


I tried a number of things, all discussed on the D.gnu forum 
(http://forum.dlang.org/post/quemhwpgijwmqtpxu...@forum.dlang.org).  The only hack that worked some of the time was to compile to assembly, use a sed script to modify the assembly, and then compile the modified assembly.  That's pretty ridiculous.  I can't go to my employer with that and I don't think anyone will take me seriously if my projects contain such things.


A few compiler devs threw me a bone with an -fno-rtti 
implementation.  I am very grateful to those who worked on that 
and I think it has great value, but it forces me to compromise on 
slicing, postblit, and a few others, and that severely diminished 
its appeal. This specific issue, TypeInfo bloat, is just a 
symptom of a more general problem in the D toolchain, namely, 
dead code elimination.


This is not an opportunity to find clever hacks and workarounds, 
its an opportunity to improve the compiler and linker.


Mike