7 Apr 2013 #python

Doing a minor version update for homebrew-installed Python

I install Python with homebrew (on OS X) and manage my packages with virtualenv. I was interested in whether updating from Python 2.7.3 to 2.7.4 would cause my virtualenvs to break. It did, but fixing them turned out to be very simple: First, of course, $ brew upgrade python; brew cleanup python, which installed Python 2.7.4 and then removed 2.7.3. According to this post, re-running virtualenv suffices to update the paths inside a virtualenv (the installed packages remain, and you shouldn’t need to re-install or recompile anything after a minor version update): Read more...

19 Mar 2013

The discovery of sustainability

There are several events in the twentieth century commonly thought of as key milestones in developing a shared environmental consciousness. The first views of our planet from space (in particular the famous “blue marble” photo taken by Apollo 17 astronauts in 1972) and the publication of Rachel Carson’s Silent Spring a decade earlier are such milestones. So is the idea of sustainable development, as formulated by the Brundtland Commission: “Sustainable development is development that meets the needs of the present without compromising the ability of future generations to meet their own needs. Read more...

23 Feb 2013

Linking DOIs on Scopus Preview

I use Scopus RSS feeds via my institutional Scopus access. Unfortunately, if I save links from a feed on the go I get redirected to a ‘Scopus Preview’ page when I later open the link in my browser. This preview offers no direct way to get the full paper, and no outbound links. Seizing the opportunity to experiment with making a jQuery-based user script, I threw together some simple code to add a DOI resolver link to the preview page: Read more...

10 Jan 2013

Book published: Introduction to Systems Analysis

The book Introduction to Systems Analysis: Mathematically Modeling Natural Systems by Dieter Imboden and myself is now available. This is a textbook for non-maths students interested in applying (simple) mathematical models to environmental problems. I created a simple website for the book, originally with the idea to have many interactive examples of the models discussed in the book. Due to time constraints, only three examples are online: the Lotka-Volterra predator-prey model, a “two-box model”, and a demonstration of substance dispersion in a lake. Read more...

4 Nov 2012

An occasional blog

My website, online since about 2002 in various forms, has finally gotten a facelift. The site is now generated by Pelican, after a brief foray into Octopress. Posts may or may not appear on an infrequent basis. Update June 2018: The website is now generated with Hugo.