[sage-support] Re: Sagecell not running in moodle pages

2015-07-11 Thread Jason Grout
On 7/11/15 04:47, Volker Braun wrote: TL;DR: JS does not have some feature (in this case: modules) so there are 5 different and mutually incompatible ways to do it. All of them broken in funny ways... Luckily, es6 javascript has modules, so hopefully at least some of the funny things will be

[sage-support] Re: Sage maa - magic word

2015-01-16 Thread Jason Grout
On 1/14/15, 3:21, Dvir Arad wrote: Hello, I'm a student at Ariel University. Ressantly I start learning SAGE for my Final Project. When I try to create An Opened account at sage maa I require to answer the question :what is themagic word . How can I get get/purchase account? These days, it's

[sage-support] Re: export 3D three.js graphics?

2014-12-02 Thread Jason Grout
On 12/2/14, 9:59, Dan Drake wrote: On Mon, 01 Dec 2014 at 06:34PM -0800, William Stein wrote: That's a way to make a *static* image. I strongly suspect that is not at all what Dan is asking for. He is probably asking for a way to embed a dynamic image in a website, with some combination of

[sage-support] Re: export 3D three.js graphics?

2014-12-01 Thread Jason Grout
On 11/28/14, 16:06, William Stein wrote: Sage cell and SageMathCloud have completely separate three.js based 3d graphics implementations William's right. The threejs() command in the sage cell initially used SMC's code, but it's gone through an overhaul, and I think SMC's original code

Re: [sage-support] Re: interact.sagemath.org down?

2014-10-20 Thread Jason Grout
of imminent shutdown of boxen: https://groups.google.com/d/msg/sagemath-users/s0bUsGN4lMQ/CNFUqkk5F8IJ there was a post by Jason Grout warning that interact was running from there. He said he didn't have time to set it up elsewhere, but apparently he made some backup, so it might

[sage-support] Re: Is Sage help system available in sage-cell?

2014-07-25 Thread Jason Grout
On 7/23/14, 16:03, Kwankyu wrote: Hi, It seems that no sage help is available in sage-cell. For example | ?floor | does not work. Is this intended or a missing feature? floor?tab brings up a help popup window. It's plain text right now, like you would normally get at the Sage command

[sage-support] Re: reflexive @interact controls (control values update)

2014-05-12 Thread Jason Grout
On 5/9/14, 16:41, Nils Bruin wrote: On Friday, May 9, 2014 1:05:23 PM UTC-7, Jason Grout wrote: Right---the interact always is recreating that control, which defaults to the first entry. With a selector, our thinking was that if the item was already selected, then it didn't need

[sage-support] Re: reflexive @interact controls (control values update)

2014-05-09 Thread Jason Grout
On 5/8/14, 11:01, William Stein wrote: @interact def foo(functions=[sin(x)], f=sin(x)): show(plot(foo.functions)) del foo.functions foo.functions = [f(x=x), f(x=x^2), f(x=x^3)] Here's a corresponding one working in the cell server: http://sagecell.sagemath.org/?q=ribyjg

[sage-support] Re: reflexive @interact controls (control values update)

2014-05-09 Thread Jason Grout
On 5/9/14, 11:14, Nils Bruin wrote: Hi Jason, Thank you very much for all the work on SageCell. It's an unbelievably useful tool to make little demonstrations. On Friday, May 9, 2014 6:11:24 AM UTC-7, Jason Grout wrote: 4. When you click on a selector button that is already selected

[sage-support] Re: Change color in command line

2014-03-12 Thread Jason Grout
On 3/9/14, 19:02, John H Palmieri wrote: Rather than a Makefile target, a Sage command to change on-the-fly would be nice. You might investigate whether IPython allows changing color schemes while it's running, or if it needs to be restarted for such changes to take effect. %colors linux or

[sage-support] Re: plotting matrix transformations of unit ball in the p-norm

2014-03-03 Thread Jason Grout
On 3/2/14, 9:52, martyall wrote: I would like to plot the effects of an 2 by 2 matrix over the reals on the unit sphere in the p-norm. By effects I mean I would like to plot the unit sphere and it's image under a given matrix. In clearest case when p=2 I found the following code from trac #9728

[sage-support] Re: using python function within desolve_odeint

2014-02-26 Thread Jason Grout
On 2/25/14 12:25 PM, Jeff Denny wrote: My students are attempting to use a python function with an if statement in it as part of a differential equation they are solving with desolve_odeint. Unfortunately, of course, Sage executes the python function as soon as they write it and not within

[sage-support] Re: WHAT HAPPENED ABOUT ASK.SAGEMATH.ORG?

