I'd like to announce a trial beta run of a public single cell server:
The idea is that this is a single cell that can very easily be embedded
in any webpage. This is the start of a comprehensive Sage web service
as well, and lays a piece of the ground work for a much more scalable
model for doing computations in the normal notebook.
It's ready to be hammered by the larger community at this point. I will
be mentioning this next week at Mathfest, so please try to break it :).
I think just about any normal Sage computation should work. Please
report any errors to me.
We've also rewritten interacts, so please especially test interacts.
There are some exciting new features for interacts in this rewrite that
I can detail later. The main focus for this testing is that current
existing interacts should work unchanged, hopefully.
Thanks especially to Ira Hanson and Alex Kramer for doing much of the
design and implementation work (funded by Drake University and the NSF),
to William for an early version, and Fernando Perez and Robert Bradshaw
for many helpful conversations. I'm sure there are people I've missed
who have contributed in some way; please let me know if I've missed someone!
The repository for the code is:
https://github.com/jasongrout/simple-python-db-compute. The
instructions are not quite up to date, but I'll be working on those soon.
Thanks,
Jason
--
Jason Grout
Thanks. That is fixed now.
Jason
SyntaxError Traceback (most recent call last) SyntaxError: invalid syntax (<string>, line 57)The line number depends on the length of the code.
I posted a log of all commands that have been run on the singlecell
server.
http://sage.math.washington.edu/home/jason/commands.html
Of particular note are the commands around 2011-07-31 03:03:07.436000
(search for that string), where someone is apparently testing the
security of the setup. Whoever did it, how did the security and
infinite loop tests go?
It's fine to test the security (but please do so carefully...if you try
to delete some crucial file, make a backup copy first :), but at the
same time, I'll pull down the public beta server if William is
uncomfortable with those commands.
William: if that testing does make you uncomfortable, feel free to kill
-9 all of my processes on boxen. That would take down the server.
Thanks,
Jason
Backslashes should work now. Can you test it please?
Thanks,
Jason
Certainly. Anyone is more than welcome to put one together---I'm sure
people would appreciate it. What errors do you get when you try to
install it? How far did you get and what did you do? We tried to make
the instructions explicit.
Thanks,
Jason
We have been waiting for http://jquerymobile.com/ to come out of beta
before moving to it for the interact controls. We've also incorporated
several tweaks for handhelds (like the meta tag we suggest in the
embedding code).
Do you have some other optimizations in mind?
Thanks,
Jason
Code:
def myfunc():
return 2+2
print myfunc()---------------------------------------------------------------------------
SyntaxError Traceback (most recent call last)
SyntaxError: invalid syntax (<string>, line 41)
Thanks,
Jason
--
To post to this group, send email to sage-s...@googlegroups.com
To unsubscribe from this group, send email to sage-support+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
Your example worked fine on my ipad (both with codemirror and plain text
inputs). Is it possible that you accidentally something slightly
different on the ipod?
I did notice that the autocapitalization was very frustrating. I fixed
that just now.
Thanks,
Jason
Ah, okay. How should we change the instructions to make it work?
> It remains an issue. I get "NOTE: Sage Mode is unavailable, which may
> cause errors if using Sage-specific syntax.". Probably I forgot
> something, but I cannot figure what the problem is (yes, the box is
> ticked).
>
Did you install sage and are you using sage to run the device? Here's
an excerpt from my singlecell_config.py:
python='../sage/sage -python'
device_config={
'workers': 150,
'python': python,
'untrusted-account': 'deviceaccount@localhost',
'untrusted-python': 'nice '+python,
'untrusted-cpu': 100, # seconds
'untrusted-mem': 2500, # megabytes
}
Note that the "untrusted-python" is really 'sage -python'
As a test, can you try doing this on your server?
import sage
Thanks,
Jason
Great! I've made your comments issue
https://github.com/jasongrout/simple-python-db-compute/issues/203 on the
singlecell bug tracker.
Thanks,
Jason