[sage-devel] Fix interrupting Singular (#10476) needs review

2012-06-18 Thread Jeroen Demeyer
Hello, I have a patch at #10476 to fix interrupting Singular. Currently it is totally broken. And #10296 even introduced a doctest which checks specifically for its brokenness (this was most likely unintentional, but it's there anyway). Sometimes it doesn't break and the doctest fails. This is

Re: [sage-devel] Sage 5.0.1 (maxima) fails to build on ArchLinux

2012-06-18 Thread Jeroen Demeyer
On 2012-06-19 06:39, Michael Welsh wrote: > I'm trying to install Sage 5.0.1 from source on this machine (running > Archlinux). > > Linux lagrange.msor.vuw.ac.nz 3.2.4-1-ARCH #1 SMP PREEMPT Sat Feb 4 11:21:15 > UTC 2012 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel > GNU/Linux >

[sage-devel] Re: And the 2012 Spies Sage Development Prize Winner is...

2012-06-18 Thread Rob Beezer
On Monday, June 18, 2012 9:32:23 PM UTC-7, William wrote: > > ... Jason Grout! > Well-deserved! Now, you just have to figure out how to keep your accountant from re-allocating the prize money! ;-) Rob -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from

Re: [sage-devel] Sage 5.0.1 (maxima) fails to build on ArchLinux

2012-06-18 Thread Tim Joseph Dumol
On Tue, Jun 19, 2012 at 12:39 PM, Michael Welsh wrote: > I'm trying to install Sage 5.0.1 from source on this machine (running > Archlinux). > > Linux lagrange.msor.vuw.ac.nz 3.2.4-1-ARCH #1 SMP PREEMPT Sat Feb 4 > 11:21:15 UTC 2012 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz > GenuineIntel GN

[sage-devel] Re: And the 2012 Spies Sage Development Prize Winner is...

2012-06-18 Thread Jason Grout
On 6/18/12 11:32 PM, William Stein wrote: Jason Grout! Wow. Thanks; I'm flattered! Let me take this opportunity to thank all of *YOU* who make the community and Sage such a success. I've continually been impressed with how well everyone works and works together. It has been and cont

[sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread P Purkayastha
On Tuesday, June 19, 2012 10:03:34 AM UTC+8, jason wrote: > > On 6/18/12 8:05 PM, John H Palmieri wrote: > > On Monday, June 18, 2012 3:34:15 AM UTC-7, Nathann Cohen wrote: > > > > Helloo everybody !!! > > > > Our graph files are getting quite large, and there is in some > >

Re: [sage-devel] And the 2012 Spies Sage Development Prize Winner is...

2012-06-18 Thread Fernando Perez
On Mon, Jun 18, 2012 at 9:32 PM, William Stein wrote: > ... Jason Grout! Congratulations!!! And I'd like to add, in addition to the many merits listed in the award notice, Jason is remarkably active not only in working on numpy/scipy integration for Sage, but also in bridging the sage and scipy c

Re: [sage-devel] And the 2012 Spies Sage Development Prize Winner is...

2012-06-18 Thread Minh Nguyen
Hi Jason, Congratulations! You can find the prize citation at http://www.sagemath.org/development-prize.html in case it ever gets lost in the deluge of emails to sage-devel. -- Regards, Minh Van Nguyen http://bit.ly/mvngu -- To post to this group, send an email to sage-devel@googlegroups.co

Re: [sage-devel] And the 2012 Spies Sage Development Prize Winner is...

2012-06-18 Thread Alex Ghitza
w00t! well-deserved! -- Best, Alex -- Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne http://aghitza.org -- 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

[sage-devel] Sage 5.0.1 (maxima) fails to build on ArchLinux

2012-06-18 Thread Michael Welsh
I'm trying to install Sage 5.0.1 from source on this machine (running Archlinux). Linux lagrange.msor.vuw.ac.nz 3.2.4-1-ARCH #1 SMP PREEMPT Sat Feb 4 11:21:15 UTC 2012 i686 Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz GenuineIntel GNU/Linux The full install log is at http://yomcat.geek.nz/sage/la

[sage-devel] And the 2012 Spies Sage Development Prize Winner is...

2012-06-18 Thread William Stein
... Jason Grout! CITATION: Jason Grout is a constant presence across the Sage landscape. He is extremely active in the discussion groups, comments on many tickets, contributes code to the core Sage library, improves the documentation, and works tirelessly to improve the notebook interface. He c

[sage-devel] mathjax

2012-06-18 Thread Jason Grout
As a side-effect of the recent security updates to sagenb.org and related servers, we also changed the servers to use MathJax instead of jsmath to do the mathematics. Thanks very much to all those involved in #9774, and especially to Davide for writing MathJax! Thanks, Jason -- To post to t

[sage-devel] sagenb.org back up

2012-06-18 Thread Jason Grout
You may have noticed that sagenb.org and related servers are back up. There are several changes: 1. New accounts must use openid. Existing accounts will still be able to log in. 2. There is a quota of 250M. If your account exceeds 250M in data, it will be changed to "read-only". You'll be

[sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread Jason Grout
On 6/18/12 8:05 PM, John H Palmieri wrote: On Monday, June 18, 2012 3:34:15 AM UTC-7, Nathann Cohen wrote: Helloo everybody !!! Our graph files are getting quite large, and there is in some situations a way to make it shorter : we can define some functions in modules and

[sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread John H Palmieri
On Monday, June 18, 2012 3:34:15 AM UTC-7, Nathann Cohen wrote: > > Helloo everybody !!! > > Our graph files are getting quite large, and there is in some situations a > way to make it shorter : we can define some functions in modules and import > them in the Graph class afterwards. > Th

Re: [sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread Henry de Valence
On Jun 18, 2012 8:15 PM, "Nathann Cohen" wrote: > > > yes. If implemented right, an overhead is insignificant. > > O_o > > Are you joking ? O_o Python strings are immutable, for instance. Henry de Valence -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe fro

Re: [sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread Nathann Cohen
> yes. If implemented right, an overhead is insignificant. O_o Are you joking ? O_o > No, you should not be able to apply to a generic graph a function which only > works for perfect > graphs. Otherwise it is asking for trouble. I totally agree, only there is *no* function that only works for o

Re: [sage-devel] Re: Sage Days 41, EduDays 4

2012-06-18 Thread Christopher Swenson
Looks good. --Christopher On Mon, Jun 18, 2012 at 1:08 PM, kcrisman wrote: > > > On Monday, June 18, 2012 12:22:16 PM UTC-4, Jason Grout wrote: >> >> Hi everyone, >> >> I've finished posting the rest of the videos for Sage Days 41 and Sage >> EduDays 4 at >> http://wiki.sagemath.org/**days41

Re: [sage-devel] Re: SageTeX

2012-06-18 Thread John H Palmieri
On Monday, June 18, 2012 3:17:22 PM UTC-7, Brady wrote: > > John, > > 1. From q.log: > > Package: sagetex 2012/01/16 v2.3.3-69dcb0eb93de embedding Sage into LaTeX > docum > Okay, is it possible that you're running an old version of Sage on this file? What does "sage -v" tell you? 4. Here i

Re: [sage-devel] Re: SageTeX

2012-06-18 Thread Brady McCary
John, 1. From q.log: Package: sagetex 2012/01/16 v2.3.3-69dcb0eb93de embedding Sage into LaTeX docum 2. The following search makes me believe there is no other sagetex.sty. $ kpsewhich sagetex.sty SAGE_HOME/local/share/texmf/tex/generic/sagetex/sagetex.sty $ locate sagetex.sty SAGE_HOME/local/s

[sage-devel] Re: SageTeX

2012-06-18 Thread John H Palmieri
On Monday, June 18, 2012 1:55:41 PM UTC-7, Brady wrote: > > sage-devel, > > The SageTeX files released in 5.0.1 seem to be halfway-through a change in > naming convention. Here is a typical usage in SageTeX with Sage 4.x. > > pdflatex q.tex > sage q.sage > pdflatex q.tex > pdflatex

[sage-devel] SageTeX

2012-06-18 Thread Brady
sage-devel, The SageTeX files released in 5.0.1 seem to be halfway-through a change in naming convention. Here is a typical usage in SageTeX with Sage 4.x. pdflatex q.tex sage q.sage pdflatex q.tex pdflatex q.tex # plots are in sage-plots-for-q.tex That running pdflatex on q

[sage-devel] Re: html.table

2012-06-18 Thread kcrisman
On Monday, June 18, 2012 2:48:10 PM UTC-4, John H Palmieri wrote: > > > > On Monday, June 18, 2012 10:31:54 AM UTC-7, jason wrote: >> >> On 6/18/12 12:23 PM, Martin Albrecht wrote: >> > Please don't. If people need a table, some highlevel Table object would >> be >> > fine, but something that

[sage-devel] Re: html.table

2012-06-18 Thread John H Palmieri
On Monday, June 18, 2012 10:31:54 AM UTC-7, jason wrote: > > On 6/18/12 12:23 PM, Martin Albrecht wrote: > > Please don't. If people need a table, some highlevel Table object would > be > > fine, but something that simply dumps HTML on you would be confusing > IMHO. > > > > That's even bett

[sage-devel] Re: html.table

2012-06-18 Thread Jason Grout
On 6/18/12 12:23 PM, Martin Albrecht wrote: Please don't. If people need a table, some highlevel Table object would be fine, but something that simply dumps HTML on you would be confusing IMHO. That's even better. The table object could check to see if you are in the notebook, and if so, use

Re: [sage-devel] html.table

2012-06-18 Thread Martin Albrecht
Please don't. If people need a table, some highlevel Table object would be fine, but something that simply dumps HTML on you would be confusing IMHO. On Monday 18 Jun 2012, kcrisman wrote: > sage: ta[tab] > tachyon_rt tan tanhtaylor > > I have had a number of people rant to me a

[sage-devel] Re: html.table

2012-06-18 Thread Jason Grout
On 6/18/12 12:19 PM, kcrisman wrote: sage: ta[tab] tachyon_rt tan tanh taylor I have had a number of people rant to me about Sage not having a command like Mma Table (I guess - I've never used it). Okay, fair enough to say that list comprehensions do this. But we have gotten many people over th

Re: [sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread Dima Pasechnik
On Monday, 18 June 2012 16:01:00 UTC+3, Nathann Cohen wrote: > > > So you are saying that only the generic Graph should be mutable, thats > > fine. Just make all derived FooGraph's immutable. > > WHAT ? O_o > > And what do you do with your graph once that is is immutable ? You > create a whol

[sage-devel] html.table

2012-06-18 Thread kcrisman
sage: ta[tab] tachyon_rt tan tanhtaylor I have had a number of people rant to me about Sage not having a command like Mma Table (I guess - I've never used it). Okay, fair enough to say that list comprehensions do this. But we have gotten many people over the years saying tha

[sage-devel] Re: Sage Days 41, EduDays 4

2012-06-18 Thread kcrisman
On Monday, June 18, 2012 12:22:16 PM UTC-4, Jason Grout wrote: > > Hi everyone, > > I've finished posting the rest of the videos for Sage Days 41 and Sage > EduDays 4 at http://wiki.sagemath.org/days41 and > http://wiki.sagemath.org/education4. Please let me know in the next day > or so if y

[sage-devel] Sage Days 41, EduDays 4

2012-06-18 Thread Jason Grout
Hi everyone, I've finished posting the rest of the videos for Sage Days 41 and Sage EduDays 4 at http://wiki.sagemath.org/days41 and http://wiki.sagemath.org/education4. Please let me know in the next day or so if you notice any problems with the videos (after that I'll delete them from my c

[sage-devel] Re: projective space over rings and rational maps

2012-06-18 Thread Ben Hutz
Yes, those are certainly interesting issues. So far, I have taken the route of making a general algorithm and letting Sage handle the specific constructions. I assume that the underlying construction will throw the appropriate error when a calculation fails or is not implemented. Your specific

[sage-devel] Finalize GCC-4.7.x support (#12751) needs review

2012-06-18 Thread Jeroen Demeyer
There are still a few changes needed to finalize the support of GCC-4.7.x in Sage. These are: 1) Don't build GCC by default if gcc-4.7.x is detected (except for gcc-4.7.0 on ia64 which is broken). 2) Remove/adjust workarounds for this gcc-4.7.0 on ia64 bug to *only* apply with gcc-4.7.0 and not

Re: [sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread Volker Braun
On Monday, June 18, 2012 2:01:00 PM UTC+1, Nathann Cohen wrote: > > And what do you do with your graph once that is is immutable ? You > create a whole copy when you want to add an edge ? > Thats how matrices work in Sage, for example. > And if you have a GenericGraph on which you want to us

Re: [sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread Nathann Cohen
> So you are saying that only the generic Graph should be mutable, thats > fine. Just make all derived FooGraph's immutable. WHAT ? O_o And what do you do with your graph once that is is immutable ? You create a whole copy when you want to add an edge ? And if you have a GenericGraph on which you

Re: [sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread Volker Braun
So you are saying that only the generic Graph should be mutable, thats fine. Just make all derived FooGraph's immutable. The base Graph class can have as_foo_graph() methods that check the property and return a suitable specialized class. On Monday, June 18, 2012 12:15:00 PM UTC+1, Nathann Coh

Re: [sage-devel] Code duplication and aliases in methods

2012-06-18 Thread Florent Hivert
Ho Nathann, On Mon, Jun 18, 2012 at 12:34:15PM +0200, Nathann Cohen wrote: > Helloo everybody !!! > > Our graph files are getting quite large, and there is in some situations a > way to make it shorter : we can define some functions in modules and import > them in the Graph class af

Re: [sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread Nathann Cohen
> Usually the "huge source file" problem is just a symptom of trying to > stuff everything into one class. You should probably think about whether you > can introduce a class hierarchy somewhere, especially if your is_something() > property doesn't make sense for the most generic graph. Maybe you w

[sage-devel] Re: Code duplication and aliases in methods

2012-06-18 Thread Volker Braun
Usually the "huge source file" problem is just a symptom of trying to stuff everything into one class. You should probably think about whether you can introduce a class hierarchy somewhere, especially if your is_something() property doesn't make sense for the most generic graph. Maybe you want t

[sage-devel] Code duplication and aliases in methods

2012-06-18 Thread Nathann Cohen
Helloo everybody !!! Our graph files are getting quite large, and there is in some situations a way to make it shorter : we can define some functions in modules and import them in the Graph class afterwards. For instance in #13073 we do class Graph: ... ... is_weakly_chordal =