[sage-combinat-devel] Re: dot2tex, combinat

2011-12-24 Thread Travis Scrimshaw
Hey, Here's the results of the tests I have done and my interpretations. Calling view() (from the notebook) calls the underlying OS's latex compiler, and then I believe the notebook displays the resulting pdf in the output window. So by doing ctrl-C twice to get to the shell, then running sudo

[sage-combinat-devel] Re: dot2tex, combinat

2011-12-30 Thread Travis Scrimshaw
John, I tried using it and I got the following error: Error: convert (from the ImageMagick suite) does not appear to be installed. Displaying PDFLaTeX output requires this program, so please install and try again. Go to http://www.imagemagick.org to download it. Latex error This is likely

[sage-combinat-devel] Re: Data structure design pattern (for Cartan types)

2012-01-08 Thread Travis Scrimshaw
Hey, Originally I was thinking the global namespace, but to avoid breaking code (and apparently to conform more to python coding practices), I am now thinking for this case we expose only CartanDatum to the user and have static references to the subsequent classes (accessed as attributes). For

[sage-combinat-devel] Re: dot2tex, combinat

2012-01-11 Thread Travis Scrimshaw
Nicolas and John,    I added ImageMagick (since it's Fedora: yum install ImageMagick ), did the jsmath_avoid_list('tikz') command, and I was able to properly view the pdf. However it does not work if I don't do the jsmath_avoid command. John, perhaps you could elaborate why you thought to use this

[sage-combinat-devel] Re: dot2tex, combinat

2012-01-12 Thread Travis Scrimshaw
Here you mean latexing a partition using it's Ferrers diagram? Then this is:    http://trac.sagemath.org/sage_trac/ticket/4355 which has been in need for a volunteer for three years. Yes, so Travis please use this ticket number for your patch! It has been done. I basically just called

[sage-combinat-devel] Re: Data structure design pattern (for Cartan types)

2012-01-12 Thread Travis Scrimshaw
Certainly something that's been though of a lot, and deserves yet more thoughts. Have you explored the related:  -http://combinat.sagemath.org/code/file/tip/sage/categories/with_reali...  -http://combinat.sagemath.org/code/file/tip/sage/categories/examples/r... I looked at them, and I don't

[sage-combinat-devel] Re: dot2tex, combinat

2012-01-15 Thread Travis Scrimshaw
Here's the new patch: http://trac.sagemath.org/sage_trac/ticket/12314 I know that skew_partitions/tableau also needs a latex output as well, is there anything else? Also I am thinking of changing the structure instead of the output file (which just contains the array_to_tex() function and I

[sage-combinat-devel] Re: sage queue does not apply

2012-03-05 Thread Travis Scrimshaw
Hey everyone, Sorry about that, my editor did that automatically. I've turned off that feature. Thank you for doing that Nicolas. Travis On Mar 5, 1:50 pm, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote:         Hi Travis, On Mon, Mar 05, 2012 at 04:49:07AM -0800, Anne Schilling

[sage-combinat-devel] Re: queue broken

2012-05-14 Thread Travis Scrimshaw
Hey Nicolas, First off, when I try to apply the queue, I get the following conflict: patching file doc/en/reference/combinat/index.rst Hunk #1 FAILED at 3 1 out of 1 hunks FAILED -- saving rejects to file doc/en/reference/combinat/index.rst.rej patch failed, unable to continue (try -v) patch

Re: [sage-combinat-devel] Re: queue broken

2012-05-15 Thread Travis Scrimshaw
Okay, then its something with 5.rc0. However its moot since the support for pre-5.x is dropped. Thanks Nicolas and Florent for all your hard work! Best, Travis On Tuesday, May 15, 2012 12:16:33 AM UTC-7, Anne Schilling wrote: Travis, On Mon, May 14, 2012 at 03:05:02PM -0700, Travis

Re: [sage-combinat-devel] Re: queue broken

2012-05-15 Thread Travis Scrimshaw
Schilling wrote: On 5/15/12 12:18 PM, Nicolas M. Thiery wrote: On Tue, May 15, 2012 at 09:41:51AM -0700, Travis Scrimshaw wrote: Okay, then its something with 5.rc0. However its moot since the support for pre-5.x is dropped. Don't tell the others, but I am still running rc0

[sage-combinat-devel] Permutations and trac ticket #8392

2012-05-16 Thread Travis Scrimshaw
Hey everyone, So the old permutations patch was sufficient (minus a few doc-strings tests which were in #9831 that is no longer in the queue), and I couldn't produce an error with WeightedIntegerVectors. However there is still the previously noted conflict with

[sage-combinat-devel] Re: Permutations and trac ticket #8392

2012-05-16 Thread Travis Scrimshaw
if: - an input is a matrix (or coerce-able into one) - a matrix has (non-negative) integer entries - check if the matrix is sparse (to improve iterations) Best, Travis On Tuesday, May 15, 2012 11:19:11 PM UTC-7, Travis Scrimshaw wrote: Hey everyone, So the old permutations patch was sufficient

Re: [sage-combinat-devel] Re: Permutations and trac ticket #8392

2012-05-19 Thread Travis Scrimshaw
Biwords. Makes sense. Stanley just referred to them as generalized permutations or 2-line arrays. While I can implement biwords easily, how about my original question on checking if an input is a matrix (or coerseable into one)? Thanks, Travis On Friday, May 18, 2012 5:17:38 AM UTC-7,

Re: [sage-combinat-devel] Re: Permutations and trac ticket #8392

2012-05-21 Thread Travis Scrimshaw
I don't really know; you probably want to ask on sage-devel. Will do. Thanks. Now to properly separate out the generalized permutations / two-line array / biwords, I'm thinking of creating two new classes. The first I'd call TwoLineArray which inherits from CombinatorialObject which

[sage-combinat-devel] Re: problems with some files in the queue

2012-07-13 Thread Travis Scrimshaw
11305 patch changed. Best, Travis On Thursday, July 12, 2012 11:14:19 PM UTC+1, John H Palmieri wrote: In the combinat queue, some files contain non-ascii characters. Several participants at Sage-Combinat Days 40 have run into problems with this: when there are non-ascii characters, if

[sage-combinat-devel] Re: queue broken

2012-07-13 Thread Travis Scrimshaw
Hey, I'm also getting an error when applying trac_9265_tableaux_categories_jb.patch. Is this related? Best, Travis On Thursday, July 12, 2012 7:46:15 PM UTC+1, Anne Schilling wrote: Hi! The patch queue is currently broken with sage-5.1. Nicolas claims that he fixed this before lunch,

Re: [sage-combinat-devel] Re: queue broken

2012-07-14 Thread Travis Scrimshaw
of sage are you using? You should upgrade to sage-5.1 most likely! Anne On 7/13/12 4:23 AM, Travis Scrimshaw wrote: Hey, I'm also getting an error when applying trac_9265_tableaux_categories_jb.patch. Is this related? Best, Travis On Thursday, July 12, 2012 7:46

Re: [sage-combinat-devel] Re: queue broken

2012-07-15 Thread Travis Scrimshaw
' patch. I'll try to restore them later. -Mike On Friday, 13 July 2012 09:14:47 UTC-5, Anne Schilling wrote: Hi Travis, For me everything applies fine under sage-5.1. Which version of sage are you using? You should upgrade to sage-5.1 most likely! Anne On 7/13/12 4:23 AM, Travis

Re: [sage-combinat-devel] Re: queue broken

2012-07-16 Thread Travis Scrimshaw
Nicolas, I'm apply the same guard to #6538. Let me know if there's a better approach to this. With #12925 applied, #6538 applies for me. Thus the queue should work now (at least with respect to my patch). Thanks, Travis -- You received this message because you are subscribed to the Google

Re: [sage-combinat-devel] Some questions generic and less generic questions about sage-combinat

2012-07-24 Thread Travis Scrimshaw
above). For pictures in latex, I usually prefer the Ferrers diagram notation. This is also useful for the upcoming rigged configuration code. But we could indeed have two methods. I think Travis Scrimshaw (my student) is the person who recently changed this. Yes, I was the one who changed

Re: [sage-combinat-devel] Some questions generic and less generic questions about sage-combinat

2012-07-29 Thread Travis Scrimshaw
Hey Andrew, I like the named argument suggestion except that it having routines parse input is, I think, generally a bad idea as it leads to slower code. Currently most of these routines actually accept as input EITHER two integers, i and j say, or a cell=(i,j) and then they have to decide

Re: [sage-combinat-devel] Some questions generic and less generic questions about sage-combinat

2012-08-02 Thread Travis Scrimshaw
Hey Andrew, I guess that no one is working on converting partitions to the category framework since no one has said anything. I'll volunteer to do this once/if? my partition tuples patches make it through. Until it's clear what is happening with these I'd rather not start another large

[sage-combinat-devel] Re: building sage 5.2 and higher

2012-08-09 Thread Travis Scrimshaw
Also, for reference, I'm running Ubuntu 10.02 (on a VirtualBox VM from a host OS of Vista). Best, Travis On Thursday, August 9, 2012 1:44:49 AM UTC-7, Christian Stump wrote: Since there were still people having problems to install sage 5.2 (or higher), here is a discussion on sage-support

[sage-combinat-devel] Re: Tableaux rebase

2012-08-14 Thread Travis Scrimshaw
Hey Andrew, I will be doing my review this week (sorry for the delay). Please make sure the patch on trac is current. Thanks, Travis On Tuesday, August 14, 2012 5:51:39 AM UTC-7, Andrew Mathas wrote: I rebased Jason's trac_9265_tableaux_categories_am.patch and moved it to the top of the

[sage-combinat-devel] Re: number_of_partitions and friends

2012-08-24 Thread Travis Scrimshaw
Hey Andrew, I have no complaints. I've put myself down as the reviewer on the trac ticket, so let me know when the patch is ready for a review. Best, Travis On Thursday, August 23, 2012 5:11:03 PM UTC-7, Andrew Mathas wrote: I remembered that I did in fact discuss doing these deprecations

[sage-combinat-devel] Re: slice

2012-09-09 Thread Travis Scrimshaw
Hey, For partitions, compositions, tableau it might make sense for a slice to return an object of the same type. Although I would be against making this feature completely consistent because, for example, I definitely want the following behaviour to remain: sage: Partition([4,4,3,2])[2]

[sage-combinat-devel] Re: series file in disarray

2012-09-11 Thread Travis Scrimshaw
Anne, Can I just say that I really don't like vimdiff and it never has wanted to work for me. Thank you for correcting this. Sorry, Travis On Monday, September 10, 2012 10:44:52 PM UTC-7, Anne Schilling wrote: Hi Travis, I think you completely messed up the series file with your last

[sage-combinat-devel] Re: [sage-devel] number_of_partitions

2012-09-21 Thread Travis Scrimshaw
Hey In the long run I definitely vote for option 1, with sage.combinat.partitions.number_of_partitions pointing at any time to whatever implementation is fastest. I am also all fine with option 1 in the short run if the user gets a useful error message when passing extra options;

[sage-combinat-devel] Re: kshape-om.patch

2012-10-12 Thread Travis Scrimshaw
Hey Andrew, Thanks for rebasing. I've fixed all of the doctests errors that I introduced and it now all tests pass (on the modified files) at partition_options-ts.patch, so what is the error that you get? Best, Travis On Thursday, October 11, 2012 11:33:17 PM UTC-7, Andrew Mathas wrote:

[sage-combinat-devel] Re: kshape-om.patch

2012-10-14 Thread Travis Scrimshaw
Hey Andrew, Both errors were caused by me and has been fixed. Thanks, Travis On Sunday, October 14, 2012 6:26:53 AM UTC-7, Andrew Mathas wrote: Hi Travis, The errors that I got were: sage -t devel/sage-combinat/sage/combinat/skew_partition.py

Re: [sage-combinat-devel] unable to install (fixed)

2012-10-14 Thread Travis Scrimshaw
Thanks Nicolas! Best, Travis On Sunday, October 14, 2012 1:43:53 PM UTC-7, Nicolas M. Thiery wrote: Dear Justin, Travis, Andrew, On Sun, Oct 14, 2012 at 07:42:46AM -0700, Justin Kerney wrote: I've been unable to get combinat to install. I installed sage-5.3-OSX-64bit-

Re: [sage-combinat-devel] unable to install (fixed)

2012-10-15 Thread Travis Scrimshaw
Hey Andrew, I will just change it in my patch since mine is (will be) making a fair amount of change to partition.py. Also, I'm operating under the assumption that #13072 and #13074 will be merged long before mine is done. I also believe all of your patches are ahead of

[sage-combinat-devel] Re: 13382 does not apply

2012-10-18 Thread Travis Scrimshaw
Should be fixed. Best, Travis On Thursday, October 18, 2012 11:22:27 AM UTC-7, Anne Schilling wrote: Hi Travis, The patch trac_13382.patch that you added to the queue does not apply to sage-5.4.rc0 (at least). Please fix that!! Anne skipping trac_13404-sf-nt.3.patch -

Re: [sage-combinat-devel] Global options for elements set by their parents

2012-10-28 Thread Travis Scrimshaw
Hey everyone, On Sunday, October 28, 2012 2:13:07 AM UTC-7, Andrew Mathas wrote: Hi Nicolas, Not OK (this could break e.g. Symmetric Functions): sage: Partitions().options(cmp=dominance) In his patch Travis has an option for changing the default comparison method and I think

Re: [sage-combinat-devel] Partition options and cleanup patch

2012-11-02 Thread Travis Scrimshaw
Hey Nicolas, - IntegerListsLex no longer inherits from CombinatorialClass, but instead from Parent with elements of ClonableArray Have you made some timings to measure the improvement? No I haven't. I just remove the (deprecated-ish) CombinatorialClass and made sure

[sage-combinat-devel] Re: [wst...@math.washington.edu: [sage-combinat-commits] [Sage] #13688: FiniteEnumeratedSets cardinality override]

2012-11-05 Thread Travis Scrimshaw
Hey Nicolas, On Monday, November 5, 2012 3:10:11 PM UTC-8, Nicolas M. Thiery wrote: Hi Travis! Answering on sage-combinat-devel since trac access is to slow from here. - Forwarded message from Sage wst...@math.washington.edujavascript: - Right now the category

[sage-combinat-devel] Re: Partition options and cleanup patch

2012-11-06 Thread Travis Scrimshaw
Hey Andrew, If you have he stomach for it, I think that it would also be good to name the class Partition_class as Partition -- and make the current Partition function its __classcall_private__ method. I don't think this is will really work because Partition_class is a subclass of

Re: [sage-combinat-devel] Re: Partition options and cleanup patch

2012-11-07 Thread Travis Scrimshaw
Hey Nicolas, - Would anyone object to making from_* private (i.e. _from_*) since they are internal helper functions? I do :-) Those are also meant to be called directly by the developer when speed matters. Although arguably one would possibly want: sage:

Re: [sage-combinat-devel] Partition options and cleanup patch

2012-11-08 Thread Travis Scrimshaw
Hey everyone, Just checking since I haven't followed seriously sage-combinat-devel lately; for the semantic-changing options: +1 on Partitions(order=...) -1 on Partitions().options(order=...) For doing the ordering option, how do we want to compare two elements with different

Re: [sage-combinat-devel] Partition options and cleanup patch

2012-11-09 Thread Travis Scrimshaw
Hey Hugh, Florent, and Andrew, - I rebased the partition_leg_speedup-fh.patch since noone has seems to have touched it in awhile and I making partitions.py Python 3 compliant. - I disabled partitions_speedup_jb.patch since I wanted to ask if it is okay that I remove this since I ended up

Re: [sage-combinat-devel] Partition options and cleanup patch

2012-11-09 Thread Travis Scrimshaw
Hey Nicolas, If it was just for me, I would forbid to compare with '' two objects with different parents (possibly with some well chosen exceptions like 1/2 1). In other words: if you get into a situation where you have a serious doubt about the semantic (and thus probably even more so

Re: [sage-combinat-devel] Partition options and cleanup patch

2012-11-11 Thread Travis Scrimshaw
Hey Nicolas, This could be a good candidate for a lazy_import. I'll give it a try. Hey Hugh, What Andrew said was correct, it's because we are removing Partition_class. I will setup an alias with a deprecation warning. Best, Travis -- You received this message because you are

Re: [sage-combinat-devel] Partition options and cleanup patch

2012-11-12 Thread Travis Scrimshaw
Hey Hugh, No problem. Sorry this has been such a hassle. Also, I've rebased concrete_combinatorial_statistics_and_maps-cs.patch (with Christian's approval), so the whole queue should (at present) apply cleanly. Best, Travis On Sunday, November 11, 2012 11:54:20 PM UTC-8, Hugh Thomas

[sage-combinat-devel] Re: sage-combinat repo is still down

2012-11-12 Thread Travis Scrimshaw
Hey everyone, I believe the repo is down again. Any estimated time on a revival? Thanks, Travis On Monday, November 5, 2012 7:18:28 AM UTC-8, Christian Stump wrote: Hi all, any idea what the problem with the sage-combinat repository is, or when it will be alive again? Thanks,

Re: [sage-combinat-devel] Re: sage-combinat repo is still down

2012-11-13 Thread Travis Scrimshaw
amount of RAM in it, which I guess increases the chances of failure... -- William On Tue, Nov 13, 2012 at 7:55 AM, William Stein wst...@gmail.comjavascript: wrote: On Mon, Nov 12, 2012 at 8:52 PM, Travis Scrimshaw tsc...@ucdavis.edujavascript: wrote: Hey everyone, I

[sage-combinat-devel] Re: state of the queue: 5.4, 5.5.beta0

2012-11-13 Thread Travis Scrimshaw
Hey Hugh, Travis: trac_12587-simplicial_complex_hash-ts.patch needs to be rebased over 13590 (easy -- I could take care of it if you want). I added #13590 to the queue and rebased #12587. Thanks, Travis -- You received this message because you are subscribed to the Google Groups

Re: [sage-combinat-devel] Partition options and cleanup patch

2012-11-13 Thread Travis Scrimshaw
Thanks Andrew! Travis On Tuesday, November 13, 2012 4:29:37 PM UTC-8, Andrew Mathas wrote: On 14/11/12 6:24 AM, Travis Scrimshaw wrote: Also in regard to the partition options patch, I can't seem to find the Partitions_all_cache when the queue is applied up to there (I'm running 5.4

[sage-combinat-devel] Sage-combinat repo down

2012-11-15 Thread Travis Scrimshaw
Hey, Sorry to sound like a broken record, but I believe the sage-combinat server is down again. What's the status on getting it back up? Thanks, Travis -- You received this message because you are subscribed to the Google Groups sage-combinat-devel group. To view this discussion on the web

Re: [sage-combinat-devel] Sage-combinat repo down

2012-11-16 Thread Travis Scrimshaw
...@gmail.comjavascript: wrote: There may be a memory issue. I'm going to the server room to physically reboot it again right now. On Thu, Nov 15, 2012 at 9:27 AM, Travis Scrimshaw tsc...@ucdavis.edujavascript: wrote: Hey, Sorry to sound like a broken record, but I believe

Re: [sage-combinat-devel] Permutations... again.

2012-11-20 Thread Travis Scrimshaw
Hey everyone, Here's how you can get an infinite loop in two lines with Permutation. sage: p = Permutation([(1,10,11,13,9,3,16,0,22),(8,2,15,18,24,26,20,21,4),(5,6,17,12,25,7,23,14,19)]) sage: p.to_cycles() Of course it has to be because my permutation goes from 0 to n-1

Re: [sage-combinat-devel] Re: Permutations... again.

2012-11-22 Thread Travis Scrimshaw
Hey Nathann, The main reason why I stalled on the permutations input was mainly trying to figure out how to handle generalized permutations (a.k.a. bi-words, two-line arrays, in bijection with N-matrices) so the RS(K) examples will still work (and as a 2fer, getting the full RSK working),

Re: [sage-combinat-devel] Re: state of the queue: 5.4, 5.5.beta0

2012-11-23 Thread Travis Scrimshaw
That was my fault due to changes in trac_13605-partition_options-ts.patch. . . Andrew, I've rebased the patch by changing the compact option in _repr_() to the method _repr_compact() (to fit into the display options framework for partition/tableau objects). The queue should now apply cleanly.

[sage-combinat-devel] Re: [sage-devel] Re: Changing the default behaviour of Poset

2012-11-23 Thread Travis Scrimshaw
Hey everyone, I just had an idea, and maybe this is more wishful thinking, but I feel like we should be able to pass a poset/lambda function(s)/class which contains comparison methods into a parent and have that be able to override the default ordering (similar to what C++ does in the STL).

Re: [sage-combinat-devel] Re: state of the queue: 5.4, 5.5.beta0

2012-11-27 Thread Travis Scrimshaw
Hey Christian, I've upgraded, so feel free to push your changes and I'll rebase #13605 as needed. Best, Travis On Friday, November 23, 2012 6:44:17 AM UTC-8, Christian Stump wrote: Ok, I'll work now on rebasing my patch for 5.5.rc0. Sorry it's taking so long. It's not that I need

[sage-combinat-devel] Re: Generalized Permutations

2012-11-27 Thread Travis Scrimshaw
Martin, You mentioned that you had code for variants of RSK, could you repost/reference that? Thanks, Travis On Tuesday, November 27, 2012 2:58:21 PM UTC-8, Travis Scrimshaw wrote: Hey everyone, I've been trying to figure out how to handle generalized permutations (a.k.a. two-line

Re: [sage-combinat-devel] CartesianProduct with generators - silent wrong answer

2012-11-27 Thread Travis Scrimshaw
Hey, In a few places, I think we already are assuming generators are for finite lists. However I also think its better to use IterableFunctionCall since if we do something like: {{{ sage: L = CarteseanProduct(Partitions()) # Maybe for a better example Partitions_all.__iter__() sage: for x in

Re: [sage-combinat-devel] Partition options and cleanup patch

2012-11-27 Thread Travis Scrimshaw
Hey everyone, Here's the current update of the options patch #13605: - I've added containment as an additional order option which are set in the parent objects - I've had to leave `Partitions_all` alone for the most part, deprecating it caused pickling/TestSuite errors I couldn't figure out

[sage-combinat-devel] Re: [sage-devel] Re: Changing the default behaviour of Poset

2012-11-29 Thread Travis Scrimshaw
is not facades, but instead the equality comparison method is not robust enough. Best, Travis On Thursday, November 29, 2012 2:36:05 PM UTC-8, Nicolas M. Thiery wrote: On Fri, Nov 23, 2012 at 06:53:56PM -0800, Travis Scrimshaw wrote: Hey everyone, I just had an idea, and maybe this is more

[sage-combinat-devel] Re: tableaux in 5.4.1

2012-11-30 Thread Travis Scrimshaw
Hey Anne, Darij, I missed one of the *length_tableau() functions when I was removing it. It should work now. Best, Travis On Friday, November 30, 2012 12:10:15 AM UTC-8, Andrew Mathas wrote: Hi Anne, The problem appears after trac_13605-partition_options-ts.patch is applied. Andrew

[sage-combinat-devel] Re: trac_13762

2012-11-30 Thread Travis Scrimshaw
Hey everyone, #13605 has now been rebased and the queue applies cleanly for me. Best, Travis On Friday, November 30, 2012 4:56:20 PM UTC-8, Anne Schilling wrote: Hi Sage-combinat Folks, I have just added Chris Berg's patch 13762 to the sage-combinat queue. Unfortunately, it has a

[sage-combinat-devel] Re: trac_13762

2012-11-30 Thread Travis Scrimshaw
And now sage actually starts and creates the partitions and k-bounded partitions. Best, Travis On Friday, November 30, 2012 5:22:26 PM UTC-8, Travis Scrimshaw wrote: Hey everyone, #13605 has now been rebased and the queue applies cleanly for me. Best, Travis On Friday, November 30

[sage-combinat-devel] Re: Constructing homs

2012-12-05 Thread Travis Scrimshaw
Hey Andrew, It sounds more like you want to use a spare matrix (or even just a dictionary with a tuple as the key) and fill in entries as you compute them. Best, Travis On Wednesday, December 5, 2012 3:29:27 AM UTC-8, Andrew Mathas wrote: huh? sage: m=matrix([[1,2],[3,4]]) sage: m

[sage-combinat-devel] Re: facade initialisation

2012-12-05 Thread Travis Scrimshaw
Hey everyone, What is the reason why facade=True is allowable by Parent? It seems like we always want to pass in the parent(s) which our facade parent is acting for. Best, Travis On Wednesday, December 5, 2012 8:23:01 AM UTC-8, Vincent Delecroix wrote: Dear facade lovers, I just

Re: [sage-combinat-devel] Re: facade initialisation

2012-12-06 Thread Travis Scrimshaw
/6 Travis Scrimshaw tsc...@ucdavis.edu javascript:: What is the reason why facade=True is allowable by Parent? It seems like we always want to pass in the parent(s) which our facade parent is acting for. On Wednesday, December 5, 2012 8:23:01 AM UTC-8, Vincent Delecroix wrote

Re: [sage-combinat-devel] Re: sage.sets.disjoint_set and sage.combinat.set_partitions

2012-12-06 Thread Travis Scrimshaw
is mainly about the naming convention. Best, Vincent 2012/12/6 Travis Scrimshaw tsc...@ucdavis.edu javascript:: Hey Vincent, I found this ticket #5039 in which it mentions in the combinat queue (although it seems like it got integrated into sage at some point...), they created

Re: [sage-combinat-devel] Re: facade initialisation

2012-12-06 Thread Travis Scrimshaw
Perhaps it would be better it would be better to set _facade_for = facade in parent.pyx by un-indenting the line one step in Parent.__init__() rather than doing a getattr(). That was suppose to be (its been a long day, please forgive me): Perhaps it would be better to set _facade_for =

Re: [sage-combinat-devel] Partition options and cleanup patch

2012-12-11 Thread Travis Scrimshaw
Hey Andrew, The easy one first: should the reverse ordering also exist? That is, reverse lex, reverse dominance, reverse containment? If people agree that it is worth including these explicitly it would be good if there was a systematic way to organise all of the orderings...will let

Re: [sage-combinat-devel] Partition options and cleanup patch

2012-12-11 Thread Travis Scrimshaw
Ah I see. I will implement a (naive) __reversed__() method for the partitions (see http://docs.python.org/2/library/functions.html#reversed) since we've removed __len__() from the partition parents. That way you can just call `reversed(Partitions(5))` to iterate through in reverse. Expect

Re: [sage-combinat-devel] Re: problems with documentation build

2012-12-13 Thread Travis Scrimshaw
On Thursday, December 13, 2012 9:32:49 AM UTC-8, Dima Pasechnik wrote: I should mention that this kind of error was reported on http://trac.sagemath.org/sage_trac/ticket/13143 but nobody was able to say exactly where the problem lies. Now we know, it's Firefox-specific. I can also add

Re: [sage-combinat-devel] partitions

2012-12-14 Thread Travis Scrimshaw
Hey Alexm On Sat, Dec 15, 2012 at 09:04:40AM +1100, Alex Ghitza wrote: Thanks for the hints. I hadn't noticed the magic incantation with max_slope and length; that's the kind of thing I was looking for. There seems to be quite a bit of overhead involved. Here are some timings,

[sage-combinat-devel] Re: Queue fails to apply

2012-12-18 Thread Travis Scrimshaw
, Travis Scrimshaw a écrit : Hey Jean-Baptiste Priez, I disabled your recently added patch trac_13793-some-hopf-algebra-f-w-pqsym-EliX-jbp.patch since it did not apply in the queue for me (the failure was in setup.py and I'm running 5.5.rc0). Thanks, Travis -- You received this message

Re: [sage-combinat-devel] partitions

2012-12-18 Thread Travis Scrimshaw
Hey Nicolas, Thanks for investigating this! If you feel like it, I am all in favor of a small patch taking care of the most urgent optimizations before we go for the full cythonization. I am not surprised by the results of your timings. In MuPAD we had done a similar optimization by using

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

2013-01-04 Thread Travis Scrimshaw
Hey Hugh, Below are the results of my attempt to apply the queue on 5.6.beta2. Thanks Hugh. Nicolas: trac_10193-graded_enumerated_sets-nt.patch needs to be rebased over #13742 (Nathann's ticket about the permutations code), which needs to be added into the queue. Also,

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

2013-01-04 Thread Travis Scrimshaw
Nicolas: trac_10193-graded_enumerated_sets-nt.patch needs to be rebased over #13742 (Nathann's ticket about the permutations code), which needs to be added into the queue. Also, category-symmetric_groups-nt.patch needs a trivial rebase over #13366 Nicolas, I've added the #13742

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

2013-01-07 Thread Travis Scrimshaw
Hey Christian, @Travis: did you introduce #+5_6_beta1, 10193_rebase ? This way, one cannot install the combinat queue anymore since sage -combinat qselect doesn't understand this guard... Yes I did. I thought that was how to get 2 guards on a patch. Sorry about that. Best, Travis --

[sage-combinat-devel] Re: Robinson-Schensted bug

2013-01-21 Thread Travis Scrimshaw
Hey Jean-Yves, If you want to write a small patch to fix this to get something merged into sage, please let me know because I might need to rebase trac_8392-check_permutation-ts.patch (I can also review it). Otherwise I can work the fix in my aforementioned patch because I'm reworking the

Re: [sage-combinat-devel] Re: Compositions in reverse order?

2013-01-23 Thread Travis Scrimshaw
Hey everyone, On Wednesday, January 23, 2013 3:42:55 AM UTC-8, Jean-Yves Thibon wrote: Yes ! As you probably already guessed, everything is not yet in a clean state... The first call should raise the same error than the second one. I understand, but in this case, one should teach

Re: [sage-combinat-devel] Partition and tableau options in #13605

2013-01-25 Thread Travis Scrimshaw
Hey Anne, Thanks for your work on this! XD I say Andrew is doing the hard work on this. I am reviewing Travis' patch #13605 which is great as it implements some needed improvements. I have a few minor issues which I think shouldn't be decided between just the two of us -- apologies

[sage-combinat-devel] Re: the queue on 5.7

2013-02-01 Thread Travis Scrimshaw
Hey Hugh, Thanks for checking this. (And yay!) Best, Travis On Friday, February 1, 2013 8:01:22 AM UTC-5, Hugh Thomas wrote: Hi everyone! The queue applies on 5.7.beta2, and sage starts. cheers, Hugh On Tuesday, January 29, 2013 7:26:48 PM UTC-4, Hugh Thomas wrote: Hi everyone!

[sage-combinat-devel] Re: sage-combinat currently breaks sage

2013-02-16 Thread Travis Scrimshaw
Hey Anne and Nicolas, I caused this when I rebased #10963. I've fixed it and pushed the changes. Sorry! Travis On Saturday, February 16, 2013 9:54:59 AM UTC-5, Anne Schilling wrote: Hi! Applying all patches in the sage-combinat queue needing review (and no further) currently breaks

[sage-combinat-devel] Crashes in docbuild

2013-02-17 Thread Travis Scrimshaw
Hey everyone, Mike Z. first noticed that the docbuild crashes when the full combinat queue is applied, and the patch which this starts to occur is Mike H.'s attrcall-mh.patch. travis@travis-virtualbox:~/sage-5.7.beta3/devel/sage-combinat/sage/combinat$ sage -docbuild reference html

[sage-combinat-devel] WARNING: Docbuilder patch (#6495) going into combinat

2013-02-19 Thread Travis Scrimshaw
Hey everyone, I have (a few) patches which modifies the documentation, so I need to add ticket #6495 http://trac.sagemath.org/sage_trac/ticket/6495 to the combinat queue. This will likely break a fair number of patches and you *will* need to download the spkg at

[sage-combinat-devel] Re: WARNING: Docbuilder patch (#6495) going into combinat

2013-02-19 Thread Travis Scrimshaw
Here's the list of patches I disabled: - trac_10193-graded_enumerated_sets-vd_no_more_nt.patch - trac_10193-review-nb.patch - trac_10193-more-vd.patch - trac_12940_affine_permutations-td.patch - trac_8703-trees-fh.patch - trac_13987_mary_trees-vp.patch - trees_symmetry_factor-fh.patch -

Re: [sage-combinat-devel] WARNING: Docbuilder patch (#6495) going into combinat

2013-02-19 Thread Travis Scrimshaw
-5, Nicolas M. Thiery wrote: On Tue, Feb 19, 2013 at 05:20:20AM -0800, Travis Scrimshaw wrote: I have (a few) patches which modifies the documentation, so I need to add ticket #6495 to the combinat queue. This will likely break a fair number of patches and you *will* need

[sage-combinat-devel] Re: WARNING: Docbuilder patch (#6495) going into combinat

2013-02-19 Thread Travis Scrimshaw
Hey Andrew, There could likely be other dependencies that don't show up on trac because they were already merged into sage before the ticket came up for review. What I found was look for files which you get rejects on and see if there are any patches which modify said files between your

[sage-combinat-devel] Re: WARNING: Docbuilder patch (#6495) going into combinat

2013-02-20 Thread Travis Scrimshaw
Just as a gotcha!, make its recommended on the ticket that you delete the old output directory before you rebuild the new documentation because the old files still hang around. Best, Travis On Tuesday, February 19, 2013 9:13:37 AM UTC-5, Travis Scrimshaw wrote: Here's the list of patches

[sage-combinat-devel] Re: queue broken on 5.6

2013-02-20 Thread Travis Scrimshaw
Hey Franco, These all percolate from #6495 not applying. Andrew also came across this problem (I think he upgraded) Tomorrow I will dig through and see if I can find out what patch(es) are missing. Best, Travis On Wednesday, February 20, 2013 4:50:45 PM UTC-5, Franco Saliola wrote:

[sage-combinat-devel] Re: queue broken on 5.6

2013-02-21 Thread Travis Scrimshaw
Hey Franco (and Andrew), Could you post the reject file that you're getting so I'll know where to look? Thank you, Travis On Wednesday, February 20, 2013 10:35:39 PM UTC-5, Travis Scrimshaw wrote: Hey Franco, These all percolate from #6495 not applying. Andrew also came across

Re: [sage-combinat-devel] Re: queue broken on 5.6 (fixed)

2013-02-22 Thread Travis Scrimshaw
Hey Franco, I noticed that this morning and fixed it (about an hour ago and it was an error on every version caused by me). Best, Travis On Friday, February 22, 2013 10:55:03 AM UTC-5, Franco Saliola wrote: On Thu, Feb 21, 2013 at 4:10 PM, Nicolas M. Thiery

Re: [sage-combinat-devel] queue broken on 5.7

2013-02-26 Thread Travis Scrimshaw
I'll check as soon as I get in that trac_13872-RC_bijections-ts.patch still applies and reupload #13605 to trac. However on 5.8.beta1, I get this reject: patching file doc/en/thematic_tutorials/index.rst Hunk #1 FAILED at 4 1 out of 1 hunks FAILED -- saving rejects to file

[sage-combinat-devel] Missing references in the docbuild

2013-02-26 Thread Travis Scrimshaw
Hey everyone, You know when you get warnings like: [combinat ] /home/travis/sage-5.8.beta1/devel/sage/doc/en/reference/combinat/words.rst:4: WARNING: toctree contains reference to nonexisting document 'sage/combinat/words/abstract_word' and typically one has to delete the entire doc output

[sage-combinat-devel] Re: combinat installation fails on sage-5.7

2013-02-27 Thread Travis Scrimshaw
Hey Vincent and Nicolas, It should be fixed now. I rebased it over #14054. Best, Travis On Wednesday, February 27, 2013 10:17:55 AM UTC-5, Vincent Delecroix wrote: Hi, Just to let you know, sage -combinat install still failed to apply on sage-5.7 {{{ applying

[sage-combinat-devel] Re: _repr_ method for Posets

2013-03-01 Thread Travis Scrimshaw
Right now, the _repr_ method for posets returns a very generic statement: sage: Posets(4)[0] Finite poset containing 4 elements This makes two posets with the same number of elements indistinguishable from their _repr_. I would like to change this. Possible suggestion: Poset on n

[sage-combinat-devel] Re: __classcall_private__ in partitions

2013-03-04 Thread Travis Scrimshaw
Hey Simon, Because the ABC Partitions has a __classcall_private__() which returns the correct parent and is acting as a factory. This is applied to all of its subclasses which doesn't make sense there and caused exceptions to be raised (at least, that's what I remember, it's been awhile

[sage-combinat-devel] Re: __classcall_private__ in partitions

2013-03-04 Thread Travis Scrimshaw
Hey Simon, No, certainly not. From the docs of sage.misc.classcall_metaclass: Another difference is that ``__classcall__`` is inherited by subclasses, which may be desirable, or not. If not, one should instead define the method ``__classcall_private__`` which will

Re: [sage-combinat-devel] Re: Longest element in a Coxeter Group - name decision

2013-03-06 Thread Travis Scrimshaw
Hey, Thanks Kannappan for your work on this! By the way: would you mind using the occasion to move this method to the CoxeterGroups category? Of course, calling W.longest_element() for an infinite coxeter group W is not a wise thing to do; but we recently had the need for computing

[sage-combinat-devel] Re: partition code breaks k-Schur functions

2013-03-06 Thread Travis Scrimshaw
That might be my patch on speeding up k_dual since I made some minor tweaks the partitions.py...I'll look into it today. Best, Travis On Tuesday, March 5, 2013 11:11:19 PM UTC-5, Anne Schilling wrote: Hi! I noticed today that some patch between the beginning and trac_14102 in the

[sage-combinat-devel] Re: partition code breaks k-Schur functions

2013-03-06 Thread Travis Scrimshaw
PS - The patch I'm referring to is trac_14228-sym_speedup-ts.patch. -- 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] Re: partition code breaks k-Schur functions

2013-03-06 Thread Travis Scrimshaw
Hey Anne, I was the culprit, but it was in trac_12453-refactor_integer_vectors-ts.patch. I've disabled this patch for now, so kschurs should now be working. Sorry for the trouble, Travis -- You received this message because you are subscribed to the Google Groups sage-combinat-devel

  1   2   3   4   5   6   7   8   9   10   >