[sage-combinat-devel] sage.math down?

2013-03-20 Thread Anne Schilling
Hi William, Is http://sage.math.washington.edu/ down? For the past couple of days I tried to download from there and have not been able to connect. Thank you, Anne -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To unsubscribe from this

Re: [sage-combinat-devel] sage.math down?

2013-03-20 Thread Dan Drake
On Wed, 20 Mar 2013 at 08:28AM -0400, Anne Schilling wrote: Is http://sage.math.washington.edu/ down? For the past couple of days I tried to download from there and have not been able to connect. Yes, sage.math is having trouble. See

[sage-combinat-devel] Re: sage.math down?

2013-03-20 Thread Dima Pasechnik
On 2013-03-20, Dan Drake ddr...@pugetsound.edu wrote: --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 20 Mar 2013 at 08:28AM -0400, Anne Schilling wrote: Is http://sage.math.washington.edu/ down?

[sage-devel] Re: sagemath-optional

2013-03-20 Thread Jan Groenewald
Hi Henry, Can you please re-post on sage-devel@googlegroups.com and I will answer there. I did not understand all the questions. It will be good to post the terminal command and all the output and the Ubuntu version and package versions you use. Many thanks. Regards, Jan On 20 March 2013

[sage-devel] Remove unreliable get_memory_usage() test (#14286) needs review

2013-03-20 Thread Jeroen Demeyer
In devel/sage/sage/misc/getusage.py, there is a test sage: t = get_memory_usage() sage: get_memory_usage(t) 0.0 Which tests that the amount of memory used in the second line is the same as the first. However, this is now failing regularly, with small differences in memory usage (both positive

[sage-devel] Re: aims/sagemath path bug

2013-03-20 Thread Jan Groenewald
Hi Christoph, Please post to sage-devel. Line 23 of what? Regards, Jan On 20 March 2013 10:43, Christoph Schumacher christoph.schumac...@web.dewrote: Dear Mr Gronewald, in the package I included with deb http://ppa.launchpad.net/aims/sagemath/ubuntu quantal main the path in the

Re: [sage-devel] Re: A problem with exceptions in cached functions

2013-03-20 Thread Nathann Cohen
Hell ! Sounds good. What if we called this foo.uncached(args) instead (which is more verbose but much clearer, and tab completion shouldn't make that too bad...) I could make cached methods work as well. Do we actually have a use-case? I don't. I'm wary cached functions becaue I

[sage-devel] Re: aims/sagemath path bug

2013-03-20 Thread leif
Jan Groenewald wrote: Hi Christoph, Please post to sage-devel. Line 23 of what? $SAGE_ROOT/sage 18 # Set SAGE_ROOT to the location of the sage install, i.e. the directory 19 # containing this shell script. If unset, we will try to figure it out 20 # automatically. 21

[sage-devel] Re: Remove unreliable get_memory_usage() test (#14286) needs review

2013-03-20 Thread leif
Jeroen Demeyer wrote: In devel/sage/sage/misc/getusage.py, there is a test sage: t = get_memory_usage() sage: get_memory_usage(t) 0.0 Which tests that the amount of memory used in the second line is the same as the first. However, this is now failing regularly, with small differences in memory

[sage-devel] Re: A problem with exceptions in cached functions

2013-03-20 Thread Javier López Peña
On Wednesday, March 20, 2013 5:09:40 AM UTC, Nils Bruin wrote: On Mar 19, 9:10 pm, Robert Bradshaw rober...@math.washington.edu wrote: Sounds good. What if we called this foo.uncached(args) instead (which is more verbose but much clearer, and tab completion shouldn't make that too

[sage-devel] Re: A problem with exceptions in cached functions

2013-03-20 Thread leif
Nathann Cohen wrote: Helloo !!! I think it should be fairly rare that you want to explicitly opt out of caching (so I don't see the problem with calling Thing.my_function.f()). I echo Robert's -1. It's not hard when you know it. And it's not the most user-friendly thing ever either

[sage-devel] Re: register_unpickle_override help requested

2013-03-20 Thread Volker Braun
Unpack the pickle jar (./devel/ext-main/pickle_jar/pickle_jar.tar.bz2) and try to loads('_class__sage_modular_modform_element_ModularFormElement_elliptic_curve__.sobj'). On Wednesday, March 20, 2013 2:44:38 AM UTC+1, Ben Hutz wrote: I had a patch for 5.7 that reorganizes some of the scheme

[sage-devel] Re: register_unpickle_override help requested

2013-03-20 Thread Ben Hutz
Ok, I've tried that and tracked down the problem. Apparently the files I removed from schemes/generic/ are still showing up in /sage-5.8/local/lib/python2.7/site-packages/sage/schemes/generic so it is having conflicting imports for the projective point class. The files were removed with 'hg

[sage-devel] Re: register_unpickle_override help requested

2013-03-20 Thread Volker Braun
Try sage -sync-build Building and testing the Sage library: -b [branch] -- build Sage library. If branch is given, switch to branch in devel/sage-branch and build that branch -sync-build -- delete old code and other files in the Sage library

[sage-devel] [ANN] FLINT developers Workshop 4-12 May

2013-03-20 Thread Bill Hart
Hi all, flint is a library for support of computations in Number Theory, which includes highly optimised C routines for polynomial arithmetic and linear algebra over numerous rings (and some integer arithmetic, primality testing and factorisation). Flint is a component of Sage

[sage-devel] Re: A problem with exceptions in cached functions

2013-03-20 Thread Nils Bruin
On Mar 20, 7:18 am, leif not.rea...@online.de wrote: And calling foo.f() will break if someone decides to no longer cache the function or method, or to rename the attribute. [...]      my_foo=get_uncached_function(foo) I've seen that last argument before and I don't quite understand why

[sage-devel] Re: [ANN] FLINT developers Workshop 4-12 May

2013-03-20 Thread kcrisman
Bill et al., Along these lines, I'm just curious about http://trac.sagemath.org/sage_trac/ticket/12173 upgrading FLINT in Sage... Is enough of zn_poly (in particular, all of it?) to allow us to remove that spkg? Since that code is more or less unmaintained, things like

[sage-devel] Re: register_unpickle_override help requested

2013-03-20 Thread Ben Hutz
ok. Thanks, that was the problem with the files, but I was wrong and that wasn't this issue with the unpickling. However, with information from the explain_pickle() function, I was able to resolve the unpickling issues. On Wednesday, March 20, 2013 11:44:06 AM UTC-4, Volker Braun wrote: Try

[sage-devel] Re: A problem with exceptions in cached functions

2013-03-20 Thread leif
Nils Bruin wrote: On Mar 20, 7:18 am, leif not.rea...@online.de wrote: And calling foo.f() will break if someone decides to no longer cache the function or method, or to rename the attribute. [...] my_foo=get_uncached_function(foo) I've seen that last argument before and I don't quite

[sage-devel] sound in Sage..

2013-03-20 Thread Thierry Dumont
Hi, May be this can look a bit crazy: is somebody interested by introducing sound output in Sage (and other sound tools?). Actually I don't know how to do this, but there are lot of Python tools. I would like to make a course on the FFT with an application to mp3 encoding: build a small mp3

[sage-devel] Re: sound in Sage..

2013-03-20 Thread Jason Grout
On 3/20/13 2:21 PM, Thierry Dumont wrote: Hi, May be this can look a bit crazy: is somebody interested by introducing sound output in Sage (and other sound tools?). Actually I don't know how to do this, but there are lot of Python tools. I would like to make a course on the FFT with an

[sage-devel] Re: sound in Sage..

2013-03-20 Thread kcrisman
On Mar 20, 3:26 pm, Jason Grout jason-s...@creativetrax.com wrote: On 3/20/13 2:21 PM, Thierry Dumont wrote: Hi, May be this can look a bit crazy: is somebody interested by introducing sound output in Sage (and other sound tools?). Actually I don't know how to do this, but there are

[sage-devel] Re: sound in Sage..

2013-03-20 Thread John H Palmieri
On Wednesday, March 20, 2013 12:26:51 PM UTC-7, jason wrote: On 3/20/13 2:21 PM, Thierry Dumont wrote: Hi, May be this can look a bit crazy: is somebody interested by introducing sound output in Sage (and other sound tools?). Actually I don't know how to do this, but there are

Re: [sage-devel] sound in Sage..

2013-03-20 Thread v_2e
Hello! On Wed, 20 Mar 2013 20:21:57 +0100 Thierry Dumont tdum...@math.univ-lyon1.fr wrote: I would like to make a course on the FFT with an application to mp3 encoding: build a small mp3 encoder in Sage; so I need at least to produce sound. This is definitely an interesting idea.

[sage-devel] Bug in basic rational matrix function

2013-03-20 Thread John Cremona
In Sage-5.8, we have a matrix M of rationals: type(M) type 'sage.matrix.matrix_rational_dense.Matrix_rational_dense' M.parent() Full MatrixSpace of 138 by 179 dense matrices over Rational Field but none of M.rank(), M.kernel() or even plain M work, all give the error message IndexError: string

Re: [sage-devel] sound in Sage..

2013-03-20 Thread Thierry Dumont
There is this also: http://nsound.sourceforge.net/users_guide/index.html and many other packages Ok, I'll work on this. t. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send

[sage-devel] Re: sound in Sage..

2013-03-20 Thread leif
Thierry Dumont wrote: Hi, May be this can look a bit crazy: is somebody interested by introducing sound output in Sage (and other sound tools?). Actually I don't know how to do this, but there are lot of Python tools. I would like to make a course on the FFT with an application to mp3

[sage-devel] Re: negative integers have negative bits?

2013-03-20 Thread Dan Drake
It's a bit embarrassing that it took me so long to follow up on this thread with a patch, but now it's spring break and I found the time to do it. Trivial review, anyone? http://trac.sagemath.org/sage_trac/ticket/14322 Dan -- --- Dan Drake - http://math.pugetsound.edu/~ddrake ---

[sage-devel] Re: sound in Sage..

2013-03-20 Thread mmarco
We do have show(), so we could likely have play(), at the very least launching $SAGE_PLAYER (or $SAGE_BROWSER) with a given (audio/video/multimedia) file. That should be done in a way such that, if called from the notebook, the sound is played by the browser. Something like a streaming from

[sage-devel] Re: sound in Sage..

2013-03-20 Thread Simon King
Hi Leif, On 2013-03-20, leif not.rea...@online.de wrote: We do have show(), so we could likely have play(), Why should there be a different command for showing a plot, showing a movie and showing (i.e., showing to the ear) a sound file? Best regards, Simon -- You received this message

[sage-devel] Re: sound in Sage..

2013-03-20 Thread P Purkayastha
On 03/21/2013 06:32 AM, mmarco wrote: We do have show(), so we could likely have play(), at the very least launching $SAGE_PLAYER (or $SAGE_BROWSER) with a given (audio/video/multimedia) file. That should be done in a way such that, if called from the notebook, the sound is played by the

[sage-devel] Re: sound in Sage..

2013-03-20 Thread leif
Simon King wrote: Hi Leif, On 2013-03-20, leif not.rea...@online.de wrote: We do have show(), so we could likely have play(), Why should there be a different command for showing a plot, showing a movie and showing (i.e., showing to the ear) a sound file? Well, you could of course extend

[sage-devel] Re: negative integers have negative bits?

2013-03-20 Thread leif
Jason Grout wrote: On 2/16/13 12:02 AM, David Roe wrote: The two functions are doing something completely different: one is generating a string representation that can be reinput into python, and the other is generating a list of digits (base 2) for further manipulation. I think our current

[sage-devel] Re: sound in Sage..

2013-03-20 Thread John H Palmieri
On Wednesday, March 20, 2013 4:42:52 PM UTC-7, leif wrote: Simon King wrote: Hi Leif, On 2013-03-20, leif not.r...@online.de javascript: wrote: We do have show(), so we could likely have play(), Why should there be a different command for showing a plot, showing a movie

[sage-devel] Re: sound in Sage..

2013-03-20 Thread Nils Bruin
I will soon be giving an informal talk where I need to play some custom synthesized sounds. I ended up using pyalsaaudio (http:// sourceforge.net/projects/pyalsaaudio/files/) to play sounds, which obviously only has a desirable effect if you're running your notebook locally. The standard

[sage-devel] 5.8 fails test of r-2.15.2.p1 on opensuse 12.3

2013-03-20 Thread Ricksme
Following the recommendation within the install.log, I am reporting test failure of package r-2.15.2.p1 during installation from source of sage-5.8 on opensuse 12.3 (x86_64). I have attached the final few lines of the relevant log prior to failure. I hope that this is useful. Rick Smegal -- You

[sage-devel] test failures for 5.9.beta0

2013-03-20 Thread Stephen Montgomery-Smith
This is under FreeBSD. (There are other failures, but so far they are all legitimate floating point disagreements, or similar to the ones I report here.) 1. I notice that many tests (like sage -t devel/sage/sage/rings/arith.py) are run three times. 2. I get some strange errors like sage -t

[sage-devel] Re: Bug in basic rational matrix function

2013-03-20 Thread Dima Pasechnik
On 2013-03-20, John Cremona john.crem...@gmail.com wrote: In Sage-5.8, we have a matrix M of rationals: type(M) type 'sage.matrix.matrix_rational_dense.Matrix_rational_dense' M.parent() Full MatrixSpace of 138 by 179 dense matrices over Rational Field but none of M.rank(), M.kernel() or