Re: [sage-devel] abs(matrix)

2014-12-04 Thread David Roe
abs(matrix) is currently returning the determinant (and this goes back to the early implementation in 2006!). If anybody contests the fact that it should return the matrix whose entries are the absolute value of the initial matrix, please tell me. I don't think that it should be the matrix

[sage-devel] Re: abs(matrix)

2014-12-04 Thread Simon King
Hi! On 2014-12-04, David Roe roed.m...@gmail.com wrote: I don't think that it should be the matrix consisting of absolute values of entries, since that only works for matrices over a ring with an absolute value. Using it as a determinant is consistent with standard notation, though I agree

Re: [sage-devel] Re: abs(matrix)

2014-12-04 Thread Vincent Delecroix
Hi Simon, 2014-12-04 9:54 UTC+01:00, Simon King simon.k...@uni-jena.de: (posted on sage-support) Hi Vincent, On 2014-12-04, Vincent Delecroix 20100.delecr...@gmail.com wrote: sage: M = matrix(RR, [[-1]]) sage: abs(M) -1.00 So the problem is with abs(M). The reason is that

Re: [sage-devel] Re: abs(matrix)

2014-12-04 Thread David Roe
On Thu, Dec 4, 2014 at 2:04 AM, Vincent Delecroix 20100.delecr...@gmail.com wrote: Hi Simon, 2014-12-04 9:54 UTC+01:00, Simon King simon.k...@uni-jena.de: (posted on sage-support) Hi Vincent, On 2014-12-04, Vincent Delecroix 20100.delecr...@gmail.com wrote: sage: M = matrix(RR, [[-1]])

Re: [sage-devel] abs(matrix)

2014-12-04 Thread Vincent Delecroix
2014-12-04 9:32 UTC+01:00, David Roe roed.m...@gmail.com: abs(matrix) is currently returning the determinant (and this goes back to the early implementation in 2006!). If anybody contests the fact that it should return the matrix whose entries are the absolute value of the initial matrix,

Re: [sage-devel] abs(matrix)

2014-12-04 Thread David Roe
On Thu, Dec 4, 2014 at 2:13 AM, Vincent Delecroix 20100.delecr...@gmail.com wrote: 2014-12-04 9:32 UTC+01:00, David Roe roed.m...@gmail.com: abs(matrix) is currently returning the determinant (and this goes back to the early implementation in 2006!). If anybody contests the fact that it should

Re: [sage-devel] abs(matrix)

2014-12-04 Thread Peter Bruin
Hello, abs(matrix) is currently returning the determinant (and this goes back to the early implementation in 2006!). If anybody contests the fact that it should return the matrix whose entries are the absolute value of the initial matrix, please tell me. I don't think that it

Re: [sage-devel] Re: abs(matrix)

2014-12-04 Thread Jeroen Demeyer
On 2014-12-04 10:04, Vincent Delecroix wrote: All right, but in that case I would prefer that there is no __abs__ at all. What about deprecating its usage and later on return a ValueError? Surely not a ValueError! I could live with any of ArithmeticError, AttributeError, NotImplementedError and

Re: [sage-devel] Re: abs(matrix)

2014-12-04 Thread Vincent Delecroix
2014-12-04 10:22 UTC+01:00, Jeroen Demeyer jdeme...@cage.ugent.be: On 2014-12-04 10:04, Vincent Delecroix wrote: All right, but in that case I would prefer that there is no __abs__ at all. What about deprecating its usage and later on return a ValueError? Surely not a ValueError! I could live

Re: [sage-devel] Re: abs(matrix)

2014-12-04 Thread Jeroen Demeyer
On 2014-12-04 10:33, Vincent Delecroix wrote: It is not exactly what we want... the error message would be absolute value not defined for matrices. Well, the Sage convention seems to be to generalise ArithmeticError to include undefined mathematical operations, like factor(0). Of course, with

[sage-devel] Re: coeffs() coefficients()

2014-12-04 Thread Ralf Stephan
http://trac.sagemath.org/ticket/17438 This is now ready. Let's do some mutual review. First, not all expressions are polynomial expressions! Indeed, one reason I'm interested in this is symbolic power series: http://trac.sagemath.org/ticket/17399 Also, why such a hurry to remove stuff

[sage-devel] About SSLv3 security hole

2014-12-04 Thread Jori Mantysalo
Anyone knows how for fix SSLv3 hole on Sage? See http://trac.sagemath.org/ticket/17164 . -- Jori Mäntysalo

Re: [sage-devel] About SSLv3 security hole

2014-12-04 Thread Jan Groenewald
Hi Depend on the proper version high enough of openssl and it is fixed for you. (assuming sage server side) On client side your browser, say, firefox34, latest chrome, it is fixed. What situation is this for? A server for Tampere university? What version of openssl runs on which OS? PS. I

[sage-devel] Re: Looking for OSX buildbot

2014-12-04 Thread Dima Pasechnik
On 2014-12-01, Volker Braun vbraun.n...@gmail.com wrote: --=_Part_3157_1040776803.1417466369538 Content-Type: multipart/alternative; boundary==_Part_3158_1081423206.1417466369539 --=_Part_3158_1081423206.1417466369539 Content-Type: text/plain; charset=UTF-8 As some of

