Re: DConf 2016 offical presentation template

2016-04-21 Thread Craig Dillabaugh via Digitalmars-d
On Friday, 22 April 2016 at 01:53:02 UTC, Adam D. Ruppe wrote: On Friday, 22 April 2016 at 00:35:21 UTC, Mithun Hunsur wrote: supporting the presentation rather than _being_ the presentation). Powerpoints have a bad habit of damaging presentations rather than supporting them... I hate slid

Re: DConf 2016 offical presentation template

2016-04-21 Thread Adam D. Ruppe via Digitalmars-d
On Friday, 22 April 2016 at 00:35:21 UTC, Mithun Hunsur wrote: supporting the presentation rather than _being_ the presentation). Powerpoints have a bad habit of damaging presentations rather than supporting them... I hate slides. Focus on making interesting content and consider doing a ha

Re: DConf 2016 offical presentation template

2016-04-21 Thread welkam via Digitalmars-d
On Wednesday, 20 April 2016 at 07:53:53 UTC, Benjamin Thaut wrote: Many programmers (me included) are not good with picking colors and thus presentations usually don't look as good as they could. Ill just leave this here http://i2.wp.com/socialmediaguerilla.com/wp-content/uploads/2013/10/data-in

Re: DConf 2016 offical presentation template

2016-04-21 Thread Mithun Hunsur via Digitalmars-d
On Thursday, 21 April 2016 at 22:37:06 UTC, Walter Bright wrote: On 4/20/2016 12:53 AM, Benjamin Thaut wrote: Is there a official presentation template for Dconf 2016? If not it would be greate if someone could create one. Many programmers (me included) are not good with picking colors and thus

Re: Changelog entries as folder or in wiki

2016-04-21 Thread Seb via Digitalmars-d
On Thursday, 21 April 2016 at 03:09:43 UTC, Vladimir Panteleev wrote: On Wednesday, 20 April 2016 at 23:51:41 UTC, Seb wrote: Honestly I prefer 1) - the changelog entry can be approved & checked during the code review on Github and the reviewers can check that such an addition is provided in th

Re: DConf 2016 offical presentation template

2016-04-21 Thread Walter Bright via Digitalmars-d
On 4/20/2016 12:53 AM, Benjamin Thaut wrote: Is there a official presentation template for Dconf 2016? If not it would be greate if someone could create one. Many programmers (me included) are not good with picking colors and thus presentations usually don't look as good as they could. I found

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Johannes Pfau via Digitalmars-d
Am Thu, 21 Apr 2016 15:34:35 + schrieb Matthias Klumpp : > Hi, and thanks for your detailed explanations! You're welcome :-) > On Thursday, 21 April 2016 at 11:49:13 UTC, Johannes Pfau wrote: > > On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp > > wrote: > >> [...] > > > > Y

Re: Compiling with -profile=gc makes program crash - why?

2016-04-21 Thread Walter Bright via Digitalmars-d
On 4/21/2016 8:47 AM, Ivan Kazmenko wrote: Issue created: https://issues.dlang.org/show_bug.cgi?id=15947 Thank you.

Re: DConf 2016 offical presentation template

2016-04-21 Thread qznc via Digitalmars-d
On Wednesday, 20 April 2016 at 20:40:03 UTC, qznc wrote: On Wednesday, 20 April 2016 at 07:53:53 UTC, Benjamin Thaut wrote: Many programmers (me included) are not good with picking colors and thus presentations usually don't look as good as they could. My advice for "graphical-design-challeng

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Marco Leise via Digitalmars-d
> > You can only install headers for one library version with this > > approach! A versioned approach is nicer > > /usr/include/d/libfoo/1.0.0 but requires explicit compiler > > support and it's unlikely this will happen (or explicit dub > > support and you compile everything through dub). >

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Marco Leise via Digitalmars-d
Am Thu, 21 Apr 2016 15:34:35 + schrieb Matthias Klumpp : > That doesn't seem to be the case for LDC on Debian... It installs > Phobos into /usr/include/d/std, which makes GDC go crazy as soon > as LDC is installed too. See also: http://forum.dlang.org/post/mailman.1433.1460903305.26339.digi

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Marco Leise via Digitalmars-d
Am Thu, 21 Apr 2016 01:01:01 + schrieb Matthias Klumpp : > Hello! > Me bringing dub to Debian (and subsequently Ubuntu) has sparked > quite some interest in getting more D applications shipped in > Linux distributions. Having been in a similar situation years ago, I can share my experience

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Matthias Klumpp via Digitalmars-d
On Thursday, 21 April 2016 at 09:07:57 UTC, Johan Engelen wrote: On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp wrote: The question here is also, which compiler should be the default (which IMHO would be the most complete, most bug-free actively maintained one ^^). Is performan

