Re: Proof that D sucks!

2013-07-22 Thread qznc
On Sunday, 21 July 2013 at 12:56:06 UTC, David wrote: And I was expecting the monthly D rant and why it sucks. O rly?? OMG D sux @ GC! Wtf nottin 4 mai VS??!!!1 srsly. U ppl uz C+, kthx?!? Does that satisfy you? :)

persistent byLine

2013-07-22 Thread Nick Treleaven
Hi, I remember an example in some slides by Walter which had this snippet (slightly simplified): stdin.byLine.map!(l => l.idup).array Someone commented in a reddit post that the idup part was not intuitive (can't find the link now, sorry). I made a pull request to re-enable using byLine!(ch

Re: Permanent links to stable dmd .deb, .exe etc

2013-07-22 Thread Michael
On Saturday, 20 July 2013 at 15:52:33 UTC, Jordi Sayol wrote: On 20/07/13 17:31, Michael wrote: Hi, D community. DMD is released regularly, but third party projects owners doesn't want or doesn't have time to update documentation. It's will be cool to have permanent links to most resent stable

Re: working on the dlang.org website

2013-07-22 Thread Martin Nowak
On 07/14/2013 05:19 AM, Val Markovic wrote: 2. Looking at the Network data in the Chrome DevTools, realize the site isn't using a CDN. Make a note of mentioning this to the site maintainers; using a CDN is critical to performance and ever since CloudFlare came on the scene (fast & fr

Re: D roadmap?

2013-07-22 Thread Joseph Rushton Wakeling
On Monday, 22 July 2013 at 01:15:16 UTC, bearophile wrote: Lately lot of the D improvement comes from Kenji Hara :-) Kenji is also my best hope to finally see good tuples in D. What are your issues with tuples? Not doubting, genuinely curious to hear your reasoning.

Re: D roadmap?

2013-07-22 Thread bearophile
Joseph Rushton Wakeling: What are your issues with tuples? Not doubting, genuinely curious to hear your reasoning. There's a significant need for a handy safe nice and very compact syntax to unpack (de-structure) tuples in assignments, foreach loops and function signatures (and switch cases)

Re: Channels for tasks?

2013-07-22 Thread Sean Kelly
On Jul 19, 2013, at 12:48 AM, deadalnix wrote: > On Thursday, 18 July 2013 at 19:08:25 UTC, Sean Kelly wrote: >> Functionally, fibers are coroutines. They have their own stack and execute >> within the context of the calling thread. Most languages that scale to >> thousands or millions of con

Re: Channels for tasks?

2013-07-22 Thread Sean Kelly
On Jul 18, 2013, at 11:35 PM, Jacob Carlborg wrote: > On 2013-07-18 21:08, Sean Kelly wrote: > >> We already do in-library TLS for OSX and so it shouldn't be terribly >> difficult to use this logic for fibers, but things get tricky once you >> consider dynamic libraries. > > To be able to sup

Re: working on the dlang.org website

2013-07-22 Thread Kagamin
Didn't see hypenation on the web before, looks alien to me. From the typesetting point of view I find manpages with a larger font pleasure to read. http://man7.org/linux/man-pages/man3/fclose.3.html They are neither justified nor hyphenated.

Re: working on the dlang.org website

2013-07-22 Thread H. S. Teoh
On Mon, Jul 22, 2013 at 09:59:57PM +0200, Kagamin wrote: > Didn't see hypenation on the web before, looks alien to me. From the > typesetting point of view I find manpages with a larger font > pleasure to read. > http://man7.org/linux/man-pages/man3/fclose.3.html > They are neither justified nor hy

Re: persistent byLine

