{"id":95,"date":"2013-10-31T10:20:51","date_gmt":"2013-10-31T13:20:51","guid":{"rendered":"https:\/\/ventiladorcito.com\/blog\/?p=95"},"modified":"2014-02-25T09:27:04","modified_gmt":"2014-02-25T12:27:04","slug":"condoricosas-que-encontramos-en-los-fuentes","status":"publish","type":"post","link":"https:\/\/ventiladorcito.com\/blog\/2013\/10\/condoricosas-que-encontramos-en-los-fuentes\/","title":{"rendered":"Condoricosas  que encontramos en los fuentes"},"content":{"rendered":"<p>Hola.<\/p>\n<p>Estaba revisando mi archivo de\u00a0configuraci\u00f3n\u00a0hosts (\/etc\/hosts), para eliminar algunos distractivos que tengo a la hora de trabajar (si, tiendo a tener una mente muy distraida), por lo general lo que hago es apuntar los dominios que mas visito en esa lista y los apunto a 127.0.0.1; Bueno volviendo al tema, estaba editando el host cuando me fijo por casualidad en alguno de los comentarios que estaban lineas mas arriba y me encuentro con algo como esto:<\/p>\n<blockquote><p># By the way, Arnt Gulbrandsen &lt;agulbra@nvg.unit.no&gt; says that 127.0.0.1<br \/>\n# should NEVER be named with the name of the machine. It causes problems<br \/>\n# for some (stupid) programs, irc and reputedly talk. :^)<\/p><\/blockquote>\n<p>Lo cual llamo mi atenci\u00f3n, no sol\u00eda ver este tipo de cosas, as\u00ed que me pregunt\u00e9 si habr\u00eda m\u00e1s de ese tipo de cosas en los fuentes de configuraci\u00f3n y codigo. Por lo cual r\u00e1pidamente escribo en la consola:<\/p>\n<pre>pablo@darkstar:~$ sudo fgrep stupid \/etc\/ -R<\/pre>\n<p>y me encuentro con cosas como:<\/p>\n<blockquote><p>\/etc\/hosts:# for some (stupid) programs, irc and reputedly talk. :^)<br \/>\n\/etc\/cron.daily\/certwatch:# This stupid script (C) 2006,2007 Jan Rafaj<br \/>\n\/etc\/skel\/.screenrc:#remove some stupid \/ dangerous key bindings<br \/>\n\/etc\/termcap-BSD:mono-emx|stupid monochrome ansi terminal with only one kind of emphasis:\\<br \/>\n\/etc\/termcap-BSD:# emulations (usually their stupidest, and usually labeled adm3, though<br \/>\n\/etc\/termcap-BSD:# * <strong>Added vt102-nsgr to cope with stupid IBM PC `VT100&#8242; emulators<\/strong>.<br \/>\n\/etc\/hosts~:# <strong>for some (stupid) programs, irc and reputedly talk. :^)<\/strong><br \/>\n\/etc\/screenrc:#remove some stupid \/ dangerous key bindings<\/p><\/blockquote>\n<p>Y me volv\u00ed a preguntar, donde consigo m\u00e1s?<\/p>\n<p>nuevamente corr\u00ed el comando en una carpeta donde probablemente haya m\u00e1s de ese tipo de comments:<\/p>\n<pre>pablo@darkstar:~$ sudo fgrep stupid \/usr\/include\/ -R<\/pre>\n<blockquote><p>\/usr\/include\/poppler\/goo\/gtypes.h: * These have stupid names to avoid conflicts with some (but not all)<br \/>\n\/usr\/include\/poppler\/goo\/gtypes.h: * <strong>These have stupid names to avoid conflicts with &lt;sys\/types.h&gt;,<\/strong><br \/>\n\/usr\/include\/gdkmm-2.4\/gdkmm\/window.h: * This function has a stupid name because it dates back to the mists<br \/>\n\/usr\/include\/fontforge\/splinefont.h: unsigned int weight_width_slope_only: 1; \/* This bit seems stupid to me *\/<br \/>\n\/usr\/include\/boost\/unordered\/detail\/table.hpp: \/\/ <strong>For some stupid reason, I decided to support equality comparison<\/strong><br \/>\n\/usr\/include\/boost\/graph\/filtered_graph.hpp: \/\/ <strong>This base class is a stupid hack to change overload resolution<\/strong><br \/>\n\/usr\/include\/boost\/graph\/distributed\/page_rank.hpp: \/\/ the stupid synchronization rules of MPI-2 One-sided<br \/>\n\/usr\/include\/boost\/lambda\/detail\/operators.hpp: \/\/ It is stupid to have the names A and B as macro arguments, but it avoids<br \/>\n\/usr\/include\/boost\/xpressive\/detail\/core\/quant_style.hpp:\/\/ \/\/ Replace transmogrify stupidity with rebindable matchers\/placeholders<br \/>\n\/usr\/include\/subversion-1\/svn_client.h:\/** Like svn_client_commit_item3_create() but with a stupid \u00abconst\u00bb<br \/>\n\/usr\/include\/kwineffects.h: WindowQuadError, \/\/ for the stupid default ctor<br \/>\n\/usr\/include\/k3biso9660.h: *<strong> Due to the stupid Qt which does not support large files as default<\/strong><br \/>\n\/usr\/include\/p2c\/p2c.h:\/* Fix toupper\/tolower on Suns and other stupid BSD systems *\/<br \/>\n\/usr\/include\/wx-2.8\/wx\/log.h: \/\/ is a bad idea as some compilers are stupid enough to not inline even<br \/>\n\/usr\/include\/wx-2.8\/wx\/defs.h: \/*<strong> no such stupidness under Unix<\/strong> *\/<br \/>\n\/usr\/include\/wx-2.8\/wx\/defs.h:#else \/* stupid, broken compiler *\/<br \/>\n\/usr\/include\/wx-2.8\/wx\/layout.h:\/\/ X stupidly defines these in X.h<br \/>\n\/usr\/include\/wx-2.8\/wx\/generic\/grid.h: \/\/ <strong>suppress the stupid gcc warning about the class having private dtor and<\/strong><br \/>\n\/usr\/include\/wx-2.8\/wx\/generic\/grid.h: \/\/ suppress the stupid gcc warning about the class having private dtor and<br \/>\n\/usr\/include\/wx-2.8\/wx\/generic\/grid.h: \/\/ suppress the stupid gcc warning about the class having private dtor and<br \/>\n\/usr\/include\/icc34.h: Added the stupid check for autoconf by Marti Maria.<br \/>\n\/usr\/include\/strigi\/streambase.h: * stupid \/ does not work by design \ud83d\ude42<br \/>\n\/usr\/include\/seamonkey\/nsMsgLineBuffer.h:\/\/ <strong>I can&#8217;t believe I have to have this stupid class, but I can&#8217;t find<\/strong><br \/>\n\/usr\/include\/seamonkey\/mozilla\/dom\/HTMLMediaElement.h: \/\/ SetAttr override. C++ is stupid, so have to override both<br \/>\n\/usr\/include\/seamonkey\/mozilla\/dom\/HTMLImageElement.h: \/\/ SetAttr override. C++ is stupid, so have to override both<br \/>\n\/usr\/include\/seamonkey\/mozilla\/dom\/HTMLCanvasElement.h: \/\/ SetAttr override. <strong>C++ is stupid, so have to override both<\/strong><br \/>\n<span style=\"line-height: 1.714285714; font-size: 1rem;\">\/usr\/include\/talloc.h: stupidity in gcc 4.1.x *\/<\/span><br \/>\n\/usr\/include\/openssl\/err.h:\/* <strong>Borland C seems too stupid to be able to shift and do longs<\/strong> in<br \/>\n\/usr\/include\/archive.h:\/* Default implementations are very, very stupid. *\/<br \/>\n\/usr\/include\/linux\/cm4000_cs.h:\/* what is particularly stupid in the original driver is the arch-dependent<br \/>\n\/usr\/include\/linux\/reiserfs_fs.h: \/* this file has an amazingly stupid<br \/>\n\/usr\/include\/kmessagebox.h: * <strong>or your user did something stupid<\/strong>.<br \/>\n\/usr\/include\/kmessagebox.h: * or your user did something stupid.<br \/>\n\/usr\/include\/seamonkey-2.21\/nsMsgLineBuffer.h:\/\/ I can&#8217;t believe I have to have this stupid class, but I can&#8217;t find<br \/>\n\/usr\/include\/seamonkey-2.21\/mozilla\/dom\/HTMLMediaElement.h: \/\/ SetAttr override. C++ is stupid, so have to override both<br \/>\n\/usr\/include\/seamonkey-2.21\/mozilla\/dom\/HTMLImageElement.h: \/\/ SetAttr override. C++ is stupid, so have to override both<br \/>\n\/usr\/include\/seamonkey-2.21\/mozilla\/dom\/HTMLCanvasElement.h: \/\/ SetAttr override. C++ is stupid, so have to override both<br \/>\n<span style=\"line-height: 1.714285714; font-size: 1rem;\">\/usr\/include\/php\/ext\/mysqlnd\/mysqlnd_wireprotocol.h: zend_bool stupid_list_fields_eof;<\/span><br \/>\n\/usr\/include\/ImageMagick\/Magick++\/Include.h:# pragma warning( disable: 4273 ) \/* <strong>Disable the stupid dll linkage warnings<\/strong> *\/<br \/>\n\/usr\/include\/Xm\/BulletinBP.h: Widget stupid_dead_field;<br \/>\n\/usr\/include\/eigen2\/Eigen\/src\/Core\/util\/Meta.h: \/\/ <strong>use ?: instead of || just to shut up a stupid gcc 4.3 warning<\/strong><br \/>\n\/usr\/include\/eigen2\/Eigen\/src\/Core\/util\/XprHelper.h: void nevermind_this_is_just_to_work_around_a_stupid_gcc3_warning();<\/p><\/blockquote>\n<p>Y as\u00ed uno encuentra cosas en los fuentes. Algunos con ganas de expresar su profundo malestar y otros bueh&#8230; mejor\u00a0d\u00edganlo\u00a0ustedes.<br \/>\n\ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hola. Estaba revisando mi archivo de\u00a0configuraci\u00f3n\u00a0hosts (\/etc\/hosts), para eliminar algunos distractivos que tengo a la hora de trabajar (si, tiendo a tener una mente muy distraida), por lo general lo que hago es apuntar los dominios que mas visito en esa lista y los apunto a 127.0.0.1; Bueno volviendo al tema, estaba editando el host [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":99,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,2,13],"tags":[31,33,34,32,73],"class_list":["post-95","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-linux","category-miscelaneas","category-open-source","tag-codigo-fuentes","tag-consola","tag-fgrep","tag-humor","tag-linux"],"_links":{"self":[{"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/posts\/95","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/comments?post=95"}],"version-history":[{"count":4,"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/posts\/95\/revisions"}],"predecessor-version":[{"id":100,"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/posts\/95\/revisions\/100"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/media\/99"}],"wp:attachment":[{"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/media?parent=95"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/categories?post=95"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ventiladorcito.com\/blog\/wp-json\/wp\/v2\/tags?post=95"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}