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

2014-12-01 Thread Dr. David Kirkby (Kirkby Microwave Ltd)
On 1 Dec 2014 05:48, William Stein wst...@gmail.com wrote: Mathematica has weak coverage across much of mathematics related to algebraic geometry, arithmetic geometry, number theory and group theory. In particular, as a specialist in computational number theory, I find the functionality in

[sage-devel] Re: Maple versus Mathematica

2014-12-01 Thread mmarco
Going to concrete proposals, i would create a wiki page where people could start writing small comparisons that they know in concrete cases. Maybe when we have enough of such material it would be easier to write a nice marketing document. P.S. I am not sure if such kind of marketing would be

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

2014-12-01 Thread Harald Schilly
On Mon, Dec 1, 2014 at 12:00 PM, mmarco mma...@unizar.es wrote: There are some european laws against comparative advertising. I assume this does only apply for actual advertising. Nobody is going to show those comparisons on TV ;-) P.S. 2: Is there some easy way to embed sagecell code in a

[sage-devel] Do we have a deprecated_module_alias ?

2014-12-01 Thread Nathann Cohen
Hello everybody ! I just met two situations in which we need to rename a module: 1) not in the right folder; or 2) not the right name. Do we currently have a deprecated_module_alias implemented in a way that I did not notice ? We would need to have a fake module pointing toward the real one,

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

2014-12-01 Thread Bruno Grenet
Le 01/12/2014 08:53, Nathann Cohen a écrit : Kanappan wanted to work on an english translation at some point, but there was no news since and he work in Canada nowadays. Not sure that he has a lot of time for that. I guess the number of available books on Maple and Mathematica is a reason for

Re: [sage-devel] Do we have a deprecated_module_alias ?

2014-12-01 Thread Vincent Delecroix
Hello, As far as I can see (in sage.misc.superseded, no). Might be useful to have one. But where would you define it ? in the new module ? in the all.py of the parent module ? as the unique line in the old file ? Note that it might be tricky to declare if you do not want it in the global

Re: [sage-devel] Re: sage-6.4 fallout: the normaliz package is now broken

2014-12-01 Thread Dima Pasechnik
On Saturday, 29 November 2014 21:56:32 UTC, William wrote: On Tue, Nov 18, 2014 at 5:53 AM, Dima Pasechnik dim...@gmail.com javascript: wrote: On 2014-11-15, William Stein wst...@gmail.com javascript: wrote: Hi, I guess the upgrade to patch broke more optional packages:

Re: [sage-devel] Re: sage-6.4 fallout: the normaliz package is now broken

2014-12-01 Thread William Stein
On Mon, Dec 1, 2014 at 6:37 AM, Dima Pasechnik dimp...@gmail.com wrote: On Saturday, 29 November 2014 21:56:32 UTC, William wrote: On Tue, Nov 18, 2014 at 5:53 AM, Dima Pasechnik dim...@gmail.com wrote: On 2014-11-15, William Stein wst...@gmail.com wrote: Hi, I guess the upgrade to

Re: [sage-devel] Re: sage-6.4 fallout: the normaliz package is now broken

2014-12-01 Thread Dima Pasechnik
I cc'd you on the ticket, where 2.8 is already patched (trivially). On Monday, 1 December 2014 14:44:37 UTC, William wrote: On Mon, Dec 1, 2014 at 6:37 AM, Dima Pasechnik dim...@gmail.com javascript: wrote: On Saturday, 29 November 2014 21:56:32 UTC, William wrote: On Tue, Nov

Re: [sage-devel] Re: sage-6.4 fallout: the normaliz package is now broken

2014-12-01 Thread Dima Pasechnik
On Monday, 1 December 2014 15:01:36 UTC, Dima Pasechnik wrote: I cc'd you on the ticket, where 2.8 is already patched (trivially). (forgot to add that it is #17426 ) On Monday, 1 December 2014 14:44:37 UTC, William wrote: On Mon, Dec 1, 2014 at 6:37 AM, Dima Pasechnik dim...@gmail.com

Re: [sage-devel] Re: sage-6.4 fallout: the normaliz package is now broken

2014-12-01 Thread William Stein
On Mon, Dec 1, 2014 at 7:03 AM, Dima Pasechnik dimp...@gmail.com wrote: On Monday, 1 December 2014 15:01:36 UTC, Dima Pasechnik wrote: I cc'd you on the ticket, where 2.8 is already patched (trivially). (forgot to add that it is #17426 ) Thanks -- I've now installed it everywhere in

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

2014-12-01 Thread Emmanuel Charpentier
Le lundi 1 décembre 2014 15:09:53 UTC+1, Bruno Grenet a écrit : Le 01/12/2014 08:53, Nathann Cohen a écrit : Kanappan wanted to work on an english translation at some point, but there was no news since and he work in Canada nowadays. Not sure that he has a lot of time for that. I

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

