<?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 Mehdi Mujtaba on Medium]]></title>
        <description><![CDATA[Stories by Mehdi Mujtaba on Medium]]></description>
        <link>https://medium.com/@mehdimujtaba-dataperson?source=rss-f15c0cab9ef7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*MlGVidM6pECwMqoIWoIKQg.jpeg</url>
            <title>Stories by Mehdi Mujtaba on Medium</title>
            <link>https://medium.com/@mehdimujtaba-dataperson?source=rss-f15c0cab9ef7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 03:18:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mehdimujtaba-dataperson/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[Lessons from a Decade in Data Science— Part 1]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://mehdimujtaba-dataperson.medium.com/lessons-from-a-decade-in-data-science-part-1-ace08faf6433?source=rss-f15c0cab9ef7------2"><img src="https://cdn-images-1.medium.com/max/600/1*EjxulDtjd5UHQwmOZz1jng.png" width="600"></a></p><p class="medium-feed-snippet">As someone who has worked on both Coasts (Wall Street and Silicon Valley) across multiple industries (Credit, Social Media, eCommerce) and&#x2026;</p><p class="medium-feed-link"><a href="https://mehdimujtaba-dataperson.medium.com/lessons-from-a-decade-in-data-science-part-1-ace08faf6433?source=rss-f15c0cab9ef7------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://mehdimujtaba-dataperson.medium.com/lessons-from-a-decade-in-data-science-part-1-ace08faf6433?source=rss-f15c0cab9ef7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ace08faf6433</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[data-analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[analytics]]></category>
            <dc:creator><![CDATA[Mehdi Mujtaba]]></dc:creator>
            <pubDate>Mon, 21 Sep 2026 00:28:23 GMT</pubDate>
            <atom:updated>2026-09-21T06:32:39.865Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[LinkedIn Recruiter Spam]]></title>
            <link>https://mehdimujtaba-dataperson.medium.com/linkedin-recruiter-spam-12a5362cd3b5?source=rss-f15c0cab9ef7------2</link>
            <guid isPermaLink="false">https://medium.com/p/12a5362cd3b5</guid>
            <dc:creator><![CDATA[Mehdi Mujtaba]]></dc:creator>
            <pubDate>Thu, 26 Dec 2024 22:53:04 GMT</pubDate>
            <atom:updated>2024-12-29T22:23:51.370Z</atom:updated>
            <content:encoded><![CDATA[<p>One somewhat frustrating thing about LinkedIn is getting messages in Focused Inbox for contract roles despite having set job preference in Settings to Full Time:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/0*Aw_RZKIrnjnTD_3B" /><figcaption>Focused Inbox</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pV96Q1JBo0Pbi2gz" /><figcaption>Job Preferences</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/0*00ZXbHtffuyzjXcP" /><figcaption>message for contract role</figcaption></figure><p>I tried to size this issue to see how much my perception matched reality. There were 1,438 ‘conversations’ in my Focused Inbox, with a conversation being all the back and forth messages I had with a given person. 77% of these conversations were inbound, as in initiated by someone else. <strong>17% of these inbound conversations had a keyword* associated with contract roles in their very first message</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/0*sjcosWRgU21alhVV" /></figure><p><em>*: duration, staffing, w2, /hour, /hr, / hour, / hr, per hour, contract</em></p><p>For contrast, <strong>9% of these inbound conversations had a keyword (full time, full-time, fulltime) associated with Full Time roles in their first message</strong>.</p><p><strong>The incidence of contract role messages is roughly double that of Full Time roles based on this rough methodology so the perception does meet reality.</strong></p><p>Thinking out load, maybe most other users do not face this issue hence it was never tackled. In case they do, maybe it has not been picked up by the Analysts/UX, or if it has been it was not considered a big enough problem to pursue. Or it was not tackled because it does not affect engagement or some other metric.</p><p>Either way it is interesting to think about how even in mature platforms there are some very obvious negative experiences, at least for some segment of users.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12a5362cd3b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating Business Value as a Data Analyst]]></title>
            <link>https://mehdimujtaba-dataperson.medium.com/creating-business-value-as-a-data-analyst-2c8ce23aee54?source=rss-f15c0cab9ef7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c8ce23aee54</guid>
            <category><![CDATA[data-mining]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-analytics]]></category>
            <dc:creator><![CDATA[Mehdi Mujtaba]]></dc:creator>
            <pubDate>Fri, 15 Dec 2023 21:43:21 GMT</pubDate>
            <atom:updated>2023-12-15T21:43:21.650Z</atom:updated>
            <content:encoded><![CDATA[<p>While a Machine Learning Data Scientist might be able to create measurable business value by, say, improving product ranking on an e-commerce page leading to greater relevance and higher Add to Cart/Conversion Rate, for a Data Analyst | Product Data Scientist | Data Scientist-Analytics/Insights/Strategy, it is not that straight-forward. A lot of insights Data Analysts produce may not be actionable.</p><p>However, based on some (hard-earned) lessons across 3 companies, I have learnt that:</p><p>Data Analysts Predominantly Create $ Impact/Improve UX Through Identifying and Sizing Broken/Anomalous User Experiences/Behaviors</p><p>Here are some examples to illustrate:</p><p>One of my past managers, an extremely diligent and intelligent Turkish fellow, observed that there was a spike in users logging in to our site but not taking any action e.g. clicking, scrolling etc. Long story short, some malicious actors had probably accessed stolen emails and passwords somewhere, and were checking using a bot if they could login to our website using these. I think the technical term is ‘credential stuffing’ cyber attack:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*HLj2gDT0OjVTnLRW" /></figure><p>That is all their bot was programmed to do however, which is why we saw higher % of users logging in and doing nothing. Working with InfoSec team, 1000s of compromised accounts were secured based on this analysis, protecting PII of these users and reducing risk of unauthorized transactions, saving the company from lost user trust and scandal. Business Value: Priceless.</p><p>Another of my managers at the same company (incidentally another diligent, intelligent Turk) found that, after a particular date, a large % of our transactions were coming from a certain non logged-in page, even among registered users. Turned out that there was some issue with the page routing in one of the daily emails we sent, which instead of sending users to a logged-in, highly personalized page, was sending them to a non logged-in, high-friction, generic one with few products. Fixing the routing led to at least a $100k increase in revenue with no increase in cost.</p><p>On similar lines, for a social network, a broken experience might mean posts which get a lot of engagement from some users but are disliked and ‘reported’ by the ones you want to retain (for violating community guidelines). Since most social networks almost exclusively optimize for engagement, that might mean the ranking algorithm would start showing more such posts or up-ranking them. The value a Data Analyst can add here is by identifying types of posts with High Engagement Rate BUT also High Report Rate (a highly divisive political post could be in this category) and pushing to down-rank/suppress these, saving the Feed from becoming a toxic cesspool the best users will eventually leave. A social network is only as valuable as the quality/quantity of its users.</p><p>Visually speaking, the top-right quadrant is the one to avoid while bottom-right is the sweet spot assuming the social network is ultimately chasing engagement but of the healthy type (each dot is a post):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/0*7VikZG8gYNWJpz_U" /></figure><p>Lastly, for an ecommerce page, a Data Analyst could observe by exploring the app/website that the filters you apply are not respected e.g. below Price Filter is set to $100-$200 but products &gt;$200 are shown, a bad UX:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*4PkfBMQqvNKiJJPS" /></figure><p>As a Data Analyst one could add value by sizing the issue: how many customers use filter in the first place, and for filter-applied pages how many impressions fall outside the filter range. If it is a trivial number, like say 0.01%, then there may be other better features to work on but if not this might be something Product takes up immediately due to TAM. Assuming a bug fix is rolled out, Data Analysts can confirm if it actually worked and if not share examples of faulty impressions, playing a critical supporting role to Engineering.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c8ce23aee54" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Djokovic’s Tiebreak ‘Lockdown Mode’ — By the Numbers]]></title>
            <link>https://mehdimujtaba-dataperson.medium.com/djokovics-tiebreak-lockdown-mode-by-the-numbers-59c7c502c795?source=rss-f15c0cab9ef7------2</link>
            <guid isPermaLink="false">https://medium.com/p/59c7c502c795</guid>
            <category><![CDATA[wimbledon]]></category>
            <category><![CDATA[tennis]]></category>
            <category><![CDATA[federer]]></category>
            <category><![CDATA[french-open]]></category>
            <category><![CDATA[djokovic]]></category>
            <dc:creator><![CDATA[Mehdi Mujtaba]]></dc:creator>
            <pubDate>Thu, 29 Jun 2023 05:10:06 GMT</pubDate>
            <atom:updated>2023-09-11T18:02:05.535Z</atom:updated>
            <content:encoded><![CDATA[<h3>Djokovic’s Tiebreak ‘Lockdown Mode’ — By the Numbers</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*2pv3n_1k6miEIP1DgGXkDg.jpeg" /><figcaption>Tennis’s King of Clutch</figcaption></figure><p>Delving deeper into Djokovic’s recent French Open win, one stat was absolutely mind-blowing: not only did Djokovic win all his tiebreaks, he did so with ‘0’ unforced errors. You read that right: no unforced errors in 55 of the most high-pressure points in a set. A Complete Lockdown.</p><p>His current coach compared this lockdown mode to Djokovic ‘rebooting his software’ before a tiebreak, which is apt as Djokovic has been compared to Terminator at times (hence the nickname Serb-inator).</p><p>One can only sympathize with his opponents, but I guess that explains a big portion of his career achievements given he does not necessarily blow anyone off the court like maybe Federer used to do. Being a low-level/recreational sportsman myself, I am familiar with the feeling of the body freezing up when the stakes are high (whatever that means with nothing remotely material or meaningful on the line), so this 0 errors in 55 points was really hard to wrap my head around.</p><p>I tried to find some context in data. Outlandish as the 0 errors in 55 tiebreak points may seem, it is not a one-off. There were similar headlines after Federer’s loss in Wimbledon 2019 final where Djokovic did not commit a single error in 3 tiebreaks.</p><p>Having Wimbledon 2019 final data handy, I decided to analyze it to get some more context: <strong>did Djokovic’s tiebreak lockdown mode in this match come from completely dialing down his aggression or did he ramp up offense while shoring up defence and leave no chance for his opponent?</strong></p><p><strong>TL:DR it mostly came from dialing down aggression, as evidenced by a 56% drop in the rate of hitting winners* compared to non tiebreak points but not committing ANY unforced errors made up for it. Having said that, he also upped his net approach rate in tiebreaks which I would consider an increase in aggression but of a different kind.</strong></p><p><em>*: rate of hitting winners = # winners/# points played</em></p><p><em>*: relative drop, from a 13.8% rate of hitting winners in non tiebreak points to 6.1% in tiebreaks, a drop of (13.8–6.1)/13.8 = 56%</em></p><p><em>*: winners include aces. Similarly unforced errors include double faults.</em></p><p>Visually speaking and fully quantifying the discussion above:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/697/0*xMXn6P6_9GDuoHFg" /></figure><p>Looking at Federer’s side of the net, we see a slightly higher rate of winners in tiebreaks (15%) but it is completely nullified by the 168% lift in Unforced Error Rate (remember that a 100% lift means doubling of the metric, so the Unforced Error Rate more than doubled). Also disappointing is the increased hesitance (54%) in approaching the net which was probably a factor in the overall drop in tiebreak performance:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/706/0*DpjOS6Bg4F7Y_GO7" /></figure><p>There were three tie-breaks in this match and some of these 3 metrics differ across them but 2 things remained constant: Djokovic’s refusal to give ANY free points and Federer handing them out more freely.</p><p>One caveat: Djokovic had 12% more non-tiebreak service points so that may slightly skew the non-tiebreak data but in the tiebreaks both players served and returned basically the same number of points due to alternating serve every 2 points in the tiebreak.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59c7c502c795" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thoughts after Djokovic’s 20th]]></title>
            <link>https://mehdimujtaba-dataperson.medium.com/thoughts-after-djokovics-20th-d8e1ecd3adad?source=rss-f15c0cab9ef7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d8e1ecd3adad</guid>
            <category><![CDATA[wimbledon]]></category>
            <category><![CDATA[tennis]]></category>
            <category><![CDATA[nadal]]></category>
            <category><![CDATA[djokovic]]></category>
            <category><![CDATA[federer]]></category>
            <dc:creator><![CDATA[Mehdi Mujtaba]]></dc:creator>
            <pubDate>Mon, 12 Jul 2021 07:12:45 GMT</pubDate>
            <atom:updated>2021-07-17T21:48:49.305Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/970/0*jOTi8_c9ukZJnNZt.jpg" /></figure><p>11 July, 2021 was a historic day in tennis. While Federer, Nadal and Djokovic have been spoken about in the same breath for the longest time now, it was like a rare planetary alignment where all are tied at 20 Grand Slams.</p><p>While Federer and Nadal are wilting, Djokovic is at that rare level of domination where most players are already defeated before the first ball is struck. Here are some thoughts on the machine, the Serbinator, a player not universally loved but admired and respected nonetheless:</p><p><strong>Djokovic is Djokovic because of Federer and Nadal:</strong></p><p>From 2007 to 2010 Djokovic was a solid World Number 3, despite his physical and mental fragility (which we learned was entirely a health issue). Without Federer and Nadal, he would been the undisputed World Number 1 winning multiple Grand Slams a year. Not a bad outcome, but he would never have unlocked that near-supernatural level of physical, technical and mental performance to match and ultimately dominate these 2.</p><p>Quoting Dark Knight Joker, ‘I don’t wanna kill you…what will I do without you, going back to ripping off mob dealers? No…No…<strong>You,Complete, Me</strong>…’</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FHhI_ugygPQI%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHhI_ugygPQI&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FHhI_ugygPQI%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/a25a3e54ebc1756e7c3622ce2e6aaed1/href">https://medium.com/media/a25a3e54ebc1756e7c3622ce2e6aaed1/href</a></iframe><p><strong>Redefining Longevity:</strong></p><p>While it was almost a given that Federer would be playing well into his thirties (unheard of previously) given how little physical effort he expended (the free points on serve, flair on groundstrokes and ruthlessly killing off points at the net), for Nadal and Djokovic it is remarkable. They run themselves into the ground every tournament, match, set…you know where this is going. For comparison, Murray’s body has literally broken down.</p><p><strong>Best of last decade, but best of all time?</strong></p><p>The GOAT debate is too ambitious I think. How can one compare the era of wooden, small-frame rackets with grass as the most common surface to today’s era of sledgehammer rackets and slow hardcourts.</p><p>Having said that, I don’t think Djokovic would be such a force in an older era, while Federer’s strengths would actually be accentuated.</p><p>It’s something the Djokovic apparently acknowledged himself:</p><p><em>“But whether I’m the greatest of all time or not, I leave that debate to other people. I said before that it’s very difficult to compare the eras of tennis. We have different rackets, technology, balls, courts. It`s just completely different conditions that we’re playing in, so it’s very hard to compare tennis from 50 years ago to today.”</em></p><p>As a baseliner with a game predominantly built on smothering attacks, don’t see Djokovic generating enough spin returning a Sampras serve or volley to make it difficult for him. It’s a travesty for baseliners like Nadal, Murray and Djokovic to have won multiple Wimbledon titles. Says as much about these players as it says about Wimbledon. This is not what Wimbledon was and probably is supposed to be.</p><p>For the current era of physical/mental endurance and baseline battles with occasional net sprints, Djokovic stands alone though.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d8e1ecd3adad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cities with Highest (rent-adjusted) Salaries]]></title>
            <link>https://mehdimujtaba-dataperson.medium.com/cities-with-highest-rent-adjusted-salaries-518b5951e63b?source=rss-f15c0cab9ef7------2</link>
            <guid isPermaLink="false">https://medium.com/p/518b5951e63b</guid>
            <category><![CDATA[salary]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[rent]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[san-francisco-bay-area]]></category>
            <dc:creator><![CDATA[Mehdi Mujtaba]]></dc:creator>
            <pubDate>Fri, 17 Jul 2020 21:48:32 GMT</pubDate>
            <atom:updated>2021-08-29T19:13:41.375Z</atom:updated>
            <content:encoded><![CDATA[<p>In the previous article we saw the ridiculousness of the Bay Area rental market:</p><p><a href="https://medium.com/@mehdimujtaba/most-expensive-cities-to-rent-in-us-2e0ec8a32323">Most Expensive Cities to Rent in US</a></p><p>An implication here could be that renting in the Bay Area just does not make financial sense, and one should move to Seattle. Or Portland. Or Austin.</p><p>But it is considered that salaries in Bay Area are also higher to offset higher rental costs, and it may still make sense to live here.<strong> So I will analyze each city’s Salary after Rent (Median Yearly Salary-Median Yearly Rent) to see if it makes financial sense to rent there, </strong>restricting myself to major cities.</p><p>We already have the median 1 BR rents for each city (as of Dec., ’19) from the previous article. All that is needed is finding the corresponding median salaries.</p><p>For fair comparison I will focus only on Software Engineer salaries (just plain Software Engineer, not senior, principal etc.). As for the data source, I decided to use an H1B salary database. I know it is accurate. And it shows individual salaries which gives more insight than a lump sum number, as can be obtained from Glassdoor. Also, I am looking at 2019 salaries. Here’s a snapshot of the data source:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0OwZx0FU3VR3TRn7Uuzo7Q.png" /></figure><p>I ran a Python script to collect this data for all the cities under consideration (see Appendix) and the results are in.</p><p>The 30 cities with highest Salary after Rent are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DrrTBliF74kP5wx6NPqF8A.png" /></figure><p>Seattle has the highest Salary after Rent so food for thought for Bay Area folks.</p><p>San Francisco, despite ~30% of salary going to rent, and reputation as the most expensive rental market in the country, is second. Yearly there is ~$95k left to spend on whatever, or save. There are 5 other California cities (including 2 Bay Area ones) in the list.</p><p><strong>Conclusion is that Bay Area (and California at large) is not a bad place at all while renting. Not as good as Seattle but still pretty good. Buying is a whole different story, however, and a story for another day…</strong></p><p>Moving to other states, Texas is well represented with 8 cities and lives up to its reputation. North Carolina with 3 is the surprise package. Someone’s doing something right in that state.</p><p>We are doing this analysis to suggest best places to rent but there are obviously some caveats here:</p><ul><li>We are comparing salary and rent for a given city but people don’t need to live in same city they work. You can work in San Francisco and live in Sacramento and enjoy a high salary with low rent (but the commute will kill you)</li><li>A person may be making higher salary than median or paying lower rent or both</li><li>The salary here is pre-tax. Ideally we should look at post-tax salary. SF’s salary may not be as attractive as it looks after tax</li><li>There are costs of living other than rent which we are not considering</li><li>Ideally we should look at software engineer salary for same company in different cities, like Google for SF, Seattle, Austin etc. but we are doing a more general analysis. Interestingly if we restrict ourselves to Google, all cities are pretty close and SF comes out looking pretty good:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/323/1*k1JQB5niBTwkV4L2dZJW2g.png" /></figure><ul><li>Cost is not the only factor which determines choice of city. Personally for me, I stay because moving is not easy, Bay Area has best year-round weather, best road trips, abundant tennis courts and volleyball groups and host of other professional/personal/social reasons</li></ul><p>Appendix:</p><pre><em>from selenium import webdriver<br>import bs4</em></pre><pre><em>options = webdriver.ChromeOptions()<br>options.add_argument(‘headless’)</em></pre><pre><em>top_metros=[‘San Francisco’,’New York’,’Oakland’,’San Jose’,’Boston’,’Los Angeles’,’Washington’,’Miami’,’Seattle’,’San Diego’,’Anaheim’,’Fort Lauderdale’,’Santa Ana’,’Denver’,’Scottsdale’,’Honolulu’,’Long Beach’,’Portland’,’Atlanta’,’Chicago’,’Minneapolis’,’Providence’,’Philadelphia’,’New Orleans’,’Tampa’,’Nashville’,’Sacramento’,’Baltimore’,’Charlotte’,’Orlando’,’Austin’,’Dallas’,’Salt Lake City’,’Plano’,’Chandler’,’Fort Worth’,’Pittsburgh’,’Houston’,’Durham’,’Gilbert’,’Colorado Springs’,’Henderson’,’Jacksonville’,’Irving’,’Reno’,’Aurora’,’Norfolk’,’Raleigh’,’Richmond’,’Phoenix’,’Chesapeake’,’Boise’,’Virginia Beach’,’Las Vegas’,’Glendale’,’Cleveland’,’Madison’,’Milwaukee’,’Newark’,’Mesa’,’Baton Rouge’,’Anchorage’,’San Antonio’,’Kansas City’,’Louisville’,’Columbus’,’Arlington’,’Rochester’,’Des Moines’,’Corpus Christi’,’Lincoln’,’Buffalo’,’Cincinnati’,’Fresno’,’Laredo’,’Omaha’,’Indianapolis’,’Memphis’,’Tulsa’,’Syracuse’,’Albuquerque’,’Oklahoma City’,’Spokane’,’Lexington’,’Greensboro’,’Tucson’,’Wichita’,’El Paso’,’Lubbock’,’Shreveport’,’Akron’]</em></pre><pre><em>##separating compound city name by + to use in URL e.g. San Francisco to San+Francisco</em></pre><pre><em><br>top_metro_split=[]</em></pre><pre><em>for i in range(0,len(top_metros)):<br> top_metro_split_array=top_metros[i].split()<br> if(len(top_metro_split_array)==2):<br> top_metro_split.append(top_metro_split_array[0]+’+’+top_metro_split_array[1])<br> elif(len(top_metro_split_array)==3):<br> top_metro_split.append(top_metro_split_array[0]+’+’+top_metro_split_array[1]+’+’+top_metro_split_array[2]) <br> else:<br> top_metro_split.append(top_metros[i])</em></pre><pre><em>for i in range(0,len(top_metro_split)): <br> driver = webdriver.Chrome()<br> url=’</em><a href="https://h1bdata.info/index.php?em=&amp;job=Software+Engineer&amp;city=&#39;"><em>https://h1bdata.info/index.php?em=&amp;job=Software+Engineer&amp;city=&#39;</em></a><em> + top_metro_split[i] +’&amp;year=2019&#39;<br> driver.get(url)<br> innerHTML = driver.execute_script(“return document.body.innerHTML”)<br> soup = bs4.BeautifulSoup(innerHTML)<br> x=soup.select(‘span[class=”help-block”]’)<br> print(top_metros[i],’:’,x[0].getText())<br> driver.close()</em></pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=518b5951e63b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Most Expensive Cities to Rent in US]]></title>
            <link>https://mehdimujtaba-dataperson.medium.com/most-expensive-cities-to-rent-in-us-2e0ec8a32323?source=rss-f15c0cab9ef7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e0ec8a32323</guid>
            <category><![CDATA[real-estate]]></category>
            <category><![CDATA[expensive]]></category>
            <category><![CDATA[rent]]></category>
            <category><![CDATA[housing]]></category>
            <dc:creator><![CDATA[Mehdi Mujtaba]]></dc:creator>
            <pubDate>Sun, 12 Apr 2020 19:09:20 GMT</pubDate>
            <atom:updated>2022-09-04T03:17:54.425Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uc0aQt6SD9GCtHhS" /></figure><p>I recently analyzed a Zillow data-set on 1 BR rentals in the US . It included 818 cities with their median rent for a 1 BR (as of December 2019).</p><p>For a start I was drawn to the most expensive cities. The output was pretty interesting. Here is the Top 50:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/654/1*mvQo_TVk0-UceOwT9CGD7g.png" /></figure><p>Malibu takes the top spot by a margin (for those not familiar, its a beachfront city north of Santa Monica which basically the whole Hollywood A-List calls home). Here’s a flavor of what renting there looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rotvrvzVp-Lo9Crh5EBvww.png" /></figure><p>Other celebrity cities in the Top 50 include West Hollywood (CA), Beverly Hills (CA) and Bal Harbor (FL). Bal Harbor is a city slightly north of Miami Beach and here’s how the view from an apartment may be like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tIljpiH4F0Vzve15.jpg" /></figure><p>Moving to the rest of the Top 50, white-collar Bay Area cities make up a very big portion. There a couple of riverfront NJ cities overlooking Manhattan, 2 Massachusetts cities and some beach front neighborhoods south of LA as well.</p><p>Conspicuous in its absence is New York City*, with a median 1 BR rent of $2425.</p><p>Other than the most expensive cities, I was interested in the states with the highest variance in 1 BR rents. That should somewhat paint a picture of the income inequality between cities in those states. Here’s the Top 10:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*pSMLkdzAEd8g-UbIOGQvPw.png" /></figure><p>California rates pretty high here as well. To illustrate the point, here are 10 cheapest cities in the state. The contrast with astronomical Bay Area rents is stark:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/481/1*7lZKbhWk4YXXUNhKqaFBqg.png" /></figure><p>*: A colleague also asked me how come Walnut Creek is in Top 50 but NYC is not. And sure enough, unlike Zillow data, Zumper data shows NYC is more expensive than Walnut Creek, which makes a lot more sense:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5_nTu_U1KSS_pLcccCv26A.png" /></figure><p>This made me question the whole analysis so I compared Zillow data to Zumper for all cities. Thankfully its only New York’s rent which seems off for Zillow (22% difference) among major cities. Looking at most populated metro areas only, Zillow and Zumper ranks have 0.94 correlation and the rents are pretty similar too:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EyLbzhadwuAjq158QBNq-Q.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e0ec8a32323" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating (aspects of) Job Search-LinkedIn Scraping]]></title>
            <link>https://mehdimujtaba-dataperson.medium.com/automating-aspects-of-job-search-linkedin-scraping-cdb880b0bd34?source=rss-f15c0cab9ef7------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdb880b0bd34</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[linkedin]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[email]]></category>
            <category><![CDATA[job-search]]></category>
            <dc:creator><![CDATA[Mehdi Mujtaba]]></dc:creator>
            <pubDate>Sun, 07 Jul 2019 01:46:10 GMT</pubDate>
            <atom:updated>2019-08-12T02:09:10.868Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*RgDq0JhgBCua4TOpazPl6A.png" /></figure><p>In my last article I (automatically) went through my Gmail Inbox to find recruiter email addresses and send personalized emails to them:</p><p><a href="https://medium.com/@mehdimujtaba/automating-aspects-of-job-search-b3b1f53951d0">Automating (aspects of) Job Search</a></p><p>As a follow-up, I tried to to do the same with my LinkedIn Inbox. The reason is not all recruiter email addresses are in your Gmail. Sometimes you get a LinkedIn message from a recruiter with his/her email address in it and these can be leveraged:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MtbOykZXQLHlODBkhAYVhQ.png" /></figure><p>The gameplan was to go through every message in the Inbox and extract recruiter email addresses. These can then be looped through to send emails about availability.</p><p>As a first step, I wrote code to login to the website:</p><pre>import time<br>import re<br>from selenium import webdriver</pre><pre># Browser<br>driver = webdriver.Chrome() # Optional argument, if not specified will search path.<br>driver.get(‘<a href="https://www.linkedin.com/login&#39;">https://www.linkedin.com/login&#39;</a>)</pre><pre>nameidElem = driver.find_element_by_id(‘username’)<br>nameidElem.send_keys(‘<a href="/service/mailto:mehdi.bourne@gmail.com">*****@gmail.com</a>’)</pre><pre>pwdidElem = driver.find_element_by_id(‘password’)<br>pwdidElem.send_keys(‘*******’)</pre><pre>continueElem = driver.find_element_by_class_name(“btn__primary — large”) <br>result=continueElem.submit()</pre><pre>time.sleep(10)</pre><p>After logging in, next step was to code clicking the messaging icon on the main page (see square red box below):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PCntqCcOVc8Fh--Kcb0s-w.png" /></figure><pre>messagesElem = driver.find_element_by_id(“messaging-tab-icon”) <br>messagesElem.click()</pre><p>Having arrived in the Inbox, next step was to click everyone on the message previews (e.g. green square) one by one and then read the message on the right (brown square), extracting the email address in the message if there was any:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1SME34BF_mUTXiRK5QDGZg.png" /></figure><pre>sender_email_list=[]</pre><pre>current_edit=[]<br>current_edit_cum=[]<br>for i in range(0,10):<br>  print(i)  <br>  current=driver.find_elements_by_class_name(&quot;msg-conversation-listitem__participant-names&quot;)<br>  current_edit_cum=current_edit_cum+current_edit<br>  current_edit=list(set(current) - set(current_edit_cum))<br>  for person in current_edit:<br>      person.click()<br>      print(person.text)<br>      time.sleep(5)<br>      for text in driver.find_elements_by_class_name(&quot;msg-s-event-listitem__body&quot;):<br>        emails = re.findall(r&quot;[a-z0-9\.\-+_]+@[a-z0-9\.\-+_]+\.[a-z]+&quot;, text.text)<br>        if emails!=[]:<br>            sender_email_list=sender_email_list+[emails]<br>            time.sleep(10)<br>  person.click()<br>  scroll=driver.find_element_by_tag_name(&#39;html&#39;)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  scroll.send_keys(Keys.DOWN)<br>  <br>import numpy as np<br>sender_email_list=np.unique(sender_email_list)</pre><pre>list_subject=pd.DataFrame(list(sender_email_list))</pre><pre>list_subject.to_csv(&#39;C:\\Users\\User\\Downloads\\linkedin_list.csv&#39;,index=False)</pre><p>This provided me with a healthy number of email addresses not present in my Gmail. These can be added to a csv and personalized emails sent to them like in the last article.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdb880b0bd34" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Best Urdu Poetry]]></title>
            <link>https://mehdimujtaba-dataperson.medium.com/best-urdu-poetry-c87f06f18220?source=rss-f15c0cab9ef7------2</link>
            <guid isPermaLink="false">https://medium.com/p/c87f06f18220</guid>
            <category><![CDATA[urdu-poetry]]></category>
            <category><![CDATA[urdu]]></category>
            <category><![CDATA[poetry]]></category>
            <category><![CDATA[pakistan]]></category>
            <dc:creator><![CDATA[Mehdi Mujtaba]]></dc:creator>
            <pubDate>Thu, 23 May 2019 16:58:47 GMT</pubDate>
            <atom:updated>2025-12-31T00:19:29.475Z</atom:updated>
            <content:encoded><![CDATA[<h3>Curated Urdu Poetry</h3><p>agarche zor havāoñ ne Daal rakkhā hai</p><p>magar charāġh ne lau ko sambhāl rakkhā hai</p><p>bhale dinoñ kā bharosā hī kyā raheñ na raheñ</p><p>so maiñ ne rishta-e-ġham ko bahāl rakkhā hai</p><p>ham aise sāda-diloñ ko vo dost ho ki ḳhudā</p><p>sabhī ne vāda-e-fardā pe Taal rakkhā hai</p><p>bharī bahār meñ ik shāḳh par khilā hai gulāb</p><p>ki jaise tū ne hathelī pe gaal rakkhā hai</p><p>‘farāz’ ishq kī duniyā to ḳhūb-sūrat thī</p><p>ye kis ne fitna-e-hijr-o-visāl rakkhā hai</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>har koī dil kī hathelī pe hai sehrā rakkhe</p><p>kis ko sairāb kare vo kise pyāsā rakkhe</p><p>umr bhar kaun nibhātā hai ta.alluq itnā</p><p>ai mirī jaan ke dushman tujhe Allāh rakkhe</p><p>ham ko achchhā nahīñ lagtā koī hamnām tirā</p><p>koī tujh sā ho to phir naam bhī tujh sā rakkhe</p><p>dil bhī pāgal hai ki us shaḳhs se vābasta hai</p><p>jo kisī aur kā hone de na apnā rakkhe</p><p>ye qanā.at hai itā.at hai ki chāhat hai ‘Farāz’</p><p>ham to raazī haiñ vo jis haal meñ jaisā rakkhe</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>mere dil kī haqīqat mere āñsuoñ se pūchho</p><p>merā majlisī tabassum merā tarjumāñ nahīñ hai</p><p>inhīñ pattharoñ pe chal kar agar aa sako to aao</p><p>mire ghar ke rāste meñ koī kahkashāñ nahīñ hai</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>chaman maiñ rañg-e-bahār utrā to maiñ ne dekhā</p><p>nazar se dil kā ġhubār utrā to maiñ ne dekhā</p><p>ik aur dariyā kā sāmnā thā ‘munīr’ mujh ko</p><p>maiñ ek dariyā ke paar utrā to maiñ ne dekhā</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>mirī zindagī ke charāġh kā ye mizāj koī nayā nahīñ</p><p>abhī raushnī abhī tīrgī na jalā huā na bujhā huā</p><p>mujhe jo bhī dushman-e-jāñ milā vahī puḳhta-kār-e-jafā milā</p><p>na kisī kī zarb ġhalat paḌī na kisī kā tiir ḳhatā huā</p><p>mujhe aap kyuuñ na samajh sake ye ḳhud apne dil hī se pūchhiye</p><p>mirī dāstān-e-hayāt kā to varaq varaq hai khulā huā</p><p>jo nazar bachā ke guzar ga.e mire sāmne se abhī abhī</p><p>ye mire hī shahr ke log the mire ghar se ghar hai milā huā</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>dāġh-e-dil ham ko yaad aane lage</p><p>log apne diye jalāne lage</p><p>kuchh na pā kar bhī mutma.in haiñ ham</p><p>ishq meñ haath kyā ḳhazāne lage</p><p>yahī rasta hai ab yahī manzil</p><p>ab yahīñ dil kisī bahāne lage</p><p>ḳhud-farebī sī ḳhud-farebī hai</p><p>paas ke Dhol bhī suhāne lage</p><p>ab to hotā hai har qadam pe gumāñ</p><p>ham ye kaisā qadam uThāne lage</p><p>is badalte hue zamāne meñ</p><p>tere qisse bhī kuchh purāne lage</p><p>ek pal meñ vahāñ se ham uTThe</p><p>baiThne meñ jahāñ zamāne lage</p><p>ham tak aa.e na aa.e mausam-e-gul</p><p>kuchh parinde to chahchahāne lage</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>jo zarā sī baat par barsoñ ke yārāne ga.e,</p><p>itnā to huā kuchh log tou pahchāne ga.e</p><p>garmi-e-mahfil faqat ik nāra-e-mastāna hai ,</p><p>aur vo ḳhush haiñ ki is mahfil se dīvāne ga.e</p><p>vahshateñ kuchh is tarah apnā muqaddar ban ga.iiñ ,</p><p>ham jahāñ pahuñche hamāre saath vīrāne ga.e</p><p>ab bhī un yādoñ kī ḳhushbū zehn meñ mahfūz hai ,</p><p>bār-hā ham jin se gulzāroñ ko mahkāne ga.e</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>mohabbat karne vaale kam na hoñge</p><p>tirī mahfil meñ lekin ham na hoñge</p><p>maiñ aksar sochtā huuñ phuul kab tak</p><p>sharīk-e-girya-e-shabnam na hoñge</p><p>zarā der-āshnā chashm-e-karam hai</p><p>sitam hī ishq meñ paiham na hoñge</p><p>diloñ kī uljhaneñ baḌhtī raheñgī</p><p>agar kuchh mashvare bāham na hoñge</p><p>kahūñ bedard kyuuñ ahl-e-jahāñ ko</p><p>vo mere haal se mahram na hoñge</p><p>agar tū ittifāqan mil bhī jaa.e</p><p>tirī furqat ke sadme kam na hoñge</p><p>‘hafīz’ un se maiñ jitnā bad-gumāñ huuñ</p><p>vo mujh se us qadar barham na hoñge</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>tū idhar udhar kī na baat kar ye batā ki qāfila kyuuñ luTā</p><p>mujhe rahzanoñ se gilā nahīñ tirī rahbarī kā savāl hai</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Mai Khayal hu kisi aur ka</p><p>Mujhe sochta koi aur hai</p><p>Sar-e-aaina mera aks hai</p><p>Pas-e-aaina koi aur hai</p><p>MaiN kisee ke dast-e-talab meiN hooN</p><p>To kisee ke harf-e-dua meiN hooN</p><p>MaiN naseeb hooN kisee aur ka</p><p>Mujhe maangta koi aur hai</p><p>Tujhe dushmanoN kee khabar na thee</p><p>Mujhe dostoN ka pata na tha</p><p>Teree daastaaN koi aur thee</p><p>Mera vaakaya koi aur hai</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>vo ham-safar thā magar us se ham-navā.ī na thī</p><p>ki dhuup chhāñv kā aalam rahā judā.ī na thī</p><p>kabhī ye haal ki donoñ meñ yak-dilī thī bahut</p><p>kabhī ye marhala jaise ki āshnā.ī na thī</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>ḳhāmushī achchhī nahīñ inkār honā chāhiye</p><p>ye tamāshā ab sar-e-bāzār honā chāhiye</p><p>ḳhvāb kī tābīr par isrār hai jin ko abhī</p><p>pahle un ko ḳhvāb se bedār honā chāhiye</p><p>Duub kar marnā bhī uslūb-e-mohabbat ho to ho</p><p>vo jo dariyā hai to us ko paar honā chāhiye</p><p>ab vahī karne lage dīdār se aage kī baat</p><p>jo kabhī kahte the bas dīdār honā chāhiye</p><p>baat puurī hai adhūrī chāhiye ai jān-e-jāñ</p><p>kaam āsāñ hai ise dushvār honā chāhiye</p><p>dostī ke naam par kiije na kyūñkar dushmanī</p><p>kuchh na kuchh āḳhir tarīq-e-kār honā chāhiye</p><p>jhuuT bolā hai to qaa.em bhī raho us par ‘zafar’</p><p>aadmī ko sāhab-e-kirdār honā chāhiye</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Ishq meiN Ghairat-e-jazbaat ne roaney na diya,</p><p>Warna kya baat thi,kis baat ne roaney na diya</p><p>Aap kehtay thay k roaney se na badlaiN gey naseeb,</p><p>Umr bhar aap ki is baat ne roaney na diya</p><p>Roaney waaloN se kaho un ka bhi roana ro laiN,</p><p>Jin ko majboori-e-haalaat ne roaney na diya</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>kū-ba-kū phail ga.ī baat shanāsā.ī kī</p><p>us ne ḳhushbū kī tarah merī pazīrā.ī kī</p><p>kaise kah duuñ ki mujhe chhoḌ diyā hai us ne</p><p>baat to sach hai magar baat hai rusvā.ī kī</p><p>vo kahīñ bhī gayā lauTā to mire paas aayā</p><p>bas yahī baat hai achchhī mire harjā.ī kī</p><p>us ne jaltī huī peshānī pe jab haath rakhā</p><p>ruuh tak aa ga.ī tāsīr masīhā.ī kī</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>yunhi be-yaqiN yunhi be-nishaN, meri aadhi umar guzar gayi</p><p>kahiN ho na jaaoN maiN raayegaN, meri aadhi umr guzar gayi</p><p>kabhi sayebaN na tha baham, kabhi kehkashaN thi qadam qadam</p><p>kabhi be-makaN kabhi la-makaN, meri aadhi umr guzar gayi</p><p>tere vasl ki jo naveed hai, wo qareeb hai ke bayeed hai</p><p>mujhe kuch khabar to ho jaaN-e-jaaN, meri aadhi umr guzar gayi</p><p>kabhi mujhko fikr-e-ma’ash hai, kabhi aap apni talaash hai</p><p>koyi gur bata mere nuktadaaN , meri aadhi umr guzar gayi</p><p>koyi taana-zan meri zaat par,koyi khandazan kisi baat par</p><p>pa-e-dil nawazi-e-dostaaN, meri aadhi umr guzar gayi</p><p>abhi waqt kuch mere paas hai, ye khabar nahiN hai qayaas hai</p><p>koyi kar gila mere bad-gumaaN, meri aadhi umr guzar gayi</p><p>usse pa liya usse kho diya, kabhi hans diya kabhi ro diya</p><p>badi mukhtasir hai ye daastaaN, meri aadhi umr guzar gayi</p><p>teri har daleel bahut baja, magar intezaar bhi ta kuja?</p><p>meri baat sun mere raazdaaN, meri aadhi umr guzar gayi</p><p>kahaN kainaat meiN ghar karooN, maiN ye jaan looN to safar karooN</p><p>isi soch meiN tha ke nagahaN, meri aadhi umr guzar gayi</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Hukamraan ho gaye kameenay loug,</p><p>Khaak main mil gaye nageenay loug</p><p>Har muhibb-e watan zaleel ho gaya,</p><p>Raat ka fasla taweel hua</p><p>Aamiron kay jo geet gatay rahay,</p><p>wohi naam-o daad patay rahay</p><p>Rahzanon nay rahzani ke thee,</p><p>Rahbaron nay bhi kya kami ke thee!</p><p>Aik baar aur hum huay taqseem,</p><p>Aik baar aur dil hua dou neem</p><p>Yeh fasana hai pasbanon ka,</p><p>Chak-o choband nau jawanon ka</p><p>Sarhadon ke na pasabni ki,</p><p>Hum se hi daad li jawani ki</p><p>Ik nazar apni zindagi par daal,</p><p>ik nazar apnay ardali par daal</p><p>Fasla khud he zara kar mehsus,</p><p>yun na Islam ka nikal juloos</p><p>Yeh zameen tu haseen hai behadd,</p><p>Hukamranon ke niyatain hain badd</p><p>Hukamran jab talak hain yeh bedard,</p><p>Is zameen ka chehra rahay ga zard</p><p>Yeh zameen jab talak na lain gay hum,</p><p>Is se ugtay rahain gay yun he gham</p><p>Bekaari ko karain gay hum he duur,</p><p>Hum he dain gay dilon ko pyar ka nuur</p><p>Khalq sadiyon k zulm ke mari,</p><p>Yun na hairaan phiray ge bechari</p><p>Roti, kaprra, makan hum dain gay,</p><p>Ahl-e mehnat ko saans hum dain gay</p><p>Is khazan ko mitayen gay hum he,</p><p>Fasl-e gul lay k aayen gay hum he</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>baġhair us ke ab ārām bhī nahīñ aatā</p><p>vo shaḳhs jis kā mujhe naam bhī nahīñ aatā</p><p>usī kī shakl mujhe chāñd meñ nazar aa.e</p><p>vo māh-ruḳh jo lab-e-bām bhī nahīñ aatā</p><p>karūñgā kyā jo mohabbat meñ ho gayā nākām</p><p>mujhe to aur koī kaam bhī nahīñ aatā</p><p>churā ke ḳhvāb vo āñkhoñ ko rehn rakhtā hai</p><p>aur us ke sar koī ilzām bhī nahīñ aatā</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>mard honī chāhiye ḳhātūn honā chāhiye</p><p>ab grammar kā yahī qānūn honā chāhiye</p><p>raat ko bachche paḌhā.ī kī aziyyat se bache</p><p>in ko T.v kā bahut mamnūn honā chāhiye</p><p>dosto english zarūrī hai hamāre vāste</p><p>fail hone ko bhī ik mazmūn honā chāhiye</p><p>nursery kā dāḳhila bhī sarsarī mat jāniye</p><p>aap ke bachche ko aflātūn honā chāhiye</p><p>sirf mehnat kyā hai ‘anvar’ kāmyābī ke liye</p><p>koī uupar se bhī telephone honā chāhiye</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>tumhārā dil mire dil ke barābar ho nahīñ saktā</p><p>vo shīsha ho nahīñ saktā ye patthar ho nahīñ saktā</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>ash.ār mire yuuñ to zamāne ke liye haiñ</p><p>kuchh sher faqat un ko sunāne ke liye haiñ</p><p>ab ye bhī nahīñ Thiik ki har dard miTā deñ</p><p>kuchh dard kaleje se lagāne ke liye haiñ</p><p>ye ilm kā saudā ye risāle ye kitābeñ</p><p>ik shaḳhs kī yādoñ ko bhulāne ke liye haiñ</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>ishq se tabiyat ne zeest ka mazā pāyā<br>dard ki dawā pāyi, dard e be-dawa pāyā<br>-Ghalib</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>میری زندگی تو فراق ہے، وہ ازل سے دل میں مکیں سہی</p><p>وہ نگاہِ شوق سے دور ہیں، رگِ جاں سے لاکھ قریں سہی</p><p>ہمیں جان دینی ہے ایک دن، وہ کسی طرح ہو کہیں سہی</p><p>ہمیں آپ کھینچئے وار پر، جو نہیں کوئی تو ہمیں سہی</p><p>سرِ طور ہو سرِ حشر ہو، ہمیں انتظار قبول ہے</p><p>وہ کبھی ملیں، وہ کہیں ملیں، وہ کبھی سہی وہ کہیں سہی</p><p>نہ ہو ان پہ میرا جو بس نہیں، کہ یہ عاشقی ہے ہوس نہیں</p><p>میں انھی کا تھا میں انھی کا ہوں،وہ میرے نہیں تو نہیں سہی</p><p>مجھے بیٹھنے کی جگہ ملے، میری آرزو کا بھرم رہے</p><p>تیری انجمن میں اگر نہیں، تیری اجنمن کا قریں سہی</p><p>تیرا در تو ہمکو نہ مل سکا، تیری رہگزر کی زمیں سہی</p><p>ہمیں سجدہ کرنے سے کام ہے، جو وہاں نہیں تو یہیں سہی</p><p>میری زندگی کا نصیب ہے، نہیں دور مجھ سے قریب ہے</p><p>مجھے اسکا غم تو نصیب ہے، وہ اگر نہیں تو نہیں سہی</p><p>جو ہو فیصلہ وہ سنائیے، اسے حشر پہ نہ اٹھایئے</p><p>جو کریں گے آپ ستم وہاں وہ ابھی سہی، وہ یہیں سہی</p><p>اسے دیکھنے کی جو لو لگی، تو قتیل دیکھ ہی لیں گے ہم</p><p>وہ ہزار آنکھ سے دور ہو، وہ ہزار پردہ نشیں سہی</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>qurbatoñ meñ bhī judā.ī ke zamāne māñge</p><p>dil vo be-mehr ki rone ke bahāne māñge</p><p>ham na hote to kisī aur ke charche hote</p><p>ḳhilqat-e-shahr to kahne ko fasāne māñge</p><p>yahī dil thā ki tarastā thā marāsim ke liye</p><p>ab yahī tark-e-ta.alluq ke bahāne māñge</p><p>apnā ye haal ki jī haar chuke luT bhī chuke</p><p>aur mohabbat vahī andāz purāne māñge</p><p>dil kisī haal pe maane hī nahīñ jān-e-’farāz’</p><p>mil ga.e tum bhī to kyā aur na jaane māñge</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Jana ba iin shakista dil-bewafa ma shou</p><p>Umre guzasht ta shuda am aashina e tou</p><p>(Friend, turn not your gaze from this broken hearted one</p><p>for a lifetime has been spent, in getting to know you)</p><p>-Amir Khusrau</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Mujhe Chhorh De Mere Haal Par,</p><p>Tera Kya Bharosa Hai Chaaragar,</p><p>Yeh Teri Nawazish-e-Mukhtasar,</p><p>Mera Dard Aur Badha Na De…..</p><p>Mera Azm Itna Buland Hai,</p><p>Ke Paraaye Sholon Ka Darr Nahin,</p><p>Mujhe Khauf Aatish-e-Gul Se Hai,</p><p>Yeh Kahin Chaman Ko Jala Na De…</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><em>Sham-ae-nazar, khayaal-e-anjum, jigar ke daag</em></p><p><em>Jitne chiraag hain teri mehfil se aaye hain</em></p><p><em>Uthkar to aa gaye hain teri bazm se magar</em></p><p><em>Kuch dil hi jaantaa hai kis dil se aaye hain</em></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>ranjish hī sahī dil hī dukhāne ke liye aa</p><p>aa phir se mujhe chhoḌ ke jaane ke liye aa</p><p>pahle se marāsim na sahī phir bhī kabhī to</p><p>rasm-o-rah-e-duniyā hī nibhāne ke liye aa</p><p>kis kis ko batā.eñge judā.ī kā sabab ham</p><p>tū mujh se ḳhafā hai to zamāne ke liye aa</p><p>ab tak dil-e-ḳhush-fahm ko tujh se haiñ ummīdeñ</p><p>ye āḳhirī sham.eñ bhī bujhāne ke liye aa</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>mere hī lahū par guzar-auqāt karo ho</p><p>mujh se hī amīroñ kī tarah baat karo ho</p><p>din ek sitam ek sitam raat karo ho</p><p>vo dost ho dushman ko bhī tum maat karo ho</p><p>ham ḳhāk-nashīñ tum suḳhan-ārā-e-sar-e-bām</p><p>paas aa ke milo duur se kyā baat karo ho</p><p>ham ko jo milā hai vo tumhīñ se to milā hai</p><p>ham aur bhulā deñ tumheñ kyā baat karo ho</p><p>yuuñ to kabhī muñh pher ke dekho bhī nahīñ ho</p><p>jab vaqt paḌe hai to mudārāt karo ho</p><p>dāman pe koī chhīñT na ḳhanjar pe koī daaġh</p><p>tum qatl karo ho ki karāmāt karo ho</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Ye Hai Maikada Yahan Rind Hain,</p><p>Yahan Sab Ka Saqi Imam Hai,</p><p>Ye Haram Nahi Shaik Jee,</p><p>Yahan Paarsai Haraam Hai,</p><p>Koi Mast Hai Koi Tishna Lab,</p><p>To Kisi K Hath Mein Jaam Hai,</p><p>Magr Is Ka Koi Kare Ga Kia…?</p><p>Ye To Maikade Ka Nizam Hai,</p><p>Jo Zara Si Pee K Behk Gia,</p><p>Usay Maikade Se Nikal do,</p><p>Yahan Kam Nazar Ka Guzar Nahi,</p><p>Yahn Ehl-E-Zarf Ka Kaam Hai,</p><p>Ye Janab-E-Shaik Ka Falsafa,</p><p>Hai Ajeeb Sare Jahan Mein,</p><p>Jo Wahan Pio To Halaal Hai,</p><p>Jo Yahan Pio To Haraam Hai,</p><p>Isy Qainat Mein Aaye Jigar,</p><p>Koi Inqalab Uthe Ga Phir,</p><p>K Buland Ho K Bhi Admi</p><p>Abhi Khaheshoon Ka Ghulam Hai</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Hamesha Dair Kar Deta Hoon Main<br>Har Kaam Karnay May <br>Zaroori Baat Kehne Ho<br>Koi Wada Nibhana Ho <br>Usay Aawaz Deni Ho <br>Usay Wapis Bulana Ho<br>Hamesha Dair Kar Deta Hoon Main<br>Madad Karni Ho Us Kee <br>Yaar Ke Dhaarus Bundhana Ho<br>Bohat Dayreena Rustoo Par<br>Kisee Se Milne Jaanaa Ho <br>Hamesha Dair Kar Deta Hoon Main<br>Budaltay Mausmo Ke Sair May <br>Dil Ko Lagana Ho<br>Kisee Ko Yaad Rakhna Ho <br>Kisee Ko Bhool Jana Ho<br>Hamesha Dair Kar Deta Hoon Main<br>Kisee Ko Maut Se Pehlay <br>Kisee Ghum Se Buchana Ho<br>Haqeeqat Aur Thi Kuch Us Ko<br>Jaa Kay Yah Batana Ho<br>Hamesha Dair Kar Deta Hoon Main<br>Har Kaam Karnay May</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>سب گناہ و حرام چلنے دو</p><p>کہہ رہے ہیں نظام چلنے دو</p><p>ضد ہے کیا وقت کو بدلنے کی</p><p>یونہی سب بے لگام چلنے دو</p><p>شاہ جائے گا، شاہ آئے گا</p><p>تم رہو گے غلام ، چلنے دو</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>kuchh aise zaḳhm bhī dar-parda ham ne khaa.e haiñ</p><p>jo ham ne apne rafīqoñ se bhī chhupā.e haiñ</p><p>ye kyā batā.eñ ki ham kyā gañvā ke aa.e haiñ</p><p>bas ik zamīr ba-mushkil bachā ke laa.e haiñ</p><p>ab aa ga.e haiñ to pyāse na jā.eñge saaqī</p><p>kuchh aaj soch ke ham mai-kade meñ aa.e haiñ</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p><em>Kiya main ne uss khakdan se kinara</em></p><p><em>Jahan rizq ka naam hai aab-o-dana</em></p><p><em>Bayaban ki khalwat khush aati hai mujh ko</em></p><p><em>Azal se hai fitrat meri rahbana</em></p><p><em>Na baad-e-bahari, na gulcheen, na bulbul</em></p><p><em>Na beemari-e-naghma-e-ashiqana</em></p><p><em>Hawa-e-bayaban se hoti hai kaari</em></p><p><em>Jawan mard ki zarbat-e-ghaziyana</em></p><p><em>Hamam-o-kabootar ka bhooka nahin main</em></p><p><em>Ke hai zindagi baaz ki zahidana</em></p><p><em>Jhapatna, palatna, palat kar jhapatna</em></p><p><em>Lahoo garam rakhne ka hai ek bahana</em></p><p><em>Ye poorab, ye pacham chakoron ki duniya</em></p><p><em>Mera neelgun aasman baikarana</em></p><p><em>Parindon ki duniya ka dervaish hun main</em></p><p><em>Ke shaheen banata nahin aashiyana</em></p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>ye kyā ki sab se bayāñ dil kī hālateñ karnī</p><p>‘farāz’ tujh ko na aa.iiñ mohabbateñ karnī</p><p>ye qurb kyā hai ki tū sāmne hai aur hameñ</p><p>shumār abhī se judā.ī kī sā.ateñ karnī</p><p>sab apne apne qarīne se muntazir us ke</p><p>kisī ko shukr kisī ko shikāyateñ karnī</p><p>ye log kaise magar dushmanī nibāhte haiñ</p><p>hameñ to raas na aa.iiñ mohabbateñ karnī</p><p>kabhī ‘farāz’ na.e mausamoñ meñ ro denā</p><p>kabhī talāsh purānī rifāqateñ karnī</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>silsile toḌ gayā vo sabhī jaate jaate…..</p><p>shikva-e-zulmat-e-shab se to kahīñ behtar thā</p><p>apne hisse kī koī sham.a jalāte jaate</p><p>kitnā āsāñ thā tire hijr meñ marnā jānāñ</p><p>phir bhī ik umr lagī jaan se jaate jaate</p><p>jashn-e-maqtal hī na barpā huā varna ham bhī</p><p>pā-ba-jaulāñ hī sahī nāchte gaate jaate</p><p>is kī vo jaane use pās-e-vafā thā ki na thā</p><p>tum ‘farāz’ apnī taraf se to nibhāte jaate</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Hum Yusuf-E-Zaman The, Abhi Kal Ki Baat Hai,<br>Tum Hum par Meherban The, Abhi Kal Ki Baat Hai</p><p>Wo Din Bhi The K Hum Hi Tumhari Zuban Pe,<br>Mauzoo-E-Dastan The Abhi Kal Ki Baat Hai</p><p>Aey Karwan-E-Inqilab-O-Gul Tum Ko Yaad Ho,<br>Hum Meer-E-Karwan, The Abhi Kal Ki Baat Hai</p><p>Kuch Haadson Se Gir Gaye Mohsin Zameen Par,<br>Hum Rashk-E-Aasman They Abhi Kal Ki Baat Hai</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FnsDXvRqwbak&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnsDXvRqwbak&amp;image=http%3A%2F%2Fi.ytimg.com%2Fvi%2FnsDXvRqwbak%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/71231d5cd66dba51e95e08d61d1d60bf/href">https://medium.com/media/71231d5cd66dba51e95e08d61d1d60bf/href</a></iframe><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>mīr-e-sipāh nā-sazā lashkariyāñ shikasta saf</p><p>aah vo tīr-e-nīm-kash jis kā na ho koī hadaf</p><p>tere muhīt meñ kahīñ gauhar-e-zindagī nahīñ</p><p>DhūñD chukā maiñ mauj mauj dekh chukā sadaf sadaf</p><p>ishq-e-butāñ se haath uThā apnī ḳhudī meñ Duub jā</p><p>naqsh o nigār-e-dair meñ ḳhūn-e-jigar na kar talaf</p><p>khol ke kyā bayāñ karūñ sirr-e-maqām-e-marg o ishq</p><p>ishq hai marg-e-bā-sharaf marg hayāt-e-be-sharaf</p><p>sohbat-e-pīr-e-rūm se mujh pe huā ye raaz faash</p><p>laakh hakīm sar-ba-jeb ek kalīm sar-ba-kaf</p><p>misl-e-kalīm ho agar mārka aazmā koī</p><p>ab bhī daraḳht-e-tūr se aatī hai bāñg-e-lā-taḳhaf</p><p>ḳhīra na kar sakā mujhe jalva-e-dānish-e-farañg</p><p>surma hai merī aañkh kā ḳhāk-e-madīna-o-najaf</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>iss dar pe thikaana, kabhi uss rah me dera</p><p>ham khana-badoshoon ka yehi shaam savera</p><p>woh chaar qadam hai yeh kiran ham-safri ki</p><p>phir aage wohi shehr-e-judai ka andhera</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>gaye doonon jahaan ke kaam se ham</p><p>na khuda hi mila, na visaal e sanam</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>koi to phool khile dua ke lahje main</p><p>ajab ghutan hai hava ke lahje main</p><p>yeh waqt kis ki raunat pe khaak daal gaya</p><p>yeh kaun bol raha tha khuda ke lahje main</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>naazuki uss ke laboon ki kia kahiye,</p><p>aik pankhari gulaab ki si hai</p><p>Meer unn neem-baaz aankhoon main,</p><p>sari masti sharaab ki si hai</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Aik chota sa ladka tha main jin dinoo.n<br>Aik mailey main pohancha humakta howa<br>Jee machalta tha aik aik shaiy per magar<br>jaib khaali thi kuch moul lay na saka<br>lout aaya leye hasratain sainkaroon<br>Aik chota sa ladka tha main jin dinoon</p><p>Khair mehromiyoon k wo din tu gai<br>Aaj maila laga hay usi shaan sey<br>Aaj chahoon tu ik ik dukaan moul loo.n<br>Aaj chahoon tu sara jahan moul loo.n<br>Narasaai ka abb ji main dharka kahan!<br>Per wo chota sa, alhar sa ladka kahan?</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>zulmat ko ziyā sarsar ko sabā bande ko ḳhudā kyā likhnā</p><p>patthar ko guhar dīvār ko dar kargas ko humā kyā likhnā</p><p>ik hashr bapā hai ghar meñ</p><p>dam ghuTtā hai gumbad-e-be-dar meñ</p><p>ik shaḳhs ke hāthoñ muddat se</p><p>rusvā hai vatan duniyā-bhar meñ</p><p>ai dīda-varo is zillat ko qismat kā likhā kyā likhnā</p><p>zulmat ko ziyā sarsar ko sabā bande ko ḳhudā kyā likhnā</p><p>ye ahl-e-hashm ye dārā-o-jam sab naqsh bar-āb haiñ ai hamdam</p><p>miT jā.eñge sab parvarda-e-shab ai ahl-e-vafā rah jā.eñge ham</p><p>ho jaañ kā ziyāñ par qātil ko ma.asūm-adā kyā likhnā</p><p>zulmat ko ziyā sarsar ko sabā bande ko ḳhudā kyā likhnā</p><p>logoñ pe hī ham ne jaañ vaarī kī</p><p>ham ne hī unhī kī ġham-ḳhvārī</p><p>hote haiñ to hoñ ye haath qalam</p><p>shā.er na baneñge darbārī</p><p>iblīs-numā insānoñ kī ai dost sanā kyā likhnā</p><p>zulmat ko ziyā sarsar ko sabā bande ko ḳhudā kyā likhnā</p><p>haq baat pe koḌe aur zindāñ</p><p>bātil ke shikanje meñ hai ye jaañ</p><p>insāñ haiñ ki sahme baiThe haiñ</p><p>ḳhuñḳhār darinde haiñ raqsāñ</p><p>is zulm-o-sitam ko lutf-o-karam is dukh ko davā kyā likhnā</p><p>zulmat ko ziyā sarsar ko sabā bande ko ḳhudā kyā likhnā</p><p>har shaam yahāñ shām-e-vīrāñ</p><p>āseb-zada raste galiyāñ</p><p>jis shahr kī dhun meñ nikle the</p><p>vo shahr dil-e-barbād kahāñ</p><p>sahrā ko chaman ban ko gulshan bādal ko ridā kyā likhnā</p><p>zulmat ko ziyā sarsar ko sabā bande ko ḳhudā kyā likhnā</p><p>ai mere vatan ke fankāro</p><p>zulmat pe na apnā fan vaaro</p><p>ye mahl-sarāoñ ke baasī</p><p>qātil haiñ sabhī apne yaaro</p><p>virse meñ hameñ ye ġham hai milā is ġham ko nayā kyā likhnā</p><p>zulmat ko ziyā sarsar ko sabā bande ko ḳhudā kyā likhnā</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F9HpS40R8fsM%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D9HpS40R8fsM&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F9HpS40R8fsM%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/6f644291434c9864486287a70102c2fe/href">https://medium.com/media/6f644291434c9864486287a70102c2fe/href</a></iframe><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>ham bhī kyā saada the ham ne bhī samajh rakkhā thā<br>ġham-e-daurāñ se judā hai ġham-e-jānāñ jānāñ</p><p>ab ke kuchh aisī sajī mahfil-e-yārāñ jānāñ<br>sar-ba-zānū hai koī sar-ba-garebāñ jānāñ</p><p>har koī apnī hī āvāz se kaañp uThtā hai<br>har koī apne hī saa.e se hirāsāñ jānāñ</p><p>jis ko dekho vahī zanjīr-ba-pā lagtā hai<br>shahr kā shahr huā dāḳhil-e-zindāñ jānāñ</p><p>ab tirā zikr bhī shāyad hī ġhazal meñ aa.e<br>aur se aur hue dard ke unvāñ jānāñ</p><p>ham ki rūThī huī rut ko bhī manā lete the<br>ham ne dekhā hī na thā mausam-e-hijrāñ jānāñ</p><p>hosh aayā to sabhī ḳhvāb the reza reza<br>jaise uḌte hue aurāq-e-pareshāñ jānāñ</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>mire ġhanīm ne mujh ko payām bhejā hai<br>ki halqa-zan haiñ mire gird lashkarī us ke</p><p>fasīl-e-shahr ke har burj har manāre par<br>kamāñ-ba-dast sitāda haiñ askarī us ke</p><p>vo barq lahar bujhā dī ga.ī hai jis kī tapish<br>vajūd-e-ḳhāk meñ ātish-fishāñ jagātī thī</p><p>bichhā diyā gayā bārūd us ke paanī meñ<br>vo jū-e-āb jo merī galī ko aatī thī</p><p>sabhī durīda-dahan ab badan-darīda hue<br>supurd-e-dār-o-rasan saare sar-kashīda hue</p><p>tamām suufī o sālik sabhī shuyūḳh o imaam<br>umīd-e-lutf pe aivān-e-kaj-kulāh meñ haiñ</p><p>mo.azzazīn-e-adālat bhī half uThāne ko<br>misāl-e-sā.il-e-mubarram nashista raah meñ haiñ</p><p>tum ahl-e-harf ki pindār ke sanā-gar the<br>vo āsmān-e-hunar ke nujūm sāmne haiñ</p><p>bas ik musāhib-e-darbār ke ishāre par<br>gadā-garān-e-suḳhan ke hujūm sāmne haiñ</p><p>qalandarān-e-vafā kī asaas to dekho<br>tumhāre saath hai kaun ās-pās to dekho</p><p>so shart ye hai jo jaañ kī amaan chāhte ho<br>to apne lauh-o-qalam qatl-gāh meñ rakh do</p><p>vagarna ab ke nishāna kamān-dāroñ kā<br>bas ek tum ho so ġhairat ko raah meñ rakh do</p><p>ye shart-nāma jo dekhā to elchī se kahā<br>use ḳhabar nahīñ tārīḳh kyā sikhātī hai</p><p>ki raat jab kisī ḳhurshīd ko shahīd kare<br>to sub.h ik nayā sūraj tarāsh laatī hai</p><p>so ye javāb hai merā mire adū ke liye<br>ki mujh ko hirs-e-karam hai na ḳhauf-e-ḳhamyāza</p><p>use hai satvat-e-shamshīr par ghamanD bahut<br>use shikoh-e-qalam kā nahīñ hai andāza</p><p>mirā qalam nahīñ kirdār us muhāfiz kā<br>jo apne shahr ko mahsūr kar ke naaz kare</p><p>mirā qalam nahīñ kaasa kisī subuk-sar kā<br>jo ġhāsiboñ ko qasīdoñ se sarfarāz kare</p><p>mirā qalam nahīñ auzār us naqab-zan kā<br>jo apne ghar kī hī chhat meñ shigāf Dāltā hai</p><p>mirā qalam nahīñ us duzd-e-nīm-shab kā rafīq<br>jo be-charāġh gharoñ par kamand uchhāltā hai</p><p>mirā qalam nahīñ tasbīh us maballiġh kī<br>jo bandagī kā bhī har dam hisāb rakhtā hai</p><p>mirā qalam nahīñ mīzān aise aadil kī<br>jo apne chehre pe dohrā naqāb rakhtā hai</p><p>mirā qalam to amānat hai mere logoñ kī<br>mirā qalam to adālat mire zamīr kī hai</p><p>isī liye to jo likkhā tapāk-e-jāñ se likhā<br>jabhī to loch kamāñ kā zabān tiir kī hai</p><p>maiñ kaT girūñ ki salāmat rahūñ yaqīñ hai mujhe<br>ki ye hisār-e-sitam koī to girā.egā</p><p>tamām umr kī īzā-nasībiyoñ kī qasam<br>mire qalam kā safar rā.egāñ na jā.egā</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>جو مقتدر ہیں شب مختصر سے ڈرتے ہیں<br>یہ روشنی کے مخالف سحر سے ڈرتے ہیں</p><p>بغیرنام لئے جس کا ذکر لازم ہے<br>یہ سب اسی سے اسی نام ور سے ڈرتے ھیں</p><p>یہ کس اسیر کو لائے ہیں یہ قفس والے<br>کہ آج اپنے ہی دیوار و در سے ڈرتے ہیں</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>tū hai muhīt-e-be-karāñ maiñ huuñ zarā sī aabjū<br>yā mujhe ham-kanār kar yā mujhe be-kanār kar</p><p>maiñ huuñ sadaf to tere haath mere guhar kī aabrū<br>maiñ huuñ ḳhazaf to tū mujhe gauhar-e-shāhvār kar</p><p>naġhma-e-nau-bahār agar mere nasīb meñ na ho<br>us dam-e-nīm-soz ko tā.irak-e-bahār kar……..</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>sukūñ un ko nahīñ miltā kabhī pardes jā kar bhī<br>jinheñ apne vatan se dil lagā kar kuchh nahiñ miltā</p><p>use kahnā ki palkoñ par na Tāñke ḳhvāb kī jhālar<br>samundar ke kināre ghar banā kar kuchh nahīñ miltā</p><p>ye achchhā hai ki aapas ke bharam nā TūTne paa.eñ<br>kabhī bhī dostoñ ko aazmā kar kuchh nahīñ miltā</p><p>na jaane kaun se jazbe kī yuuñ taskīn kartā huuñ<br>ba-zāhir to tumhāre ḳhat jalā kar kuchh nahīñ miltā</p><p>faqat tum se hī kartā huuñ maiñ saarī raaz kī bāteñ<br>har ik ko dāstān-e-dil sunā kar kuchh nahīñ miltā</p><p>mujhe aksar sitāroñ se yahī āvāz aatī hai<br>kisī ke hijr meñ nīñdeñ gañvā kar kuchh nahīñ miltā</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>Gham garche jaan-gusil hai, par kahan bachain ke dil hai,<br>Gham e ishq gar na hota gham e rozgar hota</p><p>Ye masaail e tasawwuf, yeh tera bayan Ghalib,<br>Ham tum ko wali samajhte, jo na baadakhaar hota….</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>jī Dhahā jaa.e hai sahar se aah<br>raat guzregī kis ḳharābī se</p><p>khilnā kam kam kalī ne sīkhā hai<br>us kī āñkhoñ kī nīm-ḳhvābī se</p><p>kaam the ishq meñ bahut par ‘mīr’<br>ham hī fāriġh hue shitābī se….</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>vahshateñ baḌhtī ga.iiñ hijr ke āzār ke saath<br>ab to ham baat bhī karte nahīñ ġham-ḳhvār ke saath</p><p>ham ne ik umr basar kī hai ġham-e-yār ke saath<br>‘mīr’ do din na jiye hijr ke āzār ke saath</p><p>is qadar ḳhauf hai ab shahr kī galiyoñ meñ ki log<br>chaap sunte haiñ to lag jaate haiñ dīvār ke saath</p><p>shahr kā shahr hī nāseh ho to kyā kījiyegā<br>varna ham rind to bhiḌ jaate haiñ do-chār ke saath</p><p>ham ko us shahr meñ ta.amīr kā saudā hai jahāñ<br>log me.amār ko chun dete haiñ dīvār ke saath</p><p>jo sharaf ham ko milā kūcha-e-jānāñ se ‘farāz’<br>sū-e-maqtal bhī ga.e haiñ usī pindār ke saath….</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>جنوں میں جتنی بھی گزری بکار گزری ہے<br>اگرچہ دل پہ خرابی ہزار گزری ہے</p><p>وہ بات سارے فسانے میں جس کا ذکر نہ تھا<br>…..وہ بات ان کو بہت نا گوار گزری ہے</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>نظر میں نقش ہے صبح سفر کی ویرانی<br>بس ایک میں تھا اور اک صبح کا ستارا تھا</p><p>مرے خلاف گواہی میں پیش پیش رہا<br>وہ شخص جس نے مجھے جرم پر ابھارا تھا</p><p>خراج دیتا چلا آ رہا ہوں آج تلک<br>میں ایک روز زمانے سے جنگ ہارا تھا</p><p>زمیں کے کام اگر میری دسترس میں نہیں<br>تو پھر زمیں پہ مجھے کس لیے اتارا تھا</p><p>میں جل کے راکھ ہوا جس الاؤ میں عامر</p><p>وہ ابتدا میں سلگتا ہوا شرارہ تھا<br> — — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>سب مایا ہے، سب ڈھلتی پھرتی چھایا ہے<br>اس عشق میں ہم نے جو کھویا جو پایا ہے<br>جو تم نے کہا ہے، فیضؔ نے جو فرمایا ہے</p><p>سب مایا ہے</p><p>اک نام تو باقی رہتا ہے، گر جان نہیں<br>جب دیکھ لیا اس سودے میں نقصان نہیں<br>تب شمع پہ دینے جان پتنگا آیا ہے</p><p>سب مایا ہے</p><p>معلوم ہمیں سب قیس میاں کا قصہ بھی<br>سب ایک سے ہیں، یہ رانجھا بھی یہ انشاؔ بھی<br>فرہاد بھی جو اک نہر سی کھود کے لایا ہے</p><p>سب مایا ہے</p><p>کیوں درد کے نامے لکھتے لکھتے رات کرو<br>جس سات سمندر پار کی نار کی بات کرو<br>اس نار سے کوئی ایک نے دھوکا کھایا ہے؟</p><p>سبب مایا ہے</p><p>جس گوری پر ہم ایک غزل ہر شام لکھیں<br>تم جانتے ہو ہم کیوں کر اس کا نام لکھیں<br>دل اس کی بھی چوکھٹ چوم کے واپس آیا ہے</p><p>سب مایا ہے</p><p>وہ لڑکی بھی جو چاند نگر کی رانی تھی<br>وہ جس کی الھڑ آنکھوں میں حیرانی تھی<br>آج اس نے بھی پیغام یہی بھجوایا ہے</p><p>سب مایا ہے</p><p>جو لوگ ابھی تک نام وفا کا لیتے ہیں<br>وہ جان کے دھوکے کھاتے، دھوکے دیتے ہیں<br>ہاں ٹھوک بجا کر ہم نے حکم لگایا ہے</p><p>سب مایا ہے</p><p>جب دیکھ لیا ہر شخص یہاں ہرجائی ہے<br>اس شہر سے دور اک کٹیا ہم نے بنائی ہے<br>اور اس کٹیا کے ماتھے پر لکھوایا ہے</p><p>سب مایا ہے</p><p>— — — — — — — — — — — — — — — — — — — — — — — — — — — — — — —</p><p>kis kā kaaba kaisā qibla kaun haram hai kyā ehrāam,<br>kūche ke us ke bāshindoñ ne sab ko yahīñ se salāam kiyā</p><p>‘mīr’ ke dīn-o-mazhab ko ab pūchhte kyā ho un ne to,<br>qashqa khīñchā mandir meñ baiThā kab kā tark islām kiyā</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c87f06f18220" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Automating (aspects of) Job Search]]></title>
            <link>https://mehdimujtaba-dataperson.medium.com/automating-aspects-of-job-search-b3b1f53951d0?source=rss-f15c0cab9ef7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3b1f53951d0</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[job-search]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[career-advice]]></category>
            <dc:creator><![CDATA[Mehdi Mujtaba]]></dc:creator>
            <pubDate>Tue, 21 May 2019 06:50:56 GMT</pubDate>
            <atom:updated>2020-01-08T20:06:12.103Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/245/0*i6ZAkBBPD0znZYr-" /></figure><p>After 2 years at Quotient Technology (formerly Coupons.com) I was recently looking for a new position:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fj-7BORF4J4Y%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dj-7BORF4J4Y&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fj-7BORF4J4Y%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/aa88f5e171762869ee9a5bc4c8cf8a86/href">https://medium.com/media/aa88f5e171762869ee9a5bc4c8cf8a86/href</a></iframe><p>One aspect of this was reaching out to all the recruiters I had previously interacted with over email, a repetitive (and tedious) task involving searching for all the relevant mails in the inbox and sending everyone the same email about my availability. This adds up to dozens of emails.</p><p>In this article I will show how to make it a matter of a few clicks with Python:</p><p>The game plan was to somehow get a list of recruiter emails &amp; first names and then loop through the list, sending everyone a standard email (with the only personalization being first name).</p><p>First, I wanted a list of recruiter email addresses and their first names. For that I needed to find all the relevant emails in the inbox. I used keywords in the email subject line, like ‘analytics’, ‘recruiting’, ‘data’, ‘analyst’, ‘scientist’, ‘job’, ‘career’ etc., to search for the mails and extracted the corresponding email address/first name:</p><pre>import pandas as pd<br>import pyzmail<br>import imapclient<br></pre><pre><em>###Setting up connection to gmail and reading all emails</em><br>imapObj = imapclient.IMAPClient(&#39;imap.gmail.com&#39;, ssl=True)<br>imapObj.login(&#39;mehdi.******@gmail.com&#39;, &#39;password&#39;)<br>imapObj.select_folder(&#39;INBOX&#39;, readonly=True)<br></pre><pre><em>###Searching for mail by subject keywords.Each mail is then given an ID </em><br>UIDs = imapObj.search([&#39;OR&#39;,&#39;OR&#39;,&#39;OR&#39;,&#39;OR&#39;,&#39;OR&#39;,&#39;OR&#39;,&#39;OR&#39;,&#39;OR&#39;,&#39;OR&#39;,&#39;SUBJECT&#39;,&#39;data&#39;,&#39;SUBJECT&#39;,&#39;science&#39;,&#39;SUBJECT&#39;,&#39;analyst&#39;,&#39;SUBJECT&#39;,&#39;sql&#39;,&#39;SUBJECT&#39;,&#39;recruiting&#39;,&#39;SUBJECT&#39;,&#39;career&#39;,&#39;SUBJECT&#39;,&#39;job&#39;,&#39;SUBJECT&#39;,&#39;phone&#39;,&#39;SUBJECT&#39;,&#39;analytics&#39;,&#39;SUBJECT&#39;,&#39;opening&#39;])  <br></pre><pre>sender_email_list=[]<br>sender_name_list=[]</pre><pre><em>###Looping through relevant mails and extracting email address and first name</em><br>for i in UIDs:<br> rawMessages = imapObj.fetch([i], [&#39;BODY[]&#39;, &#39;FLAGS&#39;])<br> message = pyzmail.PyzMessage.factory(rawMessages[i][b&#39;BODY[]&#39;])<br> sender_details=message.get_addresses(&#39;from&#39;)<br> <em>#Extracting email</em><br> sender_email=sender_details[0][1]<br> <em>#Extracting first name</em><br> sender_name =sender_details[0][0].split()[0] <br> <em>#Adding to list</em><br> sender_email_list=sender_email_list+[sender_email]<br> sender_name_list =sender_name_list +[sender_name]</pre><pre><em>###Joining email and name columns and exporting as csv for editing</em><br>list_subject=pd.DataFrame(list(zip(sender_email_list,sender_name_list)))<br>list_subject.to_csv(&#39;email_name_list.csv&#39;,index=False)</pre><p>So for mails with subjects like <strong><em>‘ Analytics Opportunities at ****** — Sunnyvale’</em></strong> I would get an output like below in the exported csv, as the keyword Analytics was in the subject line:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/407/0*VnGPGMEgq9BFBkUT" /></figure><p>The exported csv required a little bit of processing and after that came importing it as a data frame and looping through the rows to send the email:</p><pre>import smtplib<br>server = smtplib.SMTP(&#39;smtp.gmail.com&#39;, 587)<br>server.connect(&#39;smtp.gmail.com&#39;, 587)<br>server.ehlo()<br>server.starttls()<br>server.ehlo()<br>server.login(&#39;mehdi.******@gmail.com&#39;, &#39;password&#39;)</pre><pre>###reading edited list of emails and first names<br>list_subject<em>=pd.read_</em>csv(&#39;list_subject.csv&#39;)</pre><pre>###looping through list and sending email<br>for i in range(0,len(list_subject)):<br>  message = &#39;Subject: {}\n\n{}&#39;.format(&#39;Reconnecting..&#39;, &#39;Hi %s,\nWe were in touch regarding some openings a while back. Just wanted to let you know I am available currently and came across some great roles which I would be interested in discussing.\nRegards,\nMehdi Mujtaba&#39; %list_subject.iloc[i][1])<br>  server.sendmail(&#39;mehdi.******@gmail.com&#39;, &#39;%s&#39; %list_subject.iloc[i][0] ,message)</pre><p>This would send personalized mails like below for everyone in the list:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EfBitYf4eGigvd4G5WP2qw.png" /></figure><p>Hope it helps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3b1f53951d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>