Re: [sage-support] Giving Back to the Community

2016-11-27 Thread William Stein
Hi, It would be great if somebody could create some sort of index of such packages, which we could link to (or include) on sagemath.org. This might eventually involve using some sort of tagging (or searching) of https://pypi.python.org/pypi and/or github.For now, this could just be a Github

Re: [sage-support] Re: Plotting 3D polyhedra does not work

2016-10-31 Thread William Stein
For what it is worth, this works fine in SageMathCloud https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2016-10-31-083851%20polyhedron.sagews which you can easily run locally via Docker:

Re: [sage-support] QQbar coercion question

2016-10-22 Thread William Stein
On Sat, Oct 22, 2016 at 6:11 AM, John Cremona wrote: > On 22 October 2016 at 09:37, Ralf Stephan wrote: >> sage: 2*(QQbar(1)) >> 2 >> sage: 2^(QQbar(1)) >> ... >> TypeError: no canonical coercion from Algebraic Field to Rational Field >> >> Why does the

Re: [sage-support] plot3d

2016-10-09 Thread William Stein
On Sun, Oct 9, 2016 at 12:45 PM, raman kurdi wrote: > Hi Sage, > I want to draw the function $y^2+z^2=x^3+ax+b$ by sage. Could you please > help me. > https://cloud.sagemath.com/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/files/support/2016-10-09-175502-3d.sagews >

Re: [sage-support] warning

2016-09-29 Thread William Stein
On Thu, Sep 29, 2016 at 6:30 AM, HG wrote: > Hi, > Started with sage-7.3 I got this waring but I don't know what it means and I > prefer get rid of it... Ho to do that ? > > %matplotlib inline > > %display latex > >

[sage-support] Re: [sage-cloud] Re: How do I load all pages into the preview of my document?

2016-09-27 Thread William Stein
an > email to sage-cloud+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-cloud/0bbdc760-37d7-47c7-8b0b-241a90a48f06%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- Best Regards, Wil

Re: [sage-support] How do I load all pages into the preview of my document?

2016-09-27 Thread William Stein
On Tue, Sep 27, 2016 at 10:15 AM, Bharath Krishnan wrote: > I am unable to load all the pages in my document. I have 6 pages and only > one shows up in the preview. Here is the link to my file. > >

Re: [sage-support] Re: huge virtual memory size when launching 7.3

2016-09-19 Thread William Stein
> > > Anyway, where exactly is this allocation coming from? Is it a default PARI > setting, or does it come from the way that Sage uses PARI? (I mean, to whom > should I address my "hate mail"? :) > I think it is a problem in the way that Sage uses PARI. I just tried "sage -sh" with sage-7.3,

Re: [sage-support] In a SageMathCloud worksheet, how do I save an instance of a user defined class?

2016-09-17 Thread William Stein
> In a SageMathCloud worksheet, how do I save an instance of a user defined class? You should put that code in a .py file and import it (so use the standard Python approach). William On Sat, Sep 17, 2016 at 9:00 PM, Paul Leopardi wrote: > Hello, > When I am using Sage

Re: [sage-support] plotting ln(x) graph on sagemath

2016-09-17 Thread William Stein
On Sat, Sep 17, 2016 at 1:59 PM, Anoz wrote: > I'm trying to plot the graph ln(1+x/1-x) how do I do this on sagemath , I > just need the correct syntax. > plot(log((1+x)/(1-x)), (x, -1,1)) See

[sage-support] Computation has been running for a very long time...

2016-09-12 Thread William Stein
On Monday, September 12, 2016, saad khalid > wrote: > The reason i didn't run it in a terminal is because the terminal would > stop working after 25 hours(I have 25 hours of inactive time) and, while I > know how to keep a

Re: [sage-support] logged out

2016-09-12 Thread William Stein
On Monday, September 12, 2016, Anton Sherwood wrote: > On Monday, September 12, 2016 at 5:59:42 AM UTC, Anton Sherwood wrote: >> >>> Oh heck. I used my local Sage "server" yesterday, and (thinking >>> nothing of it) signed out before shutting it down; and now it wants >>> me to

Re: [sage-support] Sage Crash Report

2016-08-31 Thread William Stein
Hey Harald, How and where exactly did you install sage? On Wednesday, August 31, 2016, Harald Andres Helfgott < harald.helfg...@gmail.com> wrote: > > -- > You received this message because you are subscribed to the Google Groups > "sage-support" group. > To unsubscribe from this group and stop

Re: [sage-support] Re: huge virtual memory size when launching 7.3

2016-08-30 Thread William Stein
On Tue, Aug 30, 2016 at 2:02 PM, Nils Bruin wrote: > On Tuesday, August 30, 2016 at 1:23:47 PM UTC-7, Volker Braun wrote: >> >> >> ulimit -v is useless anyways > > > In my experience it is quite useful on multi-user machines to limit the > effects of runaway computer algebra

