Category: My life

Managing photos

I am still managing my photos based on directories named by date + event (e.g. “110515-person” contains photos from the person and taken today). I tried Shotwell, saw Picasa or iPhoto working but I was not really convinced. Maybe I like to be closer to the file structure (and it’s enough for my needs) and don’t like too much the idea of being dependent on a software and its internal database.

The only issue I faced is that I’m collecting photos from my camera and my phone: they both use different naming conventions. So when I look at my photos, I first have all the photos from my phone in chronological order then I am forced to go back to the beginning of the event and look at all the photos from my camera (again in chronological order).

The solution I applied is to take into account the EXIF tag concerning the date/time each photo was taken in order to rename the file accordingly. For that I use exiv2:

exiv2 -r'%Y%m%d-%H%M_:basename:' rename $(ls)

The result are names like: 20110515-1814_IMG_3704.JPG. This is easily sorted. Provided my phone and my camera date/time settings are approximately synchronised, it solves the issue mentioned before.

Now not all pictures are rotated. Most file managers and photo editing software take care of that and show you corrected photo if needed (Nautilus and Gimp do that at least). But some software do not take that into account (I think of Piwigo for instance). Here I use jhead with the following command:

jhead -ft -autorot *.JPG

Now in order to get some photos out of the computer,

  • I just use a regular USB key to give the photo shop and print some photos ;
  • I use a simple FTP client to upload some photos to our private photo gallery ;
  • I use Postr (previously mentioned here) to upload some photos to my Flickr gallery ;
  • I finally sometimes use the Picasa web interface to upload a few pictures there.

And you, how are you managing your photos?

P.S. By the way, I recently discovered a nice tip to transform all spaces in file names by underscores (or any other character):

rename ' ' '_' *

Today is *not* World Epilepsy Day

I continue in the serie of “World x Day” and for a reason still unknown even to myself, I thought today was the World Epilepsy Day (it’s in fact on March 26th, called Purple Day). But, anyway, epilepsy is “a common chronic neurological disorder characterized by seizures. […] Epilepsy is usually controlled, but cannot be cured with medication, although surgery may be considered in difficult cases.” (Wikipedia).

Out of curiosity, I was looking for mathematical models for the description of the epidemiology of epilepsy. But unfortunately, I couldn’t find anything. Probably because epilepsy is not an infectious disease for which tentative mathematical models have more predictive power (in terms of the population scale and time scale). The epidemiology of noninfectious diseases is primarily a study of risk factors associated with the chance of developing the disease. Nothing very fancy for a mathemarical model! 😉 (But if you find something, feel free to share! Thanks in advance!)

According to Wikipedia, the next World [Infectious Disease] Day is on APril 25th (malaria).

So today is just Valentine’s Day 🙂

World Cancer Day

It doesn’t seem jolly but last Friday, it was the World Cancer Day. About this, the WHO set up a nice website about cancer control.

Following my previous post on Jamie Oliver and the top 15 causes of death in the USA, I started to collect similar data from other countries. Linking this to cancers, the annual statistics on cancers in Belgium can be found on the Belgian Cancer Registry. The latest numbers are however from 2006. Here are the top 15 cancers in Belgium in 2006 (all sexes and regions mixed):

Rank Classification Cancer type Cases Remark
1. C50 Breast 9556  
2. C61 Prostate 9254 male only
3. C34 Bronchus and lung 6956  
4. C18 Colon 5233  
5. C44 Malignant neoplasms of skin 3110  
6. C20 Rectum 2264  
7. C67 Bladder 1986  
8. C82-85 Non-Hodgkin-lymphom 1925  
9. C43 Malignant melanoma of skin 1572  
10. C64 Kidney 1377  
11. C16 Stomach 1356  
12. C54 Corpus uteri 1320 female only
13. C25 Pancreas 1172  
14. C80 Unknown primary site 1168  
15. C15 Oesophagus 920  

It’s interesting to note a few things:

  • These figures represent cases of cancer and not deaths by cancer. Note also that prostate cancer is in third position but only concerns males.
  • The latests data is from 2006. The website doesn’t seem to be updated since 2008 (and 2008 seems to be the year when data from 2006 are available ; if we follow the 2-years-gap logic, I guess the data from 2009 are available somewhere but not on this website)
  • Data accessibility seems to be average. Data is there in Excel format (and PDF which is pretty useless if you want to reuse the data). On one side, these Excel files can be opened by almost every office suite. On the other side, some open format would have been preferred. And some direct interaction with the data on the website is now the norm (ok, I just wrote it doesn’t seem to be updated since 2008)
  • The classification is quite good since it uses the “Classification Internationale des Maladies” which is the “International Classification of Diseases” in English better known as ICD-10 (online).

The Joy of Stats

Here is yet another interesting video from Prof. Hans Rosling 🙂 From the video: “Believe me, there is nothing boring about statistics, especially not today when we can make the data seen”. For the rest, watch the video …

http://www.youtube-nocookie.com/v/oOOmqHzkkOo?fs=1&hl=en_US

Btw, it is also featuring David McCandless whose work was already shown here before. Re- 🙂

WikiRebels, the documentary

I just watched “WikiRebels – The Documentary”, a “rough-cut of first in-depth documentary on WikiLeaks and the people behind it” by the Swedish Television. It doesn’t show much new information but give a nice perspective on the past events.

http://svt.se/embededflash/2264028/play.swf

Note: this video is said to be available until January 16, 2011. It may not appear above after this date.

Jamie Oliver: Teach every child about food

In the latest TED Prize wish, Jamie Oliver, the “Naked Chef”, talks about teaching every child about food. His wish is:

I wish for your help to create a strong, sustainable movement to educate every child about food, inspire families to cook again and empower people everywhere to fight obesity.

Although I have a child and I’m obviously interested in his idea, I was also interested in the simple bar chart depicting the leading causes of death in the USA. In the tiny Flash video, the text is unfortunately barely legible and I was interested in knowing where he got his data from.

Leading causes of death in the USA from Jamie Oliver's TED talk

The answer is really easy: the leading causes of death in the USA are compiled every year by the (American) National Center for Health Statistics and the results are available on their FastStats website. So, for 2007 (the latest results at the time of writing), the 15 leading causes of death in the USA are (ordered by decreasing number of cases):

Rank Cause Number
1. Diseases of heart * 616,067
2. Malignant neoplasms (cancers) * 562,875
3. Cerebrovascular diseases * 135,952
4. Chronic lower respiratory diseases 127,924
5. Accidents (unintentional injuries) 123,706
6. Alzheimer’s disease 74,632
7. Diabetes mellitus * 71,382
8. Influenza and pneumonia 52,717
9. Nephritis, nephrotic syndrome and nephrosis 46,448
10. Septicemia 34,828
11. Intentional self-harm (suicide) 34,598
12. Chronic liver disease and cirrhosis 29,165
13. Essential hypertension and hypertensive renal disease 23,965
14. Parkinson’s disease 20,058
15. Assault (homicide) 18,361

The exact ICD-10 codes are in this report ; you can find their exact meaning here. Causes with an asterisk are related to food intake, according to Jamie Oliver.

Now you have the numbers, the origin of the data and the methodology used to collect these data. You can watch the presentation:

You’ll find a critique of Jamie Oliver’s talk by Presentation Zen.