Re: [sage-devel] Re: using lower case to name functionality/constructor after a person?

2015-07-31 Thread William Stein
On Fri, Jul 31, 2015 at 2:16 PM, Nathann Cohen nathann.co...@gmail.com wrote: I do not have a strong opinion about whether lower case is better or not. But I strongly support having a convention and mention it in the developer manual. I opened #18974. I would say that we already have

Re: [sage-devel] [sage-cloud] slowness with sums of ideals in ZZ[a, b]

2015-07-31 Thread Pierre
OK cool ! Thanks again ! On Friday, July 31, 2015 at 10:40:46 PM UTC+2, Justin C. Walker wrote: On Jul 31, 2015, at 08:36 , Pierre wrote: Hi, I have asked a version of this question here: https://groups.google.com/forum/#!topic/sage-support/2KJQhOf-N7Y However I now have

[sage-devel] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Rob Beezer
Dear Bernard, Thanks for the note and links. I was not very aware of GIAC. It could be a useful thing for MathBook XML authors to have available. Have you considered using MathJax within your HTML output? It too is Javascript and can be configured to execute locally. Rob On Friday, July

[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Dima Pasechnik
On Saturday, 1 August 2015 01:03:25 UTC+1, Rob Beezer wrote: On Friday, July 31, 2015 at 4:06:01 PM UTC-7, Dima Pasechnik wrote: You don't need a closing tag that can be inserted by software, as certainly is the case for \section or \item.. (unless you spent a large part of your life

[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Rob Beezer
On Friday, July 31, 2015 at 4:06:01 PM UTC-7, Dima Pasechnik wrote: You don't need a closing tag that can be inserted by software, as certainly is the case for \section or \item.. (unless you spent a large part of your life writing HTML or XML by hand, of course :-)) So where does a

[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Rob Beezer
On Friday, July 31, 2015 at 4:06:01 PM UTC-7, Dima Pasechnik wrote: I wish Knuth did review (X)HTML format proposals for sanity... I should add that MathBook XML adds no new syntax for mathematics proper. In other words, symbols, equations, displays are not written in something like MathML

[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Rob Beezer
On 07/31/2015 05:25 PM, Dima Pasechnik wrote: And if it is so easy to convert LaTeX into HTML, why hasn't anybody done it successfully? tex4ht is the only one I know that comes close, and only because it is the only one that uses the tex executable. sure, why is this bad to use

[sage-devel] Re: using lower case to name functionality/constructor after a person?

2015-07-31 Thread John H Palmieri
On Friday, July 31, 2015 at 2:26:59 AM UTC-7, Dima Pasechnik wrote: On Friday, 31 July 2015 10:22:50 UTC+1, Nathann Cohen wrote: I prefer lower case (you don't want to miss a method in tab-completion because of case). I swear I spent 15 minutes last night looking for graphs.Chang* !

[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread David Farmer
In most cases, MathBook XML is not more cumbersome than LaTeX, particularly if you are using an editor which automatically inserts closing tags. For example, in LaTeX \section{...} starts a section, and you do not have to explicitly indicate where the section ends. In MBX, you have to supply

Re: [sage-devel] [sage-cloud] slowness with sums of ideals in ZZ[a, b]

2015-07-31 Thread Johan S . R . Nielsen
Hi, The test takes about 92ms on my laptop (Sage 6.8.rc1, core i7-4600 @ 2.10 GHz). So if it's a Sage 6.7-thing, it's fixed again :-) Johan William Stein writes: On Fri, Jul 31, 2015 at 8:36 AM, Pierre pierre.guil...@gmail.com wrote: Hi, I have asked a version of this question here:

Re: [sage-devel] Re: using lower case to name functionality/constructor after a person?

2015-07-31 Thread Vincent Delecroix
I do not have a strong opinion about whether lower case is better or not. But I strongly support having a convention and mention it in the developer manual. I opened #18974. Best, Vincent On 31/07/15 16:44, John H Palmieri wrote: On Friday, July 31, 2015 at 2:26:59 AM UTC-7, Dima Pasechnik

Re: [sage-devel] Re: using lower case to name functionality/constructor after a person?

2015-07-31 Thread Nathann Cohen
I've created http://trac.sagemath.org/ticket/18975 for default case-insensitive searching. +1 This new default can only help. Nathann -- 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

[sage-devel] Re: using lower case to name functionality/constructor after a person?

2015-07-31 Thread John H Palmieri
On Friday, July 31, 2015 at 7:44:50 AM UTC-7, John H Palmieri wrote: On Friday, July 31, 2015 at 2:26:59 AM UTC-7, Dima Pasechnik wrote: On Friday, 31 July 2015 10:22:50 UTC+1, Nathann Cohen wrote: I prefer lower case (you don't want to miss a method in tab-completion because of case).

[sage-devel] [sage-cloud] slowness with sums of ideals in ZZ[a, b]

2015-07-31 Thread Pierre
Hi, I have asked a version of this question here: https://groups.google.com/forum/#!topic/sage-support/2KJQhOf-N7Y However I now have a minimal working example, and sage-devel is perhaps better than sage-support for this question (is it?) So when working with multivariable polynomials over ZZ

Re: [sage-devel] [sage-cloud] slowness with sums of ideals in ZZ[a, b]

2015-07-31 Thread William Stein
On Fri, Jul 31, 2015 at 8:36 AM, Pierre pierre.guil...@gmail.com wrote: Hi, I have asked a version of this question here: https://groups.google.com/forum/#!topic/sage-support/2KJQhOf-N7Y However I now have a minimal working example, and sage-devel is perhaps better than sage-support for

Re: [sage-devel] [sage-cloud] slowness with sums of ideals in ZZ[a, b]

2015-07-31 Thread Pierre
Thanks for your answers ! Let's hope it is fixed by 6.8 then. I shall refrain from upgrading to 6.7 on my machine :-) (and for 6.8 I will wait for osx binaries, and until I've upgraded to OSX 10.10) On Friday, July 31, 2015 at 6:36:03 PM UTC+2, Johan S. R. Nielsen wrote: Hi, The test

Re: [sage-devel] Re: using lower case to name functionality/constructor after a person?

2015-07-31 Thread Nathann Cohen
I do not have a strong opinion about whether lower case is better or not. But I strongly support having a convention and mention it in the developer manual. I opened #18974. I would say that we already have conventions about upper and lower cases when it comes to functions (lower) and class

Re: [sage-devel] Re: openssh versus gnutls

2015-07-31 Thread William Stein
To revive a very old thread, OpenSSL is now in the process of switching to a GPL-compatible license, finally! https://www.openssl.org/blog/blog/2015/08/01/cla/ On Tue, Dec 13, 2011 at 11:45 AM, William Stein wst...@gmail.com wrote: On Tue, Dec 13, 2011 at 11:14 AM, Volker Braun

[sage-devel] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread parisse
Le vendredi 31 juillet 2015 03:17:27 UTC+2, Rob Beezer a écrit : MathBook XML is the XML application I am designing. It is a collection of XML tags meant to be usable for an author: chapter, section, theorem, example, exercise, etc. I have written converters to LaTeX (for PDF, print)

Re: [sage-devel] Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Johan S . R . Nielsen
Hi Rob, This is really very nice! I took my first steps in algebra reading Tom Judson's book on my own, quite some years ago. Already back then, math and programming were both major interests of mine. Having Tom Judson's book containing intriguing Sage examples and challenges makes it, it seems

[sage-devel] Mutability of matrices with no entries

2015-07-31 Thread Andrey Novoseltsev
Hello, While working on http://trac.sagemath.org/ticket/18613 I ran into the following problem: sage: matrix(2, 1).echelon_form().is_mutable() False sage: matrix(2, 0).echelon_form().is_mutable() True i.e. while usually echelon_form returns an immutable matrix this is not the case with

[sage-devel] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Rob Beezer
On Friday, July 31, 2015 at 3:47:56 AM UTC-7, Dima Pasechnik wrote: XML? I wish pandoc (http://pandoc.org/) could handle conversions to and from your format... Do people really want to write XML by hand? I tried it once (GAP docs can be prepared using XML) and was not amused. Just

[sage-devel] Re: [sage-edu] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Dima Pasechnik
On Friday, 31 July 2015 15:27:19 UTC+1, David Farmer wrote: In most cases, MathBook XML is not more cumbersome than LaTeX, particularly if you are using an editor which automatically inserts closing tags. You don't need a closing tag that can be inserted by software, as certainly is

Re: [sage-devel] Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Rob Beezer
Dear Johan, Thanks for taking the time to write. The encouragement helps! ;-) Rob -- 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: using lower case to name functionality/constructor after a person?

2015-07-31 Thread Andrey Novoseltsev
On Friday, 31 July 2015 02:59:26 UTC-6, Dima Pasechnik wrote: In various places one sees things like Graph.tutte_polynomial, Graph.lovasz_theta; whenever I see this (leave alone writing code like this) I feel this is a typo, and it must become Graph.Tutte_polynomial, etc. Am I alone here,

[sage-devel] Re: using lower case to name functionality/constructor after a person?

2015-07-31 Thread Nathann Cohen
I prefer lower case (you don't want to miss a method in tab-completion because of case). If it has to be upper case, then the best protection against missing functions is to update it everywhere in Sage, so that users expect it. Nathann On Friday, July 31, 2015 at 10:59:26 AM UTC+2, Dima

[sage-devel] using lower case to name functionality/constructor after a person?

2015-07-31 Thread Dima Pasechnik
In various places one sees things like Graph.tutte_polynomial, Graph.lovasz_theta; whenever I see this (leave alone writing code like this) I feel this is a typo, and it must become Graph.Tutte_polynomial, etc. Am I alone here, or this ought to be capitalised throughout? Dima -- You received

[sage-devel] Re: using lower case to name functionality/constructor after a person?

2015-07-31 Thread Dima Pasechnik
On Friday, 31 July 2015 10:22:50 UTC+1, Nathann Cohen wrote: I prefer lower case (you don't want to miss a method in tab-completion because of case). I swear I spent 15 minutes last night looking for graphs.Chang* ! Searched trac, searched the source, to no avail... (it's in fact

[sage-devel] Re: Sage-enabled textbook for Abstract Algebra

2015-07-31 Thread Dima Pasechnik
On Friday, 31 July 2015 02:17:27 UTC+1, Rob Beezer wrote: On Thursday, July 30, 2015 at 12:59:54 PM UTC-7, parisse wrote: I had a quick look, but I'm still a little bit confused how the source are written. Do you write your source files in xml or have you some kind of converter from a