Re: problem with isnan

2016-11-10 Thread Daniel Kozak via Digitalmars-d-learn
Dne 10.11.2016 v 17:41 Charles Hixson via Digitalmars-d-learn napsal(a): The line: assert(isnan (c.curActivation), "cell has unexpected curActivation: %s".format(c.curActivation)); throws the exception: core.exception.AssertError@cell.d(285): cell has unexpected curActivation: nan

[Issue 16676] [REG2.072.0] std.format fails with %02d in dstring format string

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16676 ZombineDev changed: What|Removed |Added CC|

Re: Add format future to Phobos date time

2016-11-10 Thread Vladimir Panteleev via Digitalmars-d
On Friday, 11 November 2016 at 05:56:20 UTC, Suliman wrote: There is already external lib https://github.com/cmays90/datetimeformat BTW, ae.utils.time supports parsing and formatting, with the format string being parse-able both at runtime and compile-time (generating parsing/formatting code

Add format future to Phobos date time

2016-11-10 Thread Suliman via Digitalmars-d
Date formating is very common operation. Is it's possible to add this future to Phobos datetime module? There is already external lib https://github.com/cmays90/datetimeformat but I think that is's much better to have in base lib.

[Issue 16677] -L flag ignores quotes in the arguments passed to the linker

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16677 Sprink changed: What|Removed |Added CC||sprink.nore...@gmail.com

[Issue 16678] [REG] Fix for issue 16193 creates major breakage

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16678 Walter Bright changed: What|Removed |Added CC|

[Issue 16679] prefetch on old pentium d results in an illegal instruction

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16679 Brad Roberts changed: What|Removed |Added Assignee|nob...@puremagic.com

Re: Release D 2.072.0

2016-11-10 Thread Soulsbane via Digitalmars-d-announce
On Thursday, 10 November 2016 at 23:02:09 UTC, Soulsbane wrote: On Thursday, 10 November 2016 at 15:38:08 UTC, Dicebot wrote: On 11/05/2016 06:04 AM, Soulsbane wrote: [...] Can't reproduce: $ cat sample.d unittest { import std.regex; static immutable TOC_LINE_PATTERN =

Re: problem with isnan

2016-11-10 Thread Charles Hixson via Digitalmars-d-learn
On 11/10/2016 08:47 AM, Adam D. Ruppe via Digitalmars-d-learn wrote: On Thursday, 10 November 2016 at 16:41:56 UTC, Charles Hixson wrote: It's *supposed* to be nan, and the assert message reports that it is, but it should pass the assert test, not throw an assertion. What am I doing wrong?

Re: PDF generation in D?

2016-11-10 Thread Daniel Kozak via Digitalmars-d
Dne 10.11.2016 v 23:30 Karabuta via Digitalmars-d napsal(a): Hello community, does anyone have on something for PDF generation in D? I may need a PDF generation library in a vibe.d project I'm working on. :) It depends what you need, for eg. we are using wkhtmltopdf with no problem. We

[Issue 16574] [REG 2.072.0-b1] Unexplained errors about functions that overridde anything

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16574 Martin Nowak changed: What|Removed |Added Assignee|nob...@puremagic.com|c...@dawg.eu --

[Issue 16679] New: prefetch on old pentium d results in an illegal instruction

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16679 Issue ID: 16679 Summary: prefetch on old pentium d results in an illegal instruction Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW

Re: Release D 2.072.0

2016-11-10 Thread Soulsbane via Digitalmars-d-announce
On Thursday, 10 November 2016 at 15:38:08 UTC, Dicebot wrote: On 11/05/2016 06:04 AM, Soulsbane wrote: On Monday, 31 October 2016 at 01:27:08 UTC, Martin Nowak wrote: Glad to announce D 2.072.0. http://dlang.org/changelog/2.072.0.html -Martin I've run into a problem with code using ctRegex

Re: PDF generation in D?

