[sage-support] Re: sage server problem

2010-03-29 Thread gerhard
Don't know if this is related, but the newest freeze symptom seem accompanied by the message PATH/sage/local/lib/python2.6/site-packages/sagenb-0.7.5.1-py2.6.egg/ sagenb/notebook/worksheet.py:1935: exceptions.UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - in

[sage-support] Re: sage server problem

2010-03-27 Thread gerhard
The solution for me was to omit the serverpool=[...] argument -- 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-s

[sage-support] Re: sage server problem

2010-03-20 Thread gerhard
> Why do you want to do this instead of > $ sage -notebook I want to run sage on a remote machine that I and my colleagues can access, potentially (but not necessarily) sharing worksheets? -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

[sage-support] Re: sage server problem

2010-03-20 Thread gerhard
Has nobody encounteres this problem before? Any ideas of how to try and debug this? On Mar 19, 11:37 am, gerhard wrote: > Hi all, > I tried to bring up a server on a new machine: > > compiled sage version 4.3.3 from scratch and tested it. > Starting the server with >

[sage-support] sage server problem

2010-03-19 Thread gerhard
Hi all, I tried to bring up a server on a new machine: compiled sage version 4.3.3 from scratch and tested it. Starting the server with notebooks_start.py import sagenb.notebook.notebook_object as n server_pool=['s...@company.com'] n.notebook( port=8000, accounts=True, interface='',

[sage-support] newbie to cython: wrap int func( int n, float x[] )

2010-03-12 Thread gerhard
Trying to wrap an existing library. I managed to at least get started with a .spyx file as follows: cdef extern from "stdlib.h": void *malloc(size_t size) int free(void*) int sizeof() cdef extern from "func.h": int func( int n, float* x ) cdef doub

[sage-support] Re: build errors for sage 4.0.1 on Fedora 11

2009-06-17 Thread gerhard
for now, I just bandaided the code by adding const_cast expressions. -gerhard --~--~-~--~~~---~--~~ 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

[sage-support] build errors for sage 4.0.1 on Fedora 11

2009-06-17 Thread gerhard
On Fedora 11 with g++ (GCC) 4.4.0 20090506 (Red Hat 4.4.0-4) the build in sage-4.0.1/spkg/build/singular-3-0-4-4-20090511/src/kernel fails (const correctness violations) build log output below --- g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I.

[sage-support] Re: notebook, folding

2009-05-31 Thread gerhard
Below an html file with a mockup of what I am thinking about. Please comment. Also, any browsers out there for which this does not work? Unfortunatly, the dynamic drive usage terms prohibit the use of their script: "Users may NOT, however, redistribute or repost/ resell for download any DHTM

[sage-support] Re: evaluer un polynome en une liste d'une liste de racines

2009-05-29 Thread gerhard
liste d'indices: [ 0, 1, 2, ..., n-1] Exemple: for i in range(n): print l[i] Une liste de listes telle que vous semblez la desirer pourrait s'ecrire p = [[]] p.append( [1,2,3]) print p print 'La liste', p[0], 'contient', len(p[0]), 'elements' -ge

[sage-support] Re: notebook, folding

2009-05-28 Thread gerhard
My knowledge of jquery is currently rudimentary (glanced at a book about a year ago), but I'll try and see what I can come up with for some sort of demo. Might take me a week or two..., depending on available leisure time. -gerhard --~--~-~--~~~---~--~~ To po

[sage-support] Re: notebook, folding

2009-05-26 Thread gerhard
step would be to get sections of a notebook into a ? If this can be made recursive, I believe I would want to be able to fold based on , i=1,2,... since headings using MCE have become easy to add! -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage

[sage-support] notebook, folding

2009-05-25 Thread gerhard
Hi all, might there be an easy way to add folding to the notebook, e.g., using jQuery, maybe introducing folds for html headings? thanks, -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this

[sage-support] Re: Update R to the 2.9 release with milestone Sage 4.0

2009-05-06 Thread gerhard
E_LOCAL/lib -llapack -lcblas" $SUN_FLAGS make vignettes make make install -- cd rpy-1.0.3/ RHOMES="$SAGE_LOCAL"/lib/R; export RHOMES python setup.py install ------ >From R, I then installed the packages I normally use without any further problems

[sage-support] Re: Update R to the 2.9 release with milestone Sage 4.0

2009-05-03 Thread gerhard
I had upgraded my own versions of sage to R 2.8.1 and rpy-1.0.3 quite a while ago. With some info on what is involved in 'how to make this happen', I am willing to help out. -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sa

[sage-support] Re: sage/moin moin wiki, jsmath question

2009-04-21 Thread gerhard
Thank you. Did that. Now I get the wiki, but when I try to create a starting page, I now get a message "You are not allowed to edit this page" Any guess as to the identity of "You?", or rather the directory it is trying to create a page i

[sage-support] Re: sage/moin moin wiki, jsmath question

2009-04-21 Thread gerhard
OK, I tried (and probably did it wrong: I simply copied the spkg into the spkg/optional and ran sage -i moin-1.7.2.p0.spkg) So now I get to figure out how to get rid of it, or simply recompile sage with the next release :-)... --- Any way, the result was as follo

