Re: [sage-devel] Re: What should be the present working directory for sage -notebook=ipython ?

2014-10-23 Thread Sébastien Labbé


On Sunday, October 19, 2014 2:08:59 AM UTC-4, Robert Bradshaw wrote:
>
> +1 to pwd. 
>

#17203 now needs review 

-- 
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: What should be the present working directory for sage -notebook=ipython ?

2014-10-23 Thread Sébastien Labbé
http://trac.sagemath.org/ticket/17203

for the follow up

-- 
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: What should be the present working directory for sage -notebook=ipython ?

2014-10-18 Thread Robert Bradshaw
+1 to pwd. I've forgotten to copy over my sage notebooks more than
once when moving to a new computer, and even when I remember to it's a
pain to navigate that huge tree to figure out which ones you care
about.

On Sat, Oct 18, 2014 at 9:02 AM, Emmanuel Charpentier
 wrote:
> pwd : I'd love to know *WHERE* I stored such and such plots I had trouble to
> extract from Sage (and couldn't do otherwise...), without having to scratch
> my guesses through a directory bush (i. e something aspiring to the dignity
> of tree but starting in a gazillion directions at once with no usable
> names...).
>
> BTW : any hope to be able to invoke sage with a worksheet as an argument ?
> I'd love to save a worksheet to some file and be able to edit it by just
> saying "sage somefile.someext" (hint : think git...). The current notebook
> does not allow for that, alas : you have to explicitely import your
> worksheet (seems to be a compressed archive of a directory tree), and to
> explicitely export it after saving it.
>
> HTH,
>
> --
> Emmanuel Charpentier
>
> Le lundi 13 octobre 2014 15:25:01 UTC+2, Sébastien Labbé a écrit :
>>
>> Hi sage-devel,
>>
>> At http://trac.sagemath.org/ticket/16996#comment:47, we had this
>> discussion about what should be the present working directory (pwd) for sage
>> -notebook=ipython ? Personally, I really like the behavior of the sage
>> command line where the pwd is just the present working directory:
>>
>> $ pwd
>> /Users/slabbe/the/folder/where-I-want-to-work/
>> $ sage
>> sage: pwd
>> /Users/slabbe/the/folder/where-I-want-to-work/
>>
>> I was expecting the same for the new ipython notebook for Sage. But as
>> #16996 will go in now, the default directory will always be
>> DOT_SAGE/notebooks_ipython/ which follows the style for the sagenb notebook
>> where worksheets were hidden in some DOT_SAGE folder.
>>
>> Note: With #16996, it is possible to start in the current directory with
>> sage -notebook=ipython --notebook-dir=.
>>
>> Time to vote. What do you prefer as default directory for the ipython
>> notebook?
>>
>>  - pwd
>>  - DOT_SAGE/notebooks_ipython/
>>
>> Sébastien
>
> --
> 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] Re: What should be the present working directory for sage -notebook=ipython ?

2014-10-13 Thread Volker Braun
The ipython roadmap is definitely to have a multi-user capable notebook 
(https://github.com/jupyter/jupyterhub). 

On Monday, October 13, 2014 5:16:12 PM UTC+1, Clemens Heuberger wrote:
>
> deprecation; on the other hand, the current sage notebook with its user 
> management is perhaps not fully comparable with the approach of the 
> ipython 

notebook which seems to be strictly single user. 
>

-- 
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: What should be the present working directory for sage -notebook=ipython ?

2014-10-13 Thread Clemens Heuberger
Am 2014-10-13 um 17:30 schrieb Volker Braun:
> Also, if you vote "yes" then you volunteer for fixing the current notebook to
> match the behavior ;-)
> 

I do not think that this is necessary: one the one hand, it would lead to big
deprecation; on the other hand, the current sage notebook with its user
management is perhaps not fully comparable with the approach of the ipython
notebook which seems to be strictly single user.

regards, CH

-- 
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.