[sage-devel] Re: development of a framework for numeral systems

2011-11-22 Thread Eva
I would say "number system" rather than "numeral system" - that's the term that I've seen in recent literature (see L. Germ\'an and A. Kov \'acs, On Number System Constructions, Acta. Math. Hungar. 115 (2007) 155-167). This would be quite helpful for my research if it could also be extended to: *

[sage-devel] solve_right's behavior on singular matrices

2011-11-22 Thread syd.lavas...@gmail.com
Hi there, I was looking at solve_right. And as much as I understand if the system has infinitely many solutions it just generates a random solution (with free vars = 0). Doesn't it make more sense that it gives back a matrix : [C0 C1 C2 ..] such that X = C0 + C1*t1 + C2*t2 + ... be a solution to t

[sage-devel] Re: torrent question

2011-11-22 Thread Keshav Kini
Transmission ( http://transmissionbt.com/ ) is, I believe, a popular choice these days, since the official BitTorrent client went closed-source a few years back. It can be run as a daemon. I also found a useful-looking thing named PHP-tracker ( http://php-tracker.org/ ). As for actually generat

[sage-devel] Re: tentative PIL-1.1.7.p0.spkg

2011-11-22 Thread John H Palmieri
On Tuesday, November 22, 2011 3:45:28 PM UTC-8, Bill Janssen wrote: > > On Nov 22, 12:53 pm, John H Palmieri wrote: > > So pil-1.1.6.p5 *is* the old one. > > pil-1.1.6.p4 is the old one. > > > Remove the "src" directory from that > > one, replacing it with the new source. Modify any patches as ne

[sage-devel] Re: tentative PIL-1.1.7.p0.spkg

2011-11-22 Thread Bill Janssen
On Nov 22, 12:53 pm, John H Palmieri wrote: > So pil-1.1.6.p5 *is* the old one. pil-1.1.6.p4 is the old one. > Remove the "src" directory from that > one, replacing it with the new source.  Modify any patches as necessary, > along with the spkg-install, spkg-check, and SPKG.txt files, as I said

[sage-devel] Re: Building Sage 4.7.2 on openSUSE 12.1 (64-bit)

2011-11-22 Thread Alexander Dreyer
Hi! > ./ecl_min: error while loading shared libraries: libgmp.so.3: cannot > open shared object file: No such file or directory > > I suspect that the problem is related to the fact, that libgmp.so.3 is > installed in local/lib64 and not local/lib, but have no solution yet. you may that the environ

[sage-devel] Re: failing to build 4.7.2 on osx

2011-11-22 Thread Christian Stump
>   $ hdiutil attach /path/to/sage-...dmg >   $ cd /Volumes/sage-... > > There should be a folder sage there which you can copy to wherever you > want.  Then > >   $ cd /Volumes >   $ hdiutil detach sage- > > to unmount the disk image. Thanks, that worked! -- To post to this group, send an e

[sage-devel] Re: tentative PIL-1.1.7.p0.spkg

2011-11-22 Thread John H Palmieri
On Tuesday, November 22, 2011 12:42:41 PM UTC-8, Bill Janssen wrote: > > > You should build your new spkg by starting with the old one > > Except that the "old one" doesn't exist -- this is pil-1.1.7.p0, not > pil-1.1.6.p5. > > Still not sure how to go about this -- an example (perhaps it's in th

[sage-devel] Re: tentative PIL-1.1.7.p0.spkg

2011-11-22 Thread Bill Janssen
> You should build your new spkg by starting with the old one Except that the "old one" doesn't exist -- this is pil-1.1.7.p0, not pil-1.1.6.p5. Still not sure how to go about this -- an example (perhaps it's in the docs) would be helpful. -- To post to this group, send an email to sage-devel@g

Re: [sage-devel] Maxima vs Ginac numerator semantic

2011-11-22 Thread Florent Hivert
> However, trying to wrap also numer_denom I'm stuck with a Cython/C++ problem: > > In GiNaC.pxi I defined: > > -ctypedef struct GExPair "std::pair" > +ctypedef struct GExPair "std::pair": > +pass > > and > > +GExPair numer_denom() except + > int degree(

[sage-devel] Re: MIME type for .spkg files?

2011-11-22 Thread Bill Janssen
> I'd suggest registering a real MIME type for it, something like > "application/vnd.sagemath-spkg". See http://www.iana.org/cgi-bin/mediatypes.pl. Bill -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr..

Re: [sage-devel] Re: LinBox crash on OpenSolaris with #4260

2011-11-22 Thread Martin Albrecht
On Tuesday 22 November 2011, Volker Braun wrote: > There is a static object that segfaults in its destructor. Unfortunately > the name of the instance is not included in the stack trace, but since it > dies somewhere in iostream code I would guess that it has something to do > with LinBox's Comment

[sage-devel] Re: failing to build 4.7.2 on osx

2011-11-22 Thread John H Palmieri
On Tuesday, November 22, 2011 11:31:29 AM UTC-8, Christian Stump wrote: > > > Building Sage on OS X Lion is not yet supported; nobody has yet built > > one that 100% works and passes all tests, though we're close. Seehttp:// > trac.sagemath.org/sage_trac/ticket/11881 > > I see, thanks for the re

Re: [sage-devel] Re: failing to build 4.7.2 on osx

2011-11-22 Thread William Stein
On Tue, Nov 22, 2011 at 11:31 AM, Christian Stump wrote: >> Building Sage on OS X Lion is not yet supported; nobody has yet built >> one that 100% works and passes all tests, though we're close.   >> Seehttp://trac.sagemath.org/sage_trac/ticket/11881 > > I see, thanks for the reply! > >> Fortunate

[sage-devel] Re: talk on Sage that I gave today

2011-11-22 Thread Bill Janssen
On Nov 22, 9:26 am, Bill Janssen wrote: > Nice graphic in there, William.  Page 8 in the PDF.  Just what I need > for a talk this afternoon.  Is it available as an image somwhere? Ah, got it. Pulled it out of the worksheet. Bill -- To post to this group, send an email to sage-devel@googlegrou

[sage-devel] Re: failing to build 4.7.2 on osx

2011-11-22 Thread Christian Stump
> Building Sage on OS X Lion is not yet supported; nobody has yet built > one that 100% works and passes all tests, though we're close.   > Seehttp://trac.sagemath.org/sage_trac/ticket/11881 I see, thanks for the reply! > Fortunately, a binary built on 10.6 will work on 10.7. if I download built

Re: [sage-devel] Re: failing to build 4.7.2 on osx

2011-11-22 Thread William Stein
On Tue, Nov 22, 2011 at 11:04 AM, Christian Stump wrote: > I really don't know how to get the XCode version in the command line, > but gcc is version 4.2.1 (isn't that part of XCode?). > > Then, Mac OS X Server 10.7.2. Building Sage on OS X Lion is not yet supported; nobody has yet built one that

