This is a chorreo

May 2nd, 2009 2 comments

Chorreo Madrid Barcelona

Essential Java resources

January 27th, 2009 0 comments

Ted Neward, a consultant with ThoughtWorks and the principal of Neward & Associates, has published a list of libraries, tools and other resources – such as books, conferences or weblogs – any up-and-coming Java developer should have. The Java platform will be celebrating its 14th birthday soon, and it’s time to revise the story of one of most extended languages.

Java Coffee

Link | Essential Java resources

PHP.JS, PHP functions in Javascript

January 10th, 2009 4 comments

PHP.JSPHP.JS is a project with the purpose of porting standard PHP functions over to Javascript. The project was taken up by Kevin van Zonneveld, a dutch developer who had developed a small JS library of PHP functions for his job. Kevin shared the library on his blog and came into Open Source. Then many developers made contributions with new PHP functions written in JS and this is how the spark caught flame.

It offers added functionality on top of JS with functions like md5(), file_get_contents(), and utf8_encode().

Official site | PHP.JS

Disclaimer: I’ve contributed to the project with a couple of functions

Bash tricks

January 10th, 2009 0 comments
th3j0ker@alexandra:~$ echo hello
hello
th3j0ker@alexandra:~$ ^hello^bye^
echo bye
bye

PHP: GOTO considered harmful

January 10th, 2009 4 comments

Spaghetti

New syntax features have been included in the upcoming version of PHP. Now it’s possible to use new stuff like NOWDOC, the ternary short cut ?: or the controversial reserved word GOTO. This statement has been the target of many debates as it completely breaks the structural programming advantages.

In March 1968, the famous Edsger Dijkstra’s letter called Go To Statement Considered Harmful (PDF) was published. In this letter, Dijkstra criticized the excessive use of the GOTO statement in programming languages of the day.

According to what I have read, the PHP GOTO can only move us within the same execution unit and it’s not possible to jump into loops.

GOTO

TwitterContacts

November 17th, 2008 2 comments

TwitterContacts

TwitterContacts is just a simple application that I built in a few nights. It’s purpose is to provide an option to check out which of the people who you are following on Twitter are not following you. Simple, clear, easy and all-in-one-page.

Someone asked me about the real value contributed by this application. Apart from the purpose, I think the real value is that you can get the code here (GPL). Anyway, doing this was just a pastime.

2008, un año más

November 17th, 2008 0 comments

2008

Como todos los años, 2008 ha sido un año singular. Un año en el que los que se supone que saben ganan a los que sin duda no saben. Para muchos, 2008 será recordado como el año en el que se demostró que los ricos también lloran.

Para otros sin embargo, ha sido el año donde perdieron a su padre, a su hija o a su mejor amigo. Ha sido el año en el que durante unos días el pan no llegaba a nuestras casas.

2008 ha sido el año en el que se cumplió un sueño donde las personas no son juzgadas por el color de su piel sino por su caracter. El sueño de la esperanza, el sueño americano.

Ha sido el año en el que algunos volvieron a saborear la libertad, y otros perdieron la libertad que nunca debían de haber tenido.

Para los más deportistas, este año quedará en sus corazones como el año en el que dijimos: “sí, podemos” y pudimos. Y como ocurre todos los años, siempre mueren los buenos de las películas.

2008 también ha sido el año en el que la ciencia progresa a pasos agigantados y los gigantes no entienden de crisis. Ha sido el año de la esperanza, donde las comunidades libres avanzan, y con ellas avanzamos todos.

2008 ha sido un año más.


Atrápalo Votar Ver otros participantes

Visualization of a Phing buildfile

October 30th, 2008 0 comments

Raphael Stolt published a method to get a visualization of a Phing buildfile a few days ago:

Out of the box the Phing -l option can be used to get a first overview of all available targets in a given buildfile but it doesn’t untangle the target dependencies and sometimes a picture is still worth a thousand words. Luckily the Ant community already provides several tools to accomplish the visualization of Ant buildfiles, reaching from solutions that apply a Xslt stylesheet upon a given buildfile.

He uses the ant2dot tool and the Graphiz library to show the XML from a buildfile into a graphic. The image represents the flow of the build.

Phing

Via | Raphael Stolt

Webgrind: A web frontend for Xdebug

October 17th, 2008 0 comments

Webgrind is a web frontend for the popular Xdebug. Written by Joakim Nygård and Jacob Oettinger, Webgrind parses the Xdebug output and shows it on a dropdown table.

It doesn’t make such a big job, but it’s nice to see the result on a clean interface. The last release is 0.81, and you can get it from Google Code.

Webgrind

Rasmus, Think again!

October 15th, 2008 0 comments

I would like to share with you my friend Arno’s slides. He expounded this presentation during the last PHP Conference in Barcelona. He gave a speech on the usage of frameworks and software components in order to build PHP applications.

The famous Rasmus Lerdorf’s dixit is shown up in these slides, via some amusing examples: Frameworks are performing poorly. Arno prooves this statement using a Hello World application, and yes, Rasmus is right and framework performances suck for Hello Word applications.