Profile

Cover photo
Brian Granger
388 followers|31,776 views
AboutPostsPhotosYouTube

Stream

Brian Granger

Shared publicly  - 
 
This Hangout On Air is hosted by Brian Granger. The live video broadcast will begin soon.
Q&A
Preview
Live
IPython Dev Meeting - CA Apocalypse 2014
Thu, December 11, 2014, 12:40 PM
Hangouts On Air - Broadcast for free

1
Add a comment...

Brian Granger

Shared publicly  - 
 
+Sean Vig has been working on the quantum angular momentum module of sympy since his Google Summer of Code project in 2011. He has done a spectacular job and sympy.physics.quantum.spin can now do some mind blowing things. The test suite for this module alone is over 3500 LOC. Angular momentum coupling, rotation operators, Wigner symbols, just about anything you could ever imagine wanting! I don't know of any other software out there that does all of these things. Hats off to Sean. For fun, here is a screen shot of an IPython notebook with a few of the latest tests.
11
2
Nelson Brown's profile photoBrian Granger's profile photoSean Vig's profile photoOmar Andrés Zapata Mesa's profile photo
2 comments
 
Yep, all you do is start up the notebook and then run the command:

%load_ext sympyprinting

From then on all SymPy formulas will show up and MathJax'd LaTeX.
Add a comment...

Brian Granger

Shared publicly  - 
 
More fun on the IPython notebook front. The notebook now has Heading cells (levels 1-6) and Plaintext cells (for reST, LaTeX, etc.). To go along with these new cell types, we have also implemented a thin horizontal toolbar right below the menu bar that has commonly used actions.

Warning: we have incremented the notebook version to v3. The new v3 notebooks are backwards incompatible with the pre-yesterday v2 notebook. This means if you start using the guthub master, the notebooks you create can't be opened by older versions of the notebook.
9
1
Anthony Oliver's profile photomassimo di stefano's profile photoBrian Granger's profile photoFernando Perez's profile photo
6 comments
 
Glad you like it. I agree that for presentations is works really well. That is a usage case we would like to improve even more though...stay tuned.
Add a comment...

Brian Granger

Shared publicly  - 
 