Re: Compiling with -profile=gc makes program crash - why?

2016-04-21 Thread Ivan Kazmenko via Digitalmars-d
On Thursday, 21 April 2016 at 10:57:12 UTC, Ivan Kazmenko wrote: Humm, when I searched whether it should work, I only found a reassuring post by Walter[1] almost a year ago. The issue tracker does not seem to contain an entry either. Perhaps I should create one, then. [1] http://forum.dlang

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Matthias Klumpp via Digitalmars-d
On Thursday, 21 April 2016 at 11:58:23 UTC, Kagamin wrote: On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp wrote: [...] Many D users are enthusiasts and push the compiler to its limits, they are usually stuck with DMD (even DMD HEAD sometimes) as it provides the latest fixes. It

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Matthias Klumpp via Digitalmars-d
Hi, and thanks for your detailed explanations! On Thursday, 21 April 2016 at 11:49:13 UTC, Johannes Pfau wrote: On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp wrote: [...] You currently can't install druntime or phobos headers in this directory, as each compiler will have slight

Re: std.experimental.allocator.make should throw on out-of-memory

2016-04-21 Thread Thiez via Digitalmars-d
On Thursday, 21 April 2016 at 13:42:50 UTC, Era Scarecrow wrote: On Thursday, 21 April 2016 at 09:15:05 UTC, Thiez wrote: On Thursday, 21 April 2016 at 04:07:52 UTC, Era Scarecrow wrote: I'd say either you specify the amount of retries, or give some amount that would be acceptable for some bac

Re: std.experimental.allocator.make should throw on out-of-memory

2016-04-21 Thread Alex Parrill via Digitalmars-d
On Thursday, 21 April 2016 at 13:42:50 UTC, Era Scarecrow wrote: On Thursday, 21 April 2016 at 09:15:05 UTC, Thiez wrote: On Thursday, 21 April 2016 at 04:07:52 UTC, Era Scarecrow wrote: I'd say either you specify the amount of retries, or give some amount that would be acceptable for some bac

Re: final switch and straight integers

2016-04-21 Thread Marc Schütz via Digitalmars-d
On Thursday, 21 April 2016 at 12:45:34 UTC, Steven Schveighoffer wrote: On 4/19/16 6:04 PM, Stefan Koch wrote: On Tuesday, 19 April 2016 at 14:53:18 UTC, Steven Schveighoffer wrote: or we should do away with requiring handling all enum cases. Are you suggesting getting rid of final switch

Re: std.experimental.allocator unittest failures on Win32

2016-04-21 Thread Vladimir Panteleev via Digitalmars-d
On Wednesday, 20 April 2016 at 13:43:59 UTC, Vladimir Panteleev wrote: Hi, When I attempt to run the Phobos tests on my machine, I get the following: [...] Should anyone run into this, these disappeared after updating snn.lib.

Re: std.experimental.allocator.make should throw on out-of-memory

2016-04-21 Thread Era Scarecrow via Digitalmars-d
On Thursday, 21 April 2016 at 09:15:05 UTC, Thiez wrote: On Thursday, 21 April 2016 at 04:07:52 UTC, Era Scarecrow wrote: I'd say either you specify the amount of retries, or give some amount that would be acceptable for some background program to retry for. Say, 30 seconds. Would that actua

