<?xml version="1.0"?>
<!-- name="generator" content="blosxom/2.0" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
  <channel>
    <title>the Daily Burrito   </title>
    <link>http://dailyburrito.com/blog</link>
    <description>Eat a Burrito Every Day</description>
    <language>en</language>

  <item>
    <title>Introducing numpyIO.py</title>
    <link>http://dailyburrito.com/blog/2009/01/03#numpyIO</link>
    <description>&lt;p&gt;I implemented &lt;a href=&quot;http://www.bitbucket.org/lannybroo/numpyio/src/tip/numpyIO.py&quot;&gt;numpyIO.py&lt;/a&gt; because I often use scipy.io.numpyio.fread() and scipy.io.numpyio.fwrite(), but I don&amp;#8217;t want to depend on scipy. It uses numpy&amp;#8217;s tofile/fromfile functions instead.&lt;/p&gt;

&lt;p&gt;Why might you want this instead of SciPy&amp;#8217;s numpyio? Well, I can think of a few reasons:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;it imports faster because it only depends on numpy, not scipy&lt;/li&gt;
&lt;li&gt;easier to package with py2exe or py2app&lt;/li&gt;
&lt;li&gt;it is slightly faster&lt;/li&gt;
&lt;li&gt;it lets you avoid rewriting legacy code that makes extensive use of scipy&amp;#8217;s &lt;a href=&quot;http://projects.scipy.org/scipy/scipy/roadmap&quot;&gt;deprecated&lt;/a&gt; fread/fwrite&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Grab &lt;a href=&quot;http://www.bitbucket.org/lannybroo/numpyio/&quot;&gt;the numpyIO project from bitbucket&lt;/a&gt; or clone the repo with:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;hg clone http://bitbucket.org/lannybroo/numpyio
&lt;/code&gt;&lt;/pre&gt;
</description>
  </item>
  <item>
    <title>Updating to Python 2.6 on Mac OS X Leopard 10.5.6</title>
    <link>http://dailyburrito.com/blog/2008/12/29#Python2.6Upgrade</link>
    <description>&lt;p&gt;Install Python from source.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cd ~/tmp
wget http://www.python.org/ftp/python/2.6.1/Python-2.6.1.tgz
untar Python-2.6.1.tgz
cd Python-2.6.1
mate Mac/README
./configure --enable-framework
make
make install
cd ..
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Update setuptools so that easy_install works.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c9-py2.6.egg
sh setuptools-0.6c9-py2.6.egg
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Add the following to my .profile so that the binaries installed by easy_install take precedence over my old Python 2.5 stuff.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;export PATH=/Library/Frameworks/Python.framework/Versions/2.6/bin:&amp;#036;PATH
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Easy install various packages I use frequently.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;easy_install IPython
easy_install nose
easy_install pexpect
easy_install cheetah
easy_install clonedigger
easy_install pyserial
easy_install markdown2
easy_install euclid
easy_install psyco
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Do the slightly tougher installs: NumPy (svn rev 6271), SciPy (svn rev 5300), matplotlib, and euclid. See &lt;a href=&quot;http://www.scipy.org/Installing_SciPy/Mac_OS_X&quot;&gt;&lt;code&gt;http://www.scipy.org/Installing_SciPy/Mac_OS_X&lt;/code&gt;&lt;/a&gt; for details. Before starting, I also updated to the latest &lt;a href=&quot;http://developer.apple.com/iphone/&quot;&gt;apple developer tools&lt;/a&gt;, although this isn&amp;#8217;t strictly necessary.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;wget http://r.research.att.com/gfortran-4.2.3.dmg
open gfortran-4.2.3.dmg # install using GUI

wget http://www.fftw.org/fftw-3.2.tar.gz
untar fftw-3.2.tar.gz
cd fftw-3.2
./configure
make
sudo make install
cd ..

svn co http://svn.scipy.org/svn/numpy/trunk numpy
cd numpy
python setup.py build
python setup.py install
cd ..

svn co http://svn.scipy.org/svn/scipy/trunk scipy
cd scipy
python setup.py build
python setup.py install
cd ..

python
&amp;gt;&amp;gt;&amp;gt; import numpy
&amp;gt;&amp;gt;&amp;gt; numpy.test('1','10') # 6 problems in 1897 tests, but usable
&amp;gt;&amp;gt;&amp;gt; import scipy
&amp;gt;&amp;gt;&amp;gt; scipy.test('1','10') # 168 errors of 3990 tests, but usable

sudo port install libpng
sudo port install freetype
easy_install matplotlib

ipython -pylab
&amp;gt;&amp;gt;&amp;gt; plot([1,2,3])

svn checkout http://pyeuclid.googlecode.com/svn/trunk/ pyeuclid
cd pyeuclid
python setup.py install
cd ..
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Install wxPython and PythonCard for GUI development.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;wget http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.9.1-universal-py2.6.dmg
wget http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-docs-demos-2.8.9.1-universal-py2.6.dmg
open wxPython2.8-osx-unicode-2.8.9.1-universal-py2.6.dmg
open wxPython2.8-osx-docs-demos-2.8.9.1-universal-py2.6.dmg

wget http://prdownloads.sourceforge.net/pythoncard/PythonCard-0.8.2.tar.gz
untar PythonCard-0.8.2.tar.gz
cd PythonCard-0.8.2
python setup.py install
open /Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PythonCard/samples/minimal/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Then, Ctrl-click and open minimal.py with Python Launcher to test.&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Hi-Def Video Playback on Windows</title>
    <link>http://dailyburrito.com/blog/2008/12/23#hidefVideoPlaybackOnWindows</link>
    <description>&lt;p&gt;Jeff Atwood&amp;#8217;s great &lt;a href=&quot;http://www.codinghorror.com/blog/archives/001197.html&quot;&gt;tips on Hi-Def video playback&lt;/a&gt; for Windows.&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Speedy Python</title>
    <link>http://dailyburrito.com/blog/2008/11/30#pythonSpeedy</link>
    <description>&lt;p&gt;A great reference: &lt;a href=&quot;http://amundblog.blogspot.com/2008/11/tools-for-accelerating-python.html&quot;&gt;Tools for Accelerating Python&lt;/a&gt;. I learned about quite a few new ways of getting Python code to run faster &amp;#8230;&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Git Link Roundup</title>
    <link>http://dailyburrito.com/blog/2008/11/30#gitLinkRoundup</link>
    <description>&lt;p&gt;I&amp;#8217;ve been working more with git lately and have found a few more interesting sites I&amp;#8217;d like to share.&lt;/p&gt;

&lt;p&gt;The &lt;a href=&quot;http://book.git-scm.com/&quot;&gt;Git Community Book&lt;/a&gt; is a great quick reference for finding out how to use a command if you can&amp;#8217;t recall from the man page.&lt;/p&gt;

