tag:blogger.com,1999:blog-91156446058333841382024-03-13T21:16:17.380+01:00X de XavierUnos y ceros. A veces, en el orden adecuado.-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-9115644605833384138.post-8882692453714386742010-05-18T08:05:00.003+01:002010-05-18T08:35:51.531+01:00OpenID<div>I'm a happy new user of <a href="http://myopenid.com/">http://myopenid.com</a>. </div><div><ul><li>Registration was very simple</li><li>The OpenID urls you get are nice (yourchoice.myopenid.com)</li><li>It supports multiple personas, i.e. during the signon process, you can choose differents sets of personal information to share with the requesting site</li><li>You get a detailed account activity report</li></ul></div><div>Out of laziness, I've been resisting for years to get a proper OpenID account. Sometimes I've been using the one provided with blogger.com; others, my Flickr photostream url. And then sometimes I've signed up to places using my google or twitter accounts. In fact, a site requesting access to my list of contacts during registration with my google account has been the trigger to take care of this.</div><div><br /></div><div><a href="http://intertwingly.net/blog/2007/01/03/OpenID-for-non-SuperUsers">Two html lines</a> have allowed me to use a vanity url (<a href="http://els.verg.es/xavier">http://els.verg.es/xavier</a>) and to avoid getting married to myopenid.com</div>-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com1tag:blogger.com,1999:blog-9115644605833384138.post-78603933397120283482009-11-03T10:59:00.005+01:002010-03-24T14:07:18.499+01:00Analyze your traffic without you<div>Even when you have like a dozen visits a day, checking <a href="http://www.google.com/analytics/">google analytics</a> now and then is nice (<i>hey! a vsitor from Belize!</i>). However, it is nice to be able to tell what traffic comes from yourself and what comes from your two readers (if any). A <a href="http://code.verg.es/sharebookmarklet.html?author=%3Ca%20href%3D%22http%3A%2F%2Fx.verg.es%22%3E-Xv%3C%2Fa%3E&description=%3Cp%3EBookmark%20the%20link%20%22Exclude%20myself...%22%20link%20below%2C%20or%20copy%20its%20location%20to%20the%20clipboard.%20When%20visiting%20your%20tracked%20page%2C%20run%20the%20code%2C%20by%20clicking%20on%20the%20bookmark%20or%20pasting%20the%20code%20in%20the%20address%20bar.%20Once%20your%20cookie%20is%20set%2C%20you%27ll%20need%20to%20set%20a%20custom%20filter.%20Check%20the%20second%20step%20in%20%3Ca%20href%3D%22http%3A%2F%2Fcatbirdanalytics.wordpress.com%2F2009%2F01%2F03%2Fexcluding-visitors-from-google-analytics-via-cookie%2F%22%3EExcluding%20Visitors%20from%20Google%20Analytics%20via%20Cookie%3C%2Fa%3E%3C%2Fp%3E&title=Exclude%20myself%20from%20Google%20Analytics&code=(function%20SetFilterCookie()%0A{%0A%20%20var%20field%20%3D%20prompt(%22Google%20Analytics%20custom%20field%20value%22%2C%20%22Xavier%22)%3B%0A%20%20if%20(field)%20{%0A%20%20%20%20if%20(typeof%20pageTracker%20!%3D%3D%20%22undefined%22)%20{%0A%20%20%20%20%20%20pageTracker._setVar(field)%3B%20%2F%2F%20ga.js%0A%20%20%20%20}%20else%20{%0A%20%20%20%20%20%20__utmSetVar(field)%3B%20%2F%2F%20urchin.js%0A%20%20%20%20}%0A%20%20%20%20alert(%22Set%20%27%22%2B%20field%20%2B%20%22%27%20in%20your%20custom%20field%20filter%22)%3B%0A%20%20}%0A})()">bookmarklet</a> can help you to enable a filter that will allow analytics to remove you from its stats, or even to track your own usage of your site.</div><div><br /></div><div><b>Update</b>: bookmarklet magic moved from the defunct googlepages to amazon s3 to <a href="http://code.verg.es/sharebookmarklet.html">http://code.verg.es/sharebookmarklet.html</a> </div><div><br /></div>-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com1tag:blogger.com,1999:blog-9115644605833384138.post-12283143575993617362008-08-05T17:16:00.003+01:002008-08-05T17:27:14.666+01:00Gmail will automatically invite some contacts<a href="http://mail.google.com/support/bin/answer.py?answer=29795&cbid=h9lf9utlxbzx&src=cb&lev=answer">Gmail will automatically invite some contacts</a><br /><blockquote><span style="font-style: italic;">If there are other Gmail users whom you frequently email, you'll be able to chat and see each other online without having to send an invitation</span>.</blockquote>This wasn't the default setting some time ago, now it is, and I think it shouldn't be. To make it worse, <a href="http://groups.google.com/group/Gmail-Help-Chats-and-Contacts-en/browse_thread/thread/743d289079e9f429/8abdd902f3f815c1?lnk=raot">disabling this behaviour is not reliable</a>. My privacy is not happy.-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com0tag:blogger.com,1999:blog-9115644605833384138.post-9999629788577508762008-05-19T22:18:00.002+01:002008-05-19T23:13:42.615+01:00Notes to self (voice to gmail)I often <a href="http://xdexavier.blogspot.com/2007/06/dictate-to-self-to-avoid-tiny-phone.html">use my phone as a voice recorder</a> to keep track of things that I don't want to forget while on the go. It has proven to be more reliable than my unreadable hand written notes. As an additional bonus, my kids love the idea and they often want to have their say in the recording, so processing the voice notes is often more fun than just listening to my odd ideas.<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.bassboy.com.au/getreel/site/samples/vintage/tk820/tk820.htm"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://www.bassboy.com.au/getreel/site/samples/vintage/tk820/images/820.jpg" alt="1955 portable recorder" border="0" /></a><br />However, the phone's interface to listen to them is quite crappy, and checking if I have some unprocessed note has not become part of my habits. They really belong in my mail inbox, so I now have setup things to send them to my gmail account (after an unsuccessful attempt of using <a href="http://www.shozu.com/">ShoZu</a>, that's already gone from my phone).<br /><br />Teaching my <a href="http://developer.sonyericsson.com/site/global/products/phonegallery/k610/p_k610.jsp">Sony Ericsson k610i</a> to contact gmail has not been obvious, since the net seems to be full of uninformed advice about this. As correctly reported <a href="http://developer.sonyericsson.com/message/61379">here</a>, the problem is that the phone is missing a root certificate required by to verify smpt.gmail.com. To fix it,<br /><ol><li>Download a zip with a bunch of root certificates from <a href="http://www.thawte.com/roots/">http://www.thawte.com/roots/</a> (no need to answer to the form that you get there)</li><li>Extract the missing certificate, <code><br />thawte-roots.zip\Thawte Primary Root CA\Thawte_Primary_Root_CA.cer</code></li><li>Send it to the phone using bluetooth, so that the phone recognizes it and prompts you to install it.<br /></li></ol>I only use the native email interface to be able to quickly send files from the phone, since <a href="http://www.google.com/mobile/mail">http://www.google.com/mobile/mail</a> feels more convenient.<br /><br />I also had to upgrade RealPlayer to be able to listen the AMR format used by the phone. And fix the wrong .3gp extension associated to mime type <code>audio/amr</code> in <code>HKEY_CLASSES_ROOT\MIME\Database\Content Type\audio/AMR</code>-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com0tag:blogger.com,1999:blog-9115644605833384138.post-6026045240280793222007-10-21T21:16:00.000+01:002007-10-21T21:45:15.211+01:00Gmail spam filter sick?In the past days I've been getting quite a few spam messages in my inbox. Not smartly disguised spam, but old plain lottery winning notifications and anatomy enlargement tips. Please, spam filter, get well soon: I miss you.-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com0tag:blogger.com,1999:blog-9115644605833384138.post-64232092752173199742007-05-27T17:32:00.000+01:002007-05-27T18:12:11.201+01:00Bookmarking things within gmailRestoring a Firefox session accidentally told me that, when you open messages/chats in a new window, you get an url that you can bookmark/copy to another file. Nice.<br /><br />Exploring things a bit further showed that gmail uses frames, so you can use the url of the inner frame to bookmark contacts, labels, filters, searches or any other thing that does not have the "New Window" link. In Firefox, use the popup menu, and "This Frame > Open frame in new tab".<br /><br />Very handy for those of us that run our lifes in tiddlywikis.<br /><br />Of course, Google is perfectly free to change these misterious urls not likely intended for public consumption...-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com0tag:blogger.com,1999:blog-9115644605833384138.post-41763351587962417962007-04-27T13:52:00.000+01:002007-04-27T14:11:55.926+01:00Evangelizing and toilets<span class="q"><blockquote>One of Google's little secrets that has helped us to inspire our developers to write well-tested code: <span style="font-weight: bold;">we write flyers </span>about (testing techniques) <span style="font-weight: bold;">and then regularly plaster the bathrooms all over Google with each</span> episode, almost 500 stalls worldwide.<br /><br />We've received a lot of feedback about it. Some favorable ("This is great because I'm always forgetting to bring my copy of Linux Nerd 2000 to the bathroom!") and some not ("I'm trying to use the bathroom, can you folks please just LEAVE ME ALONE?")</blockquote>Stumbled upon this evangelizing technique in </span><a href="http://googletesting.blogspot.com/2007/01/introducing-testing-on-toilet.html">Introducing "Testing on the Toilet"</a>, while googling trying to decide which JavaScript unit testing framework use (yeah, shame on me, I've been doing lots of JavaScript lately without doing Test Driven Development).<br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://googletesting.blogspot.com/" title="Debugging sucks. Testing rocks"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://photos1.blogger.com/x/blogger2/5468/1836/1600/z/275811/gse_multipart55189.gif" alt="" border="0" /></a>They not only use a surprising evangelizing technique, but also have a great banner and motto for their blog: "<span style="font-style: italic;">Debugging sucks. Testing Rocks.</span>"-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com0tag:blogger.com,1999:blog-9115644605833384138.post-21016931960263236652007-01-10T14:23:00.000+01:002007-10-06T09:38:43.777+01:00Bulk upload to googlepagesA <a href="http://xdexavier.googlepages.com/uploadHowTo.html">tool for batch uploads to googlepages</a>, as anticipated in an <a href="http://xdexavier.blogspot.com/2007/01/my-browser-my-rules-my-chrome.html">earlier post</a>.-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com1tag:blogger.com,1999:blog-9115644605833384138.post-16162012660920317632007-01-09T23:44:00.000+01:002007-01-10T10:35:10.857+01:00My browser, my rules, my chrome<span style="font-weight: bold;">Summary:</span> there are times when Firefox security gets in your way. Having a directory where you can place xul, html and scripts to run with chrome privileges enables you to shoot yourself in the foot and to create nice and handy hacks.<br /><br /><span style="font-weight: bold;">The itch that called for scratching:</span> I wanted to hack something to let me upload several files at once to <a href="http://googlepages.com/">googlepages</a> [1]. The problem is that, for very good reasons, you can not use JavaScript to change the value of input fields of type file: you usualy don't want scripts reading files in your disk. So, a bookmarklet, that to the browser looks as if it were part of the page, wouldn't cut it. Greasemonkey userscripts do <a href="http://diveintogreasemonkey.org/etech2006/#slide31">run sandboxed, but not under chrome privilege</a> [2], so I did not try that. I tried to give the page <a href="http://citebite.com/q6m6j4u5uvqh">UniversalFileRead privilege</a> [3][4], but failed.<br /><br /><span style="font-weight: bold;">A chrome folder.</span> From <a href="http://xulblog.de/xul/archives/7-Under-chromes-influence.html">Under chrome's influence</a>, slightly modified,<br /><blockquote><br />In the browser's installation directory, create a new file <code>chrome/mychrome.manifest</code> and put a single line into it:<br /><pre>content mychrome file:///D:/whatever/mychrome/<br /></pre>Note that the trailing slash is significant. Then create the file <code>D:\whatever\mychrome\hello.txt</code> and add some text:<br /><pre>hello world!<br /></pre>After a complete restart of your browser, you can open that file using <code>chrome://mychrome/content/hello.txt</code>.<br /></blockquote>You need to keep in mind that chrome is catched, so you may not see the changes you make immediately. Setting <a href="http://kb.mozillazine.org/Nglayout.debug.disable_xul_cache"><code>nglayout.debug.disable_xul_cache</code></a> to <code>true</code> [5] or the <a href="http://ted.mielczarek.org/code/mozilla/extensiondev/">Extension Developer's Extension</a> ability to reload chrome without restarting the browser are helpful here.<br /><br /><span style="font-weight: bold;">Future plans:</span><br /><ul><li>the bulk upload to googlepages is working nicely; needs some docu before uploading it.</li><li>I want to have a browser window with chrome privileges so that I can have more freedom of what I can do with some file: urls. Specifically<br /></li><ul><li>have known tiddlywikis granted <code>UniversalXPConnect</code> privilege <a href="http://groups-beta.google.com/group/TiddlyWikiDev/browse_frm/thread/5a8ddb015a6e738/97a25887d760a7d3?hl=en#97a25887d760a7d3">without having to grant it to everything from file:</a> and without having to mess with the <code>capability.principal.codebase</code> annoyance.</li><li>have local files use a script loaded from the web, or have a remote file load a script from my disk, so that I don't have to upload files while writing/debugging javascript.<br /></li></ul></ul><span style="font-weight: bold;">Footnotes:</span><br /><span style="font-size:85%;"><span style="font-weight: bold;">[1]</span> googlepages: yeah, I know, I'm cheap!<br /><span style="font-weight: bold;">[2]</span> Mark Pilgrim's slides on sandboxing greasemonkey have a wonderful <a href="http://diveintogreasemonkey.org/etech2006/#slide10">"how to become an expert" detour</a>. Don't miss it.<br />And, just in case you are a powerpoint author, consider <a href="http://meyerweb.com/eric/tools/s5/">S5</a> (a Simple Standards-Based Slide Show System), the tool used for Mark's slides.<br /><span style="font-weight: bold;">[3]</span> UniversalFileRead: I added to my <a href="http://kb.mozillazine.org/User.js_file">user.js</a><br /><pre>user_pref("capability.principal.codebase.googlepages1.granted", "UniversalFileRead");<br />user_pref("capability.principal.codebase.googlepages1.id", "http://pages.google.com/");<br /></pre>but still got a security exception.<br /><span style="font-weight: bold;">[4]</span> Highlighted link thanks to <a href="http://citebite.com/">http://citebite.com</a>.<br /><span style="font-weight: bold;">[5]</span> <code>nglayout.debug.disable_xul_cache</code>: I haven't tried it. As I write this,I realize that my <code>user.js</code> sets it to <code>true</code> while my <code>prefs.js</code> ignores it and keeps it to <code>false</code>. <del>I'm clueless here.</del> <span style="font-weight: bold;">Update:</span> A ";" was missing at the end of its user_pref line. Life is much better with this setting enabled!<br /></span>-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com2tag:blogger.com,1999:blog-9115644605833384138.post-24551017959984335482006-12-26T01:47:00.000+01:002006-12-28T00:00:59.562+01:00Google Tech Taks (engEDU videos)You *have to* keep an eye on Google's TechTalks. I have not seen an obvious link, so here it is a <a href="http://video.google.com/videosearch?q=Google+engEDU&so=1&start=0">search</a> and a <a href="http://video.google.com/videofeed?type=search&q=Google+engEDU&so=1&output=rss">feed on that search</a> (better, since it provides longer descriptions). They are mostly about computer science, but the range of topics is quite broad.<br /><br />It is great that they are choosing to publish all these terrific talks they host.<br /><br /><span style="font-weight: bold;">Update:</span> from <a href="http://video.google.com/googleplex.html">http://video.google.com/googleplex.html</a><br /><blockquote>Google TechTalks are designed to disseminate a wide spectrum of views on topics ranging from Current Affairs, Science, Engineering, Humanities, Business, Law, Entertainment, Medicine, and the Arts.</blockquote>I also learned about the <span style="font-weight: bold;">Authors@Google</span> series:<br /><blockquote>Authors@Google is a speaker series where thought-provoking, Zeitgeist-making, trend-setting authors come to the Googleplex to read from their works and share their thoughts with us. The following authors have agreed to release their talks to the world on Google Video.</blockquote>-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com0tag:blogger.com,1999:blog-9115644605833384138.post-1786962711896318572006-12-23T00:45:00.001+01:002006-12-23T00:45:22.870+01:00Irresponsabilidad corporativaNo escribo sobre plantar árboles, o no contaminar, o integrarse en las comunidades locales o... Mi tema es mucho más prosaico: no está bien que Google pida a los usuarios de <a href="https://www.google.com/analytics">Google Analytics</a> que tecleen su identificador de usuario y contraseña en una página sin https. No basta con que las credenciales viajen seguras porque están utilizando un iframe con https para transmitirlas.<br /><br />Nadie debería teclear su contraseña sin ver un candadito en su navegador.<br />Nadie, y, todavía menos Google, debería pedir a los usuarios que lo hagan.-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com0tag:blogger.com,1999:blog-9115644605833384138.post-23901244062432441772006-11-18T18:32:00.000+01:002006-11-18T21:44:44.180+01:00Unofficial PlanetIBM SearchIntroducing... the <a href="http://google.com/coop/cse?cx=001939661192509195071%3Atkhozjqigu8">Unofficial PlanetIBM Search</a>, based on <a href="http://google.com/coop/cse/overview">Google's Custom Search Engines</a> and on <a href="http://torrez.us/archives/2005/08/29/387">the unofficial list of IBM bloggers maintained by Elias Torres</a>. Search box in this blogs side bar.<br /><br />I've set everything by hand now, but it does not look very hard to script it now that I've learned a bit about Google's CSEs. Lots of things pending: write the scripts to automate the maintenance, get a semi-decent logo, give more weight to the official unofficial IBM voice (<a href="http://www.ibm.com/developerworks/blogs/">http://www.ibm.com/developerworks/blogs/</a>, executives...), make visible what sites are searched and with what weigth (as now, everything in Elias list, with the same weight), check if I can get Google to be nice and avoid inserting ads from our competition in the results page...<br /><br />And, why? Because I think that it is a good thing to be able to search what IBMers have been writing outside the firewall. (And because the procastinator in me thought that this was far more interesting than completing two pending assignments that I have from two friends... <span style="font-size:78%;">Cris, Rodri, ahora me pongo, de verdad...</span>).<br /><br />It is often said that it is better to ask forgiveness than permission. (Wait! Don't let my kids know that I agree with this!). So, without being 100% sure about this being the right thing to do, here I go.<br /><br /><span style="font-weight: bold;">Update.</span> Re: reasons, permission and forgiveness. The main reason for doing this is shaking the tree and hoping that this can help to get in place sooner an official search, using IBM technology, a list of bloggers maintained officially, rss available on searches, no adds, nice integration with ibm.com... Based on what I experience in the IBM intranet, putting in place a proper solution should not be hard at all.-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com1tag:blogger.com,1999:blog-9115644605833384138.post-24699830816052533102006-11-17T12:00:00.000+01:002006-11-17T12:25:12.509+01:00Mozbot: google con esto y sin lo otroUn <a href="http://www.googlefight.com/">googlefight.com</a> tonto me ha llevado a tropezar con <a href="http://www.mozbot.com/">mozbot.com</a>, que añade y quita cosas a los resultados de una búsqueda de google. A veces es interesante excluir algún dominio de los resultados de la búsqueda, y mozbot lo hace muy simple. Otra cosa práctica es que, para cada resultado, puedes acceder a su historia en la máquina del tiempo (<a href="http://www.archive.org/">archive.org</a>) con un par de clics.-Xvhttp://www.blogger.com/profile/12954073038736466058noreply@blogger.com0