[sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Frédéric Chapoton
Here are 2 distinct problems, that look similar. (1) The new trac seems to have broken the patchbots, with the following traceback. Maybe just because of https, but not sure. Traceback (most recent call last): File "sage_patchbot/patchbot.py", line 997, in test_a_ticket File

[sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Volker Braun
Thats because of https, you need to do the analog change that I just did on the git-trac script: diff --git a/git_trac/digest_transport_py2.py b/git_trac/digest_transport_py2.py index 28a8520..c030432 100644 --- a/git_trac/digest_transport_py2.py +++ b/git_trac/digest_transport_py2.py @@ -121,7

Re: [sage-devel] more tests in sage (not doctests)

2016-06-22 Thread Stephan Ehlen
Thanks a lot for your answer, Jeroen. On Wednesday, June 22, 2016 at 2:57:08 AM UTC-6, Jeroen Demeyer wrote: > > On 2016-06-21 23:06, stephan...@gmail.com wrote: > > 1) You want to keep the source code clean so doctests should be “short”. > But some test cases require more complicated code or

[sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Volker Braun
The authentication changed, we used to have http digest (browser popup window, with realm) and now its the trac builtin one. This breaks the git-trac script as it tries to authenticate over http digest. I can fix it up but first let me ask: Is that going to stay? On Monday, June 20, 2016 at

[sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Volker Braun
PS: I can't seem to authenticate over xmlrpc; Did you follow the advice at: https://trac-hacks.org/wiki/XmlRpcPlugin#ProblemswhenAccountManagerPluginisenabled -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and

Re: [sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Erik Bray
On Jun 22, 2016 19:12, "Volker Braun" wrote: > > The authentication changed, we used to have http digest (browser popup window, with realm) and now its the trac builtin one. This breaks the git-trac script as it tries to authenticate over http digest. I can fix it up but

[sage-devel] Re: Now officially living off your (collective) backs

2016-06-22 Thread john_perry_usm
Seems to me you worked really hard to miss the point of William's presentation. -- 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] Re: more tests in sage (not doctests)

2016-06-22 Thread Marc Mezzarobba
Michael Orlitzky wrote: > It's a little dangerous, our doctest framework uses the XKCD random > number generator. If you run ZZ.random_element() in a doctest it will > always output the same number. You have to work around it by calling > set_random_seed() before every test. There is a

Re: [sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Andrew
When I try to log in to the new trac server I get the error: Oops… *Trac detected an internal error:* AttributeError: 'FakeSession' object has no attribute 'authenticated' There was an internal error in Trac. It is recommended that you notify your local Trac administrator with the information

Re: [sage-devel] more tests in sage (not doctests)

2016-06-22 Thread William Stein
On Wed, Jun 22, 2016 at 10:08 AM, Stephan Ehlen wrote: >> > d) test unpickling of objects which seems to break rather often and is >> > not covered at all by any of the doctests >> >> This can be done with doctests (possibly using the pickle jar). > > > How would the

Re: [sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Volker Braun
On Wednesday, June 22, 2016 at 7:23:34 PM UTC+2, Erik Bray wrote: > > Conceivably it would not be hard to provide an alternative HTTP digest > backend for login as well. > That would be the easiest solution... can you set it up? -- You received this message because you are subscribed to the

[sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread leif
Erik Bray wrote: > On Wed, Jun 22, 2016 at 5:41 PM, Erik Bray wrote: >> On Wed, Jun 22, 2016 at 5:35 PM, Andrew wrote: >>> When I try to log in to the new trac server I get the error: >>> >>> Oops… >>> >>> Trac detected an internal error: >>> >>>

[sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Erik Bray
trac.sagemath.org going down now, as planned. push access to git.sagemath.org will be disabled a few minutes later, so don't plan on making any pushes to the repository in the next few minutes. Will update here once services are back online. Thanks for your patience, Erik On Mon, Jun 20, 2016

Re: [sage-devel] more tests in sage (not doctests)

2016-06-22 Thread Jeroen Demeyer
On 2016-06-21 23:06, stephan.j.eh...@gmail.com wrote: 1) You want to keep the source code clean so doctests should be “short”. But some test cases require more complicated code or have long output which you would not like to add to the source code. For long or special doctests, you can put

Re: [sage-devel] more tests in sage (not doctests)

2016-06-22 Thread Johan S . H . Rosenkilde
Big +1. There's the sage/tests folder which seems to be a place where certain developers who really couldn't help themselves put some additional tests. But it doesn't go near as far as what you're proposing. However, there's obvious issues wrt. ensuring that such tests gets written once in a

[sage-devel] Re: more tests in sage (not doctests)

2016-06-22 Thread Samuel Lelievre
+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.

Re: [sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Jeroen Demeyer
The "branch" and "dependencies" fields are no longer hyperlinked. On https://trac.sagemath.org/ticket/20767 for example, I should be able to click on the branch and the various dependencies. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To

Re: [sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Erik Bray
Fixed. On Wed, Jun 22, 2016 at 10:34 AM, Jeroen Demeyer wrote: > The "branch" and "dependencies" fields are no longer hyperlinked. > > On https://trac.sagemath.org/ticket/20767 for example, I should be able to > click on the branch and the various dependencies. -- You

[sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Erik Bray
git and trac should both be back up again. The migration took a bit longer than expected. Reasons being: 1) Transferring data from old server to new server took longer than previous tests suggested 2) I initially loaded the wrong DB dump into the postgres database, and had to redo the database

[sage-devel] more tests in sage (not doctests)

2016-06-22 Thread stephan . j . ehlen
Hi everyone, I would like to discuss adding at least one more testing method to the sage development process than just doctests (e.g. nose). Doctests are certainly great but they have obvious limitations. Some of them are: 1) You want to keep the source code clean so doctests should be

[sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Dima Pasechnik
there is an issue related to "native git" protocol used to communicate with git server on trac.sagemath. Namely, if you try to use the URL git://trac.sagemath.org/sage.git for (say) fetch it does not get through. (probably a GCE firewall blocks the corresponding port). Using the ssh URL, i.e.

[sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Dima Pasechnik
Currently I am getting on https://trac.sagemath.org/ (or on any ticket I tried) Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/trac/web/api.py", line 602, in send_error data, 'text/html') File "/usr/local/lib/python2.7/dist-packages/trac/web/chrome.py",

Re: [sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Erik Bray
On Wed, Jun 22, 2016 at 5:35 PM, Andrew wrote: > When I try to log in to the new trac server I get the error: > > Oops… > > Trac detected an internal error: > > AttributeError: 'FakeSession' object has no attribute 'authenticated' > > There was an internal error in Trac.

Re: [sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Erik Bray
On Wed, Jun 22, 2016 at 5:41 PM, Erik Bray wrote: > On Wed, Jun 22, 2016 at 5:35 PM, Andrew wrote: >> When I try to log in to the new trac server I get the error: >> >> Oops… >> >> Trac detected an internal error: >> >> AttributeError:

[sage-devel] Re: Now officially living off your (collective) backs

2016-06-22 Thread leif
Nathann Cohen wrote: > Though of course I'll be the only one to see it this way, right ? ;-) > > > https://www.reddit.com/r/math/comments/4nkt5u/william_stein_is_leaving_academia_to_start_a/ > > And the usual "Sage: a history in which free developers hardly appear > though they worked by

[sage-devel] Re: Now officially living off your (collective) backs

2016-06-22 Thread 'Bill Hart' via sage-devel
You should sign up for the sage-flame group, which is specifically designed for that sort of discussion. Or you could perhaps even set up sagemathcloud-flame. In my opinion, sage-devel should be for discussing the development of Sage. Bill. On Monday, 13 June 2016 11:19:09 UTC+2, Nathann

Re: [sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Jeroen Demeyer
Another issue: I no longer get e-mails from Trac. The last e-mail that I received was on 06:25 CEST (i.e. Paris time). I received nothing more after that, even though some tickets were changed that I am active on (e.g. #20852). -- You received this message because you are subscribed to the

Re: [sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Erik Bray
On Wed, Jun 22, 2016 at 1:42 PM, Jeroen Demeyer wrote: > Another issue: I no longer get e-mails from Trac. The last e-mail that I > received was on 06:25 CEST (i.e. Paris time). I received nothing more after > that, even though some tickets were changed that I am active on

[sage-devel] Re: [gdr-im] Announcing Sollya 5.0

2016-06-22 Thread Marc Mezzarobba
saad khalid wrote: > I don't know much about this so I thought I would just ask, how would > using this benefit Sage? Is it comparable to mpmath and MPFR? If so, > how does it compare? Sorry for my ignorance. Also, what is the target? Sollya is mainly aimed at developers of floating-point

Re: [sage-devel] more tests in sage (not doctests)

2016-06-22 Thread Michael Orlitzky
On 06/22/2016 04:57 AM, Jeroen Demeyer wrote: > >> b) randomized test, example: check for a number of randomly >> generated number fields that arithmetic operations with randomly >> generated number field elements gives the correct results. >> Randomized tests help to identify issues that occur

Re: [sage-devel] more tests in sage (not doctests)

2016-06-22 Thread Johan S . H . Rosenkilde
> It's a little dangerous, our doctest framework uses the XKCD random > number generator. There's prior work by S. Adams: http://dilbert.com/strip/2001-10-25 Best, Johan -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this

[sage-devel] Re: Numerical errors in gegenbauer() for float argument

2016-06-22 Thread Ralf Stephan
This is fixed in the upcoming beta5. Maybe you better search trac before posting about already fixed bugs. sage: gegenbauer(2,1,1.) 3.00 sage: gegenbauer(2,1,2.) 15.0 sage: gegenbauer(2,1,0.) -1.00 On Thursday, June 23, 2016 at 1:39:43 AM UTC+2, Paul

[sage-devel] Numerical errors in gegenbauer() for float argument

2016-06-22 Thread Paul Masson
This series of values is correct for integer arguments: sage: gegenbauer(2,1,x) 4*x^2 - 1 sage: gegenbauer(2,1,0) -1 sage: gegenbauer(2,1,1) 3 sage: gegenbauer(2,1,2) 15 But nonzero floats give wrong answers: sage: gegenbauer(2,1,1.) 0.500 sage: gegenbauer(2,1,2.)

[sage-devel] Re: trac mails are back on

2016-06-22 Thread Dima Pasechnik
On Wednesday, June 22, 2016 at 11:24:31 PM UTC+1, leif wrote: > > Dima Pasechnik wrote: > > Trac emails should work now > > Yes, thanks. > > > (going via sendgrid.net). > > Why that? I'm getting ugly HTML mails with obfuscated links (and of > course phishing attempt alerts). > > GCE does

[sage-devel] symbolic computation with Chevalley generators for algebraic groups

2016-06-22 Thread Joseph Hundley
By "algebraic groups" I mean "split connected reductive algebraic groups equipped with a choice of maximal torus, Borel subgroup, and realization/pinning/epinglage." (Though I am interested in principle in removing unnecessary hypotheses.) By "Chevalley generators" I mean * elements of root

[sage-devel] Re: {trac,git}.sagemath.org downtime Wednesday 6/22

2016-06-22 Thread Paul Masson
Since no one has said this yet, a big thank you to Erik and everyone else who helped get the Trac server to its new home! On Monday, June 20, 2016 at 8:18:49 AM UTC-7, Erik Bray wrote: > > Hi all, > > As decided toward the end of another recent thread [1] I willl be > taking down the server at

[sage-devel] Re: Error installing package ntl-9.8.1.p0

2016-06-22 Thread Joseph Hundley
Thanks! On Tuesday, June 21, 2016 at 3:44:42 PM UTC-4, Dima Pasechnik wrote: > > The assembler is unable to compile the code produced by gcc. > Something akin to > http://stackoverflow.com/questions/10327939/error-no-such-instruction-while-assembling-project-on-mac-os-x > > See

[sage-devel] trac mails are back on

2016-06-22 Thread Dima Pasechnik
Trac emails should work now (going via sendgrid.net). Please shout if something is not working. Cheers, Dima -- 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

Re: [sage-devel] Re: trac mails are back on

2016-06-22 Thread Michael Orlitzky
On 06/22/2016 06:39 PM, Dima Pasechnik wrote: > > > (going via sendgrid.net ). > > Why that? I'm getting ugly HTML mails with obfuscated links (and of > course phishing attempt alerts). > > GCE does not allow running smtp on the usual port 25. So one has to