Re: Debugging mixins - we need to do something

2018-09-09 Thread Nicholas Wilson via Digitalmars-d
On Saturday, 8 September 2018 at 22:01:23 UTC, Manu wrote: [snip] Is anyone interested in this issue? https://github.com/dlang/dmd/pull/8677

Re: John Regehr on "Use of Assertions"

2018-09-09 Thread John Carter via Digitalmars-d
On Sunday, 2 September 2018 at 01:55:53 UTC, Walter Bright wrote: On 9/1/2018 5:47 PM, Nick Sabalausky (Abscissa) wrote: All in all, John is very non-committal about the whole thing. He probably got tired of arguing about it :-) Let's face it, the term "assert" has been poisoned by decades o

Re: John Regehr on "Use of Assertions"

2018-09-09 Thread Ola Fosheim Grøstad via Digitalmars-d
On Sunday, 9 September 2018 at 08:31:49 UTC, John Carter wrote: On Sunday, 2 September 2018 at 01:55:53 UTC, Walter Bright wrote: On 9/1/2018 5:47 PM, Nick Sabalausky (Abscissa) wrote: All in all, John is very non-committal about the whole thing. He probably got tired of arguing about it :-)

dlang download stat should be updated

2018-09-09 Thread Suliman via Digitalmars-d
Last update was long time ago http://erdani.com/d/downloads.daily.png

Re: John Regehr on "Use of Assertions"

2018-09-09 Thread Ola Fosheim Grøstad via Digitalmars-d
On Sunday, 9 September 2018 at 06:27:52 UTC, Jonathan M Davis wrote: So, maybe what we should do here is take a page from Weka's playbook and add a function that does something like check a condition and then assert(0) if it's false and not try to say that assertions should always be left in pr

Re: rund users welcome

2018-09-09 Thread Vladimir Panteleev via Digitalmars-d
On Sunday, 9 September 2018 at 04:32:32 UTC, Jonathan Marler wrote: - --build-only should imply -od. Maybe...I actually have use cases where I want "--build-only" but want the executable to be built in the normal cache location. Build the program and cache it but don't run it yet. Adding a

Re: Source changes should include date of change

2018-09-09 Thread Sjoerd Nijboer via Digitalmars-d
On Sunday, 9 September 2018 at 04:59:08 UTC, Josphe Brigmo wrote: Yes, but the fact is they would not appreciate my work because they do not appreciate it now. I can't really argue against that logic. But then again, I fail to see when such a situation would apply. I personally use the tortoi

Re: Source changes should include date of change

2018-09-09 Thread krzaq via Digitalmars-d
On Sunday, 9 September 2018 at 01:27:06 UTC, Josphe Brigmo wrote: This has nothing to do with git. People think git is the end all be all. What if git is not available, then what? It's moronic to think that one has to use one or the other when both options are available and both only add inform

#dbugfix 17508 - optlink 8.00.17 crash at EIP=0040F60A

2018-09-09 Thread Bastiaan Veelo via Digitalmars-d
My entry for the #dbugfix campaign[1]: https://issues.dlang.org/show_bug.cgi?id=17508 This makes building ddox / scod documentation impossible on Windows. Reporting date: 2017-06-15 There exists a similar optlink issue (duplicate?) also in linking vibe.d, reported 2015-10-17: https://issue

Re: #dbugfix 17508 - optlink 8.00.17 crash at EIP=0040F60A

2018-09-09 Thread tide via Digitalmars-d
On Sunday, 9 September 2018 at 11:52:31 UTC, Bastiaan Veelo wrote: My entry for the #dbugfix campaign[1]: https://issues.dlang.org/show_bug.cgi?id=17508 This makes building ddox / scod documentation impossible on Windows. Reporting date: 2017-06-15 There exists a similar optlink issue (dupl

Re: This is why I don't use D.

2018-09-09 Thread Guillaume Piolat via Digitalmars-d
On Saturday, 8 September 2018 at 23:33:42 UTC, Nick Sabalausky (Abscissa) wrote: I can't speak for anyone else but it looks to me as a realistic way to have it. You can also donate to Adam for http://dpldocs.info/, it has interesting things like cross-package search (search ALL of code.dlang.or

Re: This is why I don't use D.

2018-09-09 Thread 0xEAB via Digitalmars-d
On Saturday, 8 September 2018 at 18:10:50 UTC, Jonathan M Davis wrote: A related issue is projects that have dependencies outside of D itself - for instance, a project that wraps GTK or Qt or something C or C++ library [...] These problems aren't necessarily insurmountable, but they do compl

Re: This is why I don't use D.

2018-09-09 Thread Nerve via Digitalmars-d
On Wednesday, 5 September 2018 at 00:49:36 UTC, Everlast wrote: Really, D wins on very few metrics but the D fanboys will only focus on those. If D wants to survive it better get people willing to help it, making their lives more difficult when there are far better options out there will only

Need advice on variable expansion behavior

