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

2012-06-07 Thread mmarco
> Then, do you know how to do your computation within c/c++? Do you want to > use the ArtinBraid or BandBraid class? For the moment, i am working only with the ArtinBraid form. I tried to write a small c++ program to implement the left normal form, calling WordToBraid and then .LCF but i couldn't

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

2012-06-07 Thread Nils Bruin
On Jun 7, 10:29 pm, Rob Beezer wrote: > I would be in favor of a right kernel matrix having its vectors as > columns.  It looks like this would save some transposes on the exit from > the actual routines doing the computations. That would be the *ONLY* reason. In general it seems that Sage vector

[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

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 th

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 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, because these ar

[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; appare

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

2012-06-07 Thread Nils Bruin
On Jun 7, 7:46 pm, Jason Grout 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 group, send an email t

[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 sag

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

2012-06-07 Thread Nils Bruin
On Jun 7, 6:41 pm, Maarten Derickx 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 button doesn't work, which i

[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

[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 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: 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 é

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 wrote: > On Jun 7, 4:19 pm, William Stein 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 alw

[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 wrote: > 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/w

[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 mes

[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 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 = ModularSymbols(389,sign=

[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] ... /Users

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 some

[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 unsu

[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 p

[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 o

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

2012-06-07 Thread kcrisman
On Jun 7, 3:40 pm, mmarco 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: normal forms, bura

[sage-devel] Re: VirtualBox testers needed

2012-06-07 Thread Keshav Kini
Anthony Wickstead 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 “devel/sage/sage/schemes/pl

[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 p

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

2012-06-07 Thread kcrisman
On Jun 7, 8:02 am, Dima Pasechnik 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", packaged i

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

2012-06-07 Thread Martin Albrecht
On 7 June 2012 19:37, Jason Grout 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 sidetracked into updat

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 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 newer atlas and linbo

[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. S

[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 wa

[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-deve

[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

Re: [sage-devel] Sage server port forwarding

2012-06-07 Thread Jason Ekstrand
On Wed, Jun 6, 2012 at 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 > > Any comments on the pros and cons of these approaches? I thought one > of the pros is t

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 sage-devel+

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 Ap

[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 emai

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 ha

[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 b

[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 nested

[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 s

[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] 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@g

[sage-devel] Re: Sage server port forwarding

2012-06-07 Thread Keshav Kini
Nils Bruin 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 > after o