[sage-devel] gdb, doctests, strange behavior...

2007-11-11 Thread Robert Miller
I'm working on a new .pyx file, and everything has been working okay, but something strange is now happening, and I can't quite get to the bottom of it. Some side notes- I am running on OS X 10.5, a fresh install of sage-2.8.12. It failed building, I think it was scipy, but other than that it has

[sage-devel] Re: gdb, doctests, strange behavior...

2007-11-11 Thread Robert Miller
> Questions: > > (1) Do you or do you not actually have the same problem when > you build the same code under Linux? You don't say above. I hadn't had the chance to try yet, but I have now. I can't get it to give any error in linux at all. All the tests pass, in and out of gdb mode. I tried sev

[sage-devel] Re: gdb, doctests, strange behavior...

2007-11-11 Thread Robert Miller
> > (1) Do you or do you not actually have the same problem when > > you build the same code under Linux? You don't say above. > > I hadn't had the chance to try yet, but I have now. I can't get it to > give any error in linux at all. All the tests pass, in and out of gdb > mode. I tried several

[sage-devel] Re: gdb, doctests, strange behavior...

2007-11-12 Thread Robert Miller
> If you want to send me a patch/bundle against 2.8.12 or so and > instructions on how to reproduce this and I will take a look. Thanks for the offer but I figured out what the problem with my code was last night, as soon as I started using valgrind. > ... > I have seen the issue with gdb printi

[sage-devel] Re: is anybody interesting lie groups, etc.

2007-11-22 Thread Robert Miller
I am interested in this, but it might be a while before I get some spare time to look at it. On Nov 21, 11:56 am, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Nov 21, 8:50 pm, "David Joyner" <[EMAIL PROTECTED]> wrote: > > Hello David, > > > I think this is interesting but I wonder how eas

[sage-devel] Re: graph theory/combinatorics wishlist from Chris Godsil

2007-11-28 Thread Robert Miller
> > We need to be able to convert to and from the graph6 and sparse6 formats > > to an adjacency matrix and to a graph. Done. > > We need some hooks to nauty. Not done: we have reimplemented instead. If I don't do it before Sage Days 7, I will do it there: create a (necessarily optional) spkg to i

[sage-devel] is_integral_domain crappy output

2007-12-03 Thread Robert Miller
In sage/rings/quotient_ring.py, we have the following (line 220 in 2.8.14): try: return self.defining_ideal().is_prime() except NotImplementedError: return False Why the heck don't we just propagate the NotImplementedError!?! --~--~-~--~~---

[sage-devel] Re: SAGE-2.8.15!

2007-12-04 Thread Robert Miller
I don't know if this is specific to my current install, but I thought it could be useful to someone. Also, I'm not noticing any problems resulting from this. During upgrade from 2.8.14 on Intel OS X 10.5.1: g++ -fPIC -shared -o libntl.so FFT.o FacVec.o GF2.o GF2E.o GF2EX.o GF2EXFactoring.o GF2X.o

[sage-devel] Re: SAGE-2.8.15!

2007-12-04 Thread Robert Miller
am, mabshoff <[EMAIL PROTECTED] dortmund.de> wrote: > On Dec 4, 8:30 pm, Robert Miller <[EMAIL PROTECTED]> wrote:> I don't know if > this is specific to my current install, but I thought > > it could be useful to someone. Also, I'm not noticing any problems >

[sage-devel] Open for discussion

2007-12-05 Thread Robert Miller
Does anyone have any thoughts on the following? Luke Wolcott showed me this example- the traceback looks suspect, but I don't know about the internals here. Is this just something that is too big? {{{id=14| P = QQ[2^(1/2), 2^(1/3), 2^(1/5)] }}} {{{id=11| P.gens() /// (sqrt2, a, b) }}} {{{id=10|

[sage-devel] Re: Animate

2007-12-06 Thread Robert Miller
> If you don't mind, I have two sage/graphics questions. First, how do you > animate tachyon objects? If I have a list L of t.cylinder()'s and I do > sage: a = animate(L) The problem here is that T.cylinder() returns a "Tachyon" object instead of a "Graphics" object. sage: type(L[0]) Wh

[sage-devel] Re: having authors names in .py files