Re: [sage-support] huge virtual memory size when launching 7.3

2016-08-30 Thread William Stein
On Tue, Aug 30, 2016 at 9:56 AM, Thierry Dumont wrote: > I have two computers, and sage installed on both: > > 1) Ubuntu 12.04 , sage-7.3 on an nfs mount,y > > 2) Ubuntu 16.04, sage-7.3 on a local system, on a ssd. > > With the first one, sage starts slowly (as could

Re: [sage-support] Re: Using sage for student quizzes

2016-08-24 Thread William Stein
On Wed, Aug 24, 2016 at 3:07 AM, Dima Pasechnik wrote: > Hi Simon, > the question is delicate; I know that in UK there is a number of universities > using SMC for teaching purposes. > As well as in some other countries (William can give details on this, I > suppose);

Re: [sage-support] how to make a toc in sagemath jupyter (link toc)

2016-08-22 Thread William Stein
On Sun, Aug 21, 2016 at 10:31 PM, HG wrote: > Hi, > I don't know how to make a toc of sagemath workshit Can you clarify? (1) I assume you aren't trying to be insulting by saying "workshit". (2) Are you talking about sagemathcloud or sagenb or jupyter? (3) What's an

Re: [sage-support] Lambda functions vs. defining functions

2016-08-10 Thread William Stein
On Wednesday, August 10, 2016, Todd Zimmerman wrote: > I assumed that SageMath converts the functions into symbolic expressions. > If I enter the following it will work: > > > f=lambda x: x*sin(x) > diff(f(x),x) > f is a python function f(x) is a symbolic

Re: [sage-support] Lambda functions vs. defining functions

2016-08-10 Thread William Stein
On Wednesday, August 10, 2016, Todd Zimmerman wrote: > I'm aware of the difference between the two approaches in vanilla Python, > I was just trying to figure out if SageMath treats the two differently. > > No it doesn't. > > You can integrate and differentiate

Re: [sage-support] Lambda functions vs. defining functions

2016-08-10 Thread William Stein
On Wed, Aug 10, 2016 at 7:36 AM, Todd Zimmerman wrote: > Is there any significant difference in SageMath between defining a function > using lambda vs. defining it using 'def ...:'? Both situations result in > functions that can be differentiated, integrated, etc so

Re: [sage-support] Re: Installing the optional python3 package seems to break Sage

2016-08-10 Thread William Stein
I was really surprised when I started Sage that people would often try to **install all optional packages**, then report anything that went wrong.I bet people still try to do this... On Wed, Aug 10, 2016 at 7:09 AM, Dima Pasechnik wrote: > > > On Wednesday, August 10, 2016

Re: [sage-support] Reduction mod p of modular abelian varieties --- any functionality?

2016-06-28 Thread William Stein
On Mon, Jun 27, 2016 at 2:28 PM, Sam Bloom wrote: > Hello, > > I would like to use Sage to study the reduction at a prime of a modular > abelian variety A over a number field (or at least over QQ). By "modular" I > mean either J0(N), for N a positive integer, or the

[sage-support] Re: [sagemath-admins] trac mails are back on

2016-06-23 Thread William Stein
On Thursday, June 23, 2016, Dima Pasechnik wrote: > On Thu, Jun 23, 2016 at 10:22 AM, Erik Bray > wrote: > > On Jun 23, 2016 00:11, "Dima Pasechnik" > wrote: > >> > >> Trac emails should work now (going

Re: [sage-support] What exactly am I getting for my $7 subscription

2016-06-11 Thread William Stein
Please send a link to the project you're having trouble with to h...@sagemath.com. On Saturday, June 11, 2016, Steve <strangerl...@gmail.com> wrote: > On 6/11/2016 8:35 PM, William Stein wrote: > > > > On Saturday, June 11, 2016, Steve <strangerl...@gmail.com >

Re: [sage-support] What exactly am I getting for my $7 subscription

2016-06-11 Thread William Stein
On Saturday, June 11, 2016, Steve wrote: > Hi, > > I kept getting timeouts and disconnects etc and pop ups saying "for a > better experience..." so I signed up for the $7 subscription and applied > upgrades to my current project and now I don't get the pop ups, but I

Re: [sage-support] R and Sage Cells

2016-06-07 Thread William Stein
On Tue, Jun 7, 2016 at 4:36 PM, Thomas Judson wrote: > Does anyone have any experience using R in a Sage cell? The following code > works fine on SMC but not on the Sage cell server. I put in extra effort to make R plotting "just work" in SageMathCloud; I don't think it

Re: [sage-support] 3d graphics

2016-06-07 Thread William Stein
On Tue, Jun 7, 2016 at 4:42 AM, André Rodrigues wrote: > Hello! How do I display the shaft in the traditional way and save the chart > image 3d on sagemathcloud ? > What is "the shaft"? What does "save the chart image" means exactly? > -- > You received this

Re: [sage-support] Re: Possible bug in numerical integration

2016-06-07 Thread William Stein
On Tue, Jun 7, 2016 at 4:12 AM, Ralf Stephan wrote: > In an SMC terminal session: > > ~$ sage > ┌┐ > │ SageMath Version 6.10, Release Date: 2015-12-18│ > │ Enhanced for SageMathCloud.

Re: [sage-support] notebook vs sagemathcloud

2016-06-06 Thread William Stein
On Mon, Jun 6, 2016 at 6:18 AM, Javier Rama Moralez wrote: > I would like to know if there is a way to make sage notebook to color the > functions like sagemathcloud and jupyter. Thanks!!! No. -- William (http://wstein.org) -- You received this message because you are

Re: [sage-support] is it possible for dynamic update the input_box in @interact part?

2016-05-29 Thread William Stein
On Sunday, May 29, 2016, paulmasson wrote: > In Sage 7.2, your example produces an error: > As I said in multiple places in my email: ***this functionality exists only in Sagemathcloud worksheets***. > > NameError: global name 'f' is not defined > > > > On Sunday,

Re: [sage-support] is it possible for dynamic update the input_box in @interact part?

2016-05-29 Thread William Stein
On Sat, May 28, 2016 at 9:48 AM, wrote: > Hello everyone, still new to Sage. followed the pre_tutorials and online > ingteract wiki examples. > > question: > > the code like bellow. given the relationship between V and P is V=P+107, > and two input_box are defined. >

Re: [sage-support] How to run Macaulay2 code through Sage interface

2016-05-27 Thread William Stein
On Fri, May 27, 2016 at 10:20 AM, Christian Stump wrote: > Hi, > > is there a way to achieve the below computation directly in Sage, possibly > using the M2 interface ? YES. print macaulay2.eval(""" loadPackage "Points"; M = matrix{{1,2,3},{4,5,6}}; R =

Re: [sage-support] Plotting in Julia notebook in Cloud.Sagemath.com

2016-05-27 Thread William Stein
On Fri, May 27, 2016 at 6:32 AM, wrote: > Hi, > > apologies if this question is better asked somewhere else, but I'm not > aware of any support mailing list specific to Cloud.Sagemath. > Go to https://cloud.sagemath.com/help and click on the link "support

Re: [sage-support] Re: singular console?

2016-05-26 Thread William Stein
On Thu, May 26, 2016 at 3:32 AM, Volker Braun wrote: > There is no singular_console() in the jupyter notebook, you can't magically > have a repl loop attached to a notebook cell; For starters, where would a > cell start and end? A repl loop isn't implemented anywhere yet

Re: [sage-support] Writing parallel code

2016-05-10 Thread William Stein
On Tue, May 10, 2016 at 7:39 PM, Andrew wrote: > I have access to a centos machine with many cores, so I want to start > writing parallelised code on it. This is probably naive, but is using the > code in sage.parallel the best way to write parallel code in sage? It

Re: [sage-support] Speed comparison to Mathematica

2016-05-03 Thread William Stein
On Tuesday, May 3, 2016, saad khalid wrote: > Thanks everyone for the responses. I guess I didn't know if there would be > a speed difference between Cython and Mathematica the way there's a > difference between C and Java(Even if it's less pronounced). I like the > idea of

Re: [sage-support] Speed comparison to Mathematica

2016-04-30 Thread William Stein
On Fri, Apr 29, 2016 at 11:07 AM, saad khalid wrote: > Hey guys: > > I wasn't sure where to ask this, so I thought I'd put it here. I've got a > fairly long algorithm that I've written in Mathematica. I was wondering, do > you think there would be a speed increase if I were to

Re: [sage-support] Matrix over SR, reduced row echelon form

2016-04-28 Thread William Stein
On Wednesday, April 27, 2016, Jori Mäntysalo wrote: > What is the logic behind this: > > var('a b c d') > M = Matrix(SR, [[a, b], [c, d]]) > M.rref() > > --> > > [1 0] > [0 1] > > ? What's the logic against it? > > -- > Jori Mäntysalo > -- Sent from my massive

Re: [sage-support] Re: bug in numerical evaluation of symbolic expression

2016-04-25 Thread William Stein
On Mon, Apr 25, 2016 at 12:06 PM, Volker Braun wrote: > Presumable its because the RR nan doesn't correctly convert to the SR nan: > > sage: NaN.is_zero() > False > sage: SR(RR('nan')).is_zero() > True Related and confusing/wrong/inconsistent: sage: RR('nan').is_zero()

[sage-support] bug in numerical evaluation of symbolic expression

2016-04-25 Thread William Stein
For a problem set I'm making today, I made up a random symbolic function, then evaluated it and got confusing/inconsistent behavior. See below: ~$ sage-develop ┌┐ │ SageMath version 7.2.beta5, Release Date: 2016-04-21

Re: [sage-support] Magma/Sage possible discrepancy

2016-04-12 Thread William Stein
On Tue, Apr 12, 2016 at 7:23 AM, kcrisman wrote: > See > http://math.stackexchange.com/questions/1738827/different-number-field-discriminants-in-sage-and-magma > It's a weird design decision in Magma that conflicts with Sage and all standard usage by number theorists. It

Re: [sage-support] is_prime() error

2016-04-07 Thread William Stein
On Thursday, April 7, 2016, kcrisman wrote: > >> >> >> >> I think we should change is_prime for rational numbers, since people >> >> get confused by this so much. >> >> >> >> How? Pretty much any change at all would be better than the current >> >> situation. Options I can

Re: [sage-support] Re: is_prime() error

2016-04-05 Thread William Stein
On Tue, Apr 5, 2016 at 12:01 PM, Michael Orlitzky <mich...@orlitzky.com> wrote: > On 04/05/2016 01:03 PM, William Stein wrote: >> >> I think we should change is_prime for rational numbers, since people >> get confused by this so much. >> >> How? Pretty much

Re: [sage-support] Re: is_prime() error

2016-04-05 Thread William Stein
On Tue, Apr 5, 2016 at 9:56 AM, Nils Bruin wrote: > Hi everyone, >> >> I was just doing a routine check for a Chaum-van Antwerpen Signature >> Scheme public parameter set(p=2q+1, p,q both odd primes) and in checking a >> small prime, it told me that it was composite. I'm not sure

Re: [sage-support] spec.an_element()

2016-03-31 Thread William Stein
On Thu, Mar 31, 2016 at 12:31 PM, Justin C. Walker wrote: > Dear Sage Support: > > Just checking, but this seems wrong: > > sage: R12=Integers(12) > sage: Spec12=Spec(R12) > sage: Spec12.an_element() > Point on Spectrum of Ring of integers modulo 12 defined by the Principal >

Re: [sage-support] Re: libgap, simple membership question

2016-03-30 Thread William Stein
On Wed, Mar 30, 2016 at 9:27 AM, Pierre wrote: > >> It also seems that "SymmetricGoup" has its elements live in a pexpect gap, >> not in libgap. It might be attractive to move that too. > > > I was wondering about that: so many sage objects are really GAP objects >

Re: [sage-support] Moore–Penrose pseudoinverse?

2016-03-24 Thread William Stein
On Thu, Mar 24, 2016 at 7:44 AM, Jeroen Demeyer wrote: > Does anybody know of an implementation of the Moore–Penrose pseudoinverse (a > generalised inverse for matrices) in Sage? I couldn't find anything, but > just in case I RTFM badly or it's known under some different

Re: [sage-support] anaconda 2.x or anaconda 3x ?

2016-03-20 Thread William Stein
I don't think there is any relationship or overlap between Anaconda and Sage right now. They are two separate approaches to the problem: "create a self-contained distribution of Python software for math/science." So use Sage next to either version of Anaconda. On Sun, Mar 20, 2016 at 10:37 AM,

Re: [sage-support] Re: %latex and no output

2016-03-10 Thread William Stein
On Thu, Mar 10, 2016 at 7:57 AM, Jori Mäntysalo wrote: > On Thu, 10 Mar 2016, kcrisman wrote: > >>> I found the reason. File permissions. > > >> In your specific case, or in general? If in general, we can open an issue >> to at least keep track of it and suggest

Re: [sage-support] Speed of new_subspace()

2016-03-02 Thread William Stein
On Wed, Mar 2, 2016 at 7:09 AM, Misja wrote: > Dear All, > > I've been having some issues with Sage's new_subspace() function. Mainly, it > seems to be very, very slow. > > For example, in the following example > >

Re: [sage-support] how to get vpython-jupyter working in SMC ?

2016-02-29 Thread William Stein
use vpython : > https://github.com/BruceSherwood/vpython-jupyter.git > and ivisual : > https://github.com/jcoady/IVisual.git > Then the public link should work and show an animation of a wave. > Henri > > > Le 28/02/2016 20:29, William Stein a écrit : >> >> On Sun,

Re: [sage-support] how to get vpython-jupyter working in SMC ?

2016-02-28 Thread William Stein
On Sun, Feb 28, 2016 at 2:17 AM, HG wrote: > Hi, > I have this example I would like to show working in SMC how can I do this > Best regards > Henri > https://cloud.sagemath.com/projects/1e1bd552-1b18-46e2-841c-d4e34d53f383/files/waveivisualmatplotlib.html > What is the

Re: [sage-support] SageMathCloud: init.sage ignored for .sagews files

2016-02-27 Thread William Stein
On Saturday, February 27, 2016, Pierre wrote: > On Wednesday, February 24, 2016 at 6:53:18 PM UTC+1, Volker Braun wrote: >> >> And emacs can edit remote files via ssh using tramp-mode, so you can run >> just run emacs locally: >> >> C-x f ssh://hostname:filename >> >> >

Re: [sage-support] Re: SageMathCloud: init.sage ignored for .sagews files

2016-02-24 Thread William Stein
On Wed, Feb 24, 2016 at 9:02 AM, Pierre wrote: > PS and a lot of keys don't work under emacs, but that's also true with my > local emacs -- all the apple keys create a lot of confusion. But that's not > really an issue normally, since under emacs i move all the keys

Re: [sage-support] Re: Zombie processes when using sage0 interface

2016-02-22 Thread William Stein
On Mon, Feb 22, 2016 at 12:30 PM, Volker Braun wrote: > Every interfaces tries to launch the sage-cleaner. If it is already running, > the newly-forked sage-cleaner quits immediately. But there is nobody reaping > the child, so a zombie remains. > > The standard solutions

Re: [sage-support] Re: Zombie processes when using sage0 interface

2016-02-22 Thread William Stein
On Sun, Feb 21, 2016 at 2:30 AM, Sho Takemori wrote: > I also experienced this. (I use SageMath 7.0 on Ubuntu 15.10) > I guess this is not specific to sage0. The following code will spawn five > zombie processes. > > [a.eval("1") for a in [gp, gap, maxima, sage0, singular]]

Re: [sage-support] SAGE function for calculating mod p reductions of a modular form

2016-02-14 Thread William Stein
On Sun, Feb 14, 2016 at 6:55 AM, Misja wrote: > In Magma there exists a Reductions(f,p) command, which for any modular form > f defined over a number field K and a prime P, outputs all the ''f mod P'' > reductions for primes P of O_K s.t. P|p. I implemented that in Magma.

Re: [sage-support] How to install sagemathcloud on local computer?

2016-02-08 Thread William Stein
re 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...@googlegroups.com. >> > To post to this group, send email t

Re: [sage-support] how to user a external program to plot graphic?

2016-02-06 Thread William Stein
On Saturday, February 6, 2016, kcrisman wrote: > > how to user a external program to plot graphic? ex: gnuplot, xmaxima, >> mgnuplot >> > > > I don't believe Sage includes any of those external plotting programs, > though we have an interface > > > Correct. Gnuplot is not

Re: [sage-support] Re: Using Sage on a Local Web Server

2016-02-04 Thread William Stein
Another example is http://sagecell.sagemath.org/ Make sure you read all of this to understand what's going on: http://sagecell.sagemath.org/static/about.html?v=00b4fd5af6b74dc07adbdb2a0cef On Thu, Feb 4, 2016 at 11:40 AM, Harald Schilly wrote: > The website

Re: [sage-support] Is there a way to have text cells interpreted entirely as LaTeX?

2016-02-01 Thread William Stein
What is a "SageMath notebook" exactly? Include a screen shot. On Monday, February 1, 2016, PerilousGourd wrote: > I tried that, but it ignored it, displaying the text %latex at the top and > continuing to interpret the cell's contents in markdown. I've been adding > it

Re: [sage-support] Is there a way to have text cells interpreted entirely as LaTeX?

2016-02-01 Thread William Stein
On Sun, Jan 31, 2016 at 11:27 PM, PerilousGourd wrote: > Is there a way to make a text cell in a SageMath notebook interpret > everything as a LaTeX editor would, not just single line equations like > markdown and HTML LaTeX integrations ($, $$) allow? E.g. \hrule,

Re: [sage-support] Re: Can I translate file sagews to sws?

2016-01-30 Thread William Stein
I created an issue for this: https://github.com/sagemathinc/smc/issues/401 On Sat, Jan 30, 2016 at 6:23 PM, kcrisman wrote: > > > >> Can I translate file sagews to sws? Wich way? >> I need sometimes to work with workheet without internet connection. > > > I think that only

Re: [sage-support] Re: Sage 7.0 crashes

2016-01-28 Thread William Stein
On Thu, Jan 28, 2016 at 12:20 PM, Juan Luis Varona wrote: >> >> >> run the following commands in the Terminal >> ./sage -i openssl >> ./sage -f python2 >>> >>> > > > Thanks again! I have done it but, later, when using > ./sage --notebook='jupyter' > I get the same error

Re: [sage-support] problem using @interact

2016-01-27 Thread William Stein
On Tue, Jan 26, 2016 at 10:00 AM, peigneux wrote: > I am sorry to disturb with probably an evident problem. > I tested a lot of exemples in sage cloud with @interact to pass parameter > values , but these parameter are local > to the def function which follows

Re: [sage-support] SageTeX and Sage Cloud Error

2016-01-27 Thread William Stein
On Wed, Jan 27, 2016 at 5:09 AM, Ron Bannon wrote: > I have a LaTeX document that is using Sage extensively > (\usepackage{sagetex}), but I am getting an error on Sage Cloud that I > cannot resolve. Here's the error message: > > line 1454 of 2016-01-25-132540.tex Reference

Re: Cliquer (was Re: [sage-support] Re: Sage 7.0 crashes)

2016-01-27 Thread William Stein
On Wed, Jan 27, 2016 at 12:55 AM, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote: > On 2016-01-26 17:08, William Stein wrote: >> >> He said that only dead code in maintenance only mode >> should be added, etc., etc. > > > So we can never add new features to Py

Cliquer (was Re: [sage-support] Re: Sage 7.0 crashes)

2016-01-26 Thread William Stein
On Tue, Jan 26, 2016 at 7:59 AM, Volker Braun wrote: > The cliquer "buildsystem" is a steaming pile of s**t, it clearly should not > be a standard package. For starters, it shouldn't install a .so on darwin... Agreed. In fact, here's a (was private) email I wrote in 2009

Re: [sage-support] compile sage from source to link to existing applications

2016-01-26 Thread William Stein
On Mon, Jan 25, 2016 at 10:13 PM, bernard ck Wong wrote: > Hi, I am wondering if it is possible to compile Sage from source and > configure it in such a way that it will use software that is already > installed in my system instead of building the bundled ones? For

Re: Cliquer (was Re: [sage-support] Re: Sage 7.0 crashes)

2016-01-26 Thread William Stein
On Tue, Jan 26, 2016 at 9:02 AM, Nathann Cohen wrote: >> contributions. E.g., they won't even consider a new component be >> added to Python unless somebody clearly commits to supporting the >> contribution for "five years". And of course the people making that >>

Re: Cliquer (was Re: [sage-support] Re: Sage 7.0 crashes)

2016-01-26 Thread William Stein
On Tue, Jan 26, 2016 at 9:42 AM, Nathann Cohen wrote: >>> Are you one of them? >> >> Rolls eyes... > > I can't help but notice that you say "we" when you say what should be > done, and you say "you" when there is actual work ahead. I am too busy to work on core Sage

Re: Cliquer (was Re: [sage-support] Re: Sage 7.0 crashes)

2016-01-26 Thread William Stein
Cliquer has already been a standard Sage package since at least 2009. > > > > Le 26/01/2016 18:20, William Stein a écrit : >> >> On Tue, Jan 26, 2016 at 9:02 AM, Nathann Cohen <nathann.co...@gmail.com> >> wrote: >>>> >>>> contribu

Re: sage development (was Re: Cliquer (was Re: [sage-support] Re: Sage 7.0 crashes))

2016-01-26 Thread William Stein
On Tue, Jan 26, 2016 at 10:36 AM, Nathann Cohen wrote: >> Nathann: > > William, > > I'm sorry to say that the situation [...] I have over the years seen dozens of incredible Sage developers who could do what we are talking about, but have to instead work fulltime

Re: [sage-support] sagenb /sage -n=jupyter

2016-01-19 Thread William Stein
On Tuesday, January 19, 2016, HG wrote: > I forget... To improve my english : what "arse" mean ? is it "behind" ? > lol > Yes > > And sorry again, I tried it in sagenb ! > But now I am convinced it wouldn't work ! > > > Le lundi 18 janvier 2016 17:40:26 UTC+1, HG a

Re: [sage-support] Documentation for function

2016-01-18 Thread William Stein
On Mon, Jan 18, 2016 at 9:42 AM, saad khalid wrote: > Hello! > > I was having a bit of trouble. I was trying to view the documentation for > the exact_rational() command, however nothing I seemed to do worked. I tried > doing "exact_rational()?", "exact_rational?", etc. How

Re: [sage-support] sagenb /sage -n=jupyter

2016-01-18 Thread William Stein
On Mon, Jan 18, 2016 at 8:40 AM, HG wrote: > Hi, > I can't get no maplotlib graphic inline , is it possible to do it ? > %display latex > %matplotlib inline > import matplotlib.pyplot as plt > import numpy as np > x=np.linspace(-5,5,100) > plt.plot(x,np.sin(x)) # on

Re: [sage-support] Re: Help on coercicion (Sage Crash inside).

2016-01-17 Thread William Stein
Hi, Does anybody understand number field embeddings http://doc.sagemath.org/html/en/reference/number_fields/sage/rings/number_field/number_field_morphisms.html and whether the default I in SR (i.e., NumberField(x^2+1)) is equipped with any embeddings. The above reference manual shows how to

Re: [sage-support] Re: Help on coercicion (Sage Crash inside).

2016-01-17 Thread William Stein
On Sun, Jan 17, 2016 at 1:42 PM, Volker Braun wrote: > AlgebraicField = QQbar is a separate implementation from NumberField. The > number field embeddings refer to the latter only. > I don't understand. The first three examples at

Re: [sage-support] Help on coercicion (Sage Crash inside).

2016-01-17 Thread William Stein
On Sun, Jan 17, 2016 at 9:39 AM, Emmanuel Charpentier wrote: > (Note : Question also asked on ask.sagemath.org, but crossposted because I > found a way to CRASH sage...). > I'm trying to understand coercions, and I'm hitting (repeatedly) something > that I do not

Re: [sage-support] division by zero bug in EllipticCurve rank()

2015-12-27 Thread William Stein
On Sun, Dec 27, 2015 at 12:05 PM, Andrey Novoseltsev wrote: > A report from Lee Morgenstern using SageMathCell running Sage 6.9.beta6, but > the same happens in 6.10: > > the following code produces > NTLError: RR: division by zero This curve has a very large conductor and

Re: [sage-support] For loop difference between sage in the cloud and local instalation

2015-12-26 Thread William Stein
On Saturday, December 26, 2015, Jori Mäntysalo wrote: > On Wed, 23 Dec 2015, Kazimierz Kurz wrote: > > On my own instance of sagemath ( ver. 6.8) there is complete different! >> The same code produces first list of 36 elements of G[k][0],G[k][1] and >> them >> 36 plots. >>

Re: [sage-support] For loop difference between sage in the cloud and local instalation

2015-12-26 Thread William Stein
On Saturday, December 26, 2015, Jori Mäntysalo <jori.mantys...@uta.fi> wrote: > On Sat, 26 Dec 2015, William Stein wrote: > > print "Original:" >> P.show() >> print "Reversed:" >> P.dual().show() >> >

Re: [sage-support] For loop difference between sage in the cloud and local instalation

2015-12-26 Thread William Stein
He's clearly just leaving out some context, which in this case is clear (at least to me and based on the question). On Saturday, December 26, 2015, Volker Braun wrote: > The expected result of your code is "NameError: name 'G' is not defined" > and this is what I get > >

Re: [sage-support] Re: Global variables called in a function

2015-12-21 Thread William Stein
On Monday, December 21, 2015, Carl Eberhart wrote: > I admit I don't understand what is happening in the following snippit: > > def f(): > t=var('t') > t=5 > a=2*t > return a > t=3;t;f();t > 3 > 10 > t > > This was executed in a sagews cell > I think that

Re: [sage-support] Run all cells on a large worksheet?

2015-12-09 Thread William Stein
On Wed, Dec 9, 2015 at 1:35 AM, Paul Leopardi wrote: > I also could not reproduce the problem with the worksheet you gave me. I > have reproduced it with the following worksheet >

Re: [sage-support] Run all cells on a large worksheet?

2015-12-08 Thread William Stein
On Tue, Dec 8, 2015 at 4:05 AM, Paul Leopardi wrote: > I have created a large worksheet at > https://cloud.sagemath.com/projects/3c2a9143-d685-410f-995c-28f44056999f/files/bent-functions-duals-Cayley-graphs.sagews > with a public copy at >

Re: [sage-support] Run all cells on a large worksheet?

2015-12-08 Thread William Stein
On Tue, Dec 8, 2015 at 2:41 PM, William Stein <wst...@gmail.com> wrote: > On Tue, Dec 8, 2015 at 4:05 AM, Paul Leopardi <paul.leopa...@gmail.com> wrote: >> I have created a large worksheet at >> https://cloud.sagemath.com/projects/3c2a9143-d685-410f-995c-28f44056999f

Re: [sage-support] Plotting surfaces with holes ?

2015-12-05 Thread William Stein
On Sat, Dec 5, 2015 at 12:03 PM, Emmanuel Charpentier wrote: > Plot2d() gracefully handles plotting a fnction undefined (in real terms) on > part of the plotting domain. For example : > plot(sqrt(x^2-1),(x,-3/2,3.2)) > displays two half-axes of hyperbole, and waons

Re: [sage-support] Plotting multiple surfaces (multiple-valued functions) ?

2015-12-05 Thread William Stein
On Sat, Dec 5, 2015 at 12:15 PM, Emmanuel Charpentier wrote: > Closely related to this question, I have another : > > plot() seems to have no difficuty in plotting multivalued functions : > def racines(x): > return([-sqrt(x),sqrt(x)]) > plot(racines(x),(x,0,1))

Re: [sage-support] Hide traceback

2015-12-01 Thread William Stein
On Fri, Nov 27, 2015 at 1:39 AM, Pierre wrote: > Hi ! > > Is it possible, in a sage worksheet on SMC, to hide the traceback and just > keep the last line? No, this isn't implemented yet. Here's a ticket: https://github.com/sagemathinc/smc/issues/299 > > I have the

Re: [sage-support] Re: view(g) where g is graph: does not respect colors

2015-12-01 Thread William Stein
On Tue, Dec 1, 2015 at 10:08 AM, John H Palmieri wrote: > On Tuesday, December 1, 2015 at 9:40:18 AM UTC-8, Pedro Cruz wrote: >> >> The following code (sage 6.9): >> >> sage: g = graphs.PetersenGraph() >> sage: g.set_latex_options(vertex_color='green') >> sage: view(g) >>

Re: [sage-support] view(g) where g is graph: does not respect colors

2015-12-01 Thread William Stein
On Tue, Dec 1, 2015 at 9:40 AM, Pedro Cruz wrote: > The following code (sage 6.9): > > sage: g = graphs.PetersenGraph() > sage: g.set_latex_options(vertex_color='green') > sage: view(g) > > > produces a black-and-white graph. > > In SMC produces a graph with blue

Re: [sage-support] Fwd: [sage-release] Bug in limit?

2015-11-23 Thread William Stein
On Mon, Nov 23, 2015 at 12:17 PM, Dima Pasechnik wrote: > > > On Monday, 23 November 2015 19:38:39 UTC, Ondrej Certik wrote: >> >> On Mon, Nov 23, 2015 at 12:20 PM, Dima Pasechnik wrote: >> > >> > >> > On Monday, 23 November 2015 00:43:02 UTC, William wrote:

Re: [sage-support] Sage 6.9 no longer loads packages from /home/me/.local/lib/python2.7/site-packages

2015-11-22 Thread William Stein
On Sunday, November 22, 2015, Mark Bell wrote: > Thank you for tracking this down so quickly and for already submitting a > correction. If I am understanding your response correctly then I think I > need to just hope that trac 14243 is accepted and then wait for the

Re: [sage-support] Fwd: [sage-release] Bug in limit?

2015-11-22 Thread William Stein
This definitely looks like a bug. In the meantime, a workaround is to use sympy: sage: var('m a0') (m, a0) sage: x=2/5*((3/4)^m - 1)*(a0 - 100) + 1/5*(3*(3/4)^m + 2)*a0;x 2/5*((3/4)^m - 1)*(a0 - 100) + 1/5*(3*(3/4)^m + 2)*a0 sage: limit(x, m=oo) [BAD] sage: limit(x, m=oo,

Re: [sage-support] Sage 6.9 no longer loads packages from /home/me/.local/lib/python2.7/site-packages

2015-11-21 Thread William Stein
On Fri, Nov 20, 2015 at 12:44 PM, Mark Bell wrote: > I've just upgraded to Sage 6.9 from 6.8. I have a large number of packages > that I've installed by using: > python setup.py install --user > so they have been placed in

Re: [sage-support] Same Matrix Construction gives two different results

2015-11-08 Thread William Stein
On Sun, Nov 8, 2015 at 9:31 PM, Jori Mäntysalo wrote: > On Sun, 8 Nov 2015, Sihuang Hu wrote: > >> I just used the following commands to construct an matrix: >> >> q = 2 >> r = 2 >> s = 2 >> n = s*(r+1) >> d = 3 >> P = matrix(ZZ, r+2, r+2, lambda u, k: Krawtchouk(r+1, q, k,

Re: [sage-support] Re: Octave and R plots in sagecell

2015-11-07 Thread William Stein
On Sat, Nov 7, 2015 at 4:22 PM, Nils Bruin wrote: > On Friday, November 6, 2015 at 2:59:56 PM UTC-8, Andrey Novoseltsev wrote: >> >> My understanding is that (unlike for R) we do not try to do anything for >> Octave plotting, so everything is "default". Plotting commands in Octave

Re: [sage-support] TAB completion

2015-11-05 Thread William Stein
On Thu, Nov 5, 2015 at 3:29 PM, Justin C. Walker wrote: > Hi, > > In the distant past, I knew how to configure Sage to handle TAB completion > this way: > - one TAB: complete if unique prefix typed; else > - second TAB: list all possible > > I have not been able to determine

Re: [sage-support] Re: Octave and R plots in sagecell

2015-11-05 Thread William Stein
Thanks -- I've made a ticket: https://github.com/sagemathinc/smc/issues/234 Where's a link to exactly your code (so I can add it to the SMC ticket)? On Thu, Nov 5, 2015 at 7:09 PM, kcrisman wrote: > Impressive! > > >> >> SageMathCell now defaults to producing SVG plots

<    1   2   3   4   5   6   7   8   9   10   >