Re: updatesh.d now ready for download ;)

2015-02-12 Thread Laeeth Isharc via Digitalmars-d
On Sunday, 8 February 2015 at 10:58:40 UTC, Baz wrote: On Thursday, 29 January 2015 at 08:05:28 UTC, Laeeth Isharc wrote: On Wednesday, 28 January 2015 at 18:46:05 UTC, Benjamin Thaut wrote: Am 28.01.2015 um 18:05 schrieb Andrei Alexandrescu: On 1/28/15 9:01 AM, Benjamin Thaut wrote: On Wednes

Re: Somewhat off-topic: Nemiver

2015-02-12 Thread uri via Digitalmars-d
On Friday, 13 February 2015 at 07:42:41 UTC, weaselcat wrote: On Thursday, 12 February 2015 at 23:18:29 UTC, Brian Schott wrote: I've been looking for a graphical front-end for GDB that's not terrible, and I've found that Nemiver works pretty well. It's worth trying out if you're on Linux. ht

Re: Somewhat off-topic: Nemiver

2015-02-12 Thread weaselcat via Digitalmars-d
On Thursday, 12 February 2015 at 23:18:29 UTC, Brian Schott wrote: I've been looking for a graphical front-end for GDB that's not terrible, and I've found that Nemiver works pretty well. It's worth trying out if you're on Linux. https://wiki.gnome.org/Apps/Nemiver/Features Nemiver works perf

Re: Attributes lost in TypeInfo, please advise

2015-02-12 Thread Jakob Ovrum via Digitalmars-d
On Thursday, 12 February 2015 at 12:59:39 UTC, Steven Schveighoffer wrote: I think given the necessity of the above (which was not discussed or noticed in that bug report), we should add a way to call the true destructor properly in the compiler. -Steve I think these do the right thing with

Re: Inconsistent coding style in code examples

2015-02-12 Thread H. S. Teoh via Digitalmars-d
On Thu, Feb 12, 2015 at 10:47:28PM +, weaselcat via Digitalmars-d wrote: > On Thursday, 12 February 2015 at 20:22:42 UTC, H. S. Teoh wrote: > >On Thu, Feb 12, 2015 at 12:16:38PM -0800, Walter Bright via Digitalmars-d > >wrote: > >[...] > >>Me, for example, I very very rarely bother to report a

Somewhat off-topic: Nemiver

2015-02-12 Thread Brian Schott via Digitalmars-d
I've been looking for a graphical front-end for GDB that's not terrible, and I've found that Nemiver works pretty well. It's worth trying out if you're on Linux. https://wiki.gnome.org/Apps/Nemiver/Features

Re: Inconsistent coding style in code examples

2015-02-12 Thread weaselcat via Digitalmars-d
On Thursday, 12 February 2015 at 20:22:42 UTC, H. S. Teoh wrote: On Thu, Feb 12, 2015 at 12:16:38PM -0800, Walter Bright via Digitalmars-d wrote: [...] Me, for example, I very very rarely bother to report a bug in a product I use. The reason isn't because I am lazy (although I am). It's becaus

Re: Inconsistent coding style in code examples

2015-02-12 Thread Walter Bright via Digitalmars-d
On 2/12/2015 1:21 PM, ketmar wrote: i may never agree on some bugreports, but i feel that D community is very warm in accepting bug reports. and most of them either getting fixed, or at least i'm told why they aren't a bugs. i mean that reporting bugs to D bugzilla has the very visible effect, an

Re: Inconsistent coding style in code examples

2015-02-12 Thread Walter Bright via Digitalmars-d
On 2/12/2015 1:03 PM, H. S. Teoh via Digitalmars-d wrote: On Thu, Feb 12, 2015 at 12:55:40PM -0800, Walter Bright via Digitalmars-d wrote: It says it's easy to submit bug reports for D. Generally, I agree. But OTOH, we *did* have people complaining on the forums every now and then that they fo

Re: Inconsistent coding style in code examples

2015-02-12 Thread Walter Bright via Digitalmars-d
On 2/12/2015 1:12 PM, Vladimir Panteleev wrote: On Thursday, 12 February 2015 at 20:16:40 UTC, Walter Bright wrote: Me, for example, I very very rarely bother to report a bug in a product I use. The reason isn't because I am lazy (although I am). It's because companies make it hard to report a b

