Re: [sage-devel] Re: Creating a Tutorial from a Worksheet mentions beautifulsoup package
On 2015-08-28 03:37, John H Palmieri wrote: See http://trac.sagemath.org/ticket/19004. Yes, I saw that ticket but I never realized that the solution was so drastic, especially given that there is no deprecation at all. -- 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 and Maxima get this integral wrong
For completeness: you already opened a thread about this three months ago: https://groups.google.com/forum/#!topic/sage-devel/GX-hYs0grdE A ticket was opened because of it: http://trac.sagemath.org/ticket/18599 Please follow the ticket for progress on the Sage side. Regards, -- 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: strange patchbots' plugins.startup_modules failures
ok, indeed there is a problem. could you open an issue on github ? https://github.com/robertwb/sage-patchbot Frédéric Le mercredi 26 août 2015 21:00:48 UTC+2, Dima Pasechnik a écrit : On #18997 (http://patchbot.sagemath.org/ticket/18997/) I get PluginFailed - on startup_modules, which appears to be caused by innocent things like from itertools import combinations The patchbots seem to think that sage.combinat.designs.itertools is a valid module name, see e.g. http://patchbot.sagemath.org/ticket/18997/plugin/plugins.startup_modules/2015-08-26%2006:41:06%20+/ -- 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: Short fr, de, pt, ru translation
Thanks, this is the final version on #19106: Pour utiliser certaines fonctionnalités de GAP, vous devez installer deux paquets Sage optionnels. Cela peut être fait avec la commande:: -- 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] Access to my cohomology spkgdocumentation is blocked
Hi! It was pointed out on sage-support that http://sage.math.washington.edu/home/SimonKing/Cohomology/ is not available. That's bad, because the documentation of my optional group cohomology spkg is hosted there, the new to-be-reviewed version of the spkg is hosted there (I am afraid that the old versions would not work, because of backward incompatible changes in Sage), and as soon as I change the spkg to the new format, the upstream sources will be hosted there (at least I think it would be a logical place). How can that be solved? I don't think hosting it in Jena is a solution, since I am about to move to Cologne. 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.
Re: [sage-devel] Re: Creating a Tutorial from a Worksheet mentions beautifulsoup package
On 2015-08-28 03:37, John H Palmieri wrote: See http://trac.sagemath.org/ticket/19004. Yes, I saw that ticket but I never realized that the solution was so drastic, especially given that there is no deprecation at all. +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. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.
[sage-devel] Re: Access to my cohomology spkgdocumentation is blocked
I'd recommend bitbucket/github/... Presumably you are using some kind of version control for your files already. Github pages is an easy way to host your documentation, too. On Friday, August 28, 2015 at 5:15:11 AM UTC-4, Simon King wrote: Hi! It was pointed out on sage-support that http://sage.math.washington.edu/home/SimonKing/Cohomology/ is not available. That's bad, because the documentation of my optional group cohomology spkg is hosted there, the new to-be-reviewed version of the spkg is hosted there (I am afraid that the old versions would not work, because of backward incompatible changes in Sage), and as soon as I change the spkg to the new format, the upstream sources will be hosted there (at least I think it would be a logical place). How can that be solved? I don't think hosting it in Jena is a solution, since I am about to move to Cologne. 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.
[sage-devel] Re: Access to my cohomology spkgdocumentation is blocked
Hi Volker, On 2015-08-28, Volker Braun vbraun.n...@gmail.com wrote: I'd recommend bitbucket/github/... Presumably you are using some kind of version control for your files already. Github pages is an easy way to host your documentation, too. That may be a long term solution (first I have to learn how to use github, get an account etc). But it is not a short term solution. In addition, I forgot to mention that a data base of cohomology rings is hosted there. I guess it is simply too large for a free github account. What's worse: I can not ssh into sage.math.washington.edu; my password is not accepted. I noticed it a minute ago when I wanted to find out how large the data base actually is. Very bad. I chose the sage.math.washington location because I thought it is a better longterm solution than, say, a server at my current institution: My home institution is changeable, and after all it is a SageMath package. And I had the impression that William agreed. 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.
[sage-devel] Re: Access to my cohomology spkgdocumentation is blocked
The p_group_cohomology-2.1.4.p1.spkg hosted at http://files.sagemath.org/spkg/optional/ is about 36mb, thats easily doable with bitbucket/github. You can also host files with google drive/dropbox/... I'm sure all have the best intentions but academic institutions are not in the business of file hosting or long-term storage. On Friday, August 28, 2015 at 10:18:15 AM UTC-4, Simon King wrote: Hi Volker, On 2015-08-28, Volker Braun vbrau...@gmail.com javascript: wrote: I'd recommend bitbucket/github/... Presumably you are using some kind of version control for your files already. Github pages is an easy way to host your documentation, too. That may be a long term solution (first I have to learn how to use github, get an account etc). But it is not a short term solution. In addition, I forgot to mention that a data base of cohomology rings is hosted there. I guess it is simply too large for a free github account. What's worse: I can not ssh into sage.math.washington.edu; my password is not accepted. I noticed it a minute ago when I wanted to find out how large the data base actually is. Very bad. I chose the sage.math.washington location because I thought it is a better longterm solution than, say, a server at my current institution: My home institution is changeable, and after all it is a SageMath package. And I had the impression that William agreed. 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.
[sage-devel] Re: Some documentation tickets
Tab completion and the ? (and ??) are your best friends and will do well to guide you. As for 3, what if you have class A with a subclass B in separate files (let's say, Parent and Partitions). Should you include all methods from class A in the doc of class B? If the answer is yes, then you must include *all* of the superclasses (and stop picking on the categories), otherwise maybe (and I really do mean *maybe*) a link to the category(ies) is desirable. I would say if one wants a table of functions, it should be those defined in that particular file (because they will be in that particular page). Best, Travis On Friday, August 28, 2015 at 12:38:29 AM UTC-5, Jori Mäntysalo wrote: Those interested in documentation might want to look at few tickets. 1) Nathann is making an automatic index of functions better, see http://trac.sagemath.org/ticket/19061 . (But somebody should review #19067 before that will continue. It is short.) 2) There is a discussion about guide to writing docstrings: http://trac.sagemath.org/ticket/19041 . For example do we want to *always* have INPUT and OUTPUT section, even if the function returns nothing and have no arguments? 3) And then it is still open if the index of functions can be written from user perspective, or from implementation perspective: http://trac.sagemath.org/ticket/18534 . My suggestion one is adding functions from categories to index of posets.py. Suggestion two is add an index of functions ta categories of poset and finite poset and add a link to them. Suggestion three is to make a kind of introduction to finite posets and put index there. * * * 4) Do others feel that Sage is like a big house with tresures hidden in the corridors - without map to found those? -- Jori Mäntysalo -- 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: Access to my cohomology spkgdocumentation is blocked
Hi Volker, On 2015-08-28, Volker Braun vbraun.n...@gmail.com wrote: The p_group_cohomology-2.1.4.p1.spkg hosted at http://files.sagemath.org/spkg/optional/ is about 36mb, ... In addition, I forgot to mention that a data base of cohomology rings is hosted there. That would be over 30gb, if I recall correctly. Cheers, 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.
Re: [sage-devel] cunningham_tables package does not exist
For what it is worth, it is available as an attachment on this ticket: http://trac.sagemath.org/ticket/15813#no1 It's a table of factorizations of special numbers. On Thu, Aug 27, 2015 at 12:32 PM, Jeroen Demeyer jdeme...@cage.ugent.be wrote: Various Sage library files mention a package 'cunningham_tables' but it seems this package is gone somehow... -- 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. -- William (http://wstein.org) -- 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: Various packages no longer exist
On Thu, Aug 27, 2015 at 1:21 PM, Dima Pasechnik dimp...@gmail.com wrote: On Thursday, 27 August 2015 12:48:03 UTC-7, Jeroen Demeyer wrote: Some more packages are documented in Sage but no longer actually exist. I found these when grepping for sage -i: chomp kash (also kash3-linux-2005.11.22 and kash3_onsx-2005.11.22) macaulay2 kash and macaulay2 are hugely obsolete; but chomp is not. Historical note: kash provides a snapshot of a free subset of Magma, but when there was a deal between the KANT and Magma groups to have a free binary version of the core library available. That all fizzled though. Even 10 years old, it could provide useful functionality... (though I personally don't care). William Chomp definitely needs to be made available in some way. -- 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. -- William (http://wstein.org) -- 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] Access to my cohomology spkgdocumentation is blocked
Everybody was warned that things would go down back in April, so you should have dealt with it awhile ago (but apparently didn't). We can easily setup a redirect on the VM that hosts wstein.org (which is where sage.math.washington.edu redirects to) if you find a place to host your site. If your site is too big to host on github or the like, and we can setup a vm for it (assuming your site falls within what is allowed by the UW). If you need to get files, you can still access your home directory from geom.math.washington.edu or comhinat.math.washington.edu. (The same goes for anyone else who hosted things off of boxen.) On Fri, Aug 28, 2015 at 02:15 Simon King simon.k...@uni-jena.de wrote: Hi! It was pointed out on sage-support that http://sage.math.washington.edu/home/SimonKing/Cohomology/ is not available. That's bad, because the documentation of my optional group cohomology spkg is hosted there, the new to-be-reviewed version of the spkg is hosted there (I am afraid that the old versions would not work, because of backward incompatible changes in Sage), and as soon as I change the spkg to the new format, the upstream sources will be hosted there (at least I think it would be a logical place). How can that be solved? I don't think hosting it in Jena is a solution, since I am about to move to Cologne. 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. -- 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] UniqueRepresentation: class vs. class_with_category
I have a parent-class C derived from UniqueRepresentation. Now it generates distinct instances when called by C(...) and by c.__class__(...) where c is an instance of C. This is because c.__class__ is C_with_category. I have a workaround, namely stripping of the _with_category by term_class = c.__class__ Sets_parent_class = Sets().parent_class while issubclass(term_class, Sets_parent_class): term_class = term_class.__base__ 1) Is there already a function/method doing exactly this? 2) What is the correct way to handle this? More details: I need c.__class__ when I want to create a parent with different parameter set and I don't know the exact class before. Best Daniel -- 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: is_Parent(NN) gives False
On Friday, August 28, 2015 at 2:34:06 PM UTC-7, vdelecroix wrote: Hello, Is there a reason why NN is lazily imported? Hm, good point. See http://trac.sagemath.org/ticket/10906 . One should really only lazily import modules; even the designer of the feature thinks the situation for anything else is probably too complicated. Currently we have: sage: import gc, types sage: from sage.misc.lazy_import import LazyImport sage: from collections import Counter sage: Counter(type(a._get_object()) for a in gc.get_objects() if type(a) is LazyImport) Counter({type 'sage.misc.classcall_metaclass.ClasscallMetaclass': 82, type 'function': 78, type 'type': 26, type 'str': 25, type 'sage.misc.lazy_import.LazyImport': 17, type 'builtin_function_or_method': 16, type 'module': 12, type 'sage.misc.inherit_comparison.InheritComparisonMetaclass': 9, type 'instance': 9, type 'NoneType': 3, type 'bool': 2, class 'sage.misc.inherit_comparison.InheritComparisonClasscallMetaclass': 2, class 'sage.geometry.hyperplane_arrangement.library.HyperplaneArrangementLibrary': 1, class 'sage.interfaces.maxima_lib.MaximaLib': 1, class 'sage.libs.gap.libgap.Gap': 1, type 'dict': 1, class 'sage.databases.findstat.FindStat': 1, class 'sage.combinat.finite_state_machine_generators.TransducerGenerators': 1, class 'sage.rings.semirings.non_negative_integer_semiring.NonNegativeIntegerSemiring_with_category': 1, class 'sage.combinat.cluster_algebra_quiver.quiver_mutation_type.QuiverMutationTypeFactory': 1, class 'sage.dev.sagedev_wrapper.SageDevWrapper': 1, class 'sage.modular.arithgroup.congroup_sl2z.SL2Z_class_with_category': 1, type 'list': 1, class 'sage.interfaces.genus2reduction.Genus2reduction': 1, class 'sage.rings.invariant_theory.InvariantTheoryFactory': 1, class 'abc.ABCMeta': 1}) A bunch of these are probably fine, but it does seem there are some objects there that might not be so suitable. Especially the 17 LazyImport objects that wrap LazyImport objects ... applying something like def clean_imported_lazy_imports(D_in): Adjust lazy imports in a namespace cdef dict D = D_in cdef LazyImport LI for name,value in D.iteritems(): if type(value) is LazyImport: LI = value D[name] = LazyImport(LI._module,LI._name,as_name=name,namespace=D) on namespaces does have some effect, but we probably need a rather extensive audit to really clean this up. -- 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: Various packages no longer exist
kash and macaulay2 are hugely obsolete which is the last commit with the interface to macaulay2? Am Donnerstag, 27. August 2015 22:21:42 UTC+2 schrieb Dima Pasechnik: On Thursday, 27 August 2015 12:48:03 UTC-7, Jeroen Demeyer wrote: Some more packages are documented in Sage but no longer actually exist. I found these when grepping for sage -i: chomp kash (also kash3-linux-2005.11.22 and kash3_onsx-2005.11.22) macaulay2 kash and macaulay2 are hugely obsolete; but chomp is not. Chomp definitely needs to be made available in some way. -- 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: Various packages no longer exist
On Friday, 28 August 2015 15:01:09 UTC-7, Jakob Kroeker wrote: kash and macaulay2 are hugely obsolete which is the last commit with the interface to macaulay2? it's done in mercurial, more than 5 years ago :-) http://files.sagemath.org/spkg/experimental/macaulay2-1.1-r7221.p0.txt this is version 1.1 of Macaulay2, mind you... This does not mean that the pexpect Sage interface is as old (it can work with an external install of M2), it's the package that is obsolete. Am Donnerstag, 27. August 2015 22:21:42 UTC+2 schrieb Dima Pasechnik: On Thursday, 27 August 2015 12:48:03 UTC-7, Jeroen Demeyer wrote: Some more packages are documented in Sage but no longer actually exist. I found these when grepping for sage -i: chomp kash (also kash3-linux-2005.11.22 and kash3_onsx-2005.11.22) macaulay2 kash and macaulay2 are hugely obsolete; but chomp is not. Chomp definitely needs to be made available in some way. -- 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: is_Parent(NN) gives False
Hello, Is there a reason why NN is lazily imported? Vincent On 27/08/15 02:18, Nils Bruin wrote: On Wednesday, August 26, 2015 at 9:34:07 PM UTC-7, Nils Bruin wrote: def cleanup_lazyimports(D): for name,value in D.iteritems(): if type(value) is LazyImport: D[name] = LazyImport(value._module,value._name,as_name=name) Sorry, that last line should be: D[name] = LazyImport(value._module,value._name,as_name=name,namespace=D) (otherwise the LazyImport object still wouldn't know in which scope to correct its binding once the import happens) -- 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: Various packages no longer exist
On Friday, 28 August 2015 09:52:10 UTC-7, William wrote: On Thu, Aug 27, 2015 at 1:21 PM, Dima Pasechnik dim...@gmail.com javascript: wrote: On Thursday, 27 August 2015 12:48:03 UTC-7, Jeroen Demeyer wrote: Some more packages are documented in Sage but no longer actually exist. I found these when grepping for sage -i: chomp kash (also kash3-linux-2005.11.22 and kash3_onsx-2005.11.22) macaulay2 kash and macaulay2 are hugely obsolete; but chomp is not. Historical note: kash provides a snapshot of a free subset of Magma, but when there was a deal between the KANT and Magma groups to have a free binary version of the core library available. That all fizzled though. Even 10 years old, it could provide useful functionality... the platforms it is available for are all obsolete, IMHO. -- 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.