Re: [sage-devel] Default precision for floats

2015-09-13 Thread Thierry Dumont

Le 13/09/2015 01:36, Vincent Delecroix a écrit :

It would indeed be cool to have an option to change interactively the
precision...

preparser.set_precision?

or simply

set_precision?

Vincent


I can look at this and propose an implementation...
Thanks!
t.

On 12/09/15 19:49, David Roe wrote:

One approach would be to change "RealNumber('%s')" % num on line 739
of sage.repl.preparse to "RealNumber('%s',min_prec=1000)" % num.
David

On Sat, Sep 12, 2015 at 12:24 PM, Thierry Dumont
 wrote:

I have a program with a lot of floating point constants/variables
(this is a
translation of a C++ program).
Nowadays -by default- all these values live in RealField(53).

But, as my problem is a bit ill conditioned, I would like to compute in
higher precision, say in RealField(1000).

Is there a possibility to change the default behavior of say,

x=1.0
x.parent()
Real Field with 53 bits of precision

so that:

x=1.0
x.parent()

gives
Real Field with 1000 bits of precision
?

Yours
t.

--
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.
For more options, visit https://groups.google.com/d/optout.






--
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.
For more options, visit https://groups.google.com/d/optout.
<>

[sage-devel] Re: How to create a Cython wrapper for an optional C-library?

2015-09-13 Thread Simon King
Hi Volker, hi Jeroen,

On 2015-09-12, Jeroen Demeyer  wrote:
> On 2015-09-12 23:36, Volker Braun wrote:
>> See the usage of OptionalExtension in src/module_list.py
>
> To add to this answer: an OptionalExtension is *always* Cythonized, i.e. 
> Cython is run to generate a .c file. However, it is only compiled if a 
> condition is satisfied, which is usually a package which needs to be 
> installed.

Thank you! I didn't know about that, and I think it is exactly what I
need!

Best regards,
Simon


-- 
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.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Mobile Friendly web sites - SageMath is not one of them.

2015-09-13 Thread Dr. David Kirkby (Kirkby Microwave Ltd)
I recently updated a web site for my local amateur  radio club, to make it
"mobile friendly", as defined by Google. One advantage of that is it gets
higher search ranking by Google when a user is using a mobile device than a
site would otherwise get, See

https://www.google.co.uk/webmasters/tools/mobile-friendly/?url=http%3A%2F%2Fwww.dhars.org.uk%2F

Now I tried the same on the SageMath web site, and it fails.

https://www.google.co.uk/webmasters/tools/mobile-friendly/?url=http%3A%2F%2Fwww.sagemath.org

This means it is less likely to be reported by Google when someone is
searching with a mobile device. So too is Mathematica, which also fails

https://www.google.co.uk/webmasters/tools/mobile-friendly/?url=http%3A%2F%2Fwww.wolfram.com%2Fmathematica%2F

but the SageMath cloud passes

https://www.google.co.uk/webmasters/tools/mobile-friendly/?url=https%3A%2F%2Fcloud.sagemath.com%2F

I was looking at a report from PayPal today, which shows that 85% of the
things I sell are exported outside the UK, but 0% are purchased from my
site with a mobile computer. I think it's about time I addressed that
issue, and made my site "mobile friendly".



Dr. David Kirkby Ph.D CEng MIET
Kirkby Microwave Ltd
Registered office: Stokes Hall Lodge, Burnham Rd, Althorne, Essex, CM3 6DT,
UK.
Registered in England and Wales, company number 08914892.
http://www.kirkbymicrowave.co.uk/
Tel: 07910 441670 / +44 7910 441670 (0900 to 2100 GMT only please)

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Should we still support old-style packages?

