[Issue 18618] templated functions should in general have their attributes inferred

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18618 --- Comment #2 from Carsten Blüggel --- (In reply to Jonathan M Davis from comment #1) > Templated functions should have their attributes inferred when whether > attributes make sense depend on the template arguments (which the

[Issue 18282] [Scope][DIP1000]Assignment of local variable to `scope` variable not recognized by compiler

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18282 --- Comment #7 from Walter Bright --- https://github.com/dlang/dmd/pull/8045 --

When is copy assignment @safe to use when the left-hand-side is an undefined l-value?

2018-03-16 Thread Nordlöw via Digitalmars-d-learn
Given an uninitialized (undefined content from, for instance, malloc) value `x` of type `T`, when is it @safe to initalize `x` with a simple assignment such as x = y in contrast to emplace(, y); ? My current guess is when hasElaborateCopyConstructor!T is `false`. Is this

[Issue 18618] templated functions should in general have their attributes inferred

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18618 Jonathan M Davis changed: What|Removed |Added CC|

[Issue 18618] templated functions should in general have their attributes inferred

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

Re: CTFE and -betterC

2018-03-16 Thread Xavier Bigand via Digitalmars-d-learn
Le 16/03/2018 à 22:58, Xavier Bigand a écrit : Le 15/03/2018 à 01:09, Flamaros a écrit : On Wednesday, 14 March 2018 at 01:17:54 UTC, rikki cattermole wrote: You will still need DllMain, that is a platform requirement. I am not sure about that because when DllAnalyser don't see it in the

Re: D beyond the specs

2018-03-16 Thread Chris via Digitalmars-d
On Friday, 16 March 2018 at 19:27:40 UTC, Walter Bright wrote: On 3/16/2018 4:44 AM, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB,

Re: Shouldn't pureMalloc be @system instead of @trusted?

2018-03-16 Thread Jonathan M Davis via Digitalmars-d
On Friday, March 16, 2018 22:58:13 ag0aep6g via Digitalmars-d wrote: > On 03/16/2018 10:22 PM, Nordlöw wrote: > > Shouldn't `pureMalloc` at > > > > https://dlang.org/library/core/memory/pure_malloc.html > > > > be @system instead of @trusted? > > You can only access the uninitialized memory with

Re: D beyond the specs

2018-03-16 Thread jmh530 via Digitalmars-d
On Friday, 16 March 2018 at 19:15:16 UTC, bachmeier wrote: The point is that there is no "fundamental" reason someone using a computer uses a qwerty keyboard. If you are to ask "what makes the qwerty keyboard the best choice for someone using a computer?" you are not going to have any luck

Re: Vision document for H1 2018

2018-03-16 Thread Jonathan M Davis via Digitalmars-d-announce
On Friday, March 16, 2018 21:37:44 Void-995 via Digitalmars-d-announce wrote: > Every time I'm thinking that something is impossible to be > elegantly and/or easily done even in D - someone proves me wrong. > > And common, I just had that little spark of motivation to look > into DMD, what is my

[Issue 6138] Using dirEntries and chdir() can have unwanted results

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6138 Timothee Cour changed: What|Removed |Added OS|Windows |All

Re: Is there any web browser control in D Lang to display html file ?

2018-03-16 Thread visitor via Digitalmars-d-learn
On Friday, 16 March 2018 at 20:19:59 UTC, aberba wrote: On Friday, 16 March 2018 at 17:11:17 UTC, visitor wrote: On Friday, 16 March 2018 at 10:31:51 UTC, Jayam wrote: I creating one simple desktop application using dlang. I need to display some html file in my desktop application. How can

Re: Shouldn't pureMalloc be @system instead of @trusted?

2018-03-16 Thread ag0aep6g via Digitalmars-d
On 03/16/2018 10:22 PM, Nordlöw wrote: Shouldn't `pureMalloc` at https://dlang.org/library/core/memory/pure_malloc.html be @system instead of @trusted? You can only access the uninitialized memory with @system features: casting the pointer or slicing it. So it's safe, because you can't do

