Re: Beta 2.073.0-b1

2017-01-13 Thread Basile B. via Digitalmars-d-announce
On Saturday, 7 January 2017 at 05:02:13 UTC, Martin Nowak wrote: First beta for the 2.073.0 release. This release comes with a few phobos additions, a new -mcpu=avx switch, an experimental safety checks (-transition=safe/-dip1000), and several bugfixes.

[Issue 17086] DMD segfault with multiple template matches and invalid code

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17086 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17086] DMD segfault with multiple template matches and invalid code

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17086 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/90914abd5cec32199a5e81acf7d405366d8018df Fix issue 17086: DMD segfault with multiple template matches

[Issue 17086] DMD segfault with multiple template matches and invalid code

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17086 Walter Bright changed: What|Removed |Added Keywords||ice

Re: Hopefully a simple question...

2017-01-13 Thread Nicholas Wilson via Digitalmars-d-learn
On Friday, 13 January 2017 at 16:56:43 UTC, WhatMeWorry wrote: I'm converting some C++ and glm code to D and gl3n. And I'm stumped at the following line. GLboolean CheckCollision(BallObject , GameObject ) // AABB - Circle collision { // Get center point circle first glm::vec2

Re: switch to member

2017-01-13 Thread Nicholas Wilson via Digitalmars-d-learn
On Saturday, 14 January 2017 at 03:20:24 UTC, Ignacious wrote: When doing common functionality for a switch, is there any way to optimize: switch(x) { case X: q.X = e; break; case Y: q.Y = e; break etc... } e is basically a value that, depending

Interior pointers and fast GC

2017-01-13 Thread Chris Wright via Digitalmars-d
Interior pointers are a barrier to performant garbage collection. Here, I'm brainstorming about the problem and not really coming to any conclusions. The world today === D's garbage collector is significantly less performant than Java's, and this is partly the result of D's

Re: Why not promoting team work?

2017-01-13 Thread Chris Wright via Digitalmars-d
I tend to see projects in one of three states: 1. It doesn't exist. 2. It exists, but the last update was six months ago and it's broken. 3. It exists, does what I want, and I can use it with at most small workarounds. If it doesn't exist, I have to make it myself. If it's broken and

Re: SmartRef: The Smart Pointer In D

2017-01-13 Thread Chris Wright via Digitalmars-d-announce
On Sat, 14 Jan 2017 02:05:11 +, nbro wrote: > On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote: >> I write the ref count pointer and the scoped point in D. it just Like >> cpp's shared_ptr , waek_ptr and unique_ptr . >> Now, it is Developing. >> I will write more test before the frist

Re: Why not promoting team work?

2017-01-13 Thread rikki cattermole via Digitalmars-d
On 14/01/2017 3:59 PM, nbro wrote: On Saturday, 14 January 2017 at 02:41:00 UTC, rikki cattermole wrote: The only way to get qualified to do these tasks like GUI toolkits is by doing. Keep this in mind. As somebody who does indeed do implement multiple libraries at one time you're looking at

[Issue 17088] New: Access Violation on membership test with shared AA

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17088 Issue ID: 17088 Summary: Access Violation on membership test with shared AA Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: major

Re: Why not promoting team work?

2017-01-13 Thread ketmar via Digitalmars-d
On Saturday, 14 January 2017 at 03:05:44 UTC, nbro wrote: On Saturday, 14 January 2017 at 02:57:05 UTC, ketmar wrote: On Saturday, 14 January 2017 at 02:28:34 UTC, nbro wrote: How could you do such a thing? freakin' easy: just pay people to do what you want. either that, or people will keep

switch to member

2017-01-13 Thread Ignacious via Digitalmars-d-learn
When doing common functionality for a switch, is there any way to optimize: switch(x) { case X: q.X = e; break; case Y: q.Y = e; break etc... } e is basically a value that, depending on the what kind(x), we assign it to a field in q. The name of

