Effective Version Management of Programming Languages on Local Machines

Managing multiple versions of programming languages on your local machine can be a challenging task, especially with the frequent releases of new versions. Different projects often require specific versions of a programming language to build and run correctly. Therefore, efficient version management is crucial for any developer working on diverse projects. This blog post will guide you through the best practices for managing various programming language versions, allowing you to focus more on development and less on configuration. ...

December 12, 2024 · 3 min · 604 words · Akash Chandwani

Setting Up Essential Data Science Tools

Getting started with data science involves setting up a few key tools. In this guide, we’ll walk through the installation of: Python Anaconda Jupyter Notebooks 1. Python Installation Before installing a specific version of Python, it’s good practice to check if you already have it installed and which version you’re using. Check Existing Python Installation To find the path of the current Python executable, use: which python To check the version of Python installed, run: ...

August 23, 2024 · 2 min · 305 words · Akash Chandwani

Improving Performance of Your Spring Boot Application With Virtual Threads

Do you know you can significantly improve the performance of your Spring Boot application in less than just two minutes? Yes, you heard it right! You can simply improve performance of your application by adding two configurations in your app. These configuration will enforce the use of Virtual Threads (in contrast to the default Platform Threads) on your Spring Boot application running on Tomcat Server. These changes will significantly improve the throughput of your Spring Boot application (and yes, I am not kidding!). ...

February 12, 2024 · 4 min · 720 words · Akash Chandwani

Embracing Code Quality with Pre-Commit Framework

In the fast-paced world of software development, maintaining code quality is crucial. One effective way to ensure consistent coding standards and catch issues early in the development process is by using a pre-commit framework. In this blog article, we will explore the benefits and implementation of the pre-commit framework to streamline your development workflow. What is the Pre-Commit Framework? The pre-commit framework is a powerful tool that allows developers to define and automate checks on their code before it is committed to version control. It acts as a gatekeeper, ensuring that only clean and high-quality code makes its way into the repository. By running a series of checks and tests before committing changes, developers can catch issues early, preventing bugs and maintaining a high standard of code. ...

January 12, 2024 · 2 min · 414 words · Akash Chandwani

What is Gitleaks and How to Use It?

Gitleaks is an open source tool used to detect and prevent secrets (passwords / api-keys) checked-in to your git repository. The main advantage of Gitleaks is that it not only scans your latest source code but also the entire git history identifying any secrets committed to your source code in the past as well. “Once your secrets are committed, assume it’s leaked.” “Use Gitleaks before a hacker uses it to exploit you.” ...

September 28, 2022 · 6 min · 1275 words · Akash Chandwani

Efficient Data Modeling: Hibernate Strategies for Shared Columns

Introduction In database tables, common columns are often used to store metadata about entries, serving purposes such as auditing, multi-tenancy, and soft deletion. These common columns may include information like created_by, updated_by, created_at, and last_modified_at. While it’s possible to duplicate these columns in entity objects, there’s a more efficient way to handle this. Let’s explore that. Scenario Consider a scenario where a set of resource tables shares common columns, such as created_at and last_modified_at. When mapping these tables to (javax.persistence) entities, we notice that all entity classes have common fields like created_at and last_modified_at. ...

April 21, 2021 · 2 min · 371 words · Akash Chandwani