Re: [sage-combinat-devel] combinatorial statistics

2014-05-28 Thread Viviane Pons
I find it quite difficult now to follow this thread, I see the answer to some emails that are not even in the thread... Anyway, I just want to answer to this specific sentence of Nathan: This is only technical issues, nothing more. But I hate that it takes one year to see it fixed. Well, Nathan,

[sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread mmarco
A slightly unrelated problem: Would it be possible to include the findstat functionality in sage? That is, i have a bunch of pairs (permutation, number), then call the function findtsta on them, and get a list of possible ways that the numbers can me computed from the permutations. All inside

Re: [sage-combinat-devel] combinatorial statistics

2014-05-28 Thread Nathann Cohen
Yo ! I find it quite difficult now to follow this thread, I see the answer to some emails that are not even in the thread... This is because it was sent to both sage-devel and sage-combinat. After a while somebody anwers to only one group and mess follows. Anyway, I just want to answer to

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Nathann Cohen
Would it be possible to include the findstat functionality in sage? It is possible to write the code, and desirable. As the Sage is open-source, you are also welcome to give it a try if you need the feature. Sage already queries the OEIS, though for FindStat you will probably have to design some

Re: [sage-combinat-devel] combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Since you ask, here is a thread where you have insulted me repeatedly: http://trac.sagemath.org/ticket/16403 Others might think I have asked for it, but that's a different question, and we can have that debate too if you want. But if we are going to have that debate, I would ask that you first

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Christian Stump
Would it be possible to include the findstat functionality in sage? That is, i have a bunch of pairs (permutation, number), then call the function findtsta on them, and get a list of possible ways that the numbers can me computed from the permutations. All inside sage, without need to go to

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Hi Mmarco, This is a functionality many of us would want too. The question that is unclear is how to implement it in the best way. What Nathann refers to as some kind of protocol to transfer the combinatorial objects is a very hard problem. Fortunately, many people are starting to realise that

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
-- It will not be possible (say within the next two years, except the unlikely event that I will a lottery without participating, and then spend some money to hire a professional programmer) to only query the statistics data, and do the computations within your own Sage. Just to make this

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Christian Stump
Just to make this statement more precise: it will not be possible within the next two years if Mmarco relies on your availability for this (there is no blame in that statement, it's just a clarification that others might be willing to work on this problem). It is not a problem -- it's the

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Vincent Delecroix
It seems that actually nobody read my initial post on that thread... so let me repeat There are two disjoint tasks: - add semantic to Map and Morphism (Sage) - gather the list of meaningful maps (Sage/FindStat) First of all, most of us agree that we need more semantic at the level of maps.

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Christian Stump
It seems that actually nobody read my initial post on that thread... so let me repeat I did -- but didn't really have any qualified contribution... But the semantic has to be implemented at the level of maps not at the level of methods. could you explain what you mean there (maybe using

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Vincent Delecroix
Hi Christian, 2014-05-28 11:32 UTC+02:00, Christian Stump christian.st...@gmail.com: It seems that actually nobody read my initial post on that thread... so let me repeat I did -- but didn't really have any qualified contribution... But the semantic has to be implemented at the level of

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Vincent, I did read your email, which is very good. Thank you for posting. Unfortunately it is too focused for my taste. I would like to solve the generic problem of how to put in semantic information in sage first. Many might say let's solve one problem first, but in my mind it is already three

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Christian Stump
The second step would be to think how to add semantic to the map. Part of is already managed by the axioms/categories (for example a Morphism between GradedSets preserve the grading). But there is nothing for injectivity/surjectivity or more subtle properties. Thanks for the clarification! I

[sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Simon King
Hi Vincent, On 2014-05-28, Vincent Delecroix 20100.delecr...@gmail.com wrote: A method ( = a Python function) is not a Sage Map ( = a Python object that model a mathematical function). I would like first to convert the method into a map Which is trivially possible, see

[sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Simon King
Hi Christian, On 2014-05-28, Christian Stump christian.st...@gmail.com wrote: -- Can I turn any method in Sage which mimics a mathematical function into a map in the above sense? To put it differently: Is it right that there are always (or almost always) parents available to use as domain and

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Christian Stump
Ceterum censeo: Please do not put too much semantic into an attribute of the map. It will be a burden for the map, will cost memory, and will be difficult to search. I would personally really like to get semantic information about maps implemented in Sage. This starts with automated

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Christian's point is key. The absolute hardest problem to solve is where to anchor semantic information so that others can contribute to it easily, because his project requires lots of microcontributions (cf. Nielsen's Reinventing Discovery) Right now, by lack of a better place, it is put in sage.

[sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Simon King
Hi Christian, On 2014-05-28, Christian Stump christian.st...@gmail.com wrote: But how am I then convincing someone knowing that information to add that information there? Ask him/her to put @combinatorial_map in front of the method in question. In other words, there should be no need to change

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Vincent Delecroix
Hi Christian, 2014-05-28 15:21 UTC+02:00, Christian Stump christian.st...@gmail.com: The second step would be to think how to add semantic to the map. Part of is already managed by the axioms/categories (for example a Morphism -- How do you think more semantic should be implemented? As a dict

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Nathann Cohen
Yo ! I agree 100% with your summary, Simon, except that 1) Nathann will have to say himself whether he agrees or not; I think that the first time I said it was on the 20/6/2013 (one year ago): https://groups.google.com/d/msg/sage-devel/SnPfidRM9j8/u7f4X-cLlrsJ Quote : Well, just returning the

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Vincent Delecroix
Hi Paul, 2014-05-28 17:42 UTC+02:00, Paul-Olivier Dehaye paul-olivier.deh...@math.uzh.ch: I agree 100% with your summary, Simon, except that 1) Nathann will have to say himself whether he agrees or not; Please at some point stop the flame. 2) A decision should be made whether it is valid to

Re: [sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Viviane Pons
I think we all agree on this idea now (that the decorator should not wrap the method), so there is no point in keeping the argument. Still, I have asked a few questions on which I'd like you guys opinions: - what's the best way to store this information? Nathan and Simon mentioned database,

Re: [sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Vincent Delecroix
Hi Vivianne, 2014-05-28 19:32 UTC+02:00, Viviane Pons vivianep...@gmail.com: I think we all agree on this idea now (that the decorator should not wrap the method), so there is no point in keeping the argument. Still, I have asked a few questions on which I'd like you guys opinions: - what's

[sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread 'Martin R' via sage-combinat-devel
E.g., it should know domain and codomain, and it should know what category it belongs to. I think it makes sense to let a morphism know whether it is injective or surjective. However, additional information that is certainly interesting to researchers (e.g.: Was first defined by John

[sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Simon King
Hi Paul, On 2014-05-28, Paul-Olivier Dehaye paul-olivier.deh...@math.uzh.ch wrote: Two comments: - Nathann is arguing that no empty methods/classes should be present. Is he? Sorry, then this is a point where Nathann and I do not agree. I find abstract methods useful. I thought that his main

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Nathann Cohen
Hello !!! Is he? Sorry, then this is a point where Nathann and I do not agree. I don't even know what I think anymore. With the turn that events take, I think I don't even need to think anymore. I think that I will think what you think I think, it is much easier for me. find abstract methods

[sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread 'Martin R' via sage-combinat-devel
OK, great, thanks for clarifying! Am Mittwoch, 28. Mai 2014 20:53:36 UTC+2 schrieb Simon King: Hi Martin, On 2014-05-28, 'Martin R' via sage-combinat-devel sage-comb...@googlegroups.com javascript: wrote: E.g., it should know domain and codomain, and it should know what category it

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Hi Vincent The wikipedia definition of flaming has the words hostile and insulting. I have certainly been hostile towards Nathann, and have explicitly explained to him early on why he was wrong and why I was being hostile. It is part of academic discourse to have heated discussions, because we

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
@Nathann, Simon: There is certainly a lot of misunderstandings between all of us. Both ways. The discussion was started because of a suggestion, turned into a ticket written by Nathann. Currently that ticket's description is in complete contradiction to what you seem to describe on the mailing

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
At some point we will need a summary, or to use something better than mailing lists to discuss this. Paul Paul-Olivier Dehaye SNF Professor of Mathematics University of Zurich skype: lokami_lokami (preferred) phone: +41 76 407 57 96 chat: pauloliv...@gmail.com twitter: podehaye freenode irc:

Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
I think an argument that this function is badly named is very sensible. Maybe a better name would be to_component_sizes. Why not just try changing the name, and see how much work that is for the findstat group to adapt. It might be that this does not want to be named, after all, and that simply an

[sage-combinat-devel] Project: add hundreds of contributors to sage

2014-05-28 Thread Paul-Olivier Dehaye
Again, in the big wave of emails, this one also got misdirected: Hi everyone, I am looking for people who want to help me, in one way or another, bring hundreds of new first time contributors to sage. If I do not find enough partners, I will look for other more suitable python-based projects.

Re: [sage-combinat-devel] Diversity to foster sage development

2014-05-28 Thread William Stein
On Wed, May 28, 2014 at 3:29 PM, Paul-Olivier Dehaye paul-olivier.deh...@math.uzh.ch wrote: In the big wave of emails exchanged today, I sent this one, by accident to the wrong mailing list. I recopy it below: When I went to pycon, the most important thing I learned is the importance of a

Re: [sage-combinat-devel] Project: add hundreds of contributors to sage

2014-05-28 Thread William Stein
On Wed, May 28, 2014 at 3:30 PM, Paul-Olivier Dehaye paul-olivier.deh...@math.uzh.ch wrote: Again, in the big wave of emails, this one also got misdirected: Hi everyone, I am looking for people who want to help me, in one way or another, bring hundreds of new first time contributors to sage.

Re: [sage-combinat-devel] Diversity to foster sage development

2014-05-28 Thread Paul-Olivier Dehaye
Out of my confused state after a long day: I think I still want sage to be a free open source alternative , and its primary audience to be typical users of the Ma's. But the Ma's have indeed evolved since 2005. Maybe it might be worth, as a start, listing how they have changed? The goal of the

Re: [sage-combinat-devel] Diversity to foster sage development

2014-05-28 Thread William Stein
On Wed, May 28, 2014 at 3:56 PM, Paul-Olivier Dehaye paul-olivier.deh...@math.uzh.ch wrote: Out of my confused state after a long day: I think I still want sage to be a free open source alternative , and its primary audience to be typical users of the Ma's. But the Ma's have indeed evolved

[sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Travis Scrimshaw
Okay here's where I think we are, and my 2 cents in the matter. Simon wants to have a database which stores the map information which is constructed by the decorator @combinatorial_map in order to not have it cause any slowdowns. The question is, how to do this? Here's my 2 cents of a

[sage-devel] Recommendations for a new Parent/Element pair

2014-05-28 Thread R. Andrew Ohana
Hi, Reading through the documentation (from the latest beta) on the coercion framework and category framework, it isn't exactly clear to me what the recommended way to implement a new Parent/Element pair as part of the Sage ecosystem. For instance, what is the recommended class I should inherit

[sage-devel] Re: redesign combinatorial statistics

2014-05-28 Thread mmarco
A slightly unrelated problem: Would it be possible to include the findstat functionality in sage? That is, i have a bunch of pairs (permutation, number), then call the function findtsta on them, and get a list of possible ways that the numbers can me computed from the permutations. All inside

[sage-devel] Re: [sage-combinat-devel] combinatorial statistics

2014-05-28 Thread Nathann Cohen
Yo ! I find it quite difficult now to follow this thread, I see the answer to some emails that are not even in the thread... This is because it was sent to both sage-devel and sage-combinat. After a while somebody anwers to only one group and mess follows. Anyway, I just want to answer to

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Nathann Cohen
Would it be possible to include the findstat functionality in sage? It is possible to write the code, and desirable. As the Sage is open-source, you are also welcome to give it a try if you need the feature. Sage already queries the OEIS, though for FindStat you will probably have to design some

[sage-devel] Re: [sage-combinat-devel] combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Since you ask, here is a thread where you have insulted me repeatedly: http://trac.sagemath.org/ticket/16403 Others might think I have asked for it, but that's a different question, and we can have that debate too if you want. But if we are going to have that debate, I would ask that you first

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Christian Stump
Would it be possible to include the findstat functionality in sage? That is, i have a bunch of pairs (permutation, number), then call the function findtsta on them, and get a list of possible ways that the numbers can me computed from the permutations. All inside sage, without need to go to

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Hi Mmarco, This is a functionality many of us would want too. The question that is unclear is how to implement it in the best way. What Nathann refers to as some kind of protocol to transfer the combinatorial objects is a very hard problem. Fortunately, many people are starting to realise that

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
-- It will not be possible (say within the next two years, except the unlikely event that I will a lottery without participating, and then spend some money to hire a professional programmer) to only query the statistics data, and do the computations within your own Sage. Just to make this

Re: [sage-devel] Re: Modules(ZZ) vs CommutativeAdditiveGroups()

2014-05-28 Thread John Cremona
On 28 May 2014 00:51, Nathann Cohen nathann.co...@gmail.com wrote: Could this be related ? http://trac.sagemath.org/ticket/16384 I do not understand much about categories, but if we implement multiplication by a positive integer for semigroups and multiplication by a negative integer for

Re: [sage-devel] Re: Modules(ZZ) vs CommutativeAdditiveGroups()

2014-05-28 Thread Nathann Cohen
Mathematically that is exactly right, there is no difference between Z-module and abelian group just as there is none between (commutative) Z-algebra and ring. We know this, but the point was whether the two things could or should be distinguished in Sage. Well, if the ticket given above

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Christian Stump
Just to make this statement more precise: it will not be possible within the next two years if Mmarco relies on your availability for this (there is no blame in that statement, it's just a clarification that others might be willing to work on this problem). It is not a problem -- it's the

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread Dima Pasechnik
On Wednesday, 28 May 2014 01:12:01 UTC+1, leif wrote: Dima Pasechnik wrote: Is there anything short of make distclean make to fix the stuck docbuild: By stuck I mean that I run make and the output (and logs/dochtml.log) getting stuck at [history_a] no targets are

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Vincent Delecroix
It seems that actually nobody read my initial post on that thread... so let me repeat There are two disjoint tasks: - add semantic to Map and Morphism (Sage) - gather the list of meaningful maps (Sage/FindStat) First of all, most of us agree that we need more semantic at the level of maps.

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Christian Stump
It seems that actually nobody read my initial post on that thread... so let me repeat I did -- but didn't really have any qualified contribution... But the semantic has to be implemented at the level of maps not at the level of methods. could you explain what you mean there (maybe using

Re: [sage-devel] Re: docbuild getting stuck

2014-05-28 Thread Ralf Stephan
It happens here on SageMathCloud which is 3.13.0-24-generic #46-Ubuntu x86_64 but not OpenSuSE-12.3 ​on ​ AMD, at least so far. ​ I am not sure if it's connected to Out of Memory errors that I'm seeing too recently on SMC.​ On Wed, May 28, 2014 at 11:09 AM, Dima Pasechnik dimp...@gmail.com

[sage-devel] Re: Modules(ZZ) vs CommutativeAdditiveGroups()

2014-05-28 Thread Simon King
Hi Nathann, On 2014-05-27, Nathann Cohen nathann.co...@gmail.com wrote: I do not understand much about categories, but if we implement multiplication by a positive integer for semigroups and multiplication by a negative integer for semigroup with inverse, won't this automatically give a

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Vincent Delecroix
Hi Christian, 2014-05-28 11:32 UTC+02:00, Christian Stump christian.st...@gmail.com: It seems that actually nobody read my initial post on that thread... so let me repeat I did -- but didn't really have any qualified contribution... But the semantic has to be implemented at the level of

[sage-devel] Re: Recommendations for a new Parent/Element pair

2014-05-28 Thread Simon King
Hi Andrew, On 2014-05-28, R. Andrew Ohana andrew.oh...@gmail.com wrote: For instance, what is the recommended class I should inherit from for my parent class? I see at the top of sage.rings.rings, that it is not recommended that I inherit from the Ring class anymore (maybe?), REALLY? Why is

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread Volker Braun
Is there an error further up in the log? Strace the hanging process? Sometimes you need to run sage -sync-build. On Tuesday, May 27, 2014 11:22:06 PM UTC+1, Dima Pasechnik wrote: Is there anything short of make distclean make to fix the stuck docbuild: By stuck I mean that I run make

Re: [sage-devel] Re: upgrading numpy/scipy

2014-05-28 Thread Volker Braun
In principle it could work for other projects, all it assumes is git and a trac install with xmlrpc enabled and a few custom trac fields (namely Branch and Commit). On Wednesday, May 28, 2014 6:57:04 AM UTC+1, Snark wrote: https://github.com/sagemath/git-trac-command (It's IMHO a bit

Re: [sage-devel] upgrading numpy/scipy

2014-05-28 Thread Volker Braun
On Wednesday, May 28, 2014 1:59:17 AM UTC+1, John H Palmieri wrote: I think that if you do sage -i git_trac, it should install it for you. Works but will give you an older version. It should work, but if you run into problems you should try the newest version first. Also, it'll be erased by

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Vincent, I did read your email, which is very good. Thank you for posting. Unfortunately it is too focused for my taste. I would like to solve the generic problem of how to put in semantic information in sage first. Many might say let's solve one problem first, but in my mind it is already three

Re: [sage-devel] Re: tab-completion in sage_mode / emacs broken

2014-05-28 Thread 'Martin R' via sage-devel
Hi Ivan! thanks for your rapid reply! I only got to the problematic computer today. So: %colors NoColor works (which is wonderful!), but https://bitbucket.org/gvol/sage-mode/downloads/sage_mode-0.11.spkg doesn't :-( Martin -- You received this message because you are subscribed to the

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread leif
Volker Braun wrote: Is there an error further up in the log? Strace the hanging proces Sometimes you need to run sage -sync-build. On Tuesday, May 27, 2014 11:22:06 PM UTC+1, Dima Pasechnik wrote: Is there anything short of make distclean make to fix the stuck docbuild: By

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread leif
Volker Braun wrote: Is there an error further up in the log? Only the usual GAP foo (cannot extend the workspace further or something like that). Strace the hanging process? Already did that; the problem is that it's busy waiting (i.e., polling). Each time I kill the process it is

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread leif
leif wrote: Volker Braun wrote: Is there an error further up in the log? Only the usual GAP foo (cannot extend the workspace further or something like that). Strace the hanging process? Already did that; the problem is that it's busy waiting (i.e., polling). Each time I kill the process

Re: [sage-devel] Re: [sage-combinat-devel] combinatorial statistics

2014-05-28 Thread Viviane Pons
This is very very easy on you Don't you feel any responsibility at all for what you put into Sage ? We had a conversation one year ago about ways to fix that, one of which seems to suit you as you said on sage-devel just yesterday. And when several persons tell you that your design has a

Re: [sage-devel] Trouble with sage math cloud (new user)

2014-05-28 Thread William Stein
On Tue, May 27, 2014 at 1:13 PM, Stephen Kauffman strangerl...@gmail.com wrote: Trying to run a file in a worksheet in sagemathcloud with load('./2014-05-27-151639/SPexample5.sage') but every (seemingly reasonable) path I try bombs with file not found the folder 2014-05-27-151639 is in

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread Dima Pasechnik
On Wednesday, 28 May 2014 13:56:16 UTC+1, leif wrote: leif wrote: Volker Braun wrote: Is there an error further up in the log? Only the usual GAP foo (cannot extend the workspace further or something like that). Strace the hanging process? Already did that; the

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread Volker Braun
On Wednesday, May 28, 2014 1:28:58 PM UTC+1, leif wrote: Strace the hanging process? Already did that; the problem is that it's busy waiting (i.e., polling). Each time I kill the process it is waiting for [...] So whats that process doing? strace -ff and then sort out which subprocess

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Christian Stump
The second step would be to think how to add semantic to the map. Part of is already managed by the axioms/categories (for example a Morphism between GradedSets preserve the grading). But there is nothing for injectivity/surjectivity or more subtle properties. Thanks for the clarification! I

Re: [sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Viviane Pons
Vincent I had read your post but I hadn't understood that you wanted something like this. This Map class seems a really good idea to me, it looks like our combinatorial map class that we use to wrap the methods but improved. After this discussion, the way I would see things would be: * having a

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread leif
Volker Braun wrote: On Wednesday, May 28, 2014 1:28:58 PM UTC+1, leif wrote: Strace the hanging process? Already did that; the problem is that it's busy waiting (i.e., polling). Each time I kill the process it is waiting for [...] So whats that process doing? As

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Nicolas M. Thiery
Hi! On Wed, May 28, 2014 at 11:54:22AM +0200, Vincent Delecroix wrote: Hi Christian, 2014-05-28 11:32 UTC+02:00, Christian Stump christian.st...@gmail.com: It seems that actually nobody read my initial post on that thread... so let me repeat I did -- but didn't really have any

[sage-devel] Re: Recommendations for a new Parent/Element pair

2014-05-28 Thread Volker Braun
Some comments: Non-underscore attributes implement a mutable interface. You are inviting your users to modify field.tensor_type = (1,2), which will almost certanly lead to inconsistent objects. In Sage, the convention is generally to use underscore attributes and ensure immutability through

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread Travis Scrimshaw
I was able to get it to work again (at least with 6.3.beta1) by running make distclean make doc-clean make. Best, Travis On Wednesday, May 28, 2014 6:48:13 AM UTC-7, leif wrote: Volker Braun wrote: On Wednesday, May 28, 2014 1:28:58 PM UTC+1, leif wrote: Strace the hanging

[sage-devel] Re: Recommendations for a new Parent/Element pair

2014-05-28 Thread Eric Gourgoulhon
Thank you for these comments. I'll modify the code accordingly! Eric. Le mercredi 28 mai 2014 16:23:20 UTC+2, Volker Braun a écrit : Some comments: Non-underscore attributes implement a mutable interface. You are inviting your users to modify field.tensor_type = (1,2), which will almost

[sage-devel] Re: Recommendations for a new Parent/Element pair

2014-05-28 Thread Travis Scrimshaw
At some point, someone(s) should sit down and make all of the old parents into the new Parent class. This might have to be done all at once (at least the one time I tried to change homset IIRC) and will likely take a full day plus. Best, Travis -- You received this message because you are

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Christian Stump
Ceterum censeo: Please do not put too much semantic into an attribute of the map. It will be a burden for the map, will cost memory, and will be difficult to search. I would personally really like to get semantic information about maps implemented in Sage. This starts with automated

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Christian's point is key. The absolute hardest problem to solve is where to anchor semantic information so that others can contribute to it easily, because his project requires lots of microcontributions (cf. Nielsen's Reinventing Discovery) Right now, by lack of a better place, it is put in sage.

Re: [sage-devel] Modules(ZZ) vs CommutativeAdditiveGroups()

2014-05-28 Thread Nicolas M. Thiery
On Tue, May 27, 2014 at 09:14:03PM +0200, Vincent Delecroix wrote: A module over ZZ is the same thing as an Abelian group. Why do we have two distinct categories ? This issue is mentioned on http://trac.sagemath.org/wiki/CategoriesRoadMap. So far, the two categories have not been merged for a

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread Dima Pasechnik
On 2014-05-28, Volker Braun vbraun.n...@gmail.com wrote: On Wednesday, May 28, 2014 1:28:58 PM UTC+1, leif wrote: Strace the hanging process? Already did that; the problem is that it's busy waiting (i.e., polling). Each time I kill the process it is waiting for [...] So whats that

[sage-devel] Re: Modules(ZZ) vs CommutativeAdditiveGroups()

2014-05-28 Thread Simon King
Hi Nicolas, On 2014-05-28, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: So far, the two categories have not been merged for a stupid bootstrapping reason: to construct Modules(ZZ), we need to construct ZZ. To construct ZZ, an abelian group, we need to construct the category

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread Dima Pasechnik
On 2014-05-28, Travis Scrimshaw tsc...@ucdavis.edu wrote: I was able to get it to work again (at least with 6.3.beta1) by running make distclean make doc-clean make. yes, I mentioned that make distclean... does fix things, but this is not what one wants to do, IMHO, unless you work on a

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Two comments: - Nathann is arguing that no empty methods/classes should be present. Which means to me that he doesn t see the value of semantic information in itself - They are not building a database. They are putting tags in the code that allow them at runtime to build something that amounts

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
I agree 100% with your summary, Simon, except that 1) Nathann will have to say himself whether he agrees or not; 2) A decision should be made whether it is valid to introduce lots of empty methods and classes simply for the semantic decorators that will be added. Paul Paul-Olivier Dehaye SNF

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread Volker Braun
This is multiprocessing.pool waiting for children to finish. The question is what happened to the children. -- 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: docbuild getting stuck

2014-05-28 Thread Ralf Stephan
How do you exclude out of memory? On SMC for 12 hours now, there are no more doc builds being stuck, but also no more out-of-memory which I got yesterday. On Wed, May 28, 2014 at 5:56 PM, Volker Braun vbraun.n...@gmail.com wrote: This is multiprocessing.pool waiting for children to finish. The

[sage-devel] Re: Recommendations for a new Parent/Element pair

2014-05-28 Thread Nils Bruin
On Wednesday, May 28, 2014 7:23:20 AM UTC-7, Volker Braun wrote: Non-underscore attributes implement a mutable interface. I wasn't aware of that convention. Is it documented somewhere, with rationale? I've indeed seen constant instance attributes accessed via accessors and was aware of the

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread leif
Ralf Stephan wrote: How do you exclude out of memory? Having more than 16 GB of free memory available? -leif On SMC for 12 hours now, there are no more doc builds being stuck, but also no more out-of-memory which I got yesterday. On Wed, May 28, 2014 at 5:56 PM, Volker Braun

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Vincent Delecroix
Hi Paul, 2014-05-28 17:42 UTC+02:00, Paul-Olivier Dehaye paul-olivier.deh...@math.uzh.ch: I agree 100% with your summary, Simon, except that 1) Nathann will have to say himself whether he agrees or not; Please at some point stop the flame. 2) A decision should be made whether it is valid to

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Nathann Cohen
Yo ! I agree 100% with your summary, Simon, except that 1) Nathann will have to say himself whether he agrees or not; I think that the first time I said it was on the 20/6/2013 (one year ago): https://groups.google.com/d/msg/sage-devel/SnPfidRM9j8/u7f4X-cLlrsJ Quote : Well, just returning the

[sage-devel] Re: Recommendations for a new Parent/Element pair

2014-05-28 Thread Volker Braun
Some comments: By not hiding attributes (not using underscores like self._manifold) you implement a mutable interface, essentially inviting users to change them. This of course will generally not work (e.g. reach into ZeroScalarField and making it non-zero). It also prevents you from ever

[sage-devel] Can't install Sage-6.2 from source on OSX 10.9.3

2014-05-28 Thread Stephen Doty
I am trying to install sage-6.2 from source on a Macbook Air (Mid 2011) running OSX 10.9.3. Xcode is installed and I believe up to date. I get the following error message: Host system: Darwin mac 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT 2014;

Re: [sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Viviane Pons
I think we all agree on this idea now (that the decorator should not wrap the method), so there is no point in keeping the argument. Still, I have asked a few questions on which I'd like you guys opinions: - what's the best way to store this information? Nathan and Simon mentioned database,

Re: [sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Vincent Delecroix
Hi Vivianne, 2014-05-28 19:32 UTC+02:00, Viviane Pons vivianep...@gmail.com: I think we all agree on this idea now (that the decorator should not wrap the method), so there is no point in keeping the argument. Still, I have asked a few questions on which I'd like you guys opinions: - what's

[sage-devel] Re: docbuild getting stuck

2014-05-28 Thread Dima Pasechnik
On 2014-05-28, Volker Braun vbraun.n...@gmail.com wrote: This is multiprocessing.pool waiting for children to finish. To finish, or to start? The question is what happened to the children. They are seemingly alive, but don't do anything at all, according to dtruss. The main process occupies

[sage-devel] Re: Can't install Sage-6.2 from source on OSX 10.9.3

2014-05-28 Thread Dima Pasechnik
On 2014-05-28, Stephen Doty s.r.d...@gmail.com wrote: I am trying to install sage-6.2 from source on a Macbook Air (Mid 2011) running OSX 10.9.3. Xcode is installed and I believe up to date. I get the are Command Line Tools installed? They are needed. (check out Command Line Tools in Xcode's

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Nathann Cohen
Hello !!! Is he? Sorry, then this is a point where Nathann and I do not agree. I don't even know what I think anymore. With the turn that events take, I think I don't even need to think anymore. I think that I will think what you think I think, it is much easier for me. find abstract methods

Re: [sage-devel] Trouble with sage math cloud (new user)

2014-05-28 Thread Stephen Kauffman
Hi, Thanks. I have a project in SageMathCloud titled SpaceTime. I created a directory under this project named 2014-05-27-151639 and uploaded files spalgebra.sagews and SPexample5.sage. When I click on the directory in the cloud I see a house icon followed by a forward slash followed by

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
Hi Vincent The wikipedia definition of flaming has the words hostile and insulting. I have certainly been hostile towards Nathann, and have explicitly explained to him early on why he was wrong and why I was being hostile. It is part of academic discourse to have heated discussions, because we

[sage-devel] Re: [sage-combinat-devel] Re: redesign combinatorial statistics

2014-05-28 Thread Paul-Olivier Dehaye
@Nathann, Simon: There is certainly a lot of misunderstandings between all of us. Both ways. The discussion was started because of a suggestion, turned into a ticket written by Nathann. Currently that ticket's description is in complete contradiction to what you seem to describe on the mailing

  1   2   >