[sage-devel] Functional derivative consistent with current .diff( )

2013-04-20 Thread ManDay
I'd like to be able to derive in the following manner:

x = var( "x" );
J = function( "g",x );
f = function( "f",g );

# like so

x1 = var( "x1" );

f.diff( J( x1 ) );

which is the functional f derivate with respect to the value of J at x1. Is 
this possible in a fashion at least similar to what I demonstrate above? I'm 
not understanding enough of the internal workings of symbolic expressions to 
modify "diff" so that it would do what I suggest, perhaps someone has a clever 
idea.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Failure When Building Sage 5.8

2013-04-20 Thread J G
I have been trying to build Sage 5.8 but it ends with the following error in 
the log:

g++ -O2 -g  -fPIC -pipe  -fno-implicit-templates -I. -I.. 
-I/tmp/SBo/sage-5.8/local  -I/tmp/SBo/sage-5.8/local/include 
-I/tmp/SBo/sage-5.8/local/include -I/tmp/SBo/sage-5.8/local/include  
-I/usr/local/include  -DNDEBUG -DOM_NDEBUG -Dx86_64_Linux -DHAVE_CONFIG_H -c 
longtrans.cc
gcc -O2 -g  -fPIC -pipe  -I. -I.. -I/tmp/SBo/sage-5.8/local  
-I/tmp/SBo/sage-5.8/local/include -I/tmp/SBo/sage-5.8/local/include 
-I/tmp/SBo/sage-5.8/local/include  -I/usr/local/include  -DNDEBUG -DOM_NDEBUG 
-Dx86_64_Linux -DHAVE_CONFIG_H -c weight0.c
In file included from ../kernel/si_gmp.h:4:0,
 from ../kernel/structs.h:15,
 from weight0.c:13:
../factory/cf_gmp.h:2501:28: fatal error: bits/c++config.h: No such file or 
directory
 #include 
^
compilation terminated.
make[4]: *** [weight0.o] Error 1
make[4]: Leaving directory 
`/tmp/SBo/sage-5.8/spkg/build/singular-3-1-5.p4/src/kernel'
make[3]: *** [install-nolns] Error 1
make[3]: Leaving directory `/tmp/SBo/sage-5.8/spkg/build/singular-3-1-5.p4/src'
Unable to build and install Singular
Error building Singular (error in build_singular).

real3m10.558s
user2m54.754s
sys 0m13.856s

Error installing package singular-3-1-5.p4

Could someone advise me on fixing this issue? I am compiling this on Slackware 
Current 64 bit.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [sage-devel] Solaris binaries?

2013-04-20 Thread Julien Puydt

Le 20/04/2013 13:45, Jeroen Demeyer a écrit :

On 04/20/2013 12:14 PM, Julien Puydt wrote:

Le 20/04/2013 10:29, Jeroen Demeyer a écrit :

I propose to complete remove the page
http://www.sagemath.org/download-solaris.html
since one might conclude that Sage versions laters than Sage 4.7 don't
support Solaris, which is completely false.

What is true is that there are no *binaries* made for Solaris. Given the
small number of Solaris users and given the slowness of our Solaris
machine, I see not much point in making such binaries.


How slow do you mean? It takes me two days to build a bdist for sage...

That's pretty slow, isn't it? Perhaps the Skynet machine can do it in
one day, but still, I doubt the usefulness.


Well, first: I was discussing an ARM bdist ; I was definitely not clear 
about that!


And then it's slow because I have to:
- start compiling with export MAKE="make -j 3 -k" ;
- look regularly to see when it starts compiling m4rie
- kill the m4rie compilation (kill -9  on the conversion.c 
compilation) [note: the -k makes sure everything not needing m4rie is 
compiled before this failure stops the compilation process]
- at that point, kill the gui and as many things as possible to free 
ram, export MAKE="make" and relaunch the compilation, which takes care 
of m4rie. Do that before going to bed!
- kill the compilation wherever it is on wake up (that is, if it is 
finished with m4rie) ;

- restart the gui and the various processes ;
- export MAKE="make -j 3" and finish the build.

I long to see the next m4rie and the next atlas in sage, since both have 
been made much easier to compile in general, and on ARM in particular.


Snark on #sagemath

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] help vs. ?

2013-04-20 Thread Volker Braun
Can somebody explain to me why "help(x)" is totally different from "x?" aka 
"%pinfo x"?  I mean, I understand the mechanics but is there anybody who 
likes the current behavior? Shouldn't help() return the same as %pinfo?




-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Re: Solaris binaries?

2013-04-20 Thread Harald Schilly
On Saturday, April 20, 2013 5:42:45 PM UTC+2, leif wrote:
>
> I would probably keep the directory / page though, with just a README 
> explaining that we still (intend to) support Solaris on x86 and SPARC 
> (and regularly test on these platforms), but simply do no longer offer 
> binary distributions of Sage for these. 


This sounds reasonable, I'll change the directory on the download mirrors.

H

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Re: Solaris binaries?

2013-04-20 Thread Jean-Pierre Flori


Le samedi 20 avril 2013 17:42:45 UTC+2, leif a écrit :
>
> William Stein wrote: 
> > On Sat, Apr 20, 2013 at 5:33 AM, leif  
> > > wrote: 
> > 
> > Jeroen Demeyer wrote: 
> > 
> > On 04/20/2013 12:14 PM, Julien Puydt wrote: 
> > 
> > Le 20/04/2013 10:29, Jeroen Demeyer a �crit : 
> > 
> > I propose to complete remove the page 
> > http://www.sagemath.org/__download-solaris.html 
> >  
> > since one might conclude that Sage versions laters than 
> > Sage 4.7 don't 
> > support Solaris, which is completely false. 
> > 
> > What is true is that there are no *binaries* made for 
> > Solaris. Given the 
> > small number of Solaris users and given the slowness of 
> > our Solaris 
> > machine, I see not much point in making such binaries. 
> > 
> > 
> > How slow do you mean? It takes me two days to build a bdist 
> > for sage... 
> > 
> > That's pretty slow, isn't it? Perhaps the Skynet machine can do 
> > it in 
> > one day, but still, I doubt the usefulness. 
> > 
> > 
> > People promised a couple of times (last time early this year IIRC) 
> > that t2 (i.e., a SPARC) will come back... 
> > 
> > 
> > t2 will definitely *not* be coming back. 
>
> Ok.  I think those running Solaris SPARC machines are rather unlikely to 
> use pre-built [Sage] binaries anyway. 
>
> I would probably keep the directory / page though, with just a README 
> explaining that we still (intend to) support Solaris on x86 and SPARC 
> (and regularly test on these platforms), but simply do no longer offer 
> binary distributions of Sage for these. 
>
> And we should probably do the same for Cygwin, unless someone wants to 
provide build/patch bots. 

>
> -leif 
>
>
> > For x86[_64], we may ask Dave whether he would want us to build 
> > binaries on hawk. 
> > 
> > 
> > -leif 
>
> -- 
> () The ASCII Ribbon Campaign 
> /\   Help Cure HTML E-Mail 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Re: Solaris binaries?

2013-04-20 Thread leif

William Stein wrote:

On Sat, Apr 20, 2013 at 5:33 AM, leif mailto:not.rea...@online.de>> wrote:

Jeroen Demeyer wrote:

On 04/20/2013 12:14 PM, Julien Puydt wrote:

Le 20/04/2013 10:29, Jeroen Demeyer a écrit :

I propose to complete remove the page
http://www.sagemath.org/__download-solaris.html

since one might conclude that Sage versions laters than
Sage 4.7 don't
support Solaris, which is completely false.

What is true is that there are no *binaries* made for
Solaris. Given the
small number of Solaris users and given the slowness of
our Solaris
machine, I see not much point in making such binaries.


How slow do you mean? It takes me two days to build a bdist
for sage...

That's pretty slow, isn't it? Perhaps the Skynet machine can do
it in
one day, but still, I doubt the usefulness.


People promised a couple of times (last time early this year IIRC)
that t2 (i.e., a SPARC) will come back...


t2 will definitely *not* be coming back.


Ok.  I think those running Solaris SPARC machines are rather unlikely to 
use pre-built [Sage] binaries anyway.


I would probably keep the directory / page though, with just a README 
explaining that we still (intend to) support Solaris on x86 and SPARC 
(and regularly test on these platforms), but simply do no longer offer 
binary distributions of Sage for these.



-leif



For x86[_64], we may ask Dave whether he would want us to build
binaries on hawk.


-leif


--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [sage-devel] Re: Solaris binaries?

