[sage-support] type problem, I think

2022-02-11 Thread Jason Miller
lic expression") TypeError: unable to convert (-4.87852077236756*s^2 + 19.9617665490168*s + 4.00810430656697) to a symbolic expression I feel like I'm in type hell. Can someone help me get back into the right Universe for this work? My scouring of Google hasn't turned up anything helpful

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

2015-07-11 Thread Jason Grout
corrected in the near future: http://www.2ality.com/2014/09/es6-modules-final.html Thanks, Jason -- 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 it, send an email to sa

[sage-support] Fwd: Sage Notebook shutdown

2015-03-26 Thread Jason Grout
This was posted to sage-devel, but is also relevant here. Thanks, Jason Forwarded Message Subject: Sage Notebook shutdown Date: Thu, 26 Mar 2015 12:17:20 -0700 From: William Stein Reply-To: sage-noteb...@googlegroups.com To: sage-devel , sage-notebook Newsgroups

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

2015-01-16 Thread Jason Grout
get/purchase account? These days, it's much better to use Sage via SageMathCloud: https://cloud.sagemath.com. The MAA Sage servers are outdated at this point. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group.

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

2014-12-02 Thread Jason Grout
three.js does have built-in loaders for some formats that Sage supports, like the obj format, but it doesn't support everything Sage has to offer, if I recall correctly. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support&qu

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

2014-12-01 Thread Jason Grout
x27;s original code also has a lot of changes since then. William, how do you do it in SMC? Do you basically do something like https://github.com/mrdoob/three.js/issues/989#issuecomment-3320653 ? (set preserveDrawingBuffer to true, and then call toDataURL()? Thanks, Jason -- You received

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

2014-10-20 Thread Jason Grout
>> > >> >> Why is interact.sagemath.org <http://interact.sagemath.org> down? >> >> Is this a temporary problem or has it been discontinued? >> >> Now it only points to William Stein's homepage. >> > >> > >> > I assume there

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

2014-07-25 Thread Jason Grout
line. If someone is looking for a way to help, it would be great to see it as a formatted html page. It would also be great if evaluating "floor?" pulled up help. I didn't realize that typing the question mark first ever worked in any version of Sage, though. Thanks, Jaso

