Use Vite and Mermaid for dynamic diagramming.
There are several advantages to using a text-based approach for diagramming.
Next-generation character recognition using machine learning.
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.
PaddleOCR 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 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.
I saw a video that showed how to integrate cheatsheet 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 wezterm 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
cheat.sh-vim but like I mentioned I just need a simple solution. There is also another plugin available but I don’t need a fancy UI.
Neovim plugins to try out for better development workflow.
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!
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 languages. …
Gathering data and perform fundamental analysis for a market.
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.
I am going to use the
investpy library to gather market information.
Let’s get started!
New Neovim completion plugins you should try!
In the previous articles, I walked through with you the Neovim completion setup using
nvim-compe. 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 (
nvim-cmp) that you should try!
coq_nvim is a highly performing Neovim completion plugin that gives the completion results on every keystroke. It provides real-time performance statistics you can use to measure the performance of the completion sources.
One good thing is that it comes with over…
Code faster in Visual Studio Code using Vim emulation.
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 — VSCodeVim and vscode-neovim. vscode-neovim embeds a Neovim instance inside VS Code whereas VSCodeVim is a Vim emulator (Neovim integration is still experimental).
Utilities and VS Code extensions to make developer’s life easier.
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.
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.
Let’s get started with data extraction from spreadsheets.
As an example, for the spreadsheet below, I want…
Libraries and toolkits to develop GUI applications in Python.
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.
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 Tkinter 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.