[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 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 bug to me, 
 but I figured I would run it by here first. Here's a concrete example of 
 what I mean:


 sage: R.x = LaurentPolynomialRing(ZZ)

 sage: p = (1-x^2)/(1-x)
 sage: p
 x + 1
 sage: p.parent()
 Fraction Field of Univariate Polynomial Ring in x over Integer Ring
 sage: R(p)
 1 + x
 sage: R(p).parent()
 Univariate Laurent Polynomial Ring in x over Integer Ring

 sage: q = (1-x^-2)/(1-x^-1)  # I.e., replace x by x^-1
 sage: q
 (x + 1)/x
 sage: q.parent()
 Fraction Field of Univariate Polynomial Ring in x over Integer Ring
 sage: R(q)
 TypeError: denominator must be a unit

 This is due to the conversion map, which just calls 
 R._element_constructor in this case. The code there doesn't know about 
 fraction fields, so it tries something generic: it tries to create an 
 element of the underlying polynomial ring and wrap that as a laurent 
 polynomial (which doesn't work, of course)
  
 Be careful with the // operation, by the way, because it won't necessarily 
 give you an error if you divide by a non-unit:

 sage: (x+1)^3 //(3*x)
 1 + x

 (which is of course because // is not proper division in ZZ, but 
 euclidean division)



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 more 
files.

The grey progress bar under the filename should fill with blue as the 
upload works its way. And the upload is finished when the progress bar is 
full, as usual.



I just worked out that you have to double-click the links on the left to 
 get the new page


Yes, the menu requiring double-click when on Firefox is a bug: 
 https://github.com/PolymerElements/polymer-starter-kit/issues/166


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 where you can directly upload them. That way you don't need
 to host files yourself. Plus, the files can be retrieved by sha1 so with a
 little bit more scripting I won't always forget to manually copy them to
 the mirrors. Its a bit on the cutting-edge side (Python 3 aiohttp and
 Polymer) but should work on all current browsers, so its ready to beta-test:


 http://fileserver.sagemath.org:8080/


 Looks very nice. I uploaded the new sagetex tarball there. Everything
 seems to work; my only suggestion is to somehow allow someone to download a
 file with the original file name, instead of its SHA1. I made an issue on
 your repo: https://github.com/vbraun/SageDevApp/issues/1.


 I will try this out with the new eclib tarball for trac #19091 (later
 today).


I don't know whether this worked or not.  When I first went to that link,
the main window was empty and the links on the left column did not do
anything.  Later I found a page inviting me to register, which I did, and
went to the upload page and selected a local file to upload.  But nothing
seems to have happened, and now the links on the left side do nothing.

Where would the file I uploaded have ended up?

John

PS Firefox on Suse Linux enterprise.




 John



 --
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-devel.
 For more options, visit https://groups.google.com/d/optout.




-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 
what I mean:


sage: R.x = LaurentPolynomialRing(ZZ)

sage: p = (1-x^2)/(1-x)
sage: p
x + 1
sage: p.parent()
Fraction Field of Univariate Polynomial Ring in x over Integer Ring
sage: R(p)
1 + x
sage: R(p).parent()
Univariate Laurent Polynomial Ring in x over Integer Ring

sage: q = (1-x^-2)/(1-x^-1)  # I.e., replace x by x^-1
sage: q
(x + 1)/x
sage: q.parent()
Fraction Field of Univariate Polynomial Ring in x over Integer Ring
sage: R(q)
TypeError: denominator must be a unit

- Søren

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 UTC-4, Dan Drake 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 yourself. Plus, the files can be retrieved by sha1 so with a little 
 bit more scripting I won't always forget to manually copy them to the 
 mirrors. Its a bit on the cutting-edge side (Python 3 aiohttp and Polymer) 
 but should work on all current browsers, so its ready to beta-test:


 http://fileserver.sagemath.org:8080/


 Looks very nice. I uploaded the new sagetex tarball there. Everything 
 seems to work; my only suggestion is to somehow allow someone to download a 
 file with the original file name, instead of its SHA1. I made an issue on 
 your repo: https://github.com/vbraun/SageDevApp/issues/1.




-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 (
 http://fileserver.sagemath.org:8080/api/v1/pkg/download/77f404be91fd605f6220a1411912f578c8947c50)
 when its finished.


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.

I just worked out that you have to double-click the links on the left to
get the new page, which explains some of the strangeness (and why?  that is
not normal).  But I see no evidence of any upload actually happening.

John




 I just tried with Firefox and it worked for me.




 On Thursday, August 27, 2015 at 9:10:02 AM UTC-4, John Cremona wrote:



 On 27 August 2015 at 09:16, John Cremona john.c...@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 where you can directly upload them. That way you don't need
 to host files yourself. Plus, the files can be retrieved by sha1 so with a
 little bit more scripting I won't always forget to manually copy them to
 the mirrors. Its a bit on the cutting-edge side (Python 3 aiohttp and
 Polymer) but should work on all current browsers, so its ready to 
 beta-test:


 http://fileserver.sagemath.org:8080/


 Looks very nice. I uploaded the new sagetex tarball there. Everything
 seems to work; my only suggestion is to somehow allow someone to download a
 file with the original file name, instead of its SHA1. I made an issue on
 your repo: https://github.com/vbraun/SageDevApp/issues/1.


 I will try this out with the new eclib tarball for trac #19091 (later
 today).


 I don't know whether this worked or not.  When I first went to that link,
 the main window was empty and the links on the left column did not do
 anything.  Later I found a page inviting me to register, which I did, and
 went to the upload page and selected a local file to upload.  But nothing
 seems to have happened, and now the links on the left side do nothing.

 Where would the file I uploaded have ended up?

 John

 PS Firefox on Suse Linux enterprise.




 John



 --
 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+...@googlegroups.com.
 To post to this group, send email to sage-...@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-devel.
 For more options, visit https://groups.google.com/d/optout.



 --
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 to the Google Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 worked for me.




On Thursday, August 27, 2015 at 9:10:02 AM UTC-4, John Cremona wrote:



 On 27 August 2015 at 09:16, John Cremona john.c...@gmail.com 
 javascript: wrote:



 On 27 August 2015 at 03:42, Dan Drake ddr...@math.wisc.edu javascript:
  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 yourself. Plus, the files can be retrieved by sha1 so with a 
 little bit more scripting I won't always forget to manually copy them to 
 the mirrors. Its a bit on the cutting-edge side (Python 3 aiohttp and 
 Polymer) but should work on all current browsers, so its ready to 
 beta-test:


 http://fileserver.sagemath.org:8080/


 Looks very nice. I uploaded the new sagetex tarball there. Everything 
 seems to work; my only suggestion is to somehow allow someone to download a 
 file with the original file name, instead of its SHA1. I made an issue on 
 your repo: https://github.com/vbraun/SageDevApp/issues/1.


 I will try this out with the new eclib tarball for trac #19091 (later 
 today).


 I don't know whether this worked or not.  When I first went to that link, 
 the main window was empty and the links on the left column did not do 
 anything.  Later I found a page inviting me to register, which I did, and 
 went to the upload page and selected a local file to upload.  But nothing 
 seems to have happened, and now the links on the left side do nothing.

 Where would the file I uploaded have ended up?

 John

 PS Firefox on Suse Linux enterprise.

  


 John
  


 -- 
 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+...@googlegroups.com javascript:.
 To post to this group, send email to sage-...@googlegroups.com 
 javascript:.
 Visit this group at http://groups.google.com/group/sage-devel.
 For more options, visit https://groups.google.com/d/optout.





