Re: Live streaming of DConf 2016: confirmed

2016-05-04 Thread Dženis Kiderič via Digitalmars-d-announce
On Wednesday, 4 May 2016 at 09:04:38 UTC, Dicebot wrote: On Wednesday, 4 May 2016 at 08:33:47 UTC, Joakim wrote: There appears to be a problem with the sound on Ustream with Android, at least for me: there is none. I've tried it on a Sony phone and a Samsung tablet, both with the HTML5 player

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread cym13 via Digitalmars-d
On Wednesday, 4 May 2016 at 09:28:41 UTC, Chris wrote: On Wednesday, 4 May 2016 at 05:27:43 UTC, tsbockman wrote: On Wednesday, 4 May 2016 at 05:19:35 UTC, Joe Duarte wrote: I remember that Rob Pike explained why Go requires braces by recounting how at Google their tools sometimes lost or

Re: Code example for function/delegate as template argument ?

2016-05-04 Thread chmike via Digitalmars-d-learn
I think you misunderstood the second question. Here is another attempt with an example. // function accepting a function as argument void foo(function void fg(int)) { fg(5); } // A class with a none static method with the same signature as the argument function of foo class Bar {

Re: Code example for function/delegate as template argument ?

2016-05-04 Thread H. S. Teoh via Digitalmars-d-learn
On Wed, May 04, 2016 at 06:21:36AM +, chmike via Digitalmars-d-learn wrote: > Hello, > > I failed to find some code example for a template class/struct that > accept a function/delegate as template argument. All examples I could > find use simple value types like int or double. The usual way

Re: Stacktraces in static constructors