2007-12-07 Thread Robert Miller
> > > Again I strongly disagree with removing all the AUTHOR: blocks from > > > the Sage docstrings. The following is from the GPL v3: """ ... Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that mate

[sage-devel] Re: Fwd: banner

2007-12-12 Thread Robert Miller
> Obviously > the 5-cube has to go somewhere ... Just some input on the 5-cube. The one line that everyone is using to make the 5-cube could be a little nicer: sage: graphs.CubeGraph(5).show3d() http://www.rlmiller.org/ok.png versus sage: graphs.CubeGraph(5).show3d(iterations=300) http://www.rlm

[sage-devel] Is -7 a prime number?

2007-12-13 Thread Robert Miller
The algebraic definition is that its only divisors are itself and 1, up to units-- yes. The cultural definition is that it is in {2, 3, ...}-- no. It seems weird to use the cultural definition, since if we pass to another ring that contains ZZ, chances are the definition there will be the cultural

[sage-devel] Re: Is -7 a prime number?

2007-12-14 Thread Robert Miller
On Dec 14, 4:15 am, "John Cremona" <[EMAIL PROTECTED]> wrote: > Where in ring theory (outside of number theory) is the notion of a > prime element of a ring used? In basic commutative algebra, e.g. a beginning graduate student is playing around with rings to get a sense of things... It might be m

[sage-devel] Call for reviews, beginning 2.9.1

2007-12-17 Thread Robert Miller
2.9.1 is due out on Saturday. I'd like to start with the following tickets: - Possibly fixed or invalid: http://trac.sagemath.org/sage_trac/ticket/678 http://trac.sagemath.org/sage_trac/ticket/1144 http://trac.sagemath.org/sage_trac/ticket/1476 - Easy, should be done: http://trac.sagemath.org/sa

[sage-devel] Notebook listing usernames

2007-12-20 Thread Robert Miller
As pointed out by Michael Abshoff, it seems like an information leak to list all the usernames on a notebook when you fail to use a valid one to log in. Thoughts? --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe f

[sage-devel] Re: #1426: new trac view: tickets ***reported by*** given user

2007-12-20 Thread Robert Miller
David, Did you mean to attach something to that ticket? -- Robert M On Dec 20, 8:07 pm, David Harvey <[EMAIL PROTECTED]> wrote: > Hi paul, > > is this what you wanted? > > http://sagetrac.org/sage_trac/report/9 > > david --~--~-~--~~~---~--~~ To post to this gro

[sage-devel] Sage 2.9.1.alpha2

2007-12-20 Thread Robert Miller
Sage 2.9.1 alpha2 is out, available at: http://sage.math.washington.edu/home/rlmill/sage-2.9.1.alpha2.tar Closed tickets: alpha2: #1064 - Robert Miller - permutation __call__ type check #1175 - Michael Abshoff - circular link in sage/local/lib/python2.5 #1233 - Michael Abshoff, John Cremona

[sage-devel] Re: Sage 2.9.1.alpha2

2007-12-21 Thread Robert Miller
> What needs to happen to go from 2.9.1.alpha2 to a release > candidate and a release? > > -- William 1. I would like to get patches in for all the critical tickets. In particular, I'd like to see #1366 fixed up. 2. The following tickets could use review: #1130, #1155, #1371, #1413, #1418, #144

[sage-devel] Re: Sage 2.9.1.alpha2

2007-12-21 Thread Robert Miller
> > What needs to happen to go from 2.9.1.alpha2 to a release > > candidate and a release? Also, we *really* need to update COPYING.txt to reflect the new packages. --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscrib

[sage-devel] Sage-2.9.1.alpha3

2007-12-21 Thread Robert Miller
functionality #1561 - Nick Alexander - add ._matrix_() and .transpose() to vector/ FreeModuleElement. #1579 - Michael Abshoff - memleak in GSL's ComplexDoubleVector #1582 - Robert Miller - 2.9.1.alph2: doctest failure in sage/graphs/ graph.py with x86 Linux #1584 - Robert Miller - calcul

[sage-devel] Sage 2.9.1.rc0

2007-12-22 Thread Robert Miller
is here: http://sage.math.washington.edu/home/rlmill/sage-2.9.1.rc0.tar summary: rc0: #405 -Mike Hansen - set rows and cols of matrices #649 Mike Hansen - create a special symbolic matrix data type #857 - Michael Abshoff, Robert Miller - updates to

[sage-devel] Re: Sage 2.9.1.rc0

2007-12-22 Thread Robert Miller
There is a build failure due to m4ri importing from the wrong place, but this is fixed, rc1 will be up shortly. On Dec 22, 2:07 pm, Robert Miller <[EMAIL PROTECTED]> wrote: > is here: > > http://sage.math.washington.edu/home/rlmill/sage-2.9.1.rc0.tar > > su

[sage-devel] Re: Sage 2.9.1.rc0

2007-12-22 Thread Robert Miller
Build testers: please instead try http://sage.math.washington.edu/home/rlmill/sage-2.9.1.rc1.tar On Dec 22, 4:46 pm, Robert Miller <[EMAIL PROTECTED]> wrote: > There is a build failure due to m4ri importing from the wrong place, > but this is fixed, rc1 will be up shortly. > &g

[sage-devel] Sage 2.9.1.rc2

2007-12-22 Thread Robert Miller
The URL: http://sage.math.washington.edu/home/rlmill/sage-2.9.1.rc2.tar summary: rc2: four spaces -> tab in spkg/standard/deps, and #1558 - Joel Mohler - more NTL wrapping, coefficient access and factoring #1564 - Robert Bradshaw, William Stein - 3d graphics via jmol! #1580 - Robert Mil

[sage-devel] Re: Bug Day 8 proposal: Dec. 27th or 28th

2007-12-22 Thread Robert Miller
2nd sounds good to me! On Dec 22, 11:51 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > On Dec 22, 2007, at 6:38 PM, mabshoff wrote: > > > > > On Dec 23, 3:30 am, William Stein <[EMAIL PROTECTED]> wrote: > >> On Dec 22, 2007, at 7:09 PM, Martin Albrecht <[EMAIL PROTECTED] > >> bremen.de > > >>>

[sage-devel] Re: Sage 2.9.1.rc2

2007-12-23 Thread Robert Miller
Testall on sage.math: Following tests failed: sage -t const.tex sage -t devel/sage-main/sage/libs/mwrank/mwrank.pyx sage -t devel/sage-main/sage/libs/mwrank/interface.py sage -t devel/sage-main/sage/schemes/elliptic_curves/ ell_rational_field.py sage -t devel/sage-main/sage/schemes/elliptic

[sage-devel] Re: Sage 2.9.1.rc2

2007-12-23 Thread Robert Miller
1708 return self._graphic3d()(points, coerce=coerce, **kwds) 1709 xdata.append(float(z[0])) : object of type 'sage.rings.complex_number.ComplexNumber' has no len() On Dec 23, 10:34 am, Robert Miller <[EMAIL PROTECTED]> wrote: > Testall on sage.math: > &g

[sage-devel] Re: Sage 2.9.1.rc2

2007-12-23 Thread Robert Miller
ECTED]> wrote: > See attached patch to fix problem below... > > On Dec 23, 2007 8:52 AM, Robert Miller <[EMAIL PROTECTED]> wrote: > > > > > > > OK, I've fixed the mwrank issues, so const.tex is the only thing left. > > The error: > > sage: show(lin

[sage-devel] Re: Sage 2.9.1.rc2

2007-12-23 Thread Robert Miller
.py", line 494, in getpreferredencoding import _locale ImportError: No module named _locale ** > > On 12/23/07, Robert Miller <[EMAIL PROTECTED]> wrote: > > > > > > > There is

[sage-devel] Re: Sage 2.9.1.rc2

2007-12-23 Thread Robert Miller
Actually, I don't know if matplotlib has anything to do with this issue, as: File "matrix2.pyx", line 2280, in sage.matrix.matrix2.Matrix.echelon_form RuntimeError ImportError: No module named _locale On Dec 23, 12:35 pm, Robert Miller <[EMAIL PROTECTED]> wrote:

[sage-devel] Re: Sage 2.9.1.rc2

2007-12-23 Thread Robert Miller
http://mail.python.org/pipermail/python-list/2000-June/041688.html On Dec 23, 1:13 pm, Robert Miller <[EMAIL PROTECTED]> wrote: > Actually, I don't know if matplotlib has anything to do with this > issue, as: > > File "matrix2.pyx", line 2280, in > sag

[sage-devel] jmol in Sage 2.9.1

2007-12-25 Thread Robert Miller
Running in a notebook, in a fresh version of 2.9.1, I can't display the sphere. {{{ from sage.plot.plot3d.all import Sphere Sphere(1).show() }}} """ The page at https://localhost:8000 says: Reference Error: jmol SetDocument is not defined """ Looking in plot/plot3d/all.py, the third line was c

