Re: combine dlang/tools into a single (or a few) binaries

2016-09-23 Thread ketmar via Digitalmars-d
On Saturday, 24 September 2016 at 05:19:39 UTC, rikki cattermole wrote: On 24/09/2016 5:11 PM, ketmar wrote: On Saturday, 24 September 2016 at 04:54:51 UTC, rikki cattermole wrote: I'd suggest dlangtools instead. exactly the thing virtually nobody will type even with autocompletion. Bingo!

Re: combine dlang/tools into a single (or a few) binaries

2016-09-23 Thread rikki cattermole via Digitalmars-d
On 24/09/2016 5:11 PM, ketmar wrote: On Saturday, 24 September 2016 at 04:54:51 UTC, rikki cattermole wrote: I'd suggest dlangtools instead. exactly the thing virtually nobody will type even with autocompletion. Bingo! No reason for us to invite name conflicts.

Re: Unum II announcement

2016-09-23 Thread Nick B via Digitalmars-d
On Wednesday, 17 August 2016 at 16:03:22 UTC, H. S. Teoh wrote: On Wed, Aug 17, 2016 at 03:44:48AM +, Nick B via Digitalmars-d wrote: On Monday, 15 August 2016 at 00:42:16 UTC, H. S. Teoh wrote: [...] > Thanks to operator overloading and alias this, we can > probably do a pretty good job

Re: combine dlang/tools into a single (or a few) binaries

2016-09-23 Thread ketmar via Digitalmars-d
On Saturday, 24 September 2016 at 04:54:51 UTC, rikki cattermole wrote: I'd suggest dlangtools instead. exactly the thing virtually nobody will type even with autocompletion.

Re: Unum II announcement

2016-09-23 Thread Nick B via Digitalmars-d
On Wednesday, 17 August 2016 at 11:34:15 UTC, Seb wrote: If you want Andrei or Walter's opinion on whether they could in principle imagine Unum as part of Phobos or even the language, you should ping them directly via mail. Agreed.

Re: combine dlang/tools into a single (or a few) binaries

2016-09-23 Thread rikki cattermole via Digitalmars-d
On 24/09/2016 9:47 AM, Timothee Cour via Digitalmars-d wrote: instead of having multiple binaries polluting global namespace what about combining them into: dtools --catdoc dtools --changed etc with maybe exception of a few such as rdmd advantages: less pollution of global namespace, smaller

Re: May be a simple dub answer if my question even makes sense?

2016-09-23 Thread rikki cattermole via Digitalmars-d-learn
On 24/09/2016 2:33 PM, WhatMeWorry wrote: I have D opengl/glfw3 program that I wrote which compiles and runs fine, but I always felt it was a bit of a Visual Studio hack. So I thought I'd start anew but this time use dub from the get go. So I did dub int...etc. And put my existing code into

Re: How to link *.a file on Windows?

2016-09-23 Thread Basile B. via Digitalmars-d
On Friday, 23 September 2016 at 06:27:20 UTC, Brian wrote: how to static link libmemcached.lib? Just pass the filename to the compiler as if it's a ".d" source and put the path to the sources root with -I dmd app.d libmemcached.lib -Ipath/to/memcached/interface/

Re: What's up with the assert enhancements proposed years ago?

2016-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2016 11:47 PM, Nick Sabalausky wrote: On 09/23/2016 07:57 PM, Jonathan M Davis via Digitalmars-d wrote: On Friday, September 23, 2016 16:57:49 Nick Sabalausky via Digitalmars-d wrote: So...umm...yea...whatever happened to that beefed-up "assert" feature? [...] Ugh, so, "It was

Re: What's up with the assert enhancements proposed years ago?

2016-09-23 Thread Nick Sabalausky via Digitalmars-d
On 09/23/2016 07:57 PM, Jonathan M Davis via Digitalmars-d wrote: On Friday, September 23, 2016 16:57:49 Nick Sabalausky via Digitalmars-d wrote: So...umm...yea...whatever happened to that beefed-up "assert" feature? [...] Ugh, so, "It was rejected for being library instead of assert,

Interesting talk about language design and evolution

