[sage-devel] Re: Problem with coercion of Laurent polynomials

2015-08-27 Thread Travis Scrimshaw
We probably should be smarter about this in LaurentPolynomialRing by checking if the denominator is a monomial and converting the numerator into the (Laurent?) polynomial ring. Best, Travis On Thursday, August 27, 2015 at 9:18:24 AM UTC-5, Nils Bruin wrote: On Thursday, August 27, 2015 at

Re: [sage-devel] Re: Tarball uploads

2015-08-27 Thread Volker Braun
On Thursday, August 27, 2015 at 10:22:23 AM UTC-4, John Cremona wrote: How would I know that it had finished? After selecting the file it goes back to the choose file page with no apparant change and nothing happening. You can upload multiple files, so its by design that you can choose

Re: [sage-devel] Re: Tarball uploads

2015-08-27 Thread John Cremona
On 27 August 2015 at 09:16, John Cremona john.crem...@gmail.com wrote: On 27 August 2015 at 03:42, Dan Drake ddr...@math.wisc.edu wrote: On Saturday, August 8, 2015 at 12:22:18 PM UTC-7, Volker Braun wrote: In order to streamline updating third-party tarballs I've written a small web app

[sage-devel] Problem with coercion of Laurent polynomials

2015-08-27 Thread fuglede . sagemath
I ran into a problem where certain kinds of Laurent polynomials, defined through fractions, would be coercable while some other ones, defined by more or less the same fractions, would not be. It looks like a bug to me, but I figured I would run it by here first. Here's a concrete example of

[sage-devel] Re: Tarball uploads

2015-08-27 Thread Volker Braun
The problem with the file name is that it can be wrong, so you'd have to be able to remove/overwrite previously-used names. Whereas the SHA1 is always correct and really is all that is needed to download the file from the Sage build scripts. On Wednesday, August 26, 2015 at 10:42:44 PM

Re: [sage-devel] Re: Tarball uploads

2015-08-27 Thread John Cremona
On 27 August 2015 at 15:13, Volker Braun vbraun.n...@gmail.com wrote: Hmm it did not work for you. Maybe you didn't wait long enough for the upload to finish? The site will show you the SHA1 and download link (

[sage-devel] Re: Problem with coercion of Laurent polynomials

2015-08-27 Thread fuglede . sagemath
tscrim just pointed out to me http://trac.sagemath.org/ticket/19011#comment:31 that q = (1-x^-2)//(1-x^- 1) would have been the correct way to obtain what I wanted. Nonetheless, I would imagine that the example is not working as intended. -- You received this message because you are subscribed

Re: [sage-devel] Re: Tarball uploads

2015-08-27 Thread Volker Braun
Hmm it did not work for you. Maybe you didn't wait long enough for the upload to finish? The site will show you the SHA1 and download link (http://fileserver.sagemath.org:8080/api/v1/pkg/download/77f404be91fd605f6220a1411912f578c8947c50) when its finished. I just tried with Firefox and it

[sage-devel] Re: Problem with coercion of Laurent polynomials

2015-08-27 Thread Nils Bruin
On Thursday, August 27, 2015 at 6:47:00 AM UTC-7, fuglede@gmail.com wrote: I ran into a problem where certain kinds of Laurent polynomials, defined through fractions, would be coercable while some other ones, defined by more or less the same fractions, would not be. It looks like a

Re: [sage-devel] Re: print in doctests

2015-08-27 Thread Daniel Krenn
On 2015-08-27 19:13, Volker Braun wrote: This is how exceptions are doctested in Python. Your test needs to catch the exception if you want to test the additional output. Its obviously a terrible ux if you rely on printing stuff before a lengthy traceback. Actually, I would need it most for

[sage-devel] Re: Sage and Maxima get this integral wrong

2015-08-27 Thread kcrisman
Maxima thinks that the answer is instead zero. (Or more correctly, the particular configuration and version of Maxima built into Sage thinks the answer is zero.) It seems domain: complex causes the problem. (%i1) display2d:false; (%o1) false (%i2) integrate(sqrt(cot(x)^2),x);

Re: [sage-devel] print in doctests

2015-08-27 Thread Jeroen Demeyer
On 2015-08-27 19:01, Daniel Krenn wrote: Is there a reason for having this as it is? The reason is that doctests raising exceptions and normal doctests are treated fundamentally different. You can see this with failed doctests: a non-matching output gives a different message than an

[sage-devel] Re: print in doctests

2015-08-27 Thread Volker Braun
This is how exceptions are doctested in Python. Your test needs to catch the exception if you want to test the additional output. Its obviously a terrible ux if you rely on printing stuff before a lengthy traceback. On Thursday, August 27, 2015 at 1:01:50 PM UTC-4, Daniel Krenn wrote:

[sage-devel] Re: Sage and Maxima get this integral wrong

2015-08-27 Thread Nils Bruin
On Thursday, August 27, 2015 at 10:10:39 AM UTC-7, Gregory Bard wrote: Maxima thinks that the answer is instead zero. (Or more correctly, the particular configuration and version of Maxima built into Sage thinks the answer is zero.) It seems domain: complex causes the problem. (%i1)

[sage-devel] print in doctests

2015-08-27 Thread Daniel Krenn
Having a doctest sage: def f(): : print 'Do you see me?' : raise Exception() sage: f() Traceback (most recent call last): ... Exception But doing it in the terminal gives Do you see me?

[sage-devel] Sage and Maxima get this integral wrong

2015-08-27 Thread Gregory Bard
There is an integral which Sage correctly numerically integrates, and which Sage symbolically gets very wrong. William and I looked into this during Sage Days 68, and he discovered that, in fact, Maxima gets this integral very wrong as well. (More correctly, the particular configuration and

Re: [sage-devel] Re: Tarball uploads

2015-08-27 Thread John Cremona
On 27 August 2015 at 15:33, Volker Braun vbraun.n...@gmail.com wrote: On Thursday, August 27, 2015 at 10:22:23 AM UTC-4, John Cremona wrote: How would I know that it had finished? After selecting the file it goes back to the choose file page with no apparant change and nothing happening.

[sage-devel] cunningham_tables package does not exist

2015-08-27 Thread Jeroen Demeyer
Various Sage library files mention a package 'cunningham_tables' but it seems this package is gone somehow... -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from it, send an email to

[sage-devel] Short fr, de, pt, ru translation

2015-08-27 Thread Jeroen Demeyer
If you are a native French, German, Portuguese, Russian speaker, could you please translate the following short paragraph for #19106: For some GAP functionality, you should install two optional Sage packages. This can be done with the command:: -- You received this message because you are

[sage-devel] make ssl no longer works

2015-08-27 Thread Jeroen Demeyer
The top-level README.txt says 10. OPTIONAL: Read this if you are intending to run a Sage notebook server for multiple users. For security (i.e., to run notebook(secure=True)) you want to access the server using the HTTPS protocol. First, install OpenSSL and the OpenSSL development

[sage-devel] Various packages no longer exist

2015-08-27 Thread Jeroen Demeyer
Some more packages are documented in Sage but no longer actually exist. I found these when grepping for sage -i: chomp kash (also kash3-linux-2005.11.22 and kash3_osx-2005.11.22) macaulay2 -- You received this message because you are subscribed to the Google Groups sage-devel group. To

[sage-devel] Re: Sage and Maxima get this integral wrong

2015-08-27 Thread rjf
This is a typical ill-posed problem resulting from the limited mind-set that comes from thinking that sqrt is a single-valued function, and that therefore sqrt(z^2), an expression which can be reduced to a set: {-z,z} should be collapsed to abs(z). Which it of course is not. Draw the graphs of

[sage-devel] Re: Creating a Tutorial from a Worksheet mentions beautifulsoup package

2015-08-27 Thread Dima Pasechnik
pip install beautifulsoup4 (at sage -sh prompt) should work On Thursday, 27 August 2015 12:29:28 UTC-7, Jeroen Demeyer wrote: The file src/doc/en/thematic_tutorials/sws2rst.rst says * Next, you will need an optional package to parse your worksheet. Use the command:: sage

[sage-devel] Creating a Tutorial from a Worksheet mentions beautifulsoup package

2015-08-27 Thread Jeroen Demeyer
The file src/doc/en/thematic_tutorials/sws2rst.rst says * Next, you will need an optional package to parse your worksheet. Use the command:: sage -i beautifulsoup but this package no longer exists. -- You received this message because you are subscribed to the Google Groups

[sage-devel] Re: Short fr, de, pt, ru translation

2015-08-27 Thread Dima Pasechnik
On Thursday, 27 August 2015 12:20:17 UTC-7, Jeroen Demeyer wrote: If you are a native French, German, Portuguese, Russian speaker, could you please translate the following short paragraph for #19106: For some GAP functionality, you should install two optional Sage packages. This can

Re: [sage-devel] Re: Short fr, de, pt, ru translation

2015-08-27 Thread Thierry Dumont
Le 27/08/2015 22:28, Eric Gourgoulhon a écrit : Pour des fonctionnalités GAP, vous devez installer deux paquetages Sage optionnels. Cela peut être fait avec la commande:: (A question to French colleagues: maybe Pour des fonctionnalités GAP should be replaced by Pour utiliser GAP or something

[sage-devel] Re: Creating a Tutorial from a Worksheet mentions beautifulsoup package

2015-08-27 Thread kcrisman
The file src/doc/en/thematic_tutorials/sws2rst.rst says * Next, you will need an optional package to parse your worksheet. Use the command:: sage -i beautifulsoup but this package no longer exists. Thanks for looking into this. AARGH. If you can open a ticket I may

Re: [sage-devel] Re: Short fr, de, pt, ru translation

2015-08-27 Thread François Bissey
On 08/28/15 08:53, Jeroen Demeyer wrote: On 2015-08-27 22:33, Thierry Dumont wrote: I prefer Pour utiliser GAP ou Pour utiliser les fonctionnalités de GAP. Pour des fonctionnalités GAP is not correct french. Pour utiliser *certains* fonctionnalités de GAP... (is this the correct

Re: [sage-devel] Re: Short fr, de, pt, ru translation

2015-08-27 Thread François Bissey
On 08/28/15 09:08, Jeroen Demeyer wrote: On 2015-08-27 22:59, François Bissey wrote: I also don't like paquetage unless I am told it is standard for French localization. In the same document, there is Le logiciel gnuplot est disponible comme paquet optionnel. Apparently both paquet and

[sage-devel] Re: Short fr, de, pt, ru translation

2015-08-27 Thread Eric Gourgoulhon
Pour des fonctionnalités GAP, vous devez installer deux paquetages Sage optionnels. Cela peut être fait avec la commande:: (A question to French colleagues: maybe Pour des fonctionnalités GAP should be replaced by Pour utiliser GAP or something else...) -- You received this message because you

[sage-devel] Re: make ssl no longer works

2015-08-27 Thread kcrisman
But the command make ssl no longer works, since there is no longer a pyopenssl package. At all? Or is there something they can still download from some Sage-related server? -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe

Re: [sage-devel] Re: Short fr, de, pt, ru translation

2015-08-27 Thread Jeroen Demeyer
On 2015-08-27 22:33, Thierry Dumont wrote: I prefer Pour utiliser GAP ou Pour utiliser les fonctionnalités de GAP. Pour des fonctionnalités GAP is not correct french. Pour utiliser *certains* fonctionnalités de GAP... (is this the correct spelling?) -- You received this message because you

Re: [sage-devel] Re: Short fr, de, pt, ru translation

2015-08-27 Thread Jeroen Demeyer
On 2015-08-27 22:59, François Bissey wrote: I also don't like paquetage unless I am told it is standard for French localization. In the same document, there is Le logiciel gnuplot est disponible comme paquet optionnel. -- You received this message because you are subscribed to the Google

[sage-devel] Re: Various packages no longer exist

2015-08-27 Thread Dima Pasechnik
On Thursday, 27 August 2015 12:48:03 UTC-7, Jeroen Demeyer wrote: Some more packages are documented in Sage but no longer actually exist. I found these when grepping for sage -i: chomp kash (also kash3-linux-2005.11.22 and kash3_onsx-2005.11.22) macaulay2 kash and macaulay2 are

Re: [sage-devel] Re: Creating a Tutorial from a Worksheet mentions beautifulsoup package

2015-08-27 Thread Jeroen Demeyer
On 2015-08-27 22:42, kcrisman wrote: If you can open a ticket I may try to fix the wording to this. I made the change as part of #18859. -- You received this message because you are subscribed to the Google Groups sage-devel group. To unsubscribe from this group and stop receiving emails from

Re: [sage-devel] Re: Creating a Tutorial from a Worksheet mentions beautifulsoup package

2015-08-27 Thread Jeroen Demeyer
On 2015-08-27 22:29, John H Palmieri wrote: Basically, all of the old-style packages are no longer easily available, just the new-style ones. This is not ideal, I think, but it was a solution to the problem of running sage -i python and getting an old version of Python installed, which broke

Re: [sage-devel] Re: Creating a Tutorial from a Worksheet mentions beautifulsoup package

2015-08-27 Thread John H Palmieri
On Thursday, August 27, 2015 at 1:50:29 PM UTC-7, Jeroen Demeyer wrote: On 2015-08-27 22:29, John H Palmieri wrote: Basically, all of the old-style packages are no longer easily available, just the new-style ones. This is not ideal, I think, but it was a solution to the problem of

[sage-devel] Re: Creating a Tutorial from a Worksheet mentions beautifulsoup package

2015-08-27 Thread John H Palmieri
Also, sage -i beautifulsoup will print the message You can find further packages at http://files.sagemath.org/spkg/; and you can find a beautifulsoup spkg there. Basically, all of the old-style packages are no longer easily available, just the new-style ones. This is not ideal, I think, but it

[sage-devel] python egg security error showing up in 6.8 ubuntu linux binary install...

2015-08-27 Thread Jonathan
Dear all, It appears there is a permissions error in the linux version of sage 6.8. When running a worksheet in the notebook and calling for a 3-D plot or the docs on a command I get the following error/warning. Things still work other than the warning. Is this showing up in any other

Re: [sage-devel] Re: Short fr, de, pt, ru translation

2015-08-27 Thread Thierry Dumont
Le 27/08/2015 22:53, Jeroen Demeyer a écrit : On 2015-08-27 22:33, Thierry Dumont wrote: I prefer Pour utiliser GAP ou Pour utiliser les fonctionnalités de GAP. Pour des fonctionnalités GAP is not correct french. Pour utiliser *certains* fonctionnalités de GAP... (is this the correct

Re: [sage-devel] please test SageTeX 3.0

2015-08-27 Thread Dan Drake
On Thursday, August 27, 2015 at 3:50:43 AM UTC-7, François wrote: Any reason you don’t release travels on github? Or at least tag the release so it can be easily checked out? That would make packaging (outside of sage) easier. The only reason is that I didn't know about git's tags, or

Re: [sage-devel] Re: Creating a Tutorial from a Worksheet mentions beautifulsoup package

2015-08-27 Thread John H Palmieri
On Thursday, August 27, 2015 at 2:54:28 PM UTC-7, John H Palmieri wrote: On Thursday, August 27, 2015 at 1:50:29 PM UTC-7, Jeroen Demeyer wrote: On 2015-08-27 22:29, John H Palmieri wrote: Basically, all of the old-style packages are no longer easily available, just the new-style

Re: [sage-devel] Short fr, de, pt, ru translation

2015-08-27 Thread Paulo César Pereira de Andrade
2015-08-27 16:20 GMT-03:00 Jeroen Demeyer jdeme...@cage.ugent.be: If you are a native French, German, Portuguese, Russian speaker, could you please translate the following short paragraph for #19106: Hi, pt translation below For some GAP functionality, you should install two optional Sage

[sage-devel] Some documentation tickets

2015-08-27 Thread Jori Mäntysalo
Those interested in documentation might want to look at few tickets. 1) Nathann is making an automatic index of functions better, see http://trac.sagemath.org/ticket/19061 . (But somebody should review #19067 before that will continue. It is short.) 2) There is a discussion about guide to

[sage-devel] Re: What are catalogs (groups.tab, matrices.tab) supposed to contain exactly?

2015-08-27 Thread Johan S . R . Nielsen
To sum up, I would put a class/function in the respective catalogue if: 1) It's polished as in nicely callable by the user in a Sage session. 2) It's reasonably useful for people interested in the field of the catalogue. 3) It's not imported in the global name space. I tend to

Re: [sage-devel] please test SageTeX 3.0

2015-08-27 Thread Francois Bissey
Any reason you don’t release travels on github? Or at least tag the release so it can be easily checked out? That would make packaging (outside of sage) easier. François On 27/08/2015, at 11:59, Dan Drake dr.dan.dr...@gmail.com wrote: Hello all, I'm emailing sage-support and sage-devel

Re: [sage-devel] Re: heisenbugs and heisenerrors while building docs with -jN for N1 ?

2015-08-27 Thread Jeroen Demeyer
On 2015-08-26 17:49, John H Palmieri wrote: So there is a problem: although the graphs docs should have failed the first time through, the second time through, the docbuilder thought that it had built fine. The problem is that docs which are built with an error are still considered built. The

Re: [sage-devel] Re: Tarball uploads

2015-08-27 Thread John Cremona
On 27 August 2015 at 03:42, Dan Drake ddr...@math.wisc.edu wrote: On Saturday, August 8, 2015 at 12:22:18 PM UTC-7, Volker Braun wrote: In order to streamline updating third-party tarballs I've written a small web app where you can directly upload them. That way you don't need to host files

[sage-devel] Re: make ssl no longer works

2015-08-27 Thread Dima Pasechnik
as far as I understand, everything still should be OK for Sage 6.8. (otherwise it's a bloody mess...) On Thursday, 27 August 2015 13:44:20 UTC-7, kcrisman wrote: But the command make ssl no longer works, since there is no longer a pyopenssl package. At all? Or is there something they