Re: Bugzilla & PR sprint on the first weekend of every month

2018-05-08 Thread Meta via Digitalmars-d
On Tuesday, 8 May 2018 at 18:48:15 UTC, Seb wrote: What do you guys think about having a dedicated "Bugzilla & PR sprint" at the first weekend of very month? We could organize this a bit by posting the currently "hot" bugs a few days ahead and also make sure that there are plenty of

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/08/2018 05:05 AM, Cym13 wrote: I wouldn't say it's an abuse, the dot means exactly the same thing as everywhere else in the language. No, it really doesn't mean the same thing at all. Not when you look away from the unimportant implementation details and towards the big picture:

Re: Wait-free MPSC and MPMC implement in D

2018-05-08 Thread Shachar Shemesh via Digitalmars-d
On 09/05/18 01:09, David Nadlinger wrote: The algorithm isn't wait-free (haven't thought too carefully about this, though) This mirrors a discussion I had with Maor (who originally wrote it). Let's see if I bring you around the way I was brought around. At the API level, there are two areas

Re: Wait-free MPSC and MPMC implement in D

2018-05-08 Thread Shachar Shemesh via Digitalmars-d
On 09/05/18 03:20, Andy Smith wrote: During Shachar's talk on the Saturday morning following the conclusion of Dconf he made it clear that the Mecca library is being used by the ~200klock Weka.io codebase ... a codebase which has very stringent latency *and* throughput requirements to

[Issue 14536] Calling destroy() on a on an extern(C++) class causes a segfault

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14536 --- Comment #4 from Manu --- I dun a fix: https://github.com/dlang/druntime/pull/2176 Depends on: https://github.com/dlang/dmd/pull/8224 --

Re: Wait-free MPSC and MPMC implement in D

2018-05-08 Thread Shachar Shemesh via Digitalmars-d
On 08/05/18 07:00, manumaster wrote: Is there some implement like this in D ? https://github.com/pramalhe/ConcurrencyFreaks/blob/master/papers/multilist-2017.pdf It's two of Mecca's containers: https://weka-io.github.io/mecca/docs/mecca/containers/otm_queue.html

Re: Wait-free MPSC and MPMC implement in D

2018-05-08 Thread Andy Smith via Digitalmars-d
On Wednesday, 9 May 2018 at 01:30:09 UTC, David Nadlinger wrote: By the way, if anyone ends up testing/benchmarking this on non-TSO CPUs, I'd be curious to hear about the results. Me too! :-) Cheers, A.

Re: Wait-free MPSC and MPMC implement in D

2018-05-08 Thread David Nadlinger via Digitalmars-d
On Wednesday, 9 May 2018 at 00:20:39 UTC, Andy Smith wrote: What's MPSP? :-) Whoops, MPMC, of course. ;) And that wasn't even the only typo; I should know better than to post while distracted… So if any D codebase has got bragging rights on the term 'industry-grade' I think this has to be

Re: partially mutable immutable type problem, crazy idea

2018-05-08 Thread Yuxuan Shui via Digitalmars-d
On Wednesday, 9 May 2018 at 00:58:51 UTC, jmh530 wrote: On Tuesday, 8 May 2018 at 22:31:10 UTC, Yuxuan Shui wrote: snip] This doesn't compile for me on run.dlang.io: onlineapp.d(22): Error: template onlineapp.f cannot deduce function from argument types !()(B), candidates are:

Re: partially mutable immutable type problem, crazy idea

2018-05-08 Thread jmh530 via Digitalmars-d
On Tuesday, 8 May 2018 at 22:31:10 UTC, Yuxuan Shui wrote: snip] This doesn't compile for me on run.dlang.io: onlineapp.d(22): Error: template onlineapp.f cannot deduce function from argument types !()(B), candidates are: onlineapp.d(1):onlineapp.f(T)(immutable T a)

Re: Bugzilla & PR sprint on the first weekend of every month

2018-05-08 Thread Mike Franklin via Digitalmars-d
On Tuesday, 8 May 2018 at 18:48:15 UTC, Seb wrote: What do you guys think about having a dedicated "Bugzilla & PR sprint" at the first weekend of very month? We could organize this a bit by posting the currently "hot" bugs a few days ahead and also make sure that there are plenty of

Re: Wait-free MPSC and MPMC implement in D

