[sage-devel] Re: A bug in code.minimum_distance()

2009-10-04 Thread Kwankyu
If David Joyner looks at this, I want to ask what is the quick way in Sage to get code.information_set()? Kwankyu --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel

[sage-devel] A bug in code.minimum_distance()

2009-10-04 Thread Kwankyu
Hi, I cannot understand why the following error occurs: sage: F.=GF(2^4) sage: G=matrix(2,[1,0,a+1,a,a^3,a^2]); G [1 0 a + 1] [a a^3 a^2] sage: code=LinearCode(G); code Linear code of length 3, dimension 2 over Finite Field in a of size 2^4 sage: code.minimum_distance() Traceback

[sage-devel] Re: A tiny bug in the polydict implementation of multivariate polynomial ring.

2009-10-04 Thread Kwankyu
Hi, I created the ticket 7119 for this bug, and attached a patch. Kwankyu --~--~-~--~~~---~--~~ 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...@googlegroups.com For more

[sage-devel] Re: Dollar signs in live documentation

2009-10-04 Thread Pat LeSmithe
John H Palmieri wrote: > I'm seeing the same thing, more or less, with Safari on a Mac: in the > live documentation, both sets of ... are in math mode, and in the > static, only the $$...$$ ends up in math mode. It's strange; I wonder > if it has to do with jsMath somehow. I was trying ``$`` ..

[sage-devel] Spies Sage Development Prize

2009-10-04 Thread William Stein
Hello, I've written the official citation for Mike Hansen who won the 2009 Spies Sage Development prize. The 2009 Spies Sage Development Prize ($500) is awarded to Michael Hansen for his work on redesigning the Sage documentation system to use Sphinx, porting Sage's symbolics to Pynac, and his m

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread Fredrik Johansson
On Mon, Oct 5, 2009 at 1:45 AM, rjf wrote: > > A much more interesting example is this (in Maxima) > > fpprec:16 > sin (bfloat(2)^1) > > -6.104079172368958b-1 > > which is correct to 16 decimal places. > >  Making this work by adding in more terms in the taylor series for > sine would be a ve

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread rjf
A much more interesting example is this (in Maxima) fpprec:16 sin (bfloat(2)^1) -6.104079172368958b-1 which is correct to 16 decimal places. Making this work by adding in more terms in the taylor series for sine would be a very bad idea. Instead, the sine routine first compute pi to 100

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread Fredrik Johansson
On Sun, Oct 4, 2009 at 11:09 PM, rjf wrote: > On Oct 4, 11:00 am, Ondrej Certik wrote: > > >> >> You (or anyone else) could have followed Fredrik's frequent and >> detailed blogposts here: >> >> http://planet.sympy.org/ > > I quote from a recent entry by Frederik: > > " > > The tests above use

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread Fredrik Johansson
On Sun, Oct 4, 2009 at 10:56 PM, rjf wrote: > > > > On Oct 4, 12:35 pm, Fredrik Johansson > wrote: > ...big snip.. which I may respond to later (or not..) > > >> Indeed, without manually setting the precision, >> >> sage: maxima('bfloat(exp(1/%pi^1000)-1)') >> 0.0b0 >> >> which is wrong, and wit

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread William Stein
On Sun, Oct 4, 2009 at 2:09 PM, rjf wrote: > Reading through that blog I got the distinct impression that a lot of > work was done.  It is hard to say how much of it was just recoding in > python of stuff that existed in some other language. When you make the above comment are you suggesting tha

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread rjf
On Oct 4, 11:00 am, Ondrej Certik wrote: > > You (or anyone else) could have followed Fredrik's frequent and > detailed blogposts here: > > http://planet.sympy.org/ I quote from a recent entry by Frederik: " The tests above use well-behaved object functions; some corner cases are likely f

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread rjf
On Oct 4, 12:35 pm, Fredrik Johansson wrote: ...big snip.. which I may respond to later (or not..) > Indeed, without manually setting the precision, > > sage: maxima('bfloat(exp(1/%pi^1000)-1)') > 0.0b0 > > which is wrong, and with no indication that it is wrong. Actually, it is doing the ri

[sage-devel] Re: canvas3d_lib.js + Pre3d does shaded surfaces and works on iPhone, IE

2009-10-04 Thread Jaap Spies
Peter wrote: > Hi, > > Thanks to the pointer to Pre3d it is now possible to do shaded > surfaces (and lines and curves) on canvas in JavaScript. The > performance is not quite like jmol, but it is far better than I would > have expected (especially with Chrome), and it has the advantage of > work

[sage-devel] Re: Sage 4.1.2.rc0 doctest failures on Fedora

