<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: gautam0523</title>
    <description>The latest articles on DEV Community by gautam0523 (@gautam0523).</description>
    <link>https://dev.to/gautam0523</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F558533%2F11dcafaf-3371-47f3-9dfd-80aa70ca8f13.png</url>
      <title>DEV Community: gautam0523</title>
      <link>https://dev.to/gautam0523</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gautam0523"/>
    <language>en</language>
    <item>
      <title>How using a CLI Launcher for Android can boost your productivity upto 100x...</title>
      <dc:creator>gautam0523</dc:creator>
      <pubDate>Sun, 13 Aug 2023 12:36:07 +0000</pubDate>
      <link>https://dev.to/gautam0523/how-using-a-cli-launcher-for-android-can-boost-your-productivity-upto-100x-7ea</link>
      <guid>https://dev.to/gautam0523/how-using-a-cli-launcher-for-android-can-boost-your-productivity-upto-100x-7ea</guid>
      <description>&lt;p&gt;&lt;em&gt;Let's change the definition of Android Launchers...for the greater good!&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Homescreen Launchers are often those bloated GUI pages where you have to painfully search your application icon and after finally finding it, click on it and wait till eternity till your Launcher starts to open it!😪😴😰&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--04OwYlJY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExZHl4aTJoN2c3M2FndHY3MWlkYXE5cTdwNTlsaGJpb3BobjJ3cWVmcyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/2oJ8W0n5sKYUg/giphy.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--04OwYlJY--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_800/https://media2.giphy.com/media/v1.Y2lkPTc5MGI3NjExZHl4aTJoN2c3M2FndHY3MWlkYXE5cTdwNTlsaGJpb3BobjJ3cWVmcyZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/2oJ8W0n5sKYUg/giphy.gif" width="328" height="268"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Also, there is an even bigger issue, which most of us don't realize: Distraction&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--A4a-Nte---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://codergtm.github.io/assets/images/phone-bandit.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--A4a-Nte---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://codergtm.github.io/assets/images/phone-bandit.webp" width="800" height="551"&gt;&lt;/a&gt;&lt;br&gt;
Credits: &lt;a href="//nirandfar.com"&gt;nirandfar.com&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;With so many apps making a visual impression on your mind about their presence, every time you &lt;em&gt;unlock your phone or close an app&lt;/em&gt;, you involuntarily get an urge to open them. I mean, when was the last time you opened Instagram out of &lt;strong&gt;need.&lt;/strong&gt; Won't be easy to recall I bet! Instagram thrives because of 2 major strategies which it uses to repeatedly onboard users. The first one is well-known: Notifications. It's algorithm selectively pushes notifications on your drawer that are most probably bound to pique your interest and you find yourself clicking it. The solution to this problem is simple as you would have guessed it. No need to repeat that.&lt;/p&gt;

&lt;p&gt;What concerns me is the second lesser-known strategy that not only benefits Instagram, but all apps that monetize your attention. And that my dear friends is &lt;em&gt;(lo and behold)..................&lt;/em&gt;&lt;strong&gt;your phone's in-built Launcher.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We often find ourselves checking out our phone when there's nothing to do. Whether you're sitting alone, waiting for your bus, waiting for the next professor to come for the lecture, walking to the canteen, starting some work, going to bed...or just bored, you casually put your hand in the pocket and bring that Yantra (&lt;em&gt;Sanskrit&lt;/em&gt; for "device") out. You unlock it and glance at the apps. You find one cute shiny icon asking you to tap on it. You pity that icon and fulfill its request. And boom...15-20 minutes of your life &lt;strong&gt;wasted&lt;/strong&gt;. You could have used that time to reflect upon yourself.&lt;/p&gt;

&lt;p&gt;Now I know that it is boring but boredom is actually good for us. Social neuroscientists have found that the brain has a default network mode that is on when we're disengaged from doing. Boredom can actually foster creative ideas, refilling your dwindling reservoir, replenishing your work mojo and providing an incubation period for embryonic work ideas to hatch.&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;em&gt;“We’re training and conditioning a whole new generation of people that when we are uncomfortable or lonely or uncertain or afraid we have a digital pacifier for ourselves that is kind of atrophying our own ability to deal with that.”&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;— Tristan Harris, former design ethicist at Google&lt;/em&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Do you know that Smartphone manufactures also have a secondary business model: Pre-installed apps. A &lt;a href="https://ieeexplore.ieee.org/abstract/document/9152633"&gt;study&lt;/a&gt; found that pre-installed apps in Android phones are used for data collection, tracking, and monitoring, without the user's knowledge. Apart from this, it also increases the app's popularity as more people have to compulsarily see it on their launchers. Manufacturer's obviouly get paid huge amounts of money for this. The problem that is related in this context is that the user is eventually going to open that app once to see what it is and then the algorithms are always there to make him a repeating user.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--u_FAvyEw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0jugfsoumy4a7w5ena5a.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--u_FAvyEw--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/0jugfsoumy4a7w5ena5a.jpg" alt="Distraction" width="640" height="427"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Quick-note: Social media is probably the best invention in consumer software and I am no way rallying against it. I just think that people should be more aware of where they spend their time. No Hard-feelings :)&lt;/p&gt;