2018-05-08 Thread Andy Smith via Digitalmars-d
On Tuesday, 8 May 2018 at 22:09:37 UTC, David Nadlinger wrote: On Tuesday, 8 May 2018 at 17:20:33 UTC, Dmitry Olshansky wrote: On Tuesday, 8 May 2018 at 04:00:03 UTC, manumaster wrote: Is there some implement like this in D ?

Re: Geany editor: Dlang code autocomplete

2018-05-08 Thread Basile B. via Digitalmars-d
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote: Hi! Does anyone else use Geany as Dlang code editor? I'm looking at the ongoing fundraising for another editor. Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang (More precisely, I think that

Re: A bit more Emscripten

2018-05-08 Thread Laeeth Isharc via Digitalmars-d-announce
On Tuesday, 8 May 2018 at 18:44:06 UTC, Vladimir Panteleev wrote: On Tuesday, 8 May 2018 at 09:51:11 UTC, Mike Franklin wrote: I've been recently assigned the task of building a web-based Ladder Logic editor/compiler (https://en.wikipedia.org/wiki/Ladder_logic). This would not be a

Re: Geany editor: Dlang code autocomplete

2018-05-08 Thread Basile B. via Digitalmars-d
On Tuesday, 8 May 2018 at 19:23:44 UTC, Seb wrote: On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote: Hi! Does anyone else use Geany as Dlang code editor? I'm looking at the ongoing fundraising for another editor. Unlike it, we have almost everything ready:

Re: partially mutable immutable type problem, crazy idea

