Re: [sage-devel] Re: Sage 5.11.beta3 and debian package: ptestlong results

2013-07-05 Thread Julien Puydt
Le 06/07/2013 03:30, Volker Braun a écrit : On Friday, July 5, 2013 3:42:13 PM UTC-4, Snark wrote: - provides its own set of configure.ac + GNUmakefile.am, which were forwarded upstream last time (but I still have to do it again with the latest changes), whe

Re: [sage-devel] parallel for loop with minimal forking

2013-07-05 Thread Andrey Novoseltsev
On Friday, 5 July 2013 12:57:55 UTC-6, David Roe wrote: > > > > I collected this functionality in a decorator @unordered_parallel that >> lets you replace >> >> for i in iterator: >> yield f(i) >> >> by >> >> @unordered_parallel(iterator, number_of_chunks) >> def _(i): >> return

Re: [sage-devel] Re: Sage 5.11.beta3 and debian package: ptestlong results

2013-07-05 Thread Volker Braun
On Friday, July 5, 2013 3:42:13 PM UTC-4, Snark wrote: > - provides its own set of configure.ac + GNUmakefile.am, which were > forwarded upstream last time (but I still have to do it again with the > latest changes), where I added the various targets ; > Sounds good, I take it that it installs

[sage-devel] Re: broken links in documentation

