On Sun, Oct 17, 2010 at 8:14 AM, William Stein <wst...@gmail.com> wrote:
>
>
> On Tue, Oct 12, 2010 at 2:40 PM, Jason Grout <jason...@creativetrax.com>
> wrote:
>>
>> I'm curious: I know at one time, there was a sentiment that the notebook
>> ought to be rewritten using Django.
>I did too originally, but not anymore. But in our group, we are now
> I personally never ever wanted to rewrite the notebook using Django. I
> remember Timothy Clemans expressing a desire to do so.
using tornado (http://github.com/facebook/tornado) for our "sage
notebook" rewrite. We actually don't use anything from the original
sage notebook anymore and rewrote everything from scratch using extjs.
It's a work in progress though, we are still debugging minor issues.
The code is here:
http://github.com/hpfem/femhub-online-lab
and it's running here:
http://lab-new.femhub.org/
But as I said it's still in heavy development, so it might break.
We use JSON RPC for the communications with the computational kernel,
which is what I always wanted, so I really like our design now. Most
of the basic things are in place (code completion, ....), so we now
need to keep going and make it usable.
Ondrej
Yes, we thought that instead of reinventing the wheel, we'll just take
codenode. We wrote a different interface to it (extjs based), which is
running here:
this actually uses codenode. But then it turned out that the backend
of codenode was too difficult to maintain and fix bugs in that, so we
rewrote it as well, now we use tornado (and that runs on the
lab-new.femhub.org address).
By "we", I mean Mateusz Paprocki, who did most of this fantastic work.
Ondrej
If you guys cared to join the development of the Online Lab,
then we could see it as a joint project that already contains everyone's
contributions, and it would become a natural successor of both the
Sage Notebook and Codenode. It would be great to develop the
Online Lab together, as a common project between several
universities.
Alternatively, anyone can just fork the Online Lab and reuse some of
its parts as usual, this is perfectly fine.
Best,
Pavel
> --
> http://groups.google.com/group/codenode-devel?hl=en
> http://codenode.org
--
Pavel Solin
University of Nevada, Reno
Home page: http://hpfem.org/~pavel
FEMTEC 2011:
Hermes: http://hpfem.org/
FEMhub: http://femhub.org/
On 18 October 2010 00:43, Alex Clemesha <clem...@gmail.com> wrote:
>
>
> On Sun, Oct 17, 2010 at 4:13 PM, Ondrej Certik <ond...@certik.cz> wrote:
>>
>> On Sun, Oct 17, 2010 at 8:14 AM, William Stein <wst...@gmail.com> wrote:
>> >
>> >
>> > On Tue, Oct 12, 2010 at 2:40 PM, Jason Grout
>> > I personally never ever wanted to rewrite the notebook using Django.
>> > I
>> > remember Timothy Clemans expressing a desire to do so.
>>
>> I did too originally, but not anymore. But in our group, we are now
>> using tornado (http://github.com/facebook/tornado) for our "sage
>> notebook" rewrite. We actually don't use anything from the original
>> sage notebook anymore and rewrote everything from scratch using extjs.
>> It's a work in progress though, we are still debugging minor issues.
>> The code is here:
>>
>> http://github.com/hpfem/femhub-online-lab
>
> Just poking around the code, it's pretty clear there is a good amount of
> Codenode influence.
Alex is right that the code is using Django for the model, which gets
you the admin interface which can be useful. Of course, you could
serve django models from a tornado server so they are not mutually
exclusive.
I have a few questions about femhub though, point me to source code if you like:
* how is the model expressed in femhub?
* if the communication to the kernel is JSON-RPC, how is that managed
(i.e this is not part of tornado, right?). i.e this was with twisted
in codenode (for which I have no particular love).
* to what extent are the kernels/engines pluggable?
The interesting part of codenode, for me, is the ability to plug in
any engines on different servers. Is femhub is designed with this in
mind?
thanks,
James
Yes it is.
Pavel
>
> thanks,
> James
--
Pavel Solin
University of Nevada, Reno
Home page: http://hpfem.org/~pavel
FEMTEC 2011: http://hpfem.org/events/femtec-2011/
OK, thanks. Example or documentation?