Re: Beta D 2.069.0-b1

2015-10-09 Thread John Colvin via Digitalmars-d-announce
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

Re: Beta D 2.069.0-b1

2015-10-09 Thread Andrea Fontana via Digitalmars-d-announce
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

[Issue 15181] New: SYSCONFDIR is broken

2015-10-09 Thread via Digitalmars-d-bugs
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

[Issue 15181] SYSCONFDIR is broken

2015-10-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15181 John Colvin changed: What|Removed |Added Severity|enhancement |regression

Re: Beta D 2.069.0-b1

2015-10-09 Thread Joakim via Digitalmars-d-announce
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

Re: Categorizing Ranges

2015-10-09 Thread Per Nordlöw via Digitalmars-d
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.

Re: Moving back to .NET

2015-10-09 Thread Chris via Digitalmars-d
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

[Issue 15181] SYSCONFDIR is broken

2015-10-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15181 --- Comment #2 from John Colvin --- https://github.com/D-Programming-Language/dmd/pull/5171 --

[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-09 Thread via Digitalmars-d-bugs
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

Re: Categorizing Ranges

2015-10-09 Thread Per Nordlöw via Digitalmars-d
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,

Re: -> and :: operators

2015-10-09 Thread ixid via Digitalmars-d
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

Re: Threading Questions

2015-10-09 Thread Kagamin via Digitalmars-d-learn
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

Re: -> and :: operators

2015-10-09 Thread Jonathan M Davis via Digitalmars-d
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

Re: -> and :: operators

2015-10-09 Thread Jeremy DeHaan via Digitalmars-d
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

Re: Beta D 2.069.0-b1

2015-10-09 Thread Martin Nowak via Digitalmars-d-announce
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

Re: Beta D 2.069.0-b1

2015-10-09 Thread Adam D. Ruppe via Digitalmars-d-announce
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

Re: Beta D 2.069.0-b1

2015-10-09 Thread Adam D. Ruppe via Digitalmars-d-announce
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

Re: Comparing arrays of floats?

2015-10-09 Thread Meta via Digitalmars-d-learn
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

Re: -> and :: operators

2015-10-09 Thread Jonathan M Davis via Digitalmars-d
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

Re: Beta D 2.069.0-b1

2015-10-09 Thread Jonathan M Davis via Digitalmars-d-announce
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

Re: Marketing for D: Making D an official Cloud Foundry built-in language

2015-10-09 Thread Rikki Cattermole via Digitalmars-d
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

[Issue 15167] [REG2.069-devel] conflicting error with repeated alias declaration

2015-10-09 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15167 Martin Nowak changed: What|Removed |Added Status|NEW |RESOLVED

Re: Beta D 2.069.0-b1

2015-10-09 Thread Martin Nowak via Digitalmars-d-announce
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

Re: Beta D 2.069.0-b1

2015-10-09 Thread Meta via Digitalmars-d-announce
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

Re: Comparing arrays of floats?

2015-10-09 Thread anonymous via Digitalmars-d-learn
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

[Issue 15027] cannot pass arguments of type DirEntry to std.file functions

2015-10-09 Thread via Digitalmars-d-bugs
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. --

Re: Go, D, and the GC

2015-10-09 Thread Shachar Shemesh via Digitalmars-d
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

Re: Go, D, and the GC

2015-10-09 Thread deadalnix via Digitalmars-d
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

Re: Shout out to D at cppcon, when talkign about ranges.

2015-10-09 Thread Kagamin via Digitalmars-d
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

Re: Shout out to D at cppcon, when talkign about ranges.

2015-10-09 Thread Kagamin via Digitalmars-d
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.

Re: D 2015/2016 Vision?

2015-10-09 Thread rsw0x via Digitalmars-d
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

Re: Array of BitArrays definition compiles in DMD but not in GDC.

2015-10-09 Thread John Colvin via Digitalmars-d-learn
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,

Re: how to do iota(0,256) with ubytes ? (cf need for iotaInclusive)

2015-10-09 Thread John Colvin via Digitalmars-d
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),

Re: how to do iota(0,256) with ubytes ? (cf need for iotaInclusive)

2015-10-09 Thread John Colvin via Digitalmars-d
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