2018-09-09 Thread Petar via Digitalmars-d
Hi all, Mathias LANG and me have been working on fixing a regression in Dub's variable expansion implementation [1]. Background: In order to support use cases where a variable is used as a prefix or suffix in an identifier-like strings (e.g. build/${DUB_PACKAGE}_${DUB_PLATFORM}_${DUB_ARCH}),

Re: Will the core.stdc module be updated for newer versions of C?

2018-09-09 Thread Laurent Tréguier via Digitalmars-d
On Saturday, 8 September 2018 at 01:12:30 UTC, solidstate1991 wrote: While for the most part it still works very well, however when porting Mago I found a few functions that are not present in C99 (most notably wcsncpy_s). While I can write my own functions to do the same (already done this w

Re: Source changes should include date of change

2018-09-09 Thread Neia Neutuladh via Digitalmars-d
On Sunday, 9 September 2018 at 04:37:48 UTC, Josphe Brigmo wrote: If git would automatically do the dates It does. To get changes for a whole file: git log filename To get changes for part of a file: git log -L startLine,endLine filename There are formatting options for git log to pare

Re: John Regehr on "Use of Assertions"

2018-09-09 Thread John Carter via Digitalmars-d
On Sunday, 9 September 2018 at 09:01:28 UTC, Ola Fosheim Grøstad wrote: Let's face it, the term "assert" has been poisoned by decades of ambiguity. There is really no ambiguity... The terminology is widespread and well understood across the field I think. Ahh, I so, so wish what you said w

Re: rund users welcome

2018-09-09 Thread Jonathan Marler via Digitalmars-d
On Sunday, 9 September 2018 at 09:55:19 UTC, Vladimir Panteleev wrote: On Sunday, 9 September 2018 at 04:32:32 UTC, Jonathan Marler - The .d extension is not implied, like for dmd/rdmd I haven't come up with any reasons to support this. Maybe you can enlighten me? "rund prog" is shorter an

Re: rund users welcome

2018-09-09 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 09/09/2018 12:32 AM, Jonathan Marler wrote: On Sunday, 9 September 2018 at 03:33:49 UTC, Vladimir Panteleev wrote: - No --main, though that can probably be substituted with -main Yeah, I don't see any reason to duplicate the flag already supported by dmd.  Maybe there's a reason I'm not aw

Re: More fun with autodecoding

2018-09-09 Thread Steven Schveighoffer via Digitalmars-d
On 9/8/18 8:36 AM, Steven Schveighoffer wrote: Sent this when I was on a plane, and for some reason it posted with the timestamp when I hit "send later", not when I connected just now. So this is to bring the previous message back to the forefront. -Steve

Re: More fun with autodecoding

2018-09-09 Thread Steven Schveighoffer via Digitalmars-d
On 8/9/18 2:44 AM, Walter Bright wrote: On 8/8/2018 2:01 PM, Steven Schveighoffer wrote: Here's where I'm struggling -- because a string provides indexing, slicing, length, etc. but Phobos ignores that. I can't make a new type that does the same thing. Not only that, but I'm finding the specia

Re: code.dlang.org package list

2018-09-09 Thread Neia Neutuladh via Digitalmars-d
On Sunday, 9 September 2018 at 06:32:39 UTC, Jonathan M Davis wrote: What would you expect that to tell you? ddoc doesn't require any kind of doc folder (though some projects would have one for custom ddoc files that then affect how the documentation looks), and usually, the best way to handle

Re: code.dlang.org package list

2018-09-09 Thread void via Digitalmars-d
On Sunday, 9 September 2018 at 06:32:39 UTC, Jonathan M Davis wrote: On Saturday, September 8, 2018 8:36:26 PM MDT void via Digitalmars-d wrote: On Sunday, 9 September 2018 at 01:30:14 UTC, Neia Neutuladh wrote: > On Sunday, 9 September 2018 at 00:20:04 UTC, void wrote: >> [...] > > https://cod

Re: This is why I don't use D.

2018-09-09 Thread Neia Neutuladh via Digitalmars-d
On Wednesday, 5 September 2018 at 05:44:38 UTC, H. S. Teoh wrote: To me, this strongly suggests the following idea: - add *all* dlang.org packages to our current autotester / CI infrastructure. - if a particular (version of a) package builds successfully, log the compiler version / git hash

Re: This is why I don't use D.

2018-09-09 Thread H. S. Teoh via Digitalmars-d
On Mon, Sep 10, 2018 at 01:27:20AM +, Neia Neutuladh via Digitalmars-d wrote: > On Wednesday, 5 September 2018 at 05:44:38 UTC, H. S. Teoh wrote: > > To me, this strongly suggests the following idea: > > - add *all* dlang.org packages to our current autotester / CI > > infrastructure. > > -

Re: More fun with autodecoding

2018-09-09 Thread Jon Degenhardt via Digitalmars-d
On Saturday, 8 September 2018 at 15:36:25 UTC, Steven Schveighoffer wrote: On 8/9/18 2:44 AM, Walter Bright wrote: On 8/8/2018 2:01 PM, Steven Schveighoffer wrote: Here's where I'm struggling -- because a string provides indexing, slicing, length, etc. but Phobos ignores that. I can't make a n