Re: CTFE and -betterC

2018-03-16 Thread Xavier Bigand via Digitalmars-d-learn
Le 15/03/2018 à 01:09, Flamaros a écrit : On Wednesday, 14 March 2018 at 01:17:54 UTC, rikki cattermole wrote: You will still need DllMain, that is a platform requirement. I am not sure about that because when DllAnalyser don't see it in the opengl32.dll from the system32 directory. And the

Re: Vision document for H1 2018

2018-03-16 Thread Void-995 via Digitalmars-d-announce
On Friday, 16 March 2018 at 15:58:25 UTC, Steven Schveighoffer wrote: On 3/12/18 10:57 AM, Void-995 wrote: On Monday, 12 March 2018 at 10:38:57 UTC, bachmeier wrote: On Monday, 12 March 2018 at 05:02:31 UTC, Jonathan M Davis wrote: Now, I actually understand ranges and am very glad that

Re: Vision document for H1 2018

2018-03-16 Thread rumbu via Digitalmars-d-announce
On Friday, 16 March 2018 at 15:04:21 UTC, Kagamin wrote: On Thursday, 15 March 2018 at 16:03:14 UTC, rumbu wrote: Are you sure that you are talking about phobos and not tango? :) I'm eager to find how I'm uninformed. Tango doesn't use UFCS, while phobos and .net framework are big on

[Issue 17772] Wrong C++ mangled names for templated functions

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17772 Walter Bright changed: What|Removed |Added See Also|

[Issue 18582] C++ namespace mangling from multiple modules doesn't use sequence ids

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18582 Walter Bright changed: What|Removed |Added See Also|

[Issue 18582] C++ namespace mangling from multiple modules doesn't use sequence ids

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18582 Walter Bright changed: What|Removed |Added Keywords||betterC

Re: Forwarding arguments through a std.algorithm.map

2018-03-16 Thread Nordlöw via Digitalmars-d-learn
On Friday, 16 March 2018 at 20:39:33 UTC, Andrei Alexandrescu wrote: My knee-jerk reaction is that's a rather peculiar primitive to add to the standard library. -- Andrei I'm needing it for variadic equal...I'll put it as a private member in `equal`s template declaration for now.

Shouldn't pureMalloc be @system instead of @trusted?

2018-03-16 Thread Nordlöw via Digitalmars-d
Shouldn't `pureMalloc` at https://dlang.org/library/core/memory/pure_malloc.html be @system instead of @trusted? Because it returns uninitialized memory just like T x = void; does, which is not allowed in @safe code.

Re: Testing D database calls code for regression

2018-03-16 Thread nani via Digitalmars-d-learn
On Friday, 16 March 2018 at 20:17:49 UTC, aberba wrote: How will you test D code which makes calls to database to detect bugs and regression. Unlike where you can inject data like assert (2+1 == 3), database interfacing code will be crazy... Or there's some mocking available for such cases.

Re: Testing D database calls code for regression

2018-03-16 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Mar 16, 2018 at 08:17:49PM +, aberba via Digitalmars-d-learn wrote: > How will you test D code which makes calls to database to detect bugs > and regression. Unlike where you can inject data like assert (2+1 == > 3), database interfacing code will be crazy... Or there's some mocking >

[Issue 18622] New: Outdated information regarding link definition when generated by Visual D DLL project.

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18622 Issue ID: 18622 Summary: Outdated information regarding link definition when generated by Visual D DLL project. Product: D Version: D2 Hardware: x86_64 OS:

Re: interfacing c++ templates. Another c++-namespace issue?

2018-03-16 Thread H. S. Teoh via Digitalmars-d
On Fri, Mar 16, 2018 at 03:53:00PM -0400, Steven Schveighoffer via Digitalmars-d wrote: [...] > There was another namespace issue recently found: > > https://issues.dlang.org/show_bug.cgi?id=18582 > > But it looks like its different. When you compare: > > C++: >

Re: Forwarding arguments through a std.algorithm.map

