[sage-devel] Re: gap vs guava - why was it merged?

2010-01-26 Thread Dima Pasechnik
Jan 2010 01:23:10 -0800 (PST), Dima Pasechnik dimp...@gmail.com wrote: it does not help: indeed, I do not see how e.g. the following: --- a/sage/groups/class_function.py     Wed Jan 20 15:09:32 2010 -0800 +++ b/sage/groups/class_function.py     Tue Jan 26 09:10:38 2010 +1100 @@ -284,7

[sage-devel] Re: gap vs guava - why was it merged?

2010-01-26 Thread Dima Pasechnik
--- NameError Traceback (most recent call last) /usr/local/src/sage/sage-4.3.1/ipython console in module() NameError: name 'zeta8' is not defined any ideas? Dima On Jan 26, 6:58 pm, Alex Ghitza aghi...@gmail.com wrote: On Tue, 26 Jan 2010 02:42:14 -0800 (PST), Dima

[sage-devel] Re: gap vs guava - why was it merged?

2010-01-26 Thread Dima Pasechnik
-0800 (PST), Dima Pasechnik dimp...@gmail.com wrote: yes, this works for numerical lists, but not for e.g. [[1, 1, 1, 1, 1, 1, 1, 1], [1, 1, 1, 1, 1, -1, -1, -1], [2, -1, 2, -1, 2, 0, 0, 0], [2, 1, -2, -1, 0, -zeta8^3 - zeta8, zeta8^3 + zeta8, 0], [2, 1, -2, -1, 0, zeta8^3 + zeta8, -zeta8

[sage-devel] gap-4.4.12.p2.spkg - testers needed

2010-01-26 Thread Dima Pasechnik
I have created the next version of gap-4.4.12 spkg, see http://trac.sagemath.org/sage_trac/ticket/8076 for details and download location(s). In particular, testers with access to working ia64 (Linux Itanium) installations of Sage are needed! Thanks, Dima -- To post to this group, send an email

[sage-devel] Re: python sage : new cvxopt package planned ?

2010-01-26 Thread Dima Pasechnik
good that I saw this thread, as I was planning to create a cvxopt-1.1.2 spkg (I need it for my work...) So, can this spkg be made official ? Thanks, Dima On Jan 26, 7:35 am, William Stein wst...@gmail.com wrote: On Mon, Jan 25, 2010 at 3:33 PM, Harald Schilly harald.schi...@gmail.com wrote:

[sage-devel] Re: gap vs guava - why was it merged?

2010-01-26 Thread Dima Pasechnik
David, GAP does not fix an ordering of the conj. classes, or an ordering of the irreducibles. They depend upon the way the group comes in, and as conj. classes and irreds are often computed by randomised procedures, it's very hard to predict them. (and not fun to deal with issues that somtimes

[sage-devel] Re: gap vs guava - why was it merged?

2010-01-26 Thread Dima Pasechnik
the same sequence--- not good, as you can imagine. On Jan 26, 10:53 pm, David Joyner wdjoy...@gmail.com wrote: On Tue, Jan 26, 2010 at 8:01 AM, Dima Pasechnik dimp...@gmail.com wrote: David, GAP does not fix an ordering of the conj. classes, or an ordering of the irreducibles. They depend

[sage-devel] Re: python sage : new cvxopt package planned ?

2010-01-26 Thread Dima Pasechnik
linux. Therefore there is still a lot to do to get this running everywhere! greez harald On Jan 26, 1:47 pm, Dima Pasechnik dimp...@gmail.com wrote: good that I saw this thread, as I was planning to create a cvxopt-1.1.2 spkg (I need it for my work...) So, can this spkg be made

[sage-devel] Re: comparison of elements of number fields

2010-01-28 Thread Dima Pasechnik
IMHO coercing (details to be worked out, I guess, otherwise we might have precision losses...) into complex numbers x+iy, and then compare lexicographically, 1st the real parts, and then the imaginary parts (to make this consistent with the event we compare reals!), is the only meaningful way to

[sage-devel] Re: OT: CPLEX anyone?

2010-01-28 Thread Dima Pasechnik
cvxopt (a Sage package) has a MOSEK interface. (to bring this thread back into Sage realm :)) On Jan 29, 3:22 am, dahl.joac...@gmail.com dahl.joac...@gmail.com wrote: MOSEK provides state-of-the-art commercial LP and SOCP solvers as well as MIP solvers.  They have a python interface and their

[sage-devel] docstrings test failures for randomised computations

2010-01-28 Thread Dima Pasechnik
as discussed recently here in connection with GAP interface, the following looks like an obvious deficiency of docstrings testing: a computation returns a list in some unpredictable order, and docstrings are in another order, even though the corresponding sets are the same. Just sorting the list

[sage-devel] Re: Question about set() in Python on different platforms

2010-01-29 Thread Dima Pasechnik
it shows, by the way, that idea to use set() (or Set()) to remedy differences in docstrings with the output of randomised procedures, discussed here: http://groups.google.com/group/sage-devel/browse_thread/thread/1f688f25bdd5dab2 does not really fly. On Jan 30, 10:38 am, kcrisman

[sage-devel] Re: docstrings test failures for randomised computations

2010-01-29 Thread Dima Pasechnik
the order of conj. classes etc is a priori not known) Dima On Jan 29, 2:09 pm, William Stein wst...@gmail.com wrote: On Thu, Jan 28, 2010 at 10:06 PM, John H Palmieri jhpalmier...@gmail.com wrote: On Jan 28, 9:59 pm, Dima Pasechnik dimp...@gmail.com wrote: as discussed recently here

