[sage-devel] Re: Deprecate or just remove

2015-04-14 Thread Niles Johnson
another 2c: There is also the option of deprecating, but for less than the somewhat arbitrary 1 year. On Tuesday, April 14, 2015 at 12:57:44 PM UTC-4, Volker Braun wrote: > > Since its about me I might just as well add my 2c: > > Its a good rule to deprecate things before changing/removing them.

Re: [sage-devel] Sage code "for educational purposes only"?

2015-02-26 Thread Niles Johnson
I'm in favor of moving such toys to an educational-library. -- 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 thi

[sage-devel] Re: ask.sagemath.org and openid2

2015-01-02 Thread Niles Johnson
> >> > 2. ask.sagemath.org is running on Google Compute Engine using free >> credits they gave me. These were going to expire in Nov 2014, but >> Google kindly extended the credits through March (though they could >> run out before then). We should continue to think about where to host >>

[sage-devel] Re: Doctest granularity for private methods

2014-08-14 Thread Niles Johnson
On Wednesday, July 16, 2014 1:57:36 PM UTC-4, martin@gmx.net wrote: > > On Wednesday, July 16, 2014 4:39:39 PM UTC+2, Volker Braun wrote: >> >> For better or worse, the decision is to doctest every method. >> > > Have there been any discussions about using tools like coverage.py >