Re: Why not promoting team work?

2017-01-13 Thread nbro via Digitalmars-d
On Saturday, 14 January 2017 at 02:57:05 UTC, ketmar wrote: On Saturday, 14 January 2017 at 02:28:34 UTC, nbro wrote: How could you do such a thing? freakin' easy: just pay people to do what you want. either that, or people will keep working on the things *they* are interested (and not

Re: Why not promoting team work?

2017-01-13 Thread nbro via Digitalmars-d
On Saturday, 14 January 2017 at 02:41:00 UTC, rikki cattermole wrote: The only way to get qualified to do these tasks like GUI toolkits is by doing. Keep this in mind. As somebody who does indeed do implement multiple libraries at one time you're looking at it the wrong way. I switch between

Re: Why not promoting team work?

2017-01-13 Thread ketmar via Digitalmars-d
On Saturday, 14 January 2017 at 02:28:34 UTC, nbro wrote: How could you do such a thing? freakin' easy: just pay people to do what you want. either that, or people will keep working on the things *they* are interested (and not someone else).

Re: It is still not possible to use D on debian/ubuntu

2017-01-13 Thread Jonathan M Davis via Digitalmars-d
On Friday, January 13, 2017 11:50:25 Russel Winder via Digitalmars-d wrote: > On Fri, 2017-01-13 at 05:44 +, Elronnd via Digitalmars-d wrote: > > On Thursday, 12 January 2017 at 09:20:42 UTC, Russel Winder wrote: > > > DMD is not packaged by Debian or Fedora. > > > > > > GDC is packaged by

Re: Why not promoting team work?

2017-01-13 Thread rikki cattermole via Digitalmars-d
The only way to get qualified to do these tasks like GUI toolkits is by doing. Keep this in mind. As somebody who does indeed do implement multiple libraries at one time you're looking at it the wrong way. I switch between projects over periods that last for years not days or weeks. The point

Re: GNU License warning:

2017-01-13 Thread Ignacious via Digitalmars-d
On Saturday, 14 January 2017 at 01:40:58 UTC, Chris M. wrote: On Friday, 13 January 2017 at 21:53:29 UTC, Ignacious wrote: On Friday, 13 January 2017 at 19:30:40 UTC, Chris Wright wrote: On Fri, 13 Jan 2017 15:19:57 +, Ignacious wrote: [...] LGPL is much more common, and LGPL isn't a

Why not promoting team work?

2017-01-13 Thread nbro via Digitalmars-d
Hi! I've been following D for at least one year. I like it and I think it's a very good programming language, even though I do not agree with everything it's being done. One thing that has saddened me is seeing a lot of D's users trying to implement their own library or maybe trying to

Re: SmartRef: The Smart Pointer In D

2017-01-13 Thread Swoorup Joshi via Digitalmars-d-announce
On Saturday, 14 January 2017 at 02:05:11 UTC, nbro wrote: On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote: I write the ref count pointer and the scoped point in D. it just Like cpp's shared_ptr , waek_ptr and unique_ptr . Now, it is Developing. I will write more test before the frist

Re: Beta 2.073.0-b1

2017-01-13 Thread bitwise via Digitalmars-d-announce
On Saturday, 7 January 2017 at 05:02:13 UTC, Martin Nowak wrote: First beta for the 2.073.0 release. This release comes with a few phobos additions, a new -mcpu=avx switch, an experimental safety checks (-transition=safe/-dip1000), and several bugfixes.

Re: SmartRef: The Smart Pointer In D

2017-01-13 Thread nbro via Digitalmars-d-announce
On Friday, 13 January 2017 at 16:50:37 UTC, Dsby wrote: I write the ref count pointer and the scoped point in D. it just Like cpp's shared_ptr , waek_ptr and unique_ptr . Now, it is Developing. I will write more test before the frist release. And the docs is null. It on github:

Re: GNU License warning:

