Aditya Chatterjee's Blog, page 46

March 20, 2023

Database Clustering

Database Clustering

Database clustering is a technique used to improve the performance and reliability of database systems. It involves the use of multiple servers or nodes to distribute the workload of a database system. This technique provides several benefits to organizations that rely on databases to manage their data. In this article, we will discuss what database clustering is, how it works, and the benefits it offers.

What is Database Clustering?

Database clustering is the process of using multiple servers o...

 •  0 comments  •  flag
Share on Twitter
Published on March 20, 2023 14:34

FTP and SFTP

In this article, we have covered the concept of FTP (File Transfer Protocol) and SFTP (Secure File Transfer Protocol) along with different types of FPT session and its use-cases.

Table of contents:

FTP (File Transfer Protocol)How FTP worksFTP session are of two typesFTP is used forFTP typesSecure FTP (Secure File Transfer Protocol)FTP (File Transfer Protocol)

FTP is commonly used to upload and download files from a web server or other network-connected computer. It is particularly use...

 •  0 comments  •  flag
Share on Twitter
Published on March 20, 2023 07:16

March 19, 2023

Multi-threaded Python code to find Prime Numbers using Sieve of Eratosthenes

In this article, we have designed and implemented a Multi-threaded Python code to find Prime Numbers using Sieve of Eratosthenes.

Understand the Time Complexity Analysis of Sieve of Eratosthenes.

Table of ContentsIntroductionCodeComplexityApplicationsQuestionsConclusion

Introduction

Multi-threading is a powerful tool that allows programmers to execute multiple tasks concurrently within a single process. In this article, we will explore how to use multi-threading in Python to find all ...

 •  0 comments  •  flag
Share on Twitter
Published on March 19, 2023 15:20

March 17, 2023

Pancreas Segmentation using Attention U-Net [with code]

In this article, we are going to walk through a smart way to reduce the computation power needed for an biomedical image analysis which is attention and its use in computer vision tasks. We solve the problem of Pancreas Segmentation using Attention U-Net and implement it in Python using TensorFlow.

This is a strong project for Deep Learning portfolio.

Table of contents:

Introduction and problem statementWhat is attention?How we modify the basic U-Net model?MethodologyAttention Gates in U-N...
 •  0 comments  •  flag
Share on Twitter
Published on March 17, 2023 15:53

March 16, 2023

DetectGPT Model: Detect text generated by GPT3

In this article, we'll be discussing DetectGPT, a natural language processing model that's been developed to detect whether a given text was generated by machine or written by a human. We'll explore how DetectGPT works, its applications, and its potential impact on the field of artificial intelligence.

We'll discuss:

IntroductionCore Concepts of DetectGPTArchitecture of DetectGPTNeural network architecture used in DetectGPTModel training processHow the model detects machine-generated tex...
 •  0 comments  •  flag
Share on Twitter
Published on March 16, 2023 16:25

Stemming in NLP

Introduction

Data preprocessing is a process of working with the raw data to make it suitable for use with a machine learning model. It is the first and most crucial step while creating a machine learning model. In the context of NLP, it turns the raw text data into a format that ML models can understand by reducing noise and ambiguity in the text data.

Some examples of preprocessing tasks in NLP include:

Parts-of-speech (POS) taggingStopword removalStemming

As can be seen, the first two poi...

 •  0 comments  •  flag
Share on Twitter
Published on March 16, 2023 16:16

March 15, 2023

15 Different units in CSS

CSS (Cascading Style Sheets) is a styling language used for describing the presentation of HTML documents. CSS has several units for specifying different types of measurements and values. In this essay, we will look at all the units available in CSS.

List of Units in CSS:

Absolute Units:

cm (Centimeter)mm (Millimeter)inchespixel (px)points (pt)picas (pc)

Relative Units:

emexchremvw (Viewport width)vh (Viewport height)vmin (Viewport minimum)vmax (Viewport maximum)% (Percentage)A...
 •  0 comments  •  flag
Share on Twitter
Published on March 15, 2023 16:20

Generate Secure Random Passwords in Python

In this article, we have developed a script in Python Programming Language to generate secure random passwords.

Table of ContentsIntroductionCodeComplexityApplicationsQuestionsConclusion

Introduction

In today’s digital age, password security is more important than ever. With the increasing number of online accounts and sensitive information stored on the internet, it’s crucial to have strong and unique passwords for each account. One way to achieve this is by using a password generato...

 •  0 comments  •  flag
Share on Twitter
Published on March 15, 2023 07:20

March 14, 2023

Partition tolerance after the 2000s

In this article, we will focus on partition tolerance when designing a system and how the idea of partition tolerance changed along with the evolution of internet connection, this idea of choosing 2 of 3 items on the CAP theorem still exists? if so, is it still the same as it was in the 2000s? Is there a way of having partition tolerance without any failure? Let’s talk about it.

What is partition?

Partition is a network communication error that happens in distributed systems, an example: you we...

 •  0 comments  •  flag
Share on Twitter
Published on March 14, 2023 07:25

JavaScript Debugging

Error will most likely occur whenever you write a code. The debugger in JavaScript is a function that request any available debugging functionality, such as setting a breakpoint. If no debugging functionality is used, it will have no effect on the code.

A written programming code can contain syntax errors or logical errors. And in most cases many of the erros are syntax or logical errors, many of these errors are burdensome to diagnose and fix. Based on experience, when a code has an error, you ...

 •  0 comments  •  flag
Share on Twitter
Published on March 14, 2023 07:07