Let me know, what you think.
Yours,
Bartosz
> I have worked on the two first issues and manged to get codenode to
> work. If you are interested, I am willing to commit my changes to the
> repository or send you patches.
Please do this! As Dorian says, create a github fork and send a pull request.
thanks for your efforts,
James
Great, thanks will take a look at your patch.
There is an issue tracker on github: http://github.com/codenode/codenode/issues
I'm not going to pretend I like githubs issue tracker though! At the
very least it needs to be able to copy this list with new issues.
James
On 7 July 2010 22:10, Bartosz <bartosz....@gmail.com> wrote:
> I have worked on the two first issues and manged to get codenode to
> work. If you are interested, I am willing to commit my changes to the
> repository or send you patches.
I reviewed your patch and committed it to the master:
http://github.com/codenode/codenode
Thanks, and welcome to the team!
> Secondly, codenode is the first notebook which supports matplotlib
> transparently, so that the old code does not have to be modified
> (other than importing codenode-specific show function). I think that
> together with the recent HTML5 canvas backend, this could be even
> extended to fully interactive plots.
I am keen to look at this, since R has a canvas backend as well. I
think it is achievable. At the moment, the interpreter returns a json
result:
{ 'cellstyle': ...,
'out': ...,
'err': ..,
'cellid': ...}
There are two cellstyles that matter outputtext, which is displayed as
text, and outputimage, which contains an image url. The actual
engine prints __outputimage__...data..__outputimage__. We can easily
extend the celltypes on the serverside to include __outputcanvas__,
where 'out' then contains the javascript to be evaled in the browser.
However, it is not clear to me how it can the safely evaled and set up
with the correct canvas to draw on. Need a javascript expert here.
Thanks,
James
Bartosz,
I reviewed your patch and committed it to the master:
On 7 July 2010 22:10, Bartosz <bartosz....@gmail.com> wrote:
> I have worked on the two first issues and manged to get codenode to
> work. If you are interested, I am willing to commit my changes to the
> repository or send you patches.
Thanks, and welcome to the team!
I am keen to look at this, since R has a canvas backend as well. I
> Secondly, codenode is the first notebook which supports matplotlib
> transparently, so that the old code does not have to be modified
> (other than importing codenode-specific show function). I think that
> together with the recent HTML5 canvas backend, this could be even
> extended to fully interactive plots.
think it is achievable. At the moment, the interpreter returns a json
result:
{ 'cellstyle': ...,
'out': ...,
'err': ..,
'cellid': ...}
There are two cellstyles that matter outputtext, which is displayed as
text, and outputimage, which contains an image url. The actual
engine prints __outputimage__...data..__outputimage__. We can easily
extend the celltypes on the serverside to include __outputcanvas__,
where 'out' then contains the javascript to be evaled in the browser.
However, it is not clear to me how it can the safely evaled and set up
with the correct canvas to draw on. Need a javascript expert here.
Thanks,
James
> I reviewed your patch and committed it to the master:
> http://github.com/codenode/codenode
> Thanks, and welcome to the team!
Thanks for the work. It is great to see codenode work again! I am very happy to be a part of the team.
> I am keen to look at this, since R has a canvas backend as well. I
> think it is achievable. At the moment, the interpreter returns a json
> result:
>
> { 'cellstyle': ...,
> 'out': ...,
> 'err': ..,
> 'cellid': ...}
>
> There are two cellstyles that matter outputtext, which is displayed as
> text, and outputimage, which contains an image url. The actual
> engine prints __outputimage__...data..__outputimage__. We can easily
> extend the celltypes on the serverside to include __outputcanvas__,
> where 'out' then contains the javascript to be evaled in the browser.
> However, it is not clear to me how it can the safely evaled and set up
> with the correct canvas to draw on. Need a javascript expert here.
Canvas backend would be a very nice feature and I would love to help to implement it, but it seems that the issue is quite complicated. Before I do any work, I need a better grip of the code and javascript programming.
Cheers,
Bartek