Re: code.dlang.org internal server error

2017-02-09 Thread Daniel Kozak via Digitalmars-d
Dne 10.2.2017 v 07:27 puming via Digitalmars-d napsal(a): On Thursday, 9 February 2017 at 12:19:12 UTC, Daniel Kozák wrote: V Thu, 9 Feb 2017 11:54:05 +0100 Sönke Ludwig via Digitalmars-d napsáno: [...] In general issue is not with connectivity to China but

Re: D IDE Coedit - version 3 beta 3

2017-02-09 Thread Basile B. via Digitalmars-d-announce
On Friday, 27 January 2017 at 04:48:56 UTC, Basile B. wrote: This would probably have been a RC or even the final version if I hadn't to wait for the development platform I use to reach its next milestone, which may not happen before the next spring, so another beta is worth. All important

Re: code.dlang.org internal server error

2017-02-09 Thread puming via Digitalmars-d
On Thursday, 9 February 2017 at 12:19:12 UTC, Daniel Kozák wrote: V Thu, 9 Feb 2017 11:54:05 +0100 Sönke Ludwig via Digitalmars-d napsáno: [...] In general issue is not with connectivity to China but with GFW (https://en.wikipedia.org/wiki/Great_Firewall), So

[Issue 17172] New: redundant `statement is not reachable`: should only show 1 per code block

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17172 Issue ID: 17172 Summary: redundant `statement is not reachable`: should only show 1 per code block Product: D Version: D2 Hardware: x86 OS: Mac OS X

Re: code.dlang.org internal server error

2017-02-09 Thread puming via Digitalmars-d
On Thursday, 9 February 2017 at 10:54:05 UTC, Sönke Ludwig wrote: Am 09.02.2017 um 03:34 schrieb puming: On Wednesday, 8 February 2017 at 14:11:48 UTC, Sönke Ludwig wrote: [...] I have a VPS slot in Hong Kong for personal use, with 1GB memory, 30GB disk and 300GB monthly bandwidth. Is that

[Issue 9695] Ddoc should emit enum member initializers

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9695 Timothee Cour changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 129] DDoc downgrades enum to their integer initializers

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=129 Timothee Cour changed: What|Removed |Added Summary|DDoc makes enum values |DDoc downgrades enum

[Issue 129] DDoc makes enum values cryptic

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=129 --- Comment #11 from Timothee Cour --- (In reply to Timothee Cour from comment #10) > https://dlang.org/library/std/process/pipe_process.html > shows: > > ProcessPipes pipeProcess( > const(char[][]) args, > Redirect

[Issue 17171] New: ddoc: enum misses some values + wrong order + missing member initializers

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17171 Issue ID: 17171 Summary: ddoc: enum misses some values + wrong order + missing member initializers Product: D Version: D2 Hardware: x86 OS: Mac OS X

[Issue 17170] New: ddoc shows parameters that are not used in function

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17170 Issue ID: 17170 Summary: ddoc shows parameters that are not used in function Product: D Version: D2 Hardware: x86 OS: All Status: NEW Severity: normal

[Issue 129] DDoc makes enum values cryptic

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=129 Timothee Cour changed: What|Removed |Added Status|RESOLVED|REOPENED

Re: Best error msg ever

2017-02-09 Thread Era Scarecrow via Digitalmars-d
On Friday, 10 February 2017 at 02:53:50 UTC, Era Scarecrow wrote: Seems the built in Date class wasn't the same as the Sql.Date that was being used (but had the same name). Apparently it took like 2 hours to figure out what was going on. Oh right forgot to mention one important detail. In

Re: Best error msg ever

2017-02-09 Thread Era Scarecrow via Digitalmars-d
On Friday, 10 February 2017 at 03:07:28 UTC, Adam D. Ruppe wrote: They do have different full names, which includes the module name and uniquely differentiates them. The compiler knows it too, just isn't smart enough to actually display it in times like this. So maybe when the class name

Re: Getting familiar with std.process

2017-02-09 Thread jmh530 via Digitalmars-d-learn
On Thursday, 9 February 2017 at 21:36:46 UTC, Ali Çehreli wrote: On 02/09/2017 12:44 PM, jmh530 wrote: > I think the issue is that create_file doesn't write to stdout, it writes > to file. Correct. Pipe works by piping the standard input/output streams. > Other than reading the file and then

