Re: two points

2017-02-08 Thread Nick Sabalausky via Digitalmars-d-announce
On 02/09/2017 01:08 AM, Joakim wrote: I agree that "coercion," or more accurately the tyranny of the default, is the dominant factor in language popularity even today, but you're reaching when you apply that to web frameworks too. Fair enough. It was just another example trying to make the

Re: Questionnaire

2017-02-08 Thread Chris Wright via Digitalmars-d-announce
On Wed, 08 Feb 2017 18:27:57 +, Ilya Yaroshenko wrote: > 1. Why your company uses D? You might have specified that this questionnaire is only for people who use D at work. I use D for small utilities to help in development. For instance, I used vibe.d to compare performance with other

Re: Beta D 2.073.1-b1

2017-02-08 Thread Meta via Digitalmars-d-announce
On Thursday, 9 February 2017 at 00:31:17 UTC, Martin Nowak wrote: First beta for the 2.073.1 point release. This version resolves a few regressions and bugs in the 2.073.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.1.html Please report any bugs at

[Issue 17162] New: std.algorithm.startsWith fails to compile with -dip1000 switch

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17162 Issue ID: 17162 Summary: std.algorithm.startsWith fails to compile with -dip1000 switch Product: D Version: D2 Hardware: x86_64 OS: Windows Status:

two points

2017-02-08 Thread Joakim via Digitalmars-d-announce
I'm not going to fill out the questionnaire because I'm not at a company and have not tried Mir, but two points about what Nick and Mike wrote. On Wednesday, 8 February 2017 at 20:40:48 UTC, Nick Sabalausky wrote: Coercion (and perceived coercion[1] for that matter) makes technologies

Re: Workaround for DIP 1005

2017-02-08 Thread Jonathan M Davis via Digitalmars-d
On Friday, February 03, 2017 14:43:01 Dominikus Dittes Scherkl via Digitalmars-d wrote: > Any thoughts? This is really cool, but I have a couple of concerns about this and how it seems deficient in comparison to DIP 1005. I mentioned it in Andrei's PR for this, but no one has responded to my

Re: GSoC Project Idea's Part 2

2017-02-08 Thread Seb 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. A couple of random ideas: Compilation cache and parallel compilation -- For bigger

Re: Codecov and CyberShadow failure

2017-02-08 Thread Joakim via Digitalmars-d
On Wednesday, 8 February 2017 at 17:30:53 UTC, RazvanN wrote: I've noticed a couple of days ago that the 2 components mentioned in $title aren't working when making PRs. I don't have any experience with this, so what is there to be done? RazvanN CyberShadow is Vladimir Panteleev's nickname:

Re: Questionnaire

2017-02-08 Thread Dsby 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

Re: code.dlang.org internal server error

2017-02-08 Thread puming via Digitalmars-d
On Wednesday, 8 February 2017 at 14:11:48 UTC, Sönke Ludwig wrote: Am 08.02.2017 um 14:29 schrieb singingbush: [...] Yes, we need to prioritize this somehow. Having a fallback mirror, coupled with dependency upgrade checks that run asynchronously would get rid of these issues. It would be

Re: Boston D Meetup 2/17: `shared` Experiences

2017-02-08 Thread Steven Schveighoffer via Digitalmars-d-announce
On 1/30/17 4:48 PM, Steven Schveighoffer wrote: Attention fellow Boston D enthusiasts: I have set up a meetup for February, and Michael Coulombe will give a presentation on his experiences with shared. As before, this will be at the Capital One Cafe in the back bay (across from Prudential

Re: Questionnaire

2017-02-08 Thread Moritz Maxeiner 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 17161] New: [REG 2.072.2] Massive Regex Slowdown

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17161 Issue ID: 17161 Summary: [REG 2.072.2] Massive Regex Slowdown Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority:

Beta D 2.073.1-b1

2017-02-08 Thread Martin Nowak via Digitalmars-d-announce
First beta for the 2.073.1 point release. This version resolves a few regressions and bugs in the 2.073.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.073.1.html Please report any bugs at https://issues.dlang.org -Martin

Re: Questionnaire

