<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.0.7" -->
<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/"
	>

<channel>
	<title>Ebarbeito</title>
	<link>http://enrique.barbeito.org</link>
	<description>Página personal de Enrique Barbeito García</description>
	<pubDate>Sat, 26 Jan 2008 18:55:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.7</generator>
	<language>es-es</language>
			<item>
		<title>Be void* my friend</title>
		<link>http://enrique.barbeito.org/blog/be-void-my-friend/</link>
		<comments>http://enrique.barbeito.org/blog/be-void-my-friend/#comments</comments>
		<pubDate>Tue, 31 Oct 2006 16:48:05 +0000</pubDate>
		<dc:creator>Enrique Barbeito García</dc:creator>
		
		<category>Humor</category>

		<category>C/C++</category>

		<guid isPermaLink="false">http://enrique.barbeito.org/blog/humor/be-void-my-friend/</guid>
		<description><![CDATA[ 


Don&#8217;t get set into one form, adapt it and build your own, and let it grow, be like void*. Empty your mind, be formless, shapeless — like void*. If you put an int into a void*, it becomes the int. You put float into a void* it becomes the float. You put in a char [...] ]]></description>
			<content:encoded><![CDATA[<p>
<div class="cajitaIzq"><a href="http://www.youtube.com/watch?v=OlFUcWd0InU" title="YouTube - Be water my friend"><img src="http://enrique.barbeito.org/img/be-water-bruce-lee.jpg" border="0" /></a></div>
</p>
<blockquote><div class="cita">Don&#8217;t get set into one form, adapt it and build your own, and let it grow, be like void*. Empty your mind, be formless, shapeless — like void*. If you put an int into a void*, it becomes the int. You put float into a void* it becomes the float. You put in a char it becomes the char. Now, void* can flow or it can overflow. <strong>Be void* my friend</strong>.</div>
<div class="referencia">Comentario en <a href="http://barrapunto.com" title="Barrapunto: La información que te interesa">Barrapunto</a>. De <a href="http://barrapunto.com/~McPolu/" title="Usuarios de Barrapunto - McPolu">McPolu</a> — Martes, 31 de Octubre 2006 (<a href="http://barrapunto.com/comments.pl?sid=66624&#038;cid=835986" title="Barrapunto - (void *)(*f)(void *) = NULL;">link</a>)<a href=</div>
</blockquote>]]></content:encoded>
			<wfw:commentRss>http://enrique.barbeito.org/blog/be-void-my-friend/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The Evolution of a Programmer</title>
		<link>http://enrique.barbeito.org/blog/the-evolution-of-a-programmer/</link>
		<comments>http://enrique.barbeito.org/blog/the-evolution-of-a-programmer/#comments</comments>
		<pubDate>Sun, 14 Aug 2005 18:39:23 +0000</pubDate>
		<dc:creator>Enrique Barbeito García</dc:creator>
		
		<category>Programación</category>

		<category>Humor</category>

		<guid isPermaLink="false">/?p=539</guid>
		<description><![CDATA[  Navegando sin rumbo fijo por la embravecida información contenida en del.icio.us, me topo con un gran documento que, doy por sentado, deleitará al público informático presente.
Se trata de The Evolution of a Programmer, un elocuente manifiesto en clave de humor que refleja el ciclo de vida de todo buen programador que se precie. Desde [...] ]]></description>
			<content:encoded><![CDATA[<p> Navegando sin rumbo fijo por la embravecida información contenida en <a href="http://del.icio.us" title="del.icio.us">del.icio.us</a>, me topo con un gran documento que, doy por sentado, deleitará al público informático presente.</p>
<p>Se trata de <a href="http://www.cse.ogi.edu/~diatchki/jokes/programmer.html" title="The Evolution of a Programmer">The Evolution of a Programmer</a>, un elocuente manifiesto en clave de humor que refleja el ciclo de vida de todo buen programador que se precie. Desde los más dulces inicios en tiempos de instituto y acné facial, enamorado del Spectrum y BASIC, hasta la decadencia del propio ser en el <em>lado oscuro de la fuerza</em> ;-) Cuando lo leáis, entenderéis mejor de lo qué estoy hablando jaja.</p>
<p>Aunque el texto apareció publicado originalmente en la página web de <a href="http://www.cse.ogi.edu/~diatchki/" title="Iavor S. Diatchki">Iavor S. Diatchki</a>, está firmado de forma anónima, por lo que a priori se desconoce el autor del mismo.</p>
<p>No revelo más, espero que disfruten del genuino (y sano, aunque no lo parezca :P) humor informático. Con todos ustedes, las etapas del un programador:</p>
<p><a id="more-539"></a></p>
<h5>High School/Jr.High</h5>
<p><pre class="vb"><span style="color: #cc66cc;">10</span> <span style="color: #b1b100;">PRINT</span> <span style="color: #ff0000;">&quot;HELLO WORLD&quot;</span>
<span style="color: #cc66cc;">20</span> <span style="color: #b1b100;">END</span></pre></p>
<h5>First year in College</h5>
<p><pre class="pascal"><span style="color: #000000; font-weight: bold;">program</span> Hello<span style="color: #66cc66;">&#40;</span>input, output<span style="color: #66cc66;">&#41;</span>
  <span style="color: #b1b100;">begin</span>
    <span style="">writeln</span><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Hello World'</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #b1b100;">end</span>.</pre></p>
<h5>Senior year in College</h5>
<p><pre class="lisp"><span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">defun</span> hello
  <span style="color: #66cc66;">&#40;</span>print
    <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">cons</span> 'Hello <span style="color: #66cc66;">&#40;</span><span style="color: #b1b100;">list</span> 'World<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span></pre></p>
<h5>New professional</h5>
<p><pre class="c"><span style="color: #339933;">#include &amp;lt;stdio.h&amp;gt;</span>
<span style="color: #993333;">void</span> main<span style="color: #66cc66;">&#40;</span><span style="color: #993333;">void</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
  <span style="color: #993333;">char</span> *message<span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #66cc66;">&#123;</span><span style="color: #ff0000;">&quot;Hello &quot;</span>, <span style="color: #ff0000;">&quot;World&quot;</span><span style="color: #66cc66;">&#125;</span>;
  <span style="color: #993333;">int</span> i;
&nbsp;
  <span style="color: #b1b100;">for</span><span style="color: #66cc66;">&#40;</span>i = <span style="color: #cc66cc;">0</span>; i &amp;lt; <span style="color: #cc66cc;">2</span>; ++i<span style="color: #66cc66;">&#41;</span>
    <a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;%s&quot;</span>, message<span style="color: #66cc66;">&#91;</span>i<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span>;
  <a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></p>
<h5>Seasoned professional</h5>
<p><pre class="c"><span style="color: #339933;">#include &amp;lt;iostream.h&amp;gt;</span>
<span style="color: #339933;">#include &amp;lt;string.h&amp;gt;</span>
&nbsp;
class <span style="color: #993333;">string</span>
<span style="color: #66cc66;">&#123;</span>
private:
  <span style="color: #993333;">int</span> size;
  <span style="color: #993333;">char</span> *ptr;
&nbsp;
  <span style="color: #993333;">string</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> : size<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>, ptr<span style="color: #66cc66;">&#40;</span>new <span style="color: #993333;">char</span><span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span> ptr<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #cc66cc;">0</span>; <span style="color: #66cc66;">&#125;</span>
&nbsp;
  <span style="color: #993333;">string</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333;">const</span> <span style="color: #993333;">string</span> &amp;s<span style="color: #66cc66;">&#41;</span> : size<span style="color: #66cc66;">&#40;</span>s.<span style="color: #202020;">size</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#123;</span>
    ptr = new <span style="color: #993333;">char</span><span style="color: #66cc66;">&#91;</span>size + <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#93;</span>;
    strcpy<span style="color: #66cc66;">&#40;</span>ptr, s.<span style="color: #202020;">ptr</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  ~<span style="color: #993333;">string</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#123;</span>
    delete <span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> ptr;
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  friend ostream &amp;operator &amp;lt;&amp;lt;<span style="color: #66cc66;">&#40;</span>ostream &amp;, <span style="color: #993333;">const</span> <span style="color: #993333;">string</span> &amp;<span style="color: #66cc66;">&#41;</span>;
  <span style="color: #993333;">string</span> &amp;operator=<span style="color: #66cc66;">&#40;</span><span style="color: #993333;">const</span> <span style="color: #993333;">char</span> *<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>;
&nbsp;
ostream &amp;operator&amp;lt;&amp;lt;<span style="color: #66cc66;">&#40;</span>ostream &amp;stream, <span style="color: #993333;">const</span> <span style="color: #993333;">string</span> &amp;s<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
  <span style="color: #b1b100;">return</span><span style="color: #66cc66;">&#40;</span>stream &amp;lt;&amp;lt; s.<span style="color: #202020;">ptr</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #993333;">string</span> &amp;string::<span style="color: #202020;">operator</span>=<span style="color: #66cc66;">&#40;</span><span style="color: #993333;">const</span> <span style="color: #993333;">char</span> *chrs<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>this != &amp;chrs<span style="color: #66cc66;">&#41;</span>
  <span style="color: #66cc66;">&#123;</span>
    delete <span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span> ptr;
    size = strlen<span style="color: #66cc66;">&#40;</span>chrs<span style="color: #66cc66;">&#41;</span>;
    ptr = new <span style="color: #993333;">char</span><span style="color: #66cc66;">&#91;</span>size + <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#93;</span>;
    strcpy<span style="color: #66cc66;">&#40;</span>ptr, chrs<span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
  <span style="color: #b1b100;">return</span><span style="color: #66cc66;">&#40;</span>*this<span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #993333;">int</span> main<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
  <span style="color: #993333;">string</span> str;
&nbsp;
  str = <span style="color: #ff0000;">&quot;Hello World&quot;</span>;
  <a href="http://www.opengroup.org/onlinepubs/009695399/functions/cout.html"><span style="color: #000066;">cout</span></a> &amp;lt;&amp;lt; str &amp;lt;&amp;lt; endl;
&nbsp;
  <span style="color: #b1b100;">return</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></p>
<h5>Master Programmer</h5>
<p><pre class="php"><span style="color: #66cc66;">&#91;</span>
uuid<span style="color: #66cc66;">&#40;</span>2573F8F4-CFEE-101A-9A9F-00AA00342820<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#93;</span>
library LHello
<span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;">// bring in the master library</span>
    importlib<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;actimp.tlb&quot;</span><span style="color: #66cc66;">&#41;</span>;
    importlib<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;actexp.tlb&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
    <span style="color: #808080; font-style: italic;">// bring in my interfaces</span>
    <span style="color: #808080; font-style: italic;">#include &quot;pshlo.idl&quot;</span>
&nbsp;
    <span style="color: #66cc66;">&#91;</span>
    uuid<span style="color: #66cc66;">&#40;</span>2573F8F5-CFEE-101A-9A9F-00AA00342820<span style="color: #66cc66;">&#41;</span>
    <span style="color: #66cc66;">&#93;</span>
    cotype THello
 <span style="color: #66cc66;">&#123;</span>
 interface IHello;
 interface IPersistFile;
 <span style="color: #66cc66;">&#125;</span>;
<span style="color: #66cc66;">&#125;</span>;
&nbsp;
<span style="color: #66cc66;">&#91;</span>
exe,
uuid<span style="color: #66cc66;">&#40;</span>2573F890-CFEE-101A-9A9F-00AA00342820<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#93;</span>
module CHelloLib
<span style="color: #66cc66;">&#123;</span>
&nbsp;
    <span style="color: #808080; font-style: italic;">// some code related header files</span>
    importheader<span style="color: #66cc66;">&#40;</span>&amp;lt;windows.h&amp;gt;<span style="color: #66cc66;">&#41;</span>;
    importheader<span style="color: #66cc66;">&#40;</span>&amp;lt;ole2.h&amp;gt;<span style="color: #66cc66;">&#41;</span>;
    importheader<span style="color: #66cc66;">&#40;</span>&amp;lt;except.hxx&amp;gt;<span style="color: #66cc66;">&#41;</span>;
    importheader<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;pshlo.h&quot;</span><span style="color: #66cc66;">&#41;</span>;
    importheader<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;shlo.hxx&quot;</span><span style="color: #66cc66;">&#41;</span>;
    importheader<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;mycls.hxx&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
    <span style="color: #808080; font-style: italic;">// needed typelibs</span>
    importlib<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;actimp.tlb&quot;</span><span style="color: #66cc66;">&#41;</span>;
    importlib<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;actexp.tlb&quot;</span><span style="color: #66cc66;">&#41;</span>;
    importlib<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;thlo.tlb&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
    <span style="color: #66cc66;">&#91;</span>
    uuid<span style="color: #66cc66;">&#40;</span>2573F891-CFEE-101A-9A9F-00AA00342820<span style="color: #66cc66;">&#41;</span>,
    aggregatable
    <span style="color: #66cc66;">&#93;</span>
    coclass CHello
 <span style="color: #66cc66;">&#123;</span>
 cotype THello;
 <span style="color: #66cc66;">&#125;</span>;
<span style="color: #66cc66;">&#125;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">#include &quot;ipfix.hxx&quot;</span>
&nbsp;
extern HANDLE hEvent;
&nbsp;
<span style="color: #000000; font-weight: bold;">class</span> CHello : public CHelloBase
<span style="color: #66cc66;">&#123;</span>
public:
    IPFIX<span style="color: #66cc66;">&#40;</span>CLSID_CHello<span style="color: #66cc66;">&#41;</span>;
&nbsp;
    CHello<span style="color: #66cc66;">&#40;</span>IUnknown *pUnk<span style="color: #66cc66;">&#41;</span>;
    ~CHello<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
    HRESULT  __stdcall PrintSz<span style="color: #66cc66;">&#40;</span>LPWSTR pwszString<span style="color: #66cc66;">&#41;</span>;
&nbsp;
private:
    <a href="http://www.php.net/static"><span style="color: #000066;">static</span></a> int cObjRef;
<span style="color: #66cc66;">&#125;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">#include &amp;lt;windows.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &amp;lt;ole2.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &amp;lt;stdio.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &amp;lt;stdlib.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &quot;thlo.h&quot;</span>
<span style="color: #808080; font-style: italic;">#include &quot;pshlo.h&quot;</span>
<span style="color: #808080; font-style: italic;">#include &quot;shlo.hxx&quot;</span>
<span style="color: #808080; font-style: italic;">#include &quot;mycls.hxx&quot;</span>
&nbsp;
int CHello::<span style="color: #006600;">cObjRef</span> = <span style="color: #cc66cc;">0</span>;
&nbsp;
CHello::<span style="color: #006600;">CHello</span><span style="color: #66cc66;">&#40;</span>IUnknown *pUnk<span style="color: #66cc66;">&#41;</span> : CHelloBase<span style="color: #66cc66;">&#40;</span>pUnk<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
    cObjRef++;
    <span style="color: #b1b100;">return</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
HRESULT  __stdcall  CHello::<span style="color: #006600;">PrintSz</span><span style="color: #66cc66;">&#40;</span>LPWSTR pwszString<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
    <a href="http://www.php.net/printf"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;%ws&quot;</span>, pwszString<span style="color: #66cc66;">&#41;</span>;
    <span style="color: #b1b100;">return</span><span style="color: #66cc66;">&#40;</span>ResultFromScode<span style="color: #66cc66;">&#40;</span>S_OK<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
CHello::~CHello<span style="color: #66cc66;">&#40;</span>void<span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
  <span style="color: #808080; font-style: italic;">// when the object count goes to zero, stop the server</span>
  cObjRef--;
  <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span> cObjRef == <span style="color: #cc66cc;">0</span> <span style="color: #66cc66;">&#41;</span>
    PulseEvent<span style="color: #66cc66;">&#40;</span>hEvent<span style="color: #66cc66;">&#41;</span>;
&nbsp;
  <span style="color: #b1b100;">return</span>;
<span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">#include &amp;lt;windows.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &amp;lt;ole2.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &quot;pshlo.h&quot;</span>
<span style="color: #808080; font-style: italic;">#include &quot;shlo.hxx&quot;</span>
<span style="color: #808080; font-style: italic;">#include &quot;mycls.hxx&quot;</span>
&nbsp;
HANDLE hEvent;
&nbsp;
int _cdecl main<span style="color: #66cc66;">&#40;</span>
int argc,
char * argv<span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span>
<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
ULONG ulRef;
DWORD dwRegistration;
CHelloCF *pCF = <span style="color: #000000; font-weight: bold;">new</span> CHelloCF<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
hEvent = CreateEvent<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">NULL</span>, <span style="color: #000000; font-weight: bold;">FALSE</span>, <span style="color: #000000; font-weight: bold;">FALSE</span>, <span style="color: #000000; font-weight: bold;">NULL</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// Initialize the OLE libraries</span>
CoInitializeEx<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">NULL</span>, COINIT_MULTITHREADED<span style="color: #66cc66;">&#41;</span>;
&nbsp;
CoRegisterClassObject<span style="color: #66cc66;">&#40;</span>CLSID_CHello, pCF, CLSCTX_LOCAL_SERVER,
    REGCLS_MULTIPLEUSE, &amp;dwRegistration<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// wait on an event to stop</span>
WaitForSingleObject<span style="color: #66cc66;">&#40;</span>hEvent, INFINITE<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// revoke and release the class object</span>
CoRevokeClassObject<span style="color: #66cc66;">&#40;</span>dwRegistration<span style="color: #66cc66;">&#41;</span>;
ulRef = pCF-&amp;gt;Release<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// Tell OLE we are going away.</span>
CoUninitialize<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #b1b100;">return</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>; <span style="color: #66cc66;">&#125;</span>
&nbsp;
extern CLSID CLSID_CHello;
extern UUID LIBID_CHelloLib;
&nbsp;
CLSID CLSID_CHello = <span style="color: #66cc66;">&#123;</span> <span style="color: #808080; font-style: italic;">/* 2573F891-CFEE-101A-9A9F-00AA00342820 */</span>
    0x2573F891,
    0xCFEE,
    0x101A,
    <span style="color: #66cc66;">&#123;</span> 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>;
&nbsp;
UUID LIBID_CHelloLib = <span style="color: #66cc66;">&#123;</span> <span style="color: #808080; font-style: italic;">/* 2573F890-CFEE-101A-9A9F-00AA00342820 */</span>
    0x2573F890,
    0xCFEE,
    0x101A,
    <span style="color: #66cc66;">&#123;</span> 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">#include &amp;lt;windows.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &amp;lt;ole2.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &amp;lt;stdlib.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &amp;lt;string.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &amp;lt;stdio.h&amp;gt;</span>
<span style="color: #808080; font-style: italic;">#include &quot;pshlo.h&quot;</span>
<span style="color: #808080; font-style: italic;">#include &quot;shlo.hxx&quot;</span>
<span style="color: #808080; font-style: italic;">#include &quot;clsid.h&quot;</span>
&nbsp;
int _cdecl main<span style="color: #66cc66;">&#40;</span>
int argc,
char * argv<span style="color: #66cc66;">&#91;</span><span style="color: #66cc66;">&#93;</span>
<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
HRESULT  hRslt;
IHello        *pHello;
ULONG  ulCnt;
IMoniker * pmk;
WCHAR  wcsT<span style="color: #66cc66;">&#91;</span>_MAX_PATH<span style="color: #66cc66;">&#93;</span>;
WCHAR  wcsPath<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">2</span> * _MAX_PATH<span style="color: #66cc66;">&#93;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// get object path</span>
wcsPath<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\0</span>'</span>;
wcsT<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#93;</span> = <span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\0</span>'</span>;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span> argc &amp;gt; <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
    mbstowcs<span style="color: #66cc66;">&#40;</span>wcsPath, argv<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#93;</span>, <a href="http://www.php.net/strlen"><span style="color: #000066;">strlen</span></a><span style="color: #66cc66;">&#40;</span>argv<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span> + <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
    wcsupr<span style="color: #66cc66;">&#40;</span>wcsPath<span style="color: #66cc66;">&#41;</span>;
    <span style="color: #66cc66;">&#125;</span>
<span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
    fprintf<span style="color: #66cc66;">&#40;</span>stderr, <span style="color: #ff0000;">&quot;Object path must be specified<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #66cc66;">&#41;</span>;
    <span style="color: #b1b100;">return</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
    <span style="color: #66cc66;">&#125;</span>
&nbsp;
<span style="color: #808080; font-style: italic;">// get print string</span>
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>argc &amp;gt; <span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#41;</span>
    mbstowcs<span style="color: #66cc66;">&#40;</span>wcsT, argv<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#93;</span>, <a href="http://www.php.net/strlen"><span style="color: #000066;">strlen</span></a><span style="color: #66cc66;">&#40;</span>argv<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">2</span><span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">&#41;</span> + <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #b1b100;">else</span>
    wcscpy<span style="color: #66cc66;">&#40;</span>wcsT, L<span style="color: #ff0000;">&quot;Hello World&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
<a href="http://www.php.net/printf"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Linking to object %ws<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>, wcsPath<span style="color: #66cc66;">&#41;</span>;
<a href="http://www.php.net/printf"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Text String %ws<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>, wcsT<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #808080; font-style: italic;">// Initialize the OLE libraries</span>
hRslt = CoInitializeEx<span style="color: #66cc66;">&#40;</span><span style="color: #000000; font-weight: bold;">NULL</span>, COINIT_MULTITHREADED<span style="color: #66cc66;">&#41;</span>;
&nbsp;
<span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>SUCCEEDED<span style="color: #66cc66;">&#40;</span>hRslt<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
  hRslt = CreateFileMoniker<span style="color: #66cc66;">&#40;</span>wcsPath, &amp;pmk<span style="color: #66cc66;">&#41;</span>;
  <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>SUCCEEDED<span style="color: #66cc66;">&#40;</span>hRslt<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
    hRslt = BindMoniker<span style="color: #66cc66;">&#40;</span>pmk, <span style="color: #cc66cc;">0</span>, IID_IHello, <span style="color: #66cc66;">&#40;</span>void **<span style="color: #66cc66;">&#41;</span>&amp;pHello<span style="color: #66cc66;">&#41;</span>;
 
  <span style="color: #b1b100;">if</span><span style="color: #66cc66;">&#40;</span>SUCCEEDED<span style="color: #66cc66;">&#40;</span>hRslt<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #808080; font-style: italic;">// print a string out</span>
    pHello-&amp;gt;PrintSz<span style="color: #66cc66;">&#40;</span>wcsT<span style="color: #66cc66;">&#41;</span>;
&nbsp;
    <a href="http://www.php.net/sleep"><span style="color: #000066;">Sleep</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">2000</span><span style="color: #66cc66;">&#41;</span>;
    ulCnt = pHello-&amp;gt;Release<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
  <span style="color: #b1b100;">else</span>
    <a href="http://www.php.net/printf"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Failure to connect, status: %lx&quot;</span>, hRslt<span style="color: #66cc66;">&#41;</span>;
 
  <span style="color: #808080; font-style: italic;">// Tell OLE we are going away.</span>
  CoUninitialize<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
 
<span style="color: #b1b100;">return</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre></p>
<h5>Apprentice Hacker</h5>
<p><pre class="perl"><span style="color: #808080; font-style: italic;">#!/usr/local/bin/perl</span>
<span style="color: #0000ff;">$msg</span>=<span style="color: #ff0000;">&quot;Hello, world.<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>$<span style="color: #808080; font-style: italic;">#ARGV &amp;gt;= 0) {</span>
  <span style="color: #b1b100;">while</span><span style="color: #66cc66;">&#40;</span><a href="http://www.perldoc.com/perl5.6/pod/func/defined.html"><span style="color: #000066;">defined</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$arg</span>=<a href="http://www.perldoc.com/perl5.6/pod/func/shift.html"><span style="color: #000066;">shift</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">@ARGV</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
    <span style="color: #0000ff;">$outfilename</span> = <span style="color: #0000ff;">$arg</span>;
    <a href="http://www.perldoc.com/perl5.6/pod/func/open.html"><span style="color: #000066;">open</span></a><span style="color: #66cc66;">&#40;</span>FILE, <span style="color: #ff0000;">&quot;&amp;gt;&quot;</span> . <span style="color: #0000ff;">$outfilename</span><span style="color: #66cc66;">&#41;</span> || <a href="http://www.perldoc.com/perl5.6/pod/func/die.html"><span style="color: #000066;">die</span></a> <span style="color: #ff0000;">&quot;Can't write $arg: $!<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
    <a href="http://www.perldoc.com/perl5.6/pod/func/print.html"><span style="color: #000066;">print</span></a> <span style="color: #66cc66;">&#40;</span>FILE <span style="color: #0000ff;">$msg</span><span style="color: #66cc66;">&#41;</span>;
    <a href="http://www.perldoc.com/perl5.6/pod/func/close.html"><span style="color: #000066;">close</span></a><span style="color: #66cc66;">&#40;</span>FILE<span style="color: #66cc66;">&#41;</span> || <a href="http://www.perldoc.com/perl5.6/pod/func/die.html"><span style="color: #000066;">die</span></a> <span style="color: #ff0000;">&quot;Can't close $arg: $!<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span>;
  <span style="color: #66cc66;">&#125;</span>
<span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
  <a href="http://www.perldoc.com/perl5.6/pod/func/print.html"><span style="color: #000066;">print</span></a> <span style="color: #66cc66;">&#40;</span><span style="color: #0000ff;">$msg</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span>
<span style="color: #cc66cc;">1</span>;</pre></p>
<h5>Experienced Hacker</h5>
<p><pre class="c"><span style="color: #339933;">#include &amp;lt;stdio.h&amp;gt;</span>
<span style="color: #339933;">#define S &quot;Hello, World\n&quot;</span>
main<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#123;</span>exit<span style="color: #66cc66;">&#40;</span><a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span>S<span style="color: #66cc66;">&#41;</span> == strlen<span style="color: #66cc66;">&#40;</span>S<span style="color: #66cc66;">&#41;</span> ? <span style="color: #cc66cc;">0</span> : <span style="color: #cc66cc;">1</span><span style="color: #66cc66;">&#41;</span>;<span style="color: #66cc66;">&#125;</span></pre></p>
<h5>Seasoned Hacker</h5>
<p><pre class="php">% cc -o a.out ~/src/misc/hw/hw.c
% a.out</pre></p>
<h5>Guru Hacker</h5>
<p><pre class="php">% <a href="http://www.php.net/echo"><span style="color: #000066;">echo</span></a> <span style="color: #ff0000;">&quot;Hello, world.&quot;</span></pre></p>
<h5>New Manager</h5>
<p><pre class="vb"><span style="color: #cc66cc;">10</span> <span style="color: #b1b100;">PRINT</span> <span style="color: #ff0000;">&quot;HELLO WORLD&quot;</span>
<span style="color: #cc66cc;">20</span> <span style="color: #b1b100;">END</span></pre></p>
<h5>Middle Manager</h5>
<p><pre class="php"><a href="http://www.php.net/mail"><span style="color: #000066;">mail</span></a> -s <span style="color: #ff0000;">&quot;Hello, world.&quot;</span> bob@b12
Bob, could you please write me a program that prints <span style="color: #ff0000;">&quot;Hello, world.&quot;</span>?
I need it by tomorrow.
^D</pre></p>
<h5>Senior Manager</h5>
<p><pre class="php">% zmail jim
I need a <span style="color: #ff0000;">&quot;Hello, world.&quot;</span> program by this afternoon.</pre></p>
<h5>Chief Executive</h5>
<p><pre class="php">% letter
letter: Command not found.
% <a href="http://www.php.net/mail"><span style="color: #000066;">mail</span></a>
To: ^X ^F ^C
% help <a href="http://www.php.net/mail"><span style="color: #000066;">mail</span></a>
help: Command not found.
% damn!
!: Event unrecognized
% logout</pre></p>
<div class="referencia">The Evolution of a Programmer (<a href="http://www.cse.ogi.edu/~diatchki/jokes/programmer.html" title="The Evolution of a Programmer">#</a>)</div>
<p>Impresionante ¿eh? Yo me quedo con la última etapa, es genial :-D Y además de una gran verdad; en el momento que dejas de practicar, comienza tu proceso de oxidación (y, éste, tiene límites insospechados como se puede observar jajaja). Y la cosa no queda aquí, para quien quiera más dosis que no se pierda la <a href="http://www.cse.ogi.edu/~diatchki/jokes/" title="Fun stuff">sección de <em>jokes</em></a>, chistes, de Iavor.</p>
<p>Y para terminar, también os dejo con <a href="http://www.willamette.edu/~fruehr/haskell/evolution.html" title="The Evolution of a Haskell Programmer">The Evolution of a Haskell Programmer</a>, un enlace a un texto en la misma línea pero enfocado a programadores de <a href="es.wikipedia.org/wiki/Haskell" title="Haskell - Wikipedia">Haskell</a> y bastante más trabajado por cierto.</p>
<p>Anotaciones relacionadas:
<ul>
<li><a href="http://blog.enrique.barbeito.org/archivos/2003/12/19/el-cdigo-fuente-de-windows-publicado/" title="¡El código fuente de Windows publicado!">¡El código fuente de Windows publicado!</a></li>
<li><a href="http://blog.enrique.barbeito.org/archivos/2005/07/02/the-hello-world-collection/" title="The Hello World Collection">The Hello World Collection</a></li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://enrique.barbeito.org/blog/the-evolution-of-a-programmer/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Gmail = (infinity + 1) GB.</title>
		<link>http://enrique.barbeito.org/blog/gmail-infinity-1-gb/</link>
		<comments>http://enrique.barbeito.org/blog/gmail-infinity-1-gb/#comments</comments>
		<pubDate>Fri, 01 Apr 2005 11:08:27 +0000</pubDate>
		<dc:creator>Enrique Barbeito García</dc:creator>
		
		<category>Humor</category>

		<guid isPermaLink="false">/?p=504</guid>
		<description><![CDATA[  Al parecer, hoy 1 de abril es el, digamos, Día de los Santos Inocentes homólogo en Estados Unidos (no sé si lo es además en otros sitios; por favor corregirme si es necesario). Lo llaman April Fool&#8217;s Day y hoy Gmail, el servicio de correo electrónico gratuito de Google, ha amanecido con la siguiente [...] ]]></description>
			<content:encoded><![CDATA[<p> Al parecer, hoy 1 de abril es el, digamos, <em>Día de los Santos Inocentes</em> homólogo en Estados Unidos (no sé si lo es además en otros sitios; por favor corregirme si es necesario). Lo llaman <a href="http://en.wikipedia.org/wiki/April_fool" title="April Fool's Day">April Fool&#8217;s Day</a> y hoy <a href="http://www.gmail.com" title="Gmail">Gmail</a>, el servicio de correo electrónico gratuito de <a href="http://www.google.es" title="Google">Google</a>, ha amanecido con la siguiente imagen en su página inicial:</p>
<div align="center"><img src="http://enrique.barbeito.org/img/gmail-infinity.gif" alt="gmail-infinity.gif" /></div>
<p>Ya lo veis, ¡<em>hasta el infinito y más allá</em>! Concretamente un gigabyte más. Este diagrama de barras no tiene despercicio alguno, al loro con la <em>marca de agua</em> al más puro estilo posa vasos.</p>
<p>Vía <a href="http://cek.bitacoras.com/archivos/2005/04/01/gmail_ofrece_infinito_1_gb_de_capacidad/" title="GMail ofrece Infinito + 1 GB de capacidad">Ceklog</a>. [ <strong>AVISO</strong>: que nadie me toque los cojones pidiendo invitaciones para abrir una cuenta en Gmail. En serio, <a href="http://blog.enrique.barbeito.org/archivos/2004/09/27/gmail-invitaciones/" title="Gmail, invitaciones">ya tuve bastante</a>. Ya aprendí la lección :-) ] [ por si no ha quedado claro, enfatizo en mi súplica: <strong>NO hay invitaciones</strong> ]
</p>]]></content:encoded>
			<wfw:commentRss>http://enrique.barbeito.org/blog/gmail-infinity-1-gb/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Cálico Electrónico</title>
		<link>http://enrique.barbeito.org/blog/calico-electronico/</link>
		<comments>http://enrique.barbeito.org/blog/calico-electronico/#comments</comments>
		<pubDate>Sun, 20 Feb 2005 23:01:43 +0000</pubDate>
		<dc:creator>Enrique Barbeito García</dc:creator>
		
		<category>Humor</category>

		<guid isPermaLink="false">/?p=494</guid>
		<description><![CDATA[ 


Hace unos días, vía la bitácora de BlueBird en Barrapunto, llegué hasta el sitio web de una mini serie animada en español que me llamó mucho la atención ;-)
Se trata de Cálico Electrónico, una animación humorística que presenta a un super héroe típico americano, del estilo de Superman o Batman, con ese toque de frikismo [...] ]]></description>
			<content:encoded><![CDATA[<p>
<div class="cajitaIzq"><a href="http://www.calicoelectronico.com/" title="CALICOELECTRONICO"><img src="http://enrique.barbeito.org/img/calico.jpg" alt="calico.jpg" border="0" /></a></div>
</p>
<p>Hace unos días, vía la bitácora de <a href="http://barrapunto.com/journal.pl?op=display&#038;id=10699&#038;uid=124" title="¡Ha nacido un nuevo héroe! ... Cálico Electrónico">BlueBird</a> en Barrapunto, llegué hasta el sitio web de una mini serie animada en español que me llamó mucho la atención ;-)</p>
<p>Se trata de <a href="http://www.calicoelectronico.com/" title="CALICOELECTRONICO">Cálico Electrónico</a>, una animación humorística que presenta a un <em>super héroe</em> típico americano, del estilo de <em>Superman</em> o <em>Batman</em>, con ese toque de frikismo / tópico español. Para ser exagerado, digamos que es algo así como una mezcla entre <em>Spiderman</em> y <em>Torrente</em> (ya he dicho que es exagerarlo un &#8220;poco&#8221;). La serie se presenta en un conjunto de pequeños capítulos en los que Cálico Electrónico se enfrentará al <em>super villano</em> de turno. Aunque las historias son bastante simplonas, la animación creada está muy trabajada, además de los diálogos que en muchas ocasiones no tienen desperdicio :-D</p>
<p>Por el momento ya se encuentran disponibles cinco episodios, a la espera de una sexta entrega:</p>
<ol>
<li><a href="http://www.calicoelectronico.com/CE_cap1.html" title="Cálico Electrónico - Capítulo 1">El enemigo digital</a></li>
<li><a href="http://www.calicoelectronico.com/CE_cap2.html" title="Cálico Electrónico - Capítulo 2">Los Rix-Txars Invasores</a></li>
<li><a href="http://www.calicoelectronico.com/CE_cap3.html" title="Cálico Electrónico - Capítulo 3">El lobombre</a></li>
<li><a href="http://www.calicoelectronico.com/CE_cap4.html" title="Cálico Electrónico - Capítulo 4">Los niños Mutantantes de SanIdelfonso</a></li>
<li><a href="http://www.calicoelectronico.com/CE_cap5.html" title="Cálico Electrónico - Capítulo 5">Historia de amor</a></li>
</ol>
<p>El dibujo está muy bien hecho, es del estilo de <em>las super nenas</em> (el episodio de <em>Los niños Mutantantes de SanIdelfonso</em> tiene mucho aire a dicha serie jeje) y la sincronización entre la imagen y el sonido está bastante conseguida. Los detalles también muy cuidados, siempre se sigue el mismo patrón en donde se presenta el capítulo, posteriormente al <em>super villano</em> de marras, la aparición del héroe, primer contacto <em>villano <abbr title="contra">Vs.</abbr> héroe</em>, resolución del problema y finalización / despedida. Aunque la estructura puede ser siempre la misma, cada capítulo guarda algún gag con el que sacarte una carcajada en cada una de las partes citadas ;-) Personalmente lo que más me ha gustado fue la forma que termina cada capítulo, con una serie de &#8220;<em>tomas falsas</em>&#8220;: están geniales en serio :-D</p>
<p>Encima en cada capítulo se hace <em>propaganda subliminal</em> de <a href="http://www.electronicweb2001.com/tienda/catalog/catalog/index.php" title="Tu tienda de tecnología en Internet">Electronic Web</a>, una tienda de electrónica y componentes de informática de Barcelona. Qué queréis que os diga, no se me ocurre forma más original y creativa de darse a conocer y expandir el negocio en Internet; ¡muy bien hecho! ;-)</p>
<p>Se nota bastante que es de producción española. Tal vez algunas partes están bastante ligadas a este país por lo que gente que no viva por aquí puede que no le encuentre la gracia a según que cosas (aunque, lo dudo ;-)). De todos modos, visita muy recomendada para todos los públicos. Y no se pierde mucho tiempo en echarle un vistazo.
</p>]]></content:encoded>
			<wfw:commentRss>http://enrique.barbeito.org/blog/calico-electronico/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A fatal exception has ocurred</title>
		<link>http://enrique.barbeito.org/blog/a-fatal-exception-has-ocurred/</link>
		<comments>http://enrique.barbeito.org/blog/a-fatal-exception-has-ocurred/#comments</comments>
		<pubDate>Wed, 20 Oct 2004 18:09:19 +0000</pubDate>
		<dc:creator>Enrique Barbeito García</dc:creator>
		
		<category>Humor</category>

		<guid isPermaLink="false">/?p=441</guid>
		<description><![CDATA[ 


Un poco de humor ácido-informático, encontrado vía Eguerrero.com ;-)
Las lápidas del fondo tampoco tienen desperdicio alguno. La de la izquierda con el típico icono de &#8220;error crítico&#8221; y todo. Muy original jeje.
 ]]></description>
			<content:encoded><![CDATA[<p>
<div align="center"><img src="http://enrique.barbeito.org/img/exception.jpg" alt="exception.jpg" /></div>
</p>
<p>Un poco de humor <em>ácido-informático</em>, encontrado vía <a href="http://www.eguerrero.com/2004/10/cmo-mueren-los-informticos.html" title=" ¿Cómo mueren los informáticos?">Eguerrero.com</a> ;-)</p>
<p>Las lápidas del fondo tampoco tienen desperdicio alguno. La de la izquierda con el típico icono de &#8220;<em>error crítico</em>&#8221; y todo. Muy original jeje.
</p>]]></content:encoded>
			<wfw:commentRss>http://enrique.barbeito.org/blog/a-fatal-exception-has-ocurred/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Techno homo sapiens</title>
		<link>http://enrique.barbeito.org/blog/techno-homo-sapiens/</link>
		<comments>http://enrique.barbeito.org/blog/techno-homo-sapiens/#comments</comments>
		<pubDate>Sun, 20 Jun 2004 00:05:00 +0000</pubDate>
		<dc:creator>Enrique Barbeito García</dc:creator>
		
		<category>Humor</category>

		<guid isPermaLink="false">/?p=404</guid>
		<description><![CDATA[  
 ]]></description>
			<content:encoded><![CDATA[<p> <center><img src="http://enrique.barbeito.org/img/evolucion.jpg" title="The next human evolution" alt="evolucion.jpg" /></center>
</p>]]></content:encoded>
			<wfw:commentRss>http://enrique.barbeito.org/blog/techno-homo-sapiens/feed/</wfw:commentRss>
		</item>
		<item>
		<title>31 OCT = 25 DEC</title>
		<link>http://enrique.barbeito.org/blog/31-oct-25-dec/</link>
		<comments>http://enrique.barbeito.org/blog/31-oct-25-dec/#comments</comments>
		<pubDate>Fri, 16 Apr 2004 03:56:51 +0000</pubDate>
		<dc:creator>Enrique Barbeito García</dc:creator>
		
		<category>Humor</category>

		<guid isPermaLink="false">/?p=367</guid>
		<description><![CDATA[  Allá va un pequeño chiste (lo encontré aquí)
why do programmers confuse Christmas with Halloween?
Because 31 OCT = 25 DEC.
&#8230; relacionado.
 ]]></description>
			<content:encoded><![CDATA[<p> Allá va un pequeño chiste (lo encontré <a href="http://www.mills.edu/ACAD_INFO/MCS/SPERTUS/Geek/" title="Ellen Spertus">aquí</a>)</p>
<blockquote><p><cite>why do programmers confuse Christmas with Halloween?<br />
Because 31 <abbr title="octal">OCT</abbr> = 25 <abbr title="decimal">DEC</abbr>.</cite></p></blockquote>
<p><a href="http://www.igeek.com/articles/Programming/ComputerCounting.txt" title="Computer Counting">&#8230; relacionado.</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://enrique.barbeito.org/blog/31-oct-25-dec/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adminspotting</title>
		<link>http://enrique.barbeito.org/blog/adminspotting/</link>
		<comments>http://enrique.barbeito.org/blog/adminspotting/#comments</comments>
		<pubDate>Sun, 15 Feb 2004 14:22:54 +0000</pubDate>
		<dc:creator>Enrique Barbeito García</dc:creator>
		
		<category>Humor</category>

		<guid isPermaLink="false">/?p=329</guid>
		<description><![CDATA[ 
Elige no tener vida. Elige no tener cuidado. Elige no tener familia.
Elige un ordenador jodidamente grande, elije discos en array
del tamaño de una lavadora, racks de modems, grabadoras
CD-ROM, y máquinas eléctricas de café. Elige no dormir,
mucho café y un seguro mental. Elige no tener amigos.
Elige vaqueros negros y botas negras de militar. Elije
sillas de tu [...] ]]></description>
			<content:encoded><![CDATA[<blockquote>
<div class="cita">Elige no tener vida. Elige no tener cuidado. Elige no tener familia.<br />
Elige un ordenador jodidamente grande, elije discos en array<br />
del tamaño de una lavadora, racks de modems, grabadoras<br />
<acronym title="Compact Disc">CD</acronym>-ROM, y máquinas eléctricas de café. Elige no dormir,<br />
mucho café y un seguro mental. Elige no tener amigos.<br />
Elige vaqueros negros y botas negras de militar. Elije<br />
sillas de tu oficina entre una variedad de jodidas telas.<br />
Elige <acronym title="Simple Mail Transfer Protocol">SMTP</acronym> y preguntarte porqué eres tan gilipollas que estás<br />
loggeado un Domingo por la mañana. Elige estar sentado en<br />
esa silla giratoria mirando con la mente anestesiada, sitios web<br />
demoledores para el ánimo, rellenando tu boca con jodida comida<br />
basura. Elige pudrirte al final de todo, cabreandote<br />
en algún miserable grupo de news, nada más que<br />
vergüenza en público para los egoistas, jodidos usuarios de<br />
Gates engendrados para remplazar la literatura sobre la computación.</p>
<p><b>Elije tu futuro</b><br />
<b><font color="orange">Elije administrar sistemas</font></b></div>
<div class="referencia">Adminspotting @ alt.sysadmin.recovery - <a href="http://www.adminspotting.org/" target="nwindow" title="The Official Adminspotting Page">www</a></div>
</blockquote>]]></content:encoded>
			<wfw:commentRss>http://enrique.barbeito.org/blog/adminspotting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I love death</title>
		<link>http://enrique.barbeito.org/blog/i-love-death/</link>
		<comments>http://enrique.barbeito.org/blog/i-love-death/#comments</comments>
		<pubDate>Wed, 11 Feb 2004 07:30:57 +0000</pubDate>
		<dc:creator>Enrique Barbeito García</dc:creator>
		
		<category>Humor</category>

		<guid isPermaLink="false">/?p=324</guid>
		<description><![CDATA[  Vía Trasteando me topo con una animación en Flash que me ha encantado por la originalidad y gracia con que está hecha.
Es, sencillamente, genial. Nada más, hay que verla :-)
- I love death
 ]]></description>
			<content:encoded><![CDATA[<p> Vía <a href="http://nkieto.f2o.org/blog/archivos/000062.php" target="nwindow" title="I love death">Trasteando</a> me topo con <a href="http://ky.hkkk.fi/%7Elaari/lodger/ilovedeath.swf" target="nwindow" title="ilovedeath.swf">una animación</a> en Flash que me ha encantado por la originalidad y gracia con que está hecha.</p>
<p>Es, sencillamente, genial. Nada más, hay que verla :-)</p>
<p>- <a href="http://ky.hkkk.fi/%7Elaari/lodger/ilovedeath.swf" target="nwindow" title="ilovedeath.swf">I love death</a>
</p>]]></content:encoded>
			<wfw:commentRss>http://enrique.barbeito.org/blog/i-love-death/feed/</wfw:commentRss>
		</item>
		<item>
		<title>¡El código fuente de Windows publicado!</title>
		<link>http://enrique.barbeito.org/blog/el-cdigo-fuente-de-windows-publicado/</link>
		<comments>http://enrique.barbeito.org/blog/el-cdigo-fuente-de-windows-publicado/#comments</comments>
		<pubDate>Fri, 19 Dec 2003 08:50:50 +0000</pubDate>
		<dc:creator>Enrique Barbeito García</dc:creator>
		
		<category>Humor</category>

		<guid isPermaLink="false">/?p=293</guid>
		<description><![CDATA[  Aunque el título de esta anotación sea muy explícito, se trata solo de una broma :-)
Pongo en negrita eso de broma porque sencillamente tiene ese sentido y no el de ofender a ningún usuario de alguno de los sistemas Windows. Me ha paerecido curioso (aunque me suena de haberlo visto hace mucho tiempo) y [...] ]]></description>
			<content:encoded><![CDATA[<p> Aunque el título de esta anotación sea muy explícito, se trata solo de una <b>broma</b> :-)</p>
<p>Pongo en negrita eso de <em>broma</em> porque sencillamente tiene ese sentido y no el de ofender a ningún usuario de alguno de los sistemas Windows. Me ha paerecido curioso (aunque me suena de haberlo visto hace mucho tiempo) y he optado por incluirlo en mi <em>olvidada</em> categoría de <a href="archives/cat_humor.php" title="Acceso a humor">humor</a> :)</p>
<p>Usurpado de la <a href="http://barrapunto.com/journal.pl?op=display&#038;uid=2090&#038;id=2815" target="nwindow" title="¡El código fuente de Windows publicado!">bitácora de Giorgino</a> en <a href="http://barrapunto.com/" target="nwindow" title=" La información que te interesa">Barrapunto</a><br />
<a id="more-293"></a><br />
<em>Tras una ardua labor de investigación, se ha podido destapar el verdadero codigo fuente:</em></p>
<p><pre class="c"><span style="color: #339933;">#include &quot;Win30.h&quot;</span>
<span style="color: #339933;">#include &quot;Win31.h&quot;</span>
<span style="color: #339933;">#include &quot;Win95.h&quot;</span>
<span style="color: #339933;">#include &quot;AlgoMas.h&quot;</span>
<span style="color: #339933;">#include &quot;CodigoAntiguo.h&quot;</span>
<span style="color: #339933;">#include &quot;NormasDeBillGates.h&quot;</span>
<span style="color: #339933;">#include &quot;CosasDeRelleno.h&quot;</span>
<span style="color: #339933;">#include &quot;Monopoly.h&quot;</span>
&nbsp;
<span style="color: #339933;">#define INSTALAR TODO_SIN_EXCEPCION_Y_A_LO_BESTIA</span>
<span style="color: #339933;">#define CASCAR -5483021548692487811456214478252114545621</span>
&nbsp;
<span style="color: #993333;">static</span> <span style="color: #993333;">char</span> Escritorio<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">16000000</span><span style="color: #66cc66;">&#93;</span>; <span style="color: #808080; font-style: italic;">/* 16 Mb */</span>
<span style="color: #993333;">static</span> <span style="color: #993333;">char</span> Accesorios<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">8000000</span><span style="color: #66cc66;">&#93;</span>; <span style="color: #808080; font-style: italic;">/* 8 Mb */</span>
<span style="color: #993333;">static</span> <span style="color: #993333;">char</span> Explorer4<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">4000000</span><span style="color: #66cc66;">&#93;</span>; <span style="color: #808080; font-style: italic;">/* 4 Mb */</span>
<span style="color: #993333;">static</span> <span style="color: #993333;">char</span> ProgramasDeUsuario<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">2000000</span><span style="color: #66cc66;">&#93;</span>; <span style="color: #808080; font-style: italic;">/* 2 Mb */</span>
<span style="color: #993333;">static</span> <span style="color: #993333;">char</span> MemoriaLibre<span style="color: #66cc66;">&#91;</span><span style="color: #cc66cc;">2000000</span><span style="color: #66cc66;">&#93;</span>; <span style="color: #808080; font-style: italic;">/* 2 Mb */</span>
&nbsp;
<span style="color: #993333;">int</span> main<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #66cc66;">&#123;</span>
  <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span>NoCasque<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
   MostrarMensajeCopyright<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   MostrarMensajeNormasBillGates<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   DesactivarBotonReset<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   BucleParaNoHacerNada<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>PRIMERA_INSTALACION<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
     <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span>TamanyoDiscoSwap<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>
      <span style="color: #66cc66;">&#40;</span>ESPACIO_PARA_WINDOWS_ENTERITO * <span style="color: #cc66cc;">5</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
       Ocupar50MbParaDiscoDeSwap<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
       BucleParaNoHacerNada<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     <span style="color: #66cc66;">&#125;</span>
&nbsp;
     EliminarSistemaDeArchivosHPFS<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     EliminarCualquierRastroDeOS2<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
     DeshabilitarInstalacionDeNetscape<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
     DeshabilitarInstalacionDeRealPlayer<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
     <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>QuedaAlgunRastroSospechoso<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
      ColgarSistema<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   <span style="color: #66cc66;">&#125;</span>
&nbsp;
   MostrarAlgunaCosaBonitaPeroInutil<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   MostrarMensajeCopyrightOtraVez<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   BucleParaNoHacerNada<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   HacerVerQueHaceAlgo<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>SigueSinCascar<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
     MostrarMensajeCopyrightOtraVez<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     BucleParaNoHacerNada<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     EjecutarWin31<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
     <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>AunSigueSinCascar<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
      EjecutarWin30<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
     BucleParaNoHacerNada_1<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     BucleParaNoHacerNada_2<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     BucleParaNoHacerNada_3<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
     BucleParaNoHacerNada_Etcetera<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   <span style="color: #66cc66;">&#125;</span>
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>UsuarioNoAceptaWindowsComoAlgoUtil<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
     <span style="color: #b1b100;">goto</span> VETE_A_SABER_DONDE;
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>SeHaDetectadoCache<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
     DeshabilitarCache<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>CPU_Rapida<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
     EstablecerEstadosDeEspera<span style="color: #66cc66;">&#40;</span>MUCHISIMOS<span style="color: #66cc66;">&#41;</span>;