Re: Best error msg ever

2017-02-09 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 10 February 2017 at 02:53:50 UTC, Era Scarecrow In cases like these i really wish the structure of the class/struct had a hash or something (based on source or struct layout or something) They do have different full names, which includes the module name and uniquely

Re: Best error msg ever

2017-02-09 Thread Era Scarecrow via Digitalmars-d
On Thursday, 9 February 2017 at 21:28:58 UTC, Sönke Ludwig wrote: Am 09.02.2017 um 22:20 schrieb Daniel Kozak: source/app.d(51,37): Error: function dub.internal.utils.jsonFromFile (Path file, bool silent_fail = false) is not callable using argument types (Path, bool) WTF? Must be caused by

Re: Have some down time at the year's end?

2017-02-09 Thread Andrei Alexandrescu via Digitalmars-d
On 02/09/2017 05:03 PM, Daniel Kozak wrote: Is this still accurate? I mean if I change some issue to "trivial", is there any process which will notify you or your students about it? Or are they actively watch this list? There is no automation. Thanks! -- Andrei

Re: DWT Support Docs for Windows

2017-02-09 Thread JamesD via Digitalmars-d-dwt
On Wednesday, 8 February 2017 at 14:45:44 UTC, Jacob Carlborg wrote: On 2017-02-07 22:48, JamesD wrote: I'm a programming hobbyist and I'm new to the D language. I've recently struggled to get a GUI working on Windows. I finally made some progress, and have created a few docs that I hope will

Re: Strange behaviour of rdmd vs. dmd concerning main function

2017-02-09 Thread Mike Parker via Digitalmars-d-learn
On Thursday, 9 February 2017 at 16:20:29 UTC, berni wrote: dmd only compiles in the files you actually pass to it. rdmd will try to find the required files automatically. Since you didn't pass the file with the function to dmd, it knows it exists, but leaves it out of the final link (it

[Issue 9631] Error message not using fully qualified name when appropriate.

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9631 Jack Stouffer changed: What|Removed |Added Keywords||trivial

[Issue 17169] New: New default ddoc theme merges all paragraphs except the first

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17169 Issue ID: 17169 Summary: New default ddoc theme merges all paragraphs except the first Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

Re: two points

2017-02-09 Thread Mike via Digitalmars-d-announce
On Thursday, 9 February 2017 at 17:45:15 UTC, Nick Sabalausky wrote: No. There should be appropriate checks and reviews, yes. But, no, every little fix and improvement shouldn't feel like trying to get somewhere in a year-long tabs vs spaces debate or making a big-budget sales pitch to

Re: Questionnaire

2017-02-09 Thread Nicholas Wilson via Digitalmars-d-announce
On Thursday, 9 February 2017 at 17:28:47 UTC, jmh530 wrote: I would probably say libraries is most important. Mir is a great advance. I've been applauding your work all the way through. There are two things that I think Mir needs most (and we've talked about them before as things you were

Re: two points

2017-02-09 Thread Walter Bright via Digitalmars-d-announce
On 2/9/2017 1:45 PM, Jon Degenhardt wrote: However, when a PR associated with the issue is created, the ticket itself is normally not updated until after the review is finished and the PR closed, to late to help out. It normally is. I do it for all mine and for others I notice that have not

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Era Scarecrow via Digitalmars-d-learn
On Thursday, 9 February 2017 at 19:39:49 UTC, Nestor wrote: OK I changed the approach using a multidimensional array for the matrix so I could ditch arithmetic operations altogether, but curiously after measuring a few thousand runs of both implementations through avgtime, I see no noticeable

Re: two points

2017-02-09 Thread Walter Bright via Digitalmars-d-announce
On 2/9/2017 1:06 PM, Joseph Rushton Wakeling wrote: On Thursday, 9 February 2017 at 20:43:00 UTC, Walter Bright wrote: *Anyone* in this community can step up and do that. Anyone can make observations and proposals, but not everyone has the authority to effect change. Anyone can proactively

