Re: Will code for master title

2015-10-20 Thread ParticlePeter via Digitalmars-d
On Monday, 19 October 2015 at 23:36:19 UTC, Mathias Lang wrote: If you're in Magdeburg, and my German geography is not way off, you're about 2 hours away from Berlin, where we hold a meetup for D enthusiasts every 3rd friday of the month (http://www.meetup.com/Berlin-D-Programmers/). Also, I

KeepTerminator

2015-10-20 Thread Shriramana Sharma via Digitalmars-d
Writing stdin.byLine(KeepTerminator.yes) is quite awkward. Why this long name and not something shorter like KeepEOL? BTW on Python the default is to *not* strip the newlines. Is there a reason the opposite is true here? -- Shriramana Sharma, Penguin #395953

StopWatch

2015-10-20 Thread Shriramana Sharma via Digitalmars-d-learn
http://dlang.org/phobos/std_datetime.html#StopWatch shows the use of TickDuration to measure the time elapsed, but http://dlang.org/phobos/core_time.html#TickDuration says TickDuration is due to be deprecated and MonoTime should be used. It is possible to measure the duration between two

core.attribute - Remove friction for compiler attributes

2015-10-20 Thread Marco Leise via Digitalmars-d
For a while now GDC and LDC have supported a variety of their backend's attributes, like inlining or compiling a specific function with SSE4 in an otherwise generic x64 build. I think we should unify those into a common core.attribute, either aliasing or replacing the vendor specific symbols.

Re: Will code for master title

2015-10-20 Thread ParticlePeter via Digitalmars-d
On Monday, 19 October 2015 at 21:47:33 UTC, qznc wrote: Supervisors like thesis work which fits into their ongoing research projects. Maybe you can find someone who has a long-term C/C++ project and building onto that with D is interesting? I agree and that is the problem. Its kind of tough

Re: [OT] LLVM Community Code of Conduct

2015-10-20 Thread Kagamin via Digitalmars-d
On Monday, 19 October 2015 at 20:47:55 UTC, Vladimir Panteleev wrote: No, not just the runtime. Surely the runtime contains some compiler/linker/toolchain-specific things... intrinsics, linker scripts, section names, predefined versions, assembler syntax... some of these might be

Re: How is std.regex.replaceAllInto more efficient?

2015-10-20 Thread Shriramana Sharma via Digitalmars-d
Sönke Ludwig wrote: > auto re = ctRegex!(`(?<=\d)(?=(\d\d\d)+\b)`, "g"); > foreach (line; stdin.byLine()) > { > replaceAllInto(stdout.lockingTextWriter, line, re, ","); > writeln(); > } Another option is to use KeepTerminator.yes. Using writeln() is shorter! :-) So this one does avoids all the

Swaggarize

2015-10-20 Thread Bogdan via Digitalmars-d-announce
A few months ago I was so pissed off that I was more productive writing a project in javascript than in D, that I was almost wanted to not use D anymore. This happened because there are a lot of nice libraries that people write for javascript and all that you have to do is to bind together

Re: DCD 0.7.1

2015-10-20 Thread Dicebot via Digitalmars-d-announce
On Monday, 19 October 2015 at 21:01:06 UTC, Brian Schott wrote: On Monday, 19 October 2015 at 20:29:41 UTC, Brian Schott wrote: From the README: "The D Completion Daemon is an auto-complete program for the D programming language." 0.7.1 is a (boring) bug-fix release.

[Issue 15228] New: Expose architecture specific feature sets at compile-time

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15228 Issue ID: 15228 Summary: Expose architecture specific feature sets at compile-time Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: KeepTerminator

2015-10-20 Thread Marco Leise via Digitalmars-d
Am Tue, 20 Oct 2015 13:08:07 +0530 schrieb Shriramana Sharma : > Writing stdin.byLine(KeepTerminator.yes) is quite awkward. Why this long > name and not something shorter like KeepEOL? Because enums work that way in D: . and probably because someone found that we

Re: DCD 0.7.1