2017-01-13 Thread Chris M. via Digitalmars-d
On Friday, 13 January 2017 at 21:53:29 UTC, Ignacious wrote: On Friday, 13 January 2017 at 19:30:40 UTC, Chris Wright wrote: On Fri, 13 Jan 2017 15:19:57 +, Ignacious wrote: [...] LGPL is much more common, and LGPL isn't a problem when you distribute by source. It *is* a problem with

Re: What about an identifier that is an mixin

2017-01-13 Thread André Puel via Digitalmars-d
On Friday, 13 January 2017 at 23:13:43 UTC, Daniel Kozak wrote: On Friday, 13 January 2017 at 22:12:55 UTC, André Puel wrote: Could you elaborate on why you consider it important to be able to tell when you use mixin and when not? because it is something really different, so it is nice to

Re: Converting from DirIterator to string[] without a loop

2017-01-13 Thread Ali Çehreli via Digitalmars-d-learn
On 01/13/2017 04:29 PM, Dave Chapman wrote: > When I use auto and print out the type of b it is something like > args.main.FilterResult!(__lambda2, DirIterator).FilterResult and for the > "if" version of > b and args.main.FilterResult!(__lambda3, DirIterator).FilterResult for > the "else"

Converting from DirIterator to string[] without a loop

2017-01-13 Thread Dave Chapman via Digitalmars-d-learn
I would like to do something like the code shown below but I can't figure out how to do it without loops inside the if statement. When I use auto and print out the type of b it is something like args.main.FilterResult!(__lambda2, DirIterator).FilterResult and for the "if" version of b and

Re: [your code here]

2017-01-13 Thread Ignacious via Digitalmars-d
On Friday, 13 January 2017 at 20:40:32 UTC, mustafa wrote: dfdsfsd afdsaaf?

Re: Error deducing function

2017-01-13 Thread Ignacious via Digitalmars-d
On Friday, 13 January 2017 at 22:57:09 UTC, Adam D. Ruppe wrote: On Friday, 13 January 2017 at 22:22:12 UTC, Ignacious wrote: Like, which arguments actually pass and which ones fail, etc. Yes, I agree entirely. This would be a HUGE usability bonus, far better than most the other things

Re: What about an identifier that is an mixin

2017-01-13 Thread Daniel Kozak via Digitalmars-d
On Friday, 13 January 2017 at 22:12:55 UTC, André Puel wrote: Could you elaborate on why you consider it important to be able to tell when you use mixin and when not? because it is something really different, so it is nice to know when you call something and when you mixin some code into

Re: Error deducing function

2017-01-13 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 13 January 2017 at 22:22:12 UTC, Ignacious wrote: Like, which arguments actually pass and which ones fail, etc. Yes, I agree entirely. This would be a HUGE usability bonus, far better than most the other things people work on...

Re: Gui in D: I miss this project

2017-01-13 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 13 January 2017 at 20:11:08 UTC, Dukc wrote: Does not work on as many platforms as DlangUI, trough. Which platforms do dlangui work on? It's console feature is cool, I do that with terminal.d rather than simpledisplay.d. I guess the other difference is probably Mac, I only

[Issue 11006] Subtraction of pointers for `void` and non-void types compiles

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11006 bitter.ta...@gmx.com changed: What|Removed |Added CC||bitter.ta...@gmx.com --- Comment #2

Error deducing function

2017-01-13 Thread Ignacious via Digitalmars-d
It would be EXTREMELY helpful if dmd would give a better result than main.d(30): Error: template main.Do cannot deduce function from argument types !(1, string, int)(2, "adf"), candidates are: main.d(6):main.Do(int x, string y, alias Q)(int z, string q) Like, which arguments

Re: What about an identifier that is an mixin

2017-01-13 Thread André Puel via Digitalmars-d
On Friday, 13 January 2017 at 21:29:28 UTC, Daniel Kozák wrote: André Puel via Digitalmars-d napsal Pá, led 13, 2017 v 10∶15 : One thing that I miss sometimes when doing meta programming is being able to hide that a function should be called with mixin. For

