Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

and notes

  • Loading branch information...
commit ede1514d6f00088eae750908eb984d0b750458ec 1 parent a8cfc40
@SeanThomasWilliams authored
View
18 PyCon2012/data-design-meaning.rst
@@ -0,0 +1,18 @@
+=====
+Data, Design and Meaning
+=====
+
+- Make data to ink ratio as high as possible
+- Google "Gestalt Theory"
+- Wikipedia: Opponent_process, Lab_color_space
+- Color blindness: 1 in 10 males
+- Use the tool "Color Brewer" to get easy color schemes
+- This guy has extreme views on fonts
+- Paper: Stanford - 2010 Narrative InfoVis
+
+ - Types of charts:
+ Martini glass
+ Slide Marrative
+ Drill-down
+
+- Ultimately, tailor to your audience!
View
31 PyCon2012/fake-it-unit-testing.rst
@@ -0,0 +1,31 @@
+=====
+Fake it till you make it: mocks and fakes
+=====
+
+- Unit testing is critical to an application that you have to support
+- Why unit tests?
+ Fast
+ Simple
+ Greater localization of a failure
+- Unit tests are for components, not entire app
+- Unit tests don't test things that work together (those would be integration tests)
+- The "mock" module is cool and useful -- use it!
+- Action -> Assertion > Record -> Replay
+
+How to create more testable code?
+-----
+
+- Limit scope of responsibility
+- Smaller functions are easier to test
+- Create local wrappers for things that interface externally or things which you might switch out later (db layer, http layer).
+- Deduplicate the code
+
+Overall
+-----
+
+- Recommended strategy: One test -- One Assert
+- Tox = Virtualenv, multiple python versions, dependency list
+- Unit testing is very similar to the Java world, but we don't have static typing so it's even more important!
+- Unit tests are part of a complete breakfast
+
+ - They don't solve the problem by themselves!
View
1  PyCon2012/general-notes.rst
@@ -12,6 +12,7 @@ General Conference Notes from PyCon 2012
Company tips for next time
=====
+- Tweet! Come to our booth because X!
- We had BY FAR the best Tchotchkes at the event (most other people gave away shirts, water bottles, etc). Nobody had seen the reversable sphere gizmos and that was a good conversation starter.
- Need QR codes on everything. Nobody wants to take our resume-looking sheets of paper. A QR code that goes to the same information would have faired better.
- Everyone has a smartphone. Let's take advantage of it.
View
22 PyCon2012/ipython-notebook.rst
@@ -0,0 +1,22 @@
+=====
+IPython
+=====
+
+Notebook
+-----
+
+- Everybody is using this for work and presentations. It is amazing.
+- Python, scipy, graphs, pictures, videos, etc all in your web browser.
+- Easily convert your session into a web page/presentation.
+- Interacts with Pandas (the Pandas guy loves this as well).
+- Inline figures
+- Detects segfaults. You can restart your kernel and keep your work.
+- Great for trying out snippets from the web, even with >>> formatting.
+
+Parallel Computing Framework
+-----
+
+- IPython gives you a high level parallel computing framework.
+- This was touched upon lightly, but it looks promising.
+- Recommend looking into this more.
+
View
34 PyCon2012/pandas.rst
@@ -0,0 +1,34 @@
+=====
+Pandas - Python Data Analysis Library
+=====
+
+By Wes McKinney
+
+- Rich relational data tool build on top of Numpy
+- Like R's data.frame -- on steroids
+- Simplifies data wrangling
+- Unit tested to 98% line coverage (as opposed to branch)
+- IPython Web Notebook
+
+ - Can profile and debug code
+ - Can time executions
+ - Other niceities
+
+- Uncle Bob's book: Clean Code + Youtube video
+
+- Pandas provides a heirarchical index in dataframe
+- Groupby functionality (Sex, Smoker)
+- Axis indexing enables alignment-free programming
+- Allows for groupby value
+- Demo about campaign contributions from 2012 election campaigns
+
+Series: 1D
+DataFrame: 2D
+Panes: 3D
+
+- Integration with scikit-learn, IPython
+- Future:
+ - Dataframe with memory maps of data (currently its all in ram).
+ - SQL or NOSQL backend
+ - ggplot2 for python
+ - Integration with statsmodels
View
31 PyCon2012/python-and-cassandra.rst
@@ -0,0 +1,31 @@
+=====
+Python and Apache Caddandra
+=====
+
+- Logo looks like a female's eye
+- Slides available at http://goo.gl/8Byd8
+- Cassandra is an ordered document database.
+- Select a column type, from there, select a key. Now you get all available values for that key.
+
+Example:
+
+ UserInfo:
+ John:
+ OrderedDict( age:32,
+ sex:'m'
+ etc...)
+
+- Get the RPM packages from DataStax
+- Has Thrift interface: Don't use it!
+- Use pycassa: Provides simple access to Cassandra
+- Cassandra allows for MapReduce
+- Excellent for time series data. Allows for key associated with time / uuid.
+- You can specify the data type for a column
+- Pycassa allows for python object storage
+
+ self.name = "Sean"
+ self.sage = "27"
+ pycassa.put(self)
+
+- Allows for primary and some secondary indexes
+

0 comments on commit ede1514

Please sign in to comment.
Something went wrong with that request. Please try again.