In the IPython notebook, we use the CodeMirror (http://codemirror.net/) Javascript editor. CodeMirror is fantastic: it is lightweight, fast and allows many small editors to be placed on a single page. This is critical because a large notebook can have many cells that are being moved around, editing, hidden/shown, etc.

At the same time, Ace (http://ace.ajax.org/) is probably a better options for serious development. It is now being used by github for inline editing of code in repositories. On the downside, Ace is much bigger and only allows one editor on a page.

In the IPython notebook, we want the best of both worlds. To accomplish this we have implemented a new "Edit in Ace" functionality that lets you edit a single cell at a time using Ace. As the screen shot below shows, this mode gives you a nice clean UI for editing a large block of code. Currently we don't allow the Ace editor to be configured, but we plan on adding that in the future.
6
2
Peter Kroon's profile photoMySchizo Buddy's profile photoFernando Perez's profile photoJohn Fawcett's profile photo
9 comments
 
Looks like this feature has been removed from the 0.1 dev. or am i not seeing it.
Add a comment...

Brian Granger

Shared publicly  - 
 
More work on the IPython notebook. Next, I implemented cell level cut/copy/paste logic. This is a huge improvement when restructuring notebooks.
6
John Fawcett's profile photoBrian Granger's profile photoAngus McMorland's profile photoFernando Perez's profile photo
7 comments
 
I also read some comments in codemirror forums regarding the fact that event handling for middle-click-paste was finicky for some reason. Though it works fine in normal text areas in browsers, it doesn't (at least for me) in CodeMirror ones. Every now and then it works in Chrome, but it's very hit-or-miss. Ultimately I've just gotten used to pasting with Ctrl-V; I hope over time these things will smooth out.
Add a comment...
In his circles
151 people
Have him in circles
388 people
Jonas Kalderstam (Space Cowboy)'s profile photo
Paul Ivanov's profile photo
Dan Farmer's profile photo
Allen Parker's profile photo
David Wolever's profile photo
Scott E Pollack's profile photo
Thomas Pfaff's profile photo
Trevor Bekolay's profile photo
Eric Jones's profile photo

Brian Granger

Shared publicly  - 
 
<a class='ot-hashtag' href='https://plus.google.com/s/%23hangoutsonair'>#hangoutsonair</a>Fernando Perez, Paul Ivanov, Jonathan Frederic, Kyle Kelley, and Thomas Kluyver
IPython Dev Meeting 10/10/2013
Brian Granger and 5 others participated
1
1
John F. Burkhart's profile photo
Add a comment...

Brian Granger

Shared publicly  - 
 
At the PyData conference at Google today.
3
Add a comment...

Brian Granger

Shared publicly  - 
 
Make your Python objects pretty! IPython has a powerful display protocol that allows your Python objects to declare different representations (html, javascript, png, jpeg, latex, etc.). The IPython notebook knows how to display those representations giving you the ability to create notebooks with rich views of your objects. To do this, just give your classes "_repr_<format>_" methods (<format>=html,javascript,etc) and it will instantly work. Here is a screenshot of an HTML representation of the pandas.DataFrame object.
16
9
Florian Bahr's profile photoKevin Wortman's profile photoNikolas Tautenhahn's profile photoJean-Patrick Pommier's profile photo
7 comments
 
Ahh, these changes have not been merged into pandas master (still in review).
Add a comment...

Brian Granger

Shared publicly  - 
 
This design blog is filled with treasures like this. This particular film is a perfectly blended juxtaposition of natural beauty and human talent.

http://www.brandsixtysix.com/brand66new/way-back-home.html
3
1
Fernando Perez's profile photoGökhan Sever's profile photoDan Yamins's profile photo
2 comments
 
Did you see this guy? Damien Walters 2010
Add a comment...

Brian Granger

Shared publicly  - 
 
Work on the IPython notebook continues. Lots of work underneath the hood to refactor and clean up code. We have updated to the recent version of CodeMirror, which fixes a number of bugs. A little while ago, we added an "Edit in Ace" capability. We got many questions about why we really needed to be using Ace. After looking at the issues carefully, we have decided to remove this feature and instead focus on improving the CodeMirror experience as much as possible. We have already fixed of the main complaints: block-level indent/dedent.

Next on the horizon: RST cells and heading cells...
4
Stéfan van der Walt's profile photoBrian Granger's profile photoFernando Perez's profile photo
8 comments
 
Agreed, this is one for a bit of quality time with a whiteboard...
Add a comment...

Brian Granger

Shared publicly  - 
 
Next on the IPython notebook work: merging and splitting of cells. Often when working with larger sections of code, the need arises to split longer cells into a sequence of cells or merge smaller cells together. IPython now has three new options in the Edit menu to simplify these actions. "Split Cell" will split the currently selected cell into two cells using the current cursor position as the splitting point. "Merge Above" and "Merge Below" will merge the currently selected cell with the one above or below it, respectively. Here is a screen shot of the result of splitting a single cell into four smaller cells.
15
Jimmy Touma's profile photo
 
how can one merge two notebooks?
Add a comment...

Brian Granger

Shared publicly  - 
 
I am spending a lot of time working on the IPython notebook for the next few months. I am going to try and post about my progress here on Google+. In the first round of work, I implemented a new menu driven user interface based on a development version of jQueryUI's menu/menubar widgets. The result is a simple and clean design that retains all the functionality of the previous left panel. Here are some screen shots of the new look. In the process I also improved the Save/Rename/Copy notebook logic.
7
2
Damián Avila's profile photoBen Ford's profile photoFernando Perez's profile photoThomas Spura's profile photo
3 comments
 
Sorry for the spam, G+ on iphone is a buggy piece of crap!
Add a comment...
People
In his circles
151 people
Have him in circles
388 people
Jonas Kalderstam (Space Cowboy)'s profile photo
Paul Ivanov's profile photo
Dan Farmer's profile photo
Allen Parker's profile photo
David Wolever's profile photo
Scott E Pollack's profile photo
Thomas Pfaff's profile photo
Trevor Bekolay's profile photo
Eric Jones's profile photo
Basic Information
Gender
Male
Other names
ellisonbg
Work
Occupation
Physics Professor, Programmer
Links
Contributor to