Use Vite and Mermaid for dynamic diagramming.

Photo by on


In this article, let’s use and to prototype a simple application for dynamic diagramming.

Vite is a build tool that aims to provide a faster and leaner development experience for modern web projects. You can use it with vanilla Javascript/Typescript, or your favorite frameworks like React, Vue, Preact, LitElement, or Svelte.

Mermaid is a Javascript-based diagramming and charting tool that renders Markdown-inspired text definitions to create and modify diagrams dynamically.

There are several advantages to using a text-based approach for diagramming.

  • Version control is easy now. The developer can track changes…

Next-generation character recognition using machine learning.

Photo by on


In this article, I am going to develop a React + FastAPI application that captures images from the webcam and uses an OCR-trained model to detect the text.

is the OCR toolkits that I use. From my testing, it is a lightweight and high-performing ML OCR library. It supports over 80 languages and can be deployed in server, mobile, embedded, and IoT devices using languages like Python, C++, etc.

The Application

The application captures the image using the webcam and invokes the backend API to recognize the text.

Regions, where the characters are detected, are…

Integrate cheat sheet into Neovim without any plugins.

Neovim CheatSheet

I saw a video that showed how to integrate into Neovim using a combination of Tmux, fzf, and shell scripting. I used alacrity + Tmux previously and moved away from this workflow after starting using which is also a GPU-accelerated cross-platform terminal emulator and multiplexer implemented in Rust.

Anyway, I need a simple solution to integrate cheatsheet into my development workflow. I tried to use but like I mentioned I just need a simple solution. There is also available but I don’t need a fancy UI.


Neovim plugins to try out for better development workflow.

New Neovim Plugins to Try


In a previous article, I talked about new Neovim completion frameworks to try out. Let’s go through the new Neovim plugins that could improve our development workflow in this article!


In Emacs, we have that allow us to run code interactively. I am looking for a simple solution for Neovim and find handy.

SnipRun is a code runner plugin for Neovim written in Lua and Rust. It aims to provide stupidly fast partial code testing for interpreted and compiled . …

Gathering data and perform fundamental analysis for a market.

Photo by on


In this article, let’s use our coding skills to evaluate and choose quality stocks. It is fun to collate stock data for a particular market and perform fundamental analyses.

Getting Stock Market Data

I am going to use the library to gather market information.

Let’s get started!

New Neovim completion plugins you should try!

New Neovim Completion Plugins


In the previous articles, I walked through with you the Neovim completion setup using and . The Neovim ecosystem is evolving fast and since then there are new and better completion plugins available for developers.

In this article, let’s explore 2 new completion plugins (coq_nvim and nvim-cmp) that you should try!


is a highly performing Neovim completion plugin that gives the completion results on every keystroke. It provides real-time you can use to measure the performance of the completion sources.

One good thing is that it comes with

Code faster in Visual Studio Code using Vim emulation.

VS Code + Vim


I use both VS Code and Neovim for coding. VS Code mostly at work and Neovim for personal projects. One thing in common is I prefer to use a modal editor to code.

For VS Code, to support modal editing, there are mainly 2 extensions we can use — and . vscode-neovim embeds a Neovim instance inside VS Code whereas VSCodeVim is a Vim emulator (Neovim integration is still experimental).

For beginners, you should start with VSCodeVim as it is much simpler to configure. This article explores how to improve…

Utilities and VS Code extensions to make developer’s life easier.

Photo by on


Technical writing is an essential skill. Having good project documentation helps people understand and use your software effectively. Even if you develop the code, after few months potentially the code is indistinguishable from code that someone else has written. If it is an open-source project and you want people to contribute, then you need to let them understand the code in order to help out.

This article explores utilities and VS Code extensions that could help us document our projects.


Let’s start with . For GitHub-hosted projects,

Use Python to extract data from semi-structured sources like PDF or Excel.

Photo by on


Machine learning algorithms need data for training and testing. With more data, you have better chances of coming out with a good model. Data can come in many forms. In some cases, the data you need may come from semi-structured sources, e.g. spreadsheets, text files, or even other binary files like Word or PDF.

This article explores techniques that can be used to extract data from these semi-structured sources. For demonstration purposes, I am going to extract information from Excel and PDF files.

Data Extraction from Spreadsheet

Let’s get started with data extraction from spreadsheets.

As an example, for the below, I want…

Libraries and toolkits to develop GUI applications in Python.

Photo by on


This article explores the different open-source Python libraries that we can use to develop GUI applications.


If you just want a simple built-in solution, try Tkinter.

package (Tk interface) is the built-in Python GUI library. It is the standard Python interface to the Tk GUI toolkit. Both Tk and are available on most Unix platforms, as well as on Windows systems. (Tk itself is not part of Python; it is maintained at ActiveState.)

E.g. below is the Hello World code snippet from the documentation.


Software engineer, Data Science and ML practitioner.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store