<?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[theVelops Tech Blog - Medium]]></title>
        <description><![CDATA[Desenvolvemos softwares a preço de custo em troca de participação em empresas - Medium]]></description>
        <link>https://medium.com/thevelops-tech-blog?source=rss----64076235c470---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>theVelops Tech Blog - Medium</title>
            <link>https://medium.com/thevelops-tech-blog?source=rss----64076235c470---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 22:09:48 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/thevelops-tech-blog" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Using Docker with Elastic Beanstalk]]></title>
            <link>https://medium.com/thevelops-tech-blog/using-docker-with-elastic-beanstalk-2b84afca784?source=rss----64076235c470---4</link>
            <guid isPermaLink="false">https://medium.com/p/2b84afca784</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Ivan Padalko]]></dc:creator>
            <pubDate>Fri, 20 Apr 2018 18:50:13 GMT</pubDate>
            <atom:updated>2018-04-20T19:15:21.368Z</atom:updated>
            <content:encoded><![CDATA[<p>When deploying our applications to Elastic Beanstalk (EB) here in <a href="http://www.thevelops.com/">theVelops</a>, we often ran into a problem: building the application (especially installing dependencies using <em>npm install</em>) required more hardware than what our application would actually need later, making us use larger instances than necessary.</p><p>We needed, somehow, to completely dissociate the build from the execution to prevent this from happening and our solution needed also to be portable since our building environment, AWS CodeBuild, uses Ubuntu while EB uses Amazon Linux. <a href="https://www.docker.com/what-docker">Docker</a> came to the rescue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*i1eP6sWhpRo3Y8Yj4mHBvA.png" /></figure><p>Docker effectively solved the problem of separating the building environment from the running one and offered many other advantages: we could test locally how our upstream environment would behave; we didn’t need to deploy a environment only for running Acceptance Tests (the container can be run in the testing environment); it’s really easy and fast to create new environments with the same image.</p><p>So, how can one migrate to Docker then? The first step is being able to create an image of your application and for this you will, most likely, need a <a href="https://docs.docker.com/engine/reference/builder/">Dockerfile</a>. The Dockerfile specifies how Docker should build your image, take, for example, this one that install Node.js dependencies:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eb9f684e62178a4c5dadfe94203cd228/href">https://medium.com/media/eb9f684e62178a4c5dadfe94203cd228/href</a></iframe><p>After you have built your image, you need to make it available somewhere. AWS offers <a href="https://aws.amazon.com/ecr/">Elastic Container Registry (ECR)</a> as an option to create private repositories for your images. Creating your own repositories and pushing images to them can be done using the <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-basics.html">AWS CLI</a>.</p><p>EB, as with many other services available in AWS, supports Docker and, thus, deploying a Docker container to it is pretty simple! All you need is a environment configured to use Docker as its platform and a Dockerrun.aws.json file, which specifies the basics of running your container. An example of Dockerrun.aws.json is shown below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/50385cfb3a6d2853632ab44077e8c5b5/href">https://medium.com/media/50385cfb3a6d2853632ab44077e8c5b5/href</a></iframe><p>Pay attention that if your Docker image is on a repository on ECR, you will need to authorize EB to access it. This can be done by adding a policy to the IAM role used by EB allowing some operations in ECR, such as the one shown below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3664082a8d8bd4e8954be1162437fc56/href">https://medium.com/media/3664082a8d8bd4e8954be1162437fc56/href</a></iframe><p>And that’s all! After reading this, you should be able to migrate your EB applications to Docker!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2b84afca784" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thevelops-tech-blog/using-docker-with-elastic-beanstalk-2b84afca784">Using Docker with Elastic Beanstalk</a> was originally published in <a href="https://medium.com/thevelops-tech-blog">theVelops Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why we’ve chosen JavaScript as our main language]]></title>
            <link>https://medium.com/thevelops-tech-blog/why-weve-chosen-javascript-as-our-main-language-f333fe64f19f?source=rss----64076235c470---4</link>
            <guid isPermaLink="false">https://medium.com/p/f333fe64f19f</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Christian Saiki]]></dc:creator>
            <pubDate>Wed, 18 Apr 2018 15:35:19 GMT</pubDate>
            <atom:updated>2018-04-18T15:35:18.925Z</atom:updated>
            <content:encoded><![CDATA[<p>Here in <a href="http://www.thevelops.com/">theVelops</a> we trade software engineering for equity, so mainly we develop SaaS platforms for <strong>early stage startups</strong> that require an API, a Web App and sometimes mobile apps in Android and iOS.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ICUTSxlBAxOCiFqIyjveYg.png" /></figure><p>The main reasons why we’ve chosen JavaScript are:</p><ul><li>The Community</li><li>You can do almost anything</li><li>It is easy to build MVPs</li><li>It is easy to become a Full Stack developer</li></ul><h3>The Community</h3><p>According to Stack Overflow’s developer survey in 2018, for the sixth year in a row, JavaScript is the most commonly used programming language.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ub50hmIW9eY7mrWri1XVxQ.png" /><figcaption>Stack Overflow Developer Survey Results 2018</figcaption></figure><p>The JS community is huge and the benefits of it is that always new modules and OSS projects are released by fellow developers to help the others. The questions in Stack Overflow are always answered quickly and the list goes on and on.</p><p>Every single day I check <a href="http://www.github.com/trending">GitHub’s trending projects</a> to check what is going on with the community and if you pay close attention you will see that the language with the most projects is JS.</p><h3>You can do almost anything</h3><p>It amazes me how a language that was born to make the browsers experience more dynamic turned into something that can be used anywhere.</p><ul><li>If you want to develop an API, use NodeJS with Express or Fastify.</li><li>If you want to develop a Web App, you can choose from React, Preact, Vue, Angular and others.</li><li>If you want to develop a Mobile App, you can choose from React Native, Ionic, Cordova and others.</li><li>For Desktop Apps you can use Electron.</li><li>For Machine Learning now we can use TensorFlow JS.</li></ul><h3>It is easy to build MVPs</h3><p>As I said, in our company we develop software for early stage startups that are trying to validate their businesses. So quick releases and prototyping are critical.</p><p>With NodeJS and React you can develop in a matter of weeks a fully functional MVP.</p><h3>It is easy to become a Full Stack developer</h3><p>In our company we are always receiving and releasing new projects so it is kind of mandatory that all our developers need to become Full Stack and our definition is even different from the usual because we only consider a developer Full Stack when she has the capability of crafting Web Apps, APIs and <strong>Mobile Apps </strong>on her on.</p><p>With JS is easy because you only need to learn one language to do these activities. In a matter of months you can become proficient in these technologies.</p><h3>Conclusion</h3><p>JS has several caveats like lack of typed variables and sometimes it can be slow for some use cases, but my main complaint is that <strong>is boring to document code</strong>. Once we’ve discovered Elixir’s documentation tool is kind of hard to get used to JSDoc.</p><p>Our systems do not need a crazy amount of performance so we do not need to develop in Golang or C++, we are not using Machine Learning for now but if we needed, probably we would use Python.</p><p>Of course that no language can fit in all use cases of all the companies in the world. <strong>But for our purposes JS fits really well</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f333fe64f19f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thevelops-tech-blog/why-weve-chosen-javascript-as-our-main-language-f333fe64f19f">Why we’ve chosen JavaScript as our main language</a> was originally published in <a href="https://medium.com/thevelops-tech-blog">theVelops Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to switch focus between screens in MacOS]]></title>
            <link>https://medium.com/thevelops-tech-blog/how-to-switch-focus-between-screens-in-macos-21c6f02883a6?source=rss----64076235c470---4</link>
            <guid isPermaLink="false">https://medium.com/p/21c6f02883a6</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[mac]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Christian Saiki]]></dc:creator>
            <pubDate>Mon, 16 Apr 2018 21:02:13 GMT</pubDate>
            <atom:updated>2018-04-16T21:02:13.352Z</atom:updated>
            <content:encoded><![CDATA[<p>As a software developer I tend to use two screens for my workflows.</p><p>One is for web browsing (StackOverFlow, Google) and testing in localhost. And the second screen is dedicated for terminal/vim.</p><p>One source of frustration of mine was that I had to use the mouse only to click in the other screen in order to switch the focus.</p><p>Luckily, I was able to learn how to avoid doing that:</p><pre># Download and unzip Catch Mouse<br>wget <a href="https://github.com/round/CatchMouse/archive/master.zip">https://github.com/round/CatchMouse/archive/master.zip</a><br># install Karabiner Elements<br>brew cask install karabiner-elements</pre><p>Move Catch Mouse.app to Applications folder</p><p>And then open it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*tpju2IoIhUmRPEB5suZ-aA.png" /><figcaption>Currently these are the shortcuts that I am using for CatchMouse</figcaption></figure><p>You will be able to switch the mouse between the screens, but you will still need a mouse click in order to switch the focus.</p><p>This is when Karabiner Elements comes to rescue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0-jIfpU33ERzIydaW4t8vg.png" /><figcaption>When I press the right shift key my OS thinks that I am clicking with the left button</figcaption></figure><p>And thats all !!<br>When I need to switch to my terminal I just press:</p><pre>⌥⌘l (option+command+l) -&gt; to switch the mouse to my right screen<br>right⇧ (right shift) -&gt; to click to switch the focus</pre><p>And when I need to switch to the web browser I just press:</p><pre>⌥⌘k (option+command+k) -&gt; to switch the mouse to my left screen<br>right⇧ (right shift) -&gt; to click to switch the focus</pre><pre>⌥⌘k (option+command+k) -&gt; to switch the mouse to my left screen<br>right⇧ (right shift) -&gt; to click to switch the focus</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=21c6f02883a6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/thevelops-tech-blog/how-to-switch-focus-between-screens-in-macos-21c6f02883a6">How to switch focus between screens in MacOS</a> was originally published in <a href="https://medium.com/thevelops-tech-blog">theVelops Tech Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>