2016-09-23 Thread Martin Nowak via Digitalmars-d
A somewhat lengthy but very interesting talk about the tradeoffs for language design and evolution. [CppCon 2016: Bjarne Stroustrup "The Evolution of C++ Past, Present and Future"](https://www.youtube.com/watch?v=_wzc7a3McOs) In particular the part about direction

[Issue 16532] New: Add "namespace" Keyword?

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16532 Issue ID: 16532 Summary: Add "namespace" Keyword? Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity:

Re: Diet-NG 1.0.0 released

2016-09-23 Thread Martin Nowak via Digitalmars-d-announce
On Friday, 23 September 2016 at 11:47:23 UTC, Sönke Ludwig wrote: The Diet template language is aimed at providing a way to define procedurally generated HTML/XML pages (or other output formats), with minimal visual noise. Syntax and feature set are heavily inspired by pug

May be a simple dub answer if my question even makes sense?

2016-09-23 Thread WhatMeWorry via Digitalmars-d-learn
I have D opengl/glfw3 program that I wrote which compiles and runs fine, but I always felt it was a bit of a Visual Studio hack. So I thought I'd start anew but this time use dub from the get go. So I did dub int...etc. And put my existing code into the app.d file. But when I try to

[Issue 11657] Pass array literal to typesafe variadic argument on stack

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11657 --- Comment #4 from Martin Nowak --- (In reply to Martin Nowak from comment #3) > Well the hole is called bug 5212 :). issue 5212 --

[Issue 5212] no escape analysis for typesafe variadic function arguments

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5212 --- Comment #17 from Martin Nowak --- (In reply to Martin Nowak from comment #16) > We should probably enforce (or automatically) add scope to typesafe variadic > arguments. I guess enforcing an explicit scope annotation would make the

Re: Diet-NG 1.0.0 released

2016-09-23 Thread Jinx via Digitalmars-d-announce
On Friday, 23 September 2016 at 11:47:23 UTC, Sönke Ludwig wrote: The Diet template language is aimed at providing a way to define procedurally generated HTML/XML pages (or other output formats), with minimal visual noise. Syntax and feature set are heavily inspired by pug

Re: Documentation unittests are seriously awesome

2016-09-23 Thread Andrei Alexandrescu via Digitalmars-d
On 09/23/2016 04:42 PM, Nick Sabalausky wrote: Just had to say it. Been using it a lot this week. Referring to this stuff: /// Does foo stuff void foo() {} /// unittest { // Tests and docs in one, 2-for-1 win! } And all just

Re: What's up with the assert enhancements proposed years ago?

2016-09-23 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 23, 2016 16:57:49 Nick Sabalausky via Digitalmars-d wrote: > Some ages ago, a whole suite of "assertPred" functions were written > (giving better diagnostic info, like showing "expected vs actual"), were > totally awesome, were submitted to phobos...and were rejected because

Re: Argumnentation against external function operator overloading is unconvincing

2016-09-23 Thread Timon Gehr via Digitalmars-d
On 23.09.2016 12:44, Stefan Koch wrote: On Friday, 23 September 2016 at 08:50:56 UTC, Timon Gehr wrote: FQN disables UFCS. Nothing specific to operators here. There is no reason why there should be any difference between a + b and a.opBinary!"+"(b). In fact, 2.opBinary!"+"(3) should work too.

Re: What's up with the assert enhancements proposed years ago?

2016-09-23 Thread Seb via Digitalmars-d
On Friday, 23 September 2016 at 20:57:49 UTC, Nick Sabalausky wrote: Some ages ago, a whole suite of "assertPred" functions were written (giving better diagnostic info, like showing "expected vs actual"), were totally awesome, were submitted to phobos...and were rejected because it was deemed

Re: Documentation unittests are seriously awesome

2016-09-23 Thread H. S. Teoh via Digitalmars-d
On Fri, Sep 23, 2016 at 04:42:26PM -0400, Nick Sabalausky via Digitalmars-d wrote: > Just had to say it. Been using it a lot this week. > > Referring to this stuff: > > > /// Does foo stuff > void foo() > {} > > /// > unittest > { > // Tests and docs in one,

combine dlang/tools into a single (or a few) binaries

2016-09-23 Thread Timothee Cour via Digitalmars-d
instead of having multiple binaries polluting global namespace what about combining them into: dtools --catdoc dtools --changed etc with maybe exception of a few such as rdmd advantages: less pollution of global namespace, smaller overall size (binaries duplicate code), more opportunities for

Re: Vibe.d help

2016-09-23 Thread Gestalt Theory via Digitalmars-d-learn
On Thursday, 22 September 2016 at 09:14:46 UTC, Martin Tschierschke wrote: On Thursday, 22 September 2016 at 01:38:12 UTC, Gestalt Theory wrote: 3. How to serve static files properly? sendFile(req, res, Path(req.path)); Does the trick inside the handler. @5. There is a solution,

What's up with the assert enhancements proposed years ago?

2016-09-23 Thread Nick Sabalausky via Digitalmars-d
Some ages ago, a whole suite of "assertPred" functions were written (giving better diagnostic info, like showing "expected vs actual"), were totally awesome, were submitted to phobos...and were rejected because it was deemed both easy enough and preferable to get these features by modifying

Documentation unittests are seriously awesome

2016-09-23 Thread Nick Sabalausky via Digitalmars-d
Just had to say it. Been using it a lot this week. Referring to this stuff: /// Does foo stuff void foo() {} /// unittest { // Tests and docs in one, 2-for-1 win! } And all just built-in. Freaking sweet.

Re: topN using a heap

2016-09-23 Thread Jon Degenhardt via Digitalmars-d
On Friday, 23 September 2016 at 16:09:18 UTC, Andrei Alexandrescu wrote: BTW, as I commented in https://issues.dlang.org/show_bug.cgi?id=16517, using the new topN implementation instead of sort to compute the median over google's 1-grams is over 11x faster using dmd. That's a very nice

Re: Diet-NG 1.0.0 released

2016-09-23 Thread NVolcz via Digitalmars-d-announce
On Friday, 23 September 2016 at 11:47:23 UTC, Sönke Ludwig wrote: The Diet template language is aimed at providing a way to define procedurally generated HTML/XML pages (or other output formats), with minimal visual noise. Syntax and feature set are I would like to see a html to diet

[Issue 11135] Nullable(T, T nullValue) does not support NaN

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11135 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/0efa1d3bf92bcaa6c4a99cad0b574185a537906a workaround for bug 11135 (typecons.Nullable)

Re: Member not accessible in delegate body

2016-09-23 Thread Yuxuan Shui via Digitalmars-d-learn
On Friday, 23 September 2016 at 15:29:43 UTC, Rene Zwanenburg wrote: On Friday, 23 September 2016 at 07:54:15 UTC, John C wrote: How is it possible that "onTextChanged" isn't accessible but the private method "changeSize" *is*? Smells like an oversight. I guess the compiler doesn't see the

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 09/23/2016 02:14 PM, Ali Çehreli wrote: On 09/23/2016 06:28 AM, Ilya Yaroshenko wrote: Could someone with big reddit rating please post the link there? (maybe Andrei?) Shall we wait until Monday morning so that you have time to update the blog and it has more impact on Reddit? :) Yah

