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

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 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: 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 efficie

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 it'

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" and

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

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 improved

Re: Voting for std.experimental.checkedint

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

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

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 oth

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 meaning

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

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 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

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 agai

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 common,

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 a

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. Oo

[your code here]

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

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);

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 declare_a() { return "

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 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: 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 d

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 example (pardon my lack of creativity): // Ins

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 being able to hide that a function should be called with mixin. 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 tha

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 example (pardon my lack of creativi

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 actually

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 support

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: 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 cur

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 people

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: 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 kn

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 sta

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 impl

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 pro

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: 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 Debi

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: 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 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 someo

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

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 it

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 apparently

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 features