<?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 Neel Ratan on Medium]]></title>
        <description><![CDATA[Stories by Neel Ratan on Medium]]></description>
        <link>https://medium.com/@neelratan-93840?source=rss-a6dcf559a52d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*3vccZfEmckGTGlcw</url>
            <title>Stories by Neel Ratan on Medium</title>
            <link>https://medium.com/@neelratan-93840?source=rss-a6dcf559a52d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 01:51:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@neelratan-93840/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[Aid development on Single Board Computer with Google Drive]]></title>
            <link>https://blog.devgenius.io/aid-development-on-single-board-computer-with-google-drive-23c208984b14?source=rss-a6dcf559a52d------2</link>
            <guid isPermaLink="false">https://medium.com/p/23c208984b14</guid>
            <category><![CDATA[troubleshooting]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[Neel Ratan]]></dc:creator>
            <pubDate>Thu, 12 Oct 2023 11:31:23 GMT</pubDate>
            <atom:updated>2023-10-12T18:34:22.035Z</atom:updated>
            <content:encoded><![CDATA[<p>Development on entry level single board computers (SBCs) such Nvidia Jetson Nano, Raspberry Pi, or Asus Tinker can be challenging due to laggy performance and occasional freezing of system. I found a workaround to this problem that can benefit you even if you are not developer when you work with multiple computer systems.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*3VRXLZnRtm26UHUf" /><figcaption>Photo by <a href="https://unsplash.com/@jeffloucks?utm_source=medium&amp;utm_medium=referral">Jeff Loucks</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>We all have used Google’s cloud storage solution that is Google Drive from time to time, but we often fail to leverage the maximum potential of tools we are provided at our disposal. This time I used it to overcome performance issue that I faced while developing a python script using <a href="https://github.com/headmelted/codebuilds">Visual Studio Code</a> (by <a href="https://github.com/headmelted/codebuilds">headmelted)</a> on a <a href="https://developer.nvidia.com/embedded/jetson-nano">Nvidia Jetson Nano</a>. Here is how I did it. I installed a Google Drive locally on my laptop and also on the Jetson Nano. Then, I moved my codebase into a folder inside the cloud drive, in that way I can edit it in the laptop and run it instantly in the Jetson Nano.</p><p>This proved to efficient enough as the codebase was designed to be run only on the Jetson Nano and without this workflow I would have being to many back and forth. Definitely using a Git based platform is another way to do it but using Google Drive saved me few additional steps for synchronizing the codebase with every change.</p><p>As Nano runs on an Linux operating system called as Linux4Tegra, based on Debian distribution. I found that <a href="https://github.com/astrada/google-drive-ocamlfuse">google-drive-ocamlfuse</a> ( by Astrada) works best for me in Linux based systems as it drive shortcuts works as expected when using it.</p><p>This is how you will need to setup this workflow. Download and install Google Drive for desktop on the more powerful system than your SBC using the following this <a href="https://www.google.com/drive/download/">link</a>. The installation is quite straight forward on a windows machine this G<a href="https://support.google.com/a/users/answer/9965580?hl=en&amp;ref_topic=10078321">oogle’s officially installation guide</a> will help you if you are confused. Then install on the SBC run the following commands.</p><pre>sudo add-apt-repository ppa:alessandro-strada/ppa<br>sudo apt update &amp;&amp; sudo apt install google-drive-ocamlfuse<br>google-drive-ocamlfuse</pre><p>A browser will pop up, login with the same Google account in which the have your codebase. Then to complete the setup run the following commands.</p><pre>mkdir -v ~/myGoogleDrive<br>google-drive-ocamlfuse ~/myGoogleDrive</pre><p>With this step your workplace is setup. The file are automatically synced, so you can now develop hassle free.</p><blockquote>Troubleshoot: When restart the cloud drive was not getting showed in the files explorer in the Jetson Nano. So you might need to run the following command on startup, or better write a script to run the command during startup.</blockquote><pre>google-drive-ocamlfuse ~/myGoogleDrive</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23c208984b14" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/aid-development-on-single-board-computer-with-google-drive-23c208984b14">Aid development on Single Board Computer with Google Drive</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup Cordova for Android]]></title>
            <link>https://blog.devgenius.io/setup-cordova-for-android-70da2970e48c?source=rss-a6dcf559a52d------2</link>
            <guid isPermaLink="false">https://medium.com/p/70da2970e48c</guid>
            <category><![CDATA[cordova]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[hybrid-app-development]]></category>
            <dc:creator><![CDATA[Neel Ratan]]></dc:creator>
            <pubDate>Sat, 19 Mar 2022 09:09:52 GMT</pubDate>
            <atom:updated>2022-03-19T09:09:52.185Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Prerequisites:<br></strong>1. Android Studio<br>2. npm package manager:</p><p>Make sure that these are installed on the system before starting the following process. If these are not installed, use the following link to download the installer packages for <a href="https://nodejs.org/en/download/">NPM</a> and <a href="https://developer.android.com/studio">Android Studio</a>.</p><ol><li>Install Cordova globally using npm</li></ol><pre>npm install -g cordova</pre><p>2. Create an example Cordova application</p><pre>cordova create myapp com.medium.myapp MyApp</pre><p>Now, we have to add Android as a platform in the Cordova application</p><p>3. Change the directory</p><pre>cd myapp</pre><p>4. Add Android as a platform</p><pre>cordova platform add android</pre><p>This will update the <em>config.xml</em> and <em>package.json</em> file.</p><p>5. Check for dependencies satisfaction</p><pre>cordova requirements</pre><p>The output from my command prompt looks something like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/737/1*RJnCRHGKA763dMpRval37Q.png" /></figure><p>This basically states that I didn’t have JDK installed and is setup for Cordova use. I have Android Studio installed but it fails to detect Gradle, which an automation tool for compiling, linking and packaging the Android application.</p><p>6. Install Java Development Kit</p><p>Use following link to download and install Java Development kit: <a href="https://www.oracle.com/java/technologies/downloads/#jdk17-windows">https://www.oracle.com/java/technologies/downloads/#jdk17-windows</a></p><p>7. Install Gradle tool</p><p>Use the following link to download the installation binary and extract it: <a href="https://gradle.org/releases/">https://gradle.org/releases/</a></p><p>9. Set Environment variables</p><p>Here we are going to add two environment variables. Create A new User Variable with key <strong>JAVA_HOME </strong>and set it’s value to the path where java is installed. It is <em>“C:\Program Files (x86)\Java\jdk1.8.0_291”</em> in my case. Notice it is one directory up where the <em>java.exe </em>is present.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*88yOvl4bGXX6f4bUfDXysA.png" /></figure><p>Set another path variable to where Gradle files were extracted. In my case it is <em>“C:\Gradle\gradle-7.4.1\bin”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/817/1*yV98L8oSQ8D79BI9FhhFfQ.png" /></figure><p>Then we have to set environment path for <strong>ANDROID_HOME</strong>, in my case it it “<em>C:\Users\muser\AppData\Local\Android\Sdk”.</em></p><p>Now, to build the android application the heap size of the build may exceed the allocated memory space for JVM. So, we need to increase the maximum allocation memory size. We will do this by adding another environment variable <strong>_JAVA_OPTIONS </strong>and set it’s value to <em>-Xmx512m</em>.</p><p>Now, if we run cordova requirements again, we should see that we satisfied all the requirements.</p><p>10. Run application</p><p>Fire up an Android emulator using AVD manager from Android Studio and run the following command.</p><pre>cordova run android</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*a0v5E6oDi9D72050-aOs4A.png" /></figure><p><em>Thanks for the read.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70da2970e48c" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/setup-cordova-for-android-70da2970e48c">Setup Cordova for Android</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Convert your React application to an Andriod/iOS app using Cordova]]></title>
            <link>https://blog.devgenius.io/convert-your-react-application-to-an-andriod-ios-app-using-cordova-87646729c2b7?source=rss-a6dcf559a52d------2</link>
            <guid isPermaLink="false">https://medium.com/p/87646729c2b7</guid>
            <category><![CDATA[mobile-app-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[android]]></category>
            <dc:creator><![CDATA[Neel Ratan]]></dc:creator>
            <pubDate>Tue, 08 Mar 2022 08:16:46 GMT</pubDate>
            <atom:updated>2022-03-08T08:16:46.129Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mbus9kfOtlG4U2brQg_0Bg.png" /></figure><p>Here, I am not talking about React Native application. If you have a React web application and you want to list your application in the App store or Google play store with minimum amount of effort, then this story is for you. Bear in mind responsiveness of the react web app will matter a lot, so if the web app works fine in smaller devices then it will make sense to convert it to a mobile application.</p><p>Although this process of converting your react application to mobile application may look overwhelming, but trust me it is quite straight-forward.</p><p>First we are going create two different applications. First one will be a Cordova application and other one will be a React application. Then we are going to merge these two applications.</p><p>Apache Cordova is basically a wrapper around HTML and JavaScript that allows web developers to build native applications for various platforms.</p><p>Let’s start.</p><p>Install Cordova</p><pre>npm install cordova -g</pre><p>Create a React application</p><pre>npx create-react-app pure-react</pre><p>or</p><pre>yarn create react-app pure-react</pre><p>Create a Cordova application</p><pre>cordova create ReactCordova</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TJ9dLZ0yBhbpYMkk_SVRrg.png" /></figure><p>This should be the structure of the two projects inside a folder.</p><p>We should now test the react app.</p><pre>$ cd pure-react<br>$ npm start</pre><p>Now if we visit the url <a href="http://localhost:3000.">http://localhost:3000.</a> We should see the react test page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eOcKWlgWNuoyeIEgwCQaog.png" /></figure><p>After all has been setup we will merge these two project manually.</p><p>First, we need to copy the the <em>scripts</em>, <em>dependencies</em>, and <em>browserList, </em>from inside of the <strong>pure-react/package.json </strong>and paste it inside the <strong>ReactCordova/package.json</strong>.</p><p>The resulting file <strong>ReactCordova/package.json</strong> should look like this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/59b2680ae28983a595a34aa6a63a4f96/href">https://medium.com/media/59b2680ae28983a595a34aa6a63a4f96/href</a></iframe><p>We should move the <strong>pure-react/public/</strong> and <strong>pure-react/src</strong> folders into the <strong>ReactCordova/</strong> folder.</p><p>Now the project structure should look like this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qvda7X_em5gODJHB-CZ0aw.png" /></figure><p>As we have new dependencies inside the <strong>ReactCordova/package.json </strong>we will install them inside our project.</p><pre>$ cd ReactCordova/<br>$ npm i</pre><p>And, once again if we run</p><pre>$ npm start</pre><p>we should see react test page, but this time from inside the Cordova application project. This is due to we migrate all the bare minimum to run the react application inside the Cordova app folder.</p><p>Now, let’s add some meta tags to the <strong>public/index.html </strong>inside the &lt;head&gt;.</p><pre>&lt;meta http-equiv=&quot;Content-Security-Policy&quot; content=&quot;default-src &#39;self&#39; data: gap: https://ssl.gstatic.com &#39;unsafe-eval&#39; &#39;unsafe-inline&#39;; style-src &#39;self&#39; &#39;unsafe-inline&#39;; media-src *; img-src &#39;self&#39; data: content:;&quot;&gt;</pre><pre>&lt;meta name=&quot;format-detection&quot; content=&quot;telephone=no&quot;&gt;</pre><pre>&lt;meta name=&quot;msapplication-tap-highlight&quot; content=&quot;no&quot;&gt;</pre><pre>&lt;meta name=&quot;viewport&quot; content=&quot;initial-scale=1, width=device-width, viewport-fit=cover&quot;&gt;</pre><p>Then we need to inject the <strong>cordova.js </strong>script in our <strong>public/index.html</strong> file.</p><p>Add the following lines before the <em>&lt;/body&gt;</em> tag in <strong>public/index.html</strong>.</p><pre>&lt;script src=&quot;cordova.js&quot; type=&quot;text/javascript&quot;&gt;&lt;/script&gt;</pre><p>We need to make sure that the React DOM is loaded after Cordova script is loaded in the document. So edit the <strong>src/index.js</strong> file in the following way. We will create a function <em>renderReactDom</em> and call it on a listener i.e. <em>deviceready</em> is triggered.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d48725416eaa80679d6e9c892db30a9a/href">https://medium.com/media/d48725416eaa80679d6e9c892db30a9a/href</a></iframe><p>In the next step we will change the absolute paths of the JavaScript and CSS files. For this, you only need to add following line in the <strong>package.json</strong>.</p><pre>&quot;homepage&quot;: &quot;./&quot;</pre><p>Now, as the codebase in JSX and ES6 cannot be directly used in the Cordova app. So, the React application need to be build and packaged for production use, which will be used by Cordova application.</p><p>We need to build the React application before the Cordova application. To perform this add the following line in the <strong>config.xml</strong> file below the tag <em>&lt;widget&gt;</em>.</p><pre>&lt;hook type=&quot;before_prepare&quot; src=&quot;scripts/prebuild.js&quot;/&gt;</pre><p>As, the prebuild.js is a custom script that will perform the build of React app. We need to add this script to the project. Create a <strong>scripts </strong>folder and add the following file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3ae2e3c210de3be6dfe6d40a49992954/href">https://medium.com/media/3ae2e3c210de3be6dfe6d40a49992954/href</a></iframe><p>Also, install the dependency for the <strong>prebuild.js</strong> script.</p><pre>$ npm i rimraf</pre><p>Everything is set and we ready to run our react application inside an Android emulator.</p><p>Run the following commands in the terminal to fire up the Cordova app in Android emulator. Make sure the emulator is up and running before executing the following commands.</p><pre>$ cordova platform add android<br>$ cordova run android</pre><p>That is it. You are now running React as an android application created by Cordova.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*RumH2GLc3nYSgKNX6q2eCg.gif" /></figure><p><em>Thanks for the read.</em></p><p><em>Subscribe to my newsletter to get all my updates. </em><a href="https://neelratan-93840.medium.com/subscribe"><em>https://neelratan-93840.medium.com/subscribe</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87646729c2b7" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/convert-your-react-application-to-an-andriod-ios-app-using-cordova-87646729c2b7">Convert your React application to an Andriod/iOS app using Cordova</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Deploy Flask server to an EC2 instance]]></title>
            <link>https://blog.devgenius.io/deploy-flask-server-to-an-ec2-instance-13e1a26bc7c9?source=rss-a6dcf559a52d------2</link>
            <guid isPermaLink="false">https://medium.com/p/13e1a26bc7c9</guid>
            <category><![CDATA[flask]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Neel Ratan]]></dc:creator>
            <pubDate>Fri, 25 Feb 2022 02:19:12 GMT</pubDate>
            <atom:updated>2022-02-26T15:53:02.585Z</atom:updated>
            <content:encoded><![CDATA[<p>More than hundreds of thousands of companies have reported to be using Flask in their technology stack. Uber, Airbnb, Netflix, Uber, Lyft, and Reddit are one of those company. Pinterest have reported to be using entire backend API framework using Flask application.</p><p>Flask is a microframework, which means that it is very lightweight because it does not by default include various modules for authorization, encryption, rate limiting, etc. Good thing is that you can setup these module in you application manually, which may sound as a hassle but the truth is they are quite easy to setup and gives application development a lot of flexibility.</p><p>Using EC2 cloud service is one of the way to deploy your Flask application. Using EC2 service give you a lot of flexibility in managing and packaging you application.</p><p>If you are new to EC2 services you should go through my other story of starting an EC2 instance, then you can come back to this story to complete the rest of the process.</p><p>Link: <a href="https://neelratan-93840.medium.com/setup-an-ec2-instance-with-ubuntu-20-04-server-552c6530bb7c">https://neelratan-93840.medium.com/setup-an-ec2-instance-with-ubuntu-20-04-server-552c6530bb7c</a></p><p>If you have an EC2 instance running with Ubuntu Server 18.04/20.04 OS, then we can start right away.</p><p>First, let us update the Linux packages.</p><pre>$ sudo apt-get update<br>$ sudo apt-get upgrade -y</pre><p>Install python3</p><pre>$ sudo apt-get install python3 python3-pip -y</pre><p>Install virtualenv</p><pre>$ pip3 install virtualenv</pre><p>Install Apache web server</p><pre>$ sudo apt-get install apache2 libapache2-mod-wsgi-py3 -y</pre><p>Create folder of our Flask project</p><pre>$ mkdir ~/flaskapp<br>$ sudo ln -sT ~/flaskapp /var/www/html/flaskapp<br>$ cd ~/flaskapp</pre><p>You can verify proper installation of Apache server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/987/1*2y_tgdQwZgIenPKBSvVjgg.png" /></figure><p>You can copy and paste the public IP address in the address box of a browser. You should see a page like this below. If not, probably the Inbound access to the HTTP is not allowed. To fix this click on Security tab as shown in the image above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6xxzbnKKaoPfSBkOSrGnA.png" /></figure><p>Then click on the security group name in the select EC2 instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*3JU1WJvjkA2PkFi81wKG8Q.png" /></figure><p>Then click on <em>Edit inbound rules</em> button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YcQmkZvzA6muLR-p4rSYLw.png" /></figure><p>Here click on <em>Add rule </em>to add a two new rule of HTTP with source selected as <em>Anywhere-IPv4 </em>and <em>Anywhere-IPv6.</em> Click to <em>Save rules</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UMSbuku_tx5MbQzi8KEI5w.png" /></figure><p>Try again should to see the apache default test webpage.</p><p>Make a Python3 virtual environment</p><pre>$ python3 -m virtualenv venv</pre><p>Activate the virtual environment</p><pre>$ source venv/bin/activate</pre><p>Install Flask</p><pre>$ pip3 install flask</pre><p>Now, we need to create two files. One is <strong>app.py</strong> and other is <strong>app.wsgi</strong>. You can either use nano or vim editor as per your choice.</p><p>Paste the following codes in each file.</p><p><strong>app.py</strong></p><pre>from flask import Flask<br>app = Flask(__name__)</pre><pre>@app.route(&#39;/&#39;)<br>def hello_world():<br>    return &#39;Hello, World!&#39;</pre><pre>if __name__ == &quot;__main__&quot;:<br>    app.run()</pre><p><strong>app.wsgi</strong></p><pre>activate_this = &#39;/home/ubuntu/flaskapp/venv/bin/activate_this.py&#39;</pre><pre>with open(activate_this) as f:<br>    exec(f.read(), dict(__file__=activate_this))</pre><pre>import sys<br>import logging<br>logging.basicConfig(stream=sys.stderr) sys.path.insert(0,&quot;/var/www/html/flaskapp/&quot;)</pre><pre>from app import app as application</pre><p><em>Note: Carefully pay attention to the path you are adding to activate_this variable. It can differ w.r.t. the folder that you create.</em></p><p>Edit Apache configuration file</p><pre>$ sudo nano /etc/apache2/sites-enabled/000-default.conf</pre><p>Paste the following lines below <em>DocumentRoot /var/www/html</em></p><pre>WSGIDaemonProcess flaskapp threads=5<br>WSGIScriptAlias / /var/www/html/flaskapp/app.wsgi </pre><pre>&lt;Directory flaskapp&gt; <br>    WSGIProcessGroup flaskapp <br>    WSGIApplicationGroup %{GLOBAL}<br>    Order deny,allow <br>    Allow from all<br>&lt;/Directory&gt;</pre><p>Then save the file and run the following command in the terminal to restart the Apache server.</p><pre>$ sudo service apache2 restart</pre><p>That’s it. Pasting the the public IPv4 address in the browser should show you the output from our Flask application.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/511/1*XbJE6A6OAlH7sbJ4keSOXA.png" /></figure><p>If you are having trouble with Apache web server. You can use the following command to debug the application. It will show outputs both from Apache and Flask application.</p><pre>$ sudo tail -100 /var/log/apache2/error.log</pre><p><em>Thanks for the read.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=13e1a26bc7c9" width="1" height="1" alt=""><hr><p><a href="https://blog.devgenius.io/deploy-flask-server-to-an-ec2-instance-13e1a26bc7c9">Deploy Flask server to an EC2 instance</a> was originally published in <a href="https://blog.devgenius.io/">Dev Genius</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setup an EC2 instance with ubuntu 20.04 server]]></title>
            <link>https://neelratan-93840.medium.com/setup-an-ec2-instance-with-ubuntu-20-04-server-552c6530bb7c?source=rss-a6dcf559a52d------2</link>
            <guid isPermaLink="false">https://medium.com/p/552c6530bb7c</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[putty]]></category>
            <category><![CDATA[ubuntu-server]]></category>
            <category><![CDATA[ec2-instance]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Neel Ratan]]></dc:creator>
            <pubDate>Tue, 08 Feb 2022 01:53:31 GMT</pubDate>
            <atom:updated>2022-02-08T01:53:31.511Z</atom:updated>
            <content:encoded><![CDATA[<p>EC2 (Elastic Compute Cloud) instances are AWS cloud computing service which are basically virtual machine running in cloud (this is also option of bare-metal). There are various type of EC2 which are either general, memory, storage, or GPU centric. You can also configure number of CPUs, amount of RAM, storage, and networking and tailor it to you need.</p><p>EC2 also supports Microsoft windows as the operating system. In this story I will cover setting up Linux operating system.</p><p><strong>Step 1</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3MKcI0I2fmccDCGS47JBtg.png" /></figure><p>Search for EC2 in the AWS search bar and select EC2 in the Services column.</p><p><strong>Step 2</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/1*PavC3exQ9bEqrkLirbwo3g.png" /></figure><p>Click on Launch instances in the top right side of the web page</p><p><strong>Step 3</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8uXMa_QPDzbvtw6GtIx7Lw.png" /></figure><p>Type “<em>ubuntu server</em>” in the search bar and then select Ubuntu Server 20.04 LTS (HVM), SSD Volume Type with 64-bit (x86) Processor. Ubuntu Server 20.04 is the latest version available for the flavor Ubuntu.</p><p><em>Note: Sometimes you find it difficult to setup a package in Ubuntu Server 20.04. Then you can downgrade to 18.04 LTS version of Ubuntu Server.</em></p><p>It is better to select x86 processor because I am assuming you are going to use the server for development or deployment and most packages are built for x86 processor. There are some software packages that are specifically built for Arm processors. At that time you can select Arm</p><p><em>Note: I will recommend to stick to the Free tier eligible AMIs for the beginners so that you do not incur any heavy charges. If you are careful enough and stop the instances when they are not in use you may even not have to pay a single dime for the first year of the account creation.</em></p><p><strong>Step 4</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7RHAOVYd64VW-01giQu9pQ.png" /></figure><p>Make sure the checkbox is selected in the t2.micro EC2 instance type. This EC2 type has 1 virtual CPU and 1 GB of RAM. The CPU is virtual because the instance is setup on a hypervisor which enables AWS to create these virtual machines. There are more than a handful of options to select from, selecting a type mainly depends upon the configuration of CPU, RAM and Network Performance. When you are starting new you should always select t2.mirco at the drop of the hat. Selecting EBS only with allow you only one EBS volume. Select SSD type volumes will allow you multiple ephemeral SSD volumes.</p><p>If you want to explorer different EC2 types go through the following links.<br><a href="https://aws.amazon.com/ec2/instance-types/">AWS doc</a><br><a href="https://instances.vantage.sh/">Comparisons</a></p><p><strong>Step 5</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*9FFC94mMqryHMO5KSHWe9w.png" /></figure><p>In the <em>Configure Instance Details </em>section we don’t have to make any changes. However I will give a rundown of available settings in brief. These are quick introduction to different concepts of AWS service. These are optional to know.</p><p>We can set the <strong>Number of instances</strong> with will be launch with this current configuration. <strong>Request Spot instances</strong> is the option to pay AWS upfront to reduce cost incurred in a longer run. In <strong>Network</strong> we can select the default <strong>VPC</strong> i.e. Virtual Private Cloud. It is basically a fancy way of configuration your private cloud network among different resources and manage the connectivity. We can select different <strong>Subnet</strong> in your VPC. <strong>Auto-assign Public IP</strong> give us option of auto assign an Public IP through which our EC2 will be reachable from the internet or later we can assign our own elastic IP address.</p><p>All EC2 instance are spread across different hardware in the server center. <strong>Placement groups</strong> are to place interdepended EC2 instance together in hardware available to reduce risk of downtime.</p><p><strong>Capacity Reservation</strong> of EC2 instance in a specific Availability Zone, upside of this in contrast to Reserved Instance and Saving Plans that it does not require 1–3 years of commitment to the plan. It can created any time. Good for handling predicted seasonal increase of traffic. Downside is that it does not gives benefits of having a discounted price.</p><p><strong>Domain join directory</strong> is a feature that is helpful for enterprises where it allow user on same authorization level to have access to data made available to that authorization group.</p><p>When an <strong>IAM Role </strong>is selected, it is attached to the your EC2 resource. This IAM Role manages the authorizations of the EC2 instance.</p><p>Configure <strong>Tenancy </strong>to determine if the instance runs of shared hardware, dedicated single tenant hardware, or dedicate physical hardware.</p><p>Amazon Elastic <strong>Inference</strong> allows you to attach low-cost GPU-powered acceleration to Amazon EC2 and Sagemaker instances or Amazon ECS tasks, to reduce the cost of running deep learning inference by up to 75%. Amazon Elastic Inference supports TensorFlow, Apache MXNet, PyTorch and ONNX models. This is straight from AWS documentation, which means you can run Deep Learning models in your instance with reduced cost.</p><p>In <strong>User Data </strong>you can write your script outside the instance, which can be on EC2 spin up. This is very helpful in scaling your EC2 resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/945/1*R3AlDIozPyFh6NYc0_EkAQ.png" /></figure><p>As we select t2.micro instance with only EBS only storage we will get one storage volume. We can select the type of EBS volume it can be General Purpose SSD (cost effective), Provisioned IOPS SDD (High I/O capability), or Magnetic Storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*NZfQyy2DaY7PmVvQXBYNBg.png" /></figure><p>AWS Tags for labels assigned to your resources. This help to monitor the cost and the resource.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/947/1*7Oi-r4RXTatelP8o7yrviQ.png" /></figure><p>We are going to access our instance with SSH connection from a terminal. So Select <em>Create a new security group </em>and add a single rule with type <em>SSH </em>and select Source <em>My IP. </em>This will make the instance be accessible using SSH from our computer only. If your IP is not static, you can also select <em>Anywhere </em>but later make sure you change the settings back to custom or My IP in the security group dashboard for security reasons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*4TRV1rV40ob4ObUlIAlxEg.png" /></figure><p>We have everything set. Click on <em>Launch</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/875/1*uzP-HdHKS8pkxrKReZa2RA.png" /></figure><p>We will get an option to select <em>Create a new key pair </em>and give key pair a name as I have given <em>file-share.</em></p><p>Click on the <em>Download Key Pair</em>. Save the key pair securely on the computer. Then, Click on <em>Launch Instance</em>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/835/1*4spToPzwPEpZFtxYBHFcEQ.png" /></figure><p>Once it says that Your instances are now launching, we should click on the Instance ID as marked in the image above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PPLO6nW_uLqbZx3BQ3Tjcw.png" /></figure><p>This is open EC2 dashboard. Here we can see that it shows <em>Initializing</em> in the <em>Status check. </em>This is take some minutes before it get completely initialized.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aR2a59zYHRx7Sb4BOYLGVA.png" /></figure><p>We should refresh the page after some minutes. When the <em>Status check </em>shows checks passed, we can connect to our instance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LcGgZ2Ymb-VhfTJ_3xH9qg.png" /></figure><p>Click on the check box on the left and click on the <em>Connect</em> button.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1018/1*urk-yuHfr0ijUHKEeqYhRQ.png" /></figure><p>This will open <em>Connect to instance</em> dialog. Click on the <em>Connect</em> button and a new page will be open with linux terminal in web page.</p><p>We have successfully setup our EC2 service with Ubuntu Server 20.04.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/961/1*ox3IBgySydBfIgAg0oQI6w.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=552c6530bb7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Influencers to follow for a strong financial mindset]]></title>
            <link>https://neelratan-93840.medium.com/influencers-to-follow-for-a-strong-financial-mindset-7607223a8ba3?source=rss-a6dcf559a52d------2</link>
            <guid isPermaLink="false">https://medium.com/p/7607223a8ba3</guid>
            <category><![CDATA[finance-management]]></category>
            <category><![CDATA[influencers]]></category>
            <category><![CDATA[crytocurrency]]></category>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[finance]]></category>
            <dc:creator><![CDATA[Neel Ratan]]></dc:creator>
            <pubDate>Mon, 31 Jan 2022 02:55:48 GMT</pubDate>
            <atom:updated>2022-01-31T02:55:48.636Z</atom:updated>
            <content:encoded><![CDATA[<h3>Influencers to follow for financial mindset</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*F9KX_dfqOqR_wlxl" /><figcaption>Photo by <a href="https://unsplash.com/@matcfelipe?utm_source=medium&amp;utm_medium=referral">Mateus Campos Felipe</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>As a teenager who as born in early 90’s, I have seen debatable amount difficulty in finding the right resources and exposure to learn. This resulted in being mediocre in at things that you really want to improve but eventually have to means to know how to keep getting better or worst not knowing if you are going in a right trajectory or not.</p><p>Well, those dog days are over. Now you can learn to be great at something from the very best. There is wide range of influencers from newbies to veterans in almost field that to want to get better at.</p><p>For this story I am including only the the influencers who has a YouTube channel.</p><p>You let’s dive into the influencers you can follow in the finance to get inspired.</p><ol><li><strong>Graham Stephen</strong></li></ol><p>He dropped out of college because as the says he knows that he was not great at studies. But, he knew that at a very young age that he could really money without needing a college degree. He then start as real estate realtor and made his way now real estate investor, with more than a million invested in multiple properties. That this time he is aged at 30 with 7 million dollars of net worth.</p><p>It not about the figure. He has really got some good insight on how investing should be done. Well most Fin-tubers will be able to give you a great amount of knowledge on stocks and crypto, a few had their mantle tested in real estate. Graham Stephen will also give you a great insight in real estate as well.</p><p><a href="https://www.youtube.com/c/GrahamStephan"><em>Channel link.</em></a></p><p>2. <strong>Andrei Jikh</strong></p><p>Is is also self made millionaire. As he describe as growing up his family did not have all the wealth that he has now. He didn’t inherit much from his parent. They are a circus performer who moved from Russia to US. Andrei also started his career in circus by performing magic shows. Thus, the first started his his first YouTube channel in which he performed magic tricks. The quit that and focused on film making. Now in the past few year his fan base has grown exponential in after he start another channel which has plethora of video with montage of him performing tricks, aesthetic camera works, and him talking about personal finance. He talk about a wide range of topics from macro-economy, stocks, crypto-currencies and mortgages. His catch phrase “Come for the finance and stay for the magic” certainly has some ring to it.</p><p><a href="https://www.youtube.com/c/AndreiJikh"><em>Channel link.</em></a></p><p>3. <strong>Stoic Finance</strong></p><p>This channel may seems like pro-crash initially. But the information provided here is unmatched with any other channels. They do a daily update for all the major business and political incidents that directly or indirectly is tied to the economy. With their updates you are bound to learn few things everyday. Although this channel focuses on their point of view how things will turn out in the financial space, you get an all-round of perception of all the sentiments round the global and across different markets by going through some of their videos and others.</p><p><a href="https://www.youtube.com/c/StoicFinance"><em>Channel link.</em></a></p><p>4. <strong>Then financial diet</strong></p><p>This is more a financial lifestyle channel which talk about ways to manage your personal finance, monthly budgeting, credit cards, money habits, smart ways for saving, organizing workspace and home, unfair policies by conglomerates, and self-care. This is really a wide variety of topics, I am sure there are a handful of good advices to pick from each topic.</p><p><a href="https://www.youtube.com/c/thefinancialdiet"><em>Channel link.</em></a></p><p>5. <strong>Nate O’Brien</strong></p><p>Nate O’Brien has a YouTube channel that talks about productivity, minimalism and personal finance. He started walking down the roads of entrepreneurial life style at a very early stage in the age of 12 by starting a lawn mowing business with his brother. Then he was involved in few other business models. He finally made this fortune with this YouTube channel. Now he has 1.2M subscriber and this net worth is 3 millions US dollars.</p><p>Now he talks about living the life in our terms, retiring early, traveling around, and having financial freedom to be able to do that, .</p><p><a href="https://www.youtube.com/c/NateOBrien"><em>Channel link.</em></a></p><p>Thanks for the read. Subscribe to my newsletter to get all my updates. <a href="https://neelratan-93840.medium.com/subscribe">https://neelratan-93840.medium.com/subscribe</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7607223a8ba3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mantras to stick by in your early days of investing]]></title>
            <link>https://neelratan-93840.medium.com/mantras-to-stick-by-in-your-early-days-of-investing-69bf461ffaa8?source=rss-a6dcf559a52d------2</link>
            <guid isPermaLink="false">https://medium.com/p/69bf461ffaa8</guid>
            <category><![CDATA[trading]]></category>
            <category><![CDATA[investing]]></category>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[warren-buffett]]></category>
            <category><![CDATA[beginner]]></category>
            <dc:creator><![CDATA[Neel Ratan]]></dc:creator>
            <pubDate>Thu, 27 Jan 2022 02:20:41 GMT</pubDate>
            <atom:updated>2022-01-27T02:21:12.963Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Make mistakes, make lots of them but make small mistakes. Ones that doesn’t harm you.</em></p><p>It is true that many new comer <a href="https://www.cnbc.com/2020/09/21/many-people-turn-to-day-trading-in-pandemic-few-will-be-a-winners.html">investors drop out within a year of investing</a>. On a average more than half off new comers will close their trading year in a loss and they will hit they hay for the rest of their life.</p><p>My suggestion to fix is this to earn a profit through out you life is to know which cognitive biasness you should rely on. Hindsight biasness can the most damaging of all. As soon as you predict about an outcome of the market and it comes true you start to believe that you know it all along and your start to make big bets. Then your luck runs out and you take some major tolls that even erodes your previous gains.</p><p>But some biasness can prove to beneficial for you such as anchoring or focalism. There are few things that are unchanging and stick out like a sore thumb who’s is name <em>principles, </em>these<em> principles </em>are timeless as you see great analysts and investors stick by it. So these principle/anchors/mantra will help you to get by the rough sea of initial terms of investment where a bad decision can set you a few years back.</p><ol><li><strong>You make profit when you buy</strong></li></ol><p>Don’t be confused at it. You make capital gains on your assets when you sell them. But, buying high and selling low is not the answer. Do this only when you have a short term goal.</p><p>2. <strong>Don’t time the market</strong></p><p>Time in the market beats timing the market. Studies have shown that even missing out 5 best days in the market over period of 20 years can have substantial lesser gain. It is very difficult to time the market. Buying only when you see a dip in the market seems like a good strategy, then the dip of the dip comes by. When you think it could not go any further down then comes mother of dips. Market goes through small correction every 12–14 months, a major correction every 3–5 years, and mother of all corrections about 20–25 years. Then there is always an uncertainty if the pattern will be same. The point is you may never know which one is it.</p><p><em>Do the cost-averaging.</em></p><p>That is you invest a fix amount of money at fix interval of time (weekly or monthly).</p><p>3. <strong>Snowball effect</strong></p><p>Compounding is truly 8th wonder of the world, doesn’t matter who said it. As snowball effect says, if you start from ground zero you invest a small amount. As you keep investing in a small amount routinely and whatever profit you make reinvest them. You will being to see more money starts to pull more money, that more money starts to pull even a bigger amount than before. Finally, you will realize your snowball of investment is so big that it is now difficult to stop. Don’t take from me, take it Warren Buffet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*C-I23M2tenT0VrFU" /><figcaption>Photo by <a href="https://unsplash.com/@micheile?utm_source=medium&amp;utm_medium=referral">Visual Stories || Micheile</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>4. <strong>It is difficult to beat the market. Be the market.</strong></p><p>What is beating the market means? Their are various board index funds and their are sectorial or themed index funds. Here I am talking about the board index funds only. Most countries with stock exchange have one or more index funds, such US has Dow Jones Industrial Average, S&amp;P 500, and Nasdaq, India has Nifty 50, and Sensex, and Singapore has SGX. These are funds that has various stocks in their listing which is well diversified across the market. It is difficult for most people to handpick a group of stock to invest and earn more profits that these index fund. It is better to start by investing in these index funds.</p><p>I really hope that this will helpful for you. Sometimes to really appreciate the good you should see know the bad, so may be read this articles again later if you feel the pain of taking losses.</p><p><a href="https://neelratan-93840.medium.com/subscribe">https://neelratan-93840.medium.com/subscribe</a></p><p>Thanks for read. If you want to read more of my articles you can subscribe to my newsletter from the link above.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=69bf461ffaa8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS: Use PuTTY to login to EC2 instance]]></title>
            <link>https://neelratan-93840.medium.com/aws-use-putty-to-login-to-ec2-instance-f8eae42466ad?source=rss-a6dcf559a52d------2</link>
            <guid isPermaLink="false">https://medium.com/p/f8eae42466ad</guid>
            <category><![CDATA[putty]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[pem]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[ssh]]></category>
            <dc:creator><![CDATA[Neel Ratan]]></dc:creator>
            <pubDate>Mon, 24 Jan 2022 00:29:50 GMT</pubDate>
            <atom:updated>2022-01-24T00:29:50.576Z</atom:updated>
            <content:encoded><![CDATA[<p>When you AWS EC2 service for cloud computing using Linux you will have the availability of Linux terminal to setup your whole service. The process of getting an SSH access to the terminal is different in Windows and Linux system. This story cover the details to get an SSH access for a Windows operating system using PuTTY, a multi-solution package for Secure shell protocol (SSH), and Teletype Network Protocol (Telnet).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*eo5FkV4I4m41thDo2-KJRg.png" /></figure><p>At the end of the wizard for creating of an EC2 instance will you get the page where you can create a new RSA key pair for SSH or use an existing one. Either way you will have a downloaded key pair in .pem file type.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*54vxyPToVNCB8rbSKo-lNw.png" /></figure><p>First thing we need to do is to convert the key pair into a key file type that is supported by PuTTY. PuTTY has is developed it’s own file type i.e. PuTTY Private Key (PPK). We can convert the .pem file to .ppk file using PuTTYgen that is a side installation software with PuTTY.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*LSrpHEpcUVIxz5fzy7kPVQ.png" /></figure><p>We should click on the Load button in the PuTTYgen to open the .pem file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*DG9E0e2BU4tElXWBfiv5eA.png" /></figure><p>After that click on Save private key to save the key in .ppk format. Remember that a private key or pem key pair should not be shared and should be stored secure as it gives admin level access to your service.</p><p>For additional security we can add a passphrase before saving but for now we will skip it. If a windows prompts to warn that we are saving the file without passphrase set, we can skip it for now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u3w0QvpR_H5Gp4v2qhOayg.png" /></figure><p>Click on Connect button in the EC2 dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1014/1*8taK9joYPGaMLwCcAXZwDQ.png" /></figure><p>Here we will find the public IP address and user name we need to using while login from SSH terminal. Copy this IP address and paste it in PuTTY’s Host name input in the Session tab.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*OO_fP700xEphTaFnwyG2VQ.png" /></figure><p>Then, Connection &gt; SSH &gt; Auth tab</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/602/1*KBKcQHM9LIwwYGKeJwAnYA.png" /></figure><p>Click on Browse to select the save .ppk file and click on Open. This will open a SSH terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*Zp0HalqGGIIoK7Fyuj9oCA.png" /></figure><p>Use the user name provided in the EC2 connect dashboard. In my case this is ‘ubuntu’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/825/1*GETkHmRlAzmMHhgvRYFo6Q.png" /></figure><p>After authentication we now have access to Linux terminal of the EC2 instance.</p><p>Thank you for the read.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f8eae42466ad" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A “Brave” new web browser that pays user]]></title>
            <link>https://neelratan-93840.medium.com/a-brave-new-web-browser-that-pays-user-91a333e0a745?source=rss-a6dcf559a52d------2</link>
            <guid isPermaLink="false">https://medium.com/p/91a333e0a745</guid>
            <category><![CDATA[earn-money-online]]></category>
            <category><![CDATA[cryptocurrency]]></category>
            <category><![CDATA[basic-attention-token]]></category>
            <category><![CDATA[online-marketing]]></category>
            <category><![CDATA[brave-browser]]></category>
            <dc:creator><![CDATA[Neel Ratan]]></dc:creator>
            <pubDate>Sun, 28 Feb 2021 09:54:27 GMT</pubDate>
            <atom:updated>2021-02-28T09:54:27.293Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xj6u-z60poszeyFZID_x7Q.jpeg" /></figure><p>Big companies and organizations such as Microsoft, Twitch, KFC and Etsy are supporting the crypto market by accepting payments in digital coins already in some parts of the world. Doesn’t matter if you are fond of cryptocurrencies, you are going to own many in the coming future. In fact, You can own one crypto asset right today.</p><p>Releasing a new web browser might seem like wasteful effort in already saturated market by Google’s Chrome and Apple’s Safari. As, Chrome currently has established 77% of the market and the runner up Safari hold the 8%, followed by string of small chunks of shares by other browsers. But, the new kid in block — <strong>Brave web browser</strong> has some tricks up it’s sleeves.</p><h3>What is Brave Browser?</h3><p>From the guy who gave the world JavaScript and Firefox — Brendan Eich, comes a user’s privacy-centric browser that disables trackers and ads and pays user for viewing Brave ads. This a disruptive market strategy, where the Brave team is leveraging the power of Cryptocurrency and the need of privacy where users are constantly being tailed to earn profits. It is redefining the experience of browsing by paying users in Basic Attention Token (BAT). Users getting paid money for seeing ads seem right because companies have made billion dollar industries of out it but most of the users get a little to none.</p><p>Brave Browser comes with a crypto wallet that stays on your computer or mobile phone, which gets added with more assets when a user opts to view these ads discreetly. User can transfer their fund to an Uphold account from where they can convert it to the currency of desire.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f0I7duwtFOdQj1Ochu25Cg.png" /><figcaption>Brave browser user interface</figcaption></figure><p>The application UI is very similar to that of Google Chrome, and that is because it is based on an open-source project called as “Chromium”. The same framework that Chrome is also based upon. Therefore, this uncanny resemblance makes it very easy for the Chrome users to get familiarized with it quickly. For non chrome users, there would not be much of a difference as Brave follows the basic design paradigm of most web browsers.</p><h3>Upsides</h3><p>Apart from being getting paid, is it really worth it to use Brave as your daily browser?</p><p>A comparison between Brave and other browsers heads on in terms of speed, Brave rises as victorious. At least, that is what they claim. Brave claims that it achieve faster speed than others by disabling trackers and ad scripts, which reduce the page loading time and is less extensive when it comes to RAM consumption. I didn’t noticeably see a difference, but I didn’t have any complaints either regarding this. But, I did notice relatively lesser RAM consumption by the browser which is definitely a big upside for many.</p><p>There are few more features that set it apart from the giants. Brave browser has in built Tor Onion service. That means you can open a tor tab and take your privacy to a level above. Tor enables the user to be in the blindsight of your Internet Service Provider (ISP), such as your workplace and school. However, this service still has some bugs since in February 2020 it was discovered that Brave was unintentionally exposing Tor users IP addresses. It will take some amount of time for user to feel confident before using this feature as the security fixes are coming up.</p><p>In January 2021, Brave announced that they have now integrated Inter-Planetary File System (IPFS) which is different than how usual internet works. IPFS is a peer-to-peer hypermedia protocol built to make internet decentralized. Means when a user loads a page, it can be reached through multiple nodes available instead of just one centralized server. This increases the availability of a content and offloads server costs.</p><p>Lastly, if you are someone who uses chrome extensions on daily basis then you need not to think twice about it. As, all chrome extensions work on Brave. Extensions can be added to the browser from Chrome Web Store.</p><h3>Catches</h3><p>I am not trying to oversell anything. Just stating the facts for what it is. Many people would switch to Brave just for the incentives. So, can you actually make money with it?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*boenBrTiEgcjFeSRQRyUZA.png" /><figcaption>Brave Rewards wallet</figcaption></figure><p>I have been using Brave for a month now. During this time, I have managed to collect 3.085 Basic Attention Token (BAT) and 2.89 Basic Attention Token (BAT) on my other computer. Which Equates to roughly 3 dollars in a month. That doesn’t seem that bad but honestly also not that great considering the fact that there will be some commission by the Uphold account the total amount will be reduced.</p><p>Also not to forget that as BAT is a cryptocurrency, it’s value to a dollar tends to change over time depending on how many people are betting their money on BAT.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/946/1*1EiTfRTSYokq5O7hRy6DnA.png" /></figure><p>Since, a year the asset value has increased but the user and content creator will make a significate amount of money only when the value increases by a margin. For, that it has to beat the popular browsers in terms of usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VTYUFWdeeSgaXH_PZNSjgw.png" /><figcaption><strong>Blue</strong>: Brave <strong>Red</strong>: Vivaldi <strong>Yellow</strong>: Opera</figcaption></figure><p>The trends has increased over the past few years favoring towards the Brave browser. But when you add Chrome into this equation, things change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SQWGYMrNN3J732K5zdwZLg.png" /><figcaption><strong>Red: </strong>Chrome <strong>Blue:</strong> Brave</figcaption></figure><p>Right now Brave only captures 0.05 % of the market and still has a long way to go.</p><p><em>Editor: Nancy Jinia Basumatari</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91a333e0a745" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>