2018-03-16 Thread Andrei Alexandrescu via Digitalmars-d-learn
On 03/16/2018 03:52 PM, Nordlöw wrote: On Saturday, 10 March 2018 at 21:31:41 UTC, ag0aep6g wrote: auto forwardMap(alias fun, Ts ...)(Ts things) {     import std.meta: aliasSeqOf, staticMap;     import std.range: iota;     import std.typecons: Tuple;     alias NewType(size_t i) =

Re: Vision document for H1 2018

2018-03-16 Thread Dukc via Digitalmars-d-announce
On Friday, 16 March 2018 at 18:35:14 UTC, Tony wrote: I thought C# was like Java and does not allow free procedures. Can you give an example of C# procedural-style IO? Well, this is not IO, but: public struct DivInt { public int quot; public int rem; } public static class Utility {

[Issue 18198] @disable semantic not applied for the delete operator

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18198 Basile B. changed: What|Removed |Added Status|NEW |RESOLVED

Testing D database calls code for regression

2018-03-16 Thread aberba via Digitalmars-d-learn
How will you test D code which makes calls to database to detect bugs and regression. Unlike where you can inject data like assert (2+1 == 3), database interfacing code will be crazy... Or there's some mocking available for such cases. Especially when more features are developed on top.

Re: Is there any web browser control in D Lang to display html file ?

2018-03-16 Thread aberba via Digitalmars-d-learn
On Friday, 16 March 2018 at 17:11:17 UTC, visitor wrote: On Friday, 16 March 2018 at 10:31:51 UTC, Jayam wrote: I creating one simple desktop application using dlang. I need to display some html file in my desktop application. How can make it works ? There's also gtkd sourceview :

[Issue 18129] Function parameter 'scope' does not mean without @safe

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18129 --- Comment #5 from John Hall --- Ah, you're right. It says "Errors for scope violations are only reported in @safe code." --

[Issue 18129] Function parameter 'scope' does not mean without @safe

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18129 --- Comment #4 from Jonathan M Davis --- As I understand it, -dip1000 has no effect on code that isn't @safe. So, you're not going to have the compiler yelling at you over it if you're not using @safe. Either way,

[Issue 18129] Function parameter 'scope' does not mean without @safe

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18129 --- Comment #3 from John Hall --- Jonathan, I was a little hesitant to say I was sure it was a duplicate of that one because I tried running it on run.dlang.org with the -dip1000 flag and it was still not giving a

Re: interfacing c++ templates. Another c++-namespace issue?

2018-03-16 Thread Steven Schveighoffer via Digitalmars-d
On 3/16/18 3:32 PM, Walter Bright wrote: On 3/16/2018 11:57 AM, Markus wrote: It seems like dmd doesn't care about the namespace of the template. Can someone confirm this as a bug? or am I doing something terrible wrong? :) Might check that this https://issues.dlang.org/show_bug.cgi?id=17772

Re: Forwarding arguments through a std.algorithm.map

2018-03-16 Thread Nordlöw via Digitalmars-d-learn
On Saturday, 10 March 2018 at 21:31:41 UTC, ag0aep6g wrote: auto forwardMap(alias fun, Ts ...)(Ts things) { import std.meta: aliasSeqOf, staticMap; import std.range: iota; import std.typecons: Tuple; alias NewType(size_t i) = typeof(fun(things[i])); alias NewTypes =

[Issue 6931] scope parameter storage class not checked at all

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6931 Jonathan M Davis changed: What|Removed |Added CC|

[Issue 18129] Function parameter 'scope' does not mean without @safe

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18129 Jonathan M Davis changed: What|Removed |Added Status|NEW |RESOLVED

Re: User Stories: Funkwerk

2018-03-16 Thread Rubn via Digitalmars-d-announce
On Wednesday, 14 March 2018 at 14:17:50 UTC, Mike Parker wrote: foreach(auto element: elements) ":" is C++ syntax

Re: Ecoji-d v1.0.0 is released - Base1024 using emojis 

2018-03-16 Thread Rainer Schuetze via Digitalmars-d-announce
On 15/03/2018 19:45, Anton Fediushin wrote: $ dd if=test.raw | ./ecoji-d | gzip -c | wc -c 67108864 bytes (67 MB, 64 MiB) copied, 27.9972 s, 2.4 MB/s 32178275 # 48% improvement If you can compress random data to 52% of the original data, you should repeat this step until there is a single

Re: Short-circuit range counting algorithm?

2018-03-16 Thread Nordlöw via Digitalmars-d
On Friday, 16 March 2018 at 17:41:22 UTC, H. S. Teoh wrote: Given a forward range r, I want to test whether it has exactly n elements that satisfy some given predicate pred. Is it possible to do this using current Phobos algorithms such that it does not traverse more members of the range than

[Issue 18129] Function parameter 'scope' does not mean without @safe

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18129 John Hall changed: What|Removed |Added CC|

Re: DConf 2018 - The touristy bits

2018-03-16 Thread Walter Bright via Digitalmars-d
On 3/16/2018 4:14 AM, Chris wrote: [...] Danke schoen!

Re: interfacing c++ templates. Another c++-namespace issue?

2018-03-16 Thread Walter Bright via Digitalmars-d
On 3/16/2018 11:57 AM, Markus wrote: It seems like dmd doesn't care about the namespace of the template. Can someone confirm this as a bug? or am I doing something terrible wrong? :) Might check that this https://issues.dlang.org/show_bug.cgi?id=17772 is not the issue. See my comment in

Re: D beyond the specs

2018-03-16 Thread Walter Bright via Digitalmars-d
On 3/16/2018 4:44 AM, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB, Romania and Russia etc.? My old company's product, Zortech C++,

Re: D beyond the specs

2018-03-16 Thread bachmeier via Digitalmars-d
On Friday, 16 March 2018 at 16:18:55 UTC, jmh530 wrote: We use qwerty because that's what the first commercially successful typewriter used. When computers came about, they needed to get people to transition over. Keeping qwerty was the optimal decision because of marginal costs and marginal

Re: Short-circuit range counting algorithm?

2018-03-16 Thread H. S. Teoh via Digitalmars-d
On Fri, Mar 16, 2018 at 02:58:36PM -0400, Steven Schveighoffer via Digitalmars-d wrote: > On 3/16/18 2:07 PM, Seb wrote: > > On Friday, 16 March 2018 at 17:50:37 UTC, Andrei Alexandrescu wrote: > > > On 3/16/18 1:41 PM, H. S. Teoh wrote: > > > > Given a forward range r, I want to test whether it

Re: Vision document for H1 2018

2018-03-16 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
On 03/16/2018 02:35 PM, Tony wrote: On Friday, 16 March 2018 at 15:04:21 UTC, Kagamin wrote: On Thursday, 15 March 2018 at 16:03:14 UTC, rumbu wrote: Are you sure that you are talking about phobos and not tango? :) I'm eager to find how I'm uninformed. Tango doesn't use UFCS, while phobos

Re: Short-circuit range counting algorithm?

2018-03-16 Thread Steven Schveighoffer via Digitalmars-d
On 3/16/18 2:07 PM, Seb wrote: On Friday, 16 March 2018 at 17:50:37 UTC, Andrei Alexandrescu wrote: On 3/16/18 1:41 PM, H. S. Teoh wrote: Given a forward range r, I want to test whether it has exactly n elements that satisfy some given predicate pred.  Is it possible to do this using current

interfacing c++ templates. Another c++-namespace issue?

2018-03-16 Thread Markus via Digitalmars-d
Hi [template.cpp]: template void some_templated_function(); template<> void some_templated_function() {} [main.d]: extern(C++) { void some_templated_function(Type)(); } void main() { some_templated_function!int; } compilation: g++ -c template_with_ns.cpp dmd main.d template.o this

Re: D beyond the specs

2018-03-16 Thread Aurélien Plazzotta via Digitalmars-d
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB, Romania and Russia etc.? To the best of my

Re: Vision document for H1 2018

2018-03-16 Thread Tony via Digitalmars-d-announce
On Friday, 16 March 2018 at 15:04:21 UTC, Kagamin wrote: On Thursday, 15 March 2018 at 16:03:14 UTC, rumbu wrote: Are you sure that you are talking about phobos and not tango? :) I'm eager to find how I'm uninformed. Tango doesn't use UFCS, while phobos and .net framework are big on

