Re: Martin Nowak is officially MIA

2015-06-20 Thread Shachar Shemesh via Digitalmars-d
On 20/06/15 12:37, Martin Nowak wrote: Which also comes with the usual e-mail benefit, people think a lot more before hitting send. You talk like someone who's never seen a flame war. Shachar

Re: D could catch this wave: web assembly

2015-06-20 Thread via Digitalmars-d
On Sunday, 21 June 2015 at 05:42:13 UTC, Joakim wrote: No, I'm not arguing for pages at all, I'm saying that model is dead and gone. I think the hyperlink was the killer feature of the web, but everything else, HTML/CSS/JS, is just detritus accumulated on top, that needs to be thrown away. T

Re: Creating a better user experience

2015-06-20 Thread Joakim via Digitalmars-d
On Sunday, 21 June 2015 at 05:44:02 UTC, Shammah Chancellor wrote: I have watched plethora of projects come and be discharged to the sea of abandonware over the last 15 years of watching D. For new users getting started with D it can be hard to find some of the tools that are current. It wou

Creating a better user experience

2015-06-20 Thread Shammah Chancellor via Digitalmars-d
I have watched plethora of projects come and be discharged to the sea of abandonware over the last 15 years of watching D. For new users getting started with D it can be hard to find some of the tools that are current. It would be really nice if dub, dfmt, and dfix were co-opted into the sta

Re: D could catch this wave: web assembly

2015-06-20 Thread Joakim via Digitalmars-d
On Saturday, 20 June 2015 at 19:39:06 UTC, Ola Fosheim Grøstad wrote: Yes, but would it be better to just have pages and no apps? I don't think so. When I build an order system it is very useful to build it like an app. No, I'm not arguing for pages at all, I'm saying that model is dead and g

Re: Slice patterns in Nightly Rust

2015-06-20 Thread via Digitalmars-d
On Sunday, 21 June 2015 at 03:23:18 UTC, Dennis Ritchie wrote: I see this competition slices of D. Also seen are not very clear design. It functional programming using pattern matching over arrays. It is very clear, but perhaps not frequently needed.

Re: Slice patterns in Nightly Rust

2015-06-20 Thread Israel via Digitalmars-d
On Sunday, 21 June 2015 at 03:23:18 UTC, Dennis Ritchie wrote: Recently published documentation Nightly Rust. I saw this: https://doc.rust-lang.org/nightly/book/slice-patterns.html What do you think about this: a terrible thing or a cool feature? fn is_symmetric(list: &[u32]) -> bool { ma

Slice patterns in Nightly Rust

2015-06-20 Thread Dennis Ritchie via Digitalmars-d
Recently published documentation Nightly Rust. I saw this: https://doc.rust-lang.org/nightly/book/slice-patterns.html What do you think about this: a terrible thing or a cool feature? fn is_symmetric(list: &[u32]) -> bool { match list { [] | [_] => true, [x, inside.., y] if x

Re: PHP verses C#.NET verses D.

2015-06-20 Thread Nick B via Digitalmars-d
On Friday, 19 June 2015 at 11:28:30 UTC, Etienne Cimon wrote: On Thursday, 18 June 2015 at 05:23:25 UTC, Nick B wrote: On Thursday, 18 June 2015 at 03:44:08 UTC, Etienne Cimon wrote: Will you explain how it is different to Vibe.d ? It has HTTP/2, a new encryption library, it uses a native

Re: Phobos addition formal review: std.experimental.allocator

2015-06-20 Thread bitwise via Digitalmars-d
On Tue, 16 Jun 2015 16:29:08 -0400, Andrei Alexandrescu wrote: On Saturday, 13 June 2015 at 19:08:26 UTC, Jacob Carlborg wrote: On 2015-06-12 13:06, Dicebot wrote: The legendary allocator package by Andrei Alexandrescu has arrived at your doorsteps and kindly asks to let it into Phobos htt