Re: math libraries

2015-02-12 Thread Ilya Yaroshenko via Digitalmars-d
Hi! 1. core.stdc.math - C math (sin(double), sinf(float), sinl(real)). This functions are linked to libm. 2. core.stdc.tgmath - C math overloads (single name for float/double/real). See also http://www.cplusplus.com/reference/ctgmath/ . This functions are link to libm. 3. core.math - Builtin ma

Re: Inconsistent coding style in code examples

2015-02-12 Thread ketmar via Digitalmars-d
On Thu, 12 Feb 2015 21:12:26 +, Vladimir Panteleev wrote: > On Thursday, 12 February 2015 at 20:16:40 UTC, Walter Bright wrote: >> Me, for example, I very very rarely bother to report a bug in a product >> I use. The reason isn't because I am lazy (although I am). It's because >> companies mak

Re: Inconsistent coding style in code examples

2015-02-12 Thread ketmar via Digitalmars-d
On Thu, 12 Feb 2015 12:16:38 -0800, Walter Bright wrote: > Why you did it doesn't matter. What matters is you did it and > contributed it. Also, just because it wasn't reported before doesn't > mean it wasn't happening to people. The vast majority will see a bug, > and just dump the compiler and m

Re: Inconsistent coding style in code examples

2015-02-12 Thread Vladimir Panteleev via Digitalmars-d
On Thursday, 12 February 2015 at 20:16:40 UTC, Walter Bright wrote: Me, for example, I very very rarely bother to report a bug in a product I use. The reason isn't because I am lazy (although I am). It's because companies make it hard to report a bug. If they want to act like they're doing me a

Re: Inconsistent coding style in code examples

2015-02-12 Thread H. S. Teoh via Digitalmars-d
On Thu, Feb 12, 2015 at 12:55:40PM -0800, Walter Bright via Digitalmars-d wrote: > On 2/12/2015 12:20 PM, H. S. Teoh via Digitalmars-d wrote: > >On Thu, Feb 12, 2015 at 12:16:38PM -0800, Walter Bright via Digitalmars-d > >wrote: > >[...] > >>Me, for example, I very very rarely bother to report a b

Re: Inconsistent coding style in code examples

2015-02-12 Thread Walter Bright via Digitalmars-d
On 2/12/2015 12:20 PM, H. S. Teoh via Digitalmars-d wrote: On Thu, Feb 12, 2015 at 12:16:38PM -0800, Walter Bright via Digitalmars-d wrote: [...] Me, for example, I very very rarely bother to report a bug in a product I use. The reason isn't because I am lazy (although I am). It's because compan

math libraries

2015-02-12 Thread Luc Bourhis via Digitalmars-d
What is the difference between (i) core.math, (ii) std.math, (iii) core.stdc.math and (iv) core.stdc.tgmath? (iv) falls back on (iii) as far as I can tell. (i) and (ii) seem to emit the same old x87 instructions, like fsin e.g., even for double and float. What's the difference? So that leaves

Re: Inconsistent coding style in code examples

2015-02-12 Thread H. S. Teoh via Digitalmars-d
On Thu, Feb 12, 2015 at 12:16:38PM -0800, Walter Bright via Digitalmars-d wrote: [...] > Me, for example, I very very rarely bother to report a bug in a > product I use. The reason isn't because I am lazy (although I am). > It's because companies make it hard to report a bug. If they want to > act

Re: Inconsistent coding style in code examples

2015-02-12 Thread Walter Bright via Digitalmars-d
On 2/12/2015 1:46 AM, ketmar wrote: On Wed, 11 Feb 2015 16:09:59 -0800, Walter Bright wrote: On 2/11/2015 3:34 PM, ketmar wrote: no, i didn't found anything else. with this patch dmd with wine works perfectly -- no crashes since then. Thanks again for finding the problem and posting a fix.

Re: brew, dmd ship ithout phobos

2015-02-12 Thread H. S. Teoh via Digitalmars-d
On Thu, Feb 12, 2015 at 06:08:30PM +, deadalnix via Digitalmars-d wrote: > On Thursday, 12 February 2015 at 13:29:12 UTC, John Colvin wrote: > >On Thursday, 12 February 2015 at 13:27:52 UTC, John Colvin wrote: > >>On Thursday, 12 February 2015 at 13:23:59 UTC, Vladimir Panteleev wrote: > >>>On

