[sage-devel] Re: public single cell server

2011-12-01 Thread Jason Grout
On 11/30/11 10:45 PM, Eviatar wrote: It's still down. It looks like we ran out of disk space on /scratch again. I deleted a file or two to give us a little breathing room, but we'll probably have this issue again on boxen again in the future. I restarted the server and it works now. Plea

[sage-devel] Re: public single cell server

2011-11-30 Thread Eviatar
It's still down. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org

[sage-devel] Re: public single cell server

2011-11-18 Thread Eviatar
Yes, that was it. Not a list, sorry. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sag

[sage-devel] Re: public single cell server

2011-11-18 Thread Jason Grout
On 11/18/11 1:50 AM, Eviatar wrote: It broke again. I'm pretty sure it's a timeout issue this time, since I was iterating over a large list. Was it this command? while 1: print 'hi' I'm looking into it. The infinite loop is indeed stopped, further calculations are indeed run, and the fu

[sage-devel] Re: public single cell server

2011-11-18 Thread Eviatar
It broke again. I'm pretty sure it's a timeout issue this time, since I was iterating over a large list. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this g

[sage-devel] Re: public single cell server

2011-11-17 Thread Jason Grout
On 11/17/11 4:17 PM, William Stein wrote: On Thu, Nov 17, 2011 at 2:13 PM, Eviatar wrote: Ah, okay. Would there be any load problems if more people used it? I ask because I'm working on a simple Chromium/Chrome extension for it. Great work by the way! I think it has a lot of potential. As own

Re: [sage-devel] Re: public single cell server

2011-11-17 Thread William Stein
On Thu, Nov 17, 2011 at 2:13 PM, Eviatar wrote: > Ah, okay. > Would there be any load problems if more people used it? I ask because I'm > working on a simple Chromium/Chrome extension for it. > Great work by the way! I think it has a lot of potential. As owner/manager of the computer it runs on,

[sage-devel] Re: public single cell server

2011-11-17 Thread Eviatar
Ah, okay. Would there be any load problems if more people used it? I ask because I'm working on a simple Chromium/Chrome extension for it. Great work by the way! I think it has a lot of potential. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this g

[sage-devel] Re: public single cell server

2011-11-17 Thread Jason Grout
On 11/17/11 11:53 AM, Eviatar wrote: Try the server. I think it's still running. (replying only to sage-devel) Actually, it looks like the server ran out of disk space (/scratch on boxen). Thanks, Jason -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe

[sage-devel] Re: public single cell server

2011-11-17 Thread Eviatar
Try the server. I think it's still running. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://

[sage-devel] Re: public single cell server

2011-11-17 Thread Jason Grout
On 11/17/11 1:41 AM, Eviatar wrote: I'm sorry, I was testing it and tried "while 1: print 'Hello world'". It seems to still be working on that, and doesn't output anything anymore. Maybe a timeout is necessary? There should be a timeout already. Your computation didn't keep running forever,

[sage-devel] Re: public single cell server

2011-11-16 Thread Eviatar
I'm sorry, I was testing it and tried "while 1: print 'Hello world'". It seems to still be working on that, and doesn't output anything anymore. Maybe a timeout is necessary? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: public single cell server

2011-11-16 Thread Jason Grout
On 11/16/11 8:04 PM, Eviatar wrote: One problem: random doesn't work. It generates the same value every time. Good point. The worker process is forked from one main server process, so it inherits the same random seed each time. I suppose it would be easy enough to reset the random seed. Do

[sage-devel] Re: public single cell server

2011-11-16 Thread Eviatar
One problem: random doesn't work. It generates the same value every time. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com

[sage-devel] Re: public single cell server

2011-08-06 Thread Jason Grout
On 8/6/11 7:55 AM, Ivan Andrus wrote: On Jul 30, 2011, at 11:40 AM, Juanlu001 wrote: I have tested multiple interacts of mine and some computations, and everything seems to work quite well except for the backslash \, which I tried to use to split lines. It gives a syntax error: SyntaxError

Re: [sage-devel] Re: public single cell server

2011-08-06 Thread Ivan Andrus
On Jul 30, 2011, at 11:40 AM, Juanlu001 wrote: > I have tested multiple interacts of mine and some computations, and > everything seems to work quite well except for the backslash \, which I tried > to use to split lines. It gives a syntax error: > > SyntaxError Tr

