Aditya Chatterjee's Blog, page 22

August 2, 2023

Law of Continuity in UX design

Table Of Contents

1. Introduction

Gestalt's Various Laws For UX DesignGestalt's Principle of UX Design

2. Law of Continuity in UX design

3. Various aspect of Law of Continuity

ConsistencyVisual ContinuitySeamless TransitionNavigation and LayoutProgressive Disclosure:Responsive DesignContextual FlowError Handling and Recovery

4. Conclusion

Introduction

UX (User Experience) design follows the some fundamental design principles these principles are called Gestalt's Principles.

These pr...

 •  0 comments  •  flag
Share on Twitter
Published on August 02, 2023 12:45

SOLID Principles: The Foundation of Robust Object-Oriented Design

In software development, creating maintainable, flexible, and scalable code is of utmost importance. As applications grow in complexity, managing code becomes a challenging task. To address these challenges, the SOLID principles were introduced as a set of guidelines for designing object-oriented systems that are easy to understand, maintain, and extend. In this article at OpenGenus, we will dive deep into SOLID principles and illustrate them with practical code examples.

SOLID is an acronym tha...

 •  0 comments  •  flag
Share on Twitter
Published on August 02, 2023 12:32

Tensor Operations: Flatten and Squeeze

Table of Contents
I. What are Tensors?
II. Importance of Flatten and Squeeze
III. Flatten operation
IV. Squeeze operation
V. Conclusion

In this article at OpenGenus, we have explored the 2 fundamental operations in Deep Learning models that modify tensor structure that is Flatten and Squeeze op.

What are Tensors?

Tensors, similar to matrices, are multi-dimensional vector arrays that store data used in Deep Learning models. Tensors are a generalisation of vectors and matrices mapped to higher dim...

 •  0 comments  •  flag
Share on Twitter
Published on August 02, 2023 12:24

August 1, 2023

Introduction to ElectronJS

Introduction to ElectronJS

In this article on OpenGenus, we will explore an introduction to creating cross-platform desktop applications using Electron JS.

Table of contents:

IntroductionFeatures of Electron JSInstallationBuilding your First AppQuizIntroduction

Electron JS, commonly known as Electron, is an open-source framework that allows developers to build cross-platform desktop applications using web technologies like HTML, CSS, and JavaScript. It’s an open source project started by Cheng Zhao, an engineer at ...

 •  0 comments  •  flag
Share on Twitter
Published on August 01, 2023 13:09

Adaptive and Non-Adaptive Routing Algorithms

Routing is the process of determining the paths that packets should follow in order to reach their destinations efficiently within a computer network. This involves the creation of a routing table that contains information about the routes that packets should take. Various routing algorithms are utilized to find the best possible path for packets to travel.

In this article at OpenGenus, we have explored the concept of Adaptive and Non-Adaptive Routing Algorithms along with examples for both type...

 •  0 comments  •  flag
Share on Twitter
Published on August 01, 2023 13:06

Reasons to consider Django Rest Framework: A Comprehensive Guide

Django Rest Framework (DRF) has revolutionized the way web developers build robust and scalable RESTful APIs using the Django framework. As the demand for efficient web services continues to grow, DRF has emerged as the go-to tool for developers looking to create APIs with ease and elegance. In this article at OpenGenus, we will explore Django Rest Framework in-depth, covering its key features, benefits and best practices.

Table of content:

Understanding Django Rest FrameworkKey featuresAdvan...
 •  0 comments  •  flag
Share on Twitter
Published on August 01, 2023 12:27

Adagrad: An Adaptive Gradient Algorithm for Optimization

Adagrad: An Adaptive Gradient Algorithm for Optimization

Table of Contents
I. Introduction
II. How does Adagrad work?
III. Advantages of Adagrad
IV. Applications of Adagrad
V. Code implementation
VI. Comparison with other algorithms
VII. Conclusion

Adaptive Gradient Algorithm, abbreviated as Adagrad, is a gradient-based optimization algorithm first introduced in 2011. The research paper that talks about it explains that Adagrad is designed to adapt the learning rate for each parameter during the optimization process, based on the past gradients observ...

 •  0 comments  •  flag
Share on Twitter
Published on August 01, 2023 12:19

Cross-Origin Resource Sharing (CORS)

Table of ContentsIntroduction to CORSSame-Origin PolicyThe Need for Cross-Origin RequestsCORS MechanismSimple RequestsPreflight RequestsImplementing CORS on the ServerExample: Node.js with ExpressExample: Python with FlaskHandling CORS on the Client-sideFetch APIXMLHttpRequestCORS LibrariesCommon CORS Errors and Troubleshooting
7.1 Error: "Blocked by CORS policy"
7.2 Error: "No 'Access-Control-Allow-Origin' header"
7.3 Error: Preflight request fails
7.4 Error: CORS with C...
 •  0 comments  •  flag
Share on Twitter
Published on August 01, 2023 12:14

July 31, 2023

Tutorial to Use Axios

In modern web development, making HTTP requests is a fundamental aspect of interacting with APIs and fetching data from servers. There are various libraries and tools available for this purpose, and one of the most popular and widely used is Axios. Axios is a promise-based JavaScript library that simplifies the process of making HTTP requests from both the browser and Node.js environments. In this tutorial at OpenGenus, we will dive into the world of Axios and learn how to use it effectively to ...

 •  0 comments  •  flag
Share on Twitter
Published on July 31, 2023 13:00

July 30, 2023

Brightness and Contrast in Image Processing for ML

Table of Contents
I. Requirements
II. Image Processing and its importance in ML
III. Brightness and Contrast
IV. Importance of Brightness and Contrast
V. Manipulating Brightness and Contrast
VI. Conclusion

Requirements
Note that you need Python and other modules listed below installed on your device before you run the code snippets.

PythonNumpyOpenCVScikit-ImagePILImageio

Image processing took a new turn when Machine Learning applications found a way to vectorize images and learn from the...

 •  0 comments  •  flag
Share on Twitter
Published on July 30, 2023 13:00