&nbsp;
     EstablecerRaton<span style="color: #66cc66;">&#40;</span>VELOCIDAD, MUY_LENTO<span style="color: #66cc66;">&#41;</span>;
     EstablecerRaton<span style="color: #66cc66;">&#40;</span>ACCION, DESPLAZARSE_A_SALTOS<span style="color: #66cc66;">&#41;</span>;
     EstablecerRaton<span style="color: #66cc66;">&#40;</span>REACCION, A_VECES<span style="color: #66cc66;">&#41;</span>;
&nbsp;
     EstablecerTeclado<span style="color: #66cc66;">&#40;</span>VELOCIDAD_PARPADEO, MUY_LENTO<span style="color: #66cc66;">&#41;</span>;
&nbsp;
     EstablecerTeclado<span style="color: #66cc66;">&#40;</span>VELOCIDAD_REPETICION, MUY_LENTO<span style="color: #66cc66;">&#41;</span>;
   <span style="color: #66cc66;">&#125;</span>
&nbsp;
   <span style="color: #808080; font-style: italic;">/* printf(&quot;Bienvenido a Windows 3.0&quot;); */</span>
   <span style="color: #808080; font-style: italic;">/* printf(&quot;Bienvenido a Windows 3.1&quot;); */</span>
   <span style="color: #808080; font-style: italic;">/* printf(&quot;Bienvenido a Windows 95&quot;); */</span>
   <a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Bienvenido a Windows 98&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>CPU != INTEL<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
     DeshabilitarRaton<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     DesconfigurarTeclado<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
     ColgarSistema<span style="color: #66cc66;">&#40;</span>INDICADOR_MSDOS<span style="color: #66cc66;">&#41;</span>;
   <span style="color: #66cc66;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #66cc66;">&#123;</span>
     MemoriaDeSistema = open<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;a:swp0001.swp&quot;</span>, O_CREATE<span style="color: #66cc66;">&#41;</span>;