2018-05-08 Thread Yuxuan Shui via Digitalmars-d
After watching the DConf 2018 video, I came up with this wild idea: auto f(T)(immutable T a) { // If T is a aggregate type, and I only use (directly // or indirectly) the immutable fields of T, // Then it should be OK to call f() with a partially mutable type return a.x+1; }

Dioinformatic Challenges: Implement Needleman-Wunsch and Smith-Waterman algorithms

2018-05-08 Thread biocyberman via Digitalmars-d-announce
Hello D community. Just been back for a great Dconf2018. I got some feedback, and it took me some time to collect information and put the challenges here. As you may know, I posted these challenges in the "Learn" forum, but found out that it is better to post here in "announce". I am doing

Re: Geany editor: Dlang code autocomplete

2018-05-08 Thread Alexibu via Digitalmars-d
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote: Hi! Does anyone else use Geany as Dlang code editor? I use Geany for D. It already performs autocomplete. I am not sure how good it is. It isn't something I'm that interested in, but I do seem to use it. I suspect if I

Re: Wait-free MPSC and MPMC implement in D

2018-05-08 Thread David Nadlinger via Digitalmars-d
On Tuesday, 8 May 2018 at 17:20:33 UTC, Dmitry Olshansky wrote: On Tuesday, 8 May 2018 at 04:00:03 UTC, manumaster wrote: Is there some implement like this in D ? https://github.com/pramalhe/ConcurrencyFreaks/blob/master/papers/multilist-2017.pdf Look for Mecca by Wekka.io team. It has

Re: sumtype 0.3.0

2018-05-08 Thread Paul Backus via Digitalmars-d-announce
On Tuesday, 8 May 2018 at 06:33:38 UTC, TheGag96 wrote: Wow.. without comments and unittests, the implementation is only 116 lines. Awesome job. Even now I still find it incredible what D can do. Is Algebraic in the standard library really that bad? And if so, why aren't implementations like

Re: andrei - better breakdown of statistics for downloads by region, OS, kind of site (academic/large corporate/large financial/etc)

2018-05-08 Thread Andrei Alexandrescu via Digitalmars-d
On 05/08/2018 03:54 AM, Suliman wrote: Stat out of date... Plz update it. Done. Keep in mind those stats are noisy. They need to be improved, but couldn't find anyone to work on that. I have talked to a consultant, he was very successful with showing near-real-time statistics about the

Re: andrei - better breakdown of statistics for downloads by region, OS, kind of site (academic/large corporate/large financial/etc)

2018-05-08 Thread Ali Çehreli via Digitalmars-d
On 03/21/2017 11:26 AM, Ali Çehreli wrote: For what its worth, here are the stats for ddili.org that hosts my books: Country  Pages   Hits Bandwidth (MB) ---  -   -    China  18754  19122   304.05   Turkey  18499  76544  

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread BoQsc via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 19:19:26 UTC, Seb wrote: On Tuesday, 8 May 2018 at 18:40:34 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 18:38:10 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 17:35:13 UTC, Jesse Phillips wrote: [...] Tested with these versions so far, and had all the same errors:

Re: andrei - better breakdown of statistics for downloads by region, OS, kind of site (academic/large corporate/large financial/etc)

2018-05-08 Thread Seb via Digitalmars-d
On Tuesday, 8 May 2018 at 07:54:15 UTC, Suliman wrote: Stat out of date... Plz update it. https://imgur.com/a/xZp95is The first screenshot are the current months in 2018 (with the orange line being the previous period, i.e. the last months in 2017) The second screenshot is from 2017.

Re: Geany editor: Dlang code autocomplete

2018-05-08 Thread Seb via Digitalmars-d
On Tuesday, 8 May 2018 at 07:47:26 UTC, Denis Feklushkin wrote: Hi! Does anyone else use Geany as Dlang code editor? I'm looking at the ongoing fundraising for another editor. Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang (More precisely, I think that

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread Seb via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 18:40:34 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 18:38:10 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 17:35:13 UTC, Jesse Phillips wrote: [...] Tested with these versions so far, and had all the same errors: C:\Users\Vaidas>dmd --version DMD32 D Compiler

Bugzilla & PR sprint on the first weekend of every month

2018-05-08 Thread Seb via Digitalmars-d
What do you guys think about having a dedicated "Bugzilla & PR sprint" at the first weekend of very month? We could organize this a bit by posting the currently "hot" bugs a few days ahead and also make sure that there are plenty of "bootcamp" bugs, s.t. even newcomers can start to get

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread BoQsc via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 18:38:10 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 17:35:13 UTC, Jesse Phillips wrote: On Tuesday, 8 May 2018 at 16:34:53 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 16:18:27 UTC, bachmeier wrote: On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote: This is the

Re: A bit more Emscripten

2018-05-08 Thread Vladimir Panteleev via Digitalmars-d-announce
On Tuesday, 8 May 2018 at 09:51:11 UTC, Mike Franklin wrote: I've been recently assigned the task of building a web-based Ladder Logic editor/compiler (https://en.wikipedia.org/wiki/Ladder_logic). This would not be a short-lived application, however. Hmm, sounds like this would be an

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread BoQsc via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 17:35:13 UTC, Jesse Phillips wrote: On Tuesday, 8 May 2018 at 16:34:53 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 16:18:27 UTC, bachmeier wrote: On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote: This is the code example, that was presented on the

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread Jesse Phillips via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 18:38:10 UTC, BoQsc wrote: Tested with these versions so far, and had all the same errors: C:\Users\Vaidas>dmd --version DMD32 D Compiler v2.079.1 C:\Users\Vaidas>dub --version DUB version 1.8.1, built on Apr 14 2018 C:\Users\Vaidas>dmd --version DMD32 D Compiler

Re: dub search

2018-05-08 Thread Steven Schveighoffer via Digitalmars-d
On 5/8/18 11:50 AM, Nicholas Wilson wrote: I was searching for zmq-d on code.dlang.org to find the git page for it ( to differentiate it from the other ama wrappers) and was greeted with 500 - Internal Server Error Internal Server Error Internal error information:

[Issue 18761] Page for assumeUnique documentation displays incorrectly

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18761 github-bugzi...@puremagic.com changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 18761] Page for assumeUnique documentation displays incorrectly

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18761 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/35d73468d444a81656b45f78247e62ce0bcfc7ee Fix Issue 18761 - Use HTML to force a newline for

Re: D vs nim

2018-05-08 Thread Andrew Kelley via Digitalmars-d
On Thursday, 3 May 2018 at 19:11:05 UTC, Mark wrote: On Wednesday, 25 April 2018 at 14:18:07 UTC, Rel wrote: In case you guys like to take a quick look at new emerging, but somewhat unknown systems programming languages: * https://www.red-lang.org/ (own handwritten backend) *

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread Jesse Phillips via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 16:34:53 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 16:18:27 UTC, bachmeier wrote: On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote: This is the code example, that was presented on the https://dlang.org frontpage: Maybe that isn't the best choice of beginner

Re: dub search