&lt;h2&gt;
  
  
  Ok so have you got any solution?
&lt;/h2&gt;

&lt;p&gt;I have attempted I'd say...&lt;/p&gt;

&lt;p&gt;As we saw that the root problem here is the Launcher. That is what &lt;strong&gt;&lt;em&gt;baits&lt;/em&gt;&lt;/strong&gt; us. Besides that is what we can control! I mean, who is gonna ask apps to stop being so addictive and manufacturers to stop pre-installing them.&lt;/p&gt;

&lt;p&gt;So as simple as it is, lets change the Launcher.🥳&lt;/p&gt;

&lt;p&gt;Now there are many launchers out there. I have tried a few of them. But I found that they are all bloated and/or slow. I wanted something that is fast, minimal and customizable. Also, there is no point of a GUI launcher &lt;em&gt;i.e&lt;/em&gt; a Launcher that has apps displayed as icons. &lt;em&gt;Wait...What?&lt;/em&gt; Is there a launcher without icons?&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--oJ286ZLg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://i.giphy.com/media/lJ0JGfNBrRWJVCRChd/giphy.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--oJ286ZLg--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://i.giphy.com/media/lJ0JGfNBrRWJVCRChd/giphy.webp" width="470" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Turns out there are a few...Yes! There's a whole class of Launchers known as &lt;strong&gt;CLI&lt;/strong&gt;(Command-Line Interface) &lt;strong&gt;Launchers&lt;/strong&gt;. They work in the command-line. There is no fancy UI to mess with and what you get is a very powerful tool. You enter commands to do everything like opening apps. Now before you close this article thinking that it's not for you...wait a sec. Though it can be intimidating and tough to use at first, it has a pool of advantages to offer you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;No distraction&lt;/li&gt;
&lt;li&gt;No bloated GUI&lt;/li&gt;
&lt;li&gt;Fast&lt;/li&gt;
&lt;li&gt;Customizable&lt;/li&gt;
&lt;li&gt;Minimal&lt;/li&gt;
&lt;li&gt;Powerful&lt;/li&gt;
&lt;li&gt;Cool&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  But how does it solve the problem?
&lt;/h2&gt;

&lt;p&gt;When you unlock your phone, you now see a command-line terminal which waits for you to order it what you want to do, rather than distracting you by presenting a collection of all apps as icons. You wanna see the news? Just type &lt;code&gt;news&lt;/code&gt; and hit Enter. You wanna listen music, just type &lt;code&gt;open Spotify&lt;/code&gt; or create a shortcut named &lt;code&gt;music&lt;/code&gt; and hit Enter. In fact, you don't even need to type it completely, as there is auto-complete available for all that.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&lt;em&gt;This way you get to select how you want to use your time.&lt;/em&gt;&lt;/strong&gt; Studies show that the quality of a decision made by a human is inversely proportional to the choices offered to her. So when you are not bombarded with so many choices of apps whenever you unlock your device, you are more likely to make a good use of your time.&lt;/p&gt;

&lt;p&gt;There are a ton of other features available in the Launcher I am reffering to, like a simple todo utility so you can focus on your tasks, setting custom themes and wallpapers, weather reports, simplified google searches and custom scripts to name a few. You can even automate tasks that you perform every time you open your phone.&lt;/p&gt;

&lt;h2&gt;
  
  
  What's it called?
&lt;/h2&gt;

&lt;p&gt;I named it as &lt;strong&gt;Yantra Launcher&lt;/strong&gt;. As I mentioned, Yantra literally means "Device" or "machine" so it's just a plain and simple Launcher for your device, in its purest purpose.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to use it?
&lt;/h2&gt;

&lt;p&gt;Yantra Launcher is available for download on &lt;a href="https://play.google.com/store/apps/details?id=com.coderGtm.yantra"&gt;Play Store&lt;/a&gt;. Once its downloaded, open it and that's the CLI you get. Type &lt;code&gt;help&lt;/code&gt; and hit Enter to get a list of all commands. Believe me, it's much easier to use than what you anticipate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why only Yanta Launcher?
&lt;/h2&gt;

&lt;p&gt;As I said, there are a few other CLI Launchers availble in store but they all fall in atleast one of the following categories:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;They are too advanced for a normal user. You need to be quite good in programming to use them conveniently&lt;/li&gt;
&lt;li&gt;They lack basic functionalities&lt;/li&gt;
&lt;li&gt;They are no longer maintained.&lt;/li&gt;
&lt;li&gt;They are so focussed on being cool that they forgot their original purpose: Lesser Distraction, more Power and Speed. Basically, they bloat your screen with fake hacking images.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Yanta Launcher aims to be a sweet spot between them where you will eventually learn to use its powers and hopefully embrace them. Whether you're not a programmer or you're well-versed in it, Yantra launcher has a lot to offer you.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Yantra Launcher is a simple, minimal and powerful CLI Launcher. It's not for everyone but it's for those who want to get the most out of their time.&lt;/p&gt;