2015-09-13 Thread Travis Scrimshaw
I also want to mention that pyx and nzmath are both are pip installable 
(see 
https://groups.google.com/forum/#!searchin/sage-devel/install$20pip/sage-devel/c9joE12sqDg/JJzhG7h4ZNQJ).
 
So could we modify http://trac.sagemath.org/ticket/19187 to handle those as 
well?

In regards to the remaining unclassified optional spkgs:

extra_docs is exactly that, it is extra documentation for the following (* 
marks outdated):

- gap*
- gmp (I think *)
- gnuplot
- ipython*
- kash (do we still even distribute this?)
- linbox*
- macaulay2 (likely *)
- matplotlib*
- maxima*
- mpfr*
- mwrank
- ntl*
- numeric (?)
- numpy*
- octave (I suspect *)
- pari*
- python*
- readline*
- singular*
- zodb

So I think that is pretty much not worth it. (I think we have options that 
we can pass to build these docs too; if not, we should and have each spkg 
carry its own (extra) documentation.)

java3d is a non-mathematical package since it just contains the java 3d 
libraries (and something we should probably force a system-wide install if 
you need these libraries).

pycryptoplus is not mentioned on the online optional spkg list 
, nor in the list from sage 
-optional.

For the experimental spkgs, we can make those new-style as needed and go 
with option (B) or (D with message). Here I don't think there is as much 
need to make sure they do install.

Best,
Travis

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Sources of funding - perhaps computer manufacturers?

2015-09-13 Thread Dr. David Kirkby (Kirkby Microwave Ltd)
A ticket I opened years ago about a problem on AIX, got closed recently. It
got me thinking about something  whose usefulness could well extend beyond
one issue building Sage on AIX.

I gather William is having problems getting funding from NSF and similar
places. I wonder if it's time to look at this a different way. Based on
things in the past

1) Sun sponsored a port to Solaris, and paid the salary of someone.
Unfortunately the computer they donated (t2) was not suited to the task,
but that is irrelevant now. We did eventually get Sage ported to Solaris.

2) Someone from IBM contacted William some time ago an IBM funded port to
AIX. I got involved, as I did have an AIX box, but nothing ever came of it.

I am realistic, and don't expect many Sage developers to care less about
AIX, although I think there is at least one other that will do. IBM do have
some nice hardware.

But how about contacting manufacturers of other devices, to sponsor either
a full Sage port, or a subset of Sage.

Some that come to mind are

i) Nokia
ii) Samsung
iii) Apple
iv) Microsoft
v) Oracle, with their own flavor of Linux.
vi) Cray - obviously concentrating on parallel processing

Then there's the possibility of a mobiles apps for Android and Apple phones
that have a subset of functionality without internet access, and better
access with internet access.



Dr. David Kirkby Ph.D CEng MIET
Kirkby Microwave Ltd
Registered office: Stokes Hall Lodge, Burnham Rd, Althorne, Essex, CM3 6DT,
UK.
Registered in England and Wales, company number 08914892.
http://www.kirkbymicrowave.co.uk/
Tel: 07910 441670 / +44 7910 441670 (0900 to 2100 GMT only please)

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Please redirect the old homepage of my cohomology spkg

2015-09-13 Thread R. Andrew Ohana
Sage.math points to wstein.org (as per an earlier request by William). As
far as I'm aware, he is the only one with credentials to that system, I
certainly don't have access.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Sources of funding - perhaps computer manufacturers?

2015-09-13 Thread William Stein
On Sunday, September 13, 2015, Dr. David Kirkby (Kirkby Microwave Ltd) <
drkir...@kirkbymicrowave.co.uk> wrote:

> A ticket I opened years ago about a problem on AIX, got closed recently.
> It got me thinking about something  whose usefulness could well extend
> beyond one issue building Sage on AIX.
>
> I gather William is having problems getting funding from NSF and similar
> places. I wonder if it's time to look at this a different way. Based on
> things in the past
>
> 1) Sun sponsored a port to Solaris, and paid the salary of someone.
>

You are misremembering slightly.  Sun didn't give us a penny and definitely
didn't fund Michael Abshoff to work on the port.  Sun gave UW one computer
and some publicity, then a few months later they got bought buy oracle and
all education outreach went silent.



> Unfortunately the computer they donated (t2) was not suited to the task,
> but that is irrelevant now. We did eventually get Sage ported to Solaris.
>
> 2) Someone from IBM contacted William some time ago an IBM funded port to
> AIX. I got involved, as I did have an AIX box, but nothing ever came of it.
>

