Re: Bin2d (0.2.0) Rewrite

2015-07-23 Thread Taylor Hillegeist via Digitalmars-d-announce

On Thursday, 23 July 2015 at 12:07:21 UTC, Rikki Cattermole wrote:

On 23/07/2015 11:56 p.m., Suliman wrote:
On Thursday, 23 July 2015 at 10:15:17 UTC, Rikki Cattermole 
wrote:
So Bin2D[0] has been rewritten and adds a bunch of nice new 
features.


- Limit generated code by:
  - package modifier
  - ``version(unittest)``
- Use enum for usage at compile time, instead of 
``const(ubyte[])``

- Report with variable name to original filename

Only dependency is Phobos.
The rewrite adds most importantly usage of e.g. byChunk over 
the input

files to limit the amount of memory used.

[0] https://github.com/rikkimax/bin2d


Cool! Could you add example of usage in readme?


There is already a pretty basic example in it.
Anything specific in mind?


To be honest it took me a bit to realize what it was. A Command 
line application that produces a d modules which represent/store 
those files.


The example is great but it could also use a bit more generic 
outline


Bin2d MODULENAME.d=Resource_Reference FILE1_PATH [FILE2_PATH ...]

I'm not sure how its usually done. Also even though its not 
necessary its always nice to have an example that will compile. 
It also adds some context.


MAIN.d
---
import std.stdio;
import Resource_Reference;

void main() {
string[] FILE_LOCATIONS = outputFilesToFileSystem();
FILE_LOCATIONS.each!writeln();
}
---

compile With dmd MAIN.d MODULENAME.d

Actually this didn't work for me... maybe I'm misinterpreting 
something.




Re: Bin2d (0.2.0) Rewrite

2015-07-23 Thread Suliman via Digitalmars-d-announce

On Thursday, 23 July 2015 at 10:15:17 UTC, Rikki Cattermole wrote:
So Bin2D[0] has been rewritten and adds a bunch of nice new 
features.


- Limit generated code by:
  - package modifier
  - ``version(unittest)``
- Use enum for usage at compile time, instead of 
``const(ubyte[])``

- Report with variable name to original filename

Only dependency is Phobos.
The rewrite adds most importantly usage of e.g. byChunk over 
the input files to limit the amount of memory used.


[0] https://github.com/rikkimax/bin2d


Cool! Could you add example of usage in readme?


Silicon Valley D Meetup July 2015

2015-07-23 Thread Ali Çehreli via Digitalmars-d-announce
Thanks to Chris Jacobi, we may have a permanent venue: Hacker Dojo in 
Mountain View:


  http://www.meetup.com/D-Lang-Silicon-Valley/events/224003042/

This will be a social get together with an open agenda. Bring your 
lightning talk and any other topic with or without a slide deck.


Ali


Re: Silicon Valley D Meetup July 2015

2015-07-23 Thread Ali Çehreli via Digitalmars-d-announce

On 07/23/2015 04:52 AM, Ali Çehreli wrote:


   http://www.meetup.com/D-Lang-Silicon-Valley/events/224003042/


Bonus item for the meeting: The first proof copy of Programming in D, 
which arrived today. You can touch and smell it if you come to the 
meeting! :p


Ali



Re: New D book available for pre-order: D Web Development

2015-07-23 Thread Kai Nacke via Digitalmars-d-announce

On Wednesday, 22 July 2015 at 21:43:09 UTC, notna wrote:

On Wednesday, 22 July 2015 at 21:19:20 UTC, notna wrote:

On Wednesday, 22 July 2015 at 15:29:20 UTC, Kai Nacke wrote:


As I have all the books/hardcopies from 
http://wiki.dlang.org/Books,


Added you book to the Wiki. Hope you and your publisher don't 
mind ;)


Thank you very much!

Regards,
Kai


Re: Learning D Available for Pre-Order

2015-07-23 Thread Kai Nacke via Digitalmars-d-announce

On Tuesday, 23 June 2015 at 14:47:03 UTC, Mike Parker wrote:
The project that has taken me away from Derelict since the end 
of February is now available for pre-order at [1]. I'm


[1] https://www.packtpub.com/application-development/learning-d


Great work, for sure I'll buy a copy!

I missed your book on http://wiki.dlang.org/Books and added it.

Regards,
Kai


Re: New D book available for pre-order: D Web Development

2015-07-23 Thread Kai Nacke via Digitalmars-d-announce

On Wednesday, 22 July 2015 at 15:46:09 UTC, Sönke Ludwig wrote:
Nice! I had heard of the plans for this book, but didn't have 
time to actively contribute. But give me a ping if you need 
some additional review. I can't promise that I'll be fast, but 
I'll do my best!


Great offer! I'll contact you. Thanks!

Regards,
Kai


Re: Silicon Valley D Meetup July 2015

2015-07-23 Thread Andrei Alexandrescu via Digitalmars-d-announce

On 7/23/15 7:52 AM, Ali Çehreli wrote:

Thanks to Chris Jacobi, we may have a permanent venue: Hacker Dojo in
Mountain View:

   http://www.meetup.com/D-Lang-Silicon-Valley/events/224003042/

This will be a social get together with an open agenda. Bring your
lightning talk and any other topic with or without a slide deck.

Ali


https://twitter.com/D_Programming/status/624229374603169792

https://www.facebook.com/dlang.org/posts/1107571949256485

I encourage everyone in the community to boost such announcements to 
social outlets like Twitter and Facebook.



Andrei



Re: Learning D Available for Pre-Order

2015-07-23 Thread Mike Parker via Digitalmars-d-announce

On Thursday, 23 July 2015 at 06:02:59 UTC, Kai Nacke wrote:

On Tuesday, 23 June 2015 at 14:47:03 UTC, Mike Parker wrote:
The project that has taken me away from Derelict since the end 
of February is now available for pre-order at [1]. I'm


[1] https://www.packtpub.com/application-development/learning-d


Great work, for sure I'll buy a copy!

I missed your book on http://wiki.dlang.org/Books and added it.

Regards,
Kai


Thanks! In a week or so I'll be starting on a chapter about 
vibe.d where I make a web-based version of the book's sample 
project, but it's superficial stuff. I wish your book were 
already available so I could refer to it :)


Bin2d (0.2.0) Rewrite

2015-07-23 Thread Rikki Cattermole via Digitalmars-d-announce

So Bin2D[0] has been rewritten and adds a bunch of nice new features.

- Limit generated code by:
  - package modifier
  - ``version(unittest)``
- Use enum for usage at compile time, instead of ``const(ubyte[])``
- Report with variable name to original filename

Only dependency is Phobos.
The rewrite adds most importantly usage of e.g. byChunk over the input 
files to limit the amount of memory used.


[0] https://github.com/rikkimax/bin2d


Re: Learning D Available for Pre-Order

2015-07-23 Thread Kai Nacke via Digitalmars-d-announce

On Thursday, 23 July 2015 at 07:49:31 UTC, Mike Parker wrote:
Thanks! In a week or so I'll be starting on a chapter about 
vibe.d where I make a web-based version of the book's sample 
project, but it's superficial stuff. I wish your book were 
already available so I could refer to it :)


Just give me a ping if you need some chapter reference or so.

Regards,
Kai