Re: [sage-devel] Re: find_stat in Sage, the combinatorial_map decorator and its consequences

2013-06-19 Thread tom d
Indeed, the whole reason many of us do any work on Sage is to help our research projects. The principle of helping Sage to help our individual mathematical pursuits is actually what makes it consistently stronger as a system. Find Stat is a great tool for the community, and I think there are

[sage-combinat-devel] Re: Paper publication of the book Calcul Mathematique avec Sage

2013-06-14 Thread tom d
Congratulations! This reminds me that I need to work on my paper interface to the Sage Cell Server. :) On Wednesday, June 12, 2013 12:18:21 AM UTC+3, Dox wrote: Great work! Congratulations! -- You received this message because you are subscribed to the Google Groups sage-combinat-devel

[sage-devel] Re: Paper publication of the book Calcul Mathematique avec Sage

2013-06-14 Thread tom d
Congratulations! This reminds me that I need to work on my paper interface to the Sage Cell Server. :) On Wednesday, June 12, 2013 12:18:21 AM UTC+3, Dox wrote: Great work! Congratulations! -- You received this message because you are subscribed to the Google Groups sage-devel group. To

[sage-devel] Signal handling

2013-03-29 Thread tom d
Hello! I'm trying to run Django inside of the Sage python and import the sage libraries. (Idea: Hey, look, a web server that can find derivatives!) The Django install into my Sage install went fine, but I'm getting an error when trying to import the Sage libraries: http://dpaste.com/1038581/

Re: [sage-devel] Signal handling

2013-03-29 Thread tom d
PM, tom d wrote: The problem seems to be at: from sage.ext.c_lib import _init_csage, sig_on_count _init_csage() which is explicitly using the signal library and doing signal handling stuff for Sage. Any idea how deep this goes? Some of the online suggestions are about using some

Re: [sage-devel] Signal handling

2013-03-29 Thread tom d
10:23:10 AM UTC+3, tom d wrote: Cool, I'll give the patch a shot. It looks like some other projects have a variable or option for disabling interrupts for exactly this reason; if a patch works, it might make sense to do signals optionally in Sage. I'm trying to import the sage libraries

Re: [sage-devel] Signal handling

2013-03-29 Thread tom d
Hm, the issue is that there's really big startup costs for Sage; it looks based on my cursory understanding of subprocess that there's a couple seconds of hang-time for each calculation one wants to execute. This doesn't really scale. I know there's something involving spawning a pile of

Re: [sage-devel] Signal handling

2013-03-29 Thread tom d
machine code from within Sage, so you need to have a plan for how to isolate it from the web frontend. Importing it all into one process is a bad idea. On Friday, March 29, 2013 7:23:10 AM UTC, tom d wrote: I'm trying to import the sage libraries into some Django code. I'm playing

[sage-combinat-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-27 Thread tom d
'Allo! On Tuesday, March 26, 2013 1:34:32 PM UTC+3, Volker Braun wrote: The group action framework is just the implementation, you still haven't answered the question that this thread was about: Should permutation actions on nested containers automatically discover one possible action or

[sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-27 Thread tom d
'Allo! On Tuesday, March 26, 2013 1:34:32 PM UTC+3, Volker Braun wrote: The group action framework is just the implementation, you still haven't answered the question that this thread was about: Should permutation actions on nested containers automatically discover one possible action or

[sage-combinat-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-26 Thread tom d
are you going to do if there is more than one possible action. You'll have to either use some heuristics (take the simpler / less nested action) or raise some exception telling the user to explicitly disambiguate between them. On Monday, March 25, 2013 8:33:57 AM UTC+1, tom d wrote: Hm

[sage-combinat-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-26 Thread tom d
oops, here's the code! I keep getting server erros when trying to attach as a file, so I'm just including the text of the code file below: class GroupAction(Parent): def __init__(self, G, S, phi): #phi a group action G\times S \rightarrow S self.phi=phi self.G=G

[sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-26 Thread tom d
are you going to do if there is more than one possible action. You'll have to either use some heuristics (take the simpler / less nested action) or raise some exception telling the user to explicitly disambiguate between them. On Monday, March 25, 2013 8:33:57 AM UTC+1, tom d wrote: Hm

[sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-26 Thread tom d
oops, here's the code! I keep getting server erros when trying to attach as a file, so I'm just including the text of the code file below: class GroupAction(Parent): def __init__(self, G, S, phi): #phi a group action G\times S \rightarrow S self.phi=phi self.G=G

[sage-combinat-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-25 Thread tom d
Hm, wouldn't this just be a direct product of the individual group actions? It seems to me that we're expecting the permutations to act according to an 'obvious' group action. Should we also expect 'obvious' actions of things like a dihedral group when given a 2-dimensional vector? Probably

[sage-devel] Re: a problem in the new permutation groups code (and a solution ?)

2013-03-25 Thread tom d
Hm, wouldn't this just be a direct product of the individual group actions? It seems to me that we're expecting the permutations to act according to an 'obvious' group action. Should we also expect 'obvious' actions of things like a dihedral group when given a 2-dimensional vector? Probably

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

2013-03-17 Thread tom d
. It should work now. Ben, please pull from the sage-combinat server before you keep working on your patch! Best, Anne On 3/15/13 2:51 PM, tom d wrote: From tonight's attempt to apply the queue in Sage 5.7rc0: applying trac_4327-root_system_plot_refactor-nt.patch

[sage-combinat-devel] Reviewer for #12940?

2013-03-17 Thread tom d
I think Ticket #12940 is probably ready for review, at long last, if anyone can find a bit of time to look it over. It's a combinatorial implementation of the affine Weyl groups of types A,B,C,D and G. http://trac.sagemath.org/sage_trac/ticket/12940 cheers! -- You received this message

[sage-combinat-devel] queue broken?

2013-03-15 Thread tom d
From tonight's attempt to apply the queue in Sage 5.7rc0: applying trac_4327-root_system_plot_refactor-nt.patch patching file sage/combinat/root_system/type_affine.py Hunk #1 succeeded at 237 with fuzz 2 (offset -54 lines). applying trac_14143-alcove-path-al.patch applying

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

2013-03-05 Thread tom d
I think longest_element is fine; long_word indicates that there will be a word returned instead of an element, which is maybe not what we're after here. Wiser minds than mine will have more knowledge of how to handle deprecation, but here's an example from skew_partition.py: sage:

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

2013-03-05 Thread tom d
I think longest_element is fine; long_word indicates that there will be a word returned instead of an element, which is maybe not what we're after here. Wiser minds than mine will have more knowledge of how to handle deprecation, but here's an example from skew_partition.py: sage:

[sage-devel] Re: strange behavior of sage

2013-03-05 Thread tom d
Yes, I would support such a warning; I've even led tutorials with new sage users where defining things called 'max' or 'min' has seemed an obvious thing to do and then minutes later been a problem as the default function was unavailable. On Tuesday, March 5, 2013 12:36:33 AM UTC+3, luisfe

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

2013-03-03 Thread tom d
Ok, thanks for the quick fix! On Sunday, March 3, 2013 9:43:29 PM UTC+3, Nicolas M. Thiery wrote: Hi Tom On Sun, Mar 03, 2013 at 10:27:05AM -0800, tom d wrote: Yup, just hit this myself, also with a missing plot module? here's my crash report: 44

[sage-devel] Re: Sage 5.6 on ARM

2013-01-30 Thread tom d
I can confirm that this same numerical noise (binomial, gamma functions) happens on the ARM6 on the Raspberry Pi, running the 'raspian' distro. (Which isn't Ubuntu, though it is a Debian derivative.) On Monday, January 28, 2013 1:55:30 PM UTC+3, Dima Pasechnik wrote: On 2013-01-28, Julien

[sage-devel] Re: Sage-5.2 on raspberry pi

2013-01-30 Thread tom d
In Ubuntu, the www-browser is a link: kaibutsu@sophos:~$ ls -lah /usr/bin/www-browser lrwxrwxrwx 1 root root 29 Oct 4 12:01 /usr/bin/www-browser - /etc/alternatives/www-browser So you could create that link and make it point to your favorite default browser. It might also be worth dropping a

Re: [sage-combinat-devel] Sage-combinat won't run with #12940 applied

2013-01-26 Thread tom d
Sorry, I was traveling and missed this. The file name has been changed to 'affine_permtation.py' as recommended, which should remove the headaches mentioned. On Thursday, January 24, 2013 1:14:01 PM UTC+3, Andrew Mathas wrote: On Thursday, 24 January 2013 20:31:36 UTC+11, Anne Schilling

Re: [sage-combinat-devel] Re: sage combinat on 5.5

2013-01-22 Thread tom d
Thanks! That did the trick. (And I've folded in your fix patch, Anne.) On Tuesday, January 22, 2013 12:34:20 PM UTC+3, Anne Schilling wrote: Hi! In discussion with Christian Stump and Nicolas Thiery, I learned that the way to fix a problem when sage remembers a wrong link (for example,

Re: [sage-devel] Should sage -b run sage -sync-build to get rid of outdated .py and .pyc files?

2013-01-22 Thread tom d
Another possible solution would be to change the error message one gets on a failed import statement. (I also lost hair on this issue a couple days ago.) Right now it says 'have you tried %upgrade?' or something similar; it could include the recommendation to -sync-build. On Sunday, January

[sage-combinat-devel] Problem with the nilcoxeter algebra

2013-01-19 Thread tom d
There's been a change to the init function for the Iwahori Hecke Algebra that causes the NilCoxeterAlgebra to fail. I _think_ this is happening in the affine_iwahori_hecke_algebras.patch; the nilcoxeter algebra is still working fine with combinat unapplied. There's an extra parameter

[sage-combinat-devel] Re: Problem with the nilcoxeter algebra

2013-01-19 Thread tom d
Ok, thanks; I'll just stick to working lower in the queue for now then. On Saturday, January 19, 2013 3:28:20 PM UTC+3, tom d wrote: There's been a change to the init function for the Iwahori Hecke Algebra that causes the NilCoxeterAlgebra to fail. I _think_ this is happening

[sage-devel] Sage-5.2 on raspberry pi

2013-01-17 Thread tom d
After many trials and tribulations, I've finished a build of Sage-5.5 for the Raspberry Pi. I'm still running the doctests; I've only seen timeouts so far, which is quite positive. I'm unsure how long the full (long) testsuite will take to run, but will post an update when it finishes. If

Re: [sage-devel] raspberry pi build fails - ARM

2013-01-15 Thread tom d
Hi, I'm working on exactly this (and have been on-and-off since last month). I actually JUST TODAY finished compiling lib4mrie on the nth attempt. I am doing the compilation on an 8gb USB stick with 3gb set as swap and the rest as an ext4-fs. THe above comments are spot on: after about 20m

Re: [sage-devel] Re: Sage 5.4 on ARM

2012-12-24 Thread tom d
year old nerd with $35+ to burn on a new machine.. I'm personally looking at deploying in rural schools in Western Kenya. Best, -tom On Thursday, December 20, 2012 12:47:53 AM UTC+3, Snark wrote: Le 19/12/2012 21:52, tom d a �crit : I'm experimenting with building Sage

Re: Re: [sage-devel] Re: Sage 5.4 on ARM

2012-12-24 Thread tom d
And I'm on a truly measly 256mb of RAM, but with 2gb swap. Thanks for taking some time to consider this! On Monday, December 24, 2012 2:53:56 PM UTC+3, Martin Albrecht wrote: On Monday 24 Dec 2012, tom d wrote: Man, still no success in getting through the libm4rie build. It ran for 38

[sage-combinat-devel] Re: comments on highlights for NSF

2012-12-19 Thread tom d
Hello! The write-up looks good! I have a bunch of stuff planned for the coming term incorporating Sage in Kenya and South Africa. Perhaps the line about Africa could be expanded to something like: 'The open nature of the Sage and Sage-Combinat projects encourages participation in developing

[sage-devel] Re: Sage 5.4 on ARM

2012-12-19 Thread tom d
Hey, yo; I'm experimenting with building Sage on the Raspberry Pi. It apparently has an ARM6 processor, so I'm running from scratch. I ran into problems building libm4rie as well (and also on building conversion.c); it would start running and then after about 20 minutes the device would

[sage-combinat-devel] Re: Sage Days in Bobo-Dioulasso debriefing; Sage in developping countries

2012-11-20 Thread tom d
Hey, all! Thanks for running this, Nicolas, and providing the detailed report! For converting people to linux: I'm working with a computer lab in Maseno, where we've now got linux dual-booting on all of the machines (about 40). Over the last couple months, we've gained a number of linux

[sage-combinat-devel] Re: Sage Days in Bobo-Dioulasso debriefing; Sage in developping countries

2012-11-20 Thread tom d
Hey, all; So the Mombasa algebraic geometry workshop is set for 6-28 July, 2013. Which is really long! They're interested in having some sage sessions; if anyone's interested in coming out I can plan to be there for an overlapping time and co-hosting the Sage sessions. (However, the first

[sage-devel] Re: Sage Days in Bobo-Dioulasso debriefing; Sage in developping countries

2012-11-20 Thread tom d
Hey, all! Thanks for running this, Nicolas, and providing the detailed report! For converting people to linux: I'm working with a computer lab in Maseno, where we've now got linux dual-booting on all of the machines (about 40). Over the last couple months, we've gained a number of linux

[sage-devel] Re: Sage Days in Bobo-Dioulasso debriefing; Sage in developping countries

2012-11-20 Thread tom d
Hey, all; So the Mombasa algebraic geometry workshop is set for 6-28 July, 2013. Which is really long! They're interested in having some sage sessions; if anyone's interested in coming out I can plan to be there for an overlapping time and co-hosting the Sage sessions. (However, the first

[sage-combinat-devel] Re: Sage-Combinat days in Paris, June 2013

2012-11-19 Thread tom d
It's looking like there's a good chance that I'll be able to come through! On Friday, September 28, 2012 11:12:05 AM UTC+3, Nicolas M. Thiéry wrote: Dear Sage / Sage-Combinat fans, FPSAC (Formal Power Series and Algebraic Combinatorics) is the main yearly international conference

[sage-devel] Re: Sage-Combinat days in Paris, June 2013

2012-11-19 Thread tom d
It's looking like there's a good chance that I'll be able to come through! On Friday, September 28, 2012 11:12:05 AM UTC+3, Nicolas M. Thiéry wrote: Dear Sage / Sage-Combinat fans, FPSAC (Formal Power Series and Algebraic Combinatorics) is the main yearly international conference

[sage-combinat-devel] Fast check for updates?

2012-10-16 Thread tom d
Is there a way to (easily) check whether there are updates on the mercurial server without popping all patches, reapplying, and rebuilding? With the amount of cython in the queue, it's taking quite a while for sage to rebuild itself after each check. I just want to check that there are no

Re: [sage-combinat-devel] Fast check for updates?

2012-10-16 Thread tom d
: On Tue, Oct 16, 2012 at 01:31:11AM -0700, tom d wrote: Is there a way to (easily) check whether there are updates on the mercurial server without popping all patches, reapplying, and rebuilding?� With the amount of cython in the queue, it's taking quite a while for sage

[sage-combinat-devel] setup.py and the prime directive.

2012-10-15 Thread tom d
This is probably a simple question, but here goes. I'm working on a patch which contains a modification to the setup.py file, in order to indicate that a new directory exists in Sage. I'm following the instructions for exporting a patch on the mercurial howto, and it says to move the patch to

[sage-combinat-devel] Re: reflection groups vs. Weyl groups and their root systems

2012-07-11 Thread tom d
Hey, all; Christian asked for a way to get a permutation group without running through the matrix representation. There's an object called the 'Numbers Game' which essentially constructs the Coxeter Group from a coxeter graph by tracking application of reflections to the simple roots. This

[sage-combinat-devel] Re: [sage-devel] Call for vote: lrcalc as standard or optional spkg?

2011-06-29 Thread tom d
[x] standard package (...sang the choir to itself) On Jun 28, 1:57 pm, Franco Saliola sali...@gmail.com wrote: On Tue, Jun 28, 2011 at 11:04 AM, Florent Hivert florent.hiv...@univ-rouen.fr wrote:      Hi, With Mike and Anne we are about to finalize an interface with lrcalc:

[sage-combinat-devel] Re: strange examples behavior for crystals

2011-06-27 Thread tom d
Ok, so long as it's understood, I'm happy to ignore it, too. I was mainly concerned with making sure that old tests still worked with my patched code. On Jun 27, 12:26 am, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote:         Hi Anne! On Sun, Jun 26, 2011 at 07:18:16PM -0700, Anne

[sage-combinat-devel] Re: combinat queue issue?

2011-06-27 Thread tom d
. -tom On May 15, 12:25 pm, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: On Sun, May 15, 2011 at 03:29:41AM -0700, tom d wrote: Yeah, so the failure's definitely happening in the check for version guards.  I added a couple print statements in the update script to try to figure out

[sage-combinat-devel] Re: combinat queue issue?

2011-05-15 Thread tom d
returning false. So the question is whether the hg_all_guards output above looks sensible, or whether it's funky somehow (like, say, those leading numerals). Best, -tom On May 12, 9:21 am, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: On Wed, May 11, 2011 at 11:09:55AM -0700, tom d wrote

[sage-combinat-devel] Re: combinat queue issue?

2011-05-11 Thread tom d
Ah, the -v has to go before the update command; sorry. Here's the (hopefully relevant) excerpt from the verbose update command... pre patch queue now empty Pulling the new version of the patches from the patch server (cd .hg/patches ; /mnt/data/sage-4.6.2/sage -hg --config

[sage-combinat-devel] Re: combinat queue issue?

2011-05-11 Thread tom d
pre :/mnt/data/sage-4.6.2/devel/sage-combinat$ sage -hg qselect -s guards in series file: 1 +4_1_2 2 -4_3_1 3 +4_3_1 1 -4_3_2 2 +4_3_2 2 +4_3_3 1 +4_3_3: 2 +4_3_4 1 -4_4 1 +4_4 2 +4_4_1 1 +4_4_2 1 +4_4_3 1 +4_4_4 2 -4_5 4 +4_5 3 -4_5_2 1 +4_5_2 1 +4_5_3 1

[sage-combinat-devel] Re: combinat queue issue?

2011-05-10 Thread tom d
Here's information from 4.6.2. I don't remember whether it was binary or source-built. The 4.7.1.rc2 that's having troubls was definitely source-built, though. Version output: pre :/mnt/data/sage-4.6.2$ sage -version | Sage Version 4.6.2, Release Date: 2011-02-25 | /pre

[sage-combinat-devel] combinat queue issue?

2011-05-08 Thread tom d
Hey, all; I've been having trouble updating/installing combinat this last week. I was hoping to (finally) finish up the stembridge patch, but updating combinat has been uniformly failing. Anne said it was working fine during Sage Days, so I'm rather confused. I have two different machine, both

[sage-combinat-devel] Re: combinat queue issue?

2011-05-08 Thread tom d
Hmm... Just tried that; the 4.7.rc2 install has no guards applied (perhaps to be expected). I found this line in both the 4.7.rc2 and the 4.6.2 output when I tried to update: pre patching file sage/categories/examples/posets.py unable to find 'sage/categories/facade_sets.py' for patching

[sage-devel] Re: Issue with coefficients for LaurentPolynomialRing

2008-12-24 Thread tom d
I see; thank you, and sorry to bother. Best, -tom --~--~-~--~~~---~--~~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to sage-devel-unsubscr...@googlegroups.com For more options, visit this group at