[sage-devel] Re: Coming SageMathCell upgrade - please test!

2016-06-09 Thread Andrey Novoseltsev
This is due to the bug fixed by http://trac.sagemath.org/ticket/20797

Also, I'll try to keep further discussion of SageMathCell at 
https://groups.google.com/forum/#!forum/sage-cell

On Monday, 6 June 2016 02:14:25 UTC-6, Peter Luschny wrote:
>
> ---
> ImportError   Traceback (most recent call last)
>  in ()
> > 1 load('http://')
>   2 load('http://')
>   3 
>
> /home/sc_serv/sage/src/sage/structure/sage_object.pyx in 
> sage.structure.sage_object.load 
> (/home/sc_serv/sage/src/build/cythonized/sage/structure/sage_object.c:11408)()
>1016 
>1017 if sage.repl.load.is_loadable_filename(filename):
> -> 1018 sage.repl.load.load(filename, globals())
>1019 return
>1020 
>
> /home/sc_serv/sage/local/lib/python2.7/site-packages/sage/repl/load.pyc in 
> load(filename, globals, attach)
> 252 raise NotImplementedError("you can't attach a URL")
> 253 from sage.misc.remote_file import get_remote_file
> --> 254 filename = get_remote_file(filename, verbose=False)
> 255 
> 256 from sage.repl.attach import load_attach_path
>
> /home/sc_serv/sage/local/lib/python2.7/site-packages/sage/misc/remote_file.pyc
>  
> in get_remote_file(filename, verbose)
>  34 
>  35 # import compatible with py2 and py3
> ---> 36 from six.moves.urllib.request import urlretrieve
>  37 
>  38 global cur
>
> ImportError: No module named moves.urllib.request
>
>

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


[sage-devel] Re: Weird ImportError with six

2016-06-09 Thread Andrey Novoseltsev
Thanks a lot for explanation, I was completely lost! The suggested fix is 
at http://trac.sagemath.org/ticket/20797

