<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-455394602501006573</id><updated>2011-11-28T01:13:36.693+01:00</updated><category term='presentación'/><category term='C++'/><category term='C#'/><category term='C++Builder'/><category term='Visual Studio'/><category term='off topic'/><category term='Outlook productividad'/><category term='C++ WCF'/><category term='Citas'/><category term='General'/><category term='WCF'/><category term='Delphi'/><title type='text'>Todo lo que siempre quiso saber sobre programar...</title><subtitle type='html'>Blog de programación y el séptimo arte</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-9116008956692685757</id><published>2010-10-03T18:43:00.002+02:00</published><updated>2010-10-03T18:46:04.253+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='off topic'/><title type='text'>Nuevo Blog</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;span style="font-family: arial;"&gt;Hoy he visto un nuevo blog de lo mas interesante es:&lt;br /&gt;&lt;a href="http://tocadosporeugenia.blogspot.com/"&gt;Tocados por Eugenia&lt;/a&gt;&lt;br /&gt;En este blog se pueden ver los tocados mas exclusivos del momento.&lt;br /&gt;&lt;br /&gt;Espero que os guste&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-9116008956692685757?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/9116008956692685757/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=9116008956692685757' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/9116008956692685757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/9116008956692685757'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2010/10/nuevo-blog.html' title='Nuevo Blog'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-2944198541058117270</id><published>2009-03-30T14:45:00.002+02:00</published><updated>2009-12-07T10:49:13.034+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++ WCF'/><title type='text'>WCF en C++ (2 de 3)</title><content type='html'>En este artículo vamos a crear una aplicación de consola que hace de servidor e implementa la interfaz que definimos en el artículo anterior. A esta aplicación de consola, se conectará el cliente que crearemos en el siguiente artículo para obtener los datos.   &lt;h4&gt;Creación del servidor&lt;/h4&gt; Para implementar el servidor, añadimos una aplicación de consola del CLR a la solución actual. Y a continuación le agregamos las siguientes referencias:   &lt;ol&gt;   &lt;li&gt;Una referencia al proyecto que hemos creado en el artículo anterior, que contiene la interfaz de la hipoteca &lt;/li&gt;    &lt;li&gt;Una referencia a System::ServiceModel (para evitar “error de la compilación” que aparece si no la hacemos) &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;Una vez añadidas estas referencias, procedemos a codificar la clase que implementa la interfaz IHipoteca, así que definimos una clase que deriva de IHipoteca y escribimos el código para el método CuotaMensual:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;&lt;/p&gt; &lt;/blockquote&gt;  &lt;blockquote&gt;   &lt;p&gt;ref class CHipoteca : IHipoteca     &lt;br /&gt;{      &lt;br /&gt;public:      &lt;br /&gt;    virtual double CuotaMensual(double capital, double interes, int meses)      &lt;br /&gt;    {      &lt;br /&gt;        double interes2 = interes / 100.0;      &lt;br /&gt;        double div = 1 + interes2;      &lt;br /&gt;        div = Math::Pow(div, -meses);      &lt;br /&gt;        double resultado = capital * interes2 / (1 - div);      &lt;br /&gt;        Console::WriteLine("Capital: {0}, interes: {1}, meses: {2}, resultado: {3}", capital, interes, meses, resultado);      &lt;br /&gt;        return resultado;      &lt;br /&gt;    }      &lt;br /&gt;};&lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;En esta implementación del método se incluye el capital, la tasa de interés sin dividir por cien y el número de meses de la operación.&lt;/p&gt;  &lt;p&gt;Una vez definido el objeto que va a dar servicio, vamos a crear el servidor. Para ello, usamos la aplicación de consola y ponemos el código necesario según &lt;a href="http://msdn.microsoft.com/es-es/library/ms731082.aspx"&gt;WCF&lt;/a&gt; en el método main: &lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;    Uri^ direccionBase = gcnew Uri("net.tcp://localhost:888/Hipoteca");     &lt;br /&gt;    ServiceHost^ servicio = gcnew ServiceHost(CHipoteca::typeid, direccionBase);      &lt;br /&gt;    servicio-&amp;gt;AddServiceEndpoint(IHipoteca::typeid, gcnew NetTcpBinding(), direccionBase);      &lt;br /&gt;    servicio-&amp;gt;Open();      &lt;br /&gt;    Console::WriteLine("Servicio funcionando ...");      &lt;br /&gt;    Console::WriteLine("Pulse una tecla para acabar");      &lt;br /&gt;    Console::ReadKey();      &lt;br /&gt;    return 0; &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;Ésta se trata de la parte más interesante ya que incluye el ABC de &lt;a href="http://msdn.microsoft.com/es-es/library/ms731082.aspx"&gt;WCF&lt;/a&gt;:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;A de “address”, se encuentra en la primera línea del código de arriba, en el objeto direccionBase; &lt;/li&gt;    &lt;li&gt;B de “binding”, aparece en la tercera línea, cuando se hace gcnew NetTcpBinding(); &lt;/li&gt;    &lt;li&gt;C de “contract”, está en la tercera línea donde se hace IHipoteca::typeid. &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;En el siguiente artículo, veremos cómo crear un cliente que consume este servicio.&lt;/p&gt;  &lt;p&gt;Hasta pronto. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-2944198541058117270?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/2944198541058117270/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=2944198541058117270' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/2944198541058117270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/2944198541058117270'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2009/03/wcf-en-c-2-de-3.html' title='WCF en C++ (2 de 3)'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-9190098252294225475</id><published>2009-02-20T12:48:00.001+01:00</published><updated>2009-02-25T09:11:45.674+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>WCF en C++ (1 de 3)</title><content type='html'>&lt;h4&gt;Introducción&lt;/h4&gt; &lt;a href="http://msdn.microsoft.com/es-es/library/ms731082.aspx" target="_blank"&gt;Windows Communication Foundation&lt;/a&gt; (&lt;a href="http://msdn.microsoft.com/es-es/library/ms731082.aspx" target="_blank"&gt;WCF&lt;/a&gt;) está diseñado para ofrecer un enfoque manejable a la informática distribuida, interoperabilidad ancha y asistencia directa para la orientación sobre el servicio. Como reza en la página Web de Microsoft de la &lt;a href="http://msdn.microsoft.com" target="_blank"&gt;Msdn&lt;/a&gt; En definitiva es una ayuda que nos hace transparente el medio de transporte y en principio nos tenemos que centrar en el contrato. En este ejemplo voy a crear un servidor en C++/CLI que use WCF y en el ultimo artículo desarrollaré un cliente también en C++/CLI que consuma este servicio.   &lt;h4&gt;Contrato&lt;/h4&gt;  &lt;p&gt;En primer lugar crearé una biblioteca de clases en la cual crearé un interfaz que expondrá el contrato, en este caso haré el calculo de la cuota mensual de un préstamo o hipoteca.&lt;/p&gt;  &lt;p&gt;Antes de codificar hay que&amp;#160; añadir la referencia a System::ServiceModel y hacer&amp;#160; un using del namesapce.&lt;/p&gt;  &lt;p&gt;El código de la interfaz es el siguiente:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;namespace Hipoteca { &lt;/p&gt;    &lt;p&gt;&amp;#160; [ServiceContract]&lt;/p&gt;    &lt;p&gt;&amp;#160;&amp;#160;&amp;#160; public interface class IHipoteca      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; { &lt;/p&gt;    &lt;p&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; [OperationContract]      &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160;&amp;#160; double CuotaMensual(double capital, double interes, int meses);       &lt;br /&gt;&amp;#160;&amp;#160;&amp;#160; }       &lt;br /&gt;}&lt;/p&gt; &lt;/blockquote&gt; Con esto ya tenemos nuestra biblioteca de clases, la compilamos y es la que usaremos tanto en el servicio como en el cliente. En esta declaración no hay código, ya que la implementación de esta interfaz se hará en el servidor. Esto es todo por hoy en el próximo artículo crearé el servidor en C++ y en el siguiente haré el cliente que utiliza el servicio.     &lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-9190098252294225475?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/9190098252294225475/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=9190098252294225475' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/9190098252294225475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/9190098252294225475'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2009/02/wcf-en-c-1-de-3.html' title='WCF en C++ (1 de 3)'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-5380073340935027458</id><published>2008-07-25T19:31:00.005+02:00</published><updated>2008-07-25T21:39:50.083+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Delphi'/><category scheme='http://www.blogger.com/atom/ns#' term='C++Builder'/><title type='text'>Nuevo IDE para Delphi llamado Tiburon</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://blogs.codegear.com/files/2008/07/delphi1_722.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px;" src="http://blogs.codegear.com/files/2008/07/delphi1_722.png" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Veo en el blog de &lt;a href="http://blogs.codegear.com/nickhodges/"&gt;Nick Hodges&lt;/a&gt; que ya tienen &lt;a href="http://blogs.codegear.com/nickhodges/2008/07/24/39083/"&gt;pantallas&lt;/a&gt; de proximo entorno de programación para Delphi y C++ Builder que tiene el sugerente nombre de Tiburon.&lt;br /&gt;La imagen es bastante impresioniante ya que se ve el desarrollo de una aplicación que usa el novedoso interfaz de la cinta o como se dice en inglés Ribbon.&lt;br /&gt;&lt;br /&gt;En los blogs de CodeGear se está dando información sobre Tiburon en el que cabe destacar que tiene completo soporte a Unicode, esto también se ve en la imagen.&lt;br /&gt;&lt;br /&gt;Estoy ansioso por ver que nos puede ofrecer este entorno de desarrollo.&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-5380073340935027458?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/5380073340935027458/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=5380073340935027458' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/5380073340935027458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/5380073340935027458'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2008/07/nuevo-ide-para-delphi-llamado-tiburon.html' title='Nuevo IDE para Delphi llamado Tiburon'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-792784091283765344</id><published>2008-04-17T14:22:00.001+02:00</published><updated>2008-04-17T14:22:48.131+02:00</updated><title type='text'>Post creado desde Facebook</title><content type='html'>Una simple entrada para probar como meter un post desde Facebook&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Parece bastante &lt;i&gt;sencillo&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Veremos que tal queda el resultado. ;)&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-792784091283765344?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/792784091283765344/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=792784091283765344' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/792784091283765344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/792784091283765344'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2008/04/post-creado-desde-facebook.html' title='Post creado desde Facebook'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-4635531724776416461</id><published>2008-02-25T06:55:00.002+01:00</published><updated>2008-02-25T08:14:08.396+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Visual Studio'/><title type='text'>Truco para Visual Studio</title><content type='html'>&lt;div xmlns="http://www.w3.org/1999/xhtml"&gt; Hoy os propongo un truco que he visto en &lt;a href="http://feeds.feedburner.com/%7Er/dotNetTipOfTheDay/%7E3/239336882/intellisense-opacity.aspx"&gt;The .Net Tip of Day.org&lt;/a&gt; que consiste en pulsar la tecla Control cuando ha salido el menú contextual de IntelliSense, con esto se consigue que este menú se vuelva transparente y ver el código que hay debajo.&lt;br /&gt;&lt;br /&gt;&lt;p class="poweredbyperformancing"&gt;Powered by &lt;a href="http://scribefire.com/"&gt;ScribeFire&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-4635531724776416461?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/4635531724776416461/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=4635531724776416461' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/4635531724776416461'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/4635531724776416461'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2008/02/truco-para-visual-studio.html' title='Truco para Visual Studio'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-7525688516084463432</id><published>2008-02-21T02:48:00.001+01:00</published><updated>2008-02-21T02:48:05.650+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Citas'/><title type='text'>Las leyes</title><content type='html'>&lt;div xmlns='http://www.w3.org/1999/xhtml'&gt;Voy a introducir un apartado dedicado a citas y empiezo por una de &lt;a href='http://es.wikipedia.org/wiki/G._K._Chesterton'&gt;G. K. Chesterton&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;    "Cuando vulneras las grandes leyes no consigues la libertad, ni siquiera consigues la anarquía. Lo que consigues son pequeñas leyes."&lt;br/&gt;&lt;br/&gt;&lt;a href='http://es.wikipedia.org/wiki/G._K._Chesterton'&gt;G. K. Chesterton&lt;/a&gt;.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p class='poweredbyperformancing'&gt;Powered by &lt;a href='http://scribefire.com/'&gt;ScribeFire&lt;/a&gt;.&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-7525688516084463432?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/7525688516084463432/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=7525688516084463432' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/7525688516084463432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/7525688516084463432'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2008/02/las-leyes.html' title='Las leyes'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-7539240097507692541</id><published>2008-02-20T02:07:00.005+01:00</published><updated>2008-02-20T02:20:05.466+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C++'/><title type='text'>Curiosidades de C++</title><content type='html'>&lt;span style="font-family:georgia;"&gt;Una curiosidad de C++ es el que cuando se accede a un elemento de un array se pueden intercambiar el índice del array con el array, veamos un ejemplo:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="color: rgb(51, 102, 255);"&gt;int&lt;/span&gt; array&lt;span style="font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;20&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;];&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;array&lt;span style="font-weight: bold;"&gt;[&lt;/span&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;0&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;]&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;=&lt;/span&gt; &lt;span style="color: rgb(153, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(153, 0, 0);"&gt;1&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;[&lt;/span&gt;array&lt;span style="font-weight: bold;"&gt;]&lt;/span&gt; &lt;span style="font-weight: bold;"&gt;=&lt;/span&gt; &lt;span style="color: rgb(153, 0, 0);"&gt;2&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:georgia;"&gt;En el pri&lt;span style="font-family:georgia;"&gt;mer caso se accede al primer elemento y en el segundo también, esto compila (que ya es mucho decir) y funciona (que ya es la repera) en cualquier compilador.&lt;br /&gt;&lt;br /&gt;La explicación es bastante sencilla ya que en el fondo un array es un puntero constante, no se puede cambiar el valor del puntero si de lo que apunta, y por lo tanto entra en la aritmetica de punteros y la suma es conmutativa y el orden de los sumandos no altera el resultado.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-7539240097507692541?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/7539240097507692541/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=7539240097507692541' title='1 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/7539240097507692541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/7539240097507692541'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2008/02/curiosidades-de-c.html' title='Curiosidades de C++'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-4806094873398417918</id><published>2008-02-07T06:07:00.001+01:00</published><updated>2008-02-07T06:11:07.516+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='General'/><title type='text'>Aun sigo vivo</title><content type='html'>&lt;p&gt;Despu&amp;#233;s de mucho tiempo sin actualizar el blog ya he vuelto espero tener mas tiempo y poder escribir mas.&lt;/p&gt;  &lt;p&gt;De momento tengo pendiente el tema de Windows Comuniction Foundation, ya estoy preparando la 2&amp;#170; parte que tendr&amp;#233; en unos d&amp;#237;as.&lt;/p&gt;  &lt;p&gt;Para acabar solo comentare el siguiente art&amp;#237;culo &lt;a href="http://www.inter-sections.net/2007/11/13/how-to-recognise-a-good-programmer/" target="_blank"&gt;How to recognise a good programmer&lt;/a&gt; visto a trav&amp;#233;s de &lt;a href="http://meneame.net/story/como-reconocer-buen-programador" target="_blank"&gt;men&amp;#233;ame&lt;/a&gt;. En este articulo se comenta las caracter&amp;#237;sticas de un buen programador en las que estoy totalmente de acuerdo.&lt;/p&gt;  &lt;p&gt;En el art&amp;#237;culo propone 6 puntos en los cuales destaca la habilidades y al final se&amp;#241;ala cuales son los indicadores positivos y cuales los negativos.&lt;/p&gt;  &lt;p&gt;En mi experiencia he podido comprobar que la mayor&amp;#237;a de los indicadores tanto positivos para reconocer un buen programador como los negativos para ver un mal programador son ciertos y se cumplen.&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-4806094873398417918?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/4806094873398417918/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=4806094873398417918' title='2 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/4806094873398417918'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/4806094873398417918'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2008/02/aun-sigo-vivo.html' title='Aun sigo vivo'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-2739148448847665427</id><published>2007-10-04T09:57:00.000+02:00</published><updated>2008-02-07T06:11:35.932+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><title type='text'>Codigo fuente de .Net</title><content type='html'>Leo en el blog de &lt;a href="http://weblogs.asp.net/scottgu/"&gt;Scott Guthrie&lt;/a&gt; que se va a distribuir el &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/10/03/releasing-the-source-code-for-the-net-framework-libraries.aspx"&gt;código fuente del .Net Framework&lt;/a&gt;.&lt;br /&gt;Se va a distribuir con una licencia en la cual vas a poder ver que es lo que se hace pero no se puede modificar.&lt;br /&gt;Esto es una buena noticia, ya que vas a saber en todo momento que es lo que se está haciendo por debajo, y si algo falla vas a saber por qué.&lt;br /&gt;También es una oportunidad para aprender a programar.&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-2739148448847665427?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/2739148448847665427/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=2739148448847665427' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/2739148448847665427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/2739148448847665427'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2007/10/codigo-fuente-de-net.html' title='Codigo fuente de .Net'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-6008414851295868113</id><published>2007-10-01T16:27:00.001+02:00</published><updated>2007-10-01T16:43:34.255+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Outlook productividad'/><title type='text'>Accesos directos para Outlook</title><content type='html'>Veo &lt;a href="http://lifehacker.com/software/outlook-tip/create-outlook-task-note-contact-and-appointment-shortcuts-305428.php"&gt;Lifehacker&lt;/a&gt;  un truco muy interesante para Outlook 2003. Se crea un acceso directo con la  siguiente ruta:&lt;br /&gt;&lt;br /&gt;"%programfiles%\Microsoft Office\Office11\outlook.exe" /c  ipm.note /m dir.at.correo.es&lt;br /&gt;&lt;br /&gt;Al hacer doble clic  sobre el acceso directo te aparece la ventana para mandar un correo a la  dirección señalada despues del parámetro /m.&lt;br /&gt;&lt;br /&gt;En &lt;a href="http://office.microsoft.com/en-gb/outlook/HP010031101033.aspx"&gt;esta  página&lt;/a&gt; encontrarás la información completa sobre todos los parámetros con los que se puede llamar; en el se puede ver como crear tareas nuevas, contactos, etcétera.&lt;br /&gt;&lt;br /&gt;Un truco bastante bueno para aumentar la  productividad.&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-6008414851295868113?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/6008414851295868113/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=6008414851295868113' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/6008414851295868113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/6008414851295868113'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2007/10/accesos-directos-para-outlook.html' title='Accesos directos para Outlook'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-4410824571819431073</id><published>2007-09-26T08:01:00.001+02:00</published><updated>2007-09-27T16:21:25.523+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='C#'/><category scheme='http://www.blogger.com/atom/ns#' term='WCF'/><title type='text'>Introducción a WCF 1ª Parte</title><content type='html'>&lt;p&gt;Windows Comunication Foundation es una tecnología que fue creada con el fin de permitir una programación rápida de sistemas distribuidos y el desarrollo de aplicaciones basadas en arquitecturas orientadas a servicios.&lt;br /&gt;&lt;/p&gt;  &lt;p&gt;WCF se basa en tres conceptos clave que son el contrato, el anfitrión y por ultimo el cliente que va a usar ese contrato. Definir el contrato es declarar una clase en la cual se especifica que métodos y que miembros van a estar disponibles. Después se define un tipo de anfitrión, quien sin ánimo de ser exhaustivo enumero, una aplicación de consola, una aplicación de Windows, un servicio de Windows, un servicio Web, etc. Y por ultimo tememos el cliente que va a usar esa contrato, que puede ser cualquier tipo de aplicación.&lt;/p&gt;  &lt;p&gt;Para empezar esta introducción voy a crear un contrato. Primero declaro una interfaz, también puede valer una clase pero así queda mas claro que es un contrato, en el cual se ponen unos determinando atributos que están declarados dentro del namespace &lt;strong&gt;System.ServiceModel&lt;/strong&gt;. En la declaración de la interfaz se le pone el atributo "ServiceContract" y a cada método "OperationContract" veamos un ejemplo:&lt;/p&gt;  &lt;p&gt;&lt;span style="color:blue;"&gt;using System&lt;/span&gt;;    &lt;br /&gt;&lt;span style="color:blue;"&gt;using System.ServiceModel&lt;/span&gt;;    &lt;br /&gt;  &lt;br /&gt;&lt;span style="color:blue;"&gt;namespace Finalcial&lt;/span&gt;    &lt;br /&gt;{    &lt;br /&gt;    [&lt;span style="color:teal;"&gt;ServiceContract&lt;/span&gt;()]    &lt;br /&gt;    &lt;span style="color:blue;"&gt;public interface&lt;/span&gt; &lt;span style="color:teal;"&gt;IHipoteca&lt;/span&gt;    &lt;br /&gt;    {    &lt;br /&gt;        [&lt;span style="color:teal;"&gt;OperationContract&lt;/span&gt;()]    &lt;br /&gt;        &lt;span style="color:blue;"&gt;double&lt;/span&gt; &lt;span style="color:maroon;"&gt;CuotaMensual&lt;/span&gt;(&lt;span style="color:blue;"&gt;long&lt;/span&gt; &lt;span style="color:silver;"&gt;capital&lt;/span&gt;, &lt;span style="color:blue;"&gt;double&lt;/span&gt; &lt;span style="color:silver;"&gt;interes&lt;/span&gt;, &lt;span style="color:blue;"&gt;int&lt;/span&gt; &lt;span style="color:silver;"&gt;años&lt;/span&gt;);    &lt;br /&gt;    }    &lt;br /&gt;}&lt;/p&gt;&lt;p&gt;En próximas entregas os mostraré como hacer un anfitrión para dar el servicio y un cliente que lo consuma.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-4410824571819431073?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/4410824571819431073/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=4410824571819431073' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/4410824571819431073'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/4410824571819431073'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2007/09/introduccin-wcf-1-parte.html' title='Introducción a WCF 1ª Parte'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-455394602501006573.post-1625142916403028594</id><published>2007-09-19T20:26:00.000+02:00</published><updated>2007-09-19T21:13:45.995+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='presentación'/><title type='text'>Hola Mundo</title><content type='html'>Inicio un nuevo blog, en este caso en vez de dedicarlo solo a un lenguaje como era &lt;a href="http://mundodelphi.blogspot.com/"&gt;Mundo Delphi&lt;/a&gt;, en este lo dedicare a otros lenguajes de programación.&lt;br /&gt;Hablare de la programación en general no centrandome en un solo lenguaje, aunque si me centraré en una plataforma que será &lt;a href="http://www.microsoft.com/spain/windows/default.mspx"&gt;Windows&lt;/a&gt;.&lt;br /&gt;Además de la programación también hablaré algo de cine, el nombre del blog se asemeja a una &lt;a href="http://spanish.imdb.com/title/tt0068555/"&gt;película&lt;/a&gt; de &lt;a href="http://spanish.imdb.com/name/nm0000095/"&gt;Woody Allen&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;Contenido original de &lt;a href=http://todoloquequisosaber.blogspot.com/&gt;Todo lo que quiso saber sobre programación&lt;/a&gt;
Muchas gracias por suscribirte&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/455394602501006573-1625142916403028594?l=todoloquequisosaber.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://todoloquequisosaber.blogspot.com/feeds/1625142916403028594/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=455394602501006573&amp;postID=1625142916403028594' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/1625142916403028594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/455394602501006573/posts/default/1625142916403028594'/><link rel='alternate' type='text/html' href='http://todoloquequisosaber.blogspot.com/2007/09/hola-mundo_19.html' title='Hola Mundo'/><author><name>Bleach</name><uri>http://www.blogger.com/profile/00253299615104246754</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
