[sage-devel] Re: public single cell server

2011-11-16 Thread Eviatar
I'm sorry, I was testing it and tried "while 1: print 'Hello world'". It seems to still be working on that, and doesn't output anything anymore. Maybe a timeout is necessary? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to

Re: [sage-devel] Re: set_legend_options and set_aspect_ratio don't seem to do anything

2011-11-16 Thread Dan Drake
On Wed, 16 Nov 2011 at 06:51AM -0600, Jason Grout wrote: > This is fixed in #11963 (needs review! :) Now has a positive review. Thanks for fixing that part of my problem! By the way, my recent flurry of complaints about various plotting things are all related to this worksheet that I've been work

Re: [sage-devel] potential slowdown in list_plot to support complex numbers

2011-11-16 Thread Dan Drake
On Tue, 15 Nov 2011 at 08:19PM -0800, William Stein wrote: > Right now, we have: > > sage: list_plot([1+I, 2+I, 4-I]) > Traceback (most recent call last): > ... > TypeError: unable to simplify to float approximation > > I suppose you could rewrite list_plot so that it calls a function > _list_plo

Re: [sage-devel] sagetex example.tex file instructions

2011-11-16 Thread Dan Drake
On Wed, 16 Nov 2011 at 04:07PM +0200, Jan Groenewald wrote: > Hi > > 0 jan@muizenberg:/var/autofs/misc/home/jan$grep example.sage > /usr/local/src/sage-4.7.2/local/share/texmf/tex/generic/sagetex/example.tex > % (pdf)latex example.tex; sage example.sage; pdflatex example.tex > when running Sage

[sage-devel] Re: The status of function field development

2011-11-16 Thread syd.lavas...@gmail.com
Sorry, for the spam threat. I just wanted to target somebody on the ticket team and I wasn't sure: 1) how sage-devel is effective for that 2) how responsive other members are. 3) If I'm boring people on the list with n'importe quoi. But apparently it worked pretty well in all directions. Best

[sage-devel] Mac app seems to be causing some trouble on Lion

2011-11-16 Thread kcrisman
See http://ask.sagemath.org/question/740/app-installation-problem-on-mac-os-x-lion Is it possible that Sage will work on Lion if compiled on Snow Leopard, but not the app? At the same time, using the command line says that it can't find IPython. Any ideas on this? Apparently the Mac app is get

[sage-devel] Re: The status of function field development

2011-11-16 Thread syd.lavas...@gmail.com
Hi Maarten, Thank you for the link. It was the thing I was looking for. I have read Hess's paper on his algorithm for computing basis for Riemann- Roch space . I'm pretty happy to start working on it , once I went through your code and see what we have available at hand. Also for my research I wa

[sage-devel] Re: public single cell server

2011-11-16 Thread Jason Grout
On 11/16/11 8:04 PM, Eviatar wrote: One problem: random doesn't work. It generates the same value every time. Good point. The worker process is forked from one main server process, so it inherits the same random seed each time. I suppose it would be easy enough to reset the random seed. Do

[sage-devel] Re: public single cell server

2011-11-16 Thread Eviatar
One problem: random doesn't work. It generates the same value every time. -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com

[sage-devel] Re: The status of function field development

2011-11-16 Thread syd.lavas...@gmail.com
Hi Julian, Thank you very much for your reply. If you put the isomorphisms codes available, it will probably helps me a lot. I don't know about the iterated extensions, but when I wanted to write GHS attack related code for my Masters back in 2008 I started with sage and I used "the field of frac

Re: [sage-devel] Fwd: Fwd: [sage-devel] A Sage Enhancement Proposal: Lattice Modules

