On Sunday, 13 December 2015 at 03:08:33 UTC, Namal wrote:
On Saturday, 12 December 2015 at 23:50:55 UTC, Xinok wrote:
[...]
I tried this, it compiles, but crashes when I try to run it:
object.Exception@/usr/include/dmd/phobos/std/algorithm/iteration.d(2481):
Enforcement failed
On Sunday, 13 December 2015 at 06:57:21 UTC, Sönke Ludwig wrote:
else if (args.length == 3) input = File(args[1], "rt"), output
= File(args[1], "wt");
Should output not be args[2]?
https://issues.dlang.org/show_bug.cgi?id=15439
Issue ID: 15439
Summary: dmd segfaults using AliasSeq
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: normal
Priority: P1
On 2015-12-12 17:30, Jack Stouffer wrote:
Does anyone who doesn't work on DMD read those?
I do :). But looking at how many replies there are for those post, I
would say it's very few.
--
/Jacob Carlborg
On Saturday, 12 December 2015 at 16:14:34 UTC, JohnCK wrote:
Sure, I congratulate too, but what I've said is that I think
that maybe D lost it's momentum among other languages back
then, in fact I think C++ community was aware of this too, and
then they started doing all this conferences and
On Sunday, 13 December 2015 at 11:02:26 UTC, tchaloupka wrote:
Here u go with some comparison charts (stars from github) ;-)
D - https://plot.ly/~chalucha/4/stars-vs-month/
Rust - https://plot.ly/~chalucha/32/rust-stars/
Crystal - https://plot.ly/~chalucha/41/crystal-stars/
Nim -
On Sunday, 13 December 2015 at 11:18:31 UTC, Robert burner
Schadek wrote:
On Saturday, 12 December 2015 at 22:57:55 UTC, Ola Fosheim
Grøstad wrote:
2. Debug-mode testing of integer overflow.
https://github.com/D-Programming-Language/phobos/pull/3389
I know, but that does not help when one
https://issues.dlang.org/show_bug.cgi?id=15438
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
On Sunday, 13 December 2015 at 05:10:17 UTC, Jack Stouffer wrote:
This is the voting thread to decide if the proposed addition to
Phobos, std.experimental.ndslice, should be accepted.
[...]
Yes
On 12 December 2015 at 16:48, Johan Engelen via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:
> On Saturday, 12 December 2015 at 12:08:50 UTC, Martin Nowak wrote:
>
>> As you might already know from the last sprint review (
>>
https://issues.dlang.org/show_bug.cgi?id=15439
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||ice
CC|
On Sunday, 13 December 2015 at 10:21:17 UTC, Ola Fosheim Grøstad
wrote:
On Saturday, 12 December 2015 at 16:14:34 UTC, JohnCK wrote:
Sure, I congratulate too, but what I've said is that I think
that maybe D lost it's momentum among other languages back
then, in fact I think C++ community was
On Saturday, 12 December 2015 at 22:57:55 UTC, Ola Fosheim
Grøstad wrote:
2. Debug-mode testing of integer overflow.
https://github.com/D-Programming-Language/phobos/pull/3389
https://builds.dawg.eu/dmd-nightly/
Why not https://builds.dlang.org ?
13.12.2015 12:01, lobo пишет:
On Sunday, 13 December 2015 at 05:10:17 UTC, Jack Stouffer wrote:
This is the voting thread to decide if the proposed addition to
Phobos, std.experimental.ndslice, should be accepted.
[...]
Yes
Yes
On 12/13/2015 6:49 PM, Vladimir Panteleev wrote:
On Monday, 14 December 2015 at 01:57:49 UTC, Walter Bright wrote:
To fix it, I suggest a new macro be created, WEBS, that does https:// and then
all the wikipedia links be replaced with WEBS links.
I think we should aim to get rid of the WEB
On Sunday, 13 December 2015 at 11:57:18 UTC, Iain Buclaw wrote:
On 12 December 2015 at 16:48, Johan Engelen via
Digitalmars-d-announce < digitalmars-d-announce@puremagic.com>
wrote:
Are there plans for adding nightlies for GDC and LDC?
More like fortnightlies. :-)
I don't know what the
https://issues.dlang.org/show_bug.cgi?id=15439
Dragos Carp changed:
What|Removed |Added
Status|NEW |RESOLVED
Am 13.12.2015 um 12:35 schrieb Anonymouse:
On Sunday, 13 December 2015 at 06:57:21 UTC, Sönke Ludwig wrote:
else if (args.length == 3) input = File(args[1], "rt"), output =
File(args[1], "wt");
Should output not be args[2]?
Right, thanks ;-)
(Please feel free to ignore this otherwise,
On Sunday, 13 December 2015 at 15:25:11 UTC, Stefan Frijters
wrote:
On Friday, 11 December 2015 at 22:56:15 UTC, Ilya wrote:
On Friday, 11 December 2015 at 19:31:14 UTC, Stefan Frijters
wrote:
[...]
Slice!(N, T*) arr;
[...]
// compute length
// more flexible
On Monday, 7 December 2015 at 07:10:42 UTC, Sönke Ludwig wrote:
I've very likely missed that part of the discussion - what were
the reasons to not use "scope" for this?
Yeah good point, it should be possible to reuse scope as method
attribute. I just used @noescape as a placeholder for the
On Thursday, 10 December 2015 at 15:16:05 UTC, Paulo Pinto wrote:
Both are now getting AOT compilers as part of their standard
toolchains.
I found this video interesting:
https://channel9.msdn.com/Events/ASPNET-Events/ASPNET-Fall-Sessions/Introducing-the-dotnet-CLI
Apparently it will become
On Sunday, 13 December 2015 at 10:22:56 UTC, Suliman wrote:
https://builds.dawg.eu/dmd-nightly/
Why not https://builds.dlang.org ?
Because we're testing the service, once it's reliable, we'll move
this to a dlang subdomain or integrate it with
downloads.dlang.org.
On Sunday, 13 December 2015 at 05:10:17 UTC, Jack Stouffer wrote:
This is the voting thread to decide if the proposed addition to
Phobos, std.experimental.ndslice, should be accepted.
To vote, please respond to this post.
Yes
On Sunday, 13 December 2015 at 05:10:17 UTC, Jack Stouffer wrote:
This is the voting thread to decide if the proposed addition to
Phobos, std.experimental.ndslice, should be accepted.
[...]
Yes.
On Friday, 11 December 2015 at 10:04:22 UTC, Andrea Fontana wrote:
- A heavy template-based image manipulation library (like
antigrain for c++)
There is one, it's called ae.utils.graphics and it's awesome.
It's a tinier version of antigrain, useful core though.
Does the title of this page purposefully not have any space in it?
https://dlang.org/lazy-evaluation.html
If there should be spaces, can an editor do it? Just for a simple
string, I do not want to get into forking etc.
On Sunday, 13 December 2015 at 06:07:15 UTC, Meta wrote:
Is std.experimental also on the table, or directly to phobos?
Not quite sure what you're asking here, but if you're asking if
this is going into stdx first, then the answer is yes. Things
that go into stdx aren't supposed to change
On 13 December 2015 at 12:49, David Nadlinger via Digitalmars-d-announce <
digitalmars-d-announce@puremagic.com> wrote:
> On Sunday, 13 December 2015 at 11:57:18 UTC, Iain Buclaw wrote:
>
>> On 12 December 2015 at 16:48, Johan Engelen via Digitalmars-d-announce <
>>
On Friday, 11 December 2015 at 22:56:15 UTC, Ilya wrote:
On Friday, 11 December 2015 at 19:31:14 UTC, Stefan Frijters
wrote:
[...]
Slice!(N, T*) arr;
[...]
// compute length
// more flexible construtors would be added after
// allocatrs support for ndslice
On Saturday, 12 December 2015 at 20:12:49 UTC, Guillaume Chatelet
wrote:
On Saturday, 12 December 2015 at 02:59:21 UTC, Ilya wrote:
Current version is suitable for arrays but not ranges or types.
Few examples:
1. Compute hash of ulong.
2. Compute hash of all elements in matrix column (element
On Sunday, 13 December 2015 at 03:08:33 UTC, Namal wrote:
This works for me :
import std.stdio, std.algorithm, std.range;
int[] prim_factors(int n, const int[] P) {
int[] v;
P.filter!( x => x*x <= n).each!( (i) {
while (n % i == 0) {
v ~= i;
n /= i;
On Sunday, 13 December 2015 at 12:44:06 UTC, Marc Schütz wrote:
AFAICS this doesn't conform to the digest interface. For
example, there should be a `finish` method that returns the
hash as a static array (see the ExampleDigest [1]).
The structs themselves do not but the alias at the beginning
Hi, I just wanted to naively copy an object and used:
a = myobj.dup;
and get the following error messages:
source/app.d(191): Error: template object.dup cannot deduce function
from argument types !()(BlockV), candidates are:
/Library/D/dmd/src/druntime/import/object.d(1872):
On Sunday, 13 December 2015 at 20:29:47 UTC, Pederator wrote:
Hi. Does anybody who is familair with D consider to make a
comprehensive D programming video tutorial / training / course?
This could be encouraging and helpful for people to start with
D. It could also help in promoting D
On Sunday, 13 December 2015 at 05:10:17 UTC, Jack Stouffer wrote:
This is the voting thread to decide if the proposed addition to
Phobos, std.experimental.ndslice, should be accepted.
[...]
I've played some large part in the various iterations of
reviewing this, so I'm biased, but of
On Friday, 11 December 2015 at 03:55:27 UTC, Andrei Alexandrescu
wrote:
Does anyone know of a plotter that supports logarithmic
integral? Of course better ideas about all of the above are
welcome!
Yes, my go-to for my university plotting needs is SageMath.
Here is the plot of the two
On Sunday, 13 December 2015 at 20:29:47 UTC, Pederator wrote:
Hi. Does anybody who is familair with D consider to make a
comprehensive D programming video tutorial / training / course?
This could be encouraging and helpful for people to start with
D. It could also help in promoting D
On Sunday, 13 December 2015 at 15:59:19 UTC, Ilya Yaroshenko
wrote:
Could you please post reduced code example that caused dmd to
segfault?
Took dustmite about 6 hours to reduce, and then I went at it
manually for a bit, so this is the smallest I could get it:
import
On Sunday, 13 December 2015 at 20:45:56 UTC, cym13 wrote:
On Sunday, 13 December 2015 at 20:29:47 UTC, Pederator wrote:
Hi. Does anybody who is familair with D consider to make a
comprehensive D programming video tutorial / training /
course? This could be encouraging and helpful for people to
interface IA {}
interface IB {}
interface IC {}
interface IAB : IA, IB {}
interface IBC : IB, IC {}
class C : IA, IB, IC {}
// Defining C as : IAB, IBC
// is not really scalable ;)
void main()
{
IAB c = new C(); // This doesn't work.
}
// Any suggestions?
On Sunday, 13 December 2015 at 05:10:17 UTC, Jack Stouffer wrote:
This is the voting thread to decide if the proposed addition to
Phobos, std.experimental.ndslice, should be accepted.
To vote, please respond to this post. You have three options:
Yes
https://issues.dlang.org/show_bug.cgi?id=15440
Issue ID: 15440
Summary: std.uni outputs \u0069\u0307 as the lower case of
\u0130
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
On Sunday, 13 December 2015 at 06:33:55 UTC, Jack wrote:
Hello, so I've been experimenting with the framework and I
tried to implement a game that has more than two windows.
The first window is the main game and the second window is a
smaller one with the various commands you can select.
So
Hi. Does anybody who is familair with D consider to make a
comprehensive D programming video tutorial / training / course?
This could be encouraging and helpful for people to start with D.
It could also help in promoting D programming language. This is a
question for all the community, please
On Sunday, 13 December 2015 at 20:29:47 UTC, Pederator wrote:
Does anybody who is familair with D consider to make a
comprehensive D programming video tutorial / training / course?
I've hired someone out of my own pocket to work on it, with me
there to answer questions and review content for
On Sunday, 13 December 2015 at 18:54:24 UTC, Robert M. Münch
wrote:
Hi, I just wanted to naively copy an object and used:
a = myobj.dup;
and get the following error messages:
source/app.d(191): Error: template object.dup cannot deduce
function from argument types !()(BlockV), candidates are:
Yes
Hope to see a Matrix (multidimensional, if possible) class with
this.
On 12/13/15 2:56 PM, Jimmy Cao wrote:
On Friday, 11 December 2015 at 03:55:27 UTC, Andrei Alexandrescu wrote:
Does anyone know of a plotter that supports logarithmic integral? Of
course better ideas about all of the above are welcome!
Yes, my go-to for my university plotting needs is
On 14/12/15 11:04 AM, Xinok wrote:
On Sunday, 13 December 2015 at 20:29:47 UTC, Pederator wrote:
Hi. Does anybody who is familair with D consider to make a
comprehensive D programming video tutorial / training / course? This
could be encouraging and helpful for people to start with D. It could
On Sunday, 13 December 2015 at 16:24:35 UTC, Guillaume Chatelet
wrote:
On Sunday, 13 December 2015 at 12:44:06 UTC, Marc Schütz wrote:
[...]
The structs themselves do not but the alias at the beginning of
the file make sure they do.
alias MurmurHash3_x86_32 = Digester!SMurmurHash3_x86_32;
On 12/13/2015 02:09 PM, Faux Amis wrote:
interface IA {}
interface IB {}
interface IC {}
interface IAB : IA, IB {}
interface IBC : IB, IC {}
class C : IA, IB, IC {}
// Defining C as : IAB, IBC
// is not really scalable ;)
It is not automatic at least because of implementation details: The
On Friday, 11 December 2015 at 03:55:27 UTC, Andrei Alexandrescu
wrote:
To figure a growth schedule that leads to log(n) work per
element, a differential equation must be solved:
s(n) / s'(n) = log(x)
where s(n) will be the (continuous extension of the) growth
schedule's sum, i.e. s(n) =
On Sunday, 13 December 2015 at 17:07:06 UTC, Jack Stouffer wrote:
On Sunday, 13 December 2015 at 06:07:15 UTC, Meta wrote:
Is std.experimental also on the table, or directly to phobos?
Not quite sure what you're asking here, but if you're asking if
this is going into stdx first, then the
On Sunday, 13 December 2015 at 22:16:35 UTC, Tanel Tagaväli wrote:
Yes
Hope to see a Matrix (multidimensional, if possible) class with
this.
What matrix features are missing in ndslice except matrix
multiplication?
Kindle: http://www.amazon.com/dp/B019AQNQ96
iTunes: https://itunes.apple.com/us/book/id1067597230
Barnes & Noble (nook):
http://www.barnesandnoble.com/w/programming-in-d-ali-ehreli/1123125945;jsessionid=C8E4E8D138CC3B7870D1EC1648D8B1BA.prodny_store01-va07?ean=2940152708011
kobo:
On Sunday, 13 December 2015 at 21:24:36 UTC, Stefan Frijters
wrote:
On Sunday, 13 December 2015 at 15:59:19 UTC, Ilya Yaroshenko
wrote:
Could you please post reduced code example that caused dmd to
segfault?
Took dustmite about 6 hours to reduce, and then I went at it
manually for a bit, so
https://issues.dlang.org/show_bug.cgi?id=15423
--- Comment #2 from Jack Stouffer ---
https://github.com/D-Programming-Language/phobos/pull/3871
--
https://issues.dlang.org/show_bug.cgi?id=15440
ag0ae...@gmail.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
--- Comment #1 from
Dynamic Arrays
Socket[] a;
a ~= new Socket;
a ~= new Socket;
a ~= new Socket;
a.remove(1);
Error: function core.stdc.stdio.remove (const(char*) filename) is
not callable using argument types (Socket[], uint)
why?
On 12/13/2015 07:15 PM, master wrote:
Dynamic Arrays
Socket[] a;
a ~= new Socket;
a ~= new Socket;
a ~= new Socket;
a.remove(1);
Error: function core.stdc.stdio.remove (const(char*) filename) is not
callable using argument types (Socket[], uint)
That message references stdio. It looks like
On Sun, 13 Dec 2015 23:09:47 +0100, Faux Amis wrote:
> interface IA {}
> interface IB {}
> interface IC {}
> interface IAB : IA, IB {} interface IBC : IB, IC {}
>
> class C : IA, IB, IC {}
> // Defining C as : IAB, IBC // is not really scalable ;)
>
> void main()
> {
> IAB c = new C(); //
I just did this PR for the web site:
https://github.com/D-Programming-Language/dlang.org/pull/1166
The next step is to similarly adjust all the wikipedia links in the Phobos
documentation. Most are one of the forms:
$(LINK http://en.wikipedia.org/wiki/Adler-32)
$(LINK2
On Monday, 14 December 2015 at 01:57:49 UTC, Walter Bright wrote:
To fix it, I suggest a new macro be created, WEBS, that does
https:// and then all the wikipedia links be replaced with WEBS
links.
I think we should aim to get rid of the WEB macro, as it adds
little (its only benefit is
On Monday, 14 December 2015 at 03:35:13 UTC, Ali Çehreli wrote:
On 12/13/2015 07:15 PM, master wrote:
Dynamic Arrays
Socket[] a;
a ~= new Socket;
a ~= new Socket;
a ~= new Socket;
a.remove(1);
Error: function core.stdc.stdio.remove (const(char*) filename)
is not
callable using argument
Greetings
I am calling a D function from an opensource application coded in
C/C++. My code crashes, though there is no reason for it to
crash. Also when I call my D function from inside D, it does not
crash. The D function does not take any arguments, nor does it
try to access any variable
This forum is too efficient. :p Already on Reddit:
https://www.reddit.com/r/programming/comments/3wqt3p/programming_in_d_ebook_is_at_major_retailers_and/
Ali
On Sunday, 13 December 2015 at 16:47:00 UTC, tcak wrote:
Does the title of this page purposefully not have any space in
it?
https://dlang.org/lazy-evaluation.html
If there should be spaces, can an editor do it? Just for a
simple string, I do not want to get into forking etc.
I'll fix this,
On Monday, 14 December 2015 at 05:26:52 UTC, Bottled Gin wrote:
Greetings
I am calling a D function from an opensource application coded
in C/C++. My code crashes, though there is no reason for it to
crash. Also when I call my D function from inside D, it does
not crash. The D function does
69 matches
Mail list logo