2009-10-04 Thread Jaap Spies
Minh Nguyen wrote: > Hi William, > > On Sun, Oct 4, 2009 at 4:11 PM, William Stein wrote: > > > >> Thank you. Please open a 4.1.2 blocker for all these problems. I >> think one ticket should be fine for this. Thanks! > > This is now ticket #7108 [1], a blocker against the Sage 4.1.2 relea

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread Fredrik Johansson
On Sun, Oct 4, 2009 at 6:53 PM, rjf wrote: >> >> >> The purpose of this code is *not* to add a list of binary >> >> fractions accurately. >> >> > It is unlikely that the best way to add a list of any numbers that you >> > are given is >> > to start by throwing out information that provides the d

[sage-devel] symbolic unit conversions

2009-10-04 Thread William Stein
Hi, Does anybody want to work on the units conversion package? The student I had work on this over the summer is done, but the package isn't. The code basically works, but the doctest coverage is only 38% and there are some failures. See http://trac.sagemath.org/sage_trac/ticket/3852 I think

[sage-devel] Re: Proposing some changes to sage-env for portability

2009-10-04 Thread William Stein
On Fri, Oct 2, 2009 at 3:42 AM, Dr. David Kirkby wrote: > > I was thinking of making some changes to sage-env, with the main aim of > improving portability and getting rid of GNUisms. I'd be intersted in > any thoughts on the following, or other things which could be done. I've > also made some c

[sage-devel] Re: Here's a first pass at a Jmol javascript code to limit # of live Jmols on a page...

2009-10-04 Thread Jonathan
More test results: 1) This example definitely will not work in IE 8 (probably not any other version either) because the code for generating new div's uses the element.parentNode attribute to figure out which element to add the new div to. It appears that the .parentNode attribute is not supporte

[sage-devel] sage-4.1.2 status report

2009-10-04 Thread William Stein
Hi, I configured a build farm and did some build testing and the list of blockers is now actually a bit longer for 4.1.2: The following is a FORTRAN issue. #6533 sage >= 4.1.rc1 doesn't build on cleo (ia64-Linux-rhel5) Our itanium support is completely dead, since Sage doesn't build

[sage-devel] Re: "set -e"

2009-10-04 Thread William Stein
On Sun, Oct 4, 2009 at 11:02 AM, William Stein wrote: > Hi, > > I just noticed that David Kirkby encouraged us to put "set -e"'s in > the Sage spkg-install's, and at the time when I was barely paying > attention it seemed like a good idea.  So I was just refereeing 6990 > and noticed that the spk

[sage-devel] "set -e"

2009-10-04 Thread William Stein
Hi, I just noticed that David Kirkby encouraged us to put "set -e"'s in the Sage spkg-install's, and at the time when I was barely paying attention it seemed like a good idea. So I was just refereeing 6990 and noticed that the spkg-install's are now full of code like this: -

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread Ondrej Certik
On Sun, Oct 4, 2009 at 9:53 AM, rjf wrote: > > > > On Oct 4, 8:00 am, Fredrik Johansson > wrote: >> On Sun, Oct 4, 2009 at 6:57 AM, rjf wrote: >> > On Oct 3, 5:11 am, Fredrik Johansson >> > wrote: >> >> > My guess is that you have not talked this over with a numerical >> > analyst. >> >> No, a

[sage-devel] Re: DiGraph methods predecessors and successors

2009-10-04 Thread Tom Boothby
On Sun, Oct 4, 2009 at 4:35 AM, Nathann Cohen wrote: > > I would be glad to write a patch changing the names of these functions > to neighbors_out or neighbors_in ( if all of us are ok about it ), but That's fine by me. > I have no clue how to write what you are describing. Graph.neighbors > wo

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread rjf
On Oct 4, 8:00 am, Fredrik Johansson wrote: > On Sun, Oct 4, 2009 at 6:57 AM, rjf wrote: > > On Oct 3, 5:11 am, Fredrik Johansson > > wrote: > > > My guess is that you have not talked this over with a numerical > > analyst. > > No, and I suppose a might if a compelling case were presented to

[sage-devel] Re: weird sympy evalf behaviour

2009-10-04 Thread Fredrik Johansson
On Sun, Oct 4, 2009 at 6:57 AM, rjf wrote: > On Oct 3, 5:11 am, Fredrik Johansson > wrote: > > My guess is that you have not talked this over with a numerical > analyst. No, and I suppose a might if a compelling case were presented to me that I'm doing something wrong. So far you have failed to

[sage-devel] Re: DiGraph methods predecessors and successors

2009-10-04 Thread Nathann Cohen
I would be glad to write a patch changing the names of these functions to neighbors_out or neighbors_in ( if all of us are ok about it ), but I have no clue how to write what you are describing. Graph.neighbors would be a subobject, does that mean an independent class ? Wouldn't this slow down the

[sage-devel] Re: Review Day next Tuesday (22 Sep)

2009-10-04 Thread Nicolas M. Thiery
On Wed, Sep 23, 2009 at 08:07:18PM -0700, Robert Bradshaw wrote: > Here's my ideal system (which rietveld may or may not be a part of, > but certainly it'd be better to not start something from scratch). > > (0) I hack on my own code, committing as I want, the normal mercurial > way. > (1) I