Re: Merging two arrays in a uniform order

2017-01-13 Thread Era Scarecrow via Digitalmars-d-learn
On Friday, 13 January 2017 at 19:47:38 UTC, aberba wrote: awesome. roundRobin? :) https://dlang.org/phobos/std_range.html#.roundRobin [quote] roundRobin(r1, r2, r3) yields r1.front, then r2.front, then r3.front, after which it pops off one element from each and continues again from r1. For

Re: GNU License warning:

2017-01-13 Thread Ignacious via Digitalmars-d
On Friday, 13 January 2017 at 19:30:40 UTC, Chris Wright wrote: On Fri, 13 Jan 2017 15:19:57 +, Ignacious wrote: Yes, but D uses mostly bindings and if any of those bindings use it then It effects the D program that uses it. Since many of the bindings are written in C/C++ one can expect

[Issue 17087] [REG2.072] Wrong generated with cfloat and creal when casting from int

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17087 bitter.ta...@gmx.com changed: What|Removed |Added CC||bitter.ta...@gmx.com --- Comment #1

Re: What about an identifier that is an mixin

2017-01-13 Thread Daniel Kozák via Digitalmars-d
Daniel Kozák napsal Pá, led 13, 2017 v 10∶32 : Daniel Kozák napsal Pá, led 13, 2017 v 10∶29 : André Puel via Digitalmars-d napsal Pá, led 13, 2017 v 10∶15 : One thing that I miss sometimes when doing meta programming is

Re: What about an identifier that is an mixin

2017-01-13 Thread Daniel Kozák via Digitalmars-d
Daniel Kozák napsal Pá, led 13, 2017 v 10∶29 : André Puel via Digitalmars-d napsal Pá, led 13, 2017 v 10∶15 : One thing that I miss sometimes when doing meta programming is being able to hide that a function should be called with mixin. For

Re: What about an identifier that is an mixin

2017-01-13 Thread ketmar via Digitalmars-d
On Friday, 13 January 2017 at 21:15:32 UTC, André Puel wrote: I think this could be useful when one is creating Idiom and Patterns, you could hide implementations details. it hides the fact that mixin is used, which may be undesirable. otherwise, template mixins will do: mixin template

Re: What about an identifier that is an mixin

2017-01-13 Thread pineapple via Digitalmars-d
On Friday, 13 January 2017 at 21:15:32 UTC, André Puel wrote: I think this could be useful when one is creating Idiom and Patterns, you could hide implementations details. I'm not sure that this is the kind of implementation detail that ought to be hidden

Re: Gui in D: I miss this project