[Issue 15180] New: [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-09 Thread via Digitalmars-d-bugs
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:

[Issue 15027] cannot pass arguments of type DirEntry to std.file functions

2015-10-09 Thread via Digitalmars-d-bugs
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 &&

Re: Shout out to D at cppcon, when talkign about ranges.

2015-10-09 Thread Eric Niebler via Digitalmars-d
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

Comparing arrays of floats?

2015-10-09 Thread Straivers via Digitalmars-d-learn
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

Re: D 2015/2016 Vision?

2015-10-09 Thread Jim Hewes via Digitalmars-d
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:

Re: Moving back to .NET

2015-10-09 Thread Dogbreath via Digitalmars-d
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

Re: D 2015/2016 Vision?

2015-10-09 Thread Ola Fosheim Grøstad via Digitalmars-d
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

Re: Beta D 2.069.0-b1

2015-10-09 Thread Ola Fosheim Grøstad via Digitalmars-d-announce
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

Re: -> and :: operators

2015-10-09 Thread deadalnix via Digitalmars-d
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

Re: Moving back to .NET

2015-10-09 Thread Jonathan M Davis via Digitalmars-d
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

Re: Categorizing Ranges

2015-10-09 Thread Mike Parker via Digitalmars-d
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

Re: AWS API Dlang, hmac sha256 function.

2015-10-09 Thread holo via Digitalmars-d-learn
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

Re: Array of BitArrays definition compiles in DMD but not in GDC.

2015-10-09 Thread TheGag96 via Digitalmars-d-learn
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

Re: Categorizing Ranges

2015-10-09 Thread Jonathan M Davis via Digitalmars-d
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

Re: Voting for std.experimental.testing

2015-10-09 Thread Dicebot via Digitalmars-d
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.

Re: Beta D 2.069.0-b1

2015-10-09 Thread Andrea Fontana via Digitalmars-d-announce
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 :)

Re: -> and :: operators

2015-10-09 Thread ixid via Digitalmars-d
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.

lint? for D

2015-10-09 Thread Pradeep Gowda via Digitalmars-d-learn
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.,?

Re: Go, D, and the GC

2015-10-09 Thread Kagamin via Digitalmars-d
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

Re: -> and :: operators

2015-10-09 Thread Ola Fosheim Grøstad via Digitalmars-d
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

Re: -> and :: operators

2015-10-09 Thread Jonathan M Davis via Digitalmars-d
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

Re: Moving back to .NET

2015-10-09 Thread Kagamin via Digitalmars-d
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

Re: Moving back to .NET

2015-10-09 Thread rsw0x via Digitalmars-d
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

Re: Moving back to .NET

2015-10-09 Thread Ola Fosheim Grøstad via Digitalmars-d
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

[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-09 Thread via Digitalmars-d-bugs
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. --

Re: -> and :: operators

2015-10-09 Thread Atila Neves via Digitalmars-d
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

Re: Moving back to .NET

2015-10-09 Thread Kagamin via Digitalmars-d
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

Re: masking of module-level functions with local imports

2015-10-09 Thread Jesse Phillips via Digitalmars-d
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

Re: What keeps you from using gtkd or dlangui

2015-10-09 Thread Jay Norwood via Digitalmars-d
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

Re: AWS API Dlang, hmac sha256 function.

2015-10-09 Thread holo via Digitalmars-d-learn
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

Re: Walter and I talk about D in Romania

2015-10-09 Thread Vladimir Panteleev via Digitalmars-d-announce
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

Re: lint? for D

2015-10-09 Thread Nordlöw via Digitalmars-d-learn
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

Re: Moving back to .NET

2015-10-09 Thread Chris via Digitalmars-d
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

[Issue 15182] New: only(enums) refused

2015-10-09 Thread via Digitalmars-d-bugs
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?

2015-10-09 Thread tim via Digitalmars-d
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

Marketing for D: Making D an official Cloud Foundry built-in language

2015-10-09 Thread Andre via Digitalmars-d
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,

Re: -> and :: operators

2015-10-09 Thread Freddy via Digitalmars-d
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

[Issue 15078] GC documentation should reflect 2.067 changes

2015-10-09 Thread via Digitalmars-d-bugs
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

Re: Marketing for D: Making D an official Cloud Foundry built-in language

2015-10-09 Thread Jacob Carlborg via Digitalmars-d
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:

Re: Bug? 0 is less than -10

2015-10-09 Thread Ozan via Digitalmars-d-learn
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

[Issue 15183] New: Unexpected OPTLINK Termination at EIP=00425CF0

2015-10-09 Thread via Digitalmars-d-bugs
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

[Issue 15183] Unexpected OPTLINK Termination at EIP=00425CF0

2015-10-09 Thread via Digitalmars-d-bugs
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 --

Re: -> and :: operators

2015-10-09 Thread Jeremy DeHaan via Digitalmars-d
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

Re: -> and :: operators

2015-10-09 Thread Dmitry Olshansky via Digitalmars-d
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

[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-09 Thread via Digitalmars-d-bugs
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

Re: Marketing for D: Making D an official Cloud Foundry built-in language

2015-10-09 Thread Johannes Pfau via Digitalmars-d
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

[Issue 15180] [REG2.069.0-b1] Segfault with empty struct used as UDA

2015-10-09 Thread via Digitalmars-d-bugs
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. >

Re: Beta D 2.069.0-b1

2015-10-09 Thread extrawurst via Digitalmars-d-announce
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

Re: -> and :: operators

2015-10-09 Thread Ali Çehreli via Digitalmars-d
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