2013-07-05 Thread vdelecroix
> > Try: > > sage --docbuild reference linkcheck > > According to the Sphinx documentation, that should check all external > links in the reference manual. > > (See http://sphinx-doc.org/invocation.html.) > Thanks John! I tried and get http://www.math.jussieu.fr/~delecroix/reference-linkcheck

[sage-devel] Re: broken links in documentation

2013-07-05 Thread John H Palmieri
On Friday, July 5, 2013 8:38:19 AM UTC-7, vdelecroix wrote: > > Hi, > > I found various broken urls [1] in the documentation and I guess that > there are much more. It would be nice if there was an automatic procedure > to check if the urls are valid. I would be happy to help but I do not know

Re: [sage-devel] documentation page statistics

2013-07-05 Thread William Stein
On Fri, Jul 5, 2013 at 4:39 AM, Harald Schilly wrote: > A week ago i started to log what's happening on the sagemath.org > website and analyzed the resulting logfiles. The following page shows > cumulative numbers for viewing the /doc/* html files, which might come in > handy! > > http://sagemath.

Re: [sage-devel] Re: Sage 5.11.beta3 and debian package: ptestlong results

2013-07-05 Thread Julien Puydt
Le 05/07/2013 21:24, Volker Braun a écrit : On Friday, July 5, 2013 3:06:55 PM UTC-4, Snark wrote: > And you need to be careful with filesystem > timestamp granularity if you want to do that programmatically, see the > palp spkg. I don't understand what you mean at all. U

Re: [sage-devel] Re: Sage 5.11.beta3 and debian package: ptestlong results

2013-07-05 Thread Volker Braun
On Friday, July 5, 2013 3:06:55 PM UTC-4, Snark wrote: > > And you need to be careful with filesystem > > timestamp granularity if you want to do that programmatically, see the > > palp spkg. > I don't understand what you mean at all. Unless you exactly follow what the spkg does I'd recommend

Re: [sage-devel] Three.js in regular notebook

2013-07-05 Thread William Stein
On Fri, Jul 5, 2013 at 7:15 AM, kcrisman wrote: > William recently posted (elsewhere) > "3d interactive (fast!) Sagemath graphics in Firefox on my Nexus 4" > I know there were several different people working on this at the Sage > Notebook Days, and there's been some on-and-off work on it over tim

Re: [sage-devel] Re: New doctest continuation ....:

2013-07-05 Thread David Roe
The trailing newline is optional actually, since the doctest framework adds a newline. For example, the following should work: sage: for p in prime_range(3,6): : print p 3 5 David On Sun, Jun 23, 2013 at 3:09 PM, leif wrote: > Stefan wrote: > >> Tiny remaining comment: when typing a

Re: [sage-devel] Re: Sage 5.11.beta3 and debian package: ptestlong results

2013-07-05 Thread Julien Puydt
Le 05/07/2013 20:09, Volker Braun a écrit : On Thursday, July 4, 2013 2:26:02 PM UTC-4, Snark wrote: (1) My debian package only ships the dimension 11-enabled executables ; Just to confirm, that is useless. Palp needs to be complied for different dimensions. Ok. And you need to be care

Re: [sage-devel] parallel for loop with minimal forking

2013-07-05 Thread David Roe
I collected this functionality in a decorator @unordered_parallel that lets > you replace > > for i in iterator: > yield f(i) > > by > > @unordered_parallel(iterator, number_of_chunks) > def _(i): > return f(i) > for res in _: yield res > > (As a side note: I'm really happy with

[sage-devel] Re: RFC: a good name the category of algebras that are not necessarily associative nor unital

2013-07-05 Thread Dima Pasechnik
On 2013-07-05, Franco Saliola wrote: > --089e0112cf9a05cdd104e0c5e9eb > Content-Type: text/plain; charset=ISO-8859-1 > > On Jul 5, 2013 7:41 AM, "Simon King" wrote: >> >> Hi Franco, >> >> On 2013-07-05, Franco Saliola wrote: >> > I like the idea of being able to do >> > >> > categories. >> >

Re: [sage-devel] Re: All patchbots down again?

2013-07-05 Thread Robert Bradshaw
Pull requests accepted: https://github.com/robertwb/sage-patchbot (if I don't get to it first). On Thu, Jul 4, 2013 at 7:37 AM, Volker Braun wrote: > Occasionally the patchbot client dies when it can't reach the server. It > would be better if it would retry indefinitely until the server is up ag

Re: [sage-devel] Re: spkg statistics

2013-07-05 Thread Robert Bradshaw
Interesting stats. On Fri, Jul 5, 2013 at 8:13 AM, Volker Braun wrote: > I'd be happy if there were more frequent reviews of updated packages, for > example I packaged Gap-4.6.3 (http://trac.sagemath.org/14039) and it just > lingered on trac until 4.6.4 came out. IMHO we should just get rid of so

Re: [sage-devel] Re: Sage 5.11.beta3 and debian package: ptestlong results

2013-07-05 Thread Volker Braun
On Thursday, July 4, 2013 2:26:02 PM UTC-4, Snark wrote: > (1) My debian package only ships the dimension 11-enabled executables ; > Just to confirm, that is useless. Palp needs to be complied for different dimensions. And you need to be careful with filesystem timestamp granularity if you wan

Re: [sage-devel] spkg statistics

2013-07-05 Thread Ivan Andrus
On Jul 5, 2013, at 3:48 AM, Harald Schilly wrote: > A week ago i started to log what's happening on the sagemath.org > website and analyzed the resulting logfiles. The following page shows > cumulative numbers for the downloads of SPKGes, which might come in > handy! > > http://sagemath.org/spkg

[sage-devel] Re: broken links in documentation

2013-07-05 Thread Harald Schilly
On Friday, July 5, 2013 5:38:19 PM UTC+2, vdelecroix wrote: > > Hi, > > I found various broken urls > extracting external links and checking, if the server replies with a 200 OK header after < 20 seconds, is actually quite easy to do. if nobody beats me to this, i'll code a script soon. the f

[sage-devel] Re: Changes in Maxima behavior

2013-07-05 Thread rjf
Just as a followup. It appears to me that ... radcan() should not consult the setting of domain, so far as I can tell, except in the situation in which it produces a result and then runs it through "simplifya" the main simplification program. That program apparently un-does the simplification

[sage-devel] Re: broken links in documentation

2013-07-05 Thread kcrisman
Maybe this would be useful? http://wummel.github.io/linkchecker/ On Friday, July 5, 2013 11:38:19 AM UTC-4, vdelecroix wrote: > > Hi, > > I found various broken urls [1] in the documentation and I guess that > there are much more. It would be nice if there was an automatic procedure > to check i

Re: [sage-devel] Re: Sqrt simplification

2013-07-05 Thread rjf
On Wednesday, July 3, 2013 2:05:05 AM UTC-7, Eric Gourgoulhon wrote: > > > > Le mercredi 3 juillet 2013 01:07:35 UTC+2, rjf a écrit : >> >> >> >> Your statement then translates to RPBSRPN(x^2) = abs(x) . >> But then if it ir R+-->R+, the abs() is unnecessary, and RPBSRPN(x^2) = >> x. >> >>

Re: [sage-devel] Re: RFC: a good name the category of algebras that are not necessarily associative nor unital

2013-07-05 Thread Franco Saliola
On Jul 5, 2013 7:41 AM, "Simon King" wrote: > > Hi Franco, > > On 2013-07-05, Franco Saliola wrote: > > I like the idea of being able to do > > > > categories. > > > > and seeing a list of the available categories (or some reasonable subset > > of). > > ... which would not require them being

Re: [sage-devel] spkg statistics

2013-07-05 Thread Michael Abshoff
On Fri, Jul 5, 2013 at 3:36 PM, Burcin Erocal wrote: > On Fri, 05 Jul 2013 15:23:51 +0200 > Hikari Boulders wrote: Hi, >> about 4ti2: is there some master-plan to make sage more modular or >> smaller? Moore's law does mostly take care of this, but unless I am mistaken only a few times spkgs ha

[sage-devel] broken links in documentation

2013-07-05 Thread vdelecroix
Hi, I found various broken urls [1] in the documentation and I guess that there are much more. It would be nice if there was an automatic procedure to check if the urls are valid. I would be happy to help but I do not know precisely how to - parse all urls in the documentation (I guess that sp

[sage-devel] Re: spkg statistics

2013-07-05 Thread Volker Braun
Sorry if I wasn't clear, the package maintainer must of course make sure that the doctests pass. Usually there are some minor changes, e.g. we do doctest the GAP version number which will always change. Or the output order of the upstream source changes. That does require some good judgement to

Re: [sage-devel] Re: RFC: a good name the category of algebras that are not necessarily associative nor unital

2013-07-05 Thread Volker Braun
On Friday, July 5, 2013 7:33:49 AM UTC-4, Franco Saliola wrote: >categories. > That would be nice, too. Then you don't get useless (for interactive use) categories showing up when you use tab-completion to search for non-category stuff but you can still write doctests without having to impo

[sage-devel] Re: spkg statistics

2013-07-05 Thread Simon King
Hi Volker, On 2013-07-05, Volker Braun wrote: > I'd be happy if there were more frequent reviews of updated packages, for > example I packaged Gap-4.6.3 (http://trac.sagemath.org/14039) and it just > lingered on trac until 4.6.4 came out. IMHO we should just get rid of some > of the red tap fo

[sage-devel] Re: spkg statistics

2013-07-05 Thread Volker Braun
I'd be happy if there were more frequent reviews of updated packages, for example I packaged Gap-4.6.3 (http://trac.sagemath.org/14039) and it just lingered on trac until 4.6.4 came out. IMHO we should just get rid of some of the red tap for pure version bumps; If the package maintainer makes an

[sage-devel] Re: Inheritance from Parent and QuotientRing_nc leads to a TypeError

2013-07-05 Thread Simon King
Hi Thomas, sorry, I first got your mail off-list, and thought that you did not post here. On 2013-07-05, Thomas Feulner wrote: > You are right, maybe my example was to tiny. Here is another one, which > also initializes the > QuotientRing_nc, too: > > sage: from sage.rings.quotient_ring import

[sage-devel] Re: Inheritance from Parent and QuotientRing_nc leads to a TypeError

2013-07-05 Thread Volker Braun
I think the support for generators in Parents is basically non-functional at this point. You are better of implementing your own gens() method. See also my related question here: https://groups.google.com/d/msg/sage-devel/3c0vPGOWWMI/AUGgiTrJIigJ ParentWithGens is deprecated, it is only in the

Re: [sage-devel] spkg statistics

2013-07-05 Thread Felix Salfelder
Hi there. On Fri, Jul 05, 2013 at 04:00:39PM +0200, Harald Schilly wrote: > splitting it apart for debian does happen right now. what does "not compiling python if its already there" to do with "splitting apart"? (replace "python" with any other packagename). indeed its just the contrary, I am w

[sage-devel] Re: Inheritance from Parent and QuotientRing_nc leads to a TypeError

2013-07-05 Thread Thomas Feulner
Hi Simon, Am Freitag, 5. Juli 2013 12:26:19 UTC+2 schrieb Simon King: > > Hi Thomas, > > On 2013-07-04, Thomas Feulner > > wrote: > > I am trying to build a class which derives from Parent and > QuotientRing_nc > > at the same time. I want to inherit from Y and QuotientRing_nc at the sam

[sage-devel] Three.js in regular notebook

2013-07-05 Thread kcrisman
William recently posted (elsewhere) "3d interactive (fast!) Sagemath graphics in Firefox on my Nexus 4" I know there were several different people working on this at the Sage Notebook Days, and there's been some on-and-off work on it over time. Is this the same as the worksheets posted to http:

Re: [sage-devel] spkg statistics

2013-07-05 Thread Harald Schilly
On Fri, Jul 5, 2013 at 3:54 PM, Hikari Boulders wrote: > I don't want to touch sensible topic. well, this was just an observation of me, nothing more. including this package or not would change so little, that it won't hurt. the actual question is, and that's offtopic, what would be the benefit

Re: [sage-devel] spkg statistics

2013-07-05 Thread Hikari Boulders
I don't want to touch sensible topic. But discussing a master-plan on the modularity of sage could maybe help on different topics. I'm thinking e.g. - Helping the different distros to accept sage(-core) as a package. - maybe creating other subprojects a la sage-combinat. Surely others have th

Re: [sage-devel] spkg statistics

2013-07-05 Thread Burcin Erocal
On Fri, 05 Jul 2013 15:23:51 +0200 Hikari Boulders wrote: > about 4ti2: is there some master-plan to make sage more modular or > smaller? Unfortunately, no. lmonade takes a step in this direction by making the package system more flexible: http://www.lmona.de In the near future, I will make s

Re: [sage-devel] spkg statistics

2013-07-05 Thread Hikari Boulders
about 4ti2: is there some master-plan to make sage more modular or smaller? if so, then it would not be a good idea to make 4ti2 into standard. On 07/05/2013 11:48 AM, Harald Schilly wrote: A week ago i started to log what's happening on the sagemath.org website and analyzed the resulting log

Re: [sage-devel] spkg statistics

2013-07-05 Thread John Cremona
Interesting. I have no idea what cremona-20071114 is, but it looks >5 years out of date! John On 5 July 2013 10:48, Harald Schilly wrote: > A week ago i started to log what's happening on the sagemath.org > website and analyzed the resulting logfiles. The following page shows > cumulative numbe

[sage-devel] Re: RFC: a good name the category of algebras that are not necessarily associative nor unital

2013-07-05 Thread Simon King
Hi Franco, On 2013-07-05, Franco Saliola wrote: > I like the idea of being able to do > > categories. > > and seeing a list of the available categories (or some reasonable subset > of). ... which would not require them being inserted into the global namespace, AFAIK. > For the record, I li

[sage-devel] documentation page statistics

2013-07-05 Thread Harald Schilly
A week ago i started to log what's happening on the sagemath.org website and analyzed the resulting logfiles. The following page shows cumulative numbers for viewing the /doc/* html files, which might come in handy! http://sagemath.org/doc_stats.html The top lines explain the time range and some

Re: [sage-devel] Re: RFC: a good name the category of algebras that are not necessarily associative nor unital

2013-07-05 Thread Franco Saliola
On Jul 5, 2013 7:13 AM, "Simon King" wrote: > > Hi Dima, > > On 2013-07-05, Dima Pasechnik wrote: > >> In fact, I don't understand why Algebras has to be in the global namespace. > >> I've never once found it useful to start an interactive session by > >> instantiating a new category. > > +1 > >

[sage-devel] Re: RFC: a good name the category of algebras that are not necessarily associative nor unital

2013-07-05 Thread Simon King
Hi Dima, On 2013-07-05, Dima Pasechnik wrote: >> In fact, I don't understand why Algebras has to be in the global namespace. >> I've never once found it useful to start an interactive session by >> instantiating a new category. > +1 > (although full-time category theorists might disagree :))

[sage-devel] Re: RFC: a good name the category of algebras that are not necessarily associative nor unital

2013-07-05 Thread Dima Pasechnik
On 2013-07-04, Volker Braun wrote: > --=_Part_6640_25172370.1372980267137 > Content-Type: text/plain; charset=ISO-8859-1 > > +1 for switching Algebras to CommutativeUnitalAlgebras (or so) and the > using Algebras for the most general algebra. ++ all these "magma" or "generic" are quite confu

[sage-devel] Re: Inheritance from Parent and QuotientRing_nc leads to a TypeError

2013-07-05 Thread Simon King
Hi Thomas, On 2013-07-04, Thomas Feulner wrote: > I am trying to build a class which derives from Parent and QuotientRing_nc > at the same time. Why? QuotientRing_nc already is a sub-class: sage: from sage.rings.quotient_ring import QuotientRing_nc sage: issubclass(QuotientRing_nc, sage.stru

[sage-devel] spkg statistics

2013-07-05 Thread Harald Schilly
A week ago i started to log what's happening on the sagemath.org website and analyzed the resulting logfiles. The following page shows cumulative numbers for the downloads of SPKGes, which might come in handy! http://sagemath.org/spkg_stats.html Colors indicate the category, the numbers are group