2017-02-08 Thread Mike via Digitalmars-d-announce
On Wednesday, 8 February 2017 at 22:52:36 UTC, bpr wrote: On Wednesday, 8 February 2017 at 21:41:24 UTC, Mike wrote: Suggesting D would be an exercise in futility, unless I can create a notable project in D in my spare time that demonstrates its advantages and appeal to the masses. I tried

Re: Questionnaire

2017-02-08 Thread Nicholas Wilson via Digitalmars-d-announce
On Wednesday, 8 February 2017 at 18:27:57 UTC, Ilya Yaroshenko wrote: All my current D project are finished. Probably I will use other languages for production this year, Java/Go/whatever. N... I Guess I'll have to try to convince you to help with DCompute once the necessary compiler

Re: Questionnaire

2017-02-08 Thread bpr via Digitalmars-d-announce
On Wednesday, 8 February 2017 at 21:41:24 UTC, Mike wrote: Suggesting D would be an exercise in futility, unless I can create a notable project in D in my spare time that demonstrates its advantages and appeal to the masses. I tried to do this 2 years ago, but D failed me, primarily due to

[Issue 17160] Apparently faulty behavior comparing enum members using `is`

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17160 j...@red.email.ne.jp changed: What|Removed |Added Keywords||wrong-code CC|

Re: Questionnaire

2017-02-08 Thread Mike via Digitalmars-d-announce
On Wednesday, 8 February 2017 at 18:27:57 UTC, Ilya Yaroshenko wrote: 1. Why your company uses D? We don't use D. 2. Does your company uses C/C++, Java, Scala, Go, Rust? C/C++. Currently exploring Rust. 3. If yes, what the reasons to do not use D instead? * The powers that be in my

[Issue 17160] Apparently faulty behavior comparing enum members using `is`

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17160 --- Comment #1 from Sophie --- This issue seems not to occur when using `enum Enum: real` instead of double. >From IRC: hmm it does a byte comparison but they differ, one is 00D0CC... the other is CDCC... i am

Re: Codecov and CyberShadow failure

2017-02-08 Thread Jack Stouffer via Digitalmars-d
On Wednesday, 8 February 2017 at 17:30:53 UTC, RazvanN wrote: I've noticed a couple of days ago that the 2 components mentioned in $title aren't working when making PRs. I don't have any experience with this, so what is there to be done? RazvanN Trying to narrow it down here:

[Issue 17160] New: Apparently faulty behavior comparing enum members using `is`

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17160 Issue ID: 17160 Summary: Apparently faulty behavior comparing enum members using `is` Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW

Re: Questionnaire

2017-02-08 Thread Nick Sabalausky via Digitalmars-d-announce
On 02/08/2017 01:27 PM, 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 tasks then with

[Issue 16577] deduplicate deprecation messages

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16577 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu

Re: Passing variables, preserving UDAs: A Gripe

2017-02-08 Thread Nick Sabalausky via Digitalmars-d
On 02/08/2017 01:00 PM, Nick Sabalausky wrote: But even if that did compile, it still wouldn't work because doStuff wouldn't be able to access "foo.s" since "foo" isn't getting passed in in any way. I mean, in order to *set* a value for "foo.s", not *just* access UDAs.

Re: GC question

2017-02-08 Thread Ola Fosheim Grøstad via Digitalmars-d-learn
On Saturday, 4 February 2017 at 15:23:53 UTC, Adam D. Ruppe wrote: On Saturday, 4 February 2017 at 12:56:55 UTC, osa1 wrote: - Automatic but conservative. Can leak at any time. All GCs are prone to leak, including precise ones. The point of garbage collection is not to prevent leaks, but

Re: Internal error on Wiki page

2017-02-08 Thread Vladimir Panteleev via Digitalmars-d
On Wednesday, 8 February 2017 at 02:20:59 UTC, rikki cattermole wrote: Probably related. Help! :) code.dlang.org/ 500 - Internal Server Error Internal Server Error Ali Last I checked they are not integrated or use the same technologies. New post please. Yep, different server :)

Re: Questionnaire

2017-02-08 Thread Ilya Yaroshenko via Digitalmars-d-announce
Plus, it can be enchanted during the GSoC 2017. EDIT: enhanced

Re: Mir Algorithm preview: the new ndslice, dlang Iterators, fast generics