Re: Compiling with -profile=gc makes program crash - why?

2016-04-21 Thread jmh530 via Digitalmars-d
On Thursday, 21 April 2016 at 09:23:26 UTC, tcak wrote: You are using "spawn". So it is a multithreaded program. -profile=gc doesn't work with multithreadd programs. Always creates problems. Then it would probably help if that is mentioned on this page somewhere. https://dlang.org/dmd-wind

Re: DConf 2016 offical presentation template

2016-04-21 Thread Steven Schveighoffer via Digitalmars-d
On 4/20/16 3:53 AM, Benjamin Thaut wrote: Is there a official presentation template for Dconf 2016? If not it would be greate if someone could create one. Many programmers (me included) are not good with picking colors and thus presentations usually don't look as good as they could. Kind Regards

Re: final switch and straight integers

2016-04-21 Thread Steven Schveighoffer via Digitalmars-d
On 4/20/16 4:23 AM, Johan Engelen wrote: On Wednesday, 20 April 2016 at 06:36:01 UTC, bearophile wrote: It's easy to cover all the values in a switch, using ranges. Not as easy as you would think: int i; switch(i) { case 0: .. case 9: break; case 10: .

Throw static exception - Re: std.experimental.allocator.make should throw on out-of-memory

2016-04-21 Thread Nick Treleaven via Digitalmars-d
On Wednesday, 20 April 2016 at 19:32:01 UTC, Basile Burg wrote: a system exist to throw @nogc exceptions that would work in this case (the message doesn't have to be customized so it can be static): @nogc @safe void throwStaticEx(T, string file = __FILE__, size_t line = __LINE__)() { sta

Re: final switch and straight integers

2016-04-21 Thread Steven Schveighoffer via Digitalmars-d
On 4/19/16 6:04 PM, Stefan Koch wrote: On Tuesday, 19 April 2016 at 14:53:18 UTC, Steven Schveighoffer wrote: or we should do away with requiring handling all enum cases. Are you suggesting getting rid of final switch ? No, what I'm suggesting is that final switch behave consistently. For

Re: Changelog entries as folder or in wiki

2016-04-21 Thread Steven Schveighoffer via Digitalmars-d
On 4/20/16 11:09 PM, Vladimir Panteleev wrote: On Wednesday, 20 April 2016 at 23:51:41 UTC, Seb wrote: Honestly I prefer 1) - the changelog entry can be approved & checked during the code review on Github and the reviewers can check that such an addition is provided in the PR. On a new release w

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Kagamin via Digitalmars-d
On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp wrote: ## How complete are the free compilers? This is an important question, because we would need to know whether we can expect D code to be compiled by any compiler, or whether there are tradeoffs that must be made. This question is

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Johannes Pfau via Digitalmars-d
On Thursday, 21 April 2016 at 11:49:13 UTC, Johannes Pfau wrote: I'd love to have some extended compiler support (so you could simply do gdc -use=libfoo:1.0.0 and this would pick up the correct headers and linker flags). But as some DMD maintainers are opposed to this idea it won't happen. You'

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Johannes Pfau via Digitalmars-d
On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp wrote: ## Where should D source-code / D interfaces be put? If I install a D library or source-only module as a distribution package, where should the sources be put? So far, I have seen: * /usr/include/d * /usr/include/dlang/ * /u

Re: DConf 2016 offical presentation template

2016-04-21 Thread Antonio Corbi via Digitalmars-d
On Thursday, 21 April 2016 at 00:55:34 UTC, Andrei Alexandrescu wrote: qznc wrote: On Wednesday, 20 April 2016 at 07:53:53 UTC, Benjamin Thaut wrote: Many programmers (me included) are not good with picking colors and thus presentations usually don't look as good as they could. My advice fo

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Johannes Pfau via Digitalmars-d
On Thursday, 21 April 2016 at 08:30:59 UTC, John Colvin wrote: On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp wrote: ## How complete are the free compilers? ## Why is every D compiler shipping an own version of Phobos? The constraints on shipping a shared phobos between them: ABI c

