Re: Pre-alpha D language online tour

2016-03-31 Thread André via Digitalmars-d
On Wednesday, 30 March 2016 at 19:58:32 UTC, Mark Isaacson wrote: This is awesome! My one complaint is that the section of the screen that contains the code doesn't scale well vertically when my browser window is large. The written explanations scale to fit the content, the code editor does

Re: Pre-alpha D language online tour

2016-03-31 Thread André via Digitalmars-d
On Thursday, 31 March 2016 at 06:32:00 UTC, Jacob Carlborg wrote: On 2016-03-29 18:26, André wrote: http://dlang-tour.steinsoft.net The example at [1] doesn't compile. "f" is declared twice and there's no built in property "name". [1] http://dlang-tour.steinsoft.net/tour/basics/2 Thank

Re: Pre-alpha D language online tour

2016-03-31 Thread Jacob Carlborg via Digitalmars-d
On 2016-03-29 18:26, André wrote: Here are great news on the dlang-tour project: As of now I've written all content and the latest build is running on http://dlang-tour.steinsoft.net The example at [1] doesn't compile. "f" is declared twice and there's no built in property "name". [1]

Re: Pre-alpha D language online tour

2016-03-30 Thread Mark Isaacson via Digitalmars-d
This is awesome! My one complaint is that the section of the screen that contains the code doesn't scale well vertically when my browser window is large. The written explanations scale to fit the content, the code editor does not. I'd just make it stretch vertically to fill the screen :). At

Re: Pre-alpha D language online tour

2016-03-30 Thread André via Digitalmars-d
On Tuesday, 29 March 2016 at 17:51:06 UTC, Bubbasaur wrote: On Tuesday, 29 March 2016 at 16:26:27 UTC, André wrote: ... I would appreciate if people could do some proof reading and just create pull requests for the content: Nice work but I really think that the left content should be

Re: Pre-alpha D language online tour

2016-03-30 Thread André via Digitalmars-d
On Wednesday, 30 March 2016 at 17:35:55 UTC, jmh530 wrote: On Wednesday, 30 March 2016 at 17:29:13 UTC, André wrote: On Tuesday, 29 March 2016 at 17:10:33 UTC, jmh530 wrote: D Basics (fix capitalization?): The current title is "D's basics". I'm unsure what to fix here.. I meant that one

Re: Pre-alpha D language online tour

2016-03-30 Thread jmh530 via Digitalmars-d
On Wednesday, 30 March 2016 at 17:29:13 UTC, André wrote: On Tuesday, 29 March 2016 at 17:10:33 UTC, jmh530 wrote: D Basics (fix capitalization?): The current title is "D's basics". I'm unsure what to fix here.. I meant that one is called D's basics and the other is called D's Gems.

Re: Pre-alpha D language online tour

2016-03-30 Thread André via Digitalmars-d
Thank you very much for your thorough review! I integrated your ideas and comments in the latest version. Some additional information on what I changed and questions left are below. On Tuesday, 29 March 2016 at 17:10:33 UTC, jmh530 wrote: D Basics (fix capitalization?): The current title is

Re: Pre-alpha D language online tour

2016-03-29 Thread Bubbasaur via Digitalmars-d
On Tuesday, 29 March 2016 at 16:26:27 UTC, André wrote: ... I would appreciate if people could do some proof reading and just create pull requests for the content: Nice work but I really think that the left content should be expandable. Some button like Try it or whatever should do the

Re: Pre-alpha D language online tour

2016-03-29 Thread jmh530 via Digitalmars-d
On Tuesday, 29 March 2016 at 16:26:27 UTC, André wrote: Or just drop me a message where you find a bug and I'll have it fixed. Looks good. A few suggestions, some content, some typo. D Basics (fix capitalization?): Page 3, code example at the bottom right does not compile with @system.

Re: Pre-alpha D language online tour

