[sage-support] Re: Does Sage do quotas or other protections in case users's calculation takes too long?

2011-09-06 Thread Rado
There is some 'ulimit' code lying around in sagenb/interfaces/expect.py, not sure if it currently works. You can set some protections using server_pool and a dedicated user to run all the worksheet processes (different from the user who runs the webserver). Then you can setup the ulimit for that

[sage-support] Re: how to unpublish a worksheet

2011-08-11 Thread Rado
click "publish" again and you should see a button "stop publishing". -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/grou

[sage-support] Re: start-up time in sage scripts

2011-08-06 Thread Rado
You can check what Sage-mode for emacs has done. Admittedly I never used it, but it should resolve this problem exactly. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options

[sage-support] Re: Do we have multiset?

2011-06-25 Thread Rado
you can use dicts multiset = {1: 1, 2: 4, 3: 9} -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: ht

[sage-support] Re: Can't upload worksheets from URL. (Sage insists on browsing for a local file.)

2011-06-20 Thread Rado
This was fixed by Sebastien during Sage Days 31 (3 days ago). Already got that merged in my repo. http://code.google.com/r/rkirov-flask/source/detail?r=b732dafbff2259938b55873e247213f9a82fe9e3 I will make sure William updates sagenb.com to incorporate those fixes. -- To post to this group, sen

Re: [sage-support] Re: Anyone have experience of running Sage Notebook on Kindle 3 web browser?

2011-05-01 Thread Rado
same problem as graph_editor. Sliders render fine but mouse movement is only at ~30-50px jumps so you cant move where you want (discrete slider with 4 options works fine :)). Also I realized I couldn't find tab or shift+enter (evaluate can be done with the link below cell). -- To post to this

[sage-support] Re: Anyone have experience of running Sage Notebook on Kindle 3 web browser?

2011-04-27 Thread Rado
I just tried it and it works quite nice. Only annoying part is that numbers and parenthesis are not on the keyboard, so you have to navigate with arrows to select them then typing. The actual webpage rending is fine. I did plotting. Even graph editor works but there is no way to move the mouse i

[sage-support] Re: sage -python drop to sage: prompt

2011-04-13 Thread Rado
this should do what you want ./sage -sh python -i file.py On Apr 14, 12:10 am, AndyNovo wrote: > I think he's actually asking about the -i flag.  I was just wondering > the same thing. > > sage myfile.sage > > runs myfile but doesn't return the interactive prompt. > I'm guessing the goal is to

[sage-support] Re: spellchecker for tinymce

2010-03-08 Thread Rado
PS. Work-around in the meantime, hit the "edit HTML source" button. On Mar 8, 3:17 pm, Rado wrote: > I tried to enable the firefox build-in spellcheck by adding this > simple > optionhttp://wiki.moxiecode.com/index.php/TinyMCE:Configuration/gecko_spell... > in th

[sage-support] Re: spellchecker for tinymce

2010-03-08 Thread Rado
r red underline after a few s. Not sure if it is TinyMCE problem or part of the modifications done for Sage. Next thing to try is tinymce spellcheck plugin. But I am definitely for adding spellcheck capability (it saves my ass on a daily basis). Rado On Mar 8, 5:51 am, "ma...@mendelu.cz" wrote:

[sage-support] Re: how to cast finite field elements into p-adic ring

2010-02-02 Thread Rado
dn't work sage: R2. = Zq(9,1) sage: R(z) NotImplementedError: Conversion from different p-adic extensions not yet supported Rado On Feb 2, 9:04 pm, dmharvey wrote: > Hi, > > After I create the residue field of a p-adic ring, how do I cast > elements of the field back into

[sage-support] Re: help: ILLEGAL INSTRUCTION errors

2010-01-30 Thread Rado
I think your cpu is too old http://en.wikipedia.org/wiki/SSSE3 I would suggest you download the source code and build Sage. http://sagemath.com/download-source.html Just give it 2 hours or so. Rado On Jan 30, 9:27 pm, keripix wrote: > Ive already download sage for arch linux with gcc 4.

[sage-support] Re: Unrecognized linestyle

2009-08-03 Thread Rado
try using 'dashed' instead of '--'. Works for me. I have no idea why '--' works for plotting lines but not vectors (which are arrows) ... Rado On Aug 3, 3:46 pm, cesarnda wrote: > what is wrong with the following: > > sage: v1 = vector([1,2]) > sag

[sage-support] Re: accessing sage notebook with android phone

2009-08-03 Thread Rado
m that its onscreen keyboard has no tab key (so maybe adding it explicitly just like evaluate might be a good idea). Rado On Aug 3, 10:20 am, Pierre wrote: > hi simon and dan, > > thanks for your answers. The thing is though, i don't intend to run > sage, the full sage, on a phone

[sage-support] Re: coding theory minimum distance -1

2009-06-22 Thread Rado
Yep, that fixed. That would teach me to upgrade before posting for "bugs". Rado On Jun 22, 5:49 pm, Rado wrote: > sage: version() > 'Sage Version 4.0.1, Release Date: 2009-06-06' > > That probably explains it. I will update and try again. > > Thanks, >

[sage-support] Re: coding theory minimum distance -1

2009-06-22 Thread Rado
sage: version() 'Sage Version 4.0.1, Release Date: 2009-06-06' That probably explains it. I will update and try again. Thanks, Rado On Jun 22, 5:36 pm, David Joyner wrote: > Can you tell me what version you are using? > > In version 4.0.2.rc3, I get > > sage:

[sage-support] coding theory minimum distance -1

2009-06-22 Thread Rado
... Am I overlooking something? I already have a small function to go through and puncture at the all zero columns, so if indeed this is not already in SAGE and it is desired I will send it as a patch. Rado --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: drawing graphs

2009-06-15 Thread Rado
> Here, for example, is the Cayley graph of the alternating group A5: > > A = AlternatingGroup(5) > G = Graph(A.cayley_graph()) > s = G.graphviz_string() > f = open('graphfile.dot', 'w') > f.write(s) > f.close() > Actually for this example graphviz's neato (i.e. spring model) doesn't do much bett

[sage-support] Re: 3d tubes in SAGE

2009-05-07 Thread Rado
I didn't know the thickness parameter, but going the long route (frenet frames), lets you do funky stuff like setting radius = 0.2* (2+sin(6*x)), whereas thickness can be only a float. Is there an easy way to render parametric_plot3d in Tachyon? Rado On May 7, 10:47 am, ja

[sage-support] Re: trying to run Dean Moore's Hypotrochoid program

2009-05-06 Thread Rado
figsize=[figuresize,figuresize]) Works for me (note that the Eye of GNOME doesn't show the proper gif animation (at least in Ubuntu)). Rado On May 6, 9:54 pm, Rado wrote: > Well, i coundn't get to the bottom of it, but to narrow it down try: > > bar.show() > > which com

[sage-support] Re: trying to run Dean Moore's Hypotrochoid program

2009-05-06 Thread Rado
. To see a picture (although without the bar), remove "bar" from the last command in the script. Rado On May 5, 2:32 pm, Bruce Cohen wrote: > I am new to Sage (and think it is great).  This experiment (using Sage > 3.4.1) did not work: > > -- > I downloaded

[sage-support] Re: 3.4 binary for Fedora 10 crashes

2009-04-14 Thread Rado
Does that mean that also I cannot compile sage myself on a non-sse3 machine (like my old amd64)? When I try I get "Illegal instructions" but not sure if its the cpu or something with the dependencies. Rado On Apr 11, 8:49 pm, William Stein wrote: > On Sat, Apr 11, 2009 at