Re: std.experimental.allocator and @nogc

2016-05-08 Thread rikki cattermole via Digitalmars-d
On 09/05/2016 5:16 PM, Hildigard Sandyman wrote: On Monday, 9 May 2016 at 05:00:31 UTC, rikki cattermole wrote: On 09/05/2016 4:50 PM, Danni Coy via Digitalmars-d wrote: It seems to me, that std.experimental.allocator should work with @nogc annotated functions if none of the allocators being

Re: std.experimental.allocator and @nogc

2016-05-08 Thread Hildigard Sandyman via Digitalmars-d
On Monday, 9 May 2016 at 05:00:31 UTC, rikki cattermole wrote: On 09/05/2016 4:50 PM, Danni Coy via Digitalmars-d wrote: It seems to me, that std.experimental.allocator should work with @nogc annotated functions if none of the allocators being used are the gcallocator, though it's not at all

Re: std.experimental.allocator and @nogc

2016-05-08 Thread Hildigard Sandyman via Digitalmars-d
On Monday, 9 May 2016 at 04:50:59 UTC, Danni Coy wrote: It seems to me, that std.experimental.allocator should work with @nogc annotated functions if none of the allocators being used are the gcallocator, though it's not at all clear to me how this would work. Are there plans for this? It

Re: std.experimental.allocator and @nogc

2016-05-08 Thread rikki cattermole via Digitalmars-d
On 09/05/2016 4:50 PM, Danni Coy via Digitalmars-d wrote: It seems to me, that std.experimental.allocator should work with @nogc annotated functions if none of the allocators being used are the gcallocator, though it's not at all clear to me how this would work. Are there plans for this? If

std.experimental.allocator and @nogc

2016-05-08 Thread Danni Coy via Digitalmars-d
It seems to me, that std.experimental.allocator should work with @nogc annotated functions if none of the allocators being used are the gcallocator, though it's not at all clear to me how this would work. Are there plans for this?

Re: GSoC 2016 - Precise GC

2016-05-08 Thread thedeemon via Digitalmars-d-announce
On Sunday, 8 May 2016 at 11:16:56 UTC, deadalnix wrote: Ones that have only pointers are probably OK too. Though I'm not sure if a precise scanner takes into account the type of the pointer. I would expect it to use embedded typeinfo in target block. -Steve Because of void* and classes,

Re: Compiler benchmarks for an alternative to std.uni.asLowerCase.

2016-05-08 Thread Jon D via Digitalmars-d
On Monday, 9 May 2016 at 00:15:03 UTC, Peter Häggman wrote: On Sunday, 8 May 2016 at 23:38:31 UTC, Jon D wrote: I did a performance study on speeding up case conversion in std.uni.asLowerCase. Specifics for asLowerCase have been added to issue https://issues.dlang.org/show_bug.cgi?id=11229.

[Issue 9766] align(n) with n compile-time constant

2016-05-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9766 --- Comment #5 from j...@red.email.ne.jp --- Some of druntime core.sys.windows.* modules also want this, Like: version (Win64) align(8): else align(4): One example: https://issues.dlang.org/show_bug.cgi?id=15547 We could make work-around with

Re: ggplotd - curve colour