Re: Compiling with -profile=gc makes program crash - why?

2016-04-21 Thread Ivan Kazmenko via Digitalmars-d
On Thursday, 21 April 2016 at 09:23:26 UTC, tcak wrote: I'm trying to use DMD option "-profile=gc". You are using "spawn". So it is a multithreaded program. -profile=gc doesn't work with multithreadd programs. Always creates problems. Humm, when I searched whether it should work, I only fo

Re: about destroy and delete.

2016-04-21 Thread Dsby via Digitalmars-d
On Wednesday, 20 April 2016 at 09:00:41 UTC, Daniel Kozak wrote: On Wednesday, 20 April 2016 at 08:10:15 UTC, Dsby wrote: I see https://dlang.org/deprecate.html#delete ... so, I want to know why don't destroy direct printf ? if you call destroy on struct pointer it is same as assign null to i

Re: [PRs] How to update on Github

2016-04-21 Thread Nick Treleaven via Digitalmars-d
On Tuesday, 19 April 2016 at 13:34:24 UTC, John Colvin wrote: On Tuesday, 19 April 2016 at 13:05:35 UTC, tcak wrote: I would recommend making a copy of the whole repository locally before any of that just in case you mess something up, at least while you're not as confident with git. Isn't i

Re: Compiling with -profile=gc makes program crash - why?

2016-04-21 Thread tcak via Digitalmars-d
On Wednesday, 20 April 2016 at 22:31:31 UTC, Ivan Kazmenko wrote: On Wednesday, 20 April 2016 at 22:27:36 UTC, Ivan Kazmenko wrote: I'm trying to use DMD option "-profile=gc". With this option, the following simple program crashes with 2.071.0 down to 2.069.0 but still works on 2.068.2. The c

Re: std.experimental.allocator.make should throw on out-of-memory

2016-04-21 Thread Thiez via Digitalmars-d
On Thursday, 21 April 2016 at 04:07:52 UTC, Era Scarecrow wrote: I'd say either you specify the amount of retries, or give some amount that would be acceptable for some background program to retry for. Say, 30 seconds. Would that actually be more helpful than simply printing an OOM message a

Re: final switch and straight integers

2016-04-21 Thread Dominikus Dittes Scherkl via Digitalmars-d
On Wednesday, 20 April 2016 at 17:42:03 UTC, Basile Burg wrote: On Wednesday, 20 April 2016 at 10:19:17 UTC, Dominikus Dittes Scherkl wrote: Anyway, something need to be changed. a) allow Range Cases (nice for ints but bad idea for enums) b) require also non-enum types to explicitly state all c

Re: Distributor's whishlist and questions for D

2016-04-21 Thread Johan Engelen via Digitalmars-d
On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp wrote: The question here is also, which compiler should be the default (which IMHO would be the most complete, most bug-free actively maintained one ^^). Is performance of the outputted code a criterium? Or the number of supported

Re: Distributor's whishlist and questions for D

2016-04-21 Thread John Colvin via Digitalmars-d
On Thursday, 21 April 2016 at 01:01:01 UTC, Matthias Klumpp wrote: ## How complete are the free compilers? ## Why is every D compiler shipping an own version of Phobos? These two can be answered at once. LDC and GDC share the same frontend code as DMD, but not the glue layer and backend (don't

Re: Gnome Builder IDE

2016-04-21 Thread Russel Winder via Digitalmars-d
On Wed, 2016-04-20 at 17:21 +, Karabuta via Digitalmars-d wrote: > […] > > Works well for Fedora 23 in software centre. I will recommended  > Fedora 24 for 3.20 I have submitted a bug report for the failure on Fedora Rawhide. -- Russel. ==

Re: DConf Lightning talk submissions

2016-04-21 Thread Walter Bright via Digitalmars-d
On 4/20/2016 5:08 AM, Atila Neves wrote: I have an idea already, are they being accepted or only in Berlin? Since we may get to 150 people attending, we have to be a little more organized about this than usual :-) An awful lot of the attendees have names I don't recognize, so they may not be