[Issue 16531] Protected members not accessible in delegate bodies

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16531 --- Comment #1 from John Chapman --- Forgot crucial detail that the error appears when Label is defined in a separate module from Control. --

Re: grpc

2016-09-23 Thread timotheecour via Digitalmars-d
On Monday, 30 November 2015 at 14:55:53 UTC, yawniek wrote: would anyone be interested in doing the work for adding D / vibe.d to https://github.com/grpc/grpc ? we currently lack the manpower but would be able to sponsor it (or parts, depending on the effort needed). grpc is probably going

Re: Member not accessible in delegate body

2016-09-23 Thread John C via Digitalmars-d-learn
On Friday, 23 September 2016 at 18:20:24 UTC, Martin Nowak wrote: Please file a bug report issues.dlang.org, shouldn't be difficult to fix. Done: https://issues.dlang.org/show_bug.cgi?id=16531

[Issue 16531] New: Protected members not accessible in delegate bodies

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16531 Issue ID: 16531 Summary: Protected members not accessible in delegate bodies Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal

Re: Proof of concept - library AA

2016-09-23 Thread Andrei Alexandrescu via Digitalmars-d
On 09/23/2016 03:39 AM, Martin Nowak wrote: On Sunday, 24 May 2015 at 14:13:26 UTC, Martin Nowak wrote: Would be interesting to get some opinions on this. https://github.com/D-Programming-Language/druntime/pull/1282 Bringing up this topic again b/c there was still almost no feedback on the

Re: topN using a heap

2016-09-23 Thread Andrei Alexandrescu via Digitalmars-d
On 09/23/2016 11:40 AM, Stefan Koch wrote: On Friday, 23 September 2016 at 15:30:20 UTC, Andrei Alexandrescu wrote: Work is blocked by https://issues.dlang.org/show_bug.cgi?id=16528, which is quite a head-scratcher. Any ideas for a workaround? Thanks! -- Andrei annotate the templates.

