Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread Nick Sabalausky via Digitalmars-d
On 07/21/2015 09:17 AM, Andrei Alexandrescu wrote: At the first D meetup in the Silicon Valley, Vic (an accomplished entrepreneur who has been following up D'd path) discussed some ideas for improving D's adoption. He mentioned some other languages have improved adoption by means of a strong

Re: GLU in DerelictOrg

2015-07-21 Thread Spacen Jasset via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 15:17:13 UTC, Alex Parrill wrote: On Tuesday, 21 July 2015 at 14:51:47 UTC, John Colvin wrote: Isn't glu considered legacy these days? I think it's entirely OpenGL 2.x. For the maths stuff see http://code.dlang.org/packages/gl3n Yep. It still uses immediate mode,

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread ponce via Digitalmars-d
On Tuesday, 21 July 2015 at 08:46:49 UTC, John Colvin wrote: On Monday, 20 July 2015 at 23:18:34 UTC, Andrei Alexandrescu wrote: On 7/20/15 5:30 PM, Martin Nowak wrote: On Thursday, 16 July 2015 at 08:28:08 UTC, Suliman wrote: In what version of DMD do you plan to include dub and vibe? It

Re: GLU in DerelictOrg

2015-07-21 Thread Alex Parrill via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 14:51:47 UTC, John Colvin wrote: Isn't glu considered legacy these days? I think it's entirely OpenGL 2.x. For the maths stuff see http://code.dlang.org/packages/gl3n Yep. It still uses immediate mode, GL matrix functions, and all sorts of other stuff removed in

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Zoadian via Digitalmars-d
On Tuesday, 21 July 2015 at 06:49:10 UTC, deadalnix wrote: Some of the proposals do not even make any sense. Come on, all people that got into this know how newcomer react to the Tuple name noticed the same reaction. Yet, there is a large crow of idiots (sorry if you are in that crowd, on that

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread wobbles via Digitalmars-d
On Tuesday, 21 July 2015 at 14:59:21 UTC, notna wrote: [...snip...] - make D2 easy2use for not C++/Java/whatever gurus again - all this different types, which are either required as an input for functions or are returned from those and need to be casted/converted all the time... frustrating

Re: C bindings: typedef struct conflicts with method

2015-07-21 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-07-21 14:24, yawniek wrote: done, https://github.com/jacob-carlborg/dstep/issues/40 i was under the impression that there is already a ticked as https://github.com/jacob-carlborg/dstep/issues/8 looks very similar (but was closed). Yeah, looks very similar. Issue 8 i still open and has

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread Jacob Carlborg via Digitalmars-d
On 2015-07-21 15:34, Steven Schveighoffer wrote: Rails is not shipped with ruby. You have to install it separately. In fact, vibe.d follows almost the same model as rails (I may be sketchy on the details, still learning ruby/rails), with gem substituting for dub. I think what we need is dub to

[Issue 14818] Unhelpful does not match template overload set error

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14818 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread Nick Sabalausky via Digitalmars-d
On 07/20/2015 05:02 PM, Andrei Alexandrescu wrote: I, too, think we devote too much attention to the picayune. There's a lot of interesting stuff in Walter's post, yet most discussion focused on a side remark. -- Andrei We worry too much about that. I don't mind bikeshedding so much as

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread Andrei Alexandrescu via Digitalmars-d
On 7/21/15 12:22 PM, Jacob Carlborg wrote: How about we start with bundling Dub and see what happens? Then at a later point we can discuss what to do about vibe.d. Yah, nice. -- Andrei

Re: Initial feedback for std.experimental.image

2015-07-21 Thread Rikki Cattermole via Digitalmars-d
On 22/07/2015 4:01 a.m., ponce wrote: On Friday, 10 July 2015 at 05:27:21 UTC, rikki cattermole wrote: What we need is a unsigned integer type **of word size** Sorry for being picky there. At least in x86, machine word size aka 64-bit integers in 64-bit are generally not faster. - first,

Re: GLU in DerelictOrg

2015-07-21 Thread John Colvin via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 12:26:30 UTC, Spacen Jasset wrote: It seems that Derelict3 contains GLUT whereas derelict2 containss GLU. It appears I need GLU but I am somewhat confused as to what the diffrence is. Whoops, yes you are right, my mistake. Isn't glu considered legacy these days?

Code Coverage Analysis, how do I skip (ignore) a line?

2015-07-21 Thread antropod via Digitalmars-d-learn
I want my coverage analysis to be 100%, how do I skip lines like assert(0); from being counted?

Re: Inout unclearness

2015-07-21 Thread Max Klimov via Digitalmars-d
On Tuesday, 21 July 2015 at 12:53:37 UTC, Steven Schveighoffer wrote: Again, it has nothing to do with code generation, it has to do with type conversion. The compiler doesn't know how to convert Rebindable!(inout(T)) to something that can be returned from an inout function. We haven't figured

[Issue 14765] [Reg2.068.0] Rangified functions no longer accept types that implicitly cast to string

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14765 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

Passing struct and struct[] into a template

2015-07-21 Thread Taylor Gronka via Digitalmars-d-learn
Hi, I have a template function, and I want it to do something if the input variable is a list of structs, and something else if the input is a struct. 1) What's the best way to test this? I suppose I can call __traits(identifier, results) and look at the last two characters. 2) If `T` is a

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Timon Gehr via Digitalmars-d
On 07/22/2015 12:53 AM, deadalnix wrote: On Tuesday, 21 July 2015 at 21:26:24 UTC, Daniel N wrote: On Tuesday, 21 July 2015 at 16:54:54 UTC, H. S. Teoh wrote: Because, among other things, it auto-expands. T 1) .tupleof auto-expands and changing it at this point would cause epic