We exchanged emails back and forth for a while which got my hopes up
temporarily but it was very clear there would be $0 support there.



> I am realistic, and don't expect many Sage developers to care less about
> AIX, although I think there is at least one other that will do. IBM do have
> some nice hardware.
>
> But how about contacting manufacturers of other devices, to sponsor either
> a full Sage port, or a subset of Sage.
>
> Some that come to mind are
>
> i) Nokia
> ii) Samsung
> iii) Apple
> iv) Microsoft
> v) Oracle, with their own flavor of Linux.
> vi) Cray - obviously concentrating on parallel processing
>
> Then there's the possibility of a mobiles apps for Android and Apple
> phones that have a subset of functionality without internet access, and
> better access with internet access.
>
>
>
> Dr. David Kirkby Ph.D CEng MIET
> Kirkby Microwave Ltd
> Registered office: Stokes Hall Lodge, Burnham Rd, Althorne, Essex, CM3
> 6DT, UK.
> Registered in England and Wales, company number 08914892.
> http://www.kirkbymicrowave.co.uk/
> Tel: 07910 441670 / +44 7910 441670 (0900 to 2100 GMT only please)
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my massive iPhone 6 plus.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Please redirect the old homepage of my cohomology spkg

2015-09-13 Thread Dima Pasechnik
IMHO it's Harald who takes care of this. I CC to him.

On Friday, 11 September 2015 01:59:35 UTC-7, Simon King wrote:
>
> Hi! 
>
> In case some administrator for sage.math.washington reads this: 
>
> I have moved the documentation of my group cohomology spkg. The old 
> location was http://sage.math.washington.edu/home/SimonKing/Cohomology/, 
> the old is http://users.minet.uni-jena.de/cohomology/documentation/ 
>
> Can you please redirect the old to the new location? 
>
> Best regards, 
> Simon 
>
>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Should we still support old-style packages?

2015-09-13 Thread John Cremona
I have no ideal what is in the extra_docs for mwrank but it might be
an out-of-date version of what can be found at
https://github.com/JohnCremona/eclib/tree/master/doc/mwrank

John

On 13 September 2015 at 17:54, Travis Scrimshaw  wrote:
> I also want to mention that pyx and nzmath are both are pip installable (see
> https://groups.google.com/forum/#!searchin/sage-devel/install$20pip/sage-devel/c9joE12sqDg/JJzhG7h4ZNQJ).
> So could we modify http://trac.sagemath.org/ticket/19187 to handle those as
> well?
>
> In regards to the remaining unclassified optional spkgs:
>
> extra_docs is exactly that, it is extra documentation for the following (*
> marks outdated):
>
> - gap*
> - gmp (I think *)
> - gnuplot
> - ipython*
> - kash (do we still even distribute this?)
> - linbox*
> - macaulay2 (likely *)
> - matplotlib*
> - maxima*
> - mpfr*
> - mwrank
> - ntl*
> - numeric (?)
> - numpy*
> - octave (I suspect *)
> - pari*
> - python*
> - readline*
> - singular*
> - zodb
>
> So I think that is pretty much not worth it. (I think we have options that
> we can pass to build these docs too; if not, we should and have each spkg
> carry its own (extra) documentation.)
>
> java3d is a non-mathematical package since it just contains the java 3d
> libraries (and something we should probably force a system-wide install if
> you need these libraries).
>
> pycryptoplus is not mentioned on the online optional spkg list, nor in the
> list from sage -optional.
>
> For the experimental spkgs, we can make those new-style as needed and go
> with option (B) or (D with message). Here I don't think there is as much
> need to make sure they do install.
>
> Best,
> Travis
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Sources of funding - perhaps computer manufacturers?

2015-09-13 Thread Dr. David Kirkby (Kirkby Microwave Ltd)
On 13 September 2015 at 18:31, William Stein  wrote:

>
>
> On Sunday, September 13, 2015, Dr. David Kirkby (Kirkby Microwave Ltd) <
> drkir...@kirkbymicrowave.co.uk> wrote:
>
>> A ticket I opened years ago about a problem on AIX, got closed recently.
>> It got me thinking about something  whose usefulness could well extend
>> beyond one issue building Sage on AIX.
>>
>> I gather William is having problems getting funding from NSF and similar
>> places. I wonder if it's time to look at this a different way. Based on
>> things in the past
>>
>> 1) Sun sponsored a port to Solaris, and paid the salary of someone.
>>
>
> You are misremembering slightly.  Sun didn't give us a penny and
> definitely didn't fund Michael Abshoff to work on the port.  Sun gave
> UW one computer and some publicity, then a few months later they got bought
> buy oracle and all education outreach went silent.
>