On Tuesday, 31 May 2016 01:26:35 UTC-6, Volker Braun wrote:
>
> great minds think alike ;-)
>
>
> On Tuesday, May 31, 2016 at 8:26:54 AM UTC+2, Frédéric Chapoton wrote:
>>
>> It's because these is a "six" module in sage/misc.
>>
>> I met this problem in #20694
>>
>> Solution: use from __future__ import absolute import
>>
>> Frederic
>>
>> Le mardi 31 mai 2016 07:55:14 UTC+2, Andrey Novoseltsev a écrit :
>>>
>>> Hello,
>>>
>>> Can anybody explain (even better - fix ;-)) what is going on with this 
>>> error with 7.2 and 7.3.beta0:
>>>
>>> sage: from sage.misc.remote_file import get_remote_file
>>> sage: get_remote_file('
>>> http://193.146.36.205:8080/GgbSageDirect/DiscoverGGB/DiscoverGGBAux/2015_11_24_fromGgbXMLString2Cons.sage
>>> ')
>>> Attempting to load remote file: 
>>> http://193.146.36.205:8080/GgbSageDirect/DiscoverGGB/DiscoverGGBAux/2015_11_24_fromGgbXMLString2Cons.sage
>>>
>>> ---
>>> ImportError   Traceback (most recent call 
>>> last)
>>>  in ()
>>> > 1 get_remote_file('
>>> http://193.146.36.205:8080/GgbSageDirect/DiscoverGGB/DiscoverGGBAux/2015_11_24_fromGgbXMLString2Cons.sage
>>> ')
>>>
>>> /home/novoselt/sage/local/lib/python2.7/site-packages/sage/misc/remote_file.pyc
>>>  
>>> in get_remote_file(filename, verbose)
>>>  34
>>>  35 # import compatible with py2 and py3
>>> ---> 36 from six.moves.urllib.request import urlretrieve
>>>  37
>>>  38 global cur
>>>
>>> ImportError: No module named moves.urllib.request
>>>
>>> Given that I can repeat this line directly without any issues:
>>>
>>> sage:  from six.moves.urllib.request import urlretrieve
>>> 
>>>
>>> Thank you!
>>> Andrey
>>>
>>>

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


Re: [sage-devel] sage infrastructure at UW

2016-06-09 Thread 'Bill Hart' via sage-devel
I don't think that anyone is making a case specifically against French 
Universities any more than they are making a case against American 
univerisities.

Some of us now have now had bad experiences on both sides of the Atlantic 
(specifically France because they do host a lot of Free Software 
infrastructure, not because they are French). For example, I have had 
tickets and emails ignored for almost a year in one case.

University admins the world over are not equipped to support large Open 
Source international projects as reliably as we'd like.

William is 100% right here. We should not be relying on specific 
universities, especially when that would add to the load of sysadmins who 
will just end up ignoring tickets, even when there is a system explicit set 
up to deal with such problems.

Bill.

On Tuesday, 7 June 2016 17:16:09 UTC+2, Dima Pasechnik wrote:
>
>
>
> On Tuesday, June 7, 2016 at 3:24:43 PM UTC+1, Thierry 
> (sage-googlesucks@xxx) wrote:
>>
>> Hi, 
>>
>> On Mon, Jun 06, 2016 at 02:35:22PM -0400, William Stein wrote: 
>> [...] 
>> > I am flat out strongly against hosting the Sage wiki, trac, etc.,. 
>> > They should be properly hosted in the cloud, where anybody can be 
>> > added as admins, 
>>
>> FUD 
>>
>> > we can make global backups, 
>>
>> FUD 
>>
>> > move the machines to have a presence anywhere in the world (due to many 
>> > data centers all over), 
>>
>> FUD 
>>
>> > etc. 
>>
>> FUD 
>>
>> > I feel like I've been way too hesitant regarding expressing my 
>> > opinions about the Sage infrastructure for the last year. 
>> > 
>> >  -- William 
>>
>>
>> Following the "don't feed the troll" principle, i did not answer all your 
>> (and Dima's) previous attacks against myself and the people who currently 
>> work on the Sage infrastructure, but this is going too far. Some examples 
>> include: 
>>
>> - spreading wrong and racist statements about french universities and how 
>>   they manage access to VMs [1] 
>>
>
> As [1] refers to a post by me, I think I must clarify that [1] is based on 
> my personal experience
> mostly in Uni. Rennes II about 7-10 years ago. Perhaps I should say that I 
> spent a number of months there
> on a number of occasions; as well as spending several more months visiting 
> Uni. Brest, IHP, and ENS.
> None of them offered (or agreed) to keep my computer account open for more 
> than a couple of months after my departure.
>
> And in most places local system admin was almost non-existent.
> Well, not that I know many places where
> it's considerably better, and I did visit few dozens of universities and 
> research institutes for more or less
> extended periods, that involved dealing with IT. And this is why I think 
> that confining things
> to hosting at a particular university is not a good idea.
>
> And for "rasist", I don't even have a clue what you meant. Really.
> I think it's just a plain insult in my address.
>
> Dima
>
> - suggesting that nobody was working on the migration while you know that 
>>   we are working to set things up correctly (e.g. remote backup system), 
>>   and considering that workers are at your disposal, this is extremly 
>>   patronizing [2] 
>> - maintaining the confusion between university hosting and the very bad 
>>   practices that led us to this situation [3] [4] 
>>
>> If you and Dima deign to apologize and consider the people who work for 
>> Sage with some respect, perhaps might we start a constructive discussion 
>> on the benefits of having a collectively-managed decentralized 
>> University-hosted infrastructure for the Sage services. 
>>
>> Ciao, 
>> Thierry 
>>
>> [1] http://article.gmane.org/gmane.comp.mathematics.sage.devel/84915 
>> [2] http://article.gmane.org/gmane.comp.mathematics.sage.devel/86960 
>> [3] http://article.gmane.org/gmane.comp.mathematics.sage.devel/86954 
>> [4] http://article.gmane.org/gmane.comp.mathematics.sage.devel/84894 
>>
>>
>>

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


Re: [sage-devel] Global namespace and independent python packages

2016-06-09 Thread Andrew


On Thursday, 9 June 2016 17:10:44 UTC+2, Johan S. R. Nielsen wrote:
>
> > from sage.misc.misc import inject_variable 
> > from mytest.test import atest 
> > inject_variable('atest',atest) 
> > 
> > *Question*: do people think that it is reasonable for a package to do 
> this? 
>
> I would also say "No". The reason is that if that is what the user 
> wanted, he could just have done "from mytest import *". If he explicitly 
> does "import mytest" it's because he wants the control over the 
> namespace 

 
Sorry, I didn't fully appreciate your comment above when I first read it. I 
agree, this is fairly compelling.
Andrew 

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


Re: [sage-devel] Global namespace and independent python packages

2016-06-09 Thread Johan S . R . Nielsen
> from sage.misc.misc import inject_variable
> from mytest.test import atest
> inject_variable('atest',atest)
>
> *Question*: do people think that it is reasonable for a package to do this?

I would also say "No". The reason is that if that is what the user
wanted, he could just have done "from mytest import *". If he explicitly
does "import mytest" it's because he wants the control over the
namespace.

Best,
Johan

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


Re: [sage-devel] Global namespace and independent python packages

2016-06-09 Thread Erik Bray
On Thu, Jun 9, 2016 at 3:42 PM, Andrew  wrote:
> Thanks Johan.As much as anything I wanted to know that I wasn't doing
> something stupid.
>
> On Thursday, 9 June 2016 14:02:16 UTC+2, Johan S. R. Nielsen wrote:
>>
>> As a package author, you shouldn't force the user to load the functions
>> into
>> the global namespace. However, it might be possible by getting hold of the
>> globals() object or something.
>
>
> Well, actually, if some one explicitly loads the package using something
> like "import mytest" then I think that it is reasonable to load the main
> functions from the package it the global namespace. Thinking about it, sage
> already does something similar (but more explicit) with methods like
> inject_shorthands. Drilling down a little I realised that I can do what I
> want by putting the following into my __init__.py file:
>
> from sage.misc.misc import inject_variable
> from mytest.test import atest
> inject_variable('atest',atest)
>
> Question: do people think that it is reasonable for a package to do this?

No. Definitely not. Never.

> Arguments against include that packages "shouldn't force the user to load
> the functions into
> the global namespace" and that this may lead to clashes in the namespace. An
> argument in favour of doing this is that this a more user-friendly and a
> user is unlikely to import a package if they don't want to use it.

Sage doesn't do this either.  If you load a normal Python interpreter,
'import sage' does not do this.  It just happens that the specialized
sage interpreter does that at startup time, but that's not normal
behavior for a Python package.

If there's a way to detect if you're in the sage interpreter it
*might* be okay to do this only in that case depending on how other
sage users feel (I don't know).  But otherwise it's something that
should be specified manually in init.sage.

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


Re: [sage-devel] sage infrastructure at UW

2016-06-09 Thread kcrisman

>
>
>>>
>> Namely that GCE might also have some drawbacks (notably, not being 
>> provided free of charge? perhaps others) and that there were people hoping 
>> to make a university system work.  If there is a technical disagreement (or 
>> more than technical) on cloud versus uni, I'm not getting into that, but I 
>> don't see why we couldn't host in one place and backup in the other 
>> (indeed, multiple).  What does R do?  
>>
>
> R has so much commercial (and university - cf. CRAN) backing, it's 
> meaningless to compare it to Sage. 
>

True but one can wish. 

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


Re: [sage-devel] Global namespace and independent python packages

2016-06-09 Thread Andrew
Thanks Johan.As much as anything I wanted to know that I wasn't doing 
something stupid.

On Thursday, 9 June 2016 14:02:16 UTC+2, Johan S. R. Nielsen wrote:
>
> As a package author, you shouldn't force the user to load the functions 
> into 
> the global namespace. However, it might be possible by getting hold of the 
> globals() object or something. 
>
 
Well, actually, if some one explicitly loads the package using something 
like "import mytest" then I think that it is reasonable to load the main 
functions from the package it the global namespace. Thinking about it, sage 
already does something similar (but more explicit) with methods like 
inject_shorthands. Drilling down a little I realised that I can do what I 
want by putting the following into my __init__.py file:

from sage.misc.misc import inject_variable
from mytest.test import atest
inject_variable('atest',atest)

*Question*: do people think that it is reasonable for a package to do this?

Arguments against include that packages "shouldn't force the user to load 
the functions into 
the global namespace" and that this may lead to clashes in the namespace. 
An argument in favour of doing this is that this a more user-friendly and a 
user is unlikely to import a package if they don't want to use it.

Andrew


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


Re: [sage-devel] Re: Sage at 2016 MAA Project NExT Networking Lunch

2016-06-09 Thread William Stein
Thanks; noted.

On Thu, Jun 9, 2016 at 3:10 AM, Emily Gunawan  wrote:
> This is way past May 4, but I will be at MathFest in Ohio, as an incoming
> Project NExT Fellow. (I plan to mention in my email introduction that I have
> used SageMath for research and hope to use it in my classrooms in the
> future).
>
> -Emily
>
> On Saturday, May 14, 2016 at 11:05:24 AM UTC-5, wstein wrote:
>>
>> Is any Sage dev going to the MAA Mathfest?  If so, email Alissa below.
>>
>> -- Forwarded message --
>> From: Crans, Alissa 
>> Date: Fri, May 13, 2016 at 9:23 PM
>> Subject: RE: Sage at 2016 MAA Project NExT Networking Lunch
>> To: William A Stein 
>>
>>
>> Hi William,
>>
>> I hope you're doing well.
>>
>> I still haven't been able to find someone coming to MathFest who would
>> be able to represent Sage to the new MAA Project NExT Fellows.  Can
>> you think of anyone else I might invite?  I know that Sage is very
>> popular amongst this group and I would hate for it not to be
>> represented at our lunch.
>>
>> Thanks for your time,
>> alissa
>> 
>> From: William A Stein [wst...@uw.edu]
>> Sent: Friday, April 22, 2016 6:33 PM
>> To: Crans, Alissa
>> Cc: bee...@ups.edu; karl.c...@gordon.edu
>> Subject: Re: Sage at 2016 MAA Project NExT Networking Lunch
>>
>> I won't be there either, but thanks!
>>
>> On Fri, Apr 22, 2016 at 12:14 PM, Crans, Alissa  wrote:
>> > Dear Rob, Karl, and William,
>> >
>> > I hope this message finds you well.
>> >
>> > I'm writing to invite you to attend the second annual MAA Project NExT
>> > Networking Lunch for the 2015-16 and 2016-17 Fellows during MathFest 2016 
>> > in
>> > Columbus, OH and represent Sage.  The purpose of the lunch is to introduce
>> > the new Fellows to the variety of resources in the mathematical community.
>> >
>> > The lunch will be held on Wednesday, August 3, 2016 from 12 - 1:30 pm.
>> > Lunch will be provided and you will have table space for a sign and
>> > computer. Unfortunately we are unable to offer you access to MathFest or
>> > funding to attend the lunch if this would require you arriving earlier to
>> > MathFest than you were planning to do.
>> >
>> > Please let me know if you have any questions. In order to facilitate our
>> > planning, please let me know by Wednesday, May 4 whether you will be able 
>> > to
>> > attend. If you are unable to attend, could you suggest someone else that
>> > might be available to represent Sage? Thank you very much.   We look 
>> > forward
>> > to having you come introduce the new Fellows to the numerous resources
>> > available to them in our community!
>> >
>> > Best,
>> > Alissa Crans
>> > Associate Director, Project NExT
>
> --
> 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 https://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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-devel] Global namespace and independent python packages

2016-06-09 Thread Johan S . R . Nielsen
Hi Andrew,

To import into the global namespace use

sage: from mytest import *

As a package author, you shouldn't force the user to load the functions into
the global namespace. However, it might be possible by getting hold of the
globals() object or something.

If you want to import the package into the global namespace *on your
own setup*, you could put the "from mytest import *" in the file
~/.sage/init.sage.

Best,
Johan


Andrew writes:

> I have been playing around with ta stand-alone python package for sage. It 
> works
> really well except that I have not found a "nice" way to import classes into 
> the
> global namespace. I suspect that it is just something in the way that I have
> configured things, so I've distilled my code down to a minimal example in the
> hope that some one can tell me how to fix it.
>
> My package layout is:
> package/
> |- setup.py
> |- mytest/
> |- __init__.py
> |- test.py
>
> where the files setup.py, __init__.py and test.py are as follows:
>
> setup.py
> from setuptools import setup
> setup(name='mytest', packages=['mytest'])
>
> __init__.py
> from __future__ import absolute_import
> from .test import atest
> from mytest import *
>
> test.py
> def atest():
> print 'A working test'
>
> To install this "package" you can either use plain setup tools with
> sage setup.py install
>
> but I decided to pip instead, installing it "locally" and in development mode 
> with:
>
> sage -pip install -e --user .
>
> This works fine in that I can start sage and import and use the package, but 
> not
> quite as easily as I'd like:
>
> sage: import mytest
> sage: mytest.atest()
> A working test
> sage: atest()
> ---
> NameError Traceback (most recent call last)
>  in ()
> > 1 atest()
>
> NameError: name 'atest' is not defined
> sage: from mytest import atest # manually import atest
> sage: atest()
> A working test
>
> I thought that `atest` would be automatically available from the global
> namespace because of either the second and or the third lines of __init__.py.
> Instead, it still needs to be manually imported. Is there a way to put atest
> into the global namespace when the package is imported?
>
> Of course, it would be even better if the mytest package was automatically
> imported into the global namespace at run-time.
>
> Andrew


-- 

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


[sage-devel] Global namespace and independent python packages

2016-06-09 Thread Andrew
I have been playing around with ta stand-alone python package for sage. It 
works really well except that I have not found a "nice" way to import 
classes into the global namespace. I suspect that it is just something in 
the way that I have configured things, so I've distilled my code down to a 
minimal example in the hope that some one can tell me how to fix it.

My package layout is:
package/
  |- setup.py
  |- mytest/
  |- __init__.py
  |- test.py


where the files setup.py, __init__.py and test.py are as follows:

*setup.py*
from setuptools import setup
setup(name='mytest', packages=['mytest'])

*__init__.py*
from __future__ import absolute_import
from .test import atest
from mytest import *

*test.py*
def atest():
print 'A working test'

To install this "package" you can either use plain setup tools with

sage setup.py install

but I decided to pip instead, installing it "locally" and in development mode 
with:

sage -pip install -e --user .

This works fine in that I can start sage and import and use the package, 
but not quite as easily as I'd like:

sage: import mytest
sage: mytest.atest()
A working test
sage: atest()
---
NameError Traceback (most recent call last)
 in ()
> 1 atest()

NameError: name 'atest' is not defined
sage: from mytest import atest  # manually import atest
sage: atest()
A working test

I thought that `atest` would be automatically available from the global 
namespace because of either the second and or the third lines of 
__init__.py. Instead, it still needs to be manually imported. Is there a 
way to put atest into the global namespace when the package is imported?

Of course, it would be even better if the mytest package was automatically 
imported into the global namespace at run-time.

Andrew





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


Re: [sagemath-admins] Re: [sage-devel] Re: http://trac.sagemath.org vs https://trac.sagemath.org

2016-06-09 Thread Dima Pasechnik


On Thursday, June 9, 2016 at 9:52:55 AM UTC+1, Erik Bray wrote:
>
> On Thu, Jun 9, 2016 at 10:48 AM, Dima Pasechnik  > wrote: 
> > Erik, 
> > the trac login prompt (on Safari) displays the following message: 
> > 
> > To view this page, you must log in to area “sage.math.washington.edu” 
> on 
> > 104.197.143.230:80. 
> > 
> >  Don't know where it digs that "area" hostname from, but it definitely 
> makes 
> > no sense. 
>
> Thanks for pointing it out, it's on my to-do list to fix.  (I am 
> confused why it has URL in the config files I got off the UW machine, 
> but I don't get that prompt on the current trac.sagemath.org).  In 
> other words I know where it comes from, but I don't know why that 
> value is there. 
>

I suspect that it falls back to the URL in the config if it cannot get a 
name from DNS.
On trac.sagemath.org there is also a hack that allows one to remain logged 
in (for a period of time?).
More precisely, even if you log out, you can still log in without filling 
in the creds (and no, creds are not
stored by the browser in its password manager, it's something else).
And this is IMHO a bug to be fixed; a logout must be logout...

I don't know how it works.

 

>
> > On Wednesday, June 8, 2016 at 5:03:47 PM UTC+1, Erik Bray wrote: 
> >> 
> >> On another note, I have a copy of trac.sagemath.org up and running on 
> >> GCE here: http://104.197.143.230/ 
> >> 
> >> In the process of setting it up I also upgraded to the latest Trac 
> >> version (1.1.6).  If anyone has a minute please give it a look and see 
> >> if anything seems amiss (the data itself is a couple days old). 
> >> 
> >> Thanks, 
> >> Erik 
> >> 
> >> On Wed, Jun 8, 2016 at 11:04 AM, Volker Braun  
> wrote: 
> >> > Of course trac pages are mostly dynamic content, so this would only 
> help 
> >> > with a couple of icons etc. 
> >> > 
> >> > 
> >> > 
> >> > On Wednesday, June 8, 2016 at 8:54:20 AM UTC-4, William wrote: 
> >> >> 
> >> >> Of some relevance -- Harald Schilly was recently in the process of 
> >> >> putting a CloudFlare 'pro subscription' in front of all *.
> sagemath.org 
> >> >> domains, for caching 
> >> >> and anti-DDOS protection, etc.  CloudFlare provides that they 
> >> >> terminate for all sites that they proxy.  However it's obviously 
> good 
> >> >> (but not required) to have a cert for the (secret) connection 
> between 
> >> >> CloudFlare and trac.sagemath.org. 
> >> >> 
> >> >>  - William 
> >> >> 
> >> >> On Wed, Jun 8, 2016 at 6:53 AM, Erik Bray  
> wrote: 
> >> >> > On Wed, Jun 8, 2016 at 6:34 AM, mmarco  wrote: 
> >> >> >> I volunteered some time ago to set up a letsencrypt certificate 
> in 
> >> >> >> the 
> >> >> >> wiki. 
> >> >> >> I didn't include trac server in that move because there was 
> already 
> >> >> >> the 
> >> >> >> option for https, but I agree it would be better to make it https 
> >> >> >> only. 
> >> >> > 
> >> >> > That looks great--I usually have purchased certificates from my 
> DNS 
> >> >> > provider, but I like the looks of this.  When you get a chance 
> could 
> >> >> > you detail how you set that up for the wiki?  In the process of 
> >> >> > transferring over the wiki service we'll want to move the 
> certificate 
> >> >> > over as well, and will want to do the same for the trac site, and 
> any 
> >> >> > others. 
> >> >> > 
> >> >> > -- 
> >> >> > 
> >> >> > --- 
> >> >> > You received this message because you are subscribed to the Google 
> >> >> > Groups "sagemath-admins" group. 
> >> >> > To unsubscribe from this group and stop receiving emails from it, 
> >> >> > send 
> >> >> > an email to sagemath-admi...@googlegroups.com. 
> >> >> > 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+...@googlegroups.com. 
> >> > To post to this group, send email to sage-...@googlegroups.com. 
> >> > Visit this group at https://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+...@googlegroups.com . 
> > To post to this group, send email to sage-...@googlegroups.com 
> . 
> > Visit this group at https://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

Re: [sagemath-admins] Re: [sage-devel] Re: http://trac.sagemath.org vs https://trac.sagemath.org

2016-06-09 Thread Erik Bray
On Thu, Jun 9, 2016 at 10:48 AM, Dima Pasechnik  wrote:
> Erik,
> the trac login prompt (on Safari) displays the following message:
>
> To view this page, you must log in to area “sage.math.washington.edu” on
> 104.197.143.230:80.
>
>  Don't know where it digs that "area" hostname from, but it definitely makes
> no sense.

Thanks for pointing it out, it's on my to-do list to fix.  (I am
confused why it has URL in the config files I got off the UW machine,
but I don't get that prompt on the current trac.sagemath.org).  In
other words I know where it comes from, but I don't know why that
value is there.

> On Wednesday, June 8, 2016 at 5:03:47 PM UTC+1, Erik Bray wrote:
>>
>> On another note, I have a copy of trac.sagemath.org up and running on
>> GCE here: http://104.197.143.230/
>>
>> In the process of setting it up I also upgraded to the latest Trac
>> version (1.1.6).  If anyone has a minute please give it a look and see
>> if anything seems amiss (the data itself is a couple days old).
>>
>> Thanks,
>> Erik
>>
>> On Wed, Jun 8, 2016 at 11:04 AM, Volker Braun  wrote:
>> > Of course trac pages are mostly dynamic content, so this would only help
>> > with a couple of icons etc.
>> >
>> >
>> >
>> > On Wednesday, June 8, 2016 at 8:54:20 AM UTC-4, William wrote:
>> >>
>> >> Of some relevance -- Harald Schilly was recently in the process of
>> >> putting a CloudFlare 'pro subscription' in front of all *.sagemath.org
>> >> domains, for caching
>> >> and anti-DDOS protection, etc.  CloudFlare provides that they
>> >> terminate for all sites that they proxy.  However it's obviously good
>> >> (but not required) to have a cert for the (secret) connection between
>> >> CloudFlare and trac.sagemath.org.
>> >>
>> >>  - William
>> >>
>> >> On Wed, Jun 8, 2016 at 6:53 AM, Erik Bray  wrote:
>> >> > On Wed, Jun 8, 2016 at 6:34 AM, mmarco  wrote:
>> >> >> I volunteered some time ago to set up a letsencrypt certificate in
>> >> >> the
>> >> >> wiki.
>> >> >> I didn't include trac server in that move because there was already
>> >> >> the
>> >> >> option for https, but I agree it would be better to make it https
>> >> >> only.
>> >> >
>> >> > That looks great--I usually have purchased certificates from my DNS
>> >> > provider, but I like the looks of this.  When you get a chance could
>> >> > you detail how you set that up for the wiki?  In the process of
>> >> > transferring over the wiki service we'll want to move the certificate
>> >> > over as well, and will want to do the same for the trac site, and any
>> >> > others.
>> >> >
>> >> > --
>> >> >
>> >> > ---
>> >> > You received this message because you are subscribed to the Google
>> >> > Groups "sagemath-admins" group.
>> >> > To unsubscribe from this group and stop receiving emails from it,
>> >> > send
>> >> > an email to sagemath-admi...@googlegroups.com.
>> >> > 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+...@googlegroups.com.
>> > To post to this group, send email to sage-...@googlegroups.com.
>> > Visit this group at https://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 https://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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sagemath-admins] Re: [sage-devel] Re: http://trac.sagemath.org vs https://trac.sagemath.org

2016-06-09 Thread Dima Pasechnik
Erik,
the trac login prompt (on Safari) displays the following message:
 
To view this page, you must log in to area “sage.math.washington.edu” on 
104.197.143.230:80.

 Don't know where it digs that "area" hostname from, but it definitely 
makes no sense.

On Wednesday, June 8, 2016 at 5:03:47 PM UTC+1, Erik Bray wrote:
>
> On another note, I have a copy of trac.sagemath.org up and running on 
> GCE here: http://104.197.143.230/ 
>
> In the process of setting it up I also upgraded to the latest Trac 
> version (1.1.6).  If anyone has a minute please give it a look and see 
> if anything seems amiss (the data itself is a couple days old). 
>
> Thanks, 
> Erik 
>
> On Wed, Jun 8, 2016 at 11:04 AM, Volker Braun  > wrote: 
> > Of course trac pages are mostly dynamic content, so this would only help 
> > with a couple of icons etc. 
> > 
> > 
> > 
> > On Wednesday, June 8, 2016 at 8:54:20 AM UTC-4, William wrote: 
> >> 
> >> Of some relevance -- Harald Schilly was recently in the process of 
> >> putting a CloudFlare 'pro subscription' in front of all *.sagemath.org 
> >> domains, for caching 
> >> and anti-DDOS protection, etc.  CloudFlare provides that they 
> >> terminate for all sites that they proxy.  However it's obviously good 
> >> (but not required) to have a cert for the (secret) connection between 
> >> CloudFlare and trac.sagemath.org. 
> >> 
> >>  - William 
> >> 
> >> On Wed, Jun 8, 2016 at 6:53 AM, Erik Bray  wrote: 
> >> > On Wed, Jun 8, 2016 at 6:34 AM, mmarco  wrote: 
> >> >> I volunteered some time ago to set up a letsencrypt certificate in 
> the 
> >> >> wiki. 
> >> >> I didn't include trac server in that move because there was already 
> the 
> >> >> option for https, but I agree it would be better to make it https 
> only. 
> >> > 
> >> > That looks great--I usually have purchased certificates from my DNS 
> >> > provider, but I like the looks of this.  When you get a chance could 
> >> > you detail how you set that up for the wiki?  In the process of 
> >> > transferring over the wiki service we'll want to move the certificate 
> >> > over as well, and will want to do the same for the trac site, and any 
> >> > others. 
> >> > 
> >> > -- 
> >> > 
> >> > --- 
> >> > You received this message because you are subscribed to the Google 
> >> > Groups "sagemath-admins" group. 
> >> > To unsubscribe from this group and stop receiving emails from it, 
> send 
> >> > an email to sagemath-admi...@googlegroups.com. 
> >> > 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+...@googlegroups.com . 
> > To post to this group, send email to sage-...@googlegroups.com 
> . 
> > Visit this group at https://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 https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


Re: [sagemath-admins] Re: [sage-devel] Re: http://trac.sagemath.org vs https://trac.sagemath.org

2016-06-09 Thread Erik Bray
On Wed, Jun 8, 2016 at 10:26 PM, Volker Braun  wrote:
> Thats what I initially said about stuff necessarily being on the same file
> system; Afair our trac plugin creates the merge object in the git store and
> cgit then displays the diff; I think it in
>
> https://github.com/sagemath/sage_trac_plugin/blob/master/sage_trac/git_merger.py

Got it, that makes sense now.  I just haven't set up the cgit stuff on
this machine yet.  Will try to do that today.

Erik

> On Wednesday, June 8, 2016 at 3:50:13 PM UTC-4, Erik Bray wrote:
>>
>> On Wed, Jun 8, 2016 at 7:03 PM, Volker Braun  wrote:
>> > The diff viewer doesn't work; I'm not sure if its supposed to but here
>> > we
>> > go:
>> >
>> > 1) go to http://104.197.143.230/ticket/20739
>> > 2) Click on Branch: public/20739
>> >
>> > Results in:
>> >
>> > Bad object name: cbb26b6406d3a1665299fdd3e2f32cf08e7de7ac
>>
>> It's likely that the copy of the repository that's on that server, and
>> the Trac database are somewhat out of sync somehow.  If you look at
>> other examples it works fine  (git.sagemath.org is still running on
>> the UW server).
>>
>> > On Wednesday, June 8, 2016 at 12:03:47 PM UTC-4, Erik Bray wrote:
>> >>
>> >> On another note, I have a copy of trac.sagemath.org up and running on
>> >> GCE here: http://104.197.143.230/
>> >>
>> >> In the process of setting it up I also upgraded to the latest Trac
>> >> version (1.1.6).  If anyone has a minute please give it a look and see
>> >> if anything seems amiss (the data itself is a couple days old).
>> >>
>> >> Thanks,
>> >> Erik
>> >>
>> >> On Wed, Jun 8, 2016 at 11:04 AM, Volker Braun 
>> >> wrote:
>> >> > Of course trac pages are mostly dynamic content, so this would only
>> >> > help
>> >> > with a couple of icons etc.
>> >> >
>> >> >
>> >> >
>> >> > On Wednesday, June 8, 2016 at 8:54:20 AM UTC-4, William wrote:
>> >> >>
>> >> >> Of some relevance -- Harald Schilly was recently in the process of
>> >> >> putting a CloudFlare 'pro subscription' in front of all
>> >> >> *.sagemath.org
>> >> >> domains, for caching
>> >> >> and anti-DDOS protection, etc.  CloudFlare provides that they
>> >> >> terminate for all sites that they proxy.  However it's obviously
>> >> >> good
>> >> >> (but not required) to have a cert for the (secret) connection
>> >> >> between
>> >> >> CloudFlare and trac.sagemath.org.
>> >> >>
>> >> >>  - William
>> >> >>
>> >> >> On Wed, Jun 8, 2016 at 6:53 AM, Erik Bray 
>> >> >> wrote:
>> >> >> > On Wed, Jun 8, 2016 at 6:34 AM, mmarco  wrote:
>> >> >> >> I volunteered some time ago to set up a letsencrypt certificate
>> >> >> >> in
>> >> >> >> the
>> >> >> >> wiki.
>> >> >> >> I didn't include trac server in that move because there was
>> >> >> >> already
>> >> >> >> the
>> >> >> >> option for https, but I agree it would be better to make it https
>> >> >> >> only.
>> >> >> >
>> >> >> > That looks great--I usually have purchased certificates from my
>> >> >> > DNS
>> >> >> > provider, but I like the looks of this.  When you get a chance
>> >> >> > could
>> >> >> > you detail how you set that up for the wiki?  In the process of
>> >> >> > transferring over the wiki service we'll want to move the
>> >> >> > certificate
>> >> >> > over as well, and will want to do the same for the trac site, and
>> >> >> > any
>> >> >> > others.
>> >> >> >
>> >> >> > --
>> >> >> >
>> >> >> > ---
>> >> >> > You received this message because you are subscribed to the Google
>> >> >> > Groups "sagemath-admins" group.
>> >> >> > To unsubscribe from this group and stop receiving emails from it,
>> >> >> > send
>> >> >> > an email to sagemath-admi...@googlegroups.com.
>> >> >> > 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+...@googlegroups.com.
>> >> > To post to this group, send email to sage-...@googlegroups.com.
>> >> > Visit this group at https://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+...@googlegroups.com.
>> > To post to this group, send email to sage-...@googlegroups.com.
>> > Visit this group at https://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 t

[sage-devel] Re: Sage at 2016 MAA Project NExT Networking Lunch

2016-06-09 Thread Emily Gunawan
This is way past May 4, but I will be at MathFest in Ohio, as an incoming 
Project NExT Fellow. (I plan to mention in my email introduction that I 
have used SageMath for research and hope to use it in my classrooms in the 
future).

-Emily

On Saturday, May 14, 2016 at 11:05:24 AM UTC-5, wstein wrote:
>
> Is any Sage dev going to the MAA Mathfest?  If so, email Alissa below. 
>
> -- Forwarded message -- 
> From: Crans, Alissa > 
> Date: Fri, May 13, 2016 at 9:23 PM 
> Subject: RE: Sage at 2016 MAA Project NExT Networking Lunch 
> To: William A Stein > 
>
>
> Hi William, 
>
> I hope you're doing well. 
>
> I still haven't been able to find someone coming to MathFest who would 
> be able to represent Sage to the new MAA Project NExT Fellows.  Can 
> you think of anyone else I might invite?  I know that Sage is very 
> popular amongst this group and I would hate for it not to be 
> represented at our lunch. 
>
> Thanks for your time, 
> alissa 
>  
> From: William A Stein [wst...@uw.edu ] 
> Sent: Friday, April 22, 2016 6:33 PM 
> To: Crans, Alissa 
> Cc: bee...@ups.edu ; karl.c...@gordon.edu  
> Subject: Re: Sage at 2016 MAA Project NExT Networking Lunch 
>
> I won't be there either, but thanks! 
>
> On Fri, Apr 22, 2016 at 12:14 PM, Crans, Alissa  > wrote: 
> > Dear Rob, Karl, and William, 
> > 
> > I hope this message finds you well. 
> > 
> > I'm writing to invite you to attend the second annual MAA Project NExT 
> Networking Lunch for the 2015-16 and 2016-17 Fellows during MathFest 2016 
> in Columbus, OH and represent Sage.  The purpose of the lunch is to 
> introduce the new Fellows to the variety of resources in the mathematical 
> community. 
> > 
> > The lunch will be held on Wednesday, August 3, 2016 from 12 - 1:30 pm. 
> Lunch will be provided and you will have table space for a sign and 
> computer. Unfortunately we are unable to offer you access to MathFest or 
> funding to attend the lunch if this would require you arriving earlier to 
> MathFest than you were planning to do. 
> > 
> > Please let me know if you have any questions. In order to facilitate our 
> planning, please let me know by Wednesday, May 4 whether you will be able 
> to attend. If you are unable to attend, could you suggest someone else that 
> might be available to represent Sage? Thank you very much.   We look 
> forward to having you come introduce the new Fellows to the numerous 
> resources available to them in our community! 
> > 
> > Best, 
> > Alissa Crans 
> > Associate Director, Project NExT 
>

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