2008/11/15

Som àngels!

Angel
Young angel
Visca el majara que ha enganxat unes ales de cartulina a la parada d'autobús i ens ha fet riure abans d'anar a l'escola!

2008/11/11

Aprendre

Aquest matí he plorat de content i li he enviat això al meu fill

Estimat G,

avui he trobat una cosa que vaig escriure fa uns anys, després de llegir una carta teva al Papà Noel. Potser tu ho recordes, però jo no ho recordava, i m'ha encantat trobar-ho. Explica-li a la mamà que segur que també li agradarà.

Després de la teva llista de joguines deies una cosa semblant a,

però el millor regal seria que em contestesis a aquestes preguntes
  • Tens ajudants? [s][n]
  • Quants? [_][_][_][_][_]
  • Dones els regals als nens d'aqui i els d'Australia al mateix temps?
Voler aprendre és el que ens fa llestos. Que mai et marxin aquestes ganes de saber més!

2008/11/08

Got no desk :-(


Got no desk :-(, originally uploaded by -Xv.

My very own ibm desk is gone... No place to hang C's drawings, to keep my pencils (I really just care about the one that was a present from C.), the books I'm reading... I'll also miss sitting by my former team mates after so many years...

But I really cannot complain: I'm working very often from home now, so it makes little business sense to have a dedicated empty desk at the office.

2008/10/09

Passion for the craft

Denilson Nastacio's unsolicited advice to executive teams:

promote a passion for the craft rather than demanding a passion for the business. That is empowerment over chastisement. People who understand their craft are more likely to be enthusiastic about it, when people discover they can learn something new and become good at it, they are inspired; with any luck, even passionate.

When people are enthusiastic about what they do, and that boundless enthusiasm is backed by technique rather than unchecked madness, customers tend to love it too. And when that feeling of elation comes out of succeeding at a task or beating a competitor, chalk one up to a job well planed and well done, not for passion for the business.



My own unsolicited advice? Read Denilson's full post, keep in mind his story about that goalkeeper's career, and enjoy being passionate (about something you can understand and can take away with you wherever you go).

Mmmm, I'm now scheduling a meeting with myself to review my latest career decisions. (Hi, M-the-sweet-hurricane! My being green with envy about your passion and focus on working on a radical career change also have lots to do with this meeting :-)

2008/10/07

2008/09/27

sprintf_s() is not snprintf()

You are compiling some legacy code with Microsoft Visual Studio. You get a warning telling you
warning C4996: 'sprintf': This function or variable may be unsafe. Consider using sprintf_s instead.
Of course! So you just change that dangerous sprintf() for a sprintf_s(). The IDE tells you about an additional buffer size parameter, so you may wrongly end up thinking that you are getting the equivalent to Unix's snprintf() or the old MSV _snprintf().

Nope. If you read the docs, you'll learn that sprintf_s() is not truncating the string, but instead invoking the run-time invalid parameter handler, and usually terminating the program. Far better than letting a buffer overflow happen, but maybe not what you were expecting.

La mujer del viajero en el tiempo


Sábado pegado al sillón por culpa de La mujer del viajero en el tiempo. de Audrey Niffenegger. No creo que esta haya sido la última vez que lo leo.

2008/09/24

Happy Stop Software Patents Day!



The problems with software patents go far beyond those trivial patents that get linked from time to time.

Usual disclaimer
(stolen from Read This Blog!) applies here specially: IBM has its opinions and plans; I have mine. Any resemblance between the two is coincidental

2008/09/14

Links are cool. Links are bad.

Some days I spend way too much time in my computer...







Drawn with Animatee in my lovely Nintendo DS.