[sage-combinat-devel] help wanted with braid groups

2012-06-07 Thread mmarco
I have been working on an implementation of braid groups for sage (together with free and finitely presented groups). So far i have a preliminary version (see ticket #12339). It is still not feature complete and also very slow compared to cbraid[1], for example, but it is usable. In order to

[sage-combinat-devel] testing new symmetric function functionality

2012-06-07 Thread Mike Zabrocki
Hey SFA users... I've been working on a patch to change how symmetric functions are used in the future. I will be deprecating some common functions soon on the sage combinat queue and we will try to get this into sage in an upcoming version. Starting soon: SFAxxx where xxx in {Schur,

[sage-combinat-devel] Re: testing new symmetric function functionality

2012-06-07 Thread Mike Zabrocki
Hi, I should add that one thing that should really be tested in addition to behavior is *speed*! With these changes there might be potential slow-down from previous versions. We don't want this to happen. I've tested a bit, but this is one thing that is even more difficult to identify than a

Re: [sage-combinat-devel] testing new symmetric function functionality

2012-06-07 Thread Franco Saliola
On Thu, Jun 7, 2012 at 12:26 PM, Mike Zabrocki mike.zabro...@gmail.com wrote: Hey SFA users... I've been working on a patch to change how symmetric functions are used in the future.  I will be deprecating some common functions soon on the sage combinat queue and we will try to get this into

Re: [sage-combinat-devel] testing new symmetric function functionality

2012-06-07 Thread Anne Schilling
Hi Mike, Very impressive work! I am glad you took over my initial patch. I will send you more comments off-line except for the main issues that need to be discussed with everyone. Franco: Moreover, LLT polynomials, Hall-Littlewood, Jack and Macdonald symmetric functions have all been moved

Re: [sage-combinat-devel] Re: testing new symmetric function functionality

2012-06-07 Thread Anne Schilling
Hi Mike, I did some timing tests on the old and new code: sage: Sym = SymmetricFunctions(QQ['q','t'].fraction_field()) sage: s = Sym.schur() sage: m = Sym.monomial() sage: timeit('m(s([6,3,3,2,1]))') 25 loops, best of 3: 8.51 ms per loop sage: timeit('m(s([10,6,3,3,2,1]))') 5 loops, best of 3:

[sage-devel] Re: Sage server port forwarding

2012-06-07 Thread Keshav Kini
Nils Bruin nbr...@sfu.ca writes: As remarked on: http://wiki.sagemath.org/SageServer it's essentially impossible to safely run sage to natively listen on port 80 or port 443, because these are privileged ports and sage currently doesn't have convenient mechanisms to relinquish privileges

[sage-devel] reporting Xcode 4 problems to Apple

2012-06-07 Thread Dima Pasechnik
Dear all, Are there bug reports filed regarding issues with Xcode 4? Someone who works at Apple asked me for details of the troubles we have with building Sage using Xcode 4, so I would like to supply as much detail as possible. Thanks, Dima -- To post to this group, send an email to

[sage-devel] Re: Sage server port forwarding

2012-06-07 Thread Jason Grout
On 6/6/12 10:20 PM, Nils Bruin wrote: Another solution is to use iptables nat to forward the port: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT -- to-port 8000 Just double-checking: this means that you run with secure=True, and the notebook itself does the SSL, right?

[sage-devel] help wanted with braid groups

2012-06-07 Thread mmarco
I have been working on an implementation of braid groups for sage (together with free and finitely presented groups). So far i have a preliminary version (see ticket #12339). It is still not feature complete and also very slow compared to cbraid[1], for example, but it is usable. In order to

[sage-devel] Re: help wanted with braid groups

2012-06-07 Thread Volker Braun
Is cbraid really the best/fastest implementation of braid groups out there? How does it compare to what GAP can do? Just from glancing at it, the author doesn't use many C++ features. Not necessarily a minus. It implements bubble sort, really? Also seems to be very hard to maintain, many

[sage-devel] Re: help wanted with braid groups

2012-06-07 Thread Dima Pasechnik
On Thursday, 7 June 2012 13:50:59 UTC+2, Volker Braun wrote: Is cbraid really the best/fastest implementation of braid groups out there? How does it compare to what GAP can do? Indeed, there is (nonstandard) GAP package braid, packaged in gap_packages spkg, and as far as I am told by

Re: [sage-devel] reporting Xcode 4 problems to Apple

2012-06-07 Thread Jeroen Demeyer
On 2012-06-07 12:31, Dima Pasechnik wrote: Dear all, Are there bug reports filed regarding issues with Xcode 4? Someone who works at Apple asked me for details of the troubles we have with building Sage using Xcode 4, so I would like to supply as much detail as possible. The situation has

[sage-devel] Re: VirtualBox testers needed

2012-06-07 Thread Anthony Wickstead
Using 64 bit Ubuntu 12.04 inside VirtualBox 4.14 under Windows 7, I was able to make sage-5.0.1.rc0 with no errors. Running ./sage –testall resulted in just one error: Sage –t –force_lib “devel/sage/sage/schemes/plane_curves/curve.py” Tony Wickstead -- To post to this group, send an

Re: [sage-devel] reporting Xcode 4 problems to Apple

2012-06-07 Thread Dima Pasechnik
Hi Jeroen, and how about segfaults while building gcc spkg? Are they gone, too? On Thursday, 7 June 2012 14:28:59 UTC+2, Jeroen Demeyer wrote: On 2012-06-07 12:31, Dima Pasechnik wrote: Dear all, Are there bug reports filed regarding issues with Xcode 4? Someone who works at Apple

Re: [sage-devel] reporting Xcode 4 problems to Apple

2012-06-07 Thread Jeroen Demeyer
On 2012-06-07 15:58, Dima Pasechnik wrote: Hi Jeroen, and how about segfaults while building gcc spkg? These only happened with old versions of XCode 4 I think. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

Re: [sage-devel] Sage server port forwarding

2012-06-07 Thread Jason Ekstrand
On Wed, Jun 6, 2012 at 10:20 PM, Nils Bruin nbr...@sfu.ca wrote: Another solution is to use iptables nat to forward the port: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT -- to-port 8000 Any comments on the pros and cons of these approaches? I thought one of the pros

[sage-devel] Sage and LinBox = 1.3.0

2012-06-07 Thread Martin Albrecht
Hi, Brice (for [sage-devel]: he's from the LinBox project) and I are at the Efficient Linear Algebra for Gröbner Basis Computations workshop at the moment and got kind of sidetracked into updating LinBox in Sage. Sage still uses version 1.1.6 which was released 4 years ago, this is embarrassing!

[sage-devel] Re: Sage and LinBox = 1.3.0

2012-06-07 Thread Volker Braun
Can you try with the newest ATLAS? 3.9.77 just came out and should be pretty much to the final release. The Sage testsuite always found some errors in the combination of the newer atlas and linbox... On Thursday, June 7, 2012 7:32:15 PM UTC+1, Martin Albrecht wrote: Brice (for

[sage-devel] Re: Sage and LinBox = 1.3.0

2012-06-07 Thread Jason Grout
On 6/7/12 1:32 PM, Martin Albrecht wrote: Hi, Brice (for [sage-devel]: he's from the LinBox project) and I are at the Efficient Linear Algebra for Gröbner Basis Computations workshop at the moment and got kind of sidetracked into updating LinBox in Sage. Sage still uses version 1.1.6 which was

[sage-devel] Fwd: Sage and LinBox = 1.3.0

2012-06-07 Thread Martin Albrecht
Argh, pressed sent by accident. Now again: Hi [sage-devel], (CC [linbox-devel] FYI) Brice (for [sage-devel]: he's from the LinBox project) and I are at the Efficient Linear Algebra for Gröbner Basis Computations workshop at the moment and got kind of sidetracked into updating LinBox in Sage.

Re: [sage-devel] Re: Sage and LinBox = 1.3.0

2012-06-07 Thread Martin Albrecht
Can you perhaps provide a new SPKG? I'm happy to try. On 7 June 2012 19:38, Volker Braun vbraun.n...@gmail.com wrote: Can you try with the newest ATLAS? 3.9.77 just came out and should be pretty much to the final release. The Sage testsuite always found some errors in the combination of the

Re: [sage-devel] Re: Sage and LinBox = 1.3.0

2012-06-07 Thread Martin Albrecht
On 7 June 2012 19:37, Jason Grout jason-s...@creativetrax.com wrote: On 6/7/12 1:32 PM, Martin Albrecht wrote: Hi, Brice (for [sage-devel]: he's from the LinBox project) and I are at the Efficient Linear Algebra for Gröbner Basis Computations workshop at the moment and got kind of

[sage-devel] Re: help wanted with braid groups

2012-06-07 Thread kcrisman
On Jun 7, 8:02 am, Dima Pasechnik dimp...@gmail.com wrote: On Thursday, 7 June 2012 13:50:59 UTC+2, Volker Braun wrote: Is cbraid really the best/fastest implementation of braid groups out there? How does it compare to what GAP can do? Indeed, there is (nonstandard) GAP package braid,

[sage-devel] Re: help wanted with braid groups

2012-06-07 Thread mmarco
Both gap4 packages (braid and mapclass) don't deal with braid groups themselves, but with the orbits of a certain actions of them (and more general groups). I mean, they don't implement the usual stuff one would expect in a braid group: normal forms, burau representation, lcm and gcd, conjugation

[sage-devel] Re: VirtualBox testers needed

2012-06-07 Thread Keshav Kini
Anthony Wickstead anthony.wickst...@gmail.com writes: Using 64 bit Ubuntu 12.04 inside VirtualBox 4.14 under Windows 7, I was able to make sage-5.0.1.rc0 with no errors. What hardware CPU does your computer have? Running ./sage –testall resulted in just one error: Sage –t –force_lib

[sage-devel] Re: help wanted with braid groups

2012-06-07 Thread kcrisman
On Jun 7, 3:40 pm, mmarco mma...@unizar.es wrote: Both gap4 packages (braid and mapclass) don't deal with braid groups themselves, but with the orbits of a certain actions of them (and more general groups). I mean, they don't implement the usual stuff one would expect in a braid group:

[sage-devel] Re: help wanted with braid groups

2012-06-07 Thread kcrisman
With all that in mind, i considered cbraid as a good option, since it is very fast, and small. Other option would be to try to optimize my python code, but i think it will be always be slow. Maybe cythonizing some parts of it would make it faster, but i have noted that cythonizing code only

[sage-devel] Re: help wanted with braid groups

2012-06-07 Thread mmarco
In the link i gave, both cbraid and braiding are mixed in a single project, also called cbraid. So when i said cbraid i actually meant cbraid+braiding. So far, what i have done is specific for braids. A framework for more general groups (artin or garside, for example) would require a different

[sage-devel] Re: help wanted with braid groups

2012-06-07 Thread Volker Braun
I suggest you first make a spkg for cbraid that installs the headers/libary in the appropriate place. Then, do you know how to do your computation within c/c++? Do you want to use the ArtinBraid or BandBraid class? -- To post to this group, send an email to sage-devel@googlegroups.com To

Re: [sage-devel] Has anybody gotten ropemacs working for sage?

2012-06-07 Thread Ivan Andrus
Greg, I got something that seems to work. I don't take the time to set up a ropemacs project (since I don't know what I'm doing), but if you could test it to see if it works for you that would be great. If it does work then we can put the instructions on the wiki, and/or make an spkg or

[sage-devel] sage-5.0 serious bug: segfaults in basic linear algebra?

2012-06-07 Thread William Stein
Hi Sage-Devel, I'm randomly running into segfaults when multiplying matrices over the integers, in the course of doing basic modular symbols calculations. For example, sometimes (but not always), this crashes: sage: M = ModularSymbols(389,sign=0).cuspidal_submodule().decomposition()[0] ...

[sage-devel] Re: sage-5.0 serious bug: segfaults in basic linear algebra?

2012-06-07 Thread Nils Bruin
On Jun 7, 4:19 pm, William Stein wst...@gmail.com wrote: Hi Sage-Devel, I'm randomly running into segfaults when multiplying matrices over the integers, in the course of doing basic modular symbols calculations. For example, sometimes (but not always), this crashes: sage: M =

[sage-devel] trac connection error

2012-06-07 Thread Benjamin Jones
I haven't seen this before, after logging in to trac.sagemath.org: Traceback (most recent call last): File build/bdist.linux-x86_64/egg/trac/web/api.py, line 436, in send_error data, 'text/html') File build/bdist.linux-x86_64/egg/trac/web/chrome.py, line 803, in render_template

[sage-devel] Re: trac connection error

2012-06-07 Thread kcrisman
I just got this too. Just keep on trying; apparently developing for Sage is very popular right now :) On Jun 7, 8:02 pm, Benjamin Jones benjaminfjo...@gmail.com wrote: I haven't seen this before, after logging in to trac.sagemath.org: Traceback (most recent call last):   File

Re: [sage-devel] Re: sage-5.0 serious bug: segfaults in basic linear algebra?

2012-06-07 Thread William Stein
On Thu, Jun 7, 2012 at 4:41 PM, Nils Bruin nbr...@sfu.ca wrote: On Jun 7, 4:19 pm, William Stein wst...@gmail.com wrote: Hi Sage-Devel, I'm randomly running into segfaults when multiplying matrices over the integers, in the course of doing basic modular symbols calculations. For example,

[sage-devel] Re: Changing password on notebook server?

2012-06-07 Thread Maarten Derickx
When I do it in sage5.0 using google chrome I get redirected to the login page. What version of sage and which browser do you use? ps. Hidden sage security easter egg: Is you password longer then 8 characters? Then try to just type the first 8 Le jeudi 7 juin 2012 02:03:48 UTC+2, Nils Bruin a

[sage-devel] Re: Changing password on notebook server?

2012-06-07 Thread Jason Grout
On 6/7/12 8:41 PM, Maarten Derickx wrote: ps. Hidden sage security easter egg: Is you password longer then 8 characters? Then try to just type the first 8 Until you change your password. A year ago we switched from using crypt to using sha256, so any recent accounts and any recently-changed

[sage-devel] Re: Sage server port forwarding

2012-06-07 Thread Maarten Derickx
Le jeudi 7 juin 2012 05:20:02 UTC+2, Nils Bruin a écrit : As remarked on: http://wiki.sagemath.org/SageServer it's essentially impossible to safely run sage to natively listen on port 80 or port 443, because these are privileged ports and sage currently doesn't have convenient

[sage-devel] Re: Changing password on notebook server?

2012-06-07 Thread Maarten Derickx
Le vendredi 8 juin 2012 04:04:07 UTC+2, jason a écrit : On 6/7/12 8:41 PM, Maarten Derickx wrote: ps. Hidden sage security easter egg: Is you password longer then 8 characters? Then try to just type the first 8 Until you change your password. A year ago we switched from using crypt

[sage-devel] Re: Changing password on notebook server?

2012-06-07 Thread Nils Bruin
On Jun 7, 6:41 pm, Maarten Derickx m.derickx.stud...@gmail.com wrote: When I do it in sage5.0 using google chrome I get redirected to the login page. What version of sage and which browser do you use? Firefox Sage 5.0. There's something funny with that setup anyway -- sometimes, the logout

[sage-devel] Re: Changing password on notebook server?

2012-06-07 Thread Jason Grout
On 6/7/12 9:36 PM, Nils Bruin wrote: Firefox Sage 5.0. Sage 5.0 with the included notebook? Or the new flask notebook (like what is running on *.sagenb.org)? Jason -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

[sage-devel] Re: Changing password on notebook server?

2012-06-07 Thread Nils Bruin
On Jun 7, 7:46 pm, Jason Grout jason-s...@creativetrax.com wrote: On 6/7/12 9:36 PM, Nils Bruin wrote: Firefox  Sage 5.0. Sage 5.0 with the included notebook? Or the new flask notebook (like what is running on *.sagenb.org)? I'm not that adventurous. Stock Sage 5.0. -- To post to this

[sage-devel] Re: trac connection error

2012-06-07 Thread Maarten Derickx
This happend in the past also. It was an issue with to many connections to the database still being open for some reasons. It should be (at least till for the short future) fixed now. Le vendredi 8 juin 2012 02:54:05 UTC+2, kcrisman a écrit : I just got this too. Just keep on trying;

Re: [sage-devel] Re: Sage server port forwarding

2012-06-07 Thread William Stein
On Thu, Jun 7, 2012 at 7:23 PM, Maarten Derickx m.derickx.stud...@gmail.com wrote: Le jeudi 7 juin 2012 05:20:02 UTC+2, Nils Bruin a écrit : As remarked on: http://wiki.sagemath.org/SageServer it's essentially impossible to safely run sage to natively listen on port 80 or port 443,

Re: [sage-devel] Re: Is left_kernel_matrix missing intentionally?

2012-06-07 Thread Rob Beezer
So William knows my memory is faulty, and I finally overcame my own laziness and looked at the code (and the ticket where this originated, http://trac.sagemath.org/sage_trac/ticket/10746). IML, PARI, Sage generic code produce right kernels. These come in different formats, so one option for

[sage-devel] Re: help wanted with braid groups

2012-06-07 Thread Andrew Mathas
On Friday, June 8, 2012 1:40:05 AM UTC+6, mmarco wrote: Chevie does have some of this (at least it has something similar to a left normal form, which is the basis for the rest). It can compute the left normal form faster than my python code, but it has some drawbacks: it runs on gap3,