<?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 Lazim Mohammed on Medium]]></title>
        <description><![CDATA[Stories by Lazim Mohammed on Medium]]></description>
        <link>https://medium.com/@m25lazi?source=rss-77be0fda3ee3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*PdqrsCAaxtZ-rIr3Z6e7WQ.jpeg</url>
            <title>Stories by Lazim Mohammed on Medium</title>
            <link>https://medium.com/@m25lazi?source=rss-77be0fda3ee3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 10:31:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@m25lazi/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[Introducing Draafts for iOS — a minimalist note app]]></title>
            <link>https://m25lazi.medium.com/introducing-draafts-for-ios-a-minimalist-note-app-d34758697bf9?source=rss-77be0fda3ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d34758697bf9</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[releases]]></category>
            <category><![CDATA[indiedev]]></category>
            <dc:creator><![CDATA[Lazim Mohammed]]></dc:creator>
            <pubDate>Fri, 12 Mar 2021 07:01:34 GMT</pubDate>
            <atom:updated>2021-03-12T07:01:34.569Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introducing Draafts for iOS — a minimalist note app</h3><p>I’m really excited to announce a project I’ve been working on for the last few months. It’s called <strong>Draafts</strong> and it’s the most minimalist note app on App Store.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2z9LRenZMewbAS7Qan7Now.jpeg" /><figcaption>‘Launching’ — Photo by <a href="https://unsplash.com/@spacex">SpaceX</a> on <a href="https://unsplash.com/">Unsplash</a></figcaption></figure><p>Draafts has a single page editor for writing. No multiple notes, searching through hundreds of notes &amp; finding the correct one. Simply launch and start writing. Whatever you write stays in your device and is not sent to any servers.</p><p>The quick bar at the bottom is bundled with some easy actions. You can copy the whole text with a single click or you want to start from scratch again? Draafts have it covered. Quick bar also shows the number of words you have written right now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_BaC5w72kXvv1r7eFXL0YA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MQUWBzgi5pKl3pkBnUA0rQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oul2vHk8E4EiGRU-mSFKPw.png" /></figure><p>Draafts is built with latest of Apple Development tools. Native Swift code helps in very performant application &amp; very less app binary. You know how much you are downloading from the app store? Just around 250KB. 😎</p><p>App also supports most of the features in latest iOS /iPadOS. This includes dark mode, keyboard shortcuts &amp; iPad mouse interaction support.</p><p>I have spent so much time in making Draafts very minimal, that it helps to not get distracted by any overkilling features or any app notifications. You don’t even have to register to start writing or periodically close the ads that comes up. App is fully free of ads and it will remain same forever.</p><h3>Tech Stack &amp; Services</h3><ul><li>Swift 5.3 with Xcode 12.1</li><li>Storage — Native iOS storage APIs</li><li>Custom analytics tool built with Firebase</li><li>Chat bots for feature requests &amp; issue reporting powered <a href="https://collect.chat/">collect.chat</a>. (Free plan for now until I exhaust the plan limits)</li><li><a href="https://landing.draafts.com/native/index.html">Landing</a> page built with plane HTML / CSS hosted on <a href="https://vercel.com/">Vercel</a></li><li>Private Github repo for code</li></ul><p>App uses a zero dollar tech stack for building everything from app to website and hosting it.</p><p>Download app from <a href="https://apps.apple.com/in/app/draafts/id1491863324">appstore</a> now. You can get to know more about the app <a href="https://landing.draafts.com/native/index.html">here</a>.</p><p>I’d love to hear your feedback. You can reach me on <a href="https://twitter.com/m25lazi">Twitter</a> or <a href="/service/mailto:focus@mlaz.im">email</a> me if you’d like.</p><p>Cheers!</p><p>If you’re looking for a similar experience on Web or Android, please try out the Progressive Web App version of <a href="https://draafts.com/?ref=focus-blog">Draafts</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d34758697bf9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting Started with Swift on Ubuntu]]></title>
            <link>https://heartbeat.comet.ml/getting-started-with-swift-on-ubuntu-a379087e782?source=rss-77be0fda3ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a379087e782</guid>
            <category><![CDATA[heartbeat]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[swift-programming]]></category>
            <category><![CDATA[virtual-machine]]></category>
            <dc:creator><![CDATA[Lazim Mohammed]]></dc:creator>
            <pubDate>Fri, 01 May 2020 14:00:10 GMT</pubDate>
            <atom:updated>2021-10-15T17:06:22.417Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YKokwJxu-hpPHx3PNdGcmA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@maxcodes?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Maxwell Nelson</a> on <a href="https://unsplash.com/s/photos/swift-developer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><blockquote>Swift is a general-purpose programming language built using a modern approach to safety, performance, and software design patterns.</blockquote><p>Everyone knows that Swift is an open-source language from Apple and is available on macOS machines. Some of you might even know that Swift can be compiled on iPadOS.</p><p>But did you know that Swift is also available on Ubuntu? If yes, have you ever tried it?</p><p>Let’s try this out here—this post will walk you through compiling a Swift file on Ubuntu.</p><h3>Getting Ubuntu</h3><p>If you have an Ubuntu machine available, you can skip to the <strong><em>Downloading Swift</em></strong> section.</p><p>Otherwise, don’t worry. I can help you get an Ubuntu VM on your macOS or Windows workstation. We’ll use a product called <em>Multipass</em> from Ubuntu to instantly create Ubuntu VMs on your existing machine(s).</p><h3>Installing Multipass</h3><blockquote>Multipass provides a command line interface to launch, manage and generally fiddle about with instances of Linux. The downloading of a minty-fresh image takes a matter of seconds, and within minutes a VM can be up and running.— <em>The Register (Taken from Multipass website)</em></blockquote><p>You can download the installer for Windows / MacOS / Linux machines from the Multipass website here:</p><p><a href="https://multipass.run/">Multipass orchestrates virtual Ubuntu instances</a></p><h3>Launching your first Ubuntu VM</h3><p>Run your first Ubuntu VM with this command:</p><pre>multipass launch --name ubuntu-swift</pre><p><em>If this is your first time launching an Ubuntu VM, it might take some time, as it needs to download the Ubuntu LTS image from the repo.</em></p><p>Once done, you’ll get a message like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/860/1*B1wxYFZWOS3ZfykYwFtiVw.png" /><figcaption>Success message for launching a new multipass VM</figcaption></figure><p>Verify the version of Ubuntu that’s installed. This is required to get the correct version of Swift.</p><pre>multipass exec ubuntu-swift -- lsb_release -a</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/952/1*pyvdsN2fn8231K0lqGKByg.png" /><figcaption>Output for `lsb_release -a` command</figcaption></figure><p>Note that 18.04 is the Ubuntu version here.</p><h3>Swift Toolchain</h3><p>You can get the latest Swift toolchain from their download page <a href="https://swift.org/download/">here</a>.</p><p>Find the toolchain URL for the specific version for your Ubuntu. Here, it’s 18.04 for me.</p><p>The URL might look like this: <a href="https://swift.org/builds/swift-5.2.2-release/ubuntu1804/swift-5.2.2-RELEASE/swift-5.2.2-RELEASE-ubuntu18.04.tar.gz">https://swift.org/builds/swift-5.2.2-release/ubuntu1804/swift-5.2.2-RELEASE/swift-5.2.2-RELEASE-ubuntu18.04.tar.gz</a></p><h3>Enter into Ubuntu Shell</h3><p>You can enter directly into the VM’s shell using the following command:</p><pre>multipass shell ubuntu-swift</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*B6SgLCxe201uLf1PirBhQw.png" /><figcaption>Output after entering into the shell</figcaption></figure><p>Now you’re in the Ubuntu shell, and whatever command you type will be executed on the VM.</p><h3>Downloading Swift</h3><p>When you start, you’ll be in the folder /usr/ubuntu. We can create a new directory and download the toolchain into this:</p><pre>mkdir swift5<br>cd swift5<br>wget https://swift.org/builds/swift-5.2.2-release/ubuntu1804/swift-5.2.2-RELEASE/swift-5.2.2-RELEASE-ubuntu18.04.tar.gz</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AV6SLcQX1LZ3XNqjy7JPzA.png" /><figcaption>Downloaded tar.gz for Swift toolchain</figcaption></figure><pre>tar xzf &lt;filename&gt;</pre><p>Unarchive the tarball file using the command above.</p><h3>Install other dependencies</h3><p>Now we need to install other dependencies required by the Swift Compiler. This includes clang, libpython2.7, &amp; libicu, as mentioned in the Swift download page.</p><pre>sudo apt-get update</pre><pre>sudo apt-get install clang libpython2.7 libicu-dev</pre><h3>Final Changes</h3><p>Finally, we can move the unarchived Swift files into the shared folder &amp; configure the environment variables to get an executable available via the terminal.</p><p>Make sure the source folder name (Swift version) is correct while moving the files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8zPXa6mO0AU9j-uDZ85KsQ.png" /><figcaption>Moving the folder to /usr/share/swift</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r45fTCpPzDwPpHGazNklxA.png" /><figcaption>Configure the environment variable PATH</figcaption></figure><h4><strong>Verify Swift</strong></h4><p>Swift can be verified using the version option on the Swift compiler.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/1*l-uknIKmoXdON4qdhQFxVA.png" /></figure><h3>Hello World!</h3><p>Congrats! 🎉</p><p>You have successfully installed Swift on an Ubuntu machine. Let’s say those two miraculous words now.</p><p><strong>Create <em>Hello.swift</em></strong></p><pre>echo &quot;print(\&quot;Hello World! \&quot;)&quot; &gt;&gt; Hello.swift</pre><p><strong>Run compiler</strong></p><pre>swift Hello.swift</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GGt2J50kqe2gpohODURM8Q.png" /><figcaption>👋🏻 from Swift</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ldfmQTuicV6q1P1s" /><figcaption>Photo by <a href="https://unsplash.com/@jdent?utm_source=medium&amp;utm_medium=referral">Jason Dent</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Moving Forward</h3><p>Since you have Swift installed on your Ubuntu machine (or VM), you can use all packages available with it to create awesome Swift applications.</p><p>Learn more on SPM <a href="https://swift.org/package-manager/">here</a>.</p><p><em>Feel free to comment any suggestion or feedback.</em></p><p><em>Editor’s Note: </em><a href="https://heartbeat.comet.ml/"><em>Heartbeat</em></a><em> is a contributor-driven online publication and community dedicated to providing premier educational resources for data science, machine learning, and deep learning practitioners. We’re committed to supporting and inspiring developers and engineers from all walks of life.</em></p><p><em>Editorially independent, Heartbeat is sponsored and published by </em><a href="http://comet.ml/?utm_campaign=heartbeat-statement&amp;utm_source=blog&amp;utm_medium=medium"><em>Comet</em></a><em>, an MLOps platform that enables data scientists &amp; ML teams to track, compare, explain, &amp; optimize their experiments. We pay our contributors, and we don’t sell ads.</em></p><p><em>If you’d like to contribute, head on over to our</em><a href="https://heartbeat.fritz.ai/call-for-contributors-october-2018-update-fee7f5b80f3e"><em> call for contributors</em></a><em>. You can also sign up to receive our weekly newsletters (</em><a href="https://www.deeplearningweekly.com/"><em>Deep Learning Weekly</em></a><em> and the </em><a href="https://info.comet.ml/newsletter-signup/"><em>Comet Newsletter</em></a><em>), join us on</em><a href="https://join.slack.com/t/fritz-ai-community/shared_invite/enQtNTY5NDM2MTQwMTgwLWU4ZDEwNTAxYWE2YjIxZDllMTcxMWE4MGFhNDk5Y2QwNTcxYzEyNWZmZWEwMzE4NTFkOWY2NTM0OGQwYjM5Y2U"><em> </em></a><a href="https://join.slack.com/t/cometml/shared_invite/zt-49v4zxxz-qHcTeyrMEzqZc5lQb9hgvw"><em>Slack</em></a><em>, and follow Comet on </em><a href="https://twitter.com/Cometml"><em>Twitter</em></a><em> and </em><a href="https://www.linkedin.com/company/comet-ml/"><em>LinkedIn</em></a><em> for resources, events, and much more that will help you build better ML models, faster.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a379087e782" width="1" height="1" alt=""><hr><p><a href="https://heartbeat.comet.ml/getting-started-with-swift-on-ubuntu-a379087e782">Getting Started with Swift on Ubuntu</a> was originally published in <a href="https://heartbeat.comet.ml/">Heartbeat</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Environment Variables in Xcode]]></title>
            <link>https://m25lazi.medium.com/environment-variables-in-xcode-a78e07d223ed?source=rss-77be0fda3ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a78e07d223ed</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[debugging]]></category>
            <category><![CDATA[ios-app-development]]></category>
            <category><![CDATA[xcode]]></category>
            <dc:creator><![CDATA[Lazim Mohammed]]></dc:creator>
            <pubDate>Mon, 13 Jan 2020 02:58:36 GMT</pubDate>
            <atom:updated>2020-05-21T16:19:07.878Z</atom:updated>
            <content:encoded><![CDATA[<h4>Creating custom variables &amp; looking into some of the predefined ones in Xcode</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fPbem7RflJbgtm9PhMWg9w.png" /></figure><p>According to Wikipedia, an Environment Variable is a dynamic-named value that can affect the way running processes will behave on a computer. They are part of the environment in which a process runs.</p><p>It also gives an example, that the process can query for the value of an Environment Variable named ‘TEMP’ to discover the location to store temporary files.</p><p>When you are trying to run a server this example makes good sense. Another example will be of getting the port on which the server should run.</p><p>Apart from this, one of the most important use of Environment Variables is to pass secret configurations to the process at run time instead of hardcoding it while building and committing it to your repository. This includes but not limited to setting API Keys for a dependency, password or other forms of credentials to authenticate to another service.</p><p>Environment Variables are a set of key value pairs that are passed on to the process from outside of the program. The running process will be able to read these values in runtime and make changes to the execution conditions based on it. Ideally these are read only pairs, set once when the execution begins and the program won’t have access to change the values in runtime.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Fx2xt6abjoAE_SbrX6s2Vg.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@zanilic?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Zan</a> on <a href="https://unsplash.com/s/photos/xcode-debugging?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h3>Environment Variables in Xcode</h3><p>Similar to a process that runs an executable on any Operating System, iOS / iPadOS / macOS applications can make use of this feature to pass specific runtime variables to the applications.</p><p>One major difference in the concept of Environment Variables in Apple ecosystem is that the Xcode is responsible for setting these variables to the process and can be set only through that. Once you built the app and install it in the device, launching it via the app launch screen, variables won’t be set.</p><p>This is really useful that whatever you write under the influence of Environment Variables, won’t effect your user when they install your app via AppStore or TestFlight.</p><h3>Setting Environment Variables via Xcode</h3><p>Environment Variables are set in Xcode under the Scheme Configurations. <strong>Arguments</strong> Tab allows us to add or remove a specific key value pair in UI. You can even enable or disable specific key value pair in a run.</p><p>Ability to save list of keys and to enable or disable it only when required save lot of time when you have several variable options in your application and you don’t have to keep those in memory or refer a different piece of documentation file altogether.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/1*uAHDAOotOtg6oBbZobTSdw.png" /><figcaption>Choose <strong>Edit Scheme</strong></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4gS43IENgxIwNrqjQ7wvGQ.png" /><figcaption>Under ‘<strong>Run</strong>’ Configurations in the left pane, select ‘<strong>Arguments</strong>’ Tab. See ‘<strong>Environment Variables</strong>’ section.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VOY3HE9hc57u2UBywGBj8A.png" /><figcaption>Enable / Disable specific key value pair from the ‘<strong>Environment Variables</strong>’ section.</figcaption></figure><p>Whatever variables set above is for <strong>Run</strong> Configuration. These variables can be modified while running test cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PRqgUpgBN-D7tvEsO5zF_w.png" /></figure><p>You can either choose to use the same set of variable available for <strong>Run</strong> by enabling ‘<strong>Use the Run action’s arguments and environment variables</strong>’ on top. Or you can disable it and specify entirely new set of values for the keys.</p><p>In the example above, I use ‘<strong>text_analyzer_log</strong>’ to print additional logs related to analyzing the text input from the user, to figure out the aggregate word count or character count in a notes application.</p><h3>Reading Environment Variables</h3><p>You can read the environment variables via ProcessInfo API.</p><p>For example, the ‘<strong>text_analyzer_log’ </strong>we set earlier can be read like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tcZ9JLlOQa4cZP2ZfDn00w.png" /><figcaption>Code: <a href="https://gist.github.com/m25lazi/eb56ea7b99e4d4ebc06eef9a9187bbe0">https://gist.github.com/m25lazi/eb56ea7b99e4d4ebc06eef9a9187bbe0</a></figcaption></figure><p>The ‘<strong>environment</strong>’ property under ProcessInfo is a dictionary with both keys and values as String. Whatever you passed as environment variables in the scheme will be treated as String, and in case it is of different form, you have to try type casting it.</p><h3>Using Environment Variables for Debugging / Automation</h3><p>As we have seen earlier, environment variables are set only when you run the app via Xcode. This makes it a really good candidate in redefining the paths or overriding a specific case while testing, whether it be by running unit tests or running the actual app itself.</p><p>For example, you can simply override the whole of your presentation logic when running unit tests. Or disable app analytics when executing paths that fires an analytics event in unit tests / while running automation tests.</p><p>In case of automation, environment variables can be used to pass authentication token in order to test post-authentication launches or can be used to clean all the storages while launching the application. Clearing storage is really helpful since we don’t have any methods to actually delete and reinstall the application between test cases.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-CAiwsF4PDiVD75FqKwsIg.png" /><figcaption>Launching application with environment variable while UI Testing</figcaption></figure><h3>Predefined Environment Variables</h3><p>There are several predefined environment variables in Xcode available for debugging purposes. This includes:</p><ul><li><strong>NSZombieEnabled</strong>: This controls whether the Foundation runtimes will use zombies. This helps in debugging crashes due to zombies. See more <a href="https://gist.github.com/JeOam/e62c95a0b4c21974bcf6">here</a>.</li><li><strong>NSDeallocateZombies</strong>: This controls whether Foundation should free all zombies.</li><li><strong>MallocGuardEdges</strong>: Enables protecting memory before and after the buffer so that we can catch buffer overflows.</li></ul><p>You can read more about predefined environment variables from the links in references.</p><p>Few of these predefined debugging controls are now available to enable as a check box within <strong>Diagnostics</strong> tab under <strong>Edit Scheme</strong> screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IWL_Yr01oELhiJC_lXSJww.png" /><figcaption>See Zombie Objects and other malloc environment variables available.</figcaption></figure><h3>References</h3><ul><li>Environment Variables (<a href="https://en.wikipedia.org/wiki/Environment_variable">Wikipedia</a>)</li><li>Environment Variables (<a href="https://developer.apple.com/documentation/foundation/processinfo/1417911-environment">Apple</a>)</li><li>Predefined variables in Xcode (<a href="https://nshipster.com/launch-arguments-and-environment-variables/">NSHipster</a>)</li><li>Enabling malloc debugging feature (<a href="https://developer.apple.com/library/archive/documentation/Performance/Conceptual/ManagingMemory/Articles/MallocDebug.html">Apple</a>)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a78e07d223ed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Unit Testing Swift Code with Protocols]]></title>
            <link>https://m25lazi.medium.com/unit-testing-swift-code-with-protocols-7aa0b8d7816d?source=rss-77be0fda3ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/7aa0b8d7816d</guid>
            <category><![CDATA[dependency-injection]]></category>
            <category><![CDATA[ios-development]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[unit-testing]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Lazim Mohammed]]></dc:creator>
            <pubDate>Sun, 16 Sep 2018 14:57:22 GMT</pubDate>
            <atom:updated>2018-09-16T14:57:22.692Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post we’ll look how Protocols and Dependency Injection can help us in writing pure testable code in Swift.</p><p>Purity of the class or API is determined by the dependency it has. For example, if you have an API to find sum of two numbers that accepts those two numbers as parameter, it is pure. There is no dependency to that API.</p><p>But if you have an API that adds a number to a global variable and accepts only one argument, it is not pure. Its response depends on the value of global variable and the arguments. Assume this API is under a class <em>Accumulator</em> and the global variable which we defined earlier was a property of this class — then the class is pure, but the API is still not.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8afbb14677d83059d62ac9d2c04d9ec5/href">https://medium.com/media/8afbb14677d83059d62ac9d2c04d9ec5/href</a></iframe><p>Making API pure helps us in writing unit tests much easier. If we can’t make an API pure, we should try to re-write the class involved to be pure.</p><p>In this post we can try to make an impure class and function pure, thereby testable 🤘🏻</p><h3>User Class Example</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb88bcbea731ba47257336a5576fb3e0/href">https://medium.com/media/fb88bcbea731ba47257336a5576fb3e0/href</a></iframe><h3>Testing the User Class</h3><p>We are going to test the <em>User</em> class which we wrote just now. Only purpose of the class for now is to fetch the profile image from some service, apart from saving the display name.</p><p>But if you notice the <em>fetchProfileImage</em> API, it is tightly coupled with the ImageDownloader class within the API, which makes it impure. Once we call this public API, we don’t have much control over the network calls that ImageDownloader makes in order to fetch the image.</p><p>Just to fix this, let’s rewrite the <em>fetchProfileImage</em> API a bit.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8359c19aea983b0004ef25765bd617f6/href">https://medium.com/media/8359c19aea983b0004ef25765bd617f6/href</a></iframe><p>The main change here is to inject the downloader as an API parameter. Wonder how this will help us in testing the API?</p><p>Here it is. Since you are supposed to pass the downloader as a parameter, the API will even take a custom subclass of ImageDownloader where you can override the fetch API not to use any network connections, but respond with the image or error you want to return as per the testing scenario.</p><p>Let’s see an example:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c03684f7763dc07ba5c50a853cd9a63c/href">https://medium.com/media/c03684f7763dc07ba5c50a853cd9a63c/href</a></iframe><p>Here we have a <em>MockImageDownloader</em> that takes response as init parameter and respond that for fetch request. Now the downloader is under control for during testing, so you don’t have to worry about the network calls.</p><p>This is called <strong>Dependency Injection</strong>!</p><h3>Using Protocols</h3><p>Let’s see how we can again improve this code. Currently our <em>fetchProfileImage</em> API accepts a concrete type ImageDownloader. Let’s change it to accept a protocol <em>ImageFetcher</em>.</p><p>You can read these if you are not familiar with Protocols:</p><ul><li><a href="https://docs.swift.org/swift-book/LanguageGuide/Protocols.html">Protocols - The Swift Programming Language (Swift 5.7)</a></li><li><a href="https://www.appcoda.com/protocols-in-swift/">A Beginner&#39;s Guide to Protocols and Protocol Extensions in Swift</a></li></ul><p>Let’s do this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c4f9b1246d1353fe59e85b2d0d19640e/href">https://medium.com/media/c4f9b1246d1353fe59e85b2d0d19640e/href</a></iframe><p>This is a very minor change, where we replaced <em>ImageDownloader</em> class with an <em>ImageFetcher</em> interface. The beauty of ImageFetcher is that it can fetch image from any source depending upon the implementation of concrete object we pass.</p><h3>Final User Class Implementation</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/81763feaadf5aa39dbd4293767c0ac68/href">https://medium.com/media/81763feaadf5aa39dbd4293767c0ac68/href</a></iframe><h3>Testing</h3><p>Here is how we can test the above code:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f3c9c800b9e899635d0c1cacd87b073d/href">https://medium.com/media/f3c9c800b9e899635d0c1cacd87b073d/href</a></iframe><p>Since we have a file fetcher implementation already in our main bundle, you don’t even need to have a separate Mock implementation, given you have resource available in the documents directory in this case (You can even have it in your application test bundle).</p><p>Using protocols and dependency injection, you can write testable code. Object injection can be via an API as in this example or via a class to make an API or class pure without having any unknown dependency inside.</p><p>Read this if you want to learn more ways to inject dependency in your code.</p><p><a href="https://www.swiftbysundell.com/posts/dependency-injection-using-factories-in-swift">Dependency injection using factories in Swift</a></p><p>Let me know how you have used these techniques to shoot the coverage in your projects 😉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7aa0b8d7816d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Raspberry Pi Zero W — Headless setup]]></title>
            <link>https://m25lazi.medium.com/raspberry-pi-zero-w-headless-setup-8fa6d2cd67da?source=rss-77be0fda3ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8fa6d2cd67da</guid>
            <category><![CDATA[pizero]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[hackster]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <dc:creator><![CDATA[Lazim Mohammed]]></dc:creator>
            <pubDate>Sun, 05 Nov 2017 14:20:52 GMT</pubDate>
            <atom:updated>2017-11-07T02:29:55.389Z</atom:updated>
            <content:encoded><![CDATA[<h4>A quick setup tutorial for your Raspberry Pi Zero without a monitor</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*8NgbRI_DHQ7dnVpSVv5EpQ.jpeg" /><figcaption>Raspberry Pi Zero W Source: <a href="http://www.thingbits.net/">www.thingbits.net</a></figcaption></figure><p>There can be situation where you got your much awaited Pi Zero and you are waiting to get a micro USB powered keyboard, mouse and a micro HDMI connector for getting started with it. 😞</p><p>This tutorial will help you to get started with your Pi — with just a Windows/MAC machine, power cable, micro SD Card (with adapter — to urn image)and a WiFi connection.</p><p>Really??? YES!</p><h3>Selecting OS</h3><p>I’ll be using the new Raspbian Jessie for my rPi. Read more on Jessie from <a href="https://www.raspberrypi.org/blog/raspbian-jessie-is-here/">here</a></p><p>Download Jessie image from this <a href="https://www.element14.com/community/external-link.jspa?url=https%3A%2F%2Fdownloads.raspberrypi.org%2Fraspbian%2Fimages%2Fraspbian-2017-07-05%2F2017-07-05-raspbian-jessie.zip">link</a>. Or even you can get the latest of the Raspbian available from <a href="https://www.raspberrypi.org/downloads/raspbian/">here</a> (Not sure if this will work on those, you can try and let us know in the comments section)</p><h3>Setting up OS in your SD Card</h3><p>Once you have completely downloaded the Raspbian image to your machine, you need to burn this into the micro SD Card you have.</p><p>I used <a href="https://etcher.io/">Etcher</a> by Resin to do so. You can use any other alternatives like Universal USB Installer, Win32 Disk Imager etc to do so.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RYmbCPz-efKgpW6K4Nej8Q.png" /><figcaption><a href="https://etcher.io/">Etcher</a> UI — Taken from offcial website.</figcaption></figure><h3>Setting up WiFi</h3><p>After the image is completely written to the SD Card just reconnect it to your machine to see a partition named ‘boot’ on the SD Card.</p><ul><li>Create an empty file named ssh or ssh.txt on the SD Card’s root. This is to enable SSH on the device.</li><li>Create a file named ‘wpa_supplicant.conf’ in the same place with the following details:</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4586f1efc70ccb7a529e43ca9f6e789b/href">https://medium.com/media/4586f1efc70ccb7a529e43ca9f6e789b/href</a></iframe><p>Done! This is all you need to get your rPi connect to your WiFi on boot.</p><h3>SSH</h3><p>Inorder to connect to your rPi from your machine we use technique called <a href="https://en.wikipedia.org/wiki/Secure_Shell">SSH</a>.</p><p>Put the micro SD card to your rPi and boot it up. Wait for few seconds to complete the booting process. Your device must be connected to your network by this time.</p><h4>Finding IP address of your rPi:</h4><p>Run ‘arp -a’ on your MAC machine to get the list of devices connected to your network. Or you can login to your router and check for this. Try to get the IP address of the rPi from this list.</p><p>For more info on finding rPi on your network, check <a href="https://www.raspberrypi.org/forums/viewtopic.php?f=36&amp;t=6998">this</a> rPi forum post.</p><p>Once you find the IP address, use putty on windows or ssh command on macOS machines:</p><p>ssh pi@&lt;IP&gt;</p><p>Here pi is the default user and the password corresponding to it is ‘raspberry’.</p><p>Done. You got inside the terminal for your rPi.</p><h4>Security Tip</h4><p>If you think, you want to change your password for the user pi, you can run ‘sudo raspi-config’ to enter into the startup configuration. You can change the password, timezone etc from here.</p><h4>Easy built in text editor</h4><p>Use nano command to edit your text files from terminal.</p><p>‘sudo nano /path/to/textfile’</p><p><strong>Happy hacking…!</strong></p><p>Let me know your suggestions in comments section.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8fa6d2cd67da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a real time object recognizer for iOS]]></title>
            <link>https://medium.com/data-science/building-a-real-time-object-recognizer-for-ios-a678d2baf8f0?source=rss-77be0fda3ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/a678d2baf8f0</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[object-recognition]]></category>
            <category><![CDATA[coreml]]></category>
            <dc:creator><![CDATA[Lazim Mohammed]]></dc:creator>
            <pubDate>Sat, 05 Aug 2017 07:11:45 GMT</pubDate>
            <atom:updated>2017-08-05T07:11:45.466Z</atom:updated>
            <content:encoded><![CDATA[<p>Using CoreML and Swift</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*HOmbarPbQeI2NqTVk6Z1Jw.png" /><figcaption>Credits — Apple (<a href="https://developer.apple.com/documentation/coreml">https://developer.apple.com/documentation/coreml</a>)</figcaption></figure><p>One of the exciting features announced at WWDC 2017 was CoreML. Its the Apple framework that can be used to integrate machine learning into your app, all offline 😉.</p><blockquote>Core ML lets you integrate a broad variety of machine learning model types into your app. In addition to supporting extensive deep learning with over 30 layer types, it also supports standard models such as tree ensembles, SVMs, and generalized linear models. Because it’s built on top of low level technologies like Metal and Accelerate, Core ML seamlessly takes advantage of the CPU and GPU to provide maximum performance and efficiency. You can run machine learning models on the device so data doesn’t need to leave the device to be analyzed. — Apple Documentation on Machine Learning (<a href="https://developer.apple.com/machine-learning/">https://developer.apple.com/machine-learning/</a>)</blockquote><p>Importance of CoreML comes when you look deeply on how and where the prediction happens. Till now, everyone used to integrate machine learning into apps, where the predictions happen in an hosted server. If it was an object recognition app, you have to capture the frame from the device, send this data to the prediction engine, wait till the the image gets completely uploaded to the server and finally get the output. There are mainly two issues with this approach — network delay and the user privacy. Now all these processing can simply happen in the device and thus reducing both these issues.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*ynkoTTq6QwHY8Dl9ma0r1w.png" /></figure><h3>Building from scratch</h3><p>We can try to make use of CoreML and implement a simple on-device solution for this. I’ll go through the important steps without mentioning the basics of iOS or Swift.</p><p>First thing we have to do is get an iOS 11 device and Xcode 9.</p><p>If you are not familiar with machine learning, take a look at brief introduction here. Or you can get a very high level overview from here.</p><h4>Machine Learning</h4><p>Its the technology which gives computer the ability to learn without explicitly coding the solution for a problem.</p><p>There are basically two process involved here — Training and prediction.</p><p><strong>Training</strong> is the process where we give the model different sets of inputs (and corresponding output) to learn from the pattern. And this trained model is given an input which it has not seen before to <strong>predict</strong> from its earlier observations.</p><h4>Choosing a model</h4><p>So the first thing we have to do is to select a good model for your project. There are lots of pre-trained models available for image recognition. Or you can even train your own model to get a better experience.</p><p>There are good models available as CoreML model from <a href="https://developer.apple.com/machine-learning/">Apple’s Machine Learning portal</a>. Or if you have your own model, you can convert it to CoreML supported model using the <a href="https://pypi.python.org/pypi/coremltools">CoreML tool</a> available from Apple.</p><p>I chose the Inception V3 library available in the Apple portal.</p><blockquote><strong>Inception v3</strong> — Detects the dominant objects present in an image from a set of 1000 categories such as trees, animals, food, vehicles, people, and more.</blockquote><h4>Creating iOS project</h4><p>You can create a basic iOS project using swift with a single view controller for this including a video preview layer and a label.</p><h4>Getting frames from the video preview</h4><p>Getting current frames is as usual, which we already know. This is explained in this invasivecode <a href="https://www.invasivecode.com/weblog/AVFoundation-Swift-capture-video/">article</a>.</p><h4>Using Inception v3 for prediction</h4><p>Consider our inception model as the black box when provided an input image gives you probability of that being one among the set of categories it knows.</p><p>Download the model from the Apple’s portal, drag n drop it (Inceptionv3.mlmodel) to your project. You can see the model descriptions from the Xcode.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fZcj-CWP9EWn1whPn5-Ebg.png" /><figcaption>Inceptionv2.mlmodel in model viewer of Xcode</figcaption></figure><p>You can see that the model takes a 299x299 pixels image as an input and gives outputs:</p><ul><li>Most likely category the image falls into</li><li>List of probabilities of each category</li></ul><p>We can make use of any of these parameters to determine the category. I used the first one which is a String and directly printed it on the screen.</p><p>You can also see that, the Xcode create a swift model(Inceptionv3.swift) directly from the mlmodel object. You don’t have to make any extra changes for this.</p><h4>Usage</h4><p>We can make use of the prediction API generated by Xcode which looks like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6374aca0330a5b85896d119b956e8a5e/href">https://medium.com/media/6374aca0330a5b85896d119b956e8a5e/href</a></iframe><p>Prediction is simple as this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/63fd75f94ae14a12d870233f9ddb1639/href">https://medium.com/media/63fd75f94ae14a12d870233f9ddb1639/href</a></iframe><p>But it requires an object of CVPixelBuffer instead of UIImage for prediction, which is explained beautifully by the guys from hackingwithswift.com <a href="https://www.hackingwithswift.com/whats-new-in-ios-11">here</a> in the section ‘Machine learning and Vision’.</p><p>I have created UIImage category which abstracts this along with the resize API.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/468ae65f0d1813b685e073232c5ddd60/href">https://medium.com/media/468ae65f0d1813b685e073232c5ddd60/href</a></iframe><h3>Final Architecture</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*dBWY7pNErAKgWcspS2vn1w.jpeg" /></figure><h3>Results</h3><p>The app was able to recognize correctly from almost all the inputs provided.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*HVpPHedjuKq8spdZ-OHPKw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*uIHcl6n5_PBvFSiXimaPXw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*K_lFmUYbkcGPUT6iUrwi0w.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*gTFZ300g8MAkD-1OHu8_mg.jpeg" /></figure><p>Get the complete code from the repo — <a href="https://github.com/m25lazi/inception">https://github.com/m25lazi/inception</a>. ⭐️ if you like it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a678d2baf8f0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/building-a-real-time-object-recognizer-for-ios-a678d2baf8f0">Building a real time object recognizer for iOS</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The poetry of programming]]></title>
            <link>https://m25lazi.medium.com/the-poetry-of-programming-8c9a2b22aeeb?source=rss-77be0fda3ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c9a2b22aeeb</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Lazim Mohammed]]></dc:creator>
            <pubDate>Sat, 06 May 2017 08:29:48 GMT</pubDate>
            <atom:updated>2017-05-06T08:29:48.772Z</atom:updated>
            <content:encoded><![CDATA[<h4>Take on Linda Liukas’ TEDxCERN talk</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*891ziVZ5L8NlKzLeU1pdvA.png" /><figcaption>Taken from <a href="http://www.helloruby.com/">http://www.helloruby.com/</a></figcaption></figure><p><a href="https://www.ted.com/speakers/linda_liukas">Linda Liukas</a> is a Finnish computer programmer, children’s writer, programming instructor and illustrator.</p><p>She believes the Code is the next universal language. Everyone should be engaged in this revolution to make world a better place.</p><blockquote>Code is the next universal language</blockquote><p>She aims in engaging the next bigger generation to learn how computer programs work and not to see them as magic. She wants kids not to see computers as boring mechanical, complicated machine but as colorful, expressive machines meant to be tinkered with.</p><p>She has written a book named <em>Hello Ruby</em> which helps children to learn coding in a very different way. In 2014, this coding book raised $380,000 on Kickstarter becoming the platform’s most highly funded children’s book.</p><h4><a href="http://www.helloruby.com/">Hello Ruby</a> is the world’s most whimsical way to learn about computers, technology and programming. The story started with a book, and now Ruby continues her adventures in exercises, games and apps. It’s suited for kids age 5 years and older (but even adults might learn something new). — From HelloRuby.com</h4><p>She also founded <a href="http://railsgirls.com/">Rail Girls</a>, which aims to give tools and a community for women to understand technology and to build their ideas.</p><p>Ruby is a little six year old girl in her book, who the author says helps her in learning programming concepts.</p><blockquote>Whenever I ran into a problem that I didn’t understand, I’d think ‘how would Ruby explain this?’</blockquote><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F-jRREn6ifEQ%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D-jRREn6ifEQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F-jRREn6ifEQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a34e9871d712cb208b5512fd9d0ee998/href">https://medium.com/media/a34e9871d712cb208b5512fd9d0ee998/href</a></iframe><p>Both Hello Ruby and Rail Girls are projects that help Linda in making her dream come true — making technology more accessible to children and women.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8c9a2b22aeeb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Start now!]]></title>
            <link>https://blog.chatbotslife.com/start-now-e0ff32147bf?source=rss-77be0fda3ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0ff32147bf</guid>
            <category><![CDATA[google-assistant]]></category>
            <category><![CDATA[chatbots]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[side-project]]></category>
            <category><![CDATA[bots]]></category>
            <dc:creator><![CDATA[Lazim Mohammed]]></dc:creator>
            <pubDate>Thu, 12 Jan 2017 15:16:46 GMT</pubDate>
            <atom:updated>2017-02-14T19:24:29.081Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-xKuPu1eNq0Zsk2o7PMaQw.jpeg" /><figcaption>Credits: <a href="https://unsplash.com/@sapegin">https://unsplash.com/@sapegin</a></figcaption></figure><h4>Rewinding all the side projects I worked in 2016</h4><p>I love working on side projects and I spend a lot of time on side projects. I think of it as a playground for my experiments with new technologies.</p><p>2016 was a year of side projects for me. But sadly nothing graduated out of my <em>moonshot lab</em> last year 😞. The problem — Lack of inspiration after prototyping the MVP , as most of the developers say. Still 2016 gave a better learning curve in my graph.</p><blockquote>“To practice any art, no matter how well or badly, is a way to make your soul grow. So do it.” — Kurt Vonnegut</blockquote><p>I still can’t believe I worked on these much side projects last year. For those guys who ask me how I get time for this, there is only one thing to remember: <strong><em>Don’t complain all the time that you don’t have time to do things you love, start now</em></strong>.</p><h3>Rewinding 2016</h3><p>Let me rewind the side projects I worked last year:</p><p><strong>Code Zero</strong> — Since I am an electronics graduate, I thought I should do something to help the guys who are taking this course. This small utility will help to control your Arduino boards without writing a single line of code. You have to specify the logic using simple dropdowns and text fields, the web app will generate the sketch for you.</p><p><strong>Event Me</strong> — Basically <a href="http://redbus.in/">Redbus</a> for College festivals. First project along with <a href="https://medium.com/u/95007659b4ec">Ben Joseph</a>. We worked on a web app powered by Polymer &amp; NodeJS, and later stopped (to start the next one 😅)</p><p><strong>Crimson</strong> — One of my ambitious project along with Ben again. An IoT platform for students and researchers. Easy to use SDKs for Arduino, Raspberry Pi and mobile app for Android to control them. We made a prototype that actually works with Arduino + Android and lacked inspiration somewhere to move forward! The backend is still running somewhere in an Heroku instance. I need to check that out!</p><p><strong>Today</strong> — A task manager bot for Facebook Messenger which helps you to concentrate on a single task a day. The best part of doing this was learning two new big technologies or the hype words now: Chat bots and Typescript. I still use it for my personal use 😉. Code is available in my <a href="https://github.com/m25lazi/One-Big-Thing">Github</a> page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oQpEJhGCRNK0A2GmKZyvog.png" /><figcaption>Today running in Messenger</figcaption></figure><p><strong>Save</strong> — An iOS app which can be used to save images from Instagram. There is a reason which made me stop this project. Investing $100 for an apple developer account. There is an open web out there! Just make use of that. Maybe I should publish the code in Github 🤔.</p><p><em>And the only one which was started last year and launched (yesterday)</em>:</p><p><strong>Draafts</strong> 🚀 — An offline-first note taking and sharing progressive web app built with AngularJS. And the best part is you don’t have to signup. Create your draafts <a href="https://draafts.com/">here</a>.</p><p>That sums up my 2016 !</p><p>Here I need to say a big thanks to <a href="https://medium.com/u/e56ca4cef509">Sruthi</a> and <a href="https://medium.com/u/95007659b4ec">Ben</a>, who helped me a lot in testing and giving suggestions to all my (dumb) projects 😅. Will call you guys once next project is ready 😜</p><h3>Lacing up for 2017</h3><p>Here is what I am thinking for this year:</p><h3>Lazim Mohammed on Twitter</h3><p>I need a #Jarvis clone in my home! #Zuckerberg #YetAnotherPlan #2017IdeaList 😁</p><p>Happy to say I made some progress already 💕!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FCGTVYZ6Fd9I%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DCGTVYZ6Fd9I&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FCGTVYZ6Fd9I%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/631bd3f680fd5d1afd00c8928984d8a4/href">https://medium.com/media/631bd3f680fd5d1afd00c8928984d8a4/href</a></iframe><p>Lastly, this will be the one thing which I will repeat in my head:</p><blockquote>Stop starting and start finishing.</blockquote><p><a href="https://medium.com/junior-writes/stop-starting-and-start-finishing-250d11d914c4">Stop starting and start finishing.</a></p><p>Thanks for reading. Hope you’ll have a great year ahead! 👏🏻</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/725/1*DCO2zagLK2ukqojzv9jV8g.gif" /></figure><figure><a href="https://chatbotslife.com/bot-communities-mastermind-group-d2dae9876709#.5x9xv8xlp"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*6XUspT9JOSq0w0Fi35HIaA.png" /></a></figure><figure><a href="https://m.me/ChatbotsLife"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*YyP6jEOZq97prkhgM5z-cA.png" /></a></figure><figure><a href="https://chatbotslife.com/how-to-get-a-free-chatbot-b1fb9dfe109#.fr3cm06de"><img alt="" src="https://cdn-images-1.medium.com/max/255/1*D0Jf3dI6ZThtqcfwDYY7mg.png" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0ff32147bf" width="1" height="1" alt=""><hr><p><a href="https://blog.chatbotslife.com/start-now-e0ff32147bf">Start now!</a> was originally published in <a href="https://blog.chatbotslife.com/">Chatbots Life</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Installing HomeBrew, node, bower in MAC]]></title>
            <link>https://m25lazi.medium.com/installing-homebrew-node-bower-in-mac-5308dfe6b8ad?source=rss-77be0fda3ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/5308dfe6b8ad</guid>
            <category><![CDATA[bower]]></category>
            <category><![CDATA[homebrew]]></category>
            <category><![CDATA[node]]></category>
            <dc:creator><![CDATA[Lazim Mohammed]]></dc:creator>
            <pubDate>Mon, 19 Oct 2015 17:01:47 GMT</pubDate>
            <atom:updated>2015-10-19T17:02:35.781Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://blog.teamtreehouse.com/install-node-js-npm-mac">How to Install Node.js and NPM on a Mac</a></p><p>Installing <strong>HomeBrew</strong> :</p><blockquote>ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)&quot;</blockquote><p>Install <strong>node</strong></p><blockquote>brew install node</blockquote><p>Install bower</p><blockquote>npm install bower</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5308dfe6b8ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using CocoaPods in XCode]]></title>
            <link>https://m25lazi.medium.com/using-cocoapods-in-xcode-c1ceb382351c?source=rss-77be0fda3ee3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1ceb382351c</guid>
            <category><![CDATA[cocoapods]]></category>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[xcode]]></category>
            <dc:creator><![CDATA[Lazim Mohammed]]></dc:creator>
            <pubDate>Thu, 30 Jul 2015 17:26:33 GMT</pubDate>
            <atom:updated>2015-07-31T03:33:55.163Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="http://www.raywenderlich.com/64546/introduction-to-cocoapods-2">Introduction to CocoaPods Tutorial - Ray Wenderlich</a></p><h4>Steps for installing &amp; setting up cocoapods:</h4><pre><strong>sudo gem update --system</strong></pre><pre><strong>sudo gem install cocoapods</strong></pre><pre><strong>pod setup</strong></pre><h4>Creating pod file:</h4><pre><strong>cd &lt;Path to the project file&gt;</strong></pre><pre><strong>pod init</strong></pre><pre><strong>open -a Xcode Podfile</strong></pre><p>Edit pod file for the dependencies</p><pre><strong>pod install</strong></pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1ceb382351c" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>