How to fail your deadline? – Starting learning MySQL thinking you can master it in one day!

[#### 1. How to fail your deadline? – Starting learning MySQL thinking you can master it in one day!]

Recently, I touched upon MySQL because I wanted it to be the backend for my incoming Django-based data browser. After 4 days of prolonged fiddling I finally manage to make some notes of its functionality. It is very fast, but equally importantly, very different from Python! The other lesson is that one should allocate enough time for learning when starting a new language (depending on [single linkage distance](https://en.wikipedia.org/wiki/Single-linkage_clustering))

Today’s blog will go through:
1. Loading a table into MySQL, be it fixed-width or regularly delimited.
2. Create relations between entries.
3. How to deal with errors, and fix your relationship:

Continue reading “How to fail your deadline? – Starting learning MySQL thinking you can master it in one day!”

How to make RasMol work on Mac OS

Due to some unhappy events I had to switch to a MacBook recently. This lead to a very interesting adventure in the new world of Mac OS.

The main goal was to have RasMol and rasscripts set up in a way that will open the DomChop .rasscript file with one click.

Installing RasMol itself required some knowledge of command line, however since Mac OS is Unix-based it was not too hard.

First I had to download the RasWin binaries from the official website.

Continue reading “How to make RasMol work on Mac OS”

Quick guide to collaborative development of scientific code

As summer students in the Orengo group we will be working together on a set of projects related to the CATH database and collaboration is key to ensuring the success of our projects.

First step towards good collaboration is defining a set of rules that everyone should adhere to. This could facilitate the process of code review and minimize the time spent writing code by making the code reusable.

Write code for people, not just for computers.

Continue reading “Quick guide to collaborative development of scientific code”