Archive for the ‘Programming’ category

MATLAB R2008b is out!

ottobre 11, 2008

Yesterday Mathworks released the ultimate version of the widely used Matlab. Unfortunately the R2008b release doesn’t seem to provide major updates neither in the bioinformatics nor in the systems biology toolbox (where, in particular, support to critical points of SBML is still missing). I’ll wait for the new version in the lab and I’ll let you know the first impressions on that…even though the outlook doesn’t seem to be too encouraging!


Matlab R2008a is out

marzo 1, 2008

Mathworks has released today the latest version of its most famous software package, namely MATLAB R2008a (v 7.6). You can find it here. The feeling is that this release includes very few major updates (Mathworks lists 5 major updates, among the others the Optimization and Neural Networks Toolboxes have been changed).  It seems that this time the upgrade should not be compulsory!

Python 2.5.2 is out

febbraio 25, 2008

The latest version of Python is out and ready to be put on the road. This is one of the main releases waited for in the field of bioinformatics. Anyway we are still waiting for the 3.0 rel!

You can download the new version here.

Unified Medical Language System

ottobre 20, 2007

In the last years there has been a huge effort made by the computer scientists toward the transition from machine representable contents to machine understandable concepts. The medical field is probably among the areas in which this transition had the most interesting results (and still has its most promising horizons). The UMLS is a first step in this direction and has been developed in order to facilitate the development of computer systems that behave as if they “understand” the meaning of the language of biomedicine and health. You can find webcasts of this resource supported by NIH at and you can sign-up for the upcoming events at

Should we start to think at virtual physicians for our sons?

Creare uno splash screen in Java

maggio 8, 2007

Ecco una classe per la creazione di uno splash screen.

import java.awt.*;
import javax.swing.*;

public class SplashScreen extends JWindow {

private int duration;

public SplashScreen(int d) {
duration = d;

// A simple little method to show a title screen in the center
// of the screen for the amount of time given in the constructor
public void showSplash() {

JPanel content = (JPanel)getContentPane();

// Set the window's bounds, centering the window
int width = 450;
int height =115;
Dimension screen = Toolkit.getDefaultToolkit().getScreenSize();
int x = (screen.width-width)/2;
int y = (screen.height-height)/2;

// Build the splash screen
JLabel label = new JLabel(new ImageIcon("java-tip.gif"));
JLabel copyrt = new JLabel
("Copyright 2002, O'Reilly & Associates", JLabel.CENTER);
copyrt.setFont(new Font("Sans-Serif", Font.BOLD, 12));
content.add(label, BorderLayout.CENTER);
content.add(copyrt, BorderLayout.SOUTH);
Color oraRed = new Color(156, 20, 20, 255);
content.setBorder(BorderFactory.createLineBorder(oraRed, 10));

// Display it

// Wait a little while, maybe while loading resources
try { Thread.sleep(duration); } catch (Exception e) {}



public void showSplashAndExit() {



public static void main(String[] args) {

// Throw a nice little title page up on the screen first
SplashScreen splash = new SplashScreen(10000);

// Normally, we'd call splash.showSplash() and get on
// with the program. But, since this is only a test...