[sage-devel] Re: San Diego!

2008-01-05 Thread Robert Miller
> It's beautiful, though there are terrifying rumors that it might rain. :-) > > --William Well I assure you it is raining here in Seattle (it was -10 F at my parents' house Thursday!). My plane is due in at 3:12 tomorrow afternoon, so I will see you all at the booth! --~--~-~--~~---

[sage-devel] Re: sage.graphs, lad

2008-01-05 Thread Robert Miller
On Jan 3, 2008 8:48 PM, Brent Woodruff <[EMAIL PROTECTED]> wrote: > Robert Miller wrote: > > Right now, it's there but somewhat hidden. I'm not sure why it's > > hidden. You can do something like > > > > sage: G = graphs.PetersenGraph() > >

[sage-devel] (graphviz) Help! Autoconf hurts my head...

2008-01-18 Thread Robert Miller
The ticket http://trac.sagemath.org/sage_trac/ticket/1762 aims to provide an optional graphviz spkg, but I can't get the autoconf crap to work... All the relevant details are on the ticket, so if you know anything about this, please help out! --~--~-~--~~~---~--~~

[sage-devel] Re: sage features/bugs

2008-01-18 Thread Robert Miller
> >> Let A be a matrix not over ZZ or QQ: > > >> A.adjoint() > >> A.inverse() > > >> are not implemented. > > > I don't think they should be. There are already (at least) 3 ways > > to do this: > > Wait a sec I agree with David K on the adjoint issue. The adjoint > doesn't require the fr

