<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Clerton Araujo on Medium]]></title>
        <description><![CDATA[Stories by Clerton Araujo on Medium]]></description>
        <link>https://medium.com/@clerton?source=rss-78f72bd0324------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*mlCrkuxPxRSw-KQmH2ratQ.jpeg</url>
            <title>Stories by Clerton Araujo on Medium</title>
            <link>https://medium.com/@clerton?source=rss-78f72bd0324------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 00:09:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@clerton/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[How to connect to mySQL docker image outside the container]]></title>
            <link>https://medium.com/@clerton/how-to-connect-to-mysql-docker-image-outside-the-container-21aa7f259e72?source=rss-78f72bd0324------2</link>
            <guid isPermaLink="false">https://medium.com/p/21aa7f259e72</guid>
            <category><![CDATA[database]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[mysql]]></category>
            <dc:creator><![CDATA[Clerton Araujo]]></dc:creator>
            <pubDate>Tue, 05 Jun 2018 02:01:43 GMT</pubDate>
            <atom:updated>2018-06-05T02:01:43.663Z</atom:updated>
            <content:encoded><![CDATA[<p>You just need to run a mySQL docker image, but you don&#39;t want to install a full installation for just play with the DB. It&#39;s the cooler thing to do. But the real thing is: it&#39;s tricky to get the DB access outside the container!</p><p>If you get the default commands of the docker hub to run your mySQL docker image and try to access the DB from a &#39;fat client&#39; (like mySQL Workbench), you&#39;ll face this error:</p><pre>Authentication plugin &#39;caching_sha2_password&#39; cannot be loaded: /usr/lib/x86_64-linux-gnu/mariadb18/plugin/caching_sha2_password.so: cannot open shared object file: No such file or directory</pre><p>But you are just playing around right? So, forget this authentication plugin and re-run the docker image like this:</p><blockquote>docker run -p 3306:3306 — name mysql -e MYSQL_ROOT_PASSWORD=&lt;password&gt; -d mysql — default-authentication-plugin=mysql_native_password</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21aa7f259e72" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Nginx for reverse proxy: docker it!]]></title>
            <link>https://medium.com/@clerton/nginx-for-reverse-proxy-docker-it-191e1db989ba?source=rss-78f72bd0324------2</link>
            <guid isPermaLink="false">https://medium.com/p/191e1db989ba</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[macbook]]></category>
            <category><![CDATA[macos-sierra]]></category>
            <category><![CDATA[nginx]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Clerton Araujo]]></dc:creator>
            <pubDate>Fri, 01 Jun 2018 14:14:08 GMT</pubDate>
            <atom:updated>2018-06-01T14:14:08.210Z</atom:updated>
            <content:encoded><![CDATA[<p>Maybe this is not even close to be new to any developer in the world, but I&#39;m writing here because my memory fails every time I got into a new project. But believe it or not, I have the pain to setup my workspace and need to reverse proxy a few URLs. And that&#39;s not my painful struggle: I have to do it when I have a new PC or have to work from home/another computer.</p><p>Well, that&#39;s what I do:</p><ul><li>Build/Get a beautiful nginx.conf</li><li>Assuming that you have a docker installed already, run:</li></ul><blockquote>docker run -p 80:80 -v /XXX/YYY/nginx.conf:/etc/nginx/nginx.conf nginx</blockquote><p>Important thing to notice: In detached mode (when the <strong>-d</strong> parameter is used) you get the cmd back, but the container runs and stops. Without detaching, the container runs until you tell it to stop.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=191e1db989ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Artificial Intelligence is not a plugin]]></title>
            <link>https://medium.com/@clerton/artificial-intelligence-is-not-a-plugin-9f1d4d0f48f3?source=rss-78f72bd0324------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f1d4d0f48f3</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[dystopia]]></category>
            <category><![CDATA[it-companies]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Clerton Araujo]]></dc:creator>
            <pubDate>Mon, 22 Jan 2018 12:07:51 GMT</pubDate>
            <atom:updated>2018-01-22T12:07:51.590Z</atom:updated>
            <content:encoded><![CDATA[<p>What drives me to write about this subject is the massive commercial success of the AI subject and a personal disappointment of the use on IT business. It’s about some kind of <strong>dystopia</strong> about the Artificial Intelligence evolution, <strong>it’s also just about to get something off my chest!</strong> (maybe a cancer).</p><p>And no, it is not a journalistic article, neither a scientific one, there is no source. It is all about my job experiences (my friends’ job experiences as well). <strong>It is an opinion, it is about how I would make/like to make things different</strong>.</p><p>With the popularization of AI and heavy business investment in this area, we could be in a new era computational learning, but is not we reality. What we see are tools that makes known techniques popular and available. Which is awesome! But this is far from make things “intelligent”.</p><p>We make dumb bots (that don’t learn, they should be called “parrots”), but we don’t know why. We are willing to search patterns in data, the results are cool but inconclusive to take any actions. The robotics uses to automation, not for learning.</p><p>The fact is, the IT companies (not all of them, but the majority) are looking for put the “Artificial Intelligent” in their portfolio, but don’t know why. At least, they think they know why. Their top managers want to tell everyone they have it, the middle/low managers want to say they know how make it happen on their projects and the developers just use the available tools to reach their deadlines. <strong>There is no research, no concept, no business need.</strong></p><p>Yes, there are algorithms and systems that can be “smarter” than humans to play games, to discover new patterns and so on… The news are overwhelming! I fully understand that all of this could be used to make valuable things on a daily business. But… really? <strong>how is this actually changing? Where is this making the difference on my daily life?</strong></p><p>Since “the AI boom” it is the second company that wants to <strong>put AI as a plugin in their products to make silly things that makes no difference to user or any stakeholder</strong> (sorry, only to managers!).</p><p>The worst thing is: companies don’t care about use AI in the internal development process or anything internally. The AI commercial success is so high that is a <strong>“inverse Fight Club rule”: you HAVE to talk that you have AI, and if it is in your final product is better to talk about it.</strong> So, all the AI budget is for the final product, makes things “sexy”.</p><p>These days, I got into a discussion with a famous twitter/blogger because he said “there is no point of studying philosophy for IT people”, and then I discorded and put in my arguments the AI and the Turing Test. He replied saying that to technical development of AI was not important. Well,<strong> I think that philosophy to AI area today is more important then never</strong>: it is about get the fundamentals back, it is about thinking about the real needs, it is about consider what is intelligence, and how apply it to your business.</p><p><strong>In a few years, I think I’ll see a disappointment of medium IT companies with AI, and what is worst, a general unbelief of it for not having the return of the investment.</strong></p><p>It will be like a 3D glasses: cool to say that I have it, but I don’t want to watch a marathon of my favorite series with it. Really good for some movies, but if you do not care about the history, just the fun of it. Maybe in the future it will be better, but we had it in the 80’s, in the 90’s, in the 2010’s. <strong>But is it really better? for everything?</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f1d4d0f48f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tracking any binary on linux]]></title>
            <link>https://medium.com/@clerton/tracking-any-binary-on-linux-59f053b79088?source=rss-78f72bd0324------2</link>
            <guid isPermaLink="false">https://medium.com/p/59f053b79088</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <dc:creator><![CDATA[Clerton Araujo]]></dc:creator>
            <pubDate>Fri, 05 May 2017 15:43:45 GMT</pubDate>
            <atom:updated>2017-05-05T15:43:45.032Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s say you need to find out where your java installation is on linux.</p><p>First, the <strong>hard way</strong>:</p><pre>which java</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*l3V04SmMgzkMqcqBl65D9A.png" /><figcaption>output of <strong>which java</strong></figcaption></figure><p>Then, navigate through the links:</p><pre>ls -l /usr/bin/java</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*cZA4IwpkNa0Wwbl5kHjOCw.png" /><figcaption>output of <strong>ls -l /usr/bin/java</strong></figcaption></figure><p>And again…</p><pre>ls -l /etc/alternatives/java</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1017/1*goSmBCZCkD3Qwx_fap-A6A.png" /><figcaption>output of <strong>ls -l /etc/alternatives/java</strong></figcaption></figure><p>And again… Until it finds itself!</p><pre>ls -l /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1012/1*IkYymMVeVrMxfeqIGaRTgQ.png" /><figcaption>output of <strong>ls -l /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java </strong>is the same link searched</figcaption></figure><p>Great! Now the <strong>easy way</strong>:</p><pre>readlink -f $(which java)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/515/1*My_YDiQipSURsMILPs17Vg.png" /><figcaption>output of the easy way!</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59f053b79088" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Root/admin password recovery on Ubuntu 17.04]]></title>
            <link>https://medium.com/@clerton/root-admin-password-recovery-on-ubuntu-17-04-71932e397e70?source=rss-78f72bd0324------2</link>
            <guid isPermaLink="false">https://medium.com/p/71932e397e70</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[tips-and-tricks]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Clerton Araujo]]></dc:creator>
            <pubDate>Fri, 05 May 2017 13:46:29 GMT</pubDate>
            <atom:updated>2017-05-05T13:51:24.817Z</atom:updated>
            <content:encoded><![CDATA[<p>Don’t ask me why: maybe you just don’t remember the root password after a nice vacation, or sometimes there is the guy who got out of the company and you need to get into his account to access a specific file, or you just need to get the root access to do something that your current one doesn’t allow to.</p><p>To get this business done, it’s quite simple and also work in almost Linux distributions. And don’t, it is not a security failure: <strong>you got to have physical access to the computer first</strong>. If it is not the case, just forget it. This solution is based on a <a href="https://askubuntu.com/questions/24006/how-do-i-reset-a-lost-administrative-password">Ubuntu’s forum answer</a> and this <a href="https://linuxconfig.org/how-to-reset-lost-root-password-on-ubuntu-16-04-xenial-xerus-linux">post from LinuxConfig.org</a>. I did it this week, and worked like a charm.</p><blockquote>Boot up the machine, and <em>after</em> the BIOS screen, hold down the left Shift key. You will then be prompted by a menu that looks something like this:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/1*5Pmf_EGZBM6TNwmWLO1jzQ.png" /><figcaption>GRUB menu after pressing the LEFT SHIFT key</figcaption></figure><p>I tested the right SHIFT and did not worked at all (as they said). Also there are cases which ESC or SPACE may work for you as well.</p><p>Another important thing to notice is that you need to get into the screen with the Ubuntu Kernel version selection screen. But in the GRUB, you step into the screen that looks like the one above. So, you need to select the <strong>*Ubuntu </strong>option pressing the ENTER key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*iBvRoBxQT4ByXT34UK3lsg.png" /><figcaption>Ubuntu kernel version selection screen</figcaption></figure><blockquote>Once you reboot to Grub menu, select the first menu item or the menu item you normally use to boot your Ubuntu system and press e to edit:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/0*ZlgdmG8WZIaGvNFB.png" /><figcaption>Ubuntu Kernel startup edition screen</figcaption></figure><blockquote>Once in the Grub’s boot menu edit mode use navigation arrows to locate a line starting with linux and edit it to include read-write mode rw and init=/bin/bash.</blockquote><p>FROM</p><pre>linux     /boot/vmlinuz-4-X.X-XX-generic root=UUID=43ad24d3-e\<br>c5b-44ee-a099-a88eb9520989 <strong>ro  quiet splash $vt_handoff</strong></pre><p>CHANGE TO:</p><pre>linux     /boot/vmlinuz-4-X.X-XX-generic root=UUID=43ad24d3-e\<br>c5b-44ee-a099-a88eb9520989 <strong>rw init=/bin/bash</strong></pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/639/0*2BNLnACwLUU3pwNE.png" /><figcaption>Ubuntu Kernel startup edition screen with <strong>rw init=/bin/bash</strong></figcaption></figure><p>In a nutshell, just you need to replace <strong><em>ro quiet splash $vt_handoff</em> </strong>to <strong>rw init=/bin/bash</strong>. Use the directional key of the keyboard to navigate in the editor, delete and add. There is no need to save anything, just reboot the computer by pressing F10.</p><p>If everything went well, you must see a bash screen with root access. So, you can do anything… including… change any user password!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/0*BFNMAfFXy4z9N9b9.gif" /><figcaption>Bash screen with root access</figcaption></figure><p>The next step is the command to change the password.</p><pre>passwd &lt;username&gt;</pre><p>And the final step is to reboot the computer. Do not use the <strong>reboot </strong>or<strong> shutdown -r now</strong>.</p><pre>exec /sbin/init</pre><p>And that’s it. Have fun!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71932e397e70" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The challenge of getting out of comfort zone]]></title>
            <link>https://medium.com/@clerton/the-challenge-of-getting-out-of-comfort-zone-94239b85b2d1?source=rss-78f72bd0324------2</link>
            <guid isPermaLink="false">https://medium.com/p/94239b85b2d1</guid>
            <category><![CDATA[work-life-balance]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Clerton Araujo]]></dc:creator>
            <pubDate>Wed, 05 Apr 2017 23:47:29 GMT</pubDate>
            <atom:updated>2017-04-07T01:42:39.495Z</atom:updated>
            <content:encoded><![CDATA[<p>Today I decided to live in a new city, after accepting the challenge of a new job, in a new company. Last time I did such decision I was single, had just finished my master degree and had almost no work experience at all, making the decision to change quite easy and obvious. Picture this: with no money, no family and no job experience, I was already out of comfort zone.</p><p>After my last city change I got married, had two daughters, bought a house and was hired by a multinational IT company. I got promoted every year until I got the leadership role. All that in 4 years! Due this, I got a stable life with my family and no big challenges in my daily work. This is great, right? Not so much.</p><p>Now I’m afraid of everything: buy a new house, make a wrong decision at work and lose my job, plan a trip with my family or even change my routine. The “comfort zone” made me the coward that I never was.</p><p>In order to get out the comfort zone, I decided to look for a new job, in a new company. Then, I saw two things: First, the IT job market changed. A lot! More than experience, now they want real talents (not technologies), and this is awesome! I wish I was with the fresh mind of a senior college today! Second, I saw my real market value as an IT professional: a 30&#39;s guy with a huge experience to make the right decisions and knowledge of old fashioned technologies (since for the 20’s guys, somehow, Java is the new COBOL).</p><p>I decided to follow my dreams looking for the ‘big picture’ of my life and applying for jobs in the city that I always wanted to live with my family. It’s a process of getting out of my comfort zone trying to get in a new one. Like a life cycle! And so I did: same salary, new job, in the beloved new city. I have butterflies in my stomach right now, but I’m not a coward anymore!</p><p>About the technologies… this is a subject of a new post, but to summarize… Frameworks, programming languages and technologies are tools for delivering the product respecting the client’s context. It’s more important having a quick learning curve! So… new projects and new jobs are opportunities to test your learning curve.</p><p>Now, I’m embracing the comfort zone cycle. Again. It’s more difficult when you get older, even more if you have a family to maintain, but this is what makes you alive: the butterflies in the stomach. When the things are easy and comfortable, you’re in the dead, zone. It’s time to get up and maybe live in a new city, for example.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=94239b85b2d1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>