September 29, 2015 Re: running code on the homepage | ||||
|---|---|---|---|---|
| ||||
Posted in reply to ixid | On Monday, 28 September 2015 at 14:15:18 UTC, ixid wrote:
> On Thursday, 17 September 2015 at 14:48:07 UTC, nazriel wrote:
>> On Wednesday, 16 September 2015 at 20:52:08 UTC, Andrei Alexandrescu wrote:
>>> On 09/16/2015 09:49 AM, nazriel wrote:
>>>> [...]
>>>
>>> That's great, thanks for doing this. What is the current status with regard to making the online compilation infrastructure publicly accessible and improvable? Ideally everything would be
>>
>> That's the plan.
>> Currently I am working on upgrading both frontend and backend to be up-to-date with current requirements. I am also trying to integrate the look of dpaste.dzfl.pl to match the one on dlang.org so we could make dpaste part of the *.dlang.org fleet.
>
>
> Hi Damian,
>
> dpaste doesn't seem to produce any console output at the moment, I just get 'Result: Success / Return code: 0' and nothing from writeln.
Thanks for the heads up!
I am tinkering with the new backend and even though I double check if dlang.org examples still work I missed dpaste itself %)
Anyways, fixed
| |||
September 30, 2015 Re: running code on the homepage | ||||
|---|---|---|---|---|
| ||||
Posted in reply to nazriel | On Wednesday, 16 September 2015 at 13:49:40 UTC, nazriel wrote: > On Wednesday, 16 September 2015 at 10:17:21 UTC, Dmitry Olshansky wrote: >> On 16-Sep-2015 09:44, nazriel wrote: >>> On Wednesday, 16 September 2015 at 05:54:03 UTC, Andrei Amatuni wrote: >>>> maybe I'm doing something wrong...but the output of running the >>>> default code snippet on the dlang.org homepage is: >>>> >>>> "unable to fork: Cannot allocate memory" >>>> >>>> not a good look >>> >>> Thank you for letting us know, >>> >>> This issue will be fixed very soon. >>> >>> Best regards, >>> Damian Ziemba >> >> May I suggest you to record such conditions with automatic notification e.g. by e-mail. >> >> Only 1 in 10 of visitors will consider reporting an issue, of these only 1 in 10 will get to dlang forum to post a message. > > It is know for me issue. > > At the time I was working on runable examples, samples on the main page were way simpler. > Not we are hitting some limitations of Container Dpaste's backend is running in. > > I am working on new version of backend (and new container) as we speak so it will be solved once and for all. > > 1-2 days more and we will be done with it so IMHO no need take any additionals steps for it right now. It took my way longer than I planned. Just FYI, I've open-sourced dpaste backend, although it is devel version 2.0: https://github.com/nazriel/dpaste-be https://github.com/nazriel/dpaste-be-worker There is still lots to do: - hardening - commenting - fixing remaining small issues The old version, isn't worth sharing - way too much wheel-reinvinting there, like own std.process... And it will be replaced very soon anyways. I've run all examples from dlang.org front-page as test case - so far everything works! :) ``` Application output: +-----------------------------------------+ | Województwo Mazowieckie, PL | +-----------------------------------------+ | weather | Sky is Clear | +-----------------------------------------+ | temperature | 10.24°C (50.43°F) | +-----------------------------------------+ ``` The new version of the backend should be up and running on dpaste before Sunday. Stay tuned Best regards, Damian Ziemba | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply