Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Ali Çehreli via Digitalmars-d
On 04/26/2016 07:57 PM, 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! The other language that helps in Berlin is Turkish. :) Ali

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Iain Buclaw via Digitalmars-d
On 27 April 2016 at 04:57, Walter Bright via Digitalmars-d 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! 4. Zahlen bitte! Unless you plan on ma

Re: Walter's Famous German Language Essentials Guide

2016-04-27 Thread Iain Buclaw via Digitalmars-d
On 27 April 2016 at 13:25, Marco Leise via Digitalmars-d wrote: > 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

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 p

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 is

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 w

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 the

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 g

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 f

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 lambdas

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 100

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 w

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 Digit

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

Re: Some questions on latest work

2016-04-27 Thread Jeremy DeHaan via Digitalmars-d
On Wednesday, 27 April 2016 at 17:57:55 UTC, Bill Hicks wrote: On Wednesday, 27 April 2016 at 15:28:37 UTC, Meta wrote: 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

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

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! By the way, some people in Berlin may speak wit

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 wron

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 : e1.someProperties.so

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: Some questions on latest work

2016-04-27 Thread Steven Schveighoffer via Digitalmars-d
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. http://techcrunch.com/2014/04/03/tesco-buys-into-ad-tech-as-big-data-division-dunnhumby-buys-sociomantic-for-over-100m/ And a Big Mac is a healthy

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:28:37 UTC, Meta wrote: 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 y

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 organi

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 meanwh

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 usabilit

Re: DConf registration confirmation

2016-04-27 Thread Tamas via Digitalmars-d
On Wednesday, 27 April 2016 at 16:09:42 UTC, Tamas wrote: 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 cal

Re: Some questions on latest work

2016-04-27 Thread Bienlein via Digitalmars-d
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 meanwhile. I would like to encourage the D people to put priority o

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 77

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: So, to print or not to print?

2016-04-27 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 27 April 2016 at 04:48:30 UTC, xenon325 wrote: I guess it's too late, but from what I gathered from the comments, main controversy is about the name but not the utility (e.g. Adam's `substr` vs `substring` argument). I don't think it has enough utility to be added at all, if it i

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

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

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 p

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

Re: With statement extension

2016-04-27 Thread deed via Digitalmars-d
On Tuesday, 26 April 2016 at 12:53:49 UTC, deed wrote: For example: 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 : e1.somePropertie

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

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 f

Re: Automatically enforce Phobos's styleguide

2016-04-27 Thread Andrei Alexandrescu via Digitalmars-d
On 04/26/2016 09:36 PM, Seb wrote: On Tuesday, 26 April 2016 at 19:04:44 UTC, Seb wrote: Hey all, tl;dr: I want to pull improve Phobos code style for the greater good of having a bot that automatically checks the coding style. This should be quite useful for submitters. I hope we all agree that

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 wai

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

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

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 never heard of th

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: Version info in library reference

2016-04-27 Thread Chris via Digitalmars-d
On Wednesday, 27 April 2016 at 09:19:33 UTC, rikki cattermole wrote: Alternatively we could also just keep older versions of Phobos docs around. That would be ok too, although I like the idea of having info about when something was added. It's nice to see the progress of the library and it'

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

Version info in library reference

2016-04-27 Thread Chris via Digitalmars-d
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 stuck with an older version of dm

Re: Directions to Ibis Hotel in Berlin from Tegel Airport

2016-04-27 Thread Chris via Digitalmars-d
On Wednesday, 27 April 2016 at 02:19:14 UTC, Walter Bright wrote: On 4/26/2016 12:21 PM, Andrej Mitrovic via Digitalmars-d wrote: This is assuming you want to eat at those places while you're in Berlin, I'm looking forward to a bratwurst with some good senf! I think the classic is Currywurs

Re: So, to print or not to print?

2016-04-27 Thread tn via Digitalmars-d
On Tuesday, 26 April 2016 at 18:45:09 UTC, Andrei Alexandrescu wrote: On 04/26/2016 02:29 PM, TheGag96 wrote: On Tuesday, 26 April 2016 at 14:33:42 UTC, tn wrote: Maybe the name of the function should then be "writes" and/or "writesln" (instead of "print"), so that it can at least be found fro

Re: So, to print or not to print?

2016-04-27 Thread Shachar Shemesh via Digitalmars-d
On 26/04/16 07:54, rikki cattermole wrote: On 26/04/2016 8:41 AM, Brad Roberts via Digitalmars-d wrote: Something that's been bouncing around in the back of my head for a while. I can't decide if it's a good idea or a really bad one. Consider a series of small modules that are essentially langu