[sage-devel] Re: Missed patent opportunity

2008-02-21 Thread Robert Miller
PS - Software patents are EVIL! On Feb 20, 1:30 pm, "alex clemesha" <[EMAIL PROTECTED]> wrote: > On Feb 20, 2008 1:22 PM, <[EMAIL PROTECTED]> wrote: > > > > > This just got posted to slashdot. > > >http://oreillyschool.com/why/interview.php > > Oh Geez! > > >

[sage-devel] Re: exact cover problem

2008-02-22 Thread Robert Miller
Just a technical note: Mod 2 matrices are not the natural way to think about adjacency matrices (I learned this the hard way) - the entry is actually better thought of as the number of paths of length one from one vertex to another. That way taking nth powers of the matrices counts the number of n

[sage-devel] Re: Sage 2.10.2.rc2 release!

2008-03-05 Thread Robert Miller
Mabshoff, In rc2, I get that glibc problem sometimes when simply exiting the program: """ [EMAIL PROTECTED]:~/sage-2.10.3.rc2-sage.math-only-x86_64-Linux$ ./sage -- | SAGE Version 2.10.3.rc2, Release Date: 2008-03-05

[sage-devel] Re: interact versus manipulate

2008-03-08 Thread Robert Miller
+1 interact On Mar 8, 1:57 pm, mhampton <[EMAIL PROTECTED]> wrote: > The advantage of vivify is all the derivative terms that flow from it > - you could cache images with revivify, explore 4D graphs with > vivisection...hmm... > > +1 to interact. > > -M. Hampton > > On Mar 8, 3:11 pm, Chris Swier

[sage-devel] Re: Glib algorithms #2436 vote

2008-03-26 Thread Robert Miller
On Mar 25, 5:12 pm, Gary Furnish <[EMAIL PROTECTED]> wrote: > Trac #2436 adds the following algorithms from glib to libcsage: > Multiplatform threads > Thread pools > Asynchronous Queues > Memory Slices > Doubly and Singly linked lists > Queues > Sequences > Hash Tables > Arrays > Balanced Binary

[sage-devel] Re: Sage Journal

2008-03-26 Thread Robert Miller
On Mar 26, 10:33 am, "William Stein" <[EMAIL PROTECTED]> wrote: > > On Wed, 26 Mar 2008 09:32:36 -0700 (PDT) > > Harald Schilly <[EMAIL PROTECTED]> wrote: > > > I had the idea of publishing an online Journal with articles about > > > Sage - a mixture between blogs and a real journal. This coul

[sage-devel] Vertex colors

2008-03-28 Thread Robert Miller
I thought it appropriate to put this one to vote. As someone has pointed out( http://trac.sagemath.org/sage_trac/ticket/2684 ), red is not an ideal color for vertices, since it is too dark. I propose we change them to white. Thoughts? --~--~-~--~~~---~--~~ To post

[sage-devel] Re: Vertex colors

2008-03-29 Thread Robert Miller
http://sage.math.washington.edu/home/rlmill/vert_red.png http://sage.math.washington.edu/home/rlmill/vert_white.png On Mar 28, 6:36 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Fri, Mar 28, 2008 at 6:17 PM, Robert Miller <[EMAIL PROTECTED]> wrote: > > >

[sage-devel] Re: Vertex colors

2008-03-29 Thread Robert Miller
Also try: http://sage.math.washington.edu/home/rlmill/vert_ff.png http://sage.math.washington.edu/home/rlmill/vert_99.png On Mar 29, 10:31 am, Robert Miller <[EMAIL PROTECTED]> wrote: > http://sage.math.washington.edu/home/rlmill/vert_red.png > > http://sage.math.wash

[sage-devel] Re: Vertex colors

2008-03-29 Thread Robert Miller
For completeness: http://sage.math.washington.edu/home/rlmill/vert_99ff99.png http://sage.math.washington.edu/home/rlmill/vert_99.png --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send e

[sage-devel] Re: Sage 3.0.alpha3 released

2008-04-09 Thread Robert Miller
On OSX 10.5/Firefox 2, I cannot delete cells in a notebook worksheet as of sage-3.0.alpha2. On Apr 9, 9:48 pm, "Justin C. Walker" <[EMAIL PROTECTED]> wrote: > On Apr 9, 2008, at 12:56 , mabshoff wrote: > > > On Apr 9, 8:40 pm, mabshoff <[EMAIL PROTECTED] > > dortmund.de> wrote: > > Can somebody o

[sage-devel] Re: Sage 3.0.alpha3 released

2008-04-10 Thread Robert Miller
and backspace is back in alpha3. > Please tell me if you find otherwise. > > On Wed, 9 Apr 2008, Robert Miller wrote: > > > On OSX 10.5/Firefox 2, I cannot delete cells in a notebook worksheet > > as of sage-3.0.alpha2. > > > On Apr 9, 9:48 pm, "Justin C. Wa

[sage-devel] Re: Bad example with NICE graph isomorphism

2008-04-15 Thread Robert Miller
Just to verify, the ticket > #2765: Robert Miller: bug in graph_isom, Hoffman-Singleton >constructor was a fix to a bug which Chris Godsil reported to me a week ago (which I was able to fix in one day!). In particular, two permutations of the Hoffman-Singleton graph were

[sage-devel] Re: Initial support for posets

2008-04-23 Thread Robert Miller
We might want to think about the naming conventions for Lattice. As with all words in mathematics, this one has multiple meanings. A lattice can be a poset with a meet and a join, or it can be a free abelian group with an inner product. Normally I wouldn't bring such a thing up, but I'm working wi

[sage-devel] A Sage Enhancement Proposal: Lattice Modules

2008-04-28 Thread Robert Miller
;embedding" argument 5. Implement a dual_quotient function for integral euclidean lattices which returns a LatticeQuotient. 6. Implement isomorphism tests for indefinite integral euclidean lattices. -- Robert Miller, Andrey Novoseltsev, Ursula Whitcher --~--~-~--~~~

[sage-devel] Re: A Sage Enhancement Proposal: Lattice Modules

2008-04-28 Thread Robert Miller
valued forms. > > John > > 2008/4/28 David Joyner <[EMAIL PROTECTED]>: > > > > > On Mon, Apr 28, 2008 at 2:02 PM, Robert Miller <[EMAIL PROTECTED]> wrote: > > > > SEP > > > > Implement Lattices over ZZ, with pairings into QQ or

[sage-devel] Re: SSE2 not so useless after all

2008-05-19 Thread Robert Miller
> I can't tell exactly what GAP does. It is beautifully documented, but > it talks about "grease units", which is terminology I don't > understand. It does look like M4RM though. Grease is a concept for speeding up certain things using caching. For example, suppose I have the permutation group S_

[sage-devel] Trac #1284

2008-05-23 Thread Robert Miller
Hello, During the last bug day, I found several tickets related to inconsistencies in abelian groups. I think I've fixed the circular logic, etc. causing the problems in the patch included in #1284. However, there is a difference of opinion on notation that I need to ask about here. Q: Should th

[sage-devel] Re: Notebook feature request

2008-07-09 Thread Robert Miller
> > Python > > has amnesia, in a sense -- it never knows where code really came > > from, but there are ways around this. It is also the case that when you load a file, tracebacks simply say that the error is in "module"... I wish those tracebacks were more helpful too... --~--~-~--~

[sage-devel] Re: Letting users shoot themselves in the foot?

2008-08-18 Thread Robert Miller
> > sage: V = QQ**2 > > sage: W = V.subspace([[1,2]]) > > sage: W([2,1], check=False) in W > > True If a user must do "check=False" in order to shoot themselves in the foot, then we're doing pretty well. --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-devel] Re: Proposal for Inclusion into Sage: Sphinx, Docutils, Pygments, and Jinja

2008-09-30 Thread Robert Miller
[X] Yes, include these in Sage --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URL

[sage-devel] Re: Sage public notebook servers

2008-10-14 Thread Robert Miller
> A security researcher decided to purposely take down sage.math to > demonstrate that it is possible to fork bomb the machine through the > public sage notebook servers.   I had always plan to run these comletley > public servers until something like this happened.  Therefore, > sagenb.org (and t

[sage-devel] Source on webpage

2008-10-15 Thread Robert Miller
I propose that there should be links from the front page of sagemath.org to: 1. The source download 2. The source browser Since, after all the emphasis is on open source. It's a pretty trivial point, but it would be nice to be one click away... --~--~-~--~~~---~--~--

[sage-devel] Re: updating the _pos dictionary for graphs

2008-11-05 Thread Robert Miller
Jason, > Does anyone know if it is assumed that if the _pos dictionary in a graph > is not None, then it contains each vertex as a key? It seems like it is > assumed several places in the code (e.g., in the subgraph() function). > However, _pos isn't updated properly (e.g., in the delete_vertex

[sage-devel] Graph Labels

2007-01-24 Thread Robert Miller
William, Sorry about the failed tests. I'm not sure why XGraphs take up 50% more space than Graphs: for an unlabelled graph, the adjacency dicts are the same: sage: import networkx sage: N = graphs.PetersenGraph().networkx_graph() sage: N sage: N2 = networkx.Graph(N) sage: N2 sage: N.adj {0:

[sage-devel] Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
Getting the following error when building the latest version of SAGE: robert-millers-powerbook-g4-12:/Volumes/DATA/sage-1.7 robert$ sage -br -- sage: Building and installing modified SAGE library files. pyrexc --embed-positions -I/Volumes/

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
4 Jan 2007 19:23:58 -0800, Nick Alexander <[EMAIL PROTECTED]> wrote: > > Just a guess, but I believe that in place update (+=, *=) were just > > added to sagex. You might try updating that package. > > Nick -- William > > On Wed, 24 Jan 2007 17:47:40 -0800, Robert

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
Look carefully at my previous post: all I did was sage -upgrade followed by sage -br. On Jan 24, 11:23 pm, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > Doesn't look like it got the new sagex package, have you tried sage - > upgrade? > > On Jan 24, 2007, at 11:14

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
t; > On Jan 24, 2007, at 11:26 PM, Robert Miller wrote: > > > Look carefully at my previous post: all I did was sage -upgrade > > followed by sage -br. > > > On Jan 24, 11:23 pm, Robert Bradshaw <[EMAIL PROTECTED]> > > wrote: > >> Doesn't l

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
ctually do? Where is the dividing line? On Jan 24, 11:31 pm, "Robert Miller" <[EMAIL PROTECTED]> wrote: > Ok, I got it mixed up, what I did was -update followed by -br. Point > is, after update, my sage fails to build. > > On Jan 24, 11:27 pm, Robert Bradshaw <[EMAIL

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-24 Thread Robert Miller
onfuses WAY more people (at least 3) >than it helps (David Kohel), so I'm removing it. > >> hg_sage.pull() >> hg_sage.update() >This refers only the SAGE library hg repository. What is the difference between "new packages" and the "SAGE library hg repository

[sage-devel] Re: Build error in matrix_integer_dense.pyx

2007-01-25 Thread Robert Miller
el/sage/...). The latter is > under the repository and you can have many branches ("clones") > whereas the former is not. > > - Robert > > On Jan 24, 2007, at 11:39 PM, Robert Miller wrote: > > > Ok, I think I know a little more about what went wrong: > > &

[sage-devel] Re: mercurial

2007-02-08 Thread Robert Miller
I have to go with David on this one. I've been confused many times by Mercurial, and I would look forward to any SD3 workshops etc. --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send

[sage-devel] NetworkX Development

2007-02-20 Thread Robert Miller
-- Forwarded message -- From: Dan Schult <[EMAIL PROTECTED]> Date: Feb 20, 2007 7:22 AM Subject: Re: NetworkX Development To: Robert Miller <[EMAIL PROTECTED]> Cc: Aric Hagberg <[EMAIL PROTECTED]> Hi Robert, I have also looked at SAGE, though I haven't see

[sage-devel] Python/C API

2007-02-21 Thread Robert Miller
David, I was wondering if you could help get me started here. I've been reading the Python/C API, and I've been browsing both sides of a lot of Pyrex: for argument's sake, let's say the Complex double matrices. First, I'm wondering how they're cdef-ing classes that they're then calling from Pytho

[sage-devel] Re: Python/C API

2007-02-21 Thread Robert Miller
jects need that extra help? On Feb 21, 10:57 am, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > I'll jump in and answer you questions. > > On Feb 21, 2007, at 10:18 AM, Robert Miller wrote: > > > David, > > > I was wondering if you could help get me started here.

[sage-devel] Feature request

2007-02-23 Thread Robert Miller
In the command line, I can do $ sage -b branch to build the branch, and $ sage -br branch to build and then run the branch, so why shouldn't I be able to do $ sage -r branch if I'm on a different repository and I want to just run the branch? --~--~-~--~~~---~--~

[sage-devel] Re: Combinatorics in SAGE

2007-02-24 Thread Robert Miller
Maybe something for partitions too... I'm working on stuff that's all partitions and permutations, and SAGE doesn't seem to speak fluently in this area yet. On Feb 23, 3:02 pm, "Nick Alexander" <[EMAIL PROTECTED]> wrote: > On Feb 23, 1:01 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > > > > > O

[sage-devel] Re: NetworkX Development

2007-02-27 Thread Robert Miller
n Hunter showed me how to do it but I haven't had the time > to follow up on that. Also there are many layout algorithms > that could be added. > > I'll take a look at what you have done in SAGE and let me know > what you think is the best way to proceed. The sourcefo

[sage-devel] magma interface

2007-03-08 Thread Robert Miller
In magma, I do this: > F := FiniteField(2); > F; Finite field of size 2 > FiniteField(2); Finite field of size 2 > I can't reproduce this with the interface in sage: sage: F = magma('FiniteField(2);') sage: magma(F.name()) _sage_[17] := _sage_[12]; sage: magma('%s;'%F.name()) sage: magma.eval(

[sage-devel] Rational construction

2007-03-11 Thread Robert Miller
Say I want a function to return a rational, and I have the integers for numerator and denominator. Right now, I have to call the Rational constructor twice: return Rational(self.size())/Rational(n) It seems natural to have something like elif isinstance(x, tuple): .. aro

[sage-devel] Re: open source "nauty"

2007-03-24 Thread Robert Miller
Special thanks to David Harvey for instigating. On Mar 23, 10:19 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On 3/23/07, David Joyner <[EMAIL PROTECTED]> wrote: > > > > > Let me be the first on this list to congratulate you! IMHO, this is a > > big contribution.. > > > I'm not sure how to br

[sage-devel] Re: open source "nauty"

2007-03-29 Thread Robert Miller
Talk notes and a more mathematical explanation of the isomorphism algorithm are available at: Talk notes: http://sage.math.washington.edu/home/rlmill/graph_isom/2007-03-29.pdf Paper: http://sage.math.washington.edu/home/rlmill/graph_isom/Isomorphism.pdf On Mar 24, 11:47 am, "Robert M

[sage-devel] Re: sage-2.4.1

2007-03-30 Thread Robert Miller
Upgrading from 2.3 to 2.4.1.2, and getting very strange behavior: [EMAIL PROTECTED]:~/sage$ ./sage -- | SAGE Version 2.4.1.2, Release Date: 2007-03-28 | | Type notebook() for the GUI, and license() for informa

[sage-devel] Re: sage-2.4.1

2007-03-30 Thread Robert Miller
PS- I also tried renaming sage-main to sage-old and doing sage-upgrade again, but I'm not getting a new sage-main that way... On Mar 30, 11:28 am, "Robert Miller" <[EMAIL PROTECTED]> wrote: > Upgrading from 2.3 to 2.4.1.2, and getting very strange behavior: > > [E

[sage-devel] Re: sage-2.4.1

2007-03-30 Thread Robert Miller
gt; 4) If you do "./sage -upgrade" again what happens? > 5) If you move devel/sage-main elsewhere and delete the devel/sage symlink, > and the file spkg/installed/sage-2.4.1.2, then do "./sage -upgrade", > what happens? > > -- William > > On 3/30/07, Rob

[sage-devel] Re: sage-2.4.1

2007-03-30 Thread Robert Miller
Sorry, amend (2)- I'm on sage.math On Mar 30, 11:38 am, "Robert Miller" <[EMAIL PROTECTED]> wrote: > (1) I did ./sage -upgrade. > (2) Yes > (3) The last 4 lines of install.log are > """ > Successfully installed gap_packages-4.4.9 > N

