Use IPython notebook from Sage 6.3 (Mac OS X 10.9)

Installation of Sage ( Mac OS X 10.9)

Download the latest Sage from here.

  sage-6.3-x86_64-Darwin-OSX_10.9_x86_64-app.DMG

Copy it to the Applications folder. 

Start the sage from the terminal by adding the following to .bash_profile.

 export SAGE_ROOT=/Applications/Sage-6.3.app/Contents/Resources/sage PATH=$PATH:${SAGE_ROOT}

Then source the saved .bash_profile by

 source ~/.bash_profile

or

. ~/.bash_profile

Make sure ipython is available in Sage.

 $ sage -ipython 

Python 2.7.8 (default, Aug 10 2014, 17:39:35) IPython 2.1.0 -- An enhanced Interactive Python.

August 2014 the current version of IPython that Sage supports to install it so 2.1.0.

Setting in order to be able to use IPython notebook

Setting 

$ sage -i zeromq 
$ sage -i pyzmq

Start-up

Notebook ipython 2.1.0 will be held in the next.

 $ sage -ipython notebook

In the first cell of the notebook from sage.all import * you will environment that can be used is sage if the input.

The following can be useful when it is output to the script of the input line.

 $ sage -ipython notebook --script

What is pivoting?

http://www.google.com.hk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDAQFjAA&url=http%3A%2F%2Fwww.richland.edu%2Fjames%2Flecture%2Fm116%2Fmatrices%2Fpivot.html&ei=6A6wUfnuFM2biQf-hoH4Dw&usg=AFQjCNHdS4uvs8VEKypZAN4mWZSqXhWPYw&sig2=Aa9Dg4evvG7iJZQcZ0Mhvg

http://www.google.com.hk/url?sa=t&rct=j&q=&esrc=s&source=web&cd=4&ved=0CD4QFjAD&url=http%3A%2F%2Fmath.uww.edu%2F~mcfarlat%2Frow-ops.htm&ei=6A6wUfnuFM2biQf-hoH4Dw&usg=AFQjCNHGzGSbTM2TE33TfbSkOyDSkVVe5g&sig2=SlvvWNSVY1Yba9eOhCZw-w

Turing's Invisible Hand

I recently read this nice blog post about doing a PhD by CMU’s Dave Andersen (who, not surprisiJune09 034ngly, rather enjoyed his PhD), and it inspired me to share a PhD-related memory of my own.

When I finished my PhD at the Hebrew University of Jerusalem, I was asked by the powers that be to give a short speech on behalf of the new graduates at the university’s graduation ceremony. To help me prepare the speech they sent me the previous year’s speech, which I read in disbelief. Here is a translation of a paragraph from that speech:

During this period [of doing a PhD] it became clear to each one of us that writing a thesis is more than an academic endeavor, it is a test of character; a psychological rather than purely intellectual challenge. It is akin to the loneliness of the long-distance runner. Each small step seems…

View original post 335 more words