Re: [sage-devel] the creeping library collision problem...

2009-11-19 Thread Carlo Hamalainen
On Wed, Nov 18, 2009 at 5:18 PM, Glenn Tarbox, PhD wrote: > Previously, I only needed to rip out a few of the Sage libraries... zlib > comes to mind although there are others.   With Ubuntu 9.10, however, I find > that gnutls collides as well.  I can fix this with a script also but I > wonder if w

Re: Re: [sage-devel] Some questions about Sage goals

2009-11-19 Thread Martin Albrecht
> > I understand that you have to run Sage as a sort of server. I remember > > I had to use VMWare. And then you access it from the browser, and it's > > an AJAX thing that makes it behave like a notebook. > > Why? Why not something like Mathematica, where you just open a normal > > program and ha

Re: [sage-devel] Some questions about Sage goals

2009-11-19 Thread Dr. David Kirkby
cool-RR wrote: > I understand that you have to run Sage as a sort of server. I remember > I had to use VMWare. And then you access it from the browser, and it's > an AJAX thing that makes it behave like a notebook. > > Why? Why not something like Mathematica, where you just open a normal > program

[sage-devel] Re: sage vs. spotlight (Mac OS X)

2009-11-19 Thread ulfarsson
I agree that this would be awesome, but I have no idea how it would be implemented. I think that when you type "2**18" into Spotlight it calls the calculator application in OS X, instead of handling the calculation itself. If you could reroute the call to Sage you might be able to make something ha

[sage-devel] Iterating over IntegerVectors

2009-11-19 Thread Tzanko Matev
Hi, Is there any particular reason why when one tries to iterate over IntegerVectors(k,n) one gets the vectors represented as lists and not tuples? The only difference between the two that I can think of is that lists are mutable and tuples aren't. I cannot see why being mutable is an advantage. On

Re: [sage-devel] Re: sage 4.2.1 on 64bit mac 10.6.2 and the plot function crashes

2009-11-19 Thread Ivan Andrus
On Nov 19, 2009, at 8:46 AM, Aivo Jürgenson wrote: >> What happens when you type >> >> sage: plot(sin(x),0,4) >> >> on the command line? > >> /Applications/sage/sage > -- > | Sage Version 4.2.1, Release Date: 2009-11-14

[sage-devel] Re: [sage-combinat-devel] Re: Testing the Categories Code in 4.3.alpha0

2009-11-19 Thread Nicolas M. Thiery
Hi Daniel! On Wed, Nov 18, 2009 at 03:32:25PM -0800, William Stein wrote: > On Wed, Nov 18, 2009 at 3:29 PM, Daniel Bump wrote: > > The patch #5794 adds a lot of branching rules, and tests are provided > > for most of these. I marked many of them long. > > > > I won't have time immediatel

[sage-devel] How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread Dr. David Kirkby
If you believe what Wolfram Research say, there are several million Mathematica users. See for example http://www.wolfram-media.com/products/mathematicabook.html where it says about a book: "The definitive reference and tutorial for several million enthusiastic Mathematica users around the wor

Re: [sage-devel] Iterating over IntegerVectors

2009-11-19 Thread Florent Hivert
Dear Tzango, > Is there any particular reason why when one tries to iterate over > IntegerVectors(k,n) one gets the vectors represented as lists and not > tuples? The only difference between the two that I can think of is > that lists are mutable and tuples aren't. I cannot see why being > m

Re: [sage-devel] Iterating over IntegerVectors

2009-11-19 Thread Nicolas M. Thiery
On Thu, Nov 19, 2009 at 01:00:11PM +0100, Florent hivert wrote: > > Is there any particular reason why when one tries to iterate over > > IntegerVectors(k,n) one gets the vectors represented as lists and not > > tuples? Nothing really but a historical choice to port things from MuPAD-Combinat as

Re: [sage-devel] Sage Developers in Africa?