2015-10-20 Thread John Colvin via Digitalmars-d-announce
On Monday, 19 October 2015 at 21:01:06 UTC, Brian Schott wrote: On Monday, 19 October 2015 at 20:29:41 UTC, Brian Schott wrote: From the README: "The D Completion Daemon is an auto-complete program for the D programming language." 0.7.1 is a (boring) bug-fix release.

0.7.26-beta.1

2015-10-20 Thread Sönke Ludwig via Digitalmars-d
Am 13.10.2015 um 09:38 schrieb Sönke Ludwig: Despite it's name, this release should be considered a beta release. PR #1268[1] will potentially still make it in, but otherwise only bug fixing will happen at this point. As with the previous versions, the final release will happen at the same time

Re: StopWatch

2015-10-20 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, October 20, 2015 13:18:12 Shriramana Sharma via Digitalmars-d-learn wrote: > http://dlang.org/phobos/std_datetime.html#StopWatch shows the use of > TickDuration to measure the time elapsed, but > http://dlang.org/phobos/core_time.html#TickDuration says TickDuration is due > to be

Re: Will code for master title

2015-10-20 Thread ParticlePeter via Digitalmars-d
On Monday, 19 October 2015 at 19:50:40 UTC, Mengu wrote: hi in the meanwhile gsoc ist hier und wir haben einige interessante Projekte. (my tarzan german) Even though I am not aware of the tarzan dialect I do understand it perfectly :-) see http://wiki.dlang.org/GSOC_2015_Ideas. Craig

Re: OT: Morfa - an interesting (toy?) language that claims to be inspired/based on D

2015-10-20 Thread Kagamin via Digitalmars-d
Not based on D much. Declarations from Rust; if-else ternary operator from somewhere; import, static if, assert and traits look like from D; var from C#; templates from C++.

Re: KeepTerminator

2015-10-20 Thread Andrei Alexandrescu via Digitalmars-d
On 10/20/2015 03:38 AM, Shriramana Sharma wrote: Writing stdin.byLine(KeepTerminator.yes) is quite awkward. Why this long name and not something shorter like KeepEOL? It is what it is. Write it and move on. BTW on Python the default is to *not* strip the newlines. Is there a reason the

Re: OT: Morfa - an interesting (toy?) language that claims to be inspired/based on D

2015-10-20 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 20 October 2015 at 10:04:40 UTC, Kagamin wrote: Not based on D much. Declarations from Rust; if-else ternary operator from somewhere; import, static if, assert and traits look like from D; var from C#; templates from C++. They have "static if" though:

Re: OT: Morfa - an interesting (toy?) language that claims to be inspired/based on D

2015-10-20 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 20 October 2015 at 10:22:56 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 20 October 2015 at 10:04:40 UTC, Kagamin wrote: Not based on D much. Declarations from Rust; if-else ternary operator from somewhere; import, static if, assert and traits look like from D; var from C#;

Re: OT: Morfa - an interesting (toy?) language that claims to be inspired/based on D

2015-10-20 Thread Daniel N via Digitalmars-d
On Tuesday, 20 October 2015 at 08:04:24 UTC, rsw0x wrote: http://morfalang.org/ I thought the user-defined operators were pretty neat honestly. Since they were inspired by D, I cannot fathom that they went with the C++ "template < AType >" style, but other than that, I love it! Thanks for

Re: Swaggarize

2015-10-20 Thread Dejan Lekic via Digitalmars-d-announce
For a moment I hoped that you are working on the D codegen for Swagger. :) *that* would really be a useful thing, in my humble opinion! Speaking about the rant about JS and productivity. I never say JS as "one language to rule them all", nor I saw D in the same way. D and JS cover different

Re: Phobos still being statically linked in?

2015-10-20 Thread Dominikus Dittes Scherkl via Digitalmars-d
On Sunday, 18 October 2015 at 16:02:50 UTC, Jacob Carlborg wrote: On 2015-10-17 13:28, Marc Schütz wrote: Yes, it's still linked statically by default, at least with DMD. I don't know why this wasn't changed yet 1. It makes it easier to distribute binaries since most computers won't have a