2018-05-08 Thread Dlang User via Digitalmars-d
On 5/8/2018 10:50 AM, Nicholas Wilson wrote: I was searching for zmq-d on code.dlang.org to find the git page for it ( to differentiate it from the other ama wrappers) and was greeted with 500 - Internal Server Error Internal Server Error Internal error information:

Re: Wait-free MPSC and MPMC implement in D

2018-05-08 Thread Dmitry Olshansky via Digitalmars-d
On Tuesday, 8 May 2018 at 04:00:03 UTC, manumaster wrote: Is there some implement like this in D ? https://github.com/pramalhe/ConcurrencyFreaks/blob/master/papers/multilist-2017.pdf Look for Mecca by Wekka.io team. It has great idustry-grade lock-free implementations for both. Not very

Re: D as a college language

2018-05-08 Thread Sameer Pradhan via Digitalmars-d
On Saturday, 5 May 2018 at 07:37:29 UTC, Walter Bright wrote: On 5/4/2018 4:35 AM, Sjoerd Nijboer wrote: Since D seems to be a language that supports a lot of programming paradigms very well, wouldn't it be beneficial to learn people declarative programming using D for a little and from there

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread Andre Pany via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 13:33:51 UTC, drug wrote: 08.05.2018 16:23, BoQsc пишет: On Tuesday, 8 May 2018 at 13:04:12 UTC, Seb wrote: On Tuesday, 8 May 2018 at 12:37:42 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 12:19:14 UTC, Adam D. Ruppe wrote: On Tuesday, 8 May 2018 at 12:13:56 UTC,

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread BoQsc via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 16:18:27 UTC, bachmeier wrote: On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote: This is the code example, that was presented on the https://dlang.org frontpage: Maybe that isn't the best choice of beginner example if even the D experts can't figure out how to

Re: dxml behavior after exception: continue parsing

2018-05-08 Thread Jesse Phillips via Digitalmars-d-learn
On Monday, 7 May 2018 at 22:24:25 UTC, Jonathan M Davis wrote: I've been considering adding more configuration options where you say something like you don't care if any invalid characters are encountered, in which case, you could cleanly parse past something like an unescaped &, but you'd

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread BoQsc via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 16:02:02 UTC, rjframe wrote: On Tue, 08 May 2018 13:23:07 +, BoQsc wrote: On Tuesday, 8 May 2018 at 13:04:12 UTC, Seb wrote: Did you try the newer MSCOFF format dub --arch=x86_mscoff start_minimum_server.d or dub --arch=x64 start_minimum_server.d

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread bachmeier via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote: This is the code example, that was presented on the https://dlang.org frontpage: Maybe that isn't the best choice of beginner example if even the D experts can't figure out how to get it to run.

Re: dub search

2018-05-08 Thread Timoses via Digitalmars-d
On Tuesday, 8 May 2018 at 15:50:01 UTC, Nicholas Wilson wrote: I was searching for zmq-d on code.dlang.org to find the git page for it ( to differentiate it from the other ama wrappers) and was greeted with 500 - Internal Server Error Internal Server Error Internal error information:

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread rjframe via Digitalmars-d-learn
On Tue, 08 May 2018 13:23:07 +, BoQsc wrote: > On Tuesday, 8 May 2018 at 13:04:12 UTC, Seb wrote: >> >> Did you try the newer MSCOFF format >> >> dub --arch=x86_mscoff start_minimum_server.d >> >> or >> >> dub --arch=x64 start_minimum_server.d > > C:\Users\Vaidas\Desktop>dub

dub search

2018-05-08 Thread Nicholas Wilson via Digitalmars-d
I was searching for zmq-d on code.dlang.org to find the git page for it ( to differentiate it from the other ama wrappers) and was greeted with 500 - Internal Server Error Internal Server Error Internal error information:

Re: Need help with the dmd package on NixOS

2018-05-08 Thread Seb via Digitalmars-d
On Tuesday, 8 May 2018 at 14:45:53 UTC, Thomas Mader wrote: On Saturday, 5 May 2018 at 11:22:06 UTC, Thomas Mader wrote: I also need to skip through changes which might have introduced this problem. Has anyone tried to compile with glibc 2.27? They switched to 2.27 on Master branch and I

Re: Need help with the dmd package on NixOS

