[sage-support] Expression to polynomial

2015-06-12 Thread Néstor
Hello, I've got a rational expression in sage and I would like to convert it to a polynomial with coefficients in some fraction field. More precisely, I've got something like this: a , x = var( 'a , x' ) ; P = x/a ; and I would like to see it like a polynomial in the polynomial ring in the

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Emmanuel Charpentier
A couple more datapoints : Machine 1, setup 1 : home machine connected via a (slow but usually reliable) ADSL land line : fails since yesterday, last checked this mornong (about 08:00 CET). Machine 2, setup 2 : work machine connected via the corporate network of my employer. Fails since this

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Volker Braun
You are more likely to get help if you post the failing command with output. On Friday, June 12, 2015 at 6:52:50 AM UTC+2, Emmanuel Charpentier wrote: It still (2015-06-12,06:50 CET) fails for me. Not *that* transient, it seems... And, yes, I can ssh from this machine to The Rest of The

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Emmanuel Charpentier
On machine 2, setup 2, same old same... git fetch -v fatal: unable to connect to trac.sagemath.org: trac.sagemath.org[0: 128.208.178.249]: errno=Connexion terminée par expiration du délai d'attente Le vendredi 12 juin 2015 09:58:42 UTC+2, Volker Braun a écrit : git fetch -v On Friday,

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Emmanuel Charpentier
Same problem on a different pachine with a different network connection : git fetch fatal: unable to connect to trac.sagemath.org: trac.sagemath.org[0: 128.208.178.249]: errno=Connexion terminée par expiration du délai d'attente HTH, -- Emmanuel Charpentier Le vendredi 12 juin 2015 09:37:56

Re: [sage-support] About finding roots of polynomials in specific domains

2015-06-12 Thread Jeroen Demeyer
On 2015-06-11 17:26, Phoenix wrote: I have two polynomials $p(x)$ and $q(x)$ and I want to know if there are roots of the equation $\frac{p'}{p} = \frac{q'}{q}$ in the domain $(a,\infinity)$ - where $a = max \{ roots(p),roots(q) \}$ This is the same as asking for the roots of the polynomial,

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Nathann Cohen
Desperately trying to push something, the function hangs. I also cannot get to load the ticket I want to update [1] :-P Nathann [1] http://trac.sagemath.org/ticket/18681 -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this

[sage-support] Re: About finding roots of polynomials in specific domains

2015-06-12 Thread slelievre
Note: same as this question on stackoverflow: http://stackoverflow.com/questions/30784577/how-does-one-find-roots-of-polynomials-in-a-given-domain-in-sage -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Volker Braun
I've seen it now, too. The connection is pretty flaky even when it works, e.g. massive packet loss (look at the sequence numbers): $ ping trac.sagemath.org PING trac.sagemath.org (128.208.178.249): 56 data bytes 64 bytes from 128.208.178.249: seq=6 ttl=46 time=512.834 ms 64 bytes from

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Volker Braun
git fetch -v On Friday, June 12, 2015 at 9:41:58 AM UTC+2, Emmanuel Charpentier wrote: Same problem on a different pachine with a different network connection : git fetch fatal: unable to connect to trac.sagemath.org: trac.sagemath.org[0: 128.208.178.249]: errno=Connexion terminée par

Re: [sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Emmanuel Charpentier
Still fails for me. On second thought, a live goat as some real uses (goat cheese ... ...). -- Emmanuel Charpentier Le vendredi 12 juin 2015 12:36:26 UTC+2, Nathann Cohen a écrit : Should we sacrifice a goat ? (Or a manager...) Things seems normal again here. If you don't think that

Re: [sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Volker Braun
1) Go to google, type in level3, click on search tools - past hour 2) https://en.wikipedia.org/wiki/Tier_1_network On Friday, June 12, 2015 at 1:03:08 PM UTC+2, Nathann Cohen wrote: Apparently Telekom Malaysia (https://twitter.com/TMCorp/status/609167065300271104) broke the internet

