<?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 Haya Baig Mirza on Medium]]></title>
        <description><![CDATA[Stories by Haya Baig Mirza on Medium]]></description>
        <link>https://medium.com/@hayabaigmirza?source=rss-d57baad33406------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aFjXplnvarRS5NQ67SUM_Q.jpeg</url>
            <title>Stories by Haya Baig Mirza on Medium</title>
            <link>https://medium.com/@hayabaigmirza?source=rss-d57baad33406------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 11:32:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hayabaigmirza/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[Pursuit of Happiness or.. Just Happiness?]]></title>
            <link>https://hayabaigmirza.medium.com/pursuit-of-happiness-or-just-happiness-3cc4aabfd4e8?source=rss-d57baad33406------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cc4aabfd4e8</guid>
            <category><![CDATA[work]]></category>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[inspiration]]></category>
            <category><![CDATA[happiness]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Haya Baig Mirza]]></dc:creator>
            <pubDate>Sun, 27 Jun 2021 17:43:41 GMT</pubDate>
            <atom:updated>2021-06-27T18:20:16.075Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*azf5-oAl_K65WscRZezrNg.png" /></figure><p>Every individual in this world has a different strategy to live. Some people tend to create goals or objectives in their lives which, once completed, bring satisfaction and joy to them. While on the other hand, there are people who fancy no such objectives or accomplishments in life and live each day as it comes.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FjIXcTEmU5RCpO%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FjIXcTEmU5RCpO%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FjIXcTEmU5RCpO%2Fgiphy-downsized-large.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="248" frameborder="0" scrolling="no"><a href="https://medium.com/media/096f83b65d6db05727313f9d3a79c8dd/href">https://medium.com/media/096f83b65d6db05727313f9d3a79c8dd/href</a></iframe><p>The goal-oriented people are driven by their dreams. They are always striving hard for their upcoming milestone; be it an interview they need to qualify for, or an entry test they wish to ace. They have an aim in life, an objective to achieve, which causes their whole life to turn into a journey towards an ultimate destination and they are only satisfied <strong>once they succeed in reaching that destination</strong>.</p><p>I know people who dream of being top-notch chefs since they came into their senses, I know people who have dreams changing every year. As we all know that every kind has its <em>own</em> <em>kind-</em> some individuals work towards just one specific objective; be it a singer, a performer, a chef or even the world’s top billionaire ultimately, while some have their goals altering every year or maybe even every month; like achieving two master degrees, skydiving, travelling the world or learning to fly an airplane. Both these sorts are of the dream-driven individuals, who fulfil their satisfaction by check-listing their milestones and accomplishments in life.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fkfp2MYvuTYXjDPErjr%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fkfp2MYvuTYXjDPErjr%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fkfp2MYvuTYXjDPErjr%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/d1fe5cfab65ce171209fd7d94e181f2c/href">https://medium.com/media/d1fe5cfab65ce171209fd7d94e181f2c/href</a></iframe><h3><strong>On the other hand,</strong></h3><p>There are individuals who totally oppose this idea of <strong>#everydayhustle</strong></p><p>These are people who don’t create goals, objectives or any sort of milestone in their life. They just tend to go with the flow as each day of their life passes by.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fn9j743yPQ5pg4%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fn9j743yPQ5pg4%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fn9j743yPQ5pg4%2Fgiphy.gif&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="326" frameborder="0" scrolling="no"><a href="https://medium.com/media/636c79c1d872d5f0f85c6ca7dbf55ab1/href">https://medium.com/media/636c79c1d872d5f0f85c6ca7dbf55ab1/href</a></iframe><p>Our society has a certain standard set for an average individual’s lifestyle; that is studying till you’re 20, marrying till you’re 25, retiring by the age of 60 and then living to see your kids perform the same cycle.</p><p>This standard is the <em>cocoon</em> of these individuals.</p><p>They seem to be convenient and comfortable with this <em>general concept of life</em> the society has created. They live a life free of worries and up-building pressure as there is nothing to ponder your thoughts over. They wake up, they eat, go to work, come back home and then they sleep. What happens tomorrow, is left to either God or destiny. These guys are satisfied with whatever life holds for them, since they don’t expect anything from it.</p><p>Some of us get joy with spending our lives within our comfort zone. Whereas some feel the most joy when they build dreams, fight vulnerably for them and struggle to achieve their goals independently.</p><p>This life is a video-game, you either play it like an amateur or you play it like a pro- both result in the <strong><em>game being over</em></strong>.</p><p>But what matters in the end is, how satisfied you were with <strong><em>the way you played</em></strong>.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F3ov9k5QpweQ4cwWz3a%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2F3ov9k5QpweQ4cwWz3a%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2F3ov9k5QpweQ4cwWz3a%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="244" frameborder="0" scrolling="no"><a href="https://medium.com/media/317509ea39bdbfcf6eb08f2d24da82fd/href">https://medium.com/media/317509ea39bdbfcf6eb08f2d24da82fd/href</a></iframe><blockquote><strong>When life gives you lemons, you either leave the lemons to life itself, make lemonade</strong></blockquote><blockquote><strong>OR</strong></blockquote><blockquote><strong>You make orange juice and leave the world wondering how the hell you did that.</strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cc4aabfd4e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning Web Scraping]]></title>
            <link>https://hayabaigmirza.medium.com/learning-web-scraping-6ab4c8fa8a38?source=rss-d57baad33406------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ab4c8fa8a38</guid>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[methods]]></category>
            <category><![CDATA[scraping]]></category>
            <category><![CDATA[optimal]]></category>
            <category><![CDATA[web]]></category>
            <dc:creator><![CDATA[Haya Baig Mirza]]></dc:creator>
            <pubDate>Wed, 24 Feb 2021 23:17:06 GMT</pubDate>
            <atom:updated>2021-02-24T23:48:22.682Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1maaqTsMft5QjprIZOLSGA.png" /></figure><p>Copying and pasting data or content, which is only available to view in a web browser, eventually becomes a tedious job. This becomes a mammoth task when the data we want to extract or retrieve is extensive. An example could be trying to extract positive statements from thousands of customers, reviewing a product on an e-commerce website.</p><p>That is where the concept of <strong>web scraping</strong> comes into play! The technique of web scraping automates this feature. Hence, instead of copying and pasting data manually, the web scraping software will perform the same task for us within seconds.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FCTX0ivSQbI78A%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Finternet-computer-technology-CTX0ivSQbI78A&amp;image=https%3A%2F%2Fmedia1.giphy.com%2Fmedia%2FCTX0ivSQbI78A%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="321" frameborder="0" scrolling="no"><a href="https://medium.com/media/da7eca38b439fe1c3a68cf3aa8fabf96/href">https://medium.com/media/da7eca38b439fe1c3a68cf3aa8fabf96/href</a></iframe><p>Web scraping has an extensive amount of application in various arenas, particularly in the current era where digital marketing is at its peak. A web scraping software or a program will automatically load and extract data from multiple webpages based on your requirement. Once the program runs, you can conveniently save the data extracted to a file in your computer.</p><p>Usually, web scraping is done through self-written programs, commonly on Python and/or R language. If we try differentiating these two languages and look at the preference as to which language shall be opted, as the most efficient to code our program in, we come towards a middle ground where each language has its own perks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*BzD6ossFzX3GM8lcWkW8aA.jpeg" /></figure><p>Since R is a language centred mainly for statistical computing, R lets it functions do most of the work (Krotov,2018). Python, on the contrary, is more object oriented. Python is extremely dependent on packages and lets you do non-statistical tasks in a straight-forward manner, while R has data analysis built-in and a better statistical support. Both these languages have their own strengths and weaknesses and we can understand that by analysing the fact that the <em>pandas </em>data frames were inspired by R data frames, and the <em>rvest </em>(YouTube, 2019) package was inspired by <em>BeautifulSoup</em>. Ultimately, you may end up wanting to learn both Python and R, so that you can utilise the strength of both the languages, choosing alternatively depending on your needs and what is required by your project.</p><p>When we talk about web scraping from the marketing perspective, it can be used to learn more about your customers, competitors and to get a stronghold on the response your business has over social media. This is something which is very sensitive in nature as social media is a like a cloud full of different opinions and ideas, clustered together in one place. There are now tons of web scraping tools available on the Internet like import.io, webhose.io, Scraper, ParseHub etc.</p><p>The question arises as to how to bring an ideal outcome? What is the best strategy for web scraping huge amount of your data and presenting an analysis based on it?</p><p>And once scrapping is done, there is a need to come up with the best possible analysis on the data we have. For instance, in a situation where there are 457 positive comments on a product and 3 negative — the latter being recent and reporting a fault in the packaging when the product was delivered. After a successful web scraping on this content, we now have all 460 comments as data with us. The analysis we implement on this data will provide us with an overall review about this product since it has been introduced. Our sentiment analysis must be of the level, that each and every comment is put to use and there is an accurate output of our product’s response. This is when methods like polarity detection with RBEM (Rule-Based Emission Model) become crucial. This helps our analysis learn sentiments better, consequently. (Ravi K,2015)</p><p>The tool or algorithm we implement, depends on the kind of analysis we require. From entity sentiment analysis, sentiment analysis, lexical analysis, topic detection, and others — we must choose better algorithms and models for implementation. (MonkeyLearn, 2019)</p><p><strong>Happy scraping!</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2F12oPrUjr3Wv1qE%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fsuperman-vs-batman-movie-2015-list-movies-for-12oPrUjr3Wv1qE&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2F12oPrUjr3Wv1qE%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="197" frameborder="0" scrolling="no"><a href="https://medium.com/media/0c8feb73566cc7cddcad3fc7529eddfa/href">https://medium.com/media/0c8feb73566cc7cddcad3fc7529eddfa/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ab4c8fa8a38" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>