&nbsp;
     <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span>NoHayaSuficienteEspacioEnDisco<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
      <a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Inserte un nuevo disco en la unidad A:&quot;</span><span style="color: #66cc66;">&#41;</span>;
   <span style="color: #66cc66;">&#125;</span>
&nbsp;
   <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span>NOS_SALGA_DE_LOS_HUEVOS<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
     sleep<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">5000</span><span style="color: #66cc66;">&#41;</span>;
     ObtenerEntradaUsuario<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     sleep<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">5000</span><span style="color: #66cc66;">&#41;</span>;
     ReaccionarAPeticionUsuario<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
   <span style="color: #66cc66;">&#125;</span>
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>ObtenerNumeroAlAzar<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> != BINGOOOO<span style="color: #66cc66;">&#41;</span>
     GenerarErrorDeProteccionGeneral<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
   <span style="color: #808080; font-style: italic;">/* Fin de bucle principal */</span>
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  <span style="color: #808080; font-style: italic;">/* Finalizar sesión */</span>
&nbsp;
  <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>AunNoHaCascadoDelTodo<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>ObtenerOtroNumeroAlAzar<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span> != BINGOOOO<span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
     MandarExplorerALaMierda<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
     <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>HayAlgoAbierto<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">&#123;</span>
         Accion = MostrarMensaje<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;¿Desea guardar los datos?&quot;</span><span style="color: #66cc66;">&#41;</span>;
         <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>Accion == SI<span style="color: #66cc66;">&#41;</span>
          GuardarDatos_JAJAJA<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
         MandarloTodoAlCarajo<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span>;
     <span style="color: #66cc66;">&#125;</span>
   <span style="color: #66cc66;">&#125;</span>
&nbsp;
   <a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Windows se está cerrando&quot;</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
   <span style="color: #b1b100;">while</span> <span style="color: #66cc66;">&#40;</span>HAYA_PRISA<span style="color: #66cc66;">&#41;</span>
   sleep<span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">5000</span><span style="color: #66cc66;">&#41;</span>;
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">&#40;</span>UsuarioYaLlegaTardeDondeTeniaQueIr<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>
     <a href="http://www.opengroup.org/onlinepubs/009695399/functions/printf.html"><span style="color: #000066;">printf</span></a><span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">&quot;Ahora puede apagar el equipo.&quot;</span><span style="color: #66cc66;">&#41;</span>;
  <span style="color: #66cc66;">&#125;</span>
&nbsp;
  <span style="color: #b1b100;">return</span> <span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333;">int</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333;">long</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333;">float</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333;">double</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>re <span style="color: #993333;">double</span><span style="color: #66cc66;">&#41;</span>CASCAR<span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>;
<span style="color: #66cc66;">&#125;</span></pre>
</p>]]></content:encoded>
			<wfw:commentRss>http://enrique.barbeito.org/blog/el-cdigo-fuente-de-windows-publicado/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
