Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-09 Thread Paulo Pinto
On Thursday, 5 July 2012 at 16:26:02 UTC, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively working on the UI as I'm writing this. Feel free to chime in with

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-09 Thread nazriel
On Monday, 9 July 2012 at 11:35:59 UTC, Paulo Pinto wrote: On Thursday, 5 July 2012 at 16:26:02 UTC, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-09 Thread David Nadlinger
On Monday, 9 July 2012 at 16:58:26 UTC, nazriel wrote: David (klickverbot), are examples working for you now? (Back - Forward transition)? Yes, they are indeed. Keep up the good work, David

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-07 Thread David Nadlinger
On Thursday, 5 July 2012 at 16:26:02 UTC, Andrei Alexandrescu wrote: Damian is actively working on the UI as I'm writing this. Feel free to chime in with feedback! When on dlang.org/ and pressing Back and then Forward again, the contents of the input area disappear on Chrome 20.0.1132.47 (OS

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-07 Thread nazriel
On Saturday, 7 July 2012 at 06:23:03 UTC, David Nadlinger wrote: On Thursday, 5 July 2012 at 16:26:02 UTC, Andrei Alexandrescu wrote: Damian is actively working on the UI as I'm writing this. Feel free to chime in with feedback! When on dlang.org/ and pressing Back and then Forward again,

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-07 Thread nazriel
On Friday, 6 July 2012 at 19:45:42 UTC, Walter Bright wrote: On 7/6/2012 5:47 AM, Andrei Alexandrescu wrote: On the other hand the load on the compilation machine will influence the timings, so the numbers are not very relevant. I don't think the compile time of 10 line programs is relevant.

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-07 Thread Walter Bright
On 7/7/2012 1:44 AM, nazriel wrote: Personally I would say no for this. Already enough trolls around, no need to feed them more :) I'd be wary about providing such data just because we can, because it is not reflective of what people will experience using dmd on their own machines, and so it

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Bernard Helyer
On Friday, 6 July 2012 at 05:45:25 UTC, Nick Sabalausky wrote: On Thu, 05 Jul 2012 12:26:01 -0400 Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Walter Bright
On 7/5/2012 11:06 PM, Bernard Helyer wrote: otherwise everyone is just going to filter you out as old man nick is complaining about JS again :) Young whippersnappers with your fancy cell phones and color monitors! Why, in my day we had ASR-33 teletypes at 10 characters per second, and we were

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread nazriel
On Friday, 6 July 2012 at 05:45:25 UTC, Nick Sabalausky wrote: On Thu, 05 Jul 2012 12:26:01 -0400 Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Bernard Helyer
On Friday, 6 July 2012 at 07:39:14 UTC, Walter Bright wrote: On 7/5/2012 11:06 PM, Bernard Helyer wrote: otherwise everyone is just going to filter you out as old man nick is complaining about JS again :) Young whippersnappers with your fancy cell phones and color monitors! Why, in my day we

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread nazriel
On Friday, 6 July 2012 at 06:06:28 UTC, Bernard Helyer wrote: On Friday, 6 July 2012 at 05:45:25 UTC, Nick Sabalausky wrote: On Thu, 05 Jul 2012 12:26:01 -0400 Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Check this out: on http://dlang.org you can actually click in the code

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread nazriel
On Friday, 6 July 2012 at 08:07:19 UTC, Bernard Helyer wrote: On Friday, 6 July 2012 at 07:39:14 UTC, Walter Bright wrote: On 7/5/2012 11:06 PM, Bernard Helyer wrote: otherwise everyone is just going to filter you out as old man nick is complaining about JS again :) Young whippersnappers

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread xenon325
Looks just great! Maybe it should output compilation/execution times as well ?

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Nick Sabalausky
On Fri, 06 Jul 2012 09:51:59 +0200 nazriel nazriel6...@gmail.com wrote: On Friday, 6 July 2012 at 05:45:25 UTC, Nick Sabalausky wrote: On Thu, 05 Jul 2012 12:26:01 -0400 Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Check this out: on http://dlang.org you can actually click in

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Stefan Scholl
Nick Sabalausky seewebsitetocontac...@semitwist.com wrote: Yea, sorry, in my haste I worded it all very poorly. I was just concerned about whether using jquery (and pulling it in from a whole separate server) might have a lot of (or too much) bloat for the homepage. I haven't used jquery, but

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Walter Bright
On 7/6/2012 1:06 AM, nazriel wrote: I believe there are not much 56kbps modem users this days anyways! *grins* I still have one in my equipment closet, and a 2400 one in the basement. Funny how the only computer I didn't keep turned out to be the collector one worth a tidy sum.

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Jacob Carlborg
On 2012-07-06 10:55, Nick Sabalausky wrote: Yea, sorry, in my haste I worded it all very poorly. I was just concerned about whether using jquery (and pulling it in from a whole separate server) might have a lot of (or too much) bloat for the homepage. I haven't used jquery, but if I understand

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Andrei Alexandrescu
On 7/6/12 4:43 AM, xenon325 wrote: Looks just great! Maybe it should output compilation/execution times as well ? I think that's a good idea. We can show the compile and run time separately, where the compilation speed should come shining. Right now clicking on run brings a frame title

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Paulo Pinto
On Friday, 6 July 2012 at 12:47:59 UTC, Andrei Alexandrescu wrote: On 7/6/12 4:43 AM, xenon325 wrote: Looks just great! Maybe it should output compilation/execution times as well ? I think that's a good idea. We can show the compile and run time separately, where the compilation speed

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Paulo Pinto
On Friday, 6 July 2012 at 12:47:59 UTC, Andrei Alexandrescu wrote: On 7/6/12 4:43 AM, xenon325 wrote: Looks just great! Maybe it should output compilation/execution times as well ? I think that's a good idea. We can show the compile and run time separately, where the compilation speed

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Andrei Alexandrescu
On 7/6/12 10:11 AM, Paulo Pinto wrote: We can always make use of that information to compare compile times with Go. :) Damian is working on integrating accurate compilation and run times. Andrei

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Dejan Lekic
On Friday, 6 July 2012 at 12:47:59 UTC, Andrei Alexandrescu wrote: On 7/6/12 4:43 AM, xenon325 wrote: Looks just great! Maybe it should output compilation/execution times as well ? I think that's a good idea. We can show the compile and run time separately, where the compilation speed

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Andrei Alexandrescu
On 7/6/12 10:43 AM, Dejan Lekic wrote: I humbly believe that information is useless. Why? - Because at any point of time the server can be congested and those running time figures will go high... I decided to include those only after Damian mentioned (a) there's sufficient reserve power for

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-06 Thread Walter Bright
On 7/6/2012 5:47 AM, Andrei Alexandrescu wrote: On the other hand the load on the compilation machine will influence the timings, so the numbers are not very relevant. I don't think the compile time of 10 line programs is relevant. All you're measuring is the time it takes to load the

Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread Andrei Alexandrescu
Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively working on the UI as I'm writing this. Feel free to chime in with feedback! Andrei

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread Jacob Carlborg
On 2012-07-05 18:26, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively working on the UI as I'm writing this. Feel free to chime in with feedback! Andrei

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread H. S. Teoh
On Thu, Jul 05, 2012 at 12:26:01PM -0400, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively working on the UI as I'm writing this. Feel free to chime in with

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread Iain Buclaw
On 5 July 2012 17:51, H. S. Teoh hst...@quickfur.ath.cx wrote: On Thu, Jul 05, 2012 at 12:26:01PM -0400, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread Justin Whear
On Thu, 05 Jul 2012 09:51:50 -0700, H. S. Teoh wrote: On Thu, Jul 05, 2012 at 12:26:01PM -0400, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively working on

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread André
Great tool! Just a small layout bug: On Firefox 3.6.4 (on Mac) the [your code here] tags is misplaced after clicking the Run button. It then overlaps the appearing output box. Cheers, André On Thursday, 5 July 2012 at 16:59:33 UTC, Iain Buclaw wrote: On 5 July 2012 17:51, H. S. Teoh

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread Paulo Pinto
On Thursday, 5 July 2012 at 16:26:02 UTC, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively working on the UI as I'm writing this. Feel free to chime in with

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread Dmitry Olshansky
On 05-Jul-12 20:26, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively working on the UI as I'm writing this. Feel free to chime in with feedback! Wonderful!

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread Peter Alexander
Nice. Should probably remove the references to local files when compilation fails. Not very user friendly to see: /home/jail/compileme369.d(14): expression expected, not '}' Would probably suffice just to switch the filename with something less distracting.

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread maarten van damme
2012/7/5 André nos...@spambog.com: Great tool! Just a small layout bug: On Firefox 3.6.4 (on Mac) the [your code here] tags is misplaced after clicking the Run button. It then overlaps the appearing output box. Cheers, André same bug with chrome

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread Andrei Alexandrescu
On 7/5/12 12:26 PM, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively working on the UI as I'm writing this. Feel free to chime in with feedback! Updated to a

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread nazriel
On Thursday, 5 July 2012 at 16:59:33 UTC, Iain Buclaw wrote: On 5 July 2012 17:51, H. S. Teoh hst...@quickfur.ath.cx wrote: On Thu, Jul 05, 2012 at 12:26:01PM -0400, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread nazriel
On Thursday, 5 July 2012 at 19:10:57 UTC, Peter Alexander wrote: Nice. Should probably remove the references to local files when compilation fails. Not very user friendly to see: /home/jail/compileme369.d(14): expression expected, not '}' Would probably suffice just to switch the filename

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread nazriel
On Thursday, 5 July 2012 at 17:56:34 UTC, Dmitry Olshansky wrote: On 05-Jul-12 20:26, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively working on the UI as

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread Dmitry Olshansky
On 06-Jul-12 01:28, nazriel wrote: On Thursday, 5 July 2012 at 17:56:34 UTC, Dmitry Olshansky wrote: On 05-Jul-12 20:26, Andrei Alexandrescu wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian

Re: Editable and runnable code sample on dlang.org by Damian Ziemba (nazriel)

2012-07-05 Thread Nick Sabalausky
On Thu, 05 Jul 2012 12:26:01 -0400 Andrei Alexandrescu seewebsiteforem...@erdani.org wrote: Check this out: on http://dlang.org you can actually click in the code example and edit it, then click Run and pronto, you see the output! Damian is actively working on the UI as I'm writing this.