[sage-combinat-devel] Re: The queue on 5.6.beta2

2013-01-05 Thread Hugh Thomas
Thanks, Travis and Christian! Christian, it looks like your patch trac_11187-finite_reflection_groups-cs.patch imports UCF on sage startup, which means that removing UCF meant sage wouldn't start with the queue applied. This was affecting all versions, not just 5.6 betas, so I went ahead

[sage-devel] Re: Attribute errors with polynomials

2013-01-05 Thread Volker Braun
On Saturday, January 5, 2013 4:50:35 AM UTC, Nils Bruin wrote: Perhaps more importantly: What is to be gained with the added indirection of abs Naming consistency. It makes it clear that you are supposed to implement absolute value through __abs__() and not norm() or absolute_value() etc.

Re: [sage-devel] Re: Attribute errors with polynomials

2013-01-05 Thread Nathann Cohen
Naming consistency. It makes it clear that you are supposed to implement absolute value through __abs__() and not norm() or absolute_value() etc. O_O What the hell ? You are *NOT* supposed to implement an abs() method, because such a method does not necessarily make sense ! And by the way,

Re: [sage-devel] Preferred way to patch the Mac app?

2013-01-05 Thread Ivan Andrus
I know I've fixed this before. It took a while to find because it made it into the patch at #11026 (which would be a great ticket to have finished). It's there because the issue came up during testing. So if you have some time it would be great to get it reviewed. IIRC it only needed to be

Re: [sage-devel] Re: Attribute errors with polynomials

2013-01-05 Thread Volker Braun
On Saturday, January 5, 2013 8:45:47 AM UTC, Nathann Cohen wrote: What the hell ? You are *NOT* supposed to implement an abs() method, because such a method does not necessarily make sense ! There is certainly an argument to be made that abs() should or should not be defined by default. But

Re: [sage-devel] Re: sage 5.6.beta1 build error (mercurial-2.2.2.p0) on OS X 10.8.2

2013-01-05 Thread Volker Braun
Can you post your updated spkgs to http://trac.sagemath.org/sage_trac/ticket/13309, or at least the diffs? On Wednesday, January 2, 2013 12:26:12 PM UTC, Robert Zeier wrote: I ended up patching also python and R in the same way as mercurial. @Volker: Thanks for showing me how to do this.

[sage-devel] Re: Attribute errors with polynomials

2013-01-05 Thread Simon King
Hi John, On 2013-01-05, john_perry_usm john.pe...@usm.edu wrote: thinking of how java interfaces multiple inheritance work: wouldn't it be possible to have an interface orabstract class that defines an abstract function abs, along with associated functions that require an abs functions, then

[sage-devel] Re: Attribute errors with polynomials

2013-01-05 Thread Dima Pasechnik
On 2013-01-05, Simon King simon.k...@uni-jena.de wrote: Hi John, On 2013-01-05, john_perry_usm john.pe...@usm.edu wrote: thinking of how java interfaces multiple inheritance work: wouldn't it be possible to have an interface orabstract class that defines an abstract function abs, along with

[sage-devel] Re: Attribute errors with polynomials

2013-01-05 Thread Simon King
Hi Dima, On 2013-01-05, Dima Pasechnik dimp...@gmail.com wrote: On 2013-01-05, Simon King simon.k...@uni-jena.de wrote: sage: a.abs # but that's good: NotImplemented this is still a hack, as R() might in principle not have anything to do with abs(). In such a case NotImplemented is

[sage-devel] Re: Attribute errors with polynomials

2013-01-05 Thread Dima Pasechnik
On 2013-01-05, Simon King simon.k...@uni-jena.de wrote: Hi Dima, On 2013-01-05, Dima Pasechnik dimp...@gmail.com wrote: On 2013-01-05, Simon King simon.k...@uni-jena.de wrote: sage: a.abs # but that's good: NotImplemented this is still a hack, as R() might in principle not have

[sage-devel] Stampede Cluster with Intel's Many Integrated Core (MIC) coprocessors

2013-01-05 Thread Brad Burkman
The Texas Advanced Computing Center (TACC) is opening its Stampede cluster on Monday. Many of its nodes have the new Intel Many Integrated Core (MIC) coprocessor, which has more than fifty processor cores and shared memory. It's like a GPU accelerator, but easier. TACC is giving two days of

[sage-devel] Re: Stampede Cluster with Intel's Many Integrated Core (MIC) coprocessors

2013-01-05 Thread Volker Braun
Fundamentally, the Xeon Phi programming model is not really that much different from OpenCL/Cuda. You send data to the coprocessor card, run some code there, and pull back the result to the host CPU. It doesn't speed up anything that is not specifically targeted at the coprocessor card. If

Re: [sage-devel] Re: Stampede Cluster with Intel's Many Integrated Core (MIC) coprocessors

2013-01-05 Thread Thierry Dumont
Le 05/01/2013 16:23, Volker Braun a écrit : Fundamentally, the Xeon Phi programming model is not really that much different from OpenCL/Cuda. You send data to the coprocessor card, run some code there, and pull back the result to the host CPU. It doesn't speed up anything that is not

[sage-devel] Re: How to make Sage worksheets publically available

2013-01-05 Thread Jason Grout
On 1/4/13 8:11 PM, William Stein wrote: On Fri, Jan 4, 2013 at 2:50 PM, Dan Drake ddr...@pugetsound.edu mailto:ddr...@pugetsound.edu wrote: On Fri, 04 Jan 2013 at 11:30AM +, John Cremona wrote: Have others found a good solution to this? I don't have a good solution (yet),

[sage-devel] Re: Attribute errors with polynomials

2013-01-05 Thread Nils Bruin
On Jan 5, 1:27 am, Volker Braun vbraun.n...@gmail.com wrote: Also, x.__abs__() is just the Python magic method for abs(x). The function call syntax abs(x) will always call __abs__ and return an AttributeError if it is not defined. So all we have is an x.abs() method that behaves exactly like

Re: [sage-devel] Re: Attribute errors with polynomials

2013-01-05 Thread Nathann Cohen
* delete 'RingElement.abs'. Then any subclass that wants absolute values needs to implement __abs__ (that's necessary anyway) and, if it wants the method accessible in another form as well, also a suitable 'abs'. I could see why that's not so desirable +1 ! Nathann -- You received this

Re: [sage-devel] Preferred way to patch the Mac app?

2013-01-05 Thread Nicholas Kirchner
I've taken a look at trac ticket 11026, and I'll comment there as soon as my account is approved. For now: I'm on OS X Lion, using the Browser bundled with Sage.app. 1. It does start and stop the server. Starting the server initializes three python2.7 processes. Two of them are ~100MB and

Re: [sage-devel] Preferred way to patch the Mac app?

2013-01-05 Thread Ivan Andrus
On Jan 5, 2013, at 8:59 PM, Nicholas Kirchner kirc0...@umn.edu wrote: I've taken a look at trac ticket 11026, and I'll comment there as soon as my account is approved. For now: I'm on OS X Lion, using the Browser bundled with Sage.app. 1. It does start and stop the server. Starting the

Re: [sage-devel] Preferred way to patch the Mac app?

2013-01-05 Thread kcrisman
On Saturday, January 5, 2013 2:59:49 PM UTC-5, Nicholas Kirchner wrote: I've taken a look at trac ticket 11026, and I'll comment there as soon as my account is approved. For now: That's awesome! Up to now, I've basically had to be the reviewer for the Mac App tickets, and unfortunately