2009/01/19

A button to make it simpler to paste notes: urls

I often paste links to Lotus Notes documents (mostly mail messages) in my tiddlywikis. Creating a toolbar button that puts the notes: url in a field makes it simpler. Unfortunately, LotusScript does not provide a way to access the clipboard, so you have to manually select the text and copy it there.
Create a new toolbar button and paste this code inside:


dn := @Subset(@DbName; 1);
linkType:= "Document";
nsfPath := @WebDbName;
qualifiedHost := @If(@Length(dn) = 0; ""; @DbLookup("":""; dn:"names.nsf"; "($ServersLookup)"; dn; "SMTPFullHostDomain"));
dbUrl := "Notes://" + qualifiedHost+ "/" + nsfPath;
viewUrl := dbUrl + "/";
docUrl := viewUrl + "/" + @Text(@DocumentUniqueID);
docTitle := @If(@IsAvailable(Subject);Subject;@IsAvailable(Title);Title;@IsAvailable(FullName);FullName;@Name([CN];@Author));
clipboardTxt := "[[" + docTitle + "|" + docUrl + "]]";
@Prompt([OkCancelEdit]; "TiddlyWiki link"; "Copy the text below to the clipboard."; clipboardTxt)

I posted this long ago in my intranet blog, and looks that can also be useful outside. The code was adapted from something that Jonathan Feinberg, of Wordle fame, wrote for a then young and great Dogear, a bookmarking service that ended up being one of the key components of Lotus Connections.

2009/01/14

Change we must

Professionally, I'm always advocating for change and innovation.
Politically, I never vote for the party that is ruling in a given administration.

Then, why oh why do I get so annoyed when I'm unable to shop the exact same model of running shorts that I bough five years ago? Or was it ten years ago?

Update:
Luis, in a comment to my original post, tries to make me feel better and invites me to put the blame on the usual suspects: politicians, executives and managers.

I started to feel better until, what started as a joke became an interesting lesson for myself: am I not showing the exact same attitude that I often and loudly complain about? The we-have-always-done-things-like-this-here automatic response? The who-cares-if-the-alternative is-better mindset? Check Ferran Rodena's Eliminating Waste: Lessons From The Trenches for an example of this attitude from a group that does not belong to the usual suspects

I was offered some more technologically advanced shorts and I did not even consider its possible advantages! I must remember this the next time that I want to push some change!

2009/01/08

Teachers and teachers

From an article in The New Yorker by Malcom Gladwell (via Bil Sherrin's intranet blog):

Eric Hanushek, an economist at Stanford, estimates that the students of a very bad teacher will learn, on average, half a year’s worth of material in one school year. The students in the class of a very good teacher will learn a year and a half’s worth of material. That difference amounts to a year’s worth of learning in a single year.
It's a good article, focused on how hard is to predict new hires performance in some fields.

Unfortunately, I don't think this kind of metrics are obtained in the education system in my country. In fact, several teacher unions here consider teaching evaluation as something to oppose as it promotes competition over collaboration. Yep. Feedback? Who needs it?

2009/01/05

2009 User's guide. First draft


2009 User's guide. First draft, originally uploaded by -Xv.

A first draft of my 2009 resolutions/guidelines. Inspired by Sacha Chua.

make eyes shine, awe, patience, focus, simplify
start early, meditation, run, food, quit
play, listen, notes, realistic drawing, hack

2009/01/03

Dows simplifica


Vem anar a petar a Dows, a la secció de video-jocs. Sorpresa molt agradable. Ple de jocs per fer-hi un tast.
Algunes idees simplísimes però molt pràctiques: no et donen una targeta de client (millor per a tu i la teva engreixada cartera, i millor per a ells) i et guarden els tickets i les garanties (no cal conservar aquests paperets de tinta tèrmica que s'han tornat blancs quan els vas a mirar després de tres mesos).
Estava jo tan encantat quan, a la tele, veig una anunci d'un joc que havia comprat amb un preu recomanat inferior al que jo havia pagat. Ahir els vaig enviar un correu electrònic explicant-ho, i, aquets matí,

Sr. Vergés,
Com a responsable del centre de la secció de videojocs, sento el malentés que hi ha hagut amb aquest joc. Fins fa ben poc, el PVP recomanat de l’article que vosté va adquirir era 39,90 €, i malauradament el fabricant no ens va comunicar la baixada de preu dels articles a 29,90€, d’aquí l’error.
El convido a que es passi per la botiga per a que li retornem la diferencia, amb el nostre “preu mínim garantit”, i aprofito per saludarlo atentament,
Que durin!

2008/12/31

2009


2009, originally uploaded by -Xv.

Enjoy!

2008/12/28

Patience

Memo to self:

Do you have the patience to wait
till your mud settles and the water is clear?
Can you remain unmoving
till the right action arises by itself?
Lao-Tzu (Tao Te Ching)

Nope. The mud has not settled. Have to wait.

2008/12/21

Hipòtesi confirmada

M'he passat anys convençut de que hi uns pocs bons amics de fa mil anys, amb els que hi ha poquíssim contacte, als que podria recórrer en qualsevol moment. I sentir-me còmode explicant coses que no explicaria gairebé a ningú. I sentir-me alleujat en explicar-ho.

Avui he tingut moltes ganes de confirmar aquesta hipòtesi amb una d'aquestes perles que vaig conèixer fa més de vint-i-cinc anys. I m'he sentit còmode i alleujat. Estic content.

2008/12/18

No son cosas

Siguiendo con mi ánimo sermoneante...

No es una lavadora. No es ni un perro ni un hamster. Ya no es un bebé. Pero no es nada raro encontrarme a alguien por ahí que describe los defectos y virtudes de su hijo a otra persona como si el niño no estuviera ahí.
¿Te has imaginado alguna vez que como te sentirías si te lo hicieran a ti?
¡Yuju! ¡Respeto!

2008/12/16

En los zapatos de los niños

Un gracioso y buen ejemplo de la poca capacidad que solemos tener los adultos de ponernos en los zapatos de los niños. Del suplemento es de La Vanguardia:

"¿Cómo te sentirías si tu pareja trajera a otra persona a vivir en casa y te dijera que no te preocupes, que quiere mucho a esa persona y la tienes que tratar muy bien pero que eso no quiere decir que a ti te vaya a querer menos?"
Los psicólogos recurren a esta reflexión para hacer entender a los padres que los celos y la rivalidad entre hermanos son una reacción natural, tan normal que lo que se considera extraño es que un niño no sienta celos.
Y, ya que estamos de sermón, un recordatorio de servicio público: son pequeños, no idiotas.