Re: Thinktank: CI's, compiler lists, and project automation

2018-03-04 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 03/05/2018 02:42 AM, Nick Sabalausky (Abscissa) wrote: On 03/04/2018 02:05 AM, Nick Sabalausky (Abscissa) wrote: On 03/03/2018 10:22 AM, Jacob Carlborg wrote: You should get an email notification about failed builds [1] [2], Weird. Never worked for me. Will have to check into that. Ahh

Re: Thinktank: CI's, compiler lists, and project automation

2018-03-04 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 03/04/2018 02:05 AM, Nick Sabalausky (Abscissa) wrote: On 03/03/2018 10:22 AM, Jacob Carlborg wrote: You should get an email notification about failed builds [1] [2], Weird. Never worked for me. Will have to check into that. Ahh, it looks like travis disregards the github email address

Re: DIP 1006 - Preliminary Review Round 1

2018-03-04 Thread Kagamin via Digitalmars-d
On Sunday, 4 March 2018 at 12:05:08 UTC, rjframe wrote: E.g., "dmd -check=in a.d" is unnecessary; it's equivalent to "dmd a.d" "dmd -release -check=in a.d" turns off all checks except in contracts. I think, -check should specify hierarchic modes like in the DIP, that would work independently

Re: UDK : Comment sont levés les "Mappable keys"

2018-03-04 Thread Ali via Digitalmars-d
On Monday, 5 March 2018 at 02:12:07 UTC, Adam Levine wrote: Bonjour à tous Alors voilà, quelqu'un saurait-il comment sont levé les évènements des touches appuyées pour UDK? Nous voudrions pouvoir utiliser un nouveau périphérique autre que la souris, le clavier ... : En l’occurrence la Kinect

Re: Interesting article from JVM world - Conservative GC: Is It Really That Bad?

2018-03-04 Thread Ali via Digitalmars-d
On Monday, 5 March 2018 at 02:53:49 UTC, 12345swordy wrote: On Monday, 5 March 2018 at 02:42:48 UTC, Nikolay wrote: These guys have independent JVM implementation and used Conservative GC for many years. As I can see it it is very similar to d-runtime GC. But their conclusion is: "sooner or la

Re: Interesting article from JVM world - Conservative GC: Is It Really That Bad?

2018-03-04 Thread Dmitry Olshansky via Digitalmars-d
On Monday, 5 March 2018 at 02:42:48 UTC, Nikolay wrote: These guys have independent JVM implementation and used Conservative GC for many years. As I can see it it is very similar to d-runtime GC. But their conclusion is: "sooner or later the absence of knowledge about the liveness of local var

Re: Interesting article from JVM world - Conservative GC: Is It Really That Bad?

2018-03-04 Thread 12345swordy via Digitalmars-d
On Monday, 5 March 2018 at 02:42:48 UTC, Nikolay wrote: These guys have independent JVM implementation and used Conservative GC for many years. As I can see it it is very similar to d-runtime GC. But their conclusion is: "sooner or later the absence of knowledge about the liveness of local var

Interesting article from JVM world - Conservative GC: Is It Really That Bad?

2018-03-04 Thread Nikolay via Digitalmars-d
These guys have independent JVM implementation and used Conservative GC for many years. As I can see it it is very similar to d-runtime GC. But their conclusion is: "sooner or later the absence of knowledge about the liveness of local variables will lead to problems in production that just cann

UDK : Comment sont levés les "Mappable keys"

2018-03-04 Thread Adam Levine via Digitalmars-d
Bonjour à tous Alors voilà, quelqu'un saurait-il comment sont levé les évènements des touches appuyées pour UDK? Nous voudrions pouvoir utiliser un nouveau périphérique autre que la souris, le clavier ... : En l’occurrence la Kinect. Nous avons développé notre API qui permet d'exploiter la ki

Re: help me with dpldocs - how to filter 3rd party libs