[sage-devel] Re: sage-2.4.1

2007-03-30 Thread Robert Miller
.| -- sage: yay! On Mar 30, 11:44 am, "Robert Miller" <[EMAIL PROTECTED]> wrote: > Sorry, amend (2)- I'm on sage.math > > On Mar 30, 11:38 am, "Robert Miller" <[EMAIL PROTECTED]> wrote: > > > (1) I di

[sage-devel] Mod 2 Matrix Row Space Hangs

2007-03-31 Thread Robert Miller
On both sage.math and my macbook, the following hangs: -- | SAGE Version 2.4, Release Date: 2007-03-25 | | Type notebook() for the GUI, and license() for information.| -

[sage-devel] Re: Slightly OT: A SAGE Review

2007-04-07 Thread Robert Miller
> > Regarding the review, which mentions the stats package R, a lot of people > > have > > written me off list about creating an interface to R. Note that there > > has been a Python <--> R > > interface since before SAGE was ever written: > > > http://rpy.sourceforge.net/ > > > I haven't u

[sage-devel] Mysterious doctest failures

2007-04-08 Thread Robert Miller
When doctesting after the newest pull, I get: sage -t -long devel/sage-nice/sage/graphs/graph.py Exception exceptions.AttributeError: "'NumberField_cyclotomic' object has no attribute 'polynomial_ntl'" in 'number_field_element.NumberFieldElement._parent_poly_c_' ignored Exception excepti

