[Issue 13334] [infoleak] DMD always places module paths in data segment

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

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-15 Thread Pjotr Prins via Digitalmars-d
On Thursday, 15 February 2018 at 17:54:57 UTC, John Gabriele wrote: Are any other languages using Guix for their 3rd-party online package repo? If not, why? GNU Guile ;). That's excellent. I remember years ago it looked like there was action in getting a Guile package repo going but it

[Issue 18449] New: extern(C++) class layout does not work

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18449 Issue ID: 18449 Summary: extern(C++) class layout does not work Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: critical

[Issue 18448] New: Make std.file.write / std.stdio.write conflicts more tractable for beginners

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18448 Issue ID: 18448 Summary: Make std.file.write / std.stdio.write conflicts more tractable for beginners Product: D Version: D2 Hardware: All OS: Linux

Re: Which language futures make D overcompicated?

2018-02-15 Thread Timon Gehr via Digitalmars-d
On 15.02.2018 21:38, Walter Bright wrote: On 2/10/2018 4:35 AM, Timon Gehr wrote: In summary, the issue is that there is only one 'inout' and therefore it is not properly lexically scoped. It is a bit like having a language where all variables are implicit function parameters and they all

[Issue 15086] import doesn't verify module declaration

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15086 --- Comment #28 from Timothee Cour --- Re-asking since no-one answered this: Is there any single use case that current (broken) behavior allows that couldn't be done with existing option such as -mv? ``` -mv== use as

[Issue 11877] static opSlice is not possible

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

[Issue 10828] datetime toString functions should accept sink

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10828 --- Comment #13 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/1334538b4d34a0c3d79f63b0b47aa05587564bd7 Work On Issue 10828 - datetime toString functions

[Issue 15086] import doesn't verify module declaration

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15086 --- Comment #27 from Jonathan Marler --- Ok. Walter/Andrei have decided they don't want to drop support to allow an import to match the filename without matching the module name. Luckily, we have found a way to detect when

how to get typeid of extern(C++) classes?

