Redirecting Old Websites
16 May 2009
I have been gone from Dartmouth for over a year and my website has remained active but somewhat broken due to neglect. It turns out that some of the blogs on that site are on the first page of google search results for related keywords. When my Dartmouth site finally goes away, it would be a shame if users encountered 404 errors when trying to access pages. I did some quick searching for the best way to redirect a page to a new location and it seems that a 301 redirect is a good option. I wrote a python script to redirect all the html pages on my site to their new urls and this script might be useful for other people facing the same problem.Read more...
Photoshop + MATLAB
14 March 2009
As a researcher who works with digital images, I have two programs open all day long: Photoshop and MATLAB. Since Photoshop CS3 came out about two years ago, I have been increasingly using both programs together. I frequently send images to Photoshop from MATLAB and also read images back into MATLAB from Photoshop. In this post, I give a demonstration of some of my favorite ways to use these programs together.Read more...
Static Websites using Webby
27 January 2009
Until recently, the pages of this site were generated by the Joomla content management system (CMS). There were a number of reasons I initially chose a CMS for this site, including the ease of adding new content and the flexibility of being able to view the content in different ways. But over the last few months, I have become concerned by the idea that my content lives in a database in some unknown format, and that if I switch hosting services it may be complicated to migrate to another system. Also, a CMS is overkill for a site like this, where the content is static and updates are (unfortunately) few and far between.Read more...
A Quick Look Plugin for txt2tags
07 December 2008
Txt2tags is a lightweight markup language that can be converted into many different formats. I have been experimenting with it as a way of simplifying this site since I am uncomfortable with the idea that all of my content is stored in a remote database in some unknown format. I'll describe more about my experiences converting this site to txt2tags in future blogs; in this blog I thought I would share a Quick Look plugin I wrote to make txt2tags seem like less of an outsider on OS X.