Archive for November, 2007

PEAR Install

Thursday, November 22nd, 2007

Don’t know nothing about PEAR. But the PEAR Spreadsheet Excel Writer looks like a nice tool. I found here that I am supposed to type in these commands:

$ pear install OLE
$ pear install Spreadsheet_Excel_Writer

which didn’t work, because both packages are “not stable”, but only beta. So another search led me to these commands:

$ pear config-set preferred_state beta
$ pear install OLE
$ pear install Spreadsheet_Excel_Writer
$ pear config-set preferred_state stable

and it worked!

PostGres: Verify if Table Exists

Wednesday, November 21st, 2007

If you need to verify if a table exists in your postgres database, then you could use this code:

db_query("SELECT exists( select * from pg_tables where tablename='xxx' and schemaname='public')");
if ($row['?column?'] == "t")
$result_glob = pg_query("SELECT * from xxx");
$flag_glob_exists = TRUE;

OpenSmile: The Virtual Office

Tuesday, November 20th, 2007

OpenSmileInteresting “website“: it’s actually a platform where one can access a couple of software packages, alike Photoshop, Firefox, iChat etc… But you only need a browser for all of it. That’s really what I think Web 2.0 and the future will more and more look like…

Beginner’s Mind

Monday, November 19th, 2007

Beginner’s Mind

I am only a child

Monday, November 19th, 2007

Wonderful speech of a young kid at Rio’s UN Earth Summit 1992.

Virtual Water

Friday, November 16th, 2007

Virtual WaterVirtualWater: Water is probably one of the most precious resources and vital for everyone’s everyday life. In spite of this obvious fact, people use large amounts of water: drinking, cooking and washing, but even more for producing things such as food, paper, cotton clothes, etc.


Friday, November 16th, 2007

VisualizationsMany Eyes is a bet on the power of human visual intelligence to find patterns. Our goal is to “democratize” visualization and to enable a new social kind of data analysis. Jump right to our visualizations now, take a tour, or read on for a leisurely explanation of the project.

Highest CO2 Emitting Power Plants in the World

Friday, November 16th, 2007

Highest CO2 Emitting Power Plants in the WorldCARMA provides the world’s most detailed and comprehensive information on carbon emissions resulting from the production of electricity. Power sector emissions make up 25% of the global total, 40% of carbon emissions in the United States, and are a primary cause of global warming.

Geo-engineering to slow global warming: David Keith on

Wednesday, November 14th, 2007

Environmental scientist David Keith talks about a cheap, effective, shocking solution to climate change: What if we injected a huge cloud of particles into the atmosphere, to deflect sunlight and heat? As an emergency measure to slow a melting ice cap, it could work. Keith discusses why geo-engineering like this is a good idea, why it’s a terrible one — and who, despite the cost, might be tempted to use it.