# Krzysztof Chalupka: Science & Engineering Notes

This page will include useful (to me and hopefully someone else out there) notes that I made during
my studies, and some links I might accumulate. All the notes are here primarily as my memory aid, and
if you choose to use them in any way, you do it on your own risk!

## Miscellaneous Links

- Sean Borman's EM Tutorial.
- The easiest-to-follow derivation of EM I found on the Internet.
- AMS Short Math Guide for LaTeX.
- A must-read for anyone writing math-heavy documents.

## Textbook Problem Solutions

Chosen problem solutions I wrote down while studying mathematics. Please use it to compare your self-learning answers with mine (do send me e-mail with questions, discussions or corrections!). Solution pages use MathJax to typeset math, you'll need Javascript enabled to display them correctly.
- [Spivak Solutions]
- in progress: Michael Spivak, "Calculus on Manifolds: A Modern Approach to Classical Theorems of Advanced Calculus". Chapters 1-3 complete.
- [Guillemin and Pollack Solutions]
- in progress: Victor Guillemin and Alan Pollack, "Differential Topology".

In the solutions above, I will sometimes refer to the following books containing basic results:
- Rudin
- Walter Rudin, "Principles of Mathematical Analysis", 3rd ed.
- Apostol
- Tom M. Apostol, "Calculus, Vol. 1: One-Variable Calculus, with an Introduction to Linear Algebra", 2nd ed.
- Munkres
- James Munkres, "Topology", 2nd ed.
- Dummit and Foote
- David S. Dummit and Richard M. Foote, "Abstract Algebra", 3rd ed.

## Notes on Things Not to be Forgotten

- Setting up port forwarding
- (e.g. to tunnel IPython Notebook from the cluster onto a home machine!):
ssh -N -f -L localhost:1234:localhost:5678 uname@remote
(1234 is the home machine port to forward to, 5678 is the remote port to get data from).
- IPython parallel notebooks
- Excellent resource: Parallel Computing with IPython
- Installing numpy/SciPy with OpenBLAS support (much faster, default multithreading) -- instructions copied from a Google Group.

## Amazon EMR and mrjob with Python 2.7

I wrote a note on my setup for EMR and mrjob to run arbitrary Python 2.7 scripts efficiently.

Krzysztof Chalupka