Re: Better docs for D (WIP)

2016-01-04 Thread Adam D. Ruppe via Digitalmars-d-announce
FYI, even now, I hesitate to change links in my Phobos fork because I kinda want to remain ddoc compatible... and I can never remember what macro it is. And I've been kinda deep in this the whole last week. Anyway, let's get into this: On Sunday, 3 January 2016 at 23:16:30 UTC, Andrei Alexa

Re: Better docs for D (WIP)

2016-01-04 Thread JohnCK via Digitalmars-d-announce
On Sunday, 3 January 2016 at 23:16:30 UTC, Andrei Alexandrescu wrote: A few follow-up questions, all serious: Sorry, I just forgot an important thing. Somewhere in the beginning of this topic, you had advised Adam to put his efforts into another thing, right? So imagine this with: D vs C++

Re: Better docs for D (WIP)

2016-01-04 Thread JohnCK via Digitalmars-d-announce
On Sunday, 3 January 2016 at 23:16:30 UTC, Andrei Alexandrescu wrote: A few follow-up questions, all serious: Fair enough... but most of the points you're asking they already have been discussed all over the forums, and some in this topic, like those exposed by Adam. Like I said currently I

Re: Better docs for D (WIP)

2016-01-04 Thread Adam D. Ruppe via Digitalmars-d-announce
On Saturday, 2 January 2016 at 21:06:19 UTC, Adam D. Ruppe wrote: * cross-linking, including inherited members I got this working in simple cases... which happens to include Phobos' std.socket! http://dpldocs.info/experimental-docs-2/std.socket.UdpSocket.html I did a major refactoring of th

Re: Writing a scalable chat room service in D

2016-01-04 Thread Johannes Pfau via Digitalmars-d-announce
Am Mon, 04 Jan 2016 17:15:36 + schrieb Bubbasaur : > On Monday, 4 January 2016 at 17:02:01 UTC, Sönke Ludwig wrote: > > ...Maybe it's something specific to your OS/Chrome version? > > Well, I tried again on the same machine but using Firefox and it > worked, then I tried on my Tablet (Andr

Re: Writing a scalable chat room service in D

2016-01-04 Thread Sönke Ludwig via Digitalmars-d-announce
Am 04.01.2016 um 21:21 schrieb Sönke Ludwig: Am 04.01.2016 um 20:39 schrieb Meta: On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical w

Re: Writing a scalable chat room service in D

2016-01-04 Thread Sönke Ludwig via Digitalmars-d-announce
Am 04.01.2016 um 20:39 schrieb Meta: On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical web application using vibe.d. The example uses

Re: Hash Tables in D

2016-01-04 Thread Martin Nowak via Digitalmars-d-announce
On 01/04/2016 09:06 AM, Bastiaan Veelo wrote: > > This would be a bug (segfault on my machine): > >> foreach (key; aa.byKey) >> aa.remove(key); > > Note that, in this example, there is no need to remove every element > separately, you can also just do Sorry my mistake, I never use a

Re: Writing a scalable chat room service in D

2016-01-04 Thread Meta via Digitalmars-d-announce
On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical web application using vibe.d. The example uses Redis as a data store - using other

Re: Beta D 2.070.0-b1

2016-01-04 Thread Martin Nowak via Digitalmars-d-announce
On 01/04/2016 04:29 PM, Joakim Brännström wrote: > Regression? > Found when compiling dub-package scriptlike (struct Path). Thanks for reporting. It's not acceptable to break code like that without a proper deprecation cycle. https://issues.dlang.org/show_bug.cgi?id=15515

Re: Better watch out! D runs on watchOS!

2016-01-04 Thread Dan Olson via Digitalmars-d-announce
Joakim writes: > On Monday, 4 January 2016 at 09:26:39 UTC, Dan Olson wrote: >> Joakim writes: >> >>> On Thursday, 31 December 2015 at 00:11:34 UTC, Dan Olson wrote: [...] >>> >>> Sounds good, submit a PR and let's get it in. >> >> Was planning to get that PR going then got side tracked by

Re: Writing a scalable chat room service in D

2016-01-04 Thread Sönke Ludwig via Digitalmars-d-announce
Am 04.01.2016 um 18:33 schrieb Jason Jeffory: bad links in tutorial: https://vibed.org/blog/posts/a-scalable-chat-room-service-in-d/vibe-web registerWebInterface is the entry point to vibe.d's high-level web application framework. It takes a class instance and registers each of its public metho

Re: Better watch out! D runs on watchOS!

2016-01-04 Thread Dan Olson via Digitalmars-d-announce
Joakim writes: > On Monday, 4 January 2016 at 09:26:39 UTC, Dan Olson wrote: >> Joakim writes: > >> The bug is a bad stack pointer which blows up when the last unittest >> returns. This unittest has all the right conditions to generate >> stack adjustments around some of the function calls that

Re: Writing a scalable chat room service in D

2016-01-04 Thread Jason Jeffory via Digitalmars-d-announce
bad links in tutorial: https://vibed.org/blog/posts/a-scalable-chat-room-service-in-d/vibe-web registerWebInterface is the entry point to vibe.d's high-level web application framework. It takes a class instance and registers each of its public methods as a route in the URLRouter. By default,

Re: Writing a scalable chat room service in D

2016-01-04 Thread Sönke Ludwig via Digitalmars-d-announce
Am 04.01.2016 um 16:20 schrieb Charles: On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical web application using vibe.d. The example us

Re: Writing a scalable chat room service in D

