<?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 ELIAD MOOSAVI on Medium]]></title>
        <description><![CDATA[Stories by ELIAD MOOSAVI on Medium]]></description>
        <link>https://medium.com/@emoosavi?source=rss-b76222a30a1c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Ta4ob1qmyP7IsBOMfpSnhw.jpeg</url>
            <title>Stories by ELIAD MOOSAVI on Medium</title>
            <link>https://medium.com/@emoosavi?source=rss-b76222a30a1c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 03:13:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@emoosavi/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[What is Docker? What are containers?]]></title>
            <link>https://medium.com/@emoosavi/what-is-docker-what-are-containers-6067fdc17cba?source=rss-b76222a30a1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/6067fdc17cba</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cycle]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[containers]]></category>
            <dc:creator><![CDATA[ELIAD MOOSAVI]]></dc:creator>
            <pubDate>Tue, 07 Mar 2017 00:42:07 GMT</pubDate>
            <atom:updated>2018-07-22T23:47:44.877Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*88ALGcgTdHqFG8J7Xo2HAA.png" /></figure><h3><strong>Meet Dave!</strong></h3><p>Dave’s a<strong> sys. admin</strong>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*Vfy9zF29he9SPx8Y8ZfBig.gif" /><figcaption>by <a href="https://dribbble.com/rosscoe">Ross Turner</a></figcaption></figure><p>Dave spends most of his time looking at:</p><ul><li><strong>logs</strong></li><li>checking out <strong>resource</strong> <strong>usages</strong></li><li>debugging things</li><li>and maintaining<strong> build configurations</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*DN_JZ6G71aKh8pyh4bCORw.gif" /><figcaption>by <a href="https://dribbble.com/stasura">Stanislav Krutilin</a></figcaption></figure><h3>Meet Amy!</h3><p>Amy’s a<strong> web developer</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*AfI5xBUpMLbqfDDroiiLwg.gif" /><figcaption>by <a href="https://dribbble.com/ryancreason">Ryan Creason</a></figcaption></figure><p>Amy spends most of her time looking at:</p><ul><li><strong>webpages</strong></li><li>choosing the <strong>best stack</strong> to go with for her <strong>web application</strong></li><li>and following<strong> build configurations</strong>.</li></ul><h3>Do you see the problem?</h3><p>Dave needs to <strong>constantly get familiar with the changes in the stack Amy uses</strong> in order to maintain build configurations for them!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*Y12E9t1oGgIiBtP6klWbiQ.png" /></figure><p>Time he should’ve been able to spend on <strong>ensuring security in the server</strong> and <strong>optimizing usage</strong> etc. 😞</p><h3>1. Containers solve the issue of “Separation of Concerns”</h3><p>Using containers, <strong>Amy will divide</strong> her application up into <strong>small microservices</strong>, and make each responsible for <strong>a part of this larger function.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*R4C1XwhCNI2TVvvrJ-384Q.gif" /><figcaption>by <a href="https://dribbble.com/DavidUrbinati">David Urbinati</a></figcaption></figure><p>Now <strong>Dave</strong> can focus on working with the kernel files, optimizing security etc, and <strong>Amy</strong> can build her application, <strong>maintaining her own build configurations</strong>, with the occasional supervision from Dave’ side.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*xWrJT3Tl_rXP_RecZggN4A.gif" /><figcaption>by <a href="https://dribbble.com/zabombey">Zabombey</a></figcaption></figure><blockquote>What’ll that look like?</blockquote><p>You ask…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*1fqvkHCIedR2vCKTWym8Kg.png" /><figcaption>by <a href="https://spring.io/blog/2015/07/14/microservices-with-spring">Spring</a></figcaption></figure><p>In the diagram above, you can see an <strong>online shopping</strong> service being divided into <strong>4 moving parts</strong> (the different containers).</p><p>Each of the tasks above are <strong>large enough </strong>to be a <strong>service of their own.</strong></p><h3><strong>Now you might say:</strong></h3><blockquote>I’ve been making online shops for years <strong>without</strong> containers</blockquote><p>This approach gets us 3 things:</p><ul><li><strong>High Scalability — </strong>With this approach you can scale any of the 4 containers to any size without causing issues for your other containers 💯</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*KzwrmM0nNE8PhuuZn9X5yw.gif" /><figcaption>by <a href="https://dribbble.com/WeWander">Owen Chikazawa</a></figcaption></figure><ul><li><strong>Separate Builds </strong>— When rolling out updates for the “Cart Server”, you no longer need to rebuild the whole product. 🔥</li><li><strong>Separate Teams </strong>— You can now assign each one of the 4 parts of this web application to a separate team. They do not need to <em>constantly</em> work together, and can each focus on making that specific function great.👌</li></ul><h3>2. Docker solves the issue of “Running the app in dev &amp; test environments”</h3><p><strong>Sarah</strong>, the designer in the team, needs to keep the web application running on her <strong>Macbook Pro</strong>, so that she can keep analyzing the UX, and designing more and more awesome pages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*eSAOnWy9jF9ApxP3ApzeKA.gif" /><figcaption>by <a href="https://dribbble.com/TonyBabel">Tony Babel</a></figcaption></figure><ul><li><strong>Dev, Test &amp; Production Environments</strong>—Docker containers are like enhanced Virtual Machines. Once your application works in one, it will work on any computer/server whether it’s<strong> Linux, Windows or Mac. </strong>🙏</li></ul><h3>3. Almost no downtime!</h3><p>You can always write scripts to load-balance your docker containers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eH3mLyX2D31QXC5uBH355w.png" /><figcaption>by <a href="https://dribbble.com/viethuynh">Viet Huynh</a></figcaption></figure><p>The idea is that, for a specific function (e.g. our online shop’s front-end), you would run two identical containers, so that if anything goes wrong, or there’s an update, you simply:</p><ol><li>Flag 1 container to <strong>stop taking more connections in</strong></li><li>Take that container <strong>down</strong></li><li><strong>Update</strong> it to the newest version, or just <strong>restart</strong> it for being faulty</li><li>Bring it back up (voila! 🎉)</li></ol><h3>So What exactly is Docker now?</h3><p>When my colleague showed me Docker for the first time, I was really <strong>confused by their explanation</strong> of what it does.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9T35F6mLh9UE7lZdGYmulg.png" /></figure><p>Turns out that’s <strong>exactly</strong> what Docker does!</p><p>Docker does the <strong>same</strong> as virtual machines do, but in a <strong>much better</strong> way.</p><p>It uses the <strong>“Docker Engine”</strong> to <strong>install only 1 instance of the OS</strong>, but run as many as you need, <strong>without actually installing more instances.</strong></p><p>The engine will run <strong>on top of the Host OS,</strong> sharing the kernel files within your containers, and tricking them to believe that they are each in their <strong>own brand-new environment</strong>, at isolation.</p><p>As a result, you get your blazing-fast lightweight containers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CsxJKPsYxTwEZqTLo3wGug.png" /></figure><h3>Shut up and tell me where to get started 😍!</h3><p>I will be posting more introductory tutorials in the following weeks to get you started; in the meantime you can look into these:</p><ul><li><a href="https://docs.docker.com/engine/getstarted/">Get started with Docker</a></li><li><a href="https://hub.docker.com/explore/">Docker Hub (Repository of free docker images to use!)</a></li></ul><h3>Where do I run Docker?</h3><p>Many cloud platforms currently have added support for Docker. One product that I recently saw at a conference really blew me away though!</p><figure><a href="https://cycle.io/"><img alt="" src="https://cdn-images-1.medium.com/max/766/1*LwZYgYlH3XYwHavJ3gCl_w.png" /></a></figure><p><strong>Cycle</strong> has been developed as a cloud platform, with a<strong> 100% focus</strong> on the <strong>containerization</strong> approach.</p><h3>Here’s how to run a Docker image on the cloud</h3><p><strong>1.</strong> Signup on <a href="https://cycle.io/">cycle.io</a></p><p><strong>2. </strong>Go to your <strong>dashboard</strong> -&gt; Click on <strong>“Images”</strong> from the sidebar, and then <strong>“Import Docker Image”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E0yiOJbjrzEYHcy-ocFeXQ.png" /></figure><p><strong>3. </strong>We’re going to import the official NGINX image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qg1BfmUPVuKWyWTaBgewWA.png" /></figure><p>This will tell cycle to lookup the <strong>nginx</strong> image on <strong>Docker Hub:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fb-BNPxZHJ7dJFv4Ilb_8g.png" /></figure><p><strong>4. </strong>After clicking on “Import Image”, <strong>cycle</strong> <strong>will pull </strong>the specified image, verify its <strong>authenticity</strong>, save it and clean it.</p><p>At which point you can click on “Go to Image” to see it</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*c1WWYnv1fP59_cb8EmSOxw.png" /></figure><p><strong>5. </strong>Click on <strong>“Environments”</strong> from the sidebar, then <strong>“Create a New Environment”</strong></p><p><strong>6. Name</strong> your new environment and press <strong>“Create Environment”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XEvQzx2Y7wI8ajcVRDUA2Q.png" /></figure><p><strong>6. Open</strong> the environment we just created, then click on<strong> “Create Container”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2TQxn0C4zKEeP01EigmR4w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ORsaBKvQQ-MDbxlKsF7jvQ.png" /></figure><p><strong>7. </strong>Enter a <strong>name</strong> for your container, and make sure that the <strong>nginx</strong> image is chosen as the image for our <strong>new container.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yg9QRPLVzzpxrHmNjGg92w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YKWjIdxU5dsu8pM1JC3OSg.png" /></figure><p><strong>8.</strong> Choose a <strong>datacenter</strong> to host the container on, and press <strong>“Create Container”</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_nDhX_KSjDFaRJ3qRjF1_A.png" /></figure><p><strong>9.</strong> At this point we’re all set, and just need to <strong>start our container</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SJX3Pn2-Hnh2-kQFJpqnpQ.png" /></figure><p><strong>10. </strong>After the container is successfully started, you will get an <strong>IP Address,</strong> which will point to <strong>port 80 of your environment.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8pAUXtiSnG-F_m7WFkipvw.png" /></figure><p><strong>11. </strong>Now if you go to that<strong> IP Address</strong>, you will see a blank <strong>NGINX</strong> project.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OAXNlP5zSQ3hupgP7r_h_Q.png" /></figure><p><strong>Stay tuned for more Docker tutorials! </strong>😉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6067fdc17cba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[4 Months at IBM & 4 Projects]]></title>
            <link>https://medium.com/@emoosavi/0-100-4-months-at-ibm-300-commits-4-projects-5ba0a1087b08?source=rss-b76222a30a1c------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ba0a1087b08</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[internships]]></category>
            <category><![CDATA[ibm]]></category>
            <category><![CDATA[time-management]]></category>
            <category><![CDATA[ibm-watson]]></category>
            <dc:creator><![CDATA[ELIAD MOOSAVI]]></dc:creator>
            <pubDate>Wed, 31 Aug 2016 15:59:17 GMT</pubDate>
            <atom:updated>2018-06-25T06:06:28.523Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mVtySkHp8wSRC-JV5zXWMw.jpeg" /><figcaption>IBM — Markham Design Studio</figcaption></figure><p>Not too long ago, I started working in IBM’s IoT team as a developer intern.</p><p>Since then, I’ve delivered 4 projects through various platforms (Web, iOS &amp; Android)</p><p><strong>2 of those platforms I absolutely knew nothing about, but I had to get real good real quick!</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*yH8e8yK8D99xZ1SJp_TNPg.png" /></figure><h4>Let me give you a taste of what my internship’s been like</h4><p>It’s been 4 months of doing very diverse work, and I gotta say, being a constant “change seeker” I like it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S0kflWYHIrui2kswFpVmWQ.png" /></figure><p>I tried to learn, and work at the same time, so I had to be super productive, and on my game, and here’s what I learned about being all those things:</p><h3>Always be Learnin’</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iWMWnaTPQPi0TSTk7h17UQ.png" /><figcaption>As soon as you get an extra minute, put on a video tutorial</figcaption></figure><p>On my first day, I was handed the task to finish an iOS application for our Automotive Solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jdHDELbsZZapwqv6UXZndA.png" /><figcaption>Swift by Apple</figcaption></figure><p><strong>I knew nothing about iOS, Swift or Objective-C</strong>; but I immediately started on some courses to quickly learn the fundamentals.</p><p>I watched 8 hours of content at work, and probably another 5–6 hours at home, and coded at the same time, and guess what, the next Monday I was coding for the actual project.</p><p>Same thing happened to me when I had to make the same app for Android last month. So I did the same, and today we’re ready to release the application.</p><h3>Work Smart &amp; Work Hard!</h3><p>Some say that you need to work smart instead of working hard, but <strong>what if you do both?</strong></p><p>For the past 4 months, I’ve perfectly managed my time and pushed myself to my <strong>maximum productivity (as of yet)</strong>, and still worked a few extra hours a day losing some sleep.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EKVlrkKN8Cykt7xz2Zy9sQ.png" /></figure><p>As long as I feel good about what I do, the results will be positive; but if I feel tired, I have to take off, because then I’d just be <strong>counter productive</strong>, slow and not creative.</p><h3>Always Have a Routine</h3><p>Working so many hours a day can get tough, but it’s not anything you can’t fix with a little bit of doing something else that you also like.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X9IUZHk9xyF9zyJqwIP6gw.png" /><figcaption>Do specific tasks at specific times of the day, everyday!</figcaption></figure><p>No matter what I feel like, I always do two things on the side with my work, watch TV Shows and workout.</p><p>While I’m working, at least when I’m home, I always have a <strong>TV Show on playing in the background</strong>, doesn’t matter if it’s a new one or something I’ve seen 10 times, like Breaking Bad.</p><p>It gives me a lot of hype, and <strong>makes me go</strong>.</p><p>Also, I can’t end a day without a proper workout, helps me <strong>calm down</strong> and <strong>put an end to “Today”</strong>, go to bed and get ready for “Tomorrow”.</p><p>You’d probably want to consider something similar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*wWaO5F40RECchKk9qxtFng.png" /></figure><h3>Set Goals!</h3><p>When you wake up in the morning, set goals you want to achieve by the end of the day.</p><p><strong>No matter how small, make them count.</strong></p><p>Set hourly goals, weekly, monthly, hell even set yearly goals, they help you stay on top of things and feel like <strong>you’re making progress</strong>.</p><h3>Time Management</h3><p>Keep track of how much time you spend on doing things.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*skUpftifWh9xm_qni56tmg.png" /></figure><p>Learn how long it takes you to accomplish different tasks, remember them, and plan your days accordingly, so that you don’t run out of time.</p><p>It’s important that you <strong>stay motivated</strong> and <strong>not feel like you’re falling behind</strong>, or that you’re not good enough.</p><h3>Conclusion</h3><p>You can always push yourself further, and it might be just “Pushing” for a <strong>short while</strong>, but after that, <strong>you become that new person</strong> and it will feel natural. So why not?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ba0a1087b08" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>