2009-11-19 Thread Nicolas M. Thiery
Dear Sage developers, As a followup to my message, my dad is suggesting applying for an official presentation of Sage during CARI'2010 (http://cari-info.org/), and maybe a Sage workshop? This is the 10th occurence of this biennial «African Conference on Research in Computer Science and App

[sage-devel] Re: solve([x==x],x)

2009-11-19 Thread kcrisman
> > Does this mean [x==r1] when called for the first time, [x==r2] when > > for the secod time and so on? Probably. Alternately, we could change our use of to_poly_solver in solve() to use the sane_variables option or whatever it is, which always makes the variables nice like that. > > Do not kn

Re: [sage-devel] Re: partially defining a function

2009-11-19 Thread Burcin Erocal
Hi Jason, On Tue, 17 Nov 2009 22:46:40 -0600 Jason Grout wrote: > So I did the following, which seemed to work, but also seemed a bit > kludgy: > > from functools import wraps > def eval_if_numeric(f): > @wraps(f) > def my_f(*args,**kwds): > try: > all(CC(a) for

Re: [sage-devel] Iterating over IntegerVectors

2009-11-19 Thread Florent Hivert
> We definitely should allow to specify any constructor for list-like > objects (list, tuple, vector). Depending on the context, you may want > the result to be hashable, to have further properties (like being a > vector and doing linear algebra), that is mutable, ... > > Now what should be the def

[sage-devel] Re: [sage-combinat-devel] Re: Testing the Categories Code in 4.3.alpha0

2009-11-19 Thread Daniel Bump
> I just ran each long test individually, and annotated them with how > much time they took (on my macbook pro). They are indeed all below > 30s, except for a big E8 test which takes 160s. I marked that one as Oops, E8(1,0,0,0,0,0,0,0) has degree 3875. That could be slow. I think I probably meant

[sage-devel] Re: Some questions about Sage goals

2009-11-19 Thread Harald Schilly
On Nov 19, 7:37 am, Jan Groenewald wrote: > Is VMWARE outdated > and virtualbox recommended? There is no vmware image. The vmware instructions are just for reference and they were used some time ago. But you do not need them at all. If you download the virtualbox image, you have a zip file. Extr

[sage-devel] Re: Some questions about Sage goals

2009-11-19 Thread Harald Schilly
On Nov 19, 6:20 am, cool-RR wrote: > Why? Why not something like Mathematica, where you just open a normal > program and have a place where you can just type text? The simple answer is, that it is much easier to build a webservice like that, than building a GUI. There are several benefits with th

Re: Re: [sage-devel] Some questions about Sage goals

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 1:42 AM, Martin Albrecht wrote: >  > > I understand that you have to run Sage as a sort of server. I remember >> > I had to use VMWare. And then you access it from the browser, and it's >> > an AJAX thing that makes it behave like a notebook. >> > Why? Why not something lik

[sage-devel] Re: Some questions about Sage goals

2009-11-19 Thread Jason Grout
Dr. David Kirkby wrote: > cool-RR wrote: >> I understand that you have to run Sage as a sort of server. I remember >> I had to use VMWare. And then you access it from the browser, and it's >> an AJAX thing that makes it behave like a notebook. >> >> Why? Why not something like Mathematica, where yo

Re: [sage-devel] Re: Some questions about Sage goals

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 7:55 AM, Harald Schilly wrote: > On Nov 19, 7:37 am, Jan Groenewald wrote: >> Is VMWARE outdated >> and virtualbox recommended? > > There is no vmware image. The vmware instructions are just for > reference and they were used some time ago. > > But you do not need them at

[sage-devel] Re: the creeping library collision problem...

2009-11-19 Thread Jason Grout
Carlo Hamalainen wrote: > On Wed, Nov 18, 2009 at 5:18 PM, Glenn Tarbox, PhD wrote: >> Previously, I only needed to rip out a few of the Sage libraries... zlib >> comes to mind although there are others. With Ubuntu 9.10, however, I find >> that gnutls collides as well. I can fix this with a sc

[sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread Harald Schilly
Hi, about the publications ... big lol! better numbers: http://groups.google.com/group/sage-support/about > Archive table http://groups.google.com/group/comp.soft-sys.math.mathematica/about > Archive table Homework: Create nice plots ;) H -- To post to this group, send an email to sage-devel@g

Re: [sage-devel] Re: sage 4.2.1 on 64bit mac 10.6.2 and the plot function crashes

2009-11-19 Thread William Stein
Hi, As a test, can you guys try putting the file http://wstein.org/home/wstein/tmp/fontList.cache in your $HOME/.matplotlib directory? William On Thu, Nov 19, 2009 at 2:59 AM, Ivan Andrus wrote: > On Nov 19, 2009, at 8:46 AM, Aivo Jürgenson wrote: > >>> What happens when you type >>>

Re: [sage-devel] How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 3:42 AM, Dr. David Kirkby wrote: > If you believe what Wolfram Research say, there are several million > Mathematica > users. See for example > > http://www.wolfram-media.com/products/mathematicabook.html > > where it says about a book: > > "The definitive reference and tu

[sage-devel] Re: sage 4.2.1 on 64bit mac 10.6.2 and the plot function crashes

2009-11-19 Thread Aivo Jürgenson
On Nov 19, 6:30 pm, William Stein wrote: > Hi, > > As a test, can you guys try putting the file > >          http://wstein.org/home/wstein/tmp/fontList.cache > > in your $HOME/.matplotlib directory? The command line still fails sage: plot(sin(x),0,4) /Applications/sage/local/bin/sage-sage: lin

Re: [sage-devel] partially defining a function

2009-11-19 Thread Florent Hivert
Hi there, > It would be nice if we could do something like: > > sage: f(x,0)=e^x > > sage: f(x,t)=x*t > > > or > > sage: f(0)=0 > sage: f(x)=sin(x)/x > > Is there an elegant way to have multiple definitions like this in pynac, > or definitions with specific conditions on the arguments

Re: [sage-devel] Re: the creeping library collision problem...

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 8:23 AM, Jason Grout wrote: > Carlo Hamalainen wrote: >> On Wed, Nov 18, 2009 at 5:18 PM, Glenn Tarbox, PhD wrote: >>> Previously, I only needed to rip out a few of the Sage libraries... zlib >>> comes to mind although there are others.   With Ubuntu 9.10, however, I find

[sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread Jason Grout
Harald Schilly wrote: > Hi, about the publications ... big lol! > > better numbers: > http://groups.google.com/group/sage-support/about > Archive table > http://groups.google.com/group/comp.soft-sys.math.mathematica/about > > Archive table > > Homework: Create nice plots ;) > Okay: http://alph

[sage-devel] speaking of VM

2009-11-19 Thread kcrisman
> I think today I'm going to try to make a new ubuntu 9.10-based virtual > machine for 4.2.1, and try to make it small using the same techniques > used by Puppy Linux (i.e., squashfs and unionfs). Technical question on the VM, used as a (real!) server: We currently have the last VMWare image runn

Re: [sage-devel] review requests

2009-11-19 Thread Dr. David Kirkby
Dr. David Kirkby wrote: > Martin Albrecht wrote: >> Hi there, >> >> I was wondering if anyone would be up for rescuing two poor tickets from bit >> rotting: >> >> - http://trac.sagemath.org/sage_trac/ticket/7271 PolyBoRi update & fixes >> - http://trac.sagemath.org/sage_trac/ticket/7375 M4RI up

[sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread Harald Schilly
On Nov 19, 6:15 pm, Jason Grout wrote: > http://alpha.sagenb.org/home/pub/3/ > Cool ;) Interesting, last part seems to be correlated and the overall trend is on our side. But back to the topic, the advantage of MMA is that it is taught at universities (i.e. mine) ... that's one of the things

Re: [sage-devel] Re: the creeping library collision problem...

2009-11-19 Thread Carlo Hamalainen
On Thu, Nov 19, 2009 at 6:14 PM, William Stein wrote: > What happens if you type: > >  sage: !sage-native-execute evince Evince pops up with no errors. Great :) I only have $SAGE_ROOT in my path, so I never noticed that file in $SAGE_ROOT/local/bin. Thanks, -- Carlo Hamalainen http://carlo-ha

Re: [sage-devel] Re: the creeping library collision problem...

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 10:16 AM, Carlo Hamalainen wrote: > On Thu, Nov 19, 2009 at 6:14 PM, William Stein wrote: >> What happens if you type: >> >>  sage: !sage-native-execute evincehttp://wiki.sagemath.org/bug18 > > Evince pops up with no errors. Great :) Excellent! By the way, regarding this

[sage-devel] fricas ticket 6517

2009-11-19 Thread David Joyner
-- Forwarded message -- From: Martin Rubey Date: Thu, Nov 19, 2009 at 8:42 AM Subject: [SAGEdev] fricas ticket 6517 To: sage-devel Ralf asked me to try the latest fricas spkg, so I did.  It installs fine (after one has installed ecl-9.8.4.spkg), so I would like to give http://t

Re: [sage-devel] fricas ticket 6517

2009-11-19 Thread Martin Rubey
Thanks for forwarding. I would only like to remark that email mangled the output of series, too, which sage didn't :-) Martin David Joyner writes: > -- Forwarded message -- > From: Martin Rubey > Date: Thu, Nov 19, 2009 at 8:42 AM > Subject: [SAGEdev] fricas ticket 6517 > To:

[sage-devel] Bug in quotient of subspace of vector space

2009-11-19 Thread Harald Schilly
This is from the "report a problem" link in the notebook: If you have a vector space, that is a quotient of a subspace of another vector space, then after coercing elements into it, something goes wrong in (un)pickling it. {{{ sage: V = VectorSpace(QQ, 2) sage: W = V.subspace([V([1,1])]) sage: Z

Re: [sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread Dr. David Kirkby
Jason Grout wrote: > Harald Schilly wrote: >> Hi, about the publications ... big lol! >> >> better numbers: >> http://groups.google.com/group/sage-support/about > Archive table >> http://groups.google.com/group/comp.soft-sys.math.mathematica/about > >> Archive table >> >> Homework: Create nice plot

[sage-devel] Where should I write this combinatorics function ?

2009-11-19 Thread Nathann Cohen
Hello everybody !!! I just created the following ticket : http://trac.sagemath.org/sage_trac/ticket/7492 which is about the decomposition of a doubly stochastic matrix as a convex sum of permutationsm also called the Birkhoff–von Neumann Theorem ( more information on the Trac ticket ). I could wr

[sage-devel] Categories: final report!

2009-11-19 Thread Nicolas M. Thiery
Dear category fans, dear Sage-Combinat developers, This is my final status report for the category patches: Yiiippeee! Mike just merged them today in Sage 4.3-alpha0, together with one year of hard work worth of feature-full patches around root

[sage-devel] Error building sage 4.2.1

2009-11-19 Thread VictorMiller
(cd /u/victor/sage-4.2.1/local/bin; ln python2.6 python) rm -f /u/victor/sage-4.2.1/local/bin/python-config (cd /u/victor/sage-4.2.1/local/bin; ln -s python2.6-config python- config) /usr/bin/install -c -m 644 ./Misc/python.man \ /u/victor/sage-4.2.1/local/share/man/man1/python.1 ma

Re: [sage-devel] Where should I write this combinatorics function ?

2009-11-19 Thread Florent Hivert
Hi ! > I just created the following ticket : > http://trac.sagemath.org/sage_trac/ticket/7492 > > which is about the decomposition of a doubly stochastic matrix as a > convex sum of permutationsm also called the Birkhoff–von Neumann > Theorem ( more information on the Trac ticket ). I could

[sage-devel] SAGE_ROOT/examples

2009-11-19 Thread William Stein
Hi, Did you know there is a directory SAGE_ROOT/examples? Do you care? Because if nobody seriously cares, I'm going to *delete it* from future versions of Sage, since it is still a mess, and the last *nontrivial* commit was 1.5 years ago (!): changeset: 158:d18dad210d3b user:Mike Hans

Re: [sage-devel] Error building sage 4.2.1

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 2:29 PM, VictorMiller wrote: > (cd /u/victor/sage-4.2.1/local/bin; ln python2.6 python) > rm -f /u/victor/sage-4.2.1/local/bin/python-config > (cd /u/victor/sage-4.2.1/local/bin; ln -s python2.6-config python- > config) > /usr/bin/install -c -m 644 ./Misc/python.man \ >    

[sage-devel] Re: SAGE_ROOT/examples

2009-11-19 Thread Jason Grout
William Stein wrote: > Hi, > > Did you know there is a directory SAGE_ROOT/examples? Do you care? > Because if nobody seriously cares, I'm going to *delete it* from > future versions of Sage, since it is still a mess, and the last > *nontrivial* commit was 1.5 years ago (!): > Nope, I didn't k

[sage-devel] Generation of posets...

2009-11-19 Thread Florent Hivert
Hi, I'd like to generate all partially ordered sets of a given cardinality upto isomorphisms... They are in bijection with aclyclic, transitively reduced directed graphs. Does anyone have an idea how to do that ? I can't manage to get this with nauty. Cheers, Florent -- To post to this g

[sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread Nasser Abbasi
On Nov 19, 11:15 am, Jason Grout wrote: > Harald Schilly wrote: > > Hi, about the publications ... big lol! > > > better numbers: > >http://groups.google.com/group/sage-support/about> Archive table > >http://groups.google.com/group/comp.soft-sys.math.mathematica/about> > > Archive table > > > Ho

Re: [sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 3:29 PM, Nasser Abbasi wrote: > > > On Nov 19, 11:15 am, Jason Grout wrote: >> Harald Schilly wrote: >> > Hi, about the publications ... big lol! >> >> > better numbers: >> >http://groups.google.com/group/sage-support/about> Archive table >> >http://groups.google.com/group

[sage-devel] Re: Generation of posets...

2009-11-19 Thread Jason Grout
Florent Hivert wrote: > Hi, > > I'd like to generate all partially ordered sets of a given cardinality upto > isomorphisms... They are in bijection with aclyclic, transitively reduced > directed graphs. Does anyone have an idea how to do that ? I can't manage to > get this with nauty. I'm

Re: [sage-devel] Re: Generation of posets...

2009-11-19 Thread Florent Hivert
Hi Jason, > > I'd like to generate all partially ordered sets of a given cardinality upto > > isomorphisms... They are in bijection with aclyclic, transitively reduced > > directed graphs. Does anyone have an idea how to do that ? I can't manage to > > get this with nauty. > > > I'm sure t

Re: [sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread Dr. David Kirkby
William Stein wrote: >>> http://alpha.sagenb.org/home/pub/3/ >>> >>> Jason >>> >> But Jason, You did not say which newsgroup data you used, to pull the >> data from and gave no reference/link. >> >> After looking, I see you used the >> >> sage-support >> >> http://groups.google.com/group/sage-sup

Re: [sage-devel] Re: Generation of posets...

2009-11-19 Thread Tom Boothby
On Thu, Nov 19, 2009 at 4:14 PM, Florent Hivert wrote: >      Hi Jason, > >> > I'd like to generate all partially ordered sets of a given cardinality upto >> > isomorphisms... They are in bijection with aclyclic, transitively reduced >> > directed graphs. Does anyone have an idea how to do that ?

Re: [sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread William Stein
On Thu, Nov 19, 2009 at 4:16 PM, Dr. David Kirkby wrote: > In another post, Nassar poined out this link. If you have 18 minutes to spare, > it is worth listening to. > > http://blog.wolfram.com/2009/11/12/the-rd-pipeline-for-mathematica/#more-2172 > > Dave > I think *everybody* should read that,

Re: [sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread David Kirkby
2009/11/20 William Stein : > On Thu, Nov 19, 2009 at 4:16 PM, Dr. David Kirkby > wrote: >> In another post, Nassar poined out this link. If you have 18 minutes to >> spare, >> it is worth listening to. >> >> http://blog.wolfram.com/2009/11/12/the-rd-pipeline-for-mathematica/#more-2172 >> >> Dave

Re: [sage-devel] Re: Not receiving emails about trac items where I'm CC'ed

2009-11-19 Thread David Kirkby
2009/11/18 William Stein : > On Wed, Nov 18, 2009 at 9:24 AM, Harald Schilly > wrote: >> On Nov 18, 5:09 pm, drkir...@gmail.com wrote: >>> But for some reason, I do not recall seeing any >>> updates on the ticket. >> >> Trac is fine, it's the machine where trac is running on. There are >> problems

[sage-devel] Re: Generation of posets...

2009-11-19 Thread Jason Grout
Tom Boothby wrote: > On Thu, Nov 19, 2009 at 4:14 PM, Florent Hivert > wrote: >> Hi Jason, >> I'd like to generate all partially ordered sets of a given cardinality upto isomorphisms... They are in bijection with aclyclic, transitively reduced directed graphs. Does anyone have

[sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread Nasser Abbasi
On Nov 19, 5:34 pm, William Stein wrote: > How many messages per month to the matlab newsgroups? > >  -- William About 7,000 to 8,000. I used data from Google newsgroups to do some plots comparing newsgroup traffic trends over the years for the above groups. http://12000.org/my_notes/maple

[sage-devel] Re: How popular is Mathematica compared to Sage? 1.71:1 is one guess.

2009-11-19 Thread kstueve
Innovation: The dizzying ambition of Wolfram Alpha New Scientist Tech, Nov. 17, 2009 Stephen Wolfram wants Wolfram Alpha to generate knowledge of its own. Alpha has been exposed to more utterances than a typical child would hear in learning a new language, allowing it to get smarter at understa

[sage-devel] wolfram alpha api

2009-11-19 Thread Jason Grout
Has anyone applied for a wolfram alpha api id for Sage? http://www.wolframalpha.com/developers.html It seems pretty natural to have a Sage interface to Wolfram Alpha. Thanks, Jason -- Jason Grout -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this

Re: [sage-devel] Sage Survey 2009

2009-11-19 Thread Peter Jeremy
On 2009-Nov-18 13:35:11 +0100, Harald Schilly wrote: >Last fall I made a survey about Sage. This year I want to repeat it >with more questions that fit better the responses from last time. >Everyone (non-users, users, developers) is invited to take it. My initial comment is that making virtually

[sage-devel] Re: Generation of posets...

2009-11-19 Thread Nathann Cohen
Perhaps you can cheaply make it faster by first testing if two different poset have the same generating series ( if I remember correctly it just amount to compare the numbers of minimal elements, the number of elements juste above, etc, etc, etc... Or you could just try for any serie to enumerate

[sage-devel] Re: Where should I write this combinatorics function ?

2009-11-19 Thread Nathann Cohen
I first thought about your second option, but as Sage has already a permutation class, plus a .to_matrix() method to obtain the matrix back, I'll go for 1, playing the coward as I won't dare create a Bistochastic class (I feel like I wouldn't know how to deal with the different possibilities )