2016-03-29 Thread André via Digitalmars-d
On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: Hi, Inspired by the Go online language tour (https://tour.golang.org/) and the great experience it gave me learning the language I started a similar project for D some weeks ago. It's currently in a very pre-alpha state but I wanted

Re: Pre-alpha D language online tour

2016-01-30 Thread André via Digitalmars-d
On Monday, 25 January 2016 at 21:18:45 UTC, rsw0x wrote: On Monday, 25 January 2016 at 21:12:14 UTC, André wrote: [...] might be worth noting that Rust uses playpen for sandboxing their online compiler https://github.com/thestinger/playpen Thank you for the link and the information!

Re: Pre-alpha D language online tour

2016-01-28 Thread André via Digitalmars-d
On Thursday, 28 January 2016 at 10:09:40 UTC, Ali Çehreli wrote: On 01/25/2016 10:17 AM, André wrote: > http://dlang-tour.steinsoft.net I love it! :) > Working on this tour unfortunately stalled a little bit in this year > but I am trying to work on the project constantly in the upcoming >

Re: Pre-alpha D language online tour

2016-01-28 Thread André via Digitalmars-d
On Thursday, 28 January 2016 at 09:53:12 UTC, Nicholas Wilson wrote: Another typo: In Basic's page two (Basic types) it says The prefix u denotes unsigned types. char translates to UTF-8 characters, dchar is used in UTF-16 strings and dchar in UTF-32 strings. Should be The

Re: Pre-alpha D language online tour

2016-01-28 Thread Nicholas Wilson via Digitalmars-d
On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: Hi, Inspired by the Go online language tour (https://tour.golang.org/) and the great experience it gave me learning the language I started a similar project for D some weeks ago. It's currently in a very pre-alpha state but I wanted

Re: Pre-alpha D language online tour

2016-01-28 Thread Mengu via Digitalmars-d
On Tuesday, 26 January 2016 at 18:45:55 UTC, André wrote: On Tuesday, 26 January 2016 at 14:25:33 UTC, CraigDillabaugh wrote: let's put it on github and let everyone contribute and make things easier for you. :) It is on Github (see post #1) On a related note: because it's on GitHub it's

Re: Pre-alpha D language online tour

2016-01-28 Thread Nicholas Wilson via Digitalmars-d
On Thursday, 28 January 2016 at 09:36:00 UTC, Nicholas Wilson wrote: On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: [...] Another typo: In Basic's page two (Basic types) it says The prefix u denotes unsigned types. char translates to UTF-8 characters, dchar is used in

Re: Pre-alpha D language online tour

2016-01-28 Thread Ali Çehreli via Digitalmars-d
On 01/25/2016 10:17 AM, André wrote: > http://dlang-tour.steinsoft.net I love it! :) > Working on this tour unfortunately stalled a little bit in this year > but I am trying to work on the project constantly in the upcoming > weeks. This thread is an indication of what a great idea it's been.

Re: Pre-alpha D language online tour

2016-01-26 Thread André via Digitalmars-d
On Monday, 25 January 2016 at 21:42:04 UTC, Craig Dillabaugh wrote: I should do this myself, but since I can't access my Github account ATM and will likely forget. The page: http://dlang-tour.steinsoft.net/tour/basics/1 The line: "An import statement mustn't appear at the top ... "

Re: Pre-alpha D language online tour

2016-01-26 Thread André via Digitalmars-d
On Monday, 25 January 2016 at 21:53:26 UTC, Guillaume Piolat wrote: Very nice work and very much needed! Found some errors: - http://dlang-tour.steinsoft.net/tour/basics/2 * "long, ulong (32 bit)" <= should be "64 bit" * "real (depending on platform, 80 bit on Intel x64)" <= 80-bit on

Re: Pre-alpha D language online tour

2016-01-26 Thread Zalastax via Digitalmars-d
Looks great! For Windows dmd can also be installed using https://chocolatey.org/packages/dmd

Re: Pre-alpha D language online tour

2016-01-26 Thread Mengu via Digitalmars-d
On Tuesday, 26 January 2016 at 10:30:17 UTC, André wrote: On Monday, 25 January 2016 at 21:53:26 UTC, Guillaume Piolat wrote: [...] Thank you very much for going through the content! I integrated your comments and they will be online very soon. I added a paragraph for __gshared in the

Re: Pre-alpha D language online tour

2016-01-26 Thread CraigDillabaugh via Digitalmars-d
On Tuesday, 26 January 2016 at 13:48:57 UTC, Mengu wrote: On Tuesday, 26 January 2016 at 10:30:17 UTC, André wrote: On Monday, 25 January 2016 at 21:53:26 UTC, Guillaume Piolat wrote: [...] Thank you very much for going through the content! I integrated your comments and they will be online

Re: Pre-alpha D language online tour

2016-01-26 Thread André via Digitalmars-d
On Tuesday, 26 January 2016 at 14:25:33 UTC, CraigDillabaugh wrote: let's put it on github and let everyone contribute and make things easier for you. :) It is on Github (see post #1) On a related note: because it's on GitHub it's even possible to contribute content and examples just

Re: Pre-alpha D language online tour

2016-01-26 Thread André via Digitalmars-d
On Monday, 25 January 2016 at 21:16:51 UTC, Craig Dillabaugh wrote: [...] Looks promising. You should rename it D-tours so that you can take advantage of D's underused, but excellent, pun making potential :o) Then you need to include some graphics:

Re: Pre-alpha D language online tour

2016-01-25 Thread Andrei Alexandrescu via Digitalmars-d
On 1/25/16 1:17 PM, André wrote: Hi, Inspired by the Go online language tour (https://tour.golang.org/) and the great experience it gave me learning the language I started a similar project for D some weeks ago. It's currently in a very pre-alpha state but I wanted to announce it in case

Re: Pre-alpha D language online tour

2016-01-25 Thread JohnCK via Digitalmars-d
On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: ... http://dlang-tour.steinsoft.net ... Any kind of feedback is highly appreciated, of course. This is very neat and I think this is a thing this will be very good for newcomers. PS: On the index page "after page 1" there is a huge

Re: Pre-alpha D language online tour

2016-01-25 Thread André via Digitalmars-d
On Monday, 25 January 2016 at 20:02:10 UTC, rsw0x wrote: On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: This tour doesn't allow compiling online because the current implementation would just make it too easy to hijack the server :-) Compiling and running online can be activated when

Re: Pre-alpha D language online tour

2016-01-25 Thread Craig Dillabaugh via Digitalmars-d
On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: Hi, Inspired by the Go online language tour (https://tour.golang.org/) and the great experience it gave me learning the language I started a similar project for D some weeks ago. It's currently in a very pre-alpha state but I wanted

Re: Pre-alpha D language online tour

2016-01-25 Thread rsw0x via Digitalmars-d
On Monday, 25 January 2016 at 21:12:14 UTC, André wrote: [...] might be worth noting that Rust uses playpen for sandboxing their online compiler https://github.com/thestinger/playpen

Re: Pre-alpha D language online tour

2016-01-25 Thread Guillaume Piolat via Digitalmars-d
On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: Hi, Inspired by the Go online language tour (https://tour.golang.org/) and the great experience it gave me learning the language I started a similar project for D some weeks ago. It's currently in a very pre-alpha state but I wanted

Re: Pre-alpha D language online tour

2016-01-25 Thread Craig Dillabaugh via Digitalmars-d
On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: Hi, Inspired by the Go online language tour (https://tour.golang.org/) and the great experience it gave me learning the language I started a similar project for D some weeks ago. It's currently in a very pre-alpha state but I wanted

Re: Pre-alpha D language online tour

2016-01-25 Thread André via Digitalmars-d
On Monday, 25 January 2016 at 18:31:57 UTC, JohnCK wrote: On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: ... http://dlang-tour.steinsoft.net ... Any kind of feedback is highly appreciated, of course. This is very neat and I think this is a thing this will be very good for

Re: Pre-alpha D language online tour

2016-01-25 Thread André via Digitalmars-d
On Monday, 25 January 2016 at 19:51:44 UTC, Andrei Alexandrescu wrote: On 1/25/16 1:17 PM, André wrote: Hi, [...] The code is located here: https://github.com/stonemaster/dlang-tour I've setup a server which always runs the latest version: http://dlang-tour.steinsoft.net Whoa, what a

Re: Pre-alpha D language online tour

2016-01-25 Thread jmh530 via Digitalmars-d
On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: Any kind of feedback is highly appreciated, of course. I didn't go through it line by line, but my general impression is that it looks really good. Congrats.

Re: Pre-alpha D language online tour

2016-01-25 Thread rsw0x via Digitalmars-d
On Monday, 25 January 2016 at 18:17:09 UTC, André wrote: This tour doesn't allow compiling online because the current implementation would just make it too easy to hijack the server :-) Compiling and running online can be activated when compiling locally though. My goal would be to integrate