My understanding is that Codenode was supposed to be a generalized
Sage Notebook. The project is inactive. It does not support interacts
and can not be used within Sage like Sage Notebook.
>
> Ralf
>
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>
OK, but that doesn't fully answer my question. From appearance they look
similar. Do they have the same codebase? Was sagenotebook developed from
codenode or vice versa?
Why does Alex say in
http://groups.google.com/group/codenode-devel/browse_thread/thread/9541cfc34db09a61
"My recommendation is to focus on the Sage notebook right now,
it is the most usable."
? It obviously means that the sage notebook is more powerful. But what
are the better features? Why cannot they easily be ported to codenode?
Could someone also comment on another passage from the above thread:
"The aim of Codenode is to make a "generalized notebook" that could
be used by all these projects, but in practice it turns out that
is an *extremely* large amount of work."
What exactly is this large amount of work?
There is certainly some part
of sage that works on the input that comes from the notebook. But
shouldn't all that count as "backend" for the notebook?
Ralf
--
To post to this group, send an email to sage-...@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
> My understanding is that Codenode was supposed to be a generalized
> Sage Notebook.
OK, but that doesn't fully answer my question. From appearance they look
similar. Do they have the same codebase? Was sagenotebook developed from
codenode or vice versa?
> The project is inactive.
:-(
> It does not support interacts
Can you explain what you mean by "interacts"?
> and can not be used within Sage like Sage Notebook.
??? I thought the sagenotebook is an interface to sage (unfortunately
needs quite some part of sage to run). From what you say it sounds as if
Sage is used to program the notebook. True? Shouldn't there be a clean API?
Why does Alex say in
http://groups.google.com/group/codenode-devel/browse_thread/thread/9541cfc34db09a61
"My recommendation is to focus on the Sage notebook right now,
it is the most usable."
? It obviously means that the sage notebook is more powerful. But what
are the better features? Why cannot they easily be ported to codenode?
Could someone also comment on another passage from the above thread:
"The aim of Codenode is to make a "generalized notebook" that could
be used by all these projects, but in practice it turns out that
is an *extremely* large amount of work."
What exactly is this large amount of work? There is certainly some part
OK. It somehow looks as if I could give it a try. Is codenode supposed
to work?
I've said git clone git://github.com/codenode/codenode.git. What comes
next to make it run and read documentation?
>sphinx-build doc docbuild
Making output directory...
Running Sphinx v0.6.4
Exception occurred:
File "/home/hemmecke/scratch/cn/doc/conf.py", line 4, in <module>
import codenode
ImportError: No module named codenode
The full traceback has been saved in
/tmp/hemmecke/sphinx-err-5GFhHr.log, if you want to report the issue to
the developers.
Please also report this if it was a user error, so that a better error
message can be provided next time.
Either send bugs to the mailing list at
<http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at
<http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
I know there is easy_install codenode, but that doesn't seem to work for me.
D=/home/hemmecke/scratch/codenode
mkdir -p $D
cd $D
hg clone http://bitbucket.org/ianb/virtualenv
cd virtualenv
python virtualenv.py $D
export PATH=$D/bin:$PATH
easy_install codenode
cd $D
$D/bin/codenode-admin init -name mycodenode
cd mycodenode
$D/bin/codenode-admin run
Now if I go to localhost:8000 and login with the admin account, I get an
error:
Forbidden (403)
CSRF verification failed. Request aborted.
Help
Reason given for failure:
CSRF cookie not set.
Is there some hint of how I should continue?
> Could someone also comment on another passage from the above thread:
>
> "The aim of Codenode is to make a "generalized notebook" that could
> be used by all these projects, but in practice it turns out that is
> an *extremely* large amount of work."
>
> What exactly is this large amount of work?
> They are so many parts to creating a full-fledged "Online
> Programming Notebook". Here are the main 3 parts, each one is a
> significant challenge:
>
> 1) Content Management System (Users, Notebooks, folders, tagging,
> search, managed, upload data)
> 2) Notebook (Rich Editors, Cells, Worksheets, sharing,
> multi-user-editing, plots, Interact, etc)
> 3) Kernel (Let anonymous people run arbitrary code!!)
Since I couldn't yet run codenode I don't really know what would be
missing for me. In the end I just want a better standalone interface to
FriCAS.
Is there an easy tutorial of what I would have to do to connect FriCAS
(or just /bin/sh if that is easiser) to codenode?
Features in (2) would be good (wouldn't that be easy to port from the
sage notebook?), but in fact, currently I would be content with just
running the notebook as a single user at localhost:8000.
Best regards
Ralf
You can use the Sage notebook separately from Sage.
It includes most of its dependencies. E.g., Ondrej Certik
ships the Sage Notebook with his FEMhub stuff, which
has none of Sage. I don't think the Sage notebook has
much more in dependencies than codenode.
William
--
William Stein
Professor of Mathematics
University of Washington
http://wstein.org
> OK, but that doesn't fully answer my question. From appearance theyOK. It somehow looks as if I could give it a try. Is codenode supposed
> look similar. Do they have the same codebase? Was sagenotebook
> developed from codenode or vice versa?
>
> They have different code bases. I was one of the original creators
> of the Sage Notebook (which came first) and I'm one of the original
> creators of Codenode. Codenode's codebase is more modular, and "much
> cleaner" IMHO - with the right amount of continued work on it, it
> could prove to be an awesome project - the "core structure" of it is
> very good.
to work?
That means what?
> If you are inclined, start hacking away! This is my best advice as of
> now.
I'd be very grateful, if you could first help me to get a running system.
Overview documentation seems to be a bit better than for the sage
notebook, but I think I cannot do anything without knowing how to get
from the .git repo to a running system.
Thanks in advance
Ralf
> If you want to resurrect the project from it's currently dead state,That means what?
> I absolutely support you.
I'd be very grateful, if you could first help me to get a running system.
> If you are inclined, start hacking away! This is my best advice as of
> now.
Overview documentation seems to be a bit better than for the sage
notebook, but I think I cannot do anything without knowing how to get
from the .git repo to a running system.
Thanks in advance
Ralf
> my group took the Codenode notebook a few months ago as we
> really liked the concepts. It became a basis for a new FEMhub
> Online Lab which is based on ExtJS and will make it possible to
> run both Codenode and Sage worksheets in it.
As far as I understood, femhub-lab now also contains some code that
connects to femhub/sage. I haven't yet digged deep, but codenode looks
relatively clean. So I would rather prefer to keep the codenode code
separate from the backends. Don't you agree?
What did you change in the codenode.org code? Shouldn't the patches that
only concern the interface code flow back to
http://github.com/codenode/codenode ? Could you easily extract that?
From a design point of view, it would be wonderful, if there were 3
projects.
1) codenode with a clear frontend/backend api
2) the femhub backend
3) the sage backend
4) other backends...
So Sage/FEMhub would just be using codenode as a package.
Why did you decide against that design? Or didn't you? (Sorry, I am at
the stage of getting the picture.)
All I want is a nice web interface, that sends the input string from the
cell to a (registered) process and get's corresponding output.
For something like http://wiki.sagemath.org/interact, there would have
to be a proper API for the backend as well.
The notebook code should not contain anything that is related to the
potential packends (except APIs, of course).
Ralf