2017-01-13 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 13 January 2017 at 20:16:02 UTC, Dukc wrote: Oops, just realized you said GUI library, not a graphics library. Arsd has a GUI interfacce too but it is, I think, Windows only. Well, it has some support for Linux too, but it is a custom job there and not complete. (I write things as

Re: What about an identifier that is an mixin

2017-01-13 Thread Daniel Kozák via Digitalmars-d
André Puel via Digitalmars-d napsal Pá, led 13, 2017 v 10∶15 : One thing that I miss sometimes when doing meta programming is being able to hide that a function should be called with mixin. For example (pardon my lack of creativity): // Instead of string

What about an identifier that is an mixin

2017-01-13 Thread André Puel via Digitalmars-d
One thing that I miss sometimes when doing meta programming is being able to hide that a function should be called with mixin. For example (pardon my lack of creativity): // Instead of string declare_a() { return "int a;" } int func() { mixin(declare_a);

[Issue 6400] opDispatch with WithStatement

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6400 bitter.ta...@gmx.com changed: What|Removed |Added CC||bitter.ta...@gmx.com --- Comment #8

[Issue 17080] Can assign member-function-ptr to free-function-ptr

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17080 --- Comment #7 from Dicebot --- (In reply to uplink.coder from comment #6) > I am going to take care of this. > I might take a while though. FYI, this is quick hack I figured out after initial investigation that turns `addrOf`

[Issue 17073] [Reg 2.071.0] Priority clash with `void` default initialization of struct fields

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17073 --- Comment #4 from Joseph Rushton Wakeling --- Thanks everyone! Much appreciated :-) --

[your code here]

2017-01-13 Thread mustafa via Digitalmars-d
dfdsfsd

Re: Gui in D: I miss this project

2017-01-13 Thread Dukc via Digitalmars-d
On Friday, 13 January 2017 at 20:11:08 UTC, Dukc wrote: Arsd-official:simpledisplay is also natively D and cross-platform, plus it's native and VERY simple to use. Does not work on as many platforms as DlangUI, trough. It should really be added to that wiki listing of graphical frameworks.

Re: Gui in D: I miss this project

2017-01-13 Thread Dukc via Digitalmars-d
On Thursday, 12 January 2017 at 07:24:43 UTC, aberba wrote: After all, when someone wants a cross platform D GUI library, the ONLY current usable choice is DLangUI. Arsd-official:simpledisplay is also natively D and cross-platform, plus it's native and VERY simple to use. Does not work on

Re: Merging two arrays in a uniform order

2017-01-13 Thread aberba via Digitalmars-d-learn
On Friday, 13 January 2017 at 12:00:41 UTC, ZombineDev wrote: On Friday, 13 January 2017 at 06:32:02 UTC, aberba wrote: Unlike array1 + array2, how can i merge arrays such that: [a1, a1, a2, a1, a1, a2, a1] //uniform order where a1 = child of array1, a2 = child of array2 using a built-in

Re: GNU License warning:

2017-01-13 Thread Chris Wright via Digitalmars-d
On Fri, 13 Jan 2017 15:19:57 +, Ignacious wrote: > Yes, but D uses mostly bindings and if any of those bindings use it then > It effects the D program that uses it. Since many of the bindings are > written in C/C++ one can expect that many of them use the GPL license. LGPL is much more

Re: GNU License warning:

2017-01-13 Thread Ignacious via Digitalmars-d
On Friday, 13 January 2017 at 15:56:40 UTC, Claude wrote: On Friday, 13 January 2017 at 15:15:14 UTC, Ignacious wrote: On Friday, 13 January 2017 at 12:01:22 UTC, bachmeier wrote: This is not the proper place to blog about software license preferences or to make unsubstantiated accusations

Re: GNU License warning:

2017-01-13 Thread Chris Wright via Digitalmars-d
On Fri, 13 Jan 2017 15:15:14 +, Ignacious wrote: > On Friday, 13 January 2017 at 12:01:22 UTC, bachmeier wrote: >> On Friday, 13 January 2017 at 02:25:03 UTC, Ignacious wrote: >>> [...] >> >> This is not the proper place to blog about software license preferences >> or to make unsubstantiated

[Issue 17087] [REG2.072] Wrong generated with cfloat and creal when casting from int

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17087 ZombineDev changed: What|Removed |Added Keywords||SIMD, wrong-code

[Issue 17087] New: [REG2.072] Wrong generated with cfloat and creal when casting from int

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17087 Issue ID: 17087 Summary: [REG2.072] Wrong generated with cfloat and creal when casting from int Product: D Version: D2 Hardware: All OS: All Status:

[Issue 17086] New: DMD segfault with multiple template matches and invalid code

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17086 Issue ID: 17086 Summary: DMD segfault with multiple template matches and invalid code Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: Hopefully a simple question...

2017-01-13 Thread kinke via Digitalmars-d-learn
On Friday, 13 January 2017 at 16:56:43 UTC, WhatMeWorry wrote: A vec and scalar can't be added together. So why (or how) is the glm code working? The C++ source disagrees: https://github.com/g-truc/glm/blob/master/glm/detail/type_vec2.hpp#L219 It works via operator overloading, and adding a

[Issue 13711] Optimizer bug (yet another one, with test case)

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13711 Nemanja Boric <4bur...@gmail.com> changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13711] Optimizer bug (yet another one, with test case)

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13711 Nemanja Boric <4bur...@gmail.com> changed: What|Removed |Added CC||4bur...@gmail.com ---