[Issue 14817] copy(foo, bar) std.algorithm/std.file conflict

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14817 --- Comment #2 from Vladimir Panteleev thecybersha...@gmail.com --- As I understand template constraints allow excluding functions from overload resolution if the constraints do not pass. --

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread notna via Digitalmars-d
If we want to accelerate D2 adoption, we need too: - have more and better WORKING examples. More or less, a workable copy-paste approach for (almost) every module and function... - make D2 easy2use for not C++/Java/whatever gurus again - all this different types, which are either required as

[Issue 14818] New: Unhelpful does not match template overload set error

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14818 Issue ID: 14818 Summary: Unhelpful does not match template overload set error Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: diagnostic

Re: Initial feedback for std.experimental.image

2015-07-21 Thread ponce via Digitalmars-d
On Friday, 10 July 2015 at 05:27:21 UTC, rikki cattermole wrote: What we need is a unsigned integer type **of word size** Sorry for being picky there. At least in x86, machine word size aka 64-bit integers in 64-bit are generally not faster. - first, all operations are operating on 32-bit

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread Jacob Carlborg via Digitalmars-d
On 2015-07-21 15:17, Andrei Alexandrescu wrote: So I keep an eye on radical new things we could try - things we have not done before, and that have worked for others. Some might just not work, but we don't know if we don't just try. It sounds like you want to give it a try and see what

[Issue 10730] ByLine description ditto

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10730 --- Comment #6 from hst...@quickfur.ath.cx --- Verified it's now gone. Weird. Probably a transient regression that got fixed shortly afterwards? --

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread H. S. Teoh via Digitalmars-d
On Tue, Jul 21, 2015 at 04:06:11PM +, Zoadian via Digitalmars-d wrote: On Tuesday, 21 July 2015 at 06:49:10 UTC, deadalnix wrote: Some of the proposals do not even make any sense. Come on, all people that got into this know how newcomer react to the Tuple name noticed the same reaction.