2017-02-08 Thread Ilya Yaroshenko via Digitalmars-d
2. Canonical: BLAS-like, raw stride is assumed to be 1 EDIT: row stride

Questionnaire

2017-02-08 Thread Ilya Yaroshenko via Digitalmars-d-announce
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 tasks then with any other system language 2. Does your company uses

Life is better with community automation

2017-02-08 Thread qznc via Digitalmars-d
I just watched this talk "Life is better with Rust's community automation" by E. Dunham Video: https://youtu.be/dIageYT0Vgg Blog post: http://edunham.net/2016/09/27/rust_s_community_automation.html (Not the same talk, but very close and by the correct speaker/blogger) Some of the 2017 H1

Re: Passing variables, preserving UDAs: A Gripe

2017-02-08 Thread Nick Sabalausky via Digitalmars-d
On 02/08/2017 07:38 AM, Kagamin wrote: try this: void main() { auto foo = new Foo(); doStuff!(Foo.s); } Same result: Error: need 'this' for 'doStuff' of type 'pure nothrow @nogc @safe void()' But even if that did compile, it still wouldn't work because doStuff wouldn't be able to

Re: Cross-compile with LDC

2017-02-08 Thread kinke via Digitalmars-d-learn
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 Android and as far as I know provides some prebuilt compilers, a

[Issue 17159] Behavior of unions at compile time is not documented

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17159 Sophie changed: What|Removed |Added CC||meapineap...@gmail.com ---

Codecov and CyberShadow failure

2017-02-08 Thread RazvanN via Digitalmars-d
I've noticed a couple of days ago that the 2 components mentioned in $title aren't working when making PRs. I don't have any experience with this, so what is there to be done? RazvanN

Re: Cross-compile with LDC

2017-02-08 Thread Oleg B via Digitalmars-d-learn
On Wednesday, 8 February 2017 at 16:21:49 UTC, kinke wrote: On Wednesday, 8 February 2017 at 14:57:41 UTC, Oleg B wrote: Hello all! I want to build ldc cross compiller. I found this instruction https://wiki.dlang.org/LDC_cross-compilation_for_ARM_GNU/Linux, but I have some doubts: will it

Re: Mir Algorithm preview: the new ndslice, dlang Iterators, fast generics

2017-02-08 Thread Ilya Yaroshenko via Digitalmars-d
On Wednesday, 8 February 2017 at 15:33:25 UTC, jmh530 wrote: On Tuesday, 7 February 2017 at 16:18:20 UTC, Ilya Yaroshenko wrote: Feedback is welcome! I don't have time right now to play around with it, but I looked through the documentation. Here are my comments: 1) I would consider

Re: Cross-compile with LDC

2017-02-08 Thread kinke via Digitalmars-d-learn
On Wednesday, 8 February 2017 at 14:57:41 UTC, Oleg B wrote: Hello all! I want to build ldc cross compiller. I found this instruction https://wiki.dlang.org/LDC_cross-compilation_for_ARM_GNU/Linux, but I have some doubts: will it works with ldc-1.1.0? Particularly interested in the patch

Re: Mir Algorithm preview: the new ndslice, dlang Iterators, fast generics

2017-02-08 Thread jmh530 via Digitalmars-d
On Wednesday, 8 February 2017 at 15:33:25 UTC, jmh530 wrote: I don't have time right now to play around with it, but I looked through the documentation. Here are my comments: Also on #2, you might beef that link up with some of the comments from the post up top.

Re: Mir Algorithm preview: the new ndslice, dlang Iterators, fast generics

2017-02-08 Thread jmh530 via Digitalmars-d
On Tuesday, 7 February 2017 at 16:18:20 UTC, Ilya Yaroshenko wrote: Feedback is welcome! I don't have time right now to play around with it, but I looked through the documentation. Here are my comments: 1) I would consider http://docs.algorithm.dlang.io/latest/mir_ndslice.html to be the

Re: vibe.d 0.8.0 and 0.7.31 beta releases