Re: Proof of concept - library AA

2016-09-23 Thread H. S. Teoh via Digitalmars-d
On Fri, Sep 23, 2016 at 06:33:52PM +, Martin Nowak via Digitalmars-d wrote: > On Friday, 23 September 2016 at 15:17:26 UTC, jmh530 wrote: > > On Friday, 23 September 2016 at 07:39:01 UTC, Martin Nowak wrote: > > Is there any benefit to adding new operator overloading to handle > > this case,

[Issue 16528] @safe inference does not work for mutually recursive functions

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16528 Lodovico Giaretta changed: What|Removed |Added CC|

Re: Proof of concept - library AA

2016-09-23 Thread Martin Nowak via Digitalmars-d
On Friday, 23 September 2016 at 15:17:26 UTC, jmh530 wrote: On Friday, 23 September 2016 at 07:39:01 UTC, Martin Nowak wrote: Is there any benefit to adding new operator overloading to handle this case, like a opValueAssign instead of opIndexAssign ? Maybe, making the two implementations

Re: Member not accessible in delegate body

2016-09-23 Thread Martin Nowak via Digitalmars-d-learn
On Friday, 23 September 2016 at 07:54:15 UTC, John C wrote: If I try to call the protected method of a superclass from inside the body of a delegate, the compiler won't allow it. void layoutTransaction(Control c, void delegate() action) { // do stuff action(); // do more stuff } class

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 23 September 2016 at 18:14:37 UTC, Ali Çehreli wrote: On 09/23/2016 06:28 AM, Ilya Yaroshenko wrote: Could someone with big reddit rating please post the link there? (maybe Andrei?) Shall we wait until Monday morning so that you have time to update the blog and it has more impact

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread Ali Çehreli via Digitalmars-d-announce
On 09/23/2016 06:28 AM, Ilya Yaroshenko wrote: Could someone with big reddit rating please post the link there? (maybe Andrei?) Shall we wait until Monday morning so that you have time to update the blog and it has more impact on Reddit? :) Ali

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 23 September 2016 at 16:48:33 UTC, kinke wrote: On Friday, 23 September 2016 at 15:01:28 UTC, jmh530 wrote: On Friday, 23 September 2016 at 13:25:30 UTC, Ilya Yaroshenko wrote: Benchmark: http://blog.mir.dlang.io/glas/benchmark/openblas/2016/09/23/glas-gemm-benchmark.html Great

Codegen error with -O -cov

2016-09-23 Thread Andrei Alexandrescu via Digitalmars-d
https://issues.dlang.org/show_bug.cgi?id=16530 Workaround: use "ref" for the iteration variable. -- Andrei

[Issue 16530] New: -O -cov interaction leads to wrong codegen

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16530 Issue ID: 16530 Summary: -O -cov interaction leads to wrong codegen Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: critical

[Issue 16528] @safe inference does not work for mutually recursive functions

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16528 John Colvin changed: What|Removed |Added CC|

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread kinke via Digitalmars-d-announce
On Friday, 23 September 2016 at 15:01:28 UTC, jmh530 wrote: On Friday, 23 September 2016 at 13:25:30 UTC, Ilya Yaroshenko wrote: Benchmark: http://blog.mir.dlang.io/glas/benchmark/openblas/2016/09/23/glas-gemm-benchmark.html Great work. +1. Please also provide the used compilers for

[Issue 16529] New: string mixins break ifti

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16529 Issue ID: 16529 Summary: string mixins break ifti Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1

[Issue 16517] topN performance very poor on certain data sets

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16517 --- Comment #2 from Andrei Alexandrescu --- More measurements: $ cut -f 3 /tmp/googlebooks-eng-all-1gram-20120701-0 | ./median_by_sort median (via sort): 3; lines: 10512769; total time (ms): 2046; sort time (ms): 408 $ cut -f 3

[Issue 16517] topN performance very poor on certain data sets

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16517 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com

Re: topN using a heap

2016-09-23 Thread Andrei Alexandrescu via Digitalmars-d
On 09/23/2016 11:40 AM, Stefan Koch wrote: On Friday, 23 September 2016 at 15:30:20 UTC, Andrei Alexandrescu wrote: Work is blocked by https://issues.dlang.org/show_bug.cgi?id=16528, which is quite a head-scratcher. Any ideas for a workaround? Thanks! -- Andrei annotate the templates. I

