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, you just have to live with it! See, we're all working on a
global project depending on lots of people, we all have to wait. The fact
that you hate / love something has no impact on my time line whatsoever.
And you should understand that you won't make things faster by a) insulting
people (as you did last year) and b) giving orders (as you just did in this
very thread).



2014-05-27 20:29 GMT+02:00 Nathann Cohen nathann.co...@gmail.com:

  You asked how you failed me.

 Are you *REALLY* answering to that question ? O_o

  Well, I know for a fact that your behaviour on the list has put off
 people from contributing to sage.

 Gosh. You are.

  Certainly me, and others who could have contributed indirectly to my
 research projects. So that's how you have failed me, since you ask. But
 that's something I have tolerated for a couple years now.

 AHAHahahahahahahaahahahh

  The reason for my email is different: if your attitude persists, it is
 likely to derail what I am trying to do now along the same lines, when it
 is actually starting.

 (eating popcorn)

  One option is to truly explain to you what it is that I am trying to do.
 At this point, you are approximately 3 PhD thesis, 7-8 or so research
 papers and a good 15 talks (but they are recorded) behind in terms of
 reading, if you want the background material.

 Gosh. You will never find a hat to fit this head.

  Yet you send me to yet another thread that I have already read (and
 participated in).

 So you noticed.

  Also, your ticket's description is a hodgepodge of one precise
 (Graph.to_partition is very badly named) and two large grievances (only
 there for findstat, find_stat, a project distinct from Sage). I have not
 made up my mind on the precise, but I know I disagree with the two large
 grievances, and am more informed than you there.

 Oh. Well, if this is a problem for you please remove those lines from the
 ticket, I do not mind. Surely that has no impact on the actual changes
 brought to Sage ?

  I like Vincent's approach better than either of ours. Why don't we both
 change tone and try to contribute constructively in his thread?

 Which thread ? Must haved missed it O_o

  PS: Francoise == Francoise Genova, the astronomer who was invited in
 Edinburgh.

 Quite frankly, I have no memory for names and faces.

 Nathann

 --
 You received this message because you are subscribed to the Google Groups
 sage-combinat-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-combinat-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-combinat-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-combinat-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


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 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, you just have to live with it! See, we're all working on a
global project depending on lots of people, we all have to wait. The fact
that you hate / love something has no impact on my time line whatsoever.

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 fault,
and a way to solve it, you answer them with a Just live with it ! The fact
that you love/hate it has no impact on my time line whatsoever ?

 And you should understand that you won't make things faster by a)
insulting people (as you did last year) and b) giving orders (as you just
did in this very thread).

I assume that what you call giving orders is this :

Our discussion about this is almost 1 year old. If you do not know how to
clean this code this month, please remove it.

You will have to provide the link yourself if you want to claim that I
insult people. I don't claim that it never happens, but I am very
interested in the context.

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


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 send me all links you think are
relevant, and that you accept that I send you all links that I find
relevant (which might be research papers on the topic of lone individuals'
net negative contributions to open source software development, despite
producing lots of code. For instance that would include background
reading/video watching relevant to the diversity thread). I would also ask
that we both spend the time that is needed to actually read through those
links and then set a date for the debate to start, and a place that the
debate is held.
This way everyone can make sure to prepare their own popcorn and know of
where to watch.
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: pdehaye


On Wed, May 28, 2014 at 9:57 AM, Nathann Cohen nathann.co...@gmail.comwrote:

 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 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, you just have to live with it! See, we're all working on a
 global project depending on lots of people, we all have to wait. The fact
 that you hate / love something has no impact on my time line whatsoever.

 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 fault,
 and a way to solve it, you answer them with a Just live with it ! The fact
 that you love/hate it has no impact on my time line whatsoever ?


  And you should understand that you won't make things faster by a)
 insulting people (as you did last year) and b) giving orders (as you just
 did in this very thread).

 I assume that what you call giving orders is this :


 Our discussion about this is almost 1 year old. If you do not know how to
 clean this code this month, please remove it.

 You will have to provide the link yourself if you want to claim that I
 insult people. I don't claim that it never happens, but I am very
 interested in the context.

 Nathann

 --
 You received this message because you are subscribed to the Google Groups
 sage-combinat-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-combinat-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-combinat-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-combinat-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Nathann Cohen


 Just so you know, I intend to fix the decorator at some point to reduce 
 whatever impact it could have (I learned a bit a more about decorator while 
 at PyCon).


Our discussion about this is almost 1 year old. If you do not know how to 
clean this code this month, please remove it.

Also, if I remember correctly we had agreed that Graph.to_partition was to 
be removed anyway as its meaning was totally unclear. Please open and 
implement a ticket for that, I will review it. This should have been done 
one year ago, yet nothing happened since.

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Paul-Olivier Dehaye
I agree, something should have been done a year ago. But If you think it
should be removed and not improved, please do it yourself. Please open and
implement a ticket for that, I will review it.
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: pdehaye


On Tue, May 27, 2014 at 11:39 AM, Nathann Cohen nathann.co...@gmail.comwrote:

 Just so you know, I intend to fix the decorator at some point to reduce
 whatever impact it could have (I learned a bit a more about decorator while
 at PyCon).


 Our discussion about this is almost 1 year old. If you do not know how to
 clean this code this month, please remove it.

 Also, if I remember correctly we had agreed that Graph.to_partition was to
 be removed anyway as its meaning was totally unclear. Please open and
 implement a ticket for that, I will review it. This should have been done
 one year ago, yet nothing happened since.

 Nathann

 --
 You received this message because you are subscribed to the Google Groups
 sage-combinat-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-combinat-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-combinat-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-combinat-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Nathann Cohen
Yo !

 I agree, something should have been done a year ago.

Cool !

 But If you think it should be removed and not improved, please do it
yourself.

If think that If this thing, which was debated one year ago, is not to be
fixed SOON, then we should get rid of it. We are already hosting code
which is only useful to a couple of persons and not to Sage, we definitely
should not host it forever if they abandon it !

 Please open and implement a ticket for that, I will review it.

I wrote the following ticket to remove Graph.to_partition.

http://trac.sagemath.org/ticket/16403

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Viviane Pons
Sorry Nathann, I don't take orders.

If you want to open tickets, just do so. I don't think a ticket removing
the map decorator all together would be positively reviewed right now. If
you really want to know my time frame, I *intend* to work on this decorator
to make it better this summer. If someone else wants to have a look on how
it could be improved and open a ticket with suggestions, they're welcome.
The decorator as it is is not major issue or even a bug, it's been
positively reviewed years ago.

The way I remember, nothing was really agreed at the end of this endless
discussion last year. If you want to open a ticket to remove
graph.to_partition, just do so.


2014-05-27 11:39 GMT+02:00 Nathann Cohen nathann.co...@gmail.com:

 Just so you know, I intend to fix the decorator at some point to reduce
 whatever impact it could have (I learned a bit a more about decorator while
 at PyCon).


 Our discussion about this is almost 1 year old. If you do not know how to
 clean this code this month, please remove it.

 Also, if I remember correctly we had agreed that Graph.to_partition was to
 be removed anyway as its meaning was totally unclear. Please open and
 implement a ticket for that, I will review it. This should have been done
 one year ago, yet nothing happened since.

 Nathann

 --
 You received this message because you are subscribed to the Google Groups
 sage-combinat-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-combinat-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-combinat-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-combinat-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Nathann Cohen
 Sorry Nathann, I don't take orders.

No but you should feel responsible for the mess you add to Sage.

 If you want to open tickets, just do so. I don't think a ticket removing the 
 map decorator all together would be positively reviewed right now. If you 
 really want to know my time frame, I *intend* to work on this decorator to 
 make it better this summer. If someone else wants to have a look on how it 
 could be improved and open a ticket with suggestions, they're welcome. The 
 decorator as it is is not major issue or even a bug, it's been positively 
 reviewed years ago.

Well, a positive review in Sage is just two persons agreeing together.
Perhaps I could just as a friend of mine who agrees that find_start
should be totally remved from Sage and let him give a positive review
to my ticket ?

That's why we discuss stuff, and that's why you should feel
responsible when people are against what you implement.

 The way I remember, nothing was really agreed at the end of this endless 
 discussion last year. If you want to open a ticket to remove 
 graph.to_partition, just do so.

http://trac.sagemath.org/ticket/16403

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Viviane Pons


 thanks for the fast reply -- but I need statistics, not maps.  I..e, I'd
 like to have a list of all methods applying to permutations that return a
 number...


I don't think there is anything like that for statistics, maybe the sign
that we do need more semantic into Sage?


 Is it correct that findstat implements more statistics and more maps?  Is
 it possible to use findstat from within sage?


The maps in Findstat come from Sage. If a map is not needed in Sage, then
we add it to our own Sage version but it's quite rare (and it's only silly
maps that we need for technical reasons)
But there are indeed more statistics, you can browse through them here:
http://www.findstat.org/StatisticsDatabase

Sadly, there is not yet a way to access FindStat through Sage. If you're
interested, we can add you to our github project so that you can describe
your usecase, it would help us build our API the right way.



 Martin

 --
 You received this message because you are subscribed to the Google Groups
 sage-combinat-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-combinat-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-combinat-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-combinat-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread 'Martin R' via sage-combinat-devel


Am Dienstag, 27. Mai 2014 12:10:22 UTC+2 schrieb Viviane Pons:


 thanks for the fast reply -- but I need statistics, not maps.  I..e, I'd 
 like to have a list of all methods applying to permutations that return a 
 number...


 I don't think there is anything like that for statistics, maybe the sign 
 that we do need more semantic into Sage?


well, there was a decorator for statistics before the move to gitI have 
code that used it.

Martin

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Christian Stump
 well, there was a decorator for statistics before the move to gitI have 
 code that used it.

sorry, Martin, that we removed it again!

But you see that Nathann keeps arguing it is not useful to people (I
am not going to participate in that discussion -- I want to do math
and I don't kill my time *again* in such a discussion), so I am not
going to put it back in. But feel free to use it locally, you can
either just take the old code from an old version of Sage, or I can
send you instructions of how to do it.

Cheers, Christian

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Paul-Olivier Dehaye
I would be happy to review any ticket in this direction.
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: pdehaye


On Tue, May 27, 2014 at 5:54 PM, Christian Stump
christian.st...@gmail.comwrote:

  well, there was a decorator for statistics before the move to gitI
 have code that used it.

 sorry, Martin, that we removed it again!

 But you see that Nathann keeps arguing it is not useful to people (I
 am not going to participate in that discussion -- I want to do math
 and I don't kill my time *again* in such a discussion), so I am not
 going to put it back in. But feel free to use it locally, you can
 either just take the old code from an old version of Sage, or I can
 send you instructions of how to do it.

 Cheers, Christian

 --
 You received this message because you are subscribed to the Google Groups
 sage-combinat-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-combinat-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-combinat-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-combinat-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Paul-Olivier Dehaye

 Well, a positive review in Sage is just two persons agreeing together.


Maybe you nailed exactly where the problem is. The problem might very well
be that the person that ends up agreeing on the ticket review at the end is
the only one that stuck around. I think that is a strong possibility. Also
part of the problem is that everyone else either:
 - thinks they should be doing research instead (which is shortsighted and
toxic to really bring sage to another level, in my view);
 - doesn't want to argue because they find it very unpleasant.
(these two are of course not mutually exclusive)

Due to the unfortunate absence of professional programmers to write and
review our code and of mature professional mathematicians to establish
clear strategic decisions for sage, we should actually as a research
community be welcoming of diverse (already-coded) ideas, as long as they
are not disruptive to other people's research objectives (the burden should
be to prove that they disrupt). And even if there were, the burden should
be for anyone to _improve_ code that is considered useful by them, not
remove. This is because we have to be mindful that we are building
mathematics software, and that as a consequence no individual (even a
mathematician) will ever be able to comprehend the whole complexity that is
being integrated into the software. Yet we want to provide as consistent of
an experience as possible to cover various use cases. Fortunately, we can
inform ourselves, learn what others are doing, take classes, go to
conferences, and build up joint research projects with other disciplines.

In light of this, please reflect on the amount of mathematics you know
yourself. Do you know about L-functions? Have you tried to learn about them
in Edinburgh or when I went to Paris to explain it to Nicolas and Florent?
Do you know about category theory and what Nicolas is trying to do? (you
have said several times explicitly on the list that you were not
interested, but it is not clear to me that you understand it. One thing is
sure: that you feel qualified to comment on it).

It might be that individuals feel that they understand what findstat is
doing but are failing to understand the broader context, which might
explain why projects like findstat, LMFDB or even sage-combinat have
unnecessarily complicated relationships with the sage core itself, and why
some of my contributions end up in the LMFDB code and not sage itself.

Also, have you talked to Francoise and the Logilab people at the Edinburgh
workshop, people who are professional developing software in the sciences
to handle research results? Do you know about semantic web technologies and
things like that, especially as it is being applied to mathematics?

Anyways, even if you don't know about all those things, don't worry: it is
actually possible, for someone with an open mind, to learn those things or
at least a sufficiently general picture.

Paul



 Perhaps I could just as a friend of mine who agrees that find_start
 should be totally remved from Sage and let him give a positive review
 to my ticket ?

 That's why we discuss stuff, and that's why you should feel
 responsible when people are against what you implement.

  The way I remember, nothing was really agreed at the end of this endless
 discussion last year. If you want to open a ticket to remove
 graph.to_partition, just do so.

 http://trac.sagemath.org/ticket/16403

 Nathann

 --
 You received this message because you are subscribed to the Google Groups
 sage-combinat-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-combinat-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-combinat-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-combinat-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Nathann Cohen
Hello !

 Due to the unfortunate absence of professional programmers to write and
review our code

Come on, that is our job.

 and of mature professional mathematicians to establish clear strategic
decisions for sage, we should actually as a research community be welcoming
of diverse (already-coded) ideas, as long as they are not disruptive to
other people's research objectives (the burden should be to prove that they
disrupt).

We are grown ups. If we think at some point that something should be
undone, the discussion is on whether it should be undone. Not on whether we
are allowed to undo things. We deprecate functions at every release, and
that's healthy.

 And even if there were, the burden should be for anyone to _improve_ code
that is considered useful by them, not remove.

I said remove because waiting for one year to do something and still say
I will do it later is not a good sign. Then, I remember saying in one
long email that everything in FindStat seemed very cool and useful, but
that we had no reason to host their code if it is not useful in Sage.

Then, if it is useful in Sage, I believe that it should be made
non-intrusive, i.e. the decorator should return the very function it
received and not leave anything in between.

This is only technical issues, nothing more. But I hate that it takes one
year to see it fixed.

 In light of this, please reflect on the amount of mathematics you know
yourself.

I just read your email, and so before you begin your long enumeration let
me agree with you : I am an idiot, and I know nothing.

I just smiled when I read your do you know anything about categories,
because funnily I am reviewing #16405 right now and wrote a couple of
category tickets recently.

 One thing is sure: that you feel qualified to comment on it).

And clearly I am wrong. Do me a favor, read this and tell me why it is made
invalid by the obvious fact that I don't understand anything about
categories :

https://groups.google.com/d/msg/sage-combinat-devel/hupt_5776j0/KtbiHpTKXrUJ

 It might be that individuals feel that they understand what findstat is
doing but are failing to understand the broader context, which might
explain why projects like findstat, LMFDB or even sage-combinat have
unnecessarily complicated relationships with the sage core itself, and why
some of my contributions end up in the LMFDB code and not sage itself.

Some individuals like me are bound to miss stuff forever, accept it, the
world is filled with us idiots.

Okay let's stop this game : all I have against FindStat is the useless
methods they add (like .to_partition) and the intrusive decorator. Nothing
else.

 Also, have you talked to Francoise and the Logilab people at the
Edinburgh workshop, people who are professional developing software in the
sciences to handle research results?

No, I never talked to anybody named Francoise. I never talked to any
JIm either.

 Do you know about semantic web technologies and things like that,
especially as it is being applied to mathematics?

Dear God, how have I failed you ? No, no I don't !

 Anyways, even if you don't know about all those things, don't worry: it
is actually possible, for someone with an open mind, to learn those things
or at least a sufficiently general picture.

Bless the Lord.

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Christian Stump
 Besides: is it possible to run a more exhaustive FindStat search?  If I 
 understand correctly, FindStat limits itself to 3 maps, right?

No -- you can change the 3 into a 5 at most. And the at most is just a
limit to not run for too long, so if you are willing to wait
overnight, we can also do 6 or maybe 7.

(Am I getting your question right, now?)

Cheers, Christian

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Nathann Cohen
 One use case for statistics which comes to my mind immediately is to
provide
 answers to

Just to make sure : I *NEVER* said that statistics on combinatorial objects
were useless, did I ? My objections are related to the code that is
included in Sage, and how it is written.


http://mathoverflow.net/questions/101265/a-list-of-symmetric-statistics/101670#101670

 although I have to admit that a) I asked the question myself and b) I did
 not give any deep reason to ask the question.

Does not matter. I mean, the job of many of us is to do maths. We just need
this information for our job. The whole of OEIS is useful, and a good
thing, even if you find a couple of sequences there that are a bit
far-fetched :-P

 Another use case (again for statistics) is that from time to time I
 encounter a set of families of objects (eg 0-1 fiillings of Ferrers
diagrams
 of a given shape) with a natural statistic (eg. length of longest
north-east
 chain) and then I'd like to run a brute force search whether I can find a
 well-known statistic equidistributed with my statistic when restricting
to
 some family (eg., a particular shape).

Statistics *ARE* useful. And we can query the OEIS from Sage, and this is
cool too.

 Besides: is it possible to run a more exhaustive FindStat search?  If I
 understand correctly, FindStat limits itself to 3 maps, right?

I guess they can. But you see, FindStat is not exactly part of Sage, and
for FindStat question the FindStat guys can answer, for they run this code,
sage developpers have no hand on it :-)

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread 'Martin R' via sage-combinat-devel


  Besides: is it possible to run a more exhaustive FindStat search?  If 
 I understand correctly, FindStat limits itself to 3 maps, right? 

 No -- you can change the 3 into a 5 at most. And the at most is just a 
 limit to not run for too long, so if you are willing to wait 
 overnight, we can also do 6 or maybe 7. 


Wonderful!
 

 (Am I getting your question right, now?) 


Yes!  So, if I want to perform such a query, I should send the code 
generating the statistic to you, right?

Another question: I would like to search for a statistic (on permutations, 
but the question applies in general) that satisfies addtitional structural 
constraints (eg., it should be invariant under conjugation with the long 
cycle).  Is such a search also possible?

I must say that I'd love to see the findstat search engine as part of sage.

All the best,

Martin

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Nathann Cohen
Hello !!!

 I must say that I'd love to see the findstat search engine as part of sage.

I would love it too. Querying the findstat database from within Sage
is clearly a good thing.

Nathann

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread 'Martin R' via sage-combinat-devel
Am Dienstag, 27. Mai 2014 20:56:58 UTC+2 schrieb Nathann Cohen:

 Hello !!! 

  I must say that I'd love to see the findstat search engine as part of 
 sage. 

 I would love it too. Querying the findstat database from within Sage 
 is clearly a good thing. 


But only half of the story.

Martin 

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Christian Stump
 Another question: I would like to search for a statistic (on permutations,
 but the question applies in general) that satisfies addtitional structural
 constraints (eg., it should be invariant under conjugation with the long
 cycle).  Is such a search also possible?

The obvious solution is to take the FindStat output and check if the
given outputted statistic satisfies your constraints. I currently
cannot think of any more sophisticated things to do there, but maybe
you have something in mind...

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Christian Stump
 Yes!  So, if I want to perform such a query, I should send the code 
 generating the statistic to you, right?

How urgent is it? -- I could try and see if the server explodes if I
increase the 5 to a 7. That way, you can keep playing there.

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread 'Martin R' via sage-combinat-devel


 How urgent is it? -- I could try and see if the server explodes if I 
 increase the 5 to a 7. That way, you can keep playing there. 


I'll try with 5 first!  The reason I did not notice is that you don't get 
to choose if you hit search for distribution when looking at an entry in 
the statistics database.  So I'll copy the data from there and then play.

I guess this is getting slightly off topic now, so I'll continue in 
private, unless someone objects...

Many thanks,

Martin 

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-27 Thread Viviane Pons

 I guess this is getting slightly off topic now, so I'll continue in
 private, unless someone objects...


For anything related to FindStat, you can write to i...@findstat.org :)






 Many thanks,

 Martin

 --
 You received this message because you are subscribed to the Google Groups
 sage-combinat-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-combinat-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-combinat-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-combinat-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-26 Thread Christian Stump
 I am in need of browsing through all the statistics on permutations and 
 derangements, and wanted to use combinatorial_statistics_in_class, but I 
 can't find it anymore...
 What should I be using?

Hi Martin --

sage: from sage.combinat.combinatorial_map import combinatorial_maps_in_class
sage: combinatorial_maps_in_class(type(Permutation([])))
[Combinatorial map: complement,
 Combinatorial map: permutation poset,
 Combinatorial map: Binary search tree (left to right),
 Combinatorial map: major-index to inversion-number bijection,
 Combinatorial map: Robinson-Schensted tableau shape,
 Combinatorial map: inverse,
 Combinatorial map: Robinson-Schensted recording tableau,
 Combinatorial map: foata_bijection,
 Combinatorial map: descent composition,
 Combinatorial map: Robinson-Schensted insertion tableau,
 Combinatorial map: to alternating sign matrix,
 Combinatorial map: Increasing tree,
 Combinatorial map: Simion-Schmidt map,
 Combinatorial map: reverse,
 Combinatorial map: inversion-number to major-index bijection]

Let me add that I was thinking of opening a ticket to remove
combinatorial maps from Sage again (in the medium time future) simply
because the negative comments about it were louder (and I am currently
not in the position to be able to spend much time on stuff I don't
need for my research). So if you have some use cases for combinatorial
maps, please write about it so such cases are also visible.

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-26 Thread 'Martin R' via sage-combinat-devel
Hi Christian!

thanks for the fast reply -- but I need statistics, not maps.  I..e, I'd 
like to have a list of all methods applying to permutations that return a 
number...

Is it correct that findstat implements more statistics and more maps?  Is 
it possible to use findstat from within sage?

Martin

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-26 Thread Nicolas M. Thiery
Hi Christian,

On Mon, May 26, 2014 at 09:08:14AM +0200, Christian Stump wrote:
 Let me add that I was thinking of opening a ticket to remove
 combinatorial maps from Sage again (in the medium time future) simply
 because the negative comments about it were louder (and I am currently
 not in the position to be able to spend much time on stuff I don't
 need for my research).

I also won't spend time on arguing about this. Let me just recall my
personal position, for whatever it's worth.

I like having such semantic information in the code, and I am fine
with having it even if we don't yet have a strong use case within
Sage. The only prerequisites are:

- Not having an impact on performance (IIRC that's the case with
  combinatorial maps)

- Not adding functions in the code unless they are actually useful in
  Sage and have a clear mathematical meaning.

 So if you have some use cases for combinatorial maps, please write
 about it so such cases are also visible.

+1

By the way: I second being able to programmatically search for
combinatorial statistics, be it through a remote call to findstat.org,
or by running locally a findstat search engine.

Cheers,
Nicolas
--
Nicolas M. Thiéry Isil nthi...@users.sf.net
http://Nicolas.Thiery.name/

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-26 Thread Christian Stump
 thanks for the fast reply -- but I need statistics, not maps.  I..e, I'd like 
 to have a list of all methods applying to permutations that return a number...

sorry for not properly reading your request! We had, similar to the
@combinatorial_maps decorator, an @combinatorial_statistic decorator
at some point.
But I don't think this semantic information is currently available
since we stopped the use case in FindStat and then also stopped
implementing it in sage.

 Is it correct that findstat implements more statistics and more maps?  Is it 
 possible to use findstat from within sage?

That's correct for maps.

But it is not correct for statistics. Indeed, there is no statistic at
all implemented in FindStat, we only store statistics as their values
(though in a human readable field, there is the option to put (any
sort of) code (most often Sage, but we also have Mathematica code) to
generate that data, see www.findstat.org/St000193/ for a statistic
with code that is not directly in Sage). The reason is that we cannot
generate the data on the fly since that's much too slow (even for
simple statistics) to be usable in FindStat.

So you are very welcome to suggest a way of using the fairly flexible
code field of a statistic to make it machine readable (only if this
is desired for a given statistic), we will then find a way of making
that info available in Sage.

A first naive example could be:

The code field for the above statistic is
{{{
for i in [1..5]:
for a in AlternatingSignMatrices(i):
print [list(row) for row in
a.to_matrix()],=,a.transpose().to_monotone_triangle()[-1][0]
}}}
so we have no chance to actually turn that *automatically* into a
statistic. But if we would introduce a convention like use a
decorator to tell that sth. is code to generate a statistic, we could
have that code starting with @combinatorial_statistic is taken to be
a statistic like
{{{
@combinatorial_statistic
def my_stat(ASM):
return a.to_matrix()],=,a.transpose().to_monotone_triangle()[-1][0]

for i in [1..5]:
for a in AlternatingSignMatrices(i):
print [list(row) for row in a.to_matrix()],=,my_stat(a)
}}}
can be parsed and the statistic would be stored semantically as a statistic.

Finally, we could have a Sage interface that allows to check for all
stats for a combinatorial collection (say Permutations), or to get a
particular statistic to use it in sage.

But that's a lot of work and we would need some volunteer to actually do it.

Cheers,

Christian

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2014-05-26 Thread Viviane Pons
Just so you know, I intend to fix the decorator at some point to reduce
whatever impact it could have (I learned a bit a more about decorator while
at PyCon). We could also think of adding more semantic information to make
the usecase for sage more obvious (I really do think there is one).

Also, the functionality you're talking about to access FindStat through
Sage is definitely on our list (and on mine specifically). It would mean
some work on our side as we don't have any API yet to access the database
without the web interface.

Cheers

Viviane




2014-05-26 10:03 GMT+02:00 Nicolas M. Thiery nicolas.thi...@u-psud.fr:

 Hi Christian,

 On Mon, May 26, 2014 at 09:08:14AM +0200, Christian Stump wrote:
  Let me add that I was thinking of opening a ticket to remove
  combinatorial maps from Sage again (in the medium time future) simply
  because the negative comments about it were louder (and I am currently
  not in the position to be able to spend much time on stuff I don't
  need for my research).

 I also won't spend time on arguing about this. Let me just recall my
 personal position, for whatever it's worth.

 I like having such semantic information in the code, and I am fine
 with having it even if we don't yet have a strong use case within
 Sage. The only prerequisites are:

 - Not having an impact on performance (IIRC that's the case with
   combinatorial maps)

 - Not adding functions in the code unless they are actually useful in
   Sage and have a clear mathematical meaning.

  So if you have some use cases for combinatorial maps, please write
  about it so such cases are also visible.

 +1

 By the way: I second being able to programmatically search for
 combinatorial statistics, be it through a remote call to findstat.org,
 or by running locally a findstat search engine.

 Cheers,
 Nicolas
 --
 Nicolas M. Thiéry Isil nthi...@users.sf.net
 http://Nicolas.Thiery.name/

 --
 You received this message because you are subscribed to the Google Groups
 sage-combinat-devel group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to sage-combinat-devel+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-combinat-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-combinat-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-combinat-devel] combinatorial statistics

2012-07-07 Thread Martin Rubey
Christian Stump christian.st...@gmail.com writes:

 Hi Martin,

 one patch per class?

 that's completely up to you, I guess

 Another question: is it important to keep the number of statistics
 small?  I.e., if a statistic can be constructed via a map, is it better
 *not* to implement it?  (Eg., saliances and right-to-left-minima.)

 I usually do implement them, and add it then to the black list of the
 combinatorial map. Otherwise we would even not have maj or inv since
 the bijection sending maj to inv is also implemented.

OK.  Although, I have to admit that I do not understand the intention of
the black list entirely yet...

I have another question: as you know, I hacked together a small script
to print out the (implemented and decorated :-) pairs of statistics with
symmetric distribution.  A priori, there were *very* few.  So I modified
the script slightly to also apply the combinatorial maps.

This made the list much longer, but not much more interesting.  Namely,
many hits were of the form

(map1 stat, map2 stat) ~ (map2 stat, map1 stat)

which is very likely (i.e., apart from interesting exceptions) just
saying that

map1 map2^-1 map1 map2^-1 = id

(I suppose that the definition of combinatorial map in sage is such that
it is bijective, right?)

I would like to filter these mappings.  I think, an easy way to do so
would be to store with each map also a list of maps which commute with
it, but I am not sure how to organise this in an intelligent way.

Any ideas?

All the best,

Martin

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] combinatorial statistics

2012-07-06 Thread Christian Stump


 sage -combinat qselect 


Thanks, I accidentally did sage -qselect instead...

I pushed the changes.

Best, Christian

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sage-combinat-devel/-/S9XtFMU0UZ0J.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] combinatorial statistics

2012-07-05 Thread Christian Stump
Hi Martin,

 one patch per class?

that's completely up to you, I guess

 Another question: is it important to keep the number of statistics
 small?  I.e., if a statistic can be constructed via a map, is it better
 *not* to implement it?  (Eg., saliances and right-to-left-minima.)

I usually do implement them, and add it then to the black list of the
combinatorial map. Otherwise we would even not have maj or inv since
the bijection sending maj to inv is also implemented.

 How about aliases?  (I would like to have right-to-left-maxima be an
 alternative name to saliances...)

we already use them some times. only the decorated one will appear,
not the alias.

best, christian

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] combinatorial statistics

2012-07-05 Thread Franco Saliola
Hello Christian,

I just pushed a change to composition.py which breaks your patch.

Since you are actively working on this, I decided not to rebase your
patch but instead disabled it. It is a very easy rebase in the import
statements.

Also, I disabled Mike's patch, which depends on yours. Please
re-enable it as well when you enable yours:

pp_function_for_dyck_words-mz.patch

Franco

--


On Thu, Jul 5, 2012 at 4:40 AM, Christian Stump
christian.st...@gmail.com wrote:
 Hi Martin,

 one patch per class?

 that's completely up to you, I guess

 Another question: is it important to keep the number of statistics
 small?  I.e., if a statistic can be constructed via a map, is it better
 *not* to implement it?  (Eg., saliances and right-to-left-minima.)

 I usually do implement them, and add it then to the black list of the
 combinatorial map. Otherwise we would even not have maj or inv since
 the bijection sending maj to inv is also implemented.

 How about aliases?  (I would like to have right-to-left-maxima be an
 alternative name to saliances...)

 we already use them some times. only the decorated one will appear,
 not the alias.

 best, christian

 --
 You received this message because you are subscribed to the Google Groups 
 sage-combinat-devel group.
 To post to this group, send email to sage-combinat-devel@googlegroups.com.
 To unsubscribe from this group, send email to 
 sage-combinat-devel+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/sage-combinat-devel?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] combinatorial statistics

2012-07-05 Thread Christian Stump
 I just pushed a change to composition.py which breaks your patch.

I rebased the patch and also enabled Mike's patch again. But now, I
get the following error message after applying the queue, so I don't
push the changed...

Any idea (I am using 5.0)?

--
sage: Building and installing modified Sage library files.


Installing c_lib
scons: `install' is up to date.
Updating Cython code
Building modified file sage/categories/action.pyx.
Building modified file sage/categories/category_singleton.pyx.
Building modified file sage/categories/morphism.pyx.
Building modified file sage/categories/examples/semigroups_cython.pyx.
Building modified file sage/structure/list_clone.pyx.
Building modified file sage/structure/list_clone_demo.pyx.
Building sage/structure/list_clone_timings_cy.pyx because it depends
on sage/structure/list_clone.pxd.
Building modified file sage/sets/finite_set_map_cy.pyx.
Building modified file sage/combinat/dict_addition.pyx.
Traceback (most recent call last):
  File setup.py, line 830, in module
queue = compile_command_list(ext_modules, deps)
  File setup.py, line 790, in compile_command_list
dep_file, dep_time = deps.newest_dep(f,m)
  File setup.py, line 697, in newest_dep
for f in self.all_deps(filename, ext_module):
  File setup.py, line 678, in all_deps
for f in self.immediate_deps(filename, ext_module):
  File setup.py, line 660, in immediate_deps
self._deps[filename] = self.parse_deps(filename, ext_module)
  File setup.py, line 648, in parse_deps
raise IOError, msg
IOError: could not find dependency
sage/combinat/enumeration_mod_permgroup.pxd included in
sage/combinat/invariant_ring_perm_gps/invariant_cython.pyx.
Error installing modified sage library code.

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] combinatorial statistics

2012-07-05 Thread Franco Saliola
On Thu, Jul 5, 2012 at 12:49 PM, Christian Stump
christian.st...@gmail.com wrote:
 I just pushed a change to composition.py which breaks your patch.

 I rebased the patch and also enabled Mike's patch again. But now, I
 get the following error message after applying the queue, so I don't
 push the changed...

 Any idea (I am using 5.0)?

 --
 sage: Building and installing modified Sage library files.


 Installing c_lib
 scons: `install' is up to date.
 Updating Cython code
 Building modified file sage/categories/action.pyx.
 Building modified file sage/categories/category_singleton.pyx.
 Building modified file sage/categories/morphism.pyx.
 Building modified file sage/categories/examples/semigroups_cython.pyx.
 Building modified file sage/structure/list_clone.pyx.
 Building modified file sage/structure/list_clone_demo.pyx.
 Building sage/structure/list_clone_timings_cy.pyx because it depends
 on sage/structure/list_clone.pxd.
 Building modified file sage/sets/finite_set_map_cy.pyx.
 Building modified file sage/combinat/dict_addition.pyx.
 Traceback (most recent call last):
   File setup.py, line 830, in module
 queue = compile_command_list(ext_modules, deps)
   File setup.py, line 790, in compile_command_list
 dep_file, dep_time = deps.newest_dep(f,m)
   File setup.py, line 697, in newest_dep
 for f in self.all_deps(filename, ext_module):
   File setup.py, line 678, in all_deps
 for f in self.immediate_deps(filename, ext_module):
   File setup.py, line 660, in immediate_deps
 self._deps[filename] = self.parse_deps(filename, ext_module)
   File setup.py, line 648, in parse_deps
 raise IOError, msg
 IOError: could not find dependency
 sage/combinat/enumeration_mod_permgroup.pxd included in
 sage/combinat/invariant_ring_perm_gps/invariant_cython.pyx.
 Error installing modified sage library code.

I think you have to reset your guards.

Option 1:
sage -combinat qselect

Option 2:
sage -combinat update

Franco

--

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] combinatorial statistics

2012-07-04 Thread Christian Stump
Hi Martin.

 Eg., for personal enjoyment, I just added decorators to
 number_of_crossings and number_of_nestings in perfect matchings.
 (Christian: it works now, I made a stupid mistake)

good - any comments are welcome.

 I see that there is a patch
 concrete_combinatorial_statisics_and_maps_cs.  Should I send patches of
 this patch to Christian, should I create a new one (if so, one for each
 class?), or should I keep this for personal enjoyment?

The decorator is implemented in
combinatorial_statistics_and_maps_decorator-cs.patch, the concrete
examples in the one right after. Please don't modify the later
(concrete_combinatorial_statisics_and_maps_cs.patch) since I am again
and again changing it. But you cad add another patch whereever you
want after the first patch and use the decorators.

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.



Re: [sage-combinat-devel] combinatorial statistics

2012-07-04 Thread Martin Rubey
Christian Stump christian.st...@gmail.com writes:

 The decorator is implemented in
 combinatorial_statistics_and_maps_decorator-cs.patch, the concrete
 examples in the one right after. Please don't modify the later
 (concrete_combinatorial_statisics_and_maps_cs.patch) since I am again
 and again changing it. 

OK!

 But you cad add another patch whereever you want after the first patch
 and use the decorators.

one patch per class?

Another question: is it important to keep the number of statistics
small?  I.e., if a statistic can be constructed via a map, is it better
*not* to implement it?  (Eg., saliances and right-to-left-minima.)

How about aliases?  (I would like to have right-to-left-maxima be an
alternative name to saliances...)

Martin

-- 
You received this message because you are subscribed to the Google Groups 
sage-combinat-devel group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.