2014-02-22 Thread Jason Grout
On 2/21/14 11:14 PM, cjsh100 cjsh100 wrote: all yesterday was attacked by spams.who ? See https://groups.google.com/forum/#!topic/sage-devel/9FEtOJHecf4 Thanks, Jason -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from

[sage-support] Re: Using Sage from C Python API

2014-02-18 Thread Jason Grout
On 2/18/14 11:31 AM, Nicholas Roth wrote: First off, I see no reason why this shouldn't be possible, since Sage just uses python anyway. Let me tell you what I'm doing and the error that I get: I reference the same exact Python version that Sage uses from the sage/local/lib directory. I tell

[sage-support] valentine's day

2014-02-15 Thread Jason Grout
Happy belated Valentine's day: http://sagecell.sagemath.org/?q=vcycko (based on code on a thread posted yesterday on the matplotlib mailing list) Jason -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop

[sage-support] Re: missing share links in page with sage cells

2014-02-08 Thread Jason Grout
On 2/8/14 11:39 AM, Ken Levasseur wrote: I just converted a Sage notebook to a web page with several sage cells. The conversion went smoothly except for one minor issue. Outputs do not include the share button that I've seen in other online sage cells, including the ones I've created manually.

[sage-support] Re: missing share links in page with sage cells

2014-02-08 Thread Jason Grout
On 2/8/14 11:39 AM, Ken Levasseur wrote: I just converted a Sage notebook to a web page with several sage cells. By the way, do you have a script to do this? I'm sure others would be interested in such a thing. Thanks, Jason -- You received this message because you are subscribed to the

[sage-support] Re: Sage cell server has no result

2014-02-05 Thread Jason Grout
On 1/31/14 4:00 PM, y tan wrote: One more problem remaining. Sage notebook doesnt show sage plot. R plot showing fine now. If I recall correctly, the Sage Cell Server patches to sage break plotting in the Sage notebook. Hopefully that will change in the future, but right now, the Sage Cell

[sage-support] Re: One-cell server not working but local does.

2014-01-31 Thread Jason Grout
On 1/31/14 2:02 AM, P Purkayastha wrote: On 01/31/2014 12:04 PM, Jason Grout wrote: On 1/30/14 6:12 PM, Jotace wrote: Any ideas? Take out the typeset='latex' parameters: http://sagecell.sagemath.org/?q=mfikde I don't recall ever seeing someone pass those parameters---I didn't even know

[sage-support] Re: One-cell server not working but local does.

2014-01-30 Thread Jason Grout
On 1/30/14 6:12 PM, Jotace wrote: Any ideas? Take out the typeset='latex' parameters: http://sagecell.sagemath.org/?q=mfikde I don't recall ever seeing someone pass those parameters---I didn't even know they existed. I'm not sure where the error comes from, but it might stem from us

[sage-support] Re: bar charts (two columsn for each category)

2014-01-30 Thread Jason Grout
On 1/30/14 3:31 PM, William Stein wrote: If you paste exactly the code from here http://matplotlib.org/examples/api/barchart_demo.html into a SageMathCloud Sage worksheet, it works... Or the cell server: http://sagecell.sagemath.org/?q=vejcyi Jason -- You received this message

[sage-support] Re: Sage cell server has no result

2014-01-22 Thread Jason Grout
On 1/21/14 6:48 PM, Davi dos Santos wrote: based on my own suffering :) these steps makes sage cell runs. Thanks for posting these! I added them to the sage cell repository: https://github.com/sagemath/sagecell/blob/master/doc/installation.rst Thanks, Jason -- You received this message

Re: [sage-support] someone lost all their info in sagenb.org

2014-01-22 Thread Jason Grout
On 1/22/14 12:09 PM, William Stein wrote: There is nobody working on that codebase. I would just turn it off (or switch it to some read-only mode) now if Jason Grout wasn't somewhat maintaining it. If somebody wants to step up and work on making it more usable, let us know. I'm not sinking

[sage-support] Re: someone lost all their info in sagenb.org

2014-01-22 Thread Jason Grout
On 1/22/14 10:59 AM, William Stein wrote: This usually happens when somebody logs into https://cloud.sagemath.com instead ofhttp://sagenb.org. Or it also can happen if someone is using google authentication and goes to http://www.sagenb.org instead of http://sagenb.org (or vice versa).

[sage-support] Re: someone lost all their info in sagenb.org

2014-01-22 Thread Jason Grout
On 1/22/14 7:27 PM, P Purkayastha wrote: On 01/23/2014 06:13 AM, Jason Grout wrote: On 1/22/14 10:59 AM, William Stein wrote: This usually happens when somebody logs into https://cloud.sagemath.com instead ofhttp://sagenb.org. Or it also can happen if someone is using google authentication

[sage-support] Re: Sage cell server has no result