[sage-devel] Re: Mysterious doctest failures

2007-04-08 Thread Robert Miller
, "Robert Miller" <[EMAIL PROTECTED]> wrote: > When doctesting after the newest pull, I get: > > sage -t -long devel/sage-nice/sage/graphs/graph.py Exception > exceptions.AttributeError: "'NumberField_cyclotomic' obj

[sage-devel] block sums

2007-04-13 Thread Robert Miller
sage: A = Matrix( GF(2), [[]] ) sage: B = Matrix( GF(2), [[0]] ) sage: A [] sage: B [0] sage: A.block_sum(B) [0] [0] sage: A = Matrix( GF(2), [] ) sage: A [] sage: A.block_sum(B) [0] --~--~-~--~~~---~--~~ To post to this group, send email to [EMAIL PROTECTED] To

[sage-devel] Re: block sums

2007-04-15 Thread Robert Miller
o rows and one column. I'm of the opinion that [[]] should be treated as having zero rows *and* zero columns. On Apr 13, 11:18 am, David Harvey <[EMAIL PROTECTED]> wrote: > On Apr 13, 2007, at 2:08 PM, Robert Miller wrote: > > > sage: A = Matrix( GF(2), [[]] ) > > sage:

[sage-devel] more mod2 row space trouble

2007-04-16 Thread Robert Miller
sage: M = Matrix(GF(2), [[1,1,0],[0,1,0]]) sage: M.row_space() Vector space of degree 3 and dimension 2 over Finite Field of size 2 Basis matrix: [1 0 0] [0 1 0] sage: M = Matrix(GF(2), [[1,1,0],[0,0,1]]) sage: M.row_space() Vector space of degree 3 and dimension 1 over Finite Field of size 2 Ba