2018-02-15 Thread Timothee Cour via Digitalmars-d
is there a way to get typeid of extern(C++) classes (eg for ones in dmd/astbase.d but not limited to that) ? C++ exposes it via typeid so in theory all the info is there ; I would need it at least for debugging (eg if RTTI is not enabled for all compilers or in release mode that's fine so long

Re: static opSlice is not possible

2018-02-15 Thread Alex via Digitalmars-d-learn
On Thursday, 15 February 2018 at 23:31:23 UTC, Jonathan M Davis wrote: On Thursday, February 15, 2018 23:22:17 Adam D. Ruppe via Digitalmars-d- learn wrote: On Thursday, 15 February 2018 at 23:20:42 UTC, Jonathan M Davis wrote: > The only overloaded operator that I'd expect to work as >

Re: Congrats to D / Vibe-D -- techempower Round 15

2018-02-15 Thread Petar via Digitalmars-d
On Thursday, 15 February 2018 at 20:59:53 UTC, Ali wrote: On Thursday, 15 February 2018 at 20:43:41 UTC, Daniel Kozak wrote: Unfortunately they have use wrong results. They have selected run from 31.1.2018. But If they use the other one from february, it would be better. But still is nice

Re: static opSlice is not possible

2018-02-15 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, February 15, 2018 23:22:17 Adam D. Ruppe via Digitalmars-d- learn wrote: > On Thursday, 15 February 2018 at 23:20:42 UTC, Jonathan M Davis > > wrote: > > The only overloaded operator that I'd expect to work as static > > would be opCall, which I expect works primarily because of > >

[Issue 18447] Error: Invalid trailing code unit; dmd/frontend.d(235): Parsing error occurred.

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18447 Timothee Cour changed: What|Removed |Added CC|

[Issue 18447] New: Error: Invalid trailing code unit; dmd/frontend.d(235): Parsing error occurred.

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18447 Issue ID: 18447 Summary: Error: Invalid trailing code unit; dmd/frontend.d(235): Parsing error occurred. Product: D Version: D2 Hardware: x86 OS: Mac OS X

Re: static opSlice is not possible

2018-02-15 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 15 February 2018 at 23:20:42 UTC, Jonathan M Davis wrote: The only overloaded operator that I'd expect to work as static would be opCall, which I expect works primarily because of functors but is useful for factory functions as well. static opCall is kinda weird in practice and

Re: static opSlice is not possible

2018-02-15 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, February 15, 2018 22:49:56 Alex via Digitalmars-d-learn wrote: > Hi all, > a short question about an old bug: > https://issues.dlang.org/show_bug.cgi?id=11877 > > Are there reasons, which speaks against this feature? > > And maybe another one, more general: > Is there any place, where

Re: The Expressive C++17 Coding Challenge in D

2018-02-15 Thread aberba via Digitalmars-d-announce
On Tuesday, 13 February 2018 at 23:35:36 UTC, Seb wrote: Someone revived the Expressive C++17 Coding Challenge thread today and I thought this is an excellent opportunity to revive my blog and finally write an article showing why I like D so much:

static opSlice is not possible

2018-02-15 Thread Alex via Digitalmars-d-learn
Hi all, a short question about an old bug: https://issues.dlang.org/show_bug.cgi?id=11877 Are there reasons, which speaks against this feature? And maybe another one, more general: Is there any place, where it is documented, which operators can work in static mode and which cannot?

[Issue 11877] static opSlice is not possible

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11877 Alex changed: What|Removed |Added CC||sascha.or...@gmail.com --

Re: std.zip size limit of 2 GB?

2018-02-15 Thread Stefan Koch via Digitalmars-d-learn
On Thursday, 15 February 2018 at 11:56:04 UTC, Andre Pany wrote: Hi, I just noticed that std.zip will throw an exception if the source files exceeds 2 GB. I am not sure whether this is a limitation of zip version 20 or a bug. On wikipedia a size limit of 4 GB is mentioned. Should I open an

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18412 --- Comment #3 from Nicholas Wilson --- (In reply to Martin Nowak from comment #2) > Digger says > https://github.com/dlang/dmd/commit/959ef5f2d0b5d796b77c30e89948ae798c3e159d. Hmm all dmd backend code? I wonder what

[Issue 18412] [REG2.077.0] immutable array in library becomes null when referenced in static constructor

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18412 Martin Nowak changed: What|Removed |Added Priority|P1 |P5 CC|

Re: std.zip size limit of 2 GB?

2018-02-15 Thread Steven Schveighoffer via Digitalmars-d-learn
On 2/15/18 4:20 PM, Tony wrote: On Thursday, 15 February 2018 at 18:49:55 UTC, Steven Schveighoffer wrote: I think it's inherent in the zlib API. I haven't used all of the library, but the portion I did use (using zstream) uses uint for buffer sizes. Wouldn't using a uint for buffer

Re: std.zip size limit of 2 GB?

2018-02-15 Thread ag0aep6g via Digitalmars-d-learn
On 02/15/2018 10:20 PM, Tony wrote: Wouldn't using a uint for buffer size give a size limit of greater than 4GB? Seems like an int is in the mix somewhere. uint gives 4, int gives 2.

[Issue 18403] [REG2.078.2] Access violation when dmd tries to print highlighted code

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18403 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/af5694e44f574008b00a2eb8ccb79d46ca3f9485 fix issue 18403 - [REG2.078.2] Access violation when dmd tries

[Issue 18403] [REG2.078.2] Access violation when dmd tries to print highlighted code

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

Re: std.zip size limit of 2 GB?

2018-02-15 Thread Tony via Digitalmars-d-learn
On Thursday, 15 February 2018 at 18:49:55 UTC, Steven Schveighoffer wrote: I think it's inherent in the zlib API. I haven't used all of the library, but the portion I did use (using zstream) uses uint for buffer sizes. Wouldn't using a uint for buffer size give a size limit of greater

Re: Multiple Alis

2018-02-15 Thread Ali via Digitalmars-d
On Tuesday, 13 February 2018 at 00:47:42 UTC, Ali Çehreli wrote: Nothing serious but in case you are confused, there are at least three separate and awesome Alis frequenting these newsgroups. :) From: Ali Çehreli Email: acehr...@yahoo.com Almost always ends posts simply with "Ali" From: Ali

Re: Congrats to D / Vibe-D -- techempower Round 15

2018-02-15 Thread Ali via Digitalmars-d
On Thursday, 15 February 2018 at 20:43:41 UTC, Daniel Kozak wrote: Unfortunately they have use wrong results. They have selected run from 31.1.2018. But If they use the other one from february, it would be better. But still is nice Can you post the numbers from Feb, for us here? :)

Re: Disk space used and free size of a Network share folder in Windows