2017-02-08 Thread Sönke Ludwig via Digitalmars-d-announce
Am 08.02.2017 um 11:30 schrieb Kagamin: On Friday, 3 February 2017 at 13:21:18 UTC, Sönke Ludwig wrote: Keeping the system overloads would break the safety guarantees at a relatively deep level and would render the whole effort rather useless (this is the case for non-scope callbacks only, so

Cross-compile with LDC

2017-02-08 Thread Oleg B via Digitalmars-d-learn
Hello all! I want to build ldc cross compiller. I found this instruction https://wiki.dlang.org/LDC_cross-compilation_for_ARM_GNU/Linux, but I have some doubts: will it works with ldc-1.1.0? Particularly interested in the patch

Implementation of B+ trees

2017-02-08 Thread Nestor via Digitalmars-d-learn
Hi, Is there a native D implementation of B+ tree anywhere? So far I have found only std.container.rbtree but I wanted to compare both algorithms regarding search performance, memory and cpu usage, and storage space required for serialization. Thanks in advance.

[Issue 17159] New: Behavior of unions at compile time is not documented

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17159 Issue ID: 17159 Summary: Behavior of unions at compile time is not documented Product: D Version: D2 Hardware: All URL: https://dlang.org/spec/function.html#interpretation

Re: CTFE Status

2017-02-08 Thread Kagamin via Digitalmars-d
On Wednesday, 8 February 2017 at 14:03:13 UTC, Stefan Koch wrote: generally it takes as much space as the largest member. Why do you ask ? And in what context ? Asking about memory consumption. I thought it allowed access to overlapped fields, now I see it doesn't.

Re: code.dlang.org internal server error

2017-02-08 Thread Sönke Ludwig via Digitalmars-d
Am 08.02.2017 um 14:29 schrieb singingbush: On Wednesday, 8 February 2017 at 12:54:00 UTC, John Colvin wrote: On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali Seeing as

Re: CTFE Status

2017-02-08 Thread Stefan Koch via Digitalmars-d
On Wednesday, 8 February 2017 at 14:01:33 UTC, Kagamin wrote: Do I understand it right that union at compile time takes space equal to the sum of sizes of its members instead of the size of the largest member? generally it takes as much space as the largest member. Why do you ask ? And in

Re: CTFE Status

2017-02-08 Thread Kagamin via Digitalmars-d
Do I understand it right that union at compile time takes space equal to the sum of sizes of its members instead of the size of the largest member?

Re: CTFE Status

2017-02-08 Thread Stefan Koch via Digitalmars-d
Function pointers and other advanced features interfere with the ability to cache bytecode I just never noticed because the bytecode caching feature was disabled a long time. Since I do not know how much of it is bitrot I removed it alltogether. This feature will return and be more performant,

Re: code.dlang.org internal server error

2017-02-08 Thread Eugene Wissner via Digitalmars-d
On Wednesday, 8 February 2017 at 12:54:00 UTC, John Colvin wrote: On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali Seeing as code.dlang.org is pretty critical these days, it

Re: glibc resolve.h for D

2017-02-08 Thread Seb via Digitalmars-d
On Wednesday, 8 February 2017 at 12:49:39 UTC, Márcio Martins wrote: Anyone has a binding readily available that I can use? code.dlang.org is down, so I can't check there - I am in a hurry! :) Use dstep to generate the binding automatically: https://github.com/jacob-carlborg/dstep

[Issue 17158] New: [404 Not Found]

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17158 Issue ID: 17158 Summary: [404 Not Found] Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: normal

Re: code.dlang.org internal server error

2017-02-08 Thread singingbush via Digitalmars-d
On Wednesday, 8 February 2017 at 12:54:00 UTC, John Colvin wrote: On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali Seeing as code.dlang.org is pretty critical these days, it

Re: Passing variables, preserving UDAs: A Gripe

2017-02-08 Thread John Colvin via Digitalmars-d
On Wednesday, 8 February 2017 at 07:57:15 UTC, Timon Gehr wrote: On 07.02.2017 22:59, Nick Sabalausky wrote: Suppose I have some code that operates on a variable's value and its UDAs. And I want to refactor that code into a reusable function. Sounds simple enough, right? So, consider a basic

Re: glibc resolve.h for D

2017-02-08 Thread John Colvin via Digitalmars-d
On Wednesday, 8 February 2017 at 12:49:39 UTC, Márcio Martins wrote: Anyone has a binding readily available that I can use? code.dlang.org is down, so I can't check there - I am in a hurry! :) I dont' have one, but if you're in a hurry then copy and port the C function/constant defs and port

Re: code.dlang.org internal server error

2017-02-08 Thread John Colvin via Digitalmars-d
On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali Seeing as code.dlang.org is pretty critical these days, it would be great if there was a better way to handle this than "wait

glibc resolve.h for D

2017-02-08 Thread Márcio Martins via Digitalmars-d
Anyone has a binding readily available that I can use? code.dlang.org is down, so I can't check there - I am in a hurry! :)

Re: Passing variables, preserving UDAs: A Gripe

2017-02-08 Thread Kagamin via Digitalmars-d
try this: void main() { auto foo = new Foo(); doStuff!(Foo.s); }

Re: How do I call a C++ struct default constructor from D?

2017-02-08 Thread evilrat via Digitalmars-d-learn
On Tuesday, 7 February 2017 at 14:26:11 UTC, MGW wrote: On Tuesday, 7 February 2017 at 13:37:01 UTC, Atila Neves wrote: Here still example https://pp.vk.me/c636630/v636630885/46579/neSdIip1ySI.jpg I'm sorry for being offensive, but... Of course, and the next step will be pragma mangle on D

Re: Array start index

2017-02-08 Thread Bastiaan Veelo via Digitalmars-d-learn
Wrapup: I am going to go for the original approach of index conversion, and leaving the offset-pointer approach for what it is. Reasons: 1) uncertain efficiency gain/loss, 2) theoretically it may fail, 3) .sizeof does not include the payload, 4) analysis of the assembler generated by our

