2009-09-24

YAGNI principle - Principio YAGNI

YAGNI principle:

You Ain’t Gonna Need It. Never add an extension or access point –– be it a method, a field, a non-final class, etc.–– until you know you need it. This will improve your code’s robustness, thread safety, security, speed, and more.

Principio YAGNI.

No Vas A Necesitarlo. Nunca añadas una extensión o punto de acceso –– ya sea un método, un campo, una clase no-final, etc. –– hasta que sepas que lo necesitas. Este mejorará la robustez de tu código, seguridad en hilos, seguridad, rapidez y más.

2009-09-23

FindRepe 0.6.2

Version 0.6.2 of FindRepe adds support for install options in Mac OS X, and --install-posix option to support installation in unknown posix operating systems.

-Download findrepe-0.6.2.zip

-Decompress it using the command

unzip findrepe-0.6.2.zip


-Install the launcher with one of the following commands

java -jar findrepe-0.6.2/FindRepe.jar --install

java -jar findrepe-0.6.2/FindRepe.jar --install-home

sudo java -jar findrepe-0.6.2/FindRepe.jar --install-home=/opt/jdk1.6


-Play and enjoy it with

Windows users:

findrepe c:\ e:\


GNU/Linux, OpenSolaris and any other unix flavor users:

findrepe /backup/mp3 /backup/src


P.S.: thanks to andunix for feedback :-)

2009-09-18

"Some Java Concurrency Tips" by Carol McDonald

Here you can read a brief review of some concurrency tips by Carol McDonald


  • Prefer immutable objects/data
  • Hold Locks for as short a time as possible
  • Prefer executors and tasks to threads
  • Prefer Concurrency utilities to wait and notify
  • Producer Consumer Pattern
  • Synchronizers
  • Multithreaded Lazy Initialization is tricky...
  • ...Prefer Normal initialization

2009-09-16

Ana Rosa Hello Kitty

El vídeo censurado de G-20, bueno no se si será marquetin viral o no, pero aquí está de todas formas



tampoco es para tanto ¿no?

2009-09-11

SUN CUSTOMERS Oracle Plans To

desde fetishcode leo lo siguiente





ahora a ver si cuentan algo de java