<?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 Disha Patel on Medium]]></title>
        <description><![CDATA[Stories by Disha Patel on Medium]]></description>
        <link>https://medium.com/@pateldisha099?source=rss-f811d8f982f1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HyCFHxyNgJymUG9qEyh2aQ.jpeg</url>
            <title>Stories by Disha Patel on Medium</title>
            <link>https://medium.com/@pateldisha099?source=rss-f811d8f982f1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 10:21:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pateldisha099/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[NVDIA Mellanox Bluefield-2 SmartNIC: Installation of Ubuntu and DOCA SDK Drivers]]></title>
            <link>https://medium.com/@pateldisha099/nvdia-mellanox-bluefield-2-smartnic-installation-of-ubuntu-and-doca-sdk-drivers-66319769c007?source=rss-f811d8f982f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/66319769c007</guid>
            <category><![CDATA[mellanox]]></category>
            <category><![CDATA[network-interface-card]]></category>
            <category><![CDATA[nvidia-bluefield]]></category>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[smart-nic]]></category>
            <dc:creator><![CDATA[Disha Patel]]></dc:creator>
            <pubDate>Sat, 19 Aug 2023 22:32:05 GMT</pubDate>
            <atom:updated>2023-08-19T22:32:05.032Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, we will explore the process of installing Ubuntu using the latest (2.0.2) BlueField Software and Drivers.</p><p>In case you are upgrading your DOCA version, it is important to uninstall the previous version before installing the newer one to avoid any issues with libraries. If you do not have DOCA installed, you can disregard this step.</p><pre>admin@server:~$ for f in $( dpkg --list | grep doca | awk &#39;{print $2}&#39; ); do echo $f ; apt remove --purge $f -y ; done<br>admin@server:~$ sudo apt-get autoremove</pre><h3>Let’s get started</h3><p>Follow the step-by-step instructions provided below to proceed with the installation process:</p><ol><li>To download the DOCA + BlueField OS Ubuntu Server 22.04 Image visit the website <a href="https://developer.nvidia.com/networking/doca">https://developer.nvidia.com/networking/doca</a>. Scroll down to the BlueField Software Tab at the bottom of the page, select version 2.0.2 from the dropdown menu, and accept the terms before the download starts.</li><li>After completing the previous step, proceed to click on the next tab labeled “BlueField Drivers” to continue. Select version 2.0.2 of the BlueField Drivers. Next, specify the OS distribution, OS distribution version, and architecture that matches your <strong>host machine</strong>. Based on your selections, you will be presented with a set of commands in Download/Documentation section.</li><li>To begin the installation process, open the terminal on your machine and execute the commands provided in the previous step.</li><li>Run the below command to install the pv package to track your installation.</li></ol><pre>admin@server:~$ sudo apt-get install pv</pre><p>5. Now there are two ways to proceed — By setting the predefined password or proceed without setting one.</p><p>5.1: Setting the predefined password:</p><p>a. Run the below command in the terminal to set the password</p><pre>admin@server:~$ openssl passwd -1</pre><p>The complete steps can be outlined as follows:</p><pre>admin@server:~$ openssl passwd -1<br>Password:<br>Verifying - Password:<br>$1$3B0RIrfX$TlHry93NFUJzg3Nya00rE1</pre><p>b. Now, add the password hash in quotes to the ‘bf.cfg’ file as demonstrated below:</p><pre>admin@server:~$ nano bf.cfg<br>ubuntu_PASSWORD=&#39;$1$3B0RIrfX$TlHry93NFUJzg3Nya00rE1&#39;</pre><p>6. Run the below installation commands</p><p>If you have not set the predefined password in the step 5.1 then you can skip the ‘ — — config’ flag in the command below.</p><pre>admin@server:~$ bfb-install --rshim /dev/rshim0 --bfb &lt;downloaded DOCA image name&gt; --config bf.cfg</pre><p>Replace the &lt;downloaded DOCA image name&gt; with the one that you downloaded in the step 1. For e.g the command may look like:</p><pre>admin@server:~$ bfb-install --rshim /dev/rshim0 --bfb DOCA_2.0.2_BSP_4.0.3_Ubuntu_22.04-8.23-04.prod --config bf.cfg</pre><p>7. It takes about 10 minutes for the installation to be finished. After the installation is finished, I would recommend waiting for an additional 5 minutes before checking if Ubuntu has been successfully installed. This extra time is essential because immediately after the installation, the system undergoes a reboot.</p><p>Once all the above steps are done you can verify the installation by trying to ping the IP address.</p><pre>admin@server:~$ ping 192.168.100.2</pre><p>On ping success, you can <em>SSH </em>into the ubuntu.</p><p>If you have already set a password in step 5.1, please use that password. Otherwise, the default password is “ubuntu.” After entering the default password, you will be prompted to change it and then log in again.</p><pre>admin@server:~$ ssh ubuntu@192.168.100.2<br>ubuntu@192.168.100.2&#39;s password:</pre><h3>Still can’t login ? Let’s debug..</h3><p>Below are the few ways to debug in case you cannot ssh into the server</p><ol><li>You can verify if the IP address 192.168.100.2 is associated with any interface (tmfifo_net0) by executing the command ifconfig. In case if the IP address is not associated with the interface then you can execute the below command to solve this problem. This step is necessary as sometimes the association of IP address and interface does not occur by default.</li></ol><pre>admin@server:~$ sudo netplan apply</pre><p>2. If you see an error that says something like this:</p><pre>&#39;@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@<br>@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @<br>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!<br>Someone could be eavesdropping on you right now (man-in-the-middle attack)!<br>It is also possible that a host key has just been changed. <br>…..&#39;</pre><p>Try execution the below command:</p><pre> admin@server:~$ ssh-keygen -R 192.168.100.2</pre><p>I hope this article helps you and if you are still facing any issues feel free to reach out to me / comment below. I will try to help as much as I can :)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66319769c007" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Three tier application using only one programming language.]]></title>
            <link>https://medium.com/@pateldisha099/three-tier-application-using-only-one-programming-language-5bf79f5c12a0?source=rss-f811d8f982f1------2</link>
            <guid isPermaLink="false">https://medium.com/p/5bf79f5c12a0</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[three-tier-architecture]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Disha Patel]]></dc:creator>
            <pubDate>Tue, 23 May 2023 06:45:39 GMT</pubDate>
            <atom:updated>2023-05-28T21:58:22.909Z</atom:updated>
            <content:encoded><![CDATA[<p>Yes, you read that right.</p><p>Traditionally developing a three tier application viz. frontend, backend and database requires proficiency in multiple programming languages for different layers of the application. However, it might be surprising to many that there are some emerging startups that are challenging this status quo by enabling developers to build all these layers using a single language. This article focuses on the pros and cons of both approaches.</p><p>A short story about how I came across these platforms:</p><p>Recently, I was asked by my friend to build a website to manage the inventory of their business. Being a full time master’s student, I was in a time crunch to deliver this within a deadline. Going by the quote by Bill Gates — “I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” — I started finding the easiest technologies that will help me build a fully functional website in a day or two. And after a while I came across Pynecone — which helps build the web apps in pure python. By being an enthusiast after seeing the new technology, I decided to start building the website using it (which can be found here <a href="https://github.com/disha-09/Pynecone_Inventory_Management">Pynecone_Inventory_Management</a> ).</p><p>Talking about the ease of development, I was able to develop a fully functional full stack application writing only 150 lines of code, using ONLY PYTHON. Crazy, right!?. Furthermore, integrating different components of the frontend with backend along with the database connectivity was easy to understand. Pynecone basically uses React and Node JS for frontend, Python for backend and built-in ORM wrapping SQLAlchemy for database in their development of this framework.</p><p>I decided to explore this topic a bit more and guess what..? Pynecone is not the only player. There are few more organizations that are coming up with something similar. Below is a list of them:</p><ol><li>Anvil: <a href="https://anvil.works/">https://anvil.works/</a></li><li>Flet: <a href="https://flet.dev/">https://flet.dev/</a></li><li>Wasp: <a href="https://wasp-lang.dev/">https://wasp-lang.dev/</a></li><li>Wagtail: <a href="https://docs.wagtail.org/">https://docs.wagtail.org/</a></li><li>Pyodide: <a href="https://blog.pyodide.org/">https://blog.pyodide.org/</a></li></ol><p>Using either a single or multiple languages for developing a three-tier application has its advantages and disadvantages. The choice of approach depends on the specific use case and how we decide to proceed. Below are few pros and cons from my lens:</p><blockquote><strong>Single Programming Language</strong></blockquote><p><strong>Pros:</strong></p><ol><li>You need to learn only one language.</li><li>Easier maintenance.</li><li>Idea to implementation in minutes.</li></ol><p><strong>Cons:</strong></p><ol><li>Limited language suitability.</li><li>Since it is still a growing concept, difficult to rely on it for a real life use case.</li></ol><blockquote><strong>Multiple programming languages</strong></blockquote><p><strong>Pros:</strong></p><ol><li>Flexibility in choosing the language based on its strengths.</li><li>Performance optimization (By using the languages optimized for specific tasks, performance can be optimized).</li></ol><p><strong>Cons:</strong></p><ol><li>Increased complexity.</li></ol><p>2. Interoperability challenges.</p><p><em>Note: I would appreciate any feedback as this is my first article that I’ve written.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5bf79f5c12a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>