SmartRef: The Smart Pointer In D

2017-01-13 Thread Dsby via Digitalmars-d-announce
I write the ref count pointer and the scoped point in D. it just Like cpp's shared_ptr , waek_ptr and unique_ptr . Now, it is Developing. I will write more test before the frist release. And the docs is null. It on github: https://github.com/huntlabs/SmartRef

Re: Gui in D: I miss this project

2017-01-13 Thread Gerald via Digitalmars-d
On Wednesday, 11 January 2017 at 15:56:46 UTC, Chris Wright wrote: On Wed, 11 Jan 2017 07:21:22 +, thedeemon wrote: If you need some GUI, DLangUI is just a "dub build" away. How does DLangUI do with screen readers and magnifiers? From what I'm seeing, neither GTK+ nor Qt work with screen

Re: GNU License warning:

2017-01-13 Thread Claude via Digitalmars-d
On Friday, 13 January 2017 at 15:15:14 UTC, Ignacious wrote: On Friday, 13 January 2017 at 12:01:22 UTC, bachmeier wrote: This is not the proper place to blog about software license preferences or to make unsubstantiated accusations against an organization you don't like. There are other sites

Software Engineer at LinkedIn praises D

2017-01-13 Thread extrawurst via Digitalmars-d-announce
That is nice to read, Brian Geffon - Senior Staff Software Engineer at LinkedIn - wrote: Over the years I've always followed D because of the team working on it and the potential of the language. After playing more today I have to say D is rapidly becoming the perfect language, IMO far

Re: GNU License warning:

2017-01-13 Thread Ignacious via Digitalmars-d
On Friday, 13 January 2017 at 06:37:42 UTC, Joakim wrote: On Friday, 13 January 2017 at 02:25:03 UTC, Ignacious wrote: On Friday, 13 January 2017 at 01:27:02 UTC, Chris Wright wrote: [...] That makes no sense(it's obvious by the definition of derivative so you are not saying anything

Re: GNU License warning:

2017-01-13 Thread Ignacious via Digitalmars-d
On Friday, 13 January 2017 at 12:01:22 UTC, bachmeier wrote: On Friday, 13 January 2017 at 02:25:03 UTC, Ignacious wrote: [...] This is not the proper place to blog about software license preferences or to make unsubstantiated accusations against an organization you don't like. There are

[Issue 17073] [Reg 2.071.0] Priority clash with `void` default initialization of struct fields

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17073 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/5f490432785a36efea2cb4dcda0d3ebb036d6c21 Fix issue 17073 - Do not ignore the explicit initializers We

[Issue 17073] [Reg 2.071.0] Priority clash with `void` default initialization of struct fields

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17073 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: GSoC 2016 Postmortem

2017-01-13 Thread CRAIG DILLABAUGH via Digitalmars-d-announce
On Friday, 13 January 2017 at 13:12:19 UTC, Mike Parker wrote: Craig Dillabaugh is ramping up for Google Summer of Code 2017. He took some time out to give a report on GSoC 2016 and recommendations for how to improve the process this year. Blog:

[Issue 17080] Can assign member-function-ptr to free-function-ptr

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17080 --- Comment #6 from uplink.co...@googlemail.com --- I am going to take care of this. I might take a while though. --

[Issue 17080] Can assign member-function-ptr to free-function-ptr

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17080 uplink.co...@googlemail.com changed: What|Removed |Added Assignee|nob...@puremagic.com|uplink.co...@googlemail.com --

[Issue 17080] Can assign member-function-ptr to free-function-ptr

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17080 Dicebot changed: What|Removed |Added CC||pub...@dicebot.lv --- Comment

Re: Voting for std.experimental.checkedint

2017-01-13 Thread Robert burner Schadek via Digitalmars-d
On Friday, 13 January 2017 at 12:49:53 UTC, deadalnix wrote: Is the doc available somewhere in a readable form ? CyberShadow/DAutoTest build the docs, you can find the link at the end of the PR under checks

GSoC 2016 Postmortem

2017-01-13 Thread Mike Parker via Digitalmars-d-announce
Craig Dillabaugh is ramping up for Google Summer of Code 2017. He took some time out to give a report on GSoC 2016 and recommendations for how to improve the process this year. Blog: https://dlang.org/blog/2017/01/13/the-d-language-foundation-google-summer-of-code-2016-postmortem/ Reddit:

Re: Vision document for H1 2017

2017-01-13 Thread Nick Treleaven via Digitalmars-d-announce
On Friday, 13 January 2017 at 12:53:16 UTC, Nick Treleaven wrote: On Friday, 13 January 2017 at 05:33:07 UTC, Chris Wright wrote: On that topic, D's arrays would play nicer with both refcounting *and* modern garbage collectors if they were structured as base, offset, length instead of start,

Re: Vision document for H1 2017

2017-01-13 Thread Nick Treleaven via Digitalmars-d-announce
On Friday, 13 January 2017 at 05:33:07 UTC, Chris Wright wrote: On that topic, D's arrays would play nicer with both refcounting *and* modern garbage collectors if they were structured as base, offset, length instead of start, length. That might be slower sometimes as slices wouldn't fit in

Re: Voting for std.experimental.checkedint

2017-01-13 Thread deadalnix via Digitalmars-d
Is the doc available somewhere in a readable form ?

[Issue 17073] [Reg 2.071.0] Priority clash with `void` default initialization of struct fields

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17073 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu

Voting for std.experimental.checkedint

2017-01-13 Thread Robert burner Schadek via Digitalmars-d-announce
http://forum.dlang.org/post/wgsguzbgrcejptuxf...@forum.dlang.org

[Issue 17081] Bodies in extern cpp functions in D files are not linked

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17081 --- Comment #2 from Alexandru Razvan Caciulescu --- https://github.com/dlang/druntime/pull/1736 --

Voting for std.experimental.checkedint

2017-01-13 Thread Robert burner Schadek via Digitalmars-d
This is the voting thread to decide if the proposed addition to Phobos, std.experimental.checkedint, should be accepted. To vote, please respond to this post. You have three options: * Yes * Yes with a single condition * No If you vote "yes" you can still mention something you'd like

Re: mysql user definde functions (UDF) in D

2017-01-13 Thread Martin Tschierschke via Digitalmars-d
On Friday, 13 January 2017 at 09:31:38 UTC, crimaniak wrote: On Thursday, 12 January 2017 at 09:49:08 UTC, Martin Tschierschke wrote: I am wondering has anybody tried to do it with D? http://dev.mysql.com/doc/refman/5.5/en/adding-udf.html By looking on the processing chain for rendering a web

Re: GNU License warning:

2017-01-13 Thread bachmeier via Digitalmars-d
On Friday, 13 January 2017 at 02:25:03 UTC, Ignacious wrote: You haven't really said anything relevant to the post. The issue is with how the GPL defines proper use of pre-existing works. The ultimately point is that they arbitrarily decide how a work uses another based on "fork and exec"

Re: Merging two arrays in a uniform order

2017-01-13 Thread ZombineDev via Digitalmars-d-learn
On Friday, 13 January 2017 at 06:32:02 UTC, aberba wrote: Unlike array1 + array2, how can i merge arrays such that: [a1, a1, a2, a1, a1, a2, a1] //uniform order where a1 = child of array1, a2 = child of array2 using a built-in function/algorithm (is/are there anything(s) in Phobos for

Re: It is still not possible to use D on debian/ubuntu

2017-01-13 Thread Russel Winder via Digitalmars-d
On Fri, 2017-01-13 at 05:44 +, Elronnd via Digitalmars-d wrote: > On Thursday, 12 January 2017 at 09:20:42 UTC, Russel Winder wrote: > > DMD is not packaged by Debian or Fedora. > > > > GDC is packaged by Debian but is not packaged by Fedora. > > There are RPMs available at dlang.org, and

[Issue 16590] Wrong di generation for ref methods

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16590 github-bugzi...@puremagic.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 16590] Wrong di generation for ref methods

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16590 --- Comment #12 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/e7b284d15e477483e4367206d52945af18a770c0 Fix Issue 16590 - Wrong di generation for ref methods