OK, I was mistaken. It is a long time ago - back in 2009 we got t2.math I
think.


>
>
>
>> Unfortunately the computer they donated (t2) was not suited to the task,
>> but that is irrelevant now. We did eventually get Sage ported to Solaris.
>>
>> 2) Someone from IBM contacted William some time ago an IBM funded port to
>> AIX. I got involved, as I did have an AIX box, but nothing ever came of it.
>>
>
> We exchanged emails back and forth for a while which got my hopes up
> temporarily but it was very clear there would be $0 support there.
>

Agreed, the AIX interested from someone at IBM did go anywhere. But that
does not mean that an approach to other hardware/software vendors would
fail. If funding has dried up from research grants, perhaps another
approach is needed.

Dave

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Please redirect the old homepage of my cohomology spkg

2015-09-13 Thread Harald Schilly
Well, I don't know who administers this "sage.math" server and AFAIK I
don't even have root access.



On Sun, Sep 13, 2015 at 7:29 PM, Dima Pasechnik  wrote:
> IMHO it's Harald who takes care of this. I CC to him.
>
> On Friday, 11 September 2015 01:59:35 UTC-7, Simon King wrote:
>>
>> Hi!
>>
>> In case some administrator for sage.math.washington reads this:
>>
>> I have moved the documentation of my group cohomology spkg. The old
>> location was http://sage.math.washington.edu/home/SimonKing/Cohomology/,
>> the old is http://users.minet.uni-jena.de/cohomology/documentation/
>>
>> Can you please redirect the old to the new location?
>>
>> Best regards,
>> Simon
>>
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Sage and independent C++ code

2015-09-13 Thread Nathann Cohen
Hello everybody,

>From time to time, I get these emails asking whether this or that
feature of our graph theory library if available independently from
Sage.

I often answer 'no' or 'it isn't had to strip the python file of its
Sage attributes'. Sometimes it is Cython code, and it then becomes
hard to make it independent easily.

I am thinking of rewriting some code in C++, so that people can use
the source even without Sage.

What do you think ? We do not have anything 'between' Sage code and an
external library. In this case, I wouldn't want to package those
sources as an optional/standard package, but to keep them as native
code, in C++. It would be 'Sage source code', though made to be used
independently.

What do you think of that ? Just wondering.

Have fuun,

Nathann

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Re: Please redirect the old homepage of my cohomology spkg

2015-09-13 Thread William Stein
On Sun, Sep 13, 2015 at 11:50 AM, Harald Schilly
 wrote:
> Well, I don't know who administers this "sage.math" server and AFAIK I
> don't even have root access.

I can't login either.   Andrew must be the only one with access.

I think we should get a few people together and reset everything
regarding the sagemath hardware -- who wants to help?

William