Re: topN using a heap

2016-09-23 Thread Stefan Koch via Digitalmars-d
On Friday, 23 September 2016 at 15:30:20 UTC, Andrei Alexandrescu wrote: Work is blocked by https://issues.dlang.org/show_bug.cgi?id=16528, which is quite a head-scratcher. Any ideas for a workaround? Thanks! -- Andrei annotate the templates.

Re: topN using a heap

2016-09-23 Thread Andrei Alexandrescu via Digitalmars-d
Work is blocked by https://issues.dlang.org/show_bug.cgi?id=16528, which is quite a head-scratcher. Any ideas for a workaround? Thanks! -- Andrei

Re: Member not accessible in delegate body

2016-09-23 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 23 September 2016 at 07:54:15 UTC, John C wrote: How is it possible that "onTextChanged" isn't accessible but the private method "changeSize" *is*? Smells like an oversight. I guess the compiler doesn't see the delegate as a member of a Control subclass, so it can't access

[Issue 16528] New: @safe inference does not work for mutually recursive functions

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16528 Issue ID: 16528 Summary: @safe inference does not work for mutually recursive functions Product: D Version: D2 Hardware: x86_64 OS: All Status: NEW

Re: Vibe.d compilation error: backend/cgelem.c 5018 dmd failed with exit code 1.

2016-09-23 Thread Rene Zwanenburg via Digitalmars-d-learn
On Friday, 23 September 2016 at 08:39:44 UTC, llaine wrote: Okay I tried yesterday, after 4hours of process, I never went through the end of minification. At the beginning I enter YES should I enter NO instead? Hmm that's strange. I don't get any yes or no questions. What is the exact

Re: Proof of concept - library AA

2016-09-23 Thread jmh530 via Digitalmars-d
On Friday, 23 September 2016 at 07:39:01 UTC, Martin Nowak wrote: Bringing up this topic again b/c there was still almost no feedback on the actual plan. Is there any benefit to adding new operator overloading to handle this case, like a opValueAssign instead of opIndexAssign ?

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread jmh530 via Digitalmars-d-announce
On Friday, 23 September 2016 at 13:25:30 UTC, Ilya Yaroshenko wrote: Benchmark: http://blog.mir.dlang.io/glas/benchmark/openblas/2016/09/23/glas-gemm-benchmark.html Great work.

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 23 September 2016 at 14:55:02 UTC, John Colvin wrote: On Friday, 23 September 2016 at 13:25:30 UTC, Ilya Yaroshenko wrote: Mir is LLVM-accelerated Generic Numerical Library for Science and Machine Learning. Benchmark:

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread John Colvin via Digitalmars-d-announce
On Friday, 23 September 2016 at 13:25:30 UTC, Ilya Yaroshenko wrote: Mir is LLVM-accelerated Generic Numerical Library for Science and Machine Learning. Benchmark: http://blog.mir.dlang.io/glas/benchmark/openblas/2016/09/23/glas-gemm-benchmark.html Mir v0.18.0 release notes:

Re: we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread Chris Wright via Digitalmars-d
On Friday, 23 September 2016 at 11:08:51 UTC, Brian wrote: But the community is so cold? You have mentioned your flatbuffer library once. In that post, you did not mention what it's about or why we might be interested in it. Now, four months later, you come here to berate us for not jumping

[Issue 16527] New: extern( C++ ) Win64 build - return struct by value is broken

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16527 Issue ID: 16527 Summary: extern( C++ ) Win64 build - return struct by value is broken Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread Joakim via Digitalmars-d-announce
On Friday, 23 September 2016 at 13:25:30 UTC, Ilya Yaroshenko wrote: Mir is LLVM-accelerated Generic Numerical Library for Science and Machine Learning. Benchmark: http://blog.mir.dlang.io/glas/benchmark/openblas/2016/09/23/glas-gemm-benchmark.html Mir v0.18.0 release notes:

Re: we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread rikki cattermole via Digitalmars-d
On 24/09/2016 2:14 AM, CRAIG DILLABAUGH wrote: On Friday, 23 September 2016 at 11:08:51 UTC, Brian wrote: the pull request: https://github.com/google/flatbuffers/pull/3856 We are putao's huntstudio! We help D language to develop some component support. but, not have yours support??? Long