[sage-devel] Re: failing to build 4.7.2 on osx

2011-11-22 Thread Christian Stump
I really don't know how to get the XCode version in the command line, but gcc is version 4.2.1 (isn't that part of XCode?). Then, Mac OS X Server 10.7.2. When running again, it only broke because of readline-6.1. Its log file is -- pythagore:sage-4.7.2 sage$ cat spkg

Re: [sage-devel] Segfault in DiGraph.automorphism_group

2011-11-22 Thread Nicolas M. Thiery
On Tue, Nov 22, 2011 at 04:57:50PM +0100, Jeroen Demeyer wrote: > You mention it only segfaults when finite_semigroup-nt.patch is applied. > I assume this patch comes from some ticket. So you should complain on > that ticket. The problem was originally discovered with finite-semigroup-nt.patch.

Re: [sage-devel] Maxima vs Ginac numerator semantic

2011-11-22 Thread Florent Hivert
Hi Burcin, On Tue, Nov 22, 2011 at 02:47:18PM +0100, Burcin Erocal wrote: > On Tue, 22 Nov 2011 11:56:51 +0100 > Florent Hivert wrote: > > > > > > > method. Thanks to Cython, this is very easy. However, Maxima and > > > > Ginac have a different semantic for those two functions: > > > > >

Re: [sage-devel] failing to build 4.7.2 on osx

2011-11-22 Thread William Stein
On Tue, Nov 22, 2011 at 9:16 AM, Christian Stump wrote: > Hello -- > > I just tried to build 4.7.2 from scratch on OSX. > > It failed with output > > spkg/logs/boehm_gc-7.1.p7.log:sage: An error occurred while installing > boehm_gc-7.1.p7 > spkg/logs/libgpg_error-1.6.p3.log:sage: An error occurred