>
>
>
> On Sun, Sep 13, 2015 at 7:29 PM, Dima Pasechnik  wrote:
>> IMHO it's Harald who takes care of this. I CC to him.
>>
>> On Friday, 11 September 2015 01:59:35 UTC-7, Simon King wrote:
>>>
>>> Hi!
>>>
>>> In case some administrator for sage.math.washington reads this:
>>>
>>> I have moved the documentation of my group cohomology spkg. The old
>>> location was http://sage.math.washington.edu/home/SimonKing/Cohomology/,
>>> the old is http://users.minet.uni-jena.de/cohomology/documentation/
>>>
>>> Can you please redirect the old to the new location?
>>>
>>> Best regards,
>>> Simon
>>>
>>>
>>
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (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.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Sage and independent C++ code

2015-09-13 Thread William Stein
On Sunday, September 13, 2015, Nathann Cohen 
wrote:

> Hello everybody,
>
> From time to time, I get these emails asking whether this or that
> feature of our graph theory library if available independently from
> Sage.
>
> I often answer 'no' or 'it isn't had to strip the python file of its
> Sage attributes'. Sometimes it is Cython code, and it then becomes
> hard to make it independent easily.
>
> I am thinking of rewriting some code in C++, so that people can use
> the source even without Sage.
>
> What do you think ? We do not have anything 'between' Sage code and an
> external library. In this case, I wouldn't want to package those
> sources as an optional/standard package, but to keep them as native
> code, in C++. It would be 'Sage source code', though made to be used
> independently.
>
> What do you think of that ? Just wondering.
>
>
We should break sage up into dozens of smaller libraries that are hosted on
pypi.  I think  pip is good enough these to support
install/uninstall/versions/dependencies/c++ code, etc.   Then the code
you're talking about would be a new package there.  A sage release would be
a bunch of specific versions that we tested together.  Etc. this is the
future.



> Have fuun,
>
> Nathann
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my massive iPhone 6 plus.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[sage-combinat-devel] Skew partitions for symmetric functions

2015-09-13 Thread Travis Scrimshaw
While looking into the code on skew Schur functions, I noticed this:

elif x in sage.combinat.skew_partition.SkewPartitions():
import sage.libs.lrcalc.lrcalc as lrcalc
skewschur = lrcalc.skew(x[0], x[1])
return self._from_dict(skewschur)

This has the following result:

sage: s = SymmetricFunctions(QQ).s()
sage: e = SymmetricFunctions(QQ).e()
sage: sp = SkewPartition([[5,3,3,1], [3,2,1]])
sage: e(s(sp))
e[2, 1, 1, 1, 1] - e[2, 2, 1, 1] - e[3, 1, 1, 1] + e[3, 2, 1]
sage: e(sp)
e[2, 2, 1, 1] + e[2, 2, 2] + e[3, 1, 1, 1] + 3*e[3, 2, 1] + e[3, 3] + 2*e[4, 
1, 1] + 2*e[4, 2] + e[5, 1]

The skew() function of lrcalc returns the corresponding skew Schur 
function, so the above is a bug. My question is should we

(A) raise an error for skew shapes on all bases,
(B) allow only of the Schur basis, or
(C) construct the skew Schur function and convert to the corresponding 
basis.

I'm not so sure about (C) because this would mean skew partitions behave 
very differently than for partitions. I'm leaning towards (B). Thoughts?

I'm also going to add a method skew_schur() which constructs the skew Schur 
function, as to make getting at skew Schur functions easier (there is also 
right now the skew_by method, but that acts on elements).

Best,
Travis

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


Re: [sage-devel] Re: Please redirect the old homepage of my cohomology spkg

2015-09-13 Thread Dima Pasechnik
On 13 September 2015 at 11:00, William Stein  wrote:
> On Sun, Sep 13, 2015 at 11:50 AM, Harald Schilly
>  wrote:
>> Well, I don't know who administers this "sage.math" server and AFAIK I
>> don't even have root access.
>
> I can't login either.   Andrew must be the only one with access.
>
> I think we should get a few people together and reset everything
> regarding the sagemath hardware -- who wants to help?
>

Could I help somehow?

Dima

> William
>
>>
>>
>>
>> On Sun, Sep 13, 2015 at 7:29 PM, Dima Pasechnik  wrote:
>>> IMHO it's Harald who takes care of this. I CC to him.
>>>
>>> On Friday, 11 September 2015 01:59:35 UTC-7, Simon King wrote:

 Hi!

 In case some administrator for sage.math.washington reads this:

 I have moved the documentation of my group cohomology spkg. The old
 location was http://sage.math.washington.edu/home/SimonKing/Cohomology/,
 the old is http://users.minet.uni-jena.de/cohomology/documentation/

 Can you please redirect the old to the new location?

 Best regards,
 Simon


>>>
>>
>> --
>> 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.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> William (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.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Sources of funding - perhaps computer manufacturers?

2015-09-13 Thread William Stein
On Sunday, September 13, 2015, Dr. David Kirkby (Kirkby Microwave Ltd) <
drkir...@kirkbymicrowave.co.uk> wrote:

> On 13 September 2015 at 18:31, William Stein  > wrote:
>
>>
>>
>> On Sunday, September 13, 2015, Dr. David Kirkby (Kirkby Microwave Ltd) <
>> drkir...@kirkbymicrowave.co.uk
>> > wrote:
>>
>>> A ticket I opened years ago about a problem on AIX, got closed recently.
>>> It got me thinking about something  whose usefulness could well extend
>>> beyond one issue building Sage on AIX.
>>>
>>> I gather William is having problems getting funding from NSF and similar
>>> places. I wonder if it's time to look at this a different way. Based on
>>> things in the past
>>>
>>> 1) Sun sponsored a port to Solaris, and paid the salary of someone.
>>>
>>
>> You are misremembering slightly.  Sun didn't give us a penny and
>> definitely didn't fund Michael Abshoff to work on the port.  Sun gave
>> UW one computer and some publicity, then a few months later they got bought
>> buy oracle and all education outreach went silent.
>>
>
> OK, I was mistaken. It is a long time ago - back in 2009 we got t2.math I
> think.
>
>
>>
>>
>>
>>> Unfortunately the computer they donated (t2) was not suited to the task,
>>> but that is irrelevant now. We did eventually get Sage ported to Solaris.
>>>
>>> 2) Someone from IBM contacted William some time ago an IBM funded port
>>> to AIX. I got involved, as I did have an AIX box, but nothing ever came of
>>> it.
>>>
>>
>> We exchanged emails back and forth for a while which got my hopes up
>> temporarily but it was very clear there would be $0 support there.
>>
>
> Agreed, the AIX interested from someone at IBM did go anywhere. But that
> does not mean that an approach to other hardware/software vendors would
> fail. If funding has dried up from research grants, perhaps another
> approach is needed.
>
>
I won't be pursuing this.   I can only do so many things at once, and not
focusing would ensure failure.  If somebody else wants to try, please go
for it!