Re: dmd -unittest= (same syntax as -i)

2018-03-16 Thread Atila Neves via Digitalmars-d
On Friday, 16 March 2018 at 14:32:47 UTC, Dejan Lekic wrote: On Wednesday, 14 March 2018 at 22:04:50 UTC, Adam D. Ruppe wrote: [...] I guess it was me talking about it two days ago on IRC... [...] There are a bunch of alternative test runners on code.dlang.org. Obviously I prefer mine:

Re: Vision document for H1 2018

2018-03-16 Thread David Nadlinger via Digitalmars-d-announce
On Thursday, 15 March 2018 at 10:48:45 UTC, Radu wrote: You have to remember that the really big first client of betterC(++) was DMD, porting DMD from C++ was a big undertaking. Right now both DMD and LDC use a form of betterC, so it is critical to have it finalized. This is entirely wrong.

Re: Short-circuit range counting algorithm?

2018-03-16 Thread Seb via Digitalmars-d
On Friday, 16 March 2018 at 17:50:37 UTC, Andrei Alexandrescu wrote: On 3/16/18 1:41 PM, H. S. Teoh wrote: Given a forward range r, I want to test whether it has exactly n elements that satisfy some given predicate pred. Is it possible to do this using current Phobos algorithms such that it

Re: D beyond the specs

