title
stringlengths
3
221
text
stringlengths
17
477k
parsed
listlengths
0
3.17k
Another Twitter sentiment analysis with Python — Part 3 (Zipf’s Law, data visualisation) | by Ricky Kim | Towards Data Science
This is the third part of Twitter sentiment analysis project I am currently working on as a capstone for General Assembly London’s Data Science Immersive course. You can find the links to the previous posts below. towardsdatascience.com medium.com At the end of the second blog post, I have created term frequency data f...
[ { "code": null, "e": 386, "s": 172, "text": "This is the third part of Twitter sentiment analysis project I am currently working on as a capstone for General Assembly London’s Data Science Immersive course. You can find the links to the previous posts below." }, { "code": null, "e": 409,...
Binary Search - GeeksforGeeks
25 Mar, 2022 Problem: Given a sorted array arr[] of n elements, write a function to search a given element x in arr[]. Examples: Input: arr[] = {10, 20, 30, 50, 60, 80, 110, 130, 140, 170}, x = 110Output: 6Explanation: Element x is present at index 6 Input: arr[] = {10, 20, 30, 40, 60, 110, 120, 130, 170}, x = 175Outp...
[ { "code": null, "e": 24330, "s": 24302, "text": "\n25 Mar, 2022" }, { "code": null, "e": 24436, "s": 24330, "text": "Problem: Given a sorted array arr[] of n elements, write a function to search a given element x in arr[]." }, { "code": null, "e": 24447, "s": 2443...
Attributes in Servlets | Java - GeeksforGeeks
13 Sep, 2018 An attribute in servlet is an object that can be set, get or removed by the following aspects Request ScopeApplication ScopeSession Scope Request Scope Application Scope Session Scope To pass the value from servlet to html/jsp files, setAttribute() method is called by the request object. setAttribute() met...
[ { "code": null, "e": 25775, "s": 25747, "text": "\n13 Sep, 2018" }, { "code": null, "e": 25869, "s": 25775, "text": "An attribute in servlet is an object that can be set, get or removed by the following aspects" }, { "code": null, "e": 25913, "s": 25869, "text...
Crop Canvas / Export HTML5 Canvas with certain width and height
For this, create a temporary canvas for drawing on the current canvas. After that use toDataUrl() method on the temporary canvas − var c = document.getElementsByTagName("canvas"); var ctx = c[0].getContext("2d"); var data = ctx.getImageData(0, 0, c[0].width, c[0].height); var compositeOperation = ctx.globalCompositeOpe...
[ { "code": null, "e": 1193, "s": 1062, "text": "For this, create a temporary canvas for drawing on the current canvas. After that use toDataUrl() method on the temporary canvas −" }, { "code": null, "e": 1679, "s": 1193, "text": "var c = document.getElementsByTagName(\"canvas\");\...
VB.Net - ListView Control
The ListView control is used to display a list of items. Along with the TreeView control, it allows you to create a Windows Explorer like interface. Let's click on a ListView control from the Toolbox and place it on the form. The ListView control displays a list of items along with icons. The Item property of the ListV...
[ { "code": null, "e": 2449, "s": 2300, "text": "The ListView control is used to display a list of items. Along with the TreeView control, it allows you to create a Windows Explorer like interface." }, { "code": null, "e": 2526, "s": 2449, "text": "Let's click on a ListView control...
Interfacing an ultrasonic sensor with Arduino
In this tutorial, we will interface the ultrasonic sensor HC-SR04 with the Arduino to get the distance from a surface in centimetres. As you can see, you need to connect the Vcc pin of HC-SR04 to 5V, GND to GND, Trig pin to pin 7 of Arduino Uno, and Echo pin to pin 6 of Arduino. You can actually choose any GPIO instead...
[ { "code": null, "e": 1196, "s": 1062, "text": "In this tutorial, we will interface the ultrasonic sensor HC-SR04 with the Arduino to get the distance from a surface in centimetres." }, { "code": null, "e": 1472, "s": 1196, "text": "As you can see, you need to connect the Vcc pin ...
How to create Covid19 Country wise status project using REST API ? - GeeksforGeeks
30 Jul, 2020 Today, All Countries in the world fighting with Coronavirus. Every day, Coronavirus cases rising rapidly. It is important for all to keep track of COVID Cases daily and should try to keep himself/herself safe. We have made small web apps that will tell you a total no of cases, new cases, new death, recover...
[ { "code": null, "e": 24945, "s": 24917, "text": "\n30 Jul, 2020" }, { "code": null, "e": 25334, "s": 24945, "text": "Today, All Countries in the world fighting with Coronavirus. Every day, Coronavirus cases rising rapidly. It is important for all to keep track of COVID Cases dail...
SQLAlchemy ORM - Filter Operators
Now, we will learn the filter operations with their respective codes and output. The usual operator used is == and it applies the criteria to check equality. result = session.query(Customers).filter(Customers.id == 2) for row in result: print ("ID:", row.id, "Name: ",row.name, "Address:",row.address, "Email:",row.e...
[ { "code": null, "e": 2421, "s": 2340, "text": "Now, we will learn the filter operations with their respective codes and output." }, { "code": null, "e": 2498, "s": 2421, "text": "The usual operator used is == and it applies the criteria to check equality." }, { "code": nu...
Using the Set Operators
Set operators are used to join the results of two (or more) SELECT statements.The SET operators available in Oracle 11g are UNION,UNION ALL,INTERSECT,and MINUS. The UNION set operator returns the combined results of the two SELECT statements.Essentially,it removes duplicates from the results i.e. only one row will be ...
[ { "code": null, "e": 2625, "s": 2463, "text": "Set operators are used to join the results of two (or more) SELECT statements.The SET operators available in Oracle 11g are UNION,UNION ALL,INTERSECT,and MINUS. " }, { "code": null, "e": 3187, "s": 2625, "text": "The UNION set operat...
Convert mp3 to wav using Python - GeeksforGeeks
24 Jan, 2021 In this article, we are going to discuss various methods to convert mp3 to wave file format using Python. First We Need To Install ffmpeg. It Is A Free Open Source Software Project Consist of a Large Suite Of Libraries And Programs For Handling Video, Audio, And Other Multimedia Files. sudo apt-get install...
[ { "code": null, "e": 24292, "s": 24264, "text": "\n24 Jan, 2021" }, { "code": null, "e": 24398, "s": 24292, "text": "In this article, we are going to discuss various methods to convert mp3 to wave file format using Python." }, { "code": null, "e": 24579, "s": 2439...
JavaScript | Coordinates of mouse - GeeksforGeeks
09 Aug, 2021 The top left corner of the screen is (0, 0) i,e, X and Y coordinate is (0, 0). This means that vertical zero is topmost point and horizontal zero is the leftmost point. So, the task is to find the coordinates of the mouse over the screen.It can be find using the clientX and clientY property: ClientX: It ...
[ { "code": null, "e": 24931, "s": 24903, "text": "\n09 Aug, 2021" }, { "code": null, "e": 25226, "s": 24931, "text": "The top left corner of the screen is (0, 0) i,e, X and Y coordinate is (0, 0). This means that vertical zero is topmost point and horizontal zero is the leftmost p...
How to Adjust Marker Size in Matplotlib? - GeeksforGeeks
19 Dec, 2021 In this article, we are going to see how to adjust marker size in Matplotlib in Python. We can adjust marker size in plots of matplotlib either by specifying the size of the marker in either plot method or scatter method while plotting the graph. plot() method used to plot the graph between 2 data points....
[ { "code": null, "e": 24292, "s": 24264, "text": "\n19 Dec, 2021" }, { "code": null, "e": 24381, "s": 24292, "text": "In this article, we are going to see how to adjust marker size in Matplotlib in Python. " }, { "code": null, "e": 24540, "s": 24381, "text": "W...
Bokeh - Setting Ranges
Numeric ranges of data axes of a plot are automatically set by Bokeh taking into consideration the dataset under process. However, sometimes you may want to define the range of values on x and y axis explicitly. This is done by assigning x_range and y_range properties to a figure() function. These ranges are defined wi...
[ { "code": null, "e": 2563, "s": 2270, "text": "Numeric ranges of data axes of a plot are automatically set by Bokeh taking into consideration the dataset under process. However, sometimes you may want to define the range of values on x and y axis explicitly. This is done by assigning x_range and y_r...
Detect cycle in a directed graph | Practice | GeeksforGeeks
Given a Directed Graph with V vertices (Numbered from 0 to V-1) and E edges, check whether it contains any cycle or not. Example 1: Input: Output: 1 Explanation: 3 -> 3 is a cycle Example 2: Input: Output: 0 Explanation: no cycle in the graph Your task: You dont need to read input or print anything. Your task i...
[ { "code": null, "e": 359, "s": 238, "text": "Given a Directed Graph with V vertices (Numbered from 0 to V-1) and E edges, check whether it contains any cycle or not." }, { "code": null, "e": 371, "s": 359, "text": "\nExample 1:" }, { "code": null, "e": 422, "s": 3...
Data Science and Machine Learning with Scala and Spark (Episode 01/03) | by MA Raza, Ph.D. | Towards Data Science
Scala is the core language to be used in writing the most popular distributed big data processing framework apache Spark. Big Data processing is becoming inevitable from small to large enterprises. The amount of data being produced is increasing by every second. Extracting the valuable insights from data requires state...
[ { "code": null, "e": 435, "s": 172, "text": "Scala is the core language to be used in writing the most popular distributed big data processing framework apache Spark. Big Data processing is becoming inevitable from small to large enterprises. The amount of data being produced is increasing by every ...
Pandas DataFrame vs. Spark DataFrame: When Parallel Computing Matters | by Kevin C Lee | Towards Data Science
Note: The code for this post can be found here Python is famous for its vast selection of libraries and resources from the open-source community. As a Data Analyst/Engineer/Scientist, one might be familiar with popular packages such as Numpy, Pandas, Scikit-learn, Keras, and TensorFlow. Together these modules help us e...
[ { "code": null, "e": 93, "s": 46, "text": "Note: The code for this post can be found here" }, { "code": null, "e": 817, "s": 93, "text": "Python is famous for its vast selection of libraries and resources from the open-source community. As a Data Analyst/Engineer/Scientist, one m...
How To Add Google Translate Button On Your Webpage? - GeeksforGeeks
07 Aug, 2019 Google Translate is a free multilingual machine translation service developed by Google, to translate text from one language into another. It offers a website interface, mobile apps for Android and iOS, and an API that helps developers build browser extensions and software applications. Google Translate su...
[ { "code": null, "e": 25139, "s": 25111, "text": "\n07 Aug, 2019" }, { "code": null, "e": 25491, "s": 25139, "text": "Google Translate is a free multilingual machine translation service developed by Google, to translate text from one language into another. It offers a website inte...
What is malloc in C language?
The C library memory allocation function void *malloc(size_t size) allocates the requested memory and returns a pointer to it. Memory can be allocated in two ways as explained below − Once memory is allocated at compile time, it cannot be changed during execution. There will be a problem of either insufficiency or else...
[ { "code": null, "e": 1189, "s": 1062, "text": "The C library memory allocation function void *malloc(size_t size) allocates the requested memory and returns a pointer to it." }, { "code": null, "e": 1246, "s": 1189, "text": "Memory can be allocated in two ways as explained below ...
Predicting Amazon product reviews’ ratings | by Bhavesh Patel | Towards Data Science
Classifier algorithms INTRODUCTION In machine learning, classification is used to classify a new observation into a specific set/category based on a training set of data containing observations whose category is known in advance. The most common example is “spam” or “non-spam” classes for emails. In E-Commerce, classif...
[ { "code": null, "e": 194, "s": 172, "text": "Classifier algorithms" }, { "code": null, "e": 207, "s": 194, "text": "INTRODUCTION" }, { "code": null, "e": 673, "s": 207, "text": "In machine learning, classification is used to classify a new observation into a s...
Data Manipulation in R with dplyr | by Jeff Griesemer | Towards Data Science
Let’s face it! Most of our time and effort in the journey from data to insights is spent in data manipulation and clean-up. If you’re using R as a part of your data analytics workflow, then the dplyr package is a life saver. Dplyr was created to enable efficient manipulation of data with the advantages of speed and sim...
[ { "code": null, "e": 510, "s": 171, "text": "Let’s face it! Most of our time and effort in the journey from data to insights is spent in data manipulation and clean-up. If you’re using R as a part of your data analytics workflow, then the dplyr package is a life saver. Dplyr was created to enable ef...
Xamarin - Android Dialogs
In this section, we are going to create a button which on clicked displays an alert dialog box. The dialog box contains two buttons, i.e., Delete and Cancel buttons. First of all, go to main.axml and create a new button inside the linear layout as shown in the following code. <?xml version = "1.0" encoding = "utf-8"?> ...
[ { "code": null, "e": 2130, "s": 1964, "text": "In this section, we are going to create a button which on clicked displays an alert dialog box. The dialog box contains two buttons, i.e., Delete and Cancel buttons." }, { "code": null, "e": 2241, "s": 2130, "text": "First of all, go...
C# Program to Check for Majority Element in a sorted array - GeeksforGeeks
13 Dec, 2021 Question: Write a function to find if a given integer x appears more than n/2 times in a sorted array of n integers. Basically, we need to write a function say isMajority() that takes an array (arr[] ), array’s size (n) and a number to be searched (x) as parameters and returns true if x is a majority eleme...
[ { "code": null, "e": 24796, "s": 24768, "text": "\n13 Dec, 2021" }, { "code": null, "e": 25137, "s": 24796, "text": "Question: Write a function to find if a given integer x appears more than n/2 times in a sorted array of n integers. Basically, we need to write a function say isM...
Flutter - Lazy Loader - GeeksforGeeks
28 Oct, 2020 The Lazy loader is a wrapper to the ScrollView that enables lazy loading. It is very useful in situations where the application’s intent is to show endless content in a ListView. For instance, Instagram, Facebook, and most social networking platforms use them to deliver an endless stream of content. In thi...
[ { "code": null, "e": 27269, "s": 27241, "text": "\n28 Oct, 2020" }, { "code": null, "e": 27570, "s": 27269, "text": "The Lazy loader is a wrapper to the ScrollView that enables lazy loading. It is very useful in situations where the application’s intent is to show endless content...
Fractional Knapsack Problem
A list of items is given, each item has its own value and weight. Items can be placed in a knapsack whose maximum weight limit is W. The problem is to find the weight that is less than or equal to W, and value is maximized. There are two types of Knapsack problem. 0 – 1 Knapsack Fractional Knapsack For the 0 – 1 Knapsa...
[ { "code": null, "e": 1286, "s": 1062, "text": "A list of items is given, each item has its own value and weight. Items can be placed in a knapsack whose maximum weight limit is W. The problem is to find the weight that is less than or equal to W, and value is maximized." }, { "code": null, ...
Count of ways to split a given number into prime segments - GeeksforGeeks
12 Oct, 2021 Given numeric string str, the task is to count the number of ways the given string can be split, such that each segment is a prime number. Since the answer can be large, return the answer modulo 109 + 7. Note: A split that contains numbers with leading zeroes will be invalid and the initial string does not...
[ { "code": null, "e": 24415, "s": 24387, "text": "\n12 Oct, 2021" }, { "code": null, "e": 24757, "s": 24415, "text": "Given numeric string str, the task is to count the number of ways the given string can be split, such that each segment is a prime number. Since the answer can be ...
CSS clip-path Property - GeeksforGeeks
22 Oct, 2021 The clip-path property of CSS is used to clip the particular section of the image such that part of the image inside the section is shown and part of the image outside the section is not shown. Syntax: clip-path: <clip-source> | <basic-shape> | none; Property value: All the properties are described well w...
[ { "code": null, "e": 25376, "s": 25348, "text": "\n22 Oct, 2021" }, { "code": null, "e": 25570, "s": 25376, "text": "The clip-path property of CSS is used to clip the particular section of the image such that part of the image inside the section is shown and part of the image out...
Introduction to Evolutionary Algorithms | by Pier Paolo Ippolito | Towards Data Science
1 2 3 4 5 6 7 8 9 10 Powered by Play.ht Create audio with Play.ht Create Audio Narrations with Play.ht Evolution by natural selection is a scientific theory which aims to explain how natural systems evolved over time into more complex systems. Four main components are necessary for evolution by natural selection to tak...
[ { "code": null, "e": 174, "s": 172, "text": "1" }, { "code": null, "e": 176, "s": 174, "text": "2" }, { "code": null, "e": 178, "s": 176, "text": "3" }, { "code": null, "e": 180, "s": 178, "text": "4" }, { "code": null, "e": 182...
C# | How to change the WindowHeight of the Console - GeeksforGeeks
28 Jan, 2019 Given the normal Console in C#, the task is to change the WindowHeight of the Console. Approach: This can be done using the WindowHeight property in the Console class of the System package in C#. The WindowHeight refers to the height of the console window measured in rows. Program 1: Getting the value of W...
[ { "code": null, "e": 25100, "s": 25072, "text": "\n28 Jan, 2019" }, { "code": null, "e": 25187, "s": 25100, "text": "Given the normal Console in C#, the task is to change the WindowHeight of the Console." }, { "code": null, "e": 25374, "s": 25187, "text": "App...
Arabic Topic Classification On The Hespress News Dataset | by Tariq Massaoudi | Towards Data Science
This article is the first in a series where I’ll cover analysis of the Hespress Dataset. According to “alexa.com” Hespress is ranked 4'th in Morrocco, it’s the biggest news site in the country and the average Moroccan spends around 6 minutes daily on the website. The Hespress Dataset is a collection of 11K news article...
[ { "code": null, "e": 261, "s": 172, "text": "This article is the first in a series where I’ll cover analysis of the Hespress Dataset." }, { "code": null, "e": 436, "s": 261, "text": "According to “alexa.com” Hespress is ranked 4'th in Morrocco, it’s the biggest news site in the c...
NLP Profiler: Profiling datasets with one or more text columns | by Himanshu Sharma | Towards Data Science
Have you ever worked with a large text dataset, if you have then you must know how difficult it is to analyze text data, you need to use different functionalities of Natural Language Processing in order to get an idea of the data you are working with? But if I tell you that now don’t need to worry about performing a nu...
[ { "code": null, "e": 570, "s": 171, "text": "Have you ever worked with a large text dataset, if you have then you must know how difficult it is to analyze text data, you need to use different functionalities of Natural Language Processing in order to get an idea of the data you are working with? But...
Run-Time Stack Mechanism in Java [Use the updated images] - GeeksforGeeks
22 Dec, 2021 Prerequisite: Exceptions in Java For every thread, JVM (Java virtual machine) creates a run-time stack. Each and every call performed in a thread is stored in the stack. Each entry in the run-time stack is known as an activation record or stack frame. After completing every method call by the thread is re...
[ { "code": null, "e": 23583, "s": 23555, "text": "\n22 Dec, 2021" }, { "code": null, "e": 23616, "s": 23583, "text": "Prerequisite: Exceptions in Java" }, { "code": null, "e": 23688, "s": 23616, "text": "For every thread, JVM (Java virtual machine) creates a ru...
ExpressJS - Serving static files
Static files are files that clients download as they are from the server. Create a new directory, public. Express, by default does not allow you to serve static files. You need to enable it using the following built-in middleware. app.use(express.static('public')); Note − Express looks up the files relative to the sta...
[ { "code": null, "e": 2292, "s": 2061, "text": "Static files are files that clients download as they are from the server. Create a new directory, public. Express, by default does not allow you to serve static files. You need to enable it using the following built-in middleware." }, { "code": ...
Dimension Reduction Techniques with Python | by Dr. Dataman | Towards Data Science
(Revised on October 12, 2021) Why Do We Need to Reduce Dimensionality? A high-dimensional dataset is a dataset that has a great number of columns (or variables). Such a dataset presents many mathematical or computational challenges. The good news is that variables (or called features) are often correlated — high-dimens...
[ { "code": null, "e": 202, "s": 172, "text": "(Revised on October 12, 2021)" }, { "code": null, "e": 243, "s": 202, "text": "Why Do We Need to Reduce Dimensionality?" }, { "code": null, "e": 917, "s": 243, "text": "A high-dimensional dataset is a dataset that h...
What’s __init__ for me? Designing for Python package imports | Towards Data Science
I have had a few conversations lately about Python packaging, particularly around structuring the import statements to access the various modules of a package. This was something I had to do a lot of investigation of and experimentation with when I was organizing the leiap package. Still, I have not seen a good guide t...
[ { "code": null, "e": 575, "s": 171, "text": "I have had a few conversations lately about Python packaging, particularly around structuring the import statements to access the various modules of a package. This was something I had to do a lot of investigation of and experimentation with when I was or...
How to extract the first n characters from a string using Java?
To find the consonants in the given String compare every character in it using the charAt() method with the vowel letters and remaining are consonants. Live Demo public class FindingConsonants { public static void main(String args[]) { String str = new String("Hi Welcome to Tutorialspoint"); for(int i=0...
[ { "code": null, "e": 1214, "s": 1062, "text": "To find the consonants in the given String compare every character in it using the charAt() method with the vowel letters and remaining are consonants." }, { "code": null, "e": 1224, "s": 1214, "text": "Live Demo" }, { "code"...
Create a stored procedure with delimiter in MySQL
You can create a stored procedure using create procedure command. The syntax is as follows − delimiter // CREATE PROCEDURE yourStoreProcedureName() BEGIN Declare variable here The query statement END // delimiter // Apply the above syntax to create a stored procedure. The query is as follows − mysql> use test; D...
[ { "code": null, "e": 1155, "s": 1062, "text": "You can create a stored procedure using create procedure command. The syntax is as follows −" }, { "code": null, "e": 1285, "s": 1155, "text": "delimiter //\nCREATE PROCEDURE yourStoreProcedureName()\nBEGIN\n Declare variable here\...
Forecasting with web traffic data | by Sheenal Srivastava | Towards Data Science
Typically, when you have access to time series data, in this case, we are going to look at an example where we have one week’s worth of web traffic data, it is instinctive to apply a time series model. However, this does not always need to be the case and I will demonstrate why further in this blog post. In this post, ...
[ { "code": null, "e": 477, "s": 171, "text": "Typically, when you have access to time series data, in this case, we are going to look at an example where we have one week’s worth of web traffic data, it is instinctive to apply a time series model. However, this does not always need to be the case and...
Karp’s minimum mean (or average) weight cycle algorithm
11 Jul, 2022 Given a directed and strongly connected graph with non-negative edge weights. We define the mean weight of a cycle as the summation of all the edge weights of the cycle divided by the no. of edges. Our task is to find the minimum mean weight among all the directed cycles of the graph. Example: Input : Bel...
[ { "code": null, "e": 54, "s": 26, "text": "\n11 Jul, 2022" }, { "code": null, "e": 340, "s": 54, "text": "Given a directed and strongly connected graph with non-negative edge weights. We define the mean weight of a cycle as the summation of all the edge weights of the cycle divid...
Service Workers in Javascript
30 Aug, 2019 What is Service Worker:A service worker is a script that runs independently in the browser background. On the user side, it can intercept its network requests and decide what to load (fetch).Service workers mainly serve features like background sync, push notifications and they are commonly used for’offlin...
[ { "code": null, "e": 28, "s": 0, "text": "\n30 Aug, 2019" }, { "code": null, "e": 447, "s": 28, "text": "What is Service Worker:A service worker is a script that runs independently in the browser background. On the user side, it can intercept its network requests and decide what ...
tr command in Unix/Linux with examples
19 Feb, 2021 The tr command in UNIX is a command line utility for translating or deleting characters. It supports a range of transformations including uppercase to lowercase, squeezing repeating characters, deleting specific characters and basic find and replace. It can be used with UNIX pipes to support more complex t...
[ { "code": null, "e": 52, "s": 24, "text": "\n19 Feb, 2021" }, { "code": null, "e": 396, "s": 52, "text": "The tr command in UNIX is a command line utility for translating or deleting characters. It supports a range of transformations including uppercase to lowercase, squeezing re...
HTML | <thead> align Attribute
06 Jun, 2022 The HTML <thead> align attribute is used to set the horizontal alignment of text content inside the table head (thead) section. Syntax: <thead align="left|right|center|justify|char"> Note: This attribute has been DEPRECATED and is no longer recommended. Attribute Value: left: It sets the text left-align. ...
[ { "code": null, "e": 28, "s": 0, "text": "\n06 Jun, 2022" }, { "code": null, "e": 157, "s": 28, "text": "The HTML <thead> align attribute is used to set the horizontal alignment of text content inside the table head (thead) section. " }, { "code": null, "e": 165, ...
Inheritance in Python Inner Class
30 Jan, 2020 A class is a user-defined blueprint or prototype from which objects are created. Classes provide a means of bundling data and functionality together. Creating a new class creates a new type of object, allowing new instances of that type to be made. Each class instance can have attributes attached to it for...
[ { "code": null, "e": 52, "s": 24, "text": "\n30 Jan, 2020" }, { "code": null, "e": 469, "s": 52, "text": "A class is a user-defined blueprint or prototype from which objects are created. Classes provide a means of bundling data and functionality together. Creating a new class cre...
Scala String lastIndexOf() method with example
03 Oct, 2019 The lastIndexOf() method is utilized to return the index of the last appearance of the character we specify in the argument from the stated string. Method Definition: int lastIndexOf(int ch)Return Type: It returns the index of the last appearance of the character in the argument. Example #1: // Scala progr...
[ { "code": null, "e": 28, "s": 0, "text": "\n03 Oct, 2019" }, { "code": null, "e": 176, "s": 28, "text": "The lastIndexOf() method is utilized to return the index of the last appearance of the character we specify in the argument from the stated string." }, { "code": null,...
GATE | GATE-CS-2007 | Question 85 - GeeksforGeeks
28 Jul, 2021 An operating system uses Shortest Remaining Time first (SRT) process scheduling algorithm. Consider the arrival times and execution times for the following processes: Process Execution time Arrival time P1 20 0 P2 25 15 P3 10 30 P4 ...
[ { "code": null, "e": 24466, "s": 24438, "text": "\n28 Jul, 2021" }, { "code": null, "e": 24633, "s": 24466, "text": "An operating system uses Shortest Remaining Time first (SRT) process scheduling algorithm. Consider the arrival times and execution times for the following process...
How to Enable Or Add Swap Space on Ubuntu 16.04
In this article, we will learn how to enable or add the swap partition on Ubuntu 16.04, actually, the swap will increase the chance of responsiveness of the servers by guarding the out of memory errors for the applications, by default Ubuntu will not enable the swap space. We will learn how to add or enable the swap fi...
[ { "code": null, "e": 1411, "s": 1062, "text": "In this article, we will learn how to enable or add the swap partition on Ubuntu 16.04, actually, the swap will increase the chance of responsiveness of the servers by guarding the out of memory errors for the applications, by default Ubuntu will not en...
Detecting Covid-19 with Chest X-ray - GeeksforGeeks
25 Oct, 2020 COVID-19 pandemic is one of the biggest challenges for the healthcare system right now. It is a respiratory disease that affects our lungs and can cause lasting damage to the lungs that led to symptoms such as difficulty in breathing and in some cases pneumonia and respiratory failure. In this article, we ...
[ { "code": null, "e": 24372, "s": 24344, "text": "\n25 Oct, 2020" }, { "code": null, "e": 24792, "s": 24372, "text": "COVID-19 pandemic is one of the biggest challenges for the healthcare system right now. It is a respiratory disease that affects our lungs and can cause lasting da...
Easy Image Classification with TensorFlow 2.0 | by Cameron Cruz | Towards Data Science
At the TensorFlow Dev Summit 2019, Google introduced the alpha version of TensorFlow 2.0. Historically, TensorFlow is considered the “industrial lathe” of machine learning frameworks: a powerful tool with intimidating complexity and a steep learning curve. If you’ve used TensorFlow 1.x in the past, you know what I’m ta...
[ { "code": null, "e": 642, "s": 171, "text": "At the TensorFlow Dev Summit 2019, Google introduced the alpha version of TensorFlow 2.0. Historically, TensorFlow is considered the “industrial lathe” of machine learning frameworks: a powerful tool with intimidating complexity and a steep learning curve...
Histograms in Plotly using graph_objects class - GeeksforGeeks
10 Jul, 2020 Plotly is a Python library which is used to design graphs, especially interactive graphs. It can plot various graphs and charts like histogram, barplot, boxplot, spreadplot and many more. It is mainly used in data analysis as well as financial analysis. plotly is an interactive visualization library. Plotl...
[ { "code": null, "e": 24806, "s": 24778, "text": "\n10 Jul, 2020" }, { "code": null, "e": 25108, "s": 24806, "text": "Plotly is a Python library which is used to design graphs, especially interactive graphs. It can plot various graphs and charts like histogram, barplot, boxplot, s...
Normalization vs Standardization. The two most important feature scaling... | by Ramya Vidiyala | Towards Data Science
In Machine Learning, a model will be as good (or as bad) as the data you train the model with. The magnitude of different features affects different machine learning models for various reasons. For example, consider a data set containing two features, age, and income. Here age ranges from 0–100, while income ranges fro...
[ { "code": null, "e": 366, "s": 172, "text": "In Machine Learning, a model will be as good (or as bad) as the data you train the model with. The magnitude of different features affects different machine learning models for various reasons." }, { "code": null, "e": 1026, "s": 366, ...
14 Important Coding Rules to Learn from Great Developers - GeeksforGeeks
09 Nov, 2020 If you have never coded ever then you might be thinking that software development is all about writing a bunch of lines of code in some languages and then releasing it to the production level whenever it is ready. Well, this is true but partially. Ask a developer what they actually do in their day-to-day ...
[ { "code": null, "e": 25008, "s": 24980, "text": "\n09 Nov, 2020" }, { "code": null, "e": 25257, "s": 25008, "text": "If you have never coded ever then you might be thinking that software development is all about writing a bunch of lines of code in some languages and then releasin...
Python Forensics - Implementation of Cloud
Cloud computing can be defined as a collection of hosted services provided to users over the Internet. It enables organizations to consume or even compute the resource, which includes Virtual Machines (VMs), storage, or an application as a utility. One of the most important advantages of building applications in Python...
[ { "code": null, "e": 2241, "s": 1992, "text": "Cloud computing can be defined as a collection of hosted services provided to users over the Internet. It enables organizations to consume or even compute the resource, which includes Virtual Machines (VMs), storage, or an application as a utility." }...
Grand Central Dispatch (GCD)
Grand Central Dispatch (GCD) - a technology for Apple’s Mac OS X and iOS operating systems-is a combination of extensions to the C language, an API, and a run-time library that allows application developers to identify sections of code to run in parallel. Like OpenMP, GCD manages most of the details of threading. GCD i...
[ { "code": null, "e": 1619, "s": 1062, "text": "Grand Central Dispatch (GCD) - a technology for Apple’s Mac OS X and iOS operating systems-is a combination of extensions to the C language, an API, and a run-time library that allows application developers to identify sections of code to run in paralle...
MySQL BETWEEN Operator
The BETWEEN operator selects values within a given range. The values can be numbers, text, or dates. The BETWEEN operator is inclusive: begin and end values are included. Below is a selection from the "Products" table in the Northwind sample database: The following SQL statement selects all products with a price betwe...
[ { "code": null, "e": 101, "s": 0, "text": "The BETWEEN operator selects values within a given range. The values can be numbers, text, or dates." }, { "code": null, "e": 171, "s": 101, "text": "The BETWEEN operator is inclusive: begin and end values are included." }, { "co...
What is Addition Assignment Operator (+=) in JavaScript?
It adds the right operand to the left operand and assigns the result to the left operand. You can try to run the following code to learn how to work with Addition Assignment Operator − <html> <body> <script> var a = 33; var b = 10; document.write("Value of a => (a += b) => "); ...
[ { "code": null, "e": 1152, "s": 1062, "text": "It adds the right operand to the left operand and assigns the result to the left operand." }, { "code": null, "e": 1247, "s": 1152, "text": "You can try to run the following code to learn how to work with Addition Assignment Operator...
Build an Application to Search Installed Application using Python - GeeksforGeeks
04 Dec, 2021 Prerequisite – Tkinter in Python. In this article, we are going to write python scripts to search for an installed application on Windows and bind it with the GUI application. We are using winapps modules for managing installed applications on Windows. To install the module, run this command in your termin...
[ { "code": null, "e": 24222, "s": 24194, "text": "\n04 Dec, 2021" }, { "code": null, "e": 24256, "s": 24222, "text": "Prerequisite – Tkinter in Python." }, { "code": null, "e": 24475, "s": 24256, "text": "In this article, we are going to write python scripts to...
Django rest-framework JWT authentication
If you ever worked with Django REST framework, then you surely know about JWT authentication. JWT authentication is used for token authentication and it is really a popular method for authentication in Django. JWT stand for JSON Web Token. Let's see how to work with it. First, install a package − pip install djangorest...
[ { "code": null, "e": 1333, "s": 1062, "text": "If you ever worked with Django REST framework, then you surely know about JWT authentication. JWT authentication is used for token authentication and it is really a popular method for authentication in Django. JWT stand for JSON Web Token. Let's see how...
Multiline macros in C
In this section we will see, how can write multiline macros in C. We can write multiline macros like functions, but for macros, each line must be terminated with backslash ‘\’ character. If we use curly braces ‘{}’ and the macros is ended with ‘}’, then it may generate some error. So we can enclose the entire thing int...
[ { "code": null, "e": 1397, "s": 1062, "text": "In this section we will see, how can write multiline macros in C. We can write multiline macros like functions, but for macros, each line must be terminated with backslash ‘\\’ character. If we use curly braces ‘{}’ and the macros is ended with ‘}’, the...
Angular7 - Templates
Angular 7 uses the <ng-template> as the tag instead of <template>which is used in Angular2. <ng-template> has been in use since the release of Angular 4 , and the earlier version i.e Angular 2 uses <template> for the same purpose. The reason it started to use <ng-template> instead of <template> from Angular 4 onwards i...
[ { "code": null, "e": 2584, "s": 2061, "text": "Angular 7 uses the <ng-template> as the tag instead of <template>which is used in Angular2. <ng-template> has been in use since the release of Angular 4 , and the earlier version i.e Angular 2 uses <template> for the same purpose. The reason it started ...
Insertion Sort
This sorting technique is similar with the card sorting technique, in other words, we sort cards using insertion sort mechanism. For this technique, we pick up one element from the data set and shift the data elements to make a place to insert back the picked up an element into the data set. Time Complexity: O(n) for b...
[ { "code": null, "e": 1355, "s": 1062, "text": "This sorting technique is similar with the card sorting technique, in other words, we sort cards using insertion sort mechanism. For this technique, we pick up one element from the data set and shift the data elements to make a place to insert back the ...
Difference between List and Tuples in Python.
List is a container to contain different types of objects and is used to iterate objects. Example list = ['a', 'b', 'c', 'd', 'e'] Tuple is also similar to list but contains immutable objects. Tuple processing is faster than List. Example tuples = ('a', 'b', 'c', 'd', 'e') Following are the important differences betwee...
[ { "code": null, "e": 1152, "s": 1062, "text": "List is a container to contain different types of objects and is used to iterate objects." }, { "code": null, "e": 1160, "s": 1152, "text": "Example" }, { "code": null, "e": 1193, "s": 1160, "text": "list = ['a', ...
C++ Online Quiz
Following quiz provides Multiple Choice Questions (MCQs) related to C++ Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the...
[ { "code": null, "e": 2645, "s": 2318, "text": "Following quiz provides Multiple Choice Questions (MCQs) related to C++ Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button...
How to add a new column in an R data frame with count based on factor column?
While doing the data analysis, often we have to deal with factor data and we might want to find the frequency or count of a level of factor and the other variable combination. This helps us to make comparison within and between factor levels. Therefore, we can add a new column as count to find the required frequency an...
[ { "code": null, "e": 1455, "s": 1062, "text": "While doing the data analysis, often we have to deal with factor data and we might want to find the frequency or count of a level of factor and the other variable combination. This helps us to make comparison within and between factor levels. Therefore,...
Pyspark – Import any data. A brief guide to import data with Spark | by Alexandre Wrg | Towards Data Science
With this article, I will start a series of short tutorials on Pyspark, from data pre-processing to modeling. The first will deal with the import and export of any type of data, CSV , text file, Avro, Json ...etc. I work on a virtual machine on google cloud platform data comes from a bucket on cloud storage. Let’s impo...
[ { "code": null, "e": 501, "s": 172, "text": "With this article, I will start a series of short tutorials on Pyspark, from data pre-processing to modeling. The first will deal with the import and export of any type of data, CSV , text file, Avro, Json ...etc. I work on a virtual machine on google clo...
How to write, generate and use Javadoc in Eclipse?
To generate Java docs for your project you need to write the required information about the field, method or class as. /** * * The method prints a simple message on the Console. * */ Then to generate the document follow the steps given below − Step 1 − Open eclipse, select the option Project →Generate Javadoc....
[ { "code": null, "e": 1181, "s": 1062, "text": "To generate Java docs for your project you need to write the required information about the field, method or class as." }, { "code": null, "e": 1254, "s": 1181, "text": "/**\n *\n * The method prints a simple message on the Conso...
Configuring SAP Ariba Procurement Solution
Ariba Administrator is responsible for configuration of SAP PI URL for all the exports tasks in web-based integration. The sample URL looks like − SoapURL = "http://<PIserver>:<port> <servername>:50000/XISOAPAdapter/MessageServlet?channel=:<Businessystemname>: <communication_channel_name>"; Using Ariba Procureme...
[ { "code": null, "e": 2385, "s": 2238, "text": "Ariba Administrator is responsible for configuration of SAP PI URL for all the exports tasks in web-based integration. The sample URL looks like −" }, { "code": null, "e": 2537, "s": 2385, "text": "SoapURL = \"http://<PIserver>:<port...
How to connect Java to MySQL?
To connect Java to MySQL, the Java code is as follows − import java.sql.Connection; import java.sql.DriverManager; public class LostConnectionURLDemo { public static void main(String[] args){ String JDBCURL="jdbc:mysql://localhost:3306/web?autoReconnect=true"; Connection con=null; try{ c...
[ { "code": null, "e": 1118, "s": 1062, "text": "To connect Java to MySQL, the Java code is as follows −" }, { "code": null, "e": 1580, "s": 1118, "text": "import java.sql.Connection;\nimport java.sql.DriverManager;\npublic class LostConnectionURLDemo {\n public static void main(...
Display Month in MMM format in Java
The MMM format for months is the short name i.e. Jan, Feb, Mar, Apr, etc. Here, we will use the following. SimpleDateFormat("MMM"); Let us see an example. // displaying month in MMM format SimpleDateFormat simpleformat = new SimpleDateFormat("MMM"); String strMonth= simpleformat.format(new Date()); System.out.println("...
[ { "code": null, "e": 1169, "s": 1062, "text": "The MMM format for months is the short name i.e. Jan, Feb, Mar, Apr, etc. Here, we will use the following." }, { "code": null, "e": 1194, "s": 1169, "text": "SimpleDateFormat(\"MMM\");" }, { "code": null, "e": 1217, "...
How to insert a Node in a Singly Linked List at a given Position using Recursion - GeeksforGeeks
22 Feb, 2022 Given a singly linked list as list, a position, and a node, the task is to insert that element in the given linked list at a given position using recursion. Examples: Input: list = 1->2->3->4->5->6->7, node = (val=100,next=null), position = 4 Output: 1->2->3->100->4->5->6->7Explanation: Here the node with...
[ { "code": null, "e": 24934, "s": 24906, "text": "\n22 Feb, 2022" }, { "code": null, "e": 25091, "s": 24934, "text": "Given a singly linked list as list, a position, and a node, the task is to insert that element in the given linked list at a given position using recursion." }, ...
div() function in C++
The C / C++ library function div_t div(int numer, int denom) divides numer (numerator) by denom (denominator). Following is the declaration for div() function. div_t div(int numer, int denom) The parameters are numerator and the denominator. This function returns the value in a structure defined in <cstdlib>, which has...
[ { "code": null, "e": 1222, "s": 1062, "text": "The C / C++ library function div_t div(int numer, int denom) divides numer\n(numerator) by denom (denominator). Following is the declaration for div()\nfunction." }, { "code": null, "e": 1254, "s": 1222, "text": "div_t div(int numer,...
C++ Stack Library - size() Function
The C++ function std::stack::size() returns the total number of element present in the stack. Following is the declaration for std::stack::size() function form std::stack header. size_type size() const; None Returns the number of element present in the stack. Depends upon underlying container. Constant i.e. O(1) The f...
[ { "code": null, "e": 2697, "s": 2603, "text": "The C++ function std::stack::size() returns the total number of element present in the stack." }, { "code": null, "e": 2782, "s": 2697, "text": "Following is the declaration for std::stack::size() function form std::stack header." ...
C++ Library - <array>
Arrays are sequence container of fixed size. Container is a objects that holds data of same type. Sequence containers store elements strictly in linear sequence. The container class uses implicit constructor to allocate required memory statically. Memory is allocated at the compile time, hence array size cannot shrink ...
[ { "code": null, "e": 2765, "s": 2603, "text": "Arrays are sequence container of fixed size. Container is a objects that holds data of same type. Sequence containers store elements strictly in linear sequence." }, { "code": null, "e": 3015, "s": 2765, "text": "The container class ...
Add n binary strings - GeeksforGeeks
24 May, 2021 Given n binary strings, return their sum (also a binary string). Examples: Input: arr[] = ["11", "1"] Output: "100" Input : arr[] = ["1", "10", "11"] Output : "110" Algorithm Initialize the ‘result’ as an empty string. Traverse the input from i = 0 to n-1.For each i, add arr[i] to the ‘result’. How t...
[ { "code": null, "e": 25206, "s": 25178, "text": "\n24 May, 2021" }, { "code": null, "e": 25271, "s": 25206, "text": "Given n binary strings, return their sum (also a binary string)." }, { "code": null, "e": 25283, "s": 25271, "text": "Examples: " }, { ...
DSA using Java - Priority Queue
Priority Queue is more specilized data structure than Queue. Like ordinary queue, priority queue has same method but with a major difference. In Priority queue items are ordered by key value so that item with the lowest value of key is at front and item with the highest value of key is at rear or vice versa. So we're a...
[ { "code": null, "e": 2633, "s": 2168, "text": "Priority Queue is more specilized data structure than Queue. Like ordinary queue, priority queue has same method but with a major difference. In Priority queue items are ordered by key value so that item with the lowest value of key is at front and item...
Find common elements in three linked lists - GeeksforGeeks
21 Jun, 2021 Given three linked lists, find all common element among the three linked lists. Examples: Input : 10 15 20 25 12 10 12 13 15 10 12 15 24 25 26 Output : 10 12 15 Input : 1 2 3 4 5 1 2 3 4 6 9 8 1 2 4 5 10 Output : 1 2 4 Method 1 : (Simple) Use three-pointers to iterate the given thr...
[ { "code": null, "e": 25158, "s": 25130, "text": "\n21 Jun, 2021" }, { "code": null, "e": 25238, "s": 25158, "text": "Given three linked lists, find all common element among the three linked lists." }, { "code": null, "e": 25250, "s": 25238, "text": "Examples: ...
Machine Learning with PySpark and MLlib — Solving a Binary Classification Problem | by Susan Li | Towards Data Science
Apache Spark, once a component of the Hadoop ecosystem, is now becoming the big-data platform of choice for enterprises. It is a powerful open source engine that provides real-time stream processing, interactive processing, graph processing, in-memory processing as well as batch processing with very fast speed, ease of...
[ { "code": null, "e": 520, "s": 171, "text": "Apache Spark, once a component of the Hadoop ecosystem, is now becoming the big-data platform of choice for enterprises. It is a powerful open source engine that provides real-time stream processing, interactive processing, graph processing, in-memory pro...
Difference Between Local Storage, Session Storage And Cookies - GeeksforGeeks
19 Jan, 2022 The HTTP protocol is one of the most important protocols for smooth communication between the server and the client. The main disadvantage of the HTTP protocol it is a stateless protocol that means it does not track any kind of information of response and request by the server and the client, So in order t...
[ { "code": null, "e": 24712, "s": 24684, "text": "\n19 Jan, 2022" }, { "code": null, "e": 25260, "s": 24712, "text": "The HTTP protocol is one of the most important protocols for smooth communication between the server and the client. The main disadvantage of the HTTP protocol it ...
Password validation in Python
It is a general requirement to have a reasonably complex password. In this article we will see how to validate if a given password meats certain level of complexity. For that will use the regular expression module known as re. First we create a regular expression which can satisfy the conditions required to call it a v...
[ { "code": null, "e": 1289, "s": 1062, "text": "It is a general requirement to have a reasonably complex password. In this article we will see how to validate if a given password meats certain level of complexity. For that will use the regular expression module known as re." }, { "code": null...
How to get website SSL certificate validity dates with PowerShell?
SSL certificates are a very crucial part of the website. They play a key role in securing the exchange of information on both client and server sides by activating an HTTPS secure connection. In the below article with the PowerShell, we will get the certificate validity date (starting and expiry date) for the certifica...
[ { "code": null, "e": 1403, "s": 1062, "text": "SSL certificates are a very crucial part of the website. They play a key role in securing the exchange of information on both client and server sides by activating an HTTPS secure connection. In the below article with the PowerShell, we will get the cer...
Alexander Bogomolny’s UnOrdered Permutation Algorithm - GeeksforGeeks
25 Feb, 2022 Alexander Bogomolny’s algorithm is used to permute first N natural numbers. Given the value of N, we have to output all the permutations of numbers from 1 to N.Examples: Input : 2 Output : 1 2 2 1 Input : 3 Output : 1 2 3 1 3 2 2 1 3 3 1 2 2 3 1 3 2 ...
[ { "code": null, "e": 25087, "s": 25059, "text": "\n25 Feb, 2022" }, { "code": null, "e": 25259, "s": 25087, "text": "Alexander Bogomolny’s algorithm is used to permute first N natural numbers. Given the value of N, we have to output all the permutations of numbers from 1 to N.Exa...
CSS scroll-margin-left property - GeeksforGeeks
07 Sep, 2020 The scroll-margin-left property is used to set all the scroll margins to the left of an element at once. The value specified for the scroll-margin-left determines how much of the page that is primarily outside the support should remain visible. Hence, the scroll-margin-left values represent outsets that de...
[ { "code": null, "e": 25296, "s": 25268, "text": "\n07 Sep, 2020" }, { "code": null, "e": 25541, "s": 25296, "text": "The scroll-margin-left property is used to set all the scroll margins to the left of an element at once. The value specified for the scroll-margin-left determines ...
Can we get total number of rows in a MySQL database?
To get the total number of rows in a MySQL database, you can use aggregate function SUM() along with inbuilt column TABLE_ROWS from INFORMATION_SCHEMA.TABLES. The syntax is as follows− SELECT SUM(TABLE_ROWS) FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = database(); Let’s say we are using the database with the nam...
[ { "code": null, "e": 1221, "s": 1062, "text": "To get the total number of rows in a MySQL database, you can use aggregate function SUM() along with inbuilt column TABLE_ROWS from INFORMATION_SCHEMA.TABLES." }, { "code": null, "e": 1247, "s": 1221, "text": "The syntax is as follow...
Convert HashSet to a ArrayList in Java - GeeksforGeeks
19 Jan, 2022 ArrayList class is a resizable array, present in java.util package. The difference between an array and an ArrayList in Java, is that the size of an array cannot be modified (i.e. if you want to append/add or remove element(s) to/from an array, you have to create a new array. However, elements can be added...
[ { "code": null, "e": 25010, "s": 24982, "text": "\n19 Jan, 2022" }, { "code": null, "e": 25397, "s": 25010, "text": "ArrayList class is a resizable array, present in java.util package. The difference between an array and an ArrayList in Java, is that the size of an array cannot b...
GATE | GATE CS 1996 | Question 12 - GeeksforGeeks
28 May, 2020 Consider the following statements: i. First-in-first out types of computations are efficiently supported by STACKS. ii. Implementing LISTS on linked lists is more efficient than implementing LISTS on an array for almost all the basic LIST operations. iii. Implementing QUEUES on a circular array is ...
[ { "code": null, "e": 24450, "s": 24422, "text": "\n28 May, 2020" }, { "code": null, "e": 24485, "s": 24450, "text": "Consider the following statements:" }, { "code": null, "e": 24920, "s": 24485, "text": "i. First-in-first out types of computations are effic...
How to add a property to a JavaScript object using a variable as the name? - GeeksforGeeks
10 Jan, 2022 We can create a JavaScript object with an object literal: Example : var obj = { firstname : "Romy", lastname : "kumari", age : 20} The name: values pairs in JavaScript objects are called properties. We can add the property to JavaScript object using a variable as the name by using dot notation or bracket ...
[ { "code": null, "e": 24774, "s": 24746, "text": "\n10 Jan, 2022" }, { "code": null, "e": 24832, "s": 24774, "text": "We can create a JavaScript object with an object literal:" }, { "code": null, "e": 24842, "s": 24832, "text": "Example :" }, { "code": ...
Git - Basic Concepts
Version Control System (VCS) is a software that helps software developers to work together and maintain a complete history of their work. Listed below are the functions of a VCS − Allows developers to work simultaneously. Does not allow overwriting each other’s changes. Maintains a history of every version. Following a...
[ { "code": null, "e": 2183, "s": 2045, "text": "Version Control System (VCS) is a software that helps software developers to work together and maintain a complete history of their work." }, { "code": null, "e": 2225, "s": 2183, "text": "Listed below are the functions of a VCS −" ...
Telecom Billing - Invoice Generation
Most of the billing systems generate structured ASCII text containing the information content of the bill. The bill data for each bill is written initially to either database or flat text files. The format of the data at this stage is the same, regardless of how the data is to be processed. This bill data can then be p...
[ { "code": null, "e": 2683, "s": 2391, "text": "Most of the billing systems generate structured ASCII text containing the information content of the bill. The bill data for each bill is written initially to either database or flat text files. The format of the data at this stage is the same, regardle...
How to split Numpy Arrays ? - onlinetutorialspoint
PROGRAMMINGJava ExamplesC Examples Java Examples C Examples C Tutorials aws JAVAEXCEPTIONSCOLLECTIONSSWINGJDBC EXCEPTIONS COLLECTIONS SWING JDBC JAVA 8 SPRING SPRING BOOT HIBERNATE PYTHON PHP JQUERY PROGRAMMINGJava ExamplesC Examples Java Examples C Examples C Tutorials aws In this tutorial, we will see how to divide a...
[ { "code": null, "e": 158, "s": 123, "text": "PROGRAMMINGJava ExamplesC Examples" }, { "code": null, "e": 172, "s": 158, "text": "Java Examples" }, { "code": null, "e": 183, "s": 172, "text": "C Examples" }, { "code": null, "e": 195, "s": 183, ...
Hibernate - Many-to-Many Mappings
A Many-to-Many mapping can be implemented using a Set java collection that does not contain any duplicate element. We already have seen how to map Set collection in hibernate, so if you already learned Set mapping, then you are all set to go with manyto-many mapping. A Set is mapped with a <set> element in the mapping ...
[ { "code": null, "e": 2331, "s": 2063, "text": "A Many-to-Many mapping can be implemented using a Set java collection that does not contain any duplicate element. We already have seen how to map Set collection in hibernate, so if you already learned Set mapping, then you are all set to go with manyto...
Throwable getLocalizedMessage() method in Java with Examples - GeeksforGeeks
06 Feb, 2019 The getLocalizedMessage() method of Throwable class is used to get a locale-specific description of the Throwable object when an Exception Occurred. It helps us to modify the description of the Throwable object according to the local Specific message. For the subclasses which do not override this method, t...
[ { "code": null, "e": 25225, "s": 25197, "text": "\n06 Feb, 2019" }, { "code": null, "e": 25614, "s": 25225, "text": "The getLocalizedMessage() method of Throwable class is used to get a locale-specific description of the Throwable object when an Exception Occurred. It helps us to...
Count of camel case characters present in a given string - GeeksforGeeks
04 May, 2022 Given a string S, the task is to count the number of camel case characters present in the given string. The camel case character is defined as the number of uppercase characters in the given string. Examples: Input: S = “ckjkUUYII”Output: 5Explanation: Camel case characters present are U, U, Y, I and I. In...
[ { "code": null, "e": 26073, "s": 26045, "text": "\n04 May, 2022" }, { "code": null, "e": 26177, "s": 26073, "text": "Given a string S, the task is to count the number of camel case characters present in the given string." }, { "code": null, "e": 26272, "s": 26177,...
JavaScript | Atomics.wait() Method - GeeksforGeeks
02 Aug, 2021 Among the Atomic Operations, there is an inbuilt operation Atomics.wait() in JavaScript is used to verify whether a given position in an Int32Array still contains a given value and if so sleeps, awaiting a wakeup or a timeout. The Atomics.wait() operation returns a string which is either “ok”, “not-equal”,...
[ { "code": null, "e": 25713, "s": 25685, "text": "\n02 Aug, 2021" }, { "code": null, "e": 26185, "s": 25713, "text": "Among the Atomic Operations, there is an inbuilt operation Atomics.wait() in JavaScript is used to verify whether a given position in an Int32Array still contains ...
How to create a ListDictionary in C# - GeeksforGeeks
27 Feb, 2019 ListDictionary() constructor is used to initialize a new empty instance of the ListDictionary class using the default comparer. ListDictionary is a specialized collection. It comes under the System.Collections.Specialized namespace. This type represents a non-generic dictionary type. It is implemented with...
[ { "code": null, "e": 25223, "s": 25195, "text": "\n27 Feb, 2019" }, { "code": null, "e": 25661, "s": 25223, "text": "ListDictionary() constructor is used to initialize a new empty instance of the ListDictionary class using the default comparer. ListDictionary is a specialized col...
Find minimum shift for longest common prefix - GeeksforGeeks
09 May, 2022 You are given two strings str1 and str2 of the same length. In a single shift, you can rotate one string (str2) by 1 element such that its 1st element becomes the last and the second one becomes the first like “abcd” will change to “bcda” after the one-shift operation. You have to find the minimum shift op...
[ { "code": null, "e": 26651, "s": 26623, "text": "\n09 May, 2022" }, { "code": null, "e": 27049, "s": 26651, "text": "You are given two strings str1 and str2 of the same length. In a single shift, you can rotate one string (str2) by 1 element such that its 1st element becomes the ...
Java if-else statement with Examples - GeeksforGeeks
30 Mar, 2022 Decision Making in Java helps to write decision-driven statements and execute a particular set of code based on certain conditions. The if statement alone tells us that if a condition is true it will execute a block of statements and if the condition is false it won’t. But what if we want to do something e...
[ { "code": null, "e": 30195, "s": 30167, "text": "\n30 Mar, 2022" }, { "code": null, "e": 30327, "s": 30195, "text": "Decision Making in Java helps to write decision-driven statements and execute a particular set of code based on certain conditions." }, { "code": null, ...
QuickSort - GeeksforGeeks
11 Apr, 2022 Like Merge Sort, QuickSort is a Divide and Conquer algorithm. It picks an element as pivot and partitions the given array around the picked pivot. There are many different versions of quickSort that pick pivot in different ways. Always pick first element as pivot.Always pick last element as pivot (impleme...
[ { "code": null, "e": 25399, "s": 25371, "text": "\n11 Apr, 2022" }, { "code": null, "e": 25629, "s": 25399, "text": "Like Merge Sort, QuickSort is a Divide and Conquer algorithm. It picks an element as pivot and partitions the given array around the picked pivot. There are many d...
How to check if string contains only digits in JavaScript ? - GeeksforGeeks
29 May, 2019 Given a string and the task is to check whether it contains only digits or not. JavaScript test() Method: This method tests for a pattern in a string. This method returns true if match is found, otherwise it returns false. Syntax: RegExpObject.test(str) Parameters: This function accepts single parameter st...
[ { "code": null, "e": 26310, "s": 26282, "text": "\n29 May, 2019" }, { "code": null, "e": 26390, "s": 26310, "text": "Given a string and the task is to check whether it contains only digits or not." }, { "code": null, "e": 26533, "s": 26390, "text": "JavaScript...
Python | Pandas Series.dt.days_in_month - GeeksforGeeks
20 Mar, 2019 Series.dt can be used to access the values of the series as datetimelike and return several properties. Pandas Series.dt.days_in_month attribute return the number of days in the month for the given series object. Syntax: Series.dt.days_in_month Parameter : None Returns : numpy array Example #1: Use Series....
[ { "code": null, "e": 25537, "s": 25509, "text": "\n20 Mar, 2019" }, { "code": null, "e": 25750, "s": 25537, "text": "Series.dt can be used to access the values of the series as datetimelike and return several properties. Pandas Series.dt.days_in_month attribute return the number ...
How to expand accordion from URL in Bootstrap? - GeeksforGeeks
15 Jan, 2021 Given an HTML document containing a bootstrap accordion, the task is to expand a particular section of the accordion, based on the query passed in the URL of the webpage. Approach: This task can be accomplished using the hash property of the URL interface. The hash property of the URL interface is a USVStr...
[ { "code": null, "e": 25740, "s": 25712, "text": "\n15 Jan, 2021" }, { "code": null, "e": 25911, "s": 25740, "text": "Given an HTML document containing a bootstrap accordion, the task is to expand a particular section of the accordion, based on the query passed in the URL of the w...
Minimum length of the shortest path of a triangle - GeeksforGeeks
09 Mar, 2022 Given N points on the plane, ( X1, Y1 ), ( X2, Y2 ), ( X3, Y3 ), ......, ( XN, YN ). The task is to calculate the minimum length of the shorter side of the triangle. and the path or points to place an isosceles triangle with any two sides of the triangle on the coordinate axis ( X axis and Y axis ) to cove...
[ { "code": null, "e": 26657, "s": 26629, "text": "\n09 Mar, 2022" }, { "code": null, "e": 27075, "s": 26657, "text": "Given N points on the plane, ( X1, Y1 ), ( X2, Y2 ), ( X3, Y3 ), ......, ( XN, YN ). The task is to calculate the minimum length of the shorter side of the triangl...
Print the last k nodes of the linked list in reverse order | Recursive approach - GeeksforGeeks
07 Jun, 2021 Given a linked list containing N nodes and a positive integer k should be less than or equal to N. The task is to print the last k nodes of the list in reverse order.Examples: Input: list: 1->2->3->4->5, k = 2 Output: 5 4 Input: list: 3->10->6->9->12->2->8, k = 4 Output: 8 2 12 9...
[ { "code": null, "e": 26471, "s": 26443, "text": "\n07 Jun, 2021" }, { "code": null, "e": 26649, "s": 26471, "text": "Given a linked list containing N nodes and a positive integer k should be less than or equal to N. The task is to print the last k nodes of the list in reverse ord...