2014-12-01 Thread Nathann Cohen
Hello Paul ! I grab this occasion to suggest to Paul Zimmerman and his crew to (try to) create an epub version of their marvelous book : reading a pdf on a small tablet or a phone is *not* fun... If I knew where to find the *LaTeX* source of this book (converting a PDF isn't worth the

[sage-devel] Re: Do we have a deprecated_module_alias ?

2014-12-01 Thread Travis Scrimshaw
There's a deprecation keyword one can use with lazy_import. See combinat/crystals/all.py for examples. Best, Travis On Monday, December 1, 2014 5:54:08 AM UTC-8, Nathann Cohen wrote: Hello everybody ! I just met two situations in which we need to rename a module: 1) not in the right

[sage-devel] Re: Sage.app binary problems

2014-12-01 Thread kcrisman
I, just downloaded the Sage.app (OSX 10.9) from 2 different server and the resulting downloads didn't give the Sage.app, but simply the src Maybe theres a problems? It's conceivable that the mirrors were still updating, though in that case I thought there would be no link at all. Is this

Re: [sage-devel] Re: Do we have a deprecated_module_alias ?

2014-12-01 Thread Vincent Delecroix
Hi Travis, I am not sure that it is what Nathann wanted. The all.py in crystals deprecate objects from the global namespace but not modules. In particular, you do not have something which behave like {{{ sage: import old_module Warning: Deprecation !! See trac ticket #42 for more info! sage:

Re: [sage-devel] Re: proposed amendment to code of conduct

2014-12-01 Thread kcrisman
Agreed. Most everybody would consider it a very positive outcome if there were a replacement thing of conduct that addresses the concerns many people have raised and gets passed almost unanimously. Please yes. -- You received this message because you are subscribed to the Google

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

2014-12-01 Thread Nathann Cohen
Okay this does not seem like it will be settled in two mails, so let's do this off the mailing list 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 it, send an email to

Re: [sage-devel] Re: proposed amendment to code of conduct

2014-12-01 Thread Nicolas M. Thiery
On Sat, Nov 29, 2014 at 01:35:05PM +0100, Thierry wrote: If a single person (or a small group) organizes the decision process for the community, then it is not by the community. I think this organizational task is also a collective task (this prevents situations like the one that is

Re: [sage-devel] The code of conduct is getting out of hand - please stop for 2 weeks.

2014-12-01 Thread Nicolas M. Thiery
On Sat, Nov 29, 2014 at 12:20:25PM +, John Cremona wrote: I entirely agree. This has been worse than anything which has been on Sage-devel since I joined it in 2007. Well, I have witnessed what felt far worst. In particular when comparing the level of emotion to the actual difficulty of

[sage-devel] Re: Sage.app binary problems

2014-12-01 Thread Samuel Lelievre
Mon 2014-12-01 17:20:19 UTC+1, kcrisman wrote: I, just downloaded the Sage.app (OSX 10.9) from 2 different server and the resulting downloads didn't give the Sage.app, but simply the src Maybe theres a problems? It's conceivable that the mirrors were still updating, though in that case

[sage-devel] possible issue with DiGraph in interval fields

2014-12-01 Thread Ben Hutz
I was experimenting with the perperiodic cyclegraph code and came across something with the ComplexIntervalField. Just to get some interesting points I computed the QQ-rational preperiodic points for a function and simply moved them around with change_ring() and recreated the associated

Re: [sage-devel] Problem with extern C in c_lib and C++ reference

2014-12-01 Thread Paulo César Pereira de Andrade
2014-12-01 0:41 GMT-02:00 François Bissey francois.bis...@canterbury.ac.nz: In sage-on-gentoo I don't seem to hit that problem with 4.9.2 either. I am really curious about your default building flags. Actually, it was partly my fault. I was using an early patch to adapt to use ntl6, what is

[sage-devel] Re: possible issue with DiGraph in interval fields

2014-12-01 Thread Nathann Cohen
Hello ! D={} for t in G: D.update({t:[F(t)]}) DiGraph(D) I have several bad answers to give you: 1) There is a bug in what you see, and it is not your fault. Indeed, some of your points are equal but they have a different hash. This confuses dictionaries (and graphs). 2) I hope that

[sage-devel] Re: possible issue with DiGraph in interval fields

2014-12-01 Thread Nils Bruin
On Monday, December 1, 2014 9:46:04 AM UTC-8, Ben Hutz wrote: D={} for t in G: D.update({t:[F(t)]}) The keys here aren't necessarily a problem yet, provided preperiodic is careful. However, the values here are computed from an imprecise t and you're hoping that their values will be

Re: [sage-devel] Re: Slow Poset creation and UniqueRepresentation

2014-12-01 Thread Nathann Cohen
Hello ! Nils mentionned in #17408 [1] that we may *not* need Posets to be parents. The facade Posets (i.e. the default ones) are parents, and it seems that this is the reason why they have been made UniqueRepresentation. Could anybody confirm that ? Also, would anybody know how to make it

Re: [sage-devel] Re: possible issue with DiGraph in interval fields

2014-12-01 Thread Nathann Cohen
Yo ! Interval fields apparently hide this (intervals are equal if they have non-empty intersection?), but of course hash cannot respect this, because this notion of equality isn't transitive. The bug is that CIF elements are hashable at all. I see. Graphs would not like non-transitive

[sage-devel] Re: Slow Poset creation and UniqueRepresentation

2014-12-01 Thread Simon King
Hi Nathann, On 2014-12-01, Nathann Cohen nathann.co...@gmail.com wrote: The problem here is that inheriting from UniqueRepresentation wastes a *LOT* of time on some computations [2], and is actually the most costly part of the creation of some posets. Also, the current behaviour makes it

Re: [sage-devel] Re: possible issue with DiGraph in interval fields

2014-12-01 Thread Ben Hutz
Yes, I agree the hash should be different as the points are not exactly the same interval. However, in trying to explore the interval comparison this also may have exposed a bug in the equality check for projective points. Since the CIF is returning False for == and != the __eq__ check for

Re: [sage-devel] Re: Slow Poset creation and UniqueRepresentation

2014-12-01 Thread Nathann Cohen
Hello ! Is it clear why their not freed, even though UniqueRepresentation only puts a *weak* reference to them (it uses a weak value dictionary)? I have no idea, nor guess, on the matter O_o Nathann -- You received this message because you are subscribed to the Google Groups sage-devel

[sage-devel] Re: Sage.app binary problems

2014-12-01 Thread kcrisman
I, just downloaded the Sage.app (OSX 10.9) from 2 different server and the resulting downloads didn't give the Sage.app, but simply the src Maybe theres a problems? It's conceivable that the mirrors were still updating, though in that case I thought there would be no link at all. Is

Re: [sage-devel] Re: possible issue with DiGraph in interval fields

2014-12-01 Thread Nathann Cohen
With that in mind, it seems that DiGraph is fine as those points are differing in both hash and ==, correct? DiGraphs consider that two points u,v with u==v are the same points. If those (equal) points have different hash values, I have no idea of what happens (including memory leaks,

[sage-devel] Re: Sage.app binary problems

2014-12-01 Thread Volker Braun
Can somebody tell me for sure that the current osx binary is wrong? The app and dmg have different sizes. On Monday, December 1, 2014 6:54:29 PM UTC, kcrisman wrote: I, just downloaded the Sage.app (OSX 10.9) from 2 different server and the resulting downloads didn't give the Sage.app,

[sage-devel] Re: Slow Poset creation and UniqueRepresentation

2014-12-01 Thread Nils Bruin
On Monday, December 1, 2014 10:44:44 AM UTC-8, Simon King wrote: Is it clear why their not freed, even though UniqueRepresentation only puts a *weak* reference to them (it uses a weak value dictionary)? I don't think it's a memory *leaking* issue this time. My impression is that they're

Re: [sage-devel] Problem with extern C in c_lib and C++ reference

2014-12-01 Thread François Bissey
On Mon, 01 Dec 2014 16:04:28 Paulo César Pereira de Andrade wrote: Actually, it was partly my fault. I was using an early patch to adapt to use ntl6, what is no longer required as sagemath now uses ntl6. Just removing that patch correct the problem. But, the patch was working previously,

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

2014-12-01 Thread Vincent Delecroix
It is open source document... so the sources are on the web (and advertised on the main webpage http://sagebook.gforge.inria.fr/) http://dl.lateralis.org/public/sagebook/sagebook-1.0.tar.bz2 Vincent 2014-12-01 17:48 UTC+01:00, Nathann Cohen nathann.co...@gmail.com: Okay this does not seem like

[sage-devel] Looking for OSX buildbot

2014-12-01 Thread Volker Braun
As some of you have heard, I'm about to move to Berlin to pursue some opportunities outside of academia. Our current OSX buildbot actually belongs to Oxford so it is highly likely that I'll have to leave it behind. So, if you have a OSX machine to run the buildbot on, now would be a good time

Re: [sage-devel] Re: Do we have a deprecated_module_alias ?

2014-12-01 Thread Travis Scrimshaw
IIRC, the deprecation message is printed when the module is actually imported. To do what you're suggesting, one could add a call to deprecation() at the module level (which is executed when the import is called). Best, Travis On Monday, December 1, 2014 8:22:34 AM UTC-8, vdelecroix wrote:

[sage-devel] Re: Slow Poset creation and UniqueRepresentation

2014-12-01 Thread Simon King
Hi Nils, On 2014-12-01, Nils Bruin nbr...@sfu.ca wrote: I don't think it's a memory *leaking* issue this time. Good tidings :) They are not using POSets as parents--they are using them as elements. Aha! That's interesting. I think I have discussed it with Nicolas at some point. In fact, it

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

2014-12-01 Thread Emmanuel Charpentier
Le lundi 1 décembre 2014 21:23:55 UTC+1, vdelecroix a écrit : It is open source document... so the sources are on the web (and advertised on the main webpage http://sagebook.gforge.inria.fr/) http://dl.lateralis.org/public/sagebook/sagebook-1.0.tar.bz2 I was aware of this one : it is

Re: [sage-devel] Re: possible issue with DiGraph in interval fields

2014-12-01 Thread Ben Hutz
Yes, Nathan I see, that may also be an issue. However, in looking further into my particular example, it *shouldn't* be returning that those projective points are ==. I opened a bug (#17429) and will fix it soon. On Monday, December 1, 2014 1:54:28 PM UTC-5, Nathann Cohen wrote: With that in

[sage-devel] Re: Slow Poset creation and UniqueRepresentation

2014-12-01 Thread Nils Bruin
On Monday, December 1, 2014 12:49:27 PM UTC-8, Simon King wrote: Hmm. Sounds like a mess. But I do think one should have a general mechanism (UniqueRepresentationOptional or so) with which one can choose by an optional argument whether caching and comparison by identity should be used or

Re: [sage-devel] Do we have a deprecated_module_alias ?

2014-12-01 Thread Jeroen Demeyer
On 2014-12-01 14:54, Nathann Cohen wrote: Hello everybody ! I just met two situations in which we need to rename a module: 1) not in the right folder; or 2) not the right name. Use lazy imports. Have a deprecated module containing from sage.misc.lazy_import import lazy_import

[sage-devel] Fwd: Try Mathematica desktop + online for free

2014-12-01 Thread Dr. David Kirkby
For anyone interested, it is possible to get a 15-day trial of the online version of the world's ultimate computation system. It might be worth comparing the experience with Sage. Original Message Subject: Try Mathematica desktop + online for free Date: Mon, 27 Oct 2014

[sage-devel] matplotlib compile error

2014-12-01 Thread Stefan
I'm trying to build 6.5.beta1 on my Mac with OSX 10.7.5. I manually applied #17397, but my compilation breaks on matplotlib. Here's the log: Found local metadata for matplotlib-1.3.1 Found local sources at /Users/stefan/sage/upstream/matplotlib-1.3.1.tar.gz Checksum:

Re: [sage-devel] matplotlib compile error

2014-12-01 Thread François Bissey
It looks like pkg-config has not been installed or the dependencies for matplotlib aren't there yet. freetype and png should be discovered through pkg-config and they aren't in your case. Did you make distclean before starting to build again? Francois On Mon, 01 Dec 2014 17:17:07 Stefan wrote:

[sage-devel] Re: Maple versus Mathematica

2014-12-01 Thread Jason Grout
On 12/1/14, 6:00, mmarco wrote: P.S. 2: Is there some easy way to embed sagecell code in a wiki? Yes, we have plugins for MoinMoin, Dokuwiki, and Drupal. See the interact pages at http://wiki.sagemath.org/interact/ for examples of how to do this on the Sage wiki. Jason -- You

Re: [sage-devel] Do we have a deprecated_module_alias ?

2014-12-01 Thread Nathann Cohen
Use lazy imports. Have a deprecated module containing from sage.misc.lazy_import import lazy_import lazy_import('new_module', '*', deprecation=...) This will lazily-import-with-deprecation everything from new_module into old_module. Arg... Of course ! :-D Nathann -- You

[sage-devel] Re: Try Mathematica desktop + online for free

2014-12-01 Thread Nathann Cohen
For anyone interested, it is possible to get a 15-day trial of the online version of the world's ultimate computation system. It might be worth comparing the experience with Sage. I will try it ! Thanks ! With over 700 new functions--the single biggest jump in new functionality in the

Re: [sage-devel] matplotlib compile error

2014-12-01 Thread Stefan
On Tuesday, December 2, 2014 2:22:28 PM UTC+13, François wrote: It looks like pkg-config has not been installed or the dependencies for matplotlib aren't there yet. freetype and png should be discovered through pkg-config and they aren't in your case. Did you make distclean before

[sage-devel] About Graph.to_partition and Poset.to_graph

2014-12-01 Thread Nathann Cohen
Hello everybody ! I come back again with a problem that was forgotten but never solved. It is FindStat related. 1) here are two functions in Sage named Poset.to_graph and Graph.to_partition. Those two functions have a common point: their name is rather vague. Poset.to_graph) There are three