Aditya Chatterjee's Blog, page 19

September 1, 2023

Installing and configuring Webpack [+ Gif Generator Project]

Table of contents:

IntroductionWebpackInstallationConfigurationInputs and outputsCSSSCSSImagesJavascript (+ Babel)Additional loadersImprovementsPluginsConclusionIntroduction

Before we actually start coding, let's have a brief discussion about Webpack.

What is Webpack?

Webpack is a module bundler. Explained concisely, it takes our input files and transforms them into one or more output files. Those input files usually have dependencies, which Webpack transpiles into static ...

 •  0 comments  •  flag
Share on Twitter
Published on September 01, 2023 11:32

Hangman game in Python [with source code]

Table of contentBasics of Hangman gamePlay StrategiesApproach to ImplementFinal ImplementationSample OutputTime and Space ComplexityBasics of Hangman gameHangman game in Python [with source code]

Hangman is a fun game for two or more players. In this game, one player picks a word, phrase, or sentence, and the others try to guess it by suggesting letters or numbers. But there's a catch: they can only guess a certain number of times. The traditional way to play is using pen and paper, but now you can also play it on electroni...

 •  0 comments  •  flag
Share on Twitter
Published on September 01, 2023 09:40

August 31, 2023

Instagram Accounts to Follow for Beginners and Pro-Level Coders

Programming and coding learning never stops. Social media platforms like Instagram allow you to learn, relearn, and share programming tips, tricks, and knowledge. Developers and programming creators on Instagram share their content using inspirational posts that are easy to comprehend. Instagram is a great place to start if you are a coder who wants to share knowledge and skills with other coders. And, as a starter, you can even get free Instagram followers using trial offers from services like ...

 •  0 comments  •  flag
Share on Twitter
Published on August 31, 2023 04:31

August 30, 2023

Building Virtual Keyboard: A Step-by-Step Development Process

In this article at OpenGenus, we will be discussing about the process of developing a virtual keyboard using HTML, CSS, and JavaScript. The virtual keyboard allows users to input text through a graphical interface, and it includes features like caps lock, enter key, and space key.

Table of ContentsIntroductionFeaturesOverview of the project structureStep-by-Step implementationConclusionIntroduction

The virtual keyboard is a useful UI component that can be integrated into various web appl...

 •  0 comments  •  flag
Share on Twitter
Published on August 30, 2023 13:54

Non-negative matrix factorization (NMF) vs Principal Component Analysis (PCA)

In the field of data analysis and dimensionality reduction, Non-negative Matrix Factorization (NMF) and Principal Component Analysis (PCA) are two powerful techniques that play an important role in uncovering patterns, reducing noise, and extracting essential features from complex datasets.

Both methods have found applications in various domains, including image processing, text mining, genetics, and more. In this comprehensive exploration, we will delve into the intricacies of NMF and PCA, high...

 •  0 comments  •  flag
Share on Twitter
Published on August 30, 2023 13:48

Shell Metzner sort

Table of contents:

What is Shell-Metzner sort?Implementing the solutionTime and Space ComplexityAnother ApproachWhat is Shell-Metzner sort?

Prerequisite:

Read about Shell sort

The Shell-Metzner sort is a modified version of a sorting method called Shell sort. It was developed by Marlene Metzner to make it work even better.

Let's understand it in more simple way:

Imagine you have a list of things that you want to arrange in order. The Shell-Metzner sort does this using a specific process....

 •  0 comments  •  flag
Share on Twitter
Published on August 30, 2023 13:41

Avoid these 5 Mistakes as a new Data Scientist

In this article at OpenGenus, we have explored 5 common mistakes one make at their first job as a Data Scientist fresh out of School. We wrap up with 5 tips as well.

Table of contents:

5 Mistakes to avoid5 tips to follow5 Mistakes to avoid

As a new Data Scientist who just completed his or her education at Graduate School and joined the Industry, you are prone to make mistake and learn along the way. These are top 5 mistakes that you should avoid at all cost:

Using Complex Models without Jus...
 •  0 comments  •  flag
Share on Twitter
Published on August 30, 2023 12:36

August 29, 2023

Inference process in Deep Learning [Complete Guide]

AbstractInference process in Deep Learning [Complete Guide]

Inference is the process of applying trained models to new data for predictions. It plays a vital role in real-world applications, enabling insights, automation, and real-time responses. Throughput measures task efficiency, while latency indicates prediction delay. Top-K accuracy assesses model performance, and precision encompasses numerical representation. This article also highlights the significance of inference in harnessing AI's potential across diverse domains.

Table of Content...
 •  0 comments  •  flag
Share on Twitter
Published on August 29, 2023 13:59

Building Dynamic Sound Board using HTML, CSS, and JavaScript [WebDev Project]

Table of Contents

Introduction HTMLAudioElement and Web Audio APIPrerequisitesSetting Up the HTML StructureCreating the Sound ButtonsStyling the Sound BoardImplementing the JavaScript LogicExplanation of JavaScript CodeTesting the Sound BoardConclusionIntroduction

In today's digital age, interactive web applications have become increasingly popular, allowing users to engage with multimedia content in unique and exciting ways. One such application is a sound board, which enables users...

 •  0 comments  •  flag
Share on Twitter
Published on August 29, 2023 13:49

August 27, 2023

setjmp.h and Non-Local Jumps in C [setjmp() and longjmp()]

When it comes to advanced programming scenarios in C, the setjmp.h header stands as a unique tool that enables the implementation of non-local jumps and control flow manipulation. In this article at OpenGenus, we'll delve into the intricacies of setjmp.h, uncovering how it works, its practical applications, and the advantages it brings to the table.

Table of contents:

Understanding Non-Local JumpsThe Basics of setjmp() and longjmp()Working MechanismAdvantages and DisadvantagesAlternatives t...
 •  0 comments  •  flag
Share on Twitter
Published on August 27, 2023 05:14