2018-05-08 Thread Thomas Mader via Digitalmars-d
On Saturday, 5 May 2018 at 11:22:06 UTC, Thomas Mader wrote: I also need to skip through changes which might have introduced this problem. Has anyone tried to compile with glibc 2.27? They switched to 2.27 on Master branch and I suspect that the error has to do with that.

Re: Disassemble binary.

2018-05-08 Thread vital.fadeev via Digitalmars-d
Source code: https://github.com/vitalfadeev/dasm

Re: Documentation for assumeUnique

2018-05-08 Thread Seb via Digitalmars-d
On Monday, 7 May 2018 at 15:32:56 UTC, bachmeier wrote: I filed a bug on this several weeks ago. Can someone tell me what is wrong in the source so that I can fix it? It is almost certainly trivial, but I don't see it. You can see the messed up documentation here:

[Issue 18761] Page for assumeUnique documentation displays incorrectly

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18761 --- Comment #3 from Seb --- Fix: https://github.com/dlang/dlang.org/pull/2364 --

Re: Binderoo additional language support?

2018-05-08 Thread jmh530 via Digitalmars-d
On Monday, 7 May 2018 at 17:28:55 UTC, Ethan wrote: 13 responses so far. Cheers to those 13. I don't really understand what to use binderoo for. So rather than fill out the questionnaire, maybe I would just recommend you do some work on wiki, blog post, or simple examples.

