[sage-devel] Re: instructions how to host sage notebook

2009-02-23 Thread Ondrej Certik
Hi, so I got back to it again, thanks for all the support I got here and thanks William for the patches. Here are my replies: On Wed, Feb 11, 2009 at 10:22 PM, Dan Drake dr...@kaist.edu wrote: On Wed, 11 Feb 2009 at 07:54AM -0800, Ondrej Certik wrote: I am not there yet, but I created this

[sage-devel] Re: instructions how to host sage notebook

2009-02-23 Thread William Stein
1) create a new worksheet (no matter which mode), for example at sagenb.org 2) import pylab pylab.plot([1, 2, 3], [1, 2, 1]) pylab.savefig(a.png) # it plots a plot, all a-ok 3) go back and change [1, 2, 1] to [1, 2, 3], reevaluate, it will produce this messed up plot:

[sage-devel] Re: instructions how to host sage notebook

2009-02-23 Thread Ondrej Certik
Is it ok with you if I rename it from Sage notebook to Hermes notebook and only leave a link to sagemath.org at the front page and in the help? Well, I know it's opensource, so I could do that, but I meant if you have some long term strategy how you would like people to use install the

[sage-devel] Re: instructions how to host sage notebook

2009-02-23 Thread Jason Grout
Ondrej Certik wrote: Since my research topis is electronic structure calculations, I took the most famous electronic structure program abinit.org, which is in fortran, I replaced their build system with cmake, installed it into Sage, wrote Python wrappers that produce input files and read

[sage-devel] Re: instructions how to host sage notebook

2009-02-23 Thread Brian Granger
I'm curious: is there any chance that you'll use JMOL as a 3d molecular viewer?  I've been curious about any uses in Sage of JMOL for its original intended purpose. This is a great idea. I am working with Ondrej on this project and there is not reason we can't do this. Currently, we don't

[sage-devel] Re: instructions how to host sage notebook

2009-02-16 Thread Jason Grout
William Stein wrote: 3) I want to use matplotlib for plotting, or maybe some other library, in any case the result will be a png image. Here are couple examples how it can be used in the notebook: http://nb.hpfem.org:8000/home/pub/2/ http://nb.hpfem.org:8000/home/pub/3/

[sage-devel] Re: instructions how to host sage notebook

2009-02-15 Thread Ondrej Certik
On Wed, Feb 11, 2009 at 7:13 PM, Nick Alexander ncalexan...@gmail.com wrote: Indeed, it was a oneliner: diff -r b0aa7ef45b3c sage/server/notebook/user_conf.py --- a/sage/server/notebook/user_conf.py Mon Jan 05 23:03:45 2009 -0800 +++ b/sage/server/notebook/user_conf.py Wed Feb

[sage-devel] Re: instructions how to host sage notebook

2009-02-15 Thread William Stein
On Sun, Feb 15, 2009 at 3:33 PM, Ondrej Certik ond...@certik.cz wrote: On Wed, Feb 11, 2009 at 7:13 PM, Nick Alexander ncalexan...@gmail.com wrote: Indeed, it was a oneliner: diff -r b0aa7ef45b3c sage/server/notebook/user_conf.py --- a/sage/server/notebook/user_conf.py Mon Jan 05

[sage-devel] Re: instructions how to host sage notebook

2009-02-11 Thread Ondrej Certik
Yes, I didn't realise it is that trivial. Thanks for the help, I'll report back when we get this working. If you have trouble trying to make the above changes -- which is entirely possible -- please complain. I am not there yet, but I created this howto:

[sage-devel] Re: instructions how to host sage notebook

2009-02-11 Thread William Stein
On Wed, Feb 11, 2009 at 7:54 AM, Ondrej Certik ond...@certik.cz wrote: Yes, I didn't realise it is that trivial. Thanks for the help, I'll report back when we get this working. If you have trouble trying to make the above changes -- which is entirely possible -- please complain. I am not

[sage-devel] Re: instructions how to host sage notebook

2009-02-11 Thread Ondrej Certik
On Wed, Feb 11, 2009 at 9:15 AM, William Stein wst...@gmail.com wrote: On Wed, Feb 11, 2009 at 7:54 AM, Ondrej Certik ond...@certik.cz wrote: Yes, I didn't realise it is that trivial. Thanks for the help, I'll report back when we get this working. If you have trouble trying to make the