Re: brew, dmd ship ithout phobos

2015-02-12 Thread deadalnix via Digitalmars-d
On Thursday, 12 February 2015 at 13:29:12 UTC, John Colvin wrote: On Thursday, 12 February 2015 at 13:27:52 UTC, John Colvin wrote: On Thursday, 12 February 2015 at 13:23:59 UTC, Vladimir Panteleev wrote: On Thursday, 12 February 2015 at 13:08:34 UTC, John Colvin wrote: Does anyone know of a wa

Re: Create 'Get my all threads' link, it's better than look for something in Page one by one in 'forum.dlang.org'

2015-02-12 Thread Meta via Digitalmars-d
On Thursday, 12 February 2015 at 16:32:16 UTC, Baz wrote: On Thursday, 12 February 2015 at 14:12:00 UTC, FrankLike wrote: If you want to look for some old information,that was created by yourself,now you must look for it in Page one by one,it's slower than get it by a link 'Get my all threads'.

Re: Attributes lost in TypeInfo, please advise

2015-02-12 Thread Benjamin Thaut via Digitalmars-d
On Thursday, 12 February 2015 at 12:59:39 UTC, Steven Schveighoffer wrote: I think given the necessity of the above (which was not discussed or noticed in that bug report), we should add a way to call the true destructor properly in the compiler. -Steve Yes please. Its also going to genere

Re: Create 'Get my all threads' link, it's better than look for something in Page one by one in 'forum.dlang.org'

2015-02-12 Thread Baz via Digitalmars-d
On Thursday, 12 February 2015 at 14:12:00 UTC, FrankLike wrote: If you want to look for some old information,that was created by yourself,now you must look for it in Page one by one,it's slower than get it by a link 'Get my all threads'. Create a link 'Get my all threads' on http://forum.dlan

Re: RFC: std.*.concept convention

2015-02-12 Thread via Digitalmars-d
Just make sure that what is implemented is what is needed. I have gone over std.traits to see what is used in phobos and the following constraints appears not to be used at all: hasNested isAbstractClass isBasicType isBuiltinType isFinalClass isNested isTypeTuple isUnsafe And these only once:

Create 'Get my all threads' link, it's better than look for something in Page one by one in 'forum.dlang.org'

2015-02-12 Thread FrankLike via Digitalmars-d
If you want to look for some old information,that was created by yourself,now you must look for it in Page one by one,it's slower than get it by a link 'Get my all threads'. Create a link 'Get my all threads' on http://forum.dlang.org. Do you think it's better ? Thanks.

Re: brew, dmd ship ithout phobos

2015-02-12 Thread John Colvin via Digitalmars-d
On Thursday, 12 February 2015 at 13:23:59 UTC, Vladimir Panteleev wrote: On Thursday, 12 February 2015 at 13:08:34 UTC, John Colvin wrote: Does anyone know of a way to get dmd to print the path of the chosen dmd.conf? touch empty.d dmd -o- -v empty.d | grep ^config cheers. It would be great

Re: brew, dmd ship ithout phobos

2015-02-12 Thread John Colvin via Digitalmars-d
On Thursday, 12 February 2015 at 13:27:52 UTC, John Colvin wrote: On Thursday, 12 February 2015 at 13:23:59 UTC, Vladimir Panteleev wrote: On Thursday, 12 February 2015 at 13:08:34 UTC, John Colvin wrote: Does anyone know of a way to get dmd to print the path of the chosen dmd.conf? touch emp

Re: brew, dmd ship ithout phobos

2015-02-12 Thread Vladimir Panteleev via Digitalmars-d
On Thursday, 12 February 2015 at 13:08:34 UTC, John Colvin wrote: Does anyone know of a way to get dmd to print the path of the chosen dmd.conf? touch empty.d dmd -o- -v empty.d | grep ^config

Re: brew, dmd ship ithout phobos

2015-02-12 Thread John Colvin via Digitalmars-d
On Thursday, 12 February 2015 at 10:17:08 UTC, John Colvin wrote: On Thursday, 12 February 2015 at 03:19:59 UTC, deadalnix wrote: Hi all, I recently installed dmd from brew (a package manager for OSX). To my surprise, it ship without phobos, which makes it unusable. Additionally, phobos is no