-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 bug to me, 
 but I figured I would run it by here first. Here's a concrete example of 
 what I mean:


 sage: R.x = LaurentPolynomialRing(ZZ)

 sage: p = (1-x^2)/(1-x)
 sage: p
 x + 1
 sage: p.parent()
 Fraction Field of Univariate Polynomial Ring in x over Integer Ring
 sage: R(p)
 1 + x
 sage: R(p).parent()
 Univariate Laurent Polynomial Ring in x over Integer Ring

 sage: q = (1-x^-2)/(1-x^-1)  # I.e., replace x by x^-1
 sage: q
 (x + 1)/x
 sage: q.parent()
 Fraction Field of Univariate Polynomial Ring in x over Integer Ring
 sage: R(q)
 TypeError: denominator must be a unit

 This is due to the conversion map, which just calls R._element_constructor 
in this case. The code there doesn't know about fraction fields, so it 
tries something generic: it tries to create an element of the underlying 
polynomial ring and wrap that as a laurent polynomial (which doesn't work, 
of course)
 
Be careful with the // operation, by the way, because it won't necessarily 
give you an error if you divide by a non-unit:

sage: (x+1)^3 //(3*x)
1 + x

(which is of course because // is not proper division in ZZ, but 
euclidean division)

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 debugging reasons. ;)

