[sage-support] Re: How use alternative authentication for notebook server?.(i.e. integrate with other web app?)..
On 5/26/11 12:35 AM, Chris Seberino wrote: My students authenticate themselves by signing into a classroom web app unrelated to Sage. Possible to integrate Sage notebook server with this classroom web app so students DO NOT have to authenticate a SECOND TIME with Sage login page? It depends on what webapp you are talking about. There is work to make the notebook work with OpenID, and there has been work before to make the notebook work with LDAP. The OpenID work is nearly complete and will probably be merged into Sage sometime this summer. Jason -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] How use alternative authentication for notebook server?.(i.e. integrate with other web app?)..
My students authenticate themselves by signing into a classroom web app unrelated to Sage. Possible to integrate Sage notebook server with this classroom web app so students DO NOT have to authenticate a SECOND TIME with Sage login page? Chris -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] nitpicking on README.txt
Two, insignificant typos in README.txt: Line 147: fullly (note the three L's) Line 289-290: "GPL version 3 or later"q compatible (extraneous "q") I'm not sure what to process is to modify this file, so that's why I'm posting here. -- Kelvin -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: Using sage blocks with output in Latex
Actually, I was looking for what will be in the next sagetex release: the sagecommandline environment! Thank you for the answer and for the great package! Alexandre -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
Re: [sage-support] Legend Options in 2D Plots? Title Options in 3D plots?
> 1 - On 2D plots, I have been unable to use the legend() attribute and > the set_legend_options() attribute. I don't think you have those methods. I think you're using an old version of sage (maybe <= 4.5.2?) but reading documentation from a later version, which occasionally causes trouble. What does version() report? Doug -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Legend Options in 2D Plots? Title Options in 3D plots?
I have two issues: 1 - On 2D plots, I have been unable to use the legend() attribute and the set_legend_options() attribute. The commands g = plot(x) g.legend() give me the error "AttributeError: 'Graphics' object has no attribute 'legend'" Also, I have been unable to label the legend when creating the plot as is shown in the sage documentation. The command P = plot(sin, legend_label='sin') gives me the error "RuntimeError: Error in line(): option 'legend_label' not valid." 2 - On 3D plots, is there a way to create a legend or title? Is there a way to add labels to the axes, or change the color of the axes? Any suggestions are welcome. Thanks! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Error: Converting from p-adics to rationals.
I'm having an issue with converting between p-adic and rational numbers. Specifically, there are certain p-adic numbers that I cannot convert to rationals. As an example, if 1+7^3+O(7^5) is a 7-adic integer with capped relative precision 5, I cannot convert it to a rational. I get the error "ValueError: Rational reconstruction of 344 (mod 16807) does not exist." More generally, it seems that if the precision of the p-adic number is O(p^n), and the p-adic number includes powers of p greater than n/2, the number cannot be converted to a rational. Any info is appreciated. Thanks! -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Iterating over finite extension fields.
Hello All, First off, I would like to say that Sage is great and all of the hard work that the developers have put forth definitely shows. I am writing a tutorial for using Sage in undergraduate mathematics courses at a public 4 year university and am running into a few issues. I would appreciate any help and if these are indeed bugs than I wouldn't mind being pointed toward where I can go to help fix them. So right now I am going through constructing finite fields in a couple of different ways. One using the build in GF command with different moduli and the other is by constructing a prime field and then extending it using the root of a irreducible polynomial of specified degree. As there is not any "all irreducible polynomials of a certain degree command in Sage" I just constructed all polynomials of that degree and then filtered the list using the is_reducible() method. For example, to construct all degree two polynomials over GF(5) I did sage: F5 = GF(5) sage: P. = PolynomialRing(F5, 'x') sage: AP = [ a1 + a2*x + a3*x^2 for (a1,a2,a3) in F5^3 if a3 != F5(0) ] then I filter like this sage: IR = [ p for p in AP if p.is_irreducible() ] sage: PR = [ p for p in AP if p.is_primitive() ] Then I construct F_{5^2} sage: F25. = F5.extension( PR[0], 'a') and everything works great. The problem arises when I want to extend this field. When I try to construct my polynomial over F25 I get an error that F25 does not allow for iteration. Is there a better way to construct a list of irreducible and/or primitive polynomials in Sage? Do you think that PolynomialQuotientRing_field can be extended to support iteration as long as it is finite? I would be willing to make an attempt at doing this if somebody could give me some tips as to where to begin? Thank you all for your hard work, David Monarres -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
[sage-support] Re: Plots using R in sage notebook appear later
A good tutorial for R/sage is available at: http://www.sagenb.org/home/pub/2232/ Joal Heagney -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org