Archive for the ‘Programming’ Category

HTML/CSS: Nice Boxes Around Your Elements

Thursday, January 12th, 2012

Nice examples for boxes around HTML elements here.

PHP: Print Array in Readable Format

Friday, October 7th, 2011

echo '

echo '


Extract from PDF

Tuesday, September 20th, 2011

Able2Extract and Able2Extract Professional deliver PDF conversion to formatted Excel spreadsheets and more, including PDF to editable Word documents, PDF to PowerPoint (PPT), PDF to Publisher (PUB), PDF to Autocad, PDF to Open Office documents, PDF to HTML, PDF to Text, HTML to Excel, and Text to Excel.

Postgis: Convert X,Y Points into Geometries

Monday, March 28th, 2011

Easy way to convert x/y (or latitude/longitude) tables into postgis geometries: update cities set the_geom = ST_MakePoint(city_latitude, city_longitude);

How Much CO2 Is Created By…

Tuesday, January 18th, 2011

Every action, every event, every person, everything emits a certain amount of carbon. This interactive visualization examines some of those scenarios. Play around to learn some interesting and surprising information about how much carbon is released during various activities.

Check Website From Outside Your Network

Tuesday, December 14th, 2010

Use ProxyFi

Political Climate

Tuesday, November 2nd, 2010

What the population cares about is changing each election, and differences between conservatives and democrats are clearly visible.

Citation Strength

Tuesday, October 5th, 2010

This visualization gives an overview of the whole citation network. The colors represent the four main groups of journals, which are further subdivided into fields in the outer ring. The segments of the inner ring represent the individual journals, scaled by Eigenfactorâ„¢ Score. In the initial view, the top 1000 citation links are plotted. Line size and opacity represents connection strength.

Map Your Moves

Tuesday, October 5th, 2010

Nice visualization of people moving from one place to another.

Statistical Mapping

Friday, October 1st, 2010

Nice Web GIS application from the swiss government.

Data Converter

Tuesday, September 7th, 2010

Takes CSV or tab-delimited data from Excel and converts it into several web-friendly formats, include JSON and XML.


Thursday, August 26th, 2010

Great script (in CSS and Javascript) which makes it really easy to display boxplots on a website. Great!

Debugging AJAX

Monday, August 16th, 2010

Need to debug AJAX? Beside some tips I found on the Net, here is one I found particularly useful, at least in my current case. Just use a

tail -f /private/var/log/apache2/access_log


tail -f /private/var/log/apache2/error_log

which displays the latest log entries… which can help to solve some major issues.

Export to Mapserver

Tuesday, August 3rd, 2010

Gix, this extension helps GIS developers to migrate ESRI ArcView projects to the most popular Free and Open Source alternatives for Geographic Information Systems (GIS).

Interactive Map

Tuesday, August 3rd, 2010

Like that one. Lightweight, easy, supply of additional information by mouseover. Really neat.


Tuesday, July 27th, 2010

Nice mapserver, enabling vector display as well. Based on GeoExt.

Public Data and theirs Mashups

Thursday, March 18th, 2010

Datamob highlights the connection between public data sources and the interfaces people are building for them.

TED: Gary Flake: is Pivot a turning point for web exploration?

Thursday, March 4th, 2010

PHP: Significant Numbers

Monday, December 28th, 2009

… and another one ….

Works on negative numbers too. $sigdigs should be >= 0

= 1) {
$number /= 10;
$multiplier *= 10;
return round($number, $sigdigs) * $multiplier;

PHP: Change Units

Monday, December 28th, 2009

Outputs a human readable number.

1000000000000) return round(($n/1000000000000),1).' trillion';
    else if($n>1000000000) return round(($n/1000000000),1).' billion';
    else if($n>1000000) return round(($n/1000000),1).' million';
    else if($n>1000) return round(($n/1000),1).' thousand';

    return number_format($n);


247,704,360 -> 247.7 million
866,965,260,000 -> 867 billion