> Dave
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my massive iPhone 6 plus.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Should we still support old-style packages?

2015-09-13 Thread William Stein
On Wednesday, September 9, 2015, Jeroen Demeyer 
wrote:

> Hello,
>
> as you might know, we currently have two kinds of packages in Sage: the
> old-style .spkg files which were the norm in Sage 5.x and the new-style
> $SAGE_ROOT/build/pkgs packages which are currently the norm.
>
> The question is: to what extent should we continue supporting old-style
> packages?
>
> (A) sage -i OLDSTYLEPKGNAME should just install the package, there is no
> difference with new-style packages from the user's point of view.
> (B) sage -i OLDSTYLEPKGNAME should still work but with a clear deprecation
> warning.
> (C) sage -i OLDSTYLEPKGNAME should still work but only after a "are you
> sure?" confirmation, like we have for experimental packages.
> (D) sage -i OLDSTYLEPKGNAME should give an error.



As I mentioned before I greatly prefer just fixing things so they work, and
I'm really happy to see that much progress was made toward that goal.

Regarding the above I think (b) is the best option given our long
established deprecation policy.   Also if we were to immediately switched
to (d) and I hit it, I would just curse and hack things back to (b) anyways
(and maybe write a post ruminating about deprecation policies).

Our time limit approach to deprecation is kind of odd by the way -- much
more standard these days is semver (semantic versioning) which is something
we have only minimally worried about.

William