[sage-devel] Re: Linear Programming and MIP... Let's start something huge !

2009-10-04 Thread Nicolas M. Thiery
On Wed, Aug 26, 2009 at 03:47:05PM -0700, William Stein wrote: > On Wed, Aug 26, 2009 at 2:39 PM, Jason Grout > wrote: > > I should mention that at various times, people have proposed that you > > could create symbolic variables x[1], x[2], etc.  As far as I know, > > these proposals have just be

[sage-devel] Marked as blocker for 4.1.2, can someone review #7021

2009-10-04 Thread Dr David Kirkby
I know 4.1.2.rc0 has been released, but William has marked my trac item http://sagetrac.org/sage_trac/ticket/7021 as a blocker for 4.1.2. "This is such a major improvement -- and fairly safe -- I would really like this in 4.1.2 so I'm upgrading this to blocker." I must admit, I was pleased to se

[sage-devel] Re: Sage 4.1.2.rc0 released

2009-10-04 Thread MaxTheMouse
> > Sage 4.1.2.rc0 build and pass all doctests (also with the "-long" > option) on the following platforms: > > * eno: 64-bit Fedora 9 with GCC 4.4.1 > * lena: 64-bit Red Hat Enterprise Linux Server 5.3 with GCC 4.4.1 > * menas: 64-bit openSUSE 11.1 with GCC 4.4.1 > * rosemary: 64-bit Red Hat Ent

[sage-devel] Re: AbelianGroup's subgroups

2009-10-04 Thread davidloeffler
Sorry, I've just seen William's earlier post in this thread, and I see that there was no need for my rather combative previous post -- I apologise for any offence I may have caused. David On Oct 4, 2:05 am, William Stein wrote: > On Sat, Oct 3, 2009 at 1:30 PM, David Joyner wrote: > > > The ab

[sage-devel] Re: DiGraph methods predecessors and successors

2009-10-04 Thread Nicolas M. Thiery
On Sat, Oct 03, 2009 at 03:26:05PM -0700, Robert Bradshaw wrote: > > On Oct 3, 2009, at 1:38 PM, Tom Boothby wrote: > > > On Sat, Oct 3, 2009 at 12:52 PM, Rob Beezer > > wrote: > >> > >> On Oct 3, 2:47 am, Nathann Cohen wrote: > >>> DiGraph.out_neighbors() and DiGraph.in_neighbors() would be

[sage-devel] Re: AbelianGroup's subgroups

2009-10-04 Thread davidloeffler
On Oct 4, 4:54 am, William Stein wrote: > On Sat, Oct 3, 2009 at 8:07 PM, Rob Beezer wrote: > > > On Oct 3, 6:05 pm, William Stein wrote: > >> And this has already been almost completed by David Loeffler based > >> on work by me.  http://trac.sagemath.org/sage_trac/ticket/6449 > > > The work

[sage-devel] Re: Could HP-UX be added as a component on Sage Tracker ?

2009-10-04 Thread Dr. David Kirkby
William Stein wrote: >> Hence could HP-UX be added. > > My one concern about adding hpux and aix as components on track is > that we don't have "linux" or "osx" or "cygwin" as components. The > *only* OS that has a component is Solaris. There are already a lot > of components... > > Thoughts

[sage-devel] Re: Could HP-UX be added as a component on Sage Tracker ?

2009-10-04 Thread Robert Bradshaw
On Oct 4, 2009, at 12:22 AM, William Stein wrote: > > On Sun, Oct 4, 2009 at 12:15 AM, Dr. David Kirkby > wrote: >> >> I commented once on here before that I have used an old Sun Ultra >> 80 as >> heater in the garage in the winter to stop the water freezing. >> >> Well this Winter I'm going

[sage-devel] Re: Could HP-UX be added as a component on Sage Tracker ?

2009-10-04 Thread William Stein
On Sun, Oct 4, 2009 at 12:15 AM, Dr. David Kirkby wrote: > > I commented once on here before that I have used an old Sun Ultra 80 as >  heater in the garage in the winter to stop the water freezing. > > Well this Winter I'm going to use an HP Visualize C3600 machine as my > source of heat, though

[sage-devel] Could HP-UX be added as a component on Sage Tracker ?

2009-10-04 Thread Dr. David Kirkby
I commented once on here before that I have used an old Sun Ultra 80 as heater in the garage in the winter to stop the water freezing. Well this Winter I'm going to use an HP Visualize C3600 machine as my source of heat, though if that is insufficient I have an IBM server too. The HP box run

Re: [sage-combinat-devel] Re: [sage-devel] Network problem...

2009-10-04 Thread Nicolas M. Thiery
Hi! combinat.sagemath.org is back online On Sat, Oct 03, 2009 at 04:20:16PM -0700, William Stein wrote: > I've restarted that virtual machine and now > http://combinat.sagemath.org displays a message. However, how is this > supported to work? I tried searching for combinato server and