Re: [sage-devel] Warn about long doctests (#16609 needs review)

2014-07-31 Thread Niles Johnson
On Wednesday, July 30, 2014 5:20:21 PM UTC-4, Volker Braun wrote: > > On Wednesday, July 30, 2014 11:04:02 AM UTC-4, Niles Johnson wrote: >> >> 1. Test that code produces the expected output >> 2. Document what sage can do >> >> The 1000 point resolution is no

Re: [sage-devel] Warn about long doctests (#16609 needs review)

2014-07-30 Thread Niles Johnson
On Tuesday, July 29, 2014 2:24:10 PM UTC-4, Volker Braun wrote: > > > What do we test with 1000 point resolution that can't be tested with 10? > Maybe more examples should be flagged with "# not tested" or something like "# optional -- demo" or "# optional -- tutorial"? This and another recent

Re: [sage-devel] Re: creation of tmp files names is not lexicographic anymore

2014-07-03 Thread Niles Johnson
On Tuesday, July 1, 2014 2:43:43 PM UTC-4, William wrote: > > > I often wish somebody would delete my code and rewrite Sage's temp > functionality to use Python's tempfile module. I wanted to point out, since I just noticed it, that someone has started using this module in the notebook: ht

[sage-devel] Re: creation of tmp files names is not lexicographic anymore

2014-07-02 Thread Niles Johnson
On Wednesday, July 2, 2014 10:43:05 AM UTC-4, Sébastien Labbé wrote: > > > > The following would be make everybody happy and I am sure it is not too > much administration : > > tmp-001_ZuuV0L.png > tmp-002_ij0dqf.png > tmp-003_yNciio.png > I like this idea -- you should open a ticket! My top q

[sage-devel] Re: creation of tmp files names is not lexicographic anymore

2014-07-01 Thread Niles Johnson
also, I'll just mention my other trick for manually digging through temporary sage outputs: sort by creation date instead of name On Tuesday, July 1, 2014 1:06:18 PM UTC-4, Niles Johnson wrote: > > > > > On Tuesday, July 1, 2014 12:45:57 PM UTC-4, Nils Bruin wrote: >&g

[sage-devel] Re: creation of tmp files names is not lexicographic anymore

2014-07-01 Thread Niles Johnson
On Tuesday, July 1, 2014 12:45:57 PM UTC-4, Nils Bruin wrote: > > > It probably was intended. As a general rule, temporary files live in > directories where multiple entities have file creation privileges, > including ones that don't necessarily trust each other fully. If you're > creating

[sage-devel] Re: Best practice when working on multiple (kind of related) tickets

2014-07-01 Thread Niles Johnson
On Monday, June 30, 2014 6:32:03 PM UTC-4, Volker Braun wrote: > > Ideally you have a directed graph of dependencies a->b->c. > > > On Monday, June 30, 2014 3:12:58 PM UTC-4, Vincent Knight wrote: >> >> (16333 is in effect a branch of 16332) >> > It sounds like you're in the situation Volker des

Re: [sage-devel] Re: Sage Stack Exchange Site

2014-06-02 Thread Niles Johnson
On Monday, June 2, 2014 11:13:09 AM UTC-4, William wrote: > > On Mon, Jun 2, 2014 at 8:02 AM, Kannappan Sampath > wrote: > > I don't agree that we may not make a successful proposal. > I find Karl's assessment pretty convincing, but I propose that we move discussion of this topic to the Area

Re: [sage-devel] Re: Sage Stack Exchange Site

2014-06-02 Thread Niles Johnson
On Monday, June 2, 2014 9:31:30 AM UTC-4, kcrisman wrote: > > See also some very interesting discussions at https://www.biostars.org/ > I didn't know about this QA software -- here is the source repository (MIT license): https://github.com/ialbert/biostar-central Note that it's about 2 years

Re: [sage-devel] Re: Sage Stack Exchange Site

2014-06-02 Thread Niles Johnson
As I recall, the question of going with a SE site was discussed around the time that AskSage launched. As I recall, the consensus was that a fully free QA site was more consistent with the values of the Sage community. It may be that this is no longer the consensus (if it ever was). Or the co

[sage-devel] Re: naive question on build process/patchbot

2014-05-06 Thread Niles Johnson
On Monday, May 5, 2014 10:10:27 AM UTC-4, Ralf Stephan wrote: > > > 3. why not show the sage version the ticket was based and tested on >by patchbot on the trac blob? What reason is there to show "6.1.1" >when the ticket was tested by patchbots both a) by merging a develop >version i

Re: [sage-devel] Re: patchbot runs failing apply

2014-04-29 Thread Niles Johnson
I just started trying to run patchbot yesterday. Even with the new spkg, I'm having trouble with either build failures or apply failures. At least one of these was caused by forgetting to do 'make distclean && make' when switching from master to develop or vice versa. I had one successful r

[sage-devel] plotting surfaces: ParametricSurface v.s. TrianglePlot

2014-04-25 Thread Niles Johnson
Hello all, There seem to be two different ways of constructing surfaces (for plotting) in Sage. Both produce triangulations, and there seems to be a fair amount of different code to accomplish the same task. One is used mainly by Graphics3d objects, and the other is used mainly by Tachyon obj

Re: [sage-devel] Re: Call for vote about ticket #10963: axioms and more functorial constructions

2014-03-12 Thread Niles Johnson
On Tuesday, March 11, 2014 6:21:19 PM UTC-4, Nicolas M. Thiéry wrote: > > On Mon, Mar 10, 2014 at 11:36:01AM -0700, Niles Johnson wrote: > > > After scanning the ticket discussion and documentation, I > >think the purpose is to provide some way of mixing in some

[sage-devel] Re: RFC: draft PEP for adding @ as a matrix multiplication operator to Python

2014-03-11 Thread Niles Johnson
I actually just have a minor complaint about the very last sentence. In the last section you write *Use overloading hacks to define a "new infix operator" like *dot*, as in a > well-known Python recipe:* (See: > [2]

Re: [sage-devel] Re: Call for vote about ticket #10963: axioms and more functorial constructions

2014-03-10 Thread Niles Johnson
Hi Nicolas, On Monday, March 10, 2014 11:16:17 AM UTC-4, Nicolas M. Thiéry wrote: > > > Hmm, as is, the argument is a bit general, and I believe it would rule > out the very principle underlying categories :-) Oh -- maybe that's why I have a hard time understanding categories :) ... > The

[sage-devel] Re: Is github down ?

2014-03-10 Thread Niles Johnson
It's working for me. The following also report everything ok . . . http://www.isitdownrightnow.com/github.com.html https://status.github.com/ -Niles On Monday, March 10, 2014 5:54:00 AM UTC-4, Nathann Cohen wrote: > > Hello everybody ! > > Is it just me or ?... > > ~$ git clone git://gi

[sage-devel] Re: Call for vote about ticket #10963: axioms and more functorial constructions

2014-03-10 Thread Niles Johnson
I would prefer not to use "mathematical context" or "semantic" when trying to read code (for debugging, or for learning). My reason for this is that I don't believe the computer "knows" mathematics, so I wouldn't use my mathematical knowledge to try to guess what the code is doing. Using math

[sage-devel] Re: Request: Bug Hunter for #9457

2014-03-01 Thread Niles Johnson
The ticket is about *all* power series; although the weird behavior I don't understand is just for p-adics. On Saturday, March 1, 2014 4:41:29 AM UTC-5, Ralf Stephan wrote: > > Can someone please give me a hint why the stopgap of that ticket (which > seems about p-adics power series) is triggere

[sage-devel] Request: Bug Hunter for #9457

2014-02-28 Thread Niles Johnson
Hello sage-devel, I'm sure everyone thinks the bugs they find are the most important, but I wanted to tell the story of this one that's been bothering me for a while. Please help! Act 1: A gobsmacking bug in power series comparison. sage: A. = PowerSeriesRing(ZZ) sage: t + O(t^2) =

Re: [sage-devel] Re: admin for ask.sagemath

2014-02-21 Thread Niles Johnson
On Friday, February 21, 2014 9:50:18 AM UTC-5, kcrisman wrote: > Does someone have access to the actual database? I suppose it could be done at that really low level too. That's what I had in mind (not that I would know how to do it myself). After that I think the natural step is to upgrade

Re: [sage-devel] Re: admin for ask.sagemath

2014-02-21 Thread Niles Johnson
Now that I've spent a little time thinking about this, here are some comments: * I misread our version of askbot -- it's over 2 years old * recent versions of askbot (6 months ago or so) can put a captcha on users' first posts * some of the spam is posted as "Anonymous" -- but that still requi

Re: [sage-devel] Re: admin for ask.sagemath

2014-02-21 Thread Niles Johnson
hmmm; we need a bigger hammer here. There was no more spam coming in when I left the office last night, but now at least the first 7 pages are full of spam from several different users. I can't delete that many by hand. On Thursday, February 20, 2014 1:16:46 PM UTC-5, kcrisman wrote: > > > >

Re: [sage-devel] Re: admin for ask.sagemath

2014-02-20 Thread Niles Johnson
Blocking and deleting posts helped a lot. But now this particular spammer seems to be waiting a little while and then creating a new user to add more spam (I've blocked and deleted the same spam from 4 or 5 separate users now). I don't know how to deal with that. There are a number of ideas o

Re: [sage-devel] Re: admin for ask.sagemath

2014-02-20 Thread Niles Johnson
der "Moderation" --> "Change status to:". > > On Thu, Feb 20, 2014 at 7:38 AM, Niles Johnson > > > wrote: > > I was just going to ask the same question. Karl and I can edit posts to > > remove the spam, but we can't actually delete posts or ban

[sage-devel] Re: admin for ask.sagemath

2014-02-20 Thread Niles Johnson
I was just going to ask the same question. Karl and I can edit posts to remove the spam, but we can't actually delete posts or ban users. Currently the front page of ask.sagemath is almost completely full of spam, and as I type this it's still coming in (from the same user). -Niles On Thursd

[sage-devel] Re: admin for ask.sagemath

2014-02-20 Thread Niles Johnson
I was just going to ask the same question. Karl and I can edit posts to remove the spam, but we can't actually delete posts or ban users. Currently the front page of ask.sagemath is almost completely full of spam, and as I type this it's still coming in (from the same user). -Niles On Thursd

Re: [sage-devel] Error installing package conway_polynomials-0.5.p0 on Ubuntu 12.04 - Sage 6.1.1

2014-02-07 Thread Niles Johnson
> > On Thursday, February 6, 2014 8:39:14 PM UTC-7, François wrote: >> >> I am stumped. I will have to think it over for a bit. Output of "ld -v" >> please. >> > While François is thinking, I'll make some other (more rudimentary) suggestions. * Have you successfully built older versions of sag

[sage-devel] Re: trouble building pycrypto-2.6.1 (for sage 6.1)

2014-02-06 Thread Niles Johnson
For the record, I would like to confess that I've now figured the problem out, and it was indeed a wonky environment variable: $PATH! Years ago when I started using sage, I just added the sage root directory to my path, and I've been doing it ever since. I now realize that is a bad idea. The

[sage-devel] Re: trouble building pycrypto-2.6.1 (for sage 6.1)

2014-02-05 Thread Niles Johnson
On Tuesday, February 4, 2014 11:34:26 AM UTC-5, Volker Braun wrote: > > I don't know why its not working for you, but what is failing is the > following autoconf check: > > AC_CONFIG_SRCDIR([src/pycrypto_compat.h]) > > > My guess would be that you have some wonky environment variables > pre-

[sage-devel] Re: trouble building pycrypto-2.6.1 (for sage 6.1)

2014-02-04 Thread Niles Johnson
On Monday, February 3, 2014 3:09:57 PM UTC-5, Niles Johnson wrote: > configure: error: cannot find sources (src/pycrypto_compat.h) in > /Applications/sage or .. > After some trial and error, I found the file pycrypto_compat.h in what looks like a weird place: /local/var/tmp/s

[sage-devel] Re: trouble building pycrypto-2.6.1 (for sage 6.1)

2014-02-03 Thread Niles Johnson
Oh, my build on Mac OS 10.7.5 just finished and I have the same problem there :( Here are the equivalent excerpts: Found local metadata for pycrypto-2.6.1.p0 Attempting to download package pycrypto-2.6.1.p0 >>> Trying to download http://www.sagemath.org/packages/upstream/pycrypto/pycrypto-2.

[sage-devel] trouble building pycrypto-2.6.1 (for sage 6.1)

2014-02-03 Thread Niles Johnson
I had no trouble building sage (using make) for 6.1.beta1 or 6.1.beta2, but for 6.1.beta3 there is a failure building pycrypto on Red Hat. Apparently a new version was merged here http://git.sagemath.org/sage.git/log/?h=fe9ba66e75a8817910fe74eb6c196225cf0cbc2f Here are some excerpts from the l

[sage-devel] review request: patch to animate more graphics types

2014-01-23 Thread Niles Johnson
Hello all, After a very long delay, I've finished a patch to create more animated gifs with sage! The current animate command only works for plots in the plane, but the patch extends this in several ways. I wrote up some examples and posted them here: https://plus.google.com/+NilesJohnson/po

[sage-devel] Re: changing authentication method on ask.sagemath.org

2014-01-14 Thread Niles Johnson
I don't know the answer here, but I think this is an excellent question for AskBot, the project on which ask.sagemath.org is based: http://askbot.org/en/questions/ On Monday, January 13, 2014 7:49:25 AM UTC-5, Daniel Krenn wrote: > > Hi, > > since myopenid will be hinstory soon, see [1] "MYOP

Re: [sage-devel] Re: sage crashes when current working directory is $SAGE_ROOT/src/sage !?

2014-01-07 Thread Niles Johnson
; > --Mike > --Mike > > > On Tue, Jan 7, 2014 at 4:35 PM, P Purkayastha > > wrote: > > Same crash on Linux x86_64. > > > > > > > > On 01/07/2014 11:19 PM, Vincent Delecroix wrote: > >> > >> I do have the problem. >

[sage-devel] sage crashes when current working directory is $SAGE_ROOT/src/sage !?

2014-01-07 Thread Niles Johnson
Am I confused? My sage root directory is /Applications/sage. I cd to /Applications/sage/src/sage and then attempt to start sage with either /Applications/sage/sage or ../../sage Either of these results in a crash which looks related to ipython (traceback below). Sage does start for me

[sage-devel] Re: error building from source with git clone

2014-01-02 Thread Niles Johnson
Do you have the developer tools (Xcode) installed? This prerequisite is sort of buried in the middle of the instructions at http://www.sagemath.org/doc/installation/source.html -Niles On Saturday, December 21, 2013 1:25:29 AM UTC-5, Theron Hitchman wrote: > > I just tried cloning the git rep

[sage-devel] Re: Coefficients of power series

2013-05-08 Thread Niles Johnson
The behavior of .list() for power series also produces bugs in power series comparison. I filed a ticket and patch for this at http://trac.sagemath.org/sage_trac/ticket/9457 but ran into unexpected problems in some of the elliptic curves code, because the p-adics in Sage are derived from the g

[sage-devel] Re: Modular fibration animated with Sage

2012-09-14 Thread Niles Johnson
Thanks Jason! I'm not surprised that there's lots of room for speed up -- and I agree it could be a lot of fun for the right kind of person :) I've been out of the loop for a little while, and I guess I missed interact.sagemath.org . . . I have a few things I'd like to add! On Thursday, Septe

[sage-devel] Modular fibration animated with Sage

2012-09-13 Thread Niles Johnson
Hello Sage developers! Some time ago I made an animation of the Hopf fibration using Sage. Recently, a graduate of the African Institute for Mathematical Sciences has finished animating a different map from S^3 to S^2. Ihechukwu Chinyere worked with Bruce Bartlett there and made an animation

[sage-devel] Re: How to implement parent with gens?

2012-04-18 Thread Niles Johnson
Someone should also mention Simon's article on implementing algebraic structures. It's comprehensive and well-written! http://flask.sagenb.org/home/pub/82/ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubs

Re: [sage-devel] Re: reply to Trac via e-mail?

2012-04-17 Thread Niles Johnson
Aaaahhh -- Thanks for the tip!! -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sa

[sage-devel] Re: reply to Trac via e-mail?

2012-04-16 Thread Niles Johnson
Another -- perhaps more trivial -- way to make posting replies on trac easier would be to have each email from trac include a link to the ticket. Even better, include the link for replying to the current comment. E.g. http://trac.sagemath.org/sage_trac/ticket/12827?replyto=1#comment I actuall

[sage-devel] Re: DeprecationWarning in doctesting

2012-04-11 Thread Niles Johnson
Rummaging through the plot code, I've come across DOCTEST_MODE a couple of times. I can't find it documented anywhere, but it seems to be used as a flag for a function to tell whether it's being run for doctesting or not. Probably you can copy some of the examples to produce a doctest which on

[sage-devel] Re: working on animation for 3d objects

2012-04-10 Thread Niles Johnson
On Tuesday, April 10, 2012 1:44:21 PM UTC-4, Nils Bruin wrote: > > Excellent initiative! Thanks :) I've created the following ticket for this: http://trac.sagemath.org/sage_trac/ticket/12827 > Just make sure that animate(...) accepts general > iterables and only keeps one frame at a time

[sage-devel] Re: zeromq and @parallel for clusters

2012-04-10 Thread Niles Johnson
On Monday, April 9, 2012 7:07:14 AM UTC-4, Volker Braun wrote: > > I think it would be of general interest, but of course depends on zeromq. Indeed, I am interested! Please Cc me ("niles") on any ticket you make for this! -- To post to this group, send an email to sage-devel@googlegroups.com

[sage-devel] Re: working on animation for 3d objects

2012-04-09 Thread Niles Johnson
On Monday, April 9, 2012 5:02:45 PM UTC-4, Niles Johnson wrote: > > But I haven't found a Trac ticket for it -- could someone point it out to > me if it doesn't exist? > > Er, I mean, could someone point out a ticket if it *does* exist? Also, I've since learned th

[sage-devel] working on animation for 3d objects

2012-04-09 Thread Niles Johnson
Hello everyone, I'm thinking about making a small update to the Animation class so that it can handle animating 3D graphics too. (Details below.) Since this is a frequently-requested feature, I wouldn't be surprised if people have already done some work on it, or at least have strong feelings

Re: [sage-devel] Witt vectors

2012-03-30 Thread Niles Johnson
Indeed, these are good places to look -- especially the recommendation of browsing the rings directory to see how those are implemented (e.g. polynomial rings). It might make more sense for RingOfWittVectors to inherit from CommutativeRing instead of Ring. Also, it wouldn't be a bad idea to o

[sage-devel] implicit_plot option 'fill' is broken

2012-03-16 Thread Niles Johnson
Hello all, I just noticed that the 'fill' option of implicit_plot is broken. The following example, from the reference manual [1], returns a plot which is entirely blue, rather than just filling the circle as the documentation claims. sage: x,y = var('x,y')sage: f(x,y) = x^2 + y^2 - 2sage: i

[sage-devel] Re: patchbot seems to have trouble with dependencies

2010-12-20 Thread Niles Johnson
putting this off-list discussion back on the list :) On Mon, Dec 20, 2010 at 2:53 PM, Robert Bradshaw wrote: > On Mon, Dec 20, 2010 at 11:42 AM, Niles wrote: >> Hi Robert, >> >> I have a short bug report, which I didn't want to overload the sage- >> devel list with: >> >> The patches for ticket