2013-04-20 Thread William Stein
On Sat, Apr 20, 2013 at 5:33 AM, leif  wrote:

> Jeroen Demeyer wrote:
>
>> On 04/20/2013 12:14 PM, Julien Puydt wrote:
>>
>>> Le 20/04/2013 10:29, Jeroen Demeyer a écrit :
>>>
 I propose to complete remove the page
 http://www.sagemath.org/**download-solaris.html
 since one might conclude that Sage versions laters than Sage 4.7 don't
 support Solaris, which is completely false.

 What is true is that there are no *binaries* made for Solaris. Given the
 small number of Solaris users and given the slowness of our Solaris
 machine, I see not much point in making such binaries.

>>>
>>> How slow do you mean? It takes me two days to build a bdist for sage...
>>>
>> That's pretty slow, isn't it? Perhaps the Skynet machine can do it in
>> one day, but still, I doubt the usefulness.
>>
>
> People promised a couple of times (last time early this year IIRC) that t2
> (i.e., a SPARC) will come back...
>
>
t2 will definitely *not* be coming back.


> For x86[_64], we may ask Dave whether he would want us to build binaries
> on hawk.
>
>
> -leif
>
> --
> () The ASCII Ribbon Campaign
> /\   Help Cure HTML E-Mail
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to 
> sage-devel+unsubscribe@**googlegroups.com
> .
> To post to this group, send email to sage-devel@googlegroups.com.
> Visit this group at 
> http://groups.google.com/**group/sage-devel?hl=en
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out
> .
>
>
>


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

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Re: Solaris binaries?

2013-04-20 Thread leif

Jeroen Demeyer wrote:

On 04/20/2013 12:14 PM, Julien Puydt wrote:

Le 20/04/2013 10:29, Jeroen Demeyer a écrit :

I propose to complete remove the page
http://www.sagemath.org/download-solaris.html
since one might conclude that Sage versions laters than Sage 4.7 don't
support Solaris, which is completely false.

What is true is that there are no *binaries* made for Solaris. Given the
small number of Solaris users and given the slowness of our Solaris
machine, I see not much point in making such binaries.


How slow do you mean? It takes me two days to build a bdist for sage...

That's pretty slow, isn't it? Perhaps the Skynet machine can do it in
one day, but still, I doubt the usefulness.


People promised a couple of times (last time early this year IIRC) that 
t2 (i.e., a SPARC) will come back...


For x86[_64], we may ask Dave whether he would want us to build binaries 
on hawk.



-leif

--
() The ASCII Ribbon Campaign
/\   Help Cure HTML E-Mail

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [sage-devel] Solaris binaries?

2013-04-20 Thread Jeroen Demeyer

On 04/20/2013 12:14 PM, Julien Puydt wrote:

Le 20/04/2013 10:29, Jeroen Demeyer a écrit :

I propose to complete remove the page
http://www.sagemath.org/download-solaris.html
since one might conclude that Sage versions laters than Sage 4.7 don't
support Solaris, which is completely false.

What is true is that there are no *binaries* made for Solaris. Given the
small number of Solaris users and given the slowness of our Solaris
machine, I see not much point in making such binaries.


How slow do you mean? It takes me two days to build a bdist for sage...
That's pretty slow, isn't it? Perhaps the Skynet machine can do it in 
one day, but still, I doubt the usefulness.


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [sage-devel] Solaris binaries?

2013-04-20 Thread Julien Puydt

Le 20/04/2013 10:29, Jeroen Demeyer a écrit :

I propose to complete remove the page
http://www.sagemath.org/download-solaris.html
since one might conclude that Sage versions laters than Sage 4.7 don't
support Solaris, which is completely false.

What is true is that there are no *binaries* made for Solaris. Given the
small number of Solaris users and given the slowness of our Solaris
machine, I see not much point in making such binaries.


How slow do you mean? It takes me two days to build a bdist for sage...

Snark on #sagemath

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Re: Size limits for optional/experimental spkgs?

2013-04-20 Thread Harald Schilly
I only saw this posting right now. When setting up the mirrors I somehow 
promised some of them to keep the size we have. Adding this would almost 
double it ;)
Yes, the "huge" category is correct, that's the only one which is not 
mirrored. 

H