&lt;p&gt;If you want to really understand the gory details of branching and merging with git (and I do highly recommend understanding them &amp;#8230; easy branching is the best part of git coming from a svn background), then read &lt;a href=&quot;http://lwn.net/Articles/210045/&quot;&gt;this long article on LWN.net&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Also, R. Tyler Ballance has a &lt;a href=&quot;http://unethicalblogger.com/blog_categories/git&quot;&gt;series of blog entries&lt;/a&gt; on moving his team from subversion to git. I especially liked &lt;a href=&quot;http://unethicalblogger.com/posts/2008/09/team_development_with_git_part_23&quot;&gt;Team Development with Git&lt;/a&gt; which details the bad habits of developers that are just becoming familiar with distributed source control.&lt;/p&gt;

&lt;p&gt;The Battery Powered blog &lt;a href=&quot;http://batterypowered.wordpress.com/2008/07/04/deploying-a-git-repository-server-in-ubuntu/?referer=sphere_related_content/&quot;&gt;tells us how to deploy a Git Repository Server in Ubuntu&lt;/a&gt;, which may prove useful soon. Currently, I&amp;#8217;m just using Git for my local work and then pushing to a SVN repo, but I&amp;#8217;d like to move others to Git soon.&lt;/p&gt;

&lt;p&gt;scie.nti.st also &lt;a href=&quot;http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way&quot;&gt;explains how to host a Git repo&lt;/a&gt;. Both this and the Battery Powered link above use &lt;a href=&quot;http://eagain.net/gitweb/?p=gitosis.git&quot;&gt;gitosis&lt;/a&gt; to make setup easier.&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Amanda&amp;#8217;s Marathon Training Video</title>
    <link>http://dailyburrito.com/blog/2008/09/14#mandaMarathonTrainingVideo</link>
    <description>&lt;p&gt;Amanda and I are running the Chicago Marathon this year. We&amp;#8217;re hoping our friends will want to come watch us run on Sunday, October 12!&lt;/p&gt;

&lt;p&gt;We are running as part of a fundraising group that supports the Chicago Children&amp;#8217;s Memorial Hospital. So, Amanda made a fun video showing her unique Rocky Balboa training methods.&lt;/p&gt;

&lt;p&gt;Anyway, hope you enjoy the video. If you like it and want to sponsor us, head to &lt;a href=&quot;http://tinyurl.com/rungirl&quot;&gt;Amanda&amp;#8217;s donation site&lt;/a&gt; and make a pledge to support her. Or, you can pledge to &lt;a href=&quot;http://www.childrensmemorial.org/marathon/sponsors/runnerDiary.asp?runnerID=1271&quot;&gt;support me here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Watch below, or &lt;a href=&quot;http://www.youtube.com/watch?v=Il_0mBJ-WtI&amp;amp;fmt=18&quot;&gt;check it out in HD on YouTube&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; style=&quot;width:425px; height:350px;&quot; data=&quot;http://www.youtube.com/v/Il_0mBJ-WtI&amp;amp;ap=%2526fmt%3D18&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/Il_0mBJ-WtI&amp;amp;ap=%2526fmt%3D18&quot; /&gt;&lt;/object&gt;&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Git-SVN Cheat Sheet</title>
    <link>http://dailyburrito.com/blog/2008/09/08#gitSvnCheatSheet</link>
    <description>&lt;p&gt;Set good &amp;#8220;don&amp;#8217;t mess with my line endings&amp;#8221; option before first checkout:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git config --global core.autocrlf false
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Do this one time to suck in the repo w/history from SVN:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git svn clone svn://myrepo.com/project/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Do this loop over and over until your code ready to push back to SVN. The cool thing about this is that the adds and commits can be done off the network! Don&amp;#8217;t forget to merge and re-test your changes after the rebase:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git add .
git commit -m &quot;Added some awesome stuff&quot;
git svn rebase
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Push all local changes back to the SVN repo, which will now have all the local commits you did when you were on the airplane:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git svn dcommit
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;One other key tip is what when you want to decommit or rebase but you are in the middle of some changes, don&amp;#8217;t worry. git-stash to the rescue:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;git stash
git svn rebase
git stash apply
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Also, here are a few links that inspired this post:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.shinetech.com/?p=95&quot;&gt;Using Git for Local Version Control&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://blog.madism.org/index.php/2007/09/09/138-git-awsome-ness-git-rebase-interactive&quot;&gt;git awesome-ness&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://tsunanet.blogspot.com/2007/07/learning-git-svn-in-5min.html&quot;&gt;Learning git-svn in 5min&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.kernel.org/pub/software/scm/git/docs/everyday.html&quot;&gt;Everyday GIT With 20 Commands Or So&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.kernel.org/pub/software/scm/git/docs/git-config.html&quot;&gt;git-config(1)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://git.or.cz/course/svn.html&quot;&gt;Git - SVN Crash Course&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://stevehoelzer.dyndns.org/blog/life/gitonmacosx.html&quot;&gt;Steve&amp;#8217;s&lt;/a&gt; &lt;a href=&quot;http://stevehoelzer.dyndns.org/blog/life/shx.html&quot;&gt;ramblings&lt;/a&gt; &lt;a href=&quot;http://stevehoelzer.dyndns.org/blog/y2007/get_git.html&quot;&gt;slowly&lt;/a&gt; &lt;a href=&quot;http://stevehoelzer.dyndns.org/blog/y2007/wingit.html&quot;&gt;convincing&lt;/a&gt; &lt;a href=&quot;http://stevehoelzer.dyndns.org/blog/y2008/about_git.html&quot;&gt;me&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www-cs-students.stanford.edu/~blynn/gitmagic/&quot;&gt;Git Magic book&lt;/a&gt; (a great quick-reference for git commands w/examples)&lt;/li&gt;
&lt;/ul&gt;
</description>
  </item>
  <item>
    <title>Announcing Haiku Of the Day (HOD)</title>
    <link>http://dailyburrito.com/blog/2008/06/30#hod</link>
    <description>&lt;p&gt;I helped put together a simple website and RSS feed of Haiku published by Bronze Man Books. Read &lt;a href=&quot;http://brooksbookshaiku.com/announce-hod.html&quot;&gt;the announcement&lt;/a&gt; or check out today&amp;#8217;s &lt;a href=&quot;http://www.brooksbookshaiku.com/hod&quot;&gt;haiku of the day&lt;/a&gt;!&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Run Your Software on Your GPU</title>
    <link>http://dailyburrito.com/blog/2008/05/10#gpuForComputation</link>
    <description>&lt;p&gt;Check out &lt;a href=&quot;http://www.txcorp.com/technologies/GPULib/index.php&quot;&gt;GPULib&lt;/a&gt; from Tech-X Corp. It gives you the ability to run mathematical functions on your GPU card (certain NVIDIA models only, as the moment). Includes &lt;a href=&quot;http://gpulib.blogspot.com/&quot;&gt;a blog&lt;/a&gt; and bindings for &lt;a href=&quot;http://code.google.com/p/pystream/&quot;&gt;Python (pystream)&lt;/a&gt; and MATLAB.&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Idiomatic Python, the Cheese Shop, PyEuclid</title>
    <link>http://dailyburrito.com/blog/2008/05/06#MorePythonLinks</link>
    <description>&lt;p&gt;Today is becoming &lt;em&gt;python link day&lt;/em&gt;, so here are a few more:   &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://python.net/~goodger/projects/pycon/2007/idiomatic/handout.html&quot;&gt;Idiomatic Python&lt;/a&gt; has some great tips on how to use python as it was intended.&lt;/li&gt;
&lt;li&gt;The &lt;a href=&quot;http://pypi.python.org/pypi&quot;&gt;Python Package Index&lt;/a&gt; is a good place to look for code someone has already written that might solve the problem you&amp;#8217;re thinking about, and probably in a much cleaner way than you were thinking. This used to be known as the Cheese Shop.&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://code.google.com/p/pyeuclid/&quot;&gt;pyeuclid&lt;/a&gt; is a nice 2D/3D vector, matrix, and quaternion math library (that needs better docstrings and a ray-sphereoid intersection).&lt;/li&gt;
&lt;/ul&gt;
</description>
  </item>
  <item>
    <title>Numpy for MATLAB Users</title>
    <link>http://dailyburrito.com/blog/2008/05/06#Numpy4MatlabUsers</link>
    <description>&lt;p&gt;&lt;a href=&quot;http://www.scipy.org/NumPy_for_Matlab_Users&quot;&gt;Great reference&lt;/a&gt; for those of us recovering from a MATLAB addiction, like &lt;a href=&quot;http://vnoel.wordpress.com/2008/05/03/bye-matlab-hello-python-thanks-sage/&quot;&gt;this guy&lt;/a&gt;, who recently moved his scientific workflow to Python.&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Python-by-example</title>
    <link>http://dailyburrito.com/blog/2008/05/01#pythonByExample</link>
    <description>&lt;p&gt;&lt;a href=&quot;http://pbe.lightbird.net/&quot;&gt;Straight-forward Python reference&lt;/a&gt; the explains the standard library rather completely and cleanly just by showing a simple example for each module and function. Very nice for a quick lookup of something you don&amp;#8217;t quite remember.&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Universal Sole 10</title>
    <link>http://dailyburrito.com/blog/2008/04/28#universalSole10Results</link>
    <description>&lt;p&gt;Amanda, Shayna, Mark, and I ran the 10-mile Universal Sole race in Lincoln Park yesterday. Here&amp;#8217;s an excerpt with our times (&lt;a href=&quot;http://results.active.com/pages/displayNonGru.jsp?rsID=62045&amp;amp;orgID=234623&amp;amp;pubID=2&quot;&gt;full results&lt;/a&gt;): &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;O'All No. Name   Div/Tot  Rank 5 Mile  Pace  Finish    Pace 
===== === ====== ======== ==== ======= ===== ========= =====
  788 369 MARK   103/120   960   49:11  9:51 1:33:00.4  9:19
  883 155 ALAN    57/66    961   49:12  9:51 1:35:53.2  9:36
 1148 370 SHAYNA 119/130  1181 1:00:52 12:11 1:56:42.8 11:41
 1149 156 AMANDA 120/130  1182 1:00:53 12:11 1:56:44.4 11:41
&lt;/code&gt;&lt;/pre&gt;
</description>
  </item>
  <item>
    <title>Installing IPython, SciPy, and Matplotlib into Apple&amp;#8217;s Python on upgraded Leopard</title>
    <link>http://dailyburrito.com/blog/2008/02/21#matplotlibInstall</link>
    <description>&lt;p&gt;Start by reading &lt;a href=&quot;http://www.mso.anu.edu.au/~grant/wp/2008/02/installing-ipython-numpy-scipy-and-matplotlib-on-leopard&quot;&gt;this reference&lt;/a&gt; and some tips at &lt;a href=&quot;http://macresearch.org/scipy-leopard&quot;&gt;MacResearch&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Because it obscures the nice Leopard python that includes Numpy and Dtrace, remove your old Python completely.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;sudo rm -rf /Library/Frameworks/Python.framework/
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Check that NumPy is already installed and working.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;python
import numpy
numpy.test(1,10)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Install latest IPython, version 0.8.2. Note that I always &lt;code&gt;alais untar='tar xvzf'&lt;/code&gt; in my bash setup.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;wget http://ipython.scipy.org/dist/ipython-0.8.2.tar.gz
untar ipython-0.8.2.tar.gz
cd ipython-0.8.2
sudo python setup.py install
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Install a fortran compiler binary because it is needed to compile/install Scipy. I get the PPC version of gfortran. You can also find the Intel version at &lt;a href=&quot;http://hpc.sourceforge.net/&quot;&gt;HPC Mac OS X&lt;/a&gt;.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;wget http://internap.dl.sourceforge.net/sourceforge/hpc/\
gfortran-ppc-leopard-bin.tar.gz
sudo tar -xvf gfortran-ppc-leopard-bin.tar.gz -C /
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Edit a disttools file in Apple&amp;#8217;s NumPy distribution so it is more lenient in allowing the use of the above gfortran compiler when building SciPy. Inspired by &lt;a href=&quot;http://lists.macosforge.org/pipermail/macports-users/2007-April/002574.html&quot;&gt;this note&lt;/a&gt;.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;cd /System/Library/Frameworks/Python.framework/Versions/2.5/\
Extras/lib/python/numpy/distutils/fcompiler
sudo cp -p gnu.py gnu.py.bak
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;And edit the following lines as follows (I use &lt;code&gt;mate gnu.py&lt;/code&gt; to edit in TextMate).&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;- version_match = simple_version_match(start=r'GNU Fortran (?!95)')
+ version_match = simple_version_match(start=r'GNU Fortran')
- version_match = simple_version_match(start='GNU Fortran 95')
+ version_match = simple_version_match(start='GNU Fortran')
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Build and install SciPy 0.6.0. Source available &lt;a href=&quot;http://scipy.org/Download&quot;&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;wget http://internap.dl.sourceforge.net/sourceforge/scipy/\
scipy-0.6.0.tar.gz
untar scipy-0.6.0.tar.gz
cd scipy-0.6.0
sudo python setup.py install
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;This installs SciPy here: /Library/Python/2.5/site-packages/scipy, which isn&amp;#8217;t seen by Python at first. I added the following to my &lt;code&gt;.profile&lt;/code&gt;.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;export PYTHONPATH=&quot;/Library/Python/2.5/site-packages&quot;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Test it after closing your terminal and re-opening. I actually have 2 failures and 3 errors, but they are things I don&amp;#8217;t care about at the moment.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;python
import scipy
scipy.test(1,10)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Install matplotlib binary.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;wget http://internap.dl.sourceforge.net/sourceforge/matplotlib/\
matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
sudo easy_install -N matplotlib-0.91.2-py2.5-macosx-10.3-fat.egg
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Test it out and be happy that you&amp;#8217;re done!&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;ipython -pylab
plot([1,2,3])
&lt;/code&gt;&lt;/pre&gt;
</description>
  </item>
  <item>
    <title>Rocky Fetching, Fighting the Roomba</title>
    <link>http://dailyburrito.com/blog/2007/12/15#RockyFetchAndRoomba</link>
    <description>&lt;p&gt;Our boy continues to be quite the fun addition to the family. He can run around playing fetch all day. He also likes to fight with Little Buddy (a.k.a. our Roomba). I think we should teach him to ride it around.&lt;/p&gt;

&lt;p&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; style=&quot;width:425px; height:350px;&quot; data=&quot;http://www.youtube.com/v/FTK3mbbHfF8&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/FTK3mbbHfF8&quot; /&gt;&lt;/object&gt;&lt;/p&gt;

&lt;p&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; style=&quot;width:425px; height:350px;&quot; data=&quot;http://www.youtube.com/v/QfgqG2VHzkE&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/QfgqG2VHzkE&quot; /&gt;&lt;/object&gt;&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Markdown in Python</title>
    <link>http://dailyburrito.com/blog/2007/11/06#markdown2py</link>
    <description>&lt;p&gt;A clean, fast &lt;a href=&quot;http://code.google.com/p/python-markdown2/&quot;&gt;Markdown implementation&lt;/a&gt; in python.&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Meet Rocky Brooks</title>
    <link>http://dailyburrito.com/blog/2007/10/22#MeetRockyMirrorVideo</link>
    <description>&lt;p&gt;We love our little 4-month-old Chihuahua we adopted on 20-Oct-2007. He also loves to play with his inverted self in the mirror &amp;#8230;&lt;/p&gt;

&lt;p&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; style=&quot;width:425px; height:350px;&quot; data=&quot;http://www.youtube.com/v/tYeICdO8iY8&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/tYeICdO8iY8&quot; /&gt;&lt;/object&gt;&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Clean up your Contextual Menus</title>
    <link>http://dailyburrito.com/blog/2007/10/17#lsregister</link>
    <description>&lt;p&gt;Thanks to &lt;a href=&quot;http://emperor.tidbits.com/TidBITS/Talk/1536/&quot;&gt;this TidBITS article&lt;/a&gt;, I was tipped off to find &lt;a href=&quot;http://www.macosxhints.com/article.php?story=20031215144430486&quot;&gt;this Mac OS X Hint&lt;/a&gt; about how you can rebuild the Launch Services database that determines which applications show up in your &amp;#8220;Open With&amp;#8221; contextual menu. My &lt;em&gt;Open With&lt;/em&gt; had a huge amount of cruft accumulated over time with Classic apps, apps on my backup hard drive, and an annoying number of image droplets in the &lt;code&gt;Photoshop/Samples/Droplets&lt;/code&gt; folder.&lt;/p&gt;

&lt;p&gt;So I rebuilt my Launch Services database to make my &lt;em&gt;Open With&lt;/em&gt; much cleaner and faster. Here&amp;#8217;s how I did it.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;Eject my backup hard drive so that the database doesn&amp;#8217;t include duplicate copies of all my applications.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Archive the &lt;code&gt;Photoshop/Samples/Droplets/&lt;/code&gt; folder (right click, Create Archive, then delete the folder).&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the following line to my &lt;code&gt;~\.profile&lt;/code&gt; so typing the lsregister command is easier. (&lt;code&gt;alias ...&lt;/code&gt; should all be on one line)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;# make launch services register easy to find
alias lsregister='/System/Library/Frameworks/
    ApplicationServices.framework/Frameworks/
    LaunchServices.framework/Support/lsregister'
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Save a description of the old database (out of curiosity, not necessary).&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;lsregister -dump | less &amp;gt; lsregDumpOld.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Rebuild the database. (all on one line)&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;lsregister -kill -r -f -domain system -domain system
    -domain user &quot;/Applications&quot;
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Save a description of the new database (again just curious).&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;lsregister -dump | less &amp;gt; lsregDumpNew2.txt
&lt;/code&gt;&lt;/pre&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The new database is now about 1 MB, down from the original 6 MB. There sure was a lot of junk in there!&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Steve vs. Alan on Hearing High Stuff</title>
    <link>http://dailyburrito.com/blog/2007/10/16#SteveAndMyHearing</link>
    <description>&lt;p&gt;I can hear up to 17.1kHz. Steve can only hear up to 14.7kHz. So I win
this round. Although maybe that means he can save more disc space and
compress his MP3s a little more?&lt;/p&gt;

&lt;p&gt;If you want to perform your own test, you can use Python on Windows as
follows:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;from winsound import Beep
Beep(14000, 1000)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;14000 is the frequency 14kHz and 1000 is beep duration 1000ms (1
second). Crank up the frequency until you can&amp;#8217;t hear it.&lt;/p&gt;

&lt;p&gt;Update: alternate MATLAB one-liner for doing the same:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;f=15000;fs=44100;sound(sin(f*2*pi*[0:fs-1]/fs),fs)
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Update 2: Paul says he can hear up to 16.9kHz well but also claims to faintly hear 18-20kHz. I think that means he wins, because I cannot hear above 17.1kHz at all. He said he used headphones whereas I used crappy laptop speakers, so I consider that cheating a little.&lt;/p&gt;

&lt;p&gt;Update 3: So apparently, the results are very dependent on the speakers being used. I tested Amanda at home using the Bose speakers and she can hear up to 17.5kHz. Funny thing: with these speakers, I can hear up to about 18.4kHz. Not sure what to make of that except that I&amp;#8217;m winning again.&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Punched before Eating</title>
    <link>http://dailyburrito.com/blog/2007/10/15#punched</link>
    <description>&lt;p&gt;Maybe the funniest SNL Digital Short yet.&lt;/p&gt;

&lt;p&gt;&lt;object type=&quot;application/x-shockwave-flash&quot; style=&quot;width:425px; height:350px;&quot; data=&quot;http://www.youtube.com/v/LmpUB90sla8&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/LmpUB90sla8&quot; /&gt;&lt;/object&gt;&lt;/p&gt;
</description>
  </item>
  <item>
    <title>Hidden Dictionary on The New York Times</title>
    <link>http://dailyburrito.com/blog/2007/10/15#DoubleClickWordInNytimes</link>
    <description>&lt;p&gt;Woah, I just randomly double-clicked a word while reading an article &lt;a href=&quot;http://nytimes.com&quot;&gt;nytimes.com&lt;/a&gt; and it popped up a definition/theauraus with information on that word. Seems to work while reading articles, but not on the front page.&lt;/p&gt;

&lt;p&gt;It is actually more than just a dictionary. For example, go read about &lt;a href=&quot;http://www.nytimes.com/2007/10/15/arts/music/15musi.html?ref=technology&quot;&gt;Led Zeppelin finally doing digital downloads&lt;/a&gt; and when you click &lt;em&gt;Zeppelin&lt;/em&gt;, it gives a short bio on the band. Says it&amp;#8217;s powered by Answers.com.&lt;/p&gt;
</description>
  </item>
  </channel>
</rss>