On Thursday, 8 October 2015 at 12:32:59 UTC, John Colvin wrote:
On Wednesday, 7 October 2015 at 22:33:09 UTC, Martin Nowak
wrote:
First beta for the 2.069.0 release.
http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.069.0.html
Please report any bugs at
On Thursday, 8 October 2015 at 15:04:08 UTC, David Nadlinger
wrote:
On Thursday, 8 October 2015 at 15:01:31 UTC, Martin Nowak wrote:
On Thursday, 8 October 2015 at 12:20:23 UTC, Andrea Fontana
wrote:
Are dmd 2.069b1 binaries compiled with dmd 2.069b1 or with
dmd 2.068.2?
The last released
https://issues.dlang.org/show_bug.cgi?id=15181
Issue ID: 15181
Summary: SYSCONFDIR is broken
Product: D
Version: D2
Hardware: All
OS: Mac OS X
Status: NEW
Severity: enhancement
Priority: P1
https://issues.dlang.org/show_bug.cgi?id=15181
John Colvin changed:
What|Removed |Added
Severity|enhancement |regression
On Wednesday, 7 October 2015 at 22:33:09 UTC, Martin Nowak wrote:
First beta for the 2.069.0 release.
http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.069.0.html
Please report any bugs at https://issues.dlang.org
-Martin
I just noticed that you added the beta to the
On Friday, 9 October 2015 at 10:01:47 UTC, Per Nordlöw wrote:
I've Googled a bit on this topic, say:
"algorithm visualization"
"Software Visualization" seems to be the correct research term.
On Thursday, 8 October 2015 at 18:29:00 UTC, Laeeth Isharc wrote:
It'd be nice to have asm.js or even JS.
Look at Adam Ruppe's D to JavaScript compiler. It hasn't been
maintained, but it was a very interesting experiment.
I wish there were more interest in having LDC generate JS via
https://issues.dlang.org/show_bug.cgi?id=15181
--- Comment #2 from John Colvin ---
https://github.com/D-Programming-Language/dmd/pull/5171
--
https://issues.dlang.org/show_bug.cgi?id=15180
--- Comment #1 from Kenji Hara ---
Created attachment 1556
--> https://issues.dlang.org/attachment.cgi?id=1556=edit
Test patch
I cannot test the code in OSX, but I found some trivial bugs in src/objc.d.
@Jacob can you test
On Wednesday, 7 October 2015 at 15:06:55 UTC, Mike Parker wrote:
I'm looking for ideas on how to label the ranges returned from
take and drop. Some examples of what I think are appropriate
categories for other types of ranges:
Generative - iota, recurrence, sequence
Compositional - chain,
On Friday, 9 October 2015 at 03:41:42 UTC, Walter Bright wrote:
These, of course, are C++ operators that are replace with the .
operator in D. But when I translate C++ code to D, sometimes
these operators get left behind, and sometimes I simply
reflexively type them into D code.
The error
On Friday, 9 October 2015 at 04:04:42 UTC, bitwise wrote:
Ah, I see. I thought you meant illegal meant it won't compile.
Wouldn't it be more correct to say that it's undefined
behaviour?
I's probably not as undefined as in C case, i.e. it doesn't break
safety guarantees, only the
On Friday, 9 October 2015 at 10:03:18 UTC, ixid wrote:
Too late to change but wouldn't it be better to have one
operator for members and another for UFCS? '->' would be good
for UFCS.
That would defeat the purpose of _Uniform_ Function Call Syntax.
The whole point is that it uses the same
On Friday, 9 October 2015 at 21:21:10 UTC, deadalnix wrote:
On Friday, 9 October 2015 at 19:54:19 UTC, Jeremy DeHaan wrote:
On Friday, 9 October 2015 at 18:44:50 UTC, Freddy wrote:
On Friday, 9 October 2015 at 04:15:42 UTC, Ali Çehreli wrote:
[...]
Stole from D? You mean java right?
Java
On Saturday, 10 October 2015 at 01:27:09 UTC, Jonathan M Davis
wrote:
Regardless, what we pretty much need to do with @property at
some point is make is that it's used to make it so that a
single pair of parens operate on the return value rather than
the function even if we don't do anything
On Saturday, 10 October 2015 at 01:52:36 UTC, Martin Nowak wrote:
What would you use that for, a handwritten interface struct
with function pointers made read-only using @property?
var a = var.emptyObject; // works today
a.prop = { do_stuff; }; // works today
a.prop(); // useless no op
On Saturday, 10 October 2015 at 02:31:51 UTC, Martin Nowak wrote:
nothing to warrant the invasive language feature @property is.
There's no reason for @property to be invasive. ALL it needs to
do is handle that one case, it shouldn't even be used anywhere
else. Everything else is trivial or
On Friday, 9 October 2015 at 22:14:09 UTC, Straivers wrote:
Forgive me if this has already been discussed, but how are
arrays of floating point numbers compared in D? i.e. Is it a
bit-by-bit comparison, is the std.math.approxEqual function get
called for each element, or is it byte-by-byte
On Friday, 9 October 2015 at 23:57:28 UTC, Jeremy DeHaan wrote:
On Friday, 9 October 2015 at 21:21:10 UTC, deadalnix wrote:
On Friday, 9 October 2015 at 19:54:19 UTC, Jeremy DeHaan wrote:
On Friday, 9 October 2015 at 18:44:50 UTC, Freddy wrote:
On Friday, 9 October 2015 at 04:15:42 UTC, Ali
On Thursday, October 08, 2015 15:00:15 Martin Nowak via Digitalmars-d-announce
wrote:
> On Thursday, 8 October 2015 at 12:48:48 UTC, Adam D. Ruppe wrote:
> > On Thursday, 8 October 2015 at 04:14:59 UTC, extrawurst wrote:
> >> Does that mean @property has no effect anymore ?
> >
> > @property
On 10/10/15 7:26 AM, Andre wrote:
I want to share my experiences with making marketing for D.
At the company I am working for, Cloud and Cloud Foundry is a big thing.
At the office github there are several coding examples how to
develop applications for the languages Cloud Foundry supports
out
https://issues.dlang.org/show_bug.cgi?id=15167
Martin Nowak changed:
What|Removed |Added
Status|NEW |RESOLVED
On Saturday, 10 October 2015 at 02:15:14 UTC, Adam D. Ruppe wrote:
On Saturday, 10 October 2015 at 01:52:36 UTC, Martin Nowak
wrote:
What would you use that for, a handwritten interface struct
with function pointers made read-only using @property?
var a = var.emptyObject; // works today
On Saturday, 10 October 2015 at 02:31:51 UTC, Martin Nowak wrote:
That's what I meant, weird use-case, at best it's a callback
better/setter.
I've never written such code, but even if you would, the 2
pairs of parens are only a tiny problem for generic code,
nothing to warrant the invasive
On Saturday 10 October 2015 00:14, Straivers wrote:
> Is it a bit-by-bit comparison,
no
> is the std.math.approxEqual function get called for
> each element,
no
> or is it byte-by-byte across the entire array?
no
After comparing the lengths, the elements are checked for equality one by
https://issues.dlang.org/show_bug.cgi?id=15027
--- Comment #17 from Rainer Schuetze ---
>auto isDir(Range)(ref Range input)
"auto ref" seems to work even better.
--
On 08/10/15 18:58, Marco Leise wrote:
Am Mon, 05 Oct 2015 13:42:50 +
schrieb Adam D. Ruppe :
On Monday, 5 October 2015 at 07:40:35 UTC, deadalnix wrote:
Not on the heap. There are many cases where the destructor
won't run and it is allowed by spec. We should do
On Friday, 9 October 2015 at 07:39:06 UTC, Shachar Shemesh wrote:
On 08/10/15 18:58, Marco Leise wrote:
Am Mon, 05 Oct 2015 13:42:50 +
schrieb Adam D. Ruppe :
On Monday, 5 October 2015 at 07:40:35 UTC, deadalnix wrote:
Not on the heap. There are many cases
On Thursday, 8 October 2015 at 22:57:01 UTC, Timon Gehr wrote:
Isn't this the same as my suggestion?
http://forum.dlang.org/post/mv3q34$bbg$1...@digitalmars.com
If not, what is the difference?
Your range is undoable. The difference I see is that you use full
(should be frontFull) and
Also imagine you want to write an algorithm that iterates
backwards, you must choose which set of primitives to use:
back+empty+popBack or front+frontUndoEmpty+undoPopFront, and an
undoable bidirectional range will support both.
On Friday, 9 October 2015 at 05:21:13 UTC, Andrei Alexandrescu
wrote:
On 10/9/15 4:47 AM, bitwise wrote:
On Thursday, 8 October 2015 at 17:21:52 UTC, Andrei
Alexandrescu wrote:
On 10/8/15 5:59 PM, bitwise wrote:
With DIP74, the ref counting is hard coded into the type
itself.
I think that
On Thursday, 8 October 2015 at 21:40:02 UTC, TheGag96 wrote:
In my code I'm passing an array of BitArrays to a constructor
like this (though mostly as a placeholder):
Terrain t = new Terrain(1, 15, [
BitArray([1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]),
BitArray([1, 1, 1, 1, 1, 0, 1, 1,
On Friday, 9 October 2015 at 07:20:43 UTC, John Colvin wrote:
On Friday, 9 October 2015 at 02:41:50 UTC, Timothee Cour wrote:
how to do iota(0,256) with ubytes ?
and more generally:
iota with 'end' parameter set to max range of a type.
of course this doesn't work:
auto b=iota(ubyte(0),
On Friday, 9 October 2015 at 02:41:50 UTC, Timothee Cour wrote:
how to do iota(0,256) with ubytes ?
and more generally:
iota with 'end' parameter set to max range of a type.
of course this doesn't work:
auto b=iota(ubyte(0), ubyte(256));
//cannot implicitly convert expression (256) of type int
https://issues.dlang.org/show_bug.cgi?id=15180
Issue ID: 15180
Summary: [REG2.069.0-b1] Segfault with empty struct used as UDA
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
Status: NEW
Severity:
https://issues.dlang.org/show_bug.cgi?id=15027
--- Comment #16 from Rainer Schuetze ---
Here is a version that overloads structs with alias this to a string range by
reference, avoiding the copy problem:
auto isDir(Range)(Range input)
if (isForwardRange!Range &&
On Wednesday, 7 October 2015 at 14:59:28 UTC, Trass3r wrote:
On Tuesday, 6 October 2015 at 22:39:01 UTC, Ulrich Küttler
wrote:
Yes, this is an explanation. Thanks. So the argument being C++
customs. Now that you mention it, this seems to be the
argument in Eric's D4128 paper, too.
I was
Forgive me if this has already been discussed, but how are arrays
of floating point numbers compared in D? i.e. Is it a bit-by-bit
comparison, is the std.math.approxEqual function get called for
each element, or is it byte-by-byte across the entire array?
-Straivers
On 10/8/2015 11:56 AM, Ola Fosheim Grøstad wrote:
On Thursday, 8 October 2015 at 18:19:51 UTC, Jim Hewes wrote:
Yes, there are libraries, but for it to be pleasant I think language
support is needed. I've linked to this video before, but it is quite
entertaining if you haven't seen it yet:
On Friday, 25 September 2015 at 08:59:17 UTC, Jonathan M Davis
wrote:
On Friday, 25 September 2015 at 08:53:41 UTC, John Colvin wrote:
On Friday, 25 September 2015 at 07:26:13 UTC, rumbu wrote:
Starting Visual Studio on my machine takes 2 seconds,
What magic are you doing to achieve this? It
On Friday, 9 October 2015 at 20:16:42 UTC, Jim Hewes wrote:
Yeah, I watched that after I saw your other post with the link.
Thanks. One early question that I have (that someone else also
asked in a comment below the video) is about design and the
granularity of actors. What sorts of things do
On Saturday, 10 October 2015 at 01:52:36 UTC, Martin Nowak wrote:
To me the whole property discussion looks like one of those
endless debates about an insignificant detail.
Scala and Ruby seem to do well with sloppy parens.
Strict typing and explicitness has a real effect on code
legibility
On Friday, 9 October 2015 at 19:54:19 UTC, Jeremy DeHaan wrote:
On Friday, 9 October 2015 at 18:44:50 UTC, Freddy wrote:
On Friday, 9 October 2015 at 04:15:42 UTC, Ali Çehreli wrote:
Semi-relatedly, a colleague who has heard many D sales
pitches from me over the years is recently "looking at
On Friday, 9 October 2015 at 21:17:16 UTC, Dogbreath wrote:
On Friday, 25 September 2015 at 08:59:17 UTC, Jonathan M Davis
wrote:
On Friday, 25 September 2015 at 08:53:41 UTC, John Colvin
wrote:
On Friday, 25 September 2015 at 07:26:13 UTC, rumbu wrote:
Starting Visual Studio on my machine
On Friday, 9 October 2015 at 10:01:47 UTC, Per Nordlöw wrote:
I'm guessing you're thinking about categorizing the list at
http://dlang.org/phobos/std_range.html
, right? ;)
That would, IMHO, be a nice usability/discoverability
improvement, especially for new users!
:)
This is for the
OK i find out error, in addRequestHeader i was using ":" after
header name what casing problem. I removed it and now im getting
"unauthorized". Here is how it looks right now:
HTTP/1.1 401 Unauthorized\r\n
[Expert Info (Chat/Sequence): HTTP/1.1 401
Unauthorized\r\n]
Request
On Friday, 9 October 2015 at 07:08:15 UTC, John Colvin wrote:
On Thursday, 8 October 2015 at 21:40:02 UTC, TheGag96 wrote:
[...]
gdc is a bit out of date at the moment. If you do something
like this:
auto bitArray(bool[] ba) pure nothrow
{
BitArray tmp;
tmp.init(ba);
return
On Friday, 9 October 2015 at 16:08:58 UTC, Mike Parker wrote:
This is for the "Learning D" book I'm currently doing revisions
on. In the chapter on std.range and std.algorithm, there was an
imbalance with the latter being neatly categorized into the
different modules. It looked odd having the
No.
As I explained before I don't like proposed API and prefer to
wait until language enables cleaner implementation as opposed to
making this standard.
On Friday, 9 October 2015 at 09:32:05 UTC, Joakim wrote:
downloads much? Maybe you should add a warning there, for
those who may not know the meaning of a beta.
If you're a coder you know what it means.
If you just started with programming probably it doesn't make any
difference :)
On Friday, 9 October 2015 at 10:15:42 UTC, Jonathan M Davis wrote:
That would defeat the purpose of _Uniform_ Function Call
Syntax...
For some reason I'd thought it didn't work when you mixed member
function calls with function calls but it seems to do so smoothly.
Is there a lint program for D, similar to say pep8 + pyflakes for
python that can warn the programmer about unused imports, unused
variables etc.,?
On Friday, 9 October 2015 at 07:54:43 UTC, deadalnix wrote:
It is also very useful as a safety net. When the object is
released, if it still hold handle to scarce resource, it make
sense to log and release it, or something similar. That is
surely better than running out of the resource and
On Friday, 9 October 2015 at 04:15:42 UTC, Ali Çehreli wrote:
Go feature where you just type a dot after a pointer and the
language is so great that it works! You don't need to type
(*p).member. Isn't Go awesome!
I responded "yep, it's a great feature and those gostards will
never admit that
On Friday, 9 October 2015 at 10:42:03 UTC, ixid wrote:
On Friday, 9 October 2015 at 10:15:42 UTC, Jonathan M Davis
wrote:
That would defeat the purpose of _Uniform_ Function Call
Syntax...
For some reason I'd thought it didn't work when you mixed
member function calls with function calls but
On Thursday, 8 October 2015 at 16:47:44 UTC, Ola Fosheim Grøstad
wrote:
On Thursday, 8 October 2015 at 16:28:45 UTC, Kagamin wrote:
What D lacks in comparison to C w.r.t. to writing an engine?
C is not really a comparable option language wise, C has not
changed a lot since the 70s. But if
On Friday, 9 October 2015 at 12:05:13 UTC, Ola Fosheim Grøstad
wrote:
C++ is under pressure from Rust, Go and perhaps also D. Mostly
because it takes years (or decades) to get new features into
C++, so they have to start working on new features early. I am
not even sure we would have seen the
On Friday, 9 October 2015 at 10:13:07 UTC, Chris wrote:
such as Go and Rust. I remember the VM fashion a couple of
years back (mainly Java and C#), but still languages that
compile to native code kept coming up and now everyone goes
native, including the VM supporters. Why? Cos it didn't work
https://issues.dlang.org/show_bug.cgi?id=15180
--- Comment #2 from Jacob Carlborg ---
(In reply to Kenji Hara from comment #1)
> @Jacob can you test my patch in your local?
Yes, I'll give it a try.
--
On Friday, 9 October 2015 at 12:19:55 UTC, Ola Fosheim Grøstad
wrote:
On Friday, 9 October 2015 at 04:15:42 UTC, Ali Çehreli wrote:
Go feature where you just type a dot after a pointer and the
language is so great that it works! You don't need to type
(*p).member. Isn't Go awesome!
I
On Thursday, 8 October 2015 at 16:43:12 UTC, Ola Fosheim Grøstad
wrote:
Pointers are of little use for a type that is always reference
type.
You can have many different types of references.
You can have class references in D.
Make them not compile? @nogc does exactly that.
No, make the
On Friday, 9 October 2015 at 03:52:10 UTC, Steven Schveighoffer
wrote:
I have to say, this doesn't seem right. What I want when I
import inside a local scope is to treat all code in that scope
as if I *had* imported that module at module level.
I realize changing this would mean that existing
On Monday, 5 October 2015 at 16:35:39 UTC, Russel Winder wrote:
As far as I am aware SWT is only used in Eclipse.
Eclipse can be used to create light-weight RCP apps which include
SWT.
For example, at work we've used swt-xy-graph in some light-weight
apps. There is also a light-weight
I correct typo (thats whats happening when you trying to solve
problem after night at 6:00 AM ).But still have same error. When
use curl with same generated creditentials im getting "400". What
is strange when im using same generated headers and signature
with command line curl im getting
On Monday, 5 October 2015 at 14:10:43 UTC, Vladimir Panteleev
wrote:
On Friday, 2 October 2015 at 11:25:44 UTC, Andrei Alexandrescu
wrote:
Walter and I will travel to Brasov, Romania to hold an
evening-long event on the D language. There's been strong
interest in the event with over 300
On Friday, 9 October 2015 at 12:28:50 UTC, Pradeep Gowda wrote:
Is there a lint program for D, similar to say pep8 + pyflakes
for python that can warn the programmer about unused imports,
unused variables etc.,?
https://github.com/Hackerpilot/Dscanner
dscanner --syntaxCheck
or
dscanner
On Friday, 9 October 2015 at 12:06:40 UTC, rsw0x wrote:
On Friday, 9 October 2015 at 12:05:13 UTC, Ola Fosheim Grøstad
wrote:
C++ is under pressure from Rust, Go and perhaps also D. Mostly
because it takes years (or decades) to get new features into
C++, so they have to start working on new
https://issues.dlang.org/show_bug.cgi?id=15182
Issue ID: 15182
Summary: only(enums) refused
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: normal
Priority: P1
Would a DSpin or DLab for Fedora make sense?
i.e. a Linux build with most of the D stuff preinstalled.
What is Fedora Labs?
Fedora Labs is a selection of curated bundles of purpose-driven
software and content as curated and maintained by members of the
Fedora Community. These may be installed
I want to share my experiences with making marketing for D.
At the company I am working for, Cloud and Cloud Foundry is a big
thing.
At the office github there are several coding examples how to
develop applications for the languages Cloud Foundry supports
out of box: Java, Node.js, Ruby, Go,
On Friday, 9 October 2015 at 04:15:42 UTC, Ali Çehreli wrote:
Semi-relatedly, a colleague who has heard many D sales pitches
from me over the years is recently "looking at Go" and liking
it very much. He came to me today telling me about this awesome
Go feature where you just type a dot after
https://issues.dlang.org/show_bug.cgi?id=15078
--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dlang.org
https://github.com/D-Programming-Language/dlang.org/commit/385a47f06568308a016c5857eb300a0638348714
fix issue 15078
On 2015-10-09 20:26, Andre wrote:
2. Stable link to last released dmd
Is there an archive link, always pointing to the last released dmd archive?
Instead of always adapting the buildpack, a stable link to the recent
dmd archive
would be a great benefit
Yes, for DMD:
On Thursday, 8 October 2015 at 09:01:32 UTC, Dominikus Dittes
Scherkl wrote:
On Wednesday, 7 October 2015 at 16:25:02 UTC, Marc Schütz wrote:
Lionello Lunesu posted a PR that should fix this:
https://github.com/D-Programming-Language/dmd/pull/1913
See also the discussion in the linked bug
https://issues.dlang.org/show_bug.cgi?id=15183
Issue ID: 15183
Summary: Unexpected OPTLINK Termination at EIP=00425CF0
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Severity: enhancement
https://issues.dlang.org/show_bug.cgi?id=15183
--- Comment #1 from Felix Hufnagel ---
Created attachment 1557
--> https://issues.dlang.org/attachment.cgi?id=1557=edit
code
code attached
--
On Friday, 9 October 2015 at 18:44:50 UTC, Freddy wrote:
On Friday, 9 October 2015 at 04:15:42 UTC, Ali Çehreli wrote:
Semi-relatedly, a colleague who has heard many D sales pitches
from me over the years is recently "looking at Go" and liking
it very much. He came to me today telling me about
On 09-Oct-2015 21:44, Freddy wrote:
On Friday, 9 October 2015 at 04:15:42 UTC, Ali Çehreli wrote:
Semi-relatedly, a colleague who has heard many D sales pitches from me
over the years is recently "looking at Go" and liking it very much. He
came to me today telling me about this awesome Go
https://issues.dlang.org/show_bug.cgi?id=15180
--- Comment #3 from Jacob Carlborg ---
It fixes the problem but causes an other regression, it fails to call
Objective-C methods. There seems to be some other problem with the Objective-C
support as well. It doesn't output the
Am Fri, 9 Oct 2015 20:56:28 +0200
schrieb Jacob Carlborg :
> For GDC: http://ftp.digitalmars.com/LATEST_GDC
The new location is here: ftp://ftp.gdcproject.org/LATEST
https://issues.dlang.org/show_bug.cgi?id=15180
--- Comment #4 from Jacob Carlborg ---
(In reply to Jacob Carlborg from comment #3)
> There seems to be some other problem with the
> Objective-C support as well. It doesn't output the Objective-C special
> symbols in the object file.
>
On Thursday, 8 October 2015 at 07:25:36 UTC, Andrea Fontana wrote:
On Thursday, 8 October 2015 at 04:14:59 UTC, extrawurst wrote:
On Wednesday, 7 October 2015 at 22:33:09 UTC, Martin Nowak
wrote:
[...]
`The -property switch has been deprecated.` Does that mean
@property has no effect
On 10/09/2015 05:19 AM, Ola Fosheim Grøstad wrote:
> On Friday, 9 October 2015 at 04:15:42 UTC, Ali Çehreli wrote:
>> Go feature where you just type a dot after a pointer and the language
>> is so great that it works! You don't need to type (*p).member. Isn't
>> Go awesome!
>>
>> I responded
83 matches
Mail list logo