2013-07-22 Thread Brad Anderson
On Monday, 22 July 2013 at 12:08:06 UTC, Nick Treleaven wrote: Hi, I remember an example in some slides by Walter which had this snippet (slightly simplified): stdin.byLine.map!(l => l.idup).array Someone commented in a reddit post that the idup part was not intuitive (can't find the link no

Re: working on the dlang.org website

2013-07-22 Thread Brad Anderson
On Monday, 22 July 2013 at 20:49:09 UTC, H. S. Teoh wrote: On Mon, Jul 22, 2013 at 09:59:57PM +0200, Kagamin wrote: Didn't see hypenation on the web before, looks alien to me. From the typesetting point of view I find manpages with a larger font pleasure to read. http://man7.org/linux/man-pages

Re: Module visibility feature?

2013-07-22 Thread Jeremy DeHaan
On Monday, 22 July 2013 at 01:33:02 UTC, Martin Nowak wrote: On 07/17/2013 01:33 PM, Jeremy DeHaan wrote: So I was reading this: http://wiki.dlang.org/Access_specifiers_and_visibility After I went through it, I had an idea for a feature that I hope would be both intuitive and not too diffic

Re: working on the dlang.org website

2013-07-22 Thread H. S. Teoh
On Mon, Jul 22, 2013 at 11:48:10PM +0200, Brad Anderson wrote: > On Monday, 22 July 2013 at 20:49:09 UTC, H. S. Teoh wrote: > >On Mon, Jul 22, 2013 at 09:59:57PM +0200, Kagamin wrote: > >>Didn't see hypenation on the web before, looks alien to me. From the > >>typesetting point of view I find manpa

Re: D roadmap?

2013-07-22 Thread ixid
On Monday, 22 July 2013 at 17:18:55 UTC, bearophile wrote: Joseph Rushton Wakeling: What are your issues with tuples? Not doubting, genuinely curious to hear your reasoning. There's a significant need for a handy safe nice and very compact syntax to unpack (de-structure) tuples in assignment

Re: persistent byLine

2013-07-22 Thread Jonathan M Davis
On Monday, July 22, 2013 13:08:05 Nick Treleaven wrote: > Hi, > I remember an example in some slides by Walter which had this snippet > (slightly simplified): > > stdin.byLine.map!(l => l.idup).array > > Someone commented in a reddit post that the idup part was not intuitive > (can't find the lin

Re: working on the dlang.org website

2013-07-22 Thread Brad Anderson
On Monday, 22 July 2013 at 22:35:20 UTC, H. S. Teoh wrote: On Mon, Jul 22, 2013 at 11:48:10PM +0200, Brad Anderson wrote: On Monday, 22 July 2013 at 20:49:09 UTC, H. S. Teoh wrote: >On Mon, Jul 22, 2013 at 09:59:57PM +0200, Kagamin wrote: >>Didn't see hypenation on the web before, looks alien to

Re: D roadmap?

2013-07-22 Thread bearophile
ixid: What became of using the comma operator with parens for tuples? I don't know. But I presume Walter is not interested in breaking backwards compatibility with C so much. Bye, bearophile

Re: D roadmap?

2013-07-22 Thread Brian Rogoff
On Tuesday, 23 July 2013 at 00:12:14 UTC, bearophile wrote: ixid: What became of using the comma operator with parens for tuples? I don't know. But I presume Walter is not interested in breaking backwards compatibility with C so much. If that's true, it would be unfortunate. I appreciate t

Re: DLang Spec rewrite (?)

2013-07-22 Thread Borden
Ping! I'm just bumping this thread to see where the status of integrating pull request 271 is and whether there's anything I can do to expedite matters. I've noticed that there are some changes to dlang.org's website source. Are these changes working towards HTML 5 compliance? (or, at least, th

Re: Channels for tasks?

2013-07-22 Thread deadalnix
On Monday, 22 July 2013 at 18:24:53 UTC, Sean Kelly wrote: I think this would most likely happen within std.concurrency, with the context switch occurring on send/receive. If so, other libraries won't be able to yield (for instance libraries performing IO).

Re: persistent byLine

2013-07-22 Thread monarch_dodra
On Monday, 22 July 2013 at 23:28:46 UTC, Jonathan M Davis wrote: On Monday, July 22, 2013 13:08:05 Nick Treleaven wrote: Hi, I remember an example in some slides by Walter which had this snippet (slightly simplified): stdin.byLine.map!(l => l.idup).array Someone commented in a reddit post th