2018-02-15 Thread Johan Engelen via Digitalmars-d-learn
On Wednesday, 14 February 2018 at 12:22:09 UTC, Vino wrote: Hi All, Request your help on how to get the disk space used and free size of a Network share folder in Windows, tried with getSize but it return 0; See:

[Issue 16487] Add function to obtain the available disk space

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16487 johanenge...@weka.io changed: What|Removed |Added CC||johanenge...@weka.io --- Comment #13

Re: Congrats to D / Vibe-D -- techempower Round 15

2018-02-15 Thread Daniel Kozak via Digitalmars-d
Unfortunately they have use wrong results. They have selected run from 31.1.2018. But If they use the other one from february, it would be better. But still is nice Dne 15. 2. 2018 8:05 odp. napsal uživatel "Benny via Digitalmars-d" < digitalmars-d@puremagic.com>: >

Re: Which language futures make D overcompicated?

2018-02-15 Thread Walter Bright via Digitalmars-d
On 2/10/2018 4:35 AM, Timon Gehr wrote: In summary, the issue is that there is only one 'inout' and therefore it is not properly lexically scoped. It is a bit like having a language where all variables are implicit function parameters and they all have the same, global, name. This sort of

[Issue 18446] New: Wrong curl onProgress examples

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18446 Issue ID: 18446 Summary: Wrong curl onProgress examples Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1

Re: The Expressive C++17 Coding Challenge in D

2018-02-15 Thread Steven Schveighoffer via Digitalmars-d-announce
On 2/15/18 2:11 PM, Seb wrote: I reworded the entire paragraph and it now shows the AST: https://seb.wilzba.ch/b/2018/02/the-expressive-c17-coding-challenge-in-d/#4-whats-up-with-this-enforce eh... "string which is an alias for an array of const(char) elements" It's not actually, it's an

[Issue 18445] [DIP25] Unreproducible/wrong "return as a parameter attribute" inference

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18445 Carsten Blüggel changed: What|Removed |Added CC||chi...@posteo.net --

[Issue 18444] [DIP25][DIP1000] Tracking issue for: "The implementation doesn't match DIPs 25/1000"

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18444 Carsten Blüggel changed: What|Removed |Added CC||chi...@posteo.net --

Re: How to check if aggregate member is static templated method?

2018-02-15 Thread drug via Digitalmars-d-learn
15.02.2018 18:49, RazvanN пишет: On Thursday, 15 February 2018 at 13:51:41 UTC, drug wrote: 15.02.2018 16:50, drug пишет: https://run.dlang.io/is/zHT2XZ I can check againts if member is either static function or template. But I failed to check if it both static and templated. The best I

Re: The Expressive C++17 Coding Challenge in D

2018-02-15 Thread Seb via Digitalmars-d-announce
On Thursday, 15 February 2018 at 16:22:17 UTC, Steven Schveighoffer wrote: On 2/13/18 6:35 PM, Seb wrote: Someone revived the Expressive C++17 Coding Challenge thread today and I thought this is an excellent opportunity to revive my blog and finally write an article showing why I like D so

Re: Portuguese D programmers?

2018-02-15 Thread Paulo Pinto via Digitalmars-d
On Thursday, 15 February 2018 at 15:10:17 UTC, Luís Marques wrote: Hey! Are there any other Portuguese D programmers in here? Raise your hand and say hi! Don't tell me I'm the only one... ;_; Cheers, Luís Well, I still occasionally hang around and hope D will find its place, but given

Congrats to D / Vibe-D -- techempower Round 15

2018-02-15 Thread Benny via Digitalmars-d
https://www.techempower.com/benchmarks/#section=data-r15=ph=plaintext https://www.techempower.com/benchmarks/#section=data-r14=ph=json D is finally showing up in the upper and middle parts of the tests. In some tests Vibe-D ( with LDC ) is showing a 10 to 80 times improvement compared to Round

Re: ubyte[4] to int

2018-02-15 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, February 15, 2018 18:47:16 Kyle via Digitalmars-d-learn wrote: > I was thinking that the client could determine its own endianness > and either convert the passed int to the other if big, or leave > it alone if little, then send it to the server as little-endian > at that point.

Re: std.zip size limit of 2 GB?

