Sunday 12 October 2008

Development improvement tools

Let me share with you the links to two tools that have been helping me a lot in my daily development tasks lately.
Both of them are available as Eclipse plugins, are free and they really help to improve the quality and efficiency of our developments.

1.- Enerjy:
This is a code analysis tool (similar to Findbugs, for instance) that helps to find bad practices in our code, improve our code standarization, find common errors, and so on.
It's really easy to use since it doesn't need the user to perform the code analysis operation manually; it just executes the task on every build we make, updating the warnings in our editor so that we can analyze the possible errors found and decide if we want to fix them or ignore them (by adding a special comment).
The tool is also easily configurable and provides help information about each warning it shows, explaining the causes of each possible code error.

2.-TPTP (Eclipse Test & Performance Tools Platform Project):
TPTP is basically a profiling tool that helps us improve our applications performance in relation to processing time and resources usage. This tool provides different kind of reports that are configurable so that we can filter the displayed information to our convinience. This helps to find weak points in our application if used correctly.

I recommend you to take a look at these tools since they're not hard to use and are really helpful
.


Spanish version...

Aquí les dejo dos links de herramientas que ultimamente me han resultado de gran utilidad en mis tareas diarias de desarrollo.
Ambas herramientas están disponibles como plugins para Eclipse, son free y realmente ayudan mucho a mejorar la calidad y eficiencia de nuestro código.

1.- Enerjy:
Es una herramienta de análisis de código (similar a Findbugs por ejemplo) que nos ayudará a encontrar malas prácticas en nuestro código, mejorar la estandarización del mismo, encontrar errores comunes, etc.
Es muy facil de usar ya que la herramienta no necesita que ejecutemos el analisis de codigo manualmente, sino que realiza esta tarea ante cada build que hacemos y actualiza los warnings en el editor del Eclipse. En funcion a los warning mostrados, podemos decidir si queremos arreglarlos o bien ignorarlos; esto ultimo se realiza agregando un comment especial en el codigo que evita que se muestre el warning.
Esta herramienta es facilmente configurable y brinda info de ayuda para cada warning que muestra, explicando las causas del posible error.

2.- TPTP (Eclipse Test & Performance Tools Platform Project):
Basicamente es un profiler que nos ayudará a mejorar la performance de nuestras aplicaciones en cuestiones de procesamiento y uso de recursos.
Esta herremienta provee distintos tipos de reportes que podemos filtrar de la manera que mas nos convenga. Asi podremos encontrar debilidades a nuestras aplicaciones analizando correctamente la informacion de los reportes.

Les recomiendo que le peguen un vistazo a estas herramientas ya que no son difíciles de utilizar y son de mucha ayuda.

Wednesday 8 October 2008

The distanced paper theory

During my attendance to Maths II course in college, proffesor Liliana Gallego (an excelent teacher by the way) taught us a good practice at an informal level for the analysis of problems or situations which she used to call "the distanced paper theory". Basicaly she observed that a very common behaviour amongst her pupils is to start solving a problem and lock up so much in them and it's numbers that end up losing the whole vision or the main global objective of the solution to be found. That's why, the practice consisted in stopping for a while with the resolution, take some distance from the paper where we're writting our equations and numbers and think if we're following the right steps to reach the solution of the problem.

Of course this practice is applicable in any situation, besides the resolution of mathematic problems. To stop and look where we're at and to verify that we're doing what's expected should be a constant in our tasks in any environment; however many times we let ourselves carried away by the inertia of our routine without stepping on the break.

This introduction came because, many times, we may want to apply the "distanced paper theory", and start thinking about our current position, but needs to establish certain criteria for this analysis.
What I want to describe in this post, is the set of parameters to be considered to analize the conformity situation in a job (always in an IT context) and, in that way, make easier or at least establish an order in this task.

1.- Projects
I believe that analizing the projects that are managed in the company where we work will let us establish, at least, two important things: First, decide if the project where we're working at is really intresting. Second, to analize the posibilities of changing projects keeping our current job if any other project seems intresting for our plans.

2.- Wages
Analize our wage in comparison with our job position in the market. High wages, or at least, at the market level could be motivating, but we should analize this considering the rest of our variables. In some cases, wages a little lower could be compensated with intresting projects or with promising job carreers.

3.- Environment
The job environment is of great importance to find ourselves satisfied with our job. If we're going to spend a third of our day at the office, at least we should look for feeling as comfortable as possible in that place.

4.- Carreer plan
I find of great reelavence to have a projection for the future of our proffesional growth. This vision will allow us to plan our future in an ordered way. The more vision we have, the better we'll be able to orginize our objectives and try to reach them. In this case we should take into account two factors: In the first place, to have a clear picture of where we want to go (or to start looking for it) and, second, analize if our current job gives us the posibility of getting through that path.
I think that this four items related are vital when making decisions related to our conformity with our current job, change possibilities or even possibilities of changing ourselves.

Author: Daniel Zuazaga
Translation (into english): tete (
Thank you very much)



Spanish version....

Durante la cursada de la materia "Análisis matemático II" en la universidad, la profesora Liliana Gallego (excelente profesora por cierto) nos enseñó una buena práctica a nivel informal para el análisis de problemas o de situaciones a la cual ella misma llamaba la "Teoría del papel alejado". Básicamente ella había observado que un comportamiento muy reiterado entre sus alumnos es el de comenzar a resolver los problemas y encerrarse tanto en ellos y sus cálculos que se pierde la visión o el objetivo a nivel global de la solución que se busca. Por esto, la práctica consisitía en hacer un alto en la resolución, alejarse del papel donde escribimos nuestras ecuaciones y cálculos y pensar si estamos realizando los pasos correctos para llegar a la solución del problema.
Claro que esta práctica es aplicable a cualquier situación, más allá de resoluciones matemáticas de problemas. Detener nuestra marcha para mirar dónde estamos parados y verificar que estamos haciendo lo esperado debería ser parte constante de nuestras tareas en cualquier ámbito; sin embargo muchas veces nos dejamos llevar por la "inercia" de nuestra rutina sin poner el pié sobre el freno.


Esta introducción venía en relación a que, muchas veces, uno quiere aplicar la "Teoría del papel alejado", y comienza a analizar su situación actual, pero necesita establecer criterios para ese análisis. Lo que quiero describir en éste post, es el conjunto de parámetros que tomaría en cuenta para analizar la situación conformismo en un empleo (siempre en el contexto de IT) y así facilitar o al menos establecer un orden en esta tarea.

1.- Proyectos
Creo que analizar los proyectos que se manejan en la empresa donde se trabaja nos permitirá al menos dos cosas importantes: Primero, decidir si el proyecto donde estamos trabajando nos resulta realmente interesante. En segundo lugar, analizar las posibilidades de cambio de proyecto manteniendo el empleo actual si algún otro proyecto tiene un atractivo para nuestros planes.

2.- Salario
Analizar nuestro salario en comparación con nuestro puesto laboral en el mercado actual. Salarios altos o al menos al nivel del mercado pueden resultar motivadores, pero esto debemos analizarlo conjuntamente con el resto de nuestras variables. En casos, salarios un poco más bajos pueden ser compensados por proyectos interesantes o bien planes de carrera prometedores.

3.- Ambiente
El clima laboral resulta importantísimo para encontrarse satisfecho con nuestro trabajo. Si vamos a estar un tercio del día en la oficina, al menos busquemos sentirnos lo más cómodos posible en ese lugar.

4.- Plan de carrera
Me parece importante tener una proyección a futuro sobre nuestro crecimiento. Esta visión nos permitirá planificar nuestro futuro de una manera ordenada. Mientras más visión tengamos, mejor nos podremos organizar para establecer nuestros objetivos e intentar alcanzarlos. En este caso debemos tener en cuenta dos factores: Primero, tener claro a dónde queremos llegar (o comenzar la búsqueda de ello) y segundo, analizar si nuestro empleo actual nos brinda la posibilidad de transitar un camino hacia ello.

Creo que estos cuatro factores interrelacionados son vitales a la hora de tomar decisiones relacionadas con nuestro conformismo con el empleo actual, posibilidades de cambios de empleo o bie n posibilidades de cambios internos.