Re: [sage-devel] tcl/tk

2010-04-12 Thread Mag Gam
I don't have root access to install the the tcl and tk package. I have created my own custom spkg for tcl and tk and been using that. On Tue, Apr 13, 2010 at 1:36 AM, Robert Bradshaw wrote: > On Apr 12, 2010, at 10:26 PM, Minh Nguyen wrote: > >> Hi, >> >> On Tue, Apr 13, 2010 at 3:02 PM, Mag Gam

[sage-devel] Re: [mpir-devel] Re: building Sage with mpir-2.0.0

2010-04-12 Thread Bill Hart
Actually, the easiest solution for all is if we just switch over to the GMP gcd/gcdext code and ditch our own. Then it is guaranteed to be the same interface. I think we can do this in less than a day's work. I don't think we'll loose anything dramatic by doing this. In fact I think their code mig

Re: [sage-devel] tcl/tk

2010-04-12 Thread Robert Bradshaw
On Apr 12, 2010, at 10:26 PM, Minh Nguyen wrote: Hi, On Tue, Apr 13, 2010 at 3:02 PM, Mag Gam wrote: Will sage ever have a native version of tcl and tk? It would solve many matplotlib problems. For the short term, one could produce a tcl/tk package and integrate that into Sage. However, one

Re: [sage-devel] tcl/tk

2010-04-12 Thread Minh Nguyen
Hi, On Tue, Apr 13, 2010 at 3:02 PM, Mag Gam wrote: > Will sage ever have a native version of tcl and tk? It would solve > many matplotlib problems. For the short term, one could produce a tcl/tk package and integrate that into Sage. However, one also need to consider the long term. For example,

[sage-devel] tcl/tk

2010-04-12 Thread Mag Gam
Will sage ever have a native version of tcl and tk? It would solve many matplotlib problems. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http:

[sage-devel] Re: tabs in the Sage library

2010-04-12 Thread John H Palmieri
On Apr 12, 8:36 pm, William Stein wrote: > On Mon, Apr 12, 2010 at 8:26 PM, John H Palmieri > wrote: > > > Yes.  Another option: should "sage -t" fail on any file with tabs? > > Then the responsibility would fall more to the patch authors than to > > the release managers. > > +1 -- I greatly pr

Re: [sage-devel] Re: OS X 10.6 port

2010-04-12 Thread Ondrej Certik
On Mon, Apr 12, 2010 at 8:19 PM, Ondrej Certik wrote: > On Mon, Apr 12, 2010 at 8:15 PM, Ondrej Certik wrote: >> On Mon, Apr 12, 2010 at 7:53 PM, Craig Citro wrote: >>> Hi Ondrej, >>> Let me know if you have any hints what to try. >>> >>> For sage, the issue was that Python was getting

Re: [sage-devel] Re: OS X 10.6 port

2010-04-12 Thread Ondrej Certik
> bsd users:    I made > 100GB free in /scratch, so please use /scratch > on bsd.math. > >  -- William Thanks, that really helps. I reduced my home dir to 62MB. Ondrej -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-d

Re: [sage-devel] Re: tabs in the Sage library

2010-04-12 Thread William Stein
On Mon, Apr 12, 2010 at 8:26 PM, John H Palmieri wrote: > On Apr 12, 7:54 pm, Dan Drake wrote: >> Hello, >> >> A while back, there was a massive patch that removed all the tabs from >> the Sage library. Unfortunately, they have been creeping back in, and >> there are now quite a few files with ta

Re: [sage-devel] Re: OS X 10.6 port

2010-04-12 Thread William Stein
On Mon, Apr 12, 2010 at 8:19 PM, Ondrej Certik wrote: > On Mon, Apr 12, 2010 at 8:15 PM, Ondrej Certik wrote: >> On Mon, Apr 12, 2010 at 7:53 PM, Craig Citro wrote: >>> Hi Ondrej, >>> Let me know if you have any hints what to try. >>> >>> For sage, the issue was that Python was getting

Re: [sage-devel] Re: OS X 10.6 port

2010-04-12 Thread William Stein
On Mon, Apr 12, 2010 at 8:19 PM, Ondrej Certik wrote: > On Mon, Apr 12, 2010 at 8:15 PM, Ondrej Certik wrote: >> On Mon, Apr 12, 2010 at 7:53 PM, Craig Citro wrote: >>> Hi Ondrej, >>> Let me know if you have any hints what to try. >>> >>> For sage, the issue was that Python was getting

[sage-devel] Re: tabs in the Sage library

2010-04-12 Thread John H Palmieri
On Apr 12, 7:54 pm, Dan Drake wrote: > Hello, > > A while back, there was a massive patch that removed all the tabs from > the Sage library. Unfortunately, they have been creeping back in, and > there are now quite a few files with tabs: try doing > >       grep --perl-regexp '\t' --files-with-mat