Re: [sage-devel] Re: LinBox crash on OpenSolaris with #4260

2011-11-22 Thread William Stein
On Tue, Nov 22, 2011 at 9:47 AM, Volker Braun wrote: > There is a static object that segfaults in its destructor. Unfortunately the > name of the instance is not included in the stack trace, but since it dies > somewhere in iostream code I would guess that it has something to do with > LinBox's Co

[sage-devel] Re: LinBox crash on OpenSolaris with #4260

2011-11-22 Thread Volker Braun
There is a static object that segfaults in its destructor. Unfortunately the name of the instance is not included in the stack trace, but since it dies somewhere in iostream code I would guess that it has something to do with LinBox's Commentator. -- To post to this group, send an email to sag

[sage-devel] Re: tentative PIL-1.1.7.p0.spkg

2011-11-22 Thread Bill Janssen
On Nov 17, 5:07 pm, kcrisman wrote: > On Nov 17, 5:10 pm, Bill Janssen wrote: > > > OK, the libjpeg now builds in place. > > > I see that on my Ubuntu box, the spkg-check file isn't being run > > automatically.  Any ideas as to why that might be? > > Did you set > > SAGE_CHECK=yes > > ?  That is

[sage-devel] Re: tentative PIL-1.1.7.p0.spkg

2011-11-22 Thread Bill Janssen
OK, I'll look at that this long weekend. Bill On Nov 17, 2:07 pm, William Stein wrote: > On Thu, Nov 17, 2011 at 1:49 PM, Bill Janssen wrote: > >> Some issues with this spkg: > > >>  - The mercurial repository is completely missing. > > > Yes, it's not a patch to the Sage sources, so there's no

[sage-devel] Re: MIME type for .spkg files?

2011-11-22 Thread Bill Janssen
The MIME registration is a bit screwed up in this respect. "tar" might be OK as a document format (though I believe no one has registered a MIME type for it), but bzip2 is more of what they think of as a "content-transfer-encoding". I've argued in the past to the IETF that they should define addi

[sage-devel] LinBox crash on OpenSolaris with #4260

2011-11-22 Thread Martin Albrecht
Hi, after I managed to build Sage on Dave's OpenSolaris machine, I managed to reproduce a SIGSEGV that Jeroen reported in #4260. Simply starting and stopping Sage with #4260 gives the following segfault: #0 0xfec9c7fb in _free_unlocked () from /lib/libc.so.1 #1 0xfec9c7af in free () from /lib

[sage-devel] Re: talk on Sage that I gave today

2011-11-22 Thread Bill Janssen
Nice graphic in there, William. Page 8 in the PDF. Just what I need for a talk this afternoon. Is it available as an image somwhere? Thanks. Bill On Nov 20, 12:05 am, William Stein wrote: > On Sat, Nov 19, 2011 at 11:50 PM, Thierry Dumont > > > > > > > > > > wrote: > > Le 20/11/2011 08:48,

[sage-devel] failing to build 4.7.2 on osx

2011-11-22 Thread Christian Stump
Hello -- I just tried to build 4.7.2 from scratch on OSX. It failed with output spkg/logs/boehm_gc-7.1.p7.log:sage: An error occurred while installing boehm_gc-7.1.p7 spkg/logs/libgpg_error-1.6.p3.log:sage: An error occurred while installing libgpg_error-1.6.p3 spkg/logs/readline-6.1.log:sage: A

Re: [sage-devel] Re: sage on hawk

2011-11-22 Thread Martin Albrecht
On Tuesday 22 November 2011, Volker Braun wrote: > Maybe you can tell us which environment variables you have set up? Do you > have something akin to > > LD_LIBRARY_PATH=/usr/local/gcc-4.5.0/lib:/usr/local/gcc-4.5.0/lib/amd64 > > On Tuesday, November 22, 2011 12:08:55 PM UTC, Martin Albrecht wrot

Re: [sage-devel] Segfault in DiGraph.automorphism_group

2011-11-22 Thread Florent Hivert
Hi Jeroen, On Tue, Nov 22, 2011 at 04:57:50PM +0100, Jeroen Demeyer wrote: > On 2011-11-22 15:46, Florent Hivert wrote: > > I don't think I'll have time to investigate this further. Should I open a > > ticket ? > You mention it only segfaults when finite_semigroup-nt.patch is applied. > I a

