Too Cool for Internet Explorer


Swobodin's Profile | Swobodin's Blog | Back to Fedora Tunisia

SELECT happiness FROM world;

I have found an interesting post in Hannibal’s blog (not Lecter, Barca himself) about happiness in the world; there was a link to the World Map happiness, according to a British psychologist.
The page, however, only shows countries classified by their alphabetic order, and not happiness rank. Lazy as I am, I did a quick and dirty Perl script to insert the data into an sqlite 3 database, so that I can rank them according to any criteria. I don’t know how did the researcher proceed, there are some paradoxes: Bhutan came in the 8th place, outpassing Norway, New Zealand, Belgium, … and of course, the United States!
Here is the gzip compressed SQLite3 database, and here’s the compressed query text.
Don’t worry … Be happy …

Related posts

(sometimes, the plugin foolishes)
Reaching happiness
Week-end’s discoveries: W3C Slidy rocks, SQLite sucks
SQLite to HTML
aid_mabruk.c
Log2SQLite 0.1

Technorati tags

2 Responses to “SELECT happiness FROM world;”

  1. toon-c Says:

    How can open your file ; view the results ?

  2. Swobodin Says:

    you need to download sqlite3 (not 2!!), uncompress happiness.sqlite3.gz and run in commandline (both unix and dos)
    sqlite3 happiness.sqlite3
    then make your query
    SELECT * FROM happiness
    Speak happiness …

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

 
 

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 5 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a


Top Tunisie Blogs