[sage-support] i need admin rights to sage's ubuntu
dear sage (and especially the linux and vm) community, i'm a complete noob to sage, linux, virtual machines, and virtualbox. i was able to get sage up and running on my windows vista laptop with minor diffuculties and now sage is working great. however, i'm looking to add more functionality to the ubuntu OS that Sage is running on itself. VirtualBox comes with a way to enhance linux virtual machine guest OSes through their "vbox guest additions" software. my problem is when i go to install this software, the OS tells me i need "administrative rights" and kicks me out. my question is how do i change my rights to the sage's OS itself to adminstrative? from a virtual machine? this seems more like a linux, maybe a vbox or vm, issue to me and i am asking in all the forums i can find. but i think that maybe it's just the special version of the ubuntu os that sage working over? Thanks for all the help in advance! -Seb ps: i don't mind if you explain things to me like a 3-year-old. in fact, i'd prefer it. -- 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: Where can I find the Windows VirtualBox version of Sage?
hey nick, i too am a complete newbie to this sage/ linux/ vm/ virtbox thing and was totally lost for a minute (more like a half a day). but after reading the vbox docs i learn that it does support the vmware .vmdk format. they still don't actually tell you __how__. after some tinkering i finally got sage up and running on vbox! (sorry if i explain to much but i don't know how well you know computers) 1. after installing vbox and getting it up and running, extract the sage-vmware*.zip contents to any folder and destination you want. 2. in vbox goto File->Virtual Media Manager. while under the hard drive tab click add+ button. locate where you just installed the "sage-vmware.vmdk" image file and add it to the list. 3. now click the New button and the wizard pops up. the first screen is the vm name and OS type: name it anything you want (mines is "SageMath") and the OS version really isn't that important because the "sage-vmware.vmdk" sets it automatically to linux/ ubuntu. at least set it to linux. 4. next screen is how much memory you willing to allocate to the vm. i've set mines to "512mb" and it has worked only ok but i have reach that limit already with just 3 notebook worksheets open. set it to whatever you like and then you can tinker with it later. 5. here the most important step. the next screen is the virtual hard disk screen. click "boot hard disk" then choose the "use existing hard disk" option and choose "sage-vmware.vmdk" and click next. 6. click finish and then voila! you're ready for some hardcore mathematical fun! power that baby up and welcome to the mathematician's promised land! ex. tip: the maximum resolution of 800x600 was appalling to me and you can't simply resize the window, either. after perusing the vbox docs i found a way (that is either hit or miss for me) of upping the resolutions. you might wanna try this out before start Sage vm for the first time but after you set it up with vbox: 1. start up your command prompt, cmd.exe, by going to (from Win's desktop) Start->Run then type "cmd". 2. in the command shell type "cd ["your complete path to the VirtualBox folder"] " then press enter. the default path is "C: \Program Files\Oracle\VirtualBox" i believe. 3. after getting to the vbox folder type: "vboxmanage setextradata ["your Sage vm name"] CustomVideoMode1 1280x800x32". type in whatever you called your Sage vm , mines was "SageMath". if your vm name has any spaces in it, be sure to enclose it in double quotes (" "). you can also set the resolution to whatever you want, but in my experience, after i'd set my first one, i was never able to add more. 4. now fire up the Sage vm from vbox. after i get's up and running choose System->Preference->Display. hopefully the new resolution setting you just added will be there. choose and then thank me later. -Seb p.s. Sorry if i sound so pedantic but i have no idea your level of expertise with computers. On Aug 28, 3:37 pm, Nick wrote: > Hi, > > First time user here. I can't seem to find the VirtualBox version of > Sage to download for a Windows Installation. I've got VBox itself > installed but can't find the Sage-VBox zip file online. > > Only the VMWare edition appears to be available > athttp://sagemath.org/download-windows.htmland any links to VBox > versions I've digged up on the net seem dead. > > No doubt I've missed something simple. Can someone set me straight please? -- 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: Symbolic determinant solution
It would be better if you posted the matrix complete, or if it's a complicated expression, try to simplify it in a way that the error is still produced. It is difficult to imagine what the problem could be with so little information. Oscar On Aug 28, 6:18 am, samrat wrote: > Hi, > > I am using sage-4.5.1. > > I need to symbolically find the determinant of a 4 X 4 matrix. So i do > something like: > > sage: mat = [ [-,-,-,-],[-,-,-,-],[-,-,-,-],[-,-,-,-] ] > sage: A = matrix(mat) > sage: solve(det(A)==0,c) > > Here c is one of the given algebraic quantities. The solution has been > provided in a book as: > c^2 = p - q, where p & q are again some algebraic quantities. > > But sage gives it as c = some algebraic quantity with no square-root > sign. So you can see that this removes the possibility of getting > comples solutions for c. > > Even assuming that p > q the answer computed appears different. What > am i doing wrong? > > 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] Re: mesh in parametric_plot3d
On 8/28/10 5:45 PM, davidp wrote: I would like to show my class a parametrized surface with mesh lines (on Monday!). 1. The following code produces no mesh lines: sage: var('x y') sage: parametric_plot3d((x,x^2+y,x*y),(x,0,1),(y, 0,1),plot_points=10,mesh=true) That seems odd to me. 2. The following code produces mesh lines, but they are very light in color. Is it possible to make the mesh lines thicker or to change their color to black? sage parametric_plot3d((x,x^2+y,x*y),(x,0,1),(y, 0,1),plot_points=10).show(mesh=true) mesh=True I don't think has worked very well for a while. http://trac.sagemath.org/sage_trac/ticket/9238 would *really* make your life easier. See the example worksheet (that used to be) here: https://141.233.197.45:4443/home/pub/0/ (I don't know if that link works any more) We really need someone to review that patch. It is a big upgrade to the 3d plotting functionality written by one of the JMOL developers. 3. In general, I find it difficult to trace down which options are applicable to the various plotting functions. The documentation for plot, plot3d, etc, list some options but not all, it seems. You're right; the plotting options documentation could definitely be improved. Volunteers welcome! Thanks, 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] mesh in parametric_plot3d
I would like to show my class a parametrized surface with mesh lines (on Monday!). 1. The following code produces no mesh lines: sage: var('x y') sage: parametric_plot3d((x,x^2+y,x*y),(x,0,1),(y, 0,1),plot_points=10,mesh=true) That seems odd to me. 2. The following code produces mesh lines, but they are very light in color. Is it possible to make the mesh lines thicker or to change their color to black? sage parametric_plot3d((x,x^2+y,x*y),(x,0,1),(y, 0,1),plot_points=10).show(mesh=true) 3. In general, I find it difficult to trace down which options are applicable to the various plotting functions. The documentation for plot, plot3d, etc, list some options but not all, it seems. I am using Sage 4.5.2 on Ubuntu 10.04. Thanks, Dave -- 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] Where can I find the Windows VirtualBox version of Sage?
On Saturday, August 28, 2010, Nick wrote: > Hi, > > First time user here. I can't seem to find the VirtualBox version of > Sage to download for a Windows Installation. I've got VBox itself > installed but can't find the Sage-VBox zip file online. > > Only the VMWare edition appears to be available at > http://sagemath.org/download-windows.html and any links to VBox > versions I've digged up on the net seem dead. > > No doubt I've missed something simple. Can someone set me straight please? We do not distribute a virtualbox version of Sage anymore. If somebody out there wants to make one, I will host it. > > -- > 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 > -- William Stein Professor of Mathematics University of Washington http://wstein.org -- 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] Where can I find the Windows VirtualBox version of Sage?
Hi, First time user here. I can't seem to find the VirtualBox version of Sage to download for a Windows Installation. I've got VBox itself installed but can't find the Sage-VBox zip file online. Only the VMWare edition appears to be available at http://sagemath.org/download-windows.html and any links to VBox versions I've digged up on the net seem dead. No doubt I've missed something simple. Can someone set me straight please? -- 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: Those cookies again...
On 8/28/10 6:27 AM, Tim Joseph Dumol wrote: On Sat, Aug 28, 2010 at 5:48 PM, Dr. David Kirkby It's really anyone's guess. But clearly people should be able to create accounts before or after they try to log in. And people are indeed able to do so. Yes, I should point out that an overwhelming majority of the people had no problem yesterday logging in. 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
Re: [sage-support] Re: Those cookies again...
A fix is presented at http://trac.sagemath.org/sage_trac/ticket/9832. On Sat, Aug 28, 2010 at 7:40 PM, Dr. David Kirkby wrote: > On 08/28/10 12:27 PM, Tim Joseph Dumol wrote: > >> The invalid HTML is orthogonal to this issue and is merely a typo. The >> tag merely affects form display semantics and does not have >> anything to do regarding cookies. >> >> Frankly, even http://google.com has invalid HTML: >> >> http://validator.w3.org/check?uri=www.google.com&charset=(detect+automatically)&doctype=Inline&group=0 > > Yes I know. But Google is not presenting a problem. > >> I do not say that writing invalid HTML should be accepted as the norm, >> but it is pointless to blame the cookie issue on it. > > I was not blaming the HTML on it. I'm merely proposing that it might be the > cause and it would certainly be the first thing I would look at fixing. It > would rule out that possibility. > > Dave > > -- > 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 > -- Tim Joseph Dumol http://timdumol.com -- 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] Re: Error message
There's a ticket and patch addressing this exact issue at http://trac.sagemath.org/sage_trac/ticket/9711. On Sat, Aug 28, 2010 at 7:48 PM, Mitesh Patel wrote: > On 08/28/2010 12:42 AM, Rolandb wrote: >> On 28 aug, 02:31, Mitesh Patel wrote: >>> On 08/27/2010 02:57 PM, Rolandb wrote: VMware 3.1.1 with 4.5.1: >>> 2010-08-16 13:01:46-0700 [-] Log opened. 2010-08-16 13:01:46-0700 [-] twistd 9.0.0 (/home/sage/sage/local/bin/ python 2.6.4) starting up. 2010-08-16 13:01:46-0700 [-] reactor class: twisted.internet.selectreactor.SelectReactor. 2010-08-16 13:01:46-0700 [-] twisted.web2.channel.http.HTTPFactory starting on 8000 2010-08-16 13:01:46-0700 [-] Starting factory >>> (firefox:1942): GLib-WARNING **: g_set_prgname() called multiple times 2010-08-16 23:00:37-0700 [HTTPChannel,142,127.0.0.1] /home/sage/sage/ local/lib/python2.6/site-packages/sagenb-0.8.1-py2.6.egg/sagenb/ notebook/worksheet.py:1936: exceptions.UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal 2010-08-27 12:49:12-0700 [HTTPChannel,742,127.0.0.1] Starting zipping a group of worksheets in a separate thread... 2010-08-27 12:49:14-0700 [-] Exception rendering: 2010-08-27 12:49:14-0700 [-] Unhandled Error Traceback (most recent call last): File "/home/sage/sage/local/lib/python/threading.py", line 497, in __bootstrap self.__bootstrap_inner() File "/home/sage/sage/local/lib/python/threading.py", line 525, in __bootstrap_inner self.run() File "/home/sage/sage/local/lib/python/threading.py", line 477, in run self.__target(*self.__args, **self.__kwargs) --- --- File "/home/sage/sage/local/lib/python2.6/site-packages/ Twisted-9.0.0-py2.6-linux-i686.egg/twisted/python/threadpool.py", line 210, in _worker result = context.call(ctx, function, *args, **kwargs) File "/home/sage/sage/local/lib/python2.6/site-packages/ Twisted-9.0.0-py2.6-linux-i686.egg/twisted/python/context.py", line 59, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/home/sage/sage/local/lib/python2.6/site-packages/ Twisted-9.0.0-py2.6-linux-i686.egg/twisted/python/context.py", line 37, in callWithContext return func(*args,**kw) File "/home/sage/sage/local/lib/python2.6/site-packages/ sagenb-0.8.1-py2.6.egg/sagenb/notebook/twist.py", line 1448, in f notebook.export_worksheet(worksheet.filename(), sws_filename) File "/home/sage/sage/local/lib/python2.6/site-packages/ sagenb-0.8.1-py2.6.egg/sagenb/notebook/notebook.py", line 983, in export_worksheet S.export_worksheet(username, id_number, output_filename, title=title) File "/home/sage/sage/local/lib/python2.6/site-packages/ sagenb-0.8.1-py2.6.egg/sagenb/storage/filesystem_storage.py", line 362, in export_worksheet open(worksheet_txt,'w').write(old_heading + open(worksheet_html).read()) > > > Might it help to insert an .encode()/.decode() pair here? > > exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 in position 8037: ordinal not in range(128) >>> Any idea? >>> >>> This appears to have happened when you clicked to "Download All Active" >>> worksheets. Could you try to isolate an individual worksheet that >>> raises this exception by downloading your worksheets individually? I'd >>> start with any worksheets that contain non-ASCII characters in the title >>> or body. >> >> I found 2 individual worksheets with a problem. Just copying the text >> and saving the file worked in 1 case, but with the other worksheet I >> ran into the >> "Bad Request Maximum length of 102400 bytes exceeded" problem. >> http://groups.google.com/group/sage-support/browse_thread/thread/c814c8cf7bc7dd87 >> >> However, the first file is very simple and I didn't use non-ASCII >> characters. > > -- > 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 > -- Tim Joseph Dumol http://timdumol.com -- 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] Re: Error message
On 08/28/2010 12:42 AM, Rolandb wrote: > On 28 aug, 02:31, Mitesh Patel wrote: >> On 08/27/2010 02:57 PM, Rolandb wrote: >>> VMware 3.1.1 with 4.5.1: >> >>> 2010-08-16 13:01:46-0700 [-] Log opened. >>> 2010-08-16 13:01:46-0700 [-] twistd 9.0.0 (/home/sage/sage/local/bin/ >>> python 2.6.4) starting up. >>> 2010-08-16 13:01:46-0700 [-] reactor class: >>> twisted.internet.selectreactor.SelectReactor. >>> 2010-08-16 13:01:46-0700 [-] twisted.web2.channel.http.HTTPFactory >>> starting on 8000 >>> 2010-08-16 13:01:46-0700 [-] Starting factory >>> >> >>> (firefox:1942): GLib-WARNING **: g_set_prgname() called multiple times >>> 2010-08-16 23:00:37-0700 [HTTPChannel,142,127.0.0.1] /home/sage/sage/ >>> local/lib/python2.6/site-packages/sagenb-0.8.1-py2.6.egg/sagenb/ >>> notebook/worksheet.py:1936: exceptions.UnicodeWarning: Unicode equal >>> comparison failed to convert both arguments to Unicode - interpreting >>> them as being unequal >>> 2010-08-27 12:49:12-0700 [HTTPChannel,742,127.0.0.1] Starting zipping >>> a group of worksheets in a separate thread... >>> 2010-08-27 12:49:14-0700 [-] Exception rendering: >>> 2010-08-27 12:49:14-0700 [-] Unhandled Error >>>Traceback (most recent call last): >>> File "/home/sage/sage/local/lib/python/threading.py", line 497, in >>> __bootstrap >>>self.__bootstrap_inner() >>> File "/home/sage/sage/local/lib/python/threading.py", line 525, in >>> __bootstrap_inner >>>self.run() >>> File "/home/sage/sage/local/lib/python/threading.py", line 477, in >>> run >>>self.__target(*self.__args, **self.__kwargs) >>>--- --- >>> File "/home/sage/sage/local/lib/python2.6/site-packages/ >>> Twisted-9.0.0-py2.6-linux-i686.egg/twisted/python/threadpool.py", line >>> 210, in _worker >>>result = context.call(ctx, function, *args, **kwargs) >>> File "/home/sage/sage/local/lib/python2.6/site-packages/ >>> Twisted-9.0.0-py2.6-linux-i686.egg/twisted/python/context.py", line >>> 59, in callWithContext >>>return self.currentContext().callWithContext(ctx, func, *args, >>> **kw) >>> File "/home/sage/sage/local/lib/python2.6/site-packages/ >>> Twisted-9.0.0-py2.6-linux-i686.egg/twisted/python/context.py", line >>> 37, in callWithContext >>>return func(*args,**kw) >>> File "/home/sage/sage/local/lib/python2.6/site-packages/ >>> sagenb-0.8.1-py2.6.egg/sagenb/notebook/twist.py", line 1448, in f >>>notebook.export_worksheet(worksheet.filename(), sws_filename) >>> File "/home/sage/sage/local/lib/python2.6/site-packages/ >>> sagenb-0.8.1-py2.6.egg/sagenb/notebook/notebook.py", line 983, in >>> export_worksheet >>>S.export_worksheet(username, id_number, output_filename, >>> title=title) >>> File "/home/sage/sage/local/lib/python2.6/site-packages/ >>> sagenb-0.8.1-py2.6.egg/sagenb/storage/filesystem_storage.py", line >>> 362, in export_worksheet >>>open(worksheet_txt,'w').write(old_heading + >>> open(worksheet_html).read()) Might it help to insert an .encode()/.decode() pair here? >>>exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xc2 >>> in position 8037: ordinal not in range(128) >> >>> Any idea? >> >> This appears to have happened when you clicked to "Download All Active" >> worksheets. Could you try to isolate an individual worksheet that >> raises this exception by downloading your worksheets individually? I'd >> start with any worksheets that contain non-ASCII characters in the title >> or body. > > I found 2 individual worksheets with a problem. Just copying the text > and saving the file worked in 1 case, but with the other worksheet I > ran into the > "Bad Request Maximum length of 102400 bytes exceeded" problem. > http://groups.google.com/group/sage-support/browse_thread/thread/c814c8cf7bc7dd87 > > However, the first file is very simple and I didn't use non-ASCII > characters. -- 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] Re: Those cookies again...
On 08/28/10 12:27 PM, Tim Joseph Dumol wrote: The invalid HTML is orthogonal to this issue and is merely a typo. The tag merely affects form display semantics and does not have anything to do regarding cookies. Frankly, even http://google.com has invalid HTML: http://validator.w3.org/check?uri=www.google.com&charset=(detect+automatically)&doctype=Inline&group=0 Yes I know. But Google is not presenting a problem. I do not say that writing invalid HTML should be accepted as the norm, but it is pointless to blame the cookie issue on it. I was not blaming the HTML on it. I'm merely proposing that it might be the cause and it would certainly be the first thing I would look at fixing. It would rule out that possibility. Dave -- 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] Re: Those cookies again...
On Sat, Aug 28, 2010 at 5:48 PM, Dr. David Kirkby wrote: > On 08/28/10 05:49 AM, Jason Grout wrote: >> >> On 8/27/10 8:03 AM, kcrisman wrote: >>> >>> >>> On Aug 27, 7:37 am, Jason Grout wrote: On 8/21/10 9:12 PM, kcrisman wrote: > I don't know that we've had as many people complaining about cookies > recently. Maybe this has been fixed. > Unfortunately, we just upgraded our campus server to 4.3 (the latest > VMWare image that we hadn't heard problems about) and apparently it is > hexed by the cookie issue (namely, that it wants you to delete Sage > cookies before it actually lets you log in). I just had this problem on Safari, and the only way I fixed it was to go to safari security preferences and change the cookie handling from accepting cookies "only from sites I visited" to "always". Weird, and it seems like a bug that should be tracked down. >>> >>> +1 >>> >>> I'm glad someone else has seen this recently! It's definitely only in >>> Safari. > > I've seen this problem, though not necessarily on the latest version using > Firefox. So the problem is not unique. I'm pretty sure I've seen it on > > http://t2nb.math.washington.edu:8000/ > > since I updated that to Sage 4.5.1, but I can't be 100% sure on that. > >> One of my students had it in internet explorer today. >> > > To my way of thinking, a developer familiar with the notebook should look > first determine why the login page is not producing valid HTML. The W3C > validator clearly shows this, and two of the three errors are directly on > the fields about username and password. > > If the code sent to the browser is not valid HTML, the behavior of the > browser is undefined. > > One might make changes to the cookie code which fixes this for some browsers > or even all browsers now, but it's anyones guess what will happen long-term > if the sections that requires one to log in are sending invalid data to the > browser. Is it any big surprise the cookies are not working correctly in > this case? The invalid HTML is orthogonal to this issue and is merely a typo. The tag merely affects form display semantics and does not have anything to do regarding cookies. Frankly, even http://google.com has invalid HTML: http://validator.w3.org/check?uri=www.google.com&charset=(detect+automatically)&doctype=Inline&group=0 A few more: * CNN.com http://validator.w3.org/check?uri=http://www.cnn.com&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator/1.1 * NSF: http://validator.w3.org/check?uri=http://www.nsf.gov/&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator/1.1 * Harvard: http://validator.w3.org/check?uri=http://harvard.edu/&charset=(detect+automatically)&doctype=Inline&group=0&user-agent=W3C_Validator/1.1 And so on. I do not say that writing invalid HTML should be accepted as the norm, but it is pointless to blame the cookie issue on it. > >> I wonder if part of the problem had to do with them creating accounts >> directly before trying to log in. > > It's really anyone's guess. But clearly people should be able to create > accounts before or after they try to log in. And people are indeed able to do so. > >> Jason > > Dave > > -- > 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 > -- Tim Joseph Dumol http://timdumol.com -- 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] Symbolic determinant solution
Hi, I am using sage-4.5.1. I need to symbolically find the determinant of a 4 X 4 matrix. So i do something like: sage: mat = [ [-,-,-,-],[-,-,-,-],[-,-,-,-],[-,-,-,-] ] sage: A = matrix(mat) sage: solve(det(A)==0,c) Here c is one of the given algebraic quantities. The solution has been provided in a book as: c^2 = p - q, where p & q are again some algebraic quantities. But sage gives it as c = some algebraic quantity with no square-root sign. So you can see that this removes the possibility of getting comples solutions for c. Even assuming that p > q the answer computed appears different. What am i doing wrong? 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
Re: [sage-support] Re: Those cookies again...
On 08/28/10 05:49 AM, Jason Grout wrote: On 8/27/10 8:03 AM, kcrisman wrote: On Aug 27, 7:37 am, Jason Grout wrote: On 8/21/10 9:12 PM, kcrisman wrote: I don't know that we've had as many people complaining about cookies recently. Maybe this has been fixed. Unfortunately, we just upgraded our campus server to 4.3 (the latest VMWare image that we hadn't heard problems about) and apparently it is hexed by the cookie issue (namely, that it wants you to delete Sage cookies before it actually lets you log in). I just had this problem on Safari, and the only way I fixed it was to go to safari security preferences and change the cookie handling from accepting cookies "only from sites I visited" to "always". Weird, and it seems like a bug that should be tracked down. +1 I'm glad someone else has seen this recently! It's definitely only in Safari. I've seen this problem, though not necessarily on the latest version using Firefox. So the problem is not unique. I'm pretty sure I've seen it on http://t2nb.math.washington.edu:8000/ since I updated that to Sage 4.5.1, but I can't be 100% sure on that. One of my students had it in internet explorer today. To my way of thinking, a developer familiar with the notebook should look first determine why the login page is not producing valid HTML. The W3C validator clearly shows this, and two of the three errors are directly on the fields about username and password. If the code sent to the browser is not valid HTML, the behavior of the browser is undefined. One might make changes to the cookie code which fixes this for some browsers or even all browsers now, but it's anyones guess what will happen long-term if the sections that requires one to log in are sending invalid data to the browser. Is it any big surprise the cookies are not working correctly in this case? I wonder if part of the problem had to do with them creating accounts directly before trying to log in. It's really anyone's guess. But clearly people should be able to create accounts before or after they try to log in. Jason Dave -- 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] Bad Request Maximum length of 102400 bytes exceeded.
On 08/27/2010 06:19 PM, Mitesh Patel wrote: > On 08/27/2010 09:54 AM, didier deshommes wrote: >> My guess is that the web server has a limit on the size of a POST >> request and that you have reached it. Typically this is 1024kb. The >> solution is to increase this limit. I'm not sure how to do that for a >> wsgi application (which I assume sage is). >> >> On Fri, Aug 27, 2010 at 8:09 AM, Stan Schymanski wrote: >>> When trying to change the code of a worksheet in a text editor (using >>> the edit button in the worksheet), I get the following error message >>> whenever I want to save changes: >>> >>> Bad Request >>> Maximum length of 102400 bytes exceeded. >>> >>> Does anyone have an idea what could cause this and how this can be >>> circumvented? > > Just to check: How large is the worksheet, in kilobytes? Didier is right. I've opened http://trac.sagemath.org/sage_trac/ticket/9830 and added a possible workaround/solution in a comment. Didier, if you have a Sage trac account, could you add yourself to the account name-real name map: http://trac.sagemath.org/sage_trac/wiki/WikiStart#AccountNamesmappedtoRealNames ? -- 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