Re: Proposed: start DConf days one hour later

2016-04-27 Thread Mithun Hunsur via Digitalmars-d-announce
On Thursday, 28 April 2016 at 04:47:38 UTC, Rory McGuire wrote: On 28 Apr 2016 6:30 AM, "Mithun Hunsur via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: On Thursday, 28 April 2016 at 03:44:51 UTC, Mike Parker wrote: On Wednesday, 27 April 2016 at 18:36:54 UTC,

Re: Some questions on latest work

2016-04-27 Thread WhatMeWorry via Digitalmars-d
On Tuesday, 26 April 2016 at 21:49:33 UTC, Bill Hicks wrote: On Tuesday, 26 April 2016 at 02:33:41 UTC, Andrei Alexandrescu wrote: That's a pretty awesome rant! Bill, could you please email me your mailing address? I'd be glad to send you a DConf T-shirt. Thanks! -- Andrei Quitting a well

Re: Proposed: start DConf days one hour later

2016-04-27 Thread Rory McGuire via Digitalmars-d-announce
On 28 Apr 2016 6:30 AM, "Mithun Hunsur via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > > On Thursday, 28 April 2016 at 03:44:51 UTC, Mike Parker wrote: >> >> On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu wrote: >>> >>> The folks at Sociomantic

Re: Proposed: start DConf days one hour later

2016-04-27 Thread Mithun Hunsur via Digitalmars-d-announce
On Thursday, 28 April 2016 at 03:44:51 UTC, Mike Parker wrote: On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu wrote: The folks at Sociomantic suggested to start at 10:00 AM instead of 9:00 AM, therefore shifting the end time by one as well. Please reply with thoughts on this!

Re: Some questions on latest work

2016-04-27 Thread Joakim via Digitalmars-d
On Wednesday, 27 April 2016 at 18:38:17 UTC, Max Samukha wrote: On Tuesday, 26 April 2016 at 18:16:42 UTC, Joakim wrote: He gave very specific criticism, along with a code sample, then made a prediction, followed by suggesting another competing language that might do better. None of that

Re: Automatically enforce Phobos's styleguide