Re: Attributes lost in TypeInfo, please advise

2015-02-12 Thread Steven Schveighoffer via Digitalmars-d
On 2/11/15 11:08 PM, Jakob Ovrum wrote: Consider the following: --- struct S { ~this() @safe {} } void foo() @safe { S s; // OK } void bar() @safe { S s; destroy(s); // test.d(15): Error: safe function 'test.bar' cannot call system function 'object.destroy!(S).des

Re: std.allocator ready for some abuse

2015-02-12 Thread Paulo Pinto via Digitalmars-d
On Thursday, 12 February 2015 at 08:56:53 UTC, ANtlord wrote: On Wednesday, 11 February 2015 at 15:56:07 UTC, Andrei Alexandrescu wrote: On 2/11/15 4:55 AM, ANtlord wrote: On Monday, 17 February 2014 at 15:49:27 UTC, Andrei Alexandrescu wrote: On 2/17/14, 5:55 AM, Dicebot wrote: Andrei, what i

Re: brew, dmd ship ithout phobos

2015-02-12 Thread John Colvin via Digitalmars-d
On Thursday, 12 February 2015 at 03:19:59 UTC, deadalnix wrote: Hi all, I recently installed dmd from brew (a package manager for OSX). To my surprise, it ship without phobos, which makes it unusable. Additionally, phobos is nowhere to be found in the package manager. Can someone look into

Re: Inconsistent coding style in code examples

2015-02-12 Thread ketmar via Digitalmars-d
On Wed, 11 Feb 2015 16:09:59 -0800, Walter Bright wrote: > On 2/11/2015 3:34 PM, ketmar wrote: >> no, i didn't found anything else. with this patch dmd with wine works >> perfectly -- no crashes since then. > > Thanks again for finding the problem and posting a fix. now i feel ashamed, 'cause i

Re: std.allocator ready for some abuse

2015-02-12 Thread ANtlord via Digitalmars-d
On Wednesday, 11 February 2015 at 15:56:07 UTC, Andrei Alexandrescu wrote: On 2/11/15 4:55 AM, ANtlord wrote: On Monday, 17 February 2014 at 15:49:27 UTC, Andrei Alexandrescu wrote: On 2/17/14, 5:55 AM, Dicebot wrote: Andrei, what is current state of std.allocator? I am asking this in context

Re: Unreachable statement, do or do not, there is no try

2015-02-12 Thread Idan Arye via Digitalmars-d
On Tuesday, 10 February 2015 at 20:37:16 UTC, Walter Bright wrote: On 2/9/2015 11:07 PM, deadalnix wrote: On Tuesday, 10 February 2015 at 07:01:18 UTC, Jacob Carlborg wrote: DMD will complain about the second example if warnings are enabled. Ok I think that answer the question. The thing is

Re: Inconsistent coding style in code examples

2015-02-12 Thread Mike Parker via Digitalmars-d
On 2/12/2015 3:51 AM, H. S. Teoh via Digitalmars-d wrote: On Wed, Feb 11, 2015 at 06:32:27PM +, Vladimir Panteleev via Digitalmars-d wrote: On Wednesday, 11 February 2015 at 18:30:13 UTC, H. S. Teoh wrote: but the fact that (1) I don't even have kindlegen, It's a free download. Not FOSS

Re: brew, dmd ship ithout phobos

2015-02-12 Thread deadalnix via Digitalmars-d
On Thursday, 12 February 2015 at 07:01:08 UTC, weaselcat wrote: On Thursday, 12 February 2015 at 03:19:59 UTC, deadalnix wrote: Hi all, I recently installed dmd from brew (a package manager for OSX). To my surprise, it ship without phobos, which makes it unusable. Additionally, phobos is nowh

Re: Proposal : aggregated dlang git repository

2015-02-12 Thread Dicebot via Digitalmars-d
On Thursday, 12 February 2015 at 07:35:07 UTC, Jacob Carlborg wrote: but that will pollute history of meta-repo with dozens of trivial commits every day making it hard to use it for any real code (and also relying on well-being of that daemon service). Will there be much "real" code in the m