2014-01-20 Thread Jason Grout
On 1/20/14, 12:36, y tan wrote: Hi Jason, I redo http://ufrmeca.univ-lyon1.fr/~buffat/sagecell.html and i found out I have an error after ../sage -sh -c make -B if git submodule status | grep -q ^[+-]; then git submodule update --init /dev/null; fi python -c import urllib;

[sage-support] Re: Sage cell server has no result

2014-01-16 Thread Jason Grout
On 1/16/14, 1:37 PM, y tan wrote: Hi, I successfully install sage cell follow this direction http://ufrmeca.univ-lyon1.fr/~buffat/sagecell.html now my sage notebook working correctly. The sage cell server start correctly and show on the browser but give me no result no mater what the input is.

[sage-support] Re: selective update in @interact?

2013-12-21 Thread Jason Grout
On 12/19/13, 1:43 PM, Fred Gruber wrote: No. When you press the update button it will re-execute everything inside the interact which may take a long time. I manage to do this by keeping a state variable that is check with if clauses to decide what to run. I wonder if there is a better way?

[sage-support] Re: Easiest way to use cloud.sagemath in a terminal?

2013-11-28 Thread Jason Grout
On 11/27/13 9:31 AM, Georgi Guninski wrote: A minor disadvantage of this solution is cloud.sagemath sees the password/ssh key of...@foo.edu, so I wouldn't use this if I care about the account. Not if you use passwordless logins (i.e., copy your sagemath public key to your personal server's

[sage-support] Re: Syntax highlighting in sage notebook

2013-11-26 Thread Jason Grout
On 11/26/13 4:16 AM, Jose Guzman wrote: I wondered if it there is some effort (e.g a patch in the track system) to provide some kind of syntax highlighting in the Sage notebook, just like the one shown in the Sage cell server. Yes, sort of. There is a major patch to revamp the entire frontend

[sage-support] Re: Syntax highlighting in sage notebook

2013-11-26 Thread Jason Grout
On 11/26/13 9:11 AM, Volker Braun wrote: IHMO overhauling the notebook code is one of the important problems to attach once the git transition is done... But I don't think it would be a good use of developer time to make sweeping changes to the current codebase. I see (at least at the current

[sage-support] Re: Easiest way to use cloud.sagemath in a terminal?

2013-11-25 Thread Jason Grout
On 11/25/13 10:19 AM, William Stein wrote: (1) in your cloud.sagemath terminal, type ssh -R 8022:localhost:22yourn...@foo.edu (2) Now login toyourn...@foo.edu and type ssh localhost -p 8022 You can change 8022 to any free port. I suppose this means that you can also mount the

[sage-support] Re: How create a plot of f(x, y, z) using color for function value? (i.e. a 4D plot)

2013-11-18 Thread Jason Grout
On 11/17/13 9:09 PM, kcrisman wrote: Which is cool, but still suffers from the problem I had about making sure the opacity/alpha was right for each individual shell to make sure you can see all of them, but not too much of any one of them. Yep, which is why I made opacity, jitter, and

[sage-support] Re: which version of ipython for building a sagecell server

2013-11-16 Thread Jason Grout
On 11/15/13 3:32 PM, mbuffa...@gmail.com wrote: Jason I have try to follow your instructions as: mkdir sage git init git remote add -f jason https://github.com/jasongrout/sage.git git checkout jason/sagecell mkdir upstream wget -O ipython-1.0.0.tar.gz

[sage-support] Re: How create a plot of f(x, y, z) using color for function value? (i.e. a 4D plot)

2013-11-16 Thread Jason Grout
On 11/16/13 1:34 AM, Chris Seberino wrote: I've been searching the Internet and can't find examples of plots of functions of THREE variables like f(x, y, z). I'd like to use a different color at each point in space to denote the function value. Is that possible in Sage? Are there examples

[sage-support] Re: How create a plot of f(x, y, z) using color for function value? (i.e. a 4D plot)

2013-11-16 Thread Jason Grout
On 11/16/13 9:47 AM, Jason Grout wrote: # this could be much faster if we were evaluating it using vector arithmetic on a numpy grid, for example. Here's an example with numpy: http://sagecell.sagemath.org/?q=lifyke import numpy as np jitter=0.1 # set to 0 to have a truly uniform grid opacity

[sage-support] Re: Color in html output and rounding matrices

2013-11-14 Thread Jason Grout
On 11/13/13 9:45 PM, Jotace wrote: Hello to everyone, I was trying to make some camputational tool for my students, to allow them to compute powers of matrices quickly. I made a tiny htm page with some text giving explanations, and the following code embedden in a one-cell script

[sage-support] Re: Color in html output and rounding matrices