2018-03-04 Thread Norm via Digitalmars-d
On Sunday, 4 March 2018 at 23:31:56 UTC, Adam D. Ruppe wrote: On Sunday, 4 March 2018 at 23:18:25 UTC, Norm wrote: Can you run dub describe and parse the output, which is JSON I think. It used to indicate a role for each source file under each configuration, one of which is "unusedSource". I

Re: help me with dpldocs - how to filter 3rd party libs

2018-03-04 Thread Adam D. Ruppe via Digitalmars-d
On Sunday, 4 March 2018 at 23:18:25 UTC, Norm wrote: Can you run dub describe and parse the output, which is JSON I think. It used to indicate a role for each source file under each configuration, one of which is "unusedSource". I don't see any info like that when I run it here... :( Alternat

Re: help me with dpldocs - how to filter 3rd party libs

2018-03-04 Thread Norm via Digitalmars-d
On Sunday, 4 March 2018 at 22:24:58 UTC, Adam D. Ruppe wrote: So the dpldocs scraper right now pulls all the .d files out of a repo and tries to build docs for them. But in some cases, there's a lot of added dependencies in there that can cause the built to time out. For example, take a look

Re: DIP 1006 - Preliminary Review Round 1

2018-03-04 Thread Timon Gehr via Digitalmars-d
On 04.03.2018 22:49, Walter Bright wrote: On 3/4/2018 1:16 PM, Timon Gehr wrote: On 04.03.2018 21:40, Walter Bright wrote: On 3/4/2018 4:05 AM, rjframe wrote: Would I be correct to interpret this as "turn them all off with -release"? Array bounds checking is left on with -release. Not nece

Storing guardPageSize in Fiber

2018-03-04 Thread Johan Engelen via Digitalmars-d
Hi all, Currently, `guardPageSize` is not stored in core.thread.Fiber. It's only used during construction, so it's currently not necessary to store it. However, for Fiber stack usage tracking, I need it elsewhere too. Is it agreeable to add an m_guardPageSize member to Fiber to store the inf

help me with dpldocs - how to filter 3rd party libs

2018-03-04 Thread Adam D. Ruppe via Digitalmars-d
So the dpldocs scraper right now pulls all the .d files out of a repo and tries to build docs for them. But in some cases, there's a lot of added dependencies in there that can cause the built to time out. For example, take a look at dlangui: http://dlangui.dpldocs.info/dlangui.html Notice t

Re: DIP 1006 - Preliminary Review Round 1

2018-03-04 Thread Walter Bright via Digitalmars-d
On 3/4/2018 1:16 PM, Timon Gehr wrote: On 04.03.2018 21:40, Walter Bright wrote: On 3/4/2018 4:05 AM, rjframe wrote: Would I be correct to interpret this as "turn them all off with -release"? Array bounds checking is left on with -release. Not necessarily. If the code contains an explicit a

Re: State of D: The survey is killing man, way too much

2018-03-04 Thread Kagamin via Digitalmars-d
On Saturday, 3 March 2018 at 15:08:32 UTC, 0x wrote: The D survey is killing maan! Those are lots of questions in there If I ever get hold of the people behind it... Ehh? No, autism is cute, just take it easy and skip questions you don't like, you can also jump them by pressing up

Re: DIP 1006 - Preliminary Review Round 1

2018-03-04 Thread Timon Gehr via Digitalmars-d
On 04.03.2018 21:40, Walter Bright wrote: On 3/4/2018 4:05 AM, rjframe wrote: Would I be correct to interpret this as "turn them all off with -release"? Array bounds checking is left on with -release. Not necessarily. If the code contains an explicit assertion that the index is in bounds, t

Re: tupleof vs @safe

2018-03-04 Thread ag0aep6g via Digitalmars-d
On 03/03/2018 12:22 AM, ag0aep6g wrote: So am I missing something or should `tupleof` not be allowed to ignore `private` in `@safe` code? Filed an issue: https://issues.dlang.org/show_bug.cgi?id=18554

