Re: Beta D 2.068.2-b1

2015-09-11 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 10 Sep 2015 05:37:48 +0200
schrieb Martin Nowak :

> Due to a regression in 2.068.1 we'll directly follow up with an
> unplanned point release 2.068.2.
> This is the beta for that point release.
> 
> http://downloads.dlang.org/pre-releases/2.x/2.068.2/
> 
> Please test any of your code against this beta to help finding bugs.
> 
> https://issues.dlang.org/
> 
> -Martin

I tested some code with 2.068.x today and filed this one:

https://issues.dlang.org/show_bug.cgi?id=15042

Kudos to CyberShadow at this point for the excellent "digger"
tool.

-- 
Marco



Re: Build It And They Will Not Come

2015-09-11 Thread Bill Baxter via Digitalmars-d-announce
To be fair, wasn't the movie talking about dead baseball player ghosts
coming? For people to take that example and apply it to other endeavors in
life is a bit ridiculous.

But maybe I'm misremembering. Saw it a long time ago.
On Sep 11, 2015 4:00 AM, "Chris via Digitalmars-d-announce" <
digitalmars-d-announce@puremagic.com> wrote:

> On Tuesday, 18 August 2015 at 19:35:02 UTC, Walter Bright wrote:
>
>> I hate the movie "Field of Dreams" where they push the idiotic idea of
>> "Build it and they will come." No, they won't. There's a blizzard of stuff
>> competing for their attention out there, why should they invest the time
>> looking at your stuff? You need to tell them why!
>>
>
> I've never seen that film but I remember a guy who would use this line
> when we were trying to revive a pub that was in dire straits. The truth is
> "No, they won't come, unless you have something really good to offer!"
>
> The line is only true of TV, as they said in Seinfeld
>
> "Well, why am I watching it? - Because it's on TV."
>
> Yes, because people sit on their ar*es and consume it passively. But if
> you want them to actually do something, it's not enough to just build it.
>


Re: Enumap -- a lightweight AA alternative when your keys are enums

2015-09-11 Thread rcorre via Digitalmars-d-announce

On Friday, 11 September 2015 at 08:22:20 UTC, Kagamin wrote:

On Friday, 11 September 2015 at 02:17:25 UTC, rcorre wrote:
@nogc void donFancyHat(Enumap!(Attribute, int) map) { 
map.charisma += 1; }


BTW, what this means? Isn't Enumap a value type?


Correct, the parameter should be passed by ref in that example. 
Good catch!


Re: Enumap -- a lightweight AA alternative when your keys are enums

2015-09-11 Thread rcorre via Digitalmars-d-announce

On Friday, 11 September 2015 at 04:30:31 UTC, SimonN wrote:


Since I have been using "ref val" in the first loop, I expected 
the output to be instead:


e1: 101
e2: 102
e3: 103
e1: 104
e2: 105
e3: 106

-- Simon


Yep, as I was looking at the constness thing, I realized that ref 
parameters in foreach are totally broken. I may just have to use 
opApply instead of opSlice.


Re: Build It And They Will Not Come

2015-09-11 Thread Chris via Digitalmars-d-announce

On Tuesday, 18 August 2015 at 19:35:02 UTC, Walter Bright wrote:
I hate the movie "Field of Dreams" where they push the idiotic 
idea of "Build it and they will come." No, they won't. There's 
a blizzard of stuff competing for their attention out there, 
why should they invest the time looking at your stuff? You need 
to tell them why!


I've never seen that film but I remember a guy who would use this 
line when we were trying to revive a pub that was in dire 
straits. The truth is "No, they won't come, unless you have 
something really good to offer!"


The line is only true of TV, as they said in Seinfeld

"Well, why am I watching it? - Because it's on TV."

Yes, because people sit on their ar*es and consume it passively. 
But if you want them to actually do something, it's not enough to 
just build it.


Re: Russian-speaking community

2015-09-11 Thread drug via Digitalmars-d-announce

http://dlanguage.ru/viewtopic.php?id=58


Re: Enumap -- a lightweight AA alternative when your keys are enums

2015-09-11 Thread Kagamin via Digitalmars-d-announce

On Friday, 11 September 2015 at 02:17:25 UTC, rcorre wrote:
@nogc void donFancyHat(Enumap!(Attribute, int) map) { 
map.charisma += 1; }


BTW, what this means? Isn't Enumap a value type?