2018-02-15 Thread Steven Schveighoffer via Digitalmars-d-learn
On 2/15/18 6:56 AM, Andre Pany wrote: Hi, I just noticed that std.zip will throw an exception if the source files exceeds 2 GB. I am not sure whether this is a limitation of zip version 20 or a bug. On wikipedia a size limit of 4 GB is mentioned. Should I open an issue? Windows 10 with

Re: ubyte[4] to int

2018-02-15 Thread Kyle via Digitalmars-d-learn
On Thursday, 15 February 2018 at 18:30:57 UTC, Jonathan M Davis wrote: On Thursday, February 15, 2018 17:53:54 Kyle via Digitalmars-d-learn wrote: I want to be able to pass an int to a function, then in the function ensure that the int is little-endian (whether it starts out that way or needs

[Issue 18432] alias x = x where x is an imported symbol should result in an error

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18432 Steven Schveighoffer changed: What|Removed |Added CC|

Re: ubyte[4] to int

2018-02-15 Thread Ali Çehreli via Digitalmars-d-learn
On 02/15/2018 09:53 AM, Kyle wrote: > I want to be able to pass an int to a function, then in the function > ensure that the int is little-endian (whether it starts out that way or > needs to be converted) before additional stuff is done to the passed > int. As has been said elsewhere, the

Re: ubyte[4] to int

2018-02-15 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, February 15, 2018 17:53:54 Kyle via Digitalmars-d-learn wrote: > I want to be able to pass an int to a function, then in the > function ensure that the int is little-endian (whether it starts > out that way or needs to be converted) before additional stuff is > done to the passed int.

Re: Portuguese D programmers?

2018-02-15 Thread Luís Marques via Digitalmars-d
On Thursday, 15 February 2018 at 17:36:08 UTC, Luís Marques wrote: On Thursday, 15 February 2018 at 17:30:57 UTC, Seb wrote: I know about this: https://github.com/dlang-tour/portuguese (you aren't the only one) Same language but different country :-) To clarify, I was looking for D

Re: ubyte[4] to int

2018-02-15 Thread Kyle via Digitalmars-d-learn
"What I'm trying to achieve is to ensure that an int is in little-endiannes" Ignore that last part, whoops.

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-15 Thread John Gabriele via Digitalmars-d
On Thursday, 15 February 2018 at 16:47:35 UTC, Pjotr Prins wrote: On Thursday, 15 February 2018 at 15:52:41 UTC, John Gabriele wrote: It's a bit confusing since the first thing [the Guix webpage](https://www.gnu.org/software/guix/) talks about "GuixSD", rather than the Guix tool in its own

Re: ubyte[4] to int

2018-02-15 Thread Kyle via Digitalmars-d-learn
On Thursday, 15 February 2018 at 17:43:10 UTC, Jonathan M Davis wrote: On Thursday, February 15, 2018 16:51:05 Kyle via Digitalmars-d-learn wrote: Hi. Is there a convenient way to convert a ubyte[4] into a signed int? I'm having trouble handling the static arrays returned by

Re: ubyte[4] to int

2018-02-15 Thread Kyle via Digitalmars-d-learn
On Thursday, 15 February 2018 at 17:25:15 UTC, ketmar wrote: Nicholas Wilson wrote: On Thursday, 15 February 2018 at 16:51:05 UTC, Kyle wrote: Hi. Is there a convenient way to convert a ubyte[4] into a signed int? I'm having trouble handling the static arrays returned by

Re: ubyte[4] to int

2018-02-15 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, February 15, 2018 17:21:22 Nicholas Wilson via Digitalmars-d- learn wrote: > On Thursday, 15 February 2018 at 16:51:05 UTC, Kyle wrote: > > Hi. Is there a convenient way to convert a ubyte[4] into a > > signed int? I'm having trouble handling the static arrays > > returned by

Re: ubyte[4] to int

2018-02-15 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, February 15, 2018 16:51:05 Kyle via Digitalmars-d-learn wrote: > Hi. Is there a convenient way to convert a ubyte[4] into a signed > int? I'm having trouble handling the static arrays returned by > std.bitmanip.nativeToLittleEndian. Is there some magic sauce to > make the static

Re: Portuguese D programmers?

2018-02-15 Thread Luís Marques via Digitalmars-d
On Thursday, 15 February 2018 at 17:30:57 UTC, Seb wrote: I know about this: https://github.com/dlang-tour/portuguese (you aren't the only one) Same language but different country :-)

Re: Portuguese D programmers?

2018-02-15 Thread Seb via Digitalmars-d
On Thursday, 15 February 2018 at 15:10:17 UTC, Luís Marques wrote: Hey! Are there any other Portuguese D programmers in here? Raise your hand and say hi! Don't tell me I'm the only one... ;_; Cheers, Luís I know about this: https://github.com/dlang-tour/portuguese (you aren't the only

Re: ubyte[4] to int

2018-02-15 Thread ketmar via Digitalmars-d-learn
Nicholas Wilson wrote: On Thursday, 15 February 2018 at 16:51:05 UTC, Kyle wrote: Hi. Is there a convenient way to convert a ubyte[4] into a signed int? I'm having trouble handling the static arrays returned by std.bitmanip.nativeToLittleEndian. Is there some magic sauce to make the static

Re: ubyte[4] to int

2018-02-15 Thread Nicholas Wilson via Digitalmars-d-learn
On Thursday, 15 February 2018 at 16:51:05 UTC, Kyle wrote: Hi. Is there a convenient way to convert a ubyte[4] into a signed int? I'm having trouble handling the static arrays returned by std.bitmanip.nativeToLittleEndian. Is there some magic sauce to make the static arrays into input ranges

[Issue 18442] documented unittests don't have anchors (so we can't link to them, eg in changelogs)

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