Re: DIP 1006 - Preliminary Review Round 1

2018-03-04 Thread Walter Bright via Digitalmars-d
On 3/4/2018 4:05 AM, rjframe wrote: Would I be correct to interpret this as "turn them all off with -release"? Array bounds checking is left on with -release.

Re: Opt-in non-null class references?

2018-03-04 Thread SimonN via Digitalmars-d
On Sunday, 4 March 2018 at 12:03:32 UTC, aliak wrote: Maybe this part can be fixed with: struct NonNull(T) if (isPointer!T || is(T == class)) { @disable opAssign(V)(V v) {} // no no no void opAssign(V)(NonNull!V other) { // only this allowed. Interesting approach -- I'll keep it on the

Re: Opt-in non-null class references?

2018-03-04 Thread aliak via Digitalmars-d
On Saturday, 3 March 2018 at 19:20:26 UTC, arturg wrote: On Saturday, 3 March 2018 at 18:28:42 UTC, aliak wrote: On Friday, 2 March 2018 at 19:47:23 UTC, SimonN wrote: If you know of other ways though I'm all ears :) Cheers maybe not exactly what you want, but here are some templates i wrot

Re: DIP 1006 - Preliminary Review Round 1

2018-03-04 Thread rjframe via Digitalmars-d
On Sat, 03 Mar 2018 20:30:31 -0800, Walter Bright wrote: > The default is that they're all on. So to just have one on, first turn > them all off then turn on the desired ones. Would I be correct to interpret this as "turn them all off with -release"? E.g., "dmd -check=in a.d" is unnecessary; it'

Re: Opt-in non-null class references?

2018-03-04 Thread aliak via Digitalmars-d
On Saturday, 3 March 2018 at 20:52:25 UTC, SimonN wrote: The pitfall here is that all structs must be default-constructible, and then all of the fields have the static init value: class A { this(int) { } } void main() { NonNull!A a; assert (a.value is null); }

Re: State of D: The survey is killing man, way too much

2018-03-04 Thread 0xFFFFFFFF via Digitalmars-d
On Saturday, 3 March 2018 at 19:46:38 UTC, Jonathan Marler wrote: On Saturday, 3 March 2018 at 17:42:25 UTC, David Gileadi wrote: On 3/3/18 8:08 AM, 0x wrote: The D survey is killing maan! Those are lots of questions in there If I ever get hold of the people behind it... Is it a c

Re: State of D: The survey is killing man, way too much

2018-03-04 Thread Abdulhaq via Digitalmars-d
On Saturday, 3 March 2018 at 19:46:38 UTC, Jonathan Marler wrote: On Saturday, 3 March 2018 at 17:42:25 UTC, David Gileadi wrote: On 3/3/18 8:08 AM, 0x wrote: The D survey is killing maan! Those are lots of questions in there If I ever get hold of the people behind it... Is it a c

Re: State of D: The survey is killing man, way too much

2018-03-04 Thread 0xFFFFFFFF via Digitalmars-d
On Saturday, 3 March 2018 at 17:42:25 UTC, David Gileadi wrote: On 3/3/18 8:08 AM, 0x wrote: The D survey is killing maan! Those are lots of questions in there If I ever get hold of the people behind it... Is it a coincidence that your user handle is "negative one"? ;) Oh, really

Re: Thinktank: CI's, compiler lists, and project automation

2018-03-04 Thread Jacob Carlborg via Digitalmars-d
On 2018-03-04 08:05, Nick Sabalausky (Abscissa) wrote: 3. Release of DMD 2.081.0 occurs. "dmd" now points to 2.081.0. Unless .travis.yml has been manually updated, it still contains:   - dmd  # Ie, dmd-2.081.0, now   # WTF?!?! dmd-2.080.0 is no longer being tested   - dmd-2.079.0