2016-11-10 Thread Guillaume Piolat via Digitalmars-d
On Thursday, 10 November 2016 at 22:30:34 UTC, Karabuta wrote: Hello community, does anyone have on something for PDF generation in D? I may need a PDF generation library in a vibe.d project I'm working on. :) AFAIK the only one existing is http://code.dlang.org/packages/fpdf

PDF generation in D?

2016-11-10 Thread Karabuta via Digitalmars-d
Hello community, does anyone have on something for PDF generation in D? I may need a PDF generation library in a vibe.d project I'm working on. :)

Re: cross_module function overloading & alias & template: how to ?

2016-11-10 Thread Picaud Vincent via Digitalmars-d-learn
On Thursday, 10 November 2016 at 20:12:10 UTC, Jonathan M Davis wrote: On Thursday, November 10, 2016 17:41:02 Picaud Vincent via Digitalmars-d- learn wrote: It is certainly a compiler problem: I used gdc -> compile error, but with dmd it compiles and runs fine. Full details in the git repo.

Re: CTFE Status

2016-11-10 Thread Stefan Koch via Digitalmars-d
On Thursday, 10 November 2016 at 20:15:49 UTC, Jonathan M Davis wrote: On Thursday, November 10, 2016 18:40:03 Stefan Koch via Digitalmars-d wrote: On Thursday, 10 November 2016 at 01:17:48 UTC, Stefan Koch wrote: > After the bad news now a bit of good news. > I just finished the strCat

Re: Article: Running D without its runtime

2016-11-10 Thread Guillaume Piolat via Digitalmars-d-announce
On Thursday, 10 November 2016 at 17:32:36 UTC, Russel Winder wrote: On Thu, 2016-11-10 at 06:52 +, Olivier Pisano via Digitalmars-d- announce wrote: I cannot read your website on Firefox 45 (no text is displayed). It works on chromium anyway. I see only some (bold?) test items, the basic

Re: CTFE Status

2016-11-10 Thread Jonathan M Davis via Digitalmars-d
On Thursday, November 10, 2016 18:40:03 Stefan Koch via Digitalmars-d wrote: > On Thursday, 10 November 2016 at 01:17:48 UTC, Stefan Koch wrote: > > After the bad news now a bit of good news. > > I just finished the strCat algorithm; > > > > [...] > > As expected this code is slightly wrong and

Re: Correct way to create singleton?

2016-11-10 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, November 10, 2016 14:25:49 Steven Schveighoffer via Digitalmars-d-learn wrote: > There's a specific way to create a singleton that David Simcha outlined > in a talk at dconf 2013, that avoids all the race condition issues that > singletons traditionally have: > >

Re: cross_module function overloading & alias & template: how to ?

2016-11-10 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, November 10, 2016 17:41:02 Picaud Vincent via Digitalmars-d- learn wrote: > It is certainly a compiler problem: I used gdc -> compile error, > but with dmd it compiles and runs fine. Full details in the git > repo. Don't bother with gdc at this point. Unless there's a development

Re: cross_module function overloading & alias & template: how to ?

2016-11-10 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, November 10, 2016 14:32:28 Steven Schveighoffer via Digitalmars-d-learn wrote: > On 11/10/16 12:12 PM, Jonathan M Davis via Digitalmars-d-learn wrote: > > On Thursday, November 10, 2016 15:46:11 Picaud Vincent via > > Digitalmars-d- > > > > learn wrote: > >> ---> What am I

Re: cross_module function overloading & alias & template: how to ?

2016-11-10 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/10/16 12:12 PM, Jonathan M Davis via Digitalmars-d-learn wrote: On Thursday, November 10, 2016 15:46:11 Picaud Vincent via Digitalmars-d- learn wrote: ---> What am I missing? What is the right way to do that? Honestly, I'm surprised that the compiler let you alias

Re: Correct way to create singleton?

