Duuude…

…where’s my blog?

 

Just one thing… June 19, 2008

Filed under: Uncategorized — Tommy @ 5:46 pm


View Larger Map

 
 

Getting EC numbers for PDB-chains March 7, 2008

Filed under: Uncategorized — Tommy @ 2:57 pm

If 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!

 
 

Be your own Valentine February 16, 2008

Filed under: Uncategorized — Tommy @ 8:57 pm

Thomas Thurman wrote today:
“My team lead was told “Be your own Valentine!” which sounds like a polite way of saying something else.”

That quote has got to be by far the best thing that came out of any Valentine’s day ever since some corporate twat invented it.

 
 

got my N810 January 15, 2008

Filed under: Uncategorized — Tommy @ 6:02 pm

last friday, the Nokia N810 from the maemo developer program arrived. I didn’t get a chance to do much more than charge it before I had to leave for Potsdam. On the way there, the Maps application already proved to be useful for finding a place to eat. It didn’t prevent us from missing an exit on the motorway, but it was a great help when recovering from those errors.

The performance of the device, especially the POI search, and acquiring a lock on the satelites was awful, and installing aditional applications such as skype didn’t work with the original firmware version. After updating the device to the latest firmware however, it worked quite nicely.

The hardware is tremendously slick and feels extremely solid. The only slight criticism is the keys on the slideout keyboard: The keys are slightly dome-shaped, and that, combined with their smooth surface means that my fingers ocasionally slip onto neighboring keys when typing. The backlight on the keyboard is fantastic though. The screen is also pretty stunning and the touchscreen works quite well, as long as I don’t use my fat fingers on it.

Quite easily the best thing about the device however is the contributed 3rd party applications like skype, canola, quiver, doom, scummvm and others. Quiver is an image viewer with lots of little touches like kinetic scrolling that make it rival or even surpass what’s available on the iPhone. Canola is a nice integrated “pocket media center” type app with a great thumb friendly fullscreen UI. More about different apps when I’ve had a chance to try them out.

I can’t wait to get access to the campus WLAN with the N810. With network access in different places around town, this thing could really begin to shine. More news as it happens…

 
 

A nation with goldfish syndrome January 4, 2008

Filed under: Uncategorized — Tommy @ 7:16 pm

Less 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.

 
 

Angry Coding December 15, 2007

Filed under: Uncategorized — Tommy @ 5:25 pm

Recently, it occurred to me that I’m most productive when I’m mad about something. Somehow, I need a certain amount of anger and frustration in my life to drive me away from the distractions of the world. And there’s lots of things to be angry about in today’s world. I feel another hacking spree coming on. GPU assisted protein structure alignments aren’t far off now. And of course there’s always the wiimote projects and avogadro on the TODO list. And the N810 might be available soon.

This could be good…

 
 

I’d like to buy the world a beer… November 28, 2007

Filed under: Uncategorized — Tommy @ 1:02 pm

I finally signed my contract yesterday, and thus I officially have a job starting Dec. 1st. However, beers will have to wait until I have gotten my first paycheck.

 
 

wheeee! N810! November 13, 2007

Filed under: Uncategorized — Tommy @ 2:29 pm

amazingly, I was given a discount code for a Nokia N810. Given the amount of rockstar hackers who missed out on one, my proposal must have created great expectations. -So I’d like to say thank you Nokia, I’ll do my best to live up to those expectations.

 
 

Almost famous… November 8, 2007

Filed under: Uncategorized — Tommy @ 3:33 pm

Imagine my surprise when I saw my name on planetkde.org last night. Marcus Hanwell picked up a couple of my suggestions and implemented a protein ribbon view in Avogadro. It looks pretty stunning, so make sure you check it out. I’ll be diving into the source code myself this weekend looking for ways I can help out.
-Programmable shaders maybe. Or a SALAMI plugin…
I’m open for suggestions.

 
 

A few things October 15, 2007

Filed under: Uncategorized — Tommy @ 3:09 pm

I am no longer looking for a job. That doesn’t mean that I’m no longer interested in job offers, but they’ll have to be pretty damn interesting for me to consider them. -So no unpaid internships for me.

I am however looking for a place to live in Hamburg. -So if you know anyone with a spare room, or an empty flat, please let me know.

And finally, this blog is the top hit for “molecule porn” at google. -And that query is my biggest source of traffic. Who are you people, and do I want to know what you were expecting to find here?
Also, should I feel sleazy, or should i get a t-shirt that reads “molecular pornstar” and wear it proudly at every occasion?