May 31st, 2008 by Boogie
I broke my car door handle. Being an old car I barely found a replacement handle. The guy who sold it to me wasn’t in the mood of changing it also.
So I had to do it. Basically all you need is a screwdriver star shaped and some free time( up to half an hour).
Take all the screws out in order to be able to move the door internal panel. You do not need to remove the window opener, which I guess is more complicated. Also you will need to remove some internal screws, but with care you can make it, no other tools are needed!
Posted in Uncategorized | No Comments »
April 20th, 2008 by Boogie
Continuing going through the chapter 5 from the SCJP book, I find :
int[] a = {1,2,3};
for (int n : a)
out.println(“next element: “ + n);
int[][] a2 = {{1},{1,2},{3}};
for (int[] n : a2)
out.println(“next element: “ + n);
for (int n : a2[1])
out.println(“next element: “ + n);
for (Object n : a2)out.println(“next element: “ + n);
- Break and Continue statements
//labl1: int a = 1;// does not compile
int a;
labl1: a = 1;// OK, you can label this instruction
for (int i=1;i < 5; i++){
//break labl1;// does not compile
}
LblOuter:
for (int i=1;i < 5; i++){
LblInner:
for (int j=1;j < 5; j++){
if (((i+j)%6) == 0){
out.println(“Breaking out of LblOuter”);break LblOuter;
}
if (((i+j)%3) == 0){
out.println(“Breaking out of LblInner”);break LblInner;
}
out.println(“Going to the next iteration of LblInner”);
continue LblInner;
}
}
Posted in Uncategorized | No Comments »
December 22nd, 2007 by Boogie

Much has been said about the benefits of traveling.
I often see tourists who preffer spending all their time taking pictures of some stones or whatever buildings and not at all getting to know the local culture.
I think it’s very important to dive in the culture of the country where you travel. That is where the real mind expanding experiences come from. When you get to see how other people think and act, that will be of more gain than any fancy cruise on a 5 star ship where you only get to take pictures.
Posted in Uncategorized | No Comments »