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

2014-10-15 Thread Nicolas M. Thiery
On Mon, Oct 13, 2014 at 06:25:01AM -0700, Sébastien Labbé wrote:
Time to vote. What do you prefer as default directory for the ipython
notebook?
 - pwd
 - DOT_SAGE/notebooks_ipython/

pwd without hesitation! That's one of my main gripe about the sage
notebook. And I had trouble with this just this morning in my class.

Cheers,
Nicolas
--
Nicolas M. Thiéry Isil nthi...@users.sf.net
http://Nicolas.Thiery.name/

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

2014-10-13 Thread Clemens Heuberger
Am 2014-10-13 um 15:25 schrieb Sébastien Labbé:
 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

+ 1

When I first read of http://ipython.org/notebook.html
These notebooks are normal files that can be shared with colleagues,
converted to other formats such as HTML or PDF, etc.

and http://ipython.org/ipython-doc/stable/notebook/notebook.html

In this way, notebook files can serve as a complete computational
record of a session, interleaving executable code with explanatory
text, mathematics, and rich representations of resulting objects. These
documents are internally JSON files and are saved with the .ipynb
extension. Since JSON is a plain text format, they can be version-
controlled and shared with colleagues.

I felt that the ipython notebook would much more suit my workflow (everything
belonging to a particular paper or course is in its own directory structure,
under version control).

So IMHO having it all in DOT_SAGE somehow breaks the ipython notebook 
philosophy.

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.


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

2014-10-13 Thread Felix Salfelder
On Mon, Oct 13, 2014 at 06:25:01AM -0700, Sébastien Labbé wrote:
  - pwd

obviously.

thanks for catching this, it will be hard to fix afterwards. can you
name a single (mature?) program that breaks with this convention?

cheers
felix

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

2014-10-13 Thread Volker Braun
On Monday, October 13, 2014 4:06:02 PM UTC+1, Clemens Heuberger wrote:

 I felt that the ipython notebook would much more suit my workflow 
 (everything 
 belonging to a particular paper or course is in its own directory 
 structure, 
 under version control).


Just to be clear, IPython stores a flat file with base64-encoded images 
inside. Its ok but not perfect with version control, at least if you don't 
want chunks of binary data (potentially changing with each run) in your 
history. 

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