The licensing worksheets ticket is http://trac.sagemath.org/sage_trac/ticket/8763
On Fri, Jul 30, 2010 at 07:06, Jason Grout <[email protected]> wrote: > I would be very interested in any comments you have on any gotchas when > integrating interacts into the Sage library. When I tried to do a few, it > seemed like I kept running into problems (but I don't remember what the > problems were right now). Well, it's part of the sage library, not part of the notebook. Hence some things work differently: you have to import everything you need (python imports), i.e. from sage.all import SR, then x = SR.var('x') and don't forget that 2^3 is an XOR (and doesn't complain) ... you need to enter 2**3. You are not allowed to use globals, instead use module level variables. And yes, there is no f(x) =... syntax, that's f = symbolic_expression(<expression in x>).function(x) or just f = SR(<expression>) which also works for strings when the variable was defined before. [a..b] and R.<x> = RingXYZ() doesn't work either. Additionally, debugging errors in @libarary_interacts seems to be a bit tricky, because in the html website, you only see an empty box or an abridged stacktrace which you cannot expand (I removed the decorator and called the function with appropriate arguments to trigger the exception and learn more about it) > I'd also like to hear any suggestions on how to > make incorporating things in the library easier. In my eyes, there is a better solution. I think we need to enhance the way published worksheets work towards a wiki: 1. interlinking 2. make interacts working 3. editing by everybody Together with some indexing and categories/tags one would get a wiki system where all the interacts that are now in wiki.sagemath.org/interact would actually come alive. The interesting ones can be ported as it is done by me now, but the level how to contribute is much lower. H -- You received this message because you are subscribed to the Google Groups "sage-edu" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sage-edu?hl=en.
