[Issue 14269] Enum is not implicitly converted to base type when using ref

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14269 --- Comment #22 from Jonathan M Davis issues.dl...@jmdavisprog.com --- I think that allowing an implicit conversion to be used with a ref parameter is a clear violation of the type system. If we want to fix it via deprecation rather than immediately

[Issue 14275] Qualified package protection for aggregate member doesn't work

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14275 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to 2.067 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/a44e09d3d16b7c23e540bce8be5dffde2dfa17fa Merge pull request #4476 from

[Issue 13649] uniform01 Assertion failure

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13649 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/c561951994e04293041906ee468b502806680e20 Fix Issue 13649 -

Re: Looking for MQTT client library

2015-03-12 Thread Dicebot via Digitalmars-d-learn
If it isn't on http://code.dlang.org it is unlikely to exist in easy to use form. Starting with C bindings is probably the easiest approach - you may want to check out https://github.com/jacob-carlborg/dstep if you haven't already.

vibe.d crashs when forwarding a stream to another?

2015-03-12 Thread zhmt via Digitalmars-d-learn
I posted in vibe.d forum, no one replied . Help me please: http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/24458/

Re: Andrei Alexandrescu on D at YOW2014: Local imports, relaxed functional purity, generative programming

2015-03-12 Thread Walter Bright via Digitalmars-d-announce
On 3/12/2015 1:46 PM, Brian Schott wrote: On Thursday, 12 March 2015 at 20:39:08 UTC, Walter Bright wrote: https://www.reddit.com/r/programming/comments/2yt1ek/andrei_alexandrescu_on_d_at_yow2014_local_imports/ http://forum.dlang.org/thread/mdsh5n$2kta$1...@digitalmars.com

Re: Standard GUI framework inspired by Qt

2015-03-12 Thread karl via Digitalmars-d
I'm unsure of the gamma space, Adobe should be enough to cover things (the curve is practically identical). Still, they are different at 0xA7 and 0xBE, so maybe useful for some files. GPUs and every non-specialized monitor only do sRGB-linear. So, all's good with that pull request, just gamma

Memoization in compile-time

2015-03-12 Thread Dennis Ritchie via Digitalmars-d-learn
Is it possible to run this code in compile-time? import std.stdio, std.functional; ulong fact(ulong n) { alias mfact = memoize!fact; return n 2 ? 1 : n * mfact(n - 1); } void main() { writeln(fact(10)); } In CommonLisp variable *factorial-cache* available in CT, and

Re: dmd 2.066.1 cannot build phobos 2.066.1

2015-03-12 Thread Andrei Alexandrescu via Digitalmars-d
On 3/12/15 5:44 PM, Daniel Murphy wrote: Andrei Alexandrescu wrote in message news:mdtb6c$f2f$1...@digitalmars.com... Could that be because our default remotes are different (e.g. yours is your own fork)? -- Andrei I don't think so, but it could be because I've got an older version of git.

Re: dmd 2.066.1 cannot build phobos 2.066.1

2015-03-12 Thread Andrei Alexandrescu via Digitalmars-d
More info: this is a fresh VM with Ubuntu 14.04. I've installed a number of tools with apt-get including gdc. There is no dmd installation. git is version 1.9.1. -- Andrei

Re: dmd 2.066.1 cannot build phobos 2.066.1

2015-03-12 Thread Daniel Murphy via Digitalmars-d
Andrei Alexandrescu wrote in message news:mdteff$hdf$2...@digitalmars.com... More info: this is a fresh VM with Ubuntu 14.04. I've installed a number of tools with apt-get including gdc. There is no dmd installation. git is version 1.9.1. -- Andrei Hmm. What are the commit hashes for dmd,

Re: embedding Pyd in Windows program

2015-03-12 Thread Ellery Newcomer via Digitalmars-d-learn
On 03/11/2015 07:59 PM, Matt wrote: Right, copying site.py into my program's working dir sorts out the missing module error, but I now get a syntax error: file=sys.stderr) ^ SyntaxError: invalid syntax Error executing command run: Program exited with code 1 I googled this, and

[Issue 6766] Forward reference error for default struct/class arguments

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6766 --- Comment #4 from Kenji Hara k.hara...@gmail.com --- *** Issue 9397 has been marked as a duplicate of this issue. *** --

Re: auto function attributes based on type

2015-03-12 Thread weaselcat via Digitalmars-d-learn
On Thursday, 12 March 2015 at 05:01:50 UTC, amber wrote: On Thursday, 12 March 2015 at 04:51:42 UTC, amber wrote: On Thursday, 12 March 2015 at 04:04:28 UTC, weaselcat wrote: On Thursday, 12 March 2015 at 03:12:15 UTC, amber wrote: ...

[Issue 12420] [AA] Can't set associative array with array as key value using key type

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12420 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #7 from

[Issue 340] [Tracker] Forward reference bugs and other order-of-declaration issues

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=340 Issue 340 depends on issue 9397, which changed state. Issue 9397 Summary: Size error with struct with ctor and self-typed nested enum https://issues.dlang.org/show_bug.cgi?id=9397 What|Removed |Added

[Issue 12420] [AA] Can't set associative array with array as key value using key type

2015-03-12 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12420 --- Comment #8 from Kenji Hara k.hara...@gmail.com --- (In reply to Martin Nowak from comment #7) So what's the conclusion here? Denis argues that mutable key char[] should be allowed for the AA indexing. But AA key should be const on indexing, and

Last Beta D 2.067.0-b4

2015-03-12 Thread Martin Nowak via Digitalmars-d-announce
This beta will be followed by a release candidate by the end of the week. Will soon be mirrored here and is also available via travis-ci. http://downloads.dlang.org/pre-releases/2.x/2.067.0/ http://ftp.digitalmars.com/ For now you can get the binaries from my private server.

<    1   2