2016-05-04 Thread Benjamin Thaut via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 06:37:28 UTC, Nordlöw wrote: On Tuesday, 3 May 2016 at 12:31:10 UTC, Benjamin Thaut wrote: I assume this is on windows? Yes its a known issue (I know No, the problem occurs on my Linux aswell. From core.runtime: static this() { // NOTE: Some module ctors

Re: Live streaming of DConf 2016: confirmed

2016-05-04 Thread Joakim via Digitalmars-d-announce
On Wednesday, 4 May 2016 at 09:13:12 UTC, Dženis Kiderič wrote: On Wednesday, 4 May 2016 at 09:04:38 UTC, Dicebot wrote: On Wednesday, 4 May 2016 at 08:33:47 UTC, Joakim wrote: There appears to be a problem with the sound on Ustream with Android, at least for me: there is none. I've tried it

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Chris via Digitalmars-d
On Wednesday, 4 May 2016 at 05:27:43 UTC, tsbockman wrote: On Wednesday, 4 May 2016 at 05:19:35 UTC, Joe Duarte wrote: I remember that Rob Pike explained why Go requires braces by recounting how at Google their tools sometimes lost or damaged the indentation in Python source files, breaking

Re: ubyte[] -> immutable(ubyte)[]

2016-05-04 Thread Steven Schveighoffer via Digitalmars-d-learn
On 5/3/16 5:31 PM, vino wrote: On Friday, 10 September 2010 at 15:15:38 UTC, Andrej Mitrovic wrote: Yeah, one would think the destination is on the left (just like the standard C way of doing it), but it's not. I checked it in the docs and the source. And idup works, thanks. Kagamin Wrote:

Re: Code example for function/delegate as template argument ?

2016-05-04 Thread Basile B. via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 11:19:59 UTC, chmike wrote: I think you misunderstood the second question. Here is another attempt with an example. // function accepting a function as argument void foo(function void fg(int)) { fg(5); } // A class with a none static method with the same

Re: Strange stack variable corruption error after calling extern(C) function

2016-05-04 Thread Benjamin Thaut via Digitalmars-d-learn
On Tuesday, 3 May 2016 at 19:06:30 UTC, cc wrote: it fails to link with "Error 42: Symbol Undefined _FMOD_System_CreateSound@20". With extern(C) it compiles and runs but the problem from above persists. Is this on Windows x64? Try replacing FMOD_RESULT by int. When declaring the fmod

Re: Some questions on latest work

2016-05-04 Thread Bienlein via Digitalmars-d
On Tuesday, 3 May 2016 at 19:54:06 UTC, tsbockman wrote: On Friday, 29 April 2016 at 10:06:06 UTC, Bienlein wrote: All right, thanks for the hint. Is there a timeline till when this DIP will be implemented? No; that particular solution might never be implemented at all. Getting safe

Re: Live streaming of DConf 2016: confirmed

2016-05-04 Thread munrek via Digitalmars-d-announce
On Tuesday, 3 May 2016 at 22:45:45 UTC, dilkROM wrote: Yes, correct! There are currently three places to view the stream: Sociomantic Facebook: https://www.facebook.com/sociomantic/app/190322544333196/ Sociomantic Website:

Re: Live streaming of DConf 2016: confirmed

2016-05-04 Thread Dicebot via Digitalmars-d-announce
On Wednesday, 4 May 2016 at 08:33:47 UTC, Joakim wrote: There appears to be a problem with the sound on Ustream with Android, at least for me: there is none. I've tried it on a Sony phone and a Samsung tablet, both with the HTML5 player in the browser and the Android app. All other streams

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Tobias Pankrath via Digitalmars-d
On Wednesday, 4 May 2016 at 08:48:58 UTC, deadalnix wrote: It should be obvious that curly braces are a symbol of femininity, and it is why it is often unfairly neglected by community of programmers that perpetuate societal schema of patriarchal oppression. Attributing a redundant element

Re: What can cause error: Previous Definition Different

2016-05-04 Thread Suliman via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 10:01:54 UTC, Suliman wrote: After some minor modification of my code I begun to get error: Error 1: Previous Definition Different : _D3app14onlinetestdataFC4vibe4http6server17HTTPServerRequestC4vibe4http6server18HTTPServerResponseZv Here is my code:

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Chris via Digitalmars-d
On Wednesday, 4 May 2016 at 11:03:46 UTC, cym13 wrote: On Wednesday, 4 May 2016 at 09:28:41 UTC, Chris wrote: [1] Consider the following code, which will work correctly: x = 5 if x < 6: print "Checking value" print "%d is less than 6" % x Now look at this: x = 10 if x < 6: print

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread deadalnix via Digitalmars-d
On Tuesday, 3 May 2016 at 03:48:09 UTC, Joe Duarte wrote: Hi all, I'm a social scientist and I'm preparing some studies on the effects of programming language syntax on learning, motivation to pursue programming, as well as any disproportionate effects that PL syntax has on the appeal of

Re: DConf 2015 livestreaming day 1: post feedback here

2016-05-04 Thread dilkROM via Digitalmars-d
On Thursday, 28 May 2015 at 03:17:20 UTC, Rikki Cattermole wrote: On 28/05/2015 12:54 p.m., Andrei Alexandrescu wrote: John Colvin's experiment is great and we want to make it a full success. Please post here feedback and suggestions for tomorrow's DConf streaming. Thanks! -- Andrei Just a

Re: Some questions on latest work

2016-05-04 Thread Bruno Medeiros via Digitalmars-d
On 01/05/2016 08:35, Bill Hicks wrote: On Wednesday, 27 April 2016 at 18:08:20 UTC, Steven Schveighoffer wrote: On 4/27/16 1:56 PM, Bill Hicks wrote: On Wednesday, 27 April 2016 at 15:14:17 UTC, Steven Schveighoffer wrote: I'm just gonna leave this here.

What can cause error: Previous Definition Different

2016-05-04 Thread Suliman via Digitalmars-d-learn
After some minor modification of my code I begun to get error: Error 1: Previous Definition Different : _D3app14onlinetestdataFC4vibe4http6server17HTTPServerRequestC4vibe4http6server18HTTPServerResponseZv Here is my code: https://gist.github.com/bubnenkoff/db0632bb14eebb7690b6563c47395831

Re: Some questions on latest work

2016-05-04 Thread Gary Willoughby via Digitalmars-d
On Sunday, 1 May 2016 at 07:35:43 UTC, Bill Hicks wrote: ... https://www.reddit.com/r/iamverysmart

Re: Code example for function/delegate as template argument ?

2016-05-04 Thread chmike via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 06:59:00 UTC, Basile B. wrote: . . . void main(string[] args) { alias fun = (a) => a.writeln; auto foo = Foo!fun("hello"); } Is this equivalent to Foo!(a => a.writeln) or is it required to split this in two instructions as you did ? I also thought the

Re: Live streaming of DConf 2016: confirmed

2016-05-04 Thread Robert M. Münch via Digitalmars-d-announce
On 2016-05-03 22:45:45 +, dilkROM said: Yes, correct! There are currently three places to view the stream: Sociomantic Facebook: https://www.facebook.com/sociomantic/app/190322544333196/ Sociomantic Website: https://www.sociomantic.com/blog/2016/05/follow-dconf-2016-in-real-time/

Re: Code example for function/delegate as template argument ?

2016-05-04 Thread Basile B. via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 10:58:04 UTC, chmike wrote: On Wednesday, 4 May 2016 at 06:59:00 UTC, Basile B. wrote: . . . void main(string[] args) { alias fun = (a) => a.writeln; auto foo = Foo!fun("hello"); } Is this equivalent to Foo!(a => a.writeln) or is it required to split this

[Issue 15966] [REG 2.071] {public,protected} imports in base class ignored on symbol lookup

2016-05-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15966 Martin Nowak changed: What|Removed |Added CC||c...@dawg.eu

[Issue 7556] toUTF16z and others duplicated in rt.util.uft and std.utf

2016-05-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7556 Jack Stouffer changed: What|Removed |Added Status|NEW |RESOLVED

DConf 2016 speakers: please add your slides beforehand

2016-05-04 Thread Andrei Alexandrescu via Digitalmars-d-announce
The video's resolution makes it difficult to follow in real time. Use this example: https://github.com/dlang/dconf.org/pull/116. Thanks! -- Andrei

[Issue 15684] secure wiki formatting

2016-05-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15684 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED

Re: Code example for function/delegate as template argument ?

2016-05-04 Thread chmike via Digitalmars-d-learn
Thank you Basile and Teoh.

Re: Gnome Builder IDE

2016-05-04 Thread WebFreak001 via Digitalmars-d
On Monday, 2 May 2016 at 11:17:27 UTC, Karabuta wrote: On Sunday, 1 May 2016 at 16:21:16 UTC, WebFreak001 wrote: On Tuesday, 19 April 2016 at 16:29:41 UTC, Karabuta wrote: Anyone tried this IDE for D coding? Seems to work pretty well. It deserves some D attention.

Re: DConf 2015 livestreaming day 1: post feedback here

2016-05-04 Thread xtreak via Digitalmars-d
On Thursday, 28 May 2015 at 00:54:30 UTC, Andrei Alexandrescu wrote: John Colvin's experiment is great and we want to make it a full success. Please post here feedback and suggestions for tomorrow's DConf streaming. Thanks! -- Andrei Relevant post at Reddit :

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread qznc via Digitalmars-d
On Tuesday, 3 May 2016 at 22:17:18 UTC, cym13 wrote: That has direct consequences on our problem. The fact that Python's function become harder to work with when they become bigger is a tool, and a useful one. When your Python code becomes hard to work with it raises a flag : “Stop where you

[Issue 15991] New: std.datetime.StopWatch is not @nogc

2016-05-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15991 Issue ID: 15991 Summary: std.datetime.StopWatch is not @nogc Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement

Re: dmd 1.075 and 2.060 release

2016-05-04 Thread WebFreak001 via Digitalmars-d-announce
cool!

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread deadalnix via Digitalmars-d
On Wednesday, 4 May 2016 at 09:04:34 UTC, Tobias Pankrath wrote: On Wednesday, 4 May 2016 at 08:48:58 UTC, deadalnix wrote: It should be obvious that curly braces are a symbol of femininity, and it is why it is often unfairly neglected by community of programmers that perpetuate societal

Re: what's wrong with my class?

2016-05-04 Thread Jonathan Villa via Digitalmars-d-learn
On Thursday, 5 May 2016 at 00:03:34 UTC, Brian Schott wrote: On Wednesday, 4 May 2016 at 23:19:08 UTC, Jonathan Villa wrote: What I'm doing wrong? :< All right. D's type system is marking the `Session` constructor as `shared`. This makes the check `static if

500,000 non-Zimbabwean dollars

2016-05-04 Thread tsbockman via Digitalmars-d
Since the D foundation is getting some real money soon, how about spending a little of it on a faster Windows 64-bit auto-tester server? It's rather unfortunate that when things get busy, practically the only way to get the W64 tester to run, is to have auto-merge toggled on for your PR.

what's wrong with my class?

2016-05-04 Thread Jonathan Villa via Digitalmars-d-learn
... import std.experimental.allocator : make, dispose; import std.experimental.allocator.mallocator : Mallocator; public synchronized class Session { private: ASI parent; cUser user; public: static Session create(ASI _parent, accounts.user.id_user_t id_user)

Re: what's wrong with my class?

2016-05-04 Thread Brian Schott via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 23:34:52 UTC, Jonathan Villa wrote: On Wednesday, 4 May 2016 at 23:33:28 UTC, Brian Schott wrote: On Wednesday, 4 May 2016 at 23:19:08 UTC, Jonathan Villa wrote: What I'm doing wrong? :< I see that the types of `id_user` aren't necessarily the same between

Re: what's wrong with my class?

2016-05-04 Thread Brian Schott via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 23:19:08 UTC, Jonathan Villa wrote: What I'm doing wrong? :< All right. D's type system is marking the `Session` constructor as `shared`. This makes the check `static if (is(typeof(result.__ctor(args` in std.conv.emplace fail because `result` is a non-shared

Re: DConf2016 Livestream questions

2016-05-04 Thread Steven Schveighoffer via Digitalmars-d
On 5/4/16 7:32 PM, Jack Stouffer wrote: On Wednesday, 4 May 2016 at 17:23:01 UTC, Steven Schveighoffer wrote: So this really isn't something that's super-important to solve. Do you have a specific use case? -Steve Well, in most cases the length function should be marked const because it

Re: DConf 2016 speakers: please add your slides beforehand

2016-05-04 Thread Ed via Digitalmars-d-announce
On Wednesday, 4 May 2016 at 14:34:22 UTC, Andrei Alexandrescu wrote: The video's resolution makes it difficult to follow in real time. Use this example: https://github.com/dlang/dconf.org/pull/116. Thanks! -- Andrei http://dconf.org/2016/talks/thaut.pdf broken.

Re: what's wrong with my class?

2016-05-04 Thread Jonathan Villa via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 23:33:28 UTC, Brian Schott wrote: On Wednesday, 4 May 2016 at 23:19:08 UTC, Jonathan Villa wrote: What I'm doing wrong? :< I see that the types of `id_user` aren't necessarily the same between `create` and `this`. Oh, they are indeed same (alias). I wrote uint

Re: what's wrong with my class?

2016-05-04 Thread Brian Schott via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 23:19:08 UTC, Jonathan Villa wrote: What I'm doing wrong? :< I see that the types of `id_user` aren't necessarily the same between `create` and `this`.

Re: Accepting function or delegate as function argument

2016-05-04 Thread Adam D. Ruppe via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 14:54:39 UTC, chmike wrote: Two constructors, one accepting a function and the other one accepting a delegate would do the job for the API. Is there a simple method to convert a function pointer into a delegate pointer that is also efficient ? Do the overload and

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Kagamin via Digitalmars-d
On Tuesday, 3 May 2016 at 03:48:09 UTC, Joe Duarte wrote: I'm a social scientist and I'm preparing some studies on the effects of programming language syntax on learning, motivation to pursue programming, as well as any disproportionate effects that PL syntax has on the appeal of programming

[Issue 7556] toUTF16z and others duplicated in rt.util.uft and std.utf

2016-05-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7556 yebblies changed: What|Removed |Added Resolution|INVALID |WORKSFORME --

Re: DConf 2015 livestreaming day 1: post feedback here

2016-05-04 Thread xtreak via Digitalmars-d
On Wednesday, 4 May 2016 at 15:26:18 UTC, Vladimir Panteleev wrote: On Thursday, 28 May 2015 at 00:54:30 UTC, Andrei Alexandrescu wrote: John Colvin's experiment is great and we want to make it a full success. Please post here feedback and suggestions for tomorrow's DConf streaming. Thanks! --

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Nick Sabalausky via Digitalmars-d
On 05/04/2016 10:23 AM, deadalnix wrote: We need to acknowledge that there are system of oppression that keep women and people of color out of programming, Hard to tell for certain, but you ARE being sarcastic/joking about this, right? It's touchy, because I've come across people who

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Chris via Digitalmars-d
On Wednesday, 4 May 2016 at 14:23:20 UTC, deadalnix wrote: Are you seriously saying that element of femininity in the grammar are redundant ? I'm so triggered right now ! Stop mainsplaining, shitlord ! We need to acknowledge that there are system of oppression that keep women and people of

Re: DConf 2015 livestreaming day 1: post feedback here

2016-05-04 Thread Jack Stouffer via Digitalmars-d
On Thursday, 28 May 2015 at 00:54:30 UTC, Andrei Alexandrescu wrote: John Colvin's experiment is great and we want to make it a full success. Please post here feedback and suggestions for tomorrow's DConf streaming. Thanks! -- Andrei The chat for UStream is sporadic and mostly broken. I

Accepting function or delegate as function argument

2016-05-04 Thread chmike via Digitalmars-d-learn
I have implemented the following class (simplified ;) ) class Foo(K,T) { this(T delegate (K) factory) { m_factory = factory; } T delegate (K) m_factory; T bar(K key) { return m_factory(key); } } string dummyFactory(string key) { return "Hello "~key; } void main() { auto

Re: Accepting function or delegate as function argument

2016-05-04 Thread Rene Zwanenburg via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 14:54:39 UTC, chmike wrote: Two constructors, one accepting a function and the other one accepting a delegate would do the job for the API. Is there a simple method to convert a function pointer into a delegate pointer that is also efficient ?

Re: DConf 2015 livestreaming day 1: post feedback here

2016-05-04 Thread Jack Stouffer via Digitalmars-d
On Thursday, 28 May 2015 at 00:54:30 UTC, Andrei Alexandrescu wrote: John Colvin's experiment is great and we want to make it a full success. Please post here feedback and suggestions for tomorrow's DConf streaming. Thanks! -- Andrei I don't know if it's the camera or the streaming site

Re: DConf 2015 livestreaming day 1: post feedback here

2016-05-04 Thread Vladimir Panteleev via Digitalmars-d
On Thursday, 28 May 2015 at 00:54:30 UTC, Andrei Alexandrescu wrote: John Colvin's experiment is great and we want to make it a full success. Please post here feedback and suggestions for tomorrow's DConf streaming. Thanks! -- Andrei Just a FYI to everyone posting in this thread, this thread

Re: DConf 2016 speakers: please add your slides beforehand

2016-05-04 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/4/16 4:34 PM, Andrei Alexandrescu wrote: The video's resolution makes it difficult to follow in real time. Use this example: https://github.com/dlang/dconf.org/pull/116. Thanks! -- Andrei Forgot to mention - slideshare.net is also totally fine, either instead of, or in addition to,

Re: DConf 2015 livestreaming day 1: post feedback here

2016-05-04 Thread qznc via Digitalmars-d
On Thursday, 28 May 2015 at 00:54:30 UTC, Andrei Alexandrescu wrote: John Colvin's experiment is great and we want to make it a full success. Please post here feedback and suggestions for tomorrow's DConf streaming. Thanks! -- Andrei There should be a prominent link on the dconf website

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread deadalnix via Digitalmars-d
On Wednesday, 4 May 2016 at 15:46:13 UTC, Nick Sabalausky wrote: On 05/04/2016 10:23 AM, deadalnix wrote: We need to acknowledge that there are system of oppression that keep women and people of color out of programming, Hard to tell for certain, but you ARE being sarcastic/joking about

Re: Gnome Builder IDE

2016-05-04 Thread Mike Wey via Digitalmars-d
On 05/04/2016 03:51 PM, WebFreak001 wrote: On Monday, 2 May 2016 at 11:17:27 UTC, Karabuta wrote: On Sunday, 1 May 2016 at 16:21:16 UTC, WebFreak001 wrote: On Tuesday, 19 April 2016 at 16:29:41 UTC, Karabuta wrote: Anyone tried this IDE for D coding? Seems to work pretty well. It deserves

ATTN Chris

2016-05-04 Thread Laeeth Isharc via Digitalmars-d
Chris, If you happen to be at dconf, it would be great to have a chat about NLP and D. Sorry to post to forum, but I don't have your email. Laeeth

Re: [OT] Are there any jobs for D?

2016-05-04 Thread Laeeth Isharc via Digitalmars-d
On Monday, 2 May 2016 at 23:08:02 UTC, Tofu Ninja wrote: I am going to be graduating soon and figured it would be cool to see if there were any jobs for D. Where would one look? Hi Tofu. Drop me a line Laeeth At Kaleidic Dot Io

Re: DConf2016 Livestream questions

2016-05-04 Thread Jack Stouffer via Digitalmars-d
On Wednesday, 4 May 2016 at 17:23:01 UTC, Steven Schveighoffer wrote: So this really isn't something that's super-important to solve. Do you have a specific use case? -Steve Well, in most cases the length function should be marked const because it usually doesn't modify the struct in any

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Nick Sabalausky via Digitalmars-d
On 05/04/2016 12:16 PM, deadalnix wrote: On Wednesday, 4 May 2016 at 15:46:13 UTC, Nick Sabalausky wrote: On 05/04/2016 10:23 AM, deadalnix wrote: We need to acknowledge that there are system of oppression that keep women and people of color out of programming, Hard to tell for certain, but

Re: Strange stack variable corruption error after calling extern(C) function

2016-05-04 Thread cc via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 09:40:55 UTC, Benjamin Thaut wrote: On Tuesday, 3 May 2016 at 19:06:30 UTC, cc wrote: it fails to link with "Error 42: Symbol Undefined _FMOD_System_CreateSound@20". With extern(C) it compiles and runs but the problem from above persists. Is this on Windows

Re: Walter's Famous German Language Essentials Guide

2016-05-04 Thread Laeeth Isharc via Digitalmars-d
On Tuesday, 3 May 2016 at 08:53:49 UTC, Claude wrote: LOL. Well, every language has its quirks - especially with the commonly used words (they probably get munged the most over time, because they get used the most), but I've found that French is far more consistent than English - especially

DConf2016 Livestream questions

2016-05-04 Thread Steven Schveighoffer via Digitalmars-d
(moved from the old 2015 thread) On 5/4/16 5:44 PM, Jack Stouffer wrote: > On Thursday, 28 May 2015 at 00:54:30 UTC, Andrei Alexandrescu wrote: >> John Colvin's experiment is great and we want to make it a full >> success. Please post here feedback and suggestions for tomorrow's >> DConf

Re: DConf 2016 livestreaming day 1: post feedback here

2016-05-04 Thread Joakim via Digitalmars-d
On Wednesday, 4 May 2016 at 09:27:38 UTC, dilkROM wrote: On Thursday, 28 May 2015 at 03:17:20 UTC, Rikki Cattermole wrote: On 28/05/2015 12:54 p.m., Andrei Alexandrescu wrote: John Colvin's experiment is great and we want to make it a full success. Please post here feedback and suggestions

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread tsbockman via Digitalmars-d
On Wednesday, 4 May 2016 at 17:42:01 UTC, Nick Sabalausky wrote: On 05/04/2016 12:16 PM, deadalnix wrote: On Wednesday, 4 May 2016 at 15:46:13 UTC, Nick Sabalausky wrote: Hard to tell for certain, but you ARE being sarcastic/joking about this, right? The concept of sarcasm plays a central

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread tsbockman via Digitalmars-d
On Wednesday, 4 May 2016 at 05:45:39 UTC, ag0aep6g wrote: On 04.05.2016 07:27, tsbockman wrote: Without any redundancy in the syntax, minor corruption of the code could easily result in a program that still "works" - that is, compiles and runs without producing an error message - but whose

Re: lldb on os x: can't display stack variable

2016-05-04 Thread Jack Stouffer via Digitalmars-d-debugger
On Sunday, 1 May 2016 at 10:17:23 UTC, yawniek wrote: is there a way to make lldb work on os x? Short answer: no. There is something wrong with the debug info on OS X that's essentially broken: https://issues.dlang.org/show_bug.cgi?id=14927

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread ag0aep6g via Digitalmars-d
On 04.05.2016 20:11, tsbockman wrote: In D, if a single curly brace goes missing, the braces will no longer balance and the lexer will complain. In Python, if a single tab goes missing, the result may well be a lexically and syntactically valid - but buggy - program. That makes a ton of sense,

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Anon via Digitalmars-d
On Wednesday, 4 May 2016 at 15:46:13 UTC, Nick Sabalausky wrote: It's touchy, because I've come across people who actually do genuinely believe the field has things in place deliberately to exclude women/ethnicities...even though...those VERY SAME people have never once been able to provide a

[Issue 15992] New: [REG2.072a] dmd: todt.c:787: void membersToDt(AggregateDeclaration*, DtBuilder&, Expressions*, size_t, ClassDeclaration*, BaseClass***): Assertion `vd->semanticRun >= PASSsemantic2d

2016-05-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15992 Issue ID: 15992 Summary: [REG2.072a] dmd: todt.c:787: void membersToDt(AggregateDeclaration*, DtBuilder&, Expressions*, size_t, ClassDeclaration*, BaseClass***):

Re: GSoC 2016 - Precise GC

2016-05-04 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 4 May 2016 at 02:50:08 UTC, Jeremy DeHaan wrote: I'm not sure, but one would thing that @safe code wouldn't need any extra information about the union. I wouldn't know how to differentiate between them though during runtime. Probably someone with more experience with the

Re: Live streaming of DConf 2016: confirmed

2016-05-04 Thread Dan Olson via Digitalmars-d-announce
Joakim writes: > On Wednesday, 4 May 2016 at 09:13:12 UTC, Dženis Kiderič wrote: >> On Wednesday, 4 May 2016 at 09:04:38 UTC, Dicebot wrote: >>> On Wednesday, 4 May 2016 at 08:33:47 UTC, Joakim wrote: There appears to be a problem with the sound on Ustream with

Re: Some questions on latest work

2016-05-04 Thread Abdulhaq via Digitalmars-d
On Wednesday, 4 May 2016 at 02:42:40 UTC, Bill Hicks wrote: On Tuesday, 3 May 2016 at 19:05:03 UTC, ShamShime Azelkraft wrote: On Tuesday, 26 April 2016 at 21:49:33 UTC, Bill Hicks wrote: I suggest you smoke some DMT (and have a breakthrough), or have a few Ayahuasca sessions. If that doesn't

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Joakim via Digitalmars-d
On Wednesday, 4 May 2016 at 15:46:13 UTC, Nick Sabalausky wrote: Anti-female systems in place? Bull fucking shit. Anyone who claims there are: put up REAL fucking examples instead of parroting vacuous rhetoric or shut the fuck up forever. Well, there's the Obama White House:

[Issue 6830] valgrind flags memory leak in _d_monitor_create

2016-05-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6830 Giles Bathgate changed: What|Removed |Added CC|

Re: Live streaming of DConf 2016: confirmed

2016-05-04 Thread Joakim via Digitalmars-d-announce
On Tuesday, 3 May 2016 at 22:45:45 UTC, dilkROM wrote: On Tuesday, 3 May 2016 at 22:06:54 UTC, jmh530 wrote: On Tuesday, 3 May 2016 at 21:30:26 UTC, Nick B wrote: On Monday, 2 May 2016 at 00:45:39 UTC, Nick B wrote: [snip] Only bit that is still decided upon is platform choice for primary

[Issue 15990] New: Error handling page on spec needs work

2016-05-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15990 Issue ID: 15990 Summary: Error handling page on spec needs work Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: spec Severity:

Re: year to date pull statistics (week ending 2016-04-30)

2016-05-04 Thread Brad Roberts via Digitalmars-d
total open: 265 created since 2016-01-01 and still open: 110 created closed delta 2016-05-01 - today 16 14 -2 2016-04-24 - 2016-04-30 74 85+11 2016-04-17 - 2016-04-23 51 58 +7 2016-04-10 - 2016-04-16 52 58 +6

Re: Some questions on latest work

2016-05-04 Thread Bill Hicks via Digitalmars-d
On Wednesday, 4 May 2016 at 09:52:25 UTC, Bruno Medeiros wrote: You've never had a proper, balanced, well-meaning Ayahuasca ceremony, have you? Or if you had, you got the wrong message. That is clear from the way you present your arguments in a very non-emphatic way. And you talk about

template auto instantiation when parameters empty

2016-05-04 Thread Erik Smith via Digitalmars-d-learn
I want to have a struct template auto instantiate when the template parameters are defaulted or missing. Example: struct Resource(T=int) { static auto create() {return Resource(null);} this(string s) {} } auto resource = Resource.create; As a plain struct it works, but not as a

[Issue 15897] private base class method not seen through derived class

2016-05-04 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15897 --- Comment #14 from Kenji Hara --- (In reply to Martin Nowak from comment #12) > Yeah, we introduced sort of a new concept, "visibility through something", > i.e. with the following import chain pkg.A -> B -> pkg.C, pkg.A

Re: Code example for function/delegate as template argument ?

2016-05-04 Thread Basile B. via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 06:21:36 UTC, chmike wrote: Hello, I failed to find some code example for a template class/struct that accept a function/delegate as template argument. All examples I could find use simple value types like int or double. I piggy bag another question. Defining a

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread ag0aep6g via Digitalmars-d
On 04.05.2016 21:38, Joakim wrote: If we want to close all gaps, we should also close the gender gap for occupational fatalities: http://mjperry.blogspot.com/2009/09/occupational-male-female-death-gap-is.html That means 4,000 more women will die on the job this year, make sure you mention

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Joakim via Digitalmars-d
On Wednesday, 4 May 2016 at 19:47:41 UTC, ag0aep6g wrote: On 04.05.2016 21:38, Joakim wrote: If we want to close all gaps, we should also close the gender gap for occupational fatalities: http://mjperry.blogspot.com/2009/09/occupational-male-female-death-gap-is.html That means 4,000 more

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Russel Winder via Digitalmars-d
On Tue, 2016-05-03 at 03:48 +, Joe Duarte via Digitalmars-d wrote: > […] Joe, Are you in touch with the PPIG and/or EACE people? There is almost certainly some prior literature on all this. I know this for a fact as I was involved with an experiment looking at this sort of thing back in the

Re: Researcher question – what's the point of semicolons and curly braces?

2016-05-04 Thread Chris via Digitalmars-d
On Wednesday, 4 May 2016 at 15:46:13 UTC, Nick Sabalausky wrote: [snip] Verifiable fact: My sister paid considerably less than I did for each year of college even though we came from EXACTLY the same economic background, exactly the same city/town, exactly the same ethnicity, nearly the

Re: ATTN Chris

2016-05-04 Thread Chris via Digitalmars-d
On Wednesday, 4 May 2016 at 17:26:10 UTC, Laeeth Isharc wrote: Chris, If you happen to be at dconf, it would be great to have a chat about NLP and D. Sorry to post to forum, but I don't have your email. Laeeth Laeeth, I'm not at DConf, unfortunately. I couldn't go, cos DConf overlapped

Code example for function/delegate as template argument ?

2016-05-04 Thread chmike via Digitalmars-d-learn
Hello, I failed to find some code example for a template class/struct that accept a function/delegate as template argument. All examples I could find use simple value types like int or double. I piggy bag another question. Defining a function/delegate as function argument is shown in

Re: Stacktraces in static constructors

2016-05-04 Thread Nordlöw via Digitalmars-d-learn
On Tuesday, 3 May 2016 at 12:31:10 UTC, Benjamin Thaut wrote: I assume this is on windows? Yes its a known issue (I know No, the problem occurs on my Linux aswell.

Re: Code example for function/delegate as template argument ?

2016-05-04 Thread Basile B. via Digitalmars-d-learn
On Wednesday, 4 May 2016 at 06:21:36 UTC, chmike wrote: Hello, I failed to find some code example for a template class/struct that accept a function/delegate as template argument. All examples I could find use simple value types like int or double. I piggy bag another question. Defining a