Re: [sage-devel] [ARM] The failed numerical tests only show the tests are bad!

2012-02-06 Thread Julien Puydt
Le Mon, 6 Feb 2012 17:59:57 -0800 (PST), Dima Pasechnik a écrit : > still, might be worth trying (unlike with (e)glibc) Well, after some poking around, it seems it's a mistake to confuse eglibc and glibc, especially when considering upstream friendliness to suggestions/bug reports/patches ; h

Re: [sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-06 Thread Julien Puydt
Le Mon, 6 Feb 2012 15:27:48 -0800 (PST), rjf a écrit : > On Feb 6, 9:00 am, Julien Puydt wrote: > > Still, I'm glad you think the problem is trivial/doesn't exist : > > that means you'll be able to provide a nice patch real soon. > > > > Looking forward for your fix, thanks for your suggestions,

Re: [sage-devel] [ARM] The failed numerical tests only show the tests are bad!

2012-02-06 Thread Dima Pasechnik
On Tuesday, February 7, 2012 7:57:11 AM UTC+8, Jonathan Bober wrote: > > On Mon, Feb 6, 2012 at 3:05 PM, Dr. David Kirkby <> wrote: > >> On 02/ 5/12 10:16 PM, Jonathan Bober wrote: >> >> Never mind all that: the gsl implementation is not very good at all, >>> whereas the libc implementation on m

[sage-devel] Re: Saving GAP objects across sessions

2012-02-06 Thread Dima Pasechnik
A workaround is to use GAP facilities to encode a pc group using a pair of integers. Cutting from the GAP manual on CodePcgs gap> G := SmallGroup( 24, 12 );; gap> p := Pcgs( G );; gap> code := CodePcgs( p ); 5790338948 gap> H := PcGroupCode( code, 24 ); gap> map := GroupHomomorphismByImages( G,

Re: [sage-devel] [ARM] The failed numerical tests only show the tests are bad!

2012-02-06 Thread Jonathan Bober
On Mon, Feb 6, 2012 at 3:05 PM, Dr. David Kirkby wrote: > On 02/ 5/12 10:16 PM, Jonathan Bober wrote: > > Never mind all that: the gsl implementation is not very good at all, >> whereas the libc implementation on my machine seems quite good. Old >> (libc): >> > > If that's the case, why not repor

Re: [sage-devel] use "./configure; make" for Sage?

2012-02-06 Thread Dr. David Kirkby
On 02/ 6/12 09:09 AM, Jeroen Demeyer wrote: On 2012-02-06 09:33, Dr. David Kirkby wrote: I think trying to replicate autotools would be just silly. That's what PARI tried and they are probably the spkg with the *most* patches to the configuration system. More fool them. SCons is another att

[sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-06 Thread rjf
to quote from the Kahan/Darcy paper.. http://www.cs.berkeley.edu/~wkahan/JAVAhurt.pdf Strictly speaking, a number can possess neither precision nor accuracy. A number possesses only its value. Precision attaches to the format into which the number is written or stored or rounded. Better ( higher

[sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-06 Thread rjf
On Feb 6, 9:00 am, Julien Puydt wrote: > ... > 0.0 is a range of numbers, and zero is in that range, and I think they > shouldn't be considered equal. That is your opinion. People have other opinions. Some programming languages implement 0.0 numerically equal to (integer) 0. For example, ANSI

Re: [sage-devel] [ARM] The failed numerical tests only show the tests are bad!

2012-02-06 Thread Dr. David Kirkby
On 02/ 5/12 10:16 PM, Jonathan Bober wrote: Never mind all that: the gsl implementation is not very good at all, whereas the libc implementation on my machine seems quite good. Old (libc): If that's the case, why not report the fact to the appropiate mailing list - bug-gsl at gnu.org? dave

[sage-devel] Re: sage -b compiler/linker flags

2012-02-06 Thread Volker Braun
Cython uses the distutils CFLAGS by default: sage: from distutils import sysconfig sage: sysconfig.get_config_var('CFLAGS') '-fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes' -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this gro

[sage-devel] Re: Programming animation

2012-02-06 Thread kcrisman
On Feb 6, 2:58 pm, Socius wrote: > On 6 Feb, 18:57, LFS wrote: > > > I have to admit that I use GeoGebra for almost everything not 3d. It > > is absolutely fantastic (I do videos on the youtube.com/ > > geogebrachannel and have a wiki and a moodle on ggb.) > > > But sage is great (and I have st

Re: [sage-devel] Re: Unifying Command line options

2012-02-06 Thread David Roe
That SEP suggests adding subcommands similar to what Andrew suggested. But I don't agree with removing sage -t etc because you can get the same functionality with make. David On Mon, Feb 6, 2012 at 05:08, Keshav Kini wrote: > I just found this SEP (Sage Enhancement Proposal), which one might wa

[sage-devel] sage -b compiler/linker flags

2012-02-06 Thread Jeroen Demeyer
Where does "./sage -b" get its compiler/linker executable name and flags from? I'm not talking about module-specific options, but the general ones like "-O2 -g". -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+un

[sage-devel] Re: Should we slowly move the .py files to .pyx files now that we have iterators ?

2012-02-06 Thread Jason Grout
On 2/5/12 1:25 AM, Keshav Kini wrote: I remember being told that [the owner field] is meaningless now and we should CC someone if we want them to see the ticket. Yes, that is pretty much still the situation. Jason -- To post to this group, send an email to sage-devel@googlegroups.com To unsu

[sage-devel] Sage Days 38 in Montreal : First Announcement

2012-02-06 Thread Sébastien Labbé
PLEASE ADVERTISE WHERE APPROPRIATE Prière de diffuser cette information le plus largement possible. L'annonce en français suit l'anglais. Sage Days 38 First Announcement CRM, Montreal, May 7--11, 2012 **

[sage-devel] Re: VirtualBox

2012-02-06 Thread Volker Braun
On Monday, February 6, 2012 3:23:13 AM UTC-8, Emil Widmann wrote: > > > VBscript is an ugly abomination, nobody in his right mind will > voluntarily > > use it. > Lots of people (windows folks) use it even voluntarily They even use Windows voluntarily ;-) My first thought was it might be over

Re: [sage-devel] small MAX_MODULUS in modular matrix charpoly computation

2012-02-06 Thread John Cremona
On 6 February 2012 17:21, John Cremona wrote: > Thanks! > > Barinder has  genuine matrices A, B which give a representation of A_4 > in 26 dimensions over Q(zeta_11), i.e. A^2=I and B^3 = I and some > commutator relation holds.  I was surprised when he told me that > A.eigenspaces_right() had beee

Re: [sage-devel] small MAX_MODULUS in modular matrix charpoly computation

2012-02-06 Thread John Cremona
Thanks! Barinder has genuine matrices A, B which give a representation of A_4 in 26 dimensions over Q(zeta_11), i.e. A^2=I and B^3 = I and some commutator relation holds. I was surprised when he told me that A.eigenspaces_right() had beeen running for 2 days (though it turned out that that A was

Re: [sage-devel] small MAX_MODULUS in modular matrix charpoly computation

2012-02-06 Thread William Stein
On Mon, Feb 6, 2012 at 6:49 AM, John Cremona wrote: > I was trying to find eigenspaces of a 26x26 matrix over Q(zeta_11) > (for a modular forms application) and ran into: Can you make your matrix available, e.g., as an sobj on sage.math (or somewhere) that I can download. It's possible that the r

Re: [sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-06 Thread Julien Puydt
Le Mon, 6 Feb 2012 07:45:49 -0800 (PST), rjf a écrit : > > On Feb 5, 3:02 am, Julien Puydt wrote: > > Le 04/02/2012 23:11, Robert Bradshaw a crit : > > > > . > > > I think cos(0.0) != 1.0 isn't bad, since 0.0 isn't zero anyway, and > > 1.0 isn't one anyway. In fact, I would welcome if using

[sage-devel] Re: [ARM] The failed numerical tests only show the tests are bad!

2012-02-06 Thread rjf
On Feb 5, 3:02 am, Julien Puydt wrote: > Le 04/02/2012 23:11, Robert Bradshaw a crit : > > . > I think cos(0.0) != 1.0 isn't bad, since 0.0 isn't zero anyway, and 1.0 > isn't one anyway. In fact, I would welcome if using strict comparisons > on floats triggered an exception. > > And this mo

[sage-devel] small MAX_MODULUS in modular matrix charpoly computation

2012-02-06 Thread John Cremona
I was trying to find eigenspaces of a 26x26 matrix over Q(zeta_11) (for a modular forms application) and ran into: RuntimeError: we ran out of primes in multimodular charpoly algorithm which on investigation led me to the following lines in sage/ext/multi_modular.pyx: # We use both integer and d

[sage-devel] Re: Saving GAP objects across sessions

2012-02-06 Thread Simon King
Hi Javier, On 6 Feb., 14:34, David Joyner wrote: > There is a way to save the gap workspace. I think it is > explained in the gap interface module somewhere. > That might help. But, as much as I know, one can not save individual GAP objects. Note that in some cases (e.g., Permutation Groups) you

Re: [sage-devel] Saving GAP objects across sessions

2012-02-06 Thread David Joyner
On Mon, Feb 6, 2012 at 7:46 AM, javier wrote: > Hi all, > > is there a way of saving (a list of) GAP objects so that they can be > recovered in a different session? There is a way to save the gap workspace. I think it is explained in the gap interface module somewhere. That might help. > > This

[sage-devel] Re: VirtualBox

2012-02-06 Thread Emil Widmann
> disagrees with the current behavior of > `sage -upgrade`, which tries to merge any committed changes into the > new version you're upgrading to. That doesn't make sense IMO but there > you are. Do avoid another misunderstanding: Of course I don't suggest that sage -upgrade should have a differe

[sage-devel] Re: Unifying Command line options

2012-02-06 Thread Keshav Kini
I just found this SEP (Sage Enhancement Proposal), which one might want to take a look at: http://wiki.sagemath.org/UnifiedCommandLineSEP -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this grou

[sage-devel] Saving GAP objects across sessions

2012-02-06 Thread javier
Hi all, is there a way of saving (a list of) GAP objects so that they can be recovered in a different session? This is a minimal example of what we get right now. In my particular situation, the group(s) are obtained from the Small Group Library (contained in the database-gap optional package) so

Re: [sage-devel] Re: VirtualBox

2012-02-06 Thread Keshav Kini
On Mon, Feb 6, 2012 at 20:03, mmarco wrote: > I have little experience with pyqt, and i am not sure that would be > the way to go. A windows user that would want to use a pyqt program > would need to have installed in his system: python, pyqt and qt. The > offline windows installer of qt is 1.3 gi

Re: [sage-devel] Re: Should we slowly move the .py files to .pyx files now that we have iterators ?

2012-02-06 Thread Dima Pasechnik
On Monday, February 6, 2012 7:22:46 PM UTC+8, Nathann Cohen wrote: > > > Please stop spreading such paranoid rumours. Nathann didn't look at your > > patch, there is nothing to suggest he "refused to" or even that about > you. > Paranoia is a local favourite kind of illness... Sorry. Perhaps e

[sage-devel] Re: VirtualBox

2012-02-06 Thread mmarco
I have little experience with pyqt, and i am not sure that would be the way to go. A windows user that would want to use a pyqt program would need to have installed in his system: python, pyqt and qt. The offline windows installer of qt is 1.3 gigs. That's overkill for a simple gui app. There must

[sage-devel] Re: VirtualBox

2012-02-06 Thread Emil Widmann
> A launcher written in Python could be used on other OS'es, too. good point > VBscript is an ugly abomination, nobody in his right mind will voluntarily > use it. Lots of people (windows folks) use it even voluntarily - I will not speculate on their (or my) state of mind ... >Not to mention that

Re: [sage-devel] Re: Should we slowly move the .py files to .pyx files now that we have iterators ?

2012-02-06 Thread Nathann Cohen
> Please stop spreading such paranoid rumours. Nathann didn't look at your > patch, there is nothing to suggest he "refused to" or even that about you. Ahem. There actually is no patch on the ticket, as Dima waits for me to write it. The point is that I am at Cernay with the combinat team and alr

Re: [sage-devel] Re: VirtualBox

2012-02-06 Thread Keshav Kini
On Mon, Feb 6, 2012 at 17:20, Emil Widmann wrote: > I think the unionfs is a well tested technology now, but a clean > solution would be that in case of such an replacement/upgrade of the > sage squashfs the whole sage directory tree in the save directory is > deleted too - then the user starts wi

[sage-devel] Re: VirtualBox

2012-02-06 Thread Volker Braun
On Monday, February 6, 2012 1:20:13 AM UTC-8, Emil Widmann wrote: > > Why not use VBscript or precompile it? Distribution of binaries on > windows should be no problem. > A launcher written in Python could be used on other OS'es, too. And VBscript is an ugly abomination, nobody in his right min

[sage-devel] Re: VirtualBox

2012-02-06 Thread Emil Widmann
@mmarco >I use unionfs to mix the squashed filesystem with a directory to save >the changes. Maybe that would be a source of errors if somebody makes >changes in his sage directory and then upgrade by replacing the >compressed file. I think the unionfs is a well tested technology now, but a clean s

Re: [sage-devel] use "./configure; make" for Sage?

2012-02-06 Thread Jeroen Demeyer
On 2012-02-06 09:33, Dr. David Kirkby wrote: > I think trying to replicate autotools would be just silly. That's what PARI tried and they are probably the spkg with the *most* patches to the configuration system. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscrib

Re: [sage-devel] use "./configure; make" for Sage?

2012-02-06 Thread Dr. David Kirkby
On 02/ 6/12 08:17 AM, Julien Puydt wrote: Le Mon, 06 Feb 2012 07:58:28 +, "Dr. David Kirkby" a écrit : It must be said, writing configure.ac makefile.am is not the easiest task - the language is not as intuitive as some. But it does work well, if implemented properly. It is indeed not tri

Re: [sage-devel] use "./configure; make" for Sage?

2012-02-06 Thread Jeroen Demeyer
On 2012-02-05 22:23, John H Palmieri wrote: > [ ] Switch to autoconf > [ ] Keep the current build system [X] In theory, autoconf is a good idea. But regarding the build system, I think there are other priorities for the moment. -- To post to this group, send an email to sage-devel@googlegrou

Re: [sage-devel] use "./configure; make" for Sage?

2012-02-06 Thread Julien Puydt
Le Mon, 06 Feb 2012 07:58:28 +, "Dr. David Kirkby" a écrit : > It must be said, writing configure.ac makefile.am is not the easiest > task - the language is not as intuitive as some. But it does work > well, if implemented properly. It is indeed not trivial, but doable, and in any case : (1)

Re: [sage-devel] [ARM] The failed numerical tests only show the tests are bad!

2012-02-06 Thread Julien Puydt
Le Sun, 5 Feb 2012 20:03:48 -0800, Jonathan Bober a écrit : > The source code does say: > >In extensive but non-exhaustive >random tests, this function proved accurate to within <= 10 ulps > across the >entire float domain. Note that accuracy may depend on the quality > of the system

Re: [sage-devel] use "./configure; make" for Sage?

2012-02-06 Thread Burcin Erocal
On Sun, 5 Feb 2012 13:23:19 -0800 (PST) John H Palmieri wrote: > Various aspects of building Sage might be cleaner if we used autoconf: > > ./configure OPTIONS > make > > OPTIONS could include a location to install Sage, various flags for > building ATLAS, and other options which we curre

Re: [sage-devel] use "./configure; make" for Sage?

2012-02-06 Thread Dr. David Kirkby
On 02/ 5/12 09:36 PM, William Stein wrote: An intermediate option might be of interest to people who have actually tried to write build systems using autoconf, a.k.a., "autohell": I think "autohell" happens when you can't be bothered to read the documentation and examples. The syntax is not t