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
https://issues.dlang.org/show_bug.cgi?id=16676
ZombineDev changed:
What|Removed |Added
CC|
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
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.
https://issues.dlang.org/show_bug.cgi?id=16677
Sprink changed:
What|Removed |Added
CC||sprink.nore...@gmail.com
https://issues.dlang.org/show_bug.cgi?id=16678
Walter Bright changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16679
Brad Roberts changed:
What|Removed |Added
Assignee|nob...@puremagic.com
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 =
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?
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
https://issues.dlang.org/show_bug.cgi?id=16574
Martin Nowak changed:
What|Removed |Added
Assignee|nob...@puremagic.com|c...@dawg.eu
--
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
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
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
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. :)
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.
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
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
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
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:
>
>
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
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
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
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
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
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
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!
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
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
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
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...
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
https://issues.dlang.org/show_bug.cgi?id=16663
--- Comment #3 from Dicebot ---
Introduced via https://github.com/dlang/phobos/pull/4790
--
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
https://issues.dlang.org/show_bug.cgi?id=16663
--- Comment #2 from Dicebot ---
Nevermind, I have found my mistake. Can reproduce indeed.
--
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
https://issues.dlang.org/show_bug.cgi?id=16663
Dicebot changed:
What|Removed |Added
CC||pub...@dicebot.lv
--- Comment
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
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
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.
https://issues.dlang.org/show_bug.cgi?id=16678
--- Comment #2 from Dicebot ---
(discard previous comment, wrong issue)
--
https://issues.dlang.org/show_bug.cgi?id=16667
--- Comment #3 from Dicebot ---
Introduced via https://github.com/dlang/phobos/pull/4583
--
https://issues.dlang.org/show_bug.cgi?id=16678
--- Comment #1 from Dicebot ---
Introduced via https://github.com/dlang/phobos/pull/4583
--
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
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:
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
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
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:
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.
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 =
https://issues.dlang.org/show_bug.cgi?id=16667
--- Comment #1 from Dicebot ---
Confirming regression from 2.071.2
--
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.
https://issues.dlang.org/show_bug.cgi?id=16667
Dicebot changed:
What|Removed |Added
CC||pub...@dicebot.lv
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
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,
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
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
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
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,
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
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
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.
https://issues.dlang.org/show_bug.cgi?id=16672
Nick Treleaven changed:
What|Removed |Added
CC||n...@geany.org
--- Comment
https://issues.dlang.org/show_bug.cgi?id=16671
Nick Treleaven changed:
What|Removed |Added
Severity|enhancement |minor
--
https://issues.dlang.org/show_bug.cgi?id=16670
Nick Treleaven changed:
What|Removed |Added
Keywords||pull
URL|
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
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.
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.
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
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
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
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?
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,
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.
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
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
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
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.
--
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
https://issues.dlang.org/show_bug.cgi?id=16147
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
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
81 matches
Mail list logo