2018-03-16 Thread Ali Çehreli via Digitalmars-d
On 03/16/2018 08:32 AM, Radu wrote: > Maybe the name has something to do with it :D Not about numerology, but for "priming" reasons I think names do have effect. For example, Germany's country letter is D. ;) Thinking back, the fact that my daughter's name starts with D may have a positive

Re: D beyond the specs

2018-03-16 Thread Ali Çehreli via Digitalmars-d
On 03/16/2018 09:18 AM, jmh530 wrote: > On Friday, 16 March 2018 at 16:02:07 UTC, bachmeier wrote: >> Much of programming language >> adoption involves choosing languages others are using Agreed. In my case, "others" have been people who I respected or happened to be my close friends. Over the

Re: Short-circuit range counting algorithm?

2018-03-16 Thread Andrei Alexandrescu via Digitalmars-d
On 3/16/18 1:41 PM, H. S. Teoh wrote: Given a forward range r, I want to test whether it has exactly n elements that satisfy some given predicate pred. Is it possible to do this using current Phobos algorithms such that it does not traverse more members of the range than necessary? The naïve

Short-circuit range counting algorithm?

2018-03-16 Thread H. S. Teoh via Digitalmars-d
Given a forward range r, I want to test whether it has exactly n elements that satisfy some given predicate pred. Is it possible to do this using current Phobos algorithms such that it does not traverse more members of the range than necessary? The naïve solution `r.count!pred == n` walks the

Re: Is there any web browser control in D Lang to display html file ?

2018-03-16 Thread visitor via Digitalmars-d-learn
On Friday, 16 March 2018 at 10:31:51 UTC, Jayam wrote: I creating one simple desktop application using dlang. I need to display some html file in my desktop application. How can make it works ? There's also gtkd sourceview :

Re: Forwarding arguments through a std.algorithm.map

