[sage-devel] Re: add a graph for US states?

2012-01-17 Thread Nathann Cohen
Hell Today I saw a blog post (http://mat.tepper.cmu.edu/blog/?p=1617) about > finding a Hamiltonian path through the states of the continental US. I > Hmmm... Does not look like something Sage can not break :-) > see we have graphs.WorldMap; perhaps we should have graphs for U

[sage-devel] How strong should weak references be?

2012-01-17 Thread Simon King
Hi! Currently, I try to fix several memory leaks, namely at trac ticket #715, #11521, #12215 and #12313. The common idea is: Use weak references for the caches (in particular for caching coercions and actions), so that stuff can be collected once it is no more used. But of course it would be easy

[sage-devel] Re: Question about scoping

2012-01-17 Thread Keshav Kini
On Tuesday, January 17, 2012 6:06:25 PM UTC+8, luisfe wrote: > On Jan 16, 5:53 pm, Ed Scheinerman > wrote: > > I'm confused by the fact that variables defined inside functions can > > "leak out" and become global variables. Here's what I've noticed. > > The problem is twith the function var.

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-17 Thread Jeroen Demeyer
On 2012-01-17 03:24, Dan Drake wrote: >> Huh? So I guess running "make test" doesn't work right in >> sage-5.0.beta1 since sage-env is missing (why?). > > Is it related to http://trac.sagemath.org/sage_trac/ticket/11073 ? Yes, it is. Should be fixed now in the latest version of #11073. -- To

Re: [sage-devel] Re: News about the ARM port

2012-01-17 Thread Jeroen Demeyer
On 2012-01-16 17:01, William Stein wrote: > On Mon, Jan 16, 2012 at 4:49 AM, mmarco wrote: >> Is there any hope of compiling sage for android? or the only way to >> have sage running on a tablet would be to install a linux system on >> top of the android one? > > My impression is that the only wa

[sage-devel] Sage on iPhone 4?

2012-01-17 Thread Iftikhar Burhanuddin
Hi folks, Accessing Sage via sagenb.org is an option. How else can I use Sage on an iPhone 4? Regards, Ifti -- 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 th

[sage-devel] Sage on openSUSE

2012-01-17 Thread Jeroen Demeyer
Somebody should add the status of Sage on openSUSE on http://wiki.sagemath.org/SupportedPlatforms -- 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

[sage-devel] Sage on Solaris

2012-01-17 Thread Jeroen Demeyer
Somebody should clarify/update the status of Sage on Solaris on http://wiki.sagemath.org/SupportedPlatforms -- 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

[sage-devel] Changes in supported platforms

2012-01-17 Thread Jeroen Demeyer
I have edited the supported platforms page to reflect the following, see http://wiki.sagemath.org/SupportedPlatforms * Increased needed diskspace to 3GB. * Changed phrase about memory to "It is recommended to have at least 2 GB of RAM (you may get away with less, but you can not be sure). In ord

Re: [sage-devel] Changes in supported platforms

2012-01-17 Thread Jeroen Demeyer
Also removed outdated "gcc 4.6.0 will not build Sage 4.7.0" -- 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://groups.google.com/group/sage-de

[sage-devel] Re: Changes in supported platforms

2012-01-17 Thread Simon King
Hi Jeroen, On 17 Jan., 15:03, Jeroen Demeyer wrote: > * Completely removed "openSUSE 11.2 and 11.3 are known not to work > currently, though these issues should be fixed for Sage 4.6." as I don't > know the current status of this. The current status is: Sage works out of the box on openSUSE, sin

Re: [sage-devel] Re: Changes in supported platforms

2012-01-17 Thread Jeroen Demeyer
On 2012-01-17 15:12, Simon King wrote: > openSUSE 12.1 Added "openSUSE 12.1" to the expected-to-work list. -- 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

[sage-devel] Re: Question about scoping

2012-01-17 Thread Jason Grout
On 1/17/12 4:54 AM, Keshav Kini wrote: On Tuesday, January 17, 2012 6:06:25 PM UTC+8, luisfe wrote: On Jan 16, 5:53 pm, Ed Scheinerman wrote: > I'm confused by the fact that variables defined inside functions can > "leak out" and become global variables. Here's what I've notic

[sage-devel] Re: Changes in supported platforms

2012-01-17 Thread Emil Widmann
on the webpage it says: Microsoft Windows VMware images can be downloaded from http://www.sagemath.org/download-windows.html These should be reliable, though we do not test these prior to releasing Sage. Use VirtualBox instead of VMware? There has been a lot of confusion about those two programs

[sage-devel] Re: Question about scoping

2012-01-17 Thread Keshav Kini
OK, but that only explains why it injects things into a scope. Why does it inject them into the *global* scope, and not the local scope? Or is this not possible? -Keshav Join us in #sagemath on irc.freenode.net ! -- To post to this group, send an email to sage-devel@googlegroups.com To u

[sage-devel] Re: twisted spkg

2012-01-17 Thread Jason Grout
On 1/17/12 1:44 AM, Jeroen Demeyer wrote: On 2012-01-16 23:36, jason-s...@creativetrax.com wrote: Please vote: [ ] Yes, remove the twisted spkg and include twisted in the sagenb spkg as a dependency [X] No, keep the twisted spkg as a separate spkg I dislike putting everything into one big sp

[sage-devel] Re: Sage on iPhone 4?

2012-01-17 Thread Jason Grout
On 1/14/12 6:38 PM, Iftikhar Burhanuddin wrote: Hi folks, Accessing Sage via sagenb.org is an option. How else can I use Sage on an iPhone 4? The singlecell server is another way: sagemath.org:5467 There is an ipod/iphone app that was being developed, but I don't know the status of it. Ivan

Re: [sage-devel] Re: Question about scoping

2012-01-17 Thread Michael Orlitzky
On 01/17/12 09:29, Jason Grout wrote: > > You can do this: > > var('x') > > instead of this: > > x=var('x') > > That's less error-prone (you don't have to type/mistype the variable > twice), easier to type, etc. > (completely off-topic) There should really be a page explaining the different

