<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>alvarezp &#187; Mafufadas</title>
	<atom:link href="http://blog.alvarezp.org/categorias/mafufadas/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alvarezp.org</link>
	<description>cat &#62;&#62; /dev/blog</description>
	<lastBuildDate>Sun, 20 Jun 2010 03:08:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google Maps Street View en Tijuana</title>
		<link>http://blog.alvarezp.org/2010/02/12/google-maps-street-view-en-tijuana/</link>
		<comments>http://blog.alvarezp.org/2010/02/12/google-maps-street-view-en-tijuana/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 08:45:22 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Planet Gultij]]></category>
		<category><![CDATA[Tenía que ser un geek.]]></category>
		<category><![CDATA[Tijuana]]></category>

		<guid isPermaLink="false">http://blog.alvarezp.org/?p=975</guid>
		<description><![CDATA[Por azares del destino encontré que Google ya tiene una pizca de Tijuana lista en el Street View de Google Maps.
Al parecer alguien vio el carro en junio de 2009, se la pasó a algún amigo y éste lo blogueó! :-O
Actualización 1: La mejor foto que publicaron los de tijuanayo.com es la del vehículo de [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><a href="http://blog.alvarezp.org/imagenes/gm-sv-tijuana/gm-st-tij.png"><img src="http://blog.alvarezp.org/imagenes/gm-sv-tijuana/gm-st-tij-480.png" alt="Google Maps, Street View, Tijuana, 2010-02-12" /></a></p>
<p>Por azares del destino encontré que Google ya tiene una pizca de Tijuana lista en el Street View de Google Maps.</p>
<p>Al parecer alguien <a href="http://www.tijuanayo.com/google-maps-street-view-en-tijuana/  ">vio el carro</a> en junio de 2009, se la pasó a algún amigo y éste lo blogueó! :-O</p>
<p><strong>Actualización 1: </strong>La mejor foto que publicaron los de <a href="http://www.tijuanayo.com/">tijuanayo.com</a> es la del <a href="http://www.tijuanayo.com/wp-content/gallery/google-maps-1/google-street-view-tijuana02.jpg">vehículo de Google siendo cuestionado por la policía</a>.</p>
<p><strong>Actualización 2: </strong>También en <a href="http://www.tijuanayo.com/">tijuanayo.com</a> observaron que ya está en línea e hicieron un <a href="http://www.tijuanayo.com/habilitan-parte-de-google-street-view-en-tijuana/">post</a> al respecto.</p>
<p>Grandioso ¿no? Ojalá pronto podamos tener el resto de los servicios. Particularmente, saber cómo llegar de A a B con optimizaciones, como en San Diego, pero específicas a la localidad. Estas son las optimizaciones que me imagino en Google Maps para Tijuana:
<ul>
<li>Usar sólo transporte público</li>
<li>Usar sólo automóvil</li>
<li>Evitar boulevares y aprovechar vías rápidas</li>
<li>Evitar tráfico (en tiempo real)</li>
<li>Evitar baches y charcos (en tiempo real)</li>
<li>Evitar balaceras (en tiempo real)</li>
<li>Parar por una gasolinera non-rata (en tiempo real?)</li>
<li>Evitar el tren (en tiempo real)</li>
</ul>
<p>:-)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2010/02/12/google-maps-street-view-en-tijuana/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Etiquette in e-mail message quoting</title>
		<link>http://blog.alvarezp.org/2009/12/24/etiquette-in-e-mail-message-quoting/</link>
		<comments>http://blog.alvarezp.org/2009/12/24/etiquette-in-e-mail-message-quoting/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 20:55:59 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[Computación]]></category>
		<category><![CDATA[English]]></category>
		<category><![CDATA[Tenía que ser un geek.]]></category>

		<guid isPermaLink="false">http://blog.alvarezp.org/?p=888</guid>
		<description><![CDATA[This is a translation of my previous post Etiqueta en el citado de mensajes de e-mail.
Introduction
The most ignored Internet Etiquette rule is that of the posting style when replying to an e-mail message.
By &#8220;quoting&#8221; I mean the inclusion of a previous message in a new one (for example, a reply) with the intent of stating [...]]]></description>
			<content:encoded><![CDATA[<p>This is a translation of my previous post <a href="http://blog.alvarezp.org/2009/12/15/etiqueta-en-el-citado-de-mensajes-de-e-mail/">Etiqueta en el citado de mensajes de e-mail</a>.</p>
<h3>Introduction</h3>
<p>The most ignored <a href="http://en.wikipedia.org/wiki/Netiquette">Internet Etiquette</a> rule is that of the <a href="http://en.wikipedia.org/wiki/Posting_style">posting style</a> when replying to an e-mail message.</p>
<p>By &#8220;quoting&#8221; I mean the inclusion of a previous message in a new one (for example, a reply) with the intent of stating the relevance of the answer itself in the original context. I would say &#8220;Dan, I don&#8217;t know what are you talking about. Please quote the original e-mail in your reply next time in order to know what were you replying to.&#8221;</p>
<p>Almost every <a href="http://en.wikipedia.org/wiki/Email_client">e-mail client</a> do quote the original message in the reply, at least by default. That is good, and it contributes to the &#8220;netiquette&#8221;, but its abuse has made it completely useless.</p>
<p><span id="more-888"></span>By saying that the rule is &#8220;ignored&#8221;, I mean that the common user doesn&#8217;t edit the text put by the e-mail client as the quote. It leaves the quoted message as is, simply ignoring the resulting text. After three iterations of the answer, the &#8220;original message&#8221; carries more garbage than relevant content.</p>
<p>Common e-mail clients &mdash;like Outlook y Thunderbird&mdash; don&#8217;t help either; those are pretty stupid. They quote whatever they find. Even when the original goal is to place the original message in the editor ready for its editing while replying, it is also true that signatures and those hideous legal disclaimers are stupidly included also.</p>
<p>Ok. Beyond the rant, the main purpose of this article is to show the current quoting and reply techniques, but more important, to yearn for a style / technique used more than 15 years ago, even before Internet started to be popular in the city where I live.</p>
<p>A correctly applied etiquette to an e-mail reply allows a well-organized message. This etiquette is mainly formed by two elements: (a) the correct placement of the answer in relation to the quoted message and (b) the correct editing of the quoted message.</p>
<h3>Reply text placement against the quoted text</h3>
<p>The best way to explain this is to mention the three different styles and the difference between them: top-posting, bottom-posting and interposting (or in-line posting). It refers to the placement of the answer before, after or inserted into the original text.</p>
<h5>Example A: top-posting</h5>
<blockquote><pre>
Yes, and I'm going to do it.

On Fri, Jun 26 2009 17:42:34 -0700, Hitsuo Tikashi &lt;hitsuo.tikashi@sistint.com.mx> said:
> Octavio:
>
> Is the maintenance window on next Thursday?
>
> Who's going to execute the changes?
>
> Regards.
>
> ---
> Hitsuo Tikashi.
> Infrastructure Services Manager.
> Integrated Systems, Inc.
> T. +1 (619) 555-1234
> E. hitsuo.tikashi@sistint.com.mx
</pre>
</blockquote>
<h5>Example B: bottom-posting</h5>
<blockquote><pre>
On Fri, Jun 26 2009 17:42:34 -0700, Hitsuo Tikashi &lt;hitsuo.tikashi@sistint.com.mx> said:
> Octavio:
>
> Is the maintenance window on next Thursday?
>
> Who's going to execute the changes?
>
> Regards.
>
> ---
> Hitsuo Tikashi.
> Infrastructure Services Manager.
> Integrated Systems, Inc.
> T. +1 (619) 555-1234
> E. hitsuo.tikashi@sistint.com.mx

Yes, and I'm going to do it.
</pre>
</blockquote>
<h5>Example C: interposting (or inline-posting)</h5>
<blockquote><pre>
On Fri, Jun 26 2009 17:42:34 -0700, Hitsuo Tikashi &lt;hitsuo.tikashi@sistint.com.mx> said:
> Octavio:
>
> Is the maintenance window on next Thursday?

Yes.

>
> Who's going to execute the changes?

I am.

> Regards.
>
> ---
> Hitsuo Tikashi.
> Infrastructure Services Manager.
> Integrated Systems, Inc.
> T. +1 (619) 555-1234
> E. hitsuo.tikashi@sistint.com.mx
</pre>
</blockquote>
<p>Which one do you think is the best? All of them has pros and cons, so the answer may be different in each environment. What do you think are the pros and cons of each?</p>
<p>For instance, In some mailing lists, top-posting is more than prohibited. Either you do bottom-posting or, better yet, interposting. This has been used since before the existence of e-mail as is known today.</p>
<p>However, in businesses and common use, the most popular style is top-posting, due to the easiness of just &#8220;writing and sending&#8221; without worrying for anything else; this has moved the MUAs (e-mail clients) to be configured for top-posting out of the box. This, in turn, makes it even more popular.</p>
<h3>Proper editing of the quoted text</h3>
<p>The last example of interposting made it easy to show how a great part of the reply text is just useless. It is considered that the quoted text is part of the reply, as it occupies disk space as part of the reply.</p>
<p>I&#8217;ll use that interposting example as the case to analyze, but the following applies to either of the three quoting styles.</p>
<p>From the word &#8220;regards&#8221; on, the text is irrelevant, and thus, useless. Maybe we could say that the line &#8220;Octavio:&#8221; is also irrelevant, but let us not be so picky at the moment. In numbers, 8 out of 21 lines (38%) are useless; so are 25 of the 59 words (42%); and so are 161 of the 373 characters (43%). We still have to take into account that mi reply signature is not there, so that will slightly lower those ratios.</p>
<h5>Example D: Proper quoting in top-posting</h5>
<blockquote><pre>
Yes, and I'm going to do it.

On Fri, Jun 26 2009 17:42:34 -0700, Hitsuo Tikashi &lt;hitsuo.tikashi@sistint.com.mx> said:
> Octavio:
>
> Is the maintenance window on next Thursday?
>
> Who's going to execute the changes?
>
</pre>
</blockquote>
<h5>Example E: Proper quoting in bottom-posting</h5>
<blockquote><pre>
On Fri, Jun 26 2009 17:42:34 -0700, Hitsuo Tikashi &lt;hitsuo.tikashi@sistint.com.mx> said:
> Octavio:
>
> Is the maintenance window on next Thursday?
>
> Who's going to execute the changes?
>

Yes, and I'm going to do it.
</pre>
</blockquote>
<h5>Example F: Proper quoting in interposting (or in-line posting)</h5>
<blockquote><pre>
On Fri, Jun 26 2009 17:42:34 -0700, Hitsuo Tikashi &lt;hitsuo.tikashi@sistint.com.mx> said:
> Octavio:
>
> Is the maintenance window on next Thursday?

Yes.

> Who's going to execute the changes?

I am.
</pre>
</blockquote>
<p>The main argument for not editing the quoted text would be that it takes a long time to do it and it is done inefficiently. At home, this is called &#8220;lazyness&#8221;.</p>
<p>This will be the argument for those that don&#8217;t know the keyboard shortcuts for text editing, in particular the use of the Shift key as a non-written standard to select text. Using Shift and the arrow keys, followed by &#8220;Delete&#8221;, is extremely easy to select and erase useless text.</p>
<h3>Yearning for Blue Wave and FidoNet</h3>
<p>Before going into user interfaces and mobile devices, I&#8217;d like to take a momento to show my yearning feeling for the times where I wrote in <a href="http://en.wikipedia.org/wiki/FidoNet">FidoNet</a>, even before the Internet started to be popular in Tijuana (1994 to 1996).</p>
<p>In FidoNet, it was common to do this a little different. I used a popular shareware named <a href="http://en.wikipedia.org/wiki/Blue_Wave">Blue Wave Offline Reader</a>. Many of us used Blue Wave, which had a particular way of preparing the quoted text before putting it into the editor:</p>
<blockquote><pre>
On Fri, Jun 26 2009 17:42:34 -0700, Hitsuo Tikashi said:
 HT> Octavio:
 HT>
 HT> Is the maintenance window on next Thursday?
 HT>
 HT> Who's going to execute the changes?
 HT>
 HT> Regards.
 HT>
 HT> ---
 HT> Hitsuo Tikashi.
 HT> Infrastructure Services Manager.
 HT> Integrated Systems, Inc.
 HT> T. +1 (619) 555-1234
 HT> E. hitsuo.tikashi@sistint.com.mx
</pre>
</blockquote>
<p>The interesting thing is not in the inline replying. Same as today, a couple of Enters in the right place allowed me to reply in-line.</p>
<p>To erase from &#8220;Regards&#8221; on, still same as today: I place the cursor in the &#8220;R&#8221; from &#8220;Regards&#8221; and Shift+Ctrl+End, Delete and voilà: message is clean.</p>
<p>And so was my answer:</p>
<blockquote><pre>
On Fri, Jun 26 2009 17:42:34 -0700, Hitsuo Tikashi said:
 HT> Octavio:
 HT>
 HT> Is the maintenance window on next Thursday?

 Yes. Even thought the changes are not considered to be critical, in case
 of a possible failure we will affect our service level agreements,
 because less than 30 days ago our carriers suffered an outage.

 HT> Who's going to execute the changes?

 I am.
</pre>
</blockquote>
<p>What is really interesting is that when the original sender tried to reply me back, the text would be automatically adjusted to the line length (properly word wrapped) and quoted in the following way:</p>
<blockquote><pre>
On Fri, Jun 26 2009 17:42:34 -0700, Octavio Alvarez said:
 HT> Octavio:
 HT>
 HT> Is the maintenance window on next Thursday?
 OA>
 OA> Yes. Even thought the changes are not considered to be critial, in
 OA> case of a possible failure we will affect our service level
 OA> agreements, because less than 30 days ago our carriers suffered an
 OA> outage.

 Acknowledged. I leave it in your hands and keep me informed.

 HT> Who's going to execute the changes?
 OA>
 OA> I am.

 BTW, who will monitor and operate the services the next day?
</pre>
</blockquote>
<p>In the example, the user interleaved its answers to me.</p>
<p>Notice how the quoted lines don&#8217;t exactly match the original lines. those were modified intelligently, being considered as a paragraph and adjusted to keep a solid and consistent text block.</p>
<p>Also, notice how the text is clear enough and easy to follow; even more if the reader and editor software puts the different authors in different colors.</p>
<p>This style, beyond organized is scalable. After multiple iterations, the format and the text are kept organized.</p>
<blockquote><pre>
On Fri, Jun 26 2009 17:42:34 -0700, Octavio Alvarez said:
 HT> Octavio:
 HT>
 HT> Is the maintenance window on next Thursday?
 OA>
 OA> Yes. Even thought the changes are not considered to be critial, in
 OA> case of a possible failure we will affect our service level
 OA> agreements, because less than 30 days ago our carriers suffered an
 OA> outage.
 HT>
 HT> Acknowledged. I leave it in your hands and keep me informed.
 OA>
 OA> Ok, I'll send you an SMS, according to the procedure.

 And please send it to me via e-mail, also.

 HT> Who's going to execute the changes?
 OA>
 OA> I am.
 HT>
 HT> BTW, who will monitor and operate the services the next day?
 OA>
 OA> It would be the new team member, but we have already asked everyone
 OA> else to be alert and ready in case of any eventuality.

 Have you exchanged phone numbers yet?
</pre>
</blockquote>
<p>From my point of view, this is much more intelligent than its popular counterpart:</p>
<blockquote><pre>
On Mon, Jun 29 2009 17:42:34 -0700, Octavio Alvarez &lt;alvarezp@alvarezp.ods.org> said:
> On Sun, Jun 28 2009 17:42:34 -0700, Hitsuo Tikashi &lt;hitsuo.tikashi@sistint.com.mx> said:
> > On Sat, Jun 27 2009 17:42:34 -0700, Octavio Alvarez &lt;alvarezp@alvarezp.ods.org> said:
> > > On Fri, Jun 26 2009 17:42:34 -0700, Hitsuo Tikashi &lt;hitsuo.tikashi@sistint.com.mx> said:
> > > > Octavio:
> > > >
> > > > Is the maintenance window on next Thursday?
> > >
> > > Yes. Even thought the changes are not considered to be critial, in
> > > case of a possible failure we will affect our service level
> > > agreements, because less than 30 days ago our carriers suffered an
> > > outage.
> >
> > Acknowledged. I leave it in your hands and keep me informed.
>
> Ok, I'll send you an SMS, according to the procedure.

And please send it to me via e-mail, also.

> > > > Who's going to execute the changes?
> > >
> > > I am.
> >
> > BTW, who will monitor and operate the services the next day?
>
> It would be the new team member, but we have already asked everyone else
> to be alert and ready in case of any eventuality.

Have you exchanged phone numbers yet?
</pre>
</blockquote>
<p>This is the best the current e-mail practices can get us. It is not bad, but only if the authors and client software follow the etiquette.</p>
<p>If not, we get:</p>
<ul>
<li>Badly nested quoting prefixes like: > >> > >>> ></li>
<li>Badly split lines for exceeding a line length.</li>
<li>Fully quoted messages, including irrelevant paragraphs.</li>
<li>HTML garbage from improper tag handling.</li>
<li>Messages full of signatures and legal texts (sometimes in more than one language per message).</li>
</ul>
<p>Even though a message from an author that followed the etiquette is a lot better than what we see in a day-to-day basis, i feel it far from the comfort of working in the Blue Wave / FidoNet style.</p>
<h3>About user interfaces</h3>
<p>E-mail clients fail in promoting the etiquette culture in e-mail messaging.</p>
<p>I think there could be a signature detection mechanism and automatically exclude it from the quoted text. This would save us from getting three copies of the same bulk after three replies:</p>
<blockquote><pre>
> ---
> Hitsuo Tikashi.
> Infrastructure Services Manager.
> Integrated Systems, Inc.
> T. +1 (619) 555-1234
> E. hitsuo.tikashi@sistint.com.mx
>
> The content of this e-mail message and its attachments is confidential
> and may be protected by Copyright law. It is intended exclusively to the
> addressees and them only. If you have received it by mistake, you must
> eliminate it from your system. In this case you are not allowed to copy,
> print or distribute this e-mail or its attachments nor use them for any
> purpose of allowing its contents to be known by any person. The here
> included information is not necesarily backed up by [CORPORATION NAME]
> or any of its subsidiaries or strategic alliances.
>
> Please consider the environment before printing this message.
</pre>
</blockquote>
<p>Note: I&#8217;ve seen that last line in some messages. I included it because I just couldn&#8217;t help myself from using my poor sarcasm after seeing that call for the ecology right after that waste of electricity and disk space (that is usually in HTML format).</p>
<h3>Mobile devices</h3>
<p>In a 160&#215;320 screen and an itsy bitsy teenie weenie keyboard one could argue that is difficult to do all of this editing in a practical way. However, in the same way new mobile devices present the user an appropriate interface to do other common tasks in a different way, it is the UI that holds how easy or impossible the editing would be.</p>
<p>If in-line posting were popular, a mobile device would have a function or command to &#8220;answer below this paragraph&#8221; or &#8220;navigate by paragraph&#8221; and choose &#8220;reply, leave or snip&#8221; each of them and maybe even an option to &#8220;erase the rest of the text&#8221;.</p>
<p>If the UI doesn&#8217;t have it, it is because in-line posting has not been that popular and not requested enough. It is still a deficiency, though.</p>
<h3>Conclusions</h3>
<p>I&#8217;ve tried to show show the style in example F is the most organized and scalable among all possible, based on previous experience from Blue Wave and FidoNet.</p>
<p>Personally, I try to go with the same style that most of the people use in the same context. It&#8217;s the best. A people replying with interposting in a mailing list where everybody top-post (for example, at work) will only confuse for everybody.</p>
<p>I have nothing else to say than to throw a call to those that participate in discussion groups, mailing lists (and, in particular those in technical areas) that at least we observe this etiquette guides among ourselves:</p>
<ul>
<li>Reply in line to the topics in the original answer.</li>
<li>Eliminate irrelevant parts of the quoted message. Signatures and legal texts in particular.</li>
<li>Rearrange illegible paragraphs (word wrapping, for example).</li>
<li>Use correct spelling and grammar.</li>
<li>Back our text up with emoticons if confusion might arise.</li>
</ul>
<p>Thank for the patience to read all the way to here.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2009/12/24/etiquette-in-e-mail-message-quoting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Operación contraintuitiva de &#8220;patch&#8221;</title>
		<link>http://blog.alvarezp.org/2009/12/22/operacion-contraintuitiva-de-patch/</link>
		<comments>http://blog.alvarezp.org/2009/12/22/operacion-contraintuitiva-de-patch/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 18:52:39 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[Computación]]></category>
		<category><![CDATA[Español]]></category>
		<category><![CDATA[Planet Gultij]]></category>
		<category><![CDATA[Planeta Linux]]></category>
		<category><![CDATA[Queja]]></category>
		<category><![CDATA[Software libre]]></category>
		<category><![CDATA[Tenía que ser un geek.]]></category>

		<guid isPermaLink="false">http://blog.alvarezp.org/?p=880</guid>
		<description><![CDATA[Este es un ejemplo de lo que NO se debe hacer al diseñar un software.
[Sun Dec 20 14:37:42 -0800 -- alvarezp@octavio:~/patch-test]
$ ls -l
total 24
-rw-r--r-- 1 alvarezp alvarezp 7127 Dec 20 14:37 slpcall.bak
-rw-r--r-- 1 alvarezp alvarezp 7127 Dec 20 14:37 slpcall.c
-rw-r--r-- 1 alvarezp alvarezp 7232 Dec 20 14:37 slpcall.c.2

[Sun Dec 20 14:37:43 -0800 -- alvarezp@octavio:~/patch-test]
$ diff [...]]]></description>
			<content:encoded><![CDATA[<p>Este es un ejemplo de lo que NO se debe hacer al diseñar un software.</p>
<pre class="code">[Sun Dec 20 14:37:42 -0800 -- alvarezp@octavio:~/patch-test]
$ ls -l
total 24
-rw-r--r-- 1 alvarezp alvarezp 7127 Dec 20 14:37 slpcall.bak
-rw-r--r-- 1 alvarezp alvarezp 7127 Dec 20 14:37 slpcall.c
-rw-r--r-- 1 alvarezp alvarezp 7232 Dec 20 14:37 slpcall.c.2

[Sun Dec 20 14:37:43 -0800 -- alvarezp@octavio:~/patch-test]
$ diff -u slpcall.c slpcall.c.2 > p

[Sun Dec 20 14:37:57 -0800 -- alvarezp@octavio:~/patch-test]
$ cat p
--- slpcall.c	2009-12-20 14:37:36.000000000 -0800
+++ slpcall.c.2	2009-12-20 14:37:36.000000000 -0800
@@ -66,6 +66,11 @@

 	slpcall->slplink = slplink;

+	slpcall->wait_for_socket = FALSE;
+	slpcall->xfer = NULL;
+	slpcall->dc = NULL;
+	slpcall->branch = NULL;
+
 	msn_slplink_add_slpcall(slplink, slpcall);

 	slpcall->timer = purple_timeout_add_seconds(MSN_SLPCALL_TIMEOUT, msn_slpcall_timeout, slpcall);

[Sun Dec 20 14:38:00 -0800 -- alvarezp@octavio:~/patch-test]
$ diff -u slpcall.bak slpcall.c # .bak is a backup of original

[Sun Dec 20 14:38:19 -0800 -- alvarezp@octavio:~/patch-test]
$ patch < p
patching file slpcall.c
</pre>
<p>Hasta aquí, todo bien.</p>
</pre>
<pre class="code">[Sun Dec 20 14:38:53 -0800 -- alvarezp@octavio:~/patch-test]
$ cp slpcall.bak slpcall.c

[Sun Dec 20 14:39:02 -0800 -- alvarezp@octavio:~/patch-test]
$ mkdir x

[Sun Dec 20 14:39:04 -0800 -- alvarezp@octavio:~/patch-test]
$ mv slpcall* x/

[Sun Dec 20 14:39:06 -0800 -- alvarezp@octavio:~/patch-test]
$ ls -l
total 8
-rw-r--r-- 1 alvarezp alvarezp  410 Dec 20 14:37 p
drwxr-xr-x 2 alvarezp alvarezp 4096 Dec 20 14:39 x

[Sun Dec 20 14:39:08 -0800 -- alvarezp@octavio:~/patch-test]
$ diff -u x/slpcall.c x/slpcall.c.2 > px

[Sun Dec 20 14:39:20 -0800 -- alvarezp@octavio:~/patch-test]
$ cat px
--- x/slpcall.c	2009-12-20 14:39:02.000000000 -0800
+++ x/slpcall.c.2	2009-12-20 14:37:36.000000000 -0800
@@ -66,6 +66,11 @@

 	slpcall->slplink = slplink;

+	slpcall->wait_for_socket = FALSE;
+	slpcall->xfer = NULL;
+	slpcall->dc = NULL;
+	slpcall->branch = NULL;
+
 	msn_slplink_add_slpcall(slplink, slpcall);

 	slpcall->timer = purple_timeout_add_seconds(MSN_SLPCALL_TIMEOUT, msn_slpcall_timeout, slpcall);

[Sun Dec 20 14:39:22 -0800 -- alvarezp@octavio:~/patch-test]
$ patch < px
patching file slpcall.c.2
Hunk #1 FAILED at 66.
1 out of 1 hunk FAILED -- saving rejects to file slpcall.c.2.rej
</pre>
<p>¿La solución?</p>
</pre>
<pre class="code">
patch -p0 < px
</pre>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2009/12/22/operacion-contraintuitiva-de-patch/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Sin alternativa</title>
		<link>http://blog.alvarezp.org/2009/11/06/sin-alternativa/</link>
		<comments>http://blog.alvarezp.org/2009/11/06/sin-alternativa/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 17:54:48 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[Anécdota]]></category>
		<category><![CDATA[Opera browser]]></category>
		<category><![CDATA[Tenía que ser un geek.]]></category>

		<guid isPermaLink="false">http://blog.alvarezp.org/?p=835</guid>
		<description><![CDATA[Estaba revisando mi correo electrónico y quise mover un mensaje de una carpeta IMAP a otra en Opera, cuando de pronto:

El texto dice:
Uno o más de los mensajes seleccionados no tienen el cuerpo descargado localmente, ¿Desea que Opera descargue los cuerpos faltantes antes de la exportación (sumamente recomendado)?
:-D
]]></description>
			<content:encoded><![CDATA[<p>Estaba revisando mi correo electrónico y quise mover un mensaje de una carpeta IMAP a otra en Opera, cuando de pronto:</p>
<p><a href="http://blog.alvarezp.org/wp-content/uploads/2009/11/opera.png"><img src="http://blog.alvarezp.org/wp-content/uploads/2009/11/opera.png" alt="sin-alternativas" title="sin-alternativas" width="440" height="171" class="aligncenter size-full wp-image-836" /></a></p>
<p>El texto dice:</p>
<blockquote><p>Uno o más de los mensajes seleccionados no tienen el cuerpo descargado localmente, ¿Desea que Opera descargue los cuerpos faltantes antes de la exportación (sumamente recomendado)?</p></blockquote>
<p>:-D</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2009/11/06/sin-alternativa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CCNA revalidation</title>
		<link>http://blog.alvarezp.org/2009/06/15/ccna-revalidation/</link>
		<comments>http://blog.alvarezp.org/2009/06/15/ccna-revalidation/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 05:25:54 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[Net-admin]]></category>
		<category><![CDATA[Tenía que ser un geek.]]></category>

		<guid isPermaLink="false">http://alvarezp.ods.org/blog/?p=417</guid>
		<description><![CDATA[Today I passed the Cisco Composite exam, which extends my CCNA certification for three more years, and is a great leap towards certification in the CCNP program.
I just have to wait for Cisco to mark my exam as &#8220;valid&#8221;. I don&#8217;t find any reason for them not to.
I gotta take some rest for a few [...]]]></description>
			<content:encoded><![CDATA[<p>Today I passed the Cisco <a href="http://www.cisco.com/web/learning/le3/current_exams/642-892.html">Composite</a> exam, which extends my <a href="http://www.cisco.com/web/learning/le3/le2/le0/le9/learning_certification_type_home.html">CCNA</a> certification for three more years, and is a great leap towards certification in the <a href="http://www.cisco.com/web/learning/le3/le2/le37/le10/learning_certification_type_home.html">CCNP</a> program.</p>
<p>I just have to wait for Cisco to mark my exam as &#8220;valid&#8221;. I don&#8217;t find any reason for them not to.</p>
<p>I gotta take some rest for a few days. Next stop: <a href="http://www.cisco.com/web/learning/le3/current_exams/642-825.html">ISCW</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2009/06/15/ccna-revalidation/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cómo quemar CDs de Windows legalmente</title>
		<link>http://blog.alvarezp.org/2009/05/11/como-quemar-cds-de-windows-legalmente/</link>
		<comments>http://blog.alvarezp.org/2009/05/11/como-quemar-cds-de-windows-legalmente/#comments</comments>
		<pubDate>Mon, 11 May 2009 07:00:19 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[Español]]></category>
		<category><![CDATA[Planet Gultij]]></category>
		<category><![CDATA[Tenía que ser un geek.]]></category>

		<guid isPermaLink="false">http://alvarezp.ods.org/blog/?p=236</guid>
		<description><![CDATA[Autores: Gultij.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://alvarezp.ods.org/blog/wp-content/uploads/2009/05/img_0049.jpg"><img src="http://alvarezp.ods.org/blog/wp-content/uploads/2009/05/img_0049-300x225.jpg" alt="burn_cd_1" title="burn_cd_1" width="300" height="225" class="alignleft size-medium wp-image-235" /></a><a href="http://alvarezp.ods.org/blog/wp-content/uploads/2009/05/img_0051.jpg"><img src="http://alvarezp.ods.org/blog/wp-content/uploads/2009/05/img_0051-300x225.jpg" alt="burn_cd_2" title="burn_cd_2" width="300" height="225" class="alignleft size-medium wp-image-237" /></a><br style="clear: both"/></p>
<p>Autores: Gultij.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2009/05/11/como-quemar-cds-de-windows-legalmente/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>1234567890</title>
		<link>http://blog.alvarezp.org/2009/02/13/1234567890/</link>
		<comments>http://blog.alvarezp.org/2009/02/13/1234567890/#comments</comments>
		<pubDate>Sat, 14 Feb 2009 00:15:10 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[Planet Gultij]]></category>
		<category><![CDATA[Tenía que ser un geek.]]></category>

		<guid isPermaLink="false">http://alvarezp.ods.org/blog/?p=190</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><a href="http://alvarezp.ods.org/blog/imagenes/1234567890.png"><img style="max-width: 640px" src="http://alvarezp.ods.org/blog/imagenes/1234567890.png"/></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2009/02/13/1234567890/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Del porqué de la encuesta de tamaños de imagen y sentido común</title>
		<link>http://blog.alvarezp.org/2008/10/18/del-porque-de-la-encuesta-de-tamanos-de-imagen-y-sentido-comun/</link>
		<comments>http://blog.alvarezp.org/2008/10/18/del-porque-de-la-encuesta-de-tamanos-de-imagen-y-sentido-comun/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 20:44:37 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[Planet Gultij]]></category>
		<category><![CDATA[Tenía que ser un geek.]]></category>

		<guid isPermaLink="false">http://alvarezp.ods.org/blog/?p=183</guid>
		<description><![CDATA[Bien, en vista de que no hubo más comentarios, planteo de dónde salió mi duda.
La pregunta era:
Si les ponen la encomienda de reducir una imagen al 50% de su tamaño manteniendo la razón de aspecto, y la imagen mide originalmente 1 m x 1 m a 200 dpi, ¿cómo la entregan?
De los votos que estuvieron [...]]]></description>
			<content:encoded><![CDATA[<p>Bien, en vista de que no hubo más comentarios, planteo de dónde salió mi duda.</p>
<p>La pregunta era:</p>
<blockquote><p>Si les ponen la encomienda de reducir una imagen al 50% de su tamaño manteniendo la razón de aspecto, y la imagen mide originalmente 1 m x 1 m a 200 dpi, ¿cómo la entregan?</p></blockquote>
<p>De los votos que estuvieron dentro de las opciones, hubo 2 votos por la opción &#8220;entregarla en 0.5 m x 0.5 m a 200 dpi&#8221;, es decir, misma resolución, diferente tamaño por lado.</p>
<p>Sin embargo, una imagen de 0.5m x 0.5m cabe 4 veces en una imagen de 1m x 1m. Esto significa que estamos reduciendo al 25% la imagen original (y no al 50% como se pidió). Lo que en realidad está sucediendo es que ese &#8220;50%&#8221; es por cada uno de sus lados, y 50% x 50% = 25%.</p>
<p>Lo podemos comprobar con Gimp:</p>
<ol>
<li>Configuramos las preferencias para un tamaño máximo de memoria a 128 MB.</li>
<li>Creamos la imagen de <em>1000 mm x 1000 mm a 200 dpi</em>. GIMP nos reclama que estamos tratando de crear una imagen de 551 MB.</li>
<li>Intentamos la opción I: <em>500 mm x 500 mm a 200 dpi</em>. GIMP nos reclama que estamos tratando de crear una imagen de 137 MB MB, aproximadamente el 25% de la imagen original.</li>
<li>Intentamos la opción E: <em>707.1 mm x 707.1 mm a 200 dpi</em>. GIMP nos reclama que estamos tratando de crear una imagen de 275 MB MB, aproximadamente el 50% de la imagen original.</li>
<li>Regresamos las preferencias de Gimp al valor original.</li>
</ol>
<p>Sin embargo, aunque matemáticamente la respuesta sería la E, dado que el tamaño de una imagen es su superficie (su área), es algo que aparenta ser antinatural. Para sacar el 40% del tamaño de una imagen, multiplicamos cada lado por SQRT(40/100), lo cual no es agradable (o bien, multiplicar el dpi por SQRT[40/100]).</p>
<p>Entonces, considerando esto, la intención original de mi pregunta era <em>sobre la costumbre</em> entre la gente que a esto se dedica: si cuando se pedía una amplificación o una reducción de imagen, se acostumbra hablar de un porcentaje de la imagen calculado sobre su área o cada uno de sus lados.</p>
<p>Gracias a los que comentaron, y saludos.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2008/10/18/del-porque-de-la-encuesta-de-tamanos-de-imagen-y-sentido-comun/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Encuesta de tamaños de imagen y sentido común</title>
		<link>http://blog.alvarezp.org/2008/10/09/encuesta-de-tamanos-de-imagen-y-sentido-comun/</link>
		<comments>http://blog.alvarezp.org/2008/10/09/encuesta-de-tamanos-de-imagen-y-sentido-comun/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 01:21:54 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[Planet Gultij]]></category>
		<category><![CDATA[Tenía que ser un geek.]]></category>

		<guid isPermaLink="false">http://alvarezp.ods.org/blog/?p=182</guid>
		<description><![CDATA[Recurro a ustedes para preguntar su opinión sobre el siguiente dilema que se le presentó a alguien que conozco. Aunque yo tengo mi propia respuesta, yo pienso como ingeniero, no conozco las prácticas ni las costumbres ni los problemas diarios de los diseñadores. Por eso abogo a su sentido común para que me den su [...]]]></description>
			<content:encoded><![CDATA[<p>Recurro a ustedes para preguntar su opinión sobre el siguiente dilema que se le presentó a alguien que conozco. Aunque yo tengo mi propia respuesta, yo pienso como ingeniero, no conozco las prácticas ni las costumbres ni los problemas diarios de los diseñadores. Por eso abogo a su sentido común para que me den su opinión.</p>
<p><strong>Si les ponen la encomienda de reducir una imagen al 50% de su tamaño manteniendo la razón de aspecto, y la imagen mide originalmente 1 m x 1 m a 200 dpi, ¿cómo la entregan?</strong></p>
<p>(Les agradecería que formularan su respuesta antes de leer los comentarios)</p>
<p>(En mi opinión, puede haber más de 1 respuesta, según el enfoque.)</p>
<p>Opción A: la entregan en 2 m x 2 m a 100 dpi.<br />
Opción B: la entregan en 1 m x 1 m a 200 dpi.<br />
Opción C: la entregan en 1 m x 1 m a 100 dpi.<br />
Opción D: la entregan a 0.71 m x 0.71 m a 400 dpi.<br />
Opción E: la entregan a 0.71 m x 0.71 m a 200 dpi.<br />
Opción F: la entregan a 0.71 m x 0.71 m a 100 dpi.<br />
Opción G: la entregan en 0.5 m x 0.5 m a 800 dpi.<br />
Opción H: la entregan en 0.5 m x 0.5 m a 400 dpi.<br />
Opción I: la entregan en 0.5 m x 0.5 m a 200 dpi.<br />
Opción J: la entregan en 0.5 m x 0.5 m a 100 dpi.<br />
Opción K: Ninguna de las anteriores (esta opción es nomás por joder).</p>
<p>Si existe alguna explicación para avalar su respuesta, lo agradecería todavía más.</p>
<p>Gracias de antemano.</p>
<p>(Como no tengo ningún plugin para hacer polls, voy a ir actualizando a mano los resultados en estas líneas.)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2008/10/09/encuesta-de-tamanos-de-imagen-y-sentido-comun/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Odio Minesweeper</title>
		<link>http://blog.alvarezp.org/2008/08/10/odio-minesweeper/</link>
		<comments>http://blog.alvarezp.org/2008/08/10/odio-minesweeper/#comments</comments>
		<pubDate>Mon, 11 Aug 2008 05:03:06 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[Tenía que ser un geek.]]></category>

		<guid isPermaLink="false">http://alvarezp.ods.org/blog/?p=172</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p class="center"><img src="http://alvarezp.ods.org/blog/imagenes/odio-ms.gif" alt="Juego de Buscaminas donde la última mina es ambigua." /></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2008/08/10/odio-minesweeper/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</title>
		<link>http://blog.alvarezp.org/2008/07/25/171/</link>
		<comments>http://blog.alvarezp.org/2008/07/25/171/#comments</comments>
		<pubDate>Fri, 25 Jul 2008 14:13:22 +0000</pubDate>
		<dc:creator>alvarezp</dc:creator>
				<category><![CDATA[Mafufadas]]></category>

		<guid isPermaLink="false">http://alvarezp.ods.org/blog/?p=171</guid>
		<description><![CDATA[Tantas vueltas alrededor del Sol y todavía no me mareo.
Let&#8217;s try again.
]]></description>
			<content:encoded><![CDATA[<p>Tantas vueltas alrededor del Sol y todavía no me mareo.</p>
<p>Let&#8217;s try again.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alvarezp.org/2008/07/25/171/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>