Re: [sage-devel] import scipy failing in sage 4.6.alpha1

2010-09-24 Thread Niles Johnson
Oh, according to my install log I had the same problem; I was fooled by the fact that sage started up fine. But now I think I have a solution: I got curious about what PIL is, and while googling I came across this nice page http://www.sagemath.org/doc/installation/source.html which lists a lot

[sage-devel] Re: Question on power series with implications for elliptic curves

2010-08-01 Thread Niles Johnson
Hello all, Although I'm certainly not competent in elliptic curves, I spent some time trying to identify this bug more precisely, and I believe the problem stems from Dp_valued_series; could someone help us identify which of these two outputs is correct? More details can be found on the trac page

[sage-devel] random_element conflicts

2010-07-11 Thread Niles Johnson
Hello all, I noticed some varying definitions of random_element for ZZ, QQ, and RR (and probably other rings). This causes misleading documentation (whch doctests don't catch, because the output is random!) and, for power series rings over RR, an error. My initial thought was to just open a tick

[sage-devel] problem with finite fields move

2010-07-07 Thread Niles Johnson
I'm having a problem with finite fields on Mac OS 10.6.4, sage 4.4.4, and I think it's related to the finite field move http://trac.sagemath.org/sage_trac/ticket/8218 One problem occurs when trying to build the documentation, and another (with more comprehensible traceback) occurs when trying to

Re: [sage-devel] Question about multivariate power series.

2010-06-30 Thread Niles Johnson
Hello all, I have a proposal for implementing basic multivariate power series in sage. Looking through the sage-devel history, I can see that this has come up before, and that a number of people have thought hard about this. What I have in mind is something of a stop-gap, but there are two reaso