[Issue 17161] [REG 2.072.2] Massive Regex Slowdown

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17161 --- Comment #5 from Jack Stouffer --- (In reply to Dmitry Olshansky from comment #3) > Will investigate the R-T issue, C-T is (sadly) to be expected. Is there anyway to revert the CT regex to 2.072 behavior? It would be great

Re: Multiplayer Game Project

2017-02-09 Thread sarn via Digitalmars-d
I do consulting based in Sydney. Feel free to contact me if you ever need any more help. s...@theartofmachinery.com

[Issue 17161] [REG 2.072.2] Massive Regex Slowdown

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17161 --- Comment #4 from Dmitry Olshansky --- (In reply to Dmitry Olshansky from comment #3) > (In reply to Jack Stouffer from comment #2) > > Bad news: I see a similar performance decrease for run-time regex as well. > > > > #

[Issue 17161] [REG 2.072.2] Massive Regex Slowdown

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17161 Dmitry Olshansky changed: What|Removed |Added CC|

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Daniel Kozak via Digitalmars-d-learn
Dne 9.2.2017 v 23:08 Ali Çehreli via Digitalmars-d-learn napsal(a): On 02/09/2017 02:04 PM, Nestor wrote: > I tried running each algoritm a few times through avgtime using > different digit lengths avgtime profiles the whole process, right? It measures everything that is involved in that

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Ali Çehreli via Digitalmars-d-learn
On 02/09/2017 02:04 PM, Nestor wrote: > I tried running each algoritm a few times through avgtime using > different digit lengths avgtime profiles the whole process, right? It measures everything that is involved in that little program. At least OS starting the program, D runtime

Re: Have some down time at the year's end?

2017-02-09 Thread Daniel Kozak via Digitalmars-d
On Friday, 23 December 2016 at 19:50:03 UTC, Andrei Alexandrescu wrote: My students and I are making a pass through a bunch of bugzilla issues closing the ones that ought to be closed and marking the simple ones with the "trivial" bug.

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Nestor via Digitalmars-d-learn
On Thursday, 9 February 2017 at 21:43:08 UTC, Daniel Kozak wrote: Any idea of what might be happening here? Did you try it with different backends? llvm (ldc), gcc(gdc)? Not really, just standard dmd. I tried running each algoritm a few times through avgtime using different digit lengths

[Issue 9631] Error message not using fully qualified name when appropriate.

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9631 --- Comment #9 from Daniel Kozak --- Maybe we could change this to trivial? I belive it is not hard to fix this. I can do it my self if there is no one else willing to do. --

[Issue 9631] Error message not using fully qualified name when appropriate.

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9631 Daniel Kozak changed: What|Removed |Added CC||kozz...@gmail.com ---

Re: Best error msg ever