Re: KeepTerminator

2015-10-20 Thread John Colvin via Digitalmars-d
On Tuesday, 20 October 2015 at 10:10:05 UTC, Andrei Alexandrescu wrote: On 10/20/2015 03:38 AM, Shriramana Sharma wrote: Writing stdin.byLine(KeepTerminator.yes) is quite awkward. Why this long name and not something shorter like KeepEOL? It is what it is. Write it and move on. Or if you

Re: opDispatch and compile time parameters

2015-10-20 Thread Marc Schütz via Digitalmars-d
On Tuesday, 20 October 2015 at 01:49:08 UTC, Jonathan M Davis wrote: On Monday, 19 October 2015 at 23:37:09 UTC, Timon Gehr wrote: This is the worst part: class C{ int[] x=[1,2,3]; } void main(){ auto mut=new C; auto imm=new immutable(C); assert(imm.x[0]==1); mut.x[0]=2;

Re: Natural language parsing (NLP) with D

2015-10-20 Thread Rikki Cattermole via Digitalmars-d
On 21/10/15 1:01 AM, Eliatto wrote: Hello! I am rather new to D ecosystem (I am a C++ developer). I know that there are code-dlang and awesome-D collections of libraries. But I have not found any NLP libraries in D (https://github.com/jogojapan/drulex is not worth mentioning), though there are

Natural language parsing (NLP) with D

2015-10-20 Thread Eliatto via Digitalmars-d
Hello! I am rather new to D ecosystem (I am a C++ developer). I know that there are code-dlang and awesome-D collections of libraries. But I have not found any NLP libraries in D (https://github.com/jogojapan/drulex is not worth mentioning), though there are Go and Rust NLP libraries on github

Re: Coedit 2 alpha 1 - now with dub

2015-10-20 Thread BBasile via Digitalmars-d-announce
On Monday, 19 October 2015 at 19:56:15 UTC, Jack Stouffer wrote: On Monday, 19 October 2015 at 15:03:52 UTC, BBasile wrote: On Saturday, 17 October 2015 at 16:31:38 UTC, DK wrote: Hi, this link https://github.com/BBasile/Coedit/ doesn't work for me (( Coedit is now (since three weeks to be

Re: 0 in version number?

2015-10-20 Thread Shriramana Sharma via Digitalmars-d
Kagamin wrote: > $ ls -v1 | sort ls -v1 | sort -V :-D But there's still no good answer to the question why there should be a zero in 2.068.2; OTOH, I discovered that since the API is still unstable, 2.068 should actually be 2.0.68.2 meaning 2nd bugfix release of the 68th minor release of

Re: kxml - parsing AWS API xml respond

2015-10-20 Thread Kagamin via Digitalmars-d-learn
You can write a helper: XmlNode selectSingleNode(XmlNode src, string path) { XmlNode[] nodes = src.parseXPath(path); return nodes.length==0 ? null : nodes[0]; } Then: string test1 = node.selectSingleNode(`//instanceId`).getCData();

Re: Will code for master title

2015-10-20 Thread Ali Çehreli via Digitalmars-d
On 10/19/2015 12:20 PM, ParticlePeter wrote: > Last ingredient I would need for such a plan is an academic primary > adviser. Two names come to mind: - Chuck Allison uses D when teaching functional programming at Utah Valley University: https://www.youtube.com/watch?v=ymoIx3klQ6M - Carl

OT: Morfa - an interesting (toy?) language that claims to be inspired/based on D

2015-10-20 Thread rsw0x via Digitalmars-d
http://morfalang.org/ I thought the user-defined operators were pretty neat honestly.

Re: Natural language parsing (NLP) with D

2015-10-20 Thread ponce via Digitalmars-d
On Tuesday, 20 October 2015 at 12:01:44 UTC, Eliatto wrote: Why is this field unpopular among (D)evelopers? We aren't numerous, so there hasn't been anyone to tackle the NLP problems now (and many other domains). There is plenty of space to start domain-specific libraries. You could do it

Re: s/TypeTuple/AliasSeq/g?

2015-10-20 Thread Dragos Carp via Digitalmars-d
On Tuesday, 20 October 2015 at 13:18:39 UTC, Shriramana Sharma wrote: Since TypeTuple is now an alias of AliasSeq, I suppose it's OK to replace all occurrences of TypeTuple in std.traits by AliasSeq? Unfortunately it is not so easy. I think that we can proceed to replace `TypeTuple` in

Re: StopWatch

2015-10-20 Thread Russel Winder via Digitalmars-d-learn
On Tue, 2015-10-20 at 02:19 -0700, Jonathan M Davis via Digitalmars-d- learn wrote: > […] > > auto before = MonoTime.currTime; > // do stuff > auto diff = MonoTime.currTime - before; What import statement do you use to get MonoTime.  I tried the above and got an error with all the things I

[Issue 15210] [REG2.064][ICE] (glue.c at 1489) with tuples and AAs

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15210 Kenji Hara changed: What|Removed |Added Severity|enhancement |regression --

Re: StopWatch

2015-10-20 Thread Russel Winder via Digitalmars-d-learn
On Tue, 2015-10-20 at 15:16 +0100, Russel Winder wrote: > […] > What import statement do you use to get MonoTime.  I tried the above > and got an error with all the things I tried. Hummm… I am now not worried about the import, I tried compiling a different way and it worked. The upshot is that I

[Issue 6343] std.math.nextPow2

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6343 Jack Stouffer changed: What|Removed |Added CC||j...@jackstouffer.com

Re: Beta D 2.069.0-b2

2015-10-20 Thread Martin Nowak via Digitalmars-d-announce
On 10/17/2015 09:05 PM, Marco Leise wrote: > Oh wait, false alert. That was a relic from older days. My > build script placed a dummy dmd.conf there. > > I do seem to get problems with ldc2-0.16.0: Are you using something befor 0.16.0-beta2, b/c I thought the problem was resolved.

std.uni general character category

2015-10-20 Thread Charles Hixson via Digitalmars-d-learn
In std.uni (D Lib 2.068.2) I can no longer see how to get the general category code for a character. Does anyone know what the currently supported way to do that is?

Re: s/TypeTuple/AliasSeq/g?

2015-10-20 Thread deadalnix via Digitalmars-d
On Tuesday, 20 October 2015 at 14:10:01 UTC, Dragos Carp wrote: On Tuesday, 20 October 2015 at 13:18:39 UTC, Shriramana Sharma wrote: Since TypeTuple is now an alias of AliasSeq, I suppose it's OK to replace all occurrences of TypeTuple in std.traits by AliasSeq? Unfortunately it is not so

Re: Just one time

2015-10-20 Thread Ali Çehreli via Digitalmars-d-learn
On 10/20/2015 08:48 AM, Andrea Fontana wrote: It happens I need to perform an operation just one time (inside a function, a loop...) An idea that uses a function pointer where the first step does its task and then sets the stage for the following steps: import std.stdio; import std.range;

Re: Coedit 2 alpha 1 - now with dub

2015-10-20 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 20 October 2015 at 12:46:51 UTC, BBasile wrote: On Monday, 19 October 2015 at 19:56:15 UTC, Jack Stouffer wrote: On Monday, 19 October 2015 at 15:03:52 UTC, BBasile wrote: On Saturday, 17 October 2015 at 16:31:38 UTC, DK wrote: Hi, this link https://github.com/BBasile/Coedit/

Re: Just one time

2015-10-20 Thread Andrea Fontana via Digitalmars-d-learn
On Tuesday, 20 October 2015 at 15:55:47 UTC, John Colvin wrote: Be aware that there will be one instance of val per thread, so you are detecting the first run in each thread, not in the program overall. This is the kind of thing I'm interested in. What happens if I call isFirstTime!"test"

Re: The D Language Foundation is now incorporated

2015-10-20 Thread Piotrek via Digitalmars-d-announce
On Tuesday, 20 October 2015 at 17:08:42 UTC, Andrei Alexandrescu wrote: Walter Bright (President) A snap election in US? ;) Congrats Mr President. Piotrek

Re: Is dlangui dead?

2015-10-20 Thread tcak via Digitalmars-d
On Tuesday, 20 October 2015 at 17:01:19 UTC, karabuta wrote: I hope I am wrong, but dlangui seems to be abandoned for some time after all the hard work that went into it. I really like it since it was easy to setup and get things working. In fact, I consider it the best option. So, are you

Re: Synchronized classes have no public members

2015-10-20 Thread Bruno Medeiros via Digitalmars-d
On 16/10/2015 08:02, Jacob Carlborg wrote: On 2015-10-16 08:49, Dicebot wrote: As far as I understand topic is about deprecating direct field access of synchronized classes, method calls in synhronized classes and `synchronized () {}` blocks will remain untouched. Is it even possible to do

Re: s/TypeTuple/AliasSeq/g?

2015-10-20 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 20 October 2015 at 18:09:31 UTC, deadalnix wrote: On Tuesday, 20 October 2015 at 14:10:01 UTC, Dragos Carp wrote: On Tuesday, 20 October 2015 at 13:18:39 UTC, Shriramana Sharma wrote: Since TypeTuple is now an alias of AliasSeq, I suppose it's OK to replace all occurrences of

Re: [OT] LLVM Community Code of Conduct

2015-10-20 Thread Vladimir Panteleev via Digitalmars-d
On Monday, 19 October 2015 at 21:24:00 UTC, Iain Buclaw wrote: In order: You are responsible, the library maintainers (I chip in a bit on the side when I have the hardware / virtual environment). You are responsible, the authors and reviewers of the testsuite and unittests. Who is this

Re: Natural language parsing (NLP) with D

2015-10-20 Thread Laeeth Isharc via Digitalmars-d
On Tuesday, 20 October 2015 at 16:01:41 UTC, Chris wrote: On Tuesday, 20 October 2015 at 15:49:18 UTC, bachmeier wrote: It's not my area, but are you thinking of something like Freeling? http://nlp.lsi.upc.edu/freeling/ Asking for a friend. I think a C++ expert could get it to work with D

Just one time

2015-10-20 Thread Andrea Fontana via Digitalmars-d-learn
It happens I need to perform an operation just one time (inside a function, a loop...) I wonder if doing this it's a good idea or not. bool isFirstTime(alias T)() { static val = true; if (val) { val = false; return true; }

Re: Natural language parsing (NLP) with D

2015-10-20 Thread bachmeier via Digitalmars-d
On Tuesday, 20 October 2015 at 12:01:44 UTC, Eliatto wrote: Hello! I am rather new to D ecosystem (I am a C++ developer). I know that there are code-dlang and awesome-D collections of libraries. But I have not found any NLP libraries in D (https://github.com/jogojapan/drulex is not worth

Re: It's a class! It's a struct! It's ... SuperStruct!

2015-10-20 Thread Vladimir Panteleev via Digitalmars-d-announce
On Monday, 19 October 2015 at 10:27:26 UTC, Walter Bright wrote: On 10/18/2015 12:00 PM, rcorre wrote: SuperStruct is a struct that acts like a class: I suggest it be renamed to 'shimmer': http://www.nbc.com/saturday-night-live/video/shimmer-floor-wax/n8625 "This video is not available

Re: Coedit 2 alpha 1 - now with dub

2015-10-20 Thread bachmeier via Digitalmars-d-announce
On Tuesday, 20 October 2015 at 15:38:46 UTC, jmh530 wrote: On Tuesday, 20 October 2015 at 12:46:51 UTC, BBasile wrote: On Monday, 19 October 2015 at 19:56:15 UTC, Jack Stouffer wrote: On Monday, 19 October 2015 at 15:03:52 UTC, BBasile wrote: [...] Any particular reason? Yes, I don't care

Re: Just one time

2015-10-20 Thread John Colvin via Digitalmars-d-learn
On Tuesday, 20 October 2015 at 15:48:47 UTC, Andrea Fontana wrote: It happens I need to perform an operation just one time (inside a function, a loop...) I wonder if doing this it's a good idea or not. bool isFirstTime(alias T)() { static val = true; if (val) {

[Issue 15210] [REG2.064][ICE] (glue.c at 1489) with tuples and AAs

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15210 --- Comment #2 from Kenji Hara --- Reduced test case: struct BigInt {} alias AliasSeq(T...) = T; template Tuple(Types) { struct Tuple { Types expand; alias field = expand; } } void main() {

[Issue 15210] [REG2.064][ICE] (glue.c at 1489) with tuples and AAs

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15210 --- Comment #3 from Kenji Hara --- (In reply to Kenji Hara from comment #2) > Reduced test case: Sorry I was wrong, correct version is: struct BigInt {} template Tuple(Types...) { struct Tuple { Types field;

[Issue 15210] [REG2.064][ICE] (glue.c at 1489) with tuples and AAs

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15210 Kenji Hara changed: What|Removed |Added Keywords||ice, pull

Re: Just one time

2015-10-20 Thread John Colvin via Digitalmars-d-learn
On Tuesday, 20 October 2015 at 16:01:58 UTC, Andrea Fontana wrote: On Tuesday, 20 October 2015 at 15:55:47 UTC, John Colvin wrote: Be aware that there will be one instance of val per thread, so you are detecting the first run in each thread, not in the program overall. This is the kind of

Is dlangui dead?

2015-10-20 Thread karabuta via Digitalmars-d
I hope I am wrong, but dlangui seems to be abandoned for some time after all the hard work that went into it. I really like it since it was easy to setup and get things working. In fact, I consider it the best option.

Re: Natural language parsing (NLP) with D

2015-10-20 Thread Chris via Digitalmars-d
On Tuesday, 20 October 2015 at 15:49:18 UTC, bachmeier wrote: It's not my area, but are you thinking of something like Freeling? http://nlp.lsi.upc.edu/freeling/ Asking for a friend. I think a C++ expert could get it to work with D with little difficulty, at least by creating C bindings,

Re: dmd codegen improvements

2015-10-20 Thread Tobias Müller via Digitalmars-d
Iain Buclaw via Digitalmars-d wrote: > On 5 Sep 2015 11:25 pm, "Walter Bright via Digitalmars-d" < > digitalmars-d@puremagic.com> wrote: >> >> On 9/5/2015 5:54 AM, Adam D. Ruppe wrote: >>> >>> On Saturday, 5 September 2015 at 08:15:06 UTC, Walter Bright wrote:

Re: kxml - parsing AWS API xml respond

2015-10-20 Thread holo via Digitalmars-d-learn
On Tuesday, 20 October 2015 at 13:23:47 UTC, opticron wrote: I think part of the issue here is that holo isn't quite sure of what information [s]he needs out of the XML reply and how to do that with XPath. The first post mentioned getting instanceId and launchTime, so I'll start there using

Re: The D Language Foundation is now incorporated

2015-10-20 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 10/18/2015 02:35 AM, Jonathan M Davis via Digitalmars-d-announce wrote: On Saturday, October 17, 2015 19:12:41 Andrei Alexandrescu via Digitalmars-d-announce wrote: On 10/17/15 4:06 PM, suliman wrote: Can anybody outside USA join to the foundation? As a member, yes. We'll define private

Re: [OT] LLVM Community Code of Conduct

2015-10-20 Thread Iain Buclaw via Digitalmars-d
On 20 October 2015 at 20:44, Vladimir Panteleev via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Monday, 19 October 2015 at 21:24:00 UTC, Iain Buclaw wrote: > >> In order: >> You are responsible, the library maintainers (I chip in a bit on the side >> when I have the hardware /

Re: The D Language Foundation is now incorporated

2015-10-20 Thread Suliman via Digitalmars-d-announce
On Tuesday, 20 October 2015 at 19:54:29 UTC, Andre Polykanine wrote: Hello Suliman, SvDda> I hope that I can be helpful as admin of Russian community or SvDda> something like it. At present time we end working at our SvDda> dlang.ru, for my regret the work on CMS take more then one

Re: Beta D 2.069.0-b2

2015-10-20 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 20 Oct 2015 19:26:13 +0200 schrieb Martin Nowak : > On 10/17/2015 09:05 PM, Marco Leise wrote: > > Oh wait, false alert. That was a relic from older days. My > > build script placed a dummy dmd.conf there. > > > > I do seem to get problems with ldc2-0.16.0:

Re: The D Language Foundation is now incorporated

2015-10-20 Thread Andre Polykanine via Digitalmars-d-announce
Hello Suliman, SvDda> I hope that I can be helpful as admin of Russian community or SvDda> something like it. At present time we end working at our SvDda> dlang.ru, for my regret the work on CMS take more then one year, Do you need any help? -- With best regards from Ukraine, Andre

Re: The D Language Foundation is now incorporated

2015-10-20 Thread Andre Polykanine via Digitalmars-d-announce
SvDda> There is some other issues, but I hope to fix it's after site revive. Anyway, if you need help, please feel free to ask. I do speak Russian :). -- With best regards from Ukraine, Andre Skype: Francophile Twitter: @m_elensule; Facebook: menelion My blog: http://menelion.oire.org/

[Issue 6343] std.math.nextPow2

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6343 --- Comment #5 from bearophile_h...@eml.cc --- (In reply to Jack Stouffer from comment #4) > https://github.com/D-Programming-Language/phobos/pull/3755 size_t w = 8; int[nextPow2(w)][6] mat; nextPow2(8) needs to be 8. If you think the name of the

[Issue 6343] std.math.nextPow2

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6343 --- Comment #6 from bearophile_h...@eml.cc --- (In reply to bearophile_hugs from comment #5) > If you think the name of the function is wrong, then change its name ceilPow2 sounds OK. --

[Issue 6343] std.math.ceilPow2

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6343 bearophile_h...@eml.cc changed: What|Removed |Added Summary|std.math.nextPow2 |std.math.ceilPow2 --

Re: [OT] LLVM Community Code of Conduct

2015-10-20 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 20 October 2015 at 20:02:26 UTC, Iain Buclaw wrote: What can I say? We have a lot of faith in our porters. :-) You can talk to me if you run into any problems, because I'm certainly more *aware* of porting and portability than most other druntime and compiler maintainers.

Re: Check Instance of Template for Parameter Type/Value

2015-10-20 Thread stew via Digitalmars-d-learn
On Monday, 19 October 2015 at 14:51:29 UTC, Stewart Moth wrote: I'm working with a library that has template structs of mathematical vectors that can sometimes be the type of an array I'm passing to a function. The definition of the struct is like this: struct Vector(type, int dimension_){

Re: DCD 0.7.1

2015-10-20 Thread Brian Schott via Digitalmars-d-announce
On Tuesday, 20 October 2015 at 08:28:19 UTC, Dicebot wrote: Which LDC is it supposed to build with? Trying latest stable (0.15.1) I get: src/server/autocomplete.d(23): Error: module logger is in file 'std/experimental/logger.d' which cannot be read 0.16 beta. I'll add another mention of this

Re: Natural language parsing (NLP) with D

2015-10-20 Thread Andrei Alexandrescu via Digitalmars-d
On 10/20/2015 08:01 AM, Eliatto wrote: Hello! I am rather new to D ecosystem (I am a C++ developer). I know that there are code-dlang and awesome-D collections of libraries. But I have not found any NLP libraries in D (https://github.com/jogojapan/drulex is not worth mentioning), though there

Re: Natural language parsing (NLP) with D

2015-10-20 Thread Chris via Digitalmars-d
On Tuesday, 20 October 2015 at 12:01:44 UTC, Eliatto wrote: Why is this field unpopular among (D)evelopers? I work with NLP almost all the time and D is very well suited for it. It's mainly text-to-speech stuff, but I have a tiny POS tagger (or rather POS identifier) as well. D would be

Re: opDispatch and compile time parameters

2015-10-20 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 20 October 2015 at 11:36:36 UTC, Marc Schütz wrote: On Tuesday, 20 October 2015 at 01:49:08 UTC, Jonathan M Davis wrote: On Monday, 19 October 2015 at 23:37:09 UTC, Timon Gehr wrote: This is the worst part: class C{ int[] x=[1,2,3]; } void main(){ auto mut=new C; auto

[Issue 15094] [REG2.063] __traits(getMember) fails when the source is a struct/class field

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15094 Kenji Hara changed: What|Removed |Added Keywords||rejects-valid --- Comment

[Issue 15094] __traits(getMember) fails when the source is a struct/class field

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15094 Vladimir Panteleev changed: What|Removed |Added Summary|[REG2.063]

Re: Fastest JSON parser in the world is a D project

2015-10-20 Thread Laeeth Isharc via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 07:01:49 UTC, Marco Leise wrote: The test is pretty simple: Parse a JSON object, containing an array of 1_000_000 3D coordinates in the range [0..1) and average them. The performance of std.json in parsing those was horrible still in the DMD 2.066 days*:

Re: opDispatch and compile time parameters

2015-10-20 Thread Nikolay via Digitalmars-d
On Monday, 19 October 2015 at 18:16:15 UTC, Andrei Alexandrescu wrote: Tangentially related: since when we allow field initialization with new? I was surprised to see that this works: Thanks for this notice. I edited question on SO and I removed field initialization with new (replace

Re: s/TypeTuple/AliasSeq/g?

2015-10-20 Thread Shriramana Sharma via Digitalmars-d
deadalnix wrote: > We should weed these out over time. Not really remove them, as to > not break old code, but just create new names for these and > remove old name from the doc and all. Working on this right now... BTW "isExpressions" – what kind of singular/plural grammar is that? When

Re: s/TypeTuple/AliasSeq/g?

2015-10-20 Thread anonymous via Digitalmars-d
On Wednesday, October 21, 2015 06:49 AM, Shriramana Sharma wrote: > BTW "isExpressions" – what kind of singular/plural grammar is that? When > renaming `isExpressionsTuple`, I would think it more appropriate to have > "isExpressionSeq" since it's an `AliasSeq` containing only expressions and > no

Re: Will code for master title

2015-10-20 Thread ParticlePeter via Digitalmars-d
On Tuesday, 20 October 2015 at 06:52:18 UTC, Ali Çehreli wrote: Two names come to mind: - Chuck Allison uses D when teaching functional programming at Utah Valley University: https://www.youtube.com/watch?v=ymoIx3klQ6M - Carl Sturtivant taught D during a summer course:

Re: OT: Morfa - an interesting (toy?) language that claims to be inspired/based on D

2015-10-20 Thread Idan Arye via Digitalmars-d
On Tuesday, 20 October 2015 at 10:22:56 UTC, Ola Fosheim Grøstad wrote: What is interesting about Morfa is that they have a jitted REPL. That's a significant advantage worth pursuing. Looks like LLVM makes such things possible - there is also one for C++(https://github.com/vgvassilev/cling).

[Issue 15207] [REG2.069.0-b1] Wrong codegen with -inline

2015-10-20 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15207 Kenji Hara changed: What|Removed |Added Keywords||pull, wrong-code

s/TypeTuple/AliasSeq/g?

2015-10-20 Thread Shriramana Sharma via Digitalmars-d
Since TypeTuple is now an alias of AliasSeq, I suppose it's OK to replace all occurrences of TypeTuple in std.traits by AliasSeq? -- Shriramana Sharma, Penguin #395953

Re: kxml - parsing AWS API xml respond

2015-10-20 Thread opticron via Digitalmars-d-learn
I think part of the issue here is that holo isn't quite sure of what information [s]he needs out of the XML reply and how to do that with XPath. The first post mentioned getting instanceId and launchTime, so I'll start there using the AWS example XML found here: