Re: [sage-combinat-devel] lazy enumerated set

2012-02-18 Thread Vincent Delecroix
Finally I implemented two decorators : one for functions and one for methods and everything seems to work. The last version is in sage-combinat queue. I have to write down documentation but the ticket should be finalized today. If you have any remark on naming convention, architecture, possible

Re: [sage-combinat-devel] Sage-Combinat on Sage 5.0.beta4 and updated sage-combinat script

2012-02-18 Thread Nicolas M. Thiery
Hi Florent, Vincent, All my edits in the series file to carefully craft guards on the patches that are already merged in 5.0 got discarded in one of the recent merge! I reinstated them, so the queue should work again ... Cheers, Nicolas -- Nicolas M.

Re: [sage-combinat-devel] Sage-Combinat on Sage 5.0.beta4 and updated sage-combinat script

2012-02-18 Thread Vincent Delecroix
2012/2/18, Nicolas M. Thiery nicolas.thi...@u-psud.fr: Hi Florent, Vincent, All my edits in the series file to carefully craft guards on the patches that are already merged in 5.0 got discarded in one of the recent merge! I reinstated them, so the queue should work again ... That

Re: [sage-combinat-devel] comments/questions on poset code

2012-02-18 Thread Anne Schilling
On 2/17/12 12:13 AM, Florent Hivert wrote: By the way: changing P.linear_extensions() to return an enumerated set rather than a plain list could make sense, assuming there is no speed loss. This might require a bit of cythonification; maybe using ClonableArray will be enough. It's slightly

Re: [sage-combinat-devel] comments/questions on poset code

2012-02-18 Thread Florent Hivert
On Sat, Feb 18, 2012 at 06:40:17PM +0100, Nicolas Borie wrote: Le samedi 18 février 2012 à 09:29 -0800, Anne Schilling a écrit : Which patch is ClonableIntArray in? For me it is not defined (and I am hesitant to base my code on something not yet in sage): sage: class

Re: [sage-combinat-devel] comments/questions on poset code

2012-02-18 Thread Anne Schilling
Great, thanks! I now added a _latex_ method to FinitePosets. However, without my patch applied I get doc test failures in /combinat/posets/posets.py which did not happen before. Did something substantial change that causes these failures? Cheers, Anne posets anne$ hg qtop

Re: [sage-combinat-devel] comments/questions on poset code

2012-02-18 Thread Anne Schilling
I have some other problems with the view command: sage: P = Poset(([1,2], [[1,2]]), cover_relations = True) sage: H = P.hasse_diagram() sage: H._latex_() == P._latex_() True sage: view(H) works, but sage: view(P) blows up An error occurred. This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C

Re: [sage-combinat-devel] comments/questions on poset code

2012-02-18 Thread Anne Schilling
In part. But more importantly because LinearExtensionsOfPoset accepts a list as input, and lists are not hashable. So class call needs to transform it into a tuple before passing it down to UniqueRepresentation. See the documentation of UniqueRepresentation for details. Ok, thank you! Ok.

Re: [sage-devel] New iPhone app is up

2012-02-18 Thread Justin C. Walker
On Feb 17, 2012, at 14:22 , Ivan Andrus wrote: This should work on iOS 4 and you can create new items without going to the list. Unfortunately, the release notes in iTunes aren't complete. I was going to release an older version but it was rejected and I couldn't figure out how to

Re: [sage-devel] Re: GSOC 2012

2012-02-18 Thread Dr. David Kirkby
On 02/16/12 12:22 AM, rjf wrote: IMHO, a native port of Sage to Windows could not be done in a week or two. Perhaps a Cygwin port could, but I'm talking of a native port, where the code runs directly on Windows, without any Linux virtual machines, emulators or similar. I see no reason to

[sage-devel] FLINT 2 in Sage

2012-02-18 Thread David Roe
I see from the list of projects at Sage Days 35 ( http://wiki.sagemath.org/SageFlintDays/projects) that an effort was made to get FLINT 2 into Sage. Can someone involved let me know what the status of that effort is? Sage Days 36 starts tomorrow and it would be nice to be able to use the p-adics

Re: [sage-devel] FLINT 2 in Sage

2012-02-18 Thread Fredrik Johansson
On Sat, Feb 18, 2012 at 13:29, David Roe r...@math.harvard.edu wrote: I see from the list of projects at Sage Days 35 (http://wiki.sagemath.org/SageFlintDays/projects) that an effort was made to get FLINT 2 into Sage.  Can someone involved let me know what the status of that effort is?  Sage

Re: [sage-devel] FLINT 2 in Sage

2012-02-18 Thread David Roe
Cool. If anyone is interested in working on getting FLINT 2 into Sage this week let me know: it may be a project at Sage Days 36 and you could collaborate with us online. David On Sat, Feb 18, 2012 at 06:47, Fredrik Johansson fredrik.johans...@gmail.com wrote: On Sat, Feb 18, 2012 at 13:29,

[sage-devel] Sphinx related ticket #9128

2012-02-18 Thread Florent Hivert
Hi there, I'm writing here about Ticket #9128 Sphinx should be aware of all.py to find its links. The purpose of this ticket is to teach sphinx how to look into sage.all to resolve dangling hyperlinks. So for example, instead of writing:

[sage-devel] Re: GSOC 2012

2012-02-18 Thread rjf
On Feb 18, 3:50 am, Dr. David Kirkby david.kir...@onetel.net wrote: On 02/16/12 12:22 AM, rjf wrote: IMHO, a native port of Sage to Windows could not be done in a week or two. Perhaps a Cygwin port could, but I'm talking of a native port, where the code runs directly on Windows,

[sage-devel] Re: FLINT 2 in Sage

2012-02-18 Thread Bill Hart
Hi David, FLINT has not been tested on SkyNet, which is the main blocker for the release of flint itself. I simply have not had the time, which has been a shame. If someone at Sage Days has time to do this and report the issues on flint-devel, this would be a HUGE help. Note: I *expect* there to

Re: [sage-devel] Sphinx related ticket #9128

2012-02-18 Thread Dr. David Kirkby
On 02/18/12 06:54 PM, Florent Hivert wrote: The main problem is that none of the people playing with it (including me !) have the necessary expertise to check if everything is correct. As anyone can see from the code, I wrote my patch using log backtrace and {{{pdb}}}. At several point, I'm

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-18 Thread John H Palmieri
We have another small problem with Lion. I just wiped my hard drive and reinstalled Lion (because of some non-Sage related issues). Then I reinstalled Xcode: the newly released version 4.3. Two issues: command-line tools are no longer installed by default, so you have to install gcc, clang,

Re: [sage-devel] Sphinx related ticket #9128

2012-02-18 Thread Florent Hivert
Hi David, On Sat, Feb 18, 2012 at 10:40:43PM +, Dr. David Kirkby wrote: On 02/18/12 06:54 PM, Florent Hivert wrote: The main problem is that none of the people playing with it (including me !) have the necessary expertise to check if everything is correct. As anyone can see from

[sage-devel] Sage and Art

2012-02-18 Thread Iftikhar Burhanuddin
Hi folks, Is there any initiative into incorporating tools to create (Mathematical) art using Sage (notebook?), perhaps on the lines of http://www.sumopaint.com? Regards, Ifti -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email

Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-18 Thread John H Palmieri
On Saturday, February 18, 2012 3:12:19 PM UTC-8, John H Palmieri wrote: We have another small problem with Lion. I just wiped my hard drive and reinstalled Lion (because of some non-Sage related issues). Then I reinstalled Xcode: the newly released version 4.3. Two issues: command-line