[Issue 14724] std.getopt: config.required breaks --help

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14724 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread H. S. Teoh via Digitalmars-d
On Tue, Jul 21, 2015 at 05:55:41PM +, Zoadian via Digitalmars-d wrote: On Tuesday, 21 July 2015 at 16:54:54 UTC, H. S. Teoh wrote: On Tue, Jul 21, 2015 at 04:06:11PM +, Zoadian via Digitalmars-d wrote: [...] i get that TypeTuple is confusing as it is not _limited_ to types, but why is

Re: Case study on ranges and lazy evaluation

2015-07-21 Thread Matt Kline via Digitalmars-d-announce
On Tuesday, 21 July 2015 at 14:34:25 UTC, Kagamin wrote: You assign off_t to size_t, won't compile on 32-bit system. You're safe to use simple `long` for file sizes and offsets. Nice catch! I'll clean that up after work.

Re: How do i sanitize a string for database query?

2015-07-21 Thread Adam D. Ruppe via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 17:23:30 UTC, ddos wrote: How do i sanitize a string for database query? You generally shouldn't even try, instead use the database functions that bind parameters to the procedure. Is there some builtin function? It is different for each database target.

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Zoadian via Digitalmars-d
On Tuesday, 21 July 2015 at 16:54:54 UTC, H. S. Teoh wrote: On Tue, Jul 21, 2015 at 04:06:11PM +, Zoadian via Digitalmars-d wrote: On Tuesday, 21 July 2015 at 06:49:10 UTC, deadalnix wrote: Some of the proposals do not even make any sense. Come on, all people that got into this know how

How do i sanitize a string for database query?

2015-07-21 Thread ddos via Digitalmars-d-learn
How do i sanitize a string for database query? Is there some builtin function? thx :)

Need help with PR#3296

2015-07-21 Thread H. S. Teoh via Digitalmars-d
Apparently, this is blocked by snn.lib needing to be updated on the autotester: https://github.com/D-Programming-Language/phobos/pull/3296 Anybody has any clue what needs to be done? This PR has been sitting idle for a long time in the queue. Can we do something to move forward with it?

Re: How do i sanitize a string for database query?

2015-07-21 Thread Gary Willoughby via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 17:23:30 UTC, ddos wrote: How do i sanitize a string for database query? Is there some builtin function? thx :) Use prepared statements instead. https://en.wikipedia.org/wiki/Prepared_statement

Re: GLU in DerelictOrg

2015-07-21 Thread Mike Parker via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 16:34:35 UTC, Spacen Jasset wrote: On Tuesday, 21 July 2015 at 15:17:13 UTC, Alex Parrill wrote: On Tuesday, 21 July 2015 at 14:51:47 UTC, John Colvin wrote: Isn't glu considered legacy these days? I think it's entirely OpenGL 2.x. For the maths stuff see

[Issue 14817] copy(foo, bar) std.algorithm/std.file conflict

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14817 --- Comment #3 from Peter Alexander peter.alexander...@gmail.com --- https://github.com/D-Programming-Language/phobos/pull/3509 --

Re: Passing struct and struct[] into a template

2015-07-21 Thread Timon Gehr via Digitalmars-d-learn
On 07/22/2015 06:29 AM, Taylor Gronka wrote: Hi, I have a template function, and I want it to do something if the input variable is a list of structs, and something else if the input is a struct. 1) What's the best way to test this? I suppose I can call __traits(identifier, results) and look

Re: Passing struct and struct[] into a template