Re: Future(s) for D.

2015-06-20 Thread Etienne via Digitalmars-d
On Saturday, 20 June 2015 at 22:42:23 UTC, Ellery Newcomer wrote: On 06/20/2015 07:00 AM, Etienne wrote: On Saturday, 20 June 2015 at 13:33:34 UTC, Dragos Carp wrote: On Saturday, 20 June 2015 at 12:35:11 UTC, weaselcat wrote: [...] Even if the callbacks are sequentially listed, the "callbac

Re: split up the changelog?

2015-06-20 Thread anonymous via Digitalmars-d
On Friday, 19 June 2015 at 21:28:11 UTC, anonymous wrote: For some reason the list stops at 2.023. I don't know if I messed something up, or if dmd is being silly. Will have to investigate. Filed issue 14717 - Ddoc macro recursion limit too low: https://issues.dlang.org/show_bug.cgi?id=14717

Re: We simply must implement this for D to stay competitive

2015-06-20 Thread Baz via Digitalmars-d
On Saturday, 20 June 2015 at 22:38:30 UTC, Walter Bright wrote: https://github.com/rollbear/basicpp This leads to this classic, the original Bourne shell ALGO-izer macros: http://minnie.tuhs.org/cgi-bin/utree.pl?file=2.11BSD/src/bin/sh/mac.h

Re: Future(s) for D.

2015-06-20 Thread Ellery Newcomer via Digitalmars-d
On 06/20/2015 07:00 AM, Etienne wrote: On Saturday, 20 June 2015 at 13:33:34 UTC, Dragos Carp wrote: On Saturday, 20 June 2015 at 12:35:11 UTC, weaselcat wrote: I recently read this facebook post on their future implementation in their Folly library. https://code.facebook.com/posts/16619820973

We simply must implement this for D to stay competitive

2015-06-20 Thread Walter Bright via Digitalmars-d
https://github.com/rollbear/basicpp

Re: Naming things

2015-06-20 Thread Nick Sabalausky via Digitalmars-d
On 06/20/2015 05:27 AM, Vladimir Panteleev wrote: [...] +1kazillion

Re: D could catch this wave: web assembly

2015-06-20 Thread Nick Sabalausky via Digitalmars-d
On 06/20/2015 03:00 PM, Joakim wrote: As the browser tries to mesh these two worlds, the old-fashioned static hyperlinked pages and the new dynamic widgets of AJAX and HTML5, rifts crop up. The recent web components efforts you highlight do not address this at all, they merely make it easier to

Re: D could catch this wave: web assembly

2015-06-20 Thread via Digitalmars-d
On Saturday, 20 June 2015 at 16:20:31 UTC, ketmar wrote: On Sat, 20 Jun 2015 16:14:43 +, Ola Fosheim Grøstad wrote: On Saturday, 20 June 2015 at 15:36:45 UTC, ketmar wrote: it was designed to ignore that fact altogether. html/css layouting is a pitiful attempt and barely usable. bwah, it

Re: D could catch this wave: web assembly

2015-06-20 Thread via Digitalmars-d
On Saturday, 20 June 2015 at 19:00:08 UTC, Joakim wrote: I probably haven't been clear enough about what I mean. The original model for the web was a bunch of hyperlinked pages/documents. But that model increasingly breaks down as you make the page more dynamic. What are you linking to anym

Re: Naming things

2015-06-20 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 20 June 2015 at 18:46:45 UTC, Steven Schveighoffer wrote: I think the issue we are struggling with here is that: abbreviate -> abbreviated This makes some sense. However, the past participle of "set" is "set". So "set the extension" -> "a set extension" doesn't work, because "s

Re: D could catch this wave: web assembly