2016-04-27 Thread Seb via Digitalmars-d
On Wednesday, 27 April 2016 at 12:38:55 UTC, Andrei Alexandrescu wrote: On 04/26/2016 09:36 PM, Seb wrote: Great news: 1) I submitted a couple of trivial fixes (#4245, #4246, #4247) 2) The Travis bot passes :) As mentioned I decreased the linting to a minimum, but now we do have it :) Future

Re: Proposed: start DConf days one hour later

2016-04-27 Thread Mike Parker via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu wrote: The folks at Sociomantic suggested to start at 10:00 AM instead of 9:00 AM, therefore shifting the end time by one as well. Please reply with thoughts on this! We're particularly concerned about folks who need to take off

Re: String lambdas

2016-04-27 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 28 April 2016 at 00:14:41 UTC, deadalnix wrote: More generally, it is not clear what is allowed to do for merging functions. In C/C++ it is assumed that different function MUST have different identities. I don't think this needs to hold true for anonymous functions though. If

Re: Proposed: start DConf days one hour later

2016-04-27 Thread Seb via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu wrote: The folks at Sociomantic suggested to start at 10:00 AM instead of 9:00 AM, therefore shifting the end time by one as well. Please reply with thoughts on this! We're particularly concerned about folks who need to take off

[Issue 15939] GC.collect causes deadlock in multi-threaded environment

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15939 --- Comment #10 from Aleksei Preobrazhenskii --- (In reply to safety0ff.bugz from comment #9) > Could you run strace to get a log of the signal usage? I did it before to catch the deadlock, but I wasn't able to do that

[Issue 15857] incorrect checkimports mismatch for overload sets

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15857 --- Comment #7 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/082e1199c258e99f7867ca33509db9ae9a31f3ae Issue 15857 - incorrect checkimports mismatch for overload

[Issue 15961] [REG2.066] ICE with instance field introduced by anonymous struct

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15961 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/4b667bb7603fe1a7b5bb153accf91ebc835c1ce1 fix Issue 15961 - ICE with instance field introduced by

Re: String lambdas

2016-04-27 Thread Stefan Koch via Digitalmars-d
On Thursday, 28 April 2016 at 00:14:41 UTC, deadalnix wrote: On Wednesday, 27 April 2016 at 17:04:47 UTC, Andrei Alexandrescu wrote: Yes, you get it exactly right. I think a DIP would be warranted here to clarify how lambda equivalence is computed. Could you please draft one? -- Andrei More

Re: String lambdas

2016-04-27 Thread deadalnix via Digitalmars-d
On Wednesday, 27 April 2016 at 17:04:47 UTC, Andrei Alexandrescu wrote: Yes, you get it exactly right. I think a DIP would be warranted here to clarify how lambda equivalence is computed. Could you please draft one? -- Andrei More generally, it is not clear what is allowed to do for merging

Re: Commercial video processing app in D (experience report)

2016-04-27 Thread Walter Bright via Digitalmars-d-announce
On 4/27/2016 5:42 AM, thedeemon wrote: I just wanted to share some experience of using D in industry. Wonderful, thanks for taking the time to write this up. I'm especially pleased that you found great uses for a couple features that were a bit speculative because they are unusual - the user

[Issue 15963] Hidden unresolved forward reference issue in std.uni

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15963 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #1 from

Re: vibe.d is blocking threads

2016-04-27 Thread Nicholas Wilson via Digitalmars-d-learn
On Wednesday, 27 April 2016 at 13:00:29 UTC, RuZzz wrote: Code: import std.concurrency; import core.thread; //import vibe.http.client; // If uncommented this line, the thread "worker" does not start void worker() { foreach (i; 0 .. 5) {

[Issue 15939] GC.collect causes deadlock in multi-threaded environment

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15939 safety0ff.bugz changed: What|Removed |Added CC|

[Issue 15963] New: Hidden unresolved forward reference issue in std.uni

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15963 Issue ID: 15963 Summary: Hidden unresolved forward reference issue in std.uni Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords:

Re: String lambdas

2016-04-27 Thread Steven Schveighoffer via Digitalmars-d
On 4/27/16 1:04 PM, Andrei Alexandrescu wrote: On 04/27/2016 11:44 AM, Steven Schveighoffer wrote: On 4/27/16 8:31 AM, Andrei Alexandrescu wrote: On 04/26/2016 03:45 PM, Jack Stouffer wrote: I think that the drawback you mentioned does not outweigh the benefits gained from using actual

Re: Proposed: start DConf days one hour later

2016-04-27 Thread Mark Isaacson via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu wrote: The folks at Sociomantic suggested to start at 10:00 AM instead of 9:00 AM, therefore shifting the end time by one as well. Please reply with thoughts on this! We're particularly concerned about folks who need to take off

Re: Proposed: start DConf days one hour later

2016-04-27 Thread John Colvin via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu wrote: The folks at Sociomantic suggested to start at 10:00 AM instead of 9:00 AM, therefore shifting the end time by one as well. Please reply with thoughts on this! We're particularly concerned about folks who need to take off

Re: String lambdas

2016-04-27 Thread deadalnix via Digitalmars-d
On Tuesday, 26 April 2016 at 17:58:22 UTC, Andrei Alexandrescu wrote: https://github.com/dlang/phobos/pull/3882 I just closed with some regret a nice piece of engineering. Please comment if you think string lambdas have a lot of unexploited potential. One thing we really need in order to

Re: Proposed: start DConf days one hour later

2016-04-27 Thread Robert burner Schadek via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu wrote: The folks at Sociomantic suggested to start at 10:00 AM instead of 9:00 AM, therefore shifting the end time by one as well. Please reply with thoughts on this! We're particularly concerned about folks who need to take off

Re: String lambdas

2016-04-27 Thread deadalnix via Digitalmars-d
On Wednesday, 27 April 2016 at 12:31:18 UTC, Andrei Alexandrescu wrote: On 04/26/2016 03:45 PM, Jack Stouffer wrote: I think that the drawback you mentioned does not outweigh the benefits gained from using actual lambdas. Actually it turns out to be a major usability issue. -- Andrei That

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Andrej Mitrovic via Digitalmars-d
Back two years ago when I moved to Berlin and began my German lessons I came up with a little haiku or singalong: Ich möchte ein Bier! Ein Bier für mich, und ein Bier für meinen Freund! Ich bin meiner bester Freund, noch ein Bier für meinen Freund!! On 4/27/16, Joseph Rushton Wakeling via

Re: What does alias do?

2016-04-27 Thread ag0aep6g via Digitalmars-d-learn
On 27.04.2016 21:40, xtreak wrote: import std.array; import std.range; import std.algorithm; import std.stdio; T test(alias f, T)(T num) { return f(num); } T test1(T, V)(T num, V f){ return f(num); } void main() { writeln("hello world"); writeln(1.iota .map!(a =>

[Issue 14208] Use a single signal number for GC thread suspend and resume

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14208 safety0ff.bugz changed: What|Removed |Added CC|

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Joseph Rushton Wakeling via Digitalmars-d
On Wednesday, 27 April 2016 at 02:57:47 UTC, Walter Bright wrote: To prepare for a week in Berlin, a few German phrases is all you'll need to fit in, get around, and have a great time: 1. Ein Bier bitte! 2. Noch ein Bier bitte! 3. Wo ist der WC! Kein Bier vor vier ;-)

Re: Some questions on latest work

2016-04-27 Thread NX via Digitalmars-d
On Wednesday, 27 April 2016 at 20:30:56 UTC, Israel wrote: Lol, i hope youre being paid and not doing it for free. Don't feed the evil.

Re: Minecraft written in D - on Android

2016-04-27 Thread Israel via Digitalmars-d-announce
On Tuesday, 26 April 2016 at 16:46:16 UTC, Vadim Lopatin wrote: On Tuesday, 26 April 2016 at 14:25:05 UTC, Benjamin Thaut wrote: On Tuesday, 26 April 2016 at 08:42:21 UTC, Vadim Lopatin wrote: Demo of DlangUI Scene3D engine - Minecraft-like voxel rendering - is available for Android/ARM.

Re: Some questions on latest work

2016-04-27 Thread Israel via Digitalmars-d
On Tuesday, 26 April 2016 at 01:04:21 UTC, Bill Hicks wrote: On Monday, 25 April 2016 at 21:20:04 UTC, Bienlein wrote: [...] To be frank, if you are using D for anything more than a throwaway hobby project, I have to tell you, D is a failed language, so stop wasting your time. The people

Re: Google Summer of Code

2016-04-27 Thread Joseph Rushton Wakeling via Digitalmars-d-announce
On Monday, 25 April 2016 at 21:58:33 UTC, CRAIG DILLABAUGH wrote: Joseph. If you are interested in becoming a mentor (ideally each project has multiple mentors) I may still be able to add you to our GSoC mentors list. Ilya (Sebastian's mentor) is the lead mentor on the project, but having a

Re: LZ4 decompression at CTFE

2016-04-27 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 07:51:30 UTC, Dejan Lekic wrote: That is brilliant! I need LZ4 compression for a small project I work on... The decompressor is ready to be released. It should work for all files compressed with the vanilla lz4c -9 please regard this release as alpha quality.

[Issue 15957] Disabled postblit + template mixin break opAssign with confusing error message

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15957 --- Comment #4 from Dicebot --- Interesting. Why does it need to create opAssign when post-blit is disabled? Is it documented anywhere? It sounds very confusing that disabling any symbol result in hidden injection of another one

Re: Proposed: start DConf days one hour later

2016-04-27 Thread Stefan Koch via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu wrote: The folks at Sociomantic suggested to start at 10:00 AM instead of 9:00 AM, therefore shifting the end time by one as well. Please reply with thoughts on this! We're particularly concerned about folks who need to take off

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Chris via Digitalmars-d
On Wednesday, 27 April 2016 at 19:43:39 UTC, Chris wrote: By the way, some people in Berlin may speak with the local accent (most people would speak some sort of standard German though, unfortunately). Some things I know of (please correct me, if I'm wrong): ich = ick(e) "s" is often "t"

Re: What does alias do?

2016-04-27 Thread xtreak via Digitalmars-d-learn
On Saturday, 23 April 2016 at 20:01:00 UTC, ag0aep6g wrote: On 23.04.2016 21:49, xtreak wrote: I am a D newbie from Python and I am trying to grok alias. Is alias like Python does as below L = [] myextend = L.extend L.myextend My Python isn't too great, but I think this is more similar to

Re: vibe.d is blocking threads

2016-04-27 Thread yawniek via Digitalmars-d-learn
On Wednesday, 27 April 2016 at 13:00:29 UTC, RuZzz wrote: Code: import std.concurrency; import core.thread; //import vibe.http.client; // If uncommented this line, the thread "worker" does not start void worker() { foreach (i; 0 .. 5) {

Re: Proposed: start DConf days one hour later

2016-04-27 Thread yawniek via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu wrote: The folks at Sociomantic suggested to start at 10:00 AM instead of 9:00 AM, therefore shifting the end time by one as well. Please reply with thoughts on this! We're particularly concerned about folks who need to take off

[Issue 15961] [REG2.066] ICE with instance field introduced by anonymous struct

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15961 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/4b667bb7603fe1a7b5bb153accf91ebc835c1ce1 fix Issue 15961 - ICE with instance field introduced by

[Issue 15961] [REG2.066] ICE with instance field introduced by anonymous struct

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15961 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: Proposed: start DConf days one hour later

2016-04-27 Thread Steven Schveighoffer via Digitalmars-d-announce
On 4/27/16 2:36 PM, Andrei Alexandrescu wrote: The folks at Sociomantic suggested to start at 10:00 AM instead of 9:00 AM, therefore shifting the end time by one as well. Please reply with thoughts on this! We're particularly concerned about folks who need to take off early on Friday. -- Andrei

Re: Web page listing all D compilers (and DMDFE version!) on travis-ci

2016-04-27 Thread Nick Sabalausky via Digitalmars-d-announce
On 04/26/2016 02:42 AM, Nick Sabalausky wrote: https://semitwist.com/travis-d-compilers ... - Auto-trigger an update check on a regular basis (I'm thinking once daily?) so I don't have to stay on top of new compiler versions and trigger an update manually. (I can use Travis's API to do this.)

Re: Some questions on latest work

2016-04-27 Thread Max Samukha via Digitalmars-d
On Tuesday, 26 April 2016 at 18:16:42 UTC, Joakim wrote: He gave very specific criticism, along with a code sample, then made a prediction, followed by suggesting another competing language that might do better. None of that is the usual content-free fanboy "bashing." There is nothing

Proposed: start DConf days one hour later

2016-04-27 Thread Andrei Alexandrescu via Digitalmars-d-announce
The folks at Sociomantic suggested to start at 10:00 AM instead of 9:00 AM, therefore shifting the end time by one as well. Please reply with thoughts on this! We're particularly concerned about folks who need to take off early on Friday. -- Andrei

Re: With statement extension

2016-04-27 Thread Artur Skawina via Digitalmars-d
On 04/27/16 15:55, deed via Digitalmars-d wrote: > > A stronger example would be a scope with two similar types, i.e.: > > void foo (Matrix matrix, SameType e1, SameType e2) > { > with ( > M: matrix.rawArr; > Ex1 : e1.someProperties.someModulusX, > Ey1 :

[Issue 6343] std.math.ceilPow2

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

[Issue 11229] std.string.toLower is slow

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11229 --- Comment #6 from Jack Stouffer --- This, (cast(string)"pg1342.txt".read).map!toLower.array is almost three times faster than (cast(string)"pg1342.txt".read).toLower because of the ASCII optimizations in dchar

Re: Some questions on latest work

2016-04-27 Thread Abdulhaq via Digitalmars-d
On Wednesday, 27 April 2016 at 17:57:55 UTC, Bill Hicks wrote: If I get up on a stage with a grin splitting my face and talk about how great D is, I'm considered a hero. But if I criticize D for it's flaws, then I'm a troll or someone who is just ranting. Anybody has the right to criticize

Re: C header file: tagged enumerations

2016-04-27 Thread Max Samukha via Digitalmars-d-learn
On Tuesday, 26 April 2016 at 22:57:36 UTC, Jesse Phillips wrote: typedef enum tagINSTALLMESSAGE { // 12 others ... INSTALLMESSAGE_INITIALIZE , INSTALLMESSAGE_TERMINATE , INSTALLMESSAGE_SHOWDIALOG , #if (_WIN32_MSI >= 500) INSTALLMESSAGE_PERFORMANCE

Re: Some questions on latest work

2016-04-27 Thread jmh530 via Digitalmars-d
On Wednesday, 27 April 2016 at 17:57:55 UTC, Bill Hicks wrote: He started it. Grow up. Contradiction?

Re: Some questions on latest work

2016-04-27 Thread Bill Hicks via Digitalmars-d
On Wednesday, 27 April 2016 at 15:14:17 UTC, Steven Schveighoffer wrote: I'm just gonna leave this here. http://techcrunch.com/2014/04/03/tesco-buys-into-ad-tech-as-big-data-division-dunnhumby-buys-sociomantic-for-over-100m/ -Steve And a Big Mac is a healthy alternative to unprocessed

Re: Some questions on latest work

2016-04-27 Thread jkpl via Digitalmars-d
On Wednesday, 27 April 2016 at 16:45:44 UTC, Bienlein wrote: On Tuesday, 26 April 2016 at 21:49:33 UTC, Bill Hicks wrote: Quitting a well paying job at Facebook to peruse a hobby (...) This is why I thought that those issues with the GC and things like RefCounted could have been fixed

Re: C header file: tagged enumerations

2016-04-27 Thread BLM768 via Digitalmars-d-learn
On Tuesday, 26 April 2016 at 23:40:24 UTC, Adam D. Ruppe wrote: D doesn't handle this C pattern well... you basically have to rewrite the whole thing for each version. Or you can use the technique that's used in llvm-d: build the enumeration from a string mixin which is generated from a

Re: Commercial video processing app in D (experience report)

2016-04-27 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 04/27/2016 01:17 PM, thedeemon wrote: On Wednesday, 27 April 2016 at 12:42:05 UTC, thedeemon wrote: full build of GUI app takes 7 seconds Forgot to mention one anecdote: the build time increases by another 7 seconds if I use std.net.curl.get() function instead of std.net.curl.HTTP struct

Re: String lambdas

2016-04-27 Thread Andrei Alexandrescu via Digitalmars-d
On 04/27/2016 11:44 AM, Steven Schveighoffer wrote: On 4/27/16 8:31 AM, Andrei Alexandrescu wrote: On 04/26/2016 03:45 PM, Jack Stouffer wrote: I think that the drawback you mentioned does not outweigh the benefits gained from using actual lambdas. Actually it turns out to be a major

Spurious thought…

2016-04-27 Thread Russel Winder via Digitalmars-d
Has anyone made the: Foundation Foundation and Empire Second Foundation joke as yet? -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Roadm: +44

Re: Direct link to D Foundation

2016-04-27 Thread Seb via Digitalmars-d
On Saturday, 23 April 2016 at 13:59:50 UTC, Joseph Rushton Wakeling wrote: On Saturday, 23 April 2016 at 13:57:28 UTC, Andrei Alexandrescu wrote: I think it should have a separate page on dlang.org (no subdomain necessary), e.g. https://dlang.org/foundation. -- Personally I'd see the use of a

DConf registration confirmation

2016-04-27 Thread Tamas via Digitalmars-d
Have you received registration confirmation after registering via PayPal? I'm asking because the payment links are on an unsecured page, and the credit card transaction was first refused because of potential fraud, so I had to make a call to make it happen.

Re: Minecraft written in D - on Android

2016-04-27 Thread WebFreak001 via Digitalmars-d-announce
On Tuesday, 26 April 2016 at 16:33:51 UTC, Vadim Lopatin wrote: Edit paths in file android_build_config.mk export DLANGUI_DIR=$HOME/src/d/dlangui export NDK=$HOME/android-ndk-r11c export SDK=$HOME/android-sdk-linux export LDC=$HOME/ldc2-android-arm-0.17.0-alpha2-linux-x86_64 export

Re: C header file: tagged enumerations

2016-04-27 Thread Steven Schveighoffer via Digitalmars-d-learn
On 4/26/16 7:40 PM, Adam D. Ruppe wrote: On Tuesday, 26 April 2016 at 23:33:08 UTC, Stefan Koch wrote: static if (win32msi >= 500) . Won't work here because static if must have a complete declaration inside it, and the C pattern only has a few elements of the whole inside each #if. D

Re: Commercial video processing app in D (experience report)

2016-04-27 Thread thedeemon via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 15:57:19 UTC, Christof Schardt wrote: Just a question: When working with C++, did you use VisualAssist? I've used it previously in earlier VS versions but not in VS2010. VisualAssist is really great, I agree. VisualD is far from it but at least it's better

Re: Commercial video processing app in D (experience report)

2016-04-27 Thread Christof Schardt via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 12:42:05 UTC, thedeemon wrote: IDE Visual Studio 2010 with VisualD. I've used this combo for many years, generally quite successively. Last year its D parser had Thanks for this excellent contribution. It gives a lot of insights. Just a question: When working

Re: String lambdas

2016-04-27 Thread QAston via Digitalmars-d
On Tuesday, 26 April 2016 at 17:58:22 UTC, Andrei Alexandrescu wrote: One thing we really need in order to 100% replace string lambdas with lambdas is function equivalence. Right now we're in the odd situation that SomeTemplate!((a, b) => a < b) has distinct types, one per instantiation.

Re: Commercial video processing app in D (experience report)

2016-04-27 Thread Joakim via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 12:42:05 UTC, thedeemon wrote: Hi, I just wanted to share some experience of using D in industry. Recently my little company released version 2.0 of our flagship product Video Enhancer, a video processing application for Windows, and this time it's written in D.

Re: String lambdas

2016-04-27 Thread Steven Schveighoffer via Digitalmars-d
On 4/27/16 8:31 AM, Andrei Alexandrescu wrote: On 04/26/2016 03:45 PM, Jack Stouffer wrote: I think that the drawback you mentioned does not outweigh the benefits gained from using actual lambdas. Actually it turns out to be a major usability issue. -- Andrei Yes, consider that

Re: Constructing an enum using the members of an AliasSeq as enumerator names

2016-04-27 Thread ag0aep6g via Digitalmars-d-learn
On 27.04.2016 13:06, Nordlöw wrote: /** Returns: a `string` containing the definition of an `enum` named `name` and with enumerator names given by `Es`, optionally prepended with `prefix` and appended with `suffix`. TODO Move to Phobos std.typecons */ string

Re: Some questions on latest work

2016-04-27 Thread Meta via Digitalmars-d
On Tuesday, 26 April 2016 at 21:49:33 UTC, Bill Hicks wrote: On Tuesday, 26 April 2016 at 02:33:41 UTC, Andrei Alexandrescu wrote: That's a pretty awesome rant! Bill, could you please email me your mailing address? I'd be glad to send you a DConf T-shirt. Thanks! -- Andrei Quitting a well

Re: Some questions on latest work

2016-04-27 Thread Steven Schveighoffer via Digitalmars-d
On 4/25/16 9:04 PM, Bill Hicks wrote: On Monday, 25 April 2016 at 21:20:04 UTC, Bienlein wrote: Hello, I've been busy with other things for about a year and would like to ask some questions to catch up with latest language/library additions in D. Looking through the change logs simply appeared

Re: Simple and effective approaches to constraint error messages

2016-04-27 Thread Steven Schveighoffer via Digitalmars-d
On 4/25/16 6:14 PM, H. S. Teoh via Digitalmars-d wrote: On Mon, Apr 25, 2016 at 05:20:08PM -0400, Steven Schveighoffer via Digitalmars-d wrote: On 4/25/16 1:52 PM, Andrei Alexandrescu wrote: It's been long asked in our community that failing template constraints issue better error messages.

Re: Commercial video processing app in D (experience report)

2016-04-27 Thread FreeSlave via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 14:14:02 UTC, FreeSlave wrote: On Wednesday, 27 April 2016 at 14:07:18 UTC, FreeSlave wrote: On Wednesday, 27 April 2016 at 13:58:13 UTC, thedeemon wrote: On Wednesday, 27 April 2016 at 13:04:27 UTC, FreeSlave wrote: Screenshots are so blurred. They are not.

Re: Commercial video processing app in D (experience report)

2016-04-27 Thread FreeSlave via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 14:07:18 UTC, FreeSlave wrote: On Wednesday, 27 April 2016 at 13:58:13 UTC, thedeemon wrote: On Wednesday, 27 April 2016 at 13:04:27 UTC, FreeSlave wrote: Screenshots are so blurred. They are not. Just click to enlarge, your browser blurred them while

Re: Commercial video processing app in D (experience report)

2016-04-27 Thread thedeemon via Digitalmars-d-announce
On Wednesday, 27 April 2016 at 13:04:27 UTC, FreeSlave wrote: Screenshots are so blurred. They are not. Just click to enlarge, your browser blurred them while resizing.

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Chris via Digitalmars-d
On Wednesday, 27 April 2016 at 12:26:29 UTC, Tobias Pankrath wrote: That makes cologne so tourist friendly. The waitress will refill your beer until you put a beermat on your glass. So only #3 is necessary. You will still need #1 ;)

vibe.d is blocking threads

2016-04-27 Thread RuZzz via Digitalmars-d-learn
Code: import std.concurrency; import core.thread; //import vibe.http.client; // If uncommented this line, the thread "worker" does not start void worker() { foreach (i; 0 .. 5) { Thread.sleep(500.msecs); writeln(i, " (worker)"); }

Re: Commercial video processing app in D (experience report)

2016-04-27 Thread FreeSlave via Digitalmars-d-announce
That's great. I'm surprised someone used DlangUI for commercial app. I would not say it's quite ready even for free ones. It's cool you merged your changes. On Wednesday, 27 April 2016 at 12:42:05 UTC, thedeemon wrote: Couple of screenshots:

[Issue 15962] [REG2.069] Don't strip off asserts to check internal compiler errors

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15962 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #1 from

Re: Version info in library reference

2016-04-27 Thread Jacob Carlborg via Digitalmars-d
On 2016-04-27 11:14, Chris wrote: Something I've wanted to ask for a while: Would it be possible to add version info to the library reference (henceforth)? In Apple's Cocoa API reference they always say since `10.8` etc. which used to be very helpful. In Swift they even added language support

Commercial video processing app in D (experience report)

2016-04-27 Thread thedeemon via Digitalmars-d-announce
Hi, I just wanted to share some experience of using D in industry. Recently my little company released version 2.0 of our flagship product Video Enhancer, a video processing application for Windows, and this time it's written in D. http://www.infognition.com/VideoEnhancer/ Couple of

[Issue 15962] New: [REG2.069] Don't strip off asserts to check internal compiler errors

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15962 Issue ID: 15962 Summary: [REG2.069] Don't strip off asserts to check internal compiler errors Product: D Version: D2 Hardware: All OS: All Status:

[Issue 15961] [REG2.066] ICE with instance field introduced by anonymous struct

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15961 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #1 from

Re: String lambdas

2016-04-27 Thread Andrei Alexandrescu via Digitalmars-d
On 04/26/2016 03:45 PM, Jack Stouffer wrote: I think that the drawback you mentioned does not outweigh the benefits gained from using actual lambdas. Actually it turns out to be a major usability issue. -- Andrei

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Tobias Pankrath via Digitalmars-d
On Wednesday, 27 April 2016 at 02:57:47 UTC, Walter Bright wrote: To prepare for a week in Berlin, a few German phrases is all you'll need to fit in, get around, and have a great time: 1. Ein Bier bitte! 2. Noch ein Bier bitte! 3. Wo ist der WC! That makes cologne so tourist friendly. The

[Issue 15961] [REG2.066] ICE with instance field introduced by anonymous struct

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15961 Kenji Hara changed: What|Removed |Added Summary|[REG-master] ICE with |[REG2.066] ICE with

[Issue 15961] New: [REG-master] ICE with instance field introduced by anonymous struct

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15961 Issue ID: 15961 Summary: [REG-master] ICE with instance field introduced by anonymous struct Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 15960] SetUnion should filter duplicates

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15960 Nick Treleaven changed: What|Removed |Added URL|

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Chris via Digitalmars-d
On Wednesday, 27 April 2016 at 02:57:47 UTC, Walter Bright wrote: To prepare for a week in Berlin, a few German phrases is all you'll need to fit in, get around, and have a great time: 1. Ein Bier bitte! 2. Noch ein Bier bitte! 3. Wo ist der WC! After 10 beers: Wo ist hier das Scheißhaus?

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Marco Leise via Digitalmars-d
It just came to my ears that Seb was just joking about that WC rule. -- Marco

[Issue 5290] Static array literals with too few elements

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5290 Nick Treleaven changed: What|Removed |Added CC|

[Issue 3849] Compiler should catch incomplete initialisation of an array

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3849 Nick Treleaven changed: What|Removed |Added See Also|

[Issue 8008] Syntax for fixed size array literals like [1,2,3]s

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8008 Nick Treleaven changed: What|Removed |Added URL|

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Marco Leise via Digitalmars-d
Am Wed, 27 Apr 2016 03:59:04 + schrieb Seb : > nitpick: Wo ist _das_ WC? > In German WC we have definite articles and as a WC can be used by > both sexes, it is neutral (disclaimer: not a rule). There are some reasons why some words are feminine, masculine or neutral, but I

Re: Constructing an enum using the members of an AliasSeq as enumerator names

2016-04-27 Thread Nordlöw via Digitalmars-d-learn
On Wednesday, 27 April 2016 at 10:49:54 UTC, Nordlöw wrote: What's the easiest way to create an `enum` using the symbol names of an `AliasSeq` as enumerator names? /** Returns: a `string` containing the definition of an `enum` named `name` and with enumerator names given by `Es`,

Constructing an enum using the members of an AliasSeq as enumerator names

2016-04-27 Thread Nordlöw via Digitalmars-d-learn
What's the easiest way to create an `enum` using the symbol names of an `AliasSeq` as enumerator names? That is, given alias Types = AliasSeq!(byte, short, int); we need some compile-time type-constructor `makeEnum` called as alias E = makeEnum!Types; that should be equivalent to

Re: With statement extension

2016-04-27 Thread Marc Schütz via Digitalmars-d
On Tuesday, 26 April 2016 at 12:53:49 UTC, deed wrote: Would it be possible to extend current with statement's expressiveness by two lowerings: 1) Alias expression/symbol and replace in macro fashion: with (a : exprA) { /* use a. will be replaced by exprA by compiler. */ } 2) Accept a list

Re: simple VFS implementation

2016-04-27 Thread ketmar via Digitalmars-d-announce
iv.vfs gained ability to list files in all registered VFSes, and it now can open disk files regardless of name case on POSIX systems (this is controlled by global flags, or additional letters «i» and «I» in file mode arg).

[Issue 11169] __traits(isAbstractClass) prematurely sets a class to be abstract

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11169 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 11169] __traits(isAbstractClass) prematurely sets a class to be abstract

2016-04-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11169 --- Comment #5 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/6fd1005dff51380e7bcb11dbc71e2c8bbb46cfb6 fix Issue 11169 - __traits(isAbstractClass) prematurely sets

Re: Version info in library reference

2016-04-27 Thread rikki cattermole via Digitalmars-d
On 27/04/2016 9:14 PM, Chris wrote: Something I've wanted to ask for a while: Would it be possible to add version info to the library reference (henceforth)? In Apple's Cocoa API reference they always say since `10.8` etc. which used to be very helpful. The reason I'm asking is that I'm usually

  1   2   >