2015-07-21 Thread Taylor Gronka via Digitalmars-d-learn
On Wednesday, 22 July 2015 at 05:02:59 UTC, Timon Gehr wrote: template Uks(T){ T query(string q){ T result; static if(is(T==S[],S)){ ulong test=result.length; // append S newResult; result~=newResult; }else{

[Issue 14765] [Reg2.068.0] Rangified functions no longer accept types that implicitly cast to string

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14765 --- Comment #3 from Walter Bright bugzi...@digitalmars.com --- https://github.com/D-Programming-Language/phobos/pull/3510 --

Re: How do i sanitize a string for database query?

2015-07-21 Thread Gary Willoughby via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 18:55:53 UTC, ddos wrote: On Tuesday, 21 July 2015 at 17:58:55 UTC, Gary Willoughby wrote: On Tuesday, 21 July 2015 at 17:23:30 UTC, ddos wrote: How do i sanitize a string for database query? Is there some builtin function? thx :) Use prepared statements instead.

Re: How do i sanitize a string for database query?

2015-07-21 Thread ddos via Digitalmars-d-learn
thx

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread notna via Digitalmars-d
On Tuesday, 21 July 2015 at 15:36:56 UTC, wobbles wrote: On Tuesday, 21 July 2015 at 14:59:21 UTC, notna wrote: [...snip...] - make D2 easy2use for not C++/Java/whatever gurus again - all this different types, which are either required as an input for functions or are returned from those and

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread H. S. Teoh via Digitalmars-d
On Tue, Jul 21, 2015 at 06:23:25PM +, Jonathan M Davis via Digitalmars-d wrote: On Tuesday, 21 July 2015 at 18:15:08 UTC, H. S. Teoh wrote: I wish we would just call it Zxkuqyb and let it rest already. If we're going to do something like that, why not go for the geek cred and go for

Re: How do i sanitize a string for database query?

2015-07-21 Thread ddos via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 17:58:55 UTC, Gary Willoughby wrote: On Tuesday, 21 July 2015 at 17:23:30 UTC, ddos wrote: How do i sanitize a string for database query? Is there some builtin function? thx :) Use prepared statements instead. https://en.wikipedia.org/wiki/Prepared_statement

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 21 July 2015 at 07:13:08 UTC, Tofu Ninja wrote: On Tuesday, 21 July 2015 at 06:49:10 UTC, deadalnix wrote: I expect others here to grow up a bit Yet, there is a large crow of idiots (sorry if you are in that crowd, on that one you ARE an idiot) You trolling right now? I

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 21 July 2015 at 18:32:26 UTC, H. S. Teoh wrote: On Tue, Jul 21, 2015 at 06:23:25PM +, Jonathan M Davis via Digitalmars-d wrote: On Tuesday, 21 July 2015 at 18:15:08 UTC, H. S. Teoh wrote: I wish we would just call it Zxkuqyb and let it rest already. If we're going to do

Re: How do i sanitize a string for database query?

2015-07-21 Thread Alex Parrill via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 18:55:53 UTC, ddos wrote: On Tuesday, 21 July 2015 at 17:58:55 UTC, Gary Willoughby wrote: On Tuesday, 21 July 2015 at 17:23:30 UTC, ddos wrote: How do i sanitize a string for database query? Is there some builtin function? thx :) Use prepared statements instead.

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread suliman via Digitalmars-d
On Tuesday, 21 July 2015 at 16:27:24 UTC, Andrei Alexandrescu wrote: On 7/21/15 12:22 PM, Jacob Carlborg wrote: How about we start with bundling Dub and see what happens? Then at a later point we can discuss what to do about vibe.d. Yah, nice. -- Andrei So why we can't simply add vibed in

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread Walter Bright via Digitalmars-d
On 7/20/2015 11:19 PM, Martin Nowak wrote: On Tuesday, 21 July 2015 at 03:47:11 UTC, Iain Buclaw wrote: 1. If you want ddmd to be compilable by both gdc and ldc then you can't introduce any new features to the ddmd codebase post conversion. Sticking to 2.068 will help for some time but is not

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Jonathan M Davis via Digitalmars-d
On Tuesday, 21 July 2015 at 18:15:08 UTC, H. S. Teoh wrote: I wish we would just call it Zxkuqyb and let it rest already. If we're going to do something like that, why not go for the geek cred and go for XYZZY? ;) For every argument for something, there is always an equal and opposite

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Daniel N via Digitalmars-d
On Tuesday, 21 July 2015 at 16:54:54 UTC, H. S. Teoh wrote: Because, among other things, it auto-expands. T 1) .tupleof auto-expands and changing it at this point would cause epic breakage.(I also see no reason to.) 2) Even the tuple in std.typecons has a manual .expand property, i.e.