2018-03-16 Thread Nordlöw via Digitalmars-d-learn
On Saturday, 10 March 2018 at 21:31:41 UTC, ag0aep6g wrote: Not tested beyond `f(1, 2.3, "foo")`: auto forwardMap(alias fun, Ts ...)(Ts things) { import std.meta: aliasSeqOf, staticMap; import std.range: iota; import std.typecons: Tuple; alias NewType(size_t i) =

Re: How to simplify nested ifs

2018-03-16 Thread Tony via Digitalmars-d-learn
On Tuesday, 13 March 2018 at 12:23:06 UTC, Ozan Süel wrote: if (source?pool?repository?directory?users) // do something That type of chain is sometimes referred to as a "train wreck" (see Law of Demeter). If this is a common lookup it could be: if (source && source.GotSomeUsers() )

Re: List of language deprecations

2018-03-16 Thread Nordlöw via Digitalmars-d-learn
On Friday, 16 March 2018 at 16:01:18 UTC, Steven Schveighoffer wrote: https://dlang.org/deprecate.html Thanks!

Re: D beyond the specs

2018-03-16 Thread lurker via Digitalmars-d
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: [...] easy code readability, few keywords, well defined and predictable (ex. ebnf) well D is all - but that. i can't get anyone in our company to use it even for little stuff.

Re: D beyond the specs

2018-03-16 Thread jmh530 via Digitalmars-d
On Friday, 16 March 2018 at 16:02:07 UTC, bachmeier wrote: Allow me to put on my economist hat and say you might be looking for explanations when none are required. Much of programming language adoption involves choosing languages others are using (see, well, any conversation about

Re: D beyond the specs

2018-03-16 Thread user1234 via Digitalmars-d
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB, Romania and Russia etc.? I've always been

Re: D beyond the specs

2018-03-16 Thread Jonathan M Davis via Digitalmars-d
On Friday, March 16, 2018 11:44:59 Chris via Digitalmars-d wrote: > Would it be possible to find out at DConf in Munich why exactly D > is so popular in Germany (my impression) and in other countries > of Europe (and that general post code) like France, Italy, GB, > Romania and Russia etc.? I've

Re: D beyond the specs

2018-03-16 Thread bachmeier via Digitalmars-d
On Friday, 16 March 2018 at 15:14:08 UTC, Chris wrote: On Friday, 16 March 2018 at 14:50:26 UTC, Paulo Pinto wrote: Well, Algol, Pascal, Oberon, Component Pascal, VHDL, Ada are all examples of programming languages successfully used in Europe, while having adoption issues on US. Even

Re: List of language deprecations

2018-03-16 Thread Steven Schveighoffer via Digitalmars-d-learn
On 3/16/18 11:58 AM, Nordlöw wrote: Is there a list of language deprecations? I want to show my codings fellows how strong and modern D's view on deprecations are. https://dlang.org/deprecate.html -Steve

Re: Vision document for H1 2018

2018-03-16 Thread Steven Schveighoffer via Digitalmars-d-announce
On 3/12/18 10:57 AM, Void-995 wrote: On Monday, 12 March 2018 at 10:38:57 UTC, bachmeier wrote: On Monday, 12 March 2018 at 05:02:31 UTC, Jonathan M Davis wrote: Now, I actually understand ranges and am very glad that they're there, but as a D newbie, they were annoying, because they were

List of language deprecations

2018-03-16 Thread Nordlöw via Digitalmars-d-learn
Is there a list of language deprecations? I want to show my codings fellows how strong and modern D's view on deprecations are.

Re: D beyond the specs

2018-03-16 Thread Joakim via Digitalmars-d
On Friday, 16 March 2018 at 14:45:28 UTC, Guillaume Piolat wrote: On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like

Re: dmd -unittest= (same syntax as -i)

2018-03-16 Thread Steven Schveighoffer via Digitalmars-d
On 3/16/18 10:32 AM, Dejan Lekic wrote: On Wednesday, 14 March 2018 at 22:04:50 UTC, Adam D. Ruppe wrote: On Wednesday, 14 March 2018 at 21:22:01 UTC, Timothee Cour wrote: would a PR for `dmd -unittest= (same syntax as -i)` be welcome? so when this came up on irc earlier (was that you?) this

Re: D beyond the specs

2018-03-16 Thread Radu via Digitalmars-d
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB, Romania and Russia etc.? I've always been

Re: D beyond the specs

2018-03-16 Thread Chris via Digitalmars-d
On Friday, 16 March 2018 at 14:50:26 UTC, Paulo Pinto wrote: Well, Algol, Pascal, Oberon, Component Pascal, VHDL, Ada are all examples of programming languages successfully used in Europe, while having adoption issues on US. Even Delphi is still having regular conferences and magazine

[Issue 18478] Spurious "escapes a reference to local variable" error in function that does not return by reference

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18478 Carsten Blüggel changed: What|Removed |Added Keywords||rejects-valid, spec

Re: Vision document for H1 2018

2018-03-16 Thread Kagamin via Digitalmars-d-announce
On Thursday, 15 March 2018 at 16:03:14 UTC, rumbu wrote: Are you sure that you are talking about phobos and not tango? :) I'm eager to find how I'm uninformed. Tango doesn't use UFCS, while phobos and .net framework are big on extension methods. Also tango uses object oriented console IO,

Re: D beyond the specs

2018-03-16 Thread Paulo Pinto via Digitalmars-d
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB, Romania and Russia etc.? I've always been

Re: D beyond the specs

2018-03-16 Thread Guillaume Piolat via Digitalmars-d
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB, Romania and Russia etc.? Made-up theory that

Re: D beyond the specs

2018-03-16 Thread Chris via Digitalmars-d
On Friday, 16 March 2018 at 14:18:16 UTC, bauss wrote: On Friday, 16 March 2018 at 13:51:03 UTC, Chris wrote: On Friday, 16 March 2018 at 12:43:03 UTC, psychoticRabbit wrote: On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Hint: there's a Ph.D. in it ;) Hint: Do not write a Ph.D

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

2018-03-16 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||18478 Referenced

[Issue 18478] Spurious "escapes a reference to local variable" error in function that does not return by reference

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

Re: dmd -unittest= (same syntax as -i)

2018-03-16 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 14 March 2018 at 22:04:50 UTC, Adam D. Ruppe wrote: On Wednesday, 14 March 2018 at 21:22:01 UTC, Timothee Cour wrote: would a PR for `dmd -unittest= (same syntax as -i)` be welcome? so when this came up on irc earlier (was that you?) this was the first thought that came to my

Re: D beyond the specs

2018-03-16 Thread bauss via Digitalmars-d
On Friday, 16 March 2018 at 13:51:03 UTC, Chris wrote: On Friday, 16 March 2018 at 12:43:03 UTC, psychoticRabbit wrote: On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Hint: there's a Ph.D. in it ;) Hint: Do not write a Ph.D based on impressions ;-) Hint: Do not write a Ph.D. at all

Re: Is there any web browser control in D Lang to display html file ?

2018-03-16 Thread Jesse Phillips via Digitalmars-d-learn
On Friday, 16 March 2018 at 10:31:51 UTC, Jayam wrote: I creating one simple desktop application using dlang. I need to display some html file in my desktop application. How can make it works ? I believe on is available in dtw.

Re: D beyond the specs

2018-03-16 Thread Chris via Digitalmars-d
On Friday, 16 March 2018 at 12:43:03 UTC, psychoticRabbit wrote: On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Hint: there's a Ph.D. in it ;) Hint: Do not write a Ph.D based on impressions ;-) Hint: Do not write a Ph.D. at all ;)

Re: D beyond the specs

2018-03-16 Thread psychoticRabbit via Digitalmars-d
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote: Hint: there's a Ph.D. in it ;) Hint: Do not write a Ph.D based on impressions ;-)

Re: Linux signal handling - notifying a condition variable

2018-03-16 Thread James E. King III via Digitalmars-d
On Thursday, 15 March 2018 at 19:43:09 UTC, Patrick Schluter wrote: On Thursday, 15 March 2018 at 16:51:59 UTC, Jim King wrote: I am trying to add graceful shutdown support to a test harness. In the test harness, a server class consumes a thread to accept connections and service them. In

[Issue 18621] core.sync.condition notify methods cannot be used from a (unix) signal handler

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18621 James E. King III changed: What|Removed |Added Status|RESOLVED|CLOSED --

[Issue 18621] core.sync.condition notify methods cannot be used from a (unix) signal handler

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18621 James E. King III changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18621] core.sync.condition notify methods cannot be used from a (unix) signal handler

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18621 --- Comment #1 from James E. King III --- Discussion on the forum, for reference: https://forum.dlang.org/thread/xakcezblunbflwxby...@forum.dlang.org --