[sage-devel] Re: Changes in supported platforms

2012-01-17 Thread kcrisman
On Jan 17, 9:03 am, Jeroen Demeyer wrote: > I have edited the supported platforms page to reflect the following, > seehttp://wiki.sagemath.org/SupportedPlatforms > > * Increased needed diskspace to 3GB. > > * Changed phrase about memory to "It is recommended to have at least 2 > GB of RAM (you

Re: [sage-devel] Re: News about the ARM port

2012-01-17 Thread William Stein
On Jan 17, 2012 5:25 AM, "Jeroen Demeyer" wrote: > > On 2012-01-16 17:01, William Stein wrote: > > On Mon, Jan 16, 2012 at 4:49 AM, mmarco wrote: > >> Is there any hope of compiling sage for android? or the only way to > >> have sage running on a tablet would be to install a linux system on > >>

Re: [sage-devel] Re: Changes in supported platforms

2012-01-17 Thread Jeroen Demeyer
On 2012-01-17 17:09, kcrisman wrote: > On some very old Mac machines it is possible to build and run tests > with as little as .5 GB, with additional swap, because we do not have > to build ATLAS on that platform - but there are no guarantees. You actually manage to pass "ptestlong" on a machine wi

Re: [sage-devel] Re: News about the ARM port

2012-01-17 Thread Jeroen Demeyer
On 2012-01-17 17:19, William Stein wrote: > FWIW, This reminds me that in Boston a number theorist named Simon Wong > showed me Pari running on his Android tablet as a proper android app > with a GUI. Cross-compiled? I know PARI is fairly portable as long as you compile it on the machine you inten

[sage-devel] Sage library on GitHub

2012-01-17 Thread Keshav Kini
Hi all, I feel a little bad for spending time on this while others are finalizing the flask notebook and doing other preparations for Sage 5.0, but on a whim I started mirroring the Sage library on GitHub. It's not very useful right now since we can't accept pull requests, but there we are. It'

Re: [sage-devel] How strong should weak references be?

2012-01-17 Thread William Stein
On Jan 17, 2012 2:45 AM, "Simon King" wrote: > > Hi! > > Currently, I try to fix several memory leaks, namely at trac ticket > #715, #11521, #12215 and #12313. The common idea is: Use weak > references for the caches (in particular for caching coercions and > actions), so that stuff can be collect

Re: [sage-devel] Sage library on GitHub

2012-01-17 Thread William Stein
On Jan 17, 2012 8:32 AM, "Keshav Kini" wrote: > > Hi all, > > I feel a little bad for spending time on this while others are finalizing the flask notebook and doing other preparations for Sage 5.0, but on a whim I started mirroring the Sage library on GitHub. It's not very useful right now since w

Re: [sage-devel] Re: News about the ARM port

2012-01-17 Thread William Stein
On Jan 17, 2012 8:22 AM, "Jeroen Demeyer" wrote: > > On 2012-01-17 17:19, William Stein wrote: > > FWIW, This reminds me that in Boston a number theorist named Siman Wong > > showed me Pari running on his Android tablet as a proper android app > > with a GUI. > Cross-compiled? I believe so. I cc'

[sage-devel] Re: Changes in supported platforms

