development

Understanding Adapters in Java for Android Development

Understanding Adapters in Java for Android Development

Adapters are a crucial part of Android development, especially when dealing with user interfaces. They act as a bridge between a data source and a user interface component, enabling the display of dynamic content in views like ListView, GridView, and RecyclerView. This article explores the concept of adapters in Java for Android Studio, illustrating their importance and usage with practical examples. Why Are Adapters Important in Android? Data Binding: Adapters facilitate the binding of data from data sources (like arrays, databases, or web services) to UI components.Dynamic Content: They allow for the dynamic display of content, making it easy to…
Read More
System Design Basics – Caching

System Design Basics – Caching

Disclosure: This post includes affiliate links; I may receive compensation if you purchase products or services from the different links provided in this article. image_credit - DesignGuru.io Hello friends, Caching is not just an important topic for System design interviews, its also technique in software development, enabling faster data retrieval, reducing load times, and enhancing user experience. For developers, mastering caching concepts is crucial as it can significantly optimize application performance and scalability. In the past, I have talked about common system design questions like API Gateway vs Load Balancer and Horizontal vs Vertical Scaling, Forward proxy vs reverse proxy…
Read More
Automating User and Group Management using Bash Script

Automating User and Group Management using Bash Script

[*] Creating users and groups manually particularly in a large environment can be time consuming and tedious. Automating this task with a bash script saves time and errors.This script create_users.sh streamline the process, automates the creation of users and groups, sets up home directories, generates random passwords, and logs all actions. This article explains each step of the script and provides insights into its implementation. Script OverviewThe script reads a input file containing usernames and group names, creates users and groups as specified, sets up home directories with appropriate permissions and ownership, generates random passwords, and logs all actions. Additionally,…
Read More
manual testing

manual testing

Functional Testing:It focuses on testing the functionality of the software or system.Verifies whether the software meets the functional requirements.It involves testing the features and functionalities of the software, such as input/output, error handling, and user interface.Tests are typically conducted using test cases or scenarios that validate the functional requirements.It can be performed manually or using automated testing tools.It was done after unit testing and integration testing and before system testing.Non-Functional Testing:It focuses on testing the system's or software's non-functional components.Checks to see if the software satisfies the non-functional requirements, including performance, security, usability, reliability, and compatibility.It involves putting the software's…
Read More
How to Connect Your GitHub Project to Sonar

How to Connect Your GitHub Project to Sonar

This guide will walk you through setting up SonarCloud for a GitHub project to automatically inspect code for bugs and vulnerabilities. Additionally, it covers common errors encountered during the setup process. You can check out the GitHub repository used for this project here: github-workflow-demo. Sonar comes in two flavours - SonarCloud and SonarQube. SonarCloud is a cloud-based service provided by SonarSource for continuous code quality and security inspection, ideal for projects hosted on GitHub, Bitbucket, or Azure DevOps. SonarQube, on the other hand, is a self-hosted solution that requires you to install and manage the server infrastructure, offering greater control…
Read More
SQL with Vector Search : MyScale, Spring and Java – Step by Step tutorial!

SQL with Vector Search : MyScale, Spring and Java – Step by Step tutorial!

In today's data-driven world, the ability to perform efficient and powerful searches is crucial for any application. MyScale, a fast and open-source columnar database management system, offers a compelling solution by combining the power of SQL with vector search capabilities . This combination enables semantic search, a method that improves search accuracy by understanding the meaning of the query. Here’s how you can leverage ClickHouse (MyScale) for semantic search, highlighting the advantages and potential use cases.For comparison, I will demonstrate both approaches: one using Python and another showcasing how to build an enterprise application with Spring and Java.By the end…
Read More
IMPLEMENTING AZURE KEY VAULT

IMPLEMENTING AZURE KEY VAULT

Azure Key Vault (AKV) is a cloud-based security service that provides secure storage, management, and deployment of sensitive data, such as: Encryption and Cryptographic keys Certificates (SSL/TLS, Azure, etc.) Secrets (passwords, credentials, etc.) AKV offers: Secure storage in a Hardware Security Module (HSM) Centralised management and organisation Access control and authentication Encryption and decryption services Key rotation and revocation Auditing and logging Integration with Azure services and applications In this tutorial, I will be demonstrating how to access Azure Key Vault and utilising one of its capabilities to add a secret to the vault. PREREQUISITE Working computer Internet connection Microsoft…
Read More
Deploying an Application on Azure: Guide

Deploying an Application on Azure: Guide

In today's world of cloud computing, Microsoft Azure stands out as one of the leading platforms enabling developers and businesses to deploy applications efficiently and at scale. This article will guide you through the essential steps to deploy an application on Azure, from initial setup to production deployment. Step 1: Creating an Azure Account Before you begin, you'll need a Microsoft Azure account. If you don't have one yet, you can sign up at azure.microsoft.com and create a free or paid account depending on your needs. Step 2: Creating a Resource Group In Azure, a Resource Group acts as a…
Read More
Hosting Static Website On Azure Blob Storage.

Hosting Static Website On Azure Blob Storage.

A static website is an already developed or written code which is done using (in this case Visual Studio Code (VSCode) ) There is no authorization or authentication to this static website. Everything is fixed unless one decides to change the codesA static website is prepared by professional website developers and uses variety of syntax and codes that will be understood by the browser when launched. There is also another functional attribute known as CSS, which works with every website. Its function is to add colour and beauty to the website. A static website enables us to edit some elements…
Read More
No widgets found. Go to Widget page and add the widget in Offcanvas Sidebar Widget Area.