&lt;p&gt;So that's it. I hope you liked this article. If you did, please share it with your friends and family. Also, if you have any suggestions or feedback, please let me know via the comments or in the &lt;a href="https://play.google.com/store/apps/details?id=com.coderGtm.yantra"&gt;reviews&lt;/a&gt; section of Play Store. I would love to hear from you. That helps me in improving the User Experience for everyone.&lt;/p&gt;

&lt;p&gt;Thank you for reading. Have a nice day!&lt;/p&gt;

</description>
      <category>launcher</category>
      <category>minimalist</category>
      <category>cli</category>
      <category>android</category>
    </item>
    <item>
      <title>The Easiest Database you could ever need!</title>
      <dc:creator>gautam0523</dc:creator>
      <pubDate>Thu, 04 Aug 2022 14:11:21 +0000</pubDate>
      <link>https://dev.to/gautam0523/the-easiest-database-you-could-ever-need-1b9j</link>
      <guid>https://dev.to/gautam0523/the-easiest-database-you-could-ever-need-1b9j</guid>
      <description>&lt;p&gt;&lt;em&gt;As a developer, you might have heard of FireBase. But do you know about.....WaterBase ??&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;I've always admired Android in the way of storing persistent data. If you are famaliar with Android Development, you'd know about Shared Preferences. If that's new to you, it is basically a storage utility that Android provides using which you can store data in Key-value form. Shared Preferences are suitable in different situations. For example, when the user’s settings need to be saved or to store data that can be used in different activities within the app.&lt;/p&gt;

&lt;p&gt;But...we don't get that awesome feature outside the Android environment. Do we? So I decided to create a lightweight storage utility that provides such behavior and can be used on any platform. And voila🎉...&lt;a href="https://github.com/coderGtm/WaterBase"&gt;WaterBase&lt;/a&gt; was born ;)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--PcV9vg7e--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/19yf63jkdriv5jphmq0u.jpeg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--PcV9vg7e--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/19yf63jkdriv5jphmq0u.jpeg" alt="WaterBase" width="880" height="440"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  So first thing's first. Why the name ?
&lt;/h3&gt;

&lt;p&gt;Ok...so here's my explanation. As we all know that FireBase is a database that is in cloud and can be accessed from anywhere. And so WaterBase is a database on your hard disk that can be accessed from anywhere...just like water...simple and lightweight🪶.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--3wJKxGiN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.giphy.com/media/62PP2yEIAZF6g/giphy.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--3wJKxGiN--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.giphy.com/media/62PP2yEIAZF6g/giphy.webp" alt="Swag" width="500" height="284"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  How it's used ?
&lt;/h3&gt;

&lt;p&gt;As promised, in the easisest way...&lt;br&gt;
WaterBase is currently available in C++ and Python&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Talk is cheap. Show me the code.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Ok then...here's the Python version&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Ms7Fllue--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k8wxhw78cax0cykboie3.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Ms7Fllue--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/k8wxhw78cax0cykboie3.jpg" alt="Python usage" width="852" height="501"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And if you rather prefer C++, you're covered:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--10Jxy5o4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fweuejamgrk8ti7mgthb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--10Jxy5o4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fweuejamgrk8ti7mgthb.png" alt="C++ usage" width="737" height="658"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Explanation
&lt;/h3&gt;

&lt;p&gt;First we create an instance of the class WaterBase. We provide the name of the WaterBase database to use as parameter. If no database exists by that name, a new one is created.&lt;/p&gt;

&lt;p&gt;Now let's put some values in our database. WaterBase supports three types of values: Boolean, Integer and String. To save values, use the &lt;code&gt;db.Save*(key, value)&lt;/code&gt; function&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--uPy9eZT3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ohrkbjscaim0v6nugzmz.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--uPy9eZT3--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ohrkbjscaim0v6nugzmz.jpg" alt="Save values" width="788" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Now if you want to retreive these values, use &lt;code&gt;db.Load*(key, default_value)&lt;/code&gt; function.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Mi3Wt07u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tgvuao0llx4ommxfdhl8.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Mi3Wt07u--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/tgvuao0llx4ommxfdhl8.jpg" alt="Load values" width="728" height="249"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That's all...This is the simplest databse you could ever need. You can find the GitHub repository here.&lt;/p&gt;

&lt;p&gt;And one last thing...if you've read till here and are still unsure whether should you use WaterBase or not in a project, then please, please, please drop a comment, describing why you don't wanna use it. It can help me to make WaterBase a better product, more suited for all. You may even consider contributing to the GitHub &lt;a href="https://github.com/coderGtm/WaterBase"&gt;repo&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--8JyxVvxP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.giphy.com/media/zDpYQooxkwXkAWMxRK/giphy.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--8JyxVvxP--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.giphy.com/media/zDpYQooxkwXkAWMxRK/giphy.webp" alt="Untill next time" width="480" height="206"&gt;&lt;/a&gt;&lt;br&gt;
Goodbye!!&lt;/p&gt;

</description>
      <category>database</category>
      <category>python</category>
      <category>cpp</category>
    </item>
  </channel>
</rss>