[sage-support] sage/moin moin wiki, jsmath question

2009-04-20 Thread gerhard
about? Thanks, -gerhard --~--~-~--~~~---~--~~ 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] grading homework / latex

2009-04-14 Thread gerhard
emented in sage/misc/latex.py modifying \usepackage for latex then seems nothing more than documenting LATEX_HEADER (or providing a set of function to modify this variable). * Is this correct? * What does SLIDE_HEADER do? Under what circumstance is it invoke

[sage-support] Re: matrix is_mutable() puzzle

2009-04-11 Thread gerhard
I finally saw the problem: m[0,0] I apologize for the wasted bandwidth! -gerhard --~--~-~--~~~---~--~~ 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

[sage-support] matrix is_mutable() puzzle

2009-04-11 Thread gerhard
here? What do I need to do to rescale entries in m? thanks, -gerhard --~--~-~--~~~---~--~~ 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 opti

[sage-support] Re: TinyMCE on Fedora 10/firefox

2009-04-10 Thread gerhard
> Click on the "Help" item at the top right of the notebook.  The > instructions are next to the item HTML.  Looking at it now: I had found those. Blue bar meant "cell" to me, so I had assiduously avoided shift-clicking i

[sage-support] Re: TinyMCE on Fedora 10/firefox

2009-04-10 Thread gerhard
Thank you, Jason! Related to this, I had tried to find info in the documentation with no luck. Is it there somewhere that I missed? -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group

[sage-support] TinyMCE on Fedora 10/firefox

2009-04-10 Thread gerhard
ck? thanks, -gerhard --~--~-~--~~~---~--~~ 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/sa

[sage-support] Re: Jmol causing Firefox crash

2009-04-10 Thread gerhard
fedora alternatives provides a way of managing these problems. See for example http://chacha.vox.com/library/post/install-java-on-redhat.html note also that the plugin in the firefox directory can similarly be managed with alternatives. -gerhard

[sage-support] Re: matrix subdivision question

2009-04-08 Thread gerhard
& 0 & 1 & 0 & 1 & 0 & 0 & 0 \\ 0 & 1 & 1 & 0 & 0 & 1 & 0 & 1 & 0 & 0 & 0 & 0 & 0 & 1 & 1 & 1 & 0 & 0 & 1 & 1 \end{array}\right) Now, in my firefox browser, I see no su

[sage-support] matrix subdivision question

2009-04-08 Thread gerhard
pity since I was using sage with sagetex to generate the matrices... Are there any plans to enhance these printing methods? thanks, -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group

[sage-support] %r in notebook

2009-04-06 Thread gerhard
nchronize' Is there an easy fix? thanks, -gerhard --~--~-~--~~~---~--~~ 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 g

[sage-support] Re: Jmol problem

2009-03-07 Thread gerhard
> with all sorts of JRE's one possible reason for this problem is the plugin firefox may be using. check by typing about:plugins in the title bar, and make sure it is the plugin you expect (sun's jre) --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: Problem accessing R HTML doc

2009-02-15 Thread gerhard
For what it's worth, %r help.start() works for me both on the sage command line and in the notebook. I am however using R version 2.8.0 compiled with gfortan, instead of the version provided with sage. -gerhard --~--~-~--~~~---~--~~ To post to this

[sage-support] Re: linear algebra, vector of variables

2009-01-18 Thread gerhard
ocs (and this mailing list), I failed coming up with a simple way of creating such vectors. -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-

[sage-support] linear algebra, vector of variables

2009-01-18 Thread gerhard
I have been getting! -gerhard --- PS: the motivation for the question is that I end up dumping out C code routines by generating strings from the solution. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support

[sage-support] Re: embedding sage

2009-01-04 Thread gerhard
start the command line version is to invoke a new option that is processed in sage.sage. -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr

[sage-support] Re: embedding sage

2009-01-03 Thread gerhard
g down the notebook returns me to the command line interpreter and everything works as before. At a guess, I interact with a vanilla python process from the notebook, so I am missing some mods I have to do to some code somewhere? -gerhard --~--~-~--~~~---~--~~ To po

[sage-support] Re: R interface, plot command: how to pass a string?

2009-01-03 Thread gerhard
great! this did indeed work. Thank you, -gerhard -- import os filename = os.tempnam('./','aaa') + '.png' r.png(file='"%s"'%filename) a=r([1.e-35,2.e-35,3.e-35,6.e-35,7.e-35,8.1e-35]);

[sage-support] R interface, plot command: how to pass a string?