[Issue 18761] Page for assumeUnique documentation displays incorrectly

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18761 Seb changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-08 Thread Dechcaudron via Digitalmars-d-announce
On Tuesday, 8 May 2018 at 03:57:25 UTC, Johannes Loher wrote: Fluent assertions have one major advantage over using pascalCase assertions: There is no ambiuguity about the order of arguments. When using e.g. assertEquals, how do you know wheter is is supposed to be assertEquals(actual,

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread BoQsc via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 13:33:51 UTC, drug wrote: 08.05.2018 16:23, BoQsc пишет: On Tuesday, 8 May 2018 at 13:04:12 UTC, Seb wrote: On Tuesday, 8 May 2018 at 12:37:42 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 12:19:14 UTC, Adam D. Ruppe wrote: On Tuesday, 8 May 2018 at 12:13:56 UTC,

Re: dmd testsuite's runner is now in D

2018-05-08 Thread Uknown via Digitalmars-d
On Tuesday, 8 May 2018 at 12:51:42 UTC, Seb wrote: Just a quick heads-up for all the people using Windows and who have previously complained about the usage of GNUmake for DMD's testsuite. [...] This is great news! Any chance at a slightly more detailed write up on the blog or announce?

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread drug via Digitalmars-d-learn
08.05.2018 16:23, BoQsc пишет: On Tuesday, 8 May 2018 at 13:04:12 UTC, Seb wrote: On Tuesday, 8 May 2018 at 12:37:42 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 12:19:14 UTC, Adam D. Ruppe wrote: On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote: [...] This one needs to be compiled+run

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread BoQsc via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 13:04:12 UTC, Seb wrote: On Tuesday, 8 May 2018 at 12:37:42 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 12:19:14 UTC, Adam D. Ruppe wrote: On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote: [...] This one needs to be compiled+run with the dub package manager

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread Seb via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 12:37:42 UTC, BoQsc wrote: On Tuesday, 8 May 2018 at 12:19:14 UTC, Adam D. Ruppe wrote: On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote: [...] This one needs to be compiled+run with the dub package manager instead of with rdmd, which is why it has that shebang

dmd testsuite's runner is now in D

2018-05-08 Thread Seb via Digitalmars-d
Just a quick heads-up for all the people using Windows and who have previously complained about the usage of GNUmake for DMD's testsuite. Since a few days, all you need to run the testsuite is a DMD compiler. The test/run.d has a few handy features, so check out the new documentation:

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread BoQsc via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 12:19:14 UTC, Adam D. Ruppe wrote: On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote: This is the code example, that was presented on the https://dlang.org frontpage: - #!/usr/bin/env dub This one needs to be compiled+run with the dub package

Re: "Start a Minimal web server" example do not work.

2018-05-08 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 12:13:56 UTC, BoQsc wrote: This is the code example, that was presented on the https://dlang.org frontpage: - #!/usr/bin/env dub This one needs to be compiled+run with the dub package manager instead of with rdmd, which is why it has that shebang

"Start a Minimal web server" example do not work.

2018-05-08 Thread BoQsc via Digitalmars-d-learn
This is the code example, that was presented on the https://dlang.org frontpage: - #!/usr/bin/env dub /+ dub.sdl: name "hello_vibed" dependency "vibe-d" version="~>0.8.0" +/ void main() { import vibe.d; listenHTTP(":8080", (req, res) { res.writeBody("Hello,

[Issue 18843] -deps -unittest causes cataclysmic memory usage

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18843 Seb changed: What|Removed |Added CC||greensunn...@gmail.com ---

[Issue 18828] [-betterC] helpless error in object.d

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18828 --- Comment #8 from Xavier Bigand --- dustmite with the --no-redirect option give me the output : Loading ..\common\opengl_api\arb.d Loading ..\common\opengl_api\constants.d Loading ..\common\opengl_api\ext.d Loading

Re: Disassemble binary.

2018-05-08 Thread vital.fadeev via Digitalmars-d
example: ./dasm opcode.o opcode.op_eq_s Disassembly of section .text._D6opcode7op_eq_sFZi: <_D6opcode7op_eq_sFZi>: 0: 55 push %rbp 1: 48 8b ecmov%rsp,%rbp 4: 48 39 d1cmp%rdx,%rcx 7: 75 0a

Disassemble binary.

2018-05-08 Thread vital.fadeev via Digitalmars-d
Just share. Script for disassemble binary. And script for bash completion. Complete symbol names. Files: ./dasm /etc/bash_completion.d/dasm file <./dasm> #!/bin/bash # Author: abu, vital # Description: puts disassembled objectfile to std-out if [ $# = 2 ]; then

[Issue 18843] New: -deps -unittest causes cataclysmic memory usage

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18843 Issue ID: 18843 Summary: -deps -unittest causes cataclysmic memory usage Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal

[Issue 18828] [-betterC] helpless error in object.d

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18828 --- Comment #7 from Mike Franklin --- The problem is this code in object.d: void destroy(T)(ref T obj) if (is(T == struct)) { _destructRecurse(obj); () @trusted { auto buf = (cast(ubyte*) )[0 .. T.sizeof];

[Issue 18828] [-betterC] helpless error in object.d

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18828 --- Comment #6 from Seb --- > object.Exception@DustMite\dustmite.d(271): Initial test fails (try using > --no-redirect for details) Then use --no-direct (or the tester command in standalone) to see why it failed. --

[Issue 18828] [-betterC] helpless error in object.d

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18828 --- Comment #5 from Xavier Bigand --- Created attachment 1693 --> https://issues.dlang.org/attachment.cgi?id=1693=edit Complete project I tried dustmite with the command line in a git bash window : dustmite --force

[Issue 18761] Page for assumeUnique documentation displays incorrectly

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18761 Simen Kjaeraas changed: What|Removed |Added Status|NEW |RESOLVED

Re: A bit more Emscripten

2018-05-08 Thread Mike Franklin via Digitalmars-d-announce
On Tuesday, 8 May 2018 at 08:53:36 UTC, Vladimir Panteleev wrote: I heard there was a bit of general interest on the subject, so would be interesting to hear about more potential use cases. I've been recently assigned the task of building a web-based Ladder Logic editor/compiler

Re: `recursive template expansion` error msg isn't informative

2018-05-08 Thread drug via Digitalmars-d-learn
07.05.2018 17:22, Timoses пишет: On Monday, 7 May 2018 at 10:28:14 UTC, drug wrote: I get the error like: ``` ./foo/bar/baz/builder.d(57,23): Error: template instance `staticMap!(DebugTypeMapper, BaseDebuggerTypes)` recursive template expansion ``` That's all. It doesn's print instantiations

Re: could someone test support for Asian languages in nanogui port?

2018-05-08 Thread drug via Digitalmars-d-learn
08.05.2018 11:11, Kagamin пишет: On Sunday, 6 May 2018 at 11:18:17 UTC, drug wrote: Could you describe the problem in more details? SDL probably selects the first font that has the characters, which in his case is a font of comic sans design, instead of a font configured for gui. It's not

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-08 Thread Cym13 via Digitalmars-d-announce
On Tuesday, 8 May 2018 at 07:07:30 UTC, Nick Sabalausky (Abscissa) wrote: On 05/07/2018 11:57 PM, Johannes Loher wrote: On Monday, 7 May 2018 at 09:19:31 UTC, Dechcaudron wrote: I think I'm siding with Johannes here. Much as the overloads look nice, I don't really see the advantage over

A bit more Emscripten

2018-05-08 Thread Vladimir Panteleev via Digitalmars-d-announce
https://github.com/CyberShadow/dscripten-tools This builds a little upon Sebastien Alaiwan (Ace17)'s excellent prior work of putting together a toolchain for compiling D to JavaScript / asm.js. Improvements include a DMD-like driver and rdmd wrapper, meaning that most tools that know how to

Re: Is HibernateD dead?

2018-05-08 Thread bauss via Digitalmars-d-learn
On Tuesday, 8 May 2018 at 07:28:31 UTC, Vadim Lopatin wrote: On Monday, 7 May 2018 at 17:27:17 UTC, Jesse Phillips wrote: You should get a hold of Vadim Lopatin and see if he would give you commit rights to the main repo. There was a great article I can't find by someone who would add

Re: could someone test support for Asian languages in nanogui port?

2018-05-08 Thread Kagamin via Digitalmars-d-learn
On Sunday, 6 May 2018 at 11:18:17 UTC, drug wrote: Could you describe the problem in more details? SDL probably selects the first font that has the characters, which in his case is a font of comic sans design, instead of a font configured for gui.

[Issue 18842] New: Wrong type for pointers to member functions

2018-05-08 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18842 Issue ID: 18842 Summary: Wrong type for pointers to member functions Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW

Re: andrei - better breakdown of statistics for downloads by region, OS, kind of site (academic/large corporate/large financial/etc)

2018-05-08 Thread Suliman via Digitalmars-d
Stat out of date... Plz update it.

Geany editor: Dlang code autocomplete

2018-05-08 Thread Denis Feklushkin via Digitalmars-d
Hi! Does anyone else use Geany as Dlang code editor? I'm looking at the ongoing fundraising for another editor. Unlike it, we have almost everything ready: https://github.com/denizzzka/geany_dlang (More precisely, I think that Geany is not so advanced and currently it is enough to add only

Re: Binderoo additional language support?

2018-05-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 05/07/2018 01:24 PM, Ethan wrote: On Monday, 7 May 2018 at 03:33:19 UTC, Norm wrote: See, that just sounds a bit too much like a Sumatran Rat Monkey to me. That sounds like a coffee-based cocktail to me ;)

Re: Funding for code-d/serve-d

2018-05-08 Thread rumbu via Digitalmars-d-announce
On Tuesday, 8 May 2018 at 05:53:43 UTC, Apocalypto wrote: On Monday, 7 May 2018 at 09:29:06 UTC, Dechcaudron wrote: Also, though I use WebFreak's extension for VS code, I never really got it to work 100% (never really invested more than a couple minutes either, to be fair). Thinks like syntax

Re: sumtype 0.3.0

2018-05-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/07/2018 05:35 PM, Paul Backus wrote: Personally, I consider [pattern matching] an essential feature--arguably *the* essential feature-- After having used Nemerle, I tend to agree. I haven't gotten around to using this yet, but I did take a look at the source and was blown away by how

Re: Is HibernateD dead?

2018-05-08 Thread Vadim Lopatin via Digitalmars-d-learn
On Monday, 7 May 2018 at 17:27:17 UTC, Jesse Phillips wrote: You should get a hold of Vadim Lopatin and see if he would give you commit rights to the main repo. There was a great article I can't find by someone who would add contributors if they made good pull requests. It helped to keep his

Re: unit-threaded v0.7.45 - now with more fluency

2018-05-08 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 05/07/2018 11:57 PM, Johannes Loher wrote: On Monday, 7 May 2018 at 09:19:31 UTC, Dechcaudron wrote: I think I'm siding with Johannes here. Much as the overloads look nice, I don't really see the advantage over `shouldEqual`. Also, what's with `all.these.identifiers`? Any particular reason

Re: sumtype 0.3.0

2018-05-08 Thread TheGag96 via Digitalmars-d-announce
On Sunday, 6 May 2018 at 19:18:02 UTC, Paul Backus wrote: snip Wow.. without comments and unittests, the implementation is only 116 lines. Awesome job. Even now I still find it incredible what D can do. Is Algebraic in the standard library really that bad? And if so, why aren't