Re: Question on Dual-Licensing Some Code for Phobos

2017-12-02 Thread Shachar Shemesh via Digitalmars-d
On 02/12/17 03:44, Walter Bright wrote: On 12/1/2017 2:57 PM, ketmar wrote: Walter Bright wrote: You cannot add/change the license of software without permission from the copyright holder. Translating the code from one language to another does not erase the copyright - it's still a derived

Re: Struct inside a class: How to get outer?

2017-12-02 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, December 03, 2017 01:05:00 Nick Sabalausky via Digitalmars-d- learn wrote: > Is this even possible? My attempts: > > class Outer { > struct Inner { > void foo() { > // Error: no property 'outer' for type 'Inner' > Outer o = this.outer; > > //

Re: How to declare immutable struct outside of try catch and reference it later

2017-12-02 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, December 03, 2017 05:49:54 Fra Mecca via Digitalmars-d-learn wrote: > I have this code: > Configuration conf = void ; > try { > conf = parse_config("config.sdl"); > } catch (Exception e) { > std.stdio.stderr.writeln("Error reading configuration > file:

Re: Thoughts about D

2017-12-02 Thread Richard Delorme via Digitalmars-d
On Saturday, 2 December 2017 at 23:44:39 UTC, Walter Bright wrote: On 12/2/2017 4:38 AM, Iain Buclaw wrote: But then you need to bloat your program with debug info in order to understand what, why, and how things went wrong. Most of the time (for me) that isn't necessary, because the

Re: Question on Dual-Licensing Some Code for Phobos

2017-12-02 Thread Shachar Shemesh via Digitalmars-d
On 30/11/17 21:17, Jack Stouffer wrote: I'm starting work on a proposal for stdx.decimal, and one of the clearest implementations to work off of is the Python implementation. This however, poses a problem because Python's source is under the PSFL, a BSD-like permissive license. Any derivative

Struct inside a class: How to get outer?

2017-12-02 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-learn
Is this even possible? My attempts: class Outer { struct Inner { void foo() { // Error: no property 'outer' for type 'Inner' Outer o = this.outer; // Error: cannot implicitly convert expression

How to declare immutable struct outside of try catch and reference it later

2017-12-02 Thread Fra Mecca via Digitalmars-d-learn
I have this code: Configuration conf = void ; try { conf = parse_config("config.sdl"); } catch (Exception e) { std.stdio.stderr.writeln("Error reading configuration file: ", e.msg); exit(1); } // other code function(value, conf); // end I get:

Re: std.range.interfaces : InputRange moveFront

2017-12-02 Thread Johan Engelen via Digitalmars-d-learn
On Friday, 1 December 2017 at 18:55:53 UTC, Steven Schveighoffer wrote: Once you popFront a byLine range, the element that was at front is now possibly invalid (the buffer may be reused). So in order to return the line from popFront, you have to store it somewhere. This means allocating

Re: std.range.interfaces : InputRange moveFront

2017-12-02 Thread Johan Engelen via Digitalmars-d-learn
On Friday, 1 December 2017 at 18:33:09 UTC, Ali Çehreli wrote: On 12/01/2017 07:21 AM, Steven Schveighoffer wrote: > On 12/1/17 4:29 AM, Johan Engelen wrote: >> (Also, I would expect "popFront" to return the element popped, but it >> doesn't, OK... > > pop removes the front element, but if

Re: Google alert for "dlang"

2017-12-02 Thread Ex Nihilo via Digitalmars-d
Google Search and its proxies (e.g. startpage) have also stopped trying to correct dlang as golang. This is a welcome change!

Re: First Impressions!

2017-12-02 Thread Walter Bright via Digitalmars-d
On 12/2/2017 5:59 PM, H. S. Teoh wrote: [...] Even worse, companies go and copyright their icons, guaranteeing they have to be substantially different for every company! If there ever was an Emperor's New Clothes, it's icons and emojis.

Re: scope(exit) and Ctrl-C

2017-12-02 Thread Adam D. Ruppe via Digitalmars-d-learn
On Sunday, 3 December 2017 at 02:56:38 UTC, H. S. Teoh wrote: Ha! I've been using Linux for decades now and this is the first time I'm aware of this function. Should simplify my code when I'm not planning to be Posix-portable. Thanks! In the same vein, make sure you read about timerfd and

Re: scope(exit) and Ctrl-C

2017-12-02 Thread H. S. Teoh via Digitalmars-d-learn
On Sat, Dec 02, 2017 at 11:32:17AM +, Patrick Schluter via Digitalmars-d-learn wrote: > On Saturday, 2 December 2017 at 04:49:26 UTC, H. S. Teoh wrote: > > On Sat, Dec 02, 2017 at 04:38:29AM +, Adam D. Ruppe via > > Digitalmars-d-learn wrote: > > > [...] > > > > Signal handlers can

Re: Ddoc - No Documentation

2017-12-02 Thread Adam D. Ruppe via Digitalmars-d-learn
On Sunday, 3 December 2017 at 00:25:34 UTC, Jonathan M Davis wrote: Presumably, because they are not things that you would ever explicitly use. The whole point of the documentation is to document what the types and functions being documented do and how to use them. If they're not something

Re: First Impressions!

2017-12-02 Thread H. S. Teoh via Digitalmars-d
On Sat, Dec 02, 2017 at 02:20:10AM -0800, Walter Bright via Digitalmars-d wrote: [...] > My car has a bunch emoticons labeling the controls. I can't figure out > what any of them do without reading the manual, or just pushing random > buttons until what I want happens. One button has an icon on it

Re: First Impressions!

2017-12-02 Thread codephantom via Digitalmars-d
On Sunday, 3 December 2017 at 01:11:14 UTC, codephantom wrote: but my wider point is, unicode emoji's are useless if they only contain those that 'some' consider to be polictically correct, or socially acceptable. The Unicode consortium is a bunch of ... (I don't have the unicode emoji

Re: Windows Share Path

2017-12-02 Thread codephantom via Digitalmars-d-learn
On Saturday, 2 December 2017 at 14:23:48 UTC, Vino wrote: Hi, Even tried the Option "Run with Highest Privilege" but no luck. and also tried with option "Configure for : Windows Vista , Windows Server 2008" From, Vino.B You haven't accidently ticked the 'Do not store password' option?

Re: First Impressions!

2017-12-02 Thread codephantom via Digitalmars-d
On Saturday, 2 December 2017 at 16:44:56 UTC, Ola Fosheim Grøstad wrote: On Saturday, 2 December 2017 at 12:25:22 UTC, codephantom wrote: Do the people on the unicode consortium consider such communication to be invalid?

Re: Ddoc - No Documentation

2017-12-02 Thread Jonathan M Davis via Digitalmars-d-learn
On Sunday, December 03, 2017 00:14:10 Tony via Digitalmars-d-learn wrote: > Wondering what the rationale is for this: > > https://dlang.org/spec/ddoc.html#no_documentation > > No Documentation > > No documentation is generated for the following constructs, even > if they have a documentation

Re: Building is slow!

2017-12-02 Thread Ivan Trombley via Digitalmars-d
On Saturday, 2 December 2017 at 23:26:20 UTC, Ivan Trombley wrote: On Saturday, 2 December 2017 at 14:34:58 UTC, Arek wrote: You can try `dub build --build-mode=single-file --parallel`. It will execute separate instance of compiler for each source file. If --parallel is given, dub will launch

Ddoc - No Documentation

2017-12-02 Thread Tony via Digitalmars-d-learn
Wondering what the rationale is for this: https://dlang.org/spec/ddoc.html#no_documentation No Documentation No documentation is generated for the following constructs, even if they have a documentation comment: Invariants Postblits Destructors Static constructors and static destructors

Re: Thoughts about D

2017-12-02 Thread Walter Bright via Digitalmars-d
On 12/2/2017 4:13 AM, Iain Buclaw wrote: On 29 November 2017 at 03:18, Walter Bright via Digitalmars-d wrote: On 11/28/2017 9:27 AM, Jacob Carlborg wrote: Why would druntime be a barrier for you for those projects? When the C version is 90K and the translated

Re: Thoughts about D

2017-12-02 Thread Walter Bright via Digitalmars-d
On 12/2/2017 4:38 AM, Iain Buclaw wrote: But then you need to bloat your program with debug info in order to understand what, why, and how things went wrong. Most of the time (for me) that isn't necessary, because the debugger still shows where it failed and that's enough. Besides, you can

Re: First Impressions!

2017-12-02 Thread Walter Bright via Digitalmars-d
On 11/30/2017 10:07 PM, Patrick Schluter wrote: endianness Yeah, I forgot to mention that one. As if anyone remembers to put in the Byte Order Mark :-(

[Issue 17993] 404 Not Found: phobos/ddmd_utf.html

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

[Issue 17993] 404 Not Found: phobos/ddmd_utf.html

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17993 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/d95a7ad255e2daab73d6c15c16047fab359db9e8 Fix Issue 17993 - 404 Not Found: phobos/ddmd_utf.html

Re: Building is slow!

2017-12-02 Thread Ivan Trombley via Digitalmars-d
On Saturday, 2 December 2017 at 14:34:58 UTC, Arek wrote: You can try `dub build --build-mode=single-file --parallel`. It will execute separate instance of compiler for each source file. If --parallel is given, dub will launch several instances of dmd in parallel. I get the error: Error

Re: Instructions to build DMD from source don't work (anymore) here

2017-12-02 Thread Joakim via Digitalmars-d-learn
On Thursday, 30 November 2017 at 08:38:15 UTC, Basile B. wrote: Hi, I've recently switched from a linux distribution to another (F27). During the last 2 years i used a script to build DMD, unfortunately i forgot to include it in my backup. Initially i thought "No problem, there's the

Re: LDC 1.6.0-beta1

2017-12-02 Thread David Nadlinger via Digitalmars-d-announce
On Saturday, 2 December 2017 at 15:47:23 UTC, Jacob Carlborg wrote: On 2017-12-02 13:41, kinke wrote: Nope, unfortunately still waiting for one of my compadres to create and upload the OSX package. Have you thought of automatically build and upload packages using Travis CI? That would be

Re: Building is slow!

2017-12-02 Thread Indigo via Digitalmars-d
On Saturday, 2 December 2017 at 00:24:12 UTC, Ivan Trombley wrote: When DUB bulds the gtk-d library, it takes a long time. This is mostly because it's only using one processor. It hasn't been such a big deal on Linux but I'm building my app on Windows right now and it been building gtk-d for

Re: Visual D 0.46.0 released - more VS2017 and LDC integration

2017-12-02 Thread kinke via Digitalmars-d-announce
On Saturday, 2 December 2017 at 16:31:00 UTC, Rainer Schuetze wrote: Hi, I have just released version 0.46 of Visual D, see http://rainers.github.io/visuald/visuald/StartPage.html Thx Rainer, appreciated.

Re: First Impressions!

2017-12-02 Thread Joakim via Digitalmars-d
On Friday, 1 December 2017 at 23:16:45 UTC, H. S. Teoh wrote: On Fri, Dec 01, 2017 at 03:04:44PM -0800, Walter Bright via Digitalmars-d wrote: On 11/30/2017 9:23 AM, Kagamin wrote: > On Tuesday, 28 November 2017 at 03:37:26 UTC, rikki > cattermole wrote: > > Be aware Microsoft is alone in

[Issue 17723] Replace Facebook on the front page with Weka.io

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17723 Seb changed: What|Removed |Added Keywords||pull CC|

[Issue 17993] 404 Not Found: phobos/ddmd_utf.html

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17993 Seb changed: What|Removed |Added Keywords||pull CC|

[Issue 17998] Document Options for install.sh

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17998 Seb changed: What|Removed |Added Keywords||pull CC|

[Issue 17860] some code exaples from site doesn't build on Visual Studio 2010 (and probably at all)

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17860 Seb changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: Question on Dual-Licensing Some Code for Phobos

2017-12-02 Thread Ola Fosheim Grøstad via Digitalmars-d
On Saturday, 2 December 2017 at 18:30:22 UTC, Andre Pany wrote: Do you know there is already a similar attempt to bring decimal to phobos: https://github.com/andersonpd/eris This work could also be a starting point... What about:

Re: Question on Dual-Licensing Some Code for Phobos

2017-12-02 Thread Andre Pany via Digitalmars-d
On Thursday, 30 November 2017 at 19:17:32 UTC, Jack Stouffer wrote: I'm starting work on a proposal for stdx.decimal, and one of the clearest implementations to work off of is the Python implementation. This however, poses a problem because Python's source is under the PSFL, a BSD-like

Google alert for "dlang"

2017-12-02 Thread Andrei Alexandrescu via Digitalmars-d
Hi folks, I've set up a Google Alert (https://google.com/alerts) for the word "dlang". The good news is, Google has gotten as far as understanding "dlang" is related to "D". The bad news is, Google is now sending alerts on a bunch of irrelevant uses of "D", such as "Coeur D'Alene", "Giro

Re: Windows Share Path

2017-12-02 Thread rjframe via Digitalmars-d-learn
On Sat, 02 Dec 2017 14:16:17 +, Vino wrote: > Hi, > >The script is schedule using a domain user id(domain\user id), > and the windows share are mapped using the same user id /password and > ran the scheduled task by login with the same domain user(Not > Administrator) , the script

[Issue 17762] Cannot compile with clean DMD.

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17762 --- Comment #6 from Rainer Schuetze --- I have updated http://rainers.github.io/visuald/visuald/BuildFromSource.html and cleaned up the Makefile (it is used for building the release and installer only, though). --

[Issue 17808] VisualD doesn't work if Visual Studio is installed to non-ASCII path

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17808 Rainer Schuetze changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 12187] VisualD-v0.3.37.exe on DSource falsely reports as virus

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12187 Rainer Schuetze changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17669] VisualD v0.44.2.exe may contain a trojan

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17669 Rainer Schuetze changed: What|Removed |Added Status|NEW |RESOLVED

Re: First Impressions!

2017-12-02 Thread Ola Fosheim Grøstad via Digitalmars-d
On Saturday, 2 December 2017 at 12:25:22 UTC, codephantom wrote: Do the people on the unicode consortium consider such communication to be invalid? https://splinternews.com/violent-emoji-are-starting-to-get-people-in-trouble-wit-1793845130 On the other hand try to google "emoji sexual"…

[Issue 17877] Missing library path in LDC settings

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17877 Rainer Schuetze changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 17913] [Visual D] Exceptions in Visual Studio 2017

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17913 Rainer Schuetze changed: What|Removed |Added Status|NEW |RESOLVED

Visual D 0.46.0 released - more VS2017 and LDC integration

2017-12-02 Thread Rainer Schuetze via Digitalmars-d-announce
Hi, I have just released version 0.46 of Visual D, see http://rainers.github.io/visuald/visuald/StartPage.html This release doesn't come with major new features, but a list of bug fixes and incremental improvements, those with the largest impact: * improved VS 2017 integration * improved

Re: First Impressions!

2017-12-02 Thread Patrick Schluter via Digitalmars-d
On Saturday, 2 December 2017 at 10:20:10 UTC, Walter Bright wrote: On 12/1/2017 8:08 PM, Jonathan M Davis wrote: [...] Yup. I've presented that point of view a couple times on HackerNews, and some Unicode people took umbrage at that. The case they presented fell a little flat. [...]

Re: LDC 1.6.0-beta1

2017-12-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-02 13:41, kinke wrote: Nope, unfortunately still waiting for one of my compadres to create and upload the OSX package. Have you thought of automatically build and upload packages using Travis CI? -- /Jacob Carlborg

Re: Building is slow!

2017-12-02 Thread Arek via Digitalmars-d
On Saturday, 2 December 2017 at 09:50:32 UTC, Ivan Trombley wrote: On Saturday, 2 December 2017 at 03:08:10 UTC, rjframe wrote: There is a --parallel flag: `dub build --parallel`. The help string says it "Runs multiple compiler instances in parallel, if possible." Thanks, I'll give that a

Re: Windows Share Path

2017-12-02 Thread Vino via Digitalmars-d-learn
On Saturday, 2 December 2017 at 14:16:17 UTC, Vino wrote: On Saturday, 2 December 2017 at 13:05:37 UTC, rjframe wrote: [...] Hi, The script is schedule using a domain user id(domain\user id), and the windows share are mapped using the same user id /password and ran the scheduled task by

Re: Windows Share Path

2017-12-02 Thread Vino via Digitalmars-d-learn
On Saturday, 2 December 2017 at 13:05:37 UTC, rjframe wrote: On Sat, 02 Dec 2017 07:48:14 +, Vino wrote: On Saturday, 2 December 2017 at 05:08:27 UTC, Vino wrote: [...] Even tried with the below code, it works manually but not via Windows scheduler with option "Run whether user is

Re: First Impressions!

2017-12-02 Thread Ola Fosheim Grøstad via Digitalmars-d
On Saturday, 2 December 2017 at 04:08:54 UTC, Jonathan M Davis wrote: code points. Emojis are specifically representable by a sequence of existing characters (usually ASCII), because they came from folks trying to represent pictures with text. They are used as symbols culturally, which is how

Re: Building is slow!

2017-12-02 Thread tetyys via Digitalmars-d
Something must be definitely wrong if compilation takes half an hour, unless you're trying to compile it on a toaster. An infinite loop?

Re: Windows Share Path

2017-12-02 Thread rjframe via Digitalmars-d-learn
On Sat, 02 Dec 2017 07:48:14 +, Vino wrote: > On Saturday, 2 December 2017 at 05:08:27 UTC, Vino wrote: >> Hi All, >> >> Request your help, I have samll program which validates the >> file path, the script run perfectly when i run it manually, but if i >> run it via windows task scheduler i

Re: Windows Share Path

2017-12-02 Thread codephantom via Digitalmars-d-learn
On Saturday, 2 December 2017 at 07:48:14 UTC, Vino wrote: Even tried with the below code, it works manually but not via Windows scheduler with option "Run whether user is logged on or not" Are you using appropriate credentials in the scheduled task?

Re: LDC 1.6.0-beta1

2017-12-02 Thread kinke via Digitalmars-d-announce
On Saturday, 2 December 2017 at 12:13:55 UTC, Basile B. wrote: Hello, it seems that you've forgot to announce the final release. Nope, unfortunately still waiting for one of my compadres to create and upload the OSX package.

Re: Thoughts about D

2017-12-02 Thread Iain Buclaw via Digitalmars-d
On 1 December 2017 at 04:23, Walter Bright via Digitalmars-d wrote: > 26 bytes of inserted Bloaty McBloatface code and 15 bytes of data. My > proposal: > > _D4test4testFiZv: > : pushRBP > 0001: mov RBP,RSP > 0004: sub

Re: Thoughts about D

2017-12-02 Thread Iain Buclaw via Digitalmars-d
On 1 December 2017 at 04:23, Walter Bright via Digitalmars-d wrote: > On 11/30/2017 3:51 PM, Nicholas Wilson wrote: >> >> On Thursday, 30 November 2017 at 18:18:41 UTC, Jonathan M Davis wrote: >>> >>> But I have a hard time believing that the cost of assertions

Re: First Impressions!

2017-12-02 Thread codephantom via Digitalmars-d
On Saturday, 2 December 2017 at 04:08:54 UTC, Jonathan M Davis wrote: The fact that they're then trying to put those pictures into the Unicode standard just blatantly shows that the Unicode folks have lost sight of what they're up to. It's like if they started trying to add Unicode

Re: Thoughts about D

2017-12-02 Thread Iain Buclaw via Digitalmars-d
On 30 November 2017 at 04:29, Walter Bright via Digitalmars-d wrote: > On 11/29/2017 7:15 PM, Jonathan M Davis wrote: >> >> I wouldn't have expected assertions to cost much more than however much it >> costs to evaluate the expression being asserted unless the

Re: LDC 1.6.0-beta1

2017-12-02 Thread Basile B. via Digitalmars-d-announce
On Sunday, 12 November 2017 at 15:57:19 UTC, kinke wrote: Hi everyone, on behalf of the LDC team, I'm glad to announce the first beta for LDC 1.6. The highlights of this version in a nutshell: * Based on D 2.076.1. * Experimental support for dynamic codegen at runtime ('manual JIT'). *

Re: Thoughts about D

2017-12-02 Thread Iain Buclaw via Digitalmars-d
On 29 November 2017 at 03:18, Walter Bright via Digitalmars-d wrote: > On 11/28/2017 9:27 AM, Jacob Carlborg wrote: >> >> Why would druntime be a barrier for you for those projects? > > > When the C version is 90K and the translated D version is 1200K, it is a >

Re: scope(exit) and Ctrl-C

2017-12-02 Thread Patrick Schluter via Digitalmars-d-learn
On Saturday, 2 December 2017 at 04:49:26 UTC, H. S. Teoh wrote: On Sat, Dec 02, 2017 at 04:38:29AM +, Adam D. Ruppe via Digitalmars-d-learn wrote: [...] Signal handlers can potentially be invoked while inside a non-reentrant libc or OS function, so trying to do anything that (indirectly

Re: First Impressions!

2017-12-02 Thread Patrick Schluter via Digitalmars-d
On Saturday, 2 December 2017 at 10:35:50 UTC, Patrick Schluter wrote: On Friday, 1 December 2017 at 23:16:45 UTC, H. S. Teoh wrote: [...] That's true in theory, in practice it's not that severe as the CJK languages are never isolated and appear embedded in a lot of ASCII. You can read here

Re: First Impressions!

2017-12-02 Thread Patrick Schluter via Digitalmars-d
On Friday, 1 December 2017 at 23:16:45 UTC, H. S. Teoh wrote: On Fri, Dec 01, 2017 at 03:04:44PM -0800, Walter Bright via Digitalmars-d wrote: On 11/30/2017 9:23 AM, Kagamin wrote: > On Tuesday, 28 November 2017 at 03:37:26 UTC, rikki > cattermole wrote: > > Be aware Microsoft is alone in

Re: First Impressions!

2017-12-02 Thread Jacob Carlborg via Digitalmars-d
On 2017-12-02 11:02, Walter Bright wrote: Are you sure about that? I know that Asian languages will be longer in UTF-8. But how much data that programs handle is in those languages? The language of business, science, programming, aviation, and engineering is english. Not necessarily. I've

Re: Thoughts about D

2017-12-02 Thread Walter Bright via Digitalmars-d
On 11/30/2017 8:34 PM, Nicholas Wilson wrote: I'm not sure that it does that given the triviality of the example, but it looks like it doesn't. https://github.com/dlang/dmd/pull/7386

Re: D User Survey

2017-12-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-02 10:30, WebFreak001 wrote: On Saturday, 2 December 2017 at 09:16:55 UTC, Jacob Carlborg wrote: On 2017-12-01 19:56, WebFreak001 wrote: Hi everyone, I made a public survey (everyone can look at the responses) and it would be great if you took some time and answered it. I think it

Re: Question on Dual-Licensing Some Code for Phobos

2017-12-02 Thread Jacob Carlborg via Digitalmars-d
On 2017-12-01 23:45, Walter Bright wrote: I had forgotten, permission indeed was in my email archives from 2011. But a problem remained - to anyone looking at the file, it looks like we copied the code and changed the license without permission. So I added a comment clarifying that we did

Re: First Impressions!

2017-12-02 Thread Walter Bright via Digitalmars-d
On 12/1/2017 8:08 PM, Jonathan M Davis wrote: And personally, I think that their worst decisions tend to be at the code point level (e.g. having the same character being representable by different combinations of code points). Yup. I've presented that point of view a couple times on

Re: First Impressions!

2017-12-02 Thread Walter Bright via Digitalmars-d
On 12/1/2017 3:16 PM, H. S. Teoh wrote: This is not true in Asia, esp. where the CJK block is extensively used. A CJK block character is 3 bytes in UTF-8, meaning that string sizes are 150% of the UCS2 encoding. If your code contains a lot of CJK text, that's a lot of bloat. But then again, in

Re: Building is slow!

2017-12-02 Thread Ivan Trombley via Digitalmars-d
On Saturday, 2 December 2017 at 03:08:10 UTC, rjframe wrote: There is a --parallel flag: `dub build --parallel`. The help string says it "Runs multiple compiler instances in parallel, if possible." Thanks, I'll give that a try. After an hour, I pressed CTRL+C, shut it down and went home.

Re: scope(exit) and Ctrl-C

2017-12-02 Thread Jacob Carlborg via Digitalmars-d-learn
On 2017-12-02 02:26, Adam D. Ruppe wrote: But this is intentional - there is no generic, reliable, cross-platform way of handling it natively. So you need to know the system and code it yourself. Not super hard but does take a bit of effort in your code. Since the "scope" block is not

Re: D User Survey

2017-12-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-01 19:56, WebFreak001 wrote: Hi everyone, I made a public survey (everyone can look at the responses) and it would be great if you took some time and answered it. I think it will greatly benefit D as a whole if we had more anonymous data on users. I'm also open for changing some

Re: D User Survey

2017-12-02 Thread Jacob Carlborg via Digitalmars-d-announce
On 2017-12-01 19:56, WebFreak001 wrote: Hi everyone, I made a public survey (everyone can look at the responses) and it would be great if you took some time and answered it. I think it will greatly benefit D as a whole if we had more anonymous data on users. I'm also open for changing some

Re: D User Survey

2017-12-02 Thread WebFreak001 via Digitalmars-d-announce
On Saturday, 2 December 2017 at 07:33:19 UTC, Basile B. wrote: On Friday, 1 December 2017 at 18:56:50 UTC, WebFreak001 wrote: [...] Why did you put Coedit as a choice among the open source projects people has contributed to ? Actually it got only 1 real contribution, something like 3 years

Re: (Possibly paid opportunity): PyD - Win 64

2017-12-02 Thread Thomas Mader via Digitalmars-d
On Friday, 1 December 2017 at 13:30:21 UTC, Laeeth Isharc wrote: Hi. I'd like to get PyD working on Windows 64. I think it's probably just a simple linking / library problem, but don't have time to work on it myself right now. If somebody would be interested in helping, we could pay for

[Issue 18025] New: ICE with __traits(compiles)

2017-12-02 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18025 Issue ID: 18025 Summary: ICE with __traits(compiles) Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: major Priority: P1

Re: GtkD 3.7.0 released, GTK+ with D.

2017-12-02 Thread helxi via Digitalmars-d-announce
On Sunday, 15 October 2017 at 20:18:37 UTC, Mike Wey wrote: GtkD is a D binding and OO wrapper of Gtk+ and is released on the LGPL license. Apart form the biannual update to the latest glib/gtk version, this release adds bindings for Gstreamer Mpegts and Gstreamer AppSink. Full changelog:

Re: (Possibly paid opportunity): PyD - Win 64

2017-12-02 Thread Nicholas Wilson via Digitalmars-d
On Friday, 1 December 2017 at 13:30:21 UTC, Laeeth Isharc wrote: Hi. I'd like to get PyD working on Windows 64. I think it's probably just a simple linking / library problem, but don't have time to work on it myself right now. If somebody would be interested in helping, we could pay for