[sage-devel] Re: Sage code for educational purposes only?
In general, I think it is FAR more useful to spend our time on making the documentation for any educational/toy functions very clear than to creating some huge change of a new directory that no one will know about, deprecation, broken links, ... Unless people feel that Sage is *only* a research tool, there is no reason not to have such functions, as long as it is very clear what they do and don't do. Anyone who is looking for speed will presumably be able to bother to read documentation that starts The function easy_squirrel() is only to demonstrate the existence of a squirrel; for various algorithms used in actually finding squirrels, please see sage.squirrel.blazing_fast(). -- 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 code for educational purposes only?
I don't like the educational name, since it can be misleading. Some could think that they are functions that are useful for teaching (in this case, for teaching basic concepts about prime numbers), whereas what we would be meaning is that its educational value would be in looking at the code itself and learning how to code. It is not the case of the Erathostenes sieve, but in some other cases (like buchberger), these toy methods are not only there for people to learn about them, but also can be used as a fallback for the cases where no fast implementation is available (yes, they can be horribly slow, but horribly slow is sometimes better than nothing). El miércoles, 25 de febrero de 2015, 18:55:17 (UTC+1), Jeroen Demeyer escribió: Hello, Should there be code in Sage which is extremely slow and for educational purposes only? I am talking about eratosthenes() which is just a very slow alternative to prime_range(). I would just remove that code, but maybe people have other opinions... Jeroen. -- 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 code for educational purposes only?
Should there be code in Sage which is extremely slow and for educational purposes only? I believe such code is valuable. I believe so as well. As Michael said, at the very least it's useful as a testing tool. (Also we have done something similar by having an algorithm keyword for various methods.) I also agree with Karl-Dieter that we should spend much more time documenting the functions than moving them to a separate folder (much less deciding on which functions should go into such a folder). Best, Travis -- 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: Sage code for educational purposes only?
I would say such a function belongs in the documentation only, and we should have an easy way of testing (and perhaps importing) code defined there. On Thu, Feb 26, 2015 at 12:19 PM, Travis Scrimshaw tsc...@ucdavis.edu wrote: Should there be code in Sage which is extremely slow and for educational purposes only? I believe such code is valuable. I believe so as well. As Michael said, at the very least it's useful as a testing tool. (Also we have done something similar by having an algorithm keyword for various methods.) I also agree with Karl-Dieter that we should spend much more time documenting the functions than moving them to a separate folder (much less deciding on which functions should go into such a folder). Best, Travis -- 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: Sage code for educational purposes only?
Hi! On 2015-02-25, Jeroen Demeyer jdeme...@cage.ugent.be wrote: Should there be code in Sage which is extremely slow and for educational purposes only? I believe such code is valuable. Best regards, Simon -- 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.