2016-11-10 Thread Steven Schveighoffer via Digitalmars-d-learn
On 11/10/16 12:17 PM, Konstantin Kutsevalov wrote: Hi, what is a correct (and simple) way to create an singleton? This is how I see that now: ``` class ApMessageRouter { static ApMessageRouter instance = null; private this() { } // for disable constructor to use from outside

Re: CTFE Status

2016-11-10 Thread Stefan Koch via Digitalmars-d
On Thursday, 10 November 2016 at 01:17:48 UTC, Stefan Koch wrote: After the bad news now a bit of good news. I just finished the strCat algorithm; [...] As expected this code is slightly wrong and will fail on the offset == 3 case. It will need a little bit of tinkering until it's ready to

Re: cross_module function overloading & alias & template: how to ?

2016-11-10 Thread Picaud Vincent via Digitalmars-d-learn
On Thursday, 10 November 2016 at 17:12:32 UTC, Jonathan M Davis wrote: On Thursday, November 10, 2016 15:46:11 Picaud Vincent via Digitalmars-d- learn wrote: [...] Honestly, I'm surprised that the compiler let you alias std.algorithm.comparison.min, because it's a templated function, and in

Re: Correct way to create singleton?

2016-11-10 Thread Konstantin Kutsevalov via Digitalmars-d-learn
On Thursday, 10 November 2016 at 17:22:48 UTC, Anonymouse wrote: On Thursday, 10 November 2016 at 17:17:51 UTC, Konstantin Kutsevalov wrote: Hi, what is a correct (and simple) way to create an singleton? https://wiki.dlang.org/Low-Lock_Singleton_Pattern great!

Re: Article: Running D without its runtime

2016-11-10 Thread Russel Winder via Digitalmars-d-announce
On Thu, 2016-11-10 at 06:52 +, Olivier Pisano via Digitalmars-d- announce wrote: > I cannot read your website on Firefox 45 (no text is displayed).  > It works on chromium anyway. I see only some (bold?) test items, the basic text is not visible. I am using Chrome Stable  54.0.2840.90

Re: Correct way to create singleton?

2016-11-10 Thread Anonymouse via Digitalmars-d-learn
On Thursday, 10 November 2016 at 17:17:51 UTC, Konstantin Kutsevalov wrote: Hi, what is a correct (and simple) way to create an singleton? https://wiki.dlang.org/Low-Lock_Singleton_Pattern

Correct way to create singleton?

2016-11-10 Thread Konstantin Kutsevalov via Digitalmars-d-learn
Hi, what is a correct (and simple) way to create an singleton? This is how I see that now: ``` class ApMessageRouter { static ApMessageRouter instance = null; private this() { } // for disable constructor to use from outside

Re: Class copy

2016-11-10 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 10 November 2016 at 16:44:24 UTC, Satoshi wrote: But this implementation of dup doesn't work. The dup will need to be a virtual function in the base class for best results, reimplemented in each child class. You could also copy the bytes using runtime type info...

Re: cross_module function overloading & alias & template: how to ?

2016-11-10 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, November 10, 2016 15:46:11 Picaud Vincent via Digitalmars-d- learn wrote: > ---> What am I missing? What is the right way to do that? Honestly, I'm surprised that the compiler let you alias std.algorithm.comparison.min, because it's a templated function, and in the case of

[Issue 16663] [REG 2.072] std.unit.toUpper rejects an alias this to a string

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16663 --- Comment #3 from Dicebot --- Introduced via https://github.com/dlang/phobos/pull/4790 --

Re: [OT] Re: CTFE Status

2016-11-10 Thread Nick Sabalausky via Digitalmars-d
On 11/10/2016 09:31 AM, Dicebot wrote: On 11/10/2016 06:07 AM, Nick Sabalausky wrote: Its things like that. I'd be surprised if that has much to do with git's nature as a "dumb" DAG tool. It's just the general good-design principle of "The thing you *want to* or *should* do or *expect* 99% of

[Issue 16663] [REG 2.072] std.unit.toUpper rejects an alias this to a string

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16663 --- Comment #2 from Dicebot --- Nevermind, I have found my mistake. Can reproduce indeed. --

Re: problem with isnan

2016-11-10 Thread Adam D. Ruppe via Digitalmars-d-learn
On Thursday, 10 November 2016 at 16:41:56 UTC, Charles Hixson wrote: It's *supposed* to be nan, and the assert message reports that it is, but it should pass the assert test, not throw an assertion. What am I doing wrong? How did you set it? There are like billions of different NaNs. I'm

[Issue 16663] [REG 2.072] std.unit.toUpper rejects an alias this to a string

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16663 Dicebot changed: What|Removed |Added CC||pub...@dicebot.lv --- Comment

Re: [OT] web/desktop dying

2016-11-10 Thread Nick Sabalausky via Digitalmars-d
On 11/10/2016 05:14 AM, qznc wrote: On Wednesday, 9 November 2016 at 16:00:45 UTC, Nick Sabalausky wrote: But it probably will take over anyway, because, let's face it, when the fuck has being complete and utter fucking shit ever stopped a computing tech from becoming a runaway success?: I

Class copy

2016-11-10 Thread Satoshi via Digitalmars-d-learn
Hello, how can I copy class when I have pointer to the parent of it? eg. class Foo { int m_a; this(const(Foo) other) { m_a = other.m_a; } } class Bar : Foo { int m_b; this(const(Bar) other) { super(other); m_b = other.m_b; } R dup(this

problem with isnan

2016-11-10 Thread Charles Hixson via Digitalmars-d-learn
The line: assert(isnan (c.curActivation), "cell has unexpected curActivation: %s".format(c.curActivation)); throws the exception: core.exception.AssertError@cell.d(285): cell has unexpected curActivation: nan and I've looked at it backwards and forwards and don't understand why.

[Issue 16678] [REG] Fix for issue 16193 creates major breakage

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16678 --- Comment #2 from Dicebot --- (discard previous comment, wrong issue) --

[Issue 16667] [REG] dub test fails on std.conv after upgrade to dmd 2.072.0

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16667 --- Comment #3 from Dicebot --- Introduced via https://github.com/dlang/phobos/pull/4583 --

[Issue 16678] [REG] Fix for issue 16193 creates major breakage

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16678 --- Comment #1 from Dicebot --- Introduced via https://github.com/dlang/phobos/pull/4583 --

Re: Link Time Optimization in LDC

2016-11-10 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 10 November 2016 at 16:23:03 UTC, Dicebot wrote: Does that mean that cross-module/cross-package inlining with separate compilation now works? When all is compiled with `-flto=...`, yes. -Johan

Re: Link Time Optimization in LDC

2016-11-10 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 10 November 2016 at 16:20:33 UTC, Johan Engelen wrote: Hi all, Yesterday I merged LTO capability into LDC. Here a short article about it: https://johanengelen.github.io/ldc/2016/11/10/Link-Time-Optimization-LDC.html And the reddit thread:

Re: Link Time Optimization in LDC

2016-11-10 Thread Dicebot via Digitalmars-d-announce
On Thursday, 10 November 2016 at 16:20:33 UTC, Johan Engelen wrote: Hi all, Yesterday I merged LTO capability into LDC. Here a short article about it: https://johanengelen.github.io/ldc/2016/11/10/Link-Time-Optimization-LDC.html For the folks building LDC themselves: let me know your issues

Link Time Optimization in LDC

2016-11-10 Thread Johan Engelen via Digitalmars-d-announce
Hi all, Yesterday I merged LTO capability into LDC. Here a short article about it: https://johanengelen.github.io/ldc/2016/11/10/Link-Time-Optimization-LDC.html For the folks building LDC themselves: let me know your issues :) cheers, Johan

cross_module function overloading & alias & template: how to ?

2016-11-10 Thread Picaud Vincent via Digitalmars-d-learn
Hi All, In my adventure to learn a little bit of D coming from C++ I am now faced with the following problem: I have read about "cross-module overloading", §5.5.2 page 146 of Andrei Alexandrescu book. That makes sense to me and this is interesting. As a concrete example here the scenario:

Re: Release D 2.072.0

2016-11-10 Thread Dicebot via Digitalmars-d-announce
On 11/05/2016 06:04 AM, Soulsbane wrote: > On Monday, 31 October 2016 at 01:27:08 UTC, Martin Nowak wrote: >> Glad to announce D 2.072.0. >> >> http://dlang.org/changelog/2.072.0.html >> >> -Martin > > I've run into a problem with code using ctRegex that fails to compile > only in release build.

[Issue 16667] [REG] dub test fails on std.conv after upgrade to dmd 2.072.0

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16667 --- Comment #2 from Dicebot --- (dub is not necessary, compiling this snippet is sufficient) unittest { import std.conv; import std.string; ubyte[] a = "abc".representation.dup; string s =

[Issue 16667] [REG] dub test fails on std.conv after upgrade to dmd 2.072.0

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16667 --- Comment #1 from Dicebot --- Confirming regression from 2.071.2 --

Re: DMD 64-bit Windows

2016-11-10 Thread Benjamin Thaut via Digitalmars-d
On Wednesday, 9 November 2016 at 16:34:13 UTC, Mario Silva wrote: Hey everyone, While compiling our 64-bit app under Windows, DMD is getting out of memory. I wasn't able to find a windows version of DMD64, is there even one? If not, are there any plans? This is quite a show stopper for us.

[Issue 16667] [REG] dub test fails on std.conv after upgrade to dmd 2.072.0

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16667 Dicebot changed: What|Removed |Added CC||pub...@dicebot.lv

Re: Release D 2.072.0

2016-11-10 Thread Dicebot via Digitalmars-d-announce
On Thursday, 10 November 2016 at 13:58:56 UTC, Steven Schveighoffer wrote: This is not possible. Old behavior DID detect some cycles. The new algorithm detects ALL cycles, and handles them all in the same way. What you are asking is for cycles detected by old algorithm to fail, but ones that

Re: [OT] Re: CTFE Status

2016-11-10 Thread Dicebot via Digitalmars-d
On 11/10/2016 06:07 AM, Nick Sabalausky wrote: > On 11/08/2016 02:11 PM, Antonio Corbi wrote: >> >> Maybe this one is useful for you: >> >> http://eagain.net/articles/git-for-computer-scientists/ > On 11/08/2016 03:01 PM, H. S. Teoh via Digitalmars-d wrote: >> Nothing immediately comes to mind,

[Issue 16674] Clarify lifetime of pointer to AA entry

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16674 --- Comment #6 from Steven Schveighoffer --- (In reply to Shachar Shemesh from comment #3) > Also, we should consider what if SomeType is a class. That's irrelevant to this. A pointer to a class instance reference is still a

Re: Release D 2.072.0

2016-11-10 Thread Steven Schveighoffer via Digitalmars-d-announce
On 11/10/16 8:26 AM, Dicebot wrote: On 11/03/2016 05:51 PM, Steven Schveighoffer wrote: On 11/3/16 10:49 AM, Johan Engelen wrote: On Wednesday, 2 November 2016 at 15:13:43 UTC, anonymous wrote: On Wednesday, 2 November 2016 at 15:08:26 UTC, anonymous wrote: I confirm, dmd 2.072 can't build

[Issue 16674] Clarify lifetime of pointer to AA entry

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16674 --- Comment #5 from Steven Schveighoffer --- (In reply to Shachar Shemesh from comment #2) > If there is any doubt re: where AA are going, I think we should take the > opposite approach. It is easier to start with "no, this is

Re: Release D 2.072.0

2016-11-10 Thread Dicebot via Digitalmars-d-announce
On 11/03/2016 05:51 PM, Steven Schveighoffer wrote: > On 11/3/16 10:49 AM, Johan Engelen wrote: >> On Wednesday, 2 November 2016 at 15:13:43 UTC, anonymous wrote: >>> On Wednesday, 2 November 2016 at 15:08:26 UTC, anonymous wrote: I confirm, dmd 2.072 can't build dmd 2.071.2, same error,

Re: Article: Running D without its runtime

2016-11-10 Thread Olivier Pisano via Digitalmars-d-announce
On Thursday, 10 November 2016 at 11:11:17 UTC, Guillaume Piolat wrote: On Thursday, 10 November 2016 at 06:52:12 UTC, Olivier Pisano wrote: I cannot read your website on Firefox 45 (no text is displayed). It works on chromium anyway. I develop it on Firefox. What is your OS? I am on Debian

[Issue 16678] New: [REG] Fix for issue 16193 creates major breakage

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16678 Issue ID: 16678 Summary: [REG] Fix for issue 16193 creates major breakage Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression

Re: Linus' idea of "good taste" code

2016-11-10 Thread Kagamin via Digitalmars-d
On Sunday, 30 October 2016 at 06:39:42 UTC, Joakim wrote: It is not worth it, the web is dying. I was stunned to see this chart of mobile web usage in the US: https://mobile.twitter.com/asymco/status/777915894659964928 They just spend increasingly more time in twitter when not at home.

[Issue 16672] Deprecate "block only" delegate syntax

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16672 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment

[Issue 16671] std.variant visiting functions should pass file, line to VariantException

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16671 Nick Treleaven changed: What|Removed |Added Severity|enhancement |minor --

[Issue 16670] std.variant visiting allows type parameters not held by variant

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16670 Nick Treleaven changed: What|Removed |Added Keywords||pull URL|

Re: Article: Running D without its runtime

2016-11-10 Thread Guillaume Piolat via Digitalmars-d-announce
On Thursday, 10 November 2016 at 11:31:43 UTC, ag0aep6g wrote: On 11/10/2016 12:21 PM, Guillaume Piolat wrote: Thanks. Are you behind a proxy? I've had such reports before. Nope. No proxy. I'll check with Ubuntu + Firefox in about 10 hours

Re: Article: Running D without its runtime

2016-11-10 Thread ag0aep6g via Digitalmars-d-announce
On 11/10/2016 12:21 PM, Guillaume Piolat wrote: Thanks. Are you behind a proxy? I've had such reports before. Nope. No proxy.

Re: Article: Running D without its runtime

2016-11-10 Thread Guillaume Piolat via Digitalmars-d-announce
Thanks for reading! On Thursday, 10 November 2016 at 06:08:22 UTC, thedeemon wrote: This is the schizophrenic part of D, since allocations inside destructors are not allowed by its own runtime and cause immediate stop of the program. But this restriction is only there when called by the GC.

Re: Article: Running D without its runtime

2016-11-10 Thread Guillaume Piolat via Digitalmars-d-announce
On Thursday, 10 November 2016 at 11:20:38 UTC, ag0aep6g wrote: On 11/10/2016 12:11 PM, Guillaume Piolat wrote: On Thursday, 10 November 2016 at 06:52:12 UTC, Olivier Pisano wrote: I cannot read your website on Firefox 45 (no text is displayed). It works on chromium anyway. I develop it on

Re: Article: Running D without its runtime

2016-11-10 Thread ag0aep6g via Digitalmars-d-announce
On 11/10/2016 12:11 PM, Guillaume Piolat wrote: On Thursday, 10 November 2016 at 06:52:12 UTC, Olivier Pisano wrote: I cannot read your website on Firefox 45 (no text is displayed). It works on chromium anyway. I develop it on Firefox. What is your OS? I'm on Ubuntu 16.04 and the text is

Re: Article: Running D without its runtime

2016-11-10 Thread Guillaume Piolat via Digitalmars-d-announce
On Thursday, 10 November 2016 at 10:30:36 UTC, qznc wrote: On Thursday, 10 November 2016 at 00:56:02 UTC, Guillaume Piolat wrote: https://www.auburnsounds.com/blog/2016-11-10_Running-D-without-its-runtime.html "Our products now run with the D language runtime disabled. This post is both a

Re: Article: Running D without its runtime

2016-11-10 Thread Guillaume Piolat via Digitalmars-d-announce
On Thursday, 10 November 2016 at 06:52:12 UTC, Olivier Pisano wrote: I cannot read your website on Firefox 45 (no text is displayed). It works on chromium anyway. I develop it on Firefox. What is your OS?

Re: [OT] web/desktop dying

2016-11-10 Thread Chris via Digitalmars-d
On Wednesday, 9 November 2016 at 16:00:45 UTC, Nick Sabalausky wrote: But it probably will take over anyway, because, let's face it, when the fuck has being complete and utter fucking shit ever stopped a computing tech from becoming a runaway success?: Windows, C++, Java2, Web-as-a-platform,

Re: Article: Running D without its runtime

2016-11-10 Thread qznc via Digitalmars-d-announce
On Thursday, 10 November 2016 at 00:56:02 UTC, Guillaume Piolat wrote: https://www.auburnsounds.com/blog/2016-11-10_Running-D-without-its-runtime.html "Our products now run with the D language runtime disabled. This post is both a post-mortem and tutorial on how to live without the D runtime.

Re: DMD 64-bit Windows

2016-11-10 Thread Rene Zwanenburg via Digitalmars-d
On Thursday, 10 November 2016 at 09:35:00 UTC, Mario Silva wrote: I haven't tried it yet, but I would want to avoid changing the compiler at this point, since we already have all our tooling build around DMD. That is why I'm asking specifically about the state of the 64-bit windows version

How to list aggregate members in order of declaration at compile time?

2016-11-10 Thread Ivan Kazmenko via Digitalmars-d-learn
Hi. I want to somehow list members of a class in the order of their declaration. The immediate goal is to generate a few functions, like the "default" constructor for structs but only with all the fields, or the "reader" function, but I'm interested in the general question as well. I can

Re: [OT] web/desktop dying

2016-11-10 Thread qznc via Digitalmars-d
On Wednesday, 9 November 2016 at 16:00:45 UTC, Nick Sabalausky wrote: On 11/05/2016 02:00 AM, Joakim wrote: Nothing is ever "completely replaced"- somebody somewhere is still using a mainframe or a UNIX workstation- but yes, PCs will basically disappear, just as you never see those old

[Issue 16674] Clarify lifetime of pointer to AA entry

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16674 --- Comment #4 from anonymous4 --- It's pretty obvious it's a clever low-level hack and relies on internal data layout, which is preserved only by const/inout methods. --

[Issue 16147] Provide shiny 404 error pages

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16147 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/dc537e52e541fc69b3e1c6ebc92c67943f4e2ec7 fix Issue 16147 - Provide shiny 404 error pages

[Issue 16147] Provide shiny 404 error pages

2016-11-10 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16147 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: DMD 64-bit Windows

2016-11-10 Thread Mario Silva via Digitalmars-d
On Wednesday, 9 November 2016 at 18:10:52 UTC, Daniel Kozak wrote: On Wednesday, 9 November 2016 at 17:11:28 UTC, Mario Silva wrote: On Wednesday, 9 November 2016 at 17:04:25 UTC, ketmar wrote: On Wednesday, 9 November 2016 at 16:58:30 UTC, Daniel Kozak wrote: i guess that OP meant 64-bit