<?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 Deepak Harish on Medium]]></title>
        <description><![CDATA[Stories by Deepak Harish on Medium]]></description>
        <link>https://medium.com/@deepakharish?source=rss-b92f14a3ae8e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*1rGys_yn0zrPE1Gp.</url>
            <title>Stories by Deepak Harish on Medium</title>
            <link>https://medium.com/@deepakharish?source=rss-b92f14a3ae8e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 00:50:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@deepakharish/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[Building a data visualization web app using python-Streamlit]]></title>
            <link>https://medium.com/geekculture/building-a-data-visualization-web-app-using-python-streamlit-c1efd1bed7a?source=rss-b92f14a3ae8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/c1efd1bed7a</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Deepak Harish]]></dc:creator>
            <pubDate>Fri, 17 Dec 2021 19:28:24 GMT</pubDate>
            <atom:updated>2021-12-19T08:40:21.964Z</atom:updated>
            <content:encoded><![CDATA[<h4>A simple, intuitive style of building a data visualization, ML web app using python streamlit library.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*HWF8Oynv-N9R7_sq" /><figcaption>Photo by <a href="https://unsplash.com/@kmuza?utm_source=medium&amp;utm_medium=referral">Carlos Muza</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Usually, when we think about building and sharing online a visualization dashboard or ML app in python (say) to our colleagues/teammates/stakeholders or as our portfolio, we rely upon the good old giants like Django or Flask.</p><p>There are obviously many advantages of using such frameworks. But the catch here is, are they user-friendly, quick, intuitive enough for a low-code developer?? I mean, why do we need a Django/Flask developer separately for a small team or for a quick showcase of ML an application. When considering the above parameters, ‘Streamlit’ beats them all, hands down.</p><h4>What is Streamlit?</h4><blockquote><a href="https://www.streamlit.io/">Streamlit</a> is an open-source Python library that makes it easy to create and share beautiful, custom web apps for machine learning and data science. In just a few minutes you can build and deploy powerful data apps.</blockquote><h4>Advantages of Streamlit:</h4><ul><li>Easy to learn- almost no learning curve</li><li>User-friendly (Developer-Friendly)</li><li>Less time-taking to build</li><li>3rd-party integrations for graphs</li><li>And many more…</li></ul><p>As we have seen the advantages of streamlit, let&#39;s get started with how easy it is to build a simple data visualization web app using it. Mind you, all this have been done in a matter of just a few hours. As I neither have any prior knowledge of streamlit nor good coding experience. I do know how hard it is just to set up &amp; learn ‘Django’ in the system. So, in terms of difficulty I rate this as follows: Django &gt;&gt; Flask &gt;&gt; Streamlit. Django being the hardest, streamlit being simplest.</p><h4>Overview About the project:</h4><p>I used a public API, to extract the data I needed to build visualizations. Made small data transformations, as usual, to get only the necessary data as per requirement. Built basic graphs using ‘Plotly’. Tried to use most of the functions yet make it simple &amp; quick.</p><blockquote>To make this blog post short, I have kept the whole code on my <a href="https://github.com/DeepakHarish/python_scripts/tree/master/streamlit_apps">GitHub</a>. Feel free to get your hands on it. Have a look at the web app <a href="https://share.streamlit.io/deepakharish/python_scripts/streamlit_apps/tfl_streamlit_app.py">here</a>.</blockquote><h4>Basics:</h4><ul><li>Installation (windows) of streamlit is through normal pip. pip install streamlit. For other platforms, kindly check the <a href="http://docs.streamlit.io/library/get-started/installation#install-streamlit-on-macoslinux">document page</a>.</li><li>To test our installation, run streamlit hello in the command prompt. It opens in the default browser localhost:8501. The Documentation page opens, with a few sample demos. (I suggest trying it, as it has got many awesome demos)</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/865/1*5FqzbO0xk0en6DTEhqFhig.png" /><figcaption>image by author: using streamlit hello</figcaption></figure><h4>Building app:</h4><p>Once the installation is successful, you will see just like the above image once you run the command. Now it&#39;s time to build the actual stuff and witness the magic of streamlit. I used the “sublime_text” editor to code. It&#39;s one’s choice.</p><p>This is the <a href="https://tfl.gov.uk/info-for/open-data-users/">dataset</a> I used. Basically, the TFL dataset is an open-source live API. Just giving steps in brief for extracting data from an API.</p><p><strong><em>Step1: </em></strong>Use requests library for API data extraction.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/24091d1971e31c97998d1dae3f6a7621/href">https://medium.com/media/24091d1971e31c97998d1dae3f6a7621/href</a></iframe><p><strong><em>Step 2:</em></strong> Secondly, after converting the URL and extracting API data to JSON format and then to a dataframe, perform required data transformations. Below is the code for the basic data transformation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bcd5aa89b8e91dc191a5ce4315c00b85/href">https://medium.com/media/bcd5aa89b8e91dc191a5ce4315c00b85/href</a></iframe><p><strong><em>Step 3: </em></strong>Now that the data transformations are performed, it&#39;s time to use actual streamlit functions. Like ‘containers’, ‘sidebars’, ‘plotly’ for charts, font tools such as ‘subheaders’, ‘markdown’, ‘title’ etc.</p><blockquote>Note: these are just a few and <a href="https://docs.streamlit.io/library/api-reference">here</a> are complete list of the variety of functions that can be used to make our web app more beautiful &amp; functional at the same time.</blockquote><p>Let me show you how simple it is to create a container. A container actually helps our content to be placed, aligned perfectly on the webpage.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e7d2530f493b0da63d7428b93898e9b0/href">https://medium.com/media/e7d2530f493b0da63d7428b93898e9b0/href</a></iframe><p>As can be seen from the above code snippet, streamlit has been imported. Created a container, in which it has ‘title’ (title of the page, in bold large font size), ‘subheader’, ‘header’, ‘markdown’, ‘text’, ‘write’ built-in functions to cater for most of the needs. Here, we are able to view our dataset in the form of dataframe directly on the web page. Since there are lots of rows, it&#39;s not advisable to view the entire dataset instead, I used, .head()to bring only the first 5 rows of data.</p><p>So, to see our content on the web page while developing, all we have to do is to run stream run app_name.py on the command prompt while being in the same folder where the app is also located. It will be opened in localhost: 8501 of the default browser. And every time you made changes to the web app code, you can either choose to run or rerun always which reruns the page automatically whenever you make changes. They are present in the top right corner of the web app.</p><p>Similarly, I had created other containers inside of which have graphs made with ‘Plotly’. Its integration is also very simple and straight-forwarded. Just have to use st.plotly_chart(). Here is the sample plotly visualization built in a container.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/937e8a79002bf1642e3899947edd4c4d/href">https://medium.com/media/937e8a79002bf1642e3899947edd4c4d/href</a></iframe><p>I also used the in-built map function to display the longitudinal, latitudinal data on a map.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8762a7f49d42f06e7a75d93bcedf096e/href">https://medium.com/media/8762a7f49d42f06e7a75d93bcedf096e/href</a></iframe><p>I also used a sidebar, to greet &amp; welcome the user to the page. st.sidebar.header(&#39;*Hey, Hello there!!!*&#39;)</p><p>Finally, I used a special function called as @st.cache which actually helps to create a cache for our web app, which otherwise uses its energy, consumes time to load the dataset every time we run our app. That too in the simplest way possible.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5f24d91246d20c2138baa75ae1ac1bd6/href">https://medium.com/media/5f24d91246d20c2138baa75ae1ac1bd6/href</a></iframe><p><strong><em>Step 4:</em></strong> At last, there is a small but pretty important step. That is the deployment of a web app. I mean, the whole point of using a library and the purpose of building a web app is to share. If you got your own plans for that, then it is totally fine. If not, then no need to worry about that too. ‘Streamlit’ has got your back by actually allowing hosting of the web app on their servers and that too for <strong>Free!!! </strong>How amazing is that now!</p><p>All you have to do is <a href="https://share.streamlit.io/">signup </a>on to their website with Google or Github account. Preferably Github, since that is the place where your code has to be.</p><ul><li>Firstly, create an requirements.txt file using <a href="https://pypi.org/project/pipreqs/">pipreqs</a>.</li><li>Upload the app along withrequirements.txt into Github.</li><li>Click on the “new app” button on the right of the streamlit deploy page.</li><li>Paste the link of the Github repo where the app code lies.</li><li>Click “Deploy”. WOOHOO, that&#39;s it. Well in just a few mins, the app is deployed.</li></ul><p>Ultimately, a data scientist should focus on analyzing &amp; getting insights out of the data to present it to the stakeholders for decision making. And spend less time thinking about the various software developer activities like the frontend/backend of an application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iMWyPcdNdjIxCh6Z_2xHVQ.png" /><figcaption>image by author, web app deployment page in streamlit.io</figcaption></figure><p><em>Here is the </em><a href="https://share.streamlit.io/deepakharish/python_scripts/streamlit_apps/tfl_streamlit_app.py"><em>web app</em></a><em> I made. Provide your suggestions &amp; feedback on how can I, better design it further.</em></p><p><em>Thank you!!!</em></p><p>for further references on this topic:</p><ul><li><a href="https://www.soyouwanttobeadatascientist.com/post/create-a-web-app-for-your-data-science-project-in-under-an-hour">Blog post</a> by Misra Turp</li><li><a href="https://www.youtube.com/playlist?list=PLM8lYG2MzHmTATqBUZCQW9w816ndU0xHc">Youtube</a> library by Misra Turp</li><li><a href="https://docs.streamlit.io/">Official Streamlit webpage</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c1efd1bed7a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/geekculture/building-a-data-visualization-web-app-using-python-streamlit-c1efd1bed7a">Building a data visualization web app using python-Streamlit</a> was originally published in <a href="https://medium.com/geekculture">Geek Culture</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Indirect extraction of outlook mails for parsing information]]></title>
            <link>https://deepakharish.medium.com/indirect-extraction-of-outlook-mails-for-parsing-information-e6f49044cc35?source=rss-b92f14a3ae8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6f49044cc35</guid>
            <category><![CDATA[rpa-tools]]></category>
            <category><![CDATA[outlook]]></category>
            <category><![CDATA[etl]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[power-query]]></category>
            <dc:creator><![CDATA[Deepak Harish]]></dc:creator>
            <pubDate>Fri, 19 Nov 2021 13:03:27 GMT</pubDate>
            <atom:updated>2021-11-19T13:04:03.390Z</atom:updated>
            <content:encoded><![CDATA[<p>A simple but indirect way to extract outlook mail information using power query &amp; parsing the information using python.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cv_3q0Fql4ayOD9g" /><figcaption>Photo by <a href="https://unsplash.com/@mathyaskurmann?utm_source=medium&amp;utm_medium=referral">Mathyas Kurmann</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Great, if you can directly parse outlook mail information in python using respective libraries. But this post is for those who can’t due to non availability of outlook 365 server credentials which are required to use those python libraries.</p><p>Using Power query, one can extract the mail data including the meta data like sender, cc, Bcc, mail received time, sender sent time, subject, attachments etc in a simple and clean way. Later with the help of simple python libraries like pandas to parse the extracted data.</p><p>Step 1: Firstly, open a blank excel workbook &gt; go to ‘Data’ tab &gt; go to ‘Get Data’ &gt; ‘From Online Services’ &gt; ‘From Microsoft Exchange Online’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Imn9igSb1dBjF0EUA4B8Q.png" /><figcaption>(img from author) establishing connection with power query to our outlook mail box</figcaption></figure><p>Step 2: After clicking, it opens below dialog box, where we need to enter our mail box address. Then enter the mailbox address and then click “OK”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*8y0QjBrOapqHx_BL4gOmSQ.png" /><figcaption>(img by author) step 2 entering mail address for connection</figcaption></figure><p>step3: Then the below dialog box appears where you can click ‘Sign in’ &amp; then click ‘Connect’. (You can enter the outlook email id or the organization mail id)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/699/1*fs_ML3QVrQslGjwhfUCV_w.png" /><figcaption>(img from author) Connecting to Power Query</figcaption></figure><p>Step 4: which actually leads to the ‘power query navigator’, where you can access not only mail but also calendar, people, tasks, meeting requests etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/869/1*SNDYIigfE-SnDs8gMrC38g.png" /><figcaption>(img from author) Power Query Navigator</figcaption></figure><p>Step 5: For this use case, need to connect to the mail. A data preview will appear on the right preview pane. Last but not the least, click “Transform Data” button. Which leads us to the Power Query Editor.</p><p>In the Power Query editor, various operations can be performed like filtering based on the sender or subject, removing &amp; renaming the columns we don&#39;t need. Finally, click “Close &amp; Load” button in the left most part of the menu bar ribbon, which in turn generates a excel sheet with preset operations. Thus extraction of the outlook mail data has been completed successfully.</p><blockquote>Note: For regular updating of the selected data in the excel workbook, we need to click on the “Refresh All” button under “Data” tab.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iCv0Qd1DPfegLxBXqe1kEA.png" /><figcaption>img by author, refresh all button under data tab</figcaption></figure><p>Now the next part is to parse this outlook mail box data in excel using python. All you need is to use import python pandas and read like an usual excel file.</p><pre>import pandas as pd</pre><pre>df = pd.read_excel(&lt;src file path&gt;)</pre><pre># If the body of the mail contains HTML table<br># use this function after the above line</pre><pre>df = pd.read_html(&lt;col_name&gt;)</pre><p>Hope even if you have no idea about using complex python libraries related to the outlook/mail data extraction or unable to procure 0365 credentials from your organizational IT team. This method is very helpful and comes handy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6f49044cc35" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The impact of 3D printing technology]]></title>
            <link>https://deepakharish.medium.com/the-impact-of-3d-printing-technology-53a0f7e328f?source=rss-b92f14a3ae8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/53a0f7e328f</guid>
            <category><![CDATA[4d-printing]]></category>
            <category><![CDATA[manufacturing]]></category>
            <category><![CDATA[future]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[3d-printing]]></category>
            <dc:creator><![CDATA[Deepak Harish]]></dc:creator>
            <pubDate>Sun, 03 Oct 2021 13:57:08 GMT</pubDate>
            <atom:updated>2021-10-03T13:57:08.733Z</atom:updated>
            <content:encoded><![CDATA[<p>Though 3D printing technology has existed for more than two decades but with only very few innovations in the space…Will the future bring any more promises? Well, the answer is a big “Yes”.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Jr92pIJByzadv-7D" /><figcaption>Photo by <a href="https://unsplash.com/@viniciusamano?utm_source=medium&amp;utm_medium=referral">Vinicius &quot;amnx&quot; Amano</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4><strong>Introduction</strong></h4><p>3D printing, invented by Chuck Hull in the year 1983, using UV light to build objects layer by layer by curing and bonding photopolymer resin. A 20th-century invention, which got traction in the 21st generation. From the past few years, the growth of 3D printing has grown exponentially &amp; diversified to many fields and simultaneously researching new techniques in 3D printing. Essentially creating endless possibilities for several new industries &amp; requirements, paving the path for future research across sectors. 3D printing made us rethink, reimagine our thought process in building objects. This technology redefined the way we make things. Silently, disrupting the core fundamentals of the manufacturing process for a better tomorrow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*hlV4GuyAplnuxllXXgEwbg.png" /><figcaption>The market size growth of 3D printing technology in the next few years. courtesy: Statista</figcaption></figure><h4><strong>1.</strong> <strong>Healthcare</strong>:</h4><p>When thinking about life-changing, the Medical field comes as foremost important and essential, where the scope is huge for 3D printing for life-saving.</p><p>Treating wounds[2] using 3D scanning technologies and by printing cells layer by layer right on the patients directly. The process goes like this, a scanner scans the wounded area, deciding how much printing/layering is required to cover the wound. Then, the printer prints on the wound directly. This essentially reduces the time during emergency situations, where the patient needs immediate care for their wounds.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/626/1*yfvXhHOcq-py0Bpa9_FlGQ.png" /><figcaption>Diagrammatic representation of treating a patient’s wound using 3D scanning &amp; printing process</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*k8kZIrd9KvzvsrfeGRMQAA.png" /><figcaption>treatment with 3D scanning &amp; printing technique in action</figcaption></figure><p>Creating synthetic bio-organs, or also known as ‘<strong><em>Bio printing</em></strong>’. The process of printing using living cells, hydrogels, and chemicals for implants in the body taken from the patient itself, then creating structures using sophisticated 3D printing machines &amp; processes. Examples, regenerating tissues, skin, printing a kidney and implanting them in the human body. The process is, taking very small pieces of cells from the injured organs, grow those cells outside the bodies in labs in large quantities and then replace those injured organs with these new externally cultivated organs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/274/1*xFVN_KX6YPlDqvDP_G6tvA.png" /><figcaption>left polypill descriptive image;</figcaption></figure><p>One area is Medicine, the idea of personalized medication [3] has been around for a while. Now that we take multiple pills for different ailments, what if all these pills combined in just one pill or also known as ‘polypills’ were 3D printed right at the corner drugstore? This opens up the whole new pharmacogenomics [4] of personalized drugs. These adopt to each individual human body considering their health conditions like BP, sugar level, heart rate, body weight, age, gender etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*2Td7QLFCQXV6sNGOkxbmHA.png" /><figcaption>3D printing of polypills in action</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/295/1*rCiRRcQrs25UkCSJWn4fVw.png" /><figcaption>a demonstrative 3D printed polypill with patient name, day, date with QR code printed on the capsule</figcaption></figure><p>“<strong><em>Lifelike rehearsal</em></strong>” [5] where doctors can perform operations n number of times, on 3D printed body parts of humans before them performing these critical operations on real humans. This gives them confidence by making the surgeons ready just like a sportsman having a practice session before the actual game.</p><p>With 3D printing technology, many complicated structures can be made. Adding to that, a process called “<strong><em>Digital Light Synthesis</em></strong>” [6], has taken designing complicated parts to a new level. Where not only are complex structures are designed but they are created 100x times faster than traditional 3D printing. Which enables the design stage to prototype in less time and manufacturing products in real-time. It transforms the medical field, especially in dentistry, were usually the time taken to make custom dentures will be in days but with the DLS technique, it will be in real-time.</p><h4><strong>2.</strong> <strong>Space &amp; Aerospace</strong>:</h4><p>Rocket science really means complicated, costly, very low tolerances of moving parts, precision, and accuracy. With traditional &amp; well-established organisations which are usually managed &amp; funded by governments across the world. But now the scenario has been changed. New start-ups are emerging with cutting edge technologies[7] to make humans multi-planetary species. Building reusable rockets, single-piece large scale rocket components now becoming a reality and the credit goes to 3D printing technology.</p><p>‘<strong><em>Blown powder Directed Energy Deposition</em></strong>’ or <strong>DED</strong> is a method where metal powder is injected into a laser-heated molten metal pool. With which large scale single piece rocket components such as nozzles and combustion chambers are being produced. With this technology over 2165 hours of production time, 50% of costs reduction can be observed &amp; 247 parts reduced to 1 part.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/305/1*XC2vkQnNKus7KrxeUAD23Q.png" /><figcaption>Figure 6: 3D printed combustion chamber with a nozzle made by EOS Gmbh</figcaption></figure><p>The other innovation in the space industry is <strong><em>‘In-space manufacturing’</em></strong> where certain objects are made in space. These are on-demand manufacturing techniques that enable prototyping, rapid iteration, deployment of in-space requirements during long-duration missions. This allows smaller, efficient rockets to be launched into space, allowing critical parts to be made in less time &amp; cost-effective manner, making astronauts self-reliant &amp; confident in their space endeavours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/321/1*NLOg38cZ7gDptYzzI1q6tw.png" /><figcaption>Figure 7: First commercial in-space 3D printer by ‘Made In Space’</figcaption></figure><p>Moreover, building satellite components without any compromises. All these are significant achievements, in the space industry, which also leads to the design, fabrication of parts and even the whole body of an aeroplane.</p><h4>3. <strong>Manufacturing:</strong></h4><p>An industry that laid the foundation for 3D printing technology or additive manufacturing techniques.</p><p>From industrial machinery, automobile spare parts, to homemade hobby toy parts. The future of 3D printing is unimaginatively brilliant. For example, Bell aircraft components, Williams Martini F1 Racing car wings, Hasenauer &amp; Hesser ICE train spare parts.</p><p>3D printing cloths/textiles and accessories at our homes which comprises of intrinsic designs and patterns. ‘<strong><em>DDM</em></strong>’ (<em>Direct Digital Manufacturing</em>) is essentially a digitally created model and produced in an automation process with relatively very low human interference. DDM can also be used for other manufacturing applications.</p><blockquote>It can be said as “<em>A radical departure that fundamentally changes manufacturing</em>”.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/261/1*xTNFoN_4rfGFHvyXswOLAQ.png" /><figcaption>3D printed shoe by Adidas</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/313/1*dOEomfvqZagW_fLbPg-xQA.png" /><figcaption>A model showcasing 3D printed dress</figcaption></figure><h4><strong>4.</strong> <strong>Architecture</strong>:</h4><p>An interesting application of this technology is in Architecture. Designing furniture with intrinsic, contemporary styles &amp; designs. Incorporating customized versions of interior decorative pieces.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/329/1*YgHcxIv53c0eN2Zc0aAsmw.png" /><figcaption>Figure 9: 3D printed coffee table</figcaption></figure><p>The future of our housing lies in the hands of 3D printing. Within a matter of days, houses can be constructed, without high material loss. With design flexibility, sustainability and most importantly affordability. This simple housing solution is for the mass market, emergency shelters needed due to natural calamities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*GTTiKhkMJzdmiWdW7hdgUw.png" /><figcaption>3D printed housing society in Austin, Texas, USA.</figcaption></figure><p>Not only on earth but there is a need for habitats on other planets such as Mars for becoming multi-planetary species. This solidifies the path for humans to explore other planets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/352/1*GO7tnxhgz3CYqChVMDtoOw.png" /><figcaption>Habitats on Mars built by AI Space factory as part of NASA 3D printed challenge.</figcaption></figure><h4><strong>5.</strong> <strong>Food</strong>:</h4><p>Additive manufacturing in the food industry is relatively new yet very interesting. Delicious chocolates with the creative desired shape, branding designs making the chocolates unique to celebrate different occasions. Instead of ordering a pizza with a choice of toppings, a homemade pizza anytime with our choice of toppings opening new possibilities. Basically, 3D printing of food comes in two types, 1. Extrusion; 2. Moulding. The chocolates designing or pizza base, printing layer by layer comes under Extrusion type. Flavoured gelatine, jelly candies are made using the moulding process. The shapes of the food are just limited to our imagination.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*qEv41_Uw0e9FYsXq4_vDKg.png" /><figcaption>3D printed pizza in different stages of the process</figcaption></figure><p>These are a few of the applications described in each field. The impact it started to create is indescribable. There are many other applications in these fields to discuss.</p><h4>6. Research limitations &amp; Roadmap:</h4><p>The current challenges of 3D printing are the slow process times and the use of plastics. Addressing and solving the following issues could potentially create a disruption in manufacturing by 3D printing.</p><p>1. Reducing the printing times</p><p>2. Use of eco-friendly materials and other wide range of materials</p><p>3. Bringing down the size of the 3D printer.</p><p>Increasing the speed of the printing process reduce the overall reduction in building a product. Though 3D printing technology uses fewer materials, the key is using more sustainable materials during the process. Changing to more eco-friendly materials like recyclable plastics.</p><h4>7. Evolution of 4D printing or 3D printing with intelligence:</h4><p>These are just one side of the coin. The real game-changer is when the object transforms itself when needed depending on its functionality and surroundings. “<strong><em>Transformation by design</em></strong>” or as <em>Mr Skylar Tibbits</em> calls it “<strong><em>4D printing</em></strong>”. Objects that are created by multi-material 3D printing process but designed and fabricated to reshape accordingly. That transformation can occur due to mechanical stress, water absorption, light exposure, or any other method(s).</p><h4>7.1.Current research leading to better tomorrow:</h4><p>As this process is still in the evolution stage, but the opportunities it presents are endless. 3D printed in liquid ‘<strong><em>Silicon cushion clusters</em></strong>’, have the ability to inflate individual cells altering their overall shape, stiffness, and movement. Thus, such objects can be used in cars’ seating which customises to each individual passenger. Another method 3D print liquid metal into powder was developed, creating fully formed parts that can be lifted out of powder. Those parts can be re-melted &amp; remodelled to new parts with suitable materials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/635/1*Z6jXgkGO_hZosRCCLLZEJg.png" /><figcaption>silicon cushion clusters, individual sections of clusters being inflated</figcaption></figure><p>With a breakthrough technology in 3D printing called ‘<strong><em>Rapid Liquid Printing</em></strong>’, major hurdles/challenges are solved. This process can produce structures within minutes that might be designed as large-scale products with industry-grade materials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*Zs4xFp-h6YXFOle5h97Pww.png" /><figcaption>3D printing a structure in a gel bathtub; a process known as ‘Rapid liquid printing’</figcaption></figure><p>This process can be used to print products with silicone rubber, a material that no other traditional manufacturing technology can create. The highlight of this material is its stretchable properties, minimizing the size and duration of printing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/254/1*LPu95SnGynkHcL8a0-u3Hg.png" /><figcaption>Tote bag live printing at an exhibition using Rapid Liquid Printing</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*vcR2dye3PWk1ZpokmKFzdA.png" /><figcaption>sample tote bag after the 3D printing process</figcaption></figure><blockquote>“<em>Imagine a world in which humans live in a 3D printed house filled with 3D printed interiors &amp; furniture, wear 3D printed outfits, eating food made by a 3D printer, drive a vehicle with 3D printed parts, getting treatment by a 3D printer</em>”.</blockquote><p>So far, it seems like the past is just a rice grain. Lifestyle changing real uses and impact of 3D printing like these can be experienced by an individual in a not so distinct future.</p><h4>Conclusion:</h4><p>All these above significantly create an impact on our lives. The uses and impact of 3D printing technology in the future are enormous. It grows leaps and bounds to an unbelievable phase as never before imagined designs, shapes and structures can be created moreover which can be transformable on its own. I think the full potential of 3D printing is still to unleash which enables a new era in mankind.</p><h4><strong>References:</strong></h4><p>[1] <a href="https://www.statista.com/statistics/315386/global-market-for-3d-printers/">Global 3D printing industry market size | Statista</a></p><p>[2] <a href="https://school.wakehealth.edu/Research/Institutes-and-Centers/Wake-Forest-Institute-for-Regenerative-Medicine/Research/Military-Applications/Printing-Skin-Cells-on-Burn-Wounds">https://school.wakehealth.edu/Research/Institutes-and-Centers/Wake-Forest-Institute-for-Regenerative-Medicine/Research/Military-Applications/Printing-Skin-Cells-on-Burn-Wounds</a></p><p>[3] <a href="http://www.personalizedmedicinecoalition.org/Userfiles/PMC-Corporate/file/pmc_age_of_pmc_factsheet.pdf">http://www.personalizedmedicinecoalition.org/Userfiles/PMC-Corporate/file/pmc_age_of_pmc_factsheet.pdf</a></p><p>[4] <a href="https://www.nigms.nih.gov/education/fact-sheets/Pages/pharmacogenomics.aspx">https://www.nigms.nih.gov/education/fact-sheets/Pages/pharmacogenomics.aspx</a></p><p>[5] The role of simulation in neurosurgery. Childs Nerv Syst. 2016 Jan; 32(1):43–54</p><p>[6] Kim, S.H., Yeon, Y.K., Lee, J.M. <em>et al.</em> Precisely printable and biocompatible silk fibroin bioink for digital light processing 3D printing. <em>Nat Commun</em> <strong>9, </strong>1620 (2018). <a href="https://doi.org/10.1038/s41467-018-03759-y">https://doi.org/10.1038/s41467-018-03759-y</a></p><p>[7] <a href="https://spectrum.ieee.org/aerospace/space-flight/the-worlds-largest-3d-metal-printer-is-churning-out-rockets">https://spectrum.ieee.org/aerospace/space-flight/the-worlds-largest-3d-metal-printer-is-churning-out-rockets</a></p><p><strong>1.</strong> <a href="https://www.eos.info/en/3d-printing-examples-applications/all-3d-printing-applications/aerospace-additive-manufacturing-for-ariane-injection-nozzles">https://www.eos.info/en/3d-printing-examples-applications/all-3d-printing-applications/aerospace-additive-manufacturing-for-ariane-injection-nozzles</a></p><p><strong>2.</strong> <a href="https://www.nasa.gov/mission_pages/station/research/news/3d-printing-in-space-long-duration-spaceflight-applications">https://www.nasa.gov/mission_pages/station/research/news/3d-printing-in-space-long-duration-spaceflight-applications</a></p><p><strong>3.</strong> <a href="https://www.strategyand.pwc.com/gx/en/insights/2017/the-future-spare-parts-3d/the-future-of-spare-parts-is-3d.pdf">https://www.strategyand.pwc.com/gx/en/insights/2017/the-future-spare-parts-3d/the-future-of-spare-parts-is-3d.pdf</a></p><p>4. Sun, L., Zhao, L. Envisioning the era of 3D printing: a conceptual model for the fashion industry. <em>Fash Text</em> <strong>4, </strong>25 (2017). <a href="https://doi.org/10.1186/s40691-017-0110-4">https://doi.org/10.1186/s40691-017-0110-4</a></p><p><strong>5.</strong> <strong>❤d printing in architecture research papers&gt;</strong></p><p><strong>6.</strong> <strong>❤d printing houses&gt;</strong></p><p><strong>7.</strong> <strong>&lt; 3d printing habitats for living in space&gt;</strong></p><p><strong>8.</strong> <a href="https://www2.deloitte.com/us/en/insights/focus/3d-opportunity/3d-printing-in-the-food-industry.html">https://www2.deloitte.com/us/en/insights/focus/3d-opportunity/3d-printing-in-the-food-industry.html</a></p><p><strong>9.</strong> <a href="https://www.ge.com/additive/additive-manufacturing/industries/food-beverage">https://www.ge.com/additive/additive-manufacturing/industries/food-beverage</a></p><p><strong>10.</strong> <a href="https://www.naturalmachines.com/dish-gallery">https://www.naturalmachines.com/dish-gallery</a></p><p><strong>11.</strong> <a href="https://news.mit.edu/2019/transformation-design-1127">Transformation by design | MIT News | Massachusetts Institute of Technology</a></p><p><strong>12.</strong> <a href="http://cumincad.scix.net/data/works/att/acadia14_539.content.pdf">acadia14_539.content.pdf (scix.net)</a></p><p><strong>13.</strong> <a href="https://selfassemblylab.mit.edu/rapid-liquid-printing/">Rapid Liquid Printing — Self-Assembly Lab (mit.edu)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53a0f7e328f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Concatenating multiple files and reading large data using Pyspark]]></title>
            <link>https://deepakharish.medium.com/concatenating-multiple-files-and-reading-large-data-using-pyspark-198e0bb6d641?source=rss-b92f14a3ae8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/198e0bb6d641</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[files]]></category>
            <category><![CDATA[pyspark]]></category>
            <dc:creator><![CDATA[Deepak Harish]]></dc:creator>
            <pubDate>Wed, 29 Sep 2021 06:08:58 GMT</pubDate>
            <atom:updated>2021-09-29T06:08:58.624Z</atom:updated>
            <content:encoded><![CDATA[<h4>Concatenating multiple excel files of same type (same extension) to create a single large file and read it with pyspark.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*98bxRM7ABxy4p2TQ" /><figcaption>Photo by <a href="https://unsplash.com/@wflwong?utm_source=medium&amp;utm_medium=referral">Warren Wong</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>we often have to store data into multiple folders for our easy access (say based on month, time, or object name). But at the time of analysis, we have to get /copy that data from all those folders manually and place it into a single different folder to read from it. It will be a time consuming daunting process and sometimes we often might miss a file or two to copy and end up with wrong data to analyze.</p><p>Using python libraries, this process can be done in a simple way and can save huge amount of time.</p><p>Contents:</p><ol><li>Rename the folder (optional)</li><li>Concatenate Multiple files in the single folder into single file</li><li>Read large data using PySpark</li></ol><h4>Introduction</h4><p>Context: Every single day, an excel file with data generates from an application which is downloaded and stored in a month wise format. ie January month data is stored as jan_2021 similarly February month data as feb_2021 so on &amp; so forth.</p><p>When generating reports quarterly(for 4 months), all those files which are stored in different month wise folders in those quarter are copied one by one to a new folder named 1_qtr_2021. That means 1_qtr_2021 contains data from jan_2021, feb_2021, mar_2021, apr_2021. Though this process is done once in a quarter, its a long tedious process. With python, it wont be anymore.</p><h4>1. Rename the folder:</h4><p>Though this part here is optional to perform, since in the above step itself, the desired folder name is given. But in future, to rename from one folder to other this makes it simple.</p><pre>import os</pre><pre>src = &lt;path to the src folder&gt;<br>dest = &lt;path to the dest folder&gt;</pre><pre>#using <a href="https://docs.python.org/3/library/os.html#os.replace">os.replace</a><br>os.replace(src,dest)</pre><h4>2. Concatenating multiple files into a single file from a single src folder:</h4><p>Below is the screenshot of the folder with 1st quarter data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/163/1*rexMDbivtckfAGxhN94XPw.png" /><figcaption>img by author: 1st quarter data in a single folder</figcaption></figure><p>Since now that the data for the 1st quarter is in one folder, lets concatenate that data into a single excel file.</p><blockquote><em>*note: excel can only support around 10lakh/1million rows and around 16k columns.</em></blockquote><p>In this case, the data reached upto 6–7 lakhs rows depending on the quarter. Excel can be used but since its such a huge data, it takes sometime just to load the data while viewing it in excel.</p><pre>#importing required libraries<br>import glob<br>from pathlib import path<br>import os<br>import pandas as pd</pre><pre>#provide the path of 1_qtr_2021 directory<br>src = r&#39;&lt;path to 1_qtr_2021&gt;&#39;</pre><pre>#collecting all the files with the help of the extension<br>#extn_name like &#39;.xlsx&#39;,&#39;.xls&#39;<br>all_files = glob.glob(os.path.join(src, &#39;*.extension_name&#39;))</pre><pre>#read each file<br>file = (pd.read_excel(f) for f in all_files)</pre><pre>#concatenate into one single file<br>concatenated_df = pd.concat(file, ignore_index = True)</pre><h4>3. Reading huge data using PySpark</h4><p>Since, our concatenated file is huge to read and load using normal pandas in python. The best/optimal way to read such a huge file is using PySpark.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/1*mbuZa9J4bNMrNZzfbASJYw.png" /><figcaption>img by author, file size</figcaption></figure><p>this is the size of file that was generated after concatenation of a single quarter data. So, to read this using normal pandas.read_excel() has taken around 4 mins in my case. Manipulating such a huge file will also be very tedious. Also in future, working with all four quarters’ data would close to impossible using Pandas. Hence, it would be ideal to use pyspark instead of pandas.</p><p>Install pyspark using pip install pyspark for further reading kindly visit <a href="http://spark.apache.org/docs/latest/api/python/getting_started/install.html">official documentation</a>.</p><p>You can start the pyspark session like this:</p><pre><strong>#importing pyspark library<br>from</strong> <strong>pyspark.sql</strong> <strong>import</strong> SparkSession </pre><pre>#starting a spark session<br>spark = SparkSession.builder.getOrCreate()</pre><pre>#converting into a dataframe to read<br>df = spark.createDataFrame(&lt;can provide a pandas dataframe&gt;)</pre><pre>#if written to CSV<br>#reading a CSV file<br>spark.read.csv(&lt;csv_file_path&gt;, header=<strong>True</strong>).show()</pre><p>Also for further ways to read the data such as SQL, Parquet etc visit the ‘Q<a href="http://spark.apache.org/docs/latest/api/python/getting_started/quickstart.html#Quickstart">uickstart</a>’ page in the official documentation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=198e0bb6d641" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pivot Table, bins & more with Python]]></title>
            <link>https://deepakharish.medium.com/pivot-table-bins-more-with-python-3af380d21b37?source=rss-b92f14a3ae8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/3af380d21b37</guid>
            <category><![CDATA[filters]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[pivot]]></category>
            <category><![CDATA[pandas]]></category>
            <dc:creator><![CDATA[Deepak Harish]]></dc:creator>
            <pubDate>Mon, 23 Aug 2021 09:10:48 GMT</pubDate>
            <atom:updated>2021-08-23T16:05:37.418Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5fm-HGLVvsCMIed8" /><figcaption>Photo by <a href="https://unsplash.com/@wxdunn?utm_source=medium&amp;utm_medium=referral">Joel Dunn</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Creating bins/buckets and mapping it with existing column(s) and then using those bins &amp; filtered columns in pivot table…all using python.</h4><p>Basically, bins/buckets are used to show a specific range of numerical continuous data. And will be helpful to convert numerical data into categorical data. Example cases where bins can be used are Ages, Quantities in sales data etc. I will refer to it as bins though they can also be called buckets. (as it may clash with Amazon S3 buckets)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/0*Z9uZ9NWKzNCmFhLL.png" /><figcaption>(img from google) continuous numerical data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/475/1*R2ZxJTDOCo3zZIE9jAug0w.png" /><figcaption>(img from google) a histogram with bins</figcaption></figure><p><em>From the above images which is more simple, informative &amp; easy to understand?</em></p><p>Let&#39;s say we have patients age data like 2, 13, 17, 25, 29, 34, 56, 60 … in thousands of records. It will be very difficult to see such data if it needs to be plotted onto a graph. Moreover, it won&#39;t give us any insight into the data. Here comes the concept of bins. We can categorize the data like this 0-5,5-10,10-15,15-20,20-25,....75&lt; (these are sample bins with intervals of 5, but one can go with any interval)</p><h4>Bins in Python:</h4><p>Since we got an idea of what are bins &amp; how bins are useful, let&#39;s get into the actual stuff of creating bins in python and mapping it with existing column data.</p><p>Similarly, as from the above patients’ age data example, our column data is numerical (actually denotes day). So, for our specific requirement categorizing into weeks would be much useful rather than looking at each single day. It can be understood that in 1st week ie0-7 how much traffic is present?</p><p>Hence, we took an interval of 7 and created bins like this [&quot;0-7&quot;,&quot;8-15&quot;,&quot;16-23&quot;,&quot;24-31&quot;...] now with the help of a pandas <a href="https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.cut.html">library</a> called pd.cut we can create &amp; map those bins to desired existing column data in a dataframe.</p><p>Here is a code snippet for the same:</p><pre>bin_start = [0, 8, 16, 24, 32...]<br>bins_list = [&quot;0-7&quot;,&quot;8-15&quot;,&quot;16-23&quot;,&quot;24-31&quot;...] </pre><pre>df[&lt;bins_col&gt;] = pd.cut(df[&lt;desired_col_to_map&gt;], bin_start, labels=bins_list)</pre><p>Here, the bin_start means the starting digit of the bin. Ex: if bin 0-7 then 0 so on…</p><p>bins_list is the actual bins that are created as per our requirement in list of strings which actually gets mapped as labels to the desired column.</p><p>Thus, the bins bins_date_diff are created and mapped to the required column Date Diff column…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/273/1*YzU7Iy7dky2fgttrnYk3mA.png" /><figcaption>image by author, showing created bins in column ‘bins_date_diff’</figcaption></figure><p><em>Note: Here,</em><em>8-15 is considered as a date (like August 15th) by excel, hence showing red error in the top-left corner of the cell. To avoid this error, add two </em><em>-- (hyphens) instead of one if necessary.</em></p><h4>Creating a Pivot Table in python:</h4><pre>table = pd.pivot_table(df, values=&#39;D&#39;, index=[&#39;A&#39;, &#39;B&#39;], columns=[&#39;C&#39;], aggfunc=&#39;count&#39;, margins = True)</pre><p>Pandas has a <a href="https://pandas.pydata.org/docs/reference/api/pandas.pivot_table.html">library</a> called as pivot_table to create a pivot table in python. As the parameters specify clearly, what goes where… let&#39;s just compare it with the excel version too for better understanding.</p><p>In Excel, there are 4 fields for creating a pivot table. Which are ‘Filters’, ‘Columns’, ‘Rows’, ‘Values’. Similarly, there are multiple parameters in pandas pivot_table. Such as ‘Values’- values that need to be filled; ‘Index’- similar to rows in excel; ‘Columns’- data frame columns to be as pivot columns. There are many other parameters like ‘margins’- gives the subtotal &amp; Grand total of the row and column values. With ‘margins_name’- can add a custom str instead of the default all . The most important one ‘aggfunc’- gives different aggregation options like ‘count’, ‘sum’, ‘mean’ etc. Which can be provided in the form of a list or dict .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*cPMCaiY44_bHHrz940pqTw.png" /><figcaption>excel pivot table fields</figcaption></figure><h4>Filters in Pivot Table</h4><p>The last one to check is adding filters to the pivot table. It&#39;s also very simple and in one line in the pivot_table</p><pre>table = df[(df.&lt;col_name1&gt; == &lt;value&gt;) &amp; (df.&lt;col_name2&gt; == &lt;value&gt;)].pivot_table(values=&#39;D&#39;, index=[&#39;A&#39;, &#39;B&#39;], columns=[&#39;C&#39;], aggfunc=&#39;count&#39;, margins = True)</pre><p>Here, in place of pd , single or multiple filters can be assigned using &amp; or | (‘|’) operators.</p><p>Finally, with pd.to_excel(&lt;desired_location_for_excel_file&gt;, engine = xlswriter) the pivot table can be generated in excel. Below is the final output file created using python and also shared pivot created in excel for reference.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/910/1*vfqmz1sNJzJ1w9yrlTnJZw.png" /><figcaption>pivot table created using python</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/730/1*7y_GvrcG8mFV-nE1uqP0kA.png" /><figcaption>pivot table created in excel</figcaption></figure><p><em>Note: Kindly ignore the value differences between excel &amp; python pivots as the data is updated &amp; modified.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3af380d21b37" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TagUI for python application use case]]></title>
            <link>https://deepakharish.medium.com/tagui-for-python-application-use-case-4cbbedd8c4dc?source=rss-b92f14a3ae8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/4cbbedd8c4dc</guid>
            <category><![CDATA[rpa-solutions]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[rpa-tools]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[application]]></category>
            <dc:creator><![CDATA[Deepak Harish]]></dc:creator>
            <pubDate>Wed, 28 Jul 2021 05:27:22 GMT</pubDate>
            <atom:updated>2021-08-23T09:16:31.759Z</atom:updated>
            <content:encoded><![CDATA[<h4>Process Automating to download a SSRS report from a website using TagUI for python.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UPqbgL69MjdRe4BlpSsMVQ.jpeg" /></figure><p>Yes, TagUI is available in both Human Language and for Python. How awesome is that right! Thanks to <a href="https://medium.com/@kensoh">Ken Soh</a>, who is the creator of TagUI RPA tool and for bringing it for a programming language like Python. Though it is not much different from the normal one.</p><p>The objective here is to use TagUI for python (called as <a href="https://github.com/tebelorg/RPA-Python">RPA for Python</a>) to download a <a href="https://docs.microsoft.com/en-us/sql/reporting-services/create-deploy-and-manage-mobile-and-paginated-reports?view=sql-server-ver15">SSRS</a>(SQL Server Reporting Services) type report from a website. Then we can make it as a standalone windows application or schedule it to run at a particular time everyday.</p><p><strong><em>Downloading &amp; Installing TagUI RPA for python</em></strong></p><p>The element’s xpath has to be mentioned just like the normal TagUI. For getting xpath for a particular element, right click on that element &amp; copy the highlighted part from developer tools. Or the easiest method is to download a chrome extension called <a href="https://chrome.google.com/webstore/detail/selectorshub/ndgimibanhlabgdgjcpbbndiehljcpfh?hl=en">SelectorsHub</a>, right click on element to find SelectorsHub &gt; copy relative xpath</p><p>Use pip install rpa to install the tool in a command prompt or anaconda environment. And using import rpa as r can import the library.</p><pre>import rpa as r</pre><pre>#created a csv file with usernames &amp; passwords<br>#converted into a dataframe</pre><pre>df = pd.read_csv(&lt;insert path to csv&gt;)<br>df[&#39;txtUserName&#39;] = df[&#39;txtUserName&#39;].astype(str)</pre><pre>r.init()    #initiates the RPA process<br>r.url(https://medium.com/&#39;&lt;insert%20url%20for%20the%20website&gt;&#39;)<br>#types username &amp; password incase to login with accounts<br>#used for-loops incase to login with multiple accounts<br>#other wise no need if a single user login<br>for i in range(len(df.axes[0])):   <br>   r.type(‘&lt;usrname_xpath&gt;’, df[‘txtUserName’][i])  <br>   r.type(‘&lt;pwd_xpath&gt;’, &#39;&lt;insert password&gt;&#39;)  #mention the password<br>   r.click(‘btnSignIn’)                #clicking &#39;Signin&#39; button<br>   &lt;code to navigate the website&gt;   <br>   r.click(‘lnkSignOut’)<br>r.close()                              #closes RPA process</pre><p>For a single user login, it will be much simpler like below:</p><pre>r.init()                                  #initiates the RPA process<br>r.url(https://medium.com/&#39;&lt;insert%20url%20for%20the%20website&gt;&#39;)<br>r.type(‘&lt;usrname_xpath&gt;’, ‘&lt;insert UserName&gt;’) #mention username  <br>r.type(‘&lt;pwd_xpath&gt;’, &#39;&lt;insert password&gt;&#39;) #mention the password<br>r.click(‘btnSignIn’)                       #clicks &#39;Signin&#39; button<br>   &lt;code to navigate the website&gt;<br>r.download_location(&#39;&lt;insert folder path&gt;&#39;)#downloads to this folder   <br>r.click(‘lnkSignOut’)                      #clicks &#39;Logout&#39; button<br>r.close()                                  #closes RPA process</pre><p>Now, the downloaded file is in pdf format. Hence, to extract data from a PDF, tabula <a href="https://tabula-py.readthedocs.io/en/latest/getting_started.html">library</a> was used as the data is in tabular format.</p><p><strong>Extracting &amp; reading tabular data from a PDF:</strong></p><p>Use pip install tabula-py to install the library. Note tabula also need java to be installed in the machine. Recommended to check tabula website for any troubleshooting &amp; getting started.</p><pre>dfs = tabula.read_pdf(&quot;test.pdf&quot;, pages=&#39;all&#39;)</pre><p>After extracting &amp; reading the data to a data frame, done necessary data preprocessing on the data frame like concatenating tables, renaming column names, rearranging columns in the required format. The data is now ready to be pushed to a database.</p><p><strong>Pushing data into a Database:</strong></p><p>For simplicity and convenience, SQLite 3 database has been used. First create a table in the database. Then to connect the SQLite dB table to push data, use below code…</p><pre>db_conn = sqlite3.connect(&lt;path to db file&gt;)<br>c = db_conn.cursor()<br>df.to_sql(&#39;&lt;table_name&gt;&#39;, db_conn, if_exists=&#39;append&#39;, index=False)<br>db_conn.commit()<br>db_conn.close()</pre><p>Now that the data has been pushed to the DB, the job is done. But this process has to be done every working day. Which is so boring, instead we can use windows task scheduler to automate this task.</p><p><strong>Scheduling a task using windows task scheduler:</strong></p><p>First, have to create a batch file .bat is the extension. For that, all we need are the location of the python installed in the machine, location of this task script. Open a notepad and insert both of them and in the next line add pause so after the process gets completed, the command prompt will stay else will closes. (<em>Which helps us to see any errors occurred while process is being executed)</em>. Save it as .bat file. Below is the format of the batch file…</p><pre>&lt;insert path for python location&gt; &lt;insert path for the script&gt;<br>pause</pre><p>Next step is to open the windows task scheduler, click ‘Create Basic Task…’ under ‘Actions’ tab on the right hand side.</p><p>Give a name to the task, provide a description, click next. In ‘Triggers’, choose a trigger like daily, weekly, monthly etc. Under ‘Actions’, choose start a program click next. Browse to the batch file created earlier in the ‘program/script’. Arguments &amp; start in can be left blank. (provide the folder location of the batch file in start in if it not works). That&#39;s it…click ok</p><p>Finally, the collecting data from a website, preprocessing it, pushing to Database, scheduling has been done completely.</p><p>For this use case, scheduling the task has been chosen, but a standalone windows application can be made using auto-py-to-exe for converting .py file to .exe file.</p><figure><img alt="auto-py-to-exe interface" src="https://cdn-images-1.medium.com/max/624/1*6pI7J5YcPpK-uvZ_l2VMPw.png" /></figure><p>Its so simple to use, Provide the path of the .py script which has to be converted. With many options like to get ‘one directory’ or ‘one file’ for the application, providing an icon, downloading the .exe file to desired location, this library makes it intuitive with an interface.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4cbbedd8c4dc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[TagUI — A hidden gem]]></title>
            <link>https://deepakharish.medium.com/tagui-a-hidden-gem-cd1f180160ff?source=rss-b92f14a3ae8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd1f180160ff</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[tagui]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[rpa-tools]]></category>
            <category><![CDATA[automation-tools]]></category>
            <dc:creator><![CDATA[Deepak Harish]]></dc:creator>
            <pubDate>Mon, 14 Jun 2021 11:26:40 GMT</pubDate>
            <atom:updated>2021-07-13T05:55:04.874Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>TagUI — A hidden gem</strong><br><em>How to install TagUI software tool for RPA</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*XbPilR08wpj5e-sj" /><figcaption>Photo by <a href="https://unsplash.com/@maxvdo?utm_source=medium&amp;utm_medium=referral">Max van den Oetelaar</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong><em>What is TagUI?</em></strong></p><p>TagUI is an open-source <a href="https://en.wikipedia.org/wiki/Robotic_process_automation">RPA </a>tool.</p><p><strong><em>How to install TagUI on windows?</em></strong></p><p>step 1: Visit the <a href="https://tagui.readthedocs.io/en/latest/setup.html">installation page</a> in official docs &amp; click “Download TagUI v6.14 for Windows”. *version may change</p><p>step 2: Zip file will be downloaded. Unzip it. Copy “tagui” folder from the extracted file, to any location which doesn&#39;t contain space in the file path.</p><p>For Example, c:\Program Files — doesn&#39;t work, recommended is c:\tagui</p><p>step 3: download <a href="https://corretto.aws/downloads/latest/amazon-corretto-8-x64-windows-jdk.msi">OpenJDK</a></p><p>step 4: download the “Google Chrome” web browser if not present already in the system. As it seems to work with only Chrome at present.</p><p>step 5: (Optional but helps a lot) Add the “c:\tagui\src” folder along with the whole path to PATH in system variables.</p><p>To add the “src” folder to the path, follow the below procedure…</p><p>Type ‘environment variables’ in the windows search (press windows key &amp; start typing), “system properties” dialogue box appears. Navigate to the “environment variables” button at the bottom right.</p><figure><img alt="“environment variables” dialogue box" src="https://cdn-images-1.medium.com/max/607/1*6UgdEyqZLbjJE2Yow7--ng.png" /></figure><p>Then navigate to “system variables” to find “path”. Double click on it. Then click ‘new’ to add the path of the ‘src’ folder.</p><figure><img alt="“system variables” dialogue box to navigate to “path”" src="https://cdn-images-1.medium.com/max/858/1*LfMGBKJbvF_f4j1XNY7_ow.png" /></figure><p>Now that the installation process is completed, we can check whether the installation process is successful or not.</p><p>For that, search for “cmd” in windows search and open it. Then type “tagui”. The below screenshot shows the successful installation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qN5_KMWBlbW1_Bj23pNTww.png" /><figcaption>successful installation of TagUI</figcaption></figure><p><strong>Hello World!</strong></p><p>So, TagUI has been successfully installed. Now let&#39;s get into the first task of any program, which is the Hello world! Let us try out a simple example.</p><p>Open a notepad, type <em>echo Hello World! </em>and save in any folder but with <em>.tag </em>file extension. (here I saved in C:\TagUI\test.tag &amp; named it as <em>test</em>, but it can be named anything &amp; can be saved anywhere)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/454/1*6u84SP-FBdhPWSbxP-_TgQ.png" /><figcaption>Hello world! program</figcaption></figure><p>For Output of the first program, type <em>tagui&lt;space&gt;file path to the program, </em>then press enter to see the magic. (optional there are few suffixes, which can be used at the end of this, which can be explored as per requirements)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*wmUkkuaewCTkZsHFIAeYUA.png" /><figcaption>output printing hello world</figcaption></figure><p>I hope you came across this far and trying your hands on this tool. Do check out other demos as well from the <a href="https://github.com/kelaberetiv/TagUI">Github</a> page of this tool, maintained by many wonderful engineers along with <a href="https://www.linkedin.com/in/kensoh/?originalSubdomain=sg">Ken soh</a>, the creator of this amazing tool.</p><p>For further reference, you can visit his <a href="https://medium.com/@kensoh">medium page</a> and go through wonderful articles written by him.</p><p>There are only two things in life to do…</p><blockquote><strong>remember the mantra “ Automate &amp; Breathe”.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd1f180160ff" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How an owl inspired me to design a drone?]]></title>
            <link>https://deepakharish.medium.com/how-an-owl-inspired-me-to-design-a-drone-74cc031a93db?source=rss-b92f14a3ae8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/74cc031a93db</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[drones]]></category>
            <category><![CDATA[nature]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Deepak Harish]]></dc:creator>
            <pubDate>Wed, 04 Mar 2020 18:40:22 GMT</pubDate>
            <atom:updated>2020-03-04T18:40:22.783Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*qG7HPsuPgwmnZxIc" /><figcaption>Photo by <a href="https://unsplash.com/@hans_veth?utm_source=medium&amp;utm_medium=referral">Hans Veth</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3><strong>Introduction:</strong></h3><p>I want to share about a concept project I worked on and share my experiences, the key takeaways I had, the learnings, the challenges I faced while working on those products. Basically going to take you through the process from the start to the current status of that project.</p><p>So, before starting deep dive into my project works, I would like to have a brief intro about my background, I did my graduation in B.E Mechanical &amp; Production Engineering from a private deemed university in Chennai. Graduated in the year 2017. Currently working as a Data Analyst at an MNC. Well, Yes! I am in the computers/software field, so, if you wonder how, why and all, from a core engineering background to the IT field, hmm! let&#39;s keep that later for another story.</p><p>So, currently, it&#39;s 2020, and my first project which I did was during my graduation back in 2015-2016. Its actually a concept design project. It was the time where drones are a cool thing. People really want to get into flying drones, building them, etc. I too was also fascinated by the drone technology (not a surprise being a mechanical engineer) and was wondering how to build one. So, I started to do my research, learn about how to build them, what technology goes in..blah…blah…</p><h4>This is important learning for me…the first step:</h4><p>So, I basically got to learn that, there are three types of drones or more appropriately called “unmanned vehicles”. Unmanned Ariel Vehicle (UAV), Unmanned Ground Vehicle (UGV), Unmanned Underwater Vehicle (UUV). So, basically, what we hear or see on our daily basis are the UAVs. And then came multi-functional unmanned vehicles, say for example a combination of a UAV and UGV or a UGV and a UUV. So, people are trying to make a vehicle where two different purposes could be solved with one. There might be unique scenarios where there is a requirement of such vehicles that are able to transform into another type of vehicle. Then there is me who got this crazy idea of having all three types of vehicles in one. ( I am a fan of ‘Transformers’ movies 😜)- where basically cars are being transformed into some kind of humanoid robots.</p><blockquote>what if we can combine all the three types of unmanned vehicles into one?</blockquote><blockquote>Yes! it might sound crazy &amp; stupid but <strong>hey! why not???</strong></blockquote><h3><strong>A brief into the design:</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IFzJ1Aawwy1FC8Kh5tLlNQ.jpeg" /><figcaption>my design concept which I named it as ATUV</figcaption></figure><p>The design involved a lot of research. Especially the body of the drone. Since it has to move in different environments like underwater, in the air, on the surface, it has to be fit and suitable for all those environments. The challenges are different for each environment. The toughest challenge is designing it for underwater. Because we face streamline issues when underwater and it will affect its performance and agility. So, we have to overcome it.</p><p>But, when in the air, it faces aerodynamics issues, which also can’t be ignored since my idea of the drone was, it should deliver the same performance irrespective of the environmental conditions. Since the underwater is more challenging and unfortunately there are very less number of UUVs present out there to look up to for design inspiration. Hence I had to start with my own research.</p><h4>Here comes the tough part…</h4><p>I had gone through many articles, books in the library, videos on the internet but still, I felt there was an unsolved puzzle. Then I turned to nature for inspiration and two things I have to look for, fishes &amp; birds. The technical challenges of this particular drone are, it has to carry a lot of stuff and everything needed to be housed inside a waterproof body, without compromising on the agility &amp; performance. We need a shape where both the aerodynamics and streamlining has to be taken care of.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kodC3HgwQc-WohTt1bwJ-w.jpeg" /><figcaption>Side view of the drone showing off the belly &amp; steep bottom in comparison with an owl.</figcaption></figure><blockquote>This is the design inspiration that I took from nature to create my drone.</blockquote><p>If you closely observe, the front head part of the drone is covered with a transparent material, so that a camera can be placed. Similar to the owl which has a pair of eyes in front. As we know owls can hunt at night and in this drone, there will be a night vision camera.</p><p>Coming to the body, when you observe the bottom section of the drone, that is the exact design element that I have taken from the owl’s body.</p><p>That belly curve, from the front head section &amp; reducing gradually till the tail, gives us the aerodynamic shape. This same shape (almost), can be observed in blue whales as well. Which solved my unsolved puzzle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*za56VDzubUzWthVtovL6Ww.jpeg" /><figcaption>Bottom curve from the front head section reducing near the tail of a blue whale. Though the upper section of a blue whale is a little bit wedgy which helps in diving.</figcaption></figure><p>The wedgy part is not that much concern in our case as our drone doesn’t need to dive that quickly through the water. And moreover, it will be a disadvantage as we need to house our night vision camera system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FT3JBFDcRAROdoLZ8RYulQ.jpeg" /><figcaption>Top view of the drone, where we can see the tiltable rear propellers.</figcaption></figure><h4>Not going much into the techy, geeky stuff…</h4><p>In the above image (Top View of the drone), the rear set of propellers are designed to tilt vertically, when moving underwater. And with variable speed motors, the direction change can be achieved. That means, when we want to turn to the right, we increase the speed of the right side propeller, &amp; reducing the left side propeller &amp; vice versa to turn to the left. [If observed top view closely, the body closely looks similar to the mosquito.]</p><p>So, these are the major hurdles I faced and how I overcame the challenges it presented. Finally, now the ground vehicle part is only left, and for that, I went with tracks as it helps in load distribution when moving on uneven surfaces, similar to a battle tank. And finally, we kept the protection rings around the propellers for safety concerns.</p><p>Below are model photoshopped images of the drone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Zm1SSktJ_YZZ8a8dbBuSTg.jpeg" /><figcaption>It is not really flying, a photoshopped background image.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n9WRqpJ61BU0kFpiCMBIRA.jpeg" /><figcaption>Final design with a better color scheme.[clear curved transparent front section for camera setup can be seen clearly in this pic]</figcaption></figure><h3>Conclusion:</h3><p>This is a just design concept, which was made using AutoCAD, Creo software. I couldn’t build a prototype of this, though I seriously tried to make (cost constraints, my technical knowledge limitations) but tested it in virtual environments (software) and came to a conclusion that, it might work. Yes, it is neither complete nor perfect, never the less, I gave a try &amp; it gave me immense satisfaction, confidence and most importantly, the knowledge I learned in the process. Well, it was just got an idea, and I tried to implement it by putting my efforts to bring it close to reality from my thoughts. And open to hearing from you.</p><blockquote>The key takeaway I learned apart from the technical knowledge is to, just do it…nothing is wrong or right.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=74cc031a93db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[“Social Media Suicide”-How I Came Out Of It]]></title>
            <link>https://deepakharish.medium.com/social-media-suicide-how-i-came-out-of-it-87e4a3365997?source=rss-b92f14a3ae8e------2</link>
            <guid isPermaLink="false">https://medium.com/p/87e4a3365997</guid>
            <category><![CDATA[facebook]]></category>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[instagram]]></category>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[twitter]]></category>
            <dc:creator><![CDATA[Deepak Harish]]></dc:creator>
            <pubDate>Wed, 24 Jan 2018 15:02:53 GMT</pubDate>
            <atom:updated>2018-01-24T15:02:53.507Z</atom:updated>
            <content:encoded><![CDATA[<p>Now imagine that if you would like to quit all your social media accounts now, how it would be.<strong> Do you think all your wasted time will come back to you?</strong> <strong>do your happiness comes back to you?</strong> <strong>do you think that you can live peacefully from then?</strong> I think, maybe for certain days. You can enjoy with your friends, family, talk to your neighbours or co-workers.</p><p>Ok, we all know what all the things we do in our social media. Then we wonder why are we doing this all the time how addicted we became to them. Do we realise how all these things became part of your life? Actually its, because of <strong>YOU</strong>. Yes, you bought, all these messes into your life and later worrying how to get out of them.</p><p>Well now it’s not the time to decide whose fault it is and bring another headache, but remember when you came to know about these sites, how happy you are, connecting with your friends around the world, sharing the happiest things of your life with your beloved friends and family. Don’t forget that, those happy moments happened because of the invention of the social media. So, do you really want to miss all those happy moments that going to happen in the future? Well, certainly not right?</p><p>But you can ask me “<strong>Now with all these social media, my life became a mess, how I am gonna be happy?”</strong> Actually, there is no way to bring back the lost time and happiness again. But there is a way to change your habits, the way you use those apps or sites.</p><p>Actually, I am also just like you struggling to get back my lost life from the social media jungle. One day I am on the verge to deactivate my social media accounts and first came to my mind is Facebook and WhatsApp. But, I didn’t do it completely though. I did uninstall the facebook app from my smartphone. Instead, I used my browser to open my facebook. It helped me in two ways, first I got rid of an app which not useful but also wasting storage capacity of my smartphone. The second thing is the urge to open that app. Remember that it’s easy to open an app but in a browser, I need to sign-in with my credentials into my account to use it.</p><p>But again, after few days I came to the same part of my life that dull, boring and endless feed of content. It is only half of the story, as it’s not the thing which actually bothering me. Now, I thought of something that we all call it the brain-storming and eventually got an idea to change the content all together that is “improving my content feed”. Before and all, we always like the funny cat and dog videos, or those funny memes, or best creepiest thing is tagging our friends in the post and this reminds me of a funny quote in Telugu ie “<strong>A barking donkey disturbing an eating donkey</strong>”.</p><p>So, What I did with my feed that brought happiness and connected me to the world again? It’s very simple and easy. I just kept my friend list as short as possible, so that there will be less bothered content about their enjoyments. Secondly, I unfollowed all the stupid content which I don’t like or I don’t want them in future. Let’s put it like this, “Which does not bring any value, knowledge, or have any benefits to me”. For example, I like to spend my free time on, watching posts about cars, bikes, technology and stuff related to that. So, I unfollowed rest of the pages and made sure to follow only verified accounts of those pages which share relevant posts. This is important as many authorised accounts don’t post stuff randomly and ask you to share, like, comment them. As I am not a big movie buff I don’t want to follow all those people who post the random photoshoots that they had, their relationship statuses, they went to this hotel, they are doing this thing etc. God knows how many fan pages are there for our beloved actors and actresses. So a <strong>STRICT NO</strong> to those types of pages. So, now my feed is clean, clutter-free from all those time-wasting posts and moreover, I get more of stuff which is useful for myself and thus increasing productivity. Pages I follow give me more information and increase my knowledge about things happening around me. Few of the pages I follow are “world economic forum”, “mashable” etc. So, every time I went to facebook, I am using that time to know about something which I previously I don’t know.</p><p>The next thing is Instagram, which is more and can easily be addicted to. As I also know about my dear friends and things they do in real life, I decided not to follow them unless they are worth too. No offence to my friends, but I came to Instagram to share pics of my hobby ie photography with pics of cars and bikes which I clicked and as I have travelled through the length and breadth of the nation, I just want to showcase the best parts of the nature I captured and also make a collection of them. But very soon I had my feed of actresses from all around the globe, and few models whose names are very hard to pronounce. I realised that I am not getting anything with that, apart from their success. Its really great thing to be in good shape and really admire them for that, also how hard it is for them to be like that. But looking at them it’s not my intention right, I came to this platform to share and find stuff I want to know and there are a lot of people like me and better than me who click awesome pics. So, guess what I did? Yes, the same formula. Applied it to this platform and voila!!! It worked like charm. Now, I stopped admiring the “<strong>beauty</strong>” in women rather, started admiring the beauties around us “Nature”. Met awesome people whose dedication to photography can only be seen through their photographs they have taken.</p><p>And finally, I applied this awesome formula to all my social media platforms such as <strong>Twitter, Quora, Youtube</strong> etc. The best part is it worked for them too. Actually, the formula is simple, follow want you really want to see, hear, and listen. The opposite of “Gandhi’s Three principles”. “Build an ecosystem of content which really helps you gain knowledge, increase your productivity” and not making you dumb. Here, is the formula:</p><p><strong><em>Positive content + dedication = increase in productivity, value &amp; decrease in time waste</em></strong></p><p>This is my story, I want to be more productive and value my time which in return helps me in gaining some knowledge. And most importantly connecting to the world of like-minded people. Thus, I can say that I am using these platforms to my benefit and to my advantage.</p><p>You can also do this same thing by applying it to your social media platforms, rather complain about it and committing “Social Media Suicide”. If you are interested in fitness, yoga, learn about them or cooking then follow the renowned chefs around the world to know the secret of their recipes. Or current affairs, business, finance then be part of those communities. Don’t cross your boundaries.</p><p>This is to help, educate those people who are unable to leave their social media platforms but don’t know what to do with them.</p><p><strong>There are some noteworthy things to remember:</strong></p><ol><li>I don’t open these platforms every alternate 5 mins. (Not recommended, remember “dedication”)</li><li>Instead, I open them when am free or commuting or have done so much of work. ;p</li><li>Don’t solely depend on these platforms to learn things, find people around you with similar interests and talk to them.</li><li>This is just an alternative way of using those platforms. Understand the implications and my intentions.</li><li>I just asked myself, why I need to lose the opportunity to connect with other people across the world, learn from various sources, grow in my career and in life. That too for the sake of others. Am I being too selfish and greedy?</li><li>I just asked myself, why I need to lose the opportunity to connect with other people across the world, learn from various sources, grow in my career and in life. That too for the sake of others. Am I being too selfish and greedy?</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87e4a3365997" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>