Re: Better docs for D (WIP)

2016-01-07 Thread Bastiaan Veelo via Digitalmars-d-announce
On Thursday, 7 January 2016 at 13:38:20 UTC, anonymous wrote: We have this already. Top right corner, "Improve this page". People are using the feature occasionally. My first experience with this: 1) Seems to work well enough initially, if you can do without a preview. 2) Then the request

My LLVM talk @ FOSDEM'16

2016-01-07 Thread Kai Nacke via Digitalmars-d-announce
Hi everybody! Like the last 2 years I am a speaker in the LLVM toolchain devroom @ FOSDEM'16. My talk is not D related but more about LLVM internals. (For sure, it is related to my work on LDC!) Read the announcement at https://fosdem.org/2016/schedule/event/llvm_to_new_os/. FOSDEM is a

Re: Three Cool Things about D

2016-01-07 Thread Rory McGuire via Digitalmars-d-announce
On Mon, Dec 28, 2015 at 5:24 PM, Rory McGuire wrote: > > On 27 Dec 2015 6:25 PM, "Andrei Alexandrescu via Digitalmars-d-announce" < > digitalmars-d-announce@puremagic.com> wrote: > > > > On 12/27/15 1:27 AM, Rory McGuire via Digitalmars-d-announce wrote: > [snip] > >> Vibe.d

Re: Hash Tables in D

2016-01-07 Thread Adrian Matoga via Digitalmars-d-announce
On Sunday, 3 January 2016 at 19:29:05 UTC, Martin Nowak wrote: There is a bug. You should never do this b/c of iterator/range invalidation. foreach (key; aa.keys) aa.remove(key); I've recently hit this when trying to remove some of the elements from an AA while iterating over it. It's

Re: Better docs for D (WIP)

2016-01-07 Thread anonymous via Digitalmars-d-announce
On 07.01.2016 14:31, Andrei Alexandrescu wrote: Here's a simple idea we can implement rather quickly. Say a user is browsing https://dlang.org/builtin.html and find a typo. They press a button labeled "Fix typo". That opens

Re: Better docs for D (WIP)

2016-01-07 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 1/7/16 2:14 AM, Rory McGuire via Digitalmars-d-announce wrote: I wonder; would it be possible to make the website inline editable and then it automatically creates github pull requests that update the docs in github as D comments? Ha. I just posted about that! -- Andrei

Re: Better docs for D (WIP)

2016-01-07 Thread default0 via Digitalmars-d-announce
On Thursday, 7 January 2016 at 13:31:57 UTC, Andrei Alexandrescu wrote: On 1/6/16 1:54 AM, default0 wrote: In the end most of this comes down to a lack of motivation: I'm fine trying to improve documentation text if I see an issue about it, but if that entails stopping what I was originally

Re: Better docs for D (WIP)

2016-01-07 Thread Adam D. Ruppe via Digitalmars-d-announce
On Thursday, 7 January 2016 at 06:30:28 UTC, Rory McGuire wrote: If not a tagging system then at least adding synonyms would be great. dpldocs.info actually had this in its first version, way back in 2010, because so many people would ask me these kinds of things. In the first draft, I did

Re: My LLVM talk @ FOSDEM'16

2016-01-07 Thread Bubbasaur via Digitalmars-d-announce
It will be recorded or live? Bubba.

Re: Three Cool Things about D

2016-01-07 Thread Jack Stouffer via Digitalmars-d-announce
On Friday, 8 January 2016 at 00:32:05 UTC, Rory McGuire wrote: On Mon, Dec 28, 2015 at 5:24 PM, Rory McGuire wrote: On 27 Dec 2015 6:25 PM, "Andrei Alexandrescu via Digitalmars-d-announce" < digitalmars-d-announce@puremagic.com> wrote: > > On 12/27/15 1:27 AM, Rory

Re: Three Cool Things about D

2016-01-07 Thread Rory McGuire via Digitalmars-d-announce
Some of the template support code is still in the app.d file. And I mean to rename some of the functions etc. You can access all the output in current_output.txt and the template used is index.jade. github.com/rjmcguire/jaded On 08 Jan 2016 04:45, "Jack Stouffer via Digitalmars-d-announce" <

Re: Hash Tables in D

2016-01-07 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-01-07 15:11, Steven Schveighoffer wrote: With dcollections [1] I had a feature called "purging" where you would iterate over a collection like this: foreach(ref bool removeIt, int val; collection) { if(someCondition) removeIt = true; } The entire reason for this is because you can

Berlin D Meetup January 2016

2016-01-07 Thread Ben Palmer via Digitalmars-d-announce
Hi All, The first Berlin D Meetup of the year will be happening at 19:30 on Friday January the 15th at Berlin Co-Op (http://co-up.de/) on the fifth floor. This time Mathias Lang will be talking about "Duck Typing in D". Both alcoholic and non-alcoholic drinks will also be available.