{"id":1407,"date":"2014-12-10T07:10:27","date_gmt":"2014-12-10T13:10:27","guid":{"rendered":"http:\/\/blografia.net\/vicm3\/?p=1407"},"modified":"2014-12-08T23:59:53","modified_gmt":"2014-12-09T05:59:53","slug":"two-things-are-infinite-the-universe-and-human-stupidity","status":"publish","type":"post","link":"https:\/\/blografia.net\/vicm3\/2014\/12\/two-things-are-infinite-the-universe-and-human-stupidity\/","title":{"rendered":"Two things are infinite: the universe and human stupidity"},"content":{"rendered":"<p>I think that reality is better than fiction, so take this as a fiction story&#8230; well short of&#8230;<\/p>\n<p>The full quote that gives nave to this post it&#8217;s <strong>\u00abTwo things are infinite: the universe and human stupidity; and I&#8217;m not sure about the universe.\u00bb<\/strong> Albert Einstein.<\/p>\n<p>Monday lost five hours of my live fixing a technical problem of the biggest proportions, it needed going trough all the C level executives to the actual webmaster, all to fix this common thing that all days is required to do on this business, change the old URL to a new URL, we asked for an .htaccess file to be added on the old server, this is all we asked for:<\/p>\n<p><code>Redirect \/ http:\/\/foo.bar\/<\/code><\/p>\n<p>Yes it\u2019s not the actual URL but bare with me, its longer, but is the same, that\u2019s what we asked for, results that the webmaster knows is trade in some weird form, as probably tried what we asked and found it no to work, so he wrote a index.php containing something more or less like this:<\/p>\n<p><code>header('Status: 301 Moved Permanently', false, 301);<br \/>\nheader('Location: new_address');<br \/>\ndie;<br \/>\n<\/code><\/p>\n<p>Well is not bad, but as we moved a dynamically generated site, our users with problems where not requesting the URL but the URL\/something\/other.php so this was not a solution, let me add that we had currently ~10K users, if only the 10% of they were using bookmarks or navigation bar to get to the site that accounts for probably more than one week of five persons work on answering and give support to our users from all over around, and thankfully still telephonic support was not available, but is going to be implemented (shills).<\/p>\n<p>So as we found the lack of understanding between what we asked and what was implemented a full day of work go to waste as I got asked from my boss to explain to their boss what was happening, why was not fixed and why we where having so much questions as if was new server problem.<\/p>\n<p>Long history short the day ended with me siting with two different department directors, under their supervision explaining that the answers received in chronological order 1) this not works on all servers 2) is not what you need 3) is better the way we implemented 4) your way opens a security hole, risking one production server that we can afford risk were not real answers and at the end asking me, \u201cwell then how we can fix this?\u201d, and there I did a stupid mistake, tell that you need to change the behavior of apache and add &lt;Directory&gt; directive to allow the directory where we were asking the .htaccess to excute this got to the ridiculous level of me explaining what the &lt;Directory \/var\/content\/ouroldurl&gt; directive do and why is not a security risk, to what they reply me but this open a security hole, do you accept the responsibility if an attacker hits the server by what you\u2019re asking, and let me pause here to say I know this config and this server it\u2019s Apache!, its not rocket science and this had SELinux enabled and firewall and other protections\u2026 so made my second stupid mistake, \u201cYes, totally I accept full responsibility for this configuration changes!\u201d and then got but send mail to the C executives and head department, well walk out terribly drained as almost lost half day fixing on total four lines of text.<\/p>\n<p>Let me share with you, in life don\u2019t remember more than one other moment of this level of frustration, not because not be able to do something, but because something trivial, well documented, not obscure, not complex but jut in the standard manual can\u2019t be understood by experts on the field, so wrote the mail assuming consequences, got really pissed about all time, resources, and so on, really had trouble to sleep, be totally pissed off, had to avoid doing some things that get me remember\u2026 but returned to my primary job, that got me on my feet again and well Wednesday all was like well this some that probably will be to get a real smile when regarded or maybe even worth of daily WTF. Then I got a call, from the department director call me to say \u201cyour change is not working anymore, we had not moved anything\u201d, well as I go to my computer ask about, well how is that is not working? \u201cit just happened\u201d\u2026 as I type the URL on chromium I got correctly redirected and told them, but then remember the aggressive cache and launch firefox with the cache completely disabled (also fired curl but explaining this to some one that not understand what is an .htaccess file don\u2019t even occurred me to end well) and yes now I see they had fixed the whole problem adding an index.html file that has a message saying \u201cour site has moved to foo.bar click on the next link if you are not redirected\u201d\u2026 lot of things pass on my head but the first is if they had not moving I will seeing an error right now that would help me a lot, as I\u2019m asking for what files are currently on that directory, telling me that only the index is there and as I ask for a ls \u2013lah, the other department directory takes the phone and warns me that is putting me on speakerphone so I heard the other department director and also the webmaster, they all greet me and the director boss of webmaster says \u201chere\u2019s the webmaster he will explain\u201d, so I say \u201cyes, I\u2019m hearing\u201d \u2013 \u201cthis is the best way to fix the problem, this way the users asking for the wrong direction will now know the new direction\u201d, now this I what Monday was, explaining all to a lot of people\u2026 a lot happens as I\u2019m hearing his short explanation, and only say \u2013\u201cwell, so you have do, and is the best solution, well thanks\u2026 thank you all, good day\u201d\u2026 truly a lot more happens with me, really thinking on what\u2019s next and how I don\u2019t want to have to explain all this thing over again and on top of all not having really power to push things up, as this is not my job, not my department not my jurisdiction, just call the project leader tell what has happened and what they do so he decide if scale up to the C types, but keeping aside and making clear that not going trough all the meetings anymore as I\u2019m helping in this matter on good will, not my project, not my job, not recognition or money involved, so I keep working but that is the other department job, hang up.<\/p>\n<p>I believe this is the best that can have happened they got pay for fix this kind of problem, that\u2019s they job, so this is not a fix and is going to cause a lot of problems, so let\u2019s get this and go on important things\u2026 if the choice where mine just have put their telephone numbers on the main page and send a mass message to ask for support to this department instead of the one that is doing\u2026 they manage probably 6 to 10 power users and directors per day, how about have your phone ring all day, every day, give support to think only 1% of the whole users we are attending.<\/p>\n<p>\u00abThere are three kind of people: the ones that kill themselves working, the ones that should work and the ones that should kill themselves.\u00bb Mario Benedetti<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I think that reality is better than fiction, so take this as a fiction story&#8230; well short of&#8230; The full quote that gives nave to this post it&#8217;s \u00abTwo things are infinite: the universe and human stupidity; and I&#8217;m not &hellip; <a href=\"https:\/\/blografia.net\/vicm3\/2014\/12\/two-things-are-infinite-the-universe-and-human-stupidity\/\">Sigue leyendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[5,3,10],"tags":[49,452,453,100,62,89,454],"class_list":["post-1407","post","type-post","status-publish","format-standard","hentry","category-debraye","category-general","category-planetalinux","tag-apache","tag-centos","tag-fiction","tag-linux","tag-php","tag-rant","tag-story"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":788,"url":"https:\/\/blografia.net\/vicm3\/2011\/05\/slashdot-signatures\/","url_meta":{"origin":1407,"position":0},"title":"Slashdot signatures","author":"vicm3","date":"18 mayo, 2011","format":false,"excerpt":"Compiled by me, unfortunately until have gone far in this realize that I was not recording author's names, sorry for that. by hey! (33014) Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure. if this is supposed to be a new economy, how come\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":730,"url":"https:\/\/blografia.net\/vicm3\/2010\/06\/god-1\/","url_meta":{"origin":1407,"position":1},"title":"God","author":"vicm3","date":"15 junio, 2010","format":false,"excerpt":"Walter, I'm sorry, but you can't. Yes. Yes, I think I can. No, Walter, I mean you can't. Shattering the wall between universes would rupture the fundamental constants of nature. It's a theory. We don't know that to be true. It's a good theory. It is why we have been\u2026","rel":"","context":"En \u00abSin categor\u00eda\u00bb","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/blografia.net\/vicm3\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":710,"url":"https:\/\/blografia.net\/vicm3\/2010\/01\/how-to-help-someone-use-a-computer\/","url_meta":{"origin":1407,"position":2},"title":"How to help someone use a computer.","author":"vicm3","date":"26 enero, 2010","format":false,"excerpt":"Computer people are generally fine human beings, but nonetheless they do a lot of inadvertent harm in the ways they \"help\" other people with their computer problems. Now that we're trying to get everyone on the net, I thought it might be helpful to write down in one place everything\u2026","rel":"","context":"En \u00abSin categor\u00eda\u00bb","block_context":{"text":"Sin categor\u00eda","link":"https:\/\/blografia.net\/vicm3\/category\/sin-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1388,"url":"https:\/\/blografia.net\/vicm3\/2014\/10\/hp-quotes-and-a-pair-of-scenes\/","url_meta":{"origin":1407,"position":3},"title":"HP, quotes and a pair of scenes","author":"vicm3","date":"17 octubre, 2014","format":false,"excerpt":"I really like Harry Potter books, not so much the movies, that say have a lot of quotes that like and a pair or more scenes, I'm posting here to have at hand 'cause it's easier, faster and not need to search on my own svn three. If you want\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1319,"url":"https:\/\/blografia.net\/vicm3\/2014\/05\/gran-pez\/","url_meta":{"origin":1407,"position":4},"title":"Gran pez","author":"vicm3","date":"25 mayo, 2014","format":false,"excerpt":"Big Fish (2003) Si todo pocho, bueno me gusto mucho la pel\u00edcula, que tengo curiosidad de ver desde que sali\u00f3 y que por una u otra raz\u00f3n nunca pescaba en televisi\u00f3n desde el principio, bueno anoche la vi y me encanto, tanto que me traigo varias lineas que me gustaron\u2026","rel":"","context":"En \u00abDebraye\u00bb","block_context":{"text":"Debraye","link":"https:\/\/blografia.net\/vicm3\/category\/debraye\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1378,"url":"https:\/\/blografia.net\/vicm3\/2014\/09\/wordpress-xmlrpc-ddos-mitigation\/","url_meta":{"origin":1407,"position":5},"title":"WordPress xmlrpc DDOS mitigation","author":"vicm3","date":"27 septiembre, 2014","format":false,"excerpt":"Well not long ago DH contacted me with this dreaded message: Hello, I'm writing you about your domain: foo.bar Specifically the file: xmlrpc.php This file is used for modifying your wordpress install from 3rd party\u00a0programs, like mobile site designers, desktop client programs, and pretty\u00a0much anything besides the wordpress control panel\u2026","rel":"","context":"En \u00abplanetalinux\u00bb","block_context":{"text":"planetalinux","link":"https:\/\/blografia.net\/vicm3\/category\/planetalinux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/1407","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/comments?post=1407"}],"version-history":[{"count":0,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/posts\/1407\/revisions"}],"wp:attachment":[{"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/media?parent=1407"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/categories?post=1407"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blografia.net\/vicm3\/wp-json\/wp\/v2\/tags?post=1407"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}