Re: mysql user definde functions (UDF) in D

2017-01-13 Thread crimaniak via Digitalmars-d
On Thursday, 12 January 2017 at 09:49:08 UTC, Martin Tschierschke wrote: I am wondering has anybody tried to do it with D? http://dev.mysql.com/doc/refman/5.5/en/adding-udf.html By looking on the processing chain for rendering a web page, based on mysql data, I thought it would be very

[Issue 16513] Speed up TemplateInstance.findExistingInstance hash

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16513 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 16513] Speed up TemplateInstance.findExistingInstance hash

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16513 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/d41992ee9c9ce96c0dc0df97b5a63ff7f8be077f use non-associative op to combine hashes - use mixHash from

Re: Vision document for H1 2017

2017-01-13 Thread Nicholas Wilson via Digitalmars-d-announce
On Friday, 13 January 2017 at 05:33:07 UTC, Chris Wright wrote: On Thu, 12 Jan 2017 20:02:38 -0800, Jonathan M Davis via Digitalmars-d-announce wrote: I don't see how it possibly could given how dynamic arrays work in D. It would have to have some sort of reference counting mechanism, which

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

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14816 Martin Nowak changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 16346] Enum used as a constructor evaluates to the underlying type, not to the enum type.

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16346 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/82f8a0aa9e5237eaa60ad2df77b83f8b14003115 Fix issue 16346 - Use the correct type when constructing an

[Issue 16346] Enum used as a constructor evaluates to the underlying type, not to the enum type.

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16346 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 16382] Passing as a CT parameter seg faults dmd

2017-01-13 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16382 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/fe278833a56768799bfa067ef357c1719fb2e17a Fix issue 16382 - Prevent a segfault when interpreting

Re: Gui in D: I miss this project

2017-01-13 Thread rikki cattermole via Digitalmars-d
On 13/01/2017 9:04 PM, Vadim Lopatin wrote: On Wednesday, 11 January 2017 at 15:56:46 UTC, Chris Wright wrote: On Wed, 11 Jan 2017 07:21:22 +, thedeemon wrote: If you need some GUI, DLangUI is just a "dub build" away. How does DLangUI do with screen readers and magnifiers? From what I'm

Re: It is still not possible to use D on debian/ubuntu

2017-01-13 Thread Timothee Cour via Digitalmars-d
osx / linux: brew install dmd #works brew install ldc #works would be nice to have: brew install gdc On Thu, Jan 12, 2017 at 9:44 PM, Elronnd via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Thursday, 12 January 2017 at 09:20:42 UTC, Russel Winder wrote: > >> DMD is not packaged by

Re: Gui in D: I miss this project

2017-01-13 Thread Vadim Lopatin via Digitalmars-d
On Wednesday, 11 January 2017 at 15:56:46 UTC, Chris Wright wrote: On Wed, 11 Jan 2017 07:21:22 +, thedeemon wrote: If you need some GUI, DLangUI is just a "dub build" away. How does DLangUI do with screen readers and magnifiers? From what I'm seeing, neither GTK+ nor Qt work with screen