<?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 Harish on Medium]]></title>
        <description><![CDATA[Stories by Harish on Medium]]></description>
        <link>https://medium.com/@arishh2?source=rss-bc2283025d37------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jfdoBJBXJ43lQrReewDSsw.jpeg</url>
            <title>Stories by Harish on Medium</title>
            <link>https://medium.com/@arishh2?source=rss-bc2283025d37------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 09 Apr 2026 05:23:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arishh2/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[Is your belief serving your purpose?]]></title>
            <link>https://medium.com/@arishh2/is-your-belief-serving-your-purpose-eb9a63141c91?source=rss-bc2283025d37------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb9a63141c91</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Harish]]></dc:creator>
            <pubDate>Sat, 05 Aug 2023 21:49:15 GMT</pubDate>
            <atom:updated>2023-08-06T06:43:19.020Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m not sure if I’ll be able to deliver this properly given its 3.A.M. in the morning and I’m typing it out in my phone. Anywho, read along and see if it hits ya…</p><h3>Little background</h3><p>I saw it in one of Alex Hormozi’s video, where he got super pissed when he heard some entrepreneur’s belief does not align to their goal. The founders were saying that “ we are high anxiety people” . Though it could be true, he got super annoyed once he heard them say it.</p><h3>The kind of person I am</h3><p>I call myself a rational realist. I think I picked it up from one of naval’s fancy vocabulary. So what that means is, I will only believe in things that I know for sure. I will believe in a task only if I have done it in the past. Or I need to be able to figure it out and piece them together so I know how to execute and get it done.</p><h3>The mindset I had</h3><p>I very well knew this was limiting my potential. Ofcourse, you know X but you keep improving so you can reach 2X or 3X right? I mean that’s how we learn and improve. The point is I run my own software services agency. When I get on exploration calls with clients. It’s basically a call where we sit with the client and scope out the requirements. Whenever they say something that I haven’t done before, I’ll become all negative and shut them down. In my head, I was telling the truth and being a realist. But in hindsight, I was actually limiting my own potential. I’m not always saying one should exaggerate their ability and make false promises. But you’ve solved problems in the past! Walked unknown territories and got out of it. So I think we owe us all that extra confidence and stretch to our capabilities.</p><h3>Realisation</h3><p>After watching the video I realised why am I holding onto this though it’s not serving my purpose?</p><p>This unlocked a chain of realisations that made me aware of all the beliefs I hold that don’t really serve my purpose. Yes I have developed it through my experiences, but I can’t hold onto them if they don’t serve my purpose. There is no utility to being emotionally attached to your beliefs that once might have served you. I need to let go of them and align myself properly. In his video, Alex suggests a mindset where you work your way backwards to figure out the belief that will serve your purpose. Then you project yourself as someone who is struggling to meet your beliefs. I’m an entrepreneur and I need to be high energy and irrationally believe to what is possible. I don’t want to say the same shit like “im a programmer, I always think about the worst case” . I now can’t believe that I used to tell myself this crap.</p><h3>Conclusion</h3><p>I have gotten over morals i.e. good or bad and adapted to utility led life. So me hearing this blew my mind so I could be more efficient. That is why I am consciously making a decision to align my beliefs and going to conduct myself so I become the person I want to become.</p><p>Let me know if it makes sense to you too</p><p>Link to the video: <a href="https://youtu.be/ErWpi_91b70">https://youtu.be/ErWpi_91b70</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb9a63141c91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What the heck is a Bitcoin Bond?]]></title>
            <link>https://medium.com/@arishh2/what-the-heck-is-abitcoin-bond-1ba930f91512?source=rss-bc2283025d37------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ba930f91512</guid>
            <category><![CDATA[el-salvador]]></category>
            <category><![CDATA[bitcoin-bonds]]></category>
            <category><![CDATA[web3]]></category>
            <category><![CDATA[bitcoin]]></category>
            <category><![CDATA[crypto]]></category>
            <dc:creator><![CDATA[Harish]]></dc:creator>
            <pubDate>Sun, 30 Jan 2022 05:58:22 GMT</pubDate>
            <atom:updated>2022-01-30T05:59:10.311Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_WeEBY6N5R-GTs48Qon7Bg.png" /></figure><p>The story starts with El Salvador. The first-ever country to legalise Bitcoin alongside the US dollar bypassing the law on September 2021. This historic moment was made possible by the El Salvador president Nayib Bukele. The whole world got inspired after the law and was trying to make similar moves. The citizens of the country felt liberated and started using Bitcoin for their day-to-day transactions. It included buying groceries, paying bills…etc.</p><p>In November, Nayib Bukele made a stunning announcement to build Bitcoin City! A city ushering with modern technologies and digital education. More importantly, it will be backed by Bitcoin itself.</p><p>There would be no Taxes whatsoever in this city. Like the image below illustrates, 0% on all taxes.</p><p>To top it all, they have managed to find a sustainable, clean and renewable energy source that produces 0% CO2 Emissions. If you’re wondering where the energy is coming from? It’s from a friggin volcano. Apparently, El Salvador sits at the Pacific Ring of fire 🔥 It spans at least 20 active volcanoes within its borders.</p><p>So they got the juice, the people’s belief and led by the President of the nation himself. You might be thinking, Why wouldn’t you invest in Bitcoin Bond? I would say, hold your horses. Always Do Your Own Research! (DYOR) Do not jump in FOMO cause the Bitcoin market is still <strong>highly volatile</strong>.</p><p>Here are the specifications for the Bitcoin Bond. In simple terms, a bond is a fixed-income instrument that represents a loan made by the borrower. In this case, the borrower is the government. Since it is fixed-income, the interests are quite low compared to other financial instruments like Stocks or crypto. Bitcoin Bonds are expected to provide an interest rate of 6.5%. Samsom Mow, CSO of BLOCKSTREAM says “There would be special bitcoin dividends that may be 90–140% APY on top of the 6.5% coupon rate”.</p><p>He elaborates how this is made possible. The answer is in the specifications of the Bond itself. The Bond is expected to raise a total sum of 1 Billion USD. Only half of it would be used for building the infrastructure of Bitcoin City. The rest half would be invested in Bitcoin itself. Since Bitcoin is appreciating 30–45% every year, they claim to satisfy their promises.</p><p>The city, if built would be revolutionary, El Salvador could have a probable shot at becoming a massive player in world markets. This is due to the inevitable truth of web3 and crypto-assets being massively adopted all over the world.</p><p>Overall it seems to be a very attractive investment option, but the decision of whether to invest in this or not lies at your own discretion. Always DYOR 😉</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ba930f91512" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How I built the API for Hacktoberfest Validation]]></title>
            <link>https://medium.com/dsc-nit-rourkela/how-i-built-the-api-for-hacktoberfest-validation-ba02a6cdaf9c?source=rss-bc2283025d37------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba02a6cdaf9c</guid>
            <category><![CDATA[digitalocean]]></category>
            <category><![CDATA[hacktoberfest2020]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[hacktoberfest]]></category>
            <dc:creator><![CDATA[Harish]]></dc:creator>
            <pubDate>Thu, 19 Nov 2020 04:42:27 GMT</pubDate>
            <atom:updated>2020-11-19T04:42:27.423Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*grtWTygTlhKMradKYCbtPQ.png" /></figure><h3>Where it all started</h3><p>Online certificates have become a huge thing nowadays. With people posting certificates on LinkedIn, no one seems the bother about its authenticity or value. All this for what? to incentivize people? Hmm… <br>More and more digital documents came into play. Things like Photo frames, Online ID Cards, Badges for attending events…etc. Assigning people with badges seemed like a cool thing to do. That’s when we started digging and came to know about DSC OMG event. DSC OMG is a global conference for talks, workshops and events for developers. They had used a badges framework wrapped around their event. At the end people had badges in their dashboard for crazy things like attending a particular session, logging in first, staying up till the end. One could easily think of a billion ways to assign badges.</p><h3>The badges Framework</h3><p>We at DSC NIT Rourkela have wrapped our <a href="https://live.dscnitrourkela.org">website</a> with the same badges framework which DSC OMG had used. Thanks to <a href="https://twitter.com/Kautukkundan">Kautuk Kundan</a> (the creator of the badges framework).</p><p>After setting up the badges server, even we went crazy and started giving away badges for all sorts of activities. At the end of October, I had this thought of assigning badges to the ones who have completed the Hacktoberfest 2020 Challenge. When I first thought about it, I didn’t really give much thought about it. Since it is GitHub and DigitialOcean has already done, assumed it to be fairly straightforward. And it is if you know how it is done :).</p><h3>Getting to work</h3><p>Before getting into coding, I first picture the flow of all the things that need to be done. Firstly, there would be a login button on the front-end which authenticates the user and send a token to some server. Then that server fetches the PR history and does the validation check, return with a Success True/False response.</p><p>Setting up an OAuth GitHub app was really easy. Once that is done, I started looking into the GitHub API Docs.</p><h3>The Problem</h3><p>As I was going through the Docs, I couldn’t find any API which gives away the PR of an authenticated user. That really hit me hard. It didn’t make sense, because DO has done it, so there must be a way. I was thinking to use search queries, even considered scrapping the page( sorry GitHub :/). No luck whatsoever. <br>I pretty much gave up and thought maybe DO has some internal affair with GitHub. The big enterprises get it done. It was a big surprise to me when I got to know that the entire Hacktoberfest website, server and client was on GitHub. I felt like I hit a JackPot! It didn’t even last for a second :(.</p><p>### Exploring DO’s Hacktoberfest Repo</p><p>The entire codebase was on Ruby and I have no idea of Ruby. Tried going into random files in hope to figure something out, but no luck. I’ve used Python, JavaScript, C++ and even PHP. But Ruby was totally strange! No one I knew had a good understanding of Ruby. Out of frustration, I went to the contributors list and started mailing them!</p><p>Yes, that is what I did. Found the top contributor, her name is Frida. She had her mail on GitHub, even though I couldn’t really comprehend why she would help me. Yet I mailed her, then I found a username called <strong>MattIPv4</strong>. This dude had his Twitter handle on GitHub, and his GitHub Profile said <strong>Community Platform Manager </strong><a href="http://twitter.com/digitalocean"><strong>@digitalocean</strong></a>. Now, this is the real jackpot.</p><h3>The Magic</h3><p>I texted Matt on Twitter, He asked me to drop a mail to Hacktoberfest support. As Matt suggested, I sent the same mail which I had sent to Frida. I was surprised to get a reply back within *17 mins*. <br>Below is the reply I got</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VOxW4xBqXJnFTRdUyxlRCg.png" /></figure><p>As one could see, the file for the individual functionalities was clearly mentioned. This was like the ultimate tip, went right into the files, although I was not able to recognise any Ruby Code. I found out that there is a GraphQL query which fetches PR History. Yes, I was initially referring to only REST API of GitHub as I wasn’t very much comfortable with GraphQL. I didn’t even have to write my own GraphQL query, I copy-pasted the exact query which was in the repo to my NodeJS GraphQL client.</p><h3>Actual work begins</h3><p>Now that I have the data, I just had to filter the PR based on the guidelines. Quickly I fired up an Express Server with all the basic setup. I always prefer Express and NodeJS for backend, it is powerful and super fast to build. With NPM, one could any damn thing they want to, cause there would be an NPM package for every damn thing B|.<br>I filtered the data according to the updated guidelines, even added support to handle PRs which counts before the guidelines were updated.</p><h3>What the API does</h3><p>The API takes in the user token and responds with a <em>{success:True}</em> if they have completed the challenge else <em>{success:False}</em> if they haven’t. Check out the Repository on GitHub to see an example Request and Response.</p><p><a href="https://github.com/HarishTeens/hacktoberfest-validation">HarishTeens/hacktoberfest-validation</a></p><h3>How the API works</h3><p>Here are the steps which execute in sequence<br>- Get User Token<br>- Fetch PR History<br>- Filter the PRs following DO’s guidelines.<br>- Return True/False based on the count of valid PRs.</p><h3>What more could be improved</h3><p>- For now, it just works. There is literally zero error handling, if things don’t go as expected, the app would definitely break. I am not super proud about that, will definitely work on it. <br>- Also the filtering logic and steps could be done more efficiently. Couldn’t really get that logic from DO’s repo as it was in Ruby.</p><h3>Conclusion</h3><p>If you have reached this point, probably you are wondering. What is so great about this? This is a piece of cake to me, I could code this in an hour. I’d say great! <br>This is not a tutorial on how to build the Hacktoberfest Validation API. This is the story of how I got to it. It felt really magical to see Matt replying to a random stranger’s Twitter text and a magic mail which points me in the right direction. All adding more beauty of how opensource works. Also, I got the mail back from Frida a day later! Lastly, this is not an article to praise DigitalOcean and their support.<br>P.S. Shhh… They didn’t pay me ;)</p><p>I was really amazed that day when I realised that people are so kind and helping in the open-source community. It was a blissful experience on the whole ❤.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba02a6cdaf9c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dsc-nit-rourkela/how-i-built-the-api-for-hacktoberfest-validation-ba02a6cdaf9c">How I built the API for Hacktoberfest Validation</a> was originally published in <a href="https://medium.com/dsc-nit-rourkela">GDSC NIT Rourkela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Everything you need to know about Github Campus Expert]]></title>
            <link>https://medium.com/dsc-nit-rourkela/everything-you-need-to-know-about-github-campus-expert-ca938c13e2b?source=rss-bc2283025d37------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca938c13e2b</guid>
            <category><![CDATA[cd]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[nitrkl]]></category>
            <category><![CDATA[campus-expert]]></category>
            <category><![CDATA[community]]></category>
            <dc:creator><![CDATA[Harish]]></dc:creator>
            <pubDate>Thu, 13 Aug 2020 10:49:21 GMT</pubDate>
            <atom:updated>2020-08-13T14:15:15.030Z</atom:updated>
            <content:encoded><![CDATA[<h3>Everything you need to know about GitHub Campus Expert</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zsskklColCkPA28OuYu4qQ.png" /></figure><p>This post targets all of those who have no idea about what GitHub Campus Experts program is or even what GitHub is, or you might have heard these names somewhere and want to shine a little light on what exactly these are.</p><p><strong>What is GitHub?</strong></p><p><a href="https://github.com/">GitHub</a> is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere. If you are getting into tech and have not used Github, I promise you it will be a delight and will make your life a lot less painful.</p><p>GitHub Education helps students, teachers, and schools access the tools and events they need to shape the next generation of software development. There are a variety of programs GitHub offers as part of <a href="https://education.github.com/">GitHub Education</a>. Among one is the GitHub Campus Experts Program.</p><p><strong>What is a GitHub Campus Expert?</strong></p><blockquote>People learn better when they can learn with a community of like-minded peers. A Campus Expert improves the technical community on their campus, with training and support from GitHub. Once you complete the training and become a GitHub Campus Expert, you will have access to resources and support from GitHub, such as swag, sponsorship, and the opportunity to attend events like the company’s annual conference, GitHub Universe.</blockquote><p><strong>How can I become one?</strong></p><p>After reading the above, if you too got excited like me and want to know how you can also become one, Check out this link.</p><p><a href="https://githubcampus.expert/training">GitHub Campus Experts</a></p><p>This is the first place you want to go to kickstart your journey of becoming a campus expert. Once you click Start, GitHub will take some time to get things ready for training. You will get all the instructions about your training and submissions, right after it is complete. It took me about a month to complete my training, GitHub does not have any deadline over the submissions, you can submit these at your own pace. After you complete your submissions, you have to be patient and wait for a reviewer to review your submissions. After a reviewer reviews your submissions and merges your <a href="https://docs.github.com/en/github/collaborating-with-issues-and-pull-requests/about-pull-requests">PR</a>, the final step is a screening call. And then you would have become the GitHub Campus Expert for your Campus.</p><p>Now let us answer some serious questions!</p><p><strong>What is the use of becoming a GitHub Campus Expert?</strong></p><p>Ever thought about having an enriching community where you can find like-minded peers and have fun together? Or maybe you want to organize many events for your campus so that people get excited and join hands together? Where would you go? Whom would you ask for help? Most importantly, What about the funds?</p><p>That is where the GitHub Campus Expert Program will come into the picture. We have a fantastic community of passionate people backed by GitHub all over the world, who will support you in building a better Technical Community for your Campus. If you think that your campus lacks a good technical community, do not wait for a leader or someone, take things on your hand and start the movement.</p><blockquote>Leaders are not born; they are made.</blockquote><p>Finally, the question for which everyone wants to know the answer to</p><p><strong>What tools and resources does a GitHub Campus Expert get access to?</strong></p><p>The ultimate resource is always People, People, People.</p><p>You will be added to the slack channel where you can find all the GitHub Campus Experts around the world. Then you gain access to tools that help you make resource requests, and collaborate with GitHub Staff and other Campus Experts. GitHub will ship you cool swags as I got below,</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*WiQbwDX39w2ObM48yah4_w.jpeg" /></figure><p>With the network of amazing people and GitHub supporting in you in every way it could, you can build something greater than yourself.<br>Thanks for reading the article. I cannot thank enough GitHub for the fantastic resources it has given.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca938c13e2b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dsc-nit-rourkela/everything-you-need-to-know-about-github-campus-expert-ca938c13e2b">Everything you need to know about Github Campus Expert</a> was originally published in <a href="https://medium.com/dsc-nit-rourkela">GDSC NIT Rourkela</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 Practices that changed the way I code PHP]]></title>
            <link>https://medium.com/@arishh2/5-practices-that-changed-the-way-i-code-php-78a1d6534455?source=rss-bc2283025d37------2</link>
            <guid isPermaLink="false">https://medium.com/p/78a1d6534455</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[best-practices]]></category>
            <category><![CDATA[php]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Harish]]></dc:creator>
            <pubDate>Sat, 18 Apr 2020 09:36:13 GMT</pubDate>
            <atom:updated>2020-04-18T09:36:13.715Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*et9ocMxVONCimzP7_i00pw.jpeg" /></figure><p>I have been developing PHP applications for almost 2 years now , until recently I never really like it that much because it was really hard for me to maintain PHP code , I was not able to directly push to server with git like I do for my NodeJS projects , because it required some configuration changes . So we will be seeing some of the best practices which I think would make your life less miserable with PHP.</p><h3>1. Handling Base URL in server side</h3><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3b5efe2bc2de50d797884a88e3e9e126/href">https://medium.com/media/3b5efe2bc2de50d797884a88e3e9e126/href</a></iframe><p>This right here is code which handles your Localhost URL and Server URL for production. You can also tried to do with configuring environment variable but I prefer this as it is straightforward and easy to use.</p><h3>2. Handling Base URL on Client Side</h3><p>Handling base URL might not be a problem in HTML as PHP code can be embedded in between HTML code . But there might be a problem with your JS files , so I would suggest the below implementation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c3f3481f4d660ba4465fbe108da8cc2e/href">https://medium.com/media/c3f3481f4d660ba4465fbe108da8cc2e/href</a></iframe><p>The above code passes the base URL as an attribute so that it can be get from the dependency file like this :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f60c1fd615992c152dc316931bcee961/href">https://medium.com/media/f60c1fd615992c152dc316931bcee961/href</a></iframe><h3>3. Pushing code to server with git and github</h3><p>Now that we everything ready to push our local code to server how are we going to do that? Most PHP hosting website just give you access to the Cpanel from which you can use File Manager to add and edit your files on server . I have been using a workaround for the past couple months , I wont say it is best solution but It works very well for me. To do this , you need to do the following steps</p><ul><li>Get SSH access to your Server so that you can remote login from your PC’s terminal</li><li>Install Git and create a separate github account for server</li><li>Now You can push your local code to the github repo</li><li>And by SSHing into the server you can pull from the github repo to the server</li></ul><p>I find this really helpful because Even If I want to make some changes I can right away make it , commit it and push it back to github So that I keep track of everything.</p><h3>4. Editing Code on Server</h3><p>Now that we have come this far , we should also be able to edit code on server. There are some File Managers offered by Hosting platforms but those are not really good enough. Installing IDEs on server just doesnt make any sense as it occupies storage on server which is not preferred. If you’re favorite text editor is VSCode , You are in for a treat …</p><p><a href="https://code.visualstudio.com/docs/remote/ssh">Developing on Remote Machines using SSH and Visual Studio Code</a></p><p>Here you can find a plugin and step by step guide on how to setup the plugin so that you can browse edit files on server from your PC’s VsCode . This right here is a beauty because you are not installing anything on your server !</p><h3>5. Handling SQL Database Configuration</h3><p>Wherever there is PHP , SQL follows along , So the configurations for setting up database is also a bit of headache. It is best to have the Database Name , DB User Name and DB Password same in both server and localhost .</p><p>Editing database structure and data is still have to be handled manually , if anyone has any workaround feel free to comment below…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=78a1d6534455" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>