2011-11-16 Thread Daniel Krenn
Does this lattice module already exists somewhere (I didn't found it on my search...). Further I haven't found any trac-ticket (but maybe missed)... I ask, because I think about implementing an algorithm to calculate the Voronoi cell (can be used to calculate some lattice quantities like the co

Re: [sage-devel] Re: Need some usage tips.

2011-11-16 Thread John Foster
Thanks All! These were exactly what I was looking for. frosty On Wed, Nov 16, 2011 at 11:59 AM, David Roe wrote: > Also useful is http://wiki.sagemath.org/SageServer > David > > On Wed, Nov 16, 2011 at 09:55, Maarten Derickx > wrote: > > Or if you like the web better > > view: > http://www.sag

Re: [sage-devel] Re: sagetex example.tex file instructions

2011-11-16 Thread Jan Groenewald
Done On 16 November 2011 17:38, John H Palmieri wrote: > > > On Wednesday, November 16, 2011 6:07:15 AM UTC-8, Jan Groenewald wrote: >> >> Hi >> >> 0 jan@muizenberg:/var/autofs/**misc/home/jan$grep example.sage >> /usr/local/src/sage-4.7.2/**local/share/texmf/tex/generic/**sagetex/example.tex >>

[sage-devel] Re: integrating spkg-check and spkg-install?

2011-11-16 Thread Bill Janssen
Mainly, because there's no current reason to install libjpeg.dylib. It's just a potentional source of confusion and breakage for the future. I'd feel differently if there were other uses of it. For instance, if someone were to wrap Dan Bloomberg's excellent Leptonica library at http://www.leptoni

Re: [sage-devel] Re: Need some usage tips.

2011-11-16 Thread David Roe
Also useful is http://wiki.sagemath.org/SageServer David On Wed, Nov 16, 2011 at 09:55, Maarten Derickx wrote: > Or if you like the web better > view: http://www.sagemath.org/doc/reference/sagenb/notebook/notebook_object.html > > -- > To post to this group, send an email to sage-devel@googlegroup

Re: [sage-devel] The status of function field development

2011-11-16 Thread William Stein
[...] >> (Should I write directly to William Stein). > Probably not, sage-devel is the right place to ask.  Or also, the > "comment" section on http://trac.sagemath.org/sage_trac/ticket/9054 > Jeroen. Correct. I read every sage-* mailing lists and all trac notifications. I prefer that as much as

[sage-devel] Re: Need some usage tips.

2011-11-16 Thread Maarten Derickx
Or if you like the web better view: http://www.sagemath.org/doc/reference/sagenb/notebook/notebook_object.html -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit

[sage-devel] Re: Need some usage tips.

2011-11-16 Thread Maarten Derickx
You can configure the port sage is available on, so you can also make it available on port 80. Please do the following in your own sage: sage: notebook? Read what gets displayed, and come back if you have more specific questions. -- To post to this group, send an email to sage-devel@googlegrou

[sage-devel] Need some usage tips.

2011-11-16 Thread frosty
I have sage installed & working. I'm seeking tips on how to set it up for web usage by folks visiting my website. I want them to be able to register and log in to the Notebook or use the command line interface. I see this is possible by checking out other sites, & eventually I would figure out a wa

Re: [sage-devel] The status of function field development

2011-11-16 Thread Maarten Derickx
Dear Syd, As one of the active participants on that ticket. I can probably also help out, I would like it if you add me as a CC to future posts about this subject on sage-devel (which I think is where you should ask future questions). Very nice that you want to get started implementing more fun

Re: [sage-devel] The status of function field development

2011-11-16 Thread Julian Rüth
Hi Syd, * Jeroen Demeyer [2011-11-16 14:36:24 +0100]: > On 2011-11-16 09:12, syd.lavas...@gmail.com wrote: > > (Should I write directly to William Stein). > Probably not, sage-devel is the right place to ask. Or also, the > "comment" section on http://trac.sagemath.org/sage_trac/ticket/9054 I'm

[sage-devel] Re: sagetex example.tex file instructions

2011-11-16 Thread John H Palmieri
On Wednesday, November 16, 2011 6:07:15 AM UTC-8, Jan Groenewald wrote: > > Hi > > 0 jan@muizenberg:/var/autofs/misc/home/jan$grep example.sage > /usr/local/src/sage-4.7.2/local/share/texmf/tex/generic/sagetex/example.tex > % (pdf)latex example.tex; sage example.sage; pdflatex example.tex > w

Re: [sage-devel] indexed symbolic variables

2011-11-16 Thread Burcin Erocal
On Wed, 16 Nov 2011 15:10:54 +0100 Florent Hivert wrote: > > Pynac supports indexed expressions already. It just isn't wrapped in > > Sage yet. Again, there is an experimental patch available: > > > > http://sage.math.washington.edu/home/burcin/indexed_expression-20110727.patch > > > > Since yo

Re: [sage-devel] indexed symbolic variables

2011-11-16 Thread Florent Hivert
> Pynac supports indexed expressions already. It just isn't wrapped in > Sage yet. Again, there is an experimental patch available: > > http://sage.math.washington.edu/home/burcin/indexed_expression-20110727.patch > > Since you can wrap any hashable Python object in a symbolic expression > with S

[sage-devel] sagetex example.tex file instructions

2011-11-16 Thread Jan Groenewald
Hi 0 jan@muizenberg:/var/autofs/misc/home/jan$grep example.sage /usr/local/src/sage-4.7.2/local/share/texmf/tex/generic/sagetex/example.tex % (pdf)latex example.tex; sage example.sage; pdflatex example.tex when running Sage on \texttt{example.sage}, that gets printed to the In sage 4.7.2 the fi

[sage-devel] Re: set_legend_options and set_aspect_ratio don't seem to do anything

2011-11-16 Thread kcrisman
> > q.set_show_options(legend_label='tangent') > > > which would be the same as: > > > plot(tan(x), (x,-1,1),legend_label='tangent') > > That could be convenient. I'm producing my plots in one function and > showing them in another, so it's nice to be able to alter things after > the "production"

Re: [sage-devel] indexed symbolic variables

2011-11-16 Thread Florent Hivert
Hi, I discovered that units have the same flaw. This all look good: sage: units.length.meter^2 meter^2 sage: u = units.length.meter^2 sage: u.op[0] meter sage: type(units.length.meter) However, getting back meter from u give not a unit but a plain Expression: sage: type(u.op[0]) sage: u

Re: [sage-devel] Re: set_legend_options and set_aspect_ratio don't seem to do anything

2011-11-16 Thread Dan Drake
On Wed, 16 Nov 2011 at 06:51AM -0600, Jason Grout wrote: > This is fixed in #11963 (needs review! :) I looked over your patch and it seems good. I'll check it out tomorrow morning when I'm at my work computer. > Likewise: > > > >sage: q = plot(tan(x), (x,-1,1)) > >sage: q.set_legend_options(title

Re: [sage-devel] The status of function field development

2011-11-16 Thread Jeroen Demeyer
On 2011-11-16 09:12, syd.lavas...@gmail.com wrote: > Hi there, > > I would like to know what's the status of the function field package > development in Sage, i.e. this ticket: > > http://trac.sagemath.org/sage_trac/ticket/9054 Currently, it has positive_review which means that in theory it is re

[sage-devel] Re: set_legend_options and set_aspect_ratio don't seem to do anything

2011-11-16 Thread kcrisman
> > sage: q = plot(tan(x), (x,-1,1)) > > sage: q.set_legend_options(title='tangent!') > > > does nothing. Am I doing something wrong? Have I found some bugs? > > I don't know about this.  It would be something to look into.  It might Not exactly a bug. You have to actually have a function with l

Re: [sage-devel] indexed symbolic variables

2011-11-16 Thread Burcin Erocal
Hi Florent, On Tue, 15 Nov 2011 17:29:38 +0100 Florent Hivert wrote: > So I'm trying to inherits from Expression. Here is my code: > > from sage.symbolic.expression import Expression > class IndexedVarExpr(Expression): > def index(self): > return self._index > > class IndexedVar(S

Re: [sage-devel] Re: Why does pari need 1Gig of memory allocated?

2011-11-16 Thread Jeroen Demeyer
On 2011-11-15 21:19, William Stein wrote: > It's not the RAM that matters for "out of memory errors", but the > amount of "memory", as Jeren says.You could probably build and > run the full test suite on a machine with 500MB RAM if you had > sufficiently fast swap. Exactly. I meant "virtual me

[sage-devel] Re: set_legend_options and set_aspect_ratio don't seem to do anything

2011-11-16 Thread Jason Grout
On 11/15/11 10:44 PM, Dan Drake wrote: It seems that I've discovered more broken things in the plotting code! I'm trying to get my plots to look right, and I've discovered that I can't alter the legend or aspect ratio with the relevant "set_" functions: sage: q = plot(tan(x), (x,-1,1)) sage: q.

[sage-devel] Re: potential slowdown in list_plot to support complex numbers

2011-11-16 Thread Jason Grout
On 11/16/11 1:21 AM, Dan Drake wrote: I do like the idea of _list_plot() accepting only one format, and the user-facing list_plot() doing the work of mangling your data into that accepted format. Seems like a nice separation of function. (Although that's very close to the current situation with l

[sage-devel] Re: indexed symbolic variables

2011-11-16 Thread Volker Braun
The fundamental issue is that the symbolic ring SR has no concept of "variable", everything is of type Expression. Since v+1 doesn't have an index associated to it, you can't have indices in any consistent manner. I think the SR elements should be derived classes of Expression if they are "ele

[sage-devel] The status of function field development

2011-11-16 Thread syd.lavas...@gmail.com
Hi there, I would like to know what's the status of the function field package development in Sage, i.e. this ticket: http://trac.sagemath.org/sage_trac/ticket/9054 I would like to know when is the tentative date of the release (though I think I can download the patch and install it myself) and