2015-06-20 Thread Joakim via Digitalmars-d
On Friday, 19 June 2015 at 15:52:09 UTC, Ola Fosheim Grøstad wrote: across sites. That does nothing to integrate the old page/hyperlink model of the web with the new dynamic HTML5 model, but as Nick said, simply piles more of the dynamic stuff on top. Actually, it does, as the logic is moved

Re: Naming things

2015-06-20 Thread Steven Schveighoffer via Digitalmars-d
On 6/20/15 5:27 AM, Vladimir Panteleev wrote: Naming things There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton I think the issue we are struggling with here is that: abbreviate -> abbreviated This makes some

Re: Future(s) for D.

2015-06-20 Thread Nick Sabalausky via Digitalmars-d
On 06/20/2015 01:24 PM, ketmar wrote: oh, well, i repeated Joel almost literally here. ;-) That dude knows his stuff ;)

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Martin Nowak via Digitalmars-d
On Saturday, 20 June 2015 at 17:04:48 UTC, Walter Bright wrote: On 6/20/2015 5:16 AM, Martin Nowak wrote: I can't use the strtold_dm from the backend, b/c it's not available for the other compilers, and AFAIU licensing doesn't allow me to move it to the frontend. Hmm. Perhaps google for simi

Re: Future(s) for D.

2015-06-20 Thread ketmar via Digitalmars-d
On Sat, 20 Jun 2015 13:10:26 -0400, Nick Sabalausky wrote: > Well, not really. I mean, managers and HR all *believe* that to be so. > But that's because pretty much all non-programmers, even ones in the > software dev industry who really should know better, are stuck in this > bizarre idea that pr

Re: Future(s) for D.

2015-06-20 Thread Nick Sabalausky via Digitalmars-d
On 06/20/2015 12:34 PM, ketmar wrote: On Sat, 20 Jun 2015 12:23:59 -0400, Nick Sabalausky wrote: let's compare numbers for php, java, ruby, js -- and D. most companies will not bet on language for which a pool of "hireable" developers is small. and it's understandable: two developers quit, and t

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Walter Bright via Digitalmars-d
On 6/20/2015 5:16 AM, Martin Nowak wrote: On 06/20/2015 02:00 PM, Martin Nowak wrote: On 06/20/2015 12:06 PM, Walter Bright wrote: On 6/20/2015 3:06 AM, Walter Bright wrote: Apparently we need to roll our own version of strtod() and put it in Port. We already do our own strtold(), so it shou

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Walter Bright via Digitalmars-d
On 6/20/2015 5:16 AM, Martin Nowak wrote: I can't use the strtold_dm from the backend, b/c it's not available for the other compilers, and AFAIU licensing doesn't allow me to move it to the frontend. Hmm. Perhaps google for similar code that would be available? Or submit a bug report to the De

Re: D could catch this wave: web assembly

2015-06-20 Thread Kagamin via Digitalmars-d
On Saturday, 20 June 2015 at 16:23:47 UTC, ketmar wrote: On Sat, 20 Jun 2015 16:18:28 +, Kagamin wrote: Windows API would be similar to X11, where you just specify everything in pixels and toolkits building on top of it manually do all the recomputations and layout policies, not the UI se

Re: Help add D tutorials to Hackr.io

2015-06-20 Thread Nick Sabalausky via Digitalmars-d
On 06/20/2015 12:18 PM, ketmar wrote: On Sat, 20 Jun 2015 15:55:24 +, NVolcz wrote: Found this site that collects learning material for different programming languages and tech. http://hackr.io/tutorials/d-programming-language OT: why do they keep naming their sites in this "suckr" manner

Re: D could catch this wave: web assembly

2015-06-20 Thread ketmar via Digitalmars-d
On Sat, 20 Jun 2015 12:32:11 -0400, Nick Sabalausky wrote: > On 06/20/2015 12:20 PM, ketmar wrote: >> On Sat, 20 Jun 2015 16:14:43 +, Ola Fosheim Grøstad wrote: >> >>> On Saturday, 20 June 2015 at 15:36:45 UTC, ketmar wrote: it was designed to ignore that fact altogether. html/css layout