2013-11-14 Thread Jason Grout
On 11/14/13 7:57 AM, kcrisman wrote: But... just out of curiosity (and related to a recent ask.sagemath question), is it possible to use a stylesheet in any way in the cell or notebook? Presumably it would have to be linked from the body, not quite standards-compliant... (The question on ask

[sage-support] Re: which version of ipython for building a sagecell server

2013-11-13 Thread Jason Grout
On 11/13/13 3:42 PM, mbuffa...@gmail.com wrote: I want to use the sage cellserver for online course with moodle. I presently use the sage*cell*.*sagemath*.org, but I want to use my own sagecell server at the university Those instructions are old (sorry for not noting it yet). I'm now

[sage-support] Re: using cell server with moodle (problem with script balise)

2013-11-13 Thread Jason Grout
On 11/13/13 2:49 PM, mbuffa...@gmail.com wrote: I follow the suggestion of Jason and remove the script tag div class=sage 1+2 /div and it works. By the way, in moodle the html editor has a raw mode. However as pointed by Stefan, as soon as I return to the visual mode, the editor add the [CDATA[

[sage-support] Re: using cell server with moodle (problem with script balise)

2013-11-13 Thread Jason Grout
On 11/13/13 1:43 PM, Stefan van Zwam wrote: I'm running into the same problem with Wordpress. When I switch their TinyMCE editor between Text and Visual modes, it will add in those tags. My solution is to edit only in Text mode (the Sage boxes are invisible anyway in Visual mode, which is

[sage-support] Re: using cell server with moodle (problem with script balise)

2013-11-12 Thread Jason Grout
On 11/12/13 3:59 PM, mbuffa...@gmail.com wrote: I am trying to insert sage cell inside moodle page, in order to use sage for online course. I found the idea behind sage cell and ipython wonderful for online course, but I have a problem. I am using moodle 2.4 and insert the html code from

[sage-support] Re: Should freetype be updated in Sage?

2013-10-22 Thread Jason Grout
On 10/22/13 12:39 AM, rickhg12hs wrote: Since Sage depends on the host system's runsnake command, how about letting it have its LD_LIBRARY_PATH to run? Changing one line in .../sage/misc/dev_tools.py allows it to work on my system. Last line of current runsnake definition:

[sage-support] Re: Should freetype be updated in Sage?

2013-10-22 Thread Jason Grout
On 10/22/13 4:42 AM, Volker Braun wrote: The best way to improve on the sage-native-execute script would be to get rid of it and the LD_LIBRARY_PATH hack, of course. Thats what rpath is for. See also http://trac.sagemath.org/10572 Cool! How close is the ticket to being done? Jason -- You

[sage-support] Re: Should freetype be updated in Sage?

2013-10-22 Thread Jason Grout
On 10/22/13 5:42 AM, Volker Braun wrote: If you don't set LD_LIBRARY_PATH then calling the system octave (or any other binary) just works as it would if you run it without Sage. Oh, right. Of course. Thanks, Jason -- You received this message because you are subscribed to the Google

[sage-support] Re: No picture displayed in SageCell

2013-10-16 Thread Jason Grout
On 10/16/13 6:30 AM, chu-ching huang wrote: Following the installing guide of Sagecell site, I tried to install The installation guide may be out of date. I'm glad to hear that something worked, it seems. SageCell from Sage-5.12 source in Linux box. I haven't upgraded our patches to

[sage-support] Re: Unable to evaluate Octave code in Sage Cell Server

2013-10-10 Thread Jason Grout
On 10/8/13 10:28 AM, fbotana wrote: On Wednesday, September 4, 2013 1:34:43 PM UTC+2, Franktoffel wrote: I am not able to execute any code without getting an error when I select Octave as a language. I changed things to get rid of the permission error, and this works now:

[sage-support] Re: Unable to evaluate Octave code in Sage Cell Server

2013-10-10 Thread Jason Grout
On 10/10/13 2:24 AM, Jason Grout wrote: On 10/8/13 10:28 AM, fbotana wrote: On Wednesday, September 4, 2013 1:34:43 PM UTC+2, Franktoffel wrote: I am not able to execute any code without getting an error when I select Octave as a language. I changed things to get rid

[sage-support] Re: Using QEPCAD in sagenb and/or sagecell

2013-10-10 Thread Jason Grout
On 10/10/13 1:44 PM, fbotana wrote: Hi, yesterday I posted a question http://groups.google.com/group/sage-support/t/b388b6c45a7d535f regarding QEPCAD uses under Sage. Since it seems that I did not explain the issue, I'm trying again: I would like to use QEPCAD in sagecell: Sending

[sage-support] Re: Using QEPCAD in sagenb and/or sagecell

2013-10-10 Thread Jason Grout
On 10/10/13 1:54 PM, Jason Grout wrote: On 10/10/13 1:44 PM, fbotana wrote: Hi, yesterday I posted a question http://groups.google.com/group/sage-support/t/b388b6c45a7d535f regarding QEPCAD uses under Sage. Since it seems that I did not explain the issue, I'm trying again: I would like to use

[sage-support] Re: Using QEPCAD in sagenb and/or sagecell

2013-10-10 Thread Jason Grout
On 10/10/13 2:09 PM, Jason Grout wrote: It worked! I'm in the process of rolling out the update. Give it maybe 1/2 hour or so. It works now: http://sagecell.sagemath.org/?q=xlgebu Jason -- You received this message because you are subscribed to the Google Groups sage-support group

[sage-support] Re: Sage Cell Served in Wordpress based site

2013-09-25 Thread Jason Grout
On 9/25/13 6:06 AM, Vijay Sharma wrote: Hello all, I found out an article at: http://www.ocf.berkeley.edu/~morawski/blog/hindsight-is-2020-how-to-embed-sage-in-wordpress-posts-or-anywhere/ and could resolve this problem. Cool! The only things I would add are that we've updated the

[sage-support] Re: How to recover/change notebook passwords on a server

2013-09-24 Thread Jason Grout
On 9/24/13 5:48 PM, Vincent Knight wrote: We have Python 2.4.3 running but I don't see why that would be the problem (I hope that that is the issue as it would be an easy fix). That shouldn't be an issue, since Sage includes its own version of Python. You can start the notebook with something

[sage-support] Re: Fwd: distributed computing in sage

2013-09-13 Thread Jason Grout
On 9/13/13 9:33 AM, William Stein wrote: -- Forwarded message -- From: Mayank themayankmalho...@gmail.com mailto:themayankmalho...@gmail.com Date: Sep 13, 2013 7:14 AM Subject: distributed computing in sage To: wst...@gmail.com mailto:wst...@gmail.com Cc: Sir I would like to

[sage-support] Re: Latex in interact?

2013-09-12 Thread Jason Grout
On 9/12/13 9:14 AM, Jotace wrote: html('La fonction de courbure est', latex(k)) The html function just takes a single string, not multiple strings, so you could do something like html('La fonction de courbure est $%s$'%latex(k)) (the %s is replaced with the result of latex(k).

[sage-support] Re: autoeval in sagecell

2013-09-07 Thread Jason Grout
On 9/7/13 11:30 AM, davidp wrote: I am wondering why only the first cell in the following is automatically evaluated: http://people.reed.edu/~davidp/211/sage/sagecell/tangent_plane.html I have autoeval set to 'True' and notice that if I add div class=computescript type=text/x-sage 1+1

[sage-support] Re: SAGE IOS app

2013-09-06 Thread Jason Grout
On 9/6/13 6:38 AM, Vijay Sharma wrote: Jason/Dima, Is the server for Sage IOS app support shut down? No, it seems to work fine: http://sagecell.sagemath.org/ I just tried the iOS app as well and things seemed to work fine. What seems to be the problem for you? Thanks, Jason -- You

[sage-support] Re: Unable to evaluate Octave code in Sage Cell Server

2013-09-04 Thread Jason Grout
On 9/4/13 6:34 AM, Franktoffel wrote: I am not able to execute any code without getting an error when I select Octave as a language. https://sagecell.sagemath.org/ Thanks. I'll try to look at this over the next few days. Jason -- You received this message because you are subscribed to

[sage-support] Re: Using PyCharm with Sage

2013-08-28 Thread Jason Grout
On 8/28/13 4:23 PM, David Schalk wrote: There is more to sage than the python. That is very true. Lots of Sage relies on dozens of other programs and C libraries that come with the Sage distribution. It would probably be a lot more fruitful to see if you can install PyCharm into Sage's

[sage-support] Re: Bug? in n() function for vectors?

2013-08-16 Thread Jason Grout
On 8/16/13 4:40 PM, GaryMak wrote: Hi all I hesitate to declare a bug, since it's probably something I cannot find in the help, but the following is very strange The following code always seems to output many vectors quad of length 4 each of whose numerical approx quad.n() is a vector

[sage-support] Re: Bug? in n() function for vectors?

2013-08-16 Thread Jason Grout
On 8/16/13 5:34 PM, Jason Grout wrote: entries=dict([(e[0],e[1].n(prec, digits)) for e in self._entries.iteritems()]) if len(self)-1 not in entries: entries[len(self)-1]=0 vector(entries, sparse=True) It could be shortened by using the setdefault method: entries=dict([(e[0],e[1].n(prec

[sage-support] Re: [newbie] lambda operator

2013-08-15 Thread Jason Grout
On 8/15/13 5:24 AM, Jean Dubois wrote: pi = lambda x: pari(x).primepi() lambda is a way of making a short function without having to name it. The result of the above line is that pi(x) will call pari(x).primepi(). As David mentioned, the real work is done by Pari here. More technical

[sage-support] Re: [newbie] lambda operator

2013-08-15 Thread Jason Grout
On 8/15/13 9:28 AM, Jean Dubois wrote: Op donderdag 15 augustus 2013 13:42:40 UTC+2 schreef Jason Grout: On 8/15/13 5:24 AM, Jean Dubois wrote: pi = lambda x: pari(x).primepi() lambda is a way of making a short function without having to name it. The result of the above

[sage-support] Re: Need help on installing sage cell server

2013-08-14 Thread Jason Grout
On 8/14/13 1:11 PM, y tan wrote: Hi, I follow the install instruction listed in https://github.com/sagemath/sagecell and I got the error listed bellow. Please advices. Thanks. \ I'm right in the middle of transitioning the cell server to running on the git version of Sage, and this required

[sage-support] Re: Need help on installing sage cell server

2013-08-14 Thread Jason Grout
On 8/14/13 2:47 PM, y tan wrote: if git submodule status | grep -q ^[+-]; then git submodule update --init /dev/null; fi gcc -o submodules/jsmin-bin submodules/jsmin/jsmin.c make: *** No rule to make target

[sage-support] Re: One cell server

2013-08-05 Thread Jason Grout
On 8/5/13 10:09 AM, Jotace wrote: Thanks Jason, I think we'll use aleph. Nevertheless I would like to try your virtual image, where can one find it? It's not published yet (and it's being continually updated---I just updated it a few minutes ago, for example). I'll post the KVM disk

[sage-support] Re: One cell server

2013-08-05 Thread Jason Grout
On 8/5/13 10:38 AM, Jason Grout wrote: I'll post the KVM disk images sometime today. I put them up at http://boxen.math.washington.edu/home/jason/sagecell-kvm-images/ You'll need to be running KVM. The sagecell.img file uses the centos.img as a base image. I generated these images using

[sage-support] Re: Sage Notebook, Chrome Browser, SELinux Alert

2013-08-01 Thread Jason Grout
On 8/1/13 1:22 PM, Dima Pasechnik wrote: On 2013-07-30, Jason Grout jason-s...@creativetrax.com wrote: On 7/29/13 8:11 PM, rickhg12hs wrote: Sage 5.10 Notebook, Fedora 17 with SELinux set to Enforcing. SELinux is preventing /opt/google/chrome/chrome from 'write' accesses

[sage-support] Re: Sage Notebook, Chrome Browser, SELinux Alert

2013-07-29 Thread Jason Grout
On 7/29/13 8:11 PM, rickhg12hs wrote: Sage 5.10 Notebook, Fedora 17 with SELinux set to Enforcing. SELinux is preventing /opt/google/chrome/chrome from 'write' accesses on the directory /home/MyHomeDir/.sage. Is this expected? Should I allow write access by creating a local exception for

Re: [sage-support] legends for 3d graphics

2013-07-27 Thread Jason Grout
On 7/25/13 10:58 AM, William Stein wrote: On Thu, Jul 25, 2013 at 9:16 AM, davidp davide...@gmail.com wrote: I am using Sage to plot an arrangement of planes in 3-space. Each plane has its own color, and I would like a legend in the plot that associates the equation of each plane with its

[sage-support] Re: One cell server

2013-07-26 Thread Jason Grout
On 7/26/13 6:59 AM, Jotace wrote: HI all, Next fall I willl be teaching a vector calculus course for 1st year physics students (25 students in my group). I'll use SAGE, and I'm planning to embed lots of SAGE code inside web pages in the Moodle site for my course. Awesome! I've been doing

[sage-support] Re: c++'s map equivalent in sage/python

2013-07-04 Thread Jason Grout
A set in python isn't guaranteed to have any specific order. Perhaps maintaining the keys in a separate heapq is what you want? http://docs.python.org/2/library/heapq.html Jason On 7/3/13 6:47 PM, Sam Math wrote: Thank you. This solution is much quicker, since the list of keys is kept in

[sage-support] Re: secure sage-5.9 notebook with htaccess?

2013-06-27 Thread Jason Grout
On 6/17/13 8:05 AM, hed...@me.com wrote: Hi, we installed sage-5.9 on a server in our institute on a Ubuntu 12.04.2 LTS. Is it possible to secure the access the notebook with htaccess or something like this? We want to open the port to the internet such that all members of the team can

[sage-support] Re: Typesetting in sage cell server

2013-06-22 Thread Jason Grout
On 6/21/13 11:30 PM, Olalékan ABOU BAKAR wrote: Hello, Is there any option to enable typesetting in the output of a sage cell server? For right now, you need to do it manually by doing something like: html($%s$%latex(sage thing to typeset)) or just html($x^2$) to typeset something

[sage-support] Re: Sagecell server not working

2013-06-08 Thread Jason Grout
On 6/8/13 2:57 AM, Olalékan ABOU BAKAR wrote: I get a HTTP 503 error through the virtualhost yet lsof shows what seems to be some sagecell server processes running. If I were you, I think I would: * check your logs everywhere * check your firewall * try to get it working without virtual host

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-30 Thread Jason Grout
On 5/29/13 6:39 PM, Aaron E-J wrote: So I thought I had ssh installed but apparently not.The two commands leif gave got rid of the ssl.py error but now I am getting a different one: aaronej@ubuntu:~/sage/devel/sagecell$ ../../sage web_server.py 2013-05-29 16:12:32,114 sagecell:INFO starting

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-27 Thread Jason Grout
On 5/27/13 11:36 AM, Aaron E-J wrote: So I've finally had a change to get back to working on trying to install sage sell.I've got everything set, only I'm getting the following error that makes me think I'm missing a dependency: I think it's the error that is solved on this ticket for the

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-27 Thread Jason Grout
On 5/27/13 8:39 PM, Aaron E-J wrote: Hmmm... I can't figure out how to set up the SSH settings.Sorry if this sound naïve, but what should I put for the host and username?This is the stack trace when I try to run ../../sage web_server.py : Traceback (most recent call last): File

[sage-support] Re: Quickly compute signs of eigenvalues

2013-05-21 Thread Jason Grout
On 5/21/13 7:39 AM, Theo Belaire wrote: I haven't explicitly set the ring it's working over, but all the entries of the matrix are integral. Are your eigenvalues guaranteed to be a little away from 0, so you could use numeric approximations? If so, computing the eigenvalues over the RDF

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Jason Grout
On 5/21/13 12:00 PM, Niles Johnson wrote: I've tried the sagecell-2013-05-20.spkg with a freshly compiled Sage 5.9, but still get an error. The patches apply, but zeromq does not install. Looking at the end of the output, I guess I need to install uuid-dev . . . Yep. Step 1 in the readme:

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Jason Grout
On 5/21/13 12:54 PM, Niles Johnson wrote: On Tuesday, May 21, 2013 1:25:10 PM UTC-4, Jason Grout wrote: 1. Make sure you have git; if you're on Ubuntu, you�ll also need the uuid-dev package installed (for �MQ). Ouch! I'm on RedHat, not Ubuntu, but I guess I should have noticed

[sage-support] Re: Get an error message when trying to install sage cell server

2013-05-21 Thread Jason Grout
On 5/21/13 1:00 PM, Niles Johnson wrote: On Tuesday, May 21, 2013 1:56:41 PM UTC-4, Jason Grout wrote: I'm moving the official sage cell server to CentOS, and I've been working on setting up automated installation for the virtual machines. This sounds like it would be very useful

[sage-support] Re: Google OpenID account problems for sagenb.org

2013-05-10 Thread Jason Grout
On 5/8/13 4:41 PM, Harald Schilly wrote: Hence, please try www.sagenb.org or sagenb.og That should be: www.sagenb.org or sagenb.org Jason -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving

[sage-support] Re: sage good gui

2013-05-01 Thread Jason Grout
On 5/1/13 8:11 PM, William Stein wrote: Inhttps://cloud.sagemath.com, displayed equation wrapping works now and is enabled by default. Likewise for the sage cell server, though the below shows some odd linebreaks, likely a result of Sage representing multiplication by a thin space \,:

[sage-support] Re: sage good gui

2013-04-26 Thread Jason Grout
On 4/26/13 2:47 AM, Dmitry Shkirmanov wrote: Hello, list. I used to use Sage a couple of years ago but moved to the Maxima. The reason for the moving to the maxima was that Sage could not split a long symbolic output into several lines and showed this output as one long line (i used browser

[sage-support] Re: sage good gui

2013-04-26 Thread Jason Grout
On 4/26/13 11:45 AM, Dmitry Shkirmanov wrote: The next version of mathjax does line breaking. I don't think we've upgraded yet: I suppose that i have to wait the next SAGE release? Well, we need to upgrade MathJax in the notebook. So someone needs to first do that, and then it'll be in

[sage-support] Re: Memory

2013-04-23 Thread Jason Grout
=numpy.int8, a=[ million lines ]) (assuming your integers fit into an 8-bit integer) Thanks, Jason Thanks, Jason -- Jason Grout -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails from

[sage-support] Re: Embed Cells

2013-04-19 Thread Jason Grout
On 4/18/13 11:33 PM, Juan Grados wrote: Dears members, I like use the SAGE to embed any code (example below). But I want linked two cells using this https://github.com/sagemath/sagecell/blob/master/doc/embedding.rst#linked-cells instruction but this not work. How I will be able to fix this?.

[sage-support] Re: Embed Cells

2013-04-19 Thread Jason Grout
On 4/19/13 12:07 PM, Juan Grados wrote: Thanks by your reply, I trying, but yet not work. $(function () { // Make the div with id 'mycell' a Sage cell sagecell.makeSagecell({inputLocation: 'div.compute', linked: true,

[sage-support] Re: Lost worksheets

2013-04-17 Thread Jason Grout
On 4/17/13 5:11 PM, Dan Aldrich wrote: I'm still having problems with worksheets getting lost. My older worksheets seem to be in place. Sometimes it happens the same day, I write a worksheet in the morning and in the evening it doesn't appear when I log in at home. Are you talking about

[sage-support] Re: Lost worksheets

2013-04-17 Thread Jason Grout
On 4/17/13 5:26 PM, Dan Aldrich wrote: I use sagenb.org which redirects me to www.sagenb.org. I use my username/PW, I've been using sage before the google/FB authentication. My username is daldrich. Hmmm. 1. sagenb.org shouldn't redirect to www.sagenb.org. Do you mean sagemath.org

[sage-support] Re: Fwd: sage.maa.org

2013-04-04 Thread Jason Grout
On 4/4/13 7:31 PM, Dan Drake wrote: On Thu, 04 Apr 2013 at 05:06AM -0700, kcrisman wrote: Now that I think about it, you shouldn't be able to make an account on it anyway... Dan, that's probably because OpenID is now allowed or something. In principle, one should have to know the magic word

[sage-support] Re: Fwd: sage.maa.org

2013-04-03 Thread Jason Grout
On 4/3/13 5:23 PM, David Joyner wrote: Hi: Has anyone on sage-support tested out sage.maa.org http://sage.maa.org? I tried (very impatiently) a fw times and found it slow. - David That server was originally set up for the PREP workshop participants. I administered it for the first two years,

[sage-support] Re: Potential Bug in show() for graphs.

2013-04-01 Thread Jason Grout
On 3/31/13 9:29 PM, pong wrote: G = graphs.CompleteBipartiteGraph(3,3); H=G.complement(); H.show() The problem here is that the CompleteBipartiteGraph has a specific layout that makes the edges of the complement overlap. When you do H.show, specify a layout that will separate those edges:

[sage-support] Re: Generating variables using indexing

2013-03-30 Thread Jason Grout
On 3/29/13 6:38 PM, GaryMak wrote: d = 5; for ii in range(0,d): for a[ii] in range(0,d): print a[ii]^2 + ii; What do you expect the output of this to be? What are you trying to accomplish with this code? Thanks, Jason -- You received this message because you are

[sage-support] Re: Generating variables using indexing

2013-03-30 Thread Jason Grout
On 3/30/13 5:08 AM, Gary McConnell wrote: Hi Jason fair question - I was trying to avoid including all the boring details of my code! In the simplest case I have a search routine which looks for M sets of d vectors inside a vector space of dimension N over a finite field, whose dot products

[sage-support] Re: Generating variables using indexing

2013-03-30 Thread Jason Grout
On 3/30/13 6:34 AM, Gary McConnell wrote: Hi Jason - thanks a lot - I have attached a text file which is just a cleaned-up version of my code, with some explanations at the top for functions whose details are not relevant to the question. Apologies - you'll see it's a neat mess, so to speak

[sage-support] Re: Generating variables using indexing

2013-03-30 Thread Jason Grout
On 3/30/13 7:12 AM, Jason Grout wrote: So to summarize your code, you're finding M=3 sets of d=3 mutually orthogonal vectors so that each pair of sets satisfies some criteria (your XRY function)? Do the sets have to be mutually exclusive? Your code doesn't enforce this, but your xRy function

[sage-support] Re: Generating variables using indexing

2013-03-30 Thread Jason Grout
On 3/30/13 7:49 AM, Gary McConnell wrote: in fact the construction of N1 precludes isotropic vectors - I should have mentioned that. The xRy function effectively forces separate sets of vectors to be mutually exclusive also. I have learnt a lot from your example there - but unfortunately I

[sage-support] Re: Generating variables using indexing

2013-03-30 Thread Jason Grout
On 3/30/13 7:58 AM, Gary McConnell wrote: Am I to deduce from this that what I was originally trying to do (ie telescoping recursive variables) is not possible in Python? Sorry---it wasn't ever really clear to me how you were approaching the problem and what you meant by telescoping recursive

  1   2   3   4   5   6   7   8   9   10   >