Daniel

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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);

 (%o2) 'integrate(abs(cot(x)),x)
 (%i3) domain:complex;

 (%o3) complex
 (%i4)  integrate(sqrt(cot(x)^2),x);

 (%o4) log(tan(x))-log(tan(x)^2+1)/2

 This may be worth reporting to Maxima.


Perhaps surprisingly, abs_integrate isn't involved in the mess-up?  Yes, 
definitely report upstream.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 
exception-raising doctest.


It's surely possible to fix, but it will need some minor refactoring of 
the doctest framework I guess.


--
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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:

 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? 
 --- 

 Exception Traceback (most recent call 
 last) 
 ... 
 Exception: 

 So the print statment is printed in the latter but not in the former. Is 
 there a reason for having this as it is? Would it be possible to include 
 print output in doctests as well? 

 Best 

 Daniel 



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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) display2d:false;

(%o1) false
(%i2)  integrate(sqrt(cot(x)^2),x);

(%o2) 'integrate(abs(cot(x)),x)
(%i3) domain:complex;

(%o3) complex
(%i4)  integrate(sqrt(cot(x)^2),x);

(%o4) log(tan(x))-log(tan(x)^2+1)/2

This may be worth reporting to Maxima.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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?
---
Exception Traceback (most recent call last)
...
Exception:

So the print statment is printed in the latter but not in the former. Is 
there a reason for having this as it is? Would it be possible to include 
print output in doctests as well?


Best

Daniel

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 
version of Maxima built into Sage gets the integral very wrong. Some 
setting might be incorrect or badly chosen.)

The integral of sqrt( cot(x)^2 ) dx for pi/4  x  3pi/4 is not too bad to 
compute by hand. The answer is the logarithm, base e, of 2. The numerical 
integration in Sage agrees.

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.)

Please see the attached sagews worksheet. 

Is there anyone on this list who knows Maxima in general, and the 
connections/interface between Maxima and Sage in particular?
---Greg

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


The Bug In Maxima.sagews
Description: Binary data


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.


 You can upload multiple files, so its by design that you can choose more
 files.

 The grey progress bar under the filename should fill with blue as the
 upload works its way. And the upload is finished when the progress bar is
 full, as usual.


There is no filename and no progress bar!

Never mind, on the ticket I put a link to where I normally put the file and
Jeroen has given me a positive review, so this was just an exercise.

John





 I just worked out that you have to double-click the links on the left to
 get the new page


 Yes, the menu requiring double-click when on Firefox is a bug:
 https://github.com/PolymerElements/polymer-starter-kit/issues/166


 --
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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
headers on your system if they are not already installed. Then
install pyOpenSSL by building Sage and then typing

./sage -i pyopenssl

Note that this command requires internet access.  Alternatively,
make ssl builds Sage and installs pyOpenSSL.

A similar thing is documented in src/doc/en/installation/source.rst

But the command make ssl no longer works, since there is no longer a 
pyopenssl package. What should be done instead?


--
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 f(z)=-z   or f(z)=z,  and 
you see
that NEITHER  ONE is the same as f(z)=abs(z).

So, given  the very strong possibility that  the limited mind set occurs in
at least one of 3 places:
  the mind of the proposer
  the mind of the Sage programmer
  the mind of the Maxima programmer

what is one to do?

  Do you want to integrate  cot(z),  which indeed gives an integral of 0, 
correctly.
or do you want to integrate -cot(z),  which of course also gives 0
or  abs(cot(z))   which would be  integral(cot(z),z,%pi/4,%pi.2)   - 
integral(cot(z),z,%pi/2,3*%pi/4).

and that gives log(2).

in the Maxima I have on my computer,  integrate(abs(cot(z)),z,%pi/4, 
3*%pi/4) gives the very
peculiar answer log(-1)

the  numerical integration program quad_qag gives  0.69314718055995 which 
looks like log(2).

So there is probably no bug in the integration version of the answer that 
is 0,  There is a bug
in sqrt.  Or rather, in the mind-set regarding sqrt.

There is a bug in the integration of abs(cot()) though. probably related to 
Nils' observation, though
probably not in the way he thinks...  the integral is of a real function 
between real values.

Also if Sage translates a definite integration to a call to Maxima for an 
INdefinite integration,
and then using the fundamental theorem of calculus  (difference of value of 
integral at endpoints)
it is making a BIG MISTAKE.   FTC doesn't always apply, and Maxima knows 
something about
definite integrals, contour integration etc.  Not apparently bug-free..

RJF


On Thursday, August 27, 2015 at 10:10:39 AM UTC-7, Gregory Bard wrote:

 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 version of Maxima built into Sage gets the integral very wrong. Some 
 setting might be incorrect or badly chosen.)

 The integral of sqrt( cot(x)^2 ) dx for pi/4  x  3pi/4 is not too bad to 
 compute by hand. The answer is the logarithm, base e, of 2. The numerical 
 integration in Sage agrees.

 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.)

 Please see the attached sagews worksheet. 

 Is there anyone on this list who knows Maxima in general, and the 
 connections/interface between Maxima and Sage in particular?
 ---Greg



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 -i beautifulsoup 

 but this package no longer exists. 


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 be done with the command:: 


Некотоые функции системы GAP доступны только после инсталляции   
двух дополнительных пакетов Sage. Они могут быть установлены командой::
 

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 else...)

--
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+unsubscr...@googlegroups.com
mailto:sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com
mailto:sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


I prefer Pour utiliser GAP ou Pour utiliser les fonctionnalités de GAP.
Pour des fonctionnalités GAP is not correct french.

t.d.

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
attachment: tdumont.vcf

[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 try 
to fix the wording to this.  It also means we would have to (maybe?) change 
the script that checks for whether beautifulsoup is installed as well.  But 
I thought that old-style packages were still available via sage -i, just 
that we'd be slowly moving to pip and/or new-style, so this is news to me. 

Dima, do you think the latest beautifulsoup would not change anything in 
the parsing from whatever version we have/had as an optional package?  I 
don't have a problem having the instructions change to the sage -sh and pip 
install, this is a fairly high-level thing anyway.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 spelling?)
 
*certaines* in this case (fonctionnalités is female).
I also don't like paquetage unless I am told it is
standard for French localization.

Francois

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 paquetage are acceptable
but paquet seem to be the most prevalent.

Francois

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 Groups 
sage-devel group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 hugely obsolete; but chomp is  not.

Chomp definitely needs to be made available in some way.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 Sage.
You just made *all* old-style packages essentially uninstallable without 
even changing the documentation?


I think that's a horrible solution to a problem which could be solved by 
simply not having an obsolete python package on the Sage servers.


See also #19105 (no code yet) by the way.

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 running sage -i python and getting an old 
  version of Python installed, which broke Sage. 
 You just made *all* old-style packages essentially uninstallable without 
 even changing the documentation? 


No, Volker did.

  John

 


 I think that's a horrible solution to a problem which could be solved by 
 simply not having an obsolete python package on the Sage servers. 

 See also #19105 (no code yet) by the way. 


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 was a solution 
to the problem of running sage -i python and getting an old version of 
Python installed, which broke Sage.

Also, the message You can find further packages ... only prints if no 
package with a close name is found. I think this could be changed, 
because sage -i chomp does not print this, since it thinks csdp, gmp, 
cbc, cvxopt, cython are close enough matches.

  John



On Thursday, August 27, 2015 at 12:35:54 PM UTC-7, Dima Pasechnik wrote:

 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 -i beautifulsoup 

 but this package no longer exists. 



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 builds?

Jonathan
Error message:

/home/sage/sage-6.8/local/lib/python2.7/site-packages/setuptools-12.\
4-py2.7.egg/pkg_resources/__init__.py:1224: UserWarning:
/home/sage/.sage//.python-eggs is writable by group/others and
vulnerable to attack when used with get_resource_filename. Consider a
more secure location (set with .set_extraction_path or the
PYTHON_EGG_CACHE environment variable).

Enter code here...


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 spelling?)



certainEs !
thanks...I'm a bit tired.

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.
attachment: tdumont.vcf

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 githubs releases 
feature. I do now!

Check it out: https://github.com/dandrake/sagetex/releases/tag/v3.0

...although I already have an improvement to error handling for the 
backwards-incompatible changes that should go in, so it's not very likely 
that the above release will be the one that goes into Sage. Stay tuned.

Dan

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 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 Sage. 
 You just made *all* old-style packages essentially uninstallable without 
 even changing the documentation? 


 No, Volker did.


See http://trac.sagemath.org/ticket/19004. I for one am not wedded to the 
solution there; if you have other ideas, I wouldn't mind backing out those 
changes and doing something different.
 


   John

  


 I think that's a horrible solution to a problem which could be solved by 
 simply not having an obsolete python package on the Sage servers. 

 See also #19105 (no code yet) by the way. 



-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 packages. This can be done with the command::


Para algumas funcionalidades do GAP, deve-se instalar dois pacotes
Sage opcionais. Isso pode ser feito com o comando::


Thanks,
Paulo

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 writing docstrings: 
http://trac.sagemath.org/ticket/19041 . For example do we want to *always* 
have INPUT and OUTPUT section, even if the function returns nothing and 
have no arguments?


3) And then it is still open if the index of functions can be written from 
user perspective, or from implementation perspective: 
http://trac.sagemath.org/ticket/18534 . My suggestion one is adding 
functions from categories to index of posets.py. Suggestion two is add an 
index of functions ta categories of poset and finite poset and add a link 
to them. Suggestion three is to make a kind of introduction to finite 
posets and put index there.


 * * *

4) Do others feel that Sage is like a big house with tresures hidden in 
the corridors - without map to found those?


--
Jori Mäntysalo


[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 disagree with point 3. In the case of designs, we have some
 objects (the old ones) available in the global namespace, and some others
 (the more recent ones) which are not.

 It woud be messy to have some of them in the catalog, and some others
 in the global namespace. If some must be put inside of the catalog, then
 let it be all of them.

Yeah, I see the point. Number 3 was to avoid having the super-generic
constructors like Graph and LinearCode in the catalogue. But there will
only be few of them anyway, so perhaps one should rather strive for
consistency here.


 Though I know nothing about two-graphs, it therefore seems that I would
 vote for putting TwoGraph in graphs.tab.

 Well, a TwoGraph is not a graph but that's another problem :-P


Hehe, OK. But you can see where my confusion came from ;-)

Best,
Johan

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 about the new version of SageTeX 
 that I just finished. It includes one small backwards-incompatible change, so 
 I think it's best that I tell everyone about this.
 
 The incompatible change is with sageexample and sagecommandline environments: 
 previously, you could continue input lines with ... , as you see here: 
 https://github.com/dandrake/sagetex/blob/0aaf22bbf8ea04f7d98edd84ecca8d0f459ca388/example.tex#L454
 
 Now, you have to use :  which actually matches what you see in the Sage 
 interpreter. Old documents using the ...  (three dots) won't typeset 
 correctly using the new version of SageTeX (but of course it's easy to search 
 and replace to put in the correct bits).
 
 Please try the new package. It's available from 
 https://www.dropbox.com/s/51qt8sijr5kjfl1/sagetex-3.0.tar.gz?dl=0 . You 
 should be able to use the new version just by putting sagetex.py and 
 sagetex.sty in the same directory as your .tex document; both Sage/Python and 
 TeX should pick up the new code and use that.
 
 Let me know if you have any problems or have comments. I've opened a ticket 
 for the upgrade (http://trac.sagemath.org/ticket/19072) which should be 
 updated shortly.
 
 Dan
 
 
 -- 
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-devel.
 For more options, visit https://groups.google.com/d/optout.

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 second time, the graphs docs aren't even built in 
the first place, so there is no error.


This has nothing to do with building in parallel or not.

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


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 yourself. Plus, the files can be retrieved by sha1 so with a little
 bit more scripting I won't always forget to manually copy them to the
 mirrors. Its a bit on the cutting-edge side (Python 3 aiohttp and Polymer)
 but should work on all current browsers, so its ready to beta-test:


 http://fileserver.sagemath.org:8080/


 Looks very nice. I uploaded the new sagetex tarball there. Everything
 seems to work; my only suggestion is to somehow allow someone to download a
 file with the original file name, instead of its SHA1. I made an issue on
 your repo: https://github.com/vbraun/SageDevApp/issues/1.


I will try this out with the new eclib tarball for trac #19091 (later
today).

John



 --
 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+unsubscr...@googlegroups.com.
 To post to this group, send email to sage-devel@googlegroups.com.
 Visit this group at http://groups.google.com/group/sage-devel.
 For more options, visit https://groups.google.com/d/optout.


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[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 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 from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.