[Issue 18621] New: core.sync.condition notify methods cannot be used from a (unix) signal handler

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18621 Issue ID: 18621 Summary: core.sync.condition notify methods cannot be used from a (unix) signal handler Product: D Version: D2 Hardware: All OS: All

Re: Allocator Part of Type

2018-03-16 Thread jmh530 via Digitalmars-d-learn
On Friday, 16 March 2018 at 06:20:42 UTC, Eugene Wissner wrote: [snip] That's interesting thanks.

D beyond the specs

2018-03-16 Thread Chris via Digitalmars-d
Would it be possible to find out at DConf in Munich why exactly D is so popular in Germany (my impression) and in other countries of Europe (and that general post code) like France, Italy, GB, Romania and Russia etc.? I've always been intrigued by the fact that it originated in the US but that

Re: Is there any web browser control in D Lang to display html file ?

2018-03-16 Thread bauss via Digitalmars-d-learn
On Friday, 16 March 2018 at 11:04:31 UTC, Jayam wrote: On Friday, 16 March 2018 at 10:53:39 UTC, bauss wrote: On Friday, 16 March 2018 at 10:52:14 UTC, Alex wrote: On Friday, 16 March 2018 at 10:31:51 UTC, Jayam wrote: I creating one simple desktop application using dlang. I need to display