[sage-devel] Re: Sage 4.3.2.alpha1 released

2010-02-01 Thread Dima Pasechnik
about upgrading (a newbie question) Against what release this upgrade is made? Can I do ./sage -upgrade http://... where ./sage is the stable 4.3.1? Thanks, Dima On Feb 1, 5:44 pm, Minh Nguyen nguyenmi...@gmail.com wrote: Hi Alex, On Mon, Feb 1, 2010 at 8:23 PM, Alex Ghitza aghi...@gmail.com

[sage-devel] few wrong file permissions in lie-2.2.2.p3.spkg

2010-02-01 Thread Dima Pasechnik
some file permissions are wrong (600 or 700) in 4.3.1, namely src/README src/box/ (so they become unreadable to the world when the thing is installed as root) Best, Dima -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: Does gcc 4.4.3 present problems building Sage ?

2010-02-02 Thread Dima Pasechnik
I am trying to build Sage 4.3.2.alpha1 on ia64 (Redhat) using gcc-4.4.3, and the building of NTL fails. [d...@cleo standard]$ gcc -v Using built-in specs. Target: ia64-unknown-linux-gnu Configured with: /usr/local/gcc-4.4.3/src/gcc-4.4.3/configure --enable- languages=c,c++,fortran --with-gnu-as

[sage-devel] docsrings nuked by legend.labelsep is deprecated. Update your matplotlibrc to use legend.labelspacing instead. ..

2010-02-02 Thread Dima Pasechnik
when doing (for 4.3.2.alpha1) ./sage -t -long devel/sage/sage/groups/ I get lots of messages like doctest:681: UserWarning: legend.labelsep is deprecated. Update your matplotlibrc to use legend.labelspacing instead. ... they arise in sage/groups/group.pyx

[sage-devel] Re: docsrings nuked by legend.labelsep is deprecated. Update your matplotlibrc to use legend.labelspacing instead. ..

2010-02-02 Thread Dima Pasechnik
this is on boxen.math.washington.edu with default settings (gcc version 4.2.4, etc) On Feb 2, 4:40 pm, Dima Pasechnik dimp...@gmail.com wrote: when doing (for 4.3.2.alpha1) ./sage -t -long devel/sage/sage/groups/ I get lots of messages like doctest:681: UserWarning: legend.labelsep

[sage-devel] Re: gap-4.4.12.p2.spkg - testers needed

2010-02-02 Thread Dima Pasechnik
please also see http://trac.sagemath.org/sage_trac/ticket/8150 for the docstring patches On Jan 26, 7:59 pm, Dima Pasechnik dimp...@gmail.com wrote: I have created the next version of gap-4.4.12spkg, seehttp://trac.sagemath.org/sage_trac/ticket/8076 for details and download location(s

[sage-devel] Re: few wrong file permissions in lie-2.2.2.p3.spkg

2010-02-02 Thread Dima Pasechnik
done On Feb 2, 1:09 am, Minh Nguyen nguyenmi...@gmail.com wrote: Hi Dima, On Tue, Feb 2, 2010 at 1:46 AM, Dima Pasechnik dimp...@gmail.com wrote: some file permissions are  wrong (600 or 700) in 4.3.1, Could you please open a ticket for this issue with the optional lie package? Things

[sage-devel] Re: docsrings nuked by legend.labelsep is deprecated. Update your matplotlibrc to use legend.labelspacing instead. ..

2010-02-02 Thread Dima Pasechnik
there is SAGEROOT/local/lib/python2.6/site-packages/matplotlib/mpl-data/ matplotlibrc but legend.labelsep is commented out in that file. So I am lost. On Feb 2, 4:40 pm, Dima Pasechnik dimp...@gmail.com wrote: when doing (for 4.3.2.alpha1) ./sage -t -long devel/sage/sage/groups/ I get lots

[sage-devel] Re: docstrings test failures for randomised computations

2010-02-02 Thread Dima Pasechnik
On Jan 31, 1:15 pm, William Stein wst...@gmail.com wrote: On Sat, Jan 30, 2010 at 9:10 PM, Dima Pasechnik dimp...@gmail.com wrote: On Jan 30, 1:46 pm, Robert Bradshaw rober...@math.washington.edu wrote: On Jan 29, 2010, at 9:27 PM, Dima Pasechnik wrote: William, I think TESTS

[sage-devel] Re: docstrings test failures for randomised computations

2010-02-02 Thread Dima Pasechnik
. On Feb 2, 1:07 pm, Dima Pasechnik dimp...@gmail.com wrote: well, I just test what is in EXAMPLES in TESTS (as string comparison fails here, I have to write a bit of code to test properly) It's a bit ugly, but it's a limitation of docstinsg that is impossible to overcome. (Please seehttp

[sage-devel] Re: docstrings test failures for randomised computations

2010-02-02 Thread Dima Pasechnik
in G.irreducible_characters()]) == expected True On Feb 2, 2:25 pm, Dima Pasechnik dimp...@gmail.com wrote: On Feb 2, 8:54 pm, YannLC yannlaiglecha...@gmail.com wrote: Unfortunately for irreducible characters (see  groups/ class_function.py patch) reduce seems to be the only way so far