Re: Initial feedback for std.experimental.image

2015-07-21 Thread ponce via Digitalmars-d
On Tuesday, 21 July 2015 at 16:27:33 UTC, Rikki Cattermole wrote: So in your view, I should ask the compiler devs of e.g. ldc/gdc of what would be the better way to go for production code in this instance? Why not, this wasn't about std.experimental.image specifically. I just wanted to point

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 21 July 2015 at 19:00:18 UTC, Jonathan M Davis wrote: On Tuesday, 21 July 2015 at 18:32:26 UTC, H. S. Teoh wrote: On Tue, Jul 21, 2015 at 06:23:25PM +, Jonathan M Davis via Digitalmars-d wrote: On Tuesday, 21 July 2015 at 18:15:08 UTC, H. S. Teoh wrote: I wish we would just

Re: Sending an immutable object to a thread

2015-07-21 Thread rsw0x via Digitalmars-d-learn
On Sunday, 19 July 2015 at 17:12:07 UTC, rsw0x wrote: On Sunday, 19 July 2015 at 17:04:07 UTC, Frank Pagliughi wrote: [...] Oh, yes, pointer. Ha! I didn't even think of that. Thanks. I'm not familiar with how garbage collection works in D. If the initial reference goes out of scope, and you

Re: Sending an immutable object to a thread

