[sage-support] Re: Is there a way to disable fastest mirror search

2015-06-16 Thread Emmanuel Charpentier
Our firewall attempts to filter downloads (for virus scanning purpose, or se we are told) more or less transparently : when I use wget, I see a waitong period with on byte per second, then a fast (Ethernet speed)) download of the target file. IIRC, you evoked the possibility of ICMP-induced

[sage-support] Re: Spurious legend item

2015-06-16 Thread kcrisman
This is indeed odd. X=plot([]) You shouldn't have to do this - let us know if it doesn't plot otherwise. And the canonical way to do it if you really wanted to is X = Graphics() . X+=E.base_extend(S[0]).plot(color=red,legend_label=str(exp(1.))) X the legend appears twice (tried

[sage-support] Is there a way to disable fastest mirror search

2015-06-16 Thread Emmanuel Charpentier
Dear all, The new all-shiny all-singing all-dancing fastest mirror selection is probably useful for large tasks (maybe not so much for small spkgs). I note however that it is launced once fopr each package/tarball/item that has to be downloaded, not once per job. Furthermore, behind some

[sage-support] Re: Is there a way to disable fastest mirror search

2015-06-16 Thread Volker Braun
The timings are cached (assuming that they find a mirror). The timing is based on an actual connection on port 80, no ICMP involved I think. If your firewall blocks it then it will also block downloads. On Tuesday, June 16, 2015 at 2:52:55 PM UTC+2, Emmanuel Charpentier wrote: Dear all,

Re: [sage-support] Re: Spurious legend item

2015-06-16 Thread John Cremona
Thanks for the helpful suggestions. I am not sure who wrote the plotting funtion, but it goes back to the early days of Sage. I have a feeling that David Roe most recently worked on it, and if so then we might be able to fix it at the upcoming LMFDB workshop when he, and Nicolas and I will be

[sage-support] Re: Is there a way to disable fastest mirror search

2015-06-16 Thread Volker Braun
On Tuesday, June 16, 2015 at 3:37:30 PM UTC+2, Emmanuel Charpentier wrote: IIRC, you evoked the possibility of ICMP-induced trouble during a previous episode of firewall-related trouble. What did you have in mind ? I had just forgotten what I did; the fastest mirror code does not use ICMP.

[sage-support] Re: Is there a way to disable fastest mirror search

2015-06-16 Thread Volker Braun
On Tuesday, June 16, 2015 at 9:43:21 PM UTC+2, Emmanuel Charpentier wrote: In this thread https://groups.google.com/forum/#!topic/sage-release/pSO-8GqJu3g, tenth post from the top (sorry : I use Google groups, which doe not give very precise references...) the fastest mirror code does

[sage-support] Re: Is there a way to disable fastest mirror search

2015-06-16 Thread Emmanuel Charpentier
Le mardi 16 juin 2015 19:03:27 UTC+2, Volker Braun a écrit : On Tuesday, June 16, 2015 at 3:37:30 PM UTC+2, Emmanuel Charpentier wrote: IIRC, you evoked the possibility of ICMP-induced trouble during a previous episode of firewall-related trouble. What did you have in mind ? I had just

[sage-support] Re: Is there a way to disable fastest mirror search

2015-06-16 Thread Emmanuel Charpentier
Le mardi 16 juin 2015 19:03:27 UTC+2, Volker Braun a écrit : On Tuesday, June 16, 2015 at 3:37:30 PM UTC+2, Emmanuel Charpentier wrote: IIRC, you evoked the possibility of ICMP-induced trouble during a previous episode of firewall-related trouble. What did you have in mind ? I had just

[sage-support] quaternion norm

2015-06-16 Thread Ben P
I am tracking rotation of an object using quaternions by accumulating each successive rotation using quaternion composition. I notice that probably due to rounding errors, the norm of each successive quaternion is drifting from being 1, which means I need to normalize the quaternion. Is there

[sage-support] Image processing

2015-06-16 Thread avi kaur
Hello Everybody I am trying to do image processing in sage but unable to do so. I started with following code and got an error while reading an image. sage: pylab.imshow(misc.lena()) matplotlib.image.AxesImage object at 0x7fba3f201ad0 sage: from numpy import * sage: import scipy.ndimage sage:

[sage-support] Spurious legend item

2015-06-16 Thread Nicolas Mascot
Dear Sage support team, I am puzzled at this: E=EllipticCurve([1.6,0.3]) X=plot([]) X+=E.plot(color=green,legend_label=str(exp(1.))) X works fine (the legend is ok), but when I do Qx.x=PolynomialRing(QQ) K.a = NumberField(x^2-2) S = K.embeddings(RR) E=EllipticCurve([a,0]) X=plot([])