[sage-devel] Re: public single cell server

2011-08-05 Thread Rob Beezer
Thanks for the reply and advice. Glad to hear this is not inconceivable. I hope to get at some more experimenting in the next few days, so will try out a few things then. Rob On Aug 5, 11:56 am, Jason Grout wrote: > Yes, this would be very easy to do.  In fact, that's pretty much what is > don

[sage-devel] Re: public single cell server

2011-08-05 Thread Jason Grout
On 8/5/11 2:18 PM, Rob Beezer wrote: I have been experimenting with including the single cell in documents that are born in authoring formats, specifically LaTeX and Docbook, with output as webpages or ebooks. I imagine my comments would apply equally well to ReST, but that is mostly just inform

[sage-devel] Re: public single cell server

2011-08-05 Thread Rob Beezer
I have been experimenting with including the single cell in documents that are born in authoring formats, specifically LaTeX and Docbook, with output as webpages or ebooks. I imagine my comments would apply equally well to ReST, but that is mostly just informed speculation. In this setting, the s

[sage-devel] Re: public single cell server

2011-08-02 Thread Jason Grout
On 8/1/11 11:38 PM, Rob Beezer wrote: On Aug 1, 10:02 pm, Jason Grout wrote: I changed the public API (which probably broke your demo). Still working, it seems. I don't think you changed anything I'm using. Ah, that makes sense. Javascript just ignores extra arguments to a function (so t

[sage-devel] Re: public single cell server

2011-08-01 Thread Rob Beezer
On Aug 1, 10:02 pm, Jason Grout wrote: > I changed the public API (which probably broke your demo).   Still working, it seems. I don't think you changed anything I'm using. > But it does let you seamlessly embed interacts in webpages > with just a simple button to make the interact live. That'

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 8/1/11 7:31 PM, Rob Beezer wrote: OK, demo updated and everything seems to be working as intended now. http://buzzard.ups.edu/misc/singlecell/singlecell-minimal.html I changed the public API (which probably broke your demo). Here is a new example. Note that now it's easy to change the te

[sage-devel] Re: public single cell server

2011-08-01 Thread Rob Beezer
OK, demo updated and everything seems to be working as intended now. http://buzzard.ups.edu/misc/singlecell/singlecell-minimal.html > Tab completion seems a bit...interesting to do Right. I guess the most we could hope for would be completion on global stuff - functional syntax like log() and

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 8/1/11 5:52 PM, Rob Beezer wrote: On Aug 1, 5:07 pm, Jason Grout wrote: Ah, I didn't realize you meant that I broke the normal singlecell because I forgot that I changed things ;). It's working now. Thanks, Jason, for the quick fixes and ideas. Working demo at: http://buzzard.ups.edu/mi

[sage-devel] Re: public single cell server

2011-08-01 Thread Rob Beezer
On Aug 1, 5:07 pm, Jason Grout wrote: > Ah, I didn't realize you meant that I broke the normal singlecell > because I forgot that I changed things ;).  It's working now. Thanks, Jason, for the quick fixes and ideas. Working demo at: http://buzzard.ups.edu/misc/singlecell/singlecell-minimal.html

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 8/1/11 5:07 PM, Jason Grout wrote: I should just mention that the above line is for ipad/android tablet devices. It makes a world of difference in how small the things on the screen are and how usable everything is on the tablets/iphones. We should maybe look into using it for the sage

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 8/1/11 4:23 PM, Rob Beezer wrote: On Aug 1, 8:50 am, Jason Grout wrote: Can you post your current working/nonworking version so I can test it too? Thanks, Jason, for all the details. I'll try to put up an example or two, incorporating what you have suggested. Right now, it looks like som

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 8/1/11 4:37 PM, Jason Grout wrote: On 8/1/11 4:23 PM, Rob Beezer wrote: On Aug 1, 8:50 am, Jason Grout wrote: Can you post your current working/nonworking version so I can test it too? Thanks, Jason, for all the details. I'll try to put up an example or two, incorporating what you have sug

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 8/1/11 4:23 PM, Rob Beezer wrote: On Aug 1, 8:50 am, Jason Grout wrote: Can you post your current working/nonworking version so I can test it too? Thanks, Jason, for all the details. I'll try to put up an example or two, incorporating what you have suggested. Right now, it looks like som

[sage-devel] Re: public single cell server

2011-08-01 Thread Rob Beezer
On Aug 1, 8:50 am, Jason Grout wrote: > Can you post your current working/nonworking version so I can test it too? Thanks, Jason, for all the details. I'll try to put up an example or two, incorporating what you have suggested. Right now, it looks like something has changed and is not working f

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 8/1/11 1:30 PM, Jason Grout wrote: On 7/31/11 3:05 PM, Rob Beezer wrote: 8. Is there a way to "pre-load" the CodeMirror text area? Or more precisely, what could I place into the HTML that would take some code and load up the text area with the code as its content? Maybe this should be an argu

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 7/31/11 3:05 PM, Rob Beezer wrote: 8. Is there a way to "pre-load" the CodeMirror text area? Or more precisely, what could I place into the HTML that would take some code and load up the text area with the code as its content? Maybe this should be an argument to the singlecell creation func

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 7/30/11 7:58 PM, Kelvin Li wrote: Sorry, I broke it again: @interact def f(a = input_grid(nrows=1, ncols=2, to_value=lambda t:3)): pass (throws an error that looks very similar to the previous one) I think I've fixed it better now [1]. Can you check it again? Thanks, Jason [1]

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 7/31/11 3:05 PM, Rob Beezer wrote: On Jul 31, 2:55 pm, Rob Beezer wrote: Some questions and observations. Knew I was forgetting something. 8. Is there a way to "pre-load" the CodeMirror text area? Or more precisely, what could I place into the HTML that would take some code and load up

[sage-devel] Re: public single cell server

2011-08-01 Thread Jason Grout
On 7/31/11 2:55 PM, Rob Beezer wrote: Kudos to Jason and the students at Drake. This is very nice. Thanks! And thanks again for testing! I've tried to "hide" some of the diagnostic information, and style a few of the remaining elements. I've done this with my own crude CSS stylesheet and

[sage-devel] Re: public single cell server

2011-07-31 Thread Rob Beezer
On Jul 31, 2:55 pm, Rob Beezer wrote: > Some questions and observations. Knew I was forgetting something. 8. Is there a way to "pre-load" the CodeMirror text area? Or more precisely, what could I place into the HTML that would take some code and load up the text area with the code as its conte

[sage-devel] Re: public single cell server

2011-07-31 Thread Rob Beezer
Kudos to Jason and the students at Drake. This is very nice. I've tried to "hide" some of the diagnostic information, and style a few of the remaining elements. I've done this with my own crude CSS stylesheet and via the arguments to the singlecell creation function. Some questions and observati

[sage-devel] Re: public single cell server

2011-07-31 Thread Jason Grout
On 7/30/11 10:30 PM, John Travis wrote: Great. I'm having to look harder for problems so that's good. Check out the spacing issue on the label rho(x,y,z) for @interact(layout=dict(top=[['rho','a1']])) def _( a1 = input_box(2,label='$a_1$'), rho=input_box(x,label='$\\rho(x,y,z)$',widt

[sage-devel] Re: public single cell server

2011-07-30 Thread Jason Grout
On 7/30/11 7:58 PM, Kelvin Li wrote: On Jul 30, 5:25 pm, Jason Grout wrote: Soon I will make it so that you can just have a non-colored plain text box, or toggle between the fancy and non-fancy editors. That would be cool! For interacts, looks like "input_grid" and "color_selector" widgets

[sage-devel] Re: public single cell server

2011-07-30 Thread John Travis
Great. I'm having to look harder for problems so that's good. Check out the spacing issue on the label rho(x,y,z) for @interact(layout=dict(top=[['rho','a1']])) def _( a1 = input_box(2,label='$a_1$'), rho=input_box(x,label='$\\rho(x,y,z)$',width=8)): print "hello" JT On Jul 30, 4:0

[sage-devel] Re: public single cell server

2011-07-30 Thread Kelvin Li
On Jul 30, 5:25 pm, Jason Grout wrote: > Soon I will make it so that you can just have a non-colored plain text > box, or toggle between the fancy and non-fancy editors. That would be cool! > > For interacts, looks like "input_grid" and "color_selector" widgets > > have problems. To reproduce:

[sage-devel] Re: public single cell server

2011-07-30 Thread Jason Grout
On 7/30/11 12:01 PM, Kelvin Li wrote: Wow, this is really neat! Out of laziness/incompetence to do any deeper investigation, I will list my complaints in no particular order. :-) The syntax highlighting is really cool, but when there is a lot of text, scrolling through it with the arrow keys ca

[sage-devel] Re: public single cell server

2011-07-30 Thread Jason Grout
On 7/30/11 7:57 AM, John Travis wrote: A real minor problem I found was with labels in interact. No latex for such as def _( x0 = input_box(0,width=5,label='$x_0$'), blah This is fixed now; if you have time, please test it. Thanks, Jason -- To post to this group, send an email to sage-de

[sage-devel] Re: public single cell server

2011-07-30 Thread Kelvin Li
Wow, this is really neat! Out of laziness/incompetence to do any deeper investigation, I will list my complaints in no particular order. :-) The syntax highlighting is really cool, but when there is a lot of text, scrolling through it with the arrow keys can be slow/jerky (at least in my browser:

[sage-devel] Re: public single cell server

2011-07-30 Thread Jason Grout
On 7/30/11 9:14 AM, Benjamin Jones wrote: On Fri, Jul 29, 2011 at 7:11 PM, Jason Grout wrote: Hi everyone, I'd like to announce a trial beta run of a public single cell server: http://sagemath.org:5467/ The idea is that this is a single cell that can very easily be embedded in any webpage.

[sage-devel] Re: public single cell server

2011-07-30 Thread Jason Grout
On 7/30/11 7:57 AM, John Travis wrote: Awesome. A real minor problem I found was with labels in interact. No latex for such as def _( x0 = input_box(0,width=5,label='$x_0$'), blah I noticed this when testing one of your interacts yesterday and created an issue for it: https://github.com/

[sage-devel] Re: public single cell server

2011-07-30 Thread John Travis
Awesome. A real minor problem I found was with labels in interact. No latex for such as def _( x0 = input_box(0,width=5,label='$x_0$'), blah Also, %hide does not work but it would be nice to have the option when shelling out from something like WebWork. Indeed, when using interacts, it might

[sage-devel] Re: public single cell server

2011-07-30 Thread Jason Grout
On 7/30/11 3:25 AM, leif wrote: On 30 Jul., 10:48, Jason Grout wrote: On 7/30/11 1:35 AM, John Cremona wrote: Looks nice! Is it necessary to have the "Computation ID" block so visible? After a few evaluations I could no longer see the output without scrolling down. No, it's not necessary

[sage-devel] Re: public single cell server

2011-07-30 Thread leif
On 30 Jul., 10:48, Jason Grout wrote: > On 7/30/11 1:35 AM, John Cremona wrote: > > > Looks nice!  Is it necessary to have the "Computation ID" block so > > visible?  After a few evaluations I could no longer see the output > > without scrolling down. > > No, it's not necessary; thanks for the su

[sage-devel] Re: public single cell server

2011-07-30 Thread Juanlu001
I have tested multiple interacts of mine and some computations, and everything seems to work quite well except for the backslash \, which I tried to use to split lines. It gives a syntax error: SyntaxError Traceback (most recent call last)SyntaxError: invalid synta

[sage-devel] Re: public single cell server

2011-07-30 Thread Jason Grout
On 7/30/11 1:35 AM, John Cremona wrote: Looks nice! Is it necessary to have the "Computation ID" block so visible? After a few evaluations I could no longer see the output without scrolling down. No, it's not necessary; thanks for the suggestion. In fact, when embedding in a page, you can t

Re: [sage-devel] Re: public single cell server

2011-07-30 Thread John Cremona
Looks nice! Is it necessary to have the "Computation ID" block so visible? After a few evaluations I could no longer see the output without scrolling down. This looks as if it could be very useful! John On Sat, Jul 30, 2011 at 7:05 AM, Jason Grout wrote: > On 7/29/11 8:15 PM, P Purkayastha wr

[sage-devel] Re: public single cell server

2011-07-29 Thread Jason Grout
On 7/29/11 8:15 PM, P Purkayastha wrote: Hi, Some computations ran fine. However, the code from http://wiki.sagemath.org/interact/ didn't. Only the first order is shown, and moving the slider provides no update. Thanks. That is fixed now. Jason -- To post to this group, send an email to sag

[sage-devel] Re: public single cell server

2011-07-29 Thread P Purkayastha
Hi, Some computations ran fine. However, the code from http://wiki.sagemath.org/interact/ didn't. Only the first order is shown, and moving the slider provides no update. basu. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an emai