<?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 Arnesh Agrawal on Medium]]></title>
        <description><![CDATA[Stories by Arnesh Agrawal on Medium]]></description>
        <link>https://medium.com/@arnesh07?source=rss-cbdd28495e3c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*HtpK_m1JBB_kKpfnPDVvUQ.jpeg</url>
            <title>Stories by Arnesh Agrawal on Medium</title>
            <link>https://medium.com/@arnesh07?source=rss-cbdd28495e3c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 20:28:36 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@arnesh07/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[How Golang Can Save You Days Of Web Scraping]]></title>
            <link>https://medium.com/@arnesh07/how-golang-can-save-you-days-of-web-scraping-72f019a6de87?source=rss-cbdd28495e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/72f019a6de87</guid>
            <category><![CDATA[scraping]]></category>
            <category><![CDATA[scraping-with-python]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[beautifulsoup]]></category>
            <dc:creator><![CDATA[Arnesh Agrawal]]></dc:creator>
            <pubDate>Thu, 16 Dec 2021 16:56:58 GMT</pubDate>
            <atom:updated>2021-12-16T17:18:16.249Z</atom:updated>
            <content:encoded><![CDATA[<p>A comparison between Python and Golang for web scraping.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tNZBOS9RY1boecGHwBziBg.png" /><figcaption>Background photo by <a href="https://unsplash.com/@adrienolichon?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Adrien Olichon</a> on <a href="https://unsplash.com/s/photos/dark-background?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a> | Edited by Arnesh Agrawal</figcaption></figure><p>The majority of the data scraping happens using Python. Python offers a large set of libraries and has lots of documentation, which makes developing the scrapers and crawlers easy. But is it the best language for web scraping?</p><p>This blog compares Python and Golang for web scraping by building scrapers in both languages and comparing their times of execution and accuracies in scraping.</p><h4>The Experiment</h4><p>We will be scraping off stock ticker prices from <a href="https://finance.yahoo.com/">Yahoo Finance</a> for this experiment.<br>In Python, we will use the BeautifulSoup library for scraping along with Python’s ThreadPoolExecutor to run scraping on multiple threads.</p><p>BeautifulSoup is a lightweight Python library to scrape and parse structured data from static websites.</p><pre>import requests<br>from bs4 import BeautifulSoup<br><br>URL = &quot;https://realpython.github.io/fake-jobs/&quot;<br>page = requests.get(URL)<br><br>soup = BeautifulSoup(page.content, &quot;html.parser&quot;)<br>results = soup.find(id=&quot;ResultsContainer&quot;)</pre><pre>job_elements = results.find_all(&quot;div&quot;, class_=&quot;card-content&quot;)</pre><p>This code snippet explains how simply the HTML page’s content is passed to a BeautifulSoup object, and then we can parse any data that we require.</p><p>Python’s ThreadPoolExecutor manages the pool of threads for us. We can specify the number of concurrent workers we want, and we should specify the function to be called every time along with the list of data to be used.</p><pre>def download_all_sites(sites):<br>    with concurrent.futures.ThreadPoolExecutor(max_workers=5) as executor:<br>        executor.map(download_site, sites)</pre><p>Here, <em>download_site</em> is a function that will be called for every element in the list <em>sites</em>.</p><p>For Golang, we will use Goquery for scraping along with goroutines for multithreading.<br>Goquery is a Golang library to scrape data which is very similar to jQuery.</p><pre>func ExampleScrape() {<br>// Request the HTML page.<br>  res, err := http.Get(&quot;<a href="https://finance.yahoo.com/quote/ORCL">https://finance.yahoo.com/quote/ORCL</a>&quot;)</pre><pre>// Load the HTML document<br>  doc, err := goquery.NewDocumentFromReader(res.Body)</pre><pre>// Find the review items<br>  doc.Find(&quot;#quote-header-info&quot;).Each(func(i int, s *goquery.Selection) {<br>  // For each item found, get the name.<br>    name := s.Find(&quot;h1&quot;).Text()<br>    fmt.Println(name)<br> })<br>}</pre><pre>func main() {<br>  ExampleScrape()<br>}</pre><p>The following function executes a GET request, passes the HTML body to Goquery object and parses the required data.</p><p>Goroutines in Go are lightweight threads managed by the Go runtime.</p><pre>//Inside code, calling function f.<br>go f(x,y,z)</pre><p>Here function f(x,y,z) will run in a new goroutine.</p><p><em>The complete code is available </em><a href="https://github.com/Arnesh07/golang-python-web-scraping"><em>here</em></a><em>.</em></p><p>In the code, we can specify the number of stock tickers we want to scrape (number of URLs) and the number of threads we want to use.</p><h4>Results</h4><p>The scraper was run for two sets:</p><ul><li>500 URLs on 5 threads</li><li>2000 URLs on 7 threads</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/866/1*otRwvApULlfkhlXhAmsq_w.jpeg" /><figcaption>Time of execution comparison — Arnesh Agrawal</figcaption></figure><p>From this graph, it is easy to deduce how fast Golang is. It takes significantly less time and is as efficient as Python.</p><p>Assuming a linear relation (for approximation), Python will take <strong>649 days</strong> to scrape <strong>50 million URLs</strong>, whereas Golang will take <strong>305 days</strong> to scrape the same number of URLs.<br>If we use an AWS EC2 <a href="https://aws.amazon.com/ec2/pricing/on-demand/">t3.medium</a> instance to run our web scraper, we can save <strong>344 days of execution time and 343 dollars</strong> using Golang, using which you can buy many coffees and also donate a few 😛.</p><blockquote>Note: This experiment was performed on 25th November, 2021. Scraping often needs constant updates in code, due to the modification of target websites.</blockquote><h4>References</h4><ul><li><a href="https://realpython.com/beautiful-soup-web-scraper-python/">Beautiful Soup: Build a Web Scraper With Python — Real Python</a></li><li><a href="https://realpython.com/python-concurrency/">Speed Up Your Python Program With Concurrency — Real Python</a></li><li><a href="https://pkg.go.dev/github.com/PuerkitoBio/goquery">goquery package — github.com/PuerkitoBio/goquery — pkg.go.dev</a></li><li><a href="https://github.com/Arnesh07/golang-python-web-scraping">Github Codebase Link</a></li></ul><p>If you find this blog helpful, please consider supporting me at <a href="https://www.buymeacoffee.com/arnesh">Buymeacoffee</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=72f019a6de87" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Resources for Beginners: Android Development]]></title>
            <link>https://medium.com/mobile-development-group/resources-for-beginners-android-development-51109f84491e?source=rss-cbdd28495e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/51109f84491e</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-app-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[guide]]></category>
            <dc:creator><![CDATA[Arnesh Agrawal]]></dc:creator>
            <pubDate>Wed, 11 Dec 2019 13:28:11 GMT</pubDate>
            <atom:updated>2019-12-11T13:28:11.590Z</atom:updated>
            <content:encoded><![CDATA[<h4>Want to make awesome mobile apps? Start here.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*24_Rpx6YmD6uZUpNrliGCw.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@casparrubin?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Caspar Camille Rubin</a> on <a href="https://unsplash.com/s/photos/mobile-development?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>The art of mobile development fascinates us! And we would love to help more people learn it. <br>Therefore, we have created a small list of tutorials/guides that can help you kick-start your development journey!</p><blockquote>Note: You don’t need to have any previous knowledge, just following this guide would be enough.</blockquote><h3>Resources:</h3><ul><li><strong>Git<br></strong>One of the essential prerequisites for any software development is version control. And what better than git?</li></ul><ol><li><a href="https://www.atlassian.com/git/tutorials/what-is-version-control">Atlassian’s Git Guide</a><br>Do you find reading long articles boring? We do too! Here’s a video tutorial.</li><li><a href="https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZF9C0YMKuns9sLDzK6zoiV&amp;app=desktop">Git and Github for Poets</a></li></ol><ul><li><strong>Android Basics</strong></li></ul><p>How about a video tutorial that makes you develop an application from scratch?</p><ol><li><a href="https://classroom.udacity.com/courses/ud836">Udacity’s tutorial on User Input</a> <br>Also, here are some videos on working with activities in an android application.</li><li><a href="https://www.youtube.com/watch?v=bgIUdb-7Rqo">How to make a button open up a new activity</a></li><li><a href="https://www.youtube.com/watch?v=MCf7EWLVWO8">Working with multiple activities</a></li><li><a href="https://www.dev2qa.com/passing-data-between-activities-android-tutorial/">Passing data between activities</a></li></ol><ul><li><strong>Back-end</strong></li></ul><p>Implementing self-made back-end services might be difficult for a beginner. Firebase by Google provides us with all these services along with easy to use APIs. Be it Database or Cloud Messaging, and Firebase has it all.</p><ol><li><a href="https://firebase.google.com/docs/guides">Firebase Documentation</a></li><li><a href="https://www.youtube.com/playlist?list=PLGCjwl1RrtcTXrWuRTa59RyRmQ4OedWrt">Tutorial for Implementing Firebase in your App</a></li></ol><p>We also face the need to make calls to APIs for information retrieval. You might use the <a href="https://medium.com/mobile-development-group/retrofit-e9c2b7962531">Retrofit</a> library for this purpose.</p><ul><li><strong>Application Architecture</strong></li></ul><p>We follow specific practices when developing an app to build production-quality and maintainable apps. These practices are recommended by Google.</p><ol><li><a href="https://developer.android.com/jetpack/docs/guide">Guide to App Architecture</a></li><li><a href="https://www.toptal.com/android/android-apps-mvvm-with-clean-architecture">MVVM Demonstration</a></li><li><a href="https://medium.com/androiddevelopers/viewmodels-and-livedata-patterns-antipatterns-21efaef74a54">ViewModels and LiveData</a></li><li><a href="http://www.vogella.com/tutorials/AndroidFragments/article.html">Fragments</a></li></ol><p>These resources might be difficult to apprehend at first, but it will be straightforward and useful with eventual progress.</p><ul><li><strong>Material Design</strong></li></ul><p>Implementing Material Design on your app is a great way to improve the UI and UX. Material components can make the application look beautiful and enhance the user experience.</p><ol><li><a href="https://material.io/develop/android/">Material for Android</a></li></ol><p>You might want to follow these tutorials in the order they are stated, as the application would be functional without the architecture and material components.<br>Although these resources would be sufficient to get you started in the development world, app-specific resources could be obtained <a href="https://developer.android.com/docs">here</a>.</p><h4>Disclaimer:</h4><p>These resources are just the opinions of the members at Mobile Development Group, and you may follow any other resource to learn.</p><h3>Time to Start!</h3><p>P.S- You may simply respond to this post to clarify any doubts.</p><p>Thank You!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51109f84491e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mobile-development-group/resources-for-beginners-android-development-51109f84491e">Resources for Beginners: Android Development</a> was originally published in <a href="https://medium.com/mobile-development-group">MDG Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Beego + Swagger can make Coding an API easier]]></title>
            <link>https://medium.com/mobile-development-group/how-beego-swagger-can-make-coding-an-api-easier-227b56055cbc?source=rss-cbdd28495e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/227b56055cbc</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[guide]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[back-end-development]]></category>
            <dc:creator><![CDATA[Arnesh Agrawal]]></dc:creator>
            <pubDate>Thu, 21 Nov 2019 12:01:01 GMT</pubDate>
            <atom:updated>2020-01-09T18:03:56.928Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building an API Using Beego + Swagger</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CjkAgf8BK69bEiXA9tlWZA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Markus Spiske</a> on <a href="https://unsplash.com/s/photos/programming?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><h3>Why Beego?</h3><p>Beego, a RESTful HTTP framework, is built for the development of web applications and APIs in Golang and follows the Model-View-Controller(MVC) architecture. It supports Swagger for automated documentation generation, which makes our work easier.</p><p>In this post, I will be discussing the basics of the Beego framework and how Swagger can help us in the documentation.</p><h4>Prerequisites</h4><ul><li>Go setup (follow <a href="https://www.digitalocean.com/community/tutorials/how-to-install-go-on-ubuntu-18-04">this</a>)</li><li>Beego installation (follow <a href="https://beego.me/quickstart">this</a>)</li></ul><h3>Let’s get started</h3><p>Assuming you have successfully set up Go and Beego, it’s time to get started!<br>First, I want you to run a simple command in the terminal.</p><pre>bee</pre><p>This should output something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*a1vu4DXdoIM8yEwqy4DzZw.png" /></figure><p>If your output matches with this, it confirms that you have successfully set up everything needed for this project. If not, go ahead and troubleshoot the problem.</p><p>Let’s make a new API for this tutorial, naming it test_api</p><pre>bee api test_api</pre><p>This command will create a directory “test_api” with the following folders and files:</p><pre>-conf<br>-controllers<br>-main.go<br>-models<br>-routers<br>-tests</pre><p>In very brief, routers is the place to specify your <a href="https://stackoverflow.com/questions/30580562/what-is-the-difference-between-resource-and-endpoint">endpoints</a>, controllers are the brain of your API, models are for the data handling required by the controllers and conf is the configuration file to store credentials and other information about API.</p><p>We will already be having the “user” and “object” endpoints created by default in the router.go file in the routers directory.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/ea4c70967b04a1b8a13e11bcc9fc8a0d/href">https://medium.com/media/ea4c70967b04a1b8a13e11bcc9fc8a0d/href</a></iframe><p>This code snippet specifies that the endpoint v1/object is handled by the ObjectController . I have created a test endpoint following similar norms for this tutorial. For now, we can ignore all the other keywords here and focus only on the endpoint and the controller handling the endpoint.<br>Whenever a call is executed to the v1/test endpoint, the logic inside the TestController would be executed.</p><p>We would now need to make two new files: test.go in controllers and test.go in models. <br>test.go in controllers is basically the TestController and the model&#39;s file is the model for this specific controller.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/69df78a6fa1b9736cb30a71283d2ce19/href">https://medium.com/media/69df78a6fa1b9736cb30a71283d2ce19/href</a></iframe><p>The layout for every controller is the same, so we can actually use the user controller’s code here and modify it according to our need. Coming to the function Test() , whenever this function is executed, the Response variable calls the function TestFunction in models and stores the data received. The controller then encodes the data into the JSON form and returns it.</p><p><strong>That’s simple.</strong><br>But what is more important here is to understand the comments preceding the TestFunction .<br>These comments actually play a role in the API and the documentation. <br>The comments @Title and @Description are self-descriptive of their functionalities and are of use for documentation.<br> @Success and @Failure indicate the responses on success and failure of execution of the endpoint respectively. The integer succeeding these comments indicate the response code, and the values succeeding these integers indicate the return type. These comments are also for documentation.<strong><br></strong>The last comment, @Router implies what the endpoint would be and it’s functionality. /hello after @Router is in addition to the initial endpoint specified in router.go, i.e. the function Test would be executed when the endpoint v1/test/hello would be called for. [get] means that the HTTP request is a GET request. <br>Learn more about HTTP requests <a href="https://restfulapi.net/http-methods/">here</a>.<br>A detailed explanation about such comments in the Beego framework could be obtained <a href="https://beego.me/docs/advantage/docs.md">here</a>.</p><p>Coming to the model’s code :</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b7cbc37ae85390b302d93da16668dea6/href">https://medium.com/media/b7cbc37ae85390b302d93da16668dea6/href</a></iframe><p>The function TestFunction , having return type as struct Test , is called by the controller. It creates a new variable for the struct, assigns Response as “Hello World” and returns the struct. <br>All the data handling and modification should be executed here.</p><p><strong>Congratulations</strong>! We have completed coding our API for this tutorial. Now is the time to test our API and generate some docs.</p><pre>bee run</pre><p>Use this command in the directory test_api to run our local server to test our endpoints. Now, open the browser and type :</p><pre><a href="http://localhost:8080/v1/test/hello">http://localhost:8080/v1/test/hello</a></pre><p>The output should be :</p><pre>{<br>  &quot;Response&quot;: &quot;Hello World&quot;<br>}</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JbAVZz00xGbnQmOBeKG1Gw.png" /><figcaption>Terminal running our local server</figcaption></figure><p>Now coming to the auto-generation of documentation, end the server’s session and use this command :</p><pre>bee run -gendoc=true -downdoc=true</pre><p>Now, go to the browser and type :</p><pre><a href="http://localhost:8080/swagger/">http://localhost:8080/swagger/</a></pre><p>This is the auto-generated documentation of our API. We can see the documentation of our endpoint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O2VyFeivIZOxET1lErA9iA.png" /><figcaption>Documentation for test endpoint</figcaption></figure><p>Voila! This is the end of this tutorial. I hope you learned something valuable from it. I am posting some important links below for you to get better at Beego development.</p><h4>Links</h4><ul><li><a href="https://tour.golang.org/welcome/1">https://tour.golang.org/welcome/1</a> (To learn the basics of Golang)</li><li><a href="https://beego.me/docs/intro/">https://beego.me/docs/intro/</a> (Beego documentation)</li><li><a href="https://golang.org/doc/">https://golang.org/doc/</a> (Golang documentation)</li><li><a href="https://solidgeargroup.com/best-practices-rest-api/">https://solidgeargroup.com/best-practices-rest-api/</a> (Good practices to develop an API)</li></ul><p>P.S- I claim all the rights to all the pictures and code snippets used in this blog post unless otherwise mentioned.</p><p>Thank You!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=227b56055cbc" width="1" height="1" alt=""><hr><p><a href="https://medium.com/mobile-development-group/how-beego-swagger-can-make-coding-an-api-easier-227b56055cbc">How Beego + Swagger can make Coding an API easier</a> was originally published in <a href="https://medium.com/mobile-development-group">MDG Space</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Night in a Cave]]></title>
            <link>https://medium.com/@arnesh07/a-night-in-a-cave-e6ff53afea88?source=rss-cbdd28495e3c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e6ff53afea88</guid>
            <category><![CDATA[trekking]]></category>
            <category><![CDATA[himalayas]]></category>
            <category><![CDATA[india]]></category>
            <category><![CDATA[forest]]></category>
            <category><![CDATA[travel]]></category>
            <dc:creator><![CDATA[Arnesh Agrawal]]></dc:creator>
            <pubDate>Tue, 19 Nov 2019 22:18:17 GMT</pubDate>
            <atom:updated>2019-11-19T22:18:17.603Z</atom:updated>
            <content:encoded><![CDATA[<h3>A Forest and a Cave</h3><p>Do you ever wonder how the interior of a jungle looks like? Would it be a land full of lush green trees, vibrant flowers, vast caves and towering waterfalls? Or maybe just worn-out trees waiting for their “fall”?</p><p><strong>I got my answers.</strong></p><p>We, a group of 11 sophomores, rented a 12-seater tempo traveller and set out for Dharamshala.</p><p>The journey to the destination was a rather ordinary one. <strong>Curvy roads, chilly breeze and soothing music </strong>— typical to the hilly regions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1023/0*NKYo0RBRa4tYh0KH.jpeg" /><figcaption>— <a href="https://medium.com/u/cbdd28495e3c">Arnesh Agrawal</a></figcaption></figure><p>We reached the Hobo Hostel at around 10 PM where we had pre-booked our stay for the night. We had a great dinner and relaxed while we discussed the wonderment that is Dharamshala.</p><p><strong>Waking up to widespread mountains, green grasslands and the morning breeze rustling through your hair</strong> is a truly delightful experience. Add a good book to the mix and you are in paradise!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*T1N80bq_iGMQh-BT.jpeg" /><figcaption>— <a href="https://medium.com/u/cbdd28495e3c">Arnesh Agrawal</a></figcaption></figure><p>The other travelers’ in my group were ardent cricket fans, so a visit to the international cricket stadium in Dharamshala was inevitable.</p><p>We reached the stadium a little before the permitted entry time, had a cup of tea accompanied by some cotton candy — what a nostalgic moment!</p><p>Upon walking into the stadium, we took no time to realize that it was smaller than our expectations. Naturally, we started a debate on how easy it must be to play there!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*62fezP0uePbrC-9E.jpeg" /><figcaption>— <a href="https://medium.com/u/cbdd28495e3c">Arnesh Agrawal</a></figcaption></figure><p>It was lunchtime and we were pondering over the options of places to eat at. For meals, there are many exceptional cafes in McLeod Ganj. We chose the Moonlight Cafe, situated in the main market.</p><p>Although people from across the globe visit this place, there are well-established settlements of Israelis in McLeod Ganj and you’ll find everything written in particularly two languages: English and Hebrew. Also, it can be really interesting to know more about Tibetan culture and the famous marijuana plantations here.</p><p>We returned to the hostel in time for dinner and participated in an hour-long bonfire along with some delectable hot chocolate. The comforting warmth that a bonfire provides on a chilly night can bring solace to anyone!</p><h3>Trek Day!</h3><p>The next day, we departed in the afternoon after lunch, rather late for a trek. This was the hostel’s “exclusive” trek — the one that only the hostel’s guests had access to. The plan was to trek through a forest and reach a cave, where we were supposed to stay for the night.</p><p>The initial part of the trek was an easy one, consisting mainly of a semi-paved tracks with little or no slope. On either side of the way were hills known for slate mining. In the past, the nearby villages used to be Asia’s richest due to the extensive slate mining.</p><p>Soon after, it became a lot more difficult to walk because the path was covered with slate. We were also warned about a particular plant (nettle leaf plant) that causes intense itching on coming in contact with skin. However, it purifies our blood.</p><h4>Checkpoint 1: Waterfall</h4><p>Our first halt was near a gigantic waterfall, the <strong>thundering splash</strong> of whom could be felt from a large distance. One of my expectations from the forest was met, I had found a towering waterfall!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*X6yfkJbEHjFW7sOF.jpeg" /><figcaption>— <a href="https://medium.com/u/cbdd28495e3c">Arnesh Agrawal</a></figcaption></figure><p>Up till here, the trek was easy: semi-paved paths guiding us to our destination. But, we didn’t have the slightest of ideas about what lay ahead.</p><h4>Checkpoint 2: Rainforest</h4><p>Imagine, you are in the middle of the Amazon Rainforest — lush green trees around you as long as the eye can see, with absolutely no hint of where to proceed. That is exactly how we felt.</p><p>We soon found ourselves crossing minuscule streams of water, battling with the protruding bushes and struggling to keep up with our trekkers. It had rained heavily the previous day, making it difficult for us to maintain our grip on the ground.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1K0S6bjM5nrUreFW.jpeg" /><figcaption>— <a href="https://medium.com/u/cbdd28495e3c">Arnesh Agrawal</a></figcaption></figure><h4>Checkpoint 3: The Cave</h4><p>It was almost dark when we reached the cave.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t8VCPdGmU2hBCjKO.jpeg" /><figcaption>— <a href="https://medium.com/u/cbdd28495e3c">Arnesh Agrawal</a></figcaption></figure><p>It was a giant rock being supported by two smaller rocks. We quickly gathered around the fire that the two guys from the hostel built us, and within no time, we felt at ease. We were also served tea. It warmed our bodies and worked like a bandaid on our sore muscles. Those two guys left to make dinner at a nearby tent where some local people were residing along with their flock of sheep. These people reside in the mountains to find optimal temperatures for their flock of sheep. And after about staying for a month or two, descend back to their village.</p><p>They returned with some well-cooked dal(pulses) and rice.<strong> Steaming hot dal-chawal in a cave on a chilly night!</strong> After munching on them, we decided to sleep. We had no tents with ourselves, just mats and sleeping bags to aid us with our sleep. Some people felt a little claustrophobic, as eleven people had to squeeze into that little cave.</p><p><strong>The morning was as beautiful as we had ever seen</strong>, with hills and trees all around us and sheep feeding on overgrazed grass patches. We were full of energy and enthusiasm for the descent. It was a luminous morning, we clicked some group photographs and started the descent. Just like any other trek, the descent took much less time and effort than the ascent. We reached the base camp in no time. We rejoiced on the way when we received network on our mobile phones and watched as the stream of notifications flooded our phones — something typical to treks.</p><p>We freshened up at the hostel, had some lunch and left for home. After a 12 hour long joyous ride with several pit stops, the trip was over.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6ff53afea88" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>