[Issue 18425] std.process environment["VAR"] = "NAME" does not always take effect

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18425 Steven Schveighoffer changed: What|Removed |Added CC|

[Issue 18417] Make const and immutable postblit constructors illegal

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18417 Steven Schveighoffer changed: What|Removed |Added CC|

ubyte[4] to int

2018-02-15 Thread Kyle via Digitalmars-d-learn
Hi. Is there a convenient way to convert a ubyte[4] into a signed int? I'm having trouble handling the static arrays returned by std.bitmanip.nativeToLittleEndian. Is there some magic sauce to make the static arrays into input ranges or something? As a side note, I'm used to using D on Linux

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-15 Thread Pjotr Prins via Digitalmars-d
On Thursday, 15 February 2018 at 15:52:41 UTC, John Gabriele wrote: It's a bit confusing since the first thing [the Guix webpage](https://www.gnu.org/software/guix/) talks about "GuixSD", rather than the Guix tool in its own right. Yes. We discussed that at the hackathon before FOSDEM. It is

Re: The Expressive C++17 Coding Challenge in D

2018-02-15 Thread Steven Schveighoffer via Digitalmars-d-announce
On 2/13/18 6:35 PM, Seb wrote: Someone revived the Expressive C++17 Coding Challenge thread today and I thought this is an excellent opportunity to revive my blog and finally write an article showing why I like D so much:

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-15 Thread John Gabriele via Digitalmars-d
On Thursday, 15 February 2018 at 07:21:24 UTC, Pjotr Prins wrote: On Thursday, 15 February 2018 at 04:11:51 UTC, Graham St Jack wrote: Maybe a compromise position would be for a package management system to define an interface through which it can do things like: * Discover what the external

Re: How to check if aggregate member is static templated method?

2018-02-15 Thread RazvanN via Digitalmars-d-learn
On Thursday, 15 February 2018 at 13:51:41 UTC, drug wrote: 15.02.2018 16:50, drug пишет: https://run.dlang.io/is/zHT2XZ I can check againts if member is either static function or template. But I failed to check if it both static and templated. The best I could come up with is: struct Foo {

Re: Flow-Design: OOP component programming

2018-02-15 Thread t-t via Digitalmars-d
On Wednesday, 14 February 2018 at 22:43:21 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 14 February 2018 at 18:43:34 UTC, Mark wrote: Luna [1], a new programming language that was recently mentioned on Reddit, also appears to take this "flow-oriented design" approach. It's purely functional,

Portuguese D programmers?

2018-02-15 Thread Luís Marques via Digitalmars-d
Hey! Are there any other Portuguese D programmers in here? Raise your hand and say hi! Don't tell me I'm the only one... ;_; Cheers, Luís

Re: How to check if aggregate member is static templated method?

2018-02-15 Thread drug via Digitalmars-d-learn
15.02.2018 16:50, drug пишет: https://run.dlang.io/is/zHT2XZ I can check againts if member is either static function or template. But I failed to check if it both static and templated.

How to check if aggregate member is static templated method?

2018-02-15 Thread drug via Digitalmars-d-learn
https://run.dlang.io/is/zHT2XZ