Re: Future(s) for D.

2015-06-20 Thread ketmar via Digitalmars-d
On Sat, 20 Jun 2015 12:23:59 -0400, Nick Sabalausky wrote: yes. and another thing (which is tied to "popularity", though) is the question: how many developers are here to hire for XYZ? let's compare numbers for php, java, ruby, js -- and D. most companies will not bet on language for which a po

Re: D could catch this wave: web assembly

2015-06-20 Thread Nick Sabalausky via Digitalmars-d
On 06/20/2015 12:20 PM, ketmar wrote: On Sat, 20 Jun 2015 16:14:43 +, Ola Fosheim Grøstad wrote: On Saturday, 20 June 2015 at 15:36:45 UTC, ketmar wrote: it was designed to ignore that fact altogether. html/css layouting is a pitiful attempt and barely usable. bwah, it can't even do normal

Feasibility of a std.encoding.safeDecode overload for InputRanges?

2015-06-20 Thread E.S. Quinn via Digitalmars-d
Currently, std.encoding.safeDecode seems to only work on Random Access Ranges that have a .length property. (So essentially arrays and array-like objects), but I would very much like to be able to safeDecode strings that have lazy range-based processing applied to them (which often ends up with

Re: Future(s) for D.

2015-06-20 Thread Nick Sabalausky via Digitalmars-d
On 06/20/2015 11:12 AM, ketmar wrote: On Sat, 20 Jun 2015 14:00:47 +, Etienne wrote: Yep, looks like we already have better. I don't understand how D hasn't fully picked up in Web Dev at this point. Are they expecting an e-commerce/blogging/cms platform to go with it? D is just not ugly e

Re: D could catch this wave: web assembly

2015-06-20 Thread ketmar via Digitalmars-d
On Sat, 20 Jun 2015 16:18:28 +, Kagamin wrote: > Windows API would be similar to X11, where you just specify everything > in pixels and toolkits building on top of it manually do all the > recomputations and layout policies, not the UI server. only in windows "toolkit" is built into system. a

Re: D could catch this wave: web assembly

2015-06-20 Thread ketmar via Digitalmars-d
On Sat, 20 Jun 2015 16:14:43 +, Ola Fosheim Grøstad wrote: > On Saturday, 20 June 2015 at 15:36:45 UTC, ketmar wrote: >> it was designed to ignore that fact altogether. html/css layouting is a >> pitiful attempt and barely usable. bwah, it can't even do normal >> constraints! > > Hmmm, what

Re: D could catch this wave: web assembly

2015-06-20 Thread Kagamin via Digitalmars-d
On Saturday, 20 June 2015 at 15:36:45 UTC, ketmar wrote: On Sat, 20 Jun 2015 15:21:28 +, Kagamin wrote: High DPI settings screw up native UI too if it's not pixel-precise, and ignoring user preferences is infraction, I'm afraid. /me wonders if windows still cannot into dynamic layouts. i

Re: Help add D tutorials to Hackr.io

2015-06-20 Thread ketmar via Digitalmars-d
On Sat, 20 Jun 2015 15:55:24 +, NVolcz wrote: > Found this site that collects learning material for different > programming languages and tech. > http://hackr.io/tutorials/d-programming-language OT: why do they keep naming their sites in this "suckr" manner? there is a limit on number of "e"

Re: D could catch this wave: web assembly

2015-06-20 Thread via Digitalmars-d
On Saturday, 20 June 2015 at 15:36:45 UTC, ketmar wrote: it was designed to ignore that fact altogether. html/css layouting is a pitiful attempt and barely usable. bwah, it can't even do normal constraints! Hmmm, what do you mean by normal constraints? Modern CSS provides many options, too ma

Help add D tutorials to Hackr.io

2015-06-20 Thread NVolcz via Digitalmars-d
Found this site that collects learning material for different programming languages and tech. http://hackr.io/tutorials/d-programming-language

Re: D could catch this wave: web assembly

2015-06-20 Thread ketmar via Digitalmars-d
On Sat, 20 Jun 2015 15:21:28 +, Kagamin wrote: > High DPI settings screw up native UI too if it's not pixel-precise, and > ignoring user preferences is infraction, I'm afraid. /me wonders if windows still cannot into dynamic layouts. in any decent gui lib it's actually *harder* to build a gu

Re: D could catch this wave: web assembly

2015-06-20 Thread Kagamin via Digitalmars-d
On Friday, 19 June 2015 at 15:13:11 UTC, Joakim wrote: Hmm... Web: write once with html, css, js. Native: write three times in obj-c, java, c#. Not sure why the former should sink and not the latter. Because writing it once in HTML/CSS/JS takes you much longer than writing it in Java, while b

Re: D could catch this wave: web assembly

2015-06-20 Thread ketmar via Digitalmars-d
On Sat, 20 Jun 2015 14:06:50 +0200, Marco Leise wrote: > If you have a perfectly working old notebook with Windows XP on it, I > can recommend QtWeb for its low resource usage and modern-ish feature > set. It is a little unstable and rough around the edges though: > http://www.qtweb.net/ Qt+WebKi

Re: Martin Nowak is officially MIA

2015-06-20 Thread Martin Nowak via Digitalmars-d
On Thursday, 18 June 2015 at 16:02:19 UTC, Nick Sabalausky wrote: What happened to the one I contributed last year? If there's bitrot or other issues that needs addressing, then by all means, either ping me @ GitHub or email me at "nick1" @ my domain name in this message's header. Both are set

Re: Future(s) for D.

2015-06-20 Thread ketmar via Digitalmars-d
On Sat, 20 Jun 2015 14:00:47 +, Etienne wrote: > Yep, looks like we already have better. I don't understand how D hasn't > fully picked up in Web Dev at this point. Are they expecting an > e-commerce/blogging/cms platform to go with it? D is just not ugly enough. the key to be popular (not on

Re: Reduce has dreadful performance?

2015-06-20 Thread Martin Nowak via Digitalmars-d
On Thursday, 18 June 2015 at 18:55:25 UTC, Russel Winder wrote: Loop: 3.14s Reduce 1: 4.76s Reduce 2: 5.12s This is DMD 2.067 Don't compare performance numbers on dmd, particularly not when assessing abstraction overhead.

Re: Martin Nowak is officially MIA

2015-06-20 Thread Andrei Alexandrescu via Digitalmars-d
On 6/20/15 2:37 AM, Martin Nowak wrote: Basically a biweekly sprint meeting to plan our trello board and discuss other stuff would suffice. http://forum.dlang.org/post/55586d5b.8020...@dawg.eu A biweekly meeting would be great. -- Andrei

Re: Naming things

2015-06-20 Thread ketmar via Digitalmars-d
On Saturday, 20 June 2015 at 09:27:16 UTC, Vladimir Panteleev wrote: I would like to present a very similar case in another language, JavaScript. The String method has two functions with a similar name and functionality: "substr" and "substring". If you were to search the web, you can find a

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Andrei Alexandrescu via Digitalmars-d
On 6/20/15 2:30 AM, Martin Nowak wrote: On 06/19/2015 06:54 PM, Andrei Alexandrescu wrote: This is happening on my older CentOS as well, it's a problem in the C library. I suggest we just version those tests. -- Andrei Even more worrisome, I don't understand why dmd is compiling the unittests

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Iain Buclaw via Digitalmars-d
On 20 June 2015 at 14:03, Martin Nowak via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On 06/20/2015 01:35 PM, Iain Buclaw via Digitalmars-d wrote: > > Can we make this a boolean check removing the need for me to explicitly > set > > errno? > > The function returns a float, so errno seem

Re: Future(s) for D.

2015-06-20 Thread Etienne via Digitalmars-d
On Saturday, 20 June 2015 at 13:33:34 UTC, Dragos Carp wrote: On Saturday, 20 June 2015 at 12:35:11 UTC, weaselcat wrote: I recently read this facebook post on their future implementation in their Folly library. https://code.facebook.com/posts/1661982097368498 This made me slightly envious. T

Re: Future(s) for D.

2015-06-20 Thread Dragos Carp via Digitalmars-d
On Saturday, 20 June 2015 at 12:35:11 UTC, weaselcat wrote: I recently read this facebook post on their future implementation in their Folly library. https://code.facebook.com/posts/1661982097368498 This made me slightly envious. Thoughts on a D implementation? Even if the callbacks are sequ

Future(s) for D.

2015-06-20 Thread weaselcat via Digitalmars-d
I recently read this facebook post on their future implementation in their Folly library. https://code.facebook.com/posts/1661982097368498 This made me slightly envious. Thoughts on a D implementation?

Re: Reduce has dreadful performance?

2015-06-20 Thread weaselcat via Digitalmars-d
On Saturday, 20 June 2015 at 05:55:07 UTC, Russel Winder wrote: On Thu, 2015-06-18 at 15:54 -0700, Andrei Alexandrescu via Digitalmars-d wrote: […] Russel, do you have numbers for ldc by any chance? Thx! -- Andrei Single data point only, and I need to check this, but: Loop: 1.44s Reduce 1:

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Martin Nowak via Digitalmars-d
On 06/20/2015 02:00 PM, Martin Nowak wrote: > On 06/20/2015 12:06 PM, Walter Bright wrote: >> On 6/20/2015 3:06 AM, Walter Bright wrote: >>> Apparently we need to roll our own version of strtod() and put it in >>> Port. >> >> We already do our own strtold(), so it should be straightforward. > > Th

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Martin Nowak via Digitalmars-d
On 06/20/2015 12:06 PM, Walter Bright wrote: > On 6/20/2015 3:06 AM, Walter Bright wrote: >> Apparently we need to roll our own version of strtod() and put it in >> Port. > > We already do our own strtold(), so it should be straightforward. Thanks, I'll work on a fix.

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Martin Nowak via Digitalmars-d
On 06/20/2015 01:35 PM, Iain Buclaw via Digitalmars-d wrote: > Can we make this a boolean check removing the need for me to explicitly set > errno? The function returns a float, so errno seems like the better choice.

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Iain Buclaw via Digitalmars-d
On 20 June 2015 at 12:06, Walter Bright via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On 6/20/2015 2:48 AM, Iain Buclaw via Digitalmars-d wrote: > >> >> On 20 Jun 2015 11:35, "Martin Nowak via Digitalmars-d" >> mailto:digitalmars-d@puremagic.com>> wrote: >> > >> > On 06/20/2015 09:52

Re: Naming things

2015-06-20 Thread Philpax via Digitalmars-d
On Saturday, 20 June 2015 at 09:27:16 UTC, Vladimir Panteleev wrote: Naming things There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton Hello, There has been a lot of recent debate regarding the names of some new fun

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Walter Bright via Digitalmars-d
On 6/20/2015 2:48 AM, Iain Buclaw via Digitalmars-d wrote: On 20 Jun 2015 11:35, "Martin Nowak via Digitalmars-d" mailto:digitalmars-d@puremagic.com>> wrote: > > On 06/20/2015 09:52 AM, Walter Bright wrote: > > > > Which C runtime are you using? The math functions in C runtimes are > > ofte

Re: D could catch this wave: web assembly

2015-06-20 Thread Marco Leise via Digitalmars-d
Am Thu, 18 Jun 2015 08:05:46 + schrieb "John Colvin" : > This appears to have involvement from all major browser vendors, > which provides hope it might actually catch on properly. An llvm > backend will be created which will compile to "wasm", hopefully > LDC and/or SDC could glue to this.

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Walter Bright via Digitalmars-d
On 6/20/2015 3:06 AM, Walter Bright wrote: Apparently we need to roll our own version of strtod() and put it in Port. We already do our own strtold(), so it should be straightforward.

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Iain Buclaw via Digitalmars-d
On 20 Jun 2015 11:35, "Martin Nowak via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: > > On 06/20/2015 09:52 AM, Walter Bright wrote: > > > > Which C runtime are you using? The math functions in C runtimes are > > often inadequate. > > So we now call the host's C library to perform constant

Re: Martin Nowak is officially MIA

2015-06-20 Thread Martin Nowak via Digitalmars-d
On 06/19/2015 06:26 PM, Joakim wrote: > The impression I get is that everyone in the core team is too busy with > their real jobs, other than Walter, to make meetings easy to > coordinate. Not sure of a ready solution for that. Being to busy is no excuse for important things like this, b/c we're

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Martin Nowak via Digitalmars-d
On 06/20/2015 09:52 AM, Walter Bright wrote: > > Which C runtime are you using? The math functions in C runtimes are > often inadequate. So we now call the host's C library to perform constant folding/CTFE of exp? This is a point for Iain's proposal to use a high precision floating point implemen

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Martin Nowak via Digitalmars-d
On 06/19/2015 06:54 PM, Andrei Alexandrescu wrote: > This is happening on my older CentOS as well, it's a problem in the C > library. I suggest we just version those tests. -- Andrei Even more worrisome, I don't understand why dmd is compiling the unittests at all. Might be related to https://iss

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Martin Nowak via Digitalmars-d
On 06/20/2015 09:52 AM, Walter Bright wrote: > Which C runtime are you using? The math functions in C runtimes are > often inadequate. Debian 7.4, there is nothing I can do to avoid glibc.

Naming things

2015-06-20 Thread Vladimir Panteleev via Digitalmars-d
Naming things There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton Hello, There has been a lot of recent debate regarding the names of some new functions recently added to Phobos. Mostly this concerns the good work

Re: Proof of concept - library AA

2015-06-20 Thread Martin Nowak via Digitalmars-d
On 05/30/2015 10:50 AM, Vladimir Panteleev wrote: > Not sure how much this is a problem but implicit conversion from null > may also be an issue: > http://localhost/post/asvcbsvfcxznwypttojk@192.168.0.1 Not in my proposal, b/c it's an explicit conversion that does allocate a translation wrapper.

Re: Martin Nowak is officially MIA

2015-06-20 Thread via Digitalmars-d
On Friday, 19 June 2015 at 19:27:09 UTC, Nick Sabalausky wrote: On 06/19/2015 02:41 PM, "Jacques =?UTF-8?B?TcO8bGxlciI=?= " wrote: You could use a teamchat like Slack, HipChat, ChatGrape or even Let's Chat. Or irq. With IRC you could miss a conversation. Teamchats allow to browse and even

Re: Anyone knows this issue? std/math.d(2759): Error: number '0x1p-1024' is not representable

2015-06-20 Thread Walter Bright via Digitalmars-d
On 6/19/2015 9:18 AM, Martin Nowak wrote: I'm getting this error while trying to build the relase. std/math.d(2759): Error: number '0x1p-1024' is not representable I'm getting that while compiling a -m32 (X86) static release phobos library, but I can't reproduce the error using the same command

Re: We need a typesystem-sanctioned way to cast qualifiers away

2015-06-20 Thread Daniel N via Digitalmars-d
On Saturday, 20 June 2015 at 00:07:12 UTC, Andrei Alexandrescu wrote: Again, the reference to IAllocator must be unqualified even inside an otherwise qualified object. no love for a container factory? struct IAllocator{} struct container(T){} template factory(T) { struct factory { T