<?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 Shubham Singh on Medium]]></title>
        <description><![CDATA[Stories by Shubham Singh on Medium]]></description>
        <link>https://medium.com/@subhdec99?source=rss-a5c9febb4372------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Fp9HxXRBOQN5UhEJ</url>
            <title>Stories by Shubham Singh on Medium</title>
            <link>https://medium.com/@subhdec99?source=rss-a5c9febb4372------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 21 Jun 2026 09:31:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@subhdec99/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[My plans for 2022 Hackathons Season]]></title>
            <link>https://subhdec99.medium.com/my-plans-for-2022-hackathons-season-255c3e161368?source=rss-a5c9febb4372------2</link>
            <guid isPermaLink="false">https://medium.com/p/255c3e161368</guid>
            <category><![CDATA[mlh]]></category>
            <category><![CDATA[hacks]]></category>
            <category><![CDATA[hackathons]]></category>
            <dc:creator><![CDATA[Shubham Singh]]></dc:creator>
            <pubDate>Wed, 30 Jun 2021 19:08:55 GMT</pubDate>
            <atom:updated>2021-06-30T19:08:55.828Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*4uxhKGMtqRibrR_LT8ucKw.png" /></figure><h3><strong>First of all a little about ,What is a Hackthon .</strong></h3><p>A hackathon is a design sprint-like event often, in which computer programmers and others involved in software development, including graphic designers, interface designers, project managers, domain experts, and others collaborate intensively on software projects . Its full of learning and community involvement.Hackathon are everyone who is interested in the tech world from a beginner to a experienced .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/347/1*MQg-vDESJvWewxFisJ5N5g.png" /></figure><p>MLH is one of the best platforms for both organizing and participating in a hackathon .</p><h3><strong>My previous Hackathons .</strong></h3><ul><li><em>MLH LocalHackDay:Learn</em></li><li><em>MLH LocalHackDay:Share</em></li><li><em>MLH INIT</em></li><li><em>PrideHacks</em></li><li><em>SurpriseHacks</em></li><li><em>FinHack</em></li><li><em>and many more …</em></li></ul><h3><strong>Current plans for the 2022 Hackathons</strong></h3><p>I am planning to participate in more MLH hackathons because the community is great and very helpful . The resources are provided as required by the challenge or the tasks. Its of different kind ,so you can learn new things on every hackathon .</p><p>My field of interest in hackathon will be Machine Learning and Web Development ,but will open to learning new tech .</p><p><strong>Some of the hackathon I am going to attend </strong>—</p><ul><li>Ethodyssey 2021(A crypto hack)</li><li>and many more .</li></ul><p>Thank You for your time , will update the list of hackathons with links in future edits .</p><p>Claps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=255c3e161368" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Local Hack Day : Share]]></title>
            <link>https://subhdec99.medium.com/local-hack-day-share-f9d62fdcb05d?source=rss-a5c9febb4372------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9d62fdcb05d</guid>
            <category><![CDATA[experience]]></category>
            <category><![CDATA[share]]></category>
            <category><![CDATA[local-hack-day]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[mlh]]></category>
            <dc:creator><![CDATA[Shubham Singh]]></dc:creator>
            <pubDate>Thu, 01 Apr 2021 07:47:57 GMT</pubDate>
            <atom:updated>2021-04-01T10:05:17.285Z</atom:updated>
            <content:encoded><![CDATA[<h3>Local Hack Day : Share</h3><blockquote><strong><em>My experience in the MLH Hacker community .</em></strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*y7T9_RGPkelXFxdHAUMCgQ.png" /></figure><blockquote><strong><em>What is </em></strong><a href="https://localhackday.mlh.io/"><strong><em>LHD : Share </em></strong></a><strong><em>?</em></strong></blockquote><blockquote>Before diving into the experience ,lets know about <em>LHD :Share</em> . It is a week-long celebration of sharing everything you’ve learned as a hacker. We’ve got a ton of beginner-friendly challenges for you to complete that’ll have you shipping your hack like a pro in no time. You’ll have your pick of technical, design, and social challenges to complete — each with an emphasis on sharing your work. The more challenges you conquer, the more points you’ll earn. Tune in each day to check out the leaderboards and share what you’ve built.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/935/1*w_pe6bfCnZmCZqJN3ppxIg.png" /></figure><blockquote><strong><em>My experience</em></strong></blockquote><p>My experience in the hacker community started with Local Hack Day :Learn and it was amazing and as soon as I got the mail about Local Hack Day : Share I registered myself and it started crazy . I joined <strong><em>EddieHub</em></strong><em> </em>Guild and it was glad joining and getting chance to meet some amazing hackers .</p><p>I have participated in the hackathons and created some great projects with the team members and completed the daily challenges and it is a great learning experience. The community is awesome and very helpful specially the EddieHub guild.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9d62fdcb05d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Crio Winter of Doing]]></title>
            <link>https://subhdec99.medium.com/crio-winter-of-doing-6a9652d49576?source=rss-a5c9febb4372------2</link>
            <guid isPermaLink="false">https://medium.com/p/6a9652d49576</guid>
            <category><![CDATA[journey]]></category>
            <category><![CDATA[learn-by-doing]]></category>
            <category><![CDATA[shareyourlearning]]></category>
            <dc:creator><![CDATA[Shubham Singh]]></dc:creator>
            <pubDate>Thu, 14 Jan 2021 20:30:26 GMT</pubDate>
            <atom:updated>2021-01-15T23:30:45.839Z</atom:updated>
            <content:encoded><![CDATA[<p><strong><em>My learning experience of CWoD Stage 1 .</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pIbn9PYhGABs9M16NYv3Wg.png" /></figure><p><strong>CWoD</strong> is an amazing opportunity for all the undergraduate students to start or hold a grasp on software development and getting prepare for the software industry requirement .This program consist of 3 stages and <strong><em>I will be sharing my journey of CWoD Stage I</em> </strong>. It started with joining of Slack channel and an amazing live introduction session as warm up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*e-YrPO6h2I4itJPLVF6CZA.png" /></figure><h3>Stage -I</h3><p>My first activity was “Solve the Mystery :Fraud or Not” ,it was a fun side activity which required basic Linux or MS-access skills . We have to be Sherlock and find the given activity was Fraud or Not . It contain a doc file which contains a log of data and their were questions we have to answer using that doc file . I learned and used basic Linux command grep solve this activity .A simple example of grep is given below which I used.</p><pre><strong>grep</strong> &lt;string-to-search&gt; &lt;filename&gt;</pre><h3><strong>Learning activities</strong></h3><ol><li><strong>The first activity was about HTTP </strong>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/312/1*hl-T5VTl4WvYJQNe-KelBA.png" /></figure><p>It was a very detailed module of HTTP and I learned to use Chrome developer tools to analyze the response and also cURL to perform HTTP request. HTTP is the most popular application protocol on the internet.It starts with a client machine sending requests in the HTTP format. The server machine receives the request, understands it and takes appropriate action. The response again has to be formatted in a specific manner adhering to the HTTP protocol for the client to make sense of it.I learned about the HTTP request methods .</p><ul><li>GET: A client use the GET request to get a web sources/resources from the server.</li><li>PUT : Method use to ask the server to store the data .</li><li>POST : Used to post data up to the web server or send some data to the server.</li></ul><p>I also learned about HTTP status codes .HTTP Status codes are part of the HTTP Response. It helps the client understand what happened to the request. Status codes are 3 digit numbers (201, 304 etc) .</p><ul><li>2xx : This denote HTTP request was successful .</li><li>3xx : This denote further must be taken to complete the HTTP request.</li><li>4xx : Error in the HTTP request.</li><li>5xx : This denote server error.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/137/1*3bOODVccM-KMy9Hu-EIayQ.png" /><figcaption>Fun Illustration of status codes.</figcaption></figure><p>At the end of this activity ,I learned about cURL . We can make HTTP request using cURL .The response of the HTTP request made using cURL can be observe in the command line . The below commands is use to make a HTTP request .</p><pre><strong>curl -X GET</strong> &lt;web-address&gt; <strong>-o</strong> ~/web.html</pre><pre><strong>cat</strong> ~/web.html</pre><p>We can inspect the web.html to view the response as we can see in Chrome Developer tools .</p><p><strong>2.</strong> <strong>The second activity was about REST API</strong> .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/417/1*qlgaOiy2qgjHSQZWK4S5dQ.png" /></figure><p>I learned about the anatomy and working of REST APIs . It follows a client-server model and use HTTP protocol. The important thing I learned from this activity is how an API request is different from HTTP request is in terms of data returned .The response of HTTP request is for only webpage data ,but for API request it can be for any data . Data format in REST API is usually JSON.</p><p>I also learned about REST calls using programs in Python and JAVA.At the end of this activity there was a fun task to implement the learning&#39;s i.e post messages using the REST API that LinkedIn provided .</p><p><strong>3. The third activity was about Linux Basic commands.</strong></p><p>I learned about Linux terminal and some important commands that every developer must know. Some of them are -</p><ul><li><strong>pwd</strong> : To print the working directory</li><li><strong>ls</strong> : To list the contents of a directory.</li><li><strong>cd</strong> : To change to a different directory .</li></ul><p>I learned briefly about File Systems and files in Linux . I came to know about the roles and important of each files and how to use them .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*CughqpzEhIySfamJPqBLpQ.png" /></figure><p>It was a very fun task dealing with files and directories , I am a Linux user since my sophomore year so it was quite easy for me to understand the module and answer the quizzes.</p><p><strong>4. The fourth activity was deploying an app server in AWS.</strong></p><p>It was one of the most interesting activity and I learned a lot about how to use AWS . This activity deals with launching a virtual server in AWS than deploying the app backend server and lastly connect the mobile app (QEats) to the app backend server .</p><p>I started with creating an AWS account and creating an EC2 instance and than adding SSH(Secure Socket Shell) into my instance .</p><pre>ssh -i &quot;crio-demo.pem&quot; ubuntu@&lt;ec2-url&gt;</pre><p>Now the most difficult part was to deploy backend server. All the steps were well explained by the Crio module .The summary of the steps were -</p><ul><li>Installing Docker and Telnet.</li><li>Running the Docker container for QEats app server.</li><li>Connecting the app to the server by installing the APK file of QEats.</li></ul><p><strong>5 . The fifth activity was about GIT Basics.</strong></p><p>It is one of the important skill for version control . I learned about the basic GIT commands to work on projects.</p><ul><li>git add : It adds a change in the working directory to the staging area.</li><li>git commit : It saves the changes . It should a contain a message about the commit for other developers to understand .</li><li>git push : It is used to upload local repository content to a remote repository.</li><li>git pull : It is used to fetch and download content from a remote repository and immediately update the local repository to match that content .</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*iTb-tBksp_qLBi-w-UAvrw.png" /></figure><p>I also learned about handling merge conflicts and it was new for me . You can find about merge conflicts <a href="https://docs.github.com/en/free-pro-team@latest/github/collaborating-with-issues-and-pull-requests/about-merge-conflicts"><strong>here</strong></a>.</p><p>My experience of Stage I was full of learning and hoping to get in further stages to upgrade my skills .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ar9y67oVY9n2Q97OciV8ag.png" /><figcaption>My scores of Stage I</figcaption></figure><p>The journey of <strong><em>CWoD Stage I</em></strong> was amazing and I learned a lot and upgraded my skills .Looking forward for further stages .Do visit <a href="https://www.crio.do/"><strong><em>Crio</em></strong></a> for getting such opportunities in future .</p><p>Thank you .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6a9652d49576" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Create your own Python package for Data Science.]]></title>
            <link>https://subhdec99.medium.com/create-your-own-python-package-for-data-science-1966e63113d2?source=rss-a5c9febb4372------2</link>
            <guid isPermaLink="false">https://medium.com/p/1966e63113d2</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[development]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Shubham Singh]]></dc:creator>
            <pubDate>Sat, 06 Jun 2020 15:03:11 GMT</pubDate>
            <atom:updated>2021-01-15T16:38:15.281Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>A comprehensive guide for creating a Python package and Uploading in PyPi.</strong></p><p>A Python package is very much important for shorthand and in the field of Data Science and Machine Learning. A package is a collection of Python modules and can be imported after installation.Some of the important packages for Data Science are -</p><ul><li>Scikit-learn</li><li>Keras</li><li>Numpy</li><li>Pandas</li><li>TensorFlow etc.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/506/1*3AddCGzLD_Ku16oV8Yg2QA.png" /></figure><h3>Creating the Python package</h3><p>Here we will see how to build a basic python package and some important details about using it .</p><p>A python package should contain the files and also a very important file __init__.py. For creating the package ,create a directory for systematic working. The directory should contain a folder with all of our Python codes that we want to build a package and a python file setup.pythat will be necessary for the pip installation.For example I will show my work on Gaussian Distribution package.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/279/1*uFkEewGV3oezf7rR3_1QOQ.jpeg" /><figcaption>Here distributions folder where all my codes are.</figcaption></figure><p>The distribution folder should contain all your files . Here we will build a Gaussian Distribution using Inheritance.Let me show you as an example of my distribution folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*LmxJorlvHRj4e_zC_PIc3g.jpeg" /><figcaption>Inside my distributions directory</figcaption></figure><p>Now the Generaldistribution.pycontains the class which is my parent class and Gaussiandistribution.pywill import the Generaldistribution.py.The code for both of the mentioned files can be found on my GitHub .</p><p><strong>__init__.py is very important .</strong></p><p><a href="https://github.com/suubh/AWS-Machine-Learning">suubh/AWS-Machine-Learning</a></p><p>Now to install the package and to try it we need a virtual environment ,because we don&#39;t want to disturb out default workspace environment .There are two types of virtual environment in Python :conda and venv. We will use venv and pip for installation.</p><p><strong>For Windows the prerequisite are </strong>:</p><ol><li>Check whether virtualenv is installed or not using virtualenv --version .</li><li>If not then install using pip install virtualenv .</li><li>Then try to create a virtual environment by using the following commands.</li></ol><ul><li>virtualenv environmentname</li><li>environmentname\Scripts\activate</li></ul><p>4. The above commands will activate a virtual environment .</p><p>5. For deactivating.</p><ul><li>deactivate</li></ul><p><strong>For Linux or Ubuntu </strong>:</p><p>1.Check whether virtualenv is installed or not using virtualenv --version .</p><p>2.If not then install using pip install virtualenv .</p><p>3.Then try to create a virtual environment by using the following commands.</p><ul><li>python3 -m venv environmentname</li><li>source environmentname/bin/activate</li></ul><p>4.This will activate the virtual environment.</p><p>5.For deactivating</p><ul><li>deactivate</li></ul><p>Now to Install our Package , open the cmd (for Windows) or terminal (for Linux). Move into the proper directory ,in my case to the directory which contains the distributions and setup.py files .Then create a virtual environment using the above steps. When the virtual environment is ready and open then use the pip to install your package pip install .. It will work as mentioned below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/895/1*QwDQLGmnsCqXTZgWi42d-g.png" /></figure><p>Now when our package is installed ,we can check using importing the class and using proper commands to see our Gaussian package is implemented properly or not .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*UhMRlkoZUKJKRLXuZrgjfg.png" /></figure><p>If it will show as mentioned above ,our package is working perfectly and we are done implementing a important concept of Python.Similarly we can create different package to use it in Data Science . pip download the package from a Python package repository called <a href="https://pypi.org/"><strong><em>PyPi</em></strong></a> .We can also upload our package to <strong><em>Pypi.</em></strong></p><p>NOTE: If you want to change any code and want to add some more files ,then after modification we have to reinstall the package .Use the following command -</p><ul><li>pip install..upgrade</li></ul><h3>Uploading package to PyPi</h3><p>For uploading our package to PyPi we must have account on <em>pypi.org</em> and <em>test.pypi.org</em> .We also need to add some extra files in our folder .We have to add :</p><p>a) <strong>license.txt</strong> (Use MIT License from their source code )</p><p>b) <strong>README.md</strong> (Provide the description in it)</p><p>c) <strong>setup.cfg</strong></p><p>After adding the files . Open a terminal or cmd and move into your directory where package is present . Then follow this commands:</p><ul><li>python setup.py sdist</li><li>pip install twine</li><li>twine upload --repository-url https://test.pypi.org/legacy/ dist/*</li></ul><p>(Now it will ask for your username and password for uploading process)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fnhk2PzJ5pdRWpS1u9wJxA.png" /></figure><p>After uploading we can view it in <em>test.pypi.org</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DyHQv3GG3pfHY3VdfHV5pg.png" /></figure><p>The above code is use for uploading your package in test.pypi.org.</p><p>To upload in pypi.org :</p><ul><li>python setup.py sdist</li><li>pip install twine</li><li>twine upload dist/*</li></ul><p>And its done your package can be downloaded by anyone now.</p><p>If you are interested to watch the scikit-learn source code visit:</p><p><a href="https://github.com/scikit-learn">scikit-learn</a></p><p>Thank You .</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1966e63113d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>