csbio (biocs tumbled) RSS

a tumblelog to supplement my real blog

Things too long to tweet and too unimportant to blog go here.

Archive

Nov
28th
Fri
permalink
Let’s put someone else’s money where your mouth it.
ibid.
permalink
Physicists are really clever, unlike biologist.
— Luca Turin (tongue in cheek) in an entertaining talk about the molecular mechanisms of the sense of smell. (Though I’d still call BS on his theory.)
Nov
26th
Wed
permalink

Clean up whitespace in LaTeX

Correct whitespace around abbreviations and references (on a Mac). Don’t hyphenate “p-value(s)”.

sed -inplace -E -e 's/ \\(ref|cite)/~\\\1/g' -e 's/(e\.g\.|cf\.|et al\.|i\.e\.) /\1\\ /g' -e 's/([^{])(p-values?)([^}])/\1\\mbox{\2}\3/g' *.tex

permalink
You can only do two things a day, one before lunch and one after.
Roland Krause, attributed to a German scientist.
Nov
25th
Tue
permalink

Use Mac OS X 10.5 screen sharing for any VNC

Finder, Go: Connect to server

vnc://server:590x

where x is the display port

Nov
24th
Mon
permalink

Ignore tweets from Friendfeed in Twitterific

defaults write com.iconfactory.Twitterrific \
tweetTextFilter -string 'ff\.im'

permalink

Ugly hack to fold path names into file names

I want to go from ../www.fda.gov/medwatch/SAFETY/2003/03AUG_PI/Advair Diskus_PI.pdf to 2003_-_03AUG_PI_-_Advair Diskus_PI.pdf

I came up with this hack:

find ../www.fda.gov/ -name '*_PI*pdf' > names_a 

find ../www.fda.gov/ -name '*_PI*pdf' | \
sed -e 's/.*safety\/\(.*\)/\1/gi' -e 's/\//_-_/g'> names_b

paste names_a names_b | ~/src/misc/to_tsv.py -0 \' | \
xargs -l1 ln
(The to_tsv.py script is used to wrap the filenames in quotes.) I guess a quick Python script would have been better…
Nov
18th
Tue
permalink
This is so funny, but… in German dialect. In (almost) my dialect.

This is so funny, but… in German dialect. In (almost) my dialect.

permalink

prototype-based classification

(or: prototype-based active classification by Uni Konstanz)

Nov
17th
Mon
permalink
Take large unbiased data to find new components of well-studied pathways