Re: [sage-support] sloane_find in a bad mood ?

2011-11-14 Thread Vincent Knight
Just tried it and I get the same outcome... Vince On 13 November 2011 10:42, Nathann Cohen nathann.co...@gmail.com wrote: Hello everybody !!! I almost never use the sloane_find function, but it seems to be in a very bad mood : sage: sloane_find([1,1,2,3,5,8,13,21]) Searching Sloane's

[sage-support] Re: sloane_find in a bad mood ?

2011-11-14 Thread Keshav Kini
This is #10358. Apparently sage-combinat has been working on it for a while now. -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: Emacs support for visiting spkg files?

2011-11-14 Thread Keshav Kini
Will this work for uncompressed SPKGs too? -Keshav Join us in #sagemath on irc.freenode.net! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at

Re: [sage-support] Re: Why Install?

2011-11-14 Thread Keshav Kini
Maybe a silly question, but is something stopping us from distributing sagenb under the Affero GPL to avoid the situation William pointed out? It's compatible with GPLv3, apparently. -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send email to

[sage-support] Re: Apparent bug with evaluating an indefinite integral

2011-11-14 Thread kcrisman
This is now a Maxima artifact at https://sourceforge.net/tracker/?func=detailaid=3437841group_id=4933atid=104933 and Sage ticket http://trac.sagemath.org/sage_trac/ticket/12030. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: Sage 4.7 on OS X Leopard

2011-11-14 Thread kcrisman
Bill, your expertise would clearly be really helpful on http://trac.sagemath.org/sage_trac/ticket/7344 in that case. This is basically the problem you are having, I think, except not in the binary-building side. There is supposed to be a waiting period for optional spkgs to become standard

[sage-support] Re: Error on variables used by find_fit

2011-11-14 Thread kcrisman
I was trying to reproduce this failure, but I think you may have forgotten to add something. What is V? Thanks - hopefully we can get to the bottom of this. - kcrisman On Nov 13, 6:21 pm, Aran arant...@freenet.de wrote: I'm using sage for data analysis and number crunching in my physical

[sage-support] Can't install experimental packages

2011-11-14 Thread Bill Janssen
I'm using Sage 4.7.2, built from source, on OS X 10.5 Leopard. When I try to list the experimental packages, or install one of them, I get the following traceback: % sage -optional Using SAGE Server http://www.sagemath.org//packages http://www.sagemath.org//packages/optional/list --

[sage-support] Re: Sage 4.7 on OS X Leopard

2011-11-14 Thread Bill Janssen
I see that there is already an experimental skpg for jpeg-6b. Unfortunately, when I install it, it doesn't help with the Image problem. It looks like it doesn't install the library, only the command-line programs. In any case, PIL wouldn't know to use it, since it figures out what it has to work

Re: [sage-support] Re: Sage 4.7 on OS X Leopard

2011-11-14 Thread William Stein
On 11/14/11 9:07 AM, Bill Janssen wrote: I see that there is already an experimental skpg for jpeg-6b. Unfortunately, when I install it, it doesn't help with the Image problem. It looks like it doesn't install the library, only the command-line programs. In any case, PIL wouldn't know to use

Re: [sage-support] Can't install experimental packages

2011-11-14 Thread William Stein
On 11/14/11 9:02 AM, Bill Janssen wrote: I'm using Sage 4.7.2, built from source, on OS X 10.5 Leopard. When I try to list the experimental packages, or install one of them, I get the following traceback: % sage -optional Using SAGE Server http://www.sagemath.org//packages

[sage-support] Re: Sage 4.7 on OS X Leopard

2011-11-14 Thread Bill Janssen
You'll see that I've already made a few comments on the issue. I think what I should do is put together an experimental pil-1.1.7.p0.spkg which implements my approach to the issue. That way you all can take a look at it and see what you think. Because of the DYLD_LIBRARY_PATH issue, the options

[sage-support] Re: Can't install experimental packages

2011-11-14 Thread Bill Janssen
Maybe this is because I built the install under /tmp, then moved it to /local afterwards? More likely, your machine is configured in some way that allows this, and mine is not. On Nov 14, 9:22 am, William Stein wst...@gmail.com wrote: On 11/14/11 9:02 AM, Bill Janssen wrote: I'm using

[sage-support] Re: Can't install experimental packages