Re: we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread CRAIG DILLABAUGH via Digitalmars-d
On Friday, 23 September 2016 at 11:08:51 UTC, Brian wrote: the pull request: https://github.com/google/flatbuffers/pull/3856 We are putao's huntstudio! We help D language to develop some component support. but, not have yours support??? Long before they have been submitted, but they have not

Re: Argumnentation against external function operator overloading is unconvincing

2016-09-23 Thread Jonathan M Davis via Digitalmars-d
On Friday, September 23, 2016 13:47:06 Sai via Digitalmars-d wrote: > > The greatest offender I've found is how in phobos, arrays do > > not behave as ranges without importing the module defining > > their range operations. > > Could you please tell me what module is it? is it std.array? It was,

Re: Argumnentation against external function operator overloading is unconvincing

2016-09-23 Thread Sai via Digitalmars-d
The greatest offender I've found is how in phobos, arrays do not behave as ranges without importing the module defining their range operations. Could you please tell me what module is it? is it std.array?

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread Ilya Yaroshenko via Digitalmars-d-announce
On Friday, 23 September 2016 at 13:31:35 UTC, Guillaume Piolat wrote: On Friday, 23 September 2016 at 13:25:30 UTC, Ilya Yaroshenko wrote: Benchmark: http://blog.mir.dlang.io/glas/benchmark/openblas/2016/09/23/glas-gemm-benchmark.html Nice but you should explain how to reproduce the results,

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread Guillaume Piolat via Digitalmars-d-announce
On Friday, 23 September 2016 at 13:25:30 UTC, Ilya Yaroshenko wrote: Benchmark: http://blog.mir.dlang.io/glas/benchmark/openblas/2016/09/23/glas-gemm-benchmark.html Nice but you should explain how to reproduce the results, if only to give more credit to the post.

Re: Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread Ilya Yaroshenko via Digitalmars-d-announce
Could someone with big reddit rating please post the link there? (maybe Andrei?)

Numerical age for D: Mir v0.18.0 is faster then OpenBLAS

2016-09-23 Thread Ilya Yaroshenko via Digitalmars-d-announce
Mir is LLVM-accelerated Generic Numerical Library for Science and Machine Learning. Benchmark: http://blog.mir.dlang.io/glas/benchmark/openblas/2016/09/23/glas-gemm-benchmark.html Mir v0.18.0 release notes: https://github.com/libmir/mir/releases/tag/v0.18.0 The release includes Mir's D

The Origins of Learning D

2016-09-23 Thread Mike Parker via Digitalmars-d-announce
I thought I'd go with a bit of light reading on the blog this week, as there are a few heavy-duty posts in the pipeline. The origin stories of two of the published (modern) D books have already been posted to the D blog ([1] and [2]). This week I've contributed a post on my own 'Learning D'.

Re: Meta-programming: iterating over a container with different types

2016-09-23 Thread deed via Digitalmars-d-learn
On Friday, 23 September 2016 at 09:21:56 UTC, Claude wrote: ... // Maybe you can try using std.variant? import std.variant; alias Component = Variant; class Entity { void register (Component v) { components ~= v; } void unregister (T) () { foreach (i, c; components) if

Re: [OT] Re: Why I am switching to Go

2016-09-23 Thread Chris via Digitalmars-d
On Friday, 23 September 2016 at 01:52:51 UTC, Nick Sabalausky wrote: They've now renamed Syphilis, et al. after Subaru's highest-end Impreza? *shakes head*. Who wants to bet *that* little bit of PC rubble-bouncing was spearheaded by someone with a vested interest in the Viper or Corvette or

Re: [OT] Punctuation of "Params:" and "Returns:"

