<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
   <channel>
      <title>Métodos</title>
      <link>http://metodos.lnds.net/</link>
      <description>Apuntes de un Desarrollador de Software</description>
      <language>es</language>
      <copyright>Copyright 2007</copyright>
      <lastBuildDate>Fri, 20 Apr 2007 10:27:21 -0400</lastBuildDate>
      <generator>http://www.sixapart.com/movabletype/?v=3.34</generator>
      <docs>http://blogs.law.harvard.edu/tech/rss</docs> 

            <item>
         <title>Viernes de Robots</title>
         <description><![CDATA[<p>Todos los viernes, a partir de hoy, voy a publicar algo sobre robots. </p>

<p>En agosto de 2005 <a href="http://www.lnds.net/2005/08/robots_auto_replicantes.html">publiqué una nota</a> sobre los robots auto replicantes de la <a href="http://ccsl.mae.cornell.edu/research/selfrep/">Universidad de Cornell</a>, en ese tiempo no había YouTube, ahor puedo dejarles el video que mostraba ese trabajo:</p>

<p><object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/VyzVtTiax80"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/VyzVtTiax80" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object></p>]]></description>
         <link>http://metodos.lnds.net/2007/04/viernes_de_robots.html</link>
         <guid>http://metodos.lnds.net/2007/04/viernes_de_robots.html</guid>
         <category>Robots</category>
         <pubDate>Fri, 20 Apr 2007 10:27:21 -0400</pubDate>
      </item>
            <item>
         <title>Un hack simple en CSS</title>
         <description><![CDATA[<p>Este hack es bastante simple, resulta que Internet Explorer 6 no respeta el atributo <strong>min-height</strong> para un elemento <strong>div</strong>.</p>

<p>Una solución, que asegura interoperabilidad, y no quebrar el soporte de los estándares es usar el atributo _height.<br />
_height es ignorado por todos los browsers, y para IE es equivalente a height.</p>

<p>Un hack para tener un div de una altura mínima de 100 px sería:</p>

<pre><code>&lt;div style=&quot;min-height:100px;_height;100px&quot;&gt;
Aca va mi texto
&lt;/div&gt;</code></pre>]]></description>
         <link>http://metodos.lnds.net/2006/02/un_hack_simple_en_css.html</link>
         <guid>http://metodos.lnds.net/2006/02/un_hack_simple_en_css.html</guid>
         <category>web</category>
         <pubDate>Wed, 22 Feb 2006 10:21:10 -0400</pubDate>
      </item>
            <item>
         <title>Cómo medir el desempeño de aplicacions ASP.NET</title>
         <description><![CDATA[  <p class="MsoNormal"><span>La literatura disponible nos sugiere que para analizar el desempe&ntilde;o de las aplicaciones ASP.NET debemos medir al menos los siguientes parámetros dentro del Performance Monitor:</span></p> <p>&nbsp;</p><p>  </p> <div align="center">  <table cellspacing="0" cellpadding="0" border="0" class="MsoNormalTable">  <tr>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">Performance object</span></strong></p>   </td>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="center" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">Performance counter</span></strong></p>   </td>  </tr>  <tr>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">ASP.NET</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">Application Restarts</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>  </tr>  <tr>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">ASP.NET</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">Requests Queued</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>  </tr>  <tr>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">ASP.NET</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">Worker Process   Restarts</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>  </tr>  <tr>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">ASP.NET Applications</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">Errors Total</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>  </tr>  <tr>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">ASP.NET Applications</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><a name="OLE_LINK2" /><a name="OLE_LINK1"><strong><span style="font-size: 12pt; font-family: "times new roman";">Requests/Sec</span></strong></a><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>  </tr>  <tr>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">Processor</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>   <td width="50%" valign="top" style="padding: 0.75pt; width: 50%;">   <p align="left" class="MsoNormal"><strong><span style="font-size: 12pt; font-family: "times new roman";">% CPU Utilization</span></strong><span style="font-size: 12pt; font-family: "times new roman";"></span></p>   </td>  </tr> </table>  </div> <p>&nbsp;</p><p>  </p> <p align="left" class="MsoNormal"><span>Fuente: Help de Microsoft.Net SDK 1.1, sección:&nbsp; </span></p>   <p align="left" class="MsoNormal"><span>Ms-help://MS.NETFrameworkSDKv1.1/cpguidenf/html/cpconperformancecountersforaspnet.htm</span></p>   <p align="left" class="MsoNormal"><span>&nbsp;</span></p>   <p align="left" class="MsoNormal"><strong><span>Application Restarts: </span></strong><span>indica cuantas veces una aplicación ASP.NET se re inicializa, lo ideal es que este parámetro sea 0 (cero), pues una aplicación sin problemas no debe presentar re inicios, salvo cuando se hagan updates o se instalen nuevas versiones de alguna componente.</span></p>   <p align="left" class="MsoNormal"><strong><span>Request Queued : </span></strong><span>Cuantos requerimientos se encuentran encolados esperando una respuesta. Cuando este número empieza a crecer linealmente con respecto a la carga de cliente conectados, entonces el servidor web ha alcanzado el límite de requerimientos concurrentes que puede procesar. El máximo por omisión es de 5.000. Este parámetros se puede cambiar en el archivo Machine.config.</span></p>   <p align="left" class="MsoNormal"><strong><span>Worker Process Restarts: </span></strong><span>El número de veces que un proceso trabajando ha sido re iniciado en el servidor. Este número aumenta cuando se producen caidas inesperadas de algún proceso. Este parámetro no debe aumentar bruscamente, de hacerlo debe investigarse las causas de inmediato.</span></p>   <p align="left" class="MsoNormal"><strong><span>Errors Total:&nbsp; </span></strong><span>Es el número total de errores que ocurren durante la ejecución de requerimientos http. Incluye errores en el parser, errores de compilación, errores durante el procesamiento y errores de ejecución. Este valor debe ser revisado atentamente.</span></p>   <p class="MsoNormal"><strong><span>Requests/Sec</span></strong><span>: Es la cantidad de request por Segundo atendidos por el servidor web. Este valor representa el throughput real de las aplicaciones en el servidor web. Bajo carga constante este valor debe mantenerse dentro de ciertos rangos.</span></p>   <p class="MsoNormal"><strong><span>% CPU Utilization: </span></strong><span>es el porcentaje de utilización de la CPU, a mayor utilización de la CPU mayor será la contención de las aplicaciones.</span></p>  <p>&nbsp;</p> <p>&nbsp;</p> ]]></description>
         <link>http://metodos.lnds.net/2005/11/como_medir_el_desempeno_de_apl.html</link>
         <guid>http://metodos.lnds.net/2005/11/como_medir_el_desempeno_de_apl.html</guid>
         <category>Calidad</category>
         <pubDate>Wed, 30 Nov 2005 19:42:49 -0400</pubDate>
      </item>
            <item>
         <title>Web Services u Object Remoting</title>
         <description><![CDATA[<p>Hace un tiempo publique en <a href="http://www.netveloper.com/">Netveloper</a> un artículo sobre web services y object remoting. Puedes leer el <a href="http://www.netveloper.com/contenido.aspx?IDP=0&IDC=195">artículo</a>, pero también he decidido guardar una copia en este blog.<br />
</p>]]></description>
         <link>http://metodos.lnds.net/2005/10/web_services_u_object_remoting.html</link>
         <guid>http://metodos.lnds.net/2005/10/web_services_u_object_remoting.html</guid>
         <category>SOA</category>
         <pubDate>Wed, 19 Oct 2005 22:14:11 -0400</pubDate>
      </item>
            <item>
         <title>Rompiendo las Reglas: : invocando métodos privado desde otra clase en C#</title>
         <description><![CDATA[<p>Las reglas de la programación orientada al objeto (OOP) dicen que no se puede llamar a un m&eacute;todo privado de una clase. </p><p>De modo que si se tiene la siguiente clase:</p> <blockquote>   <p><strong>class</strong> MiClase<br /> {<br /> &nbsp;&nbsp; <strong>private void </strong>MetodoPrivado()<br /> &nbsp;&nbsp; {<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.Console.WriteLine(&quot;m&eacute;todo privado invocado&quot;);<br /> &nbsp;&nbsp; }<br /> }</p> </blockquote> <p>No es posible llamar al m&eacute;todo MetodoPrivado desde otra clase, incluso desde una clase derivada.<br /> </p> <blockquote>   <pre><br /></pre>   <p> </p> </blockquote> ]]></description>
         <link>http://metodos.lnds.net/2005/10/rompiendo_las_reglas_invocando.html</link>
         <guid>http://metodos.lnds.net/2005/10/rompiendo_las_reglas_invocando.html</guid>
         <category>C#</category>
         <pubDate>Wed, 19 Oct 2005 19:09:44 -0400</pubDate>
      </item>
            <item>
         <title>7 Consejos para usar excepciones</title>
         <description><![CDATA[<p>Aqui hay 7 consejos para el uso de excepciones en C#, pero creo que son también útiles para Java.</p>

<p>    1) No utilice las excepciones para controlar el flujo de la aplicación.<br />
    2) Usar código de validación para evitar excepciones innecesarias.<br />
    3) Usar el bloque finally para asegurar la liberación de los recursos.<br />
    4) No atrape las excepciones que no va a manejar. .<br />
    5) Tenga en cuenta que relanzar excepciones (rethrowing) es costoso. Casi tan costoso como la excepción que se produjo.<br />
    6) Preservar toda la información de diagnóstico posible en los manejadores de excepciones. Esto es util para efectos de depurar.<br />
    7) Utilizar el Monitor de Performance para monitorear excepciones del <span class="caps">CLR. </span></p>

<p>Gracias a Juan Daria Tempesta (Instructor <span class="caps">DCE</span>) por inspirar este artículo</p>]]></description>
         <link>http://metodos.lnds.net/2005/10/7_consejos_para_usar_excepcion_1.html</link>
         <guid>http://metodos.lnds.net/2005/10/7_consejos_para_usar_excepcion_1.html</guid>
         <category>Calidad</category>
         <pubDate>Wed, 19 Oct 2005 18:31:13 -0400</pubDate>
      </item>
      
   </channel>
</rss>
