Tuesday, October 31, 2006

New blog startted

Well, finally I decided to start a new blog about my actual project: the Baloon project.

Edgy upgrade problem

Unfortunately I sufer the same problem as this:
http://element14.wordpress.com/2006/10/27/ubuntu-edgy-upgrades-a-disaster-for-many/

In my case, I have an Pentium D machine with EMT-64. Because this I download the 64 version of Ubuntu. I have experienced problems on the bootsplash screen and my glassfish run very slow.

Finally I installed the 32 bit desktop (i386) version and all is right. I'm not getting all the power of the processor but it works right and glassfish runs quickly.

Saturday, October 21, 2006

Open Clip Art Library

There is no much to say. Open Clip Art Library is simply another open jewel :)
Remember you can download the entery clipart library in a simple compressed file (be worry with its size).

Friday, October 06, 2006

Glassfish and PostgreSQL problems

If you are working with Glassfish v1_ur1_b14, PostgreSQL and NetBeans 5.5 probably you had experienced some dificulties with entity class.

(1) you develop the code.
(2) you compile and build your code (an .ear or .war file)
(3) you can't deploy your application :(, Glassfish says you there is an error (with a null desciption) but if you chech your app with the verifier utility it is right.

Well, here are acouple of links describing the problem (related with the @GeneratedValue annotation) and describing a solution:

Monday, October 02, 2006

El nombre de la rosa - Umberto Eco

No hay palabras.

Simplemente cuando lees un libro de estos, escrito por un “mostro” de esas caracteristicas te paras, te miras a ti mismo :) y te dices: !Joder, no tengo ni puta idea de nada, no tengo na de cultura, soy un inkulticio!.

Creo que podeis deducir que este libro me encanto.

La trama es un “thriller” policiaco (guau esto me ha quedado tope de profesinal) pero que sucede en la edad media en una abadia de Italia.

La historia es super original y engancha mucho porque sabe mantener el misterio. Aunque lo realmente alucinante es el ambiente que crea el tal Umberto. Describe la forma de vida, de pensar y de vivir de la gente de aquel tiempo, una de las epocas mas oscuras de la historia. Los complots de la iglesia y los emperadores y reyes de la epoca, la inquisicion, las miserias de la gente, las vestimentas, todo. Ese puto cabron es una autentica maquina. Se ha empapado de todo hasta la medula y ademas escribe de una forma que muchos quisieran tener (por ejemplo yo :).

Domina el lenguaje de sobra, palabras de esas que nunca has oido y que si te las dijera un giri le pegarias por si a caso. Metaforas y recursos linguisticos a punta pala (vaya!!! como yo).

Bueno, no os preocupeis si habeis visto la pelica (que por cierto es bastante fiel al libro) por que si lo leeis sera uno de vuestros preferidos.

Y punto, no hay mas que decir.

DUNE - Frank Herbert

No hay mucho que decir de este libro. Si eres un amante de la ciencia ficcion DUNE, de Frank Herbert, debe estar en tu lista de libros predilectos.

Tras el existo de DUNE, el autor siguio escribiendo una larga saga de libros: El mesias de DUNE, Hijos de DUNE, Dios emperador de DUNE, Herejes de DUNE, Casa Capitular.

Aunque el autor comenta que cuando saco a la venta DUNE, realmente lo habia concebido como una trilogia (DUNE + El mesias de DUNE + Hijos de DUNE).

Personalmente, la primera parte (DUNE) es la mejor, aunque la segunda tambien me gusto mucho. El resto me las lei por puro vicio, ya que el universo que se monta el colega Herbert es muy… alucinante.

DUNE no es el tipico libro de ciencia ficcion rollo pistola laser, nave espacial e invasores intergalacticos. El hombre se lo ha currado un poco mas. Herbert narra de una forma que engancha. Mezcla politica, religión, superticiones, presciencia (conocimiento del futuro) y drogras. Figuras como la Bene Gesserit, los Tleilaxu y los Gholas.

Lo cierto es que estoy convencido que de joven Frank Herbert se metia mucho LSD, porque la forma que tiene de contar las sensaciones de los personajes es acojonante. La idea de poder predecir el futuro y la forma de describirla como un mar de hilos.

En resumen, DUNE es un libro que no decepciona. Al que le guste el rollo “poderes mentales” que no se lo pierda.

Wednesday, September 27, 2006

Seventh son

Only the good die young
All the evil seem to live forever

Iron Maiden - Seventh Son Of A Seventh Son (1988)

Some links:

The hell of NodeList

Probably a more better title could be “The hell of NodeList and a bad boy that doesn’t read the documentation” (with Java 1.5).
Yes, this little thing (reading documentation) is a very good thing if you want to have headaches working with NodeLists.
The summary of this painful lesson is:

  • If you work with an XML document you must remember that:

    The NodeList interface provides the abstraction of an ordered collection of nodes, without defining or constraining how this collection is implemented. NodeList objects in the DOM are live. (http://java.sun.com/j2se/1.5.0/docs/api/org/w3c/dom/NodeList.html)

    that is, if you change or remove nodes, your changing and removing directly to the document.

  • But if you work with XPath to evaluate expression and get node references, you must remeber it uses Xalan and the NodeSet class implements the NodeList interface and:

    Note that we directly implement the DOM’s NodeIterator interface. We do not emulate all the behavior of the standard NodeIterator. In particular, we do not guarantee to present a “live view” of the document

    (http://xml.apache.org/xalan-j/apidocs/org/apache/xpath/NodeSet.html)

This means not is the same a NodeList returnes by a getChildNodes() than a NodeList returned by an xpath evaluate() method.

Monday, September 25, 2006

I don't know

Perhaps the most common and greatest thought never thought in the history. Good, ugly or bad, thanks to it, the world has changed a long to the years becoming what it is know.