2016-09-23 Thread Andrei Alexandrescu via Digitalmars-d
On 9/23/16 2:17 AM, Mike Parker wrote: On a related note, I recommend anyone who frequently writes (no matter the context -- software docs included) to read Steven Pinker's 'The Sense of Style' [1]. It's practical advice for modern writing that, IMO, does more to destroy Strunk & White (in a

Re: [OT] Punctuation of "Params:" and "Returns:"

2016-09-23 Thread Claude via Digitalmars-d
On Thursday, 22 September 2016 at 18:26:15 UTC, Andrei Alexandrescu wrote: Parameters: r | The range subject to partitioning. Returns: Something awesome. This is incorrect because one is not supposed to punctuate sentence fragments as full sentences. Next attempt: I also prefer that

Diet-NG 1.0.0 released

2016-09-23 Thread Sönke Ludwig via Digitalmars-d-announce
The Diet template language is aimed at providing a way to define procedurally generated HTML/XML pages (or other output formats), with minimal visual noise. Syntax and feature set are heavily inspired by pug , but instead of JavaScript, all expressions and statements are D

Re: we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread Dicebot via Digitalmars-d
On Friday, 23 September 2016 at 11:15:32 UTC, rikki cattermole wrote: I pushed a lot of code and tests to your PR, I don't really know whats missing now. imo its usable already but they don't merge it "Need a CLA for one or more commit authors" Also "Still see no documentation, for

Re: we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread rikki cattermole via Digitalmars-d
On 23/09/2016 11:12 PM, WebFreak001 wrote: On Friday, 23 September 2016 at 11:08:51 UTC, Brian wrote: the pull request: https://github.com/google/flatbuffers/pull/3856 We are putao's huntstudio! We help D language to develop some component support. but, not have yours support??? Long before

Re: we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread WebFreak001 via Digitalmars-d
On Friday, 23 September 2016 at 11:08:51 UTC, Brian wrote: the pull request: https://github.com/google/flatbuffers/pull/3856 We are putao's huntstudio! We help D language to develop some component support. but, not have yours support??? Long before they have been submitted, but they have not

Re: we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread rikki cattermole via Digitalmars-d
On 23/09/2016 11:08 PM, Brian wrote: the pull request: https://github.com/google/flatbuffers/pull/3856 We are putao's huntstudio! We help D language to develop some component support. but, not have yours support??? Long before they have been submitted, but they have not been merged into the

[Issue 15939] GC.collect causes deadlock in multi-threaded environment

2016-09-23 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15939 --- Comment #25 from Martin Nowak --- (In reply to Aleksei Preobrazhenskii from comment #24) > Since I changed signals to real-time and migrated to recent kernel I haven't > seen that issue in the release builds, however, I tried

we push flatbuffers for dlang support, no one to help?

2016-09-23 Thread Brian via Digitalmars-d
the pull request: https://github.com/google/flatbuffers/pull/3856 We are putao's huntstudio! We help D language to develop some component support. but, not have yours support??? Long before they have been submitted, but they have not been merged into the branch, flatbuffers is a part of the

Re: Argumnentation against external function operator overloading is unconvincing

2016-09-23 Thread Stefan Koch via Digitalmars-d
On Friday, 23 September 2016 at 08:50:56 UTC, Timon Gehr wrote: FQN disables UFCS. Nothing specific to operators here. There is no reason why there should be any difference between a + b and a.opBinary!"+"(b). In fact, 2.opBinary!"+"(3) should work too. Currently this is tricky to

Meta-programming: iterating over a container with different types

2016-09-23 Thread Claude via Digitalmars-d-learn
It's more a general meta-programming question than a specific D stuff. For an entity-component engine, I am trying to do some run-time composition: registering a certain type (component) to a structure (entity). I would like to know how I can iterate an entity and get the different type

Re: [OT] Punctuation of "Params:" and "Returns:"

2016-09-23 Thread Jack Stouffer via Digitalmars-d
On Thursday, 22 September 2016 at 18:26:15 UTC, Andrei Alexandrescu wrote: We need to zero in on one good style and use it throughout. Why? Shouldn't the main focus be intelligibility rather than being grammatically correct? I really don't think there should be a hard and fast rule for

Re: [OT] Music to Program Compilers To

2016-09-23 Thread Claude via Digitalmars-d
There are a lot metal fans in here. :) When I code, I listen most of time psychedelic 70's stuff: - Pink Floyd - Led Zeppelin - Lynyrd Skynyrd - Queen - ACDC - Black Sabbath - Rammstein - Robert Wyatt - Renaud Most of the time, I prefer early stuff... When band members don't die chocking in

Re: Argumnentation against external function operator overloading is unconvincing

2016-09-23 Thread Timon Gehr via Digitalmars-d
On 22.09.2016 10:44, Jonathan M Davis via Digitalmars-d wrote: On Thursday, September 22, 2016 00:14:52 H. S. Teoh via Digitalmars-d wrote: Normally this isn't a problem (D's module system will trigger an overload conflict and require explicit FQN to unambiguously select the right overload),

undeaD is now an official D repository!

