Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0

2015-03-17 Thread Andrew Bernard
$ otool -L local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so: libcsage.dylib (compatibility version 0.0.0, current version 0.0.0) /Users/andro/src/sage-6.5/local/lib/libgmp.16.dylib (compatibility version 17.

Re: [sage-devel] Interfacing Sage with a Java library (or thing)

2015-03-17 Thread William Stein
This hit on Google looks helpful: http://stackoverflow.com/questions/3652554/calling-java-from-python I gave a talk at Boeing back in 2007 about Sage, and they use Java a lot (or so someone told me), so I demoed one of the Python libraries for linking the JVM (Java) with Python there. My expe

[sage-devel] Interfacing Sage with a Java library (or thing)

2015-03-17 Thread kcrisman
Short version: is there a way to get Sage to interface with a *Java* program not via pexpect, but a library interface? (Perhaps Jython?) See http://trac.sagemath.org/ticket/17902 for some background, in particular http://trac.sagemath.org/ticket/17902#comment:7 "I have been reading over Chapt

Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0

2015-03-17 Thread Ben Salisbury
I was just trying to build in the develop branch. I wasn't currently working on any particular patch. -- 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 an email to sage-devel+

Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0

2015-03-17 Thread François Bissey
Which ticket were you working on? You seem to have run "./sage -b" and it rebuilt sage.matrix.matrix_mod2_dense and sage.rings.polynomial.pbori. Francois On 03/18/15 14:24, Ben Salisbury wrote: Sorry about that. Here it is! ~Ben -- You received this message because you are subscribed to the

Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0

2015-03-17 Thread François Bissey
I would rather have logs/pkgs/sage-6.5.log than the full install log. Francois On 03/18/15 14:10, Ben Salisbury wrote: Sorry for the delay; I had retried the install again... with no luck. The install log file was too large to attach. Here is a link: https://drive.google.com/file/d/0B0GKOwX

Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0

2015-03-17 Thread Ben Salisbury
Sorry for the delay; I had retried the install again... with no luck. The install log file was too large to attach. Here is a link: https://drive.google.com/file/d/0B0GKOwXupX1ub3NoMkxPRy1zcDQ/view?usp=sharing The output from the requested commands are $ otool -L local/lib/python2.7/site-pack

Re: [sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0

2015-03-17 Thread François Bissey
We would also need the sage build log. Also I would want the output of otool -L local/lib/python2.7/site-packages/sage/matrix/matrix_mod2_dense.so and nm local/lib/libgd.dylib | grep gdImageCreateFromPng Francois On 03/18/15 12:43, Ben Salisbury wrote: Hi. I am also having the same problem.

[sage-devel] Re: Mac Yosemite build error conway_polynomials-0.4.p0

2015-03-17 Thread Ben Salisbury
Hi. I am also having the same problem. I've attached the requested log file. Please help! On Monday, March 16, 2015 at 9:27:57 AM UTC-7, Volker Braun wrote: > > Need the build log. > > On Monday, March 16, 2015 at 3:52:49 PM UTC+1, Andrew Bernard wrote: >> >> Here is the error: >> >> File "s

Re: [sage-devel] Re: libgap pickling

2015-03-17 Thread Alexander Konovalov
> > > > hum > > gap> PrintString(Group([(1,2),(3,4)])); > "Group( \>[ (1,2), (3,4) ]\<\> )\<" > > What is this bunch of \< and \>? > These are line break hints since PrintString produces a string for printing: http://www.gap-system.org/Manuals/doc/ref/chap27.html#X7B3CC87285DEC23D. String

[sage-devel] Re: libgap pickling

2015-03-17 Thread Alexander Konovalov
This is an example of pickling using three different approaches: as string, using pickling from IO package and using OpenMath package: gap> G:=Group([ [ [ 1, 1 ], [ 0, 1 ] ], [ [ 1, 0 ], [ 1, 1 ] ] ]); Group([ [ [ 1, 1 ], [ 0, 1 ] ], [ [ 1, 0 ], [ 1, 1 ] ] ]) gap> s:=String(G); "Group( [ [ [ 1

Re: [sage-devel] Re: [sage-combinat-devel] Re: Order of Partitions()

2015-03-17 Thread Jeroen Demeyer
I think that for *most* applications the order does not matter, so I would vote on not sorting by default. If you need sorting, just do it yourself (or use IntegerListsLex). -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from thi

[sage-devel] Re: [sage-combinat-devel] Re: Order of Partitions()

2015-03-17 Thread Mike Zabrocki
I agree that this is a decision that would have to weigh between cost in speed and convenience. For small values of n the speedup will be small but that is where order is more useful. For large values of n the order is probably less important. Correct results are clearly the most important c

Re: [sage-devel] Mathematica Bug

2015-03-17 Thread Bruno Grenet
Le 17/03/2015 16:19, Sarfo a écrit : I computed some derivative using three CAS: Sage, Mathematica and Maple. But Mathematica's result was different from the rest. I compared Mathematica's result with the rest and realised, Mathematica's computation was wrong. See attached Pictures I am not here

[sage-devel] Re: We can now have pictures in our documentation

2015-03-17 Thread jplab
This looks very powerful!!! Thank you very much!! I have a few questions (you probably see me coming with these...): - Can this be used to show pdf pictures obtained by (tikz) latex code? - In general, can sage show a pdf picture as a plot option? (Something in the vain of http://www.liafa.un

[sage-devel] Re: [sage-combinat-devel] Re: Order of Partitions()

2015-03-17 Thread Nathann Cohen
Hello, > I think that Partitions should be output in either lex (or possibly reverse > lex) since this order is compatible with dominance order. I only want to bring to your attention that deciding in which order the partitions should be returned is not free in terms of computational time. The c

[sage-devel] Re: [sage-combinat-devel] Re: Order of Partitions()

2015-03-17 Thread Mike Zabrocki
I think that Partitions should be output in either lex (or possibly reverse lex) since this order is compatible with dominance order. One example where this arises is the transition matrix between certain bases factors into an upper and lower triangular matrix when the basis elements are ordere

[sage-devel] Re: libgap pickling

2015-03-17 Thread Volker Braun
Sweet! On Tuesday, March 17, 2015 at 10:29:22 AM UTC+1, Dima Pasechnik wrote: > > By the way, now there is > https://github.com/gap-system/gap > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving

[sage-devel] Re: libgap pickling

2015-03-17 Thread Dima Pasechnik
On Monday, 16 March 2015 19:52:18 UTC, Volker Braun wrote: > > The GAP docs say "in many cases the form shown by Print is GAP readable". > But apparently not all cases > > Sometimes you get just the description of the type of the object, AFAIK. But this should be possible to fix or to workar

Re: [sage-devel] Re: libgap pickling

2015-03-17 Thread Vincent Delecroix
On 17/03/2015, Dima Pasechnik wrote: > > > On Monday, 16 March 2015 14:52:39 UTC, Simon King wrote: >> >> Hi Dima, >> >> On 2015-03-16, Dima Pasechnik > wrote: >> > The usual way to save a particular GAP object is to print it to a >> file... >> > (cf. GAP's PrintTo and AppendTo) >> >> Can these fu

[sage-devel] Re: libgap pickling

2015-03-17 Thread Dima Pasechnik
On Monday, 16 March 2015 14:52:39 UTC, Simon King wrote: > > Hi Dima, > > On 2015-03-16, Dima Pasechnik > wrote: > > The usual way to save a particular GAP object is to print it to a > file... > > (cf. GAP's PrintTo and AppendTo) > > Can these functions be modified so that they do not print