[sage-devel] Re: docstrings test failures for randomised computations

2010-02-02 Thread Dima Pasechnik
it! On Feb 2, 3:50 pm, Dima Pasechnik dimp...@gmail.com wrote: G.irreducible_characters() is a list of lists, not a list of tuples, so one cannot just take set() of them. On Feb 2, 10:01 pm, YannLC yannlaiglecha...@gmail.com wrote: Maybe just using sets: sage: G = GL(2,3

[sage-devel] Re: docsrings nuked by legend.labelsep is deprecated. Update your matplotlibrc to use legend.labelspacing instead. ..

2010-02-02 Thread Dima Pasechnik
Thanks. The offending file matplotlibrc was actually in SAGEROOT/ I probably did something non-kosher when I updated 4.3.1... Dmitrii On Feb 2, 11:23 pm, Jason Grout jason-s...@creativetrax.com wrote: On 02/02/2010 02:42 AM, Dima Pasechnik wrote: there is SAGEROOT/local/lib/python2.6/site

[sage-devel] sage-4.3.2.alpha1: building problem on Linux ia64 (divsi3 can't be found?)

2010-02-02 Thread Dima Pasechnik
Obtained this trying to build from source on one of Skynet machines: d...@iras:~/sage-4.3.2.alpha1 uname -a Linux iras 2.6.16.46-0.12-default #1 SMP Thu May 17 14:00:09 UTC 2007 ia64 ia64 ia64 GNU/Linux with gcc version 4.1.2 20070115 (prerelease) (SUSE Linux) here is the relevant portion of

[sage-devel] abs() for (very) long integers?

2010-02-02 Thread Dima Pasechnik
... sage: abs(M.determinant()) Expected: 712483534798848 Got: 7.12483534798848e14 I can use an if to fix the sign, but them I am afraid I miss some obvious better way... Thanks, Dima -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this

[sage-devel] Re: abs() for (very) long integers?

2010-02-02 Thread Dima Pasechnik
do abs (-712483534798848) at the sage prompt, I don't get 7.12483534798848e14, I get 712483534798848, and this is mighty annoying... Dima On Feb 3, 10:32 am, David Joyner wdjoy...@gmail.com wrote: On Tue, Feb 2, 2010 at 9:26 PM, Dima Pasechnik dimp...@gmail.com wrote: ...    sage: abs

[sage-devel] Re: abs() for (very) long integers?

2010-02-02 Thread Dima Pasechnik
. (sorry, I tried to make a short test to show this, but I can't: there might be some imports involved that might affect this...) Dima On Feb 3, 10:43 am, Robert Bradshaw rober...@math.washington.edu wrote: On Feb 2, 2010, at 6:32 PM, David Joyner wrote: On Tue, Feb 2, 2010 at 9:26 PM, Dima

[sage-devel] Re: abs() for (very) long integers?

2010-02-02 Thread Dima Pasechnik
it looks OK just to coerse to integer and then do the python's abs: ZZ(d).abs() By the way, the determinant of a character table is either in Z or in sqrt(-1)Z DIma On Feb 3, 12:34 pm, Nick Alexander ncalexan...@gmail.com wrote: sage: d = M.determinant() sage: d.norm().abs()       # take

[sage-devel] Re: abs() for (very) long integers?

2010-02-02 Thread Dima Pasechnik
By the way, the determinant of a character table is either in Z or in sqrt(-1)Z oops, I meant to say that the square of the determinant of a character table is a positive integer (namely, the sum of the orders of the centralisers of representatives of conjugacy classes) Dima -- To post to

[sage-devel] newbie: how to update a patch

2010-02-03 Thread Dima Pasechnik
I need to issue updates to the patch on a trac ticket I issued. What is the correct mode of operation: open a new ticket referring to this one? --- clear how to proceed make a new patch replacing the present one? --- I have trouble understanding how to do this in mercurial. Do I backout my

[sage-devel] Skynet's Sun and ia64 machines - can any of these compile 4.3.2.alpha1?

2010-02-03 Thread Dima Pasechnik
These are the only Sun and ia64 machines I have reliable access to. Can anyone build 4.3.2.alpha1 there? And if yes, where and how? (I spent some time trying, without success...) I'd like to test my patches, in particular on ia64 Thanks, Dima -- To post to this group, send an email to

[sage-devel] Re: Skynet's Sun and ia64 machines - can any of these compile 4.3.2.alpha1?

2010-02-03 Thread Dima Pasechnik
a day or so ago I posted here on sage-4.3.2.alpha1: building problem on Linux ia64 (divsi3 can't be found?) On Feb 4, 10:38 am, Minh Nguyen nguyenmi...@gmail.com wrote: Hi Dima, On Thu, Feb 4, 2010 at 1:33 PM, Dima Pasechnik dimp...@gmail.com wrote: These are the only Sun and ia64 machines

[sage-devel] Re: Skynet's Sun and ia64 machines - can any of these compile 4.3.2.alpha1?

2010-02-03 Thread Dima Pasechnik
William, can I steal/clone your Sage installation there? Thanks! On Feb 4, 10:52 am, William Stein wst...@gmail.com wrote: 2010/2/3 Minh Nguyen nguyenmi...@gmail.com: Hi Dima, On Thu, Feb 4, 2010 at 1:33 PM, Dima Pasechnik dimp...@gmail.com wrote: These are the only Sun and ia64 machines

[sage-devel] Re: newbie: how to update a patch

2010-02-04 Thread Dima Pasechnik
Mercurial queues are great, as I am just beginning to see. Thanks for sharing. Dmitrii On Feb 4, 3:03 am, bump b...@match.stanford.edu wrote: make a new patch replacing the present one? --- I have trouble understanding how to do this in mercurial.     Do I backout my previous patch and

[sage-devel] cholmod.so: undefined symbol: _g95_filename (or gfortran_st_write_done) in cvxopt

2010-02-04 Thread Dima Pasechnik
While trying to upgrade the cvxopt package for Sage to version 1.1.2 of cvxopt, one encounters a build problem; more precisely, it's a runtime error that comes from the dynamic library cholmod.so missing a symbol. I gather it had to be linked with against an appropriate Fortran library

[sage-devel] more sage wrappers for cvxopt?

2010-02-06 Thread Dima Pasechnik
I am planning to write a few, in particular as I need to call cvxopt's semi-definite programming solver. Perhaps such things actually already exist (unreleased/work in progress?), only I am not aware of this? Thanks, Dima -- To post to this group, send an email to sage-devel@googlegroups.com To

[sage-devel] Re: more sage wrappers for cvxopt?

2010-02-06 Thread Dima Pasechnik
IMHO cvxmod should not be bundled into cvxopt – it's an optional interface. What I meant, are straightforward wrappers, as the one that is used for linear programming in sage/numerical/optimize.py Dmitrii On Feb 7, 1:46 am, Harald Schilly harald.schi...@gmail.com wrote: On Feb 6, 1:39 pm, Dima

[sage-devel] Re: Segfault: Polynomials over RealField

2010-02-07 Thread Dima Pasechnik
On Feb 7, 6:59 pm, Florent Hivert florent.hiv...@univ-rouen.fr wrote:    Hi On Sun, Feb 07, 2010 at 02:49:53AM -0800, Kiran Kedlaya wrote: The following input segfaults sage 4.3.2 on sage.math, as well as sage 4.3 on various other machines. P.x = PolynomialRing(RealField()) print

[sage-devel] Re: Segfault: Polynomials over RealField

2010-02-07 Thread Dima Pasechnik
even better: sage: P.x = PolynomialRing(RealField()) sage: P(0)*P(0)+P(0) Program received signal SIGSEGV, Segmentation fault. On Feb 7, 10:10 pm, Dima Pasechnik dimp...@gmail.com wrote: On Feb 7, 6:59 pm, Florent Hivert florent.hiv...@univ-rouen.fr wrote:    Hi On Sun, Feb 07, 2010

[sage-devel] Re: Segfault: Polynomials over RealField

2010-02-07 Thread Dima Pasechnik
The bug is in multiplication algorithm: in sage/rings/polynomial/polynomial_real_mpfr_dense.pyx in function that does ring multiplication: cpdef RingElement _mul_(left, RingElement _right): there is line 431: cdef PolynomialRealDense f = left._new(left._degree + right._degree) that is creates a

[sage-devel] Re: c++ question related to porting sage to Open Solaris

2010-02-07 Thread Dima Pasechnik
http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6395191 It's a bug, known for 4 years, and nobody is fixing it, it seems... On Feb 8, 12:49 am, Jaap Spies j.sp...@hccnet.nl wrote: David Kirkby wrote: On 1 February 2010 19:29, Jaap Spiesj.sp...@hccnet.nl  wrote: Jaap Spies wrote:

[sage-devel] Re: bug in sqrt() for QQbar elements

2010-02-08 Thread Dima Pasechnik
On Feb 8, 9:27 pm, John Cremona john.crem...@gmail.com wrote: In 3.4.2 I get this: sage: x = polygen(QQbar) sage: f = 3*x^4 - 4*x^3 - 1046148*x^2 - 335575956*x - 30288853512 sage: rts = f.roots(multiplicities=False) sage: [r.sqrt() for r in rts]

[sage-devel] Re: bug in sqrt() for QQbar elements

2010-02-08 Thread Dima Pasechnik
IHMO it's just the usual fp hell: data gets moved from registers into memory and back, etc (but maybe I am wrong here, don't know) Anyway, there is a way to avoid taking sqrt at all, just solve the equation f(x^2)=0, not f(x)=0. Dmitrii On Feb 8, 11:26 pm, YannLC yannlaiglecha...@gmail.com

[sage-devel] sage -f foo.spkg should do sage -b, shouldn't it?

2010-02-10 Thread Dima Pasechnik
Why trying LP and MILP functionality required by e.g. degree_constrained_subgraph in graphs/graph.py, I noticed that just installing the corresponding package is not enough, one must run sage -b afterwards. Is it a bug, or a feature? Best, Dima -- To post to this group, send an email to

[sage-devel] Re: sage -f foo.spkg should do sage -b, shouldn't it?

2010-02-10 Thread Dima Pasechnik
:42 AM, Dima Pasechnik dimp...@gmail.com wrote: SNIP Is it a bug No. See the following sage-support thread for a reason why this happens: http://groups.google.com/group/sage-support/browse_frm/thread/fcc0918... That thread also contains a solution to the problem you're experiencing

[sage-devel] ready for upgrade to GAP 4.4.12

2010-02-10 Thread Dima Pasechnik
Dear all, I have just created track ticket #8229, that completes the task of upgrading gap.spkg (ticket #8076) and patching the relevant parts of devel/sage/ (ticket #8150) by also upgrading gap_packages.spkg Please test. Let's finish this story and upgrade to gap-4.4.12, at last. Thanks, Dima

[sage-devel] Re: sage -f foo.spkg should do sage -b, shouldn't it?

2010-02-10 Thread Dima Pasechnik
William, On Feb 10, 10:55 pm, William Stein wst...@gmail.com wrote: On Wed, Feb 10, 2010 at 6:42 AM, Dima Pasechnik dimp...@gmail.com wrote: Minh, IMHO, this is a missing feature of sage -f. Either it should always do sage -b after the building of the package is done, or there should

[sage-devel] Re: ready for upgrade to GAP 4.4.12

2010-02-14 Thread Dima Pasechnik
well, it seems I have fixed all the outstanding issues (see the trac updates) Dima On Feb 11, 10:07 am, David Joyner wdjoy...@gmail.com wrote: On Wed, Feb 10, 2010 at 9:48 AM, Dima Pasechnik dimp...@gmail.com wrote: Dear all, I have just created track ticket #8229, that completes the task

[sage-devel] fortran - is it OK to assume that either gfortran on g95 is available?

2010-02-14 Thread Dima Pasechnik
Is it OK to assume that either gfortran on g95 is available? I ask as I want to fix cvxopt-1.1.2 spkg so that it really builds everywhere, and this looks like a show-stopper, in particular as the native cvxopt install makes it possible to use f77, so I ideally want to get rid of f77blas and

[sage-devel] Re: fortran - is it OK to assume that either gfortran or g95 is available?

2010-02-14 Thread Dima Pasechnik
sorry, made a typo in the subject, now it should be OK. On Feb 14, 8:29 am, Dima Pasechnik dimp...@gmail.com wrote:  Is it OK to assume that either gfortran on g95 is available? I ask as I want to fix cvxopt-1.1.2 spkg so that it really builds everywhere, and this looks like a show-stopper

[sage-devel] Re: zlib and 64-bit builds on OS X and Solaris.

2010-02-14 Thread Dima Pasechnik
I understand from the zlib's SPKG.txt that OSX-specific thing was done by Michael Abshoff, who has left the project. When you talk about developing on OSX, there is a zillion possible, and quite different from each other, building environments * native Apple * Fink * MacPorts which all have

[sage-devel] Re: fortran - is it OK to assume that either gfortran on g95 is available?

2010-02-14 Thread Dima Pasechnik
, 2010 at 2:29 AM, Dima Pasechnik dimp...@gmail.com wrote:  Is it OK to assume that either gfortran on g95 is available? Yes. A working Fortran compiler (and associated libraries) is required for all supported platforms: Cygwin, Linux, Mac OS X, OpenSolaris, Solaris. At the start of the build

[sage-devel] Re: fortran - is it OK to assume that either gfortran on g95 is available?

2010-02-14 Thread Dima Pasechnik
So actually it's not checked that Sage compiles with g95, is it? On Feb 14, 9:06 am, Minh Nguyen nguyenmi...@gmail.com wrote: Hi Dima, On Mon, Feb 15, 2010 at 2:58 AM, Dima Pasechnik dimp...@gmail.com wrote: I don't seem to have access to g95. Is there a place on Skynet or on boxen/sage

[sage-devel] Re: Weird failure compiling 4.3.1.alpha3

2010-02-15 Thread Dima Pasechnik
'Setting RM=rm breaks newer libtools' --- this one, maybe? On Feb 15, 4:49 am, Pasha Zusmanovich justpa...@gmail.com wrote: On Jan 15, 10:46 pm, Robert Miller r...@rlmiller.org wrote: This was caused by #7818. See ticket for details. This is also happening on my linux system with versions

[sage-devel] Re: New package 'iconv' needed for Solaris and Cygwin

2010-02-15 Thread Dima Pasechnik
Dave, Did you check that Cygwin does not have its own iconv patches? It used to have patches... Dmitrii On Feb 15, 5:02 am, Dr. David Kirkby david.kir...@onetel.net wrote: William Stein wrote: On Sat, Feb 13, 2010 at 8:13 PM, Dr. David Kirkby david.kir...@onetel.net wrote: The latest

[sage-devel] dealing name clashes between spkgs

2010-02-15 Thread Dima Pasechnik
How does one deal with name clashes? E.g. a package (say, cvxopt) has its own matrix type, so importing all of it into Sage without appropriate name substitution makes a mess. Are there any guidelines one should follow? Thanks, Dima -- To post to this group, send an email to

[sage-devel] Re: dealing name clashes between spkgs

2010-02-16 Thread Dima Pasechnik
On Feb 16, 7:54 am, Harald Schilly harald.schi...@gmail.com wrote: On Feb 16, 5:44 am, William Stein wst...@gmail.com wrote: sage: import cvxopt sage: cvxopt.matrix cvxopt.matrix can happily coexist with sage matrices, numpy matrices, maxima matrices, etc. Yeahr exactly, but

[sage-devel] Re: Detecting the CPU on Linux for binary distributions

2010-02-17 Thread Dima Pasechnik
on Linux, this can be obtained from /proc http://www.cyberciti.biz/faq/linux-display-cpu-information-number-of-cpus-and-their-speed/ On Feb 17, 4:51 pm, Dr. David Kirkby david.kir...@onetel.net wrote: There seems to be a lot of problems that either are, or might be associated with people

[sage-devel] Re: adjusting versions and using/abusing FEMHUB

2010-02-17 Thread Dima Pasechnik
default must be gfortran, IMHO. Sage is distributed with a copy of gfortran libs in case they are not installed on the machine that will run Sage. There is a mechanism in Sage to detect fortrans that are available. Anyhow, gfrortan is much more wide-spread on Linux (e.g. g95 is not a part of

[sage-devel] Re: QQbar and group algebras

2010-02-17 Thread Dima Pasechnik
On Feb 17, 7:57 am, javier vengor...@gmail.com wrote: Hi all, I am trying to use sage to compute the Artin-Wedderburn decomposition of a group algebra. I am curious to know, how you are doing this. IMHO for this you need to know each irreducible representation explicitly --- but then you

[sage-devel] Re: QQbar and group algebras

2010-02-18 Thread Dima Pasechnik
On Feb 18, 2:09 am, javier vengor...@gmail.com wrote: Hi Dima, On Feb 18, 6:26 am, Dima Pasechnik dimp...@gmail.com wrote: I am curious to know, how you are doing this. IMHO for this you need to know each irreducible representation explicitly --- but then you can just stack up

[sage-devel] Re: QQbar and group algebras

2010-02-18 Thread Dima Pasechnik
there, and off you go! No need for 3000x3000 matrices... HTH, Dima PS. I presume you know what you are doing, and your group algebra elements are not in the centre, for otherwise it's just a computation with characters... On Feb 18, 6:51 am, Dima Pasechnik dimp...@gmail.com wrote: On Feb 18, 2:09 am, javier

[sage-devel] Re: mercurial on t2

2010-02-21 Thread Dima Pasechnik
On t2, can we please follow he Skynet's /usr/local/skynet_bash_profile mechanism to have a ready setup for building sage there? It would also be nice to have chsh working, so that ppl can change the default shell... Thanks, Dima On Feb 21, 4:51 pm, Minh Nguyen nguyenmi...@gmail.com wrote: Hi

[sage-devel] Re: Sage 4.3.3 released

2010-02-22 Thread Dima Pasechnik
.spkg Could you please fix this? Thanks, Dima On Feb 22, 3:48 pm, Minh Nguyen nguyenmi...@gmail.com wrote: Hi Dima, On Mon, Feb 22, 2010 at 6:44 PM, Dima Pasechnik dimp...@gmail.com wrote: As it stands, updated optional spkgs for the new release are nowhere to be found (e.g. gap_packages

[sage-devel] Re: mercurial on t2

2010-02-22 Thread Dima Pasechnik
Dave, The libraries are OK to include--- I was under impression is that you propose to include basically the whole toolchain... Sorry for a misunderstanding. Dima On Feb 22, 6:41 pm, Dr. David Kirkby david.kir...@onetel.net wrote: Dima Pasechnik wrote: On Feb 22, 4:15 am, Dr. David Kirkby

[sage-devel] Re: Simpler setup for build on t2

2010-02-22 Thread Dima Pasechnik
Dave, Is it possible to install screen on t2? Even if I run screen on boxen and ssh to t2, the connection is still a bit flaky. Thanks, Dima On Feb 22, 7:52 pm, Dr. David Kirkby david.kir...@onetel.net wrote: I've just added a note to

[sage-devel] Re: gap spkg

2010-02-23 Thread Dima Pasechnik
William, what about the spkg from http://boxen.math.washington.edu/home/dima/packages/ Does this work? Best, Dima On Feb 24, 9:41 am, William Stein wst...@gmail.com wrote: Hi, I just tried    ./sage -optional and see gap_packages-4.4.12_2.  I then do    ./sage -i gap_packages-4.4.12_2

[sage-devel] Re: gap spkg

2010-02-23 Thread Dima Pasechnik
, Dima Pasechnik dimp...@gmail.com wrote: William, what about the spkg fromhttp://boxen.math.washington.edu/home/dima/packages/ Does this work? Best, Dima On Feb 24, 9:41 am, William Stein wst...@gmail.com wrote: Hi, I just tried    ./sage -optional and see gap_packages-4.4.12_2

[sage-devel] Re: gap spkg

2010-02-23 Thread Dima Pasechnik
if it is 2), there is already http://trac.sagemath.org/sage_trac/ticket/8236 to address this. On Feb 24, 10:04 am, Dima Pasechnik dimp...@gmail.com wrote: OK, few checks: 1) what does gap_version() say? 2) do you have gap-4.4.12.p1.spkg in spkg/standard/ ? (I saw this before

[sage-devel] failing to build 4.3.0.1/2 on Skynet's sparc solaris (-R should not be used?)

2010-02-23 Thread Dima Pasechnik
I tried building sage 4.3.0.1 (and 4.3.0.2.alpha5-6583 snapshot created by Minh to demonstrate that unpleasant trac# 6583 bug) on skynet's mark, (SunOS mark 5.10 Generic_127111-01 sun4u sparc SUNW,Sun-Blade-2500) and it fails at gnutls spkg (this is not happening on t2), with messages indicating

[sage-devel] Re: Can't factor constant polynomials over QQbar?

2010-02-23 Thread Dima Pasechnik
it's an easy to fix bug in squarefree_decomposition in sage/rings/ polynomial/polynomial_element.pyx, line 1142 I can fix it if there are no takers... Dima On Feb 24, 1:30 pm, Tom Boothby tomas.boot...@gmail.com wrote: I just put this up on trac, but I'm not sure I put it in the right

[sage-devel] Re: Bipartite graphs in Sage

2010-02-27 Thread Dima Pasechnik
I don't think transfer matrix is a standard term in this context. To avoid confusion, I called such things vertex-vertex incidence matrix in the graph theory class I taught last term. By the way, in enumerative combinatorics transfer matrix means something totally different. Dima On Feb 28,

[sage-devel] Re: ALL doctests pass on Solaris !!!

2010-03-01 Thread Dima Pasechnik
hmm, there are sparc solaris machines on skynet; they are much faster than t2... On Mar 2, 2:29 am, Robert Bradshaw rober...@math.washington.edu wrote: On Mar 1, 2010, at 9:06 AM, Dr. David Kirkby wrote: mhampton wrote: Congratulations, it seems that you have made a great deal of progress

[sage-devel] Re: 0 sqrt3 is False in QuadraticField

2010-03-01 Thread Dima Pasechnik
On Mar 2, 3:10 am, Robert Bradshaw rober...@math.washington.edu wrote: On Feb 28, 2010, at 4:20 PM, slabbe wrote: Hi Sage-devel, I am currently experiencing some problems when comparing elements of a QuadraticField. See below. sage: Q.sqrt3 = QuadraticField(3) sage: 0 sqrt3

[sage-devel] Re: Questions and proposals for matrices

2010-03-01 Thread Dima Pasechnik
I guess, this: http://trac.sagemath.org/sage_trac/ticket/7723 I have not idea when I can get back to this at the moment. Basically what has happened is that I bit the bullet and implemented my own numerical matrix class hierarchy which is usable without Sage (but loosely modeled after it). That

[sage-devel] Re: How do I add Mercurial patches before Sage built?

2010-03-02 Thread Dima Pasechnik
perhaps it's a good idea to have these things added to http://wiki.sagemath.org/MercurialQueues On Mar 3, 9:24 am, Minh Nguyen nguyenmi...@gmail.com wrote: Hi David, On Wed, Mar 3, 2010 at 12:17 PM, Dr. David Kirkby david.kir...@onetel.net wrote: SNIP 'qimport' reports no issues, but

[sage-devel] Re: sqlite - update to the latest release

2010-03-02 Thread Dima Pasechnik
Dave, you ought to say at least how to get the new spkg Dima On Mar 3, 10:51 am, Dr. David Kirkby david.kir...@onetel.net wrote: If anyone has a minute, I would appreciate a review of http://trac.sagemath.org/sage_trac/ticket/8408 which is a simple update to the latest stable sqlite

[sage-devel] Re: wrapping fortran libraries in an spkg

2010-03-03 Thread Dima Pasechnik
there are interactions with lapack and atlas in CVXOPT, for instance. On Mar 3, 2:35 pm, Jason Grout jason-s...@creativetrax.com wrote: I couldn't find any good spline routines in Sage for constructing simple splines with given boundary conditions (are there any?  There are some spline

[sage-devel] Re: When we say all tests pass, do we include optional ones ?

2010-03-04 Thread Dima Pasechnik
actually, some of these optional things here only need an LP solver (not a MILP solver), and Sage does have an LP solver, via a standard package CVXOPT. It would be nice to get rid of these dependencies on optional packages. Dima On Mar 5, 8:14 am, ablondin alexandre.blondin.ma...@gmail.com

[sage-devel] Re: Debian package...

2010-03-04 Thread Dima Pasechnik
I've asked someone who is an active Debian developer about the removal thing, how it is done... Dmitrii On Mar 5, 11:05 am, William Stein wst...@gmail.com wrote: On Thu, Mar 4, 2010 at 5:03 PM, Jason Grout jason-s...@creativetrax.com wrote: On 03/04/2010 11:14 AM, Burcin Erocal wrote: On

[sage-devel] Debian package...

2010-03-05 Thread Dima Pasechnik
here is the response from one of Debian folks -- Forwarded message -- From: Bill Allombert bill.allomb...@math.u-bordeaux1.fr Date: 5 March 2010 18:49 Subject: Re: Fwd: Debian package... To: Dima Pasechnik dimp...@gmail.com On Thu, Mar 04, 2010 at 08:28:53PM -0800, Dima

[sage-devel] Re: Memory leak

2010-03-05 Thread Dima Pasechnik
if it's PARI-dependent, it makes sense to upgrade PARI to the latest version. PARI used by Sage is almost 2-year old. They rolled out two upgrades in the meantime. Dima On Mar 6, 6:41 am, mhampton hampto...@gmail.com wrote: I tried to confirm that fix, and realized that this problem isn't

[sage-devel] Re: Debian package...

2010-03-06 Thread Dima Pasechnik
On Mar 6, 7:27 am, Dr. David Kirkby david.kir...@onetel.net wrote: Kasper Peeters wrote: Has anyone considered emailing the official maintainer   Tim Abbott tabb...@mit.edu and ask him whether he would be interested in handing over maintainership to someone with more time to bring the

[sage-devel] Re: computational logic @ sagemath

2010-03-06 Thread Dima Pasechnik
On Mar 6, 2:57 am, Minh Nguyen nguyenmi...@gmail.com wrote: Hi Uli On Sat, Mar 6, 2010 at 5:33 AM, kuli strangequ...@gmx.at wrote: SNIP Secondly, I want to ask you, if it would make sense (I think it makes) to develop a computational logic module for sage math. I'm thinking of tools

[sage-devel] Re: Lie Methods and Related Combinatorics

2010-03-06 Thread Dima Pasechnik
Minh, I wonder how one can contribute changes/patches to files in sage/doc/ en/constructions It's also not always clear who wrote what there, and thus seems hard to discuss possible improvements with authors. Thanks, Dima On Mar 6, 1:08 am, Minh Nguyen nguyenmi...@gmail.com wrote: Hi Dan, On

[sage-devel] Re: Debian package...

2010-03-07 Thread Dima Pasechnik
+1. This might actually be the way to go, more or less --- make sage debian package a downloader. Debian actually has such packages, e.g., something that downloads free fonts for OO... Dima On Mar 7, 3:47 pm, ma...@mendelu.cz ma...@mendelu.cz wrote: On 7 bře, 01:05, William Stein

[sage-devel] Re: should hard integrals be evaluated numericaly if they fail to be evaluated?

2010-03-07 Thread Dima Pasechnik
No, there should be no automatic switchover to numerics, IM(not so)HO. By the way, numerics might get very slow if the convergence is slow, particularly in multivariate cases (where Monte-Carlo might be the method of choice), give weird results because of bad scaling, etc... Best, Dima On Mar

[sage-devel] Re: Debian package...

2010-03-07 Thread Dima Pasechnik
Harald, you can have a look at http://packages.debian.org/lenny/ttf-mscorefonts-installer for a similar functionality in a debian package. Dima On Mar 8, 2:09 am, Harald Schilly harald.schi...@gmail.com wrote: On Mar 7, 9:28 am, Dima Pasechnik dimp...@gmail.com wrote: +1. This might

[sage-devel] Re: Groups in Sage, libgap

2010-03-09 Thread Dima Pasechnik
Mike, if you need something specific for your goals implemented on GAP side, please email gap-support and/or me. Few further remarks: I also noticed and reported here a while ago that Sage's functionality for matrix group is not quite consistent with this functionality for permutation groups

[sage-devel] Re: Groups in Sage, libgap

2010-03-09 Thread Dima Pasechnik
PS. Also, please advertise this project on gap-forum and gap-support mailing lists. I am sure there will be more people interested in helping out if you explain that potentially one would be able to seamlessly call GAP functions from Python... Dima On Mar 9, 7:58 am, Mike OS

[sage-devel] anonymous reviewing of trac tickets? trac moderators?

2010-03-10 Thread Dima Pasechnik
Dear all, I recently had a rather unpleasant experience reviewing a ticket that shall remain unnamed. It went as follows. I suggested few improvements, asked few questions. Some suggestions were implemented, some plainly ignored, along with questions. I suggested few more improvements, asked (and

[sage-devel] Re: anonymous reviewing of trac tickets? trac moderators?

2010-03-11 Thread Dima Pasechnik
Hi Minh, On Mar 11, 3:42 pm, Minh Nguyen nguyenmi...@gmail.com wrote: Hi Dima, On Thu, Mar 11, 2010 at 5:10 PM, Dima Pasechnik dimp...@gmail.com wrote: SNIP [...] First, it is very frustrating that one has to rebase and rework a patch multiple times. A case in point is the situation

[sage-devel] Re: scaling up productivity; debianization of sage

2010-03-11 Thread Dima Pasechnik
Mythical Sage-month :-) (cf. http://en.wikipedia.org/wiki/The_Mythical_Man-Month) On Mar 11, 4:22 pm, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: On Wed, Mar 10, 2010 at 09:16:20PM -0800, William Stein wrote: There's an article here:    

[sage-devel] Re: anonymous reviewing of trac tickets? trac moderators?

2010-03-11 Thread Dima Pasechnik
Dear Nathann, Thanks for the message. On Mar 11, 8:11 pm, Nathann Cohen nathann.co...@gmail.com wrote: Hello ! I do not know how whether I have my place in this discussion... Several words, though. I know I did not take very well one of your first messages, and I progressively got the

[sage-devel] Re: Debian package...

2010-03-11 Thread Dima Pasechnik
On Debian stable, it's only possible to have python 2.6 out-of-tree (i.e. in /usr/local, built from scratch, possibly with more stuff needed to be built out-of-tree) So from Debian point of view this means that such a package is only feasible in the testing distro, where it's possible to have

[sage-devel] Re: testing on t2

2010-03-13 Thread Dima Pasechnik
Can't one just make a private copy of a SAGE_ROOT of an already built installation? (The only requirement is that everything in SAGE_ROOT is world- readable.) Dima On Mar 13, 7:36 am, Alex Ghitza aghi...@gmail.com wrote: Hi, (This email got a bit long.  See EXECUTIVE SUMMARY below for the

Re: [sage-devel] Re: Debian package...

2010-03-13 Thread Dima Pasechnik
I suggested somewhere that such a package should just download a binary installation of sage. Even Debian has packages of this type. Dmitrii On Mar 14, 9:02 am, Tim Abbott tabb...@mit.edu wrote: On Fri, 12 Mar 2010, Tim Abbott wrote: As I mentioned on the bug report opened today at

<    1   2   3   4   5   6   7   8   9   10   >