2016-09-23 Thread Walter Bright via Digitalmars-d-announce
https://github.com/dlang/undeaD Need an obsolete Phobos module? Here they are, back from the dead and upgraded to work with the latest D Current modules included: std.bitarray std.date std.datebase std.dateparse std.regexp std.stream and friends --- Thanks to Martin Nowak for his help

Re: Vibe.d compilation error: backend/cgelem.c 5018 dmd failed with exit code 1.

2016-09-23 Thread llaine via Digitalmars-d-learn
On Thursday, 22 September 2016 at 14:40:10 UTC, Saurabh Das wrote: On Thursday, 22 September 2016 at 10:44:29 UTC, llaine wrote: dub dustmite ./dustmite_output/ --compiler-regex="Internal Error" -b release Okay I tried yesterday, after 4hours of process, I never went through the end of

Re: Proof of concept - library AA

2016-09-23 Thread mate via Digitalmars-d
On Friday, 23 September 2016 at 07:56:02 UTC, Daniel Kozak wrote: What is wrong with built-in AAs? And what advantages comes with library AAs? http://forum.dlang.org/post/uybkxmjlpswufhiwc...@forum.dlang.org

Re: Proof of concept - library AA

2016-09-23 Thread Daniel Kozak via Digitalmars-d
Dne 23.9.2016 v 09:39 Martin Nowak via Digitalmars-d napsal(a): On Sunday, 24 May 2015 at 14:13:26 UTC, Martin Nowak wrote: Would be interesting to get some opinions on this. https://github.com/D-Programming-Language/druntime/pull/1282 Bringing up this topic again b/c there was still almost

Member not accessible in delegate body

2016-09-23 Thread John C via Digitalmars-d-learn
If I try to call the protected method of a superclass from inside the body of a delegate, the compiler won't allow it. void layoutTransaction(Control c, void delegate() action) { // do stuff action(); // do more stuff } class Control { protected void onTextChanged() {} } class Label :

Re: Proof of concept - library AA

2016-09-23 Thread Ilya Yaroshenko via Digitalmars-d
On Friday, 23 September 2016 at 07:39:01 UTC, Martin Nowak wrote: On Sunday, 24 May 2015 at 14:13:26 UTC, Martin Nowak wrote: Would be interesting to get some opinions on this. https://github.com/D-Programming-Language/druntime/pull/1282 Bringing up this topic again b/c there was still

Re: Proof of concept - library AA

2016-09-23 Thread Martin Nowak via Digitalmars-d
On Sunday, 24 May 2015 at 14:13:26 UTC, Martin Nowak wrote: Would be interesting to get some opinions on this. https://github.com/D-Programming-Language/druntime/pull/1282 Bringing up this topic again b/c there was still almost no feedback on the actual plan. Here is a summary. - built-in

Re: [OT] Punctuation of "Params:" and "Returns:"

2016-09-23 Thread Jacob Carlborg via Digitalmars-d
On 2016-09-22 20:26, Andrei Alexandrescu wrote: Parameters: r | the range subject to partitioning Returns: something awesome So now we don't use a leading capital and punctuation. The challenge here is when the parameter description takes more than one sentence: I use this style.

Re: Ocean v2.1.1 released

2016-09-23 Thread Daniel Kozak via Digitalmars-d-announce
On Friday, 23 September 2016 at 03:04:29 UTC, Chris Wright wrote: What does Ocean do? From github repo: Ocean is a general purpose library, compatible with both D1 and D2, with a focus on supporting the development of high-performance, real-time applications. This focus has led to several

Re: How to link *.a file on Windows?

2016-09-23 Thread Brian via Digitalmars-d
On Thursday, 22 September 2016 at 17:09:38 UTC, Brian wrote: I use cygwin build a C++ lib file: libmemcached.a but, how to link it to my dub project? My plan: 1.I use cygwin build libmemcached.dll 2.use def tools export libmemcached.def 3.use VS2015 dev tools convert libmemcached.dll to

Re: [OT] Punctuation of "Params:" and "Returns:"

2016-09-23 Thread Mike Parker via Digitalmars-d
On Thursday, 22 September 2016 at 18:26:15 UTC, Andrei Alexandrescu wrote: Parameters: r | The range subject to partitioning. Returns: Something awesome. This is incorrect because one is not supposed to punctuate sentence fragments as full sentences. Next attempt: This one. If

  1   2   >