[sage-support] hyper-v-sage-deluxe-3
Hi all, Right now I'm building Sage 3.0 on Xubuntu 8.04 Server LTS on Hyper-V, Microsoft's new virtualization platform. So far it looks to be roughly half the size as the VMWare version (we'll see once I discard all the various build snapshots along the way), and unlike VMWare workstation is able to properly resize X-Window display. It's currently built using the legacy network adapter (due to no Integration services tools yet), which shouldn't really affect performance, but is something that can be looked at. If you run Windows Server 2008 the Hyper-V image should be instantly runnable. I took the long-way round, that is, I built the image from scratch with the Linux install directions, rather than just porting over my VMWare image (which can be done, but gets messy due to virtual SCSI-virtual IDE issues, which seems to have been fixed recently). If you have any suggestions or comments on this, send them over, otherwise I'll post a build to the Sage site whenever I get this to work. Cheers, Adam -- Invincibility is in oneself, vulnerability in the opponent. -- Sun Tzu --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Performance problem, and a more basic question.
Hi, I have developed a visual application to demonstrate the Runge phenomena and how to cure it (by Tchebychev approximation). It is inspired by the nice demonstration of the Taylor series you can find here: http://www.sagemath.org/tour-education.html There is one part which computes the Newton interpolation: def NewtonInterpolation(x,y,f): poly=f[0] q=1 s=f[0:len(f)] stride=1 for k in range(len(f)-1,0,-1): for i in range(k): s[i]=(s[i+1]-s[i])/(y[i+stride]-y[i]) q*=(x-y[stride-1]) poly+=s[0]*q stride+=1 return poly.factor() and an other part, the interactive one, which starts by @interact The full code can be found here: http://math.univ-lyon1.fr/~tdumont/sageproblems/ The result is very very slow... (about 10 seconds with 17 points -the machine is slow -1ghz-). I have tried different improvements: -factorisation of the polynomial -numerical computations (.n()) with very few results. It seems that the @interact part takes a lot of time. Is there any possibility to improve it? My other question: If I look at what is running during the computation, I find that the python interpreter is computing, but also the lisp (lisp.run). Why the lisp ? Yours, very sincerely. -- Thierry Dumont. Institut Camille Jordan -- Mathematiques-- Univ. Lyon I,43 Bd du 11 Novembre 1918, 69622 - Villeurbanne Cedex - France. [EMAIL PROTECTED] web: http://math.univ-lyon1.fr/~tdumont begin:vcard fn:Thierry Dumont n:Dumont;Thierry org;quoted-printable:CNRS - Universit=C3=A9 Lyon 1.;Institut Camille Jordan adr:;;43 Bd du 11 Novembre;Villeurbanne Cedex;F;69621;France email;internet:[EMAIL PROTECTED] title;quoted-printable:Ing=C3=A9nieur de Recherche/Research Ingeneer x-mozilla-html:FALSE url:http://math.univ-lyon1.fr/~tdumont version:2.1 end:vcard smime.p7s Description: S/MIME Cryptographic Signature
[sage-support] Re: Performance problem, and a more basic question.
Very interesting... but, I think you sent me a copy of my worksheet... Yours, very sincerely While the name is the same, it's a different worksheet. Anyways, here's the faster code: def NewtonInterpolation(x,y,f): poly=f[0] q=1 s=f[0:len(f)] stride=1 for k in range(len(f)-1,0,-1): for i in range(k): s[i]=(s[i+1]-s[i])/(y[i+stride]-y[i]) q*=(x-y[stride-1]) poly+=s[0]*q stride+=1 return poly x = var('x') fonc = 1/(1+25*x^2) ffonc = fonc._fast_float_('x') x = RDF['x'].gen() pf = plot(fonc,-1,1, thickness=1,color='red') @interact def Unif(points=(3..40)): t = cputime() pi = RDF.pi() y=[RDF(-1+2*i/(points-1)) for i in range(points)] col=point([(y[i],0) for i in range(points)],rgbcolor='red',pointsize=30) p = NewtonInterpolation(x, y, [ffonc(z) for z in y]) html('$%s$'%latex('Le phenomene de Runge')) html('Interpolation polynomiale, points de collocation equidistants, et') html('interpolation polynomiale aux points de Tchebychev.') html('$f(x)\;=\;%s$'%latex(fonc)) print points,' points.' pp= plot(p,-1,1, thickness=1) show(col+pp+pf,ymin=-1,ymax=1.5) ytche=[cos(i*pi/(points-1)) for i in range(points)] coltche=point([(ytche[i],0) for i in range(points)],rgbcolor='red',pointsize=30) ptche=NewtonInterpolation(x,ytche,[ffonc(z) for z in ytche]) pptche= plot(ptche,-1,1, thickness=1) show(coltche+pf+pptche,ymin=-1,ymax=1.5) print cputime()-t --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Python Modules
On 15 Jul., 04:38, mabshoff [EMAIL PROTECTED] dortmund.de wrote: On Jul 14, 7:13 pm, Robert Bradshaw [EMAIL PROTECTED] wrote: Hi, Sage comes with all the modules it needs, as well as Python itself. Does this apply even to the VMware Player version? I would guess that is not the expected answer even though Robert does answer the question. So: What are you trying to do? Run a native version of Sage on Windows? Use some of the modules of Sage (numpy, sympy, ) with your Python install on Windows? Cheers, Michael I am running a local sage notebook server with the VMware Player. My problem is, that nearly none of the built-in functions, as e.g. view() or diff() works. When I type in view? and press tab then, it tells me File:/usr/local/sage/local/lib/python2.5/site-packages/sage/ misc/latex.py (...) . I thought the cause it doesn't work might be that neither this file nor even the directory /site-packages/ sage/... does exist on my Python installation. thank you for responding Sincere regards Jonas --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] call for success stories
Hi, I'm working on the Sage website. I am searching for interesting content and this time I want to ask everyone who has used Sage for his or her research or in education in class to write a short success story. It should talk about how it was used and the general and personal experience. Just some sentences to give new users a first impression of Sage. thanks and greetings, Harald --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage does not start from desktop icon
Hello Alejandro, what happens, if you enter the command notebook(open_viewer=True) at the sage console? Also try: properties of the Icon, Application tab, Advanced options, Do not close when command exits. Watch for error messages. I have a certain suspicion, that sage tries to open a viewer, that does not exist. You can set the viewer with the environment variable SAGE_BROWSER, for example (one single line at the unix console): SAGE_BROWSER=firefox sage -c notebook(open_viewer=True) which execute the command after the -c option. Try a full path instead of firefox, if there are problems. Also try: sage -c notebook() Another possibility is: sage -notebook If one of these works (the last two are equivalent to 1. starting sage 2. executing notebook() and this seems to work for you), use one of the two lines in your SAGE-notebook.desktop file, for example: Exec=/usr/local/bin/sage -notebook With best regards, Lars --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: hyper-v-sage-deluxe-3
On Jul 14, 11:26 pm, Adam Getchell [EMAIL PROTECTED] wrote: Hi all, Hi Adam, Right now I'm building Sage 3.0 on Xubuntu 8.04 Server LTS on Hyper-V, Microsoft's new virtualization platform. So far it looks to be roughly half the size as the VMWare version (we'll see once I discard all the various build snapshots along the way), and unlike VMWare workstation is able to properly resize X-Window display. It's currently built using the legacy network adapter (due to no Integration services tools yet), which shouldn't really affect performance, but is something that can be looked at. Nice. If you run Windows Server 2008 the Hyper-V image should be instantly runnable. I took the long-way round, that is, I built the image from scratch with the Linux install directions, rather than just porting over my VMWare image (which can be done, but gets messy due to virtual SCSI-virtual IDE issues, which seems to have been fixed recently). If you have any suggestions or comments on this, send them over, otherwise I'll post a build to the Sage site whenever I get this to work. Is the image 32 or 64 bit? It would be nice to have a 64 bit image since at least now all the VMWare images I am aware of are 32 bits. Making such an image in 64 bit is not a technical problem, but so far no one has stepped forward to provide one. Cheers, Adam Cheers, Michael Invincibility is in oneself, vulnerability in the opponent. -- Sun Tzu --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Python Modules
On Jul 14, 10:12 pm, JonasMo [EMAIL PROTECTED] wrote: On 15 Jul., 04:38, mabshoff [EMAIL PROTECTED] wrote: On Jul 14, 7:13 pm, Robert Bradshaw [EMAIL PROTECTED] wrote: Hi, Hi Jonas, Sage comes with all the modules it needs, as well as Python itself. Does this apply even to the VMware Player version? Yes, but Sage is installed into a Linux image runnning in VMWare. I would guess that is not the expected answer even though Robert does answer the question. So: What are you trying to do? Run a native version of Sage on Windows? Use some of the modules of Sage (numpy, sympy, ) with your Python install on Windows? Cheers, Michael I am running a local sage notebook server with the VMware Player. My problem is, that nearly none of the built-in functions, as e.g. view() or diff() works. When I type in view? and press tab then, it tells me File: /usr/local/sage/local/lib/python2.5/site-packages/sage/ misc/latex.py (...) . I thought the cause it doesn't work might be that neither this file nor even the directory /site-packages/ sage/... does exist on my Python installation. thank you for responding Sincere regards Jonas Ok, the usual way to use the VMWare image of Sage is via the notebook. While the command line is a possibility using all features of Sage from the notebook is much more convenient as you just found out. Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] bug in public notebook
Hi there, it seems PolyBoRi is broken in the public notebook: sage: sr = mq.SR(2,1,1,4,gf2=True) sage: F,s = sr.polynomial_system() sage: R= F.ring() sage: B = BooleanPolynomialRing(R.ngens(), R.variable_names(), order=lex) sage: F2 = B.ideal([B(f) for f in F]) # PolyBoRi sage: F2.groebner_basis() Traceback (click to the left for traceback) ... ImportError: No module named polybori.gbcore while the same computation works for me locally. Any idea? Cheers, Martin PS: The above example may fail with a ZeroDivisionError, in that case try again. This exception is expected and wanted. -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x8EF0DC99 _www: http://www.informatik.uni-bremen.de/~malb _jab: [EMAIL PROTECTED] --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: hyper-v-sage-deluxe-3
On Tue, Jul 15, 2008 at 5:17 AM, mabshoff [EMAIL PROTECTED] wrote: Is the image 32 or 64 bit? It would be nice to have a 64 bit image It is 64-bit. since at least now all the VMWare images I am aware of are 32 bits. Making such an image in 64 bit is not a technical problem, but so far no one has stepped forward to provide one. Glad to be of help. I'm running /.sage -testall right now, so far things are looking good! I should have an image for people to try later today. Cheers, Michael Adam -- Invincibility is in oneself, vulnerability in the opponent. -- Sun Tzu --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage does not start from desktop icon
Hello Lars what happens, if you enter the command notebook(open_viewer=True) at the sage console? The notebook opens the same, apparently, as with the command 'notebook()'. Also try: properties of the Icon, Application tab, Advanced options, Do not close when command exits. Watch for error messages. Right now I am in Gnome, and Properties of the Icon does not have an Application tab. I will switch to KDE and tell you later. I have a certain suspicion, that sage tries to open a viewer, that does not exist. You can set the viewer with the environment variable SAGE_BROWSER, for example (one single line at the unix console): SAGE_BROWSER=firefox sage -c notebook(open_viewer=True) which execute the command after the -c option. OK. This is bash and Debian Etch has Iceweasel, not Firefox...iceweasel is in the path. Then I executed at the shell: export SAGE_BROWSER='iceweasel sage -c notebook(open_viewer=True)' This sets the SAGE_BROWSER environment variable, but does not improve making the icon work. Also try: sage -c notebook() This is curious. I get this output on the console: === The notebook files are stored in: /home/jakubi/.sage//sage_notebook ** ** * Open your web browser to http://localhost:8000 * ** ** 2008-07-15 13:09:22+ [-] Log opened. 2008-07-15 13:09:22+ [-] twistd 8.0.1 (/usr/local/sage-3.0.2- debian32-intelx86-i686-Linux/local/bin/python 2.5.2) starting up 2008-07-15 13:09:22+ [-] reactor class: class 'twisted.internet.selectreactor.SelectReactor' 2008-07-15 13:09:22+ [-] twisted.web2.channel.http.HTTPFactory starting on 8000 2008-07-15 13:09:22+ [-] Starting factory twisted.web2.channel.http.HTTPFactory instance at 0xb6b33a4c === Then a new Iceweasel window opens with the Sage group homepage (http:// www.sage.com/ ) in the first tab and my worksheet list (http:// localhost:8000/home/admin/) in the second tab. With Ctrl-C in the sage console, it closes with these messages: === 2008-07-15 13:15:34+ [-] Saving notebook... 2008-07-15 13:15:34+ [-] Saving notebook... 2008-07-15 13:15:34+ [-] Notebook cleanly saved. 2008-07-15 13:15:34+ [-] Notebook cleanly saved. 2008-07-15 13:15:34+ [-] Main loop terminated. 2008-07-15 13:15:34+ [-] Server Shut Down. === Another possibility is: sage -notebook The same effect. use one of the two lines in your SAGE-notebook.desktop file, for example: Exec=/usr/local/bin/sage -notebook This works: it opens the worksheet list in a new tab (in the same Iceweasel window where I am editing this post). It has not opened a Sage group tab (I will see again when I post and close Iceweasel). Regards, Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage does not start from desktop icon
Confirmed, with Exec=/usr/local/bin/sage -notebook in the SAGE-notebook.desktop file, it opens a Gnome terminal window with the messages copied in to the previous post and it opens Iceweasel with the worksheet list. Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage does not start from desktop icon
Lars, Also try: properties of the Icon, Application tab, Advanced options, Do not close when command exits. Watch for error messages. Now in KDE I have done this and got this error message in the konsole: === File /home/jakubi/notebook.py, line 3 notebook(open viewer=True) ^ SyntaxError: invalid syntax === The other form of desktop file does not work yet here as it opens Konqueror, which gives some other errors. Presumably this is well known (because of the advise to use Firefox). I will see to change the (default) browser to Icewasel in KDE also. Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage does not start from desktop icon
open_viewer=True the underscore was missing On Tue, Jul 15, 2008 at 10:24 AM, Alejandro Jakubi [EMAIL PROTECTED] wrote: Lars, Also try: properties of the Icon, Application tab, Advanced options, Do not close when command exits. Watch for error messages. Now in KDE I have done this and got this error message in the konsole: === File /home/jakubi/notebook.py, line 3 notebook(open viewer=True) ^ SyntaxError: invalid syntax === The other form of desktop file does not work yet here as it opens Konqueror, which gives some other errors. Presumably this is well known (because of the advise to use Firefox). I will see to change the (default) browser to Icewasel in KDE also. Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage does not start from desktop icon
Thank you, that was. I have removed notebook.py that was generated wrong (see above) and clicking on the icon makes the notebook session open. However, it still opens a console window that remains after I close the notebook session. I can close it with Ctrl-C. Is this the expected behavior? If unavoidable that this console window opens, is it possible to get it open minimized and close automatically when I close the notebook? Also, the link http://www.sagemath.org/art/ after this sentence For a picture for your icon, check out the Sage art at, in http://www.sagemath.org/doc/html/inst/node11.html is broken Where do I get the Sage icon picture? Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Spam bots
Sage seems to be used for creating spam bots. In particular, the FrontPage in Maple Wiki was corrupted yesterday from 193.53.87.109 with spam ending with CategorySage, see http://mapleadvisor.com/cgi-bin/moin.cgi/FrontPage?action=diffrev1=3rev2=4 Alec Mihailovs --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Spam bots
On Tue, Jul 15, 2008 at 4:03 PM, Alec Mihailovs [EMAIL PROTECTED] wrote: Sage seems to be used for creating spam bots. In particular, the FrontPage in Maple Wiki was corrupted yesterday from 193.53.87.109 with spam ending with CategorySage, see http://mapleadvisor.com/cgi-bin/moin.cgi/FrontPage?action=diffrev1=3rev2=4 I'm not sure what you mean by Sage is being used to create spam bots. Since you already had a CategorySage on your wiki, I don't see any evidence that this is related to Sage in any way. --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Spam bots
http://mapleadvisor.com/cgi-bin/moin.cgi/FrontPage?action=diffrev1=3rev2=4 I'm not sure what you mean by Sage is being used to create spam bots. Since you already had a CategorySage on your wiki, I don't see any evidence that this is related to Sage in any way. First, I didn't have CategorySage there. Second, look at the added text - CategorySage was added as a part of the spam. Alec --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Spam bots
Still, the spam text contained it. I don't think that a bot was searching for the pages in the wiki and randomly chose that one. My guess is that the spam bot wanted to assign its page to a category, and it can easily find the already existing categories on your wiki from http://mapleadvisor.com/cgi-bin/moin.cgi/CategoryCategory --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] sage: in the notebook input
May be a bug or expected behavior, I do not know. I have pasted the example of Tachyon 3D plotting here: http://www.sagemath.org/doc/html/const/node19.html to a notebook input region in this way: === sage: f = lambda t: (t,t^2,t^3) sage: t = Tachyon(camera_center=(5,0,4)) sage: t.texture('t') sage: t.light((-20,-20,40), 0.2, (1,1,1)) sage: t.parametric_plot(f,-5,5,'t',min_depth=6) t.show() === The last line without the sage: string as it copied from the middle of a sentence. I have read somewhere that this sage: need not be removed when copying input (presumably it is removed by parsing). So I have though that it is indifferent whether it is there or not. But when executed within the notebook interface I do not get any output. Surprisingly, when pasted and executed in the console interface, it produces the plot (shown in a window). I have realized that adding sage: to the last line makes it work in the notebook: the plot is shown below the input region. So, is this the expected behavior? Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Spam bots
My guess is that the spam bot wanted to assign its page to a category, and it can easily find the already existing categories on your wiki from http://mapleadvisor.com/cgi-bin/moin.cgi/CategoryCategory That could happen, with probability 20%. Alec --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Spam bots
On Tue, Jul 15, 2008 at 4:55 PM, Alec Mihailovs [EMAIL PROTECTED] wrote: That could happen, with probability 20%. I guess in the end I'm not sure what you wanted to accomplish with this thread. Are you saying that there is an individual associated to the Sage project that is spamming your wiki? Or that there is code in Sage designed to spam your wiki? Or ...? --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Spam bots
I guess in the end I'm not sure what you wanted to accomplish with this thread. Are you saying that there is an individual associated to the Sage project that is spamming your wiki? Or that there is code in Sage designed to spam your wiki? Or ...? First, I wanted to know if there were other similar cases known. Second, what would you do in a similar case, if say, your wiki got spammed with some text ending CathegoryMathematica? Alec --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Spam bots
On Jul 15, 3:13 pm, Alec Mihailovs [EMAIL PROTECTED] wrote: I guess in the end I'm not sure what you wanted to accomplish with this thread. Are you saying that there is an individual associated to the Sage project that is spamming your wiki? Or that there is code in Sage designed to spam your wiki? Or ...? First, I wanted to know if there were other similar cases known. Any MoinMoin based wiki gets many attempts to have it defaced, that has nothing to do with Sage. In case of the vandalism you suggested Sage had something to do with: * 193.53.87.109 is from an Indian IP space * 78.157.143.233 is from a Latvian IP space and I doubt anybody needs Sage to write a Spam bot in Python - if it even were written in Python. But having posted the url here and in other newsgroups to let people know it exists has only raise its profile with spammers. Such is life on the internet :) Second, what would you do in a similar case, if say, your wiki got spammed with some text ending CathegoryMathematica? Disabled automated account creation and turn on the text captcha. Just because a spam bot uses a category X it has nothing to do with X. It seems kind of counter productive to be associated with the culprit in the first place. If *I* were to write a Sage spambot I would have it claim to be MMA as a diversion tactic ;) Alec Cheers, Michael --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Spam bots
Disabled automated account creation and turn on the text captcha. Just because a spam bot uses a category X it has nothing to do with X. It seems kind of counter productive to be associated with the culprit in the first place. If *I* were to write a Sage spambot I would have it claim to be MMA as a diversion tactic ;) That's a good advise, thank you. I'll turn on the captcha. Alec PS Frankly, knowing some of (young) Sage contributors (from their other Usenet and wiki activities), I suspected that they might have to do something with that spam bot - but you were very convincing, and now I am not that sure about that -Alec --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: How to get fast integers and rationals?
Thank you David and Jason. On Jul 12, 2:25 pm, David Harvey [EMAIL PROTECTED] wrote: If you build from source, you can apply the attached patch file to get future division *everywhere* in the notebook. Will the patch work if one simply applies it to the file SAGEROOT/ devel/sage-main/build/sage/server/notebook? I'm just using the version I downloaded from sagemath.org, which did not need to be compiled in any way. Glad to know people are aware of this. Anyone know if there's an official feature request on Trac? If not I'll try to get an account and add it... Best wishes, Mats On Jul 12, 3:01 pm, David Harvey [EMAIL PROTECTED] wrote: On Jul 12, 2008, at 2:48 PM, Jason Grout wrote: David Harvey wrote: On Jul 12, 2008, at 1:22 PM,Matswrote: Clarification: I would like fast intsreals, with 2/3=0., and not 2/3=0, but I cannot figure out how to do this in notebook mode. HiMats, If you build from source, you can apply the attached patch file to get future division *everywhere* in the notebook. This is an ugly hack though, and won't go into Sage as is. For a permanent solution, one possibility is to add a % futuredivision command that you could enter at the top of the cell. The problem is, under the current framework, this would only affect that cell, which is probably not what you want. I think that if you did an import, something like in your patch, it would affect all calculations after that. So if you implemented a %futuredivision percenterator (David's term, not mine :), then it would break the convention that %thingy only affects the current cell. I suppose one could add a flag to the notebook() function, which affects everything served by that server. But that function already has so many parameters. I'm not a notebook expert, so I don't want to wade into this david --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: How to get fast integers and rationals?
On Jul 15, 2008, at 10:36 PM, Mats wrote: Thank you David and Jason. On Jul 12, 2:25 pm, David Harvey [EMAIL PROTECTED] wrote: If you build from source, you can apply the attached patch file to get future division *everywhere* in the notebook. Will the patch work if one simply applies it to the file SAGEROOT/ devel/sage-main/build/sage/server/notebook? I'm just using the version I downloaded from sagemath.org, which did not need to be compiled in any way. I don't know. I'm not a sage build guru. You could try it and see :-) Glad to know people are aware of this. Anyone know if there's an official feature request on Trac? If not I'll try to get an account and add it... Not that I know of. You should definitely add it to trac. david --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] VMware
Hi, Is there someone able to update the VMware version from 3.0.3 to 3.0.5 ? William will not be able to do it for while been away from his office...Old Windows users, like me, can only count on VMware version for the moment... Kindest regards, Marc p.s. I apologize to all for using this forum for such a demand... --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Sage and Maple
Following the instructions in the section Interface to Maple of the Sage Reference Manual: http://www.sagemath.org/doc/html/ref/module-sage.interfaces.maple.html I have executed maple.[tab] both in the console and notebook interface. At present the command maple in my path is a link to the Maple 9.5 console UI executable. Apparently this maple.[tab] command makes a scan of the Maple library, but the result of this operation changes from one execution to the other. Eg. in the console interface I get messages like: === sage: maple. Display all 1412 possibilities? (y or n) === most of the times, but I have got also: === sage: maple. Display all 1698 possibilities? (y or n) === Executed in the notebook interface, I get a grey box with about 650 entries. I would like to transfer these listings to a text file for a better analysis of this output. Is there a simple way? On the one hand, it is clear that these listings cover only a part of the contents of the library. I see that some are top level commands, some other ones are package commands, and there are also other things as options of data structures. I wonder why. On the other hand, I would like to compare the output using different versions of Maple. Regards, Alejandro ... --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage and Maple
Hello Alejandro, I would like to transfer these listings to a text file for a better analysis of this output. Is there a simple way? If you run maple.trait_names(), you'll get a Python list where each entry is a string of the name. To see how that list is created, you'll want to do sage: maple.trait_names?? sage: maple._commands?? sage: maple.completions?? Note that the list of completions is cached the very first time it is created so you may want to delete it from your ~/.sage/ directory. --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage and Maple
Hello Mike If you run maple.trait_names(), you'll get a Python list where each entry is a string of the name. Fine, thank you. I can select the output in the notebook interface and paste it on an editor. Note that the list of completions is cached the very first time it is created so you may want to delete it from your ~/.sage/ directory. I see a binary file maple_commandlist_cache.sobj. Is this one? Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] Re: Sage and Maple
Note that the list of completions is cached the very first time it is created so you may want to delete it from your ~/.sage/ directory. I see a binary file maple_commandlist_cache.sobj. Is this one? Yep, that's the one. --Mike --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---
[sage-support] show typesetted output
I have met some strange behavior using the command 'show' to typeset the output ( I have the jsmath fonts installed and they work fine). Testing integration with Maple within the notebook interface I have tried: show(maple.int(x,x)) and I get 1/2*x^2 typesetted using in TeX fonts, fine. But then I do: show(maple.int('1/sqrt(2*t^4 - 3*t^2 - 2), t=2..3' )) and I get the LaTeX code instead: 1/5\,\sqrt {5}{\it EllipticF} \left( 1/3\,\sqrt {7},1/5\,\sqrt {5} \right) -1/5\,\sqrt {5}{\it EllipticF} \left( 1/2\,\sqrt {2},1/5\, \sqrt {5} \right) However, in this way: maple.int('1/sqrt(2*t^4 - 3*t^2 - 2), t=2..3' ) show(_) The output is typesetted. Why? (This is Sage 3.0.2) By the way, the LaTeX output produced by Maple is not good (eg the function names should not go in italics). Regards, Alejandro --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---