2016-05-08 Thread brocolis via Digitalmars-d-learn
Is this correct usage? auto gg = GGPlotD().put( geomLine( Aes!(typeof(xs), "x", typeof(ysfit), "y", string, "colour")( xs, ysfit, "red") ) ); The output is a blank png file. Full source: import ggplotd.ggplotd; import ggplotd.geom; import ggplotd.aes; import ggplotd.axes; void main() {

[Issue 15839] [REG2.071-b1] this.outer is of wrong type

2016-05-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15839 --- Comment #12 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/a117c87a8a9ffbccc78b2c28ae3643b5e5b02794 Fix invalid AST produced by issue 15839 fix The fix for

[Issue 13532] std.regex performance (enums; regex vs ctRegex)

2016-05-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13532 --- Comment #5 from Vladimir Panteleev --- (In reply to Dmitry Olshansky from comment #4) > (In reply to Vladimir Panteleev from comment #2) > > Well, it's slower for this particular case, not necessarily in general. > >

Re: C#7 features

2016-05-08 Thread Peter Häggman via Digitalmars-d-announce
On Friday, 6 May 2016 at 14:33:22 UTC, Andrei Alexandrescu wrote: Most of them are also present in D, yay. https://www.reddit.com/r/programming/comments/4i3h77/some_new_c7_features/ Added a comment: https://www.reddit.com/r/programming/comments/4i3h77/some_new_c7_features/d2v5lu6 Andrei

Re: Compiler silently ignores some method overloads

2016-05-08 Thread Peter Häggman via Digitalmars-d-learn
On Sunday, 8 May 2016 at 13:28:47 UTC, pineapple wrote: [...] I get a compiler error like so: E:\Dropbox\Projects\d\mach\sdl\surface.d(434): Error: none of the overloads of 'opIndexAssign' are callable using argument types (GLColor!float, int, int), candidates are:

Re: Compiler benchmarks for an alternative to std.uni.asLowerCase.

2016-05-08 Thread Peter Häggman via Digitalmars-d
On Sunday, 8 May 2016 at 23:38:31 UTC, Jon D wrote: I did a performance study on speeding up case conversion in std.uni.asLowerCase. Specifics for asLowerCase have been added to issue https://issues.dlang.org/show_bug.cgi?id=11229. Publishing here as some of the more general observations may

Re: parameter pack to inputRange

2016-05-08 Thread Erik Smith via Digitalmars-d-learn
On Sunday, 8 May 2016 at 23:49:40 UTC, Ali Çehreli wrote: On 05/08/2016 04:48 PM, Erik Smith wrote: On Sunday, 8 May 2016 at 22:37:44 UTC, Dicebot wrote: On Sunday, 8 May 2016 at 14:11:31 UTC, Ali Çehreli wrote: E front() { final switch (index) { /* static

Re: parameter pack to inputRange

2016-05-08 Thread Ali Çehreli via Digitalmars-d-learn
On 05/08/2016 04:48 PM, Erik Smith wrote: On Sunday, 8 May 2016 at 22:37:44 UTC, Dicebot wrote: On Sunday, 8 May 2016 at 14:11:31 UTC, Ali Çehreli wrote: E front() { final switch (index) { /* static */ foreach (i, arg; Args) { case i:

Re: parameter pack to inputRange

2016-05-08 Thread Erik Smith via Digitalmars-d-learn
On Sunday, 8 May 2016 at 22:37:44 UTC, Dicebot wrote: On Sunday, 8 May 2016 at 14:11:31 UTC, Ali Çehreli wrote: E front() { final switch (index) { /* static */ foreach (i, arg; Args) { case i: return arg;

Re: How are you enjoying DConf? And where to go next?

2016-05-08 Thread Jonathan M Davis via Digitalmars-d
On Sunday, May 08, 2016 21:56:16 Seb via Digitalmars-d wrote: > On Sunday, 8 May 2016 at 19:39:11 UTC, Andrei Alexandrescu wrote: > > On 5/8/16 6:47 PM, Lionello Lunesu wrote: > >> As for location: I attended CodeConf Hong Kong last November, > >> hosted at > >> Hong Kong University of Science and

Compiler benchmarks for an alternative to std.uni.asLowerCase.

2016-05-08 Thread Jon D via Digitalmars-d
I did a performance study on speeding up case conversion in std.uni.asLowerCase. Specifics for asLowerCase have been added to issue https://issues.dlang.org/show_bug.cgi?id=11229. Publishing here as some of the more general observations may be of wider interest. Background - Case conversion

Re: parameter pack to inputRange

2016-05-08 Thread Dicebot via Digitalmars-d-learn
On Sunday, 8 May 2016 at 14:11:31 UTC, Ali Çehreli wrote: E front() { final switch (index) { /* static */ foreach (i, arg; Args) { case i: return arg; } } } AFAIK, this will do

Re: parameter pack to inputRange

2016-05-08 Thread Dicebot via Digitalmars-d-learn
On Sunday, 8 May 2016 at 14:11:31 UTC, Ali Çehreli wrote: On 05/05/2016 11:08 PM, Dicebot wrote: > Unless parameter list is very (very!) long, I'd suggest to simply copy > it into a stack struct. Something like this: > > auto toInputRange (T...) (T args) > { > struct Range > { >

Re: Adventures in D Programming

2016-05-08 Thread H. S. Teoh via Digitalmars-d-announce
On Sun, May 08, 2016 at 10:45:51PM +0300, Andrei Alexandrescu via Digitalmars-d-announce wrote: > On 5/8/16 8:19 PM, qznc wrote: > >On Sunday, 8 May 2016 at 06:05:36 UTC, Iain Buclaw wrote: > >>http://blog.tenstral.net/2016/05/adventures-in-d-programming.html > > > >Thanks, I missed that post

Re: How to convert this code: (is(ToString(t))

2016-05-08 Thread Peter Häggman via Digitalmars-d
On Sunday, 8 May 2016 at 18:55:58 UTC, Pablo wrote: This is part of the old dparse.d file: private import std.string : ToString = toString ; char[] string() { static if(str) { static if(is(T == char[]))

Re: Adventures in D Programming

2016-05-08 Thread Peter Häggman via Digitalmars-d-announce
On Sunday, 8 May 2016 at 17:19:05 UTC, qznc wrote: On Sunday, 8 May 2016 at 06:05:36 UTC, Iain Buclaw wrote: http://blog.tenstral.net/2016/05/adventures-in-d-programming.html Thanks, I missed that post until now. "the documentation not matching the actual code is a bad experience for

Re: parameter pack to inputRange

2016-05-08 Thread Erik Smith via Digitalmars-d-learn
On Sunday, 8 May 2016 at 14:11:31 UTC, Ali Çehreli wrote: On 05/05/2016 11:08 PM, Dicebot wrote: > Unless parameter list is very (very!) long, I'd suggest to simply copy > it into a stack struct. Something like this: > > auto toInputRange (T...) (T args) > { > struct Range > { >

Re: Adventures in D Programming

2016-05-08 Thread wobbles via Digitalmars-d-announce
On Sunday, 8 May 2016 at 19:12:17 UTC, Adam D. Ruppe wrote: On Sunday, 8 May 2016 at 19:09:07 UTC, Daniel Kozak wrote: I remember that I have mentioned that once here, but I thing there was not big interest at it :( I'm doing it on dpldocs.info as soon as I leave the alpha period (which is

Re: How to convert this code: (is(ToString(t))

2016-05-08 Thread wobbles via Digitalmars-d
On Sunday, 8 May 2016 at 18:55:58 UTC, Pablo wrote: This is part of the old dparse.d file: private import std.string : ToString = toString ; char[] string() { static if(str) { static if(is(T == char[]))

Re: How are you enjoying DConf? And where to go next?

2016-05-08 Thread Seb via Digitalmars-d
On Sunday, 8 May 2016 at 19:39:11 UTC, Andrei Alexandrescu wrote: On 5/8/16 6:47 PM, Lionello Lunesu wrote: As for location: I attended CodeConf Hong Kong last November, hosted at Hong Kong University of Science and Technology. It was a great venue and they're very open to hosting similar

Re: So, About That Official Blog...

2016-05-08 Thread Nick Sabalausky via Digitalmars-d
On 05/06/2016 03:48 AM, maik klein wrote: On Friday, 6 May 2016 at 03:01:07 UTC, Dicebot wrote: On 05/06/2016 04:26 AM, Jack Stouffer wrote: Also, I can just include a simple JS library for the same auto-highlighting functionality. Please prefer static generators and pygment-like

[Issue 11229] std.string.toLower is slow

2016-05-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11229 --- Comment #7 from Jon Degenhardt --- Similar to the previous comment, I tried an alternate implementation for std.uni.asLowerCase using map with std.uni.toLower (the single character version). The single character

Re: Adventures in D Programming

2016-05-08 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 5/8/16 8:19 PM, qznc wrote: On Sunday, 8 May 2016 at 06:05:36 UTC, Iain Buclaw wrote: http://blog.tenstral.net/2016/05/adventures-in-d-programming.html Thanks, I missed that post until now. "the documentation not matching the actual code is a bad experience for someone new to the

[Issue 16004] Document changes to protection attributes

2016-05-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16004 Mathias Lang changed: What|Removed |Added Summary|Properly document changes |Document

[Issue 16004] New: Properly document changes to protection attributes

2016-05-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16004 Issue ID: 16004 Summary: Properly document changes to protection attributes Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major

Re: How are you enjoying DConf? And where to go next?

2016-05-08 Thread Andrei Alexandrescu via Digitalmars-d
On 5/8/16 6:47 PM, Lionello Lunesu wrote: As for location: I attended CodeConf Hong Kong last November, hosted at Hong Kong University of Science and Technology. It was a great venue and they're very open to hosting similar events! Show Asia some love! I'll chase down the responsible people.

Re: Small C wrapper in your DUB package?

2016-05-08 Thread cy via Digitalmars-d-learn
Well, just messing with it myself, the solution seems to be to make a .a library, link with /lib/libc.a since unlike .o, .a breaks shared linkage, and then refer to it in libs as "$PACKAGE_DIR/libmywrapper.a" ... "preBuildCommands": ["make -C $PACKAGE_DIR"], "libs":

Re: Adventures in D Programming

2016-05-08 Thread Adam D. Ruppe via Digitalmars-d-announce
On Sunday, 8 May 2016 at 19:09:07 UTC, Daniel Kozak wrote: I remember that I have mentioned that once here, but I thing there was not big interest at it :( I'm doing it on dpldocs.info as soon as I leave the alpha period (which is finally coming soon).

Re: Adventures in D Programming

2016-05-08 Thread Daniel Kozak via Digitalmars-d-announce
Dne 8.5.2016 v 21:09 Daniel Kozak napsal(a): Dne 8.5.2016 v 19:19 qznc via Digitalmars-d-announce napsal(a): On Sunday, 8 May 2016 at 06:05:36 UTC, Iain Buclaw wrote: http://blog.tenstral.net/2016/05/adventures-in-d-programming.html Thanks, I missed that post until now. "the

Re: dmd not building with dmd

2016-05-08 Thread Walter Bright via Digitalmars-d
On 5/8/2016 12:18 AM, Walter Bright wrote: On 5/7/2016 11:43 PM, Steven Schveighoffer wrote: I went to create a PR, and did a git pull on all my repositories. After make clean on OSX, dmd would not build: /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src -f posix.mak no cpu

Re: Adventures in D Programming

2016-05-08 Thread Daniel Kozak via Digitalmars-d-announce
Dne 8.5.2016 v 19:19 qznc via Digitalmars-d-announce napsal(a): On Sunday, 8 May 2016 at 06:05:36 UTC, Iain Buclaw wrote: http://blog.tenstral.net/2016/05/adventures-in-d-programming.html Thanks, I missed that post until now. "the documentation not matching the actual code is a bad

How to convert this code: (is(ToString(t))

2016-05-08 Thread Pablo via Digitalmars-d
This is part of the old dparse.d file: private import std.string : ToString = toString ; char[] string() { static if(str) { static if(is(T == char[])) return t; else

Re: So, About That Official Blog...

2016-05-08 Thread Adrian Matoga via Digitalmars-d
On Friday, 6 May 2016 at 13:47:48 UTC, Adam D. Ruppe wrote: On Friday, 6 May 2016 at 13:34:02 UTC, Jack Stouffer wrote: Using JS for an eye candy feature on the internet is not "outrageous". It's not like with JS turned off the code would be displayed with no formatting and in sans-serif.

[Issue 16003] stringof for module doesn't include full path

2016-05-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16003 Dmitry Olshansky changed: What|Removed |Added Status|NEW |RESOLVED

Small C wrapper in your DUB package?

2016-05-08 Thread cy via Digitalmars-d-learn
I'm tiring of making extern (C) signatures for a million library calls and counting out the offset of members of C structures, to produce analagous D structures. Couldn't I just make a .c file that had my own specialized, opaque, D friendly interface? I don't really know how to do that.

Re: Adventures in D Programming

2016-05-08 Thread qznc via Digitalmars-d-announce
On Sunday, 8 May 2016 at 06:05:36 UTC, Iain Buclaw wrote: http://blog.tenstral.net/2016/05/adventures-in-d-programming.html Thanks, I missed that post until now. "the documentation not matching the actual code is a bad experience for someone new to the language" I would interpret that as

Re: Post-mixin-expansion source output

2016-05-08 Thread Stefan Koch via Digitalmars-d
On Sunday, 8 May 2016 at 10:24:12 UTC, Mithun Hunsur wrote: Hi all, I was discussing this with Stefan Koch and a few other people at DConf - would it be possible to have a compiler switch for outputting the complete source file after the mixins have been expanded, similar to gcc -E? [...]

Re: How are you enjoying DConf? And where to go next?

2016-05-08 Thread Atila Neves via Digitalmars-d
On Friday, 6 May 2016 at 14:13:35 UTC, Andrei Alexandrescu wrote: The atmosphere here is great, and I'm curious how it feels for those who are watching remotely. Is the experience good? What can we do better? Also: we're talking about the DConf 2017 location. Please share any initial

Re: Quotes from DConf 2016

2016-05-08 Thread Stefan Koch via Digitalmars-d
On Sunday, 8 May 2016 at 09:01:07 UTC, Iain Buclaw wrote: I probably wouldn't use the term "hack", instead I'd use an analogy along the lines of: CTFE is a bit like a Morris Minor, sold everywhere initially, comfortable to ride, and reliable so long as you didn't ask for too much from it,

Re: How are you enjoying DConf? And where to go next?

2016-05-08 Thread Lionello Lunesu via Digitalmars-d
On 6/5/2016 22:13, Andrei Alexandrescu wrote: The atmosphere here is great, and I'm curious how it feels for those who are watching remotely. Is the experience good? What can we do better? Also: we're talking about the DConf 2017 location. Please share any initial thoughts! Thanks, Andrei

Re: The end of curl (in phobos)

2016-05-08 Thread Lionello Lunesu via Digitalmars-d
On 6/5/2016 20:17, qznc wrote: On Friday, 6 May 2016 at 09:21:43 UTC, Andrei Alexandrescu wrote: On 5/6/16 10:32 AM, Robert burner Schadek wrote: As discussed yesterday at DConf, curl in phobos must go. The plan is as follows. 1. undocument everything curl related in may 2016 2. deprecate

Re: So, About That Official Blog...

2016-05-08 Thread deadalnix via Digitalmars-d
On Sunday, 8 May 2016 at 14:29:33 UTC, Jack Stouffer wrote: On Sunday, 8 May 2016 at 07:12:10 UTC, deadalnix wrote: Please no tumblr. Please elaborate. It is mostly used for shitposting memes, playing professional victims and porn. The very best place when you want to advertise yourself

Re: The end of curl (in phobos)

2016-05-08 Thread Andrei Alexandrescu via Digitalmars-d
On 5/8/16 5:37 PM, Suliman wrote: Andrei, is there any plans to drop etc.c.odbc ? No. -- Andrei

Re: [OT] Re: How are you enjoying DConf? And where to go next?

2016-05-08 Thread deadalnix via Digitalmars-d
On Sunday, 8 May 2016 at 14:05:58 UTC, Russel Winder wrote:   -∞ 2    =    0 Don't try this at home kids, several mathematicians died during the making of that equation.

Re: So, About That Official Blog...

2016-05-08 Thread Jack Stouffer via Digitalmars-d
On Sunday, 8 May 2016 at 09:48:04 UTC, Steven Schveighoffer wrote: Yes, why not some dogfood Convenience mostly. As I have pointed out earlier, by going with an external solution, we get several things out of the box like: * multiple authors with permissions without replying on the slow

Re: So, About That Official Blog...

2016-05-08 Thread Jack Stouffer via Digitalmars-d
On Sunday, 8 May 2016 at 07:12:10 UTC, deadalnix wrote: Please no tumblr. Please elaborate.

Re: parameter pack to inputRange

2016-05-08 Thread Ali Çehreli via Digitalmars-d-learn
On 05/05/2016 11:08 PM, Dicebot wrote: > Unless parameter list is very (very!) long, I'd suggest to simply copy > it into a stack struct. Something like this: > > auto toInputRange (T...) (T args) > { > struct Range > { > T args; > size_t index; > > T[0] front

Re: [OT] Re: How are you enjoying DConf? And where to go next?

2016-05-08 Thread Russel Winder via Digitalmars-d
On Sat, 2016-05-07 at 20:45 +0300, Dmitry Olshansky via Digitalmars-d wrote: > On 07-May-2016 19:50, Russel Winder via Digitalmars-d wrote: > > > > On Sat, 2016-05-07 at 15:17 +, Adam D. Ruppe via Digitalmars-d > > wrote: > > > > > > > > […] > > > > > > Besides, zero is just as arbitrary

Re: GSoC 2016 - Precise GC

2016-05-08 Thread Pham via Digitalmars-d-announce
On Friday, 6 May 2016 at 09:06:59 UTC, Dmitry Olshansky wrote: On 06-May-2016 05:37, Jeremy DeHaan wrote: On Wednesday, 4 May 2016 at 12:42:30 UTC, jmh530 wrote: On Wednesday, 4 May 2016 at 02:50:08 UTC, Jeremy DeHaan wrote: You can identify safe functions with

Re: The end of curl (in phobos)

2016-05-08 Thread Vladimir Panteleev via Digitalmars-d
On Sunday, 8 May 2016 at 09:43:14 UTC, Steven Schveighoffer wrote: My understanding is that libcurl isn't default installed on some platforms (e.g. windows). So we have a dependency on an external library that may not be present. If in "first five minutes" user wants to execute downloads from

Compiler silently ignores some method overloads

2016-05-08 Thread pineapple via Digitalmars-d-learn
In my struct I have some methods with these signatures: void opIndexAssign(T)(in GLColor!T color, in int x, in int y) void opIndexAssign(T1, T2)(in GLColor!T1 color, in Vector2!T2 vector) void opIndexAssign(in uint value, in int x, in int y) And when I try to do this:

Re: DConf2016 Livestream questions

2016-05-08 Thread Liran Zvibel via Digitalmars-d
On Thursday, 5 May 2016 at 21:51:56 UTC, Vadim Goryunov wrote: Question to Liran Zvibel: Did you (Weka.IO team) consider possibility to write all code in zeroGC fashion? i.e. pre-allocating as much as possible, using manual malloc/free for regular allocations or using arena-style allocator

Re: How are you enjoying DConf? And where to go next?

2016-05-08 Thread wobbles via Digitalmars-d
On Saturday, 7 May 2016 at 07:40:59 UTC, Russel Winder wrote: On Fri, 2016-05-06 at 20:59 +, John Colvin via Digitalmars-d wrote: On Friday, 6 May 2016 at 14:57:59 UTC, Chris wrote: > [...] Dublin has cheap direct flights from quite a few places in the US, as well as pretty much

Re: Post-mixin-expansion source output

2016-05-08 Thread Iakh via Digitalmars-d
On Sunday, 8 May 2016 at 10:24:12 UTC, Mithun Hunsur wrote: Hi all, I was discussing this with Stefan Koch and a few other people at DConf - would it be possible to have a compiler switch for outputting the complete source file after the mixins have been expanded, similar to gcc -E? I

Re: ggplotd - curve colour

2016-05-08 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Sunday, 8 May 2016 at 01:50:38 UTC, brocolis wrote: How do I set the color of a curve with ggplotd? Thanks. Also see the below example on how to merge Colour with an existing range of points using mergeRange: (Copied from http://blackedder.github.io/ggplotd/stat.html) void main() {

Re: [RFC] D Improvement Proposals: Move to git + markdown?

2016-05-08 Thread Nordlöw via Digitalmars-d
On Thursday, 28 April 2016 at 08:28:20 UTC, Seb wrote: A couple of advantages: 1) Full page generator engine included - extending the setup or template is easy 2) Dlang theme/branding -> official status 3) In future: Detailed Git history 4) Peer-review on Github 5) Plain-text (+offline

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

2016-05-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15939 --- Comment #11 from Martin Nowak --- Having the main thread hang while waiting for semaphore posts in the thread_suspendAll is a good indication that the signal was lost. Did you have gdb attached while the signal was send? That

Re: GSoC 2016 - Precise GC

2016-05-08 Thread deadalnix via Digitalmars-d-announce
On Friday, 6 May 2016 at 09:31:08 UTC, Steven Schveighoffer wrote: On 5/6/16 11:06 AM, Dmitry Olshansky wrote: On 06-May-2016 05:37, Jeremy DeHaan wrote: On Wednesday, 4 May 2016 at 12:42:30 UTC, jmh530 wrote: On Wednesday, 4 May 2016 at 02:50:08 UTC, Jeremy DeHaan wrote: I'm not sure, but

Re: dmd not building with dmd

2016-05-08 Thread Jacob Carlborg via Digitalmars-d
On Sunday, 8 May 2016 at 07:18:05 UTC, Walter Bright wrote: __dmd_personality_v0 is in druntime\src\rt\dwarfeh.d, and was added rather recently. So it seems you have a dmd-phobos mismatch. I'm not sure what how your current setup looks like. But on OS X these days we should target clang,

Re: dmd not building with dmd

2016-05-08 Thread Steven Schveighoffer via Digitalmars-d
On Sunday, 8 May 2016 at 10:30:06 UTC, Jacob Carlborg wrote: On Sunday, 8 May 2016 at 06:43:38 UTC, Steven Schveighoffer wrote: Undefined symbols for architecture x86_64: "__Unwind_GetIPInfo", referenced from: ___dmd_personality_v0 in libphobos2.a(dwarfeh_5c8_811.o) ld: symbol(s) not

Re: dmd not building with dmd

2016-05-08 Thread Jacob Carlborg via Digitalmars-d
On Sunday, 8 May 2016 at 06:43:38 UTC, Steven Schveighoffer wrote: Undefined symbols for architecture x86_64: "__Unwind_GetIPInfo", referenced from: ___dmd_personality_v0 in libphobos2.a(dwarfeh_5c8_811.o) ld: symbol(s) not found for architecture x86_64 It's a bug that has been

Re: DConf video news

2016-05-08 Thread deadalnix via Digitalmars-d-announce
On Friday, 6 May 2016 at 14:35:02 UTC, Andrei Alexandrescu wrote: Hot off the press from the video producers: "just a heads-up! as a quick fix [a colleague] will add chapter markers in the ustream videos so that one can see who is talking when and directly jump to the talk in question!

Post-mixin-expansion source output

2016-05-08 Thread Mithun Hunsur via Digitalmars-d
Hi all, I was discussing this with Stefan Koch and a few other people at DConf - would it be possible to have a compiler switch for outputting the complete source file after the mixins have been expanded, similar to gcc -E? I assume that mixin expansion occurs in the semantic pass, which

Re: So, About That Official Blog...

2016-05-08 Thread Steven Schveighoffer via Digitalmars-d
On 5/8/16 9:12 AM, deadalnix wrote: On Thursday, 5 May 2016 at 18:22:50 UTC, Jack Stouffer wrote: This keeps coming up, so in the theme of Andrei's talk and because my day job is a web dev, I decided to do something about it. I have created this tumblr blog which I hope to shape into the

Re: The end of curl (in phobos)

2016-05-08 Thread Steven Schveighoffer via Digitalmars-d
On 5/8/16 10:33 AM, Andrei Alexandrescu wrote: On 5/8/16 11:05 AM, Jonathan M Davis via Digitalmars-d wrote: On Sunday, May 08, 2016 02:44:48 Adam D. Ruppe via Digitalmars-d wrote: On Saturday, 7 May 2016 at 20:50:53 UTC, Jonas Drewsen wrote: But std.net.curl supports not just HTTP but also

Re: dmd not building with dmd

2016-05-08 Thread Steven Schveighoffer via Digitalmars-d
On 5/8/16 9:18 AM, Walter Bright wrote: On 5/7/2016 11:43 PM, Steven Schveighoffer wrote: I went to create a PR, and did a git pull on all my repositories. After make clean on OSX, dmd would not build: /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src -f posix.mak no cpu

Re: Quotes from DConf 2016

2016-05-08 Thread Iain Buclaw via Digitalmars-d
On 8 May 2016 at 04:25, Joakim via Digitalmars-d wrote: > "CTFE is really a hack. You can see that it's a hack, it's implemented as a > hack. It is the most useful hack that I've ever seen, and it is definitely > a hacker's tool to do stuff that are like magic. But

Re: ggplotd - curve colour

2016-05-08 Thread Edwin van Leeuwen via Digitalmars-d-learn
On Sunday, 8 May 2016 at 01:50:38 UTC, brocolis wrote: How do I set the color of a curve with ggplotd? Thanks. You can set colours by name: https://github.com/BlackEdder/ggplotd/blob/master/source/ggplotd/colour.d#L20 Alternatively you can pass through the RGB value (see the link above for

Re: Pointer top 16 bits use

2016-05-08 Thread deadalnix via Digitalmars-d
On Saturday, 7 May 2016 at 12:32:53 UTC, Marco Leise wrote: Am Sat, 07 May 2016 12:02:07 + schrieb Nicholas Wilson : On Saturday, 7 May 2016 at 09:01:11 UTC, Ali Çehreli wrote: > On 05/06/2016 11:08 PM, Nicholas Wilson wrote: >> In Dicebot's DConf talk > >

Re: The end of curl (in phobos)

2016-05-08 Thread Andrei Alexandrescu via Digitalmars-d
On 5/8/16 11:05 AM, Jonathan M Davis via Digitalmars-d wrote: On Sunday, May 08, 2016 02:44:48 Adam D. Ruppe via Digitalmars-d wrote: On Saturday, 7 May 2016 at 20:50:53 UTC, Jonas Drewsen wrote: But std.net.curl supports not just HTTP but also FTP etc. so i guess that won't suffice. We can

Re: template auto instantiation when parameters empty

2016-05-08 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, May 05, 2016 19:09:01 Steven Schveighoffer via Digitalmars-d- learn wrote: > On 5/5/16 6:50 PM, Erik Smith wrote: > > Alias works at the cost of adding a 2nd type name: > > > > alias Res = Resource!(); > > auto res = Res.create > > > > The other problem is that the alias definition

Re: How can I save a class use the RedBlackTree?

2016-05-08 Thread Jonathan M Davis via Digitalmars-d-learn
On Tuesday, May 03, 2016 13:26:22 Meta via Digitalmars-d-learn wrote: > On Tuesday, 3 May 2016 at 12:12:04 UTC, Jonathan M Davis wrote: > > On Tue, 3 May 2016 11:37:13 +0200 > > Steven Schveighoffer via Digitalmars-d-learn > > > > wrote: > >> bleh, Object.opCmp

Re: Adventures in D Programming

2016-05-08 Thread Antonio Corbi via Digitalmars-d-announce
On Sunday, 8 May 2016 at 06:05:36 UTC, Iain Buclaw wrote: I was paged about a blog post from an old friend who floats around the circles in the Debian camp. The author, Matthias, should be no stranger around these forums, though I was surprised to discover that I know him on OFTC too (I

[Issue 16003] stringof for module doesn't include full path

2016-05-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16003 Dmitry Olshansky changed: What|Removed |Added Severity|enhancement |blocker ---

Re: The end of curl (in phobos)

2016-05-08 Thread Jonathan M Davis via Digitalmars-d
On Sunday, May 08, 2016 02:44:48 Adam D. Ruppe via Digitalmars-d wrote: > On Saturday, 7 May 2016 at 20:50:53 UTC, Jonas Drewsen wrote: > > But std.net.curl supports not just HTTP but also FTP etc. so i > > guess that won't suffice. > > We can always implement ftp too, it isn't that complicated of

[Issue 16003] New: stringof for module doesn't include full path

2016-05-08 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16003 Issue ID: 16003 Summary: stringof for module doesn't include full path Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

Re: The end of curl (in phobos)

2016-05-08 Thread ikod via Digitalmars-d
On Saturday, 7 May 2016 at 21:03:36 UTC, yawniek wrote: On Saturday, 7 May 2016 at 09:46:36 UTC, ikod wrote: What do you mean under re-licensing? you added GPL to requests, this is incompatible with phobos and your code can not be included. could it be changed to boost licence? Hello,

Re: CPU discussion post-DConf

2016-05-08 Thread Mithun Hunsur via Digitalmars-d
On Friday, 6 May 2016 at 23:46:56 UTC, Anon wrote: On Friday, 6 May 2016 at 20:32:59 UTC, Assi Zanafi wrote: Quantum CPU before x86_128 ? what do you think ? I really think that x86_64 is the last "classic architecture". Intel will never make x86 with 128 bits addresses. Qbytes will raise

Re: CPU discussion post-DConf

2016-05-08 Thread Mithun Hunsur via Digitalmars-d
On Saturday, 7 May 2016 at 12:58:48 UTC, Kai Nacke wrote: On Friday, 6 May 2016 at 17:45:52 UTC, Mithun Hunsur wrote: After my talk, I had a few people come up to me and express interest in talking about CPUs and projects related to them - unfortunately, I've got a flight to catch (I'm

Re: dmd not building with dmd

2016-05-08 Thread Walter Bright via Digitalmars-d
On 5/7/2016 11:43 PM, Steven Schveighoffer wrote: I went to create a PR, and did a git pull on all my repositories. After make clean on OSX, dmd would not build: /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src -f posix.mak no cpu specified, assuming X86 CC=c++ dmd idgen.d

Re: So, About That Official Blog...

2016-05-08 Thread deadalnix via Digitalmars-d
On Thursday, 5 May 2016 at 18:22:50 UTC, Jack Stouffer wrote: This keeps coming up, so in the theme of Andrei's talk and because my day job is a web dev, I decided to do something about it. I have created this tumblr blog which I hope to shape into the official dlang blog:

dmd not building with dmd

2016-05-08 Thread Steven Schveighoffer via Digitalmars-d
I went to create a PR, and did a git pull on all my repositories. After make clean on OSX, dmd would not build: /Applications/Xcode.app/Contents/Developer/usr/bin/make -C src -f posix.mak no cpu specified, assuming X86 CC=c++ dmd idgen.d Undefined symbols for architecture x86_64:

Re: It's alive! D building D building D, all on Android

2016-05-08 Thread Joakim via Digitalmars-d-announce
On Sunday, 8 May 2016 at 05:08:32 UTC, Rory McGuire wrote: On 08 May 2016 02:21, "Joakim via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: On Saturday, 7 May 2016 at 09:58:14 UTC, Johan Engelen wrote: Fantastic news! I hope we can find a good way to integrate

Adventures in D Programming

2016-05-08 Thread Iain Buclaw via Digitalmars-d-announce
I was paged about a blog post from an old friend who floats around the circles in the Debian camp. The author, Matthias, should be no stranger around these forums, though I was surprised to discover that I know him on OFTC too (I wonder if he knows this also). For those who have been