Re: DConf 2018 - The touristy bits

2018-03-16 Thread Chris via Digitalmars-d
On Thursday, 15 March 2018 at 20:01:07 UTC, Walter Bright wrote: On 3/15/2018 4:33 AM, Chris wrote: For sight-seeing, I'd recommend the CityTourCard: https://www.mvv-muenchen.de/en/tickets-and-fares/tickets-daytickets/citytourcard/index.html#c12632 Does the "entire network" price include the

Re: DConf 2018 - The touristy bits

2018-03-16 Thread Chris via Digitalmars-d
On Friday, 16 March 2018 at 11:12:06 UTC, Chris wrote: On Thursday, 15 March 2018 at 20:01:07 UTC, Walter Bright wrote: On 3/15/2018 4:33 AM, Chris wrote: For sight-seeing, I'd recommend the CityTourCard:

[Issue 18620] `error cannot be interpreted at compile time` is missing context where error occurs

2018-03-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18620 RazvanN changed: What|Removed |Added CC|

Re: Is there any web browser control in D Lang to display html file ?

2018-03-16 Thread Jayam via Digitalmars-d-learn
On Friday, 16 March 2018 at 10:53:39 UTC, bauss wrote: On Friday, 16 March 2018 at 10:52:14 UTC, Alex wrote: On Friday, 16 March 2018 at 10:31:51 UTC, Jayam wrote: I creating one simple desktop application using dlang. I need to display some html file in my desktop application. How can make

Re: Is there any web browser control in D Lang to display html file ?

2018-03-16 Thread Alex via Digitalmars-d-learn
On Friday, 16 March 2018 at 10:31:51 UTC, Jayam wrote: I creating one simple desktop application using dlang. I need to display some html file in my desktop application. How can make it works ? Do you mean something like this? http://vibed.org/api/diet.dom/

Re: Is there any web browser control in D Lang to display html file ?

2018-03-16 Thread bauss via Digitalmars-d-learn
On Friday, 16 March 2018 at 10:52:14 UTC, Alex wrote: On Friday, 16 March 2018 at 10:31:51 UTC, Jayam wrote: I creating one simple desktop application using dlang. I need to display some html file in my desktop application. How can make it works ? Do you mean something like this?

  1   2   >