Re: Silvermirror to mirror websites

2017-01-15 Thread Dukc via Digitalmars-d-announce
You forgot to add a license/unlicense...

Re: Pry v0.3.1 is out!

2017-01-15 Thread Dicebot via Digitalmars-d-announce
Sounds intriguing! On 01/15/2017 01:26 AM, Dmitry Olshansky wrote: > - versatility, generating some goofy parse tree is not a goal, the goal > is extraction of data the way the user specifies Can you show an example of what you have in mind for this? signature.asc Description: OpenPGP digital

Re: Pry v0.3.1 is out!

2017-01-15 Thread Dmitry Olshansky via Digitalmars-d-announce
On 1/15/17 12:43 PM, Dicebot wrote: Sounds intriguing! On 01/15/2017 01:26 AM, Dmitry Olshansky wrote: - versatility, generating some goofy parse tree is not a goal, the goal is extraction of data the way the user specifies Can you show an example of what you have in mind for this? Each pa

Re: Beta 2.073.0-b1

2017-01-15 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-01-15 01:52, Martin Nowak wrote: Changing things specifically for __traits(getMember, exp, "field") which is currently lowered to exp.field would be too much effort. What about lowering to "exp.tupleof[index]", which already bypass protection? -- /Jacob Carlborg

Re: SmartRef: The Smart Pointer In D

2017-01-15 Thread Dsby via Digitalmars-d-announce
On Saturday, 14 January 2017 at 17:35:09 UTC, Nordlöw wrote: On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote: I write the ref count pointer and the scoped point in D. How do two of these differ from - https://dlang.org/phobos/std_typecons.html#.RefCounted - https://dlang.org/phobos/std

Re: SmartRef: The Smart Pointer In D

2017-01-15 Thread Dsby via Digitalmars-d-announce
On Sunday, 15 January 2017 at 15:42:19 UTC, Dsby wrote: On Saturday, 14 January 2017 at 17:35:09 UTC, Nordlöw wrote: On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote: I write the ref count pointer and the scoped point in D. How do two of these differ from - https://dlang.org/phobos/std

Re: Silvermirror to mirror websites

2017-01-15 Thread Chris Wright via Digitalmars-d-announce
On Sun, 15 Jan 2017 09:53:16 +, Dukc wrote: > You forgot to add a license/unlicense... Thanks, fixed! MIT licensed, unless someone needs it under another.

Re: SmartRef: The Smart Pointer In D

2017-01-15 Thread biozic via Digitalmars-d-announce
On Sunday, 15 January 2017 at 15:56:30 UTC, Dsby wrote: and : In https://github.com/dlang/phobos/blob/master/std/typecons.d#L147 ~this() { debug(Unique) writeln("Unique destructor of ", (_p is null)? null: _p); if (_p !is null) destroy(_p); _p = null; } if the

Android LDC in a Container

2017-01-15 Thread Andre Pany via Digitalmars-d-announce
Hi, on Dockerhub I published a repository which makes it really easy to develop Android applications using LDC and Joakims work. The repository contains Android 1.1.0 beta from https://github.com/joakim-noah/android/releases and also the NDK from google. By using this command, you will have

Re: Beta 2.073.0-b1

2017-01-15 Thread Martin Nowak via Digitalmars-d-announce
Sorry, this is OT in the beta thread. On 01/15/2017 03:31 PM, Jacob Carlborg wrote: > What about lowering to "exp.tupleof[index]", which already bypass > protection? We also have lots of other stuff to do, and no there is no 1-to-1 mapping between exp.name and exp.tupleof[index].

Re: Beta 2.073.0-b1

2017-01-15 Thread Martin Nowak via Digitalmars-d-announce
On 01/14/2017 09:10 AM, Basile B. wrote: > Forget this, I've realized a bit late that it's already reported: > https://issues.dlang.org/show_bug.cgi?id=17072 The cause is that we build druntime on Windows with -dip25. https://issues.dlang.org/show_bug.cgi?id=17072#c1

Re: Beta 2.073.0-b1

2017-01-15 Thread Nordlöw via Digitalmars-d-announce
On Sunday, 15 January 2017 at 06:07:23 UTC, Walter Bright wrote: Phobos is next! I can't wait :)

Re: Silvermirror to mirror websites

2017-01-15 Thread Nick B via Digitalmars-d-announce
On Sunday, 15 January 2017 at 02:28:34 UTC, Chris Wright wrote: Github: https://github.com/dhasenan/silvermirror Silvermirror is a tool to mirror websites -- download them locally and serve copies of them. What is the version of D that Silvermirror is compiled under ? Nick

Re: Pry v0.3.1 is out!

2017-01-15 Thread Dmitry Olshansky via Digitalmars-d-announce
On 1/15/17 2:26 AM, Dmitry Olshansky wrote: Pry is a new pragmatic parser combinators library. [snip] Two key areas of focus are (compared to say Pegged): - performance, on par with hand-written code or die Actually testing the latest version with LDC I found out that handwritten code is a b

Re: Pry v0.3.1 is out!

2017-01-15 Thread Dicebot via Digitalmars-d-announce
On Sunday, 15 January 2017 at 13:14:45 UTC, Dmitry Olshansky wrote: I could have wasted time by creating nodes and assigning values in the map functions but if you just want the result of calculation it's all moot. Thanks for explanation! This is indeed very promising and much in spirit of D

Re: Silvermirror to mirror websites

2017-01-15 Thread Chris Wright via Digitalmars-d-announce
On Sun, 15 Jan 2017 21:30:47 +, Nick B wrote: > On Sunday, 15 January 2017 at 02:28:34 UTC, Chris Wright wrote: >> Github: https://github.com/dhasenan/silvermirror >> >> Silvermirror is a tool to mirror websites -- download them locally and >> serve copies of them. > > > What is the version

Re: Pry v0.3.1 is out!

2017-01-15 Thread Bastiaan Veelo via Digitalmars-d-announce
On Sunday, 15 January 2017 at 01:26:07 UTC, Dmitry Olshansky wrote: Pry is a new pragmatic parser combinators library. https://github.com/DmitryOlshansky/pry Interesting. How about left-recursion? (I added support for left-recursive grammars to Pegged.)

Re: Android LDC in a Container

2017-01-15 Thread Dsby via Digitalmars-d-announce
On Sunday, 15 January 2017 at 17:40:01 UTC, Andre Pany wrote: Hi, on Dockerhub I published a repository which makes it really easy to develop Android applications using LDC and Joakims work. The repository contains Android 1.1.0 beta from https://github.com/joakim-noah/android/releases and als

Re: SmartRef: The Smart Pointer In D

2017-01-15 Thread Dsby via Digitalmars-d-announce
On Sunday, 15 January 2017 at 17:24:25 UTC, biozic wrote: On Sunday, 15 January 2017 at 15:56:30 UTC, Dsby wrote: and : In https://github.com/dlang/phobos/blob/master/std/typecons.d#L147 ~this() { debug(Unique) writeln("Unique destructor of ", (_p is null)? null: _p);

Re: Silvermirror to mirror websites

2017-01-15 Thread Nick B via Digitalmars-d-announce
On Sunday, 15 January 2017 at 23:32:34 UTC, Chris Wright wrote: On Sun, 15 Jan 2017 21:30:47 +, Nick B wrote: I'm still on 2.071.1. Are you experiencing issues on another version? No, just checking. Thanks Nick