Re: code.dlang.org internal server error

2017-02-08 Thread bachmeier via Digitalmars-d
On Wednesday, 8 February 2017 at 06:35:41 UTC, Eugene Wissner wrote: On Wednesday, 8 February 2017 at 05:49:55 UTC, Ali Çehreli wrote: code.dlang.org gives the following error: 500 - Internal Server Error Internal Server Error Ali code.dlang.org is quite often down with the same errror.

Re: vibe.d 0.8.0 and 0.7.31 beta releases

2017-02-08 Thread Kagamin via Digitalmars-d-announce
On Friday, 3 February 2017 at 13:21:18 UTC, Sönke Ludwig wrote: Keeping the system overloads would break the safety guarantees at a relatively deep level and would render the whole effort rather useless (this is the case for non-scope callbacks only, so if you stumble over a deprecated

[Issue 17157] New: ctRegex.matchAll doesn't set last item in Captures

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17157 Issue ID: 17157 Summary: ctRegex.matchAll doesn't set last item in Captures Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal

Re: Internal error on Wiki page

2017-02-08 Thread Puming via Digitalmars-d
On Wednesday, 8 February 2017 at 02:19:23 UTC, Ali Çehreli wrote: On 02/06/2017 06:43 PM, Luís Marques wrote: This page shows an error instead of displaying the Wiki content: [54c97baea4172eeabd69f522] 2017-02-06 13:47:44: Fatal

Re: Natural sorted list of files

2017-02-08 Thread Ali Çehreli via Digitalmars-d-learn
On 02/07/2017 11:47 PM, Dmitry wrote: On Wednesday, 8 February 2017 at 07:41:29 UTC, Ali Çehreli wrote: test.naturalSort would sort the array in place before calling writeln and 'test' would appear naturally sorted as well. I've fixed it like this: Great! Thank you! Well, the title sort is

Re: My next D related talk

2017-02-08 Thread Ethan Watson via Digitalmars-d
On Wednesday, 8 February 2017 at 02:02:27 UTC, extrawurst wrote: Hey congratz Ethan! By the way will you be at GDC in 3 weeks ? I won't be at GDC. A few other people from Remedy will be.

[Issue 17156] New: Local function declaration not inferred to be static

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17156 Issue ID: 17156 Summary: Local function declaration not inferred to be static Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status:

[Issue 16434] dmd assertion failure in declaration.d

2017-02-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16434 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED

Re: Passing variables, preserving UDAs: A Gripe

2017-02-08 Thread Timon Gehr via Digitalmars-d
On 07.02.2017 22:59, Nick Sabalausky wrote: Suppose I have some code that operates on a variable's value and its UDAs. And I want to refactor that code into a reusable function. Sounds simple enough, right? So, consider a basic example: class Foo { @("Hello")