[sage-support] Re: desolve - my missunderstanding or a bug in Sage?
> about Python or Mercurial either. If you don't have a Trac account, > email William privately for one, and then you can log this as a ticket > and create a patch. In the meantime the documentation for doing very > basic patches is pretty good in the developer's guide, which I think > is linked on sagemath.org as well as in the documentation included > with your Sage installation. > > Good luck! Thanks, I asked for the Trac account and will try to fix the problem. Robert > > - kcrisman > --~--~-~--~~~---~--~~ 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: Sage fails to compile on CentOS 4.7
On Sat, Oct 3, 2009 at 3:51 PM, Jeff Post wrote: > Hi all. After about an hour and a half of compiling, the build fails with > errors due to segmentation faults in some test programs. The relevant > information from the install log is attached. > > Any help greatly appreciated. > > Thanks, > Jeff Your compiler (3.4.6 on centos) is unfortunately old and buggy. Please upgrade to a gcc 4.x compiler then start a fresh build (e.g., "make distclean"). William --~--~-~--~~~---~--~~ 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: desolve - my missunderstanding or a bug in Sage?
On Oct 3, 6:10 pm, "ma...@mendelu.cz" wrote: > On 3 říj, 23:22, "ma...@mendelu.cz" wrote: > > > > > I have not enought skill in Python, Sage, hg and related thinks. Is > > there any person interested in the problem, which sould like to try > > this? > > The following code works in Sage > > y=function('y',x) > k1,k2=var('k1 k2') > x0,y0,y1=0,1,2# initial conditions y(x0)=y0 and y'(x0)=y1 > eq=diff(y,x,2)+3*diff(y,x)-4*y==exp(x) > A=desolve(eq,y) > sols_k=solve([y0==A.subs(x=x0),y1==diff(A,x).subs(x=x0)], > [k1,k2],solution_dict=True) > A=A.subs(k1=sols_k[0][k1]).subs(k2=sols_k[0][k2]) > A > > So I think that the following lines from definition of desolve in Sage > (obtained from desolve??) > > ics = to_eqns([ivar, dvar, dvar.derivative(ivar)], ics) > soln = soln.ic2(*ics) > > could be replaced by something like > > sols_k=solve([ics[1]==soln.subs(x=ics[0]),ics[2]==diff(soln,x).subs > (x=ics[0])],\[k1,k2],solution_dict=True) > soln=soln.subs(k1=sols_k[0][k1]).subs(k2=sols_k[0][k2]) > It sounds like you understand it at least as well as anyone responding so far. Why not give it a go? I never thought I would know enough about Python or Mercurial either. If you don't have a Trac account, email William privately for one, and then you can log this as a ticket and create a patch. In the meantime the documentation for doing very basic patches is pretty good in the developer's guide, which I think is linked on sagemath.org as well as in the documentation included with your Sage installation. Good luck! - kcrisman > and this should work at least for linear second order ODE, where IVP > has unique solution (I am not sure if desolve solves also some > nolinear ODE's). Perhaps with a test that the solution sols_k exists > and is unique (which is IMHO allways true for linear ODE's). > > Yours sincerelly > > Robert Marik > > > > > Robert Marik --~--~-~--~~~---~--~~ 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] Sage fails to compile on CentOS 4.7
Hi all. After about an hour and a half of compiling, the build fails with errors due to segmentation faults in some test programs. The relevant information from the install log is attached. Any help greatly appreciated. Thanks, Jeff --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~--- Finished extraction Host system uname -a: Linux localhost.localdomain 2.6.9-89.0.11.ELsmp #1 SMP Tue Sep 15 07:16:37 EDT 2009 i686 i686 i386 GNU/Linux CC Version gcc -v Reading specs from /usr/lib/gcc/i386-redhat-linux/3.4.6/specs Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --disable-checking --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-java-awt=gtk --host=i386-redhat-linux Thread model: posix gcc version 3.4.6 20060404 (Red Hat 3.4.6-11) configure: creating ./config.status config.status: creating Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands make[2]: Entering directory `/home/jeff/math/sage-4.1.1/spkg/build/libm4ri-20090617/src' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT brilliantrussian.lo -MD -MP -MF .deps/brilliantrussian.Tpo -c -o brilliantrussian.lo `test -f 'src/brilliantrussian.c' || echo './'`src/brilliantrussian.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT brilliantrussian.lo -MD -MP -MF .deps/brilliantrussian.Tpo -c src/brilliantrussian.c -fPIC -DPIC -o .libs/brilliantrussian.o In file included from src/brilliantrussian.c:22: src/misc.h:367:1: warning: "CPU_L1_CACHE" redefined In file included from src/misc.h:33, from src/brilliantrussian.c:22: src/config.h:5:1: warning: this is the location of the previous definition src/brilliantrussian.c: In function `mzd_invert_m4ri': src/brilliantrussian.c:869: warning: 'answer' might be used uninitialized in this function libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT brilliantrussian.lo -MD -MP -MF .deps/brilliantrussian.Tpo -c src/brilliantrussian.c -o brilliantrussian.o >/dev/null 2>&1 mv -f .deps/brilliantrussian.Tpo .deps/brilliantrussian.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c -o misc.lo `test -f 'src/misc.c' || echo './'`src/misc.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c src/misc.c -fPIC -DPIC -o .libs/misc.o In file included from src/misc.c:31: src/misc.h:367:1: warning: "CPU_L1_CACHE" redefined In file included from src/misc.h:33, from src/misc.c:31: src/config.h:5:1: warning: this is the location of the previous definition libtool: compile: gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT misc.lo -MD -MP -MF .deps/misc.Tpo -c src/misc.c -o misc.o >/dev/null 2>&1 mv -f .deps/misc.Tpo .deps/misc.Plo /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I./src -I/home/jeff/math/sage-4.1.1/local/include/ -std=c99 -mmmx -msse -msse2 -msse3 -fPIC -I/home/jeff/math/sage-4.1.1/local/include/ -L/home/jeff/math/sage-4.1.1/local/lib -Wall -pedantic -g -O2 -MT packedmatrix.lo -MD -MP -MF .deps/packedmatrix.Tpo -c -o packedmatrix.lo `test -f 'src/packedmatrix.c' || echo './'`s
[sage-support] Re: desolve - my missunderstanding or a bug in Sage?
On 3 říj, 23:22, "ma...@mendelu.cz" wrote: > > I have not enought skill in Python, Sage, hg and related thinks. Is > there any person interested in the problem, which sould like to try > this? The following code works in Sage y=function('y',x) k1,k2=var('k1 k2') x0,y0,y1=0,1,2# initial conditions y(x0)=y0 and y'(x0)=y1 eq=diff(y,x,2)+3*diff(y,x)-4*y==exp(x) A=desolve(eq,y) sols_k=solve([y0==A.subs(x=x0),y1==diff(A,x).subs(x=x0)], [k1,k2],solution_dict=True) A=A.subs(k1=sols_k[0][k1]).subs(k2=sols_k[0][k2]) A So I think that the following lines from definition of desolve in Sage (obtained from desolve??) ics = to_eqns([ivar, dvar, dvar.derivative(ivar)], ics) soln = soln.ic2(*ics) could be replaced by something like sols_k=solve([ics[1]==soln.subs(x=ics[0]),ics[2]==diff(soln,x).subs (x=ics[0])],\[k1,k2],solution_dict=True) soln=soln.subs(k1=sols_k[0][k1]).subs(k2=sols_k[0][k2]) and this should work at least for linear second order ODE, where IVP has unique solution (I am not sure if desolve solves also some nolinear ODE's). Perhaps with a test that the solution sols_k exists and is unique (which is IMHO allways true for linear ODE's). Yours sincerelly Robert Marik > > Robert Marik > --~--~-~--~~~---~--~~ 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: desolve - my missunderstanding or a bug in Sage?
This is the definition of ic2 from http://www.math.utexas.edu/pipermail/maxima/2009/015655.html 312 ic2(soln,xa,ya,dya):= 313block([programmode:true,backsubst:true,singsolve:true,temp, %k2,%k1], 314 noteqn(xa), noteqn(ya), noteqn(dya), 315 boundtest('%k1,%k1), boundtest('%k2,%k2), 316 temp: lhs(soln) - rhs(soln), 317 temp: maplist(lambda([zz], subst(zz,soln)), 318 solve([subst([xa,ya],soln), subst([dya,xa], 319lhs(dya)=-subst(0,lhs(dya),diff(temp,lhs(xa))) 320 /diff(temp,lhs(ya)))], 321 [%k1,%k2])), 322 if length(temp)=1 then return(first(temp)) else return (temp))$ so after some tests maxima substitutes initial conditions, solves for constants %k1, %k2 and substitutes these %k1, %k2 into general solution. I am not very skilled in Sage (yet) but I guess that it is not necessary to use ic2 in definition od desolve in Sage, but this stuff can be programmed within Sage. And another realted topic could be [Maxima] Patch to make ic2 work even with i.c. 'y(x)= (fwd) http://www.math.utexas.edu/pipermail/maxima/2009/015655.html I have not enought skill in Python, Sage, hg and related thinks. Is there any person interested in the problem, which sould like to try this? Robert Marik On 3 říj, 16:22, Marshall Hampton wrote: > Yes, the parsing of output from maxima is currently pretty messed up. > I think its fair to say that symbolic ODEs are a real weak point in > Sage right now. I'm not sure when I will have enough time to devote > to really fixing this; my main interest is in using them to teach and > I am not an expert on the CAS side of things. > > One place on trac this is addressed > is:http://trac.sagemath.org/sage_trac/ticket/6479 > > but I think we need someone to do a total redesign at some point. > > -Marshall Hampton > > On Oct 3, 7:14 am, David Joyner wrote: > > > This is a known bug. Marshall and I tried to fix it during a SageDays in > > Seattle but failed to figure out the magic in Robert Bradshaw's code > > for desolve. I think it is "easy to fix for those who know how to fix it > > easily", but that rules me out:-) > > > On Sat, Oct 3, 2009 at 3:30 AM, ma...@mendelu.cz wrote: > > > > Dear sage users and developers > > > > trying to solve y''+4y=0 with initial conditions y(0)=0 and y'(0)=0 > > > > y=function('y',x) > > > eq=diff(y,x,2)+4*y==0 > > > desolve(eq,y,ics=[0,0,0]) > > > > sage returns y(0)*cos(2*x) and not 0 > > > > What is wrong? The help for the desolve command shows the same > > > behavior on slighhtly more complicated example. I think that if I > > > state initial condition at 0, then y(0) is known and I can use this > > > knowledge and simplify answer - in my case into 0 > > > > Thanks > > > > Robert > > --~--~-~--~~~---~--~~ 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: Error gnome launching SAGE
Yes it works with http://localhost:8000, but the message of sage, when you type ./sage is: http:8000 > > I do not understand french error messages, but what about > http://localhost:8000 > and > http://127.0.0.1:8000 > > Is the sage notebook there? > > btw: the french messages are probably not from sage > > Robert Marik > > > On 3 Å™Ãj, 12:40, Michel Barthélémy Billard Sirakawa > wrote: >> PC emachine >> Fedora 11 >> Sage 4.1.1 fedora 10 >> Gconf is installed >> t(he precompiled version on the sage's site >> typed sage >> then >> notebook() >> had to type a password for the admin. Done >> said to connect web braowser tohttp://8000 >> nothing in the browser and that on the terminal : >> >> /home/bilou/Téléchargement/sage/local/lib/python2.6/site-packages/twisted/persisted/sob.py:12: >> DeprecationWarning: the md5 module is deprecated; use hashlib instead >>  import os, md5, sys >> 2009-10-03 12:00:05+0200 [-] Log opened. >> 2009-10-03 12:00:06+0200 [-] twistd 8.2.0 >> (/home/bilou/Téléchargement/sage/local/bin/python 2.6.2) starting up. >> 2009-10-03 12:00:06+0200 [-] reactor class: >> twisted.internet.selectreactor.SelectReactor. >> 2009-10-03 12:00:06+0200 [-] twisted.web2.channel.http.HTTPFactory >> starting on 8000 >> 2009-10-03 12:00:06+0200 [-] Starting factory >> >> Erreur GConf : Le contact du serveur de configuration a échoué ; >> causes >> possibles : vous n'avez pas activé le réseau TCP/IP pour ORBit ou des >> verrous NFS non valides existent suite à un blocage du système. >> Voirhttp://www.gnome.org/projects/gconf/pour plus d'informations. >> (Détails - >> 1: La connexion à la session a échoué : Did not receive a reply. >> Possible >> causes include: the remote application did not send a reply, the message >> bus security policy blocked the reply, the reply timeout expired, or the >> network connection was broken.) >> Erreur GConf : Le contact du serveur de configuration a échoué ; >> causes >> possibles : vous n'avez pas activé le réseau TCP/IP pour ORBit ou des >> verrous NFS non valides existent suite à un blocage du système. >> Voirhttp://www.gnome.org/projects/gconf/pour plus d'informations. >> (Détails - >> 1: La connexion à la session a échoué : Did not receive a reply. >> Possible >> causes include: the remote application did not send a reply, the message >> bus security policy blocked the reply, the reply timeout expired, or the >> network connection was broken.) >> Erreur à l'affichage de l'URL : Opération non prise en charge >> >> tried :http://defindit.com/readme_files/gconfd_http_launch_howto.html >> but the file : >> .gconf/desktop/gnome/url-handlers/http/%gconf.xml >> is empty on my machine >> >> -- >> Michel Billard >> 60 avenue Dauphine >> 45100 Orléans >> >> Vanitas vanitatum, et omnia vanitas. >> >> http://sibylle.ouvaton.orghttp://poeticopedia.ouvaton.org > > > -- Michel Billard 60 avenue Dauphine 45100 Orléans Vanitas vanitatum, et omnia vanitas. http://sibylle.ouvaton.org http://poeticopedia.ouvaton.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] Re: desolve - my missunderstanding or a bug in Sage?
it seems that sage passes to Maxima something like ic2('y(x)= %k1*sin(2*x)+%k2*cos(2*x),x = 0,'y(x) = 0, D[0]y(0) = 0) and it seems that maxima expects something like ic2(y= %k1*sin(2*x)+%k2*cos(2*x),x = 0,y = 0, anything = 0) Does this help? Robert On 3 říj, 16:22, Marshall Hampton wrote: > Yes, the parsing of output from maxima is currently pretty messed up. > I think its fair to say that symbolic ODEs are a real weak point in > Sage right now. I'm not sure when I will have enough time to devote > to really fixing this; my main interest is in using them to teach and > I am not an expert on the CAS side of things. > > One place on trac this is addressed > is:http://trac.sagemath.org/sage_trac/ticket/6479 > > but I think we need someone to do a total redesign at some point. > > -Marshall Hampton > > On Oct 3, 7:14 am, David Joyner wrote: > > > This is a known bug. Marshall and I tried to fix it during a SageDays in > > Seattle but failed to figure out the magic in Robert Bradshaw's code > > for desolve. I think it is "easy to fix for those who know how to fix it > > easily", but that rules me out:-) > > > On Sat, Oct 3, 2009 at 3:30 AM, ma...@mendelu.cz wrote: > > > > Dear sage users and developers > > > > trying to solve y''+4y=0 with initial conditions y(0)=0 and y'(0)=0 > > > > y=function('y',x) > > > eq=diff(y,x,2)+4*y==0 > > > desolve(eq,y,ics=[0,0,0]) > > > > sage returns y(0)*cos(2*x) and not 0 > > > > What is wrong? The help for the desolve command shows the same > > > behavior on slighhtly more complicated example. I think that if I > > > state initial condition at 0, then y(0) is known and I can use this > > > knowledge and simplify answer - in my case into 0 > > > > Thanks > > > > Robert > > --~--~-~--~~~---~--~~ 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: Error gnome launching SAGE
I do not understand french error messages, but what about http://localhost:8000 and http://127.0.0.1:8000 Is the sage notebook there? btw: the french messages are probably not from sage Robert Marik On 3 říj, 12:40, Michel Barthélémy Billard Sirakawa wrote: > PC emachine > Fedora 11 > Sage 4.1.1 fedora 10 > Gconf is installed > t(he precompiled version on the sage's site > typed sage > then > notebook() > had to type a password for the admin. Done > said to connect web braowser tohttp://8000 > nothing in the browser and that on the terminal : > > /home/bilou/Téléchargement/sage/local/lib/python2.6/site-packages/twisted/persisted/sob.py:12: > DeprecationWarning: the md5 module is deprecated; use hashlib instead > import os, md5, sys > 2009-10-03 12:00:05+0200 [-] Log opened. > 2009-10-03 12:00:06+0200 [-] twistd 8.2.0 > (/home/bilou/Téléchargement/sage/local/bin/python 2.6.2) starting up. > 2009-10-03 12:00:06+0200 [-] reactor class: > twisted.internet.selectreactor.SelectReactor. > 2009-10-03 12:00:06+0200 [-] twisted.web2.channel.http.HTTPFactory > starting on 8000 > 2009-10-03 12:00:06+0200 [-] Starting factory > > Erreur GConf : Le contact du serveur de configuration a échoué ; causes > possibles : vous n'avez pas activé le réseau TCP/IP pour ORBit ou des > verrous NFS non valides existent suite à un blocage du système. > Voirhttp://www.gnome.org/projects/gconf/pour plus d'informations. (Détails - > 1: La connexion à la session a échoué : Did not receive a reply. Possible > causes include: the remote application did not send a reply, the message > bus security policy blocked the reply, the reply timeout expired, or the > network connection was broken.) > Erreur GConf : Le contact du serveur de configuration a échoué ; causes > possibles : vous n'avez pas activé le réseau TCP/IP pour ORBit ou des > verrous NFS non valides existent suite à un blocage du système. > Voirhttp://www.gnome.org/projects/gconf/pour plus d'informations. (Détails - > 1: La connexion à la session a échoué : Did not receive a reply. Possible > causes include: the remote application did not send a reply, the message > bus security policy blocked the reply, the reply timeout expired, or the > network connection was broken.) > Erreur à l'affichage de l'URL : Opération non prise en charge > > tried :http://defindit.com/readme_files/gconfd_http_launch_howto.html > but the file : > .gconf/desktop/gnome/url-handlers/http/%gconf.xml > is empty on my machine > > -- > Michel Billard > 60 avenue Dauphine > 45100 Orléans > > Vanitas vanitatum, et omnia vanitas. > > http://sibylle.ouvaton.orghttp://poeticopedia.ouvaton.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] Re: desolve - my missunderstanding or a bug in Sage?
Yes, the parsing of output from maxima is currently pretty messed up. I think its fair to say that symbolic ODEs are a real weak point in Sage right now. I'm not sure when I will have enough time to devote to really fixing this; my main interest is in using them to teach and I am not an expert on the CAS side of things. One place on trac this is addressed is: http://trac.sagemath.org/sage_trac/ticket/6479 but I think we need someone to do a total redesign at some point. -Marshall Hampton On Oct 3, 7:14 am, David Joyner wrote: > This is a known bug. Marshall and I tried to fix it during a SageDays in > Seattle but failed to figure out the magic in Robert Bradshaw's code > for desolve. I think it is "easy to fix for those who know how to fix it > easily", but that rules me out:-) > > On Sat, Oct 3, 2009 at 3:30 AM, ma...@mendelu.cz wrote: > > > Dear sage users and developers > > > trying to solve y''+4y=0 with initial conditions y(0)=0 and y'(0)=0 > > > y=function('y',x) > > eq=diff(y,x,2)+4*y==0 > > desolve(eq,y,ics=[0,0,0]) > > > sage returns y(0)*cos(2*x) and not 0 > > > What is wrong? The help for the desolve command shows the same > > behavior on slighhtly more complicated example. I think that if I > > state initial condition at 0, then y(0) is known and I can use this > > knowledge and simplify answer - in my case into 0 > > > Thanks > > > Robert --~--~-~--~~~---~--~~ 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: desolve - my missunderstanding or a bug in Sage?
This is a known bug. Marshall and I tried to fix it during a SageDays in Seattle but failed to figure out the magic in Robert Bradshaw's code for desolve. I think it is "easy to fix for those who know how to fix it easily", but that rules me out:-) On Sat, Oct 3, 2009 at 3:30 AM, ma...@mendelu.cz wrote: > > Dear sage users and developers > > trying to solve y''+4y=0 with initial conditions y(0)=0 and y'(0)=0 > > y=function('y',x) > eq=diff(y,x,2)+4*y==0 > desolve(eq,y,ics=[0,0,0]) > > > sage returns y(0)*cos(2*x) and not 0 > > What is wrong? The help for the desolve command shows the same > behavior on slighhtly more complicated example. I think that if I > state initial condition at 0, then y(0) is known and I can use this > knowledge and simplify answer - in my case into 0 > > Thanks > > Robert > > > --~--~-~--~~~---~--~~ 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 gnome launching SAGE
PC emachine Fedora 11 Sage 4.1.1 fedora 10 Gconf is installed t(he precompiled version on the sage's site typed sage then notebook() had to type a password for the admin. Done said to connect web braowser to http://8000 nothing in the browser and that on the terminal : /home/bilou/Téléchargement/sage/local/lib/python2.6/site-packages/twisted/persisted/sob.py:12: DeprecationWarning: the md5 module is deprecated; use hashlib instead import os, md5, sys 2009-10-03 12:00:05+0200 [-] Log opened. 2009-10-03 12:00:06+0200 [-] twistd 8.2.0 (/home/bilou/Téléchargement/sage/local/bin/python 2.6.2) starting up. 2009-10-03 12:00:06+0200 [-] reactor class: twisted.internet.selectreactor.SelectReactor. 2009-10-03 12:00:06+0200 [-] twisted.web2.channel.http.HTTPFactory starting on 8000 2009-10-03 12:00:06+0200 [-] Starting factory Erreur GConf : Le contact du serveur de configuration a échoué ; causes possibles : vous n'avez pas activé le réseau TCP/IP pour ORBit ou des verrous NFS non valides existent suite à un blocage du système. Voir http://www.gnome.org/projects/gconf/ pour plus d'informations. (Détails - 1: La connexion à la session a échoué : Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) Erreur GConf : Le contact du serveur de configuration a échoué ; causes possibles : vous n'avez pas activé le réseau TCP/IP pour ORBit ou des verrous NFS non valides existent suite à un blocage du système. Voir http://www.gnome.org/projects/gconf/ pour plus d'informations. (Détails - 1: La connexion à la session a échoué : Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.) Erreur à l'affichage de l'URL : Opération non prise en charge tried : http://defindit.com/readme_files/gconfd_http_launch_howto.html but the file : .gconf/desktop/gnome/url-handlers/http/%gconf.xml is empty on my machine -- Michel Billard 60 avenue Dauphine 45100 Orléans Vanitas vanitatum, et omnia vanitas. http://sibylle.ouvaton.org http://poeticopedia.ouvaton.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] desolve - my missunderstanding or a bug in Sage?
Dear sage users and developers trying to solve y''+4y=0 with initial conditions y(0)=0 and y'(0)=0 y=function('y',x) eq=diff(y,x,2)+4*y==0 desolve(eq,y,ics=[0,0,0]) sage returns y(0)*cos(2*x) and not 0 What is wrong? The help for the desolve command shows the same behavior on slighhtly more complicated example. I think that if I state initial condition at 0, then y(0) is known and I can use this knowledge and simplify answer - in my case into 0 Thanks Robert --~--~-~--~~~---~--~~ 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: How make notebooks use common base for relative urls? e.g. /foo/login and /foo/register?
On 3 říj, 08:37, William Stein wrote: > On Fri, Oct 2, 2009 at 10:34 PM, Mike Hansen wrote: > > > Hello, > > > On Sat, Oct 3, 2009 at 12:17 PM, Chris Seberino wrote: > > >> The wonderful Sage notebook uses relative urls like > >> /login and /register. How make Sage notebook use relative urls with > >> common base like > >> /foo/login and /foo/register instead? > > >> (This is needed for the Apache proxying I'm trying to do.) > > > This isn't supported. The best solution is just to use Apache's > > mod_rewrite to rewrite the HTTP request before it gets sent to the > > Sage server. > > And here's an example: > > > RewriteEngine On > ServerName sagenb.org > ProxyPass /http://sagenb0:8000/ > ProxyPassReverse /http://sagenb0:8000/ > DocumentRoot / > > DefaultType text/html > > > and perhaps the following line is also necesay in apache2.conf or htpd.conf listen 8000 see http://groups.google.cz/group/sage-support/browse_thread/thread/805a90ee7b3dac01/da40155dd49e90cc?lnk=gst&q=listen+8000#da40155dd49e90cc Robert Marik > William --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---