Re: [sage-devel] Possible sage days on function fields

2012-02-22 Thread David Roe
> > 1. Are you willing to participate in such a sage days?
> > 1. a) If yes, are there dates around the end of this year which are very
> > inconvenient for you?
>
> I would be willing to participate in this. For me a date before mid-October
> would be great, because our lecture period will start at this point (also
> in
> many other german universities).
>

I would be willing to participate, though I don't have any idea what my
schedule will be next fall.


> > 2. Why do you want sage to get better at computing stuff about function
> > fields?
>
> I am not interested in function fields per se but for my thesis I am doing
> many
> computations with elliptic curves over function fields and there are many
> things in Magma that one can't do in Sage at the momemnt. I would like
> this to
> improve. Especially I would like to have Magma's BadPlaces,
> LocalInformation
> (Tate's algorithm), MinimalModel and MinimalDegreeModel for elliptic curves
> over (rational) function fields.
>

I don't do much with function fields, but I ported Tate's algorithm from
Magma a year or two ago and would be willing to help make it work for
function fields.
David

-- 
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/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Remove newline from matrix([...]).eigenvectors_right()

2012-02-22 Thread P Purkayastha

On 02/23/2012 02:48 PM, Keshav Kini wrote:

P Purkayastha  writes:

1. [ ] Stop passing the keyword cr=True (i.e. make the other fields output as
in RDF/CDF)
2. [ ] Stop passing the keyword cr=True but only when called from
eigenvectors_right()
3. [ ] Keep the current output format (i.e. don't touch any of this code)
4. [ ] Keep the current output format AND change RDF/CDF to give output similar
to the other fields


[x] Stop passing the keyword cr=True (i.e. make the other fields output
 as in RDF/CDF)

This is eye-burningly ugly IMO. I don't think display formatting related
parameters should even be getting passed to Sequence() in the first
place, since it's not a formatting-related function, it's a constructor
of a mathematical object, more or less. But maybe there's some reason
why this is done?

-Keshav


I can see why one would want to pass cr=True when one wants to print the 
bases of a free module.

sage: V = VectorSpace(GF(2), 10)
sage: V.basis()
[
(1, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(0, 1, 0, 0, 0, 0, 0, 0, 0, 0),
(0, 0, 1, 0, 0, 0, 0, 0, 0, 0),
(0, 0, 0, 1, 0, 0, 0, 0, 0, 0),
(0, 0, 0, 0, 1, 0, 0, 0, 0, 0),
(0, 0, 0, 0, 0, 1, 0, 0, 0, 0),
(0, 0, 0, 0, 0, 0, 1, 0, 0, 0),
(0, 0, 0, 0, 0, 0, 0, 1, 0, 0),
(0, 0, 0, 0, 0, 0, 0, 0, 1, 0),
(0, 0, 0, 0, 0, 0, 0, 0, 0, 1)
]

This output is a lot more readable than if everything were printed on 
the same line. You could even imagine that the output represents the 
rows of a generator matrix. On the other hand this same type of output 
looks very awkward when used with eigenvectors_right().


--
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/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Remove newline from matrix([...]).eigenvectors_right()

2012-02-22 Thread Keshav Kini
P Purkayastha  writes:
> 1. [ ] Stop passing the keyword cr=True (i.e. make the other fields output as
> in RDF/CDF)
> 2. [ ] Stop passing the keyword cr=True but only when called from
> eigenvectors_right()
> 3. [ ] Keep the current output format (i.e. don't touch any of this code)
> 4. [ ] Keep the current output format AND change RDF/CDF to give output 
> similar
> to the other fields

[x] Stop passing the keyword cr=True (i.e. make the other fields output
as in RDF/CDF)

This is eye-burningly ugly IMO. I don't think display formatting related
parameters should even be getting passed to Sequence() in the first
place, since it's not a formatting-related function, it's a constructor
of a mathematical object, more or less. But maybe there's some reason
why this is done?

-Keshav


Join us in #sagemath on irc.freenode.net !

-- 
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/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Remove newline from matrix([...]).eigenvectors_right()

2012-02-22 Thread P Purkayastha
Hi,
  At present the code for printing the eigenvectors of a matrix gives 
output in different "formats" depending on the field used. For RDF/CDF, the 
output appears an a single line.

sage: matrix(CDF, [ [2, 1], [1, 2]]).eigenvectors_right() 
[(3.0, [(0.707106781187, 0.707106781187)], 1), (1.0, [(0.707106781187, 
-0.707106781187)], 1)]

For other rings such as ZZ, QQ, GF(), the output is split into multiple 
lines. Essentially, the eigenvectors are printed one vector per line.

sage: matrix(ZZ, [ [2, 1], [1, 2]]).eigenvectors_right()
[(3, [
(1, 1)
], 1), (1, [
(1, -1)
], 1)]

Personally, I feel that the latter output appears "broken," not to mention 
that the output is inconsistent across different rings.

The fix for this is quite simple. One needs to stop passing the parameter 
"cr=True" when calling this function:
Sequence(vecs, universe=V, check = False, immutable=True, cr=True)

The question is: should we stop passing the keyword cr=True when printing 
out eigenvectors of a matrix? Maybe a vote is in order?

1. [ ] Stop passing the keyword cr=True (i.e. make the other fields output 
as in RDF/CDF)
2. [ ] Stop passing the keyword cr=True but only when called from 
eigenvectors_right()
3. [ ] Keep the current output format (i.e. don't touch any of this code)
4. [ ] Keep the current output format AND change RDF/CDF to give output 
similar to the other fields

To keep the second option in context, note that eventually 
Freemodule_submodule_with_basis_field_with_*.basis() is called and it is 
there that the Sequence(..., cr=True) is called. What the second option 
proposes is that only the output of eigenvectors_right/left() be changed 
and the output of the Freemodule*.basis() be left as it is now.

My choice would be
2. [x] Stop passing the keyword cr=True but only when called from 
eigenvectors_right()

Relevant ticket: http://trac.sagemath.org/sage_trac/ticket/12514

-- 
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/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Sage single Cell Server feedback

2012-02-22 Thread Ondřej Čertík
Hi,

I just noticed (when testing a link to sagemath.org from my webpage) the
single Cell Server:

http://sagemath.org/eval.html

so I played with it a little bit and I think this is really cool.

Here is some feedback:

* There should be more examples with interact (I would create a topic
"interact")

* It is not easy to tell whether the server is computing (I tried
sympy and it freezed, so I thought that
something broke, but it was just calculating for about 5 or 10s). For
interact, there
is a blue line, so I know that it is computing.

* the blue line for interact (the server is computing) is not very
intuitive for me, it took me a while to realize
that this is what it means

* sometimes it seems slow, i.e. this script:

from sympy import var
var("x")
print x-x
print x**2

takes 5 seconds to evaluate. If you try the same thing here:
http://live.sympy.org/,
it is immediate.

* the interact could update immediately when dragging the spinner --
assuming the round trip
can be brought to around 1s.

* I tried many of the examples from here:
http://wiki.sagemath.org/interact (I know
I can use the Sage notebook, but I always forget the password and so on, this
cell server is much better for experimenting)

* sometimes the blue line seems to stay on, try for example
http://wiki.sagemath.org/interact/diffeq#Euler.27s_Method_in_one_variable


What is the current bottleneck in terms of the round trip? Is it
possible to make the interactive examples faster?


Anyway, thanks for doing this. I think this has a huge potential.

Ondrej

-- 
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/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] set_random_seed does not seed Python's random number generator

2012-02-22 Thread William Stein
Hi Sage-Devel,

I was very surprised by this just now:

sage: import random
sage: random.randint(0,20)
0
sage: set_random_seed(0)
sage: random.randint(0,20)
0
sage: set_random_seed(0)
sage: random.randint(0,20)
5
sage: random.seed(0)
sage: random.randint(0,20)
17
sage: random.seed(0)
sage: random.randint(0,20)
17

Basically, I expected that Sage's "set_random_seed" would actually set
*Python*'s own random seed, given that it sets gp, gap, maxima, etc.

I would think this is an obvious serious bug... but since it seems so
blatant, maybe I'm missing something.

William

-- 
William Stein
Professor of Mathematics
University of Washington
http://wstein.org

-- 
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/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Possible sage days on function fields

2012-02-22 Thread Frithjof Schulze
Hi Maarten,

On Wed, Feb 22, 2012 at 05:41:16AM -0800, Maarten Derickx wrote:
> Dear Sage-developers,
> 
> Michiel Kosters and I are currently writing a proposal for the Lorentz 
> Center [1] in order to organize a sage days on the subject of function 
> fields. It would be useful for us to have an estimate of how many of you 
> are interested in participating in such a Sage Days. It would also be 
> useful for us to know if you would like to have certain function field 
> functionality in sage for your own research to explain to the Lorentz 
> Center why such a sage days should be organized (other arguments are 
> welcome to!).
> So to be concrete:
> 
> 1. Are you willing to participate in such a sage days?
> 1. a) If yes, are there dates around the end of this year which are very 
> inconvenient for you?

I would be willing to participate in this. For me a date before mid-October
would be great, because our lecture period will start at this point (also in
many other german universities).

> 2. Why do you want sage to get better at computing stuff about function 
> fields?

I am not interested in function fields per se but for my thesis I am doing many
computations with elliptic curves over function fields and there are many
things in Magma that one can't do in Sage at the momemnt. I would like this to
improve. Especially I would like to have Magma's BadPlaces, LocalInformation
(Tate's algorithm), MinimalModel and MinimalDegreeModel for elliptic curves
over (rational) function fields.

Many other interesting things are possible in Magma like counting points on the
Kodaira-Neron model and computing the action of Frobenius on the components of
the singular fibers, but the things above are what I am missing most.

Best,
Frithjof

-- 
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/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Can XCode 4 be installed on OS X 10.6 Snow Leopard?

2012-02-22 Thread R. Andrew Ohana
On Wed, Feb 22, 2012 at 10:09, Ivan Andrus  wrote:
> On Feb 22, 2012, at 6:46 PM, R. Andrew Ohana wrote:
>> On Wed, Feb 22, 2012 at 09:42, Ivan Andrus  wrote:
>>> On Feb 22, 2012, at 4:59 PM, Jeroen Demeyer wrote:
>>>
 If yes, we should test it.

 If no, no worries.
>>>
>>> Yes.  I have Xcode 4.2 installed on 10.6.  I think Xcode 4.3 is only for 
>>> Lion.
>>
>> This makes sense, and is unfortunate. 4.3 made some major changes,
>> including separating the command line tools from Xcode, as well as
>> removing the /Developer directory.
>>>
>>> I haven't been following the Lion discussion much.  I've been building the 
>>> 5.0 betas with Xcode 3, should I try building beta 5 with Xcode 4?  Is 
>>> there anything special that I need to do?
>>
>> try the 5.0 gcc betas (these are located in /home/jdemeyer/release),
>> my guess is that you will encounter issues with pari and symmetrica if
>> you use the plain 5.0 betas
>
>
> What is the difference between sage-5.0.beta5-gcc and sage-5.0.beta5-gccdeps?

gccdeps only includes the dependencies for building a gcc spkg see
http://trac.sagemath.org/sage_trac/ticket/12369 for more info.

>
> I have started downloading the former.  I probably won't finish building 
> tonight since my computer is busy with some computations and I might have to 
> reinstall the command line tools for Xcode 4--I think I installed Xcode 3 
> over the top so that I could build some other stuff.
>
> -Ivan
>
> --
> 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/group/sage-devel
> URL: http://www.sagemath.org



-- 
Andrew

-- 
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/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Can XCode 4 be installed on OS X 10.6 Snow Leopard?

2012-02-22 Thread Ivan Andrus
On Feb 22, 2012, at 6:46 PM, R. Andrew Ohana wrote:
> On Wed, Feb 22, 2012 at 09:42, Ivan Andrus  wrote:
>> On Feb 22, 2012, at 4:59 PM, Jeroen Demeyer wrote:
>> 
>>> If yes, we should test it.
>>> 
>>> If no, no worries.
>> 
>> Yes.  I have Xcode 4.2 installed on 10.6.  I think Xcode 4.3 is only for 
>> Lion.
> 
> This makes sense, and is unfortunate. 4.3 made some major changes,
> including separating the command line tools from Xcode, as well as
> removing the /Developer directory.
>> 
>> I haven't been following the Lion discussion much.  I've been building the 
>> 5.0 betas with Xcode 3, should I try building beta 5 with Xcode 4?  Is there 
>> anything special that I need to do?
> 
> try the 5.0 gcc betas (these are located in /home/jdemeyer/release),
> my guess is that you will encounter issues with pari and symmetrica if
> you use the plain 5.0 betas


What is the difference between sage-5.0.beta5-gcc and sage-5.0.beta5-gccdeps?

I have started downloading the former.  I probably won't finish building 
tonight since my computer is busy with some computations and I might have to 
reinstall the command line tools for Xcode 4--I think I installed Xcode 3 over 
the top so that I could build some other stuff.

-Ivan

-- 
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/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] no trac email notification

2012-02-22 Thread Daniel Krenn
Some days ago I postet in thread "trac attachment notification", see
[1], that I don't get mails when a ticket I participated in was
changed. I posted there, since I thought there was a connection to an
attachment.

Now I opened a new ticket (#12564} and didn't get a notification mail.
So it seems that there is a problem.

Here the message form the other thread:

I do not receive trac e-mail notifications since 10-02-2012. The last
mail I got was on 09-02-2012. It was from #8718. There should be a
couple of other notifications on this ticket, but I received none.
[...]

Daniel

[1] 
http://groups.google.com/group/sage-devel/browse_thread/thread/be418f2c164155e5

-- 
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/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Can XCode 4 be installed on OS X 10.6 Snow Leopard?

2012-02-22 Thread R. Andrew Ohana
On Wed, Feb 22, 2012 at 09:42, Ivan Andrus  wrote:
> On Feb 22, 2012, at 4:59 PM, Jeroen Demeyer wrote:
>
>> If yes, we should test it.
>>
>> If no, no worries.
>
> Yes.  I have Xcode 4.2 installed on 10.6.  I think Xcode 4.3 is only for Lion.

This makes sense, and is unfortunate. 4.3 made some major changes,
including separating the command line tools from Xcode, as well as
removing the /Developer directory.
>
> I haven't been following the Lion discussion much.  I've been building the 
> 5.0 betas with Xcode 3, should I try building beta 5 with Xcode 4?  Is there 
> anything special that I need to do?

try the 5.0 gcc betas (these are located in /home/jdemeyer/release),
my guess is that you will encounter issues with pari and symmetrica if
you use the plain 5.0 betas

>
> -Ivan
>
> --
> 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/group/sage-devel
> URL: http://www.sagemath.org



-- 
Andrew

-- 
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/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Can XCode 4 be installed on OS X 10.6 Snow Leopard?

2012-02-22 Thread Ivan Andrus
On Feb 22, 2012, at 4:59 PM, Jeroen Demeyer wrote:

> If yes, we should test it.
> 
> If no, no worries.

Yes.  I have Xcode 4.2 installed on 10.6.  I think Xcode 4.3 is only for Lion.  

I haven't been following the Lion discussion much.  I've been building the 5.0 
betas with Xcode 3, should I try building beta 5 with Xcode 4?  Is there 
anything special that I need to do?

-Ivan

-- 
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/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-22 Thread R. Andrew Ohana
On Wed, Feb 22, 2012 at 07:55, Jeroen Demeyer  wrote:
> On 2012-02-19 00:12, John H Palmieri wrote:
>> Next, there is now no longer a /Developer directory, which means that
>> the command xcodebuild (which is run by the prereq script) may fail to
>> report the correct version of Xcode. So from the shell, you need to run
>>
>>   $ xcode-select -switch /Applications/Xcode.app/Contents/Developer
>>
>> (and you may need to run this via sudo).  So these instructions need to
>> be added to the installation guide or the README.txt file.
>>
>> For the second issue, it might instead be better to figure out the
>> version of Xcode some other way in the prereq script (and anywhere else
>> this is done, like maybe the current python spkg).
>
> xcodebuild is used in:
> * prereq (where it fails harmlessly)
> * python's spkg-install
> * Mercurial's setup.py (upstream)
> * the sage-bdist script

It would be good to remove xcodebuild's usage since all lion machines
(and maybe earlier too) have the command, even without xcode
installed. This has become important now that the apple command line
tools are separate from xcode.

Try building on sqrt5 -- xcode is not installed there, instead I've
installed the command line tools from apple's developer website.
>
> (Sage tip: use the rsyncable tarballs to grep all of Sage, including
> spkgs.  Remember to create the top-level sage-VERSION directory yourself
> and extract inside that.)
>
> --
> 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/group/sage-devel
> URL: http://www.sagemath.org



-- 
Andrew

-- 
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/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Can XCode 4 be installed on OS X 10.6 Snow Leopard?

2012-02-22 Thread Jeroen Demeyer
If yes, we should test it.

If no, no worries.

-- 
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/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: Sage works on OS X 10.7!

2012-02-22 Thread Jeroen Demeyer
On 2012-02-19 00:12, John H Palmieri wrote:
> Next, there is now no longer a /Developer directory, which means that
> the command xcodebuild (which is run by the prereq script) may fail to
> report the correct version of Xcode. So from the shell, you need to run
> 
>   $ xcode-select -switch /Applications/Xcode.app/Contents/Developer
> 
> (and you may need to run this via sudo).  So these instructions need to
> be added to the installation guide or the README.txt file.
> 
> For the second issue, it might instead be better to figure out the
> version of Xcode some other way in the prereq script (and anywhere else
> this is done, like maybe the current python spkg).

xcodebuild is used in:
* prereq (where it fails harmlessly)
* python's spkg-install
* Mercurial's setup.py (upstream)
* the sage-bdist script

(Sage tip: use the rsyncable tarballs to grep all of Sage, including
spkgs.  Remember to create the top-level sage-VERSION directory yourself
and extract inside that.)

-- 
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/group/sage-devel
URL: http://www.sagemath.org


Re: [sage-devel] Re: sage, gentoo-prefix & lmonade was: log messages

2012-02-22 Thread Burcin Erocal
On Tue, 21 Feb 2012 00:56:13 +0800
Keshav Kini  wrote:

> Burcin Erocal  writes:

> >> Just to be clear, sage-on-gentoo itself has no goal of being a way
> >> to distribute Sage in general. It is simply a port of Sage and its
> >> SPKGs to the Gentoo package management system, using the "overlay"
> >> architecture the Gentoo distro has (similar to Personal Package
> >> Archives on Ubuntu, if you're familiar with those). Basically you
> >> just put something in a config file on your Gentoo system which
> >> says "augment the package repository with ebuilds from
> >> sage-on-gentoo", and you can now install Sage system-wide.
> >> 
> >> It is Burcin's lmonade project which combines sage-on-gentoo with
> >> Gentoo Prefix, which is a portable version of the Gentoo package
> >> management system which can be run in a folder on any system, and
> >> more importantly, can be customized to supply any set of packages,
> >> not necessarily the entire set of officially sanctioned packages
> >> that comprise the Gentoo Linux distribution. As the name suggests,
> >> it's similar to how you might use `./configure --prefix=/some/dir`
> >> in order to install a program to /some/dir/bin rather
> >> than /usr/bin, say.
> >
> > Thanks Keshav, that's a great summary of the relation between
> > gentoo-prefix, sage-on-gentoo and lmonade [1]. For the record, I'd
> > be very happy to see Sage use lmonade for the distribution aspects.
> >
> > [1] http://www.lmona.de/
> >
> > lmonade was born because I thought that a customized Sage
> > distribution like William's psage [2] was not maintainable in the
> > long term. It still needs some work to cover all functionality of
> > the Sage distribution, such as relocation and support for
> > development of Sage. Given time, these are not hard problems.
> > Unfortunately, I haven't had much time to work on lmonade lately.
> >
> > [2] http://purple.sagemath.org/
> 
> Hmm, so basically you wanted psage to just be sage with certain USE
> flags turned off?

Essentially, yes. psage (like Sage) is a separate python library as well as a 
distribution. psage the python library would have its ebuild,
which depends on Sage. The Sage ebuild would have USE flags to choose
if you want fortran or maxima installed.

 
> >> Here is a highly abbreviated directory tree of lmonade, as it
> >> appears in the installation I made the other day, for reference:
> >> 
> >> lmonade/
> >> | dist  package management / build system
> >> | | distfiles/  downloaded upstream source tarballs
> >> | | log/build logs
> >> | ` portage/ebuilds, patches, etc.
> >> |   ` sci-mathematics/
> >> | ` gap/
> >> |   | files/
> >> |   | | gap-4.4.12-sage-and-steve-lintons-itanium.patch
> >> |   | ` gap-4.4.12-sage-strict_aliasing.patch
> >> |   | gap-4.4.12-r2.ebuild
> >> |   ` metadata.xml
> >> ` local/software is installed here
> >>   | bin/, etc/, include/, lib/, libexec/, sbin/
> >>   ` share/
> >> ` sage/
> >>   ` devel/  corresponds to $SAGE_ROOT/devel today
> >> 
> >> So the "package repository" would be dist/portage, and the "sage
> >> library repository" would be kept at
> >> local/share/sage/devel/sage-main (or hopefully just ...devel/sage,
> >> once we get rid of `sage -clone`). I don't actually know my way
> >> around this directory structure very well, but those are the main
> >> takeaways, I think.
> >
> > Your description is accurate. The development repositories will be
> > in devel/. pynac and pypolymake live ebuilds already put their
> > files in this location. The separation of the sage ebuilds stopped
> > me from using the same scheme for sage up to now. The goal is to
> > put the development repository for a package foo in devel/foo once
> > the user runs
> >
> > lmnd devel foo
> >
> 
> Well, by ...devel/sage I meant local/share/sage/devel/sage , as
> opposed to local/share/sage/devel/sage-main . Are you saying that you
> would put development repositories in a top level directory,
> lmonade/devel ?

Yep. Top level directory named devel/, like it is in Sage, but only specific to 
the Sage library and notebook.

> I don't see a live ebuild for pynac nor any ebuild for pypolymake,
> btw... I think I have the latest lmonade version
> (prefix-20111201.tar.bz2, right?).

The files with version number  are live ebuilds. They pull from
the mercurial repositories and build the latest version of the code:

https://bitbucket.org/burcin/lmnd-prefix/src/tip/sci-libs/pynac
https://bitbucket.org/burcin/lmnd-prefix/src/tip/sci-mathematics/pypolymake

Try this (from your lmonade root, in the prefix shell):

cd local/etc/portage
echo sci-libs/pynac devel.env > package.env
echo =sci-libs/pynac- ** > package.accept_keywords
emerge pynac

Then check /devel/.

If the above doesn't work, you probably don't have
local/etc/portage/env/devel.env yet. Previous 

Re: [sage-devel] Possible sage days on function fields

2012-02-22 Thread John Cremona
On 22 February 2012 13:41, Maarten Derickx  wrote:
> Dear Sage-developers,
>
> Michiel Kosters and I are currently writing a proposal for the Lorentz
> Center [1] in order to organize a sage days on the subject of function

Great idea!

> fields. It would be useful for us to have an estimate of how many of you are
> interested in participating in such a Sage Days. It would also be useful for
> us to know if you would like to have certain function field functionality in
> sage for your own research to explain to the Lorentz Center why such a sage
> days should be organized (other arguments are welcome to!).
> So to be concrete:
>
> 1. Are you willing to participate in such a sage days?

Yes, as long as the dates are convenient.

> 1. a) If yes, are there dates around the end of this year which are very
> inconvenient for you?

Not the last week in September
(http://www2.warwick.ac.uk/fac/sci/maths/research/events/2012-2013/numbertheory/selmergroups/).
 There might be some other periods I cannot make as this will fall
within the 2012-13 Warwick Number Theory Symposium (year-long) -- see
http://www2.warwick.ac.uk/fac/sci/maths/research/events/2012-2013/numbertheory/).

> 2. Why do you want sage to get better at computing stuff about function
> fields?

I implemented quite a few function field things using Magma a few
years ago, including finding rational points on conics over function
fields (joint with Mark van Hoeij) and some 2-descent on ellitpic
curves over F_p(T), p odd (joint with David Roberts), most of which is
now in Magma, but most is not in Sage.  And I like function fields,
and consider them to be an area where Sage lags behind Magma still.

John

>
> Thanks in Advance,
> Maarten Derickx
>
> [1] http://www.lorentzcenter.nl/
>
> --
> 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/group/sage-devel
> URL: http://www.sagemath.org

-- 
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/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: integration bug, segfault

2012-02-22 Thread kcrisman


On Feb 22, 2:10 am, Dan Drake  wrote:
> On Tue, 21 Feb 2012 at 09:44PM -0500, D. S. McNeil wrote:
> > > I think it's very appropriate to open a ticket for this.  It would be
> > > even more appropriate to try to construct a more minimal
> > > counterexample :) but at least then we have it on the record.
>
> > So far the best I can do is
>
> > f(t) = e^(-(4.007 - 3*I)*t)
> > integral(f, (t, 0, infinity))
>
> > *boom*
>
> > and note that 4007/1000 doesn't crash.
>
> The problems here remind me a bit of what I came across in 
> December:https://groups.google.com/d/topic/sage-devel/JZ54xk51F-E/discussion
>
> I didn't get a segfault, but in both cases, integrating with floats is
> related to the problem.

For reference for those not on the previous thread, this led up to
http://trac.sagemath.org/sage_trac/ticket/12152 .

-- 
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/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Possible sage days on function fields

2012-02-22 Thread Maarten Derickx
Dear Sage-developers,

Michiel Kosters and I are currently writing a proposal for the Lorentz 
Center [1] in order to organize a sage days on the subject of function 
fields. It would be useful for us to have an estimate of how many of you 
are interested in participating in such a Sage Days. It would also be 
useful for us to know if you would like to have certain function field 
functionality in sage for your own research to explain to the Lorentz 
Center why such a sage days should be organized (other arguments are 
welcome to!).
So to be concrete:

1. Are you willing to participate in such a sage days?
1. a) If yes, are there dates around the end of this year which are very 
inconvenient for you?
2. Why do you want sage to get better at computing stuff about function 
fields?

Thanks in Advance,
Maarten Derickx

[1] http://www.lorentzcenter.nl/

-- 
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/group/sage-devel
URL: http://www.sagemath.org


[sage-devel] Re: Sage + Hadoop

2012-02-22 Thread Martin Raum
Hi Andrew,

I would be interested as well. It seems like a fabously efficient way of 
distributing jobs.

>From having a short glance at the webpage I see that you use jpython. I 
doubt that Sage builds with it, so I wonder whether this can become a 
problem or not.

Best, Martin

-- 
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/group/sage-devel
URL: http://www.sagemath.org