Re: [sage-devel] Re: OS X 10.6 port

2010-04-12 Thread Ondrej Certik
On Mon, Apr 12, 2010 at 8:15 PM, Ondrej Certik wrote: > On Mon, Apr 12, 2010 at 7:53 PM, Craig Citro wrote: >> Hi Ondrej, >> >>> Let me know if you have any hints what to try. >>> >> >> For sage, the issue was that Python was getting built with >> MACOSX_DEPLOYMENT_TARGET set to 10.4, which is no

Re: [sage-devel] Re: OS X 10.6 port

2010-04-12 Thread Ondrej Certik
On Mon, Apr 12, 2010 at 7:53 PM, Craig Citro wrote: > Hi Ondrej, > >> Let me know if you have any hints what to try. >> > > For sage, the issue was that Python was getting built with > MACOSX_DEPLOYMENT_TARGET set to 10.4, which is no longer valid in > 10.6. This was leading to some issues with ve

Re: [sage-devel] tabs in the Sage library

2010-04-12 Thread Tom Boothby
> Coordinating another big tab removal patch would be difficult, but I > think that we could at least change the "sage -merge" script so that it > rejects any patch that introduces tabs. (Unless, say, some kind of > --no-really-the-tabs-are-okay command line option is specified.) Does > this seem l

[sage-devel] tabs in the Sage library

