<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mariano Guerra's Log (Publicaciones sobre myjmk)</title><link>http://marianoguerra.org/</link><description></description><atom:link href="http://marianoguerra.org/es/categories/myjmk.xml" rel="self" type="application/rss+xml"></atom:link><language>es</language><lastBuildDate>Mon, 18 Nov 2024 17:56:23 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Codeando al pedo..</title><link>http://marianoguerra.org/es/posts/200711codeando-al-pedo/</link><dc:creator>Mariano Guerra</dc:creator><description>&lt;p&gt;Debido a mi estadía en Alemania, me veo forzado a traducir un montón de palabras de alemán a español, para ello uso el servicio de esta pagina:&lt;br&gt;&lt;br&gt;www.myjmk.com&lt;br&gt;&lt;br&gt;pero como la interfaz es bastante bloated, decidí hacer un programita simple que saciara mis apetencias de traducción, en un rato, salio lo siguiente:&lt;br&gt;&lt;br&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_XkKIWh0VZYk/RzivZ00La7I/AAAAAAAACNM/99ZDhzsiYkM/s1600-h/Pantallazo-1.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_XkKIWh0VZYk/RzivZ00La7I/AAAAAAAACNM/99ZDhzsiYkM/s400/Pantallazo-1.png" alt="" id="BLOGGER_PHOTO_ID_5132044633597766578" border="0"&gt;&lt;/a&gt;peleando un poco con los encodings, hice unos cuantos requests y de pronto, dejo de funcionar, no parecía haber ningún error, debugee lo que me estaba mandando el programa, y leo el siguiente lindo mensaje:&lt;br&gt;&lt;br&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p class="postshead"&gt;Access not allowed.&lt;/p&gt;                        &lt;p class="posts"&gt;Your access to the dictionary was rated as invalid. This could have various reasons. Possibly there is some other user sharing some ressources with you (e.g. a web proxy of your provider), scanning our dictionary systematically. We are very sorry for the inconvenience.&lt;/p&gt;&lt;/blockquote&gt;bue, tendrá que ser de otra forma :P&lt;br&gt;&lt;br&gt;pero bueno, aprendí algunas cositas&lt;br&gt;&lt;br&gt;&lt;ul&gt;&lt;li&gt;use por primera vez super(), enumerate() y zip() [1]&lt;br&gt;&lt;/li&gt;&lt;li&gt;conoci ' '.join()[2] en lugar de import string; string.join()[3]&lt;/li&gt;&lt;li&gt;conoci s.partition('sep')[4]&lt;/li&gt;&lt;/ul&gt;[1] http://docs.python.org/lib/built-in-funcs.html&lt;br&gt;[2] http://docs.python.org/lib/string-methods.html#l2h-250&lt;br&gt;[3] http://docs.python.org/lib/node42.html#l2h-379&lt;br&gt;[4] http://docs.python.org/lib/string-methods.html#l2h-254</description><guid>http://marianoguerra.org/es/posts/200711codeando-al-pedo/</guid><pubDate>Mon, 12 Nov 2007 19:51:00 GMT</pubDate></item></channel></rss>