Re: Many documentation examples can now be run online

2016-12-19 Thread Seb via Digitalmars-d-announce
On Tuesday, 20 December 2016 at 02:25:06 UTC, Joakim wrote: When all tests pass, would be better if it said that, rather than "No output," which it says now. Excellent idea -> https://github.com/dlang/dlang.org/pull/1527 :)

Re: Many documentation examples can now be run online

2016-12-19 Thread Seb via Digitalmars-d-announce
On Tuesday, 20 December 2016 at 06:16:23 UTC, Timothee Cour wrote: is it properly sandboxed / hacking proof? quick tests: ``` import std.process; auto msg="sleep 10"; executeShell(msg).output.writeln; ``` correctly results in `Application output (9: Killed)` "ls -al .." => permission

Re: Many documentation examples can now be run online

2016-12-19 Thread Seb via Digitalmars-d-announce
On Tuesday, 20 December 2016 at 01:34:30 UTC, Soulsbane wrote: On Monday, 19 December 2016 at 19:11:26 UTC, Picaud Vincent wrote: On Monday, 19 December 2016 at 18:54:56 UTC, Jakub Szewczyk wrote: It looks great, but I think that the source code should not be hidden when pressing the Run

Re: Many documentation examples can now be run online

2016-12-19 Thread Timothee Cour via Digitalmars-d-announce
is it properly sandboxed / hacking proof? quick tests: ``` import std.process; auto msg="sleep 10"; executeShell(msg).output.writeln; ``` correctly results in `Application output (9: Killed)` "ls -al .." => permission denied "ls /usr/bin/ld" => -rwxr-xr-x 2 0 0 834648 Jan 3 2013

Re: [your donation here]

2016-12-19 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/19/2016 09:26 PM, Joakim wrote: On Monday, 19 December 2016 at 19:39:25 UTC, Andrei Alexandrescu wrote: The D Language has had a great year! Among the many highlights, we are very proud to offer scholarships to four exceptional graduate students

Re: [your donation here]

2016-12-19 Thread Joakim via Digitalmars-d-announce
On Monday, 19 December 2016 at 19:39:25 UTC, Andrei Alexandrescu wrote: The D Language has had a great year! Among the many highlights, we are very proud to offer scholarships to four exceptional graduate students

Re: Many documentation examples can now be run online

2016-12-19 Thread Joakim via Digitalmars-d-announce
On Monday, 19 December 2016 at 17:50:17 UTC, Seb wrote: On Monday, 19 December 2016 at 17:44:29 UTC, Andrei Alexandrescu wrote: Take a look e.g. at https://dlang.org/phobos-prerelease/std_algorithm_iteration.html. Examples now have "Edit" and "Run" buttons that allow you to play with them

Re: Many documentation examples can now be run online

2016-12-19 Thread Soulsbane via Digitalmars-d-announce
On Monday, 19 December 2016 at 19:11:26 UTC, Picaud Vincent wrote: On Monday, 19 December 2016 at 18:54:56 UTC, Jakub Szewczyk wrote: It looks great, but I think that the source code should not be hidden when pressing the Run button, instead the application output box should appear

Re: Linker-hacking out the D runtime

2016-12-19 Thread Iain Buclaw via Digitalmars-d-announce
On 19 December 2016 at 12:41, Mike via Digitalmars-d-announce wrote: > On Sunday, 18 December 2016 at 12:57:08 UTC, Iain Buclaw wrote: >> >> On 18 December 2016 at 03:37, Mike via Digitalmars-d-announce >> wrote: >>> >>>

Re: Linker-hacking out the D runtime

2016-12-19 Thread Iain Buclaw via Digitalmars-d-announce
On 19 December 2016 at 01:36, Mike via Digitalmars-d-announce wrote: > On Sunday, 18 December 2016 at 12:57:08 UTC, Iain Buclaw wrote: > >> As a response to my last message in that thread, the changes for classinfo >> generation is now ready to go in master.

[your donation here]

2016-12-19 Thread Andrei Alexandrescu via Digitalmars-d-announce
The D Language has had a great year! Among the many highlights, we are very proud to offer scholarships to four exceptional graduate students (https://dlang.org/blog/2016/12/05/the-d-language-foundations-scholarship-program/). With your help, more great graduate students could pursue research

Re: Many documentation examples can now be run online

2016-12-19 Thread Picaud Vincent via Digitalmars-d-announce
On Monday, 19 December 2016 at 18:54:56 UTC, Jakub Szewczyk wrote: It looks great, but I think that the source code should not be hidden when pressing the Run button, instead the application output box should appear above/below the source code :-) +1 Otherwise that is great!

Re: Many documentation examples can now be run online

2016-12-19 Thread unDEFER via Digitalmars-d-announce
Excellent work, thank you!

Re: Many documentation examples can now be run online

2016-12-19 Thread Jakub Szewczyk via Digitalmars-d-announce
On Monday, 19 December 2016 at 17:44:29 UTC, Andrei Alexandrescu wrote: Take a look e.g. at https://dlang.org/phobos-prerelease/std_algorithm_iteration.html. Examples now have "Edit" and "Run" buttons that allow you to play with them online and see what they output. Changes for the ddox version

Re: Many documentation examples can now be run online

2016-12-19 Thread Seb via Digitalmars-d-announce
On Monday, 19 December 2016 at 17:44:29 UTC, Andrei Alexandrescu wrote: Take a look e.g. at https://dlang.org/phobos-prerelease/std_algorithm_iteration.html. Examples now have "Edit" and "Run" buttons that allow you to play with them online and see what they output. Changes for the ddox version

Many documentation examples can now be run online

2016-12-19 Thread Andrei Alexandrescu via Digitalmars-d-announce
Take a look e.g. at https://dlang.org/phobos-prerelease/std_algorithm_iteration.html. Examples now have "Edit" and "Run" buttons that allow you to play with them online and see what they output. Changes for the ddox version forthcoming. Related: https://github.com/dlang/dlang.org/pull/1297,

Re: concepts v0.0.1

2016-12-19 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 17 December 2016 at 04:00:32 UTC, Nicholas Wilson wrote: On Friday, 16 December 2016 at 23:49:18 UTC, Nicholas Wilson wrote: On Friday, 16 December 2016 at 20:51:19 UTC, Atila Neves wrote: @models!(Foo, isFoo) What happened to the __UDA_ATTACHMENT__ proposal? Nothing AFAIK.

Re: concepts v0.0.1

2016-12-19 Thread Atila Neves via Digitalmars-d-announce
On Saturday, 17 December 2016 at 14:58:24 UTC, Jacob Carlborg wrote: On 2016-12-16 21:51, Atila Neves wrote: [...] It's not very well tested ;). When a check fails I get this error: Oops! Fixed it now. Look, now it's version 0.0.2! :P Atila

Re: Linker-hacking out the D runtime

2016-12-19 Thread Mike via Digitalmars-d-announce
On Sunday, 18 December 2016 at 12:57:08 UTC, Iain Buclaw wrote: On 18 December 2016 at 03:37, Mike via Digitalmars-d-announce wrote: On Sunday, 18 December 2016 at 00:04:54 UTC, sarn wrote: I thought I'd write something up to help other people experiment