2016-01-04 Thread Bubbasaur via Digitalmars-d-announce
On Monday, 4 January 2016 at 17:02:01 UTC, Sönke Ludwig wrote: ...Maybe it's something specific to your OS/Chrome version? Well, I tried again on the same machine but using Firefox and it worked, then I tried on my Tablet (Android/KitKat) using both Chrome and Native Browser and worked too.

Re: Writing a scalable chat room service in D

2016-01-04 Thread Sönke Ludwig via Digitalmars-d-announce
Am 04.01.2016 um 16:01 schrieb bachmeier: On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical web application using vibe.d. The example

Re: Writing a scalable chat room service in D

2016-01-04 Thread Sönke Ludwig via Digitalmars-d-announce
Am 04.01.2016 um 17:33 schrieb Bubbasaur: On Monday, 4 January 2016 at 14:35:18 UTC, Sönke Ludwig wrote: Which browser did you use? It's a Let's Encrypt certificate, maybe that still has issues. "Chrome" - Like I said above "Chrome warns...". :) Oh sorry, missed that. However, my tests with

Re: Writing a scalable chat room service in D

2016-01-04 Thread Bubbasaur via Digitalmars-d-announce
On Monday, 4 January 2016 at 14:35:18 UTC, Sönke Ludwig wrote: Which browser did you use? It's a Let's Encrypt certificate, maybe that still has issues. "Chrome" - Like I said above "Chrome warns...". :) Here is more info about the warning: " vibed.org normally uses encryption to protect your

Re: Beta D 2.070.0-b1

2016-01-04 Thread Joakim Brännström via Digitalmars-d-announce
On Sunday, 3 January 2016 at 19:24:57 UTC, Martin Nowak wrote: First beta for the 2.070.0 release. Please report any bugs at https://issues.dlang.org -Martin Regression? Found when compiling dub-package scriptlike (struct Path). #!/usr/bin/env rdmd struct S { this(string r = ".") { }

Re: Writing a scalable chat room service in D

2016-01-04 Thread Charles via Digitalmars-d-announce
On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical web application using vibe.d. The example uses Redis as a data store - using other

Re: Using D and std.ndslice as a Numpy Replacement

2016-01-04 Thread Jack Stouffer via Digitalmars-d-announce
On Monday, 4 January 2016 at 02:01:05 UTC, Ilya wrote: Please add links to 1. Mir: http://code.dlang.org/packages/mir 2. Documentation: http://dlang.org/phobos-prerelease/std_experimental_ndslice.html 3. DlangScience example Thanks! -- Ilya Updated. I also changed the example slightly from t

Re: Writing a scalable chat room service in D

2016-01-04 Thread bachmeier via Digitalmars-d-announce
On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical web application using vibe.d. The example uses Redis as a data store - using other

Re: Writing a scalable chat room service in D

2016-01-04 Thread Sönke Ludwig via Digitalmars-d-announce
Am 04.01.2016 um 15:05 schrieb Bubbasaur: On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year... Neat but just one thing, when I click in the link on the Reddit, Chrome warns: " Your connection is not private At

Re: Writing a scalable chat room service in D

2016-01-04 Thread Bubbasaur via Digitalmars-d-announce
On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year... Neat but just one thing, when I click in the link on the Reddit, Chrome warns: " Your connection is not private Attackers might be trying to steal your inf

Re: Writing a scalable chat room service in D

2016-01-04 Thread Sönke Ludwig via Digitalmars-d-announce
Am 04.01.2016 um 12:15 schrieb Saurabh Das: On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical web application using vibe.d. The exampl

Re: DLanguage IntelliJ plugin released

2016-01-04 Thread Russel Winder via Digitalmars-d-announce
On Sun, 2016-01-03 at 23:46 +, Kingsley via Digitalmars-d-announce wrote: > […] > I'm still on IntelliJ 14 so haven't tried it with 15 personally -  > but it should be fine. IT should work fine on windows as well -  > although I'm an OSX user so have only ever tested it on OSX -  > please rais

Re: Better watch out! D runs on watchOS!

2016-01-04 Thread Joakim via Digitalmars-d-announce
On Monday, 4 January 2016 at 09:26:39 UTC, Dan Olson wrote: Joakim writes: On Thursday, 31 December 2015 at 00:11:34 UTC, Dan Olson wrote: [...] Sounds good, submit a PR and let's get it in. Was planning to get that PR going then got side tracked by a more difficult ARM exeption unwindin

Re: Writing a scalable chat room service in D

2016-01-04 Thread Saurabh Das via Digitalmars-d-announce
On Monday, 4 January 2016 at 10:19:52 UTC, Sönke Ludwig wrote: Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical web application using vibe.d. The example uses Redis as a data store - using other

Writing a scalable chat room service in D

2016-01-04 Thread Sönke Ludwig via Digitalmars-d-announce
Finally published the article that I had prepared in autumn last year. It gives an overview of the basic functionality needed to implement a typical web application using vibe.d. The example uses Redis as a data store - using other storage solutions may be a good topic for a follow-up article.

Re: Better watch out! D runs on watchOS!

2016-01-04 Thread Dan Olson via Digitalmars-d-announce
Joakim writes: > On Thursday, 31 December 2015 at 00:11:34 UTC, Dan Olson wrote: >> On Wednesday, 30 December 2015 at 23:11:06 UTC, Joakim wrote: >>> That sounds like this issue I ran into with ARM EH: >>> >>> https://github.com/ldc-developers/ldc/issues/489#issuecomment-143560075 >>> >>> I was a

Re: Hash Tables in D

2016-01-04 Thread Bastiaan Veelo via Digitalmars-d-announce
On Monday, 4 January 2016 at 07:09:30 UTC, Minas Mina wrote: 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); The reference states that keys: "Returns dynami