<?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 Mitesh Sevani on Medium]]></title>
        <description><![CDATA[Stories by Mitesh Sevani on Medium]]></description>
        <link>https://medium.com/@miteshsevani?source=rss-6fd1a8fbb8a7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*YDJjL_4gqiAvFcYQgD0b6Q.png</url>
            <title>Stories by Mitesh Sevani on Medium</title>
            <link>https://medium.com/@miteshsevani?source=rss-6fd1a8fbb8a7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 23:54:22 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@miteshsevani/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[Importance of Defensive Programming]]></title>
            <link>https://medium.com/the-telegraph-engineering/importance-of-defensive-programming-d864570b6b44?source=rss-6fd1a8fbb8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/d864570b6b44</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[defensive-programming]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Mitesh Sevani]]></dc:creator>
            <pubDate>Fri, 17 Jan 2025 10:51:23 GMT</pubDate>
            <atom:updated>2025-05-09T15:54:34.659Z</atom:updated>
            <content:encoded><![CDATA[<p>Engineers often code to meet the happy path, i.e. a default scenario featuring no exceptional or error conditions. A program or feature in software that only meets the happy path results in low-quality, less stable and less secure code. It is therefore good practice to use the <strong>defensive programming</strong> approach.</p><figure><img alt="Defensive Programming" src="https://cdn-images-1.medium.com/max/720/1*BLcjcEM5ExXQ5rWCeZS8GQ.png" /><figcaption>Defensive Programming</figcaption></figure><p>Defensive programming is a coding method where engineers anticipate potential issues, errors or misuse of their code and write software to handle these situations proactively.</p><p>It aims to improve the overall quality, stability and security of code by anticipating and handling potential errors or unexpected scenarios or failures, even if the input or environment is not ideal.</p><p>Let’s use an example to explain further. I will be using JavaScript as my example language, but the concepts apply to any software language.</p><h3>Example 1: Simple calculation</h3><p>Let’s take an example of a simple number calculation.</p><pre>function calc(a, b) {<br>  return a+b;<br>}<br><br>calc(1,1) // returns 2</pre><p>Tested, no issues here so it’s ready for production right? Wrong!</p><p>What happens when the input is not an integer, but a text or any other data type? Will it return the expected value?</p><pre>calc(a,1) // Uncaught ReferenceError: a is not defined</pre><p>This piece of code is not robust at all. We need to ensure the values are numbers and not any other datatype.</p><pre>function calc(a, b) {<br>  // Check if the input values are numbers<br>  if (isNaN(a) || isNaN(b)) {<br>    return &quot;You need to enter a number&quot;;<br>  } <br>  <br>  return a+b;<br>}</pre><p>This simple condition to check if the input values are numbers will now at least ensure the code is considering non-numerical input values and returning an appropriate message for that condition.</p><h3>Example 2: Selecting an element</h3><p>Let’s say you wish to get the value of an element on the page with the “foo” identifier.</p><pre>const elFoo = document.querySelector(&quot;[data-js=foo]&quot;);<br><br>elFoo.innerText;</pre><p>If the page has the element with that identifier with a value, it will work with no issues, however, what happens when the page running this code does not have that element?</p><pre>Uncaught TypeError: Cannot read properties of null (reading &#39;value&#39;)</pre><p>It will return the above error and the remainder of the JavaScript code will not execute.</p><p>The issue here is that the code was written <strong><em>assuming</em></strong> that element will always exist. A defensive programming approach will ensure the code is written such that even if the variable (in our case the element) does not exist, it will not break the execution of the code.</p><p>Simply adding a condition to check that the element exists before continuing is defensive programming.</p><pre>if (elFoo) {<br>  return elFoo.innerText || “Placeholder Text”;<br>}</pre><h3>Key aspects of defensive programming</h3><p><strong>1. Input validation</strong>: Thoroughly validating, verifying and sanitising all input data to prevent errors or security vulnerabilities.</p><p><strong>2. Error handling</strong>: Properly managing errors using try/catch blocks, exception handling or other mechanisms to ensure that the code can gracefully recover from or handle errors.</p><p><strong>3.</strong> <strong>Avoid assumptions</strong>: Not assuming that functions, inputs, or other parts of the system will always behave as expected. This includes being prepared for edge cases or incorrect usage and catching logical errors early in the development process.</p><p><strong>4. Secure coding practices</strong>: Implementing security measures to protect against common vulnerabilities like buffer overflows, SQL injection or cross-site scripting.</p><p><strong>5. Logging and monitoring</strong>: Incorporating comprehensive logging to aid in debugging and identifying issues in production.</p><p><strong>6. Fail-safe defaults</strong>: Designing systems to fail safely if something goes wrong, ensuring that critical systems remain secure or operational in a limited capacity.</p><p>7. <strong>Code clarity</strong>: Writing clear, maintainable code that is easy to understand and modify. This reduces the risk of future bugs when the code is updated or extended.</p><p><strong>8. Defensive data structures</strong>: Using immutable objects or implementing checks to maintain data integrity.</p><p><strong>9. Immutability and side effects</strong>: Limiting the use of global variables or mutable states, which can cause unexpected behaviour if not properly managed.</p><p><strong>10. Thorough testing</strong>: Employing unit tests, integration tests, and edge case scenarios to verify code behaviour.</p><p>By following defensive programming practices, developers can build systems that are more resilient and less prone to failure in unexpected circumstances. It makes the software safe, secure and robust.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d864570b6b44" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-telegraph-engineering/importance-of-defensive-programming-d864570b6b44">Importance of Defensive Programming</a> was originally published in <a href="https://medium.com/the-telegraph-engineering">The Telegraph Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Garbha Sanskār: Development starts in the womb]]></title>
            <link>https://miteshsevani.medium.com/garbha-sansk%C4%81r-development-starts-in-the-womb-2e70d5d35d8?source=rss-6fd1a8fbb8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/2e70d5d35d8</guid>
            <category><![CDATA[baby]]></category>
            <category><![CDATA[hinduism]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[hindu]]></category>
            <category><![CDATA[pregnancy]]></category>
            <dc:creator><![CDATA[Mitesh Sevani]]></dc:creator>
            <pubDate>Wed, 26 Apr 2023 07:37:31 GMT</pubDate>
            <atom:updated>2023-04-28T21:37:17.205Z</atom:updated>
            <content:encoded><![CDATA[<p>We were recently blessed with a baby girl. During the pregnancy, we engaged in the ancient Hindu science of Garbha Sanskār — developing the brain of the child and instilling values and virtues <em>whilst in the womb</em>. We did this through an amazing online Garbh Sanskār course — <a href="https://www.dreamchild.in/">Dream Child</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*zxWV-5Wst6cZpdKhb4BvdQ.png" /><figcaption>Garbha Sanskār: Development starts in the womb</figcaption></figure><p>Often, parents start to think about the development of their child after birth, however, science and research are proving that 80% of a child’s development happens whilst in the womb. A large amount of time and opportunity has been missed in a child’s development if parents wait until the child&#39;s physical birth.</p><p>“Garbh“ means womb and “Sanskār“ means virtues or values. Garbha Sanskār is the ancient Vedic Hindu science of developing and instilling virtues within a child in the womb, i.e. during pregnancy. It is the first of the 16 human sanskārs as prescribed in Hindu culture. In fact, there is an entire scripture based on Garbha Sanskār known as the <a href="https://www.vyasaonline.com/garbha-upanishad/">Garbha Upanishad (Garbhopanishad)</a>.</p><p>Below is a short brief highlighting the key aspects of Garbh Sanskār.</p><h4>The 5 senses</h4><p>All 5 of the mother’s basic human senses reach the child in the womb. What you see, what you listen to, what you eat and taste, what you think, what you feel and what you smell are all absorbed by the unborn child.</p><h4>Talk to your unborn child</h4><p>This may seem weird at first, but ensure you speak to your unborn child — describe what you are doing, say good morning and good night to them, let them know it’s time to eat and what you will be eating etc. Although you can’t physically see them, they are there and can start to hear from around 15 weeks of pregnancy.</p><h4>A positive and happy environment</h4><p>It is important that the mother’s relations with all are positive. Avoid negativity as much as possible. The mother must be happy and have a positive mindset throughout pregnancy. Feelings are powerful and also reach the child, so try to ensure a positive and happy environment.</p><h4>The 4 elements of personality development</h4><p>There are 4 areas of one’s personality — physical, intellectual, emotional and spiritual. All 4 can be developed throughout pregnancy through various means.</p><h4>Physical Development</h4><p>1. Sātvik Diet</p><ul><li>Eat pure, fresh, organic food and drink such as fruits, vegetables, nuts, fresh fruit juices etc.</li><li>10 to 12 glasses of water a day</li><li>Avoid processed and refined food and drink, high sugar/salt, deep fried foods, overly spicy, caffeine etc.</li></ul><p>2. Yoga is great for preparing the body for birth. Asanas for stretching and strength building and pelvic floor/kegel exercises are also highly recommended for preparing the body for birth.</p><p>3. Prānāyām, mainly Nadi Shudhi/Anulom-Vilom (alternate nostril breathing) is good to do for around 10 to 15 mins a day.</p><p>4. Walking (minimum 20 mins and up to 60 mins per day)</p><p>5. Sleep and rest</p><ul><li>8 hours sleep</li><li>No phone/screen time 1 hour before sleep</li><li>Sleep no later than 11 pm</li></ul><h4>Intellectual Development</h4><p>1. Do logic and reasoning exercises</p><p>2. Read/listen to intellectual and knowledge-stimulating stories</p><ul><li>Stories from the Rāmāyan and Mahābhārat</li><li>Stories of great personalities e.g. Shri Rāma, Shri Krishna, Sitā Mātā, Chānakya, Shivaji Mahārāj, Mahārānā Pratāp, Jhānsi Ki Rāni, Ahalyābai Holkar, Swāmi Vivekānanda etc.</li><li>Moral stories e.g. from Panchtantra</li><li>Vikram-Baitāl stories</li></ul><p>3. Study general knowledge and early school curriculum</p><p>4. 5 Senses stimulation and relaxation</p><ul><li>Listening to calm and classical music</li><li>Drawing and painting</li><li>Knitting etc.</li></ul><p>5. Memory games and exercises</p><ul><li>Learn and memorise one shloka/mantra per week</li><li>Play memory-building games</li></ul><h4>Emotional/Moral Development</h4><p>1. Sadgun Vārtā: imbibing good qualities through talks and words</p><ul><li>Moral and ethical stories</li></ul><p>2. Garbha Samvād (speak positive things to your unborn child)</p><ul><li>Talk about your day</li><li>Start giving confidence and love even before birth</li><li>Positive and encouraging words</li><li>Narrate to them what you’re doing e.g. let’s eat, let’s have some water</li></ul><p>3. Music therapy</p><p>4. Positive visuals</p><ul><li>Visualise and think about what you want your child to be like</li></ul><p>5. Write a diary</p><ul><li>Let out all feelings, especially negative feelings</li></ul><h4>Spiritual Development</h4><p>1. Spiritual rituals</p><ul><li>Ārti</li><li>Pujā</li><li>Mālā etc.</li></ul><p>2. Spiritual recitations</p><ul><li>Recitation of shlokas and mantras</li><li>Aum chanting</li><li>Bhagavad Gitā reading</li></ul><p>3. Daily prārthana</p><p>4. Dhyān (meditation)</p><ul><li>Minimum 10 to 15 mins</li><li>Think of the ātma and paramātma</li></ul><p>5. Develop compassion and selflessness (feeling of Sewā)</p><h4>Recommended Garbha Sankār Course</h4><p>During our pregnancy, we came across an amazing online Garbh Sanskār course — <a href="https://www.dreamchild.in/">Dream Child</a>. Dream Child are a group based in Gujarat, India that provides a personalised practical 9 months daily activity-based online Garbh Sanskār course via their mobile app. This App delivers;</p><ul><li>Daily 25+ Activities</li><li>Online Workshops</li><li>Online Weekly Classes</li><li>Personal Counselling and Physical Pregnancy Material Kit</li><li>And much more</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*qqe9vRQUnEjhNSkb" /><figcaption>Dream Child: Garbha Sanskār</figcaption></figure><h4>Further reading</h4><ul><li>Dream Child Blogs: <a href="https://www.dreamchild.in/blog">https://www.dreamchild.in/blog</a></li><li>Garbh Sanskār in Pregnancy: Benefits and Practices — <a href="https://www.imumz.com/post/garbh-sanskar-in-pregnancy-benefits-and-practices">https://www.imumz.com/post/garbh-sanskar-in-pregnancy-benefits-and-practices</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2e70d5d35d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s your conviction?]]></title>
            <link>https://miteshsevani.medium.com/whats-your-conviction-f87130c59799?source=rss-6fd1a8fbb8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f87130c59799</guid>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[dharma]]></category>
            <category><![CDATA[conviction]]></category>
            <category><![CDATA[sangh]]></category>
            <category><![CDATA[mission]]></category>
            <dc:creator><![CDATA[Mitesh Sevani]]></dc:creator>
            <pubDate>Tue, 14 Jun 2022 15:41:52 GMT</pubDate>
            <atom:updated>2022-06-14T15:45:48.382Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="What is your conviction?" src="https://cdn-images-1.medium.com/max/1024/1*LzeJuCm3rwN7kBzzQT3XIw.png" /><figcaption>What is your conviction?</figcaption></figure><h3>Vyakti Nishthā, Sangh Nishthā, Dhyeya Nishthā</h3><p>Regular discussions on the development of kāryakartās and how we can ensure everyone, especially our youth remain motivated and inspired to attend shākha regularly and remain lifelong effective kāryakartās for our cause are important.</p><p>One such discussion can be on one’s conviction (nishthā) to attend shākhā and the transition of that conviction — from Vyakti Nishthā to Sangh Nishthā to Dhyeya Nishthā.</p><p>Generally, when we start to attend shākha, we attend due to a particular person bringing us. That person becomes our conviction or reason to attend shākhā. For example, a parent or a friend, this is known as <em>Vyakti Nishthā</em>.</p><p>Our attendance results in developing a group of friends. We then attend shākhā for the purpose of meeting and playing with our friends or a particular group, this is known as <em>Sangh Nishthā</em>. We will attend up until our friends attend. Our conviction and reason for attending shākhā is to connect with and meet our friends, and we mainly attend as long as our friends are attending.</p><p>Finally, that Nishthā — conviction transforms to attending shākhā not because of any particular person or group, but for the cause, the mission of Sangh, for the purpose of spreading Dharma, for organising the Hindu society, for developing more kāryakartās, this is known as <em>Dhyeya Nishthā</em>.</p><p>Dhyeya means mission or aim and Dhyeya Nishthā is where we want to be. This will ensure we and those around us continue to work for the mission.</p><p>What is your conviction? How can we ensure we transition ourselves and others from Vyakti Nishthā and Sangh Nishthā to Dhyeya Nishthā? Something for us to reflect on.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f87130c59799" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is Hindutva?]]></title>
            <link>https://miteshsevani.medium.com/what-is-hindutva-1e26a6940986?source=rss-6fd1a8fbb8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/1e26a6940986</guid>
            <category><![CDATA[india]]></category>
            <category><![CDATA[hindutva]]></category>
            <category><![CDATA[culture]]></category>
            <category><![CDATA[hinduism]]></category>
            <category><![CDATA[hindu]]></category>
            <dc:creator><![CDATA[Mitesh Sevani]]></dc:creator>
            <pubDate>Mon, 20 Dec 2021 20:30:03 GMT</pubDate>
            <atom:updated>2023-12-24T23:29:56.445Z</atom:updated>
            <content:encoded><![CDATA[<p>The term “Hindutva” has been mentioned and referred to quite often, particularly in recent times, but what is it?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Akd-lPF6ojlWmyJ981cDTQ.jpeg" /><figcaption>What is Hindutva?</figcaption></figure><h3>Definition of Hindutva</h3><p>Hindutva is the combination of two words, “Hindu” and “Tva”. Hindu, is a cultural identity, and Tva is “that which is”. Hindutva in simple terms is, <strong><em>“that which is Hindu”</em></strong> or <strong><em>“Hindu-ness” </em></strong><em>or </em><strong><em>“the expression of the Hindu culture”</em></strong>.</p><h3>What is culture?</h3><p>Culture is described as how we express ourselves and share commonalities in thought, actions and practices in language, literature, arts, food, behaviour, history, heroes, rites, festivals, philosophies, politics, religions etc.</p><p>So now that we have some background to what Hindutva is, what are the principles or examples of Hindutva?</p><h3>Some principles of Hindutva</h3><p>Below are just some of the principles of Hindutva;</p><ul><li><strong>Vividhatā Mein Ekatā and Ekam Sat Viprāh, Bahudhā Vadanti:</strong> The concept of oneness and unity in diversity. Being open-minded and accepting diverse thoughts, beliefs and philosophies that are earnestly striving to seek what is true. Knowing that the truth is one, though the wise know it by many names. However, this is not the same as all claims to truth are true.</li><li><strong>Samanvaya and Sarve Bhavantu Sukhinaḥ, Sarve Santu Nirāmayāḥ:</strong> Living in harmony and aiming to bring harmony among one and all. This harmony is not limited to humans but includes nature and all living things.</li><li><strong>Vasudhaiva Kutumbakam:</strong><em> </em>It is the expanding of consciousness from the individual to the family, to the community and to the entire world, reaching a state of <em>Vasudhaiva Kutumbakam</em> — the entire world is one family, my family.</li><li><strong>Saiyam:</strong> The practice of self-control. Striving to control or balance materialistic desires, non-exploitation of resources, and moving from selfishness to selflessness, where one is willing to sacrifice their benefit for that which benefits all or more.</li></ul><h3>Final thoughts</h3><p>Hindutva is Hindu-ness or that which is Hindu by <strong>culture</strong>, not merely religion as it has been misunderstood and/or misinformed to be.</p><p>Hindutva is pluralistic, it is that which takes everyone along, brings everyone together, unites everyone within itself and makes everyone prosper.</p><p>It is that which develops and achieves harmony among all and benefits all. It is the essence of Dharma and the essence of every Hindu.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1e26a6940986" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to become better at what you do]]></title>
            <link>https://miteshsevani.medium.com/how-to-become-better-at-what-you-do-52ae241dc39b?source=rss-6fd1a8fbb8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/52ae241dc39b</guid>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[self-development]]></category>
            <category><![CDATA[become-better]]></category>
            <dc:creator><![CDATA[Mitesh Sevani]]></dc:creator>
            <pubDate>Tue, 31 Aug 2021 17:34:48 GMT</pubDate>
            <atom:updated>2021-11-18T14:59:30.570Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Wvq8N6Qx8Cuv-ToxEm8zkQ.jpeg" /></figure><p>Over the past couple of years, I have had the opportunity to mentor new members of the team and give career advice to new graduates from various fields. In doing so, I thought about my own experience and journey in my career as a software engineer and came up with my top 5 tips and pieces of advice on how to become better at what you do, be it within your career or other areas in life.</p><h3>1. Enjoy what you do</h3><p>I really enjoy my role as a software engineer. I love the challenge of solving problems with code and I enjoy converting designs into interactive user interfaces that are used by people in whichever way they are intended to be.</p><p>Enjoying what you do is the first piece of advice. Enjoying your role is what will motivate you to become better, develop further and progress. If you don’t enjoy what you do, it slowly becomes a chore or a burden which in turn can start to demotivate you and make you feel unfulfilled and unsatisfied. That feeling will then make it difficult to become better and progress, so it is very important to enjoy what you do.</p><h3>2. Keep learning and stay up-to-date</h3><p>I enjoy learning new things and staying up-to-date with the latest trends and potential future developments in software engineering. I have signed up for a newsletter that sends me a collection of interesting articles on software engineering and I follow certain software engineering and frontend development Twitter handles. All these enable me to keep learning and stay up-to-date in my field of work.</p><p>We live in a fast-paced world where everything is progressing and developing quickly, especially technology. As a result, we are required to keep learning and develop our skills in order to stay up-to-date with the latest developments.</p><p>My second piece of advice is to never stop learning in order to remain on top of the latest developments within the field you work in. Read blogs and articles, sign up for one or two newsletters that send useful information in your field of work and latest and potential future trends. Things like this will ensure you are keeping up to date and are continuously learning, developing, and ultimately becoming better at what you do.</p><h3>3. Be open-minded</h3><p>I was in a meeting where the discussion was on using a new automation testing framework. I started getting nervous. The thought of having to change and learn a new framework scared me. Why are we changing? What’s wrong with our current framework? I said to myself. A few weeks later, after using the new framework, I was glad we had made the change and that I had the opportunity to be part of it. I learned so much and it was no way near as scary or nerve-racking as I had initially thought.</p><p>Not many people like change, we can get used to working in a particular way or with particular tools and skillsets. However, in order to develop and become better at what you do, it is important to be open-minded, be willing to adapt to change and learn new skills and ways of doing what you do.</p><p>I was one of those people that once settled in a particular way, I did not like the prospect of changing or having to learn new ways, new tools, or skills. However, as I became more experienced, I started to understand and accept that in order for me to become better and progress, I had to be more open-minded, I had to be willing to adapt to change and learn new tools and skills in order to become better at what I do and progress.</p><p>Therefore, my third piece of advice is to be open-minded, don’t be afraid of change and always be willing to learn new skills, tools and ways of fulfilling your role.</p><h3>4. Practise, practise, practise</h3><p>I am a firm believer in learning by doing. The more you do and the more you practice, the better you will become at it. There are only so many training courses and only so much that you can learn from others. A great way of learning and building your skills and experience is to practice and do more of what you are trying to become better at. By this, I mean <strong><em>outside</em></strong> of work where you are paid and have an obligation to do the work.</p><p>One of the ways I do this is by taking on voluntary projects and developing my own practice projects. Voluntary and personal practice projects allow me to experiment and try new things without the pressure of getting it right or to meet any deadlines.</p><p>So my fourth piece of advice is to take on voluntary and/or your own practice projects where you can experiment and try new things and learn from them and as a result, become better and develop your experience in what you do.</p><h3>5. Share your knowledge</h3><p>As I become more experienced, I started to get opportunities to mentor and share my knowledge and experience with the younger generation and new members of the team. This really helped me further my knowledge and understanding of software engineering and my field of work. Not only that, but I started to contribute by writing and publishing blog posts on various topics and findings.</p><p>So my fifth piece of advice is to share your knowledge, experience and skills with others. You could do this by mentoring others who are new to the field or are looking to get into the field such as the younger generation, graduates and juniors. You could also publish blogs and/or give presentations sharing your experience and things you have learned.</p><p>So there you have it, my top five tips and advice to become better and what you do. Feel free to share your views and tips in the comments section below.</p><p><em>Mitesh Sevani is a Senior Software Engineer at The Telegraph.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=52ae241dc39b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hindu and Bhāratiya History — Foreign Invasions and The Hindu Resistance]]></title>
            <link>https://miteshsevani.medium.com/hindu-and-bh%C4%81ratiya-history-foreign-invasions-and-the-hindu-resistance-53288caca787?source=rss-6fd1a8fbb8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/53288caca787</guid>
            <category><![CDATA[mughal]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[hindu]]></category>
            <category><![CDATA[india]]></category>
            <dc:creator><![CDATA[Mitesh Sevani]]></dc:creator>
            <pubDate>Mon, 14 Jun 2021 10:16:44 GMT</pubDate>
            <atom:updated>2023-02-05T13:12:41.255Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hindu and Indian History — Foreign Invasions and The Hindu Resistance</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*It2ZNeIkLEWQiy-R4egO_w.jpeg" /></figure><p>Bhārat (India) faced countless attacks and invasions between 1000 CE and 1800 CE. This was for various reasons including imperialism, and the pursuit of religious, political and economic gains.</p><p>During the summer of 2020, I had the opportunity to deliver a talk on Hindu and Bhāratiya (Indian) history covering around 2,000 years from 300 BCE to 1700 CE.</p><p>During my research, I came across some fascinating findings from the rise and fall of empires to science and mathematical discoveries and the resistance to foreign invasions.</p><p>This series of Hindu and Bhāratiya History summarises these findings so we can all learn about the great and proud history of the Hindu and Bhāratiya (Indian) civilisation.</p><p>Part one of this series covered the <a href="https://miteshsevani.medium.com/hindu-and-bh%C4%81ratiya-history-the-rise-and-fall-of-empires-9558a63fd45d">Rise and Fall of Empires</a> and part two covered the <a href="https://miteshsevani.medium.com/hindu-and-bh%C4%81ratiya-history-contribution-to-science-mathematics-and-philosophy-b7222b164e29">Contribution to Science, Mathematics and Philosophy</a>. Part three will focus on <em>Foreign Invasions and The Hindu Resistance.</em></p><h3>1001–1025: Maḥmūd Ghaznavī’s loot and destruction of Hindu temples</h3><p>The first major attack took place around the year 1000 by Yamīn al-Dawla Abū al-Qāsim Maḥmūd b. Sebüktegīn from Ghaznī, more commonly known as Maḥmūd Ghaznavī. Maḥmūd Ghaznavī attacked and looted Bhārat, targeting the rich cities and Hindu temples (mandirs) for their vast wealth. He then used the wealth to expand his empire and develop the capital of his empire, Ghazni in modern-day Afghanistan. Ghaznavī attacked and looted Bhārat 17 times between 1001 and 1025.</p><p>One of the major cities attacked and looted was the holy city of Mathurā, the birthplace of Shri Krishna, in the year 1018. The city of Mathurā was mostly destroyed with the holy temple of Shri Krishna severely damaged.</p><p>The other holy city Ghaznavī attacked and looted was Somnāth in 1025 where his army massacred approximately 25,000 Hindus and attempted to destroy Somnāth temple and its Shivlinga. In this attack, Ghaznavī’s army looted the gold and precious gems of Somnāth temple. It is said that camels were loaded with wealth from Somnāth and transported for 20 consecutive days to Ghazni, Afghanistan.</p><p>Somnāth was attacked and plundered many times by various Muslim rulers such as Alaudin Khilji, Muzafar Shāh and Ahmed Shāh. Somnāth temple was destroyed and rebuilt up to 11 times between the various Muslim and Hindu rulers throughout the years and was finally rebuilt in its full glory by Sardār Vallabhbhai Patel in the year 1948.</p><figure><img alt="Somnāth Temple" src="https://cdn-images-1.medium.com/max/700/1*tEpHtTaJk-jRtCP7BQkWrA.jpeg" /><figcaption>Somnāth Temple</figcaption></figure><h3>1166–1192: Prithvirāj Chauhān and the battles of Taraori (Tarain)</h3><p>Prithvirāj Chauhān was born in 1166 and was a Rajput warrior king. He expanded his empire covering the north and northwest of the Indian subcontinent (modern-day Rajasthān, Punjāb, Haryāna, Delhi etc.), with the capital at Ajmer in Rajasthān.</p><p>Prithvirāj Chauhān is known for his battles against the Islamic Ghurid empire ruled by Shihab ad-Din, also known as Muhammad Ghori from Afghanistan.</p><p>Muhammad Ghori was expanding his empire eastwards and shifted his base to Punjāb. This move brought him in conflict with Prithvirāj Chauhān. The first battle between Muhammad Ghori and Prithvirāj Chauhān took place in the year 1191 and is known as <em>The First Battle of Tarain</em>. Prithvirāj Chauhān’s forces defeated Muhammad Ghori and he was forced to retreat. Prithvirāj Chauhān decided not to chase Muhammad Ghori and allowed him to escape.</p><p>Muhammad Ghori decided to try again to avenge his defeat. He regrouped and rebuilt his army to defeat Prithvirāj Chauhān. In 1192, Muhammad Ghori attacked again and this time defeated Prithvirāj Chauhān capturing and eventually killing him. This battle is known as <em>The Second Battle of Tarain</em>. This defeat paved the way for the ascendance of Islamic rule and the tyranny and genocides that followed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GaOESPCme9Yo4KSX8IS6Bw.png" /><figcaption>Prithvirāj Chauhān</figcaption></figure><h3>1197 CE to 1206 CE: The destruction of Nālanda University by Muhammad Khilji</h3><p>Nālanda University in modern-day Bihār was one of the first international universities in the world. During its peak, it had more than 10,000 students and 2,000 teachers hailing from all over the world. Its library had over 900,000 books and was the largest library of its time.</p><p>Then around the year 1200, Nālanda University was destroyed by the Turkish ruler Muhammad bin Bakhtiyar Khilji in his quest to spread Islam in the Indian subcontinent during the early 13th century.</p><p>It is believed that the library alone burned for 3 months destroying the majority of the 900,000 books and manuscripts which were hand-written. What knowledge was in these books and manuscripts will never be known.</p><p>Not only was the university destroyed, but tens of thousands of Hindus and Buddhists were massacred by Muhammad Khilji and his army.</p><figure><img alt="Nālanda University" src="https://cdn-images-1.medium.com/max/570/1*qDmKiSX_Y_eLTpH0bCxovg.jpeg" /><figcaption>Nālanda University</figcaption></figure><h3>Ayodhyā Rāma Janmabhoomi</h3><p>The holy city of Ayodhyā in Uttar Pradesh is the birthplace of Shri Rāma. The history of this city and the Rāma Janmabhoomi mandir (temple) goes back thousands of years.</p><p>It is believed that the first temple honouring Shri Rāma was built by Shri Rāma’s son Kush thousands of years ago. The ancient temple was restored and renovated by emperor Vikramaditya after defeating the invading Shakas sometime between the first century BCE and 120 CE.</p><p>Fast forward to the year 1528 CE, the Mughal (Islamic) empire era ruled by Zahīr ud-Dīn Muhammad, also known as Babur. Babur was from Uzbekistan and was a descendant of Timur and Genghiz Khan.</p><p>Wishing to spread Islam and expand his newly established Mughal empire into Bhārat (India), Babur sent an army led by Mir Baqi to invade Ayodhyā. A Hindu King (possibly Mahtab Singh of Bhiti) received the news of an imminent attack on Ayodhyā and moved his 174,000 soldiers towards Ayodhyā to face the 450,000-strong Mughal army. A fierce battle took place which is believed to have lasted many days, but the vast Mughal army defeated the smaller quantity of the Hindu forces, killing thousands of Hindus who stood in their way. After invading Ayodhyā, Mir Baqi destroyed the Rāma Janmabhoomi mandir (temple) and built an illegal stricture in its place dedicated to emperor Babur. The illegal structure was later falsely identified as a <em>Masjid </em>(mosque), which it never was.</p><p>It is worth noting that the structure was never used for worship. It was a structure built to honour the foreign invader Babur and further humiliate the Hindus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/630/1*rooB8K5EZQpNsSbxyU3vvg.jpeg" /><figcaption>Illegal Babri structure which was built over the original Shri Rāma temple</figcaption></figure><p>In the late 1500s, Hindus started to worship around the Rāma Janmabhoomi site as a way of resistance against the Mughal invaders. However, in the 1600s during the rule of the tyrant and fanatic Aurangzeb, Hindu worship at the site was banned. Hindus refused to accept the ban and continued to worship there.</p><p>Aurangzeb sent 50,000 soldiers with Sayad Hasan Ali Khan to take control of Ayodhyā and Rāma Janmabhoomi. Standing in the way was a smaller Hindu force of 10,000 men, including sadhus (monks), led by Vaishnavdās, a disciple of Samarth Rāmdās. The battle went on for 7 days, however, the Hindus were eventually defeated.</p><p>Hindus regrouped and joined forces with Guru Govind Singh ji. Together they defeated the Muslim army and freed Ayodhyā and Rāma Janmabhoomi.</p><p>It is said that 76 small and large battles have been fought for Ayodhyā Rāma Janmabhoomi in which control of the site swung regularly between Hindus and Muslims.</p><p>The illegal structure that was built by foreign invaders, after destroying the sacred temple at the birthplace of Shri Rāma to insult India and the Hindu people, was destroyed on the 6th of December 1992.</p><p>Finally, in November 2019, Ayodhyā Rāma Janmabhoomi was rightfully and lawfully handed back to the Hindus by the judgement of the Supreme Court of India. Construction of the temple has already begun and there will soon be a grand temple once again honouring Shri Rāma.</p><figure><img alt="Shri Rāma Mandir" src="https://cdn-images-1.medium.com/max/660/1*eXOvQQJb7Q-SXrzhT8SV2g.jpeg" /><figcaption>What the new Shri Rāma Mandir (temple) will look like</figcaption></figure><h3>1540–1597: Mahārānā Pratāp and the Battle of Haldighāti</h3><p>Rānā Pratāp Singh was born on 9th May 1540 in the province of Mewār, Rajasthān. Rānā Pratāp was a fierce and brave Rājput warrior king. He earned the name Mahārānā Pratāp (‘mahā’ meaning great) due to his heroics in the fight against Islamic rule.</p><p>During Mahārānā Pratāp’s time, it was Jalal-ud-din Muhammad Akbar who ruled the Mughal (Muslim) empire. Akbar had his eyes on Mewār and offered Mahārānā Pratāp the peaceful option to surrender, which he rejected. Akbar decided to attack and capture Mewār by force. A battle ensued between Akbar and Mahārānā Pratāp. This battle took place in June 1576 and is known as the <em>Battle of Haldighāti</em>.</p><p>This battle was fought between 80,000 troops of Akbar’s army and 20,000 of Mahārānā Pratāp’s army; extraordinarily, Mahārānā Pratāp defeated Akbar’s army and successfully protected Mewār from capture. Mahārānā Pratāp’s warhorse Chetak was fatally wounded in the battle whilst saving Mahārānā Pratāp from danger. Chetak is held in the same esteem as Mahārānā Pratāp due to its bravery and courage.</p><p>Throughout his life, Mahārānā Pratāp was never fully defeated by Akbar. Akbar never gained a foothold in the Mewār region due to Mahārānā Parātāp’s brave resistance.</p><figure><img alt="Battle of Haldighāti" src="https://cdn-images-1.medium.com/max/600/1*_PRyTifFrD0A6imW1t8_Ng.jpeg" /><figcaption>Battle of Haldighāti</figcaption></figure><h3>1627 CE: Chhatrapati Shivāji Mahārāj</h3><p>Shivāji was born on 19th February 1630 in Pune, Mahārāshtra during the Muslim rule. His mother Jijābai focused on instilling sanskārs (qualities/values) and Hindu pride within Shivāji from his childhood. She narrated stories from the Rāmāyana and Māhābhārata and taught Shivāji about the glorious history of Bhārat and the Hindu civilisation.</p><p>From an early age, Shivāji had decided he would not accept the religious persecution and oppression of the Muslim rule and would defeat the Mughal empire and provide freedom to Bhārat and Hindus.</p><p>The Mughal emperor at the time was the tyrannical and fanatic Aurangzeb. Aurangzeb was responsible for killing millions of Hindus during his reign and destroyed many Hindu temples, most notably the Shri Krishna Janmabhoomi temple in Mathurā, the birthplace of Shri Krishna, around the year 1670.</p><p>Shivāji was a master of administration, organisation and strategy. He gradually built his army and employed the guerilla warfare strategy to defeat the Muslim kings and win back forts. Seeing the success and rising power of Shivāji, Aurangzeb decided that Shivāji needed to be killed. He sent his general Afzal Khan to kill Shivāji, but instead, Shivāji killed Afzal Khan and consequently won the battle.</p><figure><img alt="Shivaji kills Afzal Khan" src="https://cdn-images-1.medium.com/max/400/1*NJtXKuuTxhJuRF8KPtGFBg.jpeg" /><figcaption>Shivaji kills Afzal Khan</figcaption></figure><p>Slowly, through guerilla warfare, Shivāji won back many forts and land from the Muslim kings and established his reign. Finally, in 1674, Shivāji defeated the last of the Muslim rulers within the Marāthā region and liberated the people from Muslim rule and tyranny.</p><p>On the 6th June 1674, Shivāji established the Marāthā Hindu empire and was crowned emperor. This day marks Hindu Sāmrājya Divas (Hindu self-rule day) where Hindus gained full sovereignty from Muslim rule.</p><p>Shivāji was given the title <em>Chhatrapati</em> (paramount sovereign) and is therefore known as Chhatrapati Shivāji Mahārāj.</p><figure><img alt="Chhatrapati Shivāji Mahārāj" src="https://cdn-images-1.medium.com/max/640/1*BVgS088p1I-xiAAu8hgwmw.jpeg" /><figcaption>Chhatrapati Shivāji Mahārāj</figcaption></figure><h3>Tragic but also a proud history of resistance</h3><p>It is estimated that 40,000 to 60,000 Hindu and Buddhist temples were destroyed during the Muslim rule. Educational institutes, libraries and manuscripts were destroyed, cities and temples ransacked and looted and millions were killed or converted and many women were raped.</p><p>Whilst many other cultures were destroyed around the world, even after a thousand years of invasions, the Hindu and Bhāratiya civilisation not only survived but thrived and prospered, and to this day continues to spread. Throughout history, we as a civilisation have never been ultimately defeated and have had a huge number of great personalities who have ensured the protection and victory of the Hindu and Bhāratiya civilisation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xCS5Hd8OTMcJE2lPYZCB3g.jpeg" /></figure><h3>Conclusion</h3><p>This concludes the three-part series on Hindu and Bhāratiya History. Our journey started with part one covering <a href="https://miteshsevani.medium.com/hindu-and-bh%C4%81ratiya-history-the-rise-and-fall-of-empires-9558a63fd45d">The Rise and Fall of Empires</a>, and then on to part two covering the <a href="https://miteshsevani.medium.com/hindu-and-bh%C4%81ratiya-history-contribution-to-science-mathematics-and-philosophy-b7222b164e29">Contribution to Science, Mathematics and Philosophy</a> and ending the series with this post on Foreign Invasions and The Hindu Resistance.</p><p>One thing is certain: we as Hindus and Bhāratiyas can be very proud of our history, our past and continued contribution to the world, and our resistance and fight against countless attacks by those who have tried their hardest to destroy the Bhāratiya Hindu civilization and culture.</p><p><em>One vision I can see clear as life before me that the ancient Mother (Bhārat Mātā) has awakened once more, sitting on her throne-rejuvenated, more glorious than ever. Proclaim her to the entire world with the voice of peace and benediction.</em></p><p>~ Swami Vivekananda</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=53288caca787" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Maintaining aspect ratio using CSS]]></title>
            <link>https://medium.com/the-telegraph-engineering/maintaining-aspect-ratio-using-css-e8ac6bbcd69?source=rss-6fd1a8fbb8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8ac6bbcd69</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[aspect-ratio]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Mitesh Sevani]]></dc:creator>
            <pubDate>Wed, 19 May 2021 14:43:05 GMT</pubDate>
            <atom:updated>2021-11-18T15:00:35.993Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="CSS Aspect Ratio" src="https://cdn-images-1.medium.com/max/1024/1*_eO6BdZx1ej94PUKsLZ-Hg.png" /><figcaption>CSS Aspect Ratio</figcaption></figure><p>There are some great CSS properties that are being rolled out across browsers. Some of which I had the opportunity to present at our company Front-End Guilds. The properties which I presented were <strong>aspect-ratio, content-visibility, scroll-behavior</strong> and <strong>scroll-margin-top</strong>. This article will focus on the <strong>aspect-ratio</strong> property.</p><p>NOTE:<em> At the time of writing this article, aspect-ratio is only supported on Chromium browsers. To see which browsers the property is currently supported, visit </em><a href="https://caniuse.com/mdn-css_properties_aspect-ratio"><em>https://caniuse.com/mdn-css_properties_aspect-ratio</em></a><em>.</em></p><h3>The “padding-top hack”</h3><p>We’ve all used it or at least know of it, the infamous padding-top hack which has been used for many years in order to get media (namely videos) to automatically resize and keep their aspect ratio. The padding-top hack is where the top padding is given a percentage value to set the height of an element which represents and achieves the desired aspect ratio. For example;</p><ul><li>1:1 aspect ratio would be set to padding-top: 100% (1/1 = 1)</li><li>4:3 aspect ratio would be set to padding-top: 75% (3/4 = 0.75)</li><li>16:9 aspect ratio would be set to padding-top: 56.25% (16/9 = 0.5625)</li></ul><p>Let’s say we wanted to set the aspect ratio of a video to 16:9, we would write:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yWRdqaZip6AN5xtT46rL5w.png" /><figcaption>The padding-top hack</figcaption></figure><p>Quite a lot of CSS code to achieve something which seems quite simple. With the aspect-ratio property, we can now shun the above hack and achieve the same result with the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UuaGslMcbUXbvBCDFOxIig.png" /><figcaption>aspect-ratio property</figcaption></figure><p>Neat right? With the aspect-ratio property, all we need is the width or height and then the property does the rest. It works out and sets the width and/or height of the element according to the aspect ratio value given (4:3 would be 4/3, 16:9 would be 16/9 etc.).</p><p>Here are a couple of codepen examples;</p><ul><li>Image: <a href="https://codepen.io/miteshsevani/pen/mdOKzPQ">https://codepen.io/miteshsevani/pen/mdOKzPQ</a></li><li>Video: <a href="https://codepen.io/miteshsevani/pen/eYBKLyY">https://codepen.io/miteshsevani/pen/eYBKLyY</a></li></ul><h3>Browser compatibility</h3><p>As mentioned earlier, there are still some browsers that do not support the aspect-ratio property, the above example can be altered to support these browsers by using the feature query <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/@supports">@supports</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XZ9ygT2zqoOVMGvyuPxbUQ.png" /><figcaption>Browser compatibility code</figcaption></figure><h3>Aspect ratio and Cumulative Layout Shift</h3><p>Performance metrics (see <a href="https://web.dev/vitals/">web vitals</a>) of a website will now have a larger impact on search engine optimisation (SEO). <a href="https://developers.google.com/search/blog/2020/05/evaluating-page-experience#page-experience-ranking">Google have said</a> that Core Web Vitals will be a consideration when ranking search results.</p><p>One of the great effects of the aspect-ratio property is the positive impact on layout and visual stability (see <a href="https://web.dev/cls/">Cumulative Layout Shift</a>). When a browser is rendering a page, especially on slow connections, the layout of a page can shift as it loads content, especially if the content is loaded client-side.</p><p>For example, let’s say we have a video at the top of our page. Before using aspect ratio to size the video, by the time it has been loaded and rendered, it would have caused the layout of the page to shift. This is because the browser would not be aware of how much space the video will require and therefore will not reserve the space required. Instead, it will shift the content to create the space when the video is ready to be displayed.</p><p>In contrast, by using the aspect-ratio property on the container, the browser will be able to work out the space required for the video and will reserve that space, avoiding the shift in the layout of the page.</p><p><strong><em>Note:</em></strong><em> Layout and visual stability were also achieved with the padding-top hack, the aspect-ratio property just makes it simpler.</em></p><h3>Conclusion</h3><p>At The Telegraph, we certainly have a few areas where we can benefit from using the aspect-ratio property. One of these being for our videos, especially on our new <a href="https://www.telegraph.co.uk/cricket/2021/03/11/greatest-over-geoffrey-boycott-michael-holding-balls-shook-world/">long read articles</a> and the other being for our lead/hero images and videos on articles.</p><p>For our videos, we use a 16:9 aspect ratio and are currently using the padding-top hack to achieve the correct resizing. Certainly a good candidate for refactoring our CSS to use the aspect-ratio property instead.</p><p>The other being our lead/hero images and videos on our articles which causes a layout shift and is negatively impacting the performance. Although we have improved this by adding the size attributes to the image, it can be improved further by using aspect-ratio which the browser can use to reserve the space required for the image.</p><p><em>Mitesh Sevani is a Senior Software Engineer at The Telegraph.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8ac6bbcd69" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-telegraph-engineering/maintaining-aspect-ratio-using-css-e8ac6bbcd69">Maintaining aspect ratio using CSS</a> was originally published in <a href="https://medium.com/the-telegraph-engineering">The Telegraph Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hindu and Bhāratiya History — Contribution to Science, Mathematics and Philosophy]]></title>
            <link>https://miteshsevani.medium.com/hindu-and-bh%C4%81ratiya-history-contribution-to-science-mathematics-and-philosophy-b7222b164e29?source=rss-6fd1a8fbb8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7222b164e29</guid>
            <category><![CDATA[hindu]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[india]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Mitesh Sevani]]></dc:creator>
            <pubDate>Fri, 26 Mar 2021 17:10:45 GMT</pubDate>
            <atom:updated>2021-11-22T17:49:40.048Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hindu and Indian History — Contribution to Science, Mathematics and Philosophy</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*qjSp6VJxtln3nWT7CYQfJQ.jpeg" /></figure><p>Bhārat (India) has made incredible discoveries and contributions in the progress of humanity in a variety of fields. From Science and Mathematics to Philosophy and Spirituality and so much more.</p><p>During the summer of 2020, I had the opportunity to deliver a talk on Hindu and Bhāratiya (Indian) history covering around 2,000 years from 300 BCE to 1700.</p><p>During my research, I came across some fascinating findings from the rise and fall of empires to science and mathematical discoveries and the resistance from foreign invasions.</p><p>This series of Hindu and Bhāratiya History will summarise these findings so we can all learn about the great and proud history of the Hindu and Bhāratiya (Indian) civilisation.</p><p>Part one of this series covered the <a href="https://miteshsevani.medium.com/hindu-and-bh%C4%81ratiya-history-the-rise-and-fall-of-empires-9558a63fd45d">Rise and Fall of Empires</a>. Part two will focus on the <em>Contribution to Science, Mathematics and Philosophy.</em></p><h3>1000 BCE to 800 BCE: Mahārishi Sushruta and the Sushruta Samhita</h3><p>Between 1000 BCE and 800 BCE, mahārishi (the great sage) Sushruta compiled the Sushruta Samhita, an ancient Sanskrit text on medicine and surgery. Sushruta is known as the “Father of surgery” and is said to have carried out the first-ever cosmetic surgery on a human being. The surgery he carried out was plastic surgery on a patient’s nose.</p><p>The Sushruta Samhita is used even today and is one of the foundational texts of Āyurveda, the ancient Bhāratitya (Indian) practice of natural medicine and the science of longevity.</p><figure><img alt="Maharishi Sushruta" src="https://cdn-images-1.medium.com/max/291/1*-Gnwj7bhzNciCwSryRwK4w.jpeg" /><figcaption>Mahārishi Sushruta</figcaption></figure><h3>400 BCE to 200 BCE: Mahārishi Charaka and the Charaka Samhita</h3><p>Mahārishi (sage) Charak was one of the principal contributors to Āyurveda, the ancient Bhāratitya (Indian) practice of medicine and the science of longevity. He believed in the concept of “prevention is better than cure” and emphasised the connection of the soul, mind and body.</p><p>It was some time between 400 BCE and 200 BCE when Charak made scientific discoveries of the human body relating to blood circulation and the heart, diet, digestion, immunity, metabolism, the 3 doshas (Kapha, Vata and Pita), medicine etc.</p><p>Mahārishi Charak’s discoveries were later compiled into the Charaka Samhita which is today considered the encyclopedia of Āyurveda.</p><figure><img alt="Charaka" src="https://cdn-images-1.medium.com/max/290/1*CG2XU2quWFmk35dJtJjMkw.jpeg" /><figcaption>Charaka</figcaption></figure><h3>476 CE — 550 CE: The discoveries of Āryabhatt</h3><p>Āryabhatt studied at the ancient Nālanda university and made many mathematical and astronomical discoveries which are documented in at least two of his works, the Āryabhatiya and the now lost Āryabhatasiddhānta.</p><p>Some of his discoveries included;</p><ul><li>that the sun is at the centre of the solar system</li><li>that the earth rotates around the sun</li><li>that it takes a total of 365 days, 6 hours and 12 mins to complete one rotation i.e. one year</li><li>that the earth spins on an axis which is the cause of day and night</li><li>that the moon and planets shine due to the reflected sunlight</li><li>the cause of solar and lunar eclipses</li><li>the approximation of Pi to 3.1416</li><li>the circumference of the earth</li><li>extracting square roots</li><li>solving quadratic equations</li></ul><p>The Āryabhatiya was translated into Latin in the 13th century which then become the source of discoveries for European mathematicians.</p><figure><img alt="Aryabhatt" src="https://cdn-images-1.medium.com/max/260/1*vJ87xYqGMpXQY-ENbW-5ww.jpeg" /><figcaption>Āryabhatt</figcaption></figure><h3>700 CE: Ādi Shankarāchārya</h3><p>Ādi Shankarāchārya was born at a time when the Hindu society was divided on the teachings of the scriptures. Many varying interpretations resulted in conflict and division amongst the society.</p><p>Ādi Shankarāchārya travelled all over Bhārat (India) and spread the scriptural teachings. He propounded and wrote commentaries on the Vedas, Upanishads, Bhagwad Geetā etc. as well as clarified the teachings through discussions and debates.</p><p>He also gave the Advait Vedānt philosophy and established the 4 mathas (monasteries) in the north, east, south and west of Bhārat representing the 4 Vedas and headquarters of the Vedānta philosophy.</p><figure><img alt="Adi Shankaracharya" src="https://cdn-images-1.medium.com/max/480/1*qKy1qmCPRyui4bGqGZ60gw.jpeg" /><figcaption>Ādi Shankarāchārya</figcaption></figure><h3>1114 CE: Bhāskrāchārya</h3><p>Born in 1114, Bhāskrāchārya was a mathematician and astronomer who extended Brahmagupta’s work on number systems. He was the head of the astronomical observatory at Ujjain, the leading mathematical centre in Bhārat at that time.</p><p>Some of his discoveries included work on;</p><ul><li>Algebra</li><li>Arithmetic</li><li>Geometry</li><li>Notes on the force of gravity</li><li>Reached an understanding of the number systems and solving equations which were not to be achieved in Europe for several centuries later</li></ul><figure><img alt="Bhaskracharya" src="https://cdn-images-1.medium.com/max/239/1*jINU85hS4MNJ7CcDzlPwIg.jpeg" /><figcaption>Bhāskrāchārya</figcaption></figure><h3>So much more…</h3><p>This is just the tip of the iceberg when it comes to Bhārat’s (India’s) and Hindu discoveries and contributions. There is so much more which has been contributed in the fields of yoga, spirituality, metallurgy, maritime, architecture, chemistry etc.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7222b164e29" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hindu and Bhāratiya History — The Rise And Fall Of Empires]]></title>
            <link>https://miteshsevani.medium.com/hindu-and-bh%C4%81ratiya-history-the-rise-and-fall-of-empires-9558a63fd45d?source=rss-6fd1a8fbb8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/9558a63fd45d</guid>
            <category><![CDATA[india]]></category>
            <category><![CDATA[history]]></category>
            <category><![CDATA[empire]]></category>
            <category><![CDATA[hindu]]></category>
            <dc:creator><![CDATA[Mitesh Sevani]]></dc:creator>
            <pubDate>Tue, 09 Feb 2021 15:39:20 GMT</pubDate>
            <atom:updated>2021-11-22T17:49:12.659Z</atom:updated>
            <content:encoded><![CDATA[<h3>Hindu and Indian History — The Rise and Fall of Empires</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pRsyCQMcyYCDjNYlIVx-dQ.jpeg" /></figure><p>During the summer of 2020, I had the opportunity to deliver a talk on Hindu and Bhāratiya (Indian) history covering around 2,000 years from 300 BCE to 1700.</p><p>During my research, I came across some fascinating findings from the rise and fall of empires to science and mathematical discoveries as well as the resistance from foreign invasions.</p><p>This series of <em>Hindu and Bhāratiya History</em> will summarise these findings so we can all learn about the great and proud history of the Hindu and Bhāratiya (India) civilisation.</p><p>Part one of the series will focus on <em>The Rise And Fall Of Empires</em>.</p><h3>326 BCE: Battle of Hydaspes</h3><p>In 326 BCE, Alexander reached the Indian subcontinent. King Ambhi of Takshashila surrendered and allowed Alexander to pass into the Punjab region which was ruled by King Porus.</p><p>King Porus fought and resisted Alexander. This battle became known as the Battle of Hydaspes.</p><p>There are a few historical accounts of who won this battle. Some say Porus won, some say Alexander won, and some say neither. Regardless, it is certain that King Porus’ resistance was such that it was the most costly battle fought by Alexander, thus halting and breaking the morale of Alexander’s army and was forced to return to Macedonia.</p><figure><img alt="Battle of Hydaspes" src="https://cdn-images-1.medium.com/max/1024/1*DGMmd7lvDefdb3tc1KBpew.jpeg" /><figcaption>Battle of Hydaspes</figcaption></figure><h3>321 BCE: Chānakya and Chandragupt. The establishment of the Mauryan Empire</h3><p>Chānakya was a monk and an āchārya who specialised in political science amongst many other subjects at Takshashilā University, one of the oldest and prestigious universities in the world (destroyed during the Islamic invasions).</p><p>Chānakya saw the threat of King Alexander for the whole of Bhārat (India) and went to the capital Patliputra to seek help from the powerful King Dhanānand of the Nanda dynasty, to fight Alexander and stop him from invading.</p><p>However, the corrupt, selfish and arrogant Dhanānand refused and insulted Chānakya. Chānakya took an oath that he will not tie the tuft of his hair until he uproots the whole Nanda dynasty and establishes Dharma and unifies the whole of Bhārat as one nation — i.e. Akhand Bhārat.</p><figure><img alt="Chanakya and Chandragupt" src="https://cdn-images-1.medium.com/max/500/1*YzJXaleXmtctGSYbP2K_wQ.jpeg" /><figcaption>Chandragupt and Chānakya</figcaption></figure><p>Chānakya set off in search of a potential emperor of Bhārat who would unify the nation. He selected a young boy named Chandragupt Maurya, son of Murā, and took him to Takshashilā for education and training.</p><p>In 321 BCE, Chandragupt defeats the Nanda dynasty and the remaining Macedonians and establishes the Mauryan empire, thus unifying the nation of Bhārat.</p><h3>273 BCE — 232 BCE: King Ashok and the expansion of the Mauryan empire</h3><p>In 273 BCE King Ashok, the grandson of Chandragupt inherits the Mauryan empire. From the years 266 BCE to 232 BCE, King Ashok expanded the Mauryan empire to span most of South Asia.</p><p>King Ashok ruled over the empire through the policy of Dharma, which favoured peace and social welfare. In his later life, he adopted Buddhism and spread Buddhist philosophy throughout the empire.</p><p>King Ashok spread the precepts of Dharma through inscriptions known as the edicts of Ashok which detailed the precepts of Dharma and were sent around the empire as far as the Mediterranean region.</p><figure><img alt="King Ashok" src="https://cdn-images-1.medium.com/max/1024/1*ptDfpSDnQLqDpzpYLraSdA.jpeg" /><figcaption>King Ashok</figcaption></figure><h3>57 BCE and 78 CE: Vikramaditya and the establishment of the Vikram Samvat and Shāhlivān Shaka eras</h3><p>Vikramaditya is a title adopted by emperors and not a person’s name. Many legendary emperors of Bhārat have been given this title.</p><p><strong>57 BCE — Vikram Samvat:</strong> It was the time when the Shakas were ruling parts of northern Bhārat. The Shakas were from the Persian region (modern-day Iran). It was one Vikramaditya who defeated the Shakas and thus the era of Vikramaditya was established. Many years later, this era was marked by the invention of the Vikram Samvat calendar system starting at 57 BCE. This calendar system is widely used in north Bhārat (India) and it is also the current national calendar of Nepal.</p><p><strong>78 CE — Shāhlivān Shaka:</strong> This era has a few historical accounts. One is the ascent of King Charthana and the other is to mark the defeat of Shakas by Shāhlivān. This calendar system is widely used in south Bhārat.</p><p><em>The full factual history of these two eras and the establishment of the calendars are still being researched and may therefore not be 100% accurate.</em></p><figure><img alt="Vikramaditya" src="https://cdn-images-1.medium.com/max/345/1*Zvqoufw3c5IVoeJ4wkJO6g.jpeg" /><figcaption>Vikramaditya</figcaption></figure><h3>900 CE — 1300 CE: The rise of the Cholā empire</h3><p>It is said that the Cholā dynasty was one of the longest-ruling dynasties in the world. Though the most significant period of the Cholā empire was between 900 CE and 1300 CE, it was established around the end of the Mauryan empire at around 300 BCE. The Cholās were mentioned in one of King Ashok’s edicts.</p><p>It was from 1024 CE that the empire was expanded in terms of territory and influence. The territory covered south Bhārat and Sri Lanka, however, the cultural influence expanded north of Bhārat and a lot of the South and South-East Asia region including Burma/Myanmar, Indonesia, Maldives, Cambodia, Thailand, Malaysia etc.</p><figure><img alt="The Chola Empire" src="https://cdn-images-1.medium.com/max/612/1*xrtNY6hyvQ6EzElLdLrPnw.jpeg" /><figcaption>The Cholā Empire</figcaption></figure><p>I have only covered a part of the history of empires. There are many more which were either beyond the scope of the talk or not covered due to the time restriction. Empires such as the Marāthā and the Rājput empires and many more.</p><p>Part two in the series covers <a href="https://miteshsevani.medium.com/hindu-and-bh%C4%81ratiya-history-contribution-to-science-mathematics-and-philosophy-b7222b164e29">Contribution to Science, Mathematics and Philosophy</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9558a63fd45d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Yoga for back pain, sciatica and herniated disc]]></title>
            <link>https://miteshsevani.medium.com/yoga-for-back-pain-sciatica-and-herniated-disc-154dd8cb3dd9?source=rss-6fd1a8fbb8a7------2</link>
            <guid isPermaLink="false">https://medium.com/p/154dd8cb3dd9</guid>
            <category><![CDATA[herniated-disc]]></category>
            <category><![CDATA[sciatica]]></category>
            <category><![CDATA[yoga]]></category>
            <category><![CDATA[back-pain]]></category>
            <dc:creator><![CDATA[Mitesh Sevani]]></dc:creator>
            <pubDate>Sat, 06 Feb 2021 22:07:28 GMT</pubDate>
            <atom:updated>2021-08-31T22:05:09.223Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Back Pain" src="https://cdn-images-1.medium.com/max/893/1*H7qrtZkOZwpmZAv55kIqjg.jpeg" /></figure><p>Many people experience back pain at some point in their lives, especially lower back pain. This could be for a number of reasons such as an injury or due to the fact that our lives have become sedentary. Whether that’s due to our careers working in an office environment or due to the increase in the use of technology and spending more of our time in front of a screen. To put it simply, we are not as active as previous generations and this has resulted in an increase in health issues such as back pain.</p><p>Depending on the diagnosis, professionals are likely to offer a few possible treatments such as physiotherapy, painkillers, injections and even spinal surgery.</p><p>This article is about how one can treat and overcome back pain, sciatica and/or a herniated disc (slipped disc) through yoga therapy.</p><h3>A bit of background</h3><p>During the summer of 2015, I started experiencing slight pain down the back and side of my right leg. I had an MRI scan to get an accurate diagnosis which showed a herniated disc on one of my lower back vertebrae which was touching a nerve and causing sciatic pain down my right leg.</p><p>It was suggested I get the disc surgically removed. I asked for an alternative such as physio or yoga as I did not feel comfortable with surgery on my spine, but was told they are unlikely to work due to the amount the disc had bulged out. The advice was to get this done quickly as it could get worse and lead to something more serious.</p><p>I decided not to take the doctor’s advice on this occasion and instead opted for yoga therapy.</p><h3>Yoga therapy</h3><p>Yoga is something I practice and know that there are āsanas (yoga postures) which are beneficial in managing, treating and curing lower back pain and sciatica, caused by a herniated disc.</p><p>I started practising certain āsanas daily ensuring I did not overdo it and only did as much as my body allowed. I knew it was going to be a long and slow recovery if it was to work at all.</p><h3>My routine</h3><p>NOTE: As a rule of thumb, back-pain patients should avoid forward bending āsanas.</p><h4><strong>Warm-up</strong></h4><ul><li>Loosen the joints by rotating each joint slowly</li><li>Raise the heart-beat to increase blood circulation around the body</li><li>Dynamic stretching</li></ul><h4><strong>Āsanas</strong></h4><h4><strong>Markatāsana (knee rolling/spinal twist)</strong></h4><ol><li>Lie on the back</li><li>Bend the knees</li><li>Slowly roll the knees left and right 20 times</li><li>Exhale as you lower the knees, inhale as you bring them up</li><li>After rolling, hold the Markatāsana posture for 20 to 30 seconds</li><li>Repeat on the opposite side</li></ol><figure><img alt="Markatāsana" src="https://cdn-images-1.medium.com/max/512/1*1OHqgV_5sYnccSQH9Lp1KQ.png" /><figcaption>Markatāsana</figcaption></figure><h4><strong>Makrāsana (crocodile posture)</strong></h4><ol><li>Lie on the front</li><li>This is a relaxing posture for the lower back</li><li>Spread the legs out about shoulder-width</li><li>Point the feet outward</li><li>Fold your arms and rest your head on your arms</li><li>Hold for 30 seconds</li></ol><figure><img alt="Makrāsana" src="https://cdn-images-1.medium.com/max/630/1*tuwZ9fZejH0snXB3YS3ALw.png" /><figcaption>Makrāsana</figcaption></figure><h4>Bhujangāsana 1 (cobra posture)</h4><ol><li>Lie on the front</li><li>With palms beside your chest, raise and lower the chest 20 times</li><li>Inhale as you raise your chest, exhale as you lower your chest</li><li>On the 20th rais, hold the posture for 20 to 30 seconds</li><li>Relax in Makrāsana for 30 seconds</li></ol><figure><img alt="Bhujangāsana" src="https://cdn-images-1.medium.com/max/1024/1*tLsapNtXE0xw3pvpwSlK2w.jpeg" /><figcaption>Bhujangāsana</figcaption></figure><h4><strong>Bhujangāsana 2 (cobra posture)</strong></h4><ol><li>Lie on the front</li><li>This time, put your arms behind your back with your left hand holding your right wrist</li><li>Raise and lower your chest 20 times</li><li>Inhale as you raise your chest, exhale as you lower your chest</li><li>On the 20th raise, hold the posture for 20 to 30 seconds</li><li>Relax in Makrāsana for 30 seconds</li></ol><h4><strong>Shalabhāsana 1 (locust posture)</strong></h4><ol><li>Lie on the front</li><li>Make a fist with your fingers wrapped around your thumb</li><li>Place the fists under your thighs</li><li>Raise and lower your legs 20 times</li><li>If you’re unable to raise both legs, try to raise one at a time instead</li><li>Ensure your chest and stomach remains on the floor</li><li>Inhale as you raise your legs, exhale as you lower your legs</li><li>On the 20th raise, hold the posture for 20 to 30 seconds</li><li>Relax in Makrāsana for 30 seconds</li></ol><figure><img alt="Shalabhāsana" src="https://cdn-images-1.medium.com/max/460/1*nr5fEUODgWNIBN84N4WqRg.png" /><figcaption>Shalabhāsana</figcaption></figure><h4><strong>Shalabhāsana 2 (locust posture)</strong></h4><ol><li>Lie on the front</li><li>Make a fist with your fingers wrapped around your thumb</li><li>Place the fists under your thighs</li><li>Raise and lower your chest and legs 20 times</li><li>Inhale as you rise, exhale as you lower</li><li>On the 20th raise, hold the posture for 20 to 30 seconds</li><li>Relax in Makrāsana for 30 seconds</li></ol><figure><img alt="Shalabhāsana" src="https://cdn-images-1.medium.com/max/630/1*DTqOrJyfrIT6KjnKQCMT2Q.png" /><figcaption>Shalabhāsana</figcaption></figure><h4><strong>Ekpad Kapotāsana (One-legged pigeon posture/glute stretch)</strong></h4><ol><li>Come on to your hands and knees</li><li>Bring your right knee to your right hand</li><li>Take your left leg back</li><li>Bring your right foot towards your left hand making a right angle</li><li>Push the hips down (you should feel a stretch across your glutes</li><li>Hold the stretch for 20 to 30 seconds</li><li>Repeat with the left leg</li></ol><figure><img alt="Ekpad Kapotāsana" src="https://cdn-images-1.medium.com/max/736/1*EnBoKHTgzzhnHpO-esgnuA.jpeg" /><figcaption>Ekpad Kapotāsana</figcaption></figure><h4><strong>Setubandhāsana (bridge posture)</strong></h4><ol><li>Lie on the back</li><li>Bend your knees</li><li>Raise and lower your hips 20 times</li><li>Inhale as you raise your hips, exhale as you lower your hips</li><li>On the 20th raise, hold the posture for 20 to 30 seconds</li></ol><figure><img alt="Setubandhāsana" src="https://cdn-images-1.medium.com/max/600/1*S7sTRet65Y-wEYlPMBJd-Q.jpeg" /><figcaption>Setubandhāsana</figcaption></figure><h4><strong>Shavāsana</strong> <strong>(relaxing posture)</strong></h4><ol><li>Lie on your back</li><li>Spread your legs out shoulder width</li><li>Arms slightly away from your body</li><li>Palms facing up</li><li>Head relaxed</li><li>Close your eyes</li><li>Take slow deep breaths and relax for 10 to 15 minutes</li><li>Get up by slowly rolling over on to your right-hand side into the recovery position</li><li>With the support from your hands, slowly get up in a sitting position</li><li>Slowly open your eyes</li><li>The practice is complete</li></ol><figure><img alt="Shavāsana" src="https://cdn-images-1.medium.com/max/900/1*Xqfg9oK3WsJeFb3_MfYtUQ.png" /><figcaption>Shavāsana</figcaption></figure><h3>Keep at it…</h3><p>I did the above routine every day and within two months, I had noticed the sciatic pain had completely disappeared. Although back pain does flare up every now and then (mainly through my own fault), I have not experienced any herniated disc symptoms such as sciatic pain. I am able to play sports like before without any issues and importantly, surgery was avoided on my spine.</p><p>So there you have it. If ever you are experiencing back pain or sciatica or have been diagnosed with a herniated disc, give yoga a go before having surgery.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=154dd8cb3dd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>