2011-11-14 Thread Bill Janssen
% sage -python -c import urllib; print urllib.urlretrieve('http:// www.sagemath.org//packages') Traceback (most recent call last): File string, line 1, in module File /local/sage-4.7.2/local/lib/python/urllib.py, line 94, in urlretrieve return _urlopener.retrieve(url, filename, reporthook,

[sage-support] Bug in the cone display?

2011-11-14 Thread Mel
Hi, When I give the command for sage to plot the following cone, I get a plot of the cone but I also get a bunch of unnecessary dots in 3D space. These dots appear for certain cones that I plot but not others. Am I missing an obvious reason, or is it a bug? Cone([(1,2,0),(0,0,-1)]).plot()

Re: [sage-support] Re: Can't install experimental packages

2011-11-14 Thread William Stein
On 11/14/11 9:29 AM, Bill Janssen wrote: Maybe this is because I built the install under /tmp, then moved it to /local afterwards? More likely, your machine is configured in some way that allows this, and mine is not. % sage -optional Using SAGE Serverhttp://www.sagemath.org//packages

Re: [sage-support] Re: Can't install experimental packages

2011-11-14 Thread John H Palmieri
On Monday, November 14, 2011 10:05:44 AM UTC-8, William wrote: Does the user doing sage -optional have write permission to the directory /local/sage-4.7.2/tmp/ ? I just opened a ticket for this a few days ago: http://trac.sagemath.org/sage_trac/ticket/12018 -- John -- To post to

[sage-support] Re: Can't install experimental packages

2011-11-14 Thread Bill Janssen
This is because I run Privoxy on my machine as an HTTP proxy, *and* specify proxy exceptions. If I turn off the proxying entirely (in System Preferences / Network) things seem to work. So, the code in Sage will work if I say, % sage -python -c import urllib; print

[sage-support] Re: Can't install experimental packages

2011-11-14 Thread Bill Janssen
Yes, the user (me) has write permission. On Nov 14, 10:16 am, John H Palmieri jhpalmier...@gmail.com wrote: On Monday, November 14, 2011 10:05:44 AM UTC-8, William wrote: Does the user doing sage -optional have write permission to the directory /local/sage-4.7.2/tmp/ ? I just opened a

Re: [sage-support] Re: Can't install experimental packages

2011-11-14 Thread William Stein
On 11/14/11 10:18 AM, Bill Janssen wrote: This is because I run Privoxy on my machine as an HTTP proxy, *and* specify proxy exceptions. If I turn off the proxying entirely (in System Preferences / Network) things seem to work. So, the code in Sage will work if I say, % sage -python -c import

[sage-support] Re: Can't install experimental packages

2011-11-14 Thread Bill Janssen
I'd think this issue would affect almost all of the Mac users at PARC, for instance. Many (half?) in my lab use Macs, and all have our corporate proxy set-up which gives us access to things like the ACM Digital Library, etc. Even my Privoxy proxy forwards to our corporate proxy. You might

Re: [sage-support] Re: Emacs support for visiting spkg files?

2011-11-14 Thread Michael Orlitzky
On 11/14/11 08:34, Keshav Kini wrote: Will this work for uncompressed SPKGs too? Not without modification. If you can't rely on the extension to tell you what's in the file, you'll have to use something else. -- To post to this group, send email to sage-support@googlegroups.com To

[sage-support] Re: How to List all available matrix constructors?

2011-11-14 Thread slabbe
any quick tip on How to List all available matrix constructors? Maybe : sage: sage.matrix.constructor.[TAB] Sébastien -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more

[sage-support] Can Sage draw the Batman Equation directly with implicit_plot ?

2011-11-14 Thread slabbe
Hi, A friend of mine wants to draw the Batman Equation using Sage. The equation is defined here [1]. He is able to do it separately but doing it directly in Sage as one equation does not seem to work. Do you know why? Can you help him? [1]

[sage-support] Re: Can't install experimental packages

2011-11-14 Thread Bill Janssen
Thanks for the pointer. Looks like lots of good folk are already working on it. Bill On Nov 14, 10:23 am, William Stein wst...@gmail.com wrote: On 11/14/11 10:18 AM, Bill Janssen wrote: This is because I run Privoxy on my machine as an HTTP proxy, *and* specify proxy exceptions.  If

[sage-support] Sage 4.7.2 graphics_array incorrect plot sizes

2011-11-14 Thread v_2e
Hello! I upgraded Sage to version 4.7.2 a couple of days ago and today I noticed a strange behaviour of graphics_array. It shows only the last element of the array correctly (with a correct size) while all the previous plots are too small. Here is a screenshot of what it looks like:

Re: [sage-support] Sage 4.7.2 graphics_array incorrect plot sizes

2011-11-14 Thread William Stein
On 11/14/11 12:56 PM, v...@ukr.net wrote: Hello! I upgraded Sage to version 4.7.2 a couple of days ago and today I noticed a strange behaviour of graphics_array. It shows only the last element of the array correctly (with a correct size) while all the previous plots are too small. Here

Re: [sage-support] Re: Emacs support for visiting spkg files?

2011-11-14 Thread Justin C. Walker
On Nov 14, 2011, at 11:09 , Michael Orlitzky wrote: On 11/14/11 08:34, Keshav Kini wrote: Will this work for uncompressed SPKGs too? Not without modification. If you can't rely on the extension to tell you what's in the file, you'll have to use something else. Check the source for

[sage-support] Re: Sage 4.7.2 graphics_array incorrect plot sizes

2011-11-14 Thread Jason Grout
On 11/14/11 2:56 PM, William Stein wrote: On 11/14/11 12:56 PM, v...@ukr.net wrote: Hello! I upgraded Sage to version 4.7.2 a couple of days ago and today I noticed a strange behaviour of graphics_array. It shows only the last element of the array correctly (with a correct size) while all the

[sage-support] Re: Can Sage draw the Batman Equation directly with implicit_plot ?

2011-11-14 Thread achrzesz
Workaround: sage: f=[f1,f2,f3,f4,f5,f6] sage: sum([implicit_plot(g,(x,-8,8),(y,-5,5),plot_points=num) for g in f]) (The eq. prod(f)==0 is really complicated) Andrzej Chrzeszczyk -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

Re: [sage-support] Sage 4.7.2 graphics_array incorrect plot sizes

2011-11-14 Thread v_2e
On Mon, 14 Nov 2011 12:56:26 -0800 William Stein wst...@gmail.com wrote: What input did you give to get the output you show in the file above? On Mon, 14 Nov 2011 15:33:50 -0600 Jason Grout jason-s...@creativetrax.com wrote: There were some changes in how aspect ratio and figure sizes are

Re: [sage-support] Re: Emacs support for visiting spkg files?

2011-11-14 Thread Ivan Andrus
On Nov 14, 2011, at 8:09 PM, Michael Orlitzky wrote: On 11/14/11 08:34, Keshav Kini wrote: Will this work for uncompressed SPKGs too? Not without modification. If you can't rely on the extension to tell you what's in the file, you'll have to use something else. Don't tell anyone that I

[sage-support] Re: Sage 4.7.2 graphics_array incorrect plot sizes

2011-11-14 Thread Jason Grout
On 11/14/11 3:51 PM, v...@ukr.net wrote: On Mon, 14 Nov 2011 12:56:26 -0800 William Steinwst...@gmail.com wrote: What input did you give to get the output you show in the file above? On Mon, 14 Nov 2011 15:33:50 -0600 Jason Groutjason-s...@creativetrax.com wrote: There were some changes

[sage-support] Building Sage from source fails on OS X with NFS-mounted home directory

2011-11-14 Thread Bill Janssen
I just tried building Sage from source on a PARC machine. On this machine, my home directory is an NFS-mounted share. The build fails with a shower of messages of this form: Build finished. The built documents can be found in /local/sage-4.7.2/ devel/sage/doc/output/html/en/numerical_sage

[sage-support] Re: Emacs support for visiting spkg files?

2011-11-14 Thread Bill Janssen
I see that in John's formulation, there's also a space for a magic number for the file. Maybe that could be used to switch between bunzip2 and tar, versus just tar. On Nov 12, 6:20 pm, Michael Orlitzky mich...@orlitzky.com wrote: On 11/12/2011 08:47 PM, Bill Janssen wrote: You can visit a

[sage-support] Re: Building Sage from source fails on OS X with NFS-mounted home directory

2011-11-14 Thread Bill Janssen
make test fails as well. This is Sage 4.7.2 on OS X 10.5. Bill On Nov 14, 4:44 pm, Bill Janssen bill.jans...@gmail.com wrote: I just tried building Sage from source on a PARC machine.  On this machine, my home directory is an NFS-mounted share.  The build fails with a shower of messages of

[sage-support] Re: Sage 4.7.2 graphics_array incorrect plot sizes

2011-11-14 Thread Jason Grout
On 11/14/11 5:29 PM, Jason Grout wrote: This is fixed in the patch at trac ticket #11963, which hopefully will be finished and merged before the next release. I think that ticket is now ready for review, so reviewers are welcome! Jason -- To post to this group, send email to

Re: [sage-support] Re: Emacs support for visiting spkg files?

2011-11-14 Thread Ivan Andrus
I thought that was what it did, but just adding the magic number leaves it broken for non-compressed spkg's (I checked). The magic number is only used (as near as I can tell from looking at the emacs source) to decide if the file is already compressed or if it needs to be compressed when it's