On Thursday, April 18, 2013 11:25:18 AM UTC+2, Volker Braun wrote:
>
> I made a package containing all reflexive 4-d polytopes. Is a 9 gigabyte 
> file suitable as optional/experimental spkg?
>
> $ du -sh polytopes_db_4d-1.0.spkg 
> 8.7G polytopes_db_4d-1.0.spkg
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Re: Solaris binaries?

2013-04-20 Thread Harald Schilly
I'm in favour of that, this page hasn't been maintained at all – it's
just "correct" as far as I know. This would also imply to get rid of
the ancient binaries (and the solaris entry) from the mirrors, right?

H

On Sat, Apr 20, 2013 at 10:29 AM, Jeroen Demeyer  wrote:
> I propose to complete remove the page
> http://www.sagemath.org/download-solaris.html
> since one might conclude that Sage versions laters than Sage 4.7 don't
> support Solaris, which is completely false.
>
> What is true is that there are no *binaries* made for Solaris. Given the
> small number of Solaris users and given the slowness of our Solaris machine,
> I see not much point in making such binaries.
>
> On http://www.sagemath.org/download.html, you could simply mention that for
> Solaris (perhaps mention also OpenSolaris and OpenIndiana), we do support
> building from source.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Re: Two small typos in the reference manual

2013-04-20 Thread Volker Braun
Can you make a trac account (see http://trac.sagemath.org) and post your 
patch there? This is how we organize patches.



On Friday, April 19, 2013 11:47:48 PM UTC+1, TB wrote:
>
> Hello sage-devel, 
>
> Here is my first post to this list: 
>
> Included in the attached patch file are two documentation typos I found 
> in the reference manual: 
> * 
> http://www.sagemath.org/doc/reference/interfaces/sage/interfaces/gap.htmlmisses
>  
> a "G" for "GAP". 
> * 
>
> http://www.sagemath.org/doc/reference/categories/sage/categories/weyl_groups.html
>  
> links to a Wikipedia article that does not exist, it should be 
> http://en.wikipedia.org/wiki/Weyl_group 
>
> Sage is a great system, and I hope to have some more contributions to it 
> in the future. 
>
> Best regards, 
> TB 
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Solaris binaries?

2013-04-20 Thread Jeroen Demeyer

I propose to complete remove the page
http://www.sagemath.org/download-solaris.html
since one might conclude that Sage versions laters than Sage 4.7 don't 
support Solaris, which is completely false.


What is true is that there are no *binaries* made for Solaris. Given the 
small number of Solaris users and given the slowness of our Solaris 
machine, I see not much point in making such binaries.


On http://www.sagemath.org/download.html, you could simply mention that 
for Solaris (perhaps mention also OpenSolaris and OpenIndiana), we do 
support building from source.


--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[sage-devel] Two small typos in the reference manual

2013-04-20 Thread TB

Hello sage-devel,

Here is my first post to this list:

Included in the attached patch file are two documentation typos I found 
in the reference manual:
* 
http://www.sagemath.org/doc/reference/interfaces/sage/interfaces/gap.html misses 
a "G" for "GAP".
* 
http://www.sagemath.org/doc/reference/categories/sage/categories/weyl_groups.html 
links to a Wikipedia article that does not exist, it should be 
http://en.wikipedia.org/wiki/Weyl_group


Sage is a great system, and I hope to have some more contributions to it 
in the future.


Best regards,
TB

--
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


diff --git a/sage/categories/weyl_groups.py b/sage/categories/weyl_groups.py
--- a/sage/categories/weyl_groups.py
+++ b/sage/categories/weyl_groups.py
@@ -19,7 +19,7 @@
 r"""
 The category of Weyl groups
 
-See: http://en.wikipedia.org/wiki/Weyl_groups
+See: http://en.wikipedia.org/wiki/Weyl_group
 
 EXAMPLES::
 
diff --git a/sage/interfaces/gap.py b/sage/interfaces/gap.py
--- a/sage/interfaces/gap.py
+++ b/sage/interfaces/gap.py
@@ -16,7 +16,7 @@
expressions, with the result returned as a string.
 
 #. ``gap.new(expr)`` - Creation of a Sage object that
-   wraps a AP object. This provides a Pythonic interface to GAP. For
+   wraps a GAP object. This provides a Pythonic interface to GAP. For
example, if ``f=gap.new(10)``, then
``f.Factors()`` returns the prime factorization of
`10` computed using GAP.