[sage-devel] Re: bugs in graphs?

2007-04-28 Thread Robert Miller
The attached bundle fixes these bugs and also includes some of the latest optimizations to NICE. Thanks for the bug report! On 4/27/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Tried to show3d a digraph, got the following: > > > > Tried to compute the automorphism group for a graph with (ap

[sage-devel] Re: web page redesign

2007-05-07 Thread Robert Miller
Perhaps you could have the menus that appear at the top and bottom of the main page appear on each sub-page, as well as the grey borders. It would give the overall site more consistency, and give the user a feeling of still being at the same site. You could add the download, documentation, etc. li

[sage-devel] Re: sage-2.5.alpha3

2007-05-07 Thread Robert Miller
William, First of all, alpha3 builds on the macbook perfectly. Please include the patch below in sage-2.5. It fixes a subtle bug in NICE where I was using a global variable locally. # HG changeset patch # User Robert L Miller <[EMAIL PROTECTED]> # Date 1178570314 25200 # Node ID 0e3e8e80f792ca3

[sage-devel] Python 2.5.1 bug?

2007-05-09 Thread Robert Miller
I know this isn't a bug in sage, but it is good to be aware of... If the contents of the file crash.py is: def crash(): n = 5 k = 2 return [( 2**(n-2*i-2) - 2**(floor(n/2)-i-1) - 1 ) for i in range(k)] Then you get bizarre behavior: sage: load crash.py sage: crash() -

[sage-devel] Re: sage-2.5.0.2

2007-05-12 Thread Robert Miller
Hrmm... Sorry to observe and not fix, but: sage: V = VectorSpace(GF(Integer(2)), n) --- Traceback (most recent call last) /home/rlmill/sage-2.5/ in () /home/rlmill/sage-2.5/local/lib/python2.5/site-packages/sag

[sage-devel] Re: sage-2.5.0.2

2007-05-12 Thread Robert Miller
Oops. It wasn't declared, and the traceback was confusing... I'll give it more time before I post again, sorry. On May 12, 11:11 am, Robert Bradshaw <[EMAIL PROTECTED]> wrote: > What is n? > > On May 12, 2007, at 11:10 AM, Robert Miller wrote: > > > > > H

[sage-devel] Re: sage-2.5.0.2

2007-05-12 Thread Robert Miller
> It's an interesting illustration of the adverse affects of us > predefining symbolic > variables at startup. Thoughts? Comments? It's nice to be able to do this: > >sage: x^n + y^n == z^n >(y^n + x^n) == z^n > > But the error message you got was confusing. Note that we could improve

  1   2   3   4   5   >