2010-04-12 Thread Dan Drake
Hello, A while back, there was a massive patch that removed all the tabs from the Sage library. Unfortunately, they have been creeping back in, and there are now quite a few files with tabs: try doing grep --perl-regexp '\t' --files-with-matches -r sage/* from SAGE_ROOT/devel/sage/. Coord

[sage-devel] Re: OS X 10.6 port

2010-04-12 Thread Craig Citro
Hi Ondrej, > Let me know if you have any hints what to try. > For sage, the issue was that Python was getting built with MACOSX_DEPLOYMENT_TARGET set to 10.4, which is no longer valid in 10.6. This was leading to some issues with version mismatch issues between libraries -- in particular, it was

Re: [sage-devel] Re: OS X 10.6 port

2010-04-12 Thread Ondrej Certik
On Mon, Sep 28, 2009 at 9:37 AM, William Stein wrote: > > On Mon, Sep 28, 2009 at 9:35 AM, John Hunter wrote: >> On Mon, Sep 28, 2009 at 11:14 AM, John Hunter wrote: >> >>> But even simple tests are failing with:: >>> >>> jdh2...@bsd:~> LD_LIBRARY_PATH=~/devtest/lib/ >>> PYTHONPATH=~/devtest/lib

[sage-devel] Re: Inserting Images into Notebook - upload dialog

2010-04-12 Thread Alec Mihailovs
On Apr 12, 4:49 pm, William Stein wrote: > On Monday, April 12, 2010, Alec Mihailovs  wrote: > > > from shutil import copy > > copy('/home/excetera.png', '.') > > Using DATA explicitly and shutil is not necessary.  Just upload the > file foo.png as you say, then use it in the  tag directly and it

Re: [sage-devel] Re: "abstract" matrices

2010-04-12 Thread ross kyprianou
On Tue, Apr 13, 2010 at 2:53 AM, Nicolas M. Thiery wrote: >> ### Example 1 ### >> sage: (P,Q,R)= >> MtxAlgebrasWithBasis(QQ).example(('P','Q','R')).algebra_generators() > > Do you need a specific category for your application? In particular, > will you have several parents between which to share

[sage-devel] Re: the sage mode spkg needs an underscore

2010-04-12 Thread John H Palmieri
On Apr 11, 10:32 pm, William Stein wrote: > On Sun, Apr 11, 2010 at 9:41 PM, Dan Drake wrote: > > Hello, > > > I'm reviewing #8043 and I've discovered that Nick Alexander's sage mode > > spkg has a dash where it should have an underscore -- instead of > > sage-mode-0.6.spkg, it should be sage_m

[sage-devel] Re: sage 4.3.5 won't build on Red Hat Enterprise Linux 5.4: File exists: '/usr/local_machine/sage-4.3.5/local//lib/python/site-packages//sage/structure'

2010-04-12 Thread Georg S. Weber
On 12 Apr., 17:47, Tom Coates wrote: > Dear Sage gurus, > > When attempting to build Sage 4.3.5 from source under Red Hat Enterprise > Linux Client release 5.4 (Tikanga), compilation fails with the error > message: > > OSError: [Errno 17] File exists: > '/usr/local_machine/sage-4.3.5/local//lib/

Re: [sage-devel] Inserting Images into Notebook - upload dialog

2010-04-12 Thread William Stein
On Monday, April 12, 2010, Alec Mihailovs wrote: > On Apr 12, 8:43 am, Tim Joseph Dumol wrote: >> >> import shutil >> shutil.copy(DATA + 'myfilename.ext', '.') > > That could be done similarly without using DATA - as > > from shutil import copy > copy('/home/excetera.png', '.') > > Alec Using D

Re: [sage-devel] redefining RealNumber/Integer

2010-04-12 Thread Mike Hansen
On Mon, Apr 12, 2010 at 4:21 AM, Uri wrote: > (I could also turn off the preparser, but I think it's better to do it > that way... am I wrong?). Now, I would like that when someone installs > this package, this redefinition is automatically done and that it > somehow involves just the functions in

Re: [sage-devel] Re: "abstract" matrices

2010-04-12 Thread Nicolas M. Thiery
On Mon, Apr 12, 2010 at 10:12:47PM +0930, ross kyprianou wrote: > # This made things very interesting. > # Using WordOptions(identifier='') does most of the work needed > > ### Example 1 ### > sage: (P,Q,R)= > MtxAlgebrasWithBasis(QQ).example(('P','Q','R')).algebra_generators() Do you need a spe

[sage-devel] Re: Inserting Images into Notebook - upload dialog

2010-04-12 Thread Alec Mihailovs
On Apr 12, 8:43 am, Tim Joseph Dumol wrote: > > import shutil > shutil.copy(DATA + 'myfilename.ext', '.') That could be done similarly without using DATA - as from shutil import copy copy('/home/excetera.png', '.') Alec -- To post to this group, send an email to sage-devel@googlegroups.com To

Re: [sage-devel] Inserting Images into Notebook - upload dialog

2010-04-12 Thread Tim Joseph Dumol
Hey Joal, I don't know of a more direct way, but this works: Just upload the file to the worksheet (under the Data menu, beside the Action menu), and then copy the file from the DATA directory to the cell directory. To do so, put this in a cell: import shutil shutil.copy(DATA + 'myfilename.ext',

Re: [sage-devel] Re: "abstract" matrices

2010-04-12 Thread ross kyprianou
# This made things very interesting. # Using WordOptions(identifier='') does most of the work needed ### Example 1 ### sage: (P,Q,R)= MtxAlgebrasWithBasis(QQ).example(('P','Q','R')).algebra_generators() sage: P*(Q+R) B[word: PQ] + B[word: PR] ### Example 2 ### sage: WordOptions(identifier='') s

[sage-devel] redefining RealNumber/Integer

2010-04-12 Thread Uri
Hi, I'm trying to create a package that integrates a Python programme in Sage. The problem is that it doesn't work with Sage preparser, so I must redefine RealNumber and Integer as follows: RealNumber=float Integer=int (I could also turn off the preparser, but I think it's better to do it that wa

[sage-devel] Inserting Images into Notebook - upload dialog

2010-04-12 Thread ancienthart
Hi again fellow sages, I have been attempting to put an image from my hard disk into the sage notebook. I was working on some angle problems, and made a diagram of the problem (Using geogebra). Then I wanted to put the image into a sage notebook, so that I could refer back to it. Is there an easy

[sage-devel] Re: what you need to know about contributing to Sage but were afraid to ask

2010-04-12 Thread Harald Schilly
On Apr 12, 9:17 am, Minh Nguyen wrote: > I'm addressing this email to anyone who would like to get started on > contributing to the Sage community, but don't know where to start. Nice, however, we should sync this a bit better with the development page of the website. That's probably one of the p

[sage-devel] Re: "abstract" matrices

2010-04-12 Thread slabbe
Hi, > Im guessing the code to make the "B[word: ]" string > may have been in a python file that corresponded to one of the > Categories above but couldnt find it The 'word: ' part comes from sage/combinat/words : sage: Word(range(10)) word: 0123456789 sage: Word(lambda n:n) word: 0,1,2,3,4,5

[sage-devel] Re: "abstract" matrices

2010-04-12 Thread slabbe
Hi, > Im guessing the code to make the "B[word: ]" string > may have been in a python file that corresponded to one of the > Categories above but couldnt find it The 'word: ' part comes from sage/combinat/words : sage: Word(range(10)) word: 0123456789 sage: Word(lambda n:n) word: 0,1,2,3,4,5

[sage-devel] what you need to know about contributing to Sage but were afraid to ask

2010-04-12 Thread Minh Nguyen
Hi folks, I'm addressing this email to anyone who would like to get started on contributing to the Sage community, but don't know where to start. Have you ever wondered how the Sage development process work? Have you ever felt the urge to get your hands cracking on a small task just to familiariz