2015-07-21 Thread rsw0x via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 21:44:07 UTC, rsw0x wrote: On Sunday, 19 July 2015 at 17:12:07 UTC, rsw0x wrote: [...] wow, I don't even remember posting this. This is (mostly) wrong, but I'm unsure if a pointer to another pointer on the stack would correctly keep its object alive(but, I

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread HaraldZealot via Digitalmars-d
On Monday, 20 July 2015 at 21:27:17 UTC, Mathias Lang wrote: We do follow a versioning style: '2.MAJOR.PATCH' (with major being 3 digits). It's not as good as SemVer, but better than it was few years ago, and I have faith we'll end up following SemVer at some point. Following SemVer

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread Walter Bright via Digitalmars-d
On 7/21/2015 4:31 AM, Martin Nowak wrote: Talking about compiler speed, we can get an easy 10% speedup using PGO+LTO. https://github.com/D-Programming-Language/dmd/pull/4651 The PR needs to be updated.

Re: Sending an immutable object to a thread

2015-07-21 Thread Frank Pagliughi via Digitalmars-d-learn
On Sunday, 19 July 2015 at 17:12:07 UTC, rsw0x wrote: a pointer to a pointer(or in this case, a reference) does not keep it alive. Interesting. If you de-reference the pointer and assign it back, do you get back the keep-alive? Like, in the receiving thread: void threadFunc() {

[Issue 14814] ld: GOT load reloc does not point to a movq instruction

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14814 --- Comment #5 from Timothee Cour timothee.co...@gmail.com --- If you replace the `typeid(int)` with `null`, will the failure disappear? yes If so, may following patch fix fix the issue? it does. Here's the corresponding pull request:

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread deadalnix via Digitalmars-d
On Tuesday, 21 July 2015 at 21:26:24 UTC, Daniel N wrote: On Tuesday, 21 July 2015 at 16:54:54 UTC, H. S. Teoh wrote: Because, among other things, it auto-expands. T 1) .tupleof auto-expands and changing it at this point would cause epic breakage.(I also see no reason to.) This is

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread deadalnix via Digitalmars-d
On Tuesday, 21 July 2015 at 08:00:40 UTC, Daniel N wrote: On Tuesday, 21 July 2015 at 06:49:10 UTC, deadalnix wrote: Come on, all people that got into this know how newcomer react to the Tuple name noticed the same reaction. No, that highly depends on the background of the newcomer, everyone

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread deadalnix via Digitalmars-d
On Tuesday, 21 July 2015 at 07:13:08 UTC, Tofu Ninja wrote: On Tuesday, 21 July 2015 at 06:49:10 UTC, deadalnix wrote: I expect others here to grow up a bit Yet, there is a large crow of idiots (sorry if you are in that crowd, on that one you ARE an idiot) You trolling right now? I'm

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Tofu Ninja via Digitalmars-d
On Tuesday, 21 July 2015 at 22:25:22 UTC, deadalnix wrote: I'm not. I would certainly have put this in a nicer manner given different circumstance, and certainly should have. But the point remains. There are facts. Fact is, several persons reported that actual, real life newcomer are

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread deadalnix via Digitalmars-d
On Tuesday, 21 July 2015 at 22:58:27 UTC, Tofu Ninja wrote: All the poll shows is what people like(or hate the least), Walter and Andrei can interpret that how ever they wish. I am not arguing for or against any of the names(they all suck). We get it, you think tuple is a bad name, you keep

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Tofu Ninja via Digitalmars-d
On Tuesday, 21 July 2015 at 23:06:51 UTC, deadalnix wrote: Facts are not oppinions. Deal with it. It is fact that some people found the name TypeTuple confusing, nothing else. You have the opinion that tuple should disqualify the name AliasTuple, some clearly dont agree with that. Why is

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread H. S. Teoh via Digitalmars-d
On Tue, Jul 21, 2015 at 11:27:01PM +, Tofu Ninja via Digitalmars-d wrote: On Tuesday, 21 July 2015 at 23:06:51 UTC, deadalnix wrote: Facts are not oppinions. Deal with it. It is fact that some people found the name TypeTuple confusing, nothing else. You have the opinion that tuple

[Issue 14564] [REG2.067] dmd -property -unittest combination causes compiler error

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14564 --- Comment #10 from Walter Bright bugzi...@digitalmars.com --- (In reply to Илья Ярошенко from comment #9) (In reply to Walter Bright from comment #8) Any idea which of those 196 lines produced the regression? All lines with call `_ctfeSkipOp`

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread Suliman via Digitalmars-d
Maybe it's really better to jump ddmd to 2.1 version and stay 2.06+ for compatibility purpose? The something similar was with D1 time, when for a long times it's get new updates.

[Issue 13833] .classinfo.name (and typeid(obj)) does not print proper dynamic type when using an interface

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13833 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Summary|.classinfo.name (and|.classinfo.name (and

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread Johannes Pfau via Digitalmars-d
Am Tue, 21 Jul 2015 05:10:45 +0200 schrieb Iain Buclaw via Digitalmars-d digitalmars-d@puremagic.com: On 21 Jul 2015 00:45, Jonathan M Davis via Digitalmars-d digitalmars-d@puremagic.com wrote: On Monday, 20 July 2015 at 22:26:53 UTC, rsw0x wrote: because versions are released with GDC

[Issue 9760] asm docs should say PIC code uses variable and thus needs a stack frame

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9760 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||soul...@gmail.com --- Comment #6

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Atila Neves via Digitalmars-d
On Monday, 20 July 2015 at 14:58:34 UTC, Jonathan M Davis wrote: On Monday, 20 July 2015 at 08:18:46 UTC, Tofu Ninja wrote: On Saturday, 18 July 2015 at 01:05:20 UTC, Tofu Ninja wrote: Here is a survey of all suggested names, please vote so we can end this with the best name...

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread Rikki Cattermole via Digitalmars-d
On 21/07/2015 8:07 p.m., extrawurst wrote: On Tuesday, 21 July 2015 at 07:00:57 UTC, Martin Nowak wrote: On Monday, 20 July 2015 at 23:18:34 UTC, Andrei Alexandrescu wrote: On 7/20/15 5:30 PM, Martin Nowak wrote: On Thursday, 16 July 2015 at 08:28:08 UTC, Suliman wrote: [...] It doesn't

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread Martin Nowak via Digitalmars-d
On Monday, 20 July 2015 at 23:20:58 UTC, Walter Bright wrote: First we have to make sure we know why it is slower. I got this number from Daniel, he didn't found a reason. Chances are it's uniformly slower because of dmd's backend, but of course profiling might help.

[Issue 14816] improve dt_t data type for faster appending (tail list or array)

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14816 --- Comment #1 from Martin Nowak c...@dawg.eu --- Also see issue 14805. --

[Issue 14814] ld: GOT load reloc does not point to a movq instruction

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14814 Timothee Cour timothee.co...@gmail.com changed: What|Removed |Added CC|

Re: DUB RC 0.9.24-rc.1 ready for testing

2015-07-21 Thread extrawurst via Digitalmars-d
On Tuesday, 21 July 2015 at 07:00:57 UTC, Martin Nowak wrote: On Monday, 20 July 2015 at 23:18:34 UTC, Andrei Alexandrescu wrote: On 7/20/15 5:30 PM, Martin Nowak wrote: On Thursday, 16 July 2015 at 08:28:08 UTC, Suliman wrote: [...] It doesn't make sense to include vibe.d. I think it

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Daniel N via Digitalmars-d
On Tuesday, 21 July 2015 at 08:00:40 UTC, Daniel N wrote: On Tuesday, 21 July 2015 at 06:49:10 UTC, deadalnix wrote: Come on, all people that got into this know how newcomer react to the Tuple name noticed the same reaction. No, that highly depends on the background of the newcomer, everyone

Re: Inout unclearness

2015-07-21 Thread Kagamin via Digitalmars-d
On Tuesday, 21 July 2015 at 00:07:11 UTC, Max Klimov wrote: I'm wondering why it is needed to have special casting rules and other restrictions for inout if people should treat inout as wildcard for mutable, immutable and const. It's unclear how to check that people did what they should. Is

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread Martin Nowak via Digitalmars-d
On Tuesday, 21 July 2015 at 03:47:11 UTC, Iain Buclaw wrote: 1. If you want ddmd to be compilable by both gdc and ldc then you can't introduce any new features to the ddmd codebase post conversion. Sticking to 2.068 will help for some time but is not a long-term solution. Particularly when

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread Iain Buclaw via Digitalmars-d
On 21 July 2015 at 08:19, Martin Nowak via Digitalmars-d digitalmars-d@puremagic.com wrote: On Tuesday, 21 July 2015 at 03:47:11 UTC, Iain Buclaw wrote: 1. If you want ddmd to be compilable by both gdc and ldc then you can't introduce any new features to the ddmd codebase post conversion.

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread Daniel N via Digitalmars-d
On Tuesday, 21 July 2015 at 06:49:10 UTC, deadalnix wrote: Come on, all people that got into this know how newcomer react to the Tuple name noticed the same reaction. No, that highly depends on the background of the newcomer, everyone I introduced D to , only found it confusing that it was

Re: C bindings: typedef struct conflicts with method

2015-07-21 Thread Jacob Carlborg via Digitalmars-d-learn
On 2015-07-21 07:53, yawniek wrote: i tried to automagically create bindings for librdkafka (https://github.com/edenhill/librdkafka) with dstep. now the code contains typedefs structs with the same name as methods: ``` typedef struct rd_kafka_metadata { int broker_cnt; /*

Re: Wait, what? What is AliasSeq?

2015-07-21 Thread deadalnix via Digitalmars-d
On Monday, 20 July 2015 at 16:54:55 UTC, Andrei Alexandrescu wrote: On 7/20/15 11:54 AM, H. S. Teoh via Digitalmars-d wrote: Andrei/Walter should just step in and make the final call on whatever lousy name they wish (let's admit it, none of the names are any good, and you ain't gonna please

[Issue 14816] improve dt_t data type for faster appending (tail list or array)

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14816 Martin Nowak c...@dawg.eu changed: What|Removed |Added Hardware|x86_64 |All OS|Linux

[Issue 14816] New: improve dt_t data type for faster appending (tail list or array)

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14816 Issue ID: 14816 Summary: improve dt_t data type for faster appending (tail list or array) Product: D Version: D2 Hardware: x86_64 OS: Linux Status:

[Issue 14086] Invalid extern C++ name for constructor / destructor

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14086 Sobirari Muhomori dfj1es...@sneakemail.com changed: What|Removed |Added See Also|

Re: Why does this script BSOD-ize windows ?

2015-07-21 Thread Baz via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 10:28:27 UTC, Rikki Cattermole wrote: On 21/07/2015 10:14 p.m., Baz wrote: --- import std.process; import core.thread; import std.random; void main(string[] args) { string on = netsh interface set interface \Connexion au réseau local\ Enable; string off

Why does this script BSOD-ize windows ?

2015-07-21 Thread Baz via Digitalmars-d-learn
--- import std.process; import core.thread; import std.random; void main(string[] args) { string on = netsh interface set interface \Connexion au réseau local\ Enable; string off = netsh interface set interface \Connexion au réseau local\ Disable; while(true) {

[Issue 14764] std.range.only errors on enum members

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14764 Jack Applegame jappleg...@gmail.com changed: What|Removed |Added CC||jappleg...@gmail.com

Re: Why does this script BSOD-ize windows ?

2015-07-21 Thread Rikki Cattermole via Digitalmars-d-learn
On 21/07/2015 10:14 p.m., Baz wrote: --- import std.process; import core.thread; import std.random; void main(string[] args) { string on = netsh interface set interface \Connexion au réseau local\ Enable; string off = netsh interface set interface \Connexion au réseau local\ Disable;

Re: Why does this script BSOD-ize windows ?

2015-07-21 Thread Kagamin via Digitalmars-d-learn
try this: import std.process, std.stdio; import core.thread; import std.random; void main(string[] args) { string on = netsh interface set interface \Connexion au réseau local\ Enable; string off = netsh interface set interface \Connexion au réseau local\ Disable; while(true)

Re: C bindings: typedef struct conflicts with method

2015-07-21 Thread Rikki Cattermole via Digitalmars-d-learn
On 21/07/2015 5:53 p.m., yawniek wrote: i tried to automagically create bindings for librdkafka (https://github.com/edenhill/librdkafka) with dstep. now the code contains typedefs structs with the same name as methods: ``` typedef struct rd_kafka_metadata { int broker_cnt;

Re: dmd 2.068, 2.069, 2.0xx Evil Plan going forward

2015-07-21 Thread Martin Nowak via Digitalmars-d
On Monday, 20 July 2015 at 23:01:26 UTC, Walter Bright wrote: That's right. Trying to fix bugs while translating doesn't work very well. The idea is to get a 2.068 workalike to use as a baseline. Regressions can, of course, still be pushed to the 2.068 line. That said, one can still post

[Issue 14612] typeid(interface) returns TypeInfo_Class object

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14612 --- Comment #6 from Kenji Hara k.hara...@gmail.com --- Anyway, the downcast behavior is not a part of the suggested issue. It should go an enhancement report. --

[Issue 14805] [REG2.064] Unreasonably slow new Struct[large]

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14805 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 14805] [REG2.064] Unreasonably slow new Struct[large]

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14805 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/27dc11712eb4ddd4d45033654f7d8cb93d7745d4 fix Issue 14805 -

[Issue 14814] ld: GOT load reloc does not point to a movq instruction

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14814 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #1 from

[Issue 10730] ByLine description ditto

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10730 Martin Nowak c...@dawg.eu changed: What|Removed |Added Status|REOPENED|RESOLVED CC|

[Issue 14765] Rangified functions no longer accept types that implicitly cast to string

2015-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14765 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #1 from

Re: Why does this script BSOD-ize windows ?

2015-07-21 Thread Baz via Digitalmars-d-learn
On Tuesday, 21 July 2015 at 10:41:54 UTC, Kagamin wrote: try this: import std.process, std.stdio; import core.thread; import std.random; void main(string[] args) { string on = netsh interface set interface \Connexion au réseau local\ Enable; string off = netsh interface set interface

  1   2   >