2012-01-17 Thread kcrisman
On Jan 17, 11:20 am, Jeroen Demeyer wrote: > On 2012-01-17 17:09, kcrisman wrote:> On some very old Mac machines it is > possible to build and run tests > > with as little as .5 GB, with additional swap, because we do not have > > to build ATLAS on that platform - but there are no guarantees. >

[sage-devel] Re: Question about scoping

2012-01-17 Thread Nils Bruin
On Jan 17, 2:54 am, Keshav Kini wrote: [...] > How does it make anything easier > or clearer or better for the interactive user that var() injects things > into global scope? We found ourselves trying in vain to explain this to > students several times when teaching our Sage-based undergraduate co

[sage-devel] Re: How strong should weak references be?

2012-01-17 Thread Simon King
Hi William, On 17 Jan., 17:39, William Stein wrote: > On Jan 17, 2012 2:45 AM, "Simon King" wrote: > > Just out of curiosity, what is the impact on speed? There are some timings for #715. Jean-Pierre Flori reported on the ticket: """ Running "make ptestlong" gave me: * sage-5.0.prealpha1 vani

Re: [sage-devel] Re: Question about scoping

2012-01-17 Thread Burcin Erocal
On Tue, 17 Jan 2012 09:02:11 -0800 (PST) Nils Bruin wrote: > On Jan 17, 2:54 am, Keshav Kini wrote: > [...] > > How does it make anything easier > > or clearer or better for the interactive user that var() injects > > things into global scope? We found ourselves trying in vain to > > explain thi

Re: [sage-devel] Re: Question about scoping

2012-01-17 Thread William Stein
On Tue, Jan 17, 2012 at 9:53 AM, Burcin Erocal wrote: > On Tue, 17 Jan 2012 09:02:11 -0800 (PST) > Nils Bruin wrote: > >> On Jan 17, 2:54 am, Keshav Kini wrote: >> [...] >> > How does it make anything easier >> > or clearer or better for the interactive user that var() injects >> > things into g

[sage-devel] Checking all but Python self-tests

2012-01-17 Thread kcrisman
Here is a probably dumb question. Currently (as far as I am aware), most spkgs should pass with SAGE_CHECK set, though it does depend on the platform and specific machine. Python is somewhat notorious for not doing so. I'd like to be able to start using SAGE_CHECK while building, but currently t

[sage-devel] Re: Question about scoping

2012-01-17 Thread Jason Grout
On 1/17/12 12:01 PM, William Stein wrote: Nils example is interesting though, since it suggests using SR.var instead of var in preparsing callable symbolic function creation. E.g., instead of sage: preparse('f(x) = 10*x') '__tmp__=var("x"); f = symbolic_expression(Integer(10)*x).function(x)' d

[sage-devel] Re: Question about scoping

2012-01-17 Thread Nils Bruin
On Jan 17, 9:53 am, Burcin Erocal wrote: > Are we also going to prevent people from defining callable expressions > using the f(x) = x+1 syntax within functions? That would be a corollary given how that gets preparsed. That might have to change because the error message generated by "var" will be

Re: [sage-devel] Re: Question about scoping

2012-01-17 Thread William Stein
On Jan 17, 2012 10:06 AM, "Jason Grout" wrote: > > On 1/17/12 12:01 PM, William Stein wrote: > >> Nils example is interesting though, since it suggests using SR.var >> instead of var in preparsing callable symbolic function creation. >> E.g., instead of >> >> sage: preparse('f(x) = 10*x') >> '__tm

[sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread John H Palmieri
On Tuesday, January 17, 2012 10:06:18 AM UTC-8, kcrisman wrote: > > Here is a probably dumb question. > > Currently (as far as I am aware), most spkgs should pass with > SAGE_CHECK set, though it does depend on the platform and specific > machine. Python is somewhat notorious for not doing so

[sage-devel] Re: Question about scoping

2012-01-17 Thread Jason Grout
On 1/17/12 12:11 PM, William Stein wrote: On Jan 17, 2012 10:06 AM, "Jason Grout" mailto:jason-s...@creativetrax.com>> wrote: > > On 1/17/12 12:01 PM, William Stein wrote: > >> Nils example is interesting though, since it suggests using SR.var >> instead of var in preparsing callable symbol

[sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread Volker Braun
I consider it a bug that Python's testsuite fails on many systems even though the resulting python install is perfectly usable for our purposes. The Python spkg-check should be changed to not call the whole python testsuite blindly if it is this finicky. -- To post to this group, send an ema

[sage-devel] Re: Question about scoping

2012-01-17 Thread Jason Grout
On 1/17/12 12:18 PM, Jason Grout wrote: On 1/17/12 12:11 PM, William Stein wrote: On Jan 17, 2012 10:06 AM, "Jason Grout" mailto:jason-s...@creativetrax.com>> wrote: > > On 1/17/12 12:01 PM, William Stein wrote: > >> Nils example is interesting though, since it suggests using SR.var >> instead

[sage-devel] Re: How strong should weak references be?

2012-01-17 Thread Volker Braun
First of all, thank you for tackling this issue! I think the speed regression is mild enough that it is not too pressing an issue. On Tuesday, January 17, 2012 2:44:58 AM UTC-8, Simon King wrote: > > * Should I modify my weak version of > `sage.structure.coerce_dict.TripleDict` so that strong

Re: [sage-devel] Re: Question about scoping

2012-01-17 Thread William Stein
On Jan 17, 2012 10:25 AM, "Jason Grout" wrote: > > On 1/17/12 12:18 PM, Jason Grout wrote: >> >> On 1/17/12 12:11 PM, William Stein wrote: >>> >>> >>> On Jan 17, 2012 10:06 AM, "Jason Grout" >> > wrote: >>> > >>> > On 1/17/12 12:01 PM, William Stein wrote: >>> >

Re: [sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread William Stein
On Jan 17, 2012 10:19 AM, "Volker Braun" wrote: > > I consider it a bug that Python's testsuite fails on many systems even though the resulting python install is perfectly usable for our purposes. The Python spkg-check should be changed to not call the whole python testsuite blindly if it is this

[sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread kcrisman
On Jan 17, 1:15 pm, John H Palmieri wrote: > On Tuesday, January 17, 2012 10:06:18 AM UTC-8, kcrisman wrote: > > > Here is a probably dumb question. > > > Currently (as far as I am aware), most spkgs should pass with > > SAGE_CHECK set, though it does depend on the platform and specific > > mach

[sage-devel] Re: How strong should weak references be?

2012-01-17 Thread Simon King
Hi Volker, On 17 Jan., 19:28, Volker Braun wrote: > As far as implementation goes, you just have to put every newly-generated > entry also in a fixed-size ring buffer. Sure, this is what I had imagined (although I didn't know the word "ring buffer"). > I don't think that this would incur > meas

Re: [sage-devel] Re: twisted spkg

2012-01-17 Thread Julien Puydt
Le 17/01/2012 15:33, Jason Grout a écrit : If we separate out twisted on principle, it seems like we should separate out the other 13 dependent packages that are included. That's a maintenance burden I can't take on right now. Are those heavily patched with respect to upstream? Snark on #sagem

Re: [sage-devel] Changes in supported platforms

2012-01-17 Thread Julien Puydt
Le 17/01/2012 15:03, Jeroen Demeyer a écrit : I have edited the supported platforms page to reflect the following, see http://wiki.sagemath.org/SupportedPlatforms * Increased needed diskspace to 3GB. This is very bad. * Changed phrase about memory to "It is recommended to have at least 2 GB

Re: [sage-devel] Re: Changes in supported platforms

2012-01-17 Thread Julien Puydt
Le 17/01/2012 17:20, Jeroen Demeyer a écrit : On 2012-01-17 17:09, kcrisman wrote: On some very old Mac machines it is possible to build and run tests with as little as .5 GB, with additional swap, because we do not have to build ATLAS on that platform - but there are no guarantees. You actuall

Re: [sage-devel] Changes in supported platforms

2012-01-17 Thread William Stein
On Jan 17, 2012 11:43 AM, "Julien Puydt" wrote: > > Le 17/01/2012 15:03, Jeroen Demeyer a écrit : > >> I have edited the supported platforms page to reflect the following, see >> http://wiki.sagemath.org/SupportedPlatforms >> >> * Increased needed diskspace to 3GB. > > > This is very bad. Is it r

[sage-devel] Re: twisted spkg

2012-01-17 Thread Jason Grout
On 1/17/12 1:38 PM, Julien Puydt wrote: Le 17/01/2012 15:33, Jason Grout a écrit : If we separate out twisted on principle, it seems like we should separate out the other 13 dependent packages that are included. That's a maintenance burden I can't take on right now. Are those heavily patched w

Re: [sage-devel] Re: twisted spkg

2012-01-17 Thread Julien Puydt
Le 17/01/2012 20:54, Jason Grout a écrit : On 1/17/12 1:38 PM, Julien Puydt wrote: Le 17/01/2012 15:33, Jason Grout a écrit : If we separate out twisted on principle, it seems like we should separate out the other 13 dependent packages that are included. That's a maintenance burden I can't take

Re: [sage-devel] Changes in supported platforms

2012-01-17 Thread Florent Hivert
> * Completely removed "openSUSE 11.2 and 11.3 are known not to work > currently, though these issues should be fixed for Sage 4.6." as I don't > know the current status of this. I'm working with OpenSuSE and got it (4.7.0, 4.7.1 and 4.7.1) working from source on two different machines - OpenSUSE

Re: [sage-devel] Changes in supported platforms

2012-01-17 Thread Florent Hivert
On Tue, Jan 17, 2012 at 09:04:23PM +0100, Florent Hivert wrote: > > * Completely removed "openSUSE 11.2 and 11.3 are known not to work > > currently, though these issues should be fixed for Sage 4.6." as I don't > > know the current status of this. > > I'm working with OpenSuSE and got it (4.7.0,

Re: [sage-devel] WIKI connection problem

2012-01-17 Thread Florent Hivert
Hi There, > I've a problem with my account on the wiki. The problem occur both with > Firefox, Opera and Konqueror. Here is what happens: when I click on the login > button I'm asked for a username and a password. So I type my username and my > password and I'm logged In, or so it seems: At

[sage-devel] Re: twisted spkg

2012-01-17 Thread Jason Grout
On 1/17/12 2:04 PM, Julien Puydt wrote: Le 17/01/2012 20:54, Jason Grout a écrit : On 1/17/12 1:38 PM, Julien Puydt wrote: Le 17/01/2012 15:33, Jason Grout a écrit : If we separate out twisted on principle, it seems like we should separate out the other 13 dependent packages that are included.

[sage-devel] Re: WIKI connection problem

2012-01-17 Thread Jason Grout
On 1/17/12 2:09 PM, Florent Hivert wrote: Hi There, I've a problem with my account on the wiki. The problem occur both with Firefox, Opera and Konqueror. Here is what happens: when I click on the login button I'm asked for a username and a password. So I type my username and my password

Re: [sage-devel] Re: twisted spkg

2012-01-17 Thread Julien Puydt
Le 17/01/2012 21:10, Jason Grout a écrit : On 1/17/12 2:04 PM, Julien Puydt wrote: Le 17/01/2012 20:54, Jason Grout a écrit : On 1/17/12 1:38 PM, Julien Puydt wrote: Le 17/01/2012 15:33, Jason Grout a écrit : If we separate out twisted on principle, it seems like we should separate out the ot

Re: [sage-devel] How strong should weak references be?

2012-01-17 Thread Robert Bradshaw
My original intent with respect to caching was that the parents would be the root objects, and everything else would be lazily referenced except through them, but just pushing things through was a large enough task that I never got this done. In particular, what I was thinking is that a coercion or

[sage-devel] Sage iPhone app

2012-01-17 Thread Ivan Andrus
I have finally put in the time needed to get the iPhone app to a point where I think it can be released. As before you can try it out in the simulator by building from https://bitbucket.org/gvol/sage-iphone-app/ If you want to try it on your iDevice I can get you a certificate off list. Of cou

[sage-devel] Re: How strong should weak references be?

2012-01-17 Thread Simon King
Hi Robert On 17 Jan., 22:10, Robert Bradshaw wrote: > In particular, what I was > thinking is that a coercion or action involving R and S would have a > lifetime of min(lifetime(R), lifetime(S)) and not keep R or S alive. > If R + S -> R', then this action would keep R' alive, and once R or S > w

[sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread John H Palmieri
On Tuesday, January 17, 2012 10:19:03 AM UTC-8, Volker Braun wrote: > > I consider it a bug that Python's testsuite fails on many systems even > though the resulting python install is perfectly usable for our purposes. > The Python spkg-check should be changed to not call the whole python > te

[sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread John H Palmieri
On Tuesday, January 17, 2012 10:45:37 AM UTC-8, kcrisman wrote: > > > > On Jan 17, 1:15 pm, John H Palmieri wrote: > > On Tuesday, January 17, 2012 10:06:18 AM UTC-8, kcrisman wrote: > > > > > Here is a probably dumb question. > > > > > Currently (as far as I am aware), most spkgs should pa

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-17 Thread William Stein
On Mon, Jan 16, 2012 at 3:43 PM, William Stein wrote: > On Mon, Jan 16, 2012 at 9:26 AM, John H Palmieri > wrote: >> >> >> On Monday, January 16, 2012 7:42:49 AM UTC-8, William wrote: >>> >>> Hi, >>> >>> A major blocker for Sage-5.0 is supporting OS X (version 10.7 -- the >>> version that has be

Re: [sage-devel] Re: Unofficial release sage-5.0.prealpha1

2012-01-17 Thread William Stein
Hi, After running (from SAGE_ROOT) the test suite for this unofficial sage-5.0 release by doing "sage -t devel/sage/sage/" I found files mult_table0.png, ..., mult_table7.png left over in SAGE_ROOT. -- William -- To post to this group, send an email to sage-devel@googlegroups.com To unsu

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-17 Thread John Cremona
>> After building Sage on OS X 10.7, "make test" did this: > > For the record, running tests with "sage -t devel/sage/sage" yields > hundred(s) of failing files: > >   http://wstein.org/home/wstein/tmp/test-sage-5.0.beta1-osx10.7.txt > > It could be that most of these boil down to some code at the

Re: [sage-devel] Re: Unofficial release sage-5.0.prealpha1

2012-01-17 Thread John Cremona
On 17 January 2012 22:45, William Stein wrote: > Hi, > > After running (from SAGE_ROOT) the test suite for this unofficial > sage-5.0 release by doing "sage -t devel/sage/sage/"  I found files > >   mult_table0.png, ..., mult_table7.png > > left over in SAGE_ROOT. > Me too. There are also some f

Re: [sage-devel] Re: Sage on iPhone 4?

2012-01-17 Thread Ivan Andrus
On Jan 17, 2012, at 3:37 PM, Jason Grout wrote: > On 1/14/12 6:38 PM, Iftikhar Burhanuddin wrote: >> Hi folks, >> >> Accessing Sage via sagenb.org is an option. How else can I use Sage on >> an iPhone 4? > > The singlecell server is another way: sagemath.org:5467 > > There is an ipod/iphone app

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-17 Thread William Stein
On Tue, Jan 17, 2012 at 1:39 PM, William Stein wrote: > On Mon, Jan 16, 2012 at 3:43 PM, William Stein wrote: >> On Mon, Jan 16, 2012 at 9:26 AM, John H Palmieri >> wrote: >>> >>> >>> On Monday, January 16, 2012 7:42:49 AM UTC-8, William wrote: Hi, A major blocker for Sage-5

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-17 Thread William Stein
On Tue, Jan 17, 2012 at 1:47 PM, John Cremona wrote: >>> After building Sage on OS X 10.7, "make test" did this: >> >> For the record, running tests with "sage -t devel/sage/sage" yields >> hundred(s) of failing files: >> >>   http://wstein.org/home/wstein/tmp/test-sage-5.0.beta1-osx10.7.txt >> >>

[sage-devel] Re: status on lion and xcode 4

2012-01-17 Thread William Stein
On Tue, Jan 17, 2012 at 1:52 PM, Jesse Berwald wrote: > Interesting. I saw the manuals actions. It is compiling, but I suppose > it'll just be a "monster" if it completes without error. Here's the > issue and why I want to use it compile it: I'd like to apply a patch > that someone wrote for the c

Re: [sage-devel] Re: News about the ARM port

2012-01-17 Thread Julien Puydt
Le 17/01/2012 17:22, Jeroen Demeyer a écrit : On 2012-01-17 17:19, William Stein wrote: FWIW, This reminds me that in Boston a number theorist named Simon Wong showed me Pari running on his Android tablet as a proper android app with a GUI. Cross-compiled? I know PARI is fairly portable as lon

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-17 Thread John Cremona
On 17 January 2012 23:04, William Stein wrote: > On Tue, Jan 17, 2012 at 1:47 PM, John Cremona wrote: After building Sage on OS X 10.7, "make test" did this: >>> >>> For the record, running tests with "sage -t devel/sage/sage" yields >>> hundred(s) of failing files: >>> >>>   http://wstein.o

[sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread kcrisman
> > Hmm, that could be useful, even if not as automated, since it would > > mean only typing "make" once, which is the real goal.  It wouldn't > > lead to an error if I only delete that file (i.e. spkg-install doesn't > > have lines about spkg-check in it that would stop the build)? > > No.  The sc

Re: [sage-devel] Re: News about the ARM port

2012-01-17 Thread William Stein
On Tue, Jan 17, 2012 at 2:09 PM, Julien Puydt wrote: > Le 17/01/2012 17:22, Jeroen Demeyer a écrit : > >> On 2012-01-17 17:19, William Stein wrote: >>> >>> FWIW, This reminds me that in Boston a number theorist named Simon Wong >>> showed me Pari running on his Android tablet as a proper android a

[sage-devel] Re: Sage iPhone app

2012-01-17 Thread kcrisman
On Jan 17, 4:18 pm, Ivan Andrus wrote: > I have finally put in the time needed to get the iPhone app to a point where > I think it can be released. > > As before you can try it out in the simulator by building > fromhttps://bitbucket.org/gvol/sage-iphone-app/ Does one need Lion and/or Xcode 4

Re: [sage-devel] Re: Sage iPhone app

2012-01-17 Thread William Stein
On Tue, Jan 17, 2012 at 2:26 PM, kcrisman wrote: > > > On Jan 17, 4:18 pm, Ivan Andrus wrote: >> I have finally put in the time needed to get the iPhone app to a point where >> I think it can be released. >> >> As before you can try it out in the simulator by building >> fromhttps://bitbucket.o

Re: [sage-devel] Re: WIKI connection problem

2012-01-17 Thread Florent Hivert
On Tue, Jan 17, 2012 at 02:11:37PM -0600, Jason Grout wrote: > On 1/17/12 2:09 PM, Florent Hivert wrote: > >Hi There, > > > >>I've a problem with my account on the wiki. The problem occur both with > >>Firefox, Opera and Konqueror. Here is what happens: when I click on the > >>login > >>bu

Re: [sage-devel] Re: Sage iPhone app

2012-01-17 Thread Ivan Andrus
On Jan 17, 2012, at 11:26 PM, kcrisman wrote: > On Jan 17, 4:18 pm, Ivan Andrus wrote: >> I have finally put in the time needed to get the iPhone app to a point where >> I think it can be released. >> >> As before you can try it out in the simulator by building >> fromhttps://bitbucket.org/gvol

Re: [sage-devel] Re: WIKI connection problem

2012-01-17 Thread William Stein
On Tue, Jan 17, 2012 at 2:37 PM, Florent Hivert wrote: > On Tue, Jan 17, 2012 at 02:11:37PM -0600, Jason Grout wrote: >> On 1/17/12 2:09 PM, Florent Hivert wrote: >> >        Hi There, >> > >> >>I've a problem with my account on the wiki. The problem occur both with >> >>Firefox, Opera and Konquer

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-17 Thread William Stein
On Tue, Jan 17, 2012 at 2:16 PM, John Cremona wrote: > On 17 January 2012 23:04, William Stein wrote: >> On Tue, Jan 17, 2012 at 1:47 PM, John Cremona wrote: > After building Sage on OS X 10.7, "make test" did this: For the record, running tests with "sage -t devel/sage/sage" yield

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-17 Thread Justin C. Walker
On Jan 17, 2012, at 14:04 , William Stein wrote: > On Tue, Jan 17, 2012 at 1:47 PM, John Cremona wrote: After building Sage on OS X 10.7, "make test" did this: > Let me run the full test suite of Sage first, having built PARI with > -O0 and see what happens. If that works, I will just ne

Re: [sage-devel] Re: How strong should weak references be?

2012-01-17 Thread Robert Bradshaw
On Tue, Jan 17, 2012 at 1:21 PM, Simon King wrote: > Hi Robert > > On 17 Jan., 22:10, Robert Bradshaw > wrote: >> In particular, what I was >> thinking is that a coercion or action involving R and S would have a >> lifetime of min(lifetime(R), lifetime(S)) and not keep R or S alive. >> If R + S -

Re: [sage-devel] Changes in supported platforms

2012-01-17 Thread Justin C. Walker
On Jan 17, 2012, at 11:49 , William Stein wrote: > On Jan 17, 2012 11:43 AM, "Julien Puydt" wrote: >> >> Le 17/01/2012 15:03, Jeroen Demeyer a écrit : >> >>> I have edited the supported platforms page to reflect the following, see >>> http://wiki.sagemath.org/SupportedPlatforms >>> >>> * Incr

Re: [sage-devel] Re: sage-5.0.x and OS X 10.7 Lion

2012-01-17 Thread William Stein
On Tue, Jan 17, 2012 at 3:20 PM, Justin C. Walker wrote: > > On Jan 17, 2012, at 14:04 , William Stein wrote: > >> On Tue, Jan 17, 2012 at 1:47 PM, John Cremona wrote: > After building Sage on OS X 10.7, "make test" did this: > >> Let me run the full test suite of Sage first, having built PAR

[sage-devel] Re: Sage iPhone app

2012-01-17 Thread kcrisman
> >> Of course any bug reports or suggestions are very welcome.  In particular > >> checking my initial examples would be helpful.  Some screen shots are > >> available athttp://boxen.math.washington.edu/home/iandrus/ > > > Nice! > > > As a question from someone who does not own an iDevice... ho

[sage-devel] Re: Sage iPhone app

2012-01-17 Thread Jason Grout
On 1/17/12 5:33 PM, kcrisman wrote: Of course any bug reports or suggestions are very welcome. In particular checking my initial examples would be helpful. Some screen shots are available athttp://boxen.math.washington.edu/home/iandrus/ Nice! As a question from someone who does not ow

[sage-devel] AISC 2012

2012-01-17 Thread JacquesC
Dear Sage developers, Sage is very well known amongst heavy users of computer algebra, as well as by CA developers, but its presence in 'academic circles' of CA developers seems to be quite a bit lower than other systems. So I invite you to help fix that! Please consider submitting a w

Re: [sage-devel] Re: Checking all but Python self-tests

2012-01-17 Thread Dan Drake
On Tue, 17 Jan 2012 at 10:19AM -0800, Volker Braun wrote: > I consider it a bug that Python's testsuite fails on many systems even > though the resulting python install is perfectly usable for our > purposes. The Python spkg-check should be changed to not call the > whole python testsuite blindly i

Re: [sage-devel] Re: WIKI connection problem

2012-01-17 Thread Michael Orlitzky
On 01/17/2012 05:37 PM, Florent Hivert wrote: Unfortunately, that's not the problem. As I already said, I tried from 6 different computers using windows and linux OSes, Firefox, IE, Opera, Konqueror as browser... All show the same behavior. So I really think this is on the server side. That's wh

[sage-devel] Re: Question about scoping

2012-01-17 Thread Keshav Kini
Leif and I had a discussion about this on #sagemath in October, but never brought it to sage-devel for some reason. Linked here as it may be relevant: http://boxen.math.washington.edu/home/keshav/files/irclog-var.txt Basically, if we are already encouraging the syntax "var('x')" instead of "x =

Re: [sage-devel] Sage library on GitHub

2012-01-17 Thread Keshav Kini
On Wed, Jan 18, 2012 at 00:43, William Stein wrote: > Thanks for doing this!   I want to experiment with doing Sage development > using git and this will help a lot. Great! Let me know if you want anything in the README changed, btw. -Keshav Join us in #sagemath on irc.freenode.net ! --

Re: [sage-devel] Re: Unofficial release sage-5.0.prealpha0

2012-01-17 Thread Dan Drake
On Sun, 01 Jan 2012 at 08:02AM -0800, daveloeffler wrote: > Here's another strange thing: with the new Python 2.7.2 spkg, if > SAGE_CHECK is set, the whole Python test suite gets run *twice over*! > Is this deliberate? I've noticed that, too. But I just found that, in the README file of the Python

Re: [sage-devel] Re: twisted spkg

2012-01-17 Thread Keshav Kini
On Wed, Jan 18, 2012 at 04:59, Julien Puydt wrote: > This is something I have noticed : on the other hand, having spkg means that > to share some experimental code with inexperienced people, it's just a > single file to transmit, and it will mostly just work. This is good, and > must stay! > > On

[sage-devel] Re: twisted spkg

2012-01-17 Thread Jason Grout
On 1/17/12 8:04 PM, Keshav Kini wrote: Burcin's lmonade ( http://lmona.de/ ) is doing something similar, but with Gentoo Prefix instead of Gentoo (so that you can run it on other distros). And it looks like the focus of lmonade is broader than Sage, by the way (just guessing from what I see on

Re: [sage-devel] Re: twisted spkg

2012-01-17 Thread François Bissey
On Wed, 18 Jan 2012 10:04:23 Keshav Kini wrote: > On Wed, Jan 18, 2012 at 04:59, Julien Puydt wrote: > > This is something I have noticed : on the other hand, having spkg means > > that to share some experimental code with inexperienced people, it's > > just a single file to transmit, and it will

[sage-devel] Re: twisted spkg

2012-01-17 Thread Jason Grout
On 1/17/12 8:14 PM, François Bissey wrote: Let's not get out of focus here. Switching to stuff like sage-on-gentoo (on a prefix) or lmonade is in the future. We need to get it running properly first. The present is the fate of the twisted spkg. Thanks for bringing us back around. We've posted

Re: [sage-devel] AISC 2012

2012-01-17 Thread William Stein
On Tue, Jan 17, 2012 at 4:13 PM, JacquesC wrote: > Dear Sage developers, > Sage is very well known amongst heavy users of computer algebra, as > well as by CA developers, but its presence in 'academic circles' of > CA developers seems to be quite a bit lower than other systems. So I > invite

Re: [sage-devel] Re: Unofficial release sage-5.0.prealpha0

2012-01-17 Thread Dan Drake
On Wed, 18 Jan 2012 at 10:59AM +0900, Dan Drake wrote: > I've noticed that, too. But I just found that, in the README file of the > Python source, I see: > > To test the interpreter, type "make test" in the top-level directory. > This runs the test set twice (once with no compiled files, o

[sage-devel] Re: Changes in supported platforms

2012-01-17 Thread Emil Widmann
Just a suggestion: Would it make sense to lift the Virtual Image from "Expected to work" to "Fully supported"? At least it is the main distribution for windows and also any other plattforms whith no existing native port. It should be possible to set up a VirtualBox machine on one of the build bots