[sage-devel] Re: instructions how to host sage notebook

2009-02-11 Thread mabshoff
On Feb 11, 9:22 am, Ondrej Certik ond...@certik.cz wrote: On Wed, Feb 11, 2009 at 9:15 AM, William Stein wst...@gmail.com wrote: SNIP That is not how the notebook works.    By default the notebook listens *only* on localhost, which means nobody else.  This is a very important security

[sage-devel] Re: instructions how to host sage notebook

2009-02-11 Thread Ondrej Certik
On Wed, Feb 11, 2009 at 9:36 AM, mabshoff mabsh...@googlemail.com wrote: On Feb 11, 9:22 am, Ondrej Certik ond...@certik.cz wrote: On Wed, Feb 11, 2009 at 9:15 AM, William Stein wst...@gmail.com wrote: SNIP That is not how the notebook works.By default the notebook listens *only*

[sage-devel] Re: instructions how to host sage notebook

2009-02-11 Thread William Stein
On Wed, Feb 11, 2009 at 10:18 AM, Ondrej Certik ond...@certik.cz wrote: On Wed, Feb 11, 2009 at 9:36 AM, mabshoff mabsh...@googlemail.com wrote: On Feb 11, 9:22 am, Ondrej Certik ond...@certik.cz wrote: On Wed, Feb 11, 2009 at 9:15 AM, William Stein wst...@gmail.com wrote: SNIP That

[sage-devel] Re: instructions how to host sage notebook

2009-02-11 Thread Ondrej Certik
Btw, I am behind a university firewall that doesn't allow me to use IRC. Does anyone remember the iptables or route rules to forward the IRC connection through my server? I know I can setup ssh port forwarding, but then I would have to log to localhost and fiddle with the IRC client, so I'd

[sage-devel] Re: instructions how to host sage notebook

2009-02-11 Thread Nick Alexander
Indeed, it was a oneliner: diff -r b0aa7ef45b3c sage/server/notebook/user_conf.py --- a/sage/server/notebook/user_conf.py Mon Jan 05 23:03:45 2009 -0800 +++ b/sage/server/notebook/user_conf.py Wed Feb 11 08:58:59 2009 -0800 @@ -4,7 +4,7 @@ import conf defaults =

[sage-devel] Re: instructions how to host sage notebook

2009-02-11 Thread Dan Drake
On Wed, 11 Feb 2009 at 07:54AM -0800, Ondrej Certik wrote: I am not there yet, but I created this howto: http://wiki.sagemath.org/SageVirtualBox I mentioned this on IRC, but so that anyone who is looking through list archives knows, I wrote a similar guide:

[sage-devel] Re: instructions how to host sage notebook

2009-02-10 Thread Ondrej Certik
Yet another option is to use ipython web frontend, but I am not sure about it's current status, I'll ask on the ipython list. http://lists.ipython.scipy.org/pipermail/ipython-dev/2009-February/004904.html O. --~--~-~--~~~---~--~~ To post to this group, send

[sage-devel] Re: instructions how to host sage notebook

2009-02-10 Thread William Stein
On Tue, Feb 10, 2009 at 11:46 AM, Ondrej Certik ond...@certik.cz wrote: Hi, is there some place with instructions how to host the sage notebook on my own server, including security etc.? I found this so far: http://wiki.sagemath.org/DanDrake/JustEnoughSageServer Basically: (1) Setup a

[sage-devel] Re: instructions how to host sage notebook

2009-02-10 Thread Ondrej Certik
On Tue, Feb 10, 2009 at 12:57 PM, William Stein wst...@gmail.com wrote: On Tue, Feb 10, 2009 at 11:46 AM, Ondrej Certik ond...@certik.cz wrote: Hi, is there some place with instructions how to host the sage notebook on my own server, including security etc.? I found this so far:

[sage-devel] Re: instructions how to host sage notebook

2009-02-10 Thread William Stein
On Tue, Feb 10, 2009 at 1:02 PM, Ondrej Certik ond...@certik.cz wrote: On Tue, Feb 10, 2009 at 12:57 PM, William Stein wst...@gmail.com wrote: On Tue, Feb 10, 2009 at 11:46 AM, Ondrej Certik ond...@certik.cz wrote: Hi, is there some place with instructions how to host the sage notebook on