2009-01-03 Thread gerhard
ol=2, xlab='x', ylab='y' ) sage: r.dev_off() gets me a good set of axis tick labels, but translates the strings 'x' and 'y' to numerical values. How can I pass it strings? Thank you, -gerhard --~--~-~--~~~---~--~~ To post to th

[sage-support] embedding sage

2009-01-03 Thread gerhard
be going wrong there? Thanks, -gerhard for reference, I initialized IPython with import IPython from IPython.Shell import IPShellEmbed import os import sys import new __SAGE_AUTOINJECT__ = True ipy_sage = IPShellEmbed(argv=['-p', 'sage&#

[sage-support] Re: Using HTML and plot function

2008-12-27 Thread gerhard
There is probably a better way, but you could save the plot in a png file sage: P = plot(sin, (0,10)); P.save( 'foo.png' ) and insert it in your table with html( '') --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com T

[sage-support] Re: linking problems due to inconsistent libraries

2008-12-27 Thread gerhard
: html( '' ) thanks again for the help -gerhard --~--~-~--~~~---~--~~ 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 grou

[sage-support] Re: linking problems due to inconsistent libraries

2008-12-27 Thread gerhard
ename() + '.png' r.png(file='"%s"'%filename) a=r([1,2,3]);b=r([4,5,6]) r.plot(a,b) r.dev_off() #now what do I do? show?? -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe

[sage-support] linking problems due to inconsistent libraries

2008-12-25 Thread gerhard
+.so? thank you all, sage has proved extremely useful! -gerhard --~--~-~--~~~---~--~~ 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 opti

[sage-support] Re: Plot axis tick interval

2008-12-09 Thread gerhard
Quite a while back I submitted a proposed replacement for tasteful_ticks: while avoiding overhaul of the axes code, it did produce satisfactory tick marks for a larger parameter region than the current routine. Has anything ever come of it? Sincerely, -gerhard

[sage-support] Re: Problem with optional trac package (sage version 3.1.4)

2008-11-20 Thread gerhard
ease Date: 2008-10-20 sage -i trac-20071204 I got around the problem by simply installing a separate version of trac and running it independently of sage. >From what I gather using Google, the problem has to do with python. -gerhard --~--~-~--~~~---~--~~ To post t

[sage-support] Problem with optional trac package (sage version 3.1.4)

2008-11-19 Thread gerhard
g the web returned a great many entries, but no clear solution. ANybody know how to get this resolved? Thanks, -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[sage-support] Is there a way to group notebooks?

2008-07-12 Thread gerhard
My list of notebooks is growing. Is there a way of grouping them into directory trees? I could of course generate several logins, but that is hardly optimal. Thank you, -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support

[sage-support] Re: Sage server on a gentoo system

2008-04-23 Thread gerhard
up script available? Or rather, how can I cause the sage server to exit cleanly? I don't think just killing the process is what one would want to do. -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscri

[sage-support] Sage server on a gentoo system

2008-04-19 Thread gerhard
?? Thanks, -gerhard --~--~-~--~~~---~--~~ 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

[sage-support] Re: notebook and javascript question

2008-04-13 Thread gerhard
Great! As I said, I am willing to work on this if somebody points me to what I need to learn (and where I need to look in the code)! -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group

[sage-support] Re: notebook and javascript question

2008-04-13 Thread gerhard
> for i in range(5): > print html('alert(%s)'%i) > sleep(1) > > should pop up a dialog box every second. yes indeed! Thanks, -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To un

[sage-support] Re: notebook and javascript question

2008-04-12 Thread gerhard
bra: It has a javascript interface. Suppose the notebook programmer wants a sage function that updates the display at intermediate stages of some computation. thank you, -gerhard PS., I have since found that the Google Maps API is able to load a .kml file. I suppose I could write a hack: Have a javascript

[sage-support] Re: notebook and javascript question

2008-04-10 Thread gerhard
ve is how can this be done in the sage framework? I am not looking for somebody to give me a solution, but am hoping for pointers that let me figure out how to build what I need. (Of course, the old saw about gift horses would apply) Thank you for any ideas you might provide!

[sage-support] Re: notebook and javascript question

2008-04-09 Thread gerhard
avascript function to be invoked while it continues processing. Any hints for me, please? -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] F

[sage-support] Re: notebook and javascript question

2008-04-06 Thread gerhard
any suggestions how I might accomplish this? My knowledge of JavaScript is still very raw and I do not have any idea right now (short of javascript->java->javascript) It is a sine qua non for the computations I'd like to do. The alternative would be to switch to google earth with which I

[sage-support] notebook and javascript question

2008-04-04 Thread gerhard
any hints or pointers at documentation or code! -gerhard --~--~-~--~~~---~--~~ 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.

[sage-support] Re: typesetting matrices

2008-03-29 Thread gerhard
closely related question: I wanted to use easymat for a matrix display. jsmath seems to support it. Is there an easy way to add the required \usepackage command? -gerhard --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To