Re: [sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Nathann Cohen
Yo ! 1) Go to google, type in level3, click on search tools - past hour Come on man, how do you 'guess' level3? 2) https://en.wikipedia.org/wiki/Tier_1_network I was doing that, but again how do you guess that name? Is there some book explaining all this? Nathann -- You received this

Re: [sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Nathann Cohen
And of course $ traceroute trac.sagemath.org Yeah. Well at that time mine involved different operators. Cogentco or something. Nathann -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from this group and stop receiving emails

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Volker Braun
Apparently Telekom Malaysia (https://twitter.com/TMCorp/status/609167065300271104) broke the internet for a short while until the Tier 1 providers cut them off... On Friday, June 12, 2015 at 11:16:41 AM UTC+2, Volker Braun wrote: I've seen it now, too. The connection is pretty flaky even

[sage-support] Re: About finding roots of polynomials in specific domains

2015-06-12 Thread 'luisfe' via sage-support
On Thursday, June 11, 2015 at 5:26:28 PM UTC+2, Phoenix wrote: I have two polynomials $p(x)$ and $q(x)$ and I want to know if there are roots of the equation $\frac{p'}{p} = \frac{q'}{q}$ in the domain $(a,\infinity)$ - where $a = max \{ roots(p),roots(q) \}$ This is the same as asking for

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Emmanuel Charpentier
Thanks ! Should we sacrifice a goat ? (Or a manager...) -- Emmanuel Charpentier Le vendredi 12 juin 2015 11:16:41 UTC+2, Volker Braun a écrit : I've seen it now, too. The connection is pretty flaky even when it works, e.g. massive packet loss (look at the sequence numbers): $ ping

Re: [sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Volker Braun
And of course $ traceroute trac.sagemath.org traceroute to trac.sagemath.org (128.208.178.249), 30 hops max, 38 byte packets [...] 6 ip5886ca49.dynamic.kabel-deutschland.de (88.134.202.73) 8.599 ms 8.090 ms 8.055 ms 7 bei-b1-link.telia.net (80.239.132.237) 16.656 ms 8.077 ms 7.952 ms

Re: [sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Volker Braun
On Friday, June 12, 2015 at 2:25:11 PM UTC+2, Nathann Cohen wrote: 1) Go to google, type in level3, click on search tools - past hour Come on man, how do you 'guess' level3? Was pretty obvious from the traceroute output... -- You received this message because you are subscribed to the

[sage-support] Re: Expression to polynomial

2015-06-12 Thread 'luisfe' via sage-support
On Friday, June 12, 2015 at 11:17:37 AM UTC+2, Néstor wrote: Hello, I've got a rational expression in sage and I would like to convert it to a polynomial with coefficients in some fraction field. More precisely, I've got something like this: a , x = var( 'a , x' ) ; P = x/a ; and I

Re: [sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Nathann Cohen
Apparently Telekom Malaysia (https://twitter.com/TMCorp/status/609167065300271104) broke the internet for a short while until the Tier 1 providers cut them off... Hey man, can you share the wisdom!? 1) How did you figure that out? 2) How do you learn about internet's organization (Tier 1,

Re: [sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Nathann Cohen
Should we sacrifice a goat ? (Or a manager...) Things seems normal again here. If you don't think that you will eat that whole goat by yourself, you can count me in. Nathann -- You received this message because you are subscribed to the Google Groups sage-support group. To unsubscribe from

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Volker Braun
I tried cloning just the repo and then fetching all of trac and it worked. My git version seems to be more recent though, the output is all different. Have you tried increasing the post buffer? git config --global http.postBuffer 524288000 git fetch -v On Friday, June 12, 2015 at 10:46:18 PM

[sage-support] Re: Induction method

2015-06-12 Thread avi kaur
On Thursday, June 11, 2015 at 11:26:48 AM UTC+5:30, Ralf Stephan wrote: n = var('n',domain='integer') res = solve([n^2 == 3],n); print res = ,res returns the weird answer : res = [ n == -sqrt(3), n == sqrt(3) ] But sage: assume(n,'integer') sage: solve(n^2-3,n) [] so it seems

[sage-support] 6.8.beta1 breaks the installation of several R paclages.

2015-06-12 Thread Emmanuel Charpentier
Since 6.8.beta1, ser=veral R packages can no longer be installed. The surce seems to be commit bb5c9f3a... fixing trac#17572 http://trac.sagemath.org/ticket/17572. This (closed) ticket has been commented and another ticket (trac#18691 http://trac.sagemath.org/ticket/18691) has been opened.

[sage-support] Re: Induction method

2015-06-12 Thread avi kaur
On Saturday, June 13, 2015 at 1:23:59 AM UTC+5:30, Dominique Laurain wrote: Thanks Ralf...yes much better Adding first line... n = var('n') assume(n,'integer') #solve(n^2-3,n) #solve(n^2 + 2*n + 1,n) solve((n-1)*(n^2+1),n) Thanks Sir for encouraging me, I am trying to learn sage

Re: [sage-support] Re: Induction method

2015-06-12 Thread avi kaur
On Sat, Jun 13, 2015 at 2:08 AM, Dominique Laurain dominique.laurai...@orange.fr wrote: Precisely I cannot explain it...because using software is not same coding software ..people , not me, are coding SAGE (and other modules included into . . . maybe you will see the light in your dark

[sage-support] Re: Induction method

2015-06-12 Thread Dominique Laurain
Thanks Ralf...yes much better Adding first line... n = var('n') assume(n,'integer') #solve(n^2-3,n) #solve(n^2 + 2*n + 1,n) solve((n-1)*(n^2+1),n) ..and I have very happy to get only integer roots. But dreamingly, I would like SAGE display (at least) error deprecated (more precisely not

[sage-support] Re: Induction method

2015-06-12 Thread Dominique Laurain
Precisely I cannot explain it...because using software is not same coding software ..people , not me, are coding SAGE (and other modules included into it) Usually : assume() is Python call for assuming something, and if not true..then software stops But here, it's a constraint...it's a

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Volker Braun
The server communication works, this is unrelated On Friday, June 12, 2015 at 10:46:18 PM UTC+2, Emmanuel Charpentier wrote: Things seem still flaky now (22:42 CET) : git fetch still hangs. But git fetch -v gives some signs of life before hanging : git fetch -v POST git-upload-pack

[sage-support] Re: writing solution in sage to OpenCV cvSolve

2015-06-12 Thread avi kaur
On Friday, June 12, 2015 at 7:22:40 PM UTC+5:30, kcrisman wrote: http://www.samontab.com/web/2012/12/using-opencv-in-sage This is an awesome post, and it would be awesome to include (an updated version of) it somewhere in standard documentation. My guess is that you did not make

[sage-support] Re: git from trac.sagemath.org out of order ?

2015-06-12 Thread Emmanuel Charpentier
Things seem still flaky now (22:42 CET) : git fetch still hangs. But git fetch -v gives some signs of life before hanging : git fetch -v POST git-upload-pack (gzip 12481 to 6253 bytes) POST git-upload-pack (gzip 13031 to 6539 bytes) POST git-upload-pack (gzip 14581 to 7322 bytes) POST

Re: [sage-support] Re: Induction method

2015-06-12 Thread avi kaur
On Sat, Jun 13, 2015 at 2:36 AM, avi kaur kauravi...@gmail.com wrote: On Sat, Jun 13, 2015 at 2:08 AM, Dominique Laurain dominique.laurai...@orange.fr wrote: Precisely I cannot explain it...because using software is not same coding software ..people , not me, are coding SAGE (and other modules

[sage-support] Re: writing solution in sage to OpenCV cvSolve

2015-06-12 Thread kcrisman
My guess is that you did not make Sage aware of it properly. In particular, Sage's directory structure may have changed enough that the instructions for that in the post may no longer be accurate. It means, I need to reinstall my sage or Is there any way to update my

[sage-support] Re: writing solution in sage to OpenCV cvSolve

2015-06-12 Thread kcrisman
http://www.samontab.com/web/2012/12/using-opencv-in-sage This is an awesome post, and it would be awesome to include (an updated version of) it somewhere in standard documentation. Sir, I am following your guidlines but when I import cv2 after typing python, I got