2017-02-09 Thread Daniel Kozak via Digitalmars-d
Dne 9.2.2017 v 22:36 Stefan Koch via Digitalmars-d napsal(a): On Thursday, 9 February 2017 at 21:31:48 UTC, Daniel Kozak wrote: Dne 9.2.2017 v 22:20 Daniel Kozak via Digitalmars-d napsal(a): source/app.d(51,37): Error: function dub.internal.utils.jsonFromFile (Path file, bool silent_fail =

Re: two points

2017-02-09 Thread Jon Degenhardt via Digitalmars-d-announce
On Thursday, 9 February 2017 at 16:48:16 UTC, Joseph Rushton Wakeling wrote: There's clearly in part a scaling problem here (in terms of how many people are available in general, and in terms of how many people have expertise on particular parts of the library) but it also feels like a few

Re: Best error msg ever

2017-02-09 Thread Daniel Kozak via Digitalmars-d
Dne 9.2.2017 v 22:28 Sönke Ludwig via Digitalmars-d napsal(a): Am 09.02.2017 um 22:20 schrieb Daniel Kozak: source/app.d(51,37): Error: function dub.internal.utils.jsonFromFile (Path file, bool silent_fail = false) is not callable using argument types (Path, bool) WTF? Must be caused by

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Daniel Kozak via Digitalmars-d-learn
Dne 9.2.2017 v 22:29 Nestor via Digitalmars-d-learn napsal(a): On Thursday, 9 February 2017 at 20:46:06 UTC, Daniel Kozak wrote: Maybe you can try use static array instead of dynamic static immutable ubyte[10][10] QG10Matrix = ... I shaved it to this to discard unneccessary time-consuming

Re: Best error msg ever

2017-02-09 Thread Stefan Koch via Digitalmars-d
On Thursday, 9 February 2017 at 21:31:48 UTC, Daniel Kozak wrote: Dne 9.2.2017 v 22:20 Daniel Kozak via Digitalmars-d napsal(a): source/app.d(51,37): Error: function dub.internal.utils.jsonFromFile (Path file, bool silent_fail = false) is not callable using argument types (Path, bool) WTF?

Re: Getting familiar with std.process

2017-02-09 Thread Ali Çehreli via Digitalmars-d-learn
On 02/09/2017 12:44 PM, jmh530 wrote: > I think the issue is that create_file doesn't write to stdout, it writes > to file. Correct. Pipe works by piping the standard input/output streams. > Other than reading the file and then deleting it, I don't know > what else to try. create_file must

Re: Best error msg ever

2017-02-09 Thread Daniel Kozak via Digitalmars-d
Dne 9.2.2017 v 22:20 Daniel Kozak via Digitalmars-d napsal(a): source/app.d(51,37): Error: function dub.internal.utils.jsonFromFile (Path file, bool silent_fail = false) is not callable using argument types (Path, bool) WTF? Problem is with multiple Path declaration, but with this error

Re: Best error msg ever

2017-02-09 Thread Sönke Ludwig via Digitalmars-d
Am 09.02.2017 um 22:20 schrieb Daniel Kozak: source/app.d(51,37): Error: function dub.internal.utils.jsonFromFile (Path file, bool silent_fail = false) is not callable using argument types (Path, bool) WTF? Must be caused by Path meaning two different type definitions. The most likely cause

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Nestor via Digitalmars-d-learn
On Thursday, 9 February 2017 at 20:46:06 UTC, Daniel Kozak wrote: Maybe you can try use static array instead of dynamic static immutable ubyte[10][10] QG10Matrix = ... I shaved it to this to discard unneccessary time-consuming functions: static immutable ubyte[10][10] QG10Matrix = [

Best error msg ever

2017-02-09 Thread Daniel Kozak via Digitalmars-d
source/app.d(51,37): Error: function dub.internal.utils.jsonFromFile (Path file, bool silent_fail = false) is not callable using argument types (Path, bool) WTF?

Re: Multiplayer Game Project

2017-02-09 Thread Orkhan via Digitalmars-d
On Thursday, 9 February 2017 at 18:21:42 UTC, Suliman wrote: Do you have skype? I familiar with vibed and vue.js please add my skype : alioutlawz (profile pic is red flower) email is : pirokine...@live.ru

Re: two points

2017-02-09 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 9 February 2017 at 20:43:00 UTC, Walter Bright wrote: *Anyone* in this community can step up and do that. Anyone can make observations and proposals, but not everyone has the authority to effect change. I appreciate how frustrating it must be to have people saying, 'Hey, do

Re: two points

2017-02-09 Thread Jack Stouffer via Digitalmars-d-announce
On Thursday, 9 February 2017 at 16:48:16 UTC, Joseph Rushton Wakeling wrote: which is that after some initial interest and feedback, the PR just got left alone with no decision to accept or reject it, and no indication of why. This is why I only contribute to Phobos to be quite honest. I

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Cym13 via Digitalmars-d-learn
On Thursday, 9 February 2017 at 19:39:49 UTC, Nestor wrote: On Thursday, 9 February 2017 at 18:34:30 UTC, Era Scarecrow wrote: On Thursday, 9 February 2017 at 17:36:11 UTC, Nestor wrote: I was trying to port C code from the article in Wikiversity [1] to D, but I'm not sure this implementation

Re: two points

2017-02-09 Thread Daniel Kozak via Digitalmars-d-announce
Dne 9.2.2017 v 21:43 Walter Bright via Digitalmars-d-announce napsal(a): On 2/9/2017 12:29 PM, Joseph Rushton Wakeling wrote: Yes, but it could be good to examine what can be done to more pro-actively look at open PRs that have had no recent follow-up. *Anyone* in this community can step up

Re: Strange behaviour of rdmd vs. dmd concerning main function

2017-02-09 Thread Daniel Kozak via Digitalmars-d-learn
Dne 9.2.2017 v 21:10 berni via Digitalmars-d-learn napsal(a): On Thursday, 9 February 2017 at 19:10:55 UTC, Daniel Kozak wrote: Dne 9.2.2017 v 17:20 berni via Digitalmars-d-learn napsal(a): [...] Ah ok, I understand. So calling with "dmd Special/special.d Common/common.d" works. But

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Daniel Kozak via Digitalmars-d-learn
Dne 9.2.2017 v 20:39 Nestor via Digitalmars-d-learn napsal(a): On Thursday, 9 February 2017 at 18:34:30 UTC, Era Scarecrow wrote: On Thursday, 9 February 2017 at 17:36:11 UTC, Nestor wrote: I was trying to port C code from the article in Wikiversity [1] to D, but I'm not sure this

Re: two points

2017-02-09 Thread Walter Bright via Digitalmars-d-announce
On 2/9/2017 12:29 PM, Joseph Rushton Wakeling wrote: Yes, but it could be good to examine what can be done to more pro-actively look at open PRs that have had no recent follow-up. *Anyone* in this community can step up and do that.

Getting familiar with std.process

2017-02-09 Thread jmh530 via Digitalmars-d-learn
I haven't used std.process before and am trying to play around with it. In the code below, the first file writes some text to an output file. My goal is to be able to read what is written to that file without creating the file itself. I'm not sure it's possible, but the second file is my

[Issue 17161] [REG 2.072.2] Massive Regex Slowdown

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17161 --- Comment #2 from Jack Stouffer --- Bad news: I see a similar performance decrease for run-time regex as well. # 2.073.0 $ dmd -O -inline -release test2.d && cat input500.txt | time ./test2 ./test2 4.44s user 0.09s

Re: two points

2017-02-09 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 9 February 2017 at 19:53:37 UTC, Walter Bright wrote: There's a lot going on needing attention, and sometimes a bit of championing is needed by their proponents. Yes, but it could be good to examine what can be done to more pro-actively look at open PRs that have had no recent

Re: two points

2017-02-09 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 9 February 2017 at 19:58:57 UTC, Seb wrote: We gave this a try a couple of months ago with Facebook's mention-bot: Example: https://github.com/dlang/phobos/pull/4318#issuecomment-241817191 Repo: https://github.com/dlang-bots/mention-bot Eventually I disabled it because people

Re: Strange behaviour of rdmd vs. dmd concerning main function

2017-02-09 Thread berni via Digitalmars-d-learn
On Thursday, 9 February 2017 at 19:10:55 UTC, Daniel Kozak wrote: Dne 9.2.2017 v 17:20 berni via Digitalmars-d-learn napsal(a): [...] Ah ok, I understand. So calling with "dmd Special/special.d Common/common.d" works. But when I compile common.d to common.o (with dmd -c common.d) and

Re: two points

2017-02-09 Thread Seb via Digitalmars-d-announce
On Thursday, 9 February 2017 at 19:42:03 UTC, Jack Stouffer wrote: On Thursday, 9 February 2017 at 19:36:52 UTC, Walter Bright wrote: Good idea! Please investigate how to get github to generate such emails. In the meantime, the PR guidelines are here: We gave this a try a couple of months ago

Re: two points

2017-02-09 Thread Walter Bright via Digitalmars-d-announce
On 2/9/2017 8:55 AM, Joseph Rushton Wakeling wrote: On Thursday, 9 February 2017 at 09:49:53 UTC, Walter Bright wrote: In any case, shouldn't it be an uphill battle to merge things? There are a lot of things that need to be satisfied to merge something. Being too hasty leads to legacy code that

[Issue 17168] Shift left operator causes segfault when compiling with -O flag

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17168 b2.t...@gmx.com changed: What|Removed |Added CC||b2.t...@gmx.com Hardware|x86

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Nestor via Digitalmars-d-learn
On Thursday, 9 February 2017 at 18:34:30 UTC, Era Scarecrow wrote: ... Actually since you're also multiplying by 10, you can incorporate that in the table too... I forgot to comment that what is multiplied by ten is not the value but the starting position in the array (a way to emulate a

Re: two points

2017-02-09 Thread Jack Stouffer via Digitalmars-d-announce
On Thursday, 9 February 2017 at 19:36:52 UTC, Walter Bright wrote: Good idea! Please investigate how to get github to generate such emails. In the meantime, the PR guidelines are here: This is already somewhat done with the PR bot we have. The DlangBot notifies reviewers on the DMD repo, but

Re: vibe.d 0.8.0 and 0.7.31 beta releases

2017-02-09 Thread Sönke Ludwig via Digitalmars-d-announce
Am 09.02.2017 um 18:00 schrieb Kagamin: On Wednesday, 8 February 2017 at 15:18:34 UTC, Sönke Ludwig wrote: The problem is that there are two affected call stacks - the @system API function that registers the @system callback, wrapping/casting it as @trusted, and the event handler that later on

Re: two points

2017-02-09 Thread Walter Bright via Digitalmars-d-announce
On 2/9/2017 8:48 AM, Joseph Rushton Wakeling wrote: Contrast this with the experience I had the one time I submitted a (tiny, trivial) patch to rust: immediately after submitting the PR I got a message from their 'highfive' robot that included: * a friendly thank you for the PR; * the

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Nestor via Digitalmars-d-learn
On Thursday, 9 February 2017 at 18:34:30 UTC, Era Scarecrow wrote: On Thursday, 9 February 2017 at 17:36:11 UTC, Nestor wrote: I was trying to port C code from the article in Wikiversity [1] to D, but I'm not sure this implementation is the most efficient way to do it in D, so suggestions to

Re: Request for conference talk

2017-02-09 Thread Chris Engelbert via Digitalmars-d
On Monday, 6 February 2017 at 16:50:00 UTC, Stefan Koch wrote: Hmm I could talk about the various compile-time mechanics of D. Using Sqlite-D[1] as an example, and tie into the compiler implementations, which explain why I wrote a particular piece of code the way I did. That way it could

Re: Strange behaviour of rdmd vs. dmd concerning main function

2017-02-09 Thread Daniel Kozak via Digitalmars-d-learn
Dne 9.2.2017 v 17:20 berni via Digitalmars-d-learn napsal(a): dmd only compiles in the files you actually pass to it. rdmd will try to find the required files automatically. Since you didn't pass the file with the function to dmd, it knows it exists, but leaves it out of the final link (it

Re: Questionnaire

2017-02-09 Thread bachmeier via Digitalmars-d-announce
On Thursday, 9 February 2017 at 18:38:32 UTC, John Colvin wrote: On Thursday, 9 February 2017 at 18:34:44 UTC, bachmeier wrote: On Thursday, 9 February 2017 at 17:28:47 UTC, jmh530 wrote: Other stuff I would find useful: 1) R integration (I know someone's done work on this, but it's hard to

Re: Questionnaire

2017-02-09 Thread John Colvin via Digitalmars-d-announce
On Thursday, 9 February 2017 at 18:34:44 UTC, bachmeier wrote: On Thursday, 9 February 2017 at 17:28:47 UTC, jmh530 wrote: Other stuff I would find useful: 1) R integration (I know someone's done work on this, but it's hard to find and I don't remember if it works on Windows. Really just

Re: Questionnaire

2017-02-09 Thread bachmeier via Digitalmars-d-announce
On Thursday, 9 February 2017 at 17:28:47 UTC, jmh530 wrote: Other stuff I would find useful: 1) R integration (I know someone's done work on this, but it's hard to find and I don't remember if it works on Windows. Really just needs a champion) Me. The latest version is here:

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Era Scarecrow via Digitalmars-d-learn
On Thursday, 9 February 2017 at 17:36:11 UTC, Nestor wrote: I was trying to port C code from the article in Wikiversity [1] to D, but I'm not sure this implementation is the most efficient way to do it in D, so suggestions to optimize it are welcome: import std.stdio; static immutable

Re: Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Cym13 via Digitalmars-d-learn
On Thursday, 9 February 2017 at 17:36:11 UTC, Nestor wrote: Hi, I was trying to port C code from the article in Wikiversity [1] to D, but I'm not sure this implementation is the most efficient way to do it in D, so suggestions to optimize it are welcome: import std.stdio; static immutable

Re: Multiplayer Game Project

2017-02-09 Thread Suliman via Digitalmars-d
Do you have skype? I familiar with vibed and vue.js

[Issue 17168] Shift left operator causes segfault when compiling with -O flag

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17168 --- Comment #1 from Sophie --- Actually this occurs with the -O flag, independent of -inline --

[Issue 17168] Shift left operator causes segfault when compiling with -O flag

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17168 Sophie changed: What|Removed |Added Summary|Shift left operator causes |Shift left operator causes

[Issue 17168] New: Shift left operator causes segfault when compiling with -O -inline flags

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17168 Issue ID: 17168 Summary: Shift left operator causes segfault when compiling with -O -inline flags Product: D Version: D2 Hardware: x86 OS: Mac OS X

[Issue 17167] New: dmd fails to write to file with 6 or more ".." in the path

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17167 Issue ID: 17167 Summary: dmd fails to write to file with 6 or more ".." in the path Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW

Re: two points

2017-02-09 Thread Nick Sabalausky via Digitalmars-d-announce
On 02/09/2017 04:49 AM, Walter Bright wrote: On 2/8/2017 11:09 PM, Nick Sabalausky wrote: And any PRs I have managed to get through were all uphill battles the whole way. You have contributed 5 PRs to dmd: https://github.com/dlang/dmd/pulls?q=is%3Apr+author%3Aabscissa 1 is open

Re: Codecov and CyberShadow failure

2017-02-09 Thread Jack Stouffer via Digitalmars-d
On Wednesday, 8 February 2017 at 21:05:45 UTC, Jack Stouffer wrote: ... Still can't find the root cause. I'm also unable to recreate the problem locally using the same commands as the doc builder. We currently have nine PRs in the pipe ready to be merged once this error is nailed down. If

Re: GSoC Project Idea's Part 2

2017-02-09 Thread jmh530 via Digitalmars-d
On Friday, 3 February 2017 at 04:12:10 UTC, Craig Dillabaugh wrote: So new project ideas are welcome, and feel free to post any ideas you have here for comment. Also we need mentors so if you post a new project, or see one on the existing ideas page please feel free to offer your services

Can this implementation of Damm algorithm be optimized?

2017-02-09 Thread Nestor via Digitalmars-d-learn
Hi, I was trying to port C code from the article in Wikiversity [1] to D, but I'm not sure this implementation is the most efficient way to do it in D, so suggestions to optimize it are welcome: import std.stdio; static immutable char[] QG10Matrix =

Re: Questionnaire

2017-02-09 Thread jmh530 via Digitalmars-d-announce
On Thursday, 9 February 2017 at 16:33:18 UTC, bachmeier wrote: Make extensions that others can use within their current workflow, and they will use it. Leave it as a Dub package and they won't touch it. You've done a lot of good work, but it's kind of a dead end to target the standalone D

fix for sample mandelbrot code from documentation -- latest gdc has no lockingBinaryWriter

2017-02-09 Thread Oasiq via Digitalmars-d-learn
Hi, I was trying to run the example code from https://dlang.org/phobos/std_stdio.html#.File.lockingBinaryWriter which is very short, as follows. === import std.algorithm, std.range, std.stdio; void main() { enum size = 500; writef("P5\n%d %d %d\n", size, size, ubyte.max);

Re: Questionnaire

2017-02-09 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 8 February 2017 at 18:27:57 UTC, Ilya Yaroshenko wrote: 1. Why your company uses D? a. D is the best b. We like D c. I like D and my company allowed me to use D d. My head like D e. Because marketing reasons f. Because my company can be more efficient with D for some

[Issue 17166] New: [internals] Frontend AST is littered with DMD-specific fields

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17166 Issue ID: 17166 Summary: [internals] Frontend AST is littered with DMD-specific fields Product: D Version: D2 Hardware: All OS: All Status: NEW

Updated LDC snap package with link-time optimization (LTO) support

2017-02-09 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
Revision 3 of the ldc2 snap package is now available in the 'edge' channel of the snap store. This still provides LDC 1.1.0, but with the following important changes: * the backend is provided by LLVM 3.9.1 * support for LDC's experimental link-time optimization (the

Re: vibe.d 0.8.0 and 0.7.31 beta releases

2017-02-09 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 8 February 2017 at 15:18:34 UTC, Sönke Ludwig wrote: The problem is that there are two affected call stacks - the @system API function that registers the @system callback, wrapping/casting it as @trusted, and the event handler that later on actually calls the callback. The latter

Re: two points

2017-02-09 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 9 February 2017 at 09:49:53 UTC, Walter Bright wrote: In any case, shouldn't it be an uphill battle to merge things? There are a lot of things that need to be satisfied to merge something. Being too hasty leads to legacy code that we come to regret, angry people whose code was

Re: two points

2017-02-09 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Thursday, 9 February 2017 at 08:02:23 UTC, Walter Bright wrote: The PR in question: https://github.com/dlang/dmd/pull/4745 It took me a while to find it, because you were using a pseudonym that I did not recognize. There are a number of frequent contributors to D using pseudonyms, and

Re: Cross-compile with LDC

2017-02-09 Thread Joakim via Digitalmars-d-learn
On Wednesday, 8 February 2017 at 17:57:49 UTC, kinke wrote: On Wednesday, 8 February 2017 at 17:21:03 UTC, Oleg B wrote: If I understand correctly with vanilla LDC I can't cross-compiling from host linux-x86_64, but with your patch I can. Right? Right. Joakim Noah has worked on LDC for

Game Website Server Side

2017-02-09 Thread Orkhan via Digitalmars-d-announce
Hello All! We have a multiplayer game website which uses D programming language for server side instant interactions. I need someone professional who is able to make some changes on request. We are the company and we will allocate money for these tasks. It is not only one time task , we are

Re: Questionnaire

2017-02-09 Thread bachmeier via Digitalmars-d-announce
On Wednesday, 8 February 2017 at 18:27:57 UTC, Ilya Yaroshenko wrote: 2. Have you use one of the following Mir projects in production: a. https://github.com/libmir/mir b. https://github.com/libmir/mir-algorithm c. https://github.com/libmir/mir-cpuid d.

Multiplayer Game Project

2017-02-09 Thread Orkhan via Digitalmars-d
Hello All! We have a multiplayer game website which uses D programming language for server side instant interactions. I need someone professional who is able to make some changes on request. We are the company and we will allocate money for these tasks. It is not only one time task , we are

Re: Strange behaviour of rdmd vs. dmd concerning main function

2017-02-09 Thread berni via Digitalmars-d-learn
dmd only compiles in the files you actually pass to it. rdmd will try to find the required files automatically. Since you didn't pass the file with the function to dmd, it knows it exists, but leaves it out of the final link (it assumes it might come from a library or something). That's why

Re: Strange behaviour of rdmd vs. dmd concerning main function

2017-02-09 Thread via Digitalmars-d-learn
On Thu, Feb 09, 2017 at 03:39:18PM +, berni via Digitalmars-d-learn wrote: > Now I try to run it with rdmd and dmd and get quite different results: dmd only compiles in the files you actually pass to it. rdmd will try to find the required files automatically. Since you didn't pass the file

[Issue 17161] [REG 2.072.2] Massive Regex Slowdown

2017-02-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17161 --- Comment #1 from Jack Stouffer --- Introduced here: https://github.com/dlang/phobos/pull/4995 --

Strange behaviour of rdmd vs. dmd concerning main function

2017-02-09 Thread berni via Digitalmars-d-learn
I've got two source files in two directories: Common/common.d module common; import std.stdio; int main(string[] args) { Foo foo = cast(Foo)Object.factory("special.Bar"); foo.do_something(); return 0; } abstract class Foo { abstract void do_something(); } Special/special.d

Re: Factory using an alias template parameter to set a member of the new tool ?

2017-02-09 Thread jkpl via Digitalmars-d-learn
On Thursday, 9 February 2017 at 15:00:21 UTC, angel wrote: On Thursday, 9 February 2017 at 14:39:41 UTC, angel wrote: On Thursday, 9 February 2017 at 13:30:07 UTC, jkpl wrote: I'm looking for a better way to do this, if possible: Or actually, maybe this will suite your case better: ```

  1   2   >