[Issue 3444] foreach(i, elem; range) should work

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3444 Simen Kjaeraas changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 3444] foreach(i, elem; range) should work

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3444 RazvanN changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 4044] [Tracker] Bad debug information and DWARF errors

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4044 Issue 4044 depends on issue 1955, which changed state. Issue 1955 Summary: debug info for temp variables https://issues.dlang.org/show_bug.cgi?id=1955 What|Removed |Added

[Issue 1955] debug info for temp variables

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1955 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED

Re: dxml 0.2.0 released

2018-02-15 Thread jmh530 via Digitalmars-d-announce
On Thursday, 15 February 2018 at 02:40:03 UTC, Jonathan M Davis wrote: LOL. That's actually part of what makes writing range-based libraries so much harder to get right than simply using ranges in your program. [snip] That sounds like an interesting topic for a blog post.

std.zip size limit of 2 GB?

2018-02-15 Thread Andre Pany via Digitalmars-d-learn
Hi, I just noticed that std.zip will throw an exception if the source files exceeds 2 GB. I am not sure whether this is a limitation of zip version 20 or a bug. On wikipedia a size limit of 4 GB is mentioned. Should I open an issue? Windows 10 with x86_64 architecture.

Re: Old but interesting link as to the low adoption reason for D

2018-02-15 Thread Fred via Digitalmars-d
When god (walter) create eden (dlang) the man (bo the biz developer) is very happy. Man thinks he is in heaven. Until man eat the forbidden apple(the ecosystem library, editor, tools). Now man understand he is in hell. Walter has created great language. But this language is not first class(

[Issue 18445] New: [DIP25] Unreproducible/wrong "return as a parameter attribute" inference

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18445 Issue ID: 18445 Summary: [DIP25] Unreproducible/wrong "return as a parameter attribute" inference Product: D Version: D2 Hardware: x86_64 OS: Linux

[Issue 18444] [DIP25][DIP1000] Tracking issue for: "The implementation doesn't match DIPs 25/1000"

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18444 Carsten Blüggel changed: What|Removed |Added Depends on||18445 Referenced

Re: Which language futures make D overcompicated?

2018-02-15 Thread Tony via Digitalmars-d
On Friday, 9 February 2018 at 19:19:03 UTC, H. S. Teoh wrote: But none of these features are *necessary* to start coding in D. They are optional extras that are nice once you're comfortable with the language. I got by fine for *years* without even using a single mixin, or knowing what 'inout'

[Issue 17512] [REG 2.073] [DIP1000] Error on bad interplay of "auto ref" and "return" attribute deduction.

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17512 --- Comment #4 from Carsten Blüggel --- Another error example from phobos (-dip1000, DMD64 D Compiler v2.078.2): https://github.com/dlang/phobos/blob/master/std/range/package.d std/range/package.d(1738) [referring to

[Issue 18441] Add comments to GC page about tradeoffs in design and impl of GC (garbage collector)

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18441 Michael changed: What|Removed |Added CC||mich...@toohuman.io ---

[Issue 18444] New: [DIP25][DIP1000] Tracking issue for: "The implementation doesn't match DIPs 25/1000"

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18444 Issue ID: 18444 Summary: [DIP25][DIP1000] Tracking issue for: "The implementation doesn't match DIPs 25/1000" Product: D Version: D2 Hardware: All OS: All

[Issue 17512] [REG 2.073] [DIP1000] Error on bad interplay of "auto ref" and "return" attribute deduction.

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17512 Carsten Blüggel changed: What|Removed |Added Blocks||18444 Referenced

[Issue 18110] most of phobos should be @safe-ly useable

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18110 Carsten Blüggel changed: What|Removed |Added Depends on||18444 Referenced

Re: Access visibility and linkage

2018-02-15 Thread Arun Chandrasekaran via Digitalmars-d-learn
On Thursday, 15 February 2018 at 06:52:15 UTC, Seb wrote: On Thursday, 15 February 2018 at 06:43:52 UTC, Arun Chandrasekaran wrote: I was reading through https://wiki.dlang.org/Access_specifiers_and_visibility#What_is_missing [...] DMD v2.077.1 exhibits the same behavior. Is this is

[Issue 17605] [REG2.066.0] __traits(compiles, closure) adds link-time reference to _d_allocmemory

2018-02-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17605 Walter Bright changed: What|Removed |Added CC|