JuanLu's blog


Flickr was born again

Posted in Uncategorized by JuanLu on the 26/01/2009

It’s being time since I uploaded my last photo into flickr but after buy a pro account a couple of months ago and having done so many photos, finally I and feeding my account again with new photos.

Yesterday I started with 2 new sets.

  • Porto, where I have uploaded some photos that I didn’t put on facebook due that I think that this 2 platforms are for different purposes.

  • The second one is Oslo, this time in winter all snowy and white. I know that summer ones are not either there, but time to time I have a delay in this aspect that.

Apart from that, now that I have the uploader tool installed in my notebook it is going to be easier to upload photos directly from my computer to the gallery, due that it allows you to create sets, add tags, remove them… So it makes our lives easier on the managenment . I will be uploading photos untill I stay up to date. However, as I have been traveling quite a lot in the last few months I have to say that it will take long to finish that work.

Just to finish I want to invite you to have a look to the gallery and feel free to criticise the work done to imporove more and more my photography.

Maradona no es el único que engaña

Posted in Uncategorized by JuanLu on the 04/12/2008

Beuno, acabo de ver esto en Marca y no es que sea la mejor historia del mundo, xo a este tio yo le daba un oscar a la mejor interpretación por engañar a 3 personas (dos linieres y un árbitro) quizás tambien deba ir a las olimpiadas en la disciplina de salto, porque se le da bastante bien la cosa.

Mirar el vídeo y recordar, esto no lo hagais en casa.

Luego nos quejábamos del España – Corea que estaba mal arbitrado.

Showing data contained into a XML Element

Posted in proyectos by JuanLu on the 20/11/2008
Tags: , ,

The other day I had an small issue trying to show the data contained into a DOM element, due that I was targeting a null value, because of the way that Node and Element are managed.

Let’s go to the beginning. What I had was a hole Document store in a variable, from that document I got a NodeList of Elements (in this case as it is a NodeList they are Node) that have this aspect, a normal element with data inside:

<c:customer xmlns:c=”http://engage.bt.com/customer”>
<c:id>1</c:id>
<c:name>John</c:name>
<c:lastname>Smith</c:lastname>
<c:department>Finance</c:department>
</c:customer>

I wanted to take the values that the child within this Node have, but they way that the type Node is manages doesn’t allow you to get the children of this element and get the node value that is inside a child such as <c:id>, for instance, because you end up getting the null point that I commented as my problem.

So here it comes the trick, what you have to do is cast the Node (the one shown above) into an Element.

Element customerElement = (Element)customersList.item(i);

Once you have this done, you have to get the Elements within the father by using the function getElementsByTagName(String tagName) , where you will get again a NodeList of elements with the tag name that you say. So now we only have this: <c:id>1</c:id>. So now as a list that it is we should point in the first item, so item(0). Once in this item the value is treated as a child so we need to get that child out by using the function getFirstChild(). Now we reach the point where the value is within our node, so we only need to getNodeValue(), which return a String, so we have to be careful and parse the real Type that we need.

Ok this is been specify step by step, but to make it clear what I used in the end is a function in which you give an Element (<c:customer> in this case) and a tagName (any tag of the children) and gives you the value back. The function is not other than this:

private String getData(Element customer, String tagName){
return customer.getElementsByTagName(tagName).item(0).getFirstChild().getNodeValue();
}

Therefore using this call you get the value for free

String customerData = getData(customer,”c:name”);

Finally updating the iPhone

Posted in iPhone by JuanLu on the 18/11/2008
Tags: ,

Yesterday, after a long time since the firmware 2.1 for the iPhone I have updated it yesterday.

First of all I made a security copy to recover everything after the update, otherwise it is a mess to have to put all the contacts, notes and stuff again from the beginning. You loose data yes,  but the important one is there ready for you, that in the end it is what it counts, isn’t it? ;)

So, it took me a while since I got it. I was using my new macbook (the white one), PwnageTool and QuickPwn for 2.1 Firmware to create the new hack firmware and iTunes 8 to install the software in the iPhone once the customize one is done. At the beginning I didn’t know  well how to use Pwnage so I choose the “easy mode” on it and I created a new customize version. Following the instructions that this tool told me I put my phone into DFU mode, I did it and I plugged it to the laptop. Then the way was suppose to be easy, just let iTunes restore the phone and that’s all, but NO. Murphy’s law appeared and I got an error 21, that I still don’t know what is it about, but many people has the same problem whet they update the firmware. So I tried again doing the same process up to the point that it happened to me a few times and I became to be a bit nervous. Once reached this point I decided to use QuickPwn a tool of the same team that does everything directly for you, so I followed the instructions I saw on the screen and continue with the procedure. Well this worked!! But something was wrong again because my phone didn’t catch network :s (I have to say that it was more than 2:00 am) so finally I decided to have it done unless it would cost me the hole night. I tried again with Pwnage and one of the customize software that I had already build from my other attempts and this time, once passed 2:30 am my phone was finally unlocked, jailbreak, up and running with the new 2.1 software. Software which I think is much better than the 1.1.4 because it is faster, you have app store, and a terminal “for free”, so you can play more with the phone when you are on a network :)

Once I did it I recover the info I backed up at the beginning and I started playing with it. Yesterday I didn’t do much because I was tired , but soon I’ll say how is this new software from my point of view ;)

Gran Cagada

Posted in Uncategorized by JuanLu on the 30/10/2008

Ayer vi una noticia en la que leí una cosa que no me creía que pudiera pasar, pero sí. Antonio Lobato seguira dciendo tonterias el año que viene en La Sexta. Por qué lo han hecho? No voy a discutir que después de tanto tiempo Antonio no sea un “experto de la F1″ (a Fernando le conoze mejor que nadie, al resto…), pero la manera en la que narra las carreras no es la ideal.Por no hablar de las traducciones que hace en las ruedas de prensa dejándose la mitad de las palabras que dicen e incluso a veces cambiando verdad Antoñito? Para eso mejor cállate y deja que los pilotos hablen en inglés.

Bien, pues esto pasó esta temporada, se nota que hasta Fernando está un poquito cansado de él.

En telecinco hay otra persona que sabe bastante más, no es otra que Gonzalo Serrano, que dejará la cadena también tras el GP de Brasil. Ojalá los directivos de La Sexta recapaticen y den marcha atrás y se quede con Gonzalo y Pedro como comentaristas, entonces si que tendremos un buen equipo de comentaristas. Aunque yo prefiero que prescindan también de Pedro Martínez de la Rosa y éste este en la pista dando espectáculo como él bien sabe.

Leopadstrip

Posted in Uncategorized by JuanLu on the 29/10/2008

http://leopardstrip.wordpress.com/

This is the new blog dedicated to the 4th  occupant of the car in our imminent road trip that, at the moment I am not going to tell you more. Here you could see the daily adventures of this new stowaway on board. Where he goes, who he meets everything about him. Soon, online. At the moment you can read his own introduction to the world and some of his travels since he was born some moths ago, not even 1 year.


Road trip around Europe (Madrid – Ipswich)

Posted in viajes by JuanLu on the 27/10/2008
Ford Fiesta

Ford Fiesta

As some of you know, next week I’ll take part in an adventure with my brother (Roberto), a friend (David) and of course my car (Fiesta). This road trip is because I wanted to have my car in winter here in Ipswich because at 16:30 is dark and coming by bike from work is not the nicest pleasure ever, but also because it is time to start running again and join a club here in England.

Any way, let’s back to the trip. We’ll depart from Madrid on the 5th of November of 2008, it has to be early in the morning, around 8:00/9:00 because this first stage will go from Madrid to Bourg in France stopping in “Burgos”, San Sebastian, where we will have lunch trying the famous tapas of the city in order to continue afterwards all the way to Bordeaux crossing the border in Irun. Once in France we will go next to the coast for a few kilometres, but I guess that the best landscapes we are going to find will be in the National Park of Les Landes, park that we cross from south-west to north. We will continue a bit further from Bordeaux to arrive to Bourg where we will stay for the first night.

What’s going on in the second day? Ok in this day, the route is not that long, which gives us a bigger range in the timetable, however the problem is the visit to a Chateau and we depend here of the opening timetable. So the day will end in an small village close to Blois, which is in the Chateau’s zone, monsieur Brossard is the one that is going to choose the Chateau that we are going to visit (he is the French in this trip, so he is the expert in this kind of issues).

Paris

Paris

The shortest driving day is the third one (Friday), day that we reach the city of love, Paris, where we are going to stay in a hotel close to the centre of this city and where we are going to meet people that have been living in Ipswich at some point in the past and that are now living there. Hopefully we will meet all of them and we go out for dinner and drinks that night, remembering the times when we were here in lovely Ipswich. During this day in Paris we want to visit the city because not David, but my brother and me we stayed there when we were kids and since then only me has gone there but for work so it is going to be nice to remember the city with the Champs Elysees, the Eifel Tower and Notre Dame.

The following day drives us out of France for first day in this trip and we end up in Bruges, an old town in Belgium, but before of this we have a technical stop in Mons to pick Dani up and take him with us this day where a few of the Ipswich people is going to Bruges as well in order to know the town, visiting as well the Béguinage in the town centre of Bruges, as well we’ll have a fun and funny night there where we will have to try some of this Belgium beers.

We have reached the last day of our trip. Day, Sunday, elected to arrive home, lovely Ipswich. In this day we have to leave Bruges early as well because we have to drive all the way to Holland to catch the ferry from Hoek Van Holland (next to Rotterdam) and coming all the way to Harwich (do you remember this David ;) ). 6 hours by ferry with the car inside the boat and showing the sunshine at the beginning of the North Sea. Then from Harwich to Ipswich I’ll be the driver because I want to know from the very beginning in the UK the feeling of drive in the other side of the road with my “cuca”.

So this is a brief description of the road trip/holidays through west Europe starting in the “Sun” and finishing in the “Cloud”.

Upgrading my flickr

Posted in viajes by JuanLu on the 25/07/2008
Tags: ,
This is one of those things that had to happened at some point not and late in the time. I have to upgrade my flickr account from a FREE into a PRO. Since I bought my eos 350 my photos are better (if they are they are, although I am not the one that has to say that :p ). So from now onwards my flickr gallery will grow more regularly (Jaime you were asking for it so many times) and trying to get the more and the better pictures.
I’ll be practising new techniques and I’ll be also keeping money to get a new objective, probably a telescopic objective up to 200 with stabilizer, that it is needed with so many zoom in.
As always, I invite you to have a look to the gallery and I’ll be posting here more and more photos taken from there.
Photo taken with my iPhone in my last tryp to Barcelona

Photo taken with my iPhone in my last tryp to Barcelona

FKFT conference

Posted in proyectos, viajes by JuanLu on the 18/07/2008
Tags: , ,

Last week it took place in Barcelona (Spain) the 1st Free Knowledge Free Technology (FKFT) conference, where around 200 people involved in FLOSS (Free/Libre/Open Source Software) and teaching were talking about how FLOSS can come into the classrooms in all the levels, from the school to the university.

In the 3 days that the conference consisted, we had so many different speeches in some others topics. From presentations of official Libre software masters to the rights in of the content in media types now at days. I was there because I am part of the team in NetGenners, one of the projects related with this issue that we were discussing there.

What we could get from there is that the use of FLOSS in the teaching, mostly in the high level (university and masters) is growing and growing because of his facility to be used and studied, due to you have everything  online to study it and the added value of a community, either big or small, behind each project. That is one of the reasons that make teachers to introduce this type of software (or other projects not software related such as documentation, …) into the classrooms. And I’m not only talking about university students, also this type of projects is used to continue with the formation of some other professionals that want to improve their knowledge in this technology because they need it or because they like it.

Also the meeting was good to know new people interested in open new projects together big or small collaborations that helps the community to be more active and create a bigger social network working together in different topics of with the same base, the FLOSS in the teaching.

Post en español o en inglés?

Posted in Uncategorized by JuanLu on the 02/04/2008
Tags: , ,

Desde hace tiempo me viene rondando por la cabeza esta idea. ¿Será mejor escribir en inglés? Ahora que estoy en Inglaterra ya estoy pensando cada vez más en mudar el blog de idioma, no digo traducir las entradas que hay, pero sí meter alguna de vez en cuando en inglés. Sinceramente creo que queda bien, pero da un poco más de pereza, ya que siempre es más fácil expresarte en castellano, aunque te pases todo el día hablando y escribiendo mails en inglés.

Si bien todo esto viene a que te preguntas por qué estoy escribiendo un blog, a quién quiero llegar con él? En mi caso la respuesta es simple. Yo lo utilizo para que mis amigos, mi famila sepan algo de lo que hago aquí, en Lovely Ipswich pero también para relajarme. Cuando tienes bastante tiempo libre (aquí se cena muy pronto) escribir algo te llega a relajar, ya que lo haces porque quieres y sin que nadie te diga … tienes que poner esto o lo otro, simplemente eres tú plasmando lo que piensas.

Con lo que en estos 6 meses me comprometo a darle más vida a este chiquitín (no lo mismo con mi flikr) e ir introduciendo post en inglés para que también la gente de aquí pueda leerlos. Más que nada serán los relatos de viajes y demás cosas que hagamos aquí, en Ipswich.

« Previous PageNext Page »