Sunday, July 27, 2008

Eastwood Charts

Today, via Dave Gilbert's blog, I know the existence of Eastwood Charts.

If you know about Google Chart API, Eastwood are the same thing but based in the powerful JFreeChart library. Here is a comparison.



The interesting part of Eastwood is it can be used as a servlet installed on your own server and thus you don't need to send your data to Google.

Remove too much files...

Sometimes (in Linux) if you try to delete all files in a directory (that contains a lot files) you get an:

> rm -rf * 
Argument list too long

Via DZone I found this tip to avoid this problem. Basically it used find command to get the list of interested files and remove it one by one.

Friday, July 18, 2008

JAXB for KML

Yesterday, I take a look at KML 2.2 specification.
To avoid create a million of classes to parse XML (KML) documents I put on my hands JAXB. After a while to resolve a duplicate element name (due to case insensitive in JAXB), finally I get a bunch of classes representing the KML element types.

After a couple of little test it seems is all right and now I need to spend some time (that I haven't) to integrate KML2.2 support into Balloon ;)

Thursday, July 17, 2008

Design Patterns

Today I would like to point to this post Design Patterns - Command Pattern.
Via DZone I can see David Cumps is written a series of post about design patterns.
Very interesting for all programmers.

Thursday, July 10, 2008

Quote

Everyone is as God has made him, and oftentimes a great deal worse.
Miguel de Cervantes
Spanish adventurer, author, & poet (1547 - 1616)