Skip to content

{ Author Archives }

How to make sure your media disk is mounted before starting iTunes

This is an Apple Annoyance that’s been bugging me for a while — if your iTunes library is on an external HD, and you start iTunes without it mounted, the bloody thing can seriously mangle its own library index (under Tiger at least). So I’ve replaced my iTunes Dock icon with a little AppleScript that [...]

Tagged

Help! Eclipse won’t believe I have Maven 2.2.1

I have a project (built from an AppFuse template) that requires Maven 2.2.1. So I upgraded to this (from 2.1.0) and set my path and my M2_HOME and MAVEN_HOME env variables. Then I ran mvn eclipse:eclipse and imported the project into Eclipse (Galileo). However, in the problems list for the project (and at the top [...]

Tagged , ,

MacBook keyboard hacks for # (hash/pound/numbersign)

One of the few annoying things about my oldish MacBook Pro is its keyboard, for example a few unresponsive keys, but particularly the lack of a # key. It’s a UK keyboard, and has £ for shift-3, and # is hidden in alt-3 (not labelled). This is fine in native desktop apps, but less fine [...]

Tagged , , , ,

Penhayl Cottage website — design notes

The website is now live for Penhayl Cottage, a self-catering holiday cottage in Cornwall, run by my family. I’m not much of a web designer, but thankfully there’s a lot of free tools around these days that make it easy for an amateur to do a decent-looking job. The layout was based on a free [...]

Tagged ,

How to pull fields from MEDLINE the easy way

In response to this thread on FriendFeed… curl -s ‘http://eutils.ncbi.nlm.nih.gov/entrez/eutils/efetch.fcgi?db=pubmed&id=19614587&retmode=text&rettype=medline’|egrep ‘^(MH |DP )’ This will pull all the MeSH keywords and the date of publication from the article with PubMed ID 19614587. Stripping the field codes from the response is left as an exercise to the reader (but can be done trivially with a Unix [...]

Tagged ,

Finding the dimensions of a PostScript image

If I have images in .ps or .eps format, how can I tell how big they are? i.e. how big would they print out at ‘natural’ size without any scaling? If they have a correct bounding box defined — more likely with EPS than PS files — this bit of Perl will show you the [...]

Tagged , ,

Awesome ways to save audio streams for future listening

For a start, you can use mplayer to save the stream to a local disk: mplayer -bandwidth 10000000000 -cache 32 -dumpstream -dumpfile output_file.ra ‘rtsp://some.server/some_stream’ The huge bandwidth parameter will make sure that no throttling happens (at the client side anyway) — i.e. you can download hours of audio in a few seconds. The dumpstream parameter [...]

Tagged

London bio people — pub tonight

The biogeeks are getting together again at The Miller from 6ish tonight. All are welcome.

More live gigs!

I’ll also be running an interactive workshop on FuncNet at: The EMBRACE-ENFIN workshop on Expression, Interactions, and System Level Modeling Helsinki, 5th-6th October 2009

Tagged , ,

Live gigs!

Couple of upcoming events I’ll be going to… 1. Data Integration in the Life Sciences (DILS 2009) in Manchester next month, with a poster and abstract about FuncNet. 2. EMBL-EBI/ENFIN 2009 annual forum for small-medium enterprises (SMEs), in Vienna in September, with a half-hour talk on the same subject. No ISMB for me this year, [...]

Tagged , ,