>
> In Sage 6.8 we have (A) and in the latest betas, we have (D). I think that
> (D) is an over-reaction to the problem that some old-style packages are
> confusing or broken.
>
> My personal vote goes to (B) since it still allows non-interactive scripts
> to work like before but it shows a clear message that packages should
> migrate to new-style packages. This is also implemented in #19158.
>
> Jeroen..
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Sent from my massive iPhone 6 plus.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] *.math.washington.edu hardware resources

2015-09-13 Thread William Stein
On Sun, Sep 13, 2015 at 12:44 PM, Dima Pasechnik  wrote:
> On 13 September 2015 at 11:00, William Stein  wrote:
>> On Sun, Sep 13, 2015 at 11:50 AM, Harald Schilly
>>  wrote:
>>> Well, I don't know who administers this "sage.math" server and AFAIK I
>>> don't even have root access.
>>
>> I can't login either.   Andrew must be the only one with access.
>>
>> I think we should get a few people together and reset everything
>> regarding the sagemath hardware -- who wants to help?
>>
>
> Could I help somehow?

YES.  Please, please, I hope that around 3 or 4 people respond and
say, "I can definitely help".  We will then -- as a community -- come
up with a plan for how to use the extensive hardware I have at UW that
fits what the internal audit office agreed with, and then do it.   I
can do what needs local access, and everybody can do all the other
stuff, after we discuss it together, and come up with an approach that
has certain properties that make sense.

We can discuss this on the sagemath-admins list in the long run.  We
could start with an inventory of hardware and space, then go from
there.

In the short run, let's think about a plan that works.   My memory is
that this is the inventory of resources:

 - one single rack

 - "infinite" free bandwidth and power

 - 20 (?) Dell R415 1U servers with 16 cores and between 64 and 96GB
RAM and between 1 and 6TB of disk.  Most have a 1TB SSD.

 - 4 2U Suns from Jan 2009 with 24 cores and 128GB RAM.

 - a 64-core Dell with 192GB RAM that regularly crashes.

 - 1 4U Sun with 24TB of disk (48 512GB disks)

 - a big UPS that takes up nearly 1/3 of the rack.

I think that is it.   Note that currently half of the Dell R415's are
in pile on the floor, since they don't fit in the rack.

Andrew Ohana put CentOS and some kvm VM's on some of the above
machines.  However, he has no time for admin work, so I'm OK with
starting over.

Ideas from people doing the work to implement them *and* maintain them
for at least a year are welcome.

I would like to have a core team of about 5 people who all have full
admin access to all machines, and understand *exactly* what is where
involved.   Most of the above machines even have remote management
interfaces, which provide full console access (and CD drives, etc.).

What we host:

   - trac
   - sage wiki
   - downloads/rsync server
   - cython's stuff: on a dedicated server
   - mpir's stuff: on a dedicated server
   - a few hundred sage.math accounts and corresponding files... like
Simon King's.

These are all *fine* to continue hosting, including Simon's stuff and
much more like it... if the community will help.

 -- William







-- 
William (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.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Sources of funding - perhaps computer manufacturers?

2015-09-13 Thread Dr. David Kirkby (Kirkby Microwave Ltd)
On 13 Sep 2015 21:49, "William Stein"  wrote:

>> Agreed, the AIX interested from someone at IBM did go anywhere. But that
does not mean that an approach to other hardware/software vendors would
fail. If funding has dried up from research grants, perhaps another
approach is needed.
> I won't be pursuing this.   I can only do so many things at once, and not
focusing would ensure failure.  If somebody else wants to try, please go
for it!

I can't as I don't work in a uni, but perhaps others could.  Anyway it was
just an idea.

Dave

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Versions mishandled while installing packages

2015-09-13 Thread Andrey Novoseltsev
Doing with sage-6.9.beta6

./sage -i threejs

results in 

sage-logger 'sage-spkg -f threejs-r70' 
'/home/sc_serv/sage/logs/pkgs/threejs-r70.log'
Attempting to download package threejs-r70
Error: could not find a package matching threejs-r70
   Try 'sage --package list' to see the available packages
   Did you mean: threejs?

Same problem with pycrypto that gets turned into pycryptoplus.

-- 
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.
For more options, visit https://groups.google.com/d/optout.