<?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 AJAY on Medium]]></title>
        <description><![CDATA[Stories by AJAY on Medium]]></description>
        <link>https://medium.com/@ajaytshaju?source=rss-eb9af08ea721------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*-yeCOrM_-xHelSs2Epwi4A.png</url>
            <title>Stories by AJAY on Medium</title>
            <link>https://medium.com/@ajaytshaju?source=rss-eb9af08ea721------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 14:07:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ajaytshaju/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[16 VS Code shortcuts that become more valuable in the AI era]]></title>
            <link>https://medium.com/@ajaytshaju/16-vs-code-shortcuts-that-become-more-valuable-in-the-ai-era-20704d6cfa7c?source=rss-eb9af08ea721------2</link>
            <guid isPermaLink="false">https://medium.com/p/20704d6cfa7c</guid>
            <category><![CDATA[shortcuts]]></category>
            <category><![CDATA[keyboard]]></category>
            <category><![CDATA[code-editor]]></category>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[AJAY]]></dc:creator>
            <pubDate>Thu, 28 May 2026 16:57:37 GMT</pubDate>
            <atom:updated>2026-05-30T03:09:08.927Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A_0Rzyrn6vBTGf2HRnxkaA.png" /><figcaption>Image Generated Using Google Gemini</figcaption></figure><p>Imagine two developers using an AI coding agent.</p><p>AI generates bug fix<br>Runs app<br>Gets error</p><p><strong>Developer A:</strong><br>Uses mouse<br>Finds file<br>Scrolls<br>Clicks references<br>Searches manually<br>Edited<br>Error Solved</p><p>Takes 10 minutes.</p><p><strong>Developer B:</strong><br>Ctrl + P (Quick Open File)<br>F12 (Go to Definition)<br>Shift + F12 (Find All References)<br>Ctrl + Shift + F (Global Search Across Project)<br>F5 (Start Debugging)<br>F9 (Add Breakpoint)<br>Edits code<br>Error solved</p><p>Takes 3–5 minutes.</p><p>Both used the same AI.</p><p>The difference is not coding speed.</p><p>The difference is in debugging speed.</p><p>[<em>If you’re busy but need value, go to the end of the article to find the shortcut list</em>]</p><p>I will write a set of scenarios and the suitable keyboard shortcuts to use for that task.</p><blockquote><strong>Note:</strong> According to <a href="https://survey.stackoverflow.co/2025/technology#1-dev-id-es">Stack Overflow 2025 Developer Survey</a>, over 75% of developers use VS Code. So there is a high chance that you’re also using VS Code.</blockquote><h4><strong>Scenario 1</strong>: Open Command Palette</h4><p>Press <strong>F1</strong></p><p>Most people do <strong>Ctrl + Shift + P</strong>, it also works, but <strong>F1</strong> feels much easier.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 2: AI generated a file, but I don’t know where it is</h4><p>Instead of:</p><p>Explorer → src → api → user → service.py</p><p>Press: <strong>Ctrl + P</strong></p><p>and type: <strong>service</strong></p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 3: AI is generating code and files. I just need to see that list.</h4><p>Press <strong>Ctrl + B (</strong>Open/Close Sidebar)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*S9rzcItl9erlMK_jZTkdZg.gif" /></figure><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 4: AI added a function call. I need to know what it does.</h4><p>Cursor on: get_customer_profile() (just a function name)</p><p>Press: <strong>F12 (</strong>jump directly to implementation)</p><p>Sometimes I don’t even leave the current file: <strong>Alt + F12 </strong>for Peek Definition.</p><p>Most people use <strong>Ctrl + Click</strong>, but I feel this is easier and faster.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 5: AI renamed something inconsistently</h4><p>Variable names:</p><p>customer_id<br>customerId<br>cust_id</p><p>all over the project.</p><p>Instead of Find &amp; Replace: <strong>F2 (</strong>Rename variable)</p><p>Beauty of this shortcut is that when you rename a variable inside a function, it will rename all occurrences of the specific variable inside that function only.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 6: AI-generated repetitive code</h4><p>You see:</p><pre>user1 = {}<br>user2 = {}<br>user3 = {}<br>user4 = {}</pre><p>Need to edit them all at once.</p><p>Use: <strong>Ctrl + Alt + Down Arrow</strong> (works for up arrow too) or <strong>Alt + Click</strong></p><p>Multiple cursors.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 7: AI-generated code, but something is still broken</h4><p>Need to know: Who calls this function?</p><p>Use: <strong>Shift + F12</strong> (References)</p><p>We can see an inline display of all lines that call the specific function.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 8: AI touched 20 files</h4><p>Need to locate a string globally.</p><p>Use: <strong>Ctrl + Shift + F (</strong>Workspace Search)</p><p>Previously, I was copying the word, going to VS Code side panel, clicking the search icon, and pasting the word, which may take 2–3 seconds. More seconds for copying errors.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 9: AI-generated code, but the runtime behavior is wrong</h4><p>Do Debugging</p><p>Set breakpoint: Cursor on a line, Press <strong>F9</strong></p><p>Start debugging: Press <strong>F5</strong>, if already debugging, continue execution.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 10: AI-generated code, but unwanted styling like</h4><pre>def fun(<br>arg1,<br>arg2,<br>arg3,<br>arg4<br>):<br>do something()</pre><p>I want to join all the lines into one.</p><p>Select and highlight the lines to join.</p><p>Press F1</p><p>Type “Join Lines”</p><p>It becomes</p><pre>def fun( arg1, arg2, arg3, arg4 ):<br>do something()</pre><p><em>Please notice the leading and trailing spaces inside the brackets.</em> It can be removed by additional commands or using a formatter like Ruff or Black. But for short scripts, I manually remove them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*690gTXZ-CPsEqnT1WDmoyQ.gif" /></figure><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 11: AI generated the correct code, but in the wrong place</h4><p>Move lines: <strong>Alt + Up/Down</strong></p><p>Instead of cut-and-paste.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 12: AI made a long variable name. I want to make it shorter in the entire file</h4><p>Instead of endless scrolling:</p><p>Select the variable</p><p>Press: <strong>Ctrl + Shift + L</strong></p><p>It does <strong>Select all occurrences</strong>.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 13: I opened ten AI-generated files, and my editor is chaotic</h4><p>Jump back and forth:</p><p>Ctrl + Tab</p><p>Need a clean layout:</p><p>Press <strong>F1 </strong>and type <strong>Join All Editor Groups</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tS8p-lk2Kl6hV0oE-vr6qg.gif" /></figure><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 14: AI generated 20 functions, and I need one function</h4><p>Search symbols:</p><p>Press: <strong>Ctrl + T </strong>and type: validate_user</p><p>Jump directly.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 15: AI told me to run a command</h4><p>Need a terminal for that, instead of reaching for the mouse:</p><p>Press:</p><p><strong>Ctrl + `</strong> (open last terminal)</p><p><strong>Ctrl + Shift + `</strong> (open new terminal)</p><p>Most people confuse it with <strong>Ctrl + Shift + Esc</strong>, but it opens Windows Task Manager.</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Scenario 16: AI gave me an answer and a reference to line number 813</h4><p>Instead of endless scrolling:</p><p>Press: <strong>Ctrl + G </strong>and type the line number</p><p>Jump to line number.</p><p>This is basically giving <strong>‘:’ and line number</strong> (:813) in the search bar.</p><p>— — — — — — — — — — — — — — — — — — — —</p><p>That’s it.</p><p>I find myself using these keybindings far more frequently now than I did before. So I just shared.</p><p>The more you use AI, the more valuable these shortcuts become.</p><p>Thank You!</p><p>— — — — — — — — — — — — — — — — — — — —</p><h4>Shortcuts List</h4><p><strong>Ctrl + P</strong> → Open File<br><strong>F1</strong> → Command Palette<br><strong>Ctrl + B</strong> → Toggle Sidebar</p><p><strong>F12</strong> → Go to Definition<br><strong>Alt + F12</strong> → Peek Definition<br><strong>Shift + F12</strong> → Find References<br><strong>Ctrl + T</strong> → Search Symbols</p><p><strong>F2</strong> → Rename Symbol<br><strong>Ctrl + Shift + L</strong> → Select All Occurrences<br><strong>Ctrl + Alt + ↓ / ↑</strong> → Multiple Cursors<br><strong>Alt + Click </strong>→ Multiple Cursors<br><strong>Alt + ↓ / ↑</strong> → Move Line</p><p><strong>Ctrl + Shift + F</strong> → Search Workspace<br><strong>Ctrl + G</strong> → Go to Line</p><p><strong>F9</strong> → Toggle Breakpoint<br><strong>F5</strong> → Start/Continue Debugging</p><p><strong>Ctrl + `</strong> → Open Terminal<br><strong>Ctrl + Shift + `</strong> → New Terminal</p><p><strong>F1, Join Lines</strong> → Join Lines<br><strong>F1, Join All Editor Groups</strong> → Join All Editor Groups</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20704d6cfa7c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Updating Mozilla Firefox on Linux | not with apt or snap]]></title>
            <link>https://medium.com/@ajaytshaju/updating-mozilla-firefox-on-linux-not-with-apt-or-snap-4e1218a1927e?source=rss-eb9af08ea721------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e1218a1927e</guid>
            <category><![CDATA[firefox]]></category>
            <category><![CDATA[mozilla]]></category>
            <category><![CDATA[apt]]></category>
            <category><![CDATA[updates]]></category>
            <category><![CDATA[linux]]></category>
            <dc:creator><![CDATA[AJAY]]></dc:creator>
            <pubDate>Thu, 20 Nov 2025 16:24:53 GMT</pubDate>
            <atom:updated>2025-11-20T16:24:53.330Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RGYJMY08138GAM7Q" /><figcaption>Photo by <a href="https://unsplash.com/@rubaitulazad?utm_source=medium&amp;utm_medium=referral">Rubaitul Azad</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Recently, I installed Mozilla Firefox on my Windows to test how a website works in different browsers. Even though my aim was to test the website, it turned into testing the newly installed Mozilla Firefox. I’m using Mozilla Firefox as my default browser at work because it comes as the default browser in Linux, and it feels heroic using Mozilla (running commands like firefox --version, firefox google.com) after using Google Chrome everywhere.</p><p>Honestly, the new Firefox on my Windows feels like a Ferrari, but on my Linux it feels like a Maruti 800. Basically, I was using version 136 on Linux, and the latest one was 145. The very next workday I blindly executed the commands sudo snap refresh firefox &amp; snap list | grep firefox — didn’t work — then sudo apt update firefox &amp; sudo apt list --installed | grep mozilla — didn’t work either. Then I got my consciousness back and realized Firefox was not installed using a package manager.</p><p>So I quickly checked which firefox, which showed me the softlink /usr/bin/firefox, then found the path to Firefox executable binary ( /lib/…in /usr/bin/firefox -&gt; /lib/firefox/firefox*) using ll /usr/bin/firefox. Keeping this path not in the mind but in the terminal, I opened Firefox to download the latest version of Firefox for Linux. From here onwards, a gush of Linux terminal commands came to my mind. What I wanted to do was: create a backup of my current profile, windows, and tabs; create a backup of the whole Firefox folder; locate and extract the downloaded package; move the extracted stuff to the location pointed to by the hard link; check if Firefox can be invoked using the terminal; and if not, fix the softlink. (If you are a Linux guy, just think of all the commands.)</p><p>Now to the keyboard:</p><p>1. Killed all the running processes of firefox using kill -9 firefox.</p><p>2. Located ( cd /lib/firefoxand ls) and created the backups of firefox main files using sudo mv /lib/firefox /lib/firefox-old.</p><p>3. Located and created the backups using cp -rv ~/.mozilla/firefox ~/.mozilla/firefox.backupsince profile info was stored in .mozilla directory in the home directory.</p><p>4. Located and extracted the downloaded package using tar -xvf firefox-145.0.tar.xz. Moved ( sudo mv firefox/ /lib/firefox) the extracted files to the /lib/…dir.</p><p>5. Checked if the newly installed Firefox was working or not (command: firefox). It was not working. So I again checked which firefox, which was soft-linking a shell script ( .sh file), but my new installation didn’t have a shell script. Fixed the softlink using sudo ln -sf /lib/firefox/firefox /usr/bin/firefox</p><p>With this done, Firefox was working — but my windows, tabs, and everything were missing. So I killed all the processes of firefox again and</p><p>5. Went to the previously backed-up files and copied the profile JSON cp ~/.mozilla/firefox.backup/wzhpg0kg.default-release/sessionstore-backups/recovery.jsonlz4 ~/.mozilla/firefox/wzhpg0kg.default-release/sessionstore.jsonlz4. After this when I opened Firefox, it showed a ‘Restore Session’ button on the opening tab, through which I got all my windows and tabs back.</p><p>That’s it. Thank you!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e1218a1927e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Setting up Nvidia Drivers for GPU access on Ubuntu]]></title>
            <link>https://medium.com/@ajaytshaju/setting-up-nvidia-drivers-for-gpu-access-on-ubuntu-d10bc1460c85?source=rss-eb9af08ea721------2</link>
            <guid isPermaLink="false">https://medium.com/p/d10bc1460c85</guid>
            <category><![CDATA[ollama]]></category>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[nvidia]]></category>
            <category><![CDATA[cuda]]></category>
            <category><![CDATA[ubuntu]]></category>
            <dc:creator><![CDATA[AJAY]]></dc:creator>
            <pubDate>Sun, 22 Jun 2025 00:00:24 GMT</pubDate>
            <atom:updated>2025-06-23T03:31:49.832Z</atom:updated>
            <content:encoded><![CDATA[<p>After upgrading my Ubuntu from 18 to 22, I was left with no Nvidia drivers on my computer. When I type nvidia-smi and nvcc -v there was no good output (see the image below). So, I planned to share my method for setting up GPU drivers on my computer with the world. If your situation is the same, then follow along.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5pHPsD2usHyzeP_9.png" /><figcaption>No good output for nvidia-smi and nvcc -v</figcaption></figure><p>Before starting, I will give a short lesson on drivers</p><blockquote><em>Drivers allow OS ↔ hardware communication. NVIDIA drivers are essential to communicate with your GPU, for graphics and compute functionality.</em></blockquote><p>Drivers are software that act as translators between your OS and the hardware (like the GPU, printer, or keyboard). NVIDIA drivers are crucial to communicate correctly with NVIDIA GPUs. Nvidia Graphics Drivers for rendering visuals in games and videos, and Compute Unified Device Architecture (CUDA) Drivers for GPU-accelerated computations like deep learning and scientific computing.</p><p>Now let’s start with the real processes</p><h4>Check if your system detects the GPU</h4><p>lspci | grep -i nvidia</p><p>This will check for the presence of an NVIDIA GPU in your system. If this command doesn’t give a good output like in the image below, then you can stop here, because your system doesn’t have an NVIDIA GPU or it is not detecting the GPU.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NGdGbXoXzZbOPigv.png" /><figcaption>My system is detecting the Nvidia GPU</figcaption></figure><h4>Installing Drivers</h4><p>If the above commands work, then try nvidia-smi, you might get a list of drivers as the output of nvidia-smi (see the image above). Normally we need to select the best driver, but sometimes we may not be up to date with the new driver details, so we can offload the driver version decision to our system by giving the command ubuntu-drivers devices this will show a list of available and compatible drivers for our GPU, then we will auto install the best driver using sudo ubuntu-drivers autoinstall this will show long commands running and installing, don&#39;t worry it is installing the best driver. On finishing, just give a good sudo reboot (restart) to your system, so the system can understand the new changes.</p><blockquote><em>In between let me explain what is happening — When you install drivers using </em><em>sudo ubuntu-drivers autoinstall, you&#39;re installing some files that allows Linux to detect and communicate with your GPU, this will enable </em><em>nvidia-smi to show a box output. If you want to use GPU-accelerated apps like Blender, video editors, or run ML/DL programs (eg, inference using PyTorch or TensorFlow), then installing the driver is enough. But if you want to go further into ML/DL development and LLM finetuning which uses libraries like xFormers, bitsandbytes, and triton then you need to do some more steps, i.e installing </em><em>nvidia-cuda-toolkit.</em></blockquote><h4>Checking nvidia-smi; Install nvidia-cuda-toolkit</h4><p><strong><em>Note</em></strong><em>: Read this section fully before running any commands</em></p><p>After reboot get into the terminal and quickly type nvidia-smi and you will get a box like output with information such as your GPU name, power usage, memory usage, CUDA version, processes utilizing gpu currently etc...but when typing nvcc -v there won&#39;t be any output and it will ask you to install nvidia-cuda-toolkit, and we need to do sudo apt install nvidia-cuda-toolkit which may take some time. This is linked with the ubuntu version you have, for Ubuntu 22.04, CUDA 11.7 or later may be installed, this is easy when you need to install cuda-toolkit for a usecase which requires any version above 11.7 (here). But If you want a specific version, like CUDA Toolkit 12.8, you need to install it manually from <a href="https://developer.nvidia.com/cuda-toolkit-archive">this</a> website by selecting the version you need, giving info such as OS, Architecture, Distribution, Version, Installer Type and finally following the commands displayed.</p><p>On finishing, check the output of nvcc -v to confirm it has installed the toolkit.</p><h4>PyTorch Installation (Optional)</h4><p>I need to install PyTorch for some coding purposes. I will be doing it in a conda environment (if you’re not familiar with conda, you can use Python Virtual Environments, or you can follow this <a href="https://docs.conda.io/projects/conda/en/latest/user-guide/install/linux.html">conda website</a> to install conda, create and activate a new environment, and install the latest PyTorch that is compatible with your CUDA version — see their <a href="https://pytorch.org/get-started/locally/">Start Locally Website</a>, give details like your OS, package, language, compute platform and copy the final command and run on your virtual environment to install Pytorch, this will take some time based on your internet speed.</p><h4>Checking if torch can access our GPU</h4><p>Enter Python IDLE on the terminal and run import torch; torch.cuda.is_available() - if it returns True, then your installation is successful. Otherwise, there is a problem with any commands or installations. If you have noticed any warning, red command, etc…then debug on that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/916/0*2JS6sdaguuaiCVNm.png" /><figcaption>Checking if torch can access our GPU, on Python IDLE</figcaption></figure><h4>Test your installation(Setting up a local LLM)</h4><p>If everything is fine, we can try setting up Ollama ( <a href="https://ollama.com/">Website</a> | <a href="http://github.com/ollama/ollama">GitHub</a>) and test whether an LLM is able to use our consumer GPU to predict tokens.</p><p>Install ollama using curl -fsSL https://ollama.com/install.sh | sh wait for it to finish, and finally, you can see a message from Ollama NVIDIA GPU installed and you can run a small LLM like llama or mistral (ollama run mistral) and test whether they&#39;re utilising our GPU by checking nvtop or see if the LLM is generating the text fast.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Hn2zT09gpRs4e84E.png" /><figcaption>Ollama detects our GPU</figcaption></figure><p>So that’s it, now you will have GPU acceleration for your tasks. Good Luck!</p><p><em>Originally published at </em><a href="https://004ajay.github.io/blog/nvidia-drivers/"><em>https://004ajay.github.io</em></a><em> on June 22, 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d10bc1460c85" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bash to Fish: A Terminal Change]]></title>
            <link>https://medium.com/@ajaytshaju/bash-to-fish-a-terminal-change-775e577608cc?source=rss-eb9af08ea721------2</link>
            <guid isPermaLink="false">https://medium.com/p/775e577608cc</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[fish]]></category>
            <category><![CDATA[command-line]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[commands]]></category>
            <dc:creator><![CDATA[AJAY]]></dc:creator>
            <pubDate>Sun, 04 May 2025 06:18:57 GMT</pubDate>
            <atom:updated>2025-05-04T06:18:57.976Z</atom:updated>
            <content:encoded><![CDATA[<p>I found the name <strong>Fish Terminal</strong> funny the first time I heard it. When I came to know about the full form of <strong><em>Fish, Friendly Interactive SHell</em></strong>, I felt it was a good decision of <a href="https://github.com/fish-shell/fish-shell">fish maintainers</a> putting the name as Fish, and the full form carries a heavy meaning too. I love the names of open source technologies, especially the acronyms they use — terminal names like <em>Bash (Bourne Again SHell), Fish, Zsh (Z Shell)</em> are very appropriate to them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*_LQ-C4vQYZR-iRCb" /><figcaption>Photo by <a href="https://unsplash.com/@claudioguglieri?utm_source=medium&amp;utm_medium=referral">Claudio Guglieri</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Whether it is the workplace or home, I use Linux a lot, and the terminal is the first thing I open and the last to close. Whether it’s managing conda environments, SSH to remote servers, or running Python scripts— I live inside the terminal. For years, I used bash by default. Not because I loved it, but it comes with Ubuntu.</p><p>Last month, until a workday’s afternoon I typed many things like making activating and deleting many conda envs, scripting running python codes of varying lengths, ssh to different servers and setting up some docker containers and other services, after all the long typings my knuckles are so sore that I cannot fold them easily to hold the spoon to eat something, so as a first move to resolve this, my manager bought a new Logitech wireless keyboard for me, and it solved 50% of typing issues. But what about the remaining 50%?, That was filled with me writing repetitive commands of conda, long commands for Docker, and making Python scripts; frustrated and tired of this, I searched for a good terminal. Why? because “I live in the terminal” and found <a href="https://fishshell.com/"><strong>Fish Shell</strong></a>. This post is all about my experience with fish shell, what things got easier, what improved, and how I use it, etc...</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*2QdKeZRj70SldbyrbD8RYQ.jpeg" /><figcaption>finger pain due to typing, photo from <a href="https://www.jonathanshultsmd.com/blog/can-typing-cause-carpal-tunnel-syndrome">this</a> website</figcaption></figure><h4>Why I looked beyond bash</h4><p>Bash is stable and battle-tested, no doubt. But it also feels stuck in time. It doesn’t help you much. You have to remember everything. Tab completion is limited, no autosuggestions, no visual hints, and nothing that tells you you’re typing the wrong path or missing a command. I started noticing how much time I was spending retyping things, checking history, running ssh manually to the same servers, or typing conda activate some_env_name again and again.</p><h4>Getting started with Fish Shell (without extra effort)</h4><p>I installed Fish through Bash with some simple commands</p><blockquote>sudo apt-get update &amp;&amp; sudo apt-get upgrade</blockquote><blockquote>sudo apt-get install fish</blockquote><p>Fish just worked out of the box. No need for any config files, setting paths, or anything. Just type fish on your bash to get started with fish shell.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PD3yNxndaMt-tCYY-0cZQQ.png" /><figcaption>Fish shell on first launch</figcaption></figure><p>Now, instead of going through the features of the fish terminal, I&#39;m jumping to the customization options — I changed the theme, prompt style, and default greeting message to Welcome AJAY!, but only for a week.</p><p>To customize Fish shell, just type fish_config on the fish terminal and it will automatically display a browser window having all the configurations that can be done on the fish terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5WvjAFL72tOfzofhKUF_og.png" /><figcaption>fish_config browser UI</figcaption></figure><p>But in my home computer, when I type fish_config, it tries to open a temporary HTML file that doesn’t open in the browser, but don’t worry, just go to the same terminal and you can see a localhost link, ctrl + right click that link to get it opened on your browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*_vW4cDhhFNDS1MoJrVs6MA.png" /><figcaption>Fish Config</figcaption></figure><p>From this browser page, you can change terminal color , prompt style(<em>ajay@ajay ~&gt;</em>, in the first fish shell image) and see different fish functions and key bindings. Just change to whatever setting you like, and press set prompt/color/theme, close the browser tab, come back to the terminal, and hit the Enter key to stop configuring and saving the changes.</p><h4>Changing the greeting message</h4><p>The greeting message seems to be very welcoming when we use the terminal once or twice a week, but it may not be when you use it 24/7. So, to erase the greeting message type set fish_greeting and hit Enter.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*OC3w4FBICxkxD_HGhnPVDQ.png" /><figcaption>Turn off fish greeting</figcaption></figure><p>Now clear the terminal to see a terminal without a greeting message. But this is temporary, in the next session of the terminal, the greeting message will appear again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/920/1*m0AT9cRigkIZLwTSWzhAYw.png" /><figcaption>terminal without greeting message</figcaption></figure><p>You can permanently erase the greeting message/put a custom greeting message in the terminal by editing the fish_greeting.fish file located at /usr/share/fish/function/fish_greeting.fish.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yXZRs6JKH88WtTwrFoIDyg.png" /><figcaption>Edit fish_greeting function for displaying custom greeting message</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dB5BbIkdvT8YskK4ApJrzA.png" /><figcaption>My custom greeting message</figcaption></figure><p>You can see the function definition while opening fish_config on browser, it can be used to find the location of that script too (first line in red color).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bn76WHaQ4TurlWHqE9T_rA.png" /><figcaption>Fish function in functions tab on fish_config</figcaption></figure><h4>Features of Fish Terminal</h4><ul><li><strong>Autosuggestions</strong>: Fish suggests commands based on your command history, which you can see using history command.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FoacNKDOlsqWeP3yYDzddg.gif" /><figcaption>Autosuggestion in Fish Terminal</figcaption></figure><p>You can either press right arrow or Ctrl+Fto accept the auto suggestions. Tab press is similar to bash, if there is only one command as result, then tab will complete it, else it will display all the possible commands.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D4TUlgDlt5M_cQA9oQnpbw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ah0ycJgvM1mqZfJ9wIOc5A.png" /><figcaption>Autosuggestion and tab-press output</figcaption></figure><ul><li><strong>Syntax highlighting</strong>: Wrong commands turn red. You fix them before running. In the GIF below, when I type nvidia-si the command got a red color, which means I typed the wrong command.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*j0psJ1q8sBv8qDkE5QoiTA.gif" /><figcaption>Syntax highlighting in Fish</figcaption></figure><ul><li><strong>Abbreviations</strong>: You can set custom acronyms for long commands, and they will be expanded when you press the Spacebar or Enter.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*opT2CDNNX8gb-_PGVZmNbQ.gif" /><figcaption>Abbreviation in Fish</figcaption></figure><p>Typing ca nlp becomes conda activate nlp in the terminal before hitting Enter. Likewise, you can make as many as you want.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yy_NIJpDwXqxtQ8W6Mi5Ww.png" /><figcaption>List of abbreviations I am using</figcaption></figure><p>By seeing the above list, the first thing you might think would be — how is this guy able to remember these many short forms, when learning these commands itself is a headache.</p><p>The answer is that I don’t have any special ability to remember all these shortened commands; I remember the most-used 10–15 commands. And all the commands are printed on paper and kept next to me all the time.</p><p>The next question will be, “Am I able to take out and use these short forms when I use other fish terminals in some other place?” Absolutely yes! All the short forms from the fish are stored in a file abbr.fish you can take that file or copy its contents to use it anywhere.</p><ul><li><strong>Math/Calculator in Shell</strong>: You can do some amazing calculations with fish shell, all the way from 2+2 to cos() and more.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SbmzcE_gKSo9bpxchcgXjw.png" /><figcaption>Math in Fish</figcaption></figure><p>Just type math followed by your math question. And get an instant answer. Using it for a while, I feel opening the calculator and doing some addition/division is a complete waste of time, but fish solve this problem effortlessly. You can learn the power of Fish Math on their dedicated math page <a href="https://fishshell.com/docs/current/cmds/math.html">here</a>.</p><ul><li><strong>countcommand to count the number of files</strong>: I usually count the number of files in a directory using the bash commandls | wc -l to decide which command to use for an operation. For example, if a directory contains 20 files, then we can do GUI-based delete/copy-paste/zip operations. But what if it contains 200,000 files or even 20,000,000 files? In this case, if you use GUI-based operations, it will take multiple days to finish, so you have to switch to the terminal and use efficient commands likeparallel, pigz, dd etc…. While performing the count operation using ls, cdcommand through different directories, you will waste a lot of time by typing the commands, but countin the fish terminal is much easier to use.</li><li><strong>Search through commands using </strong><strong>Ctrl+R</strong>: I always look into historycommand to get some long/repetitive commands and copy-paste them to save time. For example, history | grep ssh to search for the ssh command I use every time, which is far above to reach with the up arrow (navigating the command history). There might be some way to do this in other terminals, but it won&#39;t be as interactive as Fish.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WhLSc0cO8TdCjSO1xVIsfA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xc2CjY4eZUZ0I0XGdz0dyg.png" /><figcaption>Using correct command (left); Part of command I remember (right)</figcaption></figure><p>Just press Ctrl+R and search for the command you need. In addition to this, Fish supports Fuzzy Searching too, so you just type whatever you remember about the command you’re looking for, Fish will find it for you in a blazing fast way.</p><p>So these are the features of Fish I love and use every time. In the coming week I will be dedicating some time to explore other commands like random, bg, argparse etc…If you want to explore all the abilities of Fish Terminal yourself, just visit <a href="https://fishshell.com/docs/current/commands.html">this command page</a>.</p><p>If you liked this much (fish=continue reading; story=quick clap) then we can set Fish as the default terminal, so that you can use Fish as soon as you launch the terminal.</p><blockquote>which fish — displays the path/location of fish executable</blockquote><blockquote>sudo chsh -s &lt;which fish output here&gt;</blockquote><blockquote><em>or do both together</em></blockquote><blockquote>sudo chsh -s `which fish`</blockquote><h4>Problems and solutions</h4><p>Whenever you use a technology, there will be some issues. <em>When you solve that issue, it will make you closer to that tech, and you will start to love it more and more</em>. I think it is due to the kickwe get from solving the issues. So the problem</p><ul><li>Conda didn’t work inside Fish</li></ul><p>When I typed conda it shown command not found error</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ye2gExQIJTLruCiv8keX4g.png" /><figcaption>conda not found in fish</figcaption></figure><p>I fixed it by</p><blockquote>nano ~/.config/fish/config.fish — opens fish config file</blockquote><blockquote>set -gx PATH /your/path/to/conda/bin $PATH — Conda Bin path, in my case it was in $HOME/anaconda3/bin</blockquote><blockquote>conda init fish — similar to conda init in bash</blockquote><blockquote>source ~/.config/fish/config.fish — restart the shell or you can log out and log in</blockquote><blockquote>conda activate &lt;any conda env name&gt; — testing</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ItXmg-JxKT5pSp9zU6o6SA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZSxkfdEeUfuGGBu_Q71qPQ.png" /><figcaption>Locating Conda Bin directory (left); Setting path to that directory (right)</figcaption></figure><h4>Finally</h4><p>Switching to fish didn’t feel like changing my workflow. It just removed friction. I still run the same commands, ssh into the same servers, and activate the same environments. But now I do it faster, with fewer typos, and less mental overhead. If you use the terminal for most of your work, give Fish a try. You’ll know by then whether it’s for you or not. For me, I’ve already made it my default shell at home and work.</p><p>Now I am looking forward to more possibilities of Fish, an upgrade to the terminal code editor (currently using nano).</p><p>So that&#39;s it. Thank you for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=775e577608cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How AI can be Dangerous to YouTubers but Helpful to Viewers]]></title>
            <link>https://medium.com/@ajaytshaju/how-ai-can-be-dangerous-to-youtubers-but-helpful-to-viewers-d575310d76f9?source=rss-eb9af08ea721------2</link>
            <guid isPermaLink="false">https://medium.com/p/d575310d76f9</guid>
            <category><![CDATA[ai-in-youtube]]></category>
            <category><![CDATA[ai-video]]></category>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[review]]></category>
            <dc:creator><![CDATA[AJAY]]></dc:creator>
            <pubDate>Wed, 02 Apr 2025 07:05:40 GMT</pubDate>
            <atom:updated>2025-04-02T07:05:40.987Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re like me, who puts 200+ videos on different YouTube playlists and does not find time to watch them but your mind does not allow you to remove them, then this blog is for you.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*YqaS0NTFh_bxwoaSLkXy3w.png" /></figure><p>This is an experiment I&#39;ve been doing for a while. It&#39;s working for me. If you find this helpful or find any problems, please comment.</p><p>Let&#39;s come to the point</p><p>This blog is about <strong>asking an AI to review a video and give answers to our questions</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NkJjKdptuobAQ7c0YlZ7OA.gif" /><figcaption>My video chat with Gemini</figcaption></figure><p>I used Google’s AI <strong>Gemini </strong>(previously Bard) to help me get what’s inside a video using the <em>video link and a question</em>. I am sharing it here to show the time reduction when I watch the videos on YouTube vs asking Gemini.</p><p>The Idea of asking an AI about a video came from the video title itself. For example, a hypothetical title “You need to stop using this in your Python code” — when I see this title + video thumbnail, the first question that comes to my mind is “What is that one thing I need to stop using in my Python code?” and YouTubers expect people will suddenly click the video to see what it is. This thinking is not wrong, but for a busy person like me 😌, direct clicking and watching on the spot is not possible, and the video will be added to watch later, then it will stay on the list for many months, still having the curiosity to know what’s that one thing. So, in this kind of situation, a tech lover like me will turn to AI to get the answer. While it justifies my act of using AI in this situation, we lazy humans tend to take shortcuts even if they aren’t required. That’s when AI becomes a bane to some people (here YouTubers).</p><p>Note: This is not a full-fledged experiment; I am just sharing what I have done and how it saved me time.</p><p>Before getting started with anything, I will give you an idea: <em>“The Answers from AI depend on your Prompt — What You Ask, You Get.”</em></p><h3>Why am I doing this?</h3><p>I have more than 200 videos in my YouTube playlist ‘Watch Later’, 156 videos on another custom playlist named ‘Hear It’ (videos to be heard), and 55 videos on another custom playlist named ‘Watch If Time’ (videos where I need to put more effort into watching and doing it side by side). So I planned to go through all the videos in ‘Watch Later’ to see if I could remove any of those videos and ended up removing only 2 videos. My playlists have more informative videos rather than entertainment videos.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/438/1*W151XZvWmPorl3loHT5KVQ.png" /><figcaption>videos in my watch later after removing watched videos</figcaption></figure><p>Now, let’s dive (ChatGPT vocab) into the details.</p><p>Experiment Details:</p><p>Number of Videos: <strong>18 videos</strong><br>Video Languages: <strong>English and Malayalam </strong>(16 English and 2 Malayalam)<br>AI Used: <strong>Google Gemini 2.0 Flash</strong> (As it has good integration with Google services)</p><p>Time Details:</p><p>If I watch all the videos at 1x speed, then it would take about 5 hours and 18 minutes, but if I watch those videos at 1.5x speed then it would take only 3 hours and 30 minutes. Things turned around when I used the above explained AI method and put a stopwatch to record the time taken — it took me only 1 hour and 24 minutes, where this 1.5 hour included me taking the links of the videos, making questions in my mind, taking notes of Gemini answers, writing down ideas for this blog, etc. If I calculate the time taken for copying the link, making the questions, and getting the answers from AI, it would take only around 45 to 50 minutes. Therefore, I can say I got the answers I was searching for in those videos in just 1 hour rather than 5.3 hours.</p><p>In short:</p><p>Total length of watching all videos in 1x speed: <strong>5 hours 18 minutes</strong><br>On watching in 1.5x speed: <strong>3 hours 30 minutes</strong><br>With Gemini AI: <strong>1 hour</strong></p><p>Getting started:</p><p>Opened all videos to different chrome tabs; Went to each video, copied the link; Made the question and asked to Gemini</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CKKGYbBwABru9sygeLukPg.png" /><figcaption>Videos opened on multiple tabs</figcaption></figure><p>Now, with this information in hand, let&#39;s explore the good and bad sides of this technology, both from users&#39; and video makers’ perspectives.</p><h3>How does this help users?</h3><p>- Direct answer for your questions. You will save a lot of time than watching the videos and ADs YouTube throws on you.<br>- Videos may skim through some topics, but on asking an AI, most of the time you will get structured answers and some proper words or phrases that can be used while you are transferring your knowledge in a discussion, interview, or even a casual talk.<br>- Help filter out unwanted information — take only what you need, for example: the video “7 Best AI Tools You NEED to Try in 2025 (Free &amp; Powerful!) 💡” by <a href="https://www.youtube.com/@KevinStratvert">Kevin Stratvert</a> has listed tools like Zapier, Google AI studio, ChatGPT, Udio, ElevenLabs, Perplexity, and Descript — out of these AI tools, Udio was the only one new AI tool for me, so why should I spend 7 minutes and 48 seconds watching his video which costs around 100 to 300 MB of data when I can ask Gemini using the video link and my question and get the answer all within 2 minutes.</p><p>Now a little Surprise</p><p>I gave Gemini a link to a <strong>Malayalam video</strong>, which I previously watched; as a surprise to me, it replied with an exact answer. But how has Gemini given answers for a Malayalam video? I tried to make an answer, as I am in the domain of AI and Data Science.</p><p>The first answer that came to my mind is that it took some English words the narrator used and collected all the words to give me the answer. But this will give only a surface idea which is not enough, so I though something else, which can be told with a hypothetical situation — Imagine/remember you listening to two other people talking their language which you don’t know, but they use a language you know (example English) in between, in such scenario you won’t get complete idea, but understands what topic they’re discussing and in what way the talk is going (Positive, Negative, Neutral etc). This is exactly what happened in Gemini.</p><p>I also asked Gemini to answer how it understood the Malayalam video and provided me with an exact answer. See Gemini’s reply</p><blockquote>I analyze videos using audio processing, visual cues, and contextual understanding. Even without translation, I detect English keywords, filmmaking terms, and on-screen text. Visual analysis helps me grasp settings, characters, and events. My broad film knowledge and pattern recognition allow me to infer meaning from expressions, scene changes, and common storytelling structures. This combination helps me summarize key themes even in languages I don’t fully understand.</blockquote><h4>What do we miss?</h4><ul><li>Visual Demonstration: Videos like “30 Must-Know English Idioms for Fluent Conversation!” by <a href="https://www.youtube.com/@POCEnglish">POC English</a> — his acting and graphical illustrations, subtitles with highlights are missed when I am chatting with an AI about the video.</li><li>In Coding videos, if you’re a beginner, it is better to see the instructor coding and trying to do it in parallel with the video. But if you’re a professional and just need the core idea to feed your FOMO, then AI is your friend.</li><li>The storytelling style, hand and body gestures, and in-depth explanations of Why, What, How, When, etc, are missed, especially the videos from channels like <a href="https://www.youtube.com/@veritasium">Veritasium</a>.</li><li>Audio nuances like the tone of voice, emphasis, pace, etc, which convey important information and transfer emotion like humor, sarcasm, anger, and tension, which are difficult to express in text, are missed.</li><li>A video may not be only about the core idea or a term, but it will have useful information in the introduction and conclusion. Gemini like AIs will give only ‘what you asked for, ’ so your questions (prompting) matter.</li><li>Also, videos may also give you an experience of discovery — you may get stuck at any unexpected information, then you will be doing a search to find it, during which you get stuck in some ideas and create something new out of it, or even conceive a new idea.</li><li>Potential for Misinterpretation: We need to remember that these AI systems are still an ‘under-development’ project but a working in most cases, and the LLM providers give a warning about their answers. See the image below.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*5bhNx4l5rtQ3_ebAvJYN5Q.png" /><figcaption>Warning on using AI</figcaption></figure><h4>How can it affect video makers/YouTubers?</h4><ul><li>Reduced Watch Time: When we use AI, naturally, there will be a decrease in watch time. Watch time is an important metric for YouTube’s algorithm, important for video visibility and monetization. If more viewers use AI summaries instead of watching the videos, creators will end up with watch time troubles.</li><li>Engagement Metrics: If a normal viewer likes the video, then they will give a thumbs up, but I don’t think AI users will come back and give thumbs up when using AI. What I do is take time to come back and give a like or comment to respect the creator’s hard work. Also when I am taking the link and asking questions to AI, the video will be playing in the background, so it will give the view too.</li><li>Audience Connection: When many audiences go for AI shortcuts, getting a creator-viewer relationship will be much harder. Also, watching videos allows viewers to connect with the creator’s personality, style, and message in a way that summaries cannot replicate. This connection increases loyalty and encourages viewers to return for more content.</li><li>Ad Revenue: For all YouTubers, money will be one of the aims and is important, too. If the above explained things happen at a huge rate, then it will affect monetization of the creator.</li><li>YouTube’s new update: While I was taking a link of a video, I saw a similar thing to what I was doing, its none other than “AI Summary of the Video directly on YouTube.”</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wnqxD-siuqpsNOLwDLhlBA.png" /><figcaption>AI video summary on YouTube</figcaption></figure><p>By now, regardless of you being a YouTuber or not, you will be thinking — How can someone become Gemini(AI)-proof?</p><p>A pause! <br>I was thinking through different methods, and asking AIs to give some ideas 😎 I ended up feeling that it’s impossible to completely “Gemini(AI)-proof”, but there is ground for correction — so you the reader might have some ideas, so store it in your mind or a paper, read my suggestions and if your idea is not listed then come, be a part of making humans AI proof.</p><p>Now, see some strategies:</p><ul><li>Interesting Content: When I see some posts on LinkedIn or Instagram, on reading that I would press the like button multiple times and re-read the post. This kind of curiosity-raising and interesting videos should be created, which makes the viewer watch the video again and again.</li><li>Visual Storytelling: Out of the 18 videos taken into the experiment, plus all the other videos I handed over to AI, they have something in common. It&#39;s none other than FACTS. I look for facts so as similar viewer like me. Videos need to have some facts, but on top of facts, there should be visuals, animations and whatever thing that can make viewer engaged with the video. One should say we have to watch his/her videos. Some examples that come to mind are <a href="https://www.youtube.com/@BranchEducation">Branch Education</a>, <a href="https://www.youtube.com/@neoexplains">Neo</a>, <a href="https://www.youtube.com/@fern-tv">Fern</a>, <a href="https://www.youtube.com/@3DLivingStudio">3D Living Studio</a>, <a href="https://www.youtube.com/@JaredOwen">Jared Owen</a>, etc.</li><li>Demonstrations: If your video involves a process, show it clearly. Don’t just describe it with engaging visuals like animations, graphics, and B-roll footage to keep viewers visually engaged.</li><li>Dynamic Editing: Keep the pace moving with cuts, zooms, and other editing techniques.</li><li>Emphasize Audio Nuances: Use tone of voice, emphasis, and pacing to convey emotion and keep viewers interested. Incorporate music, sound effects, and ambient sounds to create a richer audio experience.</li><li>Go Deep on Topics: Provide in-depth explanations, examples, and context that are difficult to summarize. Offer original perspectives and analysis that viewers can’t find elsewhere. Tackle complex subjects that require a longer, more detailed video to fully understand.</li></ul><h4>What’s next?</h4><p>I have a ton of open tabs in my Google Chrome, both on mobile and laptop. Most of them are to be read, related to developments and topics in AI &amp; DS and some geo-politics.</p><p>Recently, I noticed a weird thing appearing on the tab count placeholder in Google Chrome Mobile App, it was <strong>:D</strong>.<strong> </strong>At first, I thought it was a bug in Chrome, but when I read and closed some tabs, I saw number 97 as the tab count. I tried adding three more tabs and saw the symbol again, and when I searched for the meaning of :D, it was a big smile emoji 😃.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JyzezY6rOFHxOzGQQ16rIg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cCb-uRV1jJ9IwLaSkexlFw.jpeg" /><figcaption>99 tabs and 100 tabs in Google Chrome</figcaption></figure><p>Now, it’s time to tackle the problem of too many tabs in Chrome. Until I find a quick solution, a short bye 👋</p><p>Before leaving, please clap and share this story if it adds value.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d575310d76f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Must-Know Windows Key Shortcuts for Your Daily Tasks: A Story-like Guide]]></title>
            <link>https://medium.com/@ajaytshaju/must-know-windows-key-shortcuts-for-your-daily-tasks-a-story-like-guide-97153461faed?source=rss-eb9af08ea721------2</link>
            <guid isPermaLink="false">https://medium.com/p/97153461faed</guid>
            <category><![CDATA[keyboard]]></category>
            <category><![CDATA[windows-11]]></category>
            <category><![CDATA[windows]]></category>
            <category><![CDATA[windows-10]]></category>
            <category><![CDATA[keyboard-shortcuts]]></category>
            <dc:creator><![CDATA[AJAY]]></dc:creator>
            <pubDate>Mon, 25 Nov 2024 07:01:19 GMT</pubDate>
            <atom:updated>2024-11-25T16:42:10.447Z</atom:updated>
            <content:encoded><![CDATA[<p>About 73% of world computer users use Windows as their computer’s operating system(<a href="https://gs.statcounter.com/os-market-share/desktop/worldwide/#daily-20240921-20241020">see source</a>). In this group, 35% of users use Windows 11 (<a href="https://gs.statcounter.com/windows-version-market-share/desktop/worldwide/#monthly-202106-202410">see source</a>). In this story-like guide, I will explain some useful Windows key shortcuts we can use daily!</p><p><em>For your information: I will use </em><strong><em>Win</em></strong><em> as a short-term for Windows. I am using Win 11 but I believe most of the shortcuts in this story will work on other Windows versions as well.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HZJUfSanvFlS9GWjM_7zXQ.jpeg" /><figcaption>Windows Key (Image by Author)</figcaption></figure><h4><strong>A Day in My Life: Starting by booting Windows</strong></h4><p>Most days, I feel the initial energy as I boot up my computer. The days may be full of simple tasks but if left normal, they will take up a good amount of time — browsing, checking emails, opening documents, and switching between apps. We all do these tasks, but to be honest: using a mouse for everything is similar to walking in a race (a satiric approach 😄). I’m a keyboard shortcut enthusiast, see my <a href="https://medium.com/@ajaytshaju/useful-keyboard-shortcuts-in-jupyter-notebook-3d488c1e5d29">Jupyter Notebooks story</a> and you will understand. So let&#39;s start with music.</p><p>The first thing I do after booting my laptop is to press <strong>Win + A</strong> to open the <strong>Action Center</strong> and toggle Bluetooth ON to pair my wireless earbuds. To start playing some music, I press <strong>Win + 2</strong> ( Chrome browser, the <strong>second item on my taskbar</strong>), straight to YouTube, play my Malayalam music playlist to give me a push for minimal tasks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*X420GBv2Hfc4pfoPq6CvLg.png" /><figcaption>Action Center — <strong>Win+A</strong></figcaption></figure><p>Access apps pinned on the taskbar using <em>Win + corresponding number</em>, in the image below, to <strong>access the YouTube</strong> I press <strong>Win + 4</strong>, to access the <strong>WhatsApp Web</strong> I press <strong>Win + 5</strong>, and so on. <em>Count the app number from 1 after the ‘Start/Windows’ Icon.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*knCnwe8ibhVCtRTwqKk7XQ.png" /><figcaption>Taskbar Apps</figcaption></figure><h4>Getting started with some tasks</h4><p>Today’s first task is to collect, arrange, and move some PDFs to different folders, to get started with this task I need to open the Win File Explorer. We have multiple ways to open the File Explorer:</p><ul><li>Option 1: Press <strong>Win + D</strong> or <strong>Win + M</strong> to <strong>minimize all windows</strong> and then press <strong>Win + 1 </strong>to open Explorer from the taskbar.</li><li>Option 2: Use the faster route — <strong>Win + E</strong> to <strong>open Explorer directly</strong>.</li><li>Option 3: <strong>Cycle through taskbar apps</strong> using <strong>Win + T</strong>.</li></ul><p>With Explorer open, I can make folders using <strong>Ctrl + Shift + N</strong>,<strong> </strong>locate my PDFs, make a few edits, and rearrange them. Thanks to my trusty shortcuts the whole process is seamless and quick.</p><p><em>Short Tip: </em><strong><em>Win + D </em></strong><em>and</em><strong><em> Win + M </em></strong><em>do the same task of minimizing windows. But</em><strong><em> </em></strong><em>when you press </em><strong><em>Win + D</em></strong><em> it will minimize all the windows, and it restores the same windows to their previous state when you press </em><strong><em>Win + D</em></strong><em> again. This is different from </em><strong><em>Win + M</em></strong><em>, which minimizes all windows but doesn’t bring them back with a second press.</em></p><p>While I was editing and rearranging the 13th PDF, my mother asked me to write a letter to someone. She explained the content in our local language Malayalam. To save time, I opened Windows Notepad and pressed <strong>Win + H</strong> to open the <strong>dictation feature</strong> for quick writing without typing. As you may have guessed, I wrote <em>60%</em> of my medium blogs using this feature. But proofreading was essential to catch any miswritten words or missing details. See the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/885/1*8kgn8BGKJdaW3O2dknThsg.png" /><figcaption>Ouput after using <strong>Win + H</strong> dictation feature</figcaption></figure><p>Though it seems overwhelming to speak, read, and correct mistakes, it is often time-saving and good for fingers than typing. After I completed the letter, I sent the content via WhatsApp.</p><p>Before continuing with other works I saw a charge draining problem with my laptop&#39;s battery, to inspect it I opened <strong>Windows Settings</strong> using <strong>Win + I</strong> to see the battery performance on System &gt; Power &amp; battery but I didn’t see any problem in the stats shown by my computer. For more scrutiny, I pressed <strong>Win + X</strong> to open the <strong>quick link menu</strong> (same as right-clicking on the start button) opened the terminal in Admin mode, and used the command powercfg /batteryreport to generate a detailed report of my battery — which shows my battery capacity has dropped from 66Wh to 40Wh in just three years of usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AhkE2UqHLIdBEW388z1KHw.png" /><figcaption>Battery Report using terminal command</figcaption></figure><p>Seeing the poor condition of my laptop&#39;s battery I felt a need for a short break for my laptop as well as to recharge myself. I pressed <strong>Win + L</strong> to <strong>lock my laptop</strong> and stepped away for a quick stretch and refresh.</p><h4>The Next Cycle</h4><p>I had more things to do, returned to my laptop. The first task is to help one of my friends work with projectors on Windows. I set up a Google Meet and demonstrated it live using <strong>Win + P</strong> to access <strong>Projection Settings</strong>. This shortcut makes switching between modes like Duplicate and Extend easier, I also taught him screen size and resolution adjustments.</p><p>Next, I was planning for a small tweak — adding the <em>Open with VS Code</em> option to my right-click menu for folders. I press <strong>Win + R</strong> to open the Run dialog box, typed regedit, and hit Enter. In the registry editor, I did some customization in no time. And the result was amazing, just click the underlined option in the context menu to open vs code on any folder.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/1*eHi-SsrlH-VyscAPAHN5IQ.png" /><figcaption><em>Open with VS Code on Context Menu</em></figcaption></figure><p>While I was doing a lazy walk through some websites, I found a webinar from an MNC and filled out a webinar registration form. Just like other forms, it consists of many redundant things like name, email, address, pin code, college, etc. I used <strong>Win + V</strong> to access <strong>Clipboard History</strong> and seamlessly pasted all the information as I had copied and pinned it on my clipboard way back.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/437/1*NZ0RIaYxn7wAZ3HV3TyRiw.png" /><figcaption>A snapshot of my clipboard</figcaption></figure><p>Now it&#39;s time to give you, the reader something. I pressed <strong>Win + ,</strong> (comma) to temporarily <strong>peek at my desktop</strong> to show you my latest minimal name typography wallpaper.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1eaOaLv4BP09a5h3tKUSAQ.png" /><figcaption>My latest wallpaper</figcaption></figure><p>And last but not least, in chats and blogs, emojis convey emotions well. Add emojis while working on Windows laptops using <strong>Win + .</strong> (period), to open the <strong>emoji window</strong> and click to add emoji wherever needed 😅😅.</p><p><em>Bonus tip: In the WhatsApp desktop or web app, type </em><em>: (colon) followed by the emoji name (e.g., </em><em>:happy) for faster emoji insertion.</em></p><p>Since most of my works were finished, it’s time to give my laptop a good night&#39;s sleep. I pressed a series of shortcuts — <strong>Win + D, Win + X, U, S</strong>, where <strong>Win + D </strong>minimizes all windows,<strong> Win + X </strong>opens the quick link menu,<strong> U </strong>for Sh<strong>u</strong>t down or sign out, and<strong> S </strong>for <strong>S</strong>leep. This is my favorite shortcut💓.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/387/1*ixbA3g3SQcOSIt5a-foELw.png" /><figcaption>Setting laptop to sleep using <strong>Win + X, U, S</strong></figcaption></figure><p>To sum up all the Win short keys, here is a list:</p><ul><li><strong>Win + A</strong>: Open Action Center</li><li><strong>Win + D</strong>: Show or hide desktop</li><li><strong>Win + E</strong>: Open Explorer</li><li><strong>Win + H</strong>: Dictation feature</li><li><strong>Win + I</strong>: Open settings</li><li><strong>Win + L</strong>: Lock PC/Switch account</li><li><strong>Win + M</strong>: Minimize windows</li><li><strong>Win + P</strong>: Projection settings</li><li><strong>Win + R</strong>: Open Run dialog box</li><li><strong>Win + T</strong>: Cycle through apps on the taskbar</li><li><strong>Win + V</strong>: Clipboard history</li><li><strong>Win + X</strong>: Quick link menu (same as right-click on the Start button)</li><li><strong>Win + , (comma)</strong>: Temporary peek at desktop</li><li><strong>Win + . (period)</strong>: Open emoji panel</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=97153461faed" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Converting Bank Statements to Insights: Automating Continuous Data Collection and Building a…]]></title>
            <link>https://medium.com/@ajaytshaju/converting-bank-statements-to-insights-automating-continuous-data-collection-and-building-a-c7e474f329b1?source=rss-eb9af08ea721------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7e474f329b1</guid>
            <category><![CDATA[google-sheets]]></category>
            <category><![CDATA[spreadsheets]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[transactions]]></category>
            <category><![CDATA[bank-statement]]></category>
            <dc:creator><![CDATA[AJAY]]></dc:creator>
            <pubDate>Wed, 13 Nov 2024 17:21:58 GMT</pubDate>
            <atom:updated>2024-11-16T01:52:42.556Z</atom:updated>
            <content:encoded><![CDATA[<h3>Converting Bank Statements to Insights: Automating Future Data Collection using Gmail, Zapier, and Google Sheets | Part 2</h3><p>Before starting Part 2, make sure you catch up on <a href="https://medium.com/@ajaytshaju/converting-bank-statements-to-insights-using-google-sheets-for-data-transformation-and-cleanup-58259d102108">Part 1</a>, where I share the groundwork for transforming raw bank statements — the data collection, Google Sheets and Llama LLM for data cleanup, failed attempts, and learning many valuable techniques — <a href="https://medium.com/@ajaytshaju/converting-bank-statements-to-insights-using-google-sheets-for-data-transformation-and-cleanup-58259d102108">click to read Part 1</a>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aTXrt6a1d8FtxtBFYa8oKw.png" /><figcaption>The overall process</figcaption></figure><p>What’s in this part:</p><ul><li>The Search for a fast way to Fill 940+ Dropdowns</li><li>Making the Dashboard</li><li>Automating Future Data Collection: The powerful integration between Gmail, Zapier, and Google Sheets</li><li>What to do in the Future? Advantages &amp; Disadvantages</li></ul><h4>1. The Search for a fast way to Fill 940+ Dropdowns</h4><p>The first way is to fill each category by clicking and selecting one by one from a list of 70+ categories, but it would take a lot of time, maybe an average of 15 seconds(approx.) for each dropdown, considering, the entries in the Details column may not be correct; they may have dual meanings; the category may change with the type of transaction(credit/debit), then it would take 14,130 seconds, which is about 4 hours. This scrutiny of checking my transaction history from the UPI app or Bank Statements to choose the category is important if I need to do Machine Learning or Deep Learning tasks later, as they need quality data for better outputs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GtnyaoRos4gjrPWs3KPvDw.png" /><figcaption>Dropdown selection-one by one</figcaption></figure><p>Since speed is important I had to look for another way to speed up the dropdown selection process, I thought why not use some spreadsheet formula to do this task — I found some formulas. Use IF() to find the key term(‘Petrol Pump’, ‘Ajay Bakers’ 😂) in the details column and put a suitable category(‘Scooter Petrol’, ‘Bakery’) and the formula looks like</p><p>=IF(ISNUMBER(SEARCH(&quot;Petrol Pump&quot;, D2)), &quot;Scooter Petrol&quot;, IF(ISNUMBER(SEARCH(&quot;Grocery Store&quot;, D2)), &quot;Household&quot;, &quot;&quot;))</p><p>See how this formula works</p><ul><li>=IF(ISNUMBER(SEARCH(“Petrol Pump”, D2)), “Scooter Petrol”, “”))</li><li>=IF(ISNUMBER(1), “Scooter Petrol”, “”))</li><li>=IF(TRUE, “Scooter Petrol”, “”))</li><li>Value “Scooter Petrol” in the cell where this formula exists</li></ul><p><em>The ISNUMBER() returns TRUE if SEARCH() finds the specified keyword(here, ‘Petrol Pump’ or ‘Grocery Store’) allowing the IF() function to display the term if the condition is True. Else SEARCH() returns Error, ISNUMBER() will return FALSE, and IF() could handle the False case as specified.</em></p><p>This works but the problem with this approach is</p><p>1. Currently I have 70+ categories so the formula will become lengthy and complex with many nested IF cases.<br>2. The output of this formula is a text, not a chosen item from a dropdown, so if I need to change the entry in the future it would be not easy.</p><p><em>The solution was to use Data Validation with VLOOKUP() in a Reference Table</em></p><p>The reference table has two columns ‘Keyword’ and ‘Category’ having ‘Petrol Pump’ — ‘scooter petrol’, ‘Grocery Store’ — ’household’ respectively and the formula looks like</p><p>=IFERROR(VLOOKUP(A2, ReferenceSheet!A:B, 2, FALSE), &quot;&quot;)</p><p>But this approach has some problems, they are</p><p>1. Every time the keyword won’t be ‘petrol pump’ or ‘XX Store’ but different words like ‘Diesel Pump’, ‘XY Store’, etc 😌, and the details entry won’t have a consistent letter-case, sometimes entry will be full capital letters or small letters, in other cases its a mix of small and capital letters.<br>2. (same as above)</p><p>Solving this is another nightmare with more complex tables and formulas like =IFERROR(INDEX(Categories, MATCH(TRUE, ISNUMBER(SEARCH(LOWER(ReferenceSheet!D:D), LOWER(D2))),0)), &quot;&quot;)</p><p>As these formulas got overly complex I thought of going back to my previous idea of selecting each category one by one, after doing this for a while, due to the repetition, I switched to a lazy approach — Filling the categories ‘randomly’ rather than one by one.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*durDNIwLtfuQQCMQbZoZXg.png" /><figcaption>Dropdown selection-random</figcaption></figure><p>And laziness version 1.2 was copying a category and pasting it to similar items😌. With this approach, I can save somewhat 1 hour, but I got a spark quickly ⚡- that is to give a small change that could increase the speed twice and the idea is to use ‘Find’ to locate some key terms(for ex, ‘KL Pump’) in the details column and pasting the category copied before(‘Scooter Petrol’). This dropped the 15-second time to 6 seconds, if we do the math it is only 5,652 seconds ~ 1.5 hours as compared to 4 hours for one-by-one manual selection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8y8DFTlSjhjGPXF8ArTaCw.png" /><figcaption>Dropdown selection — copy-find-paste</figcaption></figure><p>Another problem is looking at the ocean-like data, cross-matching the details, and selecting the categories that lead to oozing out of energy, this would happen for most people. I tackled this problem by setting an egg-shaped Pomodoro timer right next to me, with each cycle spanning 25 minutes with a 5-minute break, and repeating the cycle 4–6 times to reach 2–3 hours of productive work. Besides this, I set up a visual cue(counter) to let me know the task is moving forward by showing me how many dropdowns are remaining, using the formula =942-COUNTA(E2:E944),the output looks like Dropdown to be completed: 471.</p><h4>2. Making the Dashboard</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*Gl_ShCOw1izgZBaUK0aCvg.jpeg" /><figcaption>View of My Minimal Dashboard</figcaption></figure><p>Before starting to build the dashboard I gave more details to my data such as adding the Main Category and Type(Income/Expense) using the XLOOKUP formula to match with the category name. The XLOOKUP formula used for putting Main Category using sub-category was=XLOOKUP(E2, $O$2:$O$100,$P$2:$P$100)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wmWKJwvrhcpNV7hhiYFpYw.png" /><figcaption>XLOOKUP Formula</figcaption></figure><p>Building dashboards with three or four charts takes many steps when explained as text, if you like to learn more take a look at one of my other stories (<a href="https://medium.com/@ajaytshaju/step-by-step-guide-for-creating-a-reading-habit-tracker-in-google-sheets-96920411282f">Step-by-Step Guide for Creating a Reading Habit Tracker in Google Sheets</a>) to see how I created charts with steps explained. Here in this project, I kept the Dashboard minimal similar to my other trackers. In this minimal dashboard what I like the most is the Pivot Tables, they give a bird eye view of my finances. I added ‘Category’ in Row, ‘Year’ in Column, ‘Month’ in Filters, and ‘Debit’ and ‘Credit’ in Values in two pivot tables(one for debit and the other for credit), which enabled me to see the transaction totals Year-wise and filter by Month.</p><h4>3. Automating Future Data Collection: The Powerful Integration Between Gmail, Zapier, and Google Sheets</h4><p>Whenever I send/receive some money, I get both a message and an email notification, which feels annoying. Surprisingly, this “distress” ended up being useful for automating future data collection!</p><p>Here’s how I approached it: I connected three applications — Gmail, Zapier, and Google Sheets — using Zapier as the link between Gmail and Google Sheets. Essentially, Zapier pulls emails matching a specific search term (like credit or debit notifications from Axis Bank), formats them using its built-in AI, and then adds a row to Google Sheets.</p><p>Now let’s understand the Zapier processes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DuGXbOZKPbmnjeMH0TpFkg.png" /><figcaption>Zapier Interface</figcaption></figure><p>Zapier has an amazing landing page, we can text Zapier AI what is out automation plan and within a few seconds it will give the partially initialized step-by-step automation process and we just need to click the ‘try it’ button to bring the AI-created automation steps to our automation editor. By the way, Zapier calls their automation ‘Zap’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N-S8FXNTwXch1fD04pt66w.png" /><figcaption>Power of Zapier AI</figcaption></figure><p>When our Zap is in the editor we will have a Copiolt AI at our disposal with which we can ask our doubts, configure the steps, and many more!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0XHlYF_HZPdYMDfiQ_sTEg.png" /><figcaption>Zap Editor</figcaption></figure><p>Overall, setting up my automation took me only 10 minutes to connect the applications and test the functionalities. After your first Zap, the time to make the next will come down by 2–4min; it&#39;s that easy to use Zapier.</p><p>While your Zap is at work, you can see the logs on ‘Zap Runs’ by clicking on the icon placed left side of your Zap editor. When your Zap fails Zapier will notify you through email of the cause and what to do next. See one such email Zapier sent me when my Zap failed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jsv3-VaPqFX_Jrgc5ySZGw.png" /><figcaption>Zapier alert email</figcaption></figure><p>When I checked the problem on my Zap editor I got to know the issue in detail — It was an error with the Google Sheets, it may be down for update, maintenance, or lack of resources.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RVsunNlhvlqtaj3it4eX1g.png" /><figcaption>Zap failed to add sheet row</figcaption></figure><p>So far Zapier has automatically added 28 transactions to my Google Sheet, but it will bring only the Date, Details, and Credit/Debit amount, all the other columns should be filled by me — the only relief is that I need to extend the formula for all remaining columns after filling the Category column (I am taking this manual step as a review for my transactions).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Exr0dIzmw71bWvm6p_GdOw.png" /><figcaption>Data collected automatically using Zapier</figcaption></figure><p>Since Zapier reads and writes data from my accounts, naturally, privacy is a concern. Based on my research, Zapier uses bank-level AES-256 encryption and complies with various data protection frameworks. Additionally, it hosts data on AWS servers in the U.S., including personal data and data processed on behalf of customers. You can find more details about Zapier’s encryption and security policies here: <a href="https://zapier.com/legal/data-privacy">https://zapier.com/legal/data-privacy</a>.</p><h4>A problem with Zapier</h4><p>Since I don’t want to spend any money on this project, one issue I’m currently facing is the expiration of the professional trial of Zapier, which only lasts for 14 days. After this trial, my account will revert to the free version, and as per their free account policies, it does not allow multi-step Zaps. Unfortunately, my automation requires three steps: retrieving data from Gmail, transforming the data using Zapier AI, and loading it into a new row in the spreadsheet. These steps are essential for the process to work correctly. If you have any ideas to replace the automation step or any other trustworthy platforms that offer this kind of automation, please feel free to share in the comments.</p><h4>4. What to do in the Future?</h4><p>1. I have to check the data in fixed intervals to correct any errors that may happen to Zapier while copying the data from Gmail, as the mail is not coming in a suitable format to be uploaded to a spreadsheet directly. In addition to filling the columns which were not filled by Zapier.</p><p>2. I have to analyze the data by selecting some values on slicers and filters to get insights or even downloading and uploading the data to a SQL Database/Python to query it on more complex constraints to answer questions like ‘What was my total expense on clothing and personal care for the last two months of recent years? Is there any trend of buying certain items?’ etc.</p><p>Insights I get from these visualizations</p><ul><li><strong>Insight:</strong> Total money spent on monthly mobile recharge is equal to doing yearly plan. <strong>New decision:</strong> Can think of yearly mobile recharge. <strong>Priorities:</strong> Switching to another service(ex, BSNL)</li><li><strong>Insight</strong>: Total money spent on groceries in a month shows that bulk buying from a wholesale store is cheaper. <strong>New Decision</strong>: Can consider buying groceries in bulk. <strong>Priorities</strong>: Need more storage space and potential chances of food spoilage.</li><li><strong>Insight</strong>: The electricity bill trend is going up over time. <strong>New Decision</strong>: Upgrading to energy-efficient appliances or installing Solar Panels. <strong>Priorities</strong>: Balancing with needs and wants, impact on overall finances.</li></ul><p>Now let&#39;s go through the advantages &amp; disadvantages of this project</p><h4>Advantages</h4><ul><li>Reduced Manual Data Entry: Automation minimizes manual input, saving time and reducing data entry errors.</li><li>Real-Time Data Updates: The dashboard updates instantly with every transaction email, keeping my financial records up-to-date.</li><li>Scalable and Adaptable: The system efficiently handles increasing transactions with minimal manual effort. Compared to the insights and control it provides, the manual tasks I have to perform are minor.</li><li>Centralized Financial Tracking: Google Sheets offers a single view of my transaction history, balances, and spending habits. I can access it conveniently from any device with internet access, allowing me to manage my finances on the go.</li><li>Customizable Dashboard: I can modify the dashboard layout and charts to suit my personal tracking preferences.</li><li>Cost-Effective: Using free or low-cost tools like Gmail, Zapier, and Google Sheets makes the system affordable. I can also link multiple bank accounts without significant added cost. For higher data volume and multiple accounts, ‘Google Apps Script’ can improve writing speed and formatting.</li><li>Enhanced Financial Awareness: Regular tracking helps me understand spending patterns and improve budgeting over time. Simple pivot charts of past transactions have supported decisions, like opting for yearly mobile recharges, reallocating funds to different categories, and controlling spending in some areas.</li></ul><h4>Disadvantages</h4><ul><li>Manual Updates/Not fully automated: When Zapier inputs data, it doesn’t categorize transactions automatically, split dates into months and years, or calculate the balance. I need to update these manually using the TEXT formula and extend the other formulas to new rows.</li><li>Dependency on Email Notifications: The system relies on timely transaction emails, which can cause errors if emails are delayed or missed.</li><li>Zapier Costs: Currently, my transaction count fits within Zapier’s free version, but if it grows, I may need to either reduce transactions or switch to a paid plan.</li><li>Limited Scope: This system is designed for simple transactions, but if we need to expand it to track other financial data like investments, credit scores, and net worth it would add complexity.</li></ul><h4>Failure points of my system:</h4><ul><li>It depends on my bank’s email notification, if my bank’s mailing service is down then the transaction won’t be added to my tracker, as missed emails won’t be sent again when the system comes online.</li><li>Failure/downtime in the mediator service(Zapier in my case) would cause some transactions to be not added.</li><li><em>In short: if I add more apps or services, their downtimes and failures will affect this tracker.</em></li><li>If I make a hand-to-hand money transfer, for example: I give Rs.60 to my nephew for buying 2 packets of milk; there is no Gmail or bank involved directly, so I need to account for it manually.</li></ul><p>Now you may have some suggestions, kindly post them in the comments. There is a lot to be corrected in this, for example — if you know how to work with HTML and CSS, then delete the div container codes and render a webpage full of credit and debit info without any dividing boxes and just copy the data directly from the webpage and apply some regular expression to remove unwanted information(from <a href="https://medium.com/@ajaytshaju/converting-bank-statements-to-insights-using-google-sheets-for-data-transformation-and-cleanup-58259d102108">Part 1</a>) would be much better than chewing the raw HTML CSS codes. I may return with another blog in the future by solving the current processes(maybe the app that solves my current issues might be under the work of a thinker like you). With that said, Thank you for reading 🎉.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7e474f329b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Converting Bank Statements to Insights: Using Google Sheets for Data Transformation and Cleanup|…]]></title>
            <link>https://medium.com/@ajaytshaju/converting-bank-statements-to-insights-using-google-sheets-for-data-transformation-and-cleanup-58259d102108?source=rss-eb9af08ea721------2</link>
            <guid isPermaLink="false">https://medium.com/p/58259d102108</guid>
            <category><![CDATA[finance]]></category>
            <category><![CDATA[data-cleaning]]></category>
            <category><![CDATA[dashboard]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[spreadsheets]]></category>
            <dc:creator><![CDATA[AJAY]]></dc:creator>
            <pubDate>Sat, 09 Nov 2024 08:31:59 GMT</pubDate>
            <atom:updated>2024-11-16T01:51:03.762Z</atom:updated>
            <content:encoded><![CDATA[<h3>Converting Bank Statements to Insights: Using MS Excel and Google Sheets for Data Transformation and Cleanup | Part 1</h3><p>We all spend 12–15+ years studying, aiming to secure a job or start a business — in other words, to make money. Most of us succeed in one way or another. <em>As Malayalam actor Prithviraj Sukumaran once said in an interview, “Getting to a position is easier, but maintaining it is harder”.</em> The same applies to money—earning, whether from a job, investments, real estate, rentals, or even through family support may come relatively easily, but managing it wisely is much more challenging. That’s where financial trackers become essential. They allow us to visually track where our money comes from and where it goes, enabling us to make informed decisions. This blog will guide you in building a simple yet automated personal finance tracker.</p><p><em>For your information:</em> After finishing the blog, I realized it has a reading time of about 35 to 40 minutes, which is too long for any reader. So, I decided to split the story into two parts.</p><blockquote>Part 1(this story): Converting Bank Statements to Insights: Using Google Sheets for Data Transformation and Cleanup.</blockquote><blockquote><a href="https://medium.com/@ajaytshaju/converting-bank-statements-to-insights-automating-continuous-data-collection-and-building-a-c7e474f329b1">Part 2</a>: Converting Bank Statements to Insights: Automating Continuous Data Collection and Building a Self-Updating Dashboard with Gmail, Zapier, and Google Sheets.</blockquote><p>Part 1 (Click to go to the contents):</p><ul><li><a href="#815b">Backstory</a></li><li><a href="#655b">Data Collection</a></li><li><a href="#efde">Data Transformation</a><br> * Converting HTML File to CSV Format — The Failed Attempt.<br> * What Led to the Failure of Old Transaction Data Collection?</li><li><a href="#a6b5">Arranging and Cleaning Axis Bank Transaction Data</a></li></ul><h4>1. The Backstory</h4><p>I started seriously thinking about managing and tracking my finances in late September 2024. By the end of September, I explored how others handle personal finance tracking by checking out sample templates on Google Sheets and Microsoft Excel and watching YouTube videos. Then, I started the data collection by the start of October 2024, however, due to the heavy work involved in logging the transactions, either by writing it down and then typing it into a spreadsheet or typing the data directly into the spreadsheet, I didn’t do the data collection task correctly. This time I realized why seasoned data professionals say ‘collecting data is the most tiring process’. So I found an easier way to do this process using ‘Google Forms to populate the Google Sheet’ — I made a Google form with questions Date, Details, and Credit/Debit and kept the link to this form in an easily accessible place, but this also has a downside, as this is similar to typing directly into google sheets but instead of opening the sheet app I open the forms app. Therefore that step also failed, in short — I failed fast and searched for other options.<br>After a few days, I noticed a pattern: I was using Google Pay for most of my transactions. Each time I used Google Pay or withdrew money from an ATM, a notification was sent to me as a message to my phone and mail to my Gmail. While I initially saw these emails as redundant, I soon realized they could be useful for automating my data entry. I thought, why not extract transaction data from these emails and enter it directly into my Google Sheet?<br>To automate this, I needed a service that could access my Gmail, identify whether a mail is about a bank transaction, then identify whether it is about credit or debit, and finally format and upload the data to my Google Sheet. As the mediator, I chose Zapier a reliable tool with bank-level encryption, so I could trust it while working with sensitive data.<br>With Zapier, Gmail, and Google Sheets, my personal finance tracking system started to take shape, as shown in the diagram below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aTXrt6a1d8FtxtBFYa8oKw.png" /><figcaption>My Automated Personal Finance Tracking System</figcaption></figure><h4>2. Data Collection</h4><p>I used two bank accounts — Canara Bank and Axis Bank. My current account is with Axis Bank, while my Canara Bank account was deactivated two years ago. To start, I needed to gather data from both banks.<br>I accessed Axis Bank’s Internet Banking services.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0aGsoRiIwHkBajW7us4-fQ.png" /><figcaption>Axis Bank Internet Banking Interface</figcaption></figure><p>Navigated to Account Statements, and downloaded my statements as CSV files. Since Axis Bank only allows transaction exports for up to 366 days at a time, I had to download two files. The first covered February 2023 to February 2024, and the second included February-March 2024 to October 2024. Below, you’ll see images of these two CSV files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/278/1*eVWM7UgyizXSvADvYkRwBQ.png" /><figcaption>Two CSV files containing my Axis Bank transactions</figcaption></figure><p>However, I ran into an issue when trying to retrieve data from Canara Bank. After deactivating my Canara Bank account, I deleted all related emails, account statements, and notifications from Gmail, severing my connection with the bank. This data would have been valuable, especially for machine learning or deep learning projects where more data enhances model accuracy. With records dating back to 2021, I could have added around 1,500 rows of data. In an attempt to recover this information, I searched Google Pay for any 2021 transaction data related to Canara Bank and found some. I used Google Takeout to get my Google Pay data but discovered that the CSV file where the data can be found is empty, I tried requesting the data multiple times while writing this blog and sent Google feedback about this problem, but still no data is seen in the money send and requests CSV file from Google Takeout.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/660/1*gYczx1q5vhvjIG5tIeKzLA.png" /><figcaption>Empty money send and requests CSV file from Google Takeout</figcaption></figure><p>However, I found an HTML file showing a simple web page with my transactions, including the amount, date, time, and some basic details.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/666/1*bDIZHZ5-TZndn89Jsa_8mQ.png" /><figcaption>Folder tree of Google Pay data takeout</figcaption></figure><p>Unfortunately, this HTML file posed another challenge since it wasn’t straightforward to convert this into CSV format. In the next section, I will explain the series of tasks I followed to extract the data.</p><h4>3. Data Transformation</h4><p>Converting HTML File to CSV Format — The Failed Attempt.</p><p>I started by opening the MyActivity.html file in VS Code, only to see an overwhelming amount of unreadable characters. To make sense of it I selected all the text, right-clicked, and pressed the Format Document option (Keyboard shortcut: Shift + Alt + F). VS Code then automatically structured the text, making it much cleaner and easier to read.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1bogOEMl2FZWgR8h8Hl7_g.png" /><figcaption>Before and After view of formatting the code on VS Code</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xPlnmueVM6P8N3JGO79wsw.png" /><figcaption>Line number and Div container structure</figcaption></figure><p>I examined the readable file and discovered around 8,000 lines of code were CSS styling before the actual HTML content began. The HTML portion, containing about 40,000 lines, presented each transaction in horizontally aligned div containers where each was defined by repetitive code blocks specifying layout and styling(see the rendered image below). Then I checked for patterns in the div container HTML code. I noticed that it included transactions marked as “completed”, “pending”, “failed,” and “Personalization within Google Pay”. I marked these in my note — remove the repetitive lines and all incomplete transactions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZdsHz0NnxrlLQlUBwXNJkw.png" /><figcaption>Rendered HTML Code</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dnJXO5bLhbYZBClMkU8iGQ.png" /><figcaption>Items marked as cancelled in the HTML file</figcaption></figure><p>In VS Code I used a code snippet from ChatGPT, which utilized Python’s BeautifulSoup library to retain only the “completed” transactions, removing the rest. This process reduced about 20,000 lines of code, and then I used the Find and Replace tool to eliminate repeated lines, which reduced 12,000 lines from the file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mZ0wSKdQKaGKmIjXnymBRg.png" /><figcaption>ChatGPT helping cleanup my HTML code</figcaption></figure><p>However, the HTML still has unique identifiers and other unnecessary elements, so I applied regular expressions to remove these. Let’s see the details of regex patterns and other techniques I used for this cleanup.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-xiIIl08hU1hW0BldT50bA.png" /><figcaption>Finiding alphanumeric unique identifiers using RegEx in VS Code</figcaption></figure><ul><li>\d{1,2}:\d{2}:\d{2}\s*[AP]M — For matching the time of format “1:55:45 PM”</li><li>[\w+\-/\?&gt;&lt;.,]{12,} — For matching unique identifier code of transactions, eg — ‘d1i/lfg8SWqU31//’, ‘pWg1Hw7hTYCvKDgE’, ‘Mz6RDKtr6SmOL3rbM’</li><li>Find ‘ ‘ (5 spaces) and Replace it with a single space, and repeat until this until 5 spaces become 2 spaces.</li><li>\n\n\n\n\n — For matching line breaks(multiple enter/return presses).</li><li>Ctrl + Shift + L — For selecting all similar items that match the current selection.</li></ul><p>After these regexes and other techniques, I need to do a little bit of manual work for about 15 minutes, to remove some items where there are no patterns to search for. While working with regular expressions it takes many trial and error steps, so I recommend using the <a href="https://regex101.com/">regex101</a> website for quick testing of patterns.</p><p>Finally, I was left with clean text-based transaction messages, such as “Paid Rs.100.00 for Play Store Recharge on 28–09–2020”, but in order to convert it to a CSV format having columns Date, Details, Credit, Debit, and Balance, this text-based is not suitable. Typing or copying this data manually would be extremely time-consuming and repetitive, so I decided to leverage Llama 3, installed on my system through Ollama, for the task. <em>Llama, like ChatGPT’s GPT Engines, is a large-language model that I can use on my local machine, allowing me to keep my transaction data private. </em>I accessed Llama via Windows PowerShell, spending some time crafting precise prompts to guide it in formatting the data. See our chat below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VE-L6y9p7__pXW9lvaJEqA.png" /><figcaption>Prompting Llama3 to output transactions in a specific format</figcaption></figure><p>Llama processed my requests efficiently, outputting each line in the desired format. With this structured output, I could save it as a text file, and then import it into Excel as a CSV by specifying the comma as a delimiter. Once in Excel, I applied formulas to automate the categorization of Credit and Debit transactions using the IF formula. For example, if cell A1 contained “paid,” I directed the amount to the Debit column; otherwise, it went to the Credit column. I then used the formula Previous Balance-Debit+Credit to calculate balances, while a simple TEXT formula extracted the month and year from each date (e.g., TEXT(A1, “MMMM”) for the month and “YYYY” for the year).<br>This approach significantly sped up the process, enabling me to format all my data within minutes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*93zmW-4Oeh27-TSDXwnbbg.png" /><figcaption>Old Transactions data from Canara Bank in Excel with different formulas applied</figcaption></figure><p>What Led to the Failure of Old Transaction Data Collection?</p><p>I simply won’t categorize the transaction data collection as a complete failure; rather, I set it aside after converting it to CSV format. There’s still considerable work required to prepare the data for purposes such as Dashboard building, Machine Learning, and Deep Learning. Preparing the data to the required form consumes a significant amount of time, especially when I need to focus on other important tasks, such as organizing the Axis Bank data, setting up the dashboard, and automating the data collection using Gmail, Zapier, and Google Sheets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*01ksb2O8Elk8eDOIbEh-Mg.png" /><figcaption>Two main problems — Date has leading spaces and lack of particulars in deatials column</figcaption></figure><p>Since I converted the old bank data into CSV format and saved it, I decided to hold the works temporarily. Even though this step remains incomplete, it has been immensely valuable. It taught me the unusual power of regular expressions, illustrated how even simple ideas can lead to significant outcomes(use of \n\n\n as RegEx), and strengthened the importance of testing our thoughts for better results.</p><h4>4. Arranging and Cleaning Axis Bank Transaction Data</h4><p>I began by locating the two CSV files containing my Axis Bank transactions, combining and loading those files as a single dataset, and transforming the data by removing unwanted columns that come while combining the CSV files (source information and table details, for example). Once I had a clean dataset, I explored it, noting that it contained five headers: Date, Details, Credit, Debit, and Balance, with a total of 942 transactions.</p><p>To enhance the dataset I added two new columns to separate the data into months and years. I achieved this using the TEXT function, as explained in the HTML to CSV conversion section. Next, I turned my attention to the details column, utilizing regular expressions to remove unnecessary parts using the pandas library of Python, you can read a similar work <a href="https://medium.com/@ajaytshaju/data-driven-car-buying-how-i-analyzed-the-best-options-using-python-3e3a15c5f8eb">here</a>.</p><h4>Transforming the Transaction Data</h4><p>After documenting the findings, I turned back to transform the bank data to add a new column labeled “Category” next to the details, complete with a dropdown list for easy selection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q8vp8hoctPv-_D4JTjNZwg.png" /><figcaption>Snapshot of transformed data</figcaption></figure><p>However, a significant challenge arose when it came to categorizing the transactions based on the details column. With 942 rows to process, the task of selecting a category from a list of over 70+ options became repetitive and time-consuming. I started searching for different methods to streamline the category selection process, which I will explain in the next section.</p><p>Now I am concluding Part 1 here. If you are interested in knowing how I tackled certain challenges, fly to <a href="https://medium.com/@ajaytshaju/converting-bank-statements-to-insights-automating-continuous-data-collection-and-building-a-c7e474f329b1">Part 2</a> of this story(read some sneak-peek of Part 2— Filling 940+ dropdowns in just 4–5h, integrating multiple apps to automate future data collection, and setting the dashboard).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58259d102108" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Step-by-Step Guide for Creating a Reading Habit Tracker in Google Sheets]]></title>
            <link>https://medium.com/@ajaytshaju/step-by-step-guide-for-creating-a-reading-habit-tracker-in-google-sheets-96920411282f?source=rss-eb9af08ea721------2</link>
            <guid isPermaLink="false">https://medium.com/p/96920411282f</guid>
            <category><![CDATA[reading-habits]]></category>
            <category><![CDATA[reading]]></category>
            <category><![CDATA[tracker]]></category>
            <category><![CDATA[spreadsheets]]></category>
            <category><![CDATA[google-sheet-ai]]></category>
            <dc:creator><![CDATA[AJAY]]></dc:creator>
            <pubDate>Fri, 08 Nov 2024 08:32:18 GMT</pubDate>
            <atom:updated>2024-11-08T08:32:18.112Z</atom:updated>
            <content:encoded><![CDATA[<p>Tracking your reading habits is essential to staying consistent and motivated in your reading journey. While many readers prefer using physical notebooks or apps to log their progress, I found a personalized Google Sheet to be the perfect tool as a tracker, because we can heavily customize it, integrate other tools, and access it anywhere on the Earth if you have a device with internet and your Gmail account signed in. In this story, I will walk you through the steps to create a reading habit tracker using Google Sheets and the data I collected over the years.</p><p><em>Just a minute</em>, I wrote another story about “<a href="https://medium.com/@ajaytshaju/my-journey-with-books-from-curiosity-to-lifelong-learning-e3388b1d10da">How Reading Changed My Life</a>” (click to read it). This story continues one of the sections (Reading Habit Tracker: A Work in Progress) of that story.</p><p>Click to go to specific headings</p><ol><li><a href="#49e5">Setting Up the Google Sheet</a></li><li><a href="#6b26">Setting the structure and adding the data</a></li><li><a href="#e906">Making the Dashboard</a></li><li><a href="#13f4">Additional Features</a></li></ol><h4>1. Setting Up the Google Sheet</h4><p>I started by adding the required sheets to an empty spreadsheet on Google Sheets. I have four of them: Dashboard, Reading, Finished, and Lists.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/655/1*296I3qp80yiqC11EJKvh6g.png" /><figcaption>4 Sheets I used to track my reading</figcaption></figure><ul><li>The <em>Dashboard</em> contains some visualization as Scorecard, Doughnut and Bar charts, and two Pivot Tables.</li><li>The <em>Reading</em> sheet contains the current books I am reading and there are 8 columns, they are Serial number, Book Title, Genre, Reading Material Type, Pages Read, Total Pages, Completion Status, and Status(Reading, Archived, Paused, and Read Later).</li><li>The <em>Finished </em>sheet contains the books that I have finished reading, there are 5 columns similar to the Reading sheet, the Serial number, Book Title, Genre, Reading Material Type, and Total Pages.</li><li>The <em>List </em>sheet contains the contents for drop-down for Genre and Reading Material Type. We can append more items to these lists as required in the future, rather than editing the drop-down list from its settings. The reason for moving the list to a separate sheet will be explained later.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8trrkBaeiT2jACCKIu-wMQ.png" /><figcaption>Snapshot of all sheets in my Google Sheet File</figcaption></figure><p>The above image show my sheets, the first image is the Dashboard, the second is the reading list, the third on the left bottom corner is the finished books list, and the fourth on the bottom right corner is my Lists sheet.</p><h4>2. Setting the structure and adding the data</h4><p>Starting with the <strong>Lists sheet</strong>, I manually entered some Genres and Reading Material Type and I can add as many items to these lists as I continue classifying the books and they will automatically appear in the dropdown list, given I selected the ample amount of rows which giving the data range of dropdowns.</p><p><em>Tip</em>: <em>See the image above if you want to see the outputs while reading these paragraphs.</em></p><p>Next setting up the <strong>Reading Sheet</strong>,<strong> </strong>the first column is <em>Serial Number</em> I typed 1, 2, and 3 and selected these 3 numbers, and dragged up to 11 to get the numbers automatically on my sheet. Next is <em>Book Title</em> I manually entered each book I hold currently.</p><p>The next one is the <em>Genre</em> column for which I have to input a dropdown for selecting the genre for each book. To do it</p><ul><li>Select the range up to where you need the dropdowns.</li><li>Click on the Insert button in the Menu tab and click Dropdown.</li><li>Suddenly a chip-like dropdown will appear on the selected range, and the Data Validation Rules settings will appear on the right side of your Google Sheets.</li><li>In the Data Validation Rules, you can see a Criteria setting option, it’s also a dropdown. Expand the dropdown and select the ‘Dropdown (from a range)’ option.</li><li>Now you will see an empty box just below the Criteria settings, there is a window icon to the right side of the empty box, click to select the data range from where you want to fetch the option for your dropdown (in my case, the Lists sheet)</li><li>In addition, you can select colors for each of the options, which appear on the left side of each of the options on the Data Valuation Rules setups.</li><li>To commit the changes press the Done button and select each genre corresponding to the book title from the dropdown list.</li></ul><p>The same set of steps were done for the Reading Materials Type and Status columns, I just added color for the dropdown entries.</p><p>For completing the Pages Read and Total Pages I have to manually enter the values, and the Pages Read are updated once a week. The next one is the Completion Status column which contains a bar chart in red color showing a visual cue of completion, rather than seeing the page numbers. It is done using a formula called Sparkline in Google Sheets.</p><p>=SPARKLINE(pages_read, {&quot;charttype&quot;,&quot;bar&quot;;&quot;max&quot;,total_pages;&quot;color1&quot;,if(pages_read&lt;total_pages, &quot;red&quot;, &quot;green&quot;)})</p><ul><li>pages_read: cell reference to the data point that the chart will represent.</li><li>{“charttype”,”bar”;”max”,total_read;”color1&quot;, if(pages_read&lt;total_read, “red”, “green”)}: This is an array of options that customize the chart:</li><li>charttype, bar: Specifies that the chart type should be a bar chart.</li><li>max, total_read: Sets the maximum value for the chart’s scale, using the value in cell total_read.</li><li>color1, if(pages_read&lt;total_read, “red”, “green”): This part determines the color of the bar:<br>** If the value in pages_read is less than the value in total_read, the bar will be red, else bar will be green.</li></ul><p>The entries on the <strong>Finished</strong> <strong>Sheet </strong>were similar to the Reading sheet, the only difference is the count of books is more than 50. I have the book title and total pages as text separated by a hyphen in my Google Keep Notes(for example, You Can Win — 315), I copied the note to a column in the Finished Sheet and named the column Book Title. Then split the text using the ‘<strong>Split Text to Columns</strong>’ option under the Data tab of the Menu bar with the separator (delimiter) as a hyphen, it will detect the separator automatically or we can select the delimiter as a comma, semicolon, period, space, or custom. After that, I just need to rearrange the columns. The only tiring process for both the Reading and Finished Sheets was the manual selection of genre and reading material type from the dropdown, if you have any suggestions to do it faster please comment.</p><h4>3. Making the Dashboard</h4><p>A dashboard is the place where our data gets its shape, most managers look into some dashboards to make decisions that shape the future of a company. My dashboard is simple and intuitive as I need to get the idea with a single look rather than scrutinizing the charts. The type of visualizations used were Scorecard charts, which display a number in big letters just like a scorecard in games, a Donut chart or a Pie chart with a hole, Bar charts both vertical and horizontal, Pivot tables, and slicers. And these slicers will change the charts based on our selection, just like a filter.</p><p>Now let’s move on to the setting of each chart.</p><p>First, to insert a chart, you press the Insert button on the Menu bar and click on the Charts, or you can access the same button on the right side of the Quick Access toolbar. When Inserting a chart, a dialog box called Chart Editor pops up on the right side of Google Sheets. In the Setup tab of the Chart Editor you need to select the Chart Type from the dropdown list, there are many types of charts Line, Area, Column, Pie, Scatter, Map, and Other.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oKE5u-ADSaGHqqPzuF5fIw.png" /><figcaption>My Dashboard</figcaption></figure><p>To add the first three charts (<strong>the scorecard charts</strong>), you press the Scorecard Chart under Other Options. When you click on this Scorecard Chart, you need to add a key value, for that select the data range and aggregate option (in my case it is the count of Book Title in the Finished sheet). The same goes for the ‘Total Pages Read’ and ‘Total Pages (Reading Now)’, only difference is the data range. For Total Pages Read, the data range is the Total Pages column of my finished sheet, and aggregate it by SUM. And ‘Total Pages (Reading Now)’ is actually calculated in a cell underneath the scorecard, the formula I used is=SUM(Finished!E:E, ReadingE2:E11)sum of the finished sheet’s Total Pages and Reading sheet’s Pages Read.</p><p>For adding more charts, <em>you should have a clear understanding or a plan in your mind about what visualizations you need to see and from which columns</em>. In my mind, I want to see the visualizations of my book type, Reading Materials Type, and Current Reading Status, in different visualizations like pie charts, bar charts, etc.</p><p>First, add the <strong>Book Type to a Pie chart</strong>. Add a new chart and select the chart type as pie. Then select the data range by clicking the window icon on the data range, drag, and select the data range(in my case, genre in Finished sheet). It will appear as a pie chart automatically, if it doesn’t appear or you selected the whole data, then you can select the label from a list of column names and aggregate the value if needed. When I see it as a pie chart, I think it would be much better if I put a hole in the middle of that pie chart, that is to make it a donut chart. I selected the chart type as a donut, and the additional settings were checking ‘Use of row 1 as headers’ in the setup tab, legend as labeled on the customize tab, and the donut hole size as 75% in the pie chart option of the customize tab.</p><p>The next one is the <strong>Reading Material Type</strong>. For that, I added a column chart and selected the data range as Reading Material Type from the Finished sheet. On the X-Axis option, it automatically appeared as Reading Material Type and I checked the aggregate box to see the visualization. As additional settings, I checked ‘use row 1 as header’, changed the font size and some formatting also displayed the count inside the bars by checking the data labels option in the Series dropdown in the customize tab of the chart editor. Similar to this, I added the <strong>Current Reading Status</strong> visualization with horizontal bars, with the data range Status column from the Reading sheet.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*anhoqBj4UlibK9yIRCs2SQ.png" /><figcaption>3 Charts in My Dashboard</figcaption></figure><p>Next, I need to have two <strong>Pivot Tables</strong> in my dashboard to see the Currently Reading Book List and All books with Slicers applied. <em>The Pivot Tables help us see our data from another view with aggregations including sum, average, count, etc.</em> <em>I opted for the pivot table because it automatically adds or deletes content whenever the data in the reference changes</em>.</p><p>To create a pivot table, go to the Insert option in the Menu bar and click Pivot Table, then a small dialog box named ‘Create Pivot Table’ will appear. You need to select the data range and the sheet to which the table is to be inserted (New or Existing sheet).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/448/1*dcmHg6fu26PBU_S4y_zPGA.png" /><figcaption>Create Pivot Table dialog box</figcaption></figure><p>For my small pivot table, I selected the whole Reading sheet in the Data range and the Existing sheet radio button to add the table to my Dashboard sheet. With this, a skeleton of the pivot table will appear in the pivot table options, now we need to add rows, columns, values, and filters to the table to get the new view. I added Book Title in the rows as I need to see the book titles as the row value, Pages Read in values as I need to see how many pages I read for each book, and finally Status as filter to filter reading status only to view books with status Reading.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k6UINzkJhj87reRJNeAq6Q.png" /><figcaption>‘Currently reading books’ pivot table functionality</figcaption></figure><p>For the big pivot table, I did the same process for adding the table. Selected the whole data of the Finished sheet added the Serial Number and Book Title in the row and kept columns, values, and filters empty because I need to add a slicer for this dashboard to see different views based on some filters. So I added two slicers(<em>for adding a slicer, click the Data button on the Menu bar and click Add a slicer, then as a rounded rectangle the slicer will appear on your sheet</em>), the data range was column C and D for the genre and reading material type slicers respectively from the Finished sheet. Now I can select the required option in genres like Science to see the books related to that genre, and when we have some options in the slicers the other visualizations will also change. See the image below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*BiF3GR9FNaWYp71N5ZBzRA.png" /><figcaption>3 Options selected in slicer, and corresponding change in other charts</figcaption></figure><h4>4. Additional Features</h4><p>By this time the tracker is somewhat ready, but I found a missing feature. Whenever I finish reading a book I need to move the book from the Reading sheet to the Finished sheet manually. So I planned to automate this task using a simple Google App Script. See the code below</p><pre>// App Script code to automate moving completed books<br>function onEdit(e) {<br>  var sheet = e.source.getActiveSheet();<br>  var editedRange = e.range;<br>  var ReadingBooksSheet = &quot;Reading&quot;;<br>  var FinishedBooksSheet = &quot;Finished&quot;;<br><br>  if (sheet.getName() === ReadingBooksSheet) {<br>    var row = editedRange.getRow();<br>    // Reading Status in Column H (8th column)<br>    var Status = sheet.getRange(row, 8).getValue();<br>    <br>    // If progress stage is marked as &quot;Finished&quot;<br>    if (Status === &quot;Finished&quot;) {<br>      var rowData = sheet.getRange(row, 1, 1, 7).getValues()[0];<br>      // Use &#39;sheet.getLastColumn()&#39; to get full row<br>      <br>      var targetSheet = e.source.getSheetByName(FinishedBooksSheet);<br>      targetSheet.appendRow(rowData); // Move the row to the Finished Sheet<br>      <br>      sheet.deleteRow(row); // Delete the row from the Reading sheet<br>    }<br>  }<br>}</pre><p>This code when saved and run will throw an error, but don’t worry see the explanation from <a href="https://support.google.com/docs/thread/254176258/getting-the-error-typeerror-cannot-read-properties-of-undefined-reading-source?hl=en">Mr Shane on Google Docs Editors Help</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TicdFY--xqkF932p66dN1g.png" /><figcaption>App script error</figcaption></figure><p>Now with this code applied, whenever I change the Status of a book in the Reading sheet, within a second, the row will be moved to the Finished sheet. See how it works on my Google sheet</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/854/1*0LBLSQ6YYBUr5OUOURVaBw.gif" /><figcaption>Working of Google App script to move finished book</figcaption></figure><p>Let&#39;s explore the code.</p><p>function onEdit(e) defines a functiononEdit that will run automatically whenever a user edits a cell in the Google Sheet. The parameter e is an event object that contains information about the edit event. The e.source.getActiveSheet() gets the currently active sheet (the one being edited) and e.range gets the range of cells that were edited (where the edit occurred). Next, I defined the variable names for Sheets, and if (sheet.getName() === ReadingBooksSheet) checks if the active sheet (the one being edited) is the Reading sheet, if it is then editedRange.getRow() gets the row number of the edited cell, with this row number we find the status using sheet.getRange(row, 8).getValue() where 8 is the column H on which Status of the reading progress exist.</p><p>If the Status is Finished, then the data in that row is taken using sheet.getRange(row, 1, 1, 7).getValues()[0] here</p><ul><li>row: the starting row</li><li>1: the starting column, A</li><li>1: number of rows to return, only 1</li><li>7: the number of columns to return, from A to F.</li><li>The getValues()[0] is used to get the first row of data from the returning two-dimensional array.</li></ul><p>ThetargetSheet.append(rowData) appends the data to the end of the Finished sheet as a new row and sheet.deleteRow(row)deletes the current row from the Reading sheet. Here this deleteRow deletes the complete row, and I have placed the list for dropdowns like Genre and Reading Material Type near these rows, when the deleteRow() deletes the item in the row, it will delete an entry of the genre list too, thereby bringing problem for the genre dropdown, see the image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*__edHJ7TPke6nOBSqr7Iiw.png" /><figcaption>Red mark near Autobiography indicates an error</figcaption></figure><h4>Conclusion</h4><p>The beauty of using Google Sheets is the <strong>real-time update</strong> feature. As soon as I add a book to the reading list, the charts and the pivot tables get updated automatically. When I finish a book or change its reading status to Finished, the app script will move the row to Finished sheet, effectively saving me a lot of time. With this tracker, I can review the data in equal intervals to track my progress and adjust my reading habits as needed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=96920411282f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My Journey with Books: From Curiosity to Lifelong Learning]]></title>
            <link>https://medium.com/@ajaytshaju/my-journey-with-books-from-curiosity-to-lifelong-learning-e3388b1d10da?source=rss-eb9af08ea721------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3388b1d10da</guid>
            <category><![CDATA[bibliophilia]]></category>
            <category><![CDATA[leisure]]></category>
            <category><![CDATA[habits]]></category>
            <category><![CDATA[books]]></category>
            <category><![CDATA[reading]]></category>
            <dc:creator><![CDATA[AJAY]]></dc:creator>
            <pubDate>Wed, 06 Nov 2024 16:51:01 GMT</pubDate>
            <atom:updated>2024-11-06T16:51:01.141Z</atom:updated>
            <content:encoded><![CDATA[<p>Growing up, books weren’t just items on my shelf; they were the torches I used to explore worlds, ideas I hadn’t imagined, and skills I didn’t even know existed. Each book brought something unique to my life, from childhood curiosity to shaping my career in Artificial Intelligence. Through books, I not only gained knowledge but also learned more about myself and the world around me. Here’s my journey with reading and the impact it has had on my life, thoughts, and ambitions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s3YkIVVI-3SQK7Bbzr_I-g.jpeg" /><figcaption>Some of My Book Collections</figcaption></figure><h3>Childhood Curiosity and the Spark of Knowledge</h3><p>According to my mother, my reading journey started at the age of 4 with some children-level Malayalam books. From there onwards, I used to see images and try to understand things by reading less, which helps me now watch foreign movies without English subtitles. By this time most children will be drawn to reading newspapers but I haven’t, till now. It is because of the negativity spread by the local publications in their first 2–3 pages, if they can switch it with achievements, information, or even advertisements, then most youngsters like me would have read it. but it’s business and they have to sell more, the current situation as explained above may be their selling strategy.</p><p>Then came a time when I started searching for facts to feed my curiosity. There I was introduced to many books like Important Days, How to Read and Speak English, World Leaders, The Children’s Encyclopedia, The Atlas, World Leaders, and Illustrated Oxford Dictionary(which I recommend you to buy for your children or nephews) this may weigh 2kg(4.5lbs) and may cost around Rs.2000 (24 USD) but it can give a lifetime knowledge in 1000 big pages.</p><p>When I was in the 7th grade, our school introduced the <strong>Tell Me Why</strong> series as an option for students, most of my friends thought it was a waste of money, but this series of books by Manorama Publications played an important role in my life. Despite the skepticism around me, I asked my mother if I could buy them, and she supported my interest. I collected over 15 books from the series, though I still have only 12 with me today. These weren’t just books to me — they were my private knowledge hub(first little library). I quickly read each publication, re-reading them while eagerly waiting for the next. These books introduced me to new topics, including a term that would later become my passion: Artificial Intelligence. When I read about the potential of computers and mobile devices to think like humans, it was revolutionary. Keep in mind, at that time my parents had mobile phones — without touchscreens, so the idea of machines with human-like intelligence was a thrilling mystery to me. At that time, I didn’t realize this curiosity would later lead me to pursue a BTech degree in <strong>Artificial Intelligence and Data Science</strong>.</p><h3>The Turning Point: Self-Help and Setting a Reading Structure</h3><p>In 12th grade, I faced a reading milestone that completely changed how I approached books. A close friend lent me a copy of <strong>You Can Win</strong> by<strong> Shiv Khera</strong>. I wasn’t keen on self-help books at the time — I just tried <em>The Power of Your Subconscious Mind</em>. So, I initially refused to read this book. However, my friend asked me to try the first chapter, Importance of Attitude: Building a Positive Attitude — and to my surprise, I was hooked and finished the whole book within a week.</p><p>To return the favor, I lent her <strong>A Brief History of Time</strong> by <strong>Stephen Hawking</strong>. She had been hoping to find this book at the school library, but it was unavailable. This exchange sparked something in me, marking the beginning of a structured approach to my reading. I started noting down the books I read and the total number of pages, a habit I’ve maintained since.</p><h3>Discovering the Impact of Books on My Life and Thinking</h3><p>From that point on, my reading became a journey of self-discovery and learning. I’ve read over 50 books to date, which might not seem like a large number, but each book has left a lasting impact on me.</p><p>For example, <strong>Rich Dad Poor Dad</strong> by <strong>Robert Kiyosaki</strong> entirely shifted my perspective on money, savings, and investments. <strong>Start With Why</strong> by <strong>Simon Sinek</strong> taught me the importance of finding a purpose in everything I do. Before reading it, I often focused on “what” and “how” first. But Sinek’s idea of starting with “why” influenced the way I structured whatever I do from then on. <strong>Hooked</strong> by <strong>Nir Eyal</strong>, expanded my understanding of marketing and creating impactful products that connect deeply with users. <strong>Atomic Habits</strong> by <strong>James Clear</strong> taught me the power of small steps. It emphasized that big achievements come from the accumulation of consistent tiny actions. For instance, just as small amounts of water gradually form an ocean, little habits build significant change over time.</p><h3>Expanding My Reading Horizons</h3><p>I don’t limit myself to specific genres. Everything from Science to business, and even Malayalam literature — each genre has something unique to offer. Malayalam books, particularly short stories by Joseph Annamkutty Jose, inspire me by bringing out beauty in life’s smallest details.</p><p>I also explore science-psychology books like <strong>The Brain</strong> by <strong>David Eagleman</strong>, which offers insights into the most complex and powerful organ that ever existed, the Brain. Self-help classics such as <strong>How to Win Friends and Influence People</strong> and <strong>How to Stop Worrying and Start Living</strong> by <strong>Dale Carnegie</strong> have taught me the value of networking, public speaking, and maintaining healthy relationships for personal and professional growth.</p><p>To complement my studies, I’ve also been reading books on Artificial Intelligence. <strong>Life 3.0</strong> by Max Tegmark, which I’m currently reading, has been enlightening on AI’s impact on humanity and offers a broad perspective on what it means to be human in an AI-driven world.</p><h3>Reading Habit Tracker: A Work in Progress</h3><p>To further enrich my reading journey, I’m currently working on building a <strong>Reading Habit Tracker</strong> <strong>using Google Sheets</strong>. Once completed, this tracker will help me record and provide insights about the books I have read. In addition, I am planning to share a detailed technical look at this setup in a future blog post. So stay tuned for the update.</p><h3>How Reading Has Transformed My Perspective</h3><p>Reading has profoundly impacted my way of thinking and personal growth. Here are a few valuable lessons I’ve learned that might resonate with other readers:</p><ol><li><strong>Understanding at Your Own Pace</strong>: When you read regularly and grasp what you’re reading, it fine-tunes your ability to understand things at your own pace. This “speed of understanding” helps me recognize whether I’m gaining value from content or simply consuming it mindlessly — whether it’s a social media post or an informative video.</li><li><strong>Recognizing Supporting Ideas</strong>: Often, when I read, I find myself connecting the material with personal experiences or similar situations. This helps to reinforce the memory and meaning behind what I’m reading. For instance, while reading about the concept of “variable rewards” in <em>Hooked</em>, I instantly thought of how YouTube Shorts and Instagram Reels use this technique to keep users engaged.</li><li><strong>Analyzing Perspectives and Biases</strong>: Books have also taught me to recognize other people’s perspectives and biases. This skill helps me better understand others in conversations and interactions, whether in real life or online. Distinguishing between my own biases and others’ viewpoints has made me more adaptable and open-minded.</li><li><strong>Asking Questions</strong>: One of the most valuable habits I’ve developed from reading is the ability to ask insightful questions. Reading <strong>Rich Dad Poor Dad</strong> made me curious about Ray Kroc and his impact on McDonald’s. What if he hadn’t seized the opportunity to standardize the brand? What if he’d remained a paper cup salesman? Such questions deepen my understanding and strengthen my critical thinking.</li></ol><h3>My Lifelong Reading Goal</h3><p>I don’t see books as just collections of pages; they are like lifetimes of experience compressed into a few hundred pages. My goal is to read widely and learn from diverse topics, never confining myself to a set of genres. Books are a way for me to expand my knowledge, broaden my perspective, and continue growing as a person. Who knows where the next book will lead me? But one thing is certain: the habit of reading has shaped who I am, and it will continue to guide me toward the person I aspire to become.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3388b1d10da" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>