Re: [sage-devel] About SSLv3 security hole

2014-12-04 Thread kcrisman
Depend on the proper version high enough of openssl and it is fixed for you. (assuming sage server side) On client side your browser, say, firefox34, latest chrome, it is fixed. What situation is this for? A server for Tampere university? What version of openssl runs on which OS?

Re: [sage-devel] Looking for OSX buildbot

2014-12-04 Thread William Stein
On Mon, Dec 1, 2014 at 12:39 PM, Volker Braun vbraun.n...@gmail.com wrote: As some of you have heard, I'm about to move to Berlin to pursue some opportunities outside of academia. Will this opportunity mean more or less time to work on Sage? In particular, are you still going to have time to

[sage-devel] Re: [sage-edu] Re: Three European High Schools awarded to run a project in Sage and a new possible project in Sage.

2014-12-04 Thread kcrisman
Just curious on how that may have come along. At least for the notebook it would be great to have some additional localization - and it would be a good step toward localizing the cloud, or Sage proper, etc. I would love to do Hindi and Punjabi translations(Indian Languages).

[sage-devel] Re: Looking for OSX buildbot

2014-12-04 Thread Jean-Pierre Flori
On Thursday, December 4, 2014 3:38:18 PM UTC+1, Dima Pasechnik wrote: On 2014-12-01, Volker Braun vbrau...@gmail.com javascript: wrote: --=_Part_3157_1040776803.1417466369538 Content-Type: multipart/alternative; boundary==_Part_3158_1081423206.1417466369539

[sage-devel] Re: Looking for OSX buildbot

2014-12-04 Thread Volker Braun
Its not permitted by Apple. Whether it is legally enforceable depends on the jurisdiction. In Germany the Apple EULA is most likely not legally binding. On Thursday, December 4, 2014 2:38:18 PM UTC, Dima Pasechnik wrote: On 2014-12-01, Volker Braun vbrau...@gmail.com javascript: wrote:

Re: [sage-devel] Looking for OSX buildbot

2014-12-04 Thread Volker Braun
Less time, at least in the short term. But I think I can keep doing the release management for now. On Thursday, December 4, 2014 2:45:10 PM UTC, William wrote: On Mon, Dec 1, 2014 at 12:39 PM, Volker Braun vbrau...@gmail.com javascript: wrote: As some of you have heard, I'm about to

Re: [sage-devel] Re: Maple versus Mathematica

2014-12-04 Thread Kannappan Sampath
Hello everybody: On Mon, Dec 1, 2014 at 2:53 AM, Nathann Cohen nathann.co...@gmail.com wrote: Hello ! That's right. Do you (or any of the authors of this book...) know whether an English/German/Spanish/... translation or a similar project in another language is planned? That could be a

Re: [sage-devel] Re: abs(matrix)

2014-12-04 Thread Vincent Delecroix
We already have matrix.apply_map matrix.apply_morphism The name of the methods are really ambiguous since they apply the map (or the morphism) to the coefficients and not to the matrix. But not for this ticket... #17443 needs review again. Vincent -- You received this message because you

Re: [sage-devel] About SSLv3 security hole

2014-12-04 Thread Jan Groenewald
Hi https://docs.python.org/2.7/library/ssl.html#ssl.OP_NO_SSLv3 says New in version 2.7.9 and it looks like sage runs 2.7.8 (sage-sh) root@muizenberg:python2.7$ python --version Python 2.7.8 Once 2.7.9 is included, I think we can add here, for example: 0

[sage-devel] What are we unable to do right now ?

2014-12-04 Thread Nathann Cohen
Helloo everybody ! I am preparing some Sage talk, and I wanted to say at some point: Honestly we are not that good. We have strong points but we miss many things too. It all depends on what the developpers are interested in: we are great on some research areas, and under water level on others

[sage-devel] Re: What are we unable to do right now ?

2014-12-04 Thread Nathann Cohen
Weird to answer your own thread, but I think that we are bad for plots. Look at that: sage: graphs.RandomTree(40).show() sage: graphs.RandomTree(40).show(method=js) The first one is a picture, the second uses d3.js. You can do a lot of crazy things with it, and it is done in javascript:

Re: [sage-devel] About SSLv3 security hole

2014-12-04 Thread Jori Mantysalo
On Thu, 4 Dec 2014, Jan Groenewald wrote: Depend on the proper version high enough of openssl and it is fixed for you. (assuming sage server side) On client side your browser, say, firefox34, latest chrome, it is fixed. What situation is this for? A server for Tampere university? What version

Re: [sage-devel] About SSLv3 security hole

2014-12-04 Thread Jan Groenewald
Hi I'm not sure, but perhaps if you change this: 0 root@muizenberg:/usr/lib/ sagemath/local/lib/python2.7/site-packages#grep -r SSLv23 * sagenb-0.11.1-py2.7.egg/sagenb/notebook/run_notebook.py: ssl_context = SSL.Context(SSL.SSLv23_METHOD) to ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLSv1)