[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 ne

[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: reflexive @interact controls (control values update)

2014-05-09 Thread Jason Grout
r implementation. It's in the code that automagically creates controls based on default values. 4. When you click on a selector button that is already selected, the cell server ignores the click (since it's already selected), while the cloud processes the click as a new selection.

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

2014-03-12 Thread Jason Grout
x or %colors lightbg works in IPython, and might work in Sage (I can't check right now). Thanks, Jason -- 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 it, send an em

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

2014-03-03 Thread Jason Grout
code from trac #9728 which does exactly what I want. Like this (for 2x2 matrices)? http://interact.sagemath.org/node/27 Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receivin

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

2014-02-26 Thread Jason Grout
my first reaction, to call desolve_odeint with just f instead of f(x,y), gives an error about f not having a variables method: http://sagecell.sagemath.org/?q=zmmcru Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe f

[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 u

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

2014-02-18 Thread Jason Grout
cates that the error shows up when python is compiled with different settings for the --enable-unicode compile switch, for example, https://www.rosettacommons.org/node/1901 Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" g

[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

[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 t

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

2014-02-08 Thread Jason Grout
linked cell. Often the linked cell will depend on other cells or previous code, so it doesn't make sense to share just the code from the cell. What do you think? Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" g

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

2014-02-05 Thread Jason Grout
Server patches to Sage are meant to be used on their own dedicated installation of Sage. Thanks, Jason -- 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 it, send an emai

[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 d

[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: One-cell server not working but local does.

2014-01-30 Thread Jason Grout
ut it might stem from us having an upgraded matplotlib in the cell server (so we can have some cool interactive features). Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receivin

[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: someone lost all their info in sagenb.org

2014-01-22 Thread Jason Grout
). Thanks, Jason -- 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 it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sa

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 n

[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

[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 &

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

2014-01-16 Thread Jason Grout
set up the security system, accounts, etc.) Thanks, Jason -- 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 it, send an email to sage-support+unsubscr...@googlegroups.com. To post

[sage-support] Re: sagecell links

2014-01-15 Thread Jason Grout
some things. And I think I know how to fix it more permanently when the dust settles down from the JMM and class prep. Thanks, 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: using sagecell within webwork (problem with tos acceptance)

2014-01-10 Thread Jason Aubrey
For reference, here is the corresponding discussion on the webwork forums: http://webwork.maa.org/moodle/mod/forum/discuss.php?d=3204 Jason A. On Thursday, January 9, 2014 8:54:25 AM UTC-7, kcrisman wrote: > > Maybe this should be in a prominent place in the sagecell doc? I love

[sage-support] Re: using sagecell within webwork (problem with tos acceptance)

2014-01-09 Thread Jason Grout
y#L16 to requires_tos = False Thanks, Jason -- 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 it, send an email to sage-support+unsubscr...@googlegroups.com. To post to t

[sage-support] Re: How to ask users to input a matrix

2014-01-03 Thread Jason Grout
e safer to either use json.loads (which understands nested lists), or use ast.literal_eval (which is designed to only interpret safe things, like strings, ints, etc.); see http://docs.python.org/2/library/ast.html#ast.literal_eval. import ast matrix(ast.literal_eval(input_string)) Thanks, Jason

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

2013-12-21 Thread Jason Grout
? That's probably the easiest way. Jason On Wednesday, December 18, 2013 11:15:20 PM UTC-5, kcrisman wrote: Does auto_update = False (as an interact control) provide what you need? On Wednesday, December 18, 2013 12:39:31 PM UTC-5, Fred Gruber wrote: Hi Sometimes

[sage-support] Re: URGENT: Putting a 2d circle into my animation

2013-12-12 Thread Jason Grout
On 12/12/13, 11:32 AM, john_perry_usm wrote: Does the zorder option do what you want? No, because they are making two different plots with the two different show() calls. John's solution should work, though. Jason -- You received this message because you are subscribed to the G

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

2013-11-28 Thread Jason Grout
ver's authorized login file). Thanks, Jason -- 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 it, send an email to sage-support+unsubscr...@googlegroups.com. To post

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

2013-11-26 Thread Jason Grout
rrent rate of development) a personal version of cloud replacing the current notebook as the best direction to go. That's part of the reason why I'm not currently working on the sagenb codebase. Thanks, Jason -- You received this message because you are subscribed to the Googl

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

2013-11-26 Thread Jason Grout
uncertain. Thanks, Jason -- 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 it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send ema

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

2013-11-25 Thread Jason Grout
sagemath directory using sshfs. Cool! Jason -- 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 it, send an email to sage-support+unsubscr...@googlegroups.com. To post to

[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
itter, and pointsize adjustable. I agree it's a tricky problem. Jason -- 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 it, send an email to sage-support+unsubscr...@goo

[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 op

[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 some

[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 https://github.com/ipython/ipython

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

2013-11-14 Thread Jason Grout
is about sagemathcloud, which I am less familiar with). Yes, of course it is possible with the cell server. Just use a stylesheet to define a style for a class, and you can just insert a div with the proper class instead. Jason -- You received this message because you are subscribed to the

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

2013-11-14 Thread Jason Grout
is, I think you'll have to change your < to < and & to & manually, though: 1 < 2 print 'hi' print "hi" The best would be implementing a TinyMCE plugin to generate the necessary html, though. Thanks, Jason -- You received this message because you ar

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

2013-11-14 Thread Jason Grout
If you really only wanted the matrix in a field with that precision (instead of in 53-bit precision RDF), you could do: T = T.n(digits=3) with any matrix. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubs

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

2013-11-13 Thread Jason Grout
ines into a pair. But that seems to be beyond the control of the Cell Server. I think we need a proper Wordpress plugin to get everything working flawlessly. Or a TinyMCE plugin. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support

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

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 1+2 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[ stuff around the

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

2013-11-13 Thread Jason Grout
n my github clone of IPython (https://github.com/jasongrout/ipython/tree/sagecell). It's not really documented well right now. I'm happy to give pointers, though, and I'm more than happy to accept pull requests improving the documentation and install process. Thanks, Jason -

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

2013-11-12 Thread Jason Grout
x On the other hand, is there a way in the html editor to edit the "raw" html? Then hopefully you can insert the div and script tags like normal, and the editor won't mess with them. Thanks, Jason -- You received this message because you are subscribed to the Google Groups

[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 G

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

2013-10-22 Thread Jason Grout
isn't compiled by Sage at all---we just invoke the system Octave. Jason -- 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 it, send an email to sage-support+unsubscr...@g

[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
ob/master/src/bin/sage-native-execute (see http://trac.sagemath.org/ticket/975) It certainly can be improved (http://trac.sagemath.org/ticket/9386; http://trac.sagemath.org/ticket/10286). Can you try running runsnake with sage-native-execute? Thanks, Jason -- You received this message because you ar

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

2013-10-16 Thread Jason Grout
patches to Sage 5.12 yet. There are patches that are needed for Sage to display graphics. I will probably upgrade to 5.12 sometime in the next week. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from

[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&

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

2013-10-10 Thread Jason Grout
since qepcad just core dumps when I try to run it), but I can execute it as the sage server user just fine. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails

[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 wo

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

2013-10-10 Thread Jason Grout
stalled on the sage cell server. I'm trying to install it now. Jason -- 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 it, send an email to sage-support+unsubscr...

[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 of the

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

2013-10-10 Thread Jason Grout
://sagecell.sagemath.org/?q=iqclvj Thanks for reminding us of this. Jason -- 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 it, send an email to sage-support+unsubscr...@google

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

2013-09-25 Thread Jason Grout
https://sagecell.sagemath.org/static/jquery.min.js"</a>;> <tt>src="<a rel="nofollow" href="https://sagecell.sagemath.org/static/embedded_sagecell.js"">https://sagecell.sagemath.org/static/embedded_sagecell.js"</a>;> sagecell.makeSagecell(

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

2013-09-24 Thread Jason Grout
something like: notebook(reset=True) to reset the admin password. Thanks, Jason -- 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 it, send an email to s

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

2013-09-13 Thread Jason Grout
check out the IPython cluster and distributed computing that they offer. See http://ipython.org/ipython-doc/dev/parallel/. You can run the IPython notebook from within Sage (especially if you apply some patches that will upgrade IPython in sage to 1.0). Thanks, Jason -- You received th

[sage-support] Re: Latex in interact?

2013-09-12 Thread Jason Grout
he result of latex(k). See http://docs.python.org/2/library/stdtypes.html#string-formatting for lots more details) See http://sagecell.sagemath.org/?q=mbcygs for a working example of your interact. Thanks, Jason -- You received this message because you are subscribed to the Google Groups &quo

[sage-support] Re: autoeval in sagecell

2013-09-07 Thread Jason Grout
evaluated. Thanks in advance for any suggestions. It looks like a bug is lurking somewhere. I'll try to look at this soon (hopefully next week). I've filed this at https://github.com/sagemath/sagecell/issues/428 Thanks, Jason -- You received this message because you are subs

[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 subscrib

[sage-support] Re: Using PyCharm with Sage

2013-08-28 Thread Jason Grout
pyQt or pyside not being installed into Sage, but you could install that into Sage, and so on. Anyways, there are some directions to go for someone interested in pushing this forward. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sag

[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: Bug? in n() function for vectors?

2013-08-16 Thread Jason Grout
like the function that needs to be fixed is the very last function in SAGE_ROOT/devel/sage/sage/modules/free_module_element.pyx: https://github.com/sagemath/sage/blob/master/src/sage/modules/free_module_element.pyx#L4503 Thanks, Jason -- You received this message because you are subscribed t

[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 ab

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

2013-08-15 Thread Jason Grout
documentation for lambda functions is here: http://docs.python.org/2/tutorial/controlflow.html#lambda-forms Thanks, Jason -- 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 i

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

2013-08-14 Thread Jason Grout
/ directory. sage -sh -c "pip install -I ipython" Then you can try going into the $SAGE_ROOT/sagecell directory and running sage -sh -c "make -B" again. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support"

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

2013-08-14 Thread Jason Grout
t work with the old instructions, and I haven't had time to update the instructions. You can try using an earlier spkg from the directory, though. On the other hand, if you are working on linux and you are installing into a virtual image on KVM, I'd love help to polish the installation proc

[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 im

[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'

[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 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 on the directory /home/MyHom

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

2013-07-29 Thread Jason Grout
eption for SELinux? I can't imagine why Chrome needs access to ~/.sage. Jason -- 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 it, send an email to sage-support+uns

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

2013-07-27 Thread Jason Grout
tps://cloud.sagemath.com within a month, hopefully. I'm curious: is his code being pushed out somewhere public? Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails

[sage-support] Re: One cell server

2013-07-26 Thread Jason Grout
times) users can make the server crash? I can post the virtual image I use to run sagecell.sagemath.org, if that helps. It is straightforward to install the sage cell server into an existing Sage installation as well. Thanks, Jason -- You received this message because you are subscribed to

[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 ke

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

2013-06-27 Thread Jason Grout
access the note at home without a ssh tunnel. But we would like to restrict the access with a username and a password. Thank for your help, Did you see my answer on ask.sagemath.org? http://ask.sagemath.org/question/2704/secure-notebook-with-htaccess Thanks, Jason -- You received this message

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

2013-06-21 Thread Jason Grout
to typeset something specific Jason -- 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 it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this gro

[sage-support] Re: Sagecell server not working

2013-06-08 Thread Jason Grout
to take one more thing out of the picture * bump up the memory in the config--sometimes it seems too low. Jason -- 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 it, sen

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

2013-05-30 Thread Jason Grout
is that it has to do with what I'm putting for the username in the config.py file.What should I put?I've tried "aaronej@localhost", localhost and simply "" to no success.Leaving it as None does not work either. if 'ssh aaronej@localhost' works from the user you ar

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

2013-05-27 Thread Jason Grout
we can't import it, let the error propagate ImportError: No module named _ssl Install openssl-dev into your operating system---it's looking for the openSSL headers. That may be all that you need to do, or you might need to reinstall python: sage -f python Thanks, Jason -- You rece

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

2013-05-27 Thread Jason Grout
tml correctly, that should set the correct flag when compiling zeromq. Thanks, Jason -- 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 it, send an email to sage-support+unsubs

[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 v

[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:56 PM, Jason Grout wrote: 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 R

[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 ha

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

2013-05-21 Thread Jason Grout
eadme: https://github.com/sagemath/sagecell 1. Make sure you have git; if you're on Ubuntu, you’ll also need the uuid-dev package installed (for ØMQ). Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe

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

2013-05-21 Thread Jason Grout
r the RDF field, which uses some numeric approximation algorithms, may be much faster than computing roots of integral characteristic polynomials. Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from

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

2013-05-20 Thread Jason Grout
y with Sage 5.8, or wait for more helpful replies ... I just updated the sagecell spkg to work with 5.9: http://boxen.math.washington.edu/home/jason/sagecell-spkg/sagecell-2013-05-20.spkg You might need to pop the previous patches applied with your previous attempt (or alternatively, you can d

[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

[sage-support] Re: sage good gui

2013-05-01 Thread Jason Grout
"\,": http://sagecell.sagemath.org/?z=eJxLs9WoiDPSTs4v1qjQ1C7OzANSmnGmvFzFGfnlGml6qRUFiXkpGpqaAAkhDJU=&lang=sage Thanks, 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-04-26 Thread Jason Grout
omeone wants to look into this and submit the code, that would be great. Thanks, Jason -- 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 it, send an email to sage-support+un

[sage-support] Re: sage good gui

2013-04-26 Thread Jason Grout
into lines? The next version of mathjax does line breaking. I don't think we've upgraded yet: http://docs.mathjax.org/en/latest/whats-new-2.0.html#automatic-line-breaking-of-long-displayed-equations Thanks, Jason -- You received this message because you are subscribed to

[sage-support] Re: Memory

2013-04-23 Thread Jason Grout
numpy gs = numpy.asarray(dtype=numpy.int8, a=[ <> ]) (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 gr

[sage-support] Re: Embed Cells

2013-04-19 Thread Jason Grout
linked: true, evalButtonText: 'Evaluate'}); }); def Hola(): print "Hola" Hola() Can you post a complete webpage somewhere with the code you are using? Thanks, Jason -- You received this message because you are subscribed to the Google Groups "sage-s

  1   2   3   4   5   6   7   8   9   10   >