Re: [sage-devel] Segfault in DiGraph.automorphism_group

2011-11-22 Thread Jeroen Demeyer
On 2011-11-22 15:46, Florent Hivert wrote: > I don't think I'll have time to investigate this further. Should I open a > ticket ? You mention it only segfaults when finite_semigroup-nt.patch is applied. I assume this patch comes from some ticket. So you should complain on that ticket. -- To pos

[sage-devel] Re: Segfault in DiGraph.automorphism_group

2011-11-22 Thread Emil Widmann
On Nov 22, 2:46 pm, Florent Hivert wrote: >       Hi there, > > I want to report a segfault in DiGraph.automorphism_group. > > > On my machine the following code creates a segfault if > > finite_semigroup-nt.patch is applied and works if not. > > >     sage: G = DiGraph() > >     sage: G.add_ver

[sage-devel] Re: Building Sage 4.7.2 on openSUSE 12.1 (64-bit)

2011-11-22 Thread Thomas Hupfer
On 21 Nov., 05:50, caretaker82 wrote: > Hello~ > > I am trying to build the latest sage on the latest version of openSUSE > 12.1 (64-bit), and I have come across another libreadline issue that I > have not been able to solve: > > Error: Readline's build claims to have finished, but files that sh

[sage-devel] Segfault in DiGraph.automorphism_group

2011-11-22 Thread Florent Hivert
Hi there, I want to report a segfault in DiGraph.automorphism_group. > On my machine the following code creates a segfault if > finite_semigroup-nt.patch is applied and works if not. > > sage: G = DiGraph() > sage: G.add_vertices([1, 6, 9]) > sage: G.add_edges([(9, 1, None), (

[sage-devel] Re: torrent question

2011-11-22 Thread Harald Schilly
On Tuesday, November 22, 2011 9:49:54 AM UTC+1, Keshav Kini wrote: > > The good news is that the .torrent file format already supports "web > seeds" (since a few years ago) which as the name suggests allow you to put > an HTTP URI inside the .torrent file as a web-based seed ... > Interesting.

Re: [sage-devel] Maxima vs Ginac numerator semantic

2011-11-22 Thread Burcin Erocal
On Tue, 22 Nov 2011 11:56:51 +0100 Florent Hivert wrote: > > > > method. Thanks to Cython, this is very easy. However, Maxima and > > > Ginac have a different semantic for those two functions: > > > > > > - Maxima: Does not change the expression; if the expression is > > > not a quotient, then

Re: [sage-devel] Maxima vs Ginac numerator semantic

2011-11-22 Thread Florent Hivert
> > method. Thanks to Cython, this is very easy. However, Maxima and > > Ginac have a different semantic for those two functions: > > > > - Maxima: Does not change the expression; if the expression is not a > > quotient, then this will return the expression itself. > > - Ginac: try to norm

Re: [sage-devel] Re: sage on hawk

2011-11-22 Thread Martin Albrecht
On Tuesday 22 November 2011, Volker Braun wrote: > Maybe you can tell us which environment variables you have set up? Do you > have something akin to > > LD_LIBRARY_PATH=/usr/local/gcc-4.5.0/lib:/usr/local/gcc-4.5.0/lib/amd64 Hi, sorry for omitting this earlier, I have: LD_LIBRARY_PATH=/usr/loc

[sage-devel] Re: sage on hawk

2011-11-22 Thread Volker Braun
Maybe you can tell us which environment variables you have set up? Do you have something akin to LD_LIBRARY_PATH=/usr/local/gcc-4.5.0/lib:/usr/local/gcc-4.5.0/lib/amd64 On Tuesday, November 22, 2011 12:08:55 PM UTC, Martin Albrecht wrote: > > I'm trying to build Sage 4.8.2-alpha2 on David Kirkb

[sage-devel] sage on hawk

2011-11-22 Thread Martin Albrecht
Hi, I'm trying to build Sage 4.8.2-alpha2 on David Kirkby's OpenSolaris box (hawk), but it fails at ECL: ld.so.1: ecl_min: fatal: libffi.so.4: open failed: No such file or directory make[3]: *** [bin/ecl] Killed make[3]: Leaving directory `/export/home/martina/sage-4.8.alpha2/spkg/build/ecl-11.

Re: [sage-devel] Symbolic nth_root()

2011-11-22 Thread Burcin Erocal
On Sun, 20 Nov 2011 18:16:18 -0800 William Stein wrote: > On Sun, Nov 20, 2011 at 5:52 AM, Jeroen Demeyer > wrote: > > When searching sage-support, there are several threads about people > > complaining they cannot plot x^(1/3) or similar on the negative axis > > because (-1)^(1/3) is a complex

[sage-devel] Re: development of a framework for numeral systems

2011-11-22 Thread Daniel Krenn
On Nov 21, 2:59 am, William Stein wrote: > Why are you planning to build a framework for "numeral systems" (I'm > not sure what that means, by the way)?   What is the motivation for > _you_ doing this?   I think explaining that would be extremely helpful > in evaluating this proposal. A simple ex

Re: [sage-devel] Re: Groupe d'Utilisateurs de Sage en région parisienne

2011-11-22 Thread Nicolas M. Thiery
On Tue, Nov 22, 2011 at 12:49:04AM -0800, Jean-Pierre Flori wrote: > I'm very interested in such a group/meetings. > In fact we kind of got a similar idea with Luca de Feo at ECC2011, but > it never got further than an informal discussion since then. > So I'd guess he would be also interested. :-)

Re: [sage-devel] Maxima vs Ginac numerator semantic

2011-11-22 Thread Burcin Erocal
Hi Florent, On Tue, 22 Nov 2011 09:04:13 +0100 Florent Hivert wrote: > Follow up from thread "indexed symbolic variables". > > > > > Do we have to call Maxima to compute the numerator of a rational > > > > fraction ? Is seems to me that Pynac/Ginac should be able to do > > > > it by themselves.

[sage-devel] Re: Transitivity of coercions between finite rings

2011-11-22 Thread Moritz Minzlaff
+1 On Nov 22, 9:00 am, Robert Bradshaw wrote: > On Mon, Nov 21, 2011 at 11:36 PM, William Stein wrote: > > On Mon, Nov 21, 2011 at 4:50 PM, David Roe wrote: > >> The coercion graph in Sage is supposed to be transitive.  This > >> assumption is explicit in the documentation of sage.structure.coe

[sage-devel] Re: torrent question

2011-11-22 Thread Keshav Kini
I disagree that metalinks are "better" than torrents. Metalinks may be standardized but bittorrent clients do not care about them and most people don't have a program that can download metalinks (at least in 2011), whereas almost everyone (in my experience) has a bittorrent client. The good new

[sage-devel] Re: Groupe d'Utilisateurs de Sage en région parisienne

2011-11-22 Thread Jean-Pierre Flori
Dear all, I'm very interested in such a group/meetings. In fact we kind of got a similar idea with Luca de Feo at ECC2011, but it never got further than an informal discussion since then. So I'd guess he would be also interested. I used to work at Télécom ParisTech and still have a foot there as

Re: [sage-devel] Groupe d'Utilisateurs de Sage en région parisienne -> sage user group near Paris

2011-11-22 Thread Nicolas M. Thiery
On Mon, Nov 21, 2011 at 08:57:32PM +0100, Julien Puydt wrote: > Here is a rough translation, as asked. I hope that helps, Thanks for the translation :-) Nicolas -- Nicolas M. Thiéry "Isil" http://Nicolas.Thiery.name/ -- To post to this group, send an email to sa

[sage-devel] Maxima vs Ginac numerator semantic

2011-11-22 Thread Florent Hivert
Hi There, Follow up from thread "indexed symbolic variables". > > > Do we have to call Maxima to compute the numerator of a rational > > > fraction ? Is seems to me that Pynac/Ginac should be able to do it by > > > themselves. > > > > > Unfortunately, we still call maxima for a lot of trivi

Re: [sage-devel] Transitivity of coercions between finite rings

2011-11-22 Thread Robert Bradshaw
On Mon, Nov 21, 2011 at 11:36 PM, William Stein wrote: > On Mon, Nov 21, 2011 at 4:50 PM, David Roe wrote: >> The coercion graph in Sage is supposed to be transitive.  This >> assumption is explicit in the documentation of sage.structure.coerce >> for example.  But we have the following: >> >> sa