A blog about random things and sometimes about my work translating and developing KDE and anything
Friday, November 20, 2009
Tuesday, November 17, 2009
Beware of QDomElement::setAttribute with floats and doubles
QDomElement::setAttribute with floats and doubles formats the numbers according to the current locale as specified by the documentation and this is for sure going to bite you. It did for us in Okular where people lost annotations when moving from one computer to another since the user was using a , locale in one of them and a . locale in other.
So if you use QDomElement::setAttribute with floats and doubles just add QString::number to the second parameter or as Thiago suggested switch to QXmlStreamWriter
So if you use QDomElement::setAttribute with floats and doubles just add QString::number to the second parameter or as Thiago suggested switch to QXmlStreamWriter
Thursday, November 12, 2009
Moving to Dublin
Some of you may already know, but probably most don't.
I will be leaving my home city of L'Hospitalet and moving to Dublin the second week of December.
This is a huge change for me since I'll stop living with my parents and live on my own for the first time of my life, also in a place where they don't speak my mother tongue, so it's both scary and motivating.
This also means I'll probably have less time for KDE since I'll have to do the boring real life cleaning/cooking stuff i don't do at the moment so you all will have to live with less bugging about "const &" by me.
It's been a very interesting year working with the cool dudes at Miraveo and i really wish them luck for the future but the company i'll be working for had a monetary offer i could not really refuse without trying to see what they do have to offer.
BTW I'm not saying who I'll be working for because the papers i signed said so many things i don't really know if i can say who I'll be working for, so don't ask.
Interesting times ahead.
I will be leaving my home city of L'Hospitalet and moving to Dublin the second week of December.
This is a huge change for me since I'll stop living with my parents and live on my own for the first time of my life, also in a place where they don't speak my mother tongue, so it's both scary and motivating.
This also means I'll probably have less time for KDE since I'll have to do the boring real life cleaning/cooking stuff i don't do at the moment so you all will have to live with less bugging about "const &" by me.
It's been a very interesting year working with the cool dudes at Miraveo and i really wish them luck for the future but the company i'll be working for had a monetary offer i could not really refuse without trying to see what they do have to offer.
BTW I'm not saying who I'll be working for because the papers i signed said so many things i don't really know if i can say who I'll be working for, so don't ask.
Interesting times ahead.