I just started an argument with a lady from the green party who was collecting signatures for a petition to outlaw genetically modified organisms (GMOs). I agree with most of the problems they are trying to tackle with that petition, particularly those related to patents on GMOs and the practice of using GMO seeds in order to sell pesticides. However, after hearing Theo van Hintum’s talk about using biotechnology in order to fight world hunger at GCB 2009 on Tuesday, I couldn’t bring myself to sign such a broad petition. Germany may be able to afford the luxury of being able to ban GMO’s, but most of the world simply won’t be able to sustain its population without the use of GMOs. If the petition had been about prohibiting the use of GMOs as a vehicle for selling pesticides, or the fact that farmers aren’t allowed to use part of their crop as seeds for the next growing season, I would have been more than happy to sign. Since that wasn’t the case however, I was hoping to have an informed discussion with the lady collecting the signatures about her reasons to support this cause. After all, it doesn’t happen very often that I meet someone who is both knowledgeable and passionate about the same topic as me and also disagrees with my views.
Sadly, the lady turned out to be all passion and no knowledge. After about a minute in which I tried to explain what the basics of molecular biology and the concept of plasmids, she began to ignore me and instead started to rant incessantly at the others at the table. When I did get a word in, my arguments were duely ignored, and she continued spewing unfounded incoherent pseudoscientific arguments at my friends.
It saddens me to think that the people I voted for (despite disagreeing with the two main issues in their campaign) are just as ignorant and ill informed as those campaigning for them. My only consolation is that they lost the election and won’t be doing much harm in government over the next years. However, I fear that those who are in government may be even worse.
I need a new ideology. Radically pragmatic humanism doesn’t work for me.
Archive for the ‘Uncategorized’ Category
The Green Party
Friday, October 2nd, 2009SpaceNavigator support in Chimera on Linux
Tuesday, August 18th, 2009I’ve just been informed by Tom Goddard from the UCSF Chimra team that my plugin to support the 3dConnexion 3d Input devices on Linux has been merged and will be included in future builds.
If you have any problems with the plugin, please do get in touch.
Otherwise,
Enjoy!
Baby, I’m an anarch postmaterialist
Monday, July 13th, 2009
A postironic postmaterialist to be precise. Chances are I’m post-modern, too. With the world being post- everything, it sounds like we’re past everything important, interesting or fun; -although materialism can’t possibly have been any fun. Still, that’s an unacceptable state of things. I was going to proclaim the pre-futurist movement now, but as it turns out, that’s already been done. Bummer! Its a shame it’s got such a narcissistic twist on it beacuse some of the ideas are pertty decent.
Generating Bibtex Cite-Keys
Monday, February 2nd, 2009As I found out recently, Endnote’s bibtex export feature doesn’t really produce bibtex files, but some weird bibtex wannabe format. The biggest problem is that it doesn’t assign cite-keys. If you run into the problem that bib files exported by endnote, you might find this script useful. It simply assigns ascending numbers as cite-keys.
There was also a problem with missing braces in certain publication types, but in my case that was rare enough to be fixed by hand. Vim’s bracket matching and syntax highlighting is quite useful for that kind of thing. Anyway, here is the script. If you find it useful and you would like to extend it to handle the bracket issue, please do get in touch. Of course, the Endnote folks fixing their exporter would also solve the problem…
#!/usr/bin/perl # open(MYINPUTFILE, "<$ARGV[0]"); # open for input my(@lines) =; my $counter = 0; foreach my $line (@lines){ if ($line =~ /\@article{\n/ | $line =~ /\@incollection{\n/ ){ $line =~ s/\n/$counter,\n/; print $line; $counter++; } else{ print $line; } }
Quote of the day
Tuesday, December 2nd, 2008“As economics is known as ‘the miserable science’, software engineering should be known as ‘the doomed discipline’, doomed because it cannot even approach its goal since its goal is self-contradictory. Software engineering presents itself as another worthy cause, but that is eyewash: if you carefully read its literature and analyse what its devotees actually do, you will discover that software engineering has accepted as its charter ‘How to program if you cannot’.”
– Edsger Dijkstra
Innuendo of the day
Tuesday, September 9th, 2008Normally, I don’t publicise this kind of thing, but this one is too good to keep to myself:
“Hey baby, do you want to explore black holes with my large particle accelerator?”
This is of course in reference to the start of the LHC experiments at CERN. If you try this as a pickup line, let me know how it went…
UPDATE:
This seems fitting, too:
I love MPI
Thursday, September 4th, 2008Using MPI, I’ve just managed to get a speedup of about 6 for protein structure searches on 8 CPUs without even thinking about optimizations. If that scales across multiple nodes, the SALAMI server might soon become fast enough for interactive use…
MPI in general, and the Perl Parallel::MPI::Simple module are pretty neat APIs. However, despite its name, MPI::Simple still follows the standard MPI API quite closely and is thus not as “simple” as it could be. For many applications, a process manager would already be sufficient. Such a module would create and manage a pool of worker processes and distribute tasks in a round robin fashion.
Both apple and the Qt library offer something similar for thread pools, so why not do the same for MPI processes?
Surely, many others before me have tackled embassasingly parallel tasks before. However, CPAN seems to offer nothing like this. Is such a module simply too trivial so that nobody has bothered publishing their code? Looking at CPAN in general, this doesn’t seem to have stopped folks in the past…
I’ll probably try to cook something up tomorrow.
Just one thing…
Thursday, June 19th, 2008Getting EC numbers for PDB-chains
Friday, March 7th, 2008If you ever need IUPAC Enzyme Classification numbers for larger numbers of protein structures, you can use the script below.
Just feed it a text file with one PDB-id and chain identifier per line as the first argument, and it spits out E.C. numbers for each chain. I don’t know what the pdb folks would say if you tried to grab E.C. no.s for the whole database, but getting a couple of hundred at a time should be fine. If you do pull down the ECs for every chain, I’d appreciate it if you made the list available and left a comment or dropped me a line as to where we can find it.
#!/usr/bin/perl
while($_ = <>){
my $id = $_;
#chomp($id);
$id =~ s/^\s+//;
$id =~ s/\s+$//;
my $chain = chop($id);
my $page = `curl -s http://www.rcsb.org/pdb/explore.do?structureId=$id`;
$page =~ m/Chains.*$chain.*\n.*EC no.*([0-9]+\.[0-9]+\.[0-9]+\.[0-9-]+)/;
my $ecno = $1;
$id = $_;
$id =~ s/^\s+//;
$id =~ s/\s+$//;
$id =~ s/\s+/ /g;
print "$id $ecno\n";
}
Enjoy!
A nation with goldfish syndrome
Friday, January 4th, 2008Less than a month ago, Germany was outraged because a suspected underage sex offender was being held in a turkish prison. There was a broad consensus in the media that this would be unthinkable in a modern western legal system.
Now, only weeks after that kid was bailed out, two young migrants beat up a pensioner in Munich, and suddenly the nation is calling for stricter laws, heavier punishment, and merciless prosecution of under age criminals. Certain right wing populists are changing their agendas based on this, and seem to be gaining ground on their opponents.
I can only come up with two possible explanations for this: The first one is that people partied so hard over the holidays that they’ve got collective amnesia. I’d like to think that’s the truth. However, I’ve got a feeling that I might be wrong.
I won’t even mention the second explanation, but I’m sure you know what it is. Right now, getting a biometric passport seems to be a small price to pay for the right to get outta here.










