title
stringlengths
3
221
text
stringlengths
17
477k
parsed
listlengths
0
3.17k
How to limit the number of characters entered in a textarea in an HTML form?
To add a multi-line text input, use the HTML <textarea> tag. You can set the size of a text area using the cols and rows attributes. To limit the number of characters entered in a textarea, use the maxlength attribute. The value if the attribute is in number. Here are the other attributes of <textarea> tag − You can ...
[ { "code": null, "e": 1447, "s": 1187, "text": "To add a multi-line text input, use the HTML <textarea> tag. You can set the size of a text area using the cols and rows attributes. To limit the number of characters entered in a textarea, use the maxlength attribute. The value if the attribute is in n...
Convert character array to string in C++
28 Dec, 2021 This article shows how to convert a character array to a string in C++. The std::string in c++ has a lot of inbuilt functions which makes implementation much easier than handling a character array. Hence, it would often be easier to work if we convert a character array to string.Examples: Input: char s[]...
[ { "code": null, "e": 53, "s": 25, "text": "\n28 Dec, 2021" }, { "code": null, "e": 345, "s": 53, "text": "This article shows how to convert a character array to a string in C++. The std::string in c++ has a lot of inbuilt functions which makes implementation much easier than hand...
TypeScript - Array reduce()
reduce() method applies a function simultaneously against two values of the array (from left-to-right) as to reduce it to a single value. array.reduce(callback[, initialValue]); callback − Function to execute on each value in the array. callback − Function to execute on each value in the array. initialValue − Object t...
[ { "code": null, "e": 2320, "s": 2182, "text": "reduce() method applies a function simultaneously against two values of the array (from left-to-right) as to reduce it to a single value." }, { "code": null, "e": 2361, "s": 2320, "text": "array.reduce(callback[, initialValue]);\n" ...
Print Binary Search Tree in Min Max Fashion
25 Oct, 2021 Given a Binary Search Tree (BST), the task is to print the BST in min-max fashion. What is min-max fashion? A min-max fashion means you have to print the maximum node first then the minimum then the second maximum then the second minimum and so on. Examples: Input: 100 ...
[ { "code": null, "e": 52, "s": 24, "text": "\n25 Oct, 2021" }, { "code": null, "e": 301, "s": 52, "text": "Given a Binary Search Tree (BST), the task is to print the BST in min-max fashion. What is min-max fashion? A min-max fashion means you have to print the maximum node first t...
GATE | GATE CS 2012 | Question 4
28 Jun, 2021 Assuming P != NP, which of the following is true ? (A) NP-complete = NP (B) NP-complete P = (C) NP-hard = NP (D) P = NP-complete (A) A(B) B(C) C(D) DAnswer: (B)Explanation: The answer is B (no NP-Complete problem can be solved in polynomial time). Because, if one NP-Complete problem can be solved in pol...
[ { "code": null, "e": 28, "s": 0, "text": "\n28 Jun, 2021" }, { "code": null, "e": 160, "s": 28, "text": "Assuming P != NP, which of the following is true ?\n(A) NP-complete = NP\n(B) NP-complete P = \n(C) NP-hard = NP\n(D) P = NP-complete\n" }, { "code": null, "e": 2...
Is it possible to assign a reference to "this" in java?
The "this" keyword in Java is used as a reference to the current object, within an instance method or a constructor. Using it, you can refer the members of a class such as constructors, variables, and methods. According to the definition "this" is a keyword which acts as a reference to the current object (the object fr...
[ { "code": null, "e": 1397, "s": 1187, "text": "The \"this\" keyword in Java is used as a reference to the current object, within an instance method or a constructor. Using it, you can refer the members of a class such as constructors, variables, and methods." }, { "code": null, "e": 1683...
How to Install Python Pandas on Windows and Linux?
27 Feb, 2020 Pandas in Python is a package that is written for data analysis and manipulation. Pandas offer various operations and data structures to perform numerical data manipulations and time series. Pandas is an open-source library that is built over Numpy libraries. Pandas library is known for its high productivi...
[ { "code": null, "e": 52, "s": 24, "text": "\n27 Feb, 2020" }, { "code": null, "e": 461, "s": 52, "text": "Pandas in Python is a package that is written for data analysis and manipulation. Pandas offer various operations and data structures to perform numerical data manipulations ...
{{ form.as_p }} – Render Django Forms as paragraph
13 Feb, 2020 Django forms are an advanced set of HTML forms that can be created using python and support all features of HTML forms in a pythonic way. Rendering Django Forms in the template may seem messy at times but with proper knowledge of Django Forms and attributes of fields, one can easily create excellent Form w...
[ { "code": null, "e": 53, "s": 25, "text": "\n13 Feb, 2020" }, { "code": null, "e": 452, "s": 53, "text": "Django forms are an advanced set of HTML forms that can be created using python and support all features of HTML forms in a pythonic way. Rendering Django Forms in the templa...
Java Program to Reverse a Number
08 Jul, 2022 Reversing a number means that the digit at the first position should be swapped with the last digit, the second digit will be swapped with the second last digit, and so on till the middle element, To reverse a number following steps should be performed: Take the number’s modulo by 10 Multiply the reverse n...
[ { "code": null, "e": 53, "s": 25, "text": "\n08 Jul, 2022" }, { "code": null, "e": 250, "s": 53, "text": "Reversing a number means that the digit at the first position should be swapped with the last digit, the second digit will be swapped with the second last digit, and so on ti...
TypeScript - String toUpperCase()
This method returns the calling string value converted to uppercase. string.toUpperCase( ) Returns a string representing the specified object. var str = "Apples are round, and Apples are Juicy."; console.log(str.toUpperCase( )); On compiling, it will generate the same code in JavaScript. Its output is as follows − A...
[ { "code": null, "e": 2251, "s": 2182, "text": "This method returns the calling string value converted to uppercase." }, { "code": null, "e": 2274, "s": 2251, "text": "string.toUpperCase( )\n" }, { "code": null, "e": 2326, "s": 2274, "text": "Returns a string r...
Python | Swap commas and dots in a String
17 Feb, 2021 The problem is quite simple. Given a string, we need to replace all commas with dots and all dots with the commas. This can be achieved in two popular ways. Examples: Input : 14, 625, 498.002 Output : 14.625.498, 002 Using maketrans and translate() maketrans: This static method returns a translation tabl...
[ { "code": null, "e": 54, "s": 26, "text": "\n17 Feb, 2021" }, { "code": null, "e": 222, "s": 54, "text": "The problem is quite simple. Given a string, we need to replace all commas with dots and all dots with the commas. This can be achieved in two popular ways. Examples: " }, ...
Get first n records of a Pandas DataFrame
05 Aug, 2020 Let us see how to fetch the first n records of a Pandas DataFrame. Lets first make a dataframe : # Import Required Libraryimport pandas as pd # Create a dictionary for the dataframedict = {'Name' : ['Sumit Tyagi', 'Sukritin', 'Akriti Goel', 'Sanskriti', 'Abhishek Jain'], ...
[ { "code": null, "e": 28, "s": 0, "text": "\n05 Aug, 2020" }, { "code": null, "e": 125, "s": 28, "text": "Let us see how to fetch the first n records of a Pandas DataFrame. Lets first make a dataframe :" }, { "code": "# Import Required Libraryimport pandas as pd # Create ...
Program for Spearman’s Rank Correlation
19 Aug, 2021 Prerequisite : Correlation CoefficientGiven two arrays X[] and Y[]. Find Spearman’s Rank Correlation. In Spearman rank correlation instead of working with the data values themselves (as discussed in Correlation coefficient), it work with the ranks of these values. The observations are first ranked and then...
[ { "code": null, "e": 54, "s": 26, "text": "\n19 Aug, 2021" }, { "code": null, "e": 449, "s": 54, "text": "Prerequisite : Correlation CoefficientGiven two arrays X[] and Y[]. Find Spearman’s Rank Correlation. In Spearman rank correlation instead of working with the data values the...
Tailwind CSS Top/Right/Bottom/Left
23 Mar, 2022 These classes accept many values in tailwind CSS in which all the properties are covered in class form. These are the alternative to the CSS Top/Right/Bottom/Left properties. These classes are used to control the alignment of a positioned element. Remember we can use these properties only with positioned e...
[ { "code": null, "e": 28, "s": 0, "text": "\n23 Mar, 2022" }, { "code": null, "e": 344, "s": 28, "text": "These classes accept many values in tailwind CSS in which all the properties are covered in class form. These are the alternative to the CSS Top/Right/Bottom/Left properties. ...
How to use TextareaAutosize Component in ReactJS?
02 Mar, 2021 A textarea component for React which grows with content. Material UI for React has this component available for us, and it is very easy to integrate. We can use the TextareaAutosize Component in ReactJS using the following approach. Creating React Application And Installing Module: Step 1: Create a React a...
[ { "code": null, "e": 28, "s": 0, "text": "\n02 Mar, 2021" }, { "code": null, "e": 261, "s": 28, "text": "A textarea component for React which grows with content. Material UI for React has this component available for us, and it is very easy to integrate. We can use the TextareaAu...
How to insert line break before an element using CSS?
04 Apr, 2019 The white-space property is used to insert the line break before an element. This property controls the text wrapping and white-spacing. Line break between the lines: The line break can be added between the line of text. The white-space: preline; is used to insert line break before an element. Example 1: <...
[ { "code": null, "e": 28, "s": 0, "text": "\n04 Apr, 2019" }, { "code": null, "e": 165, "s": 28, "text": "The white-space property is used to insert the line break before an element. This property controls the text wrapping and white-spacing." }, { "code": null, "e": 3...
Iterate through a LinkedList using an Iterator in Java
An Iterator can be used to loop through an LinkedList. The method hasNext( ) returns true if there are more elements in LinkedList and false otherwise. The method next( ) returns the next element in the LinkedList and throws the exception NoSuchElementException if there is no next element. A program that demonstrates t...
[ { "code": null, "e": 1478, "s": 1187, "text": "An Iterator can be used to loop through an LinkedList. The method hasNext( ) returns true if there are more elements in LinkedList and false otherwise. The method next( ) returns the next element in the LinkedList and throws the exception NoSuchElementE...
DAX Text - CONCATENATEX function
Concatenates the result of an expression evaluated for each row in a table. DAX CONCATENATEX function is new in Excel 2016. CONCATENATEX ( <table>, <expression>, [<delimiter>], [<OrderBy_Expression1>], [<Order>] ... ) table The table containing the rows for which the expression will be evaluated. expression The ex...
[ { "code": null, "e": 2077, "s": 2001, "text": "Concatenates the result of an expression evaluated for each row in a table." }, { "code": null, "e": 2125, "s": 2077, "text": "DAX CONCATENATEX function is new in Excel 2016." }, { "code": null, "e": 2224, "s": 2125, ...
Build an Interactive Choropleth Map with Plotly and Dash | by Jun | Towards Data Science
Last week, I finished my final assignment in IBM Data Science course, which is to find an ideal suburb for opening an Italian restaurant based on location data. During the process, I web-scrapped property median price (i.e. House buy/rent and Unit buy/rent) for each suburb in Sydney and plotted them on Choropleth maps,...
[ { "code": null, "e": 507, "s": 172, "text": "Last week, I finished my final assignment in IBM Data Science course, which is to find an ideal suburb for opening an Italian restaurant based on location data. During the process, I web-scrapped property median price (i.e. House buy/rent and Unit buy/ren...
Merge Sort Program in C
Merge sort is a sorting technique based on divide and conquer technique. With the worst-case time complexity being Ο(n log n), it is one of the most respected algorithms. We shall see the implementation of merge sort in C programming language here − #include <stdio.h> #define max 10 int a[11] = { 10, 14, 19, 26, 27, ...
[ { "code": null, "e": 2751, "s": 2580, "text": "Merge sort is a sorting technique based on divide and conquer technique. With the worst-case time complexity being Ο(n log n), it is one of the most respected algorithms." }, { "code": null, "e": 2830, "s": 2751, "text": "We shall se...
Using pandas categories properly is tricky... here's why | Towards Data Science
Categorical datatypes are often touted as an easy win for cutting down DataFrame memory usage in pandas, and they can indeed be a useful tool. However, if you imagined you could just throw in a .astype("category") at the start of your code and have everything else behave the same (but more efficiently), you’re likely t...
[ { "code": null, "e": 511, "s": 172, "text": "Categorical datatypes are often touted as an easy win for cutting down DataFrame memory usage in pandas, and they can indeed be a useful tool. However, if you imagined you could just throw in a .astype(\"category\") at the start of your code and have ever...
Maximum AND Value | Practice | GeeksforGeeks
Given an array arr[] of N positive elements. The task is to find the Maximum AND Value generated by any pair(arri, arrj) from the array such that i != j. Note: AND is bitwise '&' operator. Example 1: Input: N = 4 arr[] = {4, 8, 12, 16} Output: 8 Explanation: Pair (8,12) has the Maximum AND Value 8. Example 2: Input...
[ { "code": null, "e": 428, "s": 238, "text": "Given an array arr[] of N positive elements. The task is to find the Maximum AND Value generated by any pair(arri, arrj) from the array such that i != j.\nNote: AND is bitwise '&' operator. " }, { "code": null, "e": 440, "s": 428, "tex...
Tryit Editor v3.7
Tryit: HTML paragraph with br
[]
Complex numbers in C++
In this section we will see how to create and use complex numbers in C++. We can create complex number class in C++, that can hold the real and imaginary part of the complex number as member elements. There will be some member functions that are used to handle this class. In this example we are creating one complex typ...
[ { "code": null, "e": 1335, "s": 1062, "text": "In this section we will see how to create and use complex numbers in C++. We can\ncreate complex number class in C++, that can hold the real and imaginary part of the\ncomplex number as member elements. There will be some member functions that\nare used...
How to set the Background Color of the RichTextBox in C#? - GeeksforGeeks
17 Jul, 2019 In C#, RichTextBox control is a textbox which gives you rich text editing controls and advanced formatting features also includes a loading rich text format (RTF) files. Or in other words, RichTextBox controls allows you to display or edit flow content, including paragraphs, images, tables, etc. In RichTex...
[ { "code": null, "e": 23613, "s": 23585, "text": "\n17 Jul, 2019" }, { "code": null, "e": 24128, "s": 23613, "text": "In C#, RichTextBox control is a textbox which gives you rich text editing controls and advanced formatting features also includes a loading rich text format (RTF) ...
How to rotate X-axis tick labels in Pandas bar plot?
Using plt.xticks(x, labels, rotation='vertical'), we can rotate our tick’s label. Create two lists, x, and y. Create two lists, x, and y. Create labels with a list of different cities. Create labels with a list of different cities. Adjust the subplot layout parameters, where bottom = 0.15. Adjust the subplot layout par...
[ { "code": null, "e": 1144, "s": 1062, "text": "Using plt.xticks(x, labels, rotation='vertical'), we can rotate our tick’s label." }, { "code": null, "e": 1172, "s": 1144, "text": "Create two lists, x, and y." }, { "code": null, "e": 1200, "s": 1172, "text": "C...
Find element with the maximum set bits in an array - GeeksforGeeks
26 Nov, 2021 Given an array arr[]. The task is to find an element from arr[] which has the maximum count of set bits.Examples: Input: arr[] = {10, 100, 1000, 10000} Output: 1000 Binary(10) = 1010 (2 set bits) Binary(100) = 1100100 (3 set bits) Binary(1000) = 1111101000 (6 set bits) Binary(10000) = 10011100010000 (5 s...
[ { "code": null, "e": 24740, "s": 24712, "text": "\n26 Nov, 2021" }, { "code": null, "e": 24856, "s": 24740, "text": "Given an array arr[]. The task is to find an element from arr[] which has the maximum count of set bits.Examples: " }, { "code": null, "e": 25114, ...
Make all array elements equal with minimum cost
22 Jun, 2022 Given an array which contains integer values, we need to make all values of this array equal to some integer value with minimum cost where the cost of changing an array value x to y is abs(x-y). Examples : Input : arr[] = [1, 100, 101] Output : 100 We can change all its values to 100 with minimum cost, ...
[ { "code": null, "e": 54, "s": 26, "text": "\n22 Jun, 2022" }, { "code": null, "e": 250, "s": 54, "text": "Given an array which contains integer values, we need to make all values of this array equal to some integer value with minimum cost where the cost of changing an array value...
How to Add Customize Tabs in Android?
15 Jun, 2022 In this article, custom tabs are added in android. TabLayout provides a horizontal layout to display tabs. TabLayouts can be added using viewPager also, check here, but it can not be customized. Whenever the user clicks on the tab it will lead to the transaction of one Fragment to another. Custom tabs can ...
[ { "code": null, "e": 52, "s": 24, "text": "\n15 Jun, 2022" }, { "code": null, "e": 518, "s": 52, "text": "In this article, custom tabs are added in android. TabLayout provides a horizontal layout to display tabs. TabLayouts can be added using viewPager also, check here, but it ca...
Python String | min()
07 Jan, 2018 min() is an inbuilt function in Python programming language that returns the minimum alphabetical character in a string. Syntax: min(string) Parameter:min() method takes a string as a parameter Return value: Returns a character which is alphabetically the lowest character in the string. Below is the Python...
[ { "code": null, "e": 53, "s": 25, "text": "\n07 Jan, 2018" }, { "code": null, "e": 174, "s": 53, "text": "min() is an inbuilt function in Python programming language that returns the minimum alphabetical character in a string." }, { "code": null, "e": 182, "s": 17...
list pop_front() function in C++ STL
13 Jun, 2022 The list::pop_front() is a built-in function in C++ STL which is used to remove an element from the front of a list container. This function thus decreases the size of the container by 1 as it deletes the element from the front of a list. Syntax: list_name.pop_front(); Parameters: The function does not acc...
[ { "code": null, "e": 52, "s": 24, "text": "\n13 Jun, 2022" }, { "code": null, "e": 299, "s": 52, "text": "The list::pop_front() is a built-in function in C++ STL which is used to remove an element from the front of a list container. This function thus decreases the size of the co...
How to add active class on click event in custom list group in Bootstrap 4 ?
03 Aug, 2021 In Bootstrap 4, Javascript or jQuery events are used to add active class on click event in custom list group. Syntax: $(document).ready(function() { $('selector').click(function() { $('selector.active').removeClass("active"); $(this).addClass("active"); }); }); Following examples i...
[ { "code": null, "e": 52, "s": 24, "text": "\n03 Aug, 2021" }, { "code": null, "e": 162, "s": 52, "text": "In Bootstrap 4, Javascript or jQuery events are used to add active class on click event in custom list group." }, { "code": null, "e": 170, "s": 162, "tex...
Program to count number of distinct Squares and Cubes upto N
24 Mar, 2021 Given a number N, the task is to find No. of perfect Squares and perfect Cubes from 1 to a given integer, N ( Both Inclusive ).Note: Numbers which are both perfect Square and perfect Cube should be counted once.Examples: Input: N = 70 Output: 10 Numbers that are perfect Square or perfect Cube 1, 4, 8, 9,...
[ { "code": null, "e": 52, "s": 24, "text": "\n24 Mar, 2021" }, { "code": null, "e": 275, "s": 52, "text": "Given a number N, the task is to find No. of perfect Squares and perfect Cubes from 1 to a given integer, N ( Both Inclusive ).Note: Numbers which are both perfect Square and...
Check if a point lies inside a rectangle | Set-2
23 May, 2022 Given coordinates of bottom-left and top-right corners of a rectangle. Check if a point (x, y) lies inside this rectangle or not. Examples: Input: bottom-left: (0, 0), top-right: (10, 8), point: (1, 5) Output: Yes Input: bottom-left: (-1, 4), top-right:(2, 3), point:(0, 4) Output: No This problem is alrea...
[ { "code": null, "e": 28, "s": 0, "text": "\n23 May, 2022" }, { "code": null, "e": 158, "s": 28, "text": "Given coordinates of bottom-left and top-right corners of a rectangle. Check if a point (x, y) lies inside this rectangle or not." }, { "code": null, "e": 169, ...
Derivatives of Implicit Functions – Continuity and Differentiability | Class 12 Maths
01 Dec, 2020 Implicit functions are functions where a specific variable cannot be expressed as a function of the other variable. A function that depends on more than one variable. Implicit Differentiation helps us compute the derivative of y with respect to x without solving the given equation for y, this can be achi...
[ { "code": null, "e": 28, "s": 0, "text": "\n01 Dec, 2020" }, { "code": null, "e": 410, "s": 28, "text": "Implicit functions are functions where a specific variable cannot be expressed as a function of the other variable. A function that depends on more than one variable. Implici...
ZS Associates Interview Experience for DAA
17 Nov, 2020 I applied through a referral I got from a friend who had been working at ZS for more than two years. Using his referral, I got a quick reply from ZS Associates with a test link and was a given a period of time to solve it. Round 1: This was mostly based on aptitude questions, hosted on Talview. Though I ...
[ { "code": null, "e": 28, "s": 0, "text": "\n17 Nov, 2020" }, { "code": null, "e": 253, "s": 28, "text": "I applied through a referral I got from a friend who had been working at ZS for more than two years. Using his referral, I got a quick reply from ZS Associates with a test lin...
How to Install Face Recognition in Python on Linux?
16 Oct, 2021 In this article, we will learn how to install Face Recognition in Python on Linux. This package is used to recognize and manipulate faces from Python or from the command line with the world’s simplest face recognition library. Follow the below steps to install the Face Recognition package on Linux using pi...
[ { "code": null, "e": 28, "s": 0, "text": "\n16 Oct, 2021" }, { "code": null, "e": 255, "s": 28, "text": "In this article, we will learn how to install Face Recognition in Python on Linux. This package is used to recognize and manipulate faces from Python or from the command line ...
How to save HTML Tables data to CSV in Python
One of the most challenging taks for a data sceintist is to collect the data. While the fact is, there is plenty of data available in the web it is just extracting the data through automation. I wanted to extract the basic operations data which is embedded in HTML tables from https://www.tutorialspoint.com/python/pytho...
[ { "code": null, "e": 1380, "s": 1187, "text": "One of the most challenging taks for a data sceintist is to collect the data. While the fact is, there is plenty of data available in the web it is just extracting the data through automation." }, { "code": null, "e": 1530, "s": 1380, ...
Image compression using K-means clustering
13 May, 2019 Prerequisite: K-means clustering The internet is filled with huge amounts of data in the form of images. People upload millions of pictures every day on social media sites such as Instagram, Facebook and cloud storage platforms such as google drive, etc. With such large amounts of data, image compression t...
[ { "code": null, "e": 28, "s": 0, "text": "\n13 May, 2019" }, { "code": null, "e": 61, "s": 28, "text": "Prerequisite: K-means clustering" }, { "code": null, "e": 411, "s": 61, "text": "The internet is filled with huge amounts of data in the form of images. Peo...
Keras Hyperparameter Tuning in Google Colab using Hyperas | by Nils Schlüter | Towards Data Science
Hyperparameter Tuning is one of the most computationally expensive tasks when creating deep learning networks. Luckily, you can use Google Colab to speed up the process significantly. In this post, I will show you how you can tune the hyperparameters of your existing keras models using Hyperas and run everything in a G...
[ { "code": null, "e": 388, "s": 46, "text": "Hyperparameter Tuning is one of the most computationally expensive tasks when creating deep learning networks. Luckily, you can use Google Colab to speed up the process significantly. In this post, I will show you how you can tune the hyperparameters of yo...
Summarize Long Text Documents using Machine Learning | by Satyam Kumar | Towards Data Science
Text summarization is the process of creating a short, accurate, and fluent summary of a long text document. It is the process of distilling the most important information for a text document. The intention of text summarization is to create a summary of a large corpus having important points describing the entire corp...
[ { "code": null, "e": 495, "s": 171, "text": "Text summarization is the process of creating a short, accurate, and fluent summary of a long text document. It is the process of distilling the most important information for a text document. The intention of text summarization is to create a summary of ...
PhoneGap - Quick Guide
Mobile, handhelds and easy-to-carry devices have started a new revolution in software engineering. These small but efficient devices are capable to run applications created with high-end programming languages. People who own these devices tend to use them at their maximum as these devices such as mobile phones, are ver...
[ { "code": null, "e": 2046, "s": 1687, "text": "Mobile, handhelds and easy-to-carry devices have started a new revolution in software engineering. These small but efficient devices are capable to run applications created with high-end programming languages. People who own these devices tend to use th...
Using The Predictive Power Score in R | by Luca Zavarella | Towards Data Science
In recent months Florian Wetschoreck published a story on Toward Data Science’s Medium channel that attracted the attention of many data scientists on LinkedIn thanks to its very provocative title: “RIP correlation. Introducing the Predictive Power Score”. Let’s see what it is and how to use it in R. The Predictive Pow...
[ { "code": null, "e": 474, "s": 172, "text": "In recent months Florian Wetschoreck published a story on Toward Data Science’s Medium channel that attracted the attention of many data scientists on LinkedIn thanks to its very provocative title: “RIP correlation. Introducing the Predictive Power Score”...
Tryit Editor v3.7
Tryit: Unordered HTML list
[]
Fabric.js | Circle fill Property - GeeksforGeeks
12 May, 2020 In this article, we are going to see how to change the fill color of a canvas circle using FabricJS. The canvas means the circle is movable and can be stretched according to requirement. Further, the circle can be customized when it comes to initial stroke color, fill color, stroke width, or radius. Approa...
[ { "code": null, "e": 23990, "s": 23962, "text": "\n12 May, 2020" }, { "code": null, "e": 24291, "s": 23990, "text": "In this article, we are going to see how to change the fill color of a canvas circle using FabricJS. The canvas means the circle is movable and can be stretched ac...
GitLab CI - Install Runner
GitLab runner is a build instance which is used to run the jobs over multiple machines and send the results to GitLab. In this chapter, we will discuss about how to install runner in the GitLab CI. Step 1 − First, login to your GitLab server using SSH (Secure Shell). Step 2 − Update the repository by using the below co...
[ { "code": null, "e": 2522, "s": 2324, "text": "GitLab runner is a build instance which is used to run the jobs over multiple machines and send the results to GitLab. In this chapter, we will discuss about how to install runner in the GitLab CI." }, { "code": null, "e": 2592, "s": 252...
Deadlock and Starvation in Java - GeeksforGeeks
24 Mar, 2022 Deadlock: Deadlock is a situation when two threads are waiting for each other and the waiting never ends. Here both threads cant completes their tasks. JAVA // Java program to illustrate Deadlock situationclass DeadlockDemo extends Thread { static Thread mainThread; public void run() { Sys...
[ { "code": null, "e": 23948, "s": 23920, "text": "\n24 Mar, 2022" }, { "code": null, "e": 24101, "s": 23948, "text": "Deadlock: Deadlock is a situation when two threads are waiting for each other and the waiting never ends. Here both threads cant completes their tasks. " }, { ...
Easy, Breezy, EDA — An Update to My Latest Function | by Katie Sylvia | Towards Data Science
In my latest blog post, I had written about a function I created while working on my latest project to simplify code and save time during the EDA process. For those not familiar with the post, this was the function I had created: def initial_eda(df): # List of categorical columns cat_cols = df.select_dtypes('obje...
[ { "code": null, "e": 402, "s": 172, "text": "In my latest blog post, I had written about a function I created while working on my latest project to simplify code and save time during the EDA process. For those not familiar with the post, this was the function I had created:" }, { "code": nul...
Extract 'k' bits from a given position in a number. - GeeksforGeeks
31 Jan, 2022 How to extract ‘k’ bits from a given position ‘p’ in a number? Examples: Input : number = 171 k = 5 p = 2 Output : The extracted number is 21 171 is represented as 0101011 in binary, so, you should get only 10101 i.e. 21. Input : number = 72 k = 5 p = 1...
[ { "code": null, "e": 25006, "s": 24978, "text": "\n31 Jan, 2022" }, { "code": null, "e": 25069, "s": 25006, "text": "How to extract ‘k’ bits from a given position ‘p’ in a number?" }, { "code": null, "e": 25080, "s": 25069, "text": "Examples: " }, { "c...
getchar_unlocked() in C
The function getchar_unlocked() is deprecated in Windows because it is a thread unsafe version of getchar(). It is suggested not to use getchar_unlocked(). There is no stream lock check that’s why getchar_unlocked is unsafe. The function getchar_unlocked() is faster than getchar(). Here is the syntax of getchar_unlocke...
[ { "code": null, "e": 1345, "s": 1062, "text": "The function getchar_unlocked() is deprecated in Windows because it is a thread unsafe version of getchar(). It is suggested not to use getchar_unlocked(). There is no stream lock check that’s why getchar_unlocked is unsafe. The function getchar_unlocke...
HTML - <comment> and <!--....--> Tag
The HTML <comment> tag allows authors to comment their HTML code. This tag is supported by IE only. It is recommended to use <!--....--> to comment your tags. This tag is compatible to all browsers. Note − The <comment> tag deprecated in HTML5. Do not use this element. <!DOCTYPE html> <html> <head> <title>HTM...
[ { "code": null, "e": 2474, "s": 2374, "text": "The HTML <comment> tag allows authors to comment their HTML code. This tag is supported by IE only." }, { "code": null, "e": 2573, "s": 2474, "text": "It is recommended to use <!--....--> to comment your tags. This tag is compatible ...
Check if a large number is divisible by 3 or not - GeeksforGeeks
28 Jan, 2022 Given a number, the task is that we divide number by 3. The input number may be large and it may not be possible to store even if we use long long int.Examples: Input : n = 769452 Output : Yes Input : n = 123456758933312 Output : No Input : n = 3635883959606670431112222 Output : Yes Since input nu...
[ { "code": null, "e": 26590, "s": 26562, "text": "\n28 Jan, 2022" }, { "code": null, "e": 26753, "s": 26590, "text": "Given a number, the task is that we divide number by 3. The input number may be large and it may not be possible to store even if we use long long int.Examples: "...
How to secure your Azure Data Factory pipeline | by René Bremer | Towards Data Science
Azure Data Factory (ADFv2) is a popular tool to orchestrate data ingestion from on-premises to cloud. In every ADFv2 pipeline, security is an important topic. Common security aspects are the following: Azure Active Directory (AAD) access control to data and endpoints Managed Identity (MI) to prevent key management proc...
[ { "code": null, "e": 373, "s": 171, "text": "Azure Data Factory (ADFv2) is a popular tool to orchestrate data ingestion from on-premises to cloud. In every ADFv2 pipeline, security is an important topic. Common security aspects are the following:" }, { "code": null, "e": 439, "s": 37...
Logistic Regression for Binary Classification | by Sebastián Gerard Aguilar Kleimann | Towards Data Science
In previous articles, I talked about deep learning and the functions used to predict results. In this article, we will use logistic regression to perform binary classification. Binary classification is named this way because it classifies the data into two results. Simply put, the result will be “yes” (1) or “no” (0). ...
[ { "code": null, "e": 578, "s": 172, "text": "In previous articles, I talked about deep learning and the functions used to predict results. In this article, we will use logistic regression to perform binary classification. Binary classification is named this way because it classifies the data into tw...
Tryit Editor v3.6 - Show Sass
/* Define standard variables and values for website */ $bgcolor: lightblue; $textcolor: darkblue; $fontsize: 18px; /* Use the variables */ body { background-color: $bgcolor; color: $textcolor; font-size: $fontsize; } body { background-color: lightblue; color: darkblue; font-size: 18px; } <!DOCTYPE html> ...
[ { "code": null, "e": 225, "s": 0, "text": "\n/* Define standard variables and values for website */\n$bgcolor: lightblue;\n$textcolor: darkblue;\n$fontsize: 18px;\n\n/* Use the variables */\nbody {\n background-color: $bgcolor;\n color: $textcolor;\n font-size: $fontsize;\n}" }, { "code":...
Getting and Setting Length of the Vectors in R Programming - length() Function: Title change need - GeeksforGeeks
07 Dec, 2021 length() function in R Programming Language is used to get or set the length of a vector (list) or other objects. Here we are going to get the length of the vector in R Programming, for this we will use length() function. Syntax: length(x) Parameters: x: vector or object R # R program to illustrate# lengt...
[ { "code": null, "e": 25416, "s": 25388, "text": "\n07 Dec, 2021" }, { "code": null, "e": 25530, "s": 25416, "text": "length() function in R Programming Language is used to get or set the length of a vector (list) or other objects." }, { "code": null, "e": 25638, "...
matplotlib.pyplot.arrow() in Python
20 Jul, 2021 Matplotlib is a very powerful plotting library useful for those working with Python and NumPy. And for making statistical interference, it becomes very necessary to visualize our data and Matplotlib is the tool that can be very helpful for this purpose. It provides MATLAB like interface only difference is ...
[ { "code": null, "e": 28, "s": 0, "text": "\n20 Jul, 2021" }, { "code": null, "e": 375, "s": 28, "text": "Matplotlib is a very powerful plotting library useful for those working with Python and NumPy. And for making statistical interference, it becomes very necessary to visualize ...
How to store a NULL value in a particular column of a DB2 table using COBOL-DB2 program?
We will make use of NULL indicator in order to store a NULL value in any column of a DB2 table. Firstly, we should move a value -1 in the NULL indicator in our COBOL-DB2 program. After that we execute UPDATE or INSERT query to store the NULL value. For example, if we have to update a NULL value in the ORDER_DESCRIPTION...
[ { "code": null, "e": 1436, "s": 1187, "text": "We will make use of NULL indicator in order to store a NULL value in any column of a DB2 table. Firstly, we should move a value -1 in the NULL indicator in our COBOL-DB2 program. After that we execute UPDATE or INSERT query to store the NULL value." }...
Program to delete all even nodes from a Singly Linked List
30 Jun, 2022 Given a singly linked list containing N nodes, the task is to delete all the even nodes from the list. Examples: Input: LL = 1 -> 4 -> 3 -> 18 -> 19 Output: 1 -> 3 -> 19Input: LL = 5 -> 3 -> 6 -> 8 -> 4 -> 1 -> 2 -> 9 Output: 5 -> 3 -> 1 -> 9 Approach 1: The idea is to traverse the nodes of the singl...
[ { "code": null, "e": 54, "s": 26, "text": "\n30 Jun, 2022" }, { "code": null, "e": 158, "s": 54, "text": "Given a singly linked list containing N nodes, the task is to delete all the even nodes from the list. " }, { "code": null, "e": 170, "s": 158, "text": "E...
Find elements of array using XOR of consecutive elements
24 Jun, 2022 Given an array arr[] in which XOR of every 2 consecutive elements of the original array is given i.e if the total number of elements in the original array is then the size of this XOR array would be n-1. The first element in the original array is also given. The task is to find out the rest of n-1 elements...
[ { "code": null, "e": 53, "s": 25, "text": "\n24 Jun, 2022" }, { "code": null, "e": 384, "s": 53, "text": "Given an array arr[] in which XOR of every 2 consecutive elements of the original array is given i.e if the total number of elements in the original array is then the size of...
Find Last Digit of a^b for Large Numbers
13 Apr, 2021 You are given two integer numbers, the base a (number of digits d, such that 1 <= d <= 1000) and the index b (0 <= b <= 922*10^15). You have to find the last digit of a^b.Examples: Input : 3 10 Output : 9 Input : 6 2 Output : 6 Input : 150 53 Output : 0 After taking few examples, we can notice bel...
[ { "code": null, "e": 54, "s": 26, "text": "\n13 Apr, 2021" }, { "code": null, "e": 237, "s": 54, "text": "You are given two integer numbers, the base a (number of digits d, such that 1 <= d <= 1000) and the index b (0 <= b <= 922*10^15). You have to find the last digit of a^b.Exa...
list empty() function in C++ STL
20 Jun, 2018 The list::empty() is a built-in function in C++ STL is used to check whether a particular list container is empty or not. This function does not modifies the list, it simply checks whether a list is empty or not, i.e. the size of list is zero or not. Syntax: list_name.empty() Parameters: This function do...
[ { "code": null, "e": 28, "s": 0, "text": "\n20 Jun, 2018" }, { "code": null, "e": 279, "s": 28, "text": "The list::empty() is a built-in function in C++ STL is used to check whether a particular list container is empty or not. This function does not modifies the list, it simply c...
Moment.js moment().daysInMonth() Function
29 Jul, 2020 The moment().daysInMonth() function is used to get the number of days in month of a particular month in Node.js. It returns an integer denoting the number of days. Syntax: moment().daysInMonth(); Parameters: This function has no parameter. Return Value: This function returns integer. Installation of moment...
[ { "code": null, "e": 28, "s": 0, "text": "\n29 Jul, 2020" }, { "code": null, "e": 192, "s": 28, "text": "The moment().daysInMonth() function is used to get the number of days in month of a particular month in Node.js. It returns an integer denoting the number of days." }, { ...
How can I return multiple values from a function?
21 Sep, 2018 We all know that a function in C can return only one value. So how do we achieve the purpose of returning multiple values.Well, first take a look at the declaration of a function. int foo(int arg1, int arg2); So we can notice here that our interface to the function is through arguments and return value onl...
[ { "code": null, "e": 52, "s": 24, "text": "\n21 Sep, 2018" }, { "code": null, "e": 232, "s": 52, "text": "We all know that a function in C can return only one value. So how do we achieve the purpose of returning multiple values.Well, first take a look at the declaration of a func...
HTML <picture> Tag
20 May, 2021 The <picture> tag in HTML is used to give flexibility to the web-developers to specify image resources. The <picture> tag contains <source> and <img> tags. The attribute value is set to load more appropriate image. The <img> element is used for the last child element of the picture declaration block. The <...
[ { "code": null, "e": 28, "s": 0, "text": "\n20 May, 2021" }, { "code": null, "e": 476, "s": 28, "text": "The <picture> tag in HTML is used to give flexibility to the web-developers to specify image resources. The <picture> tag contains <source> and <img> tags. The attribute value...
Apache Pig - Grunt Shell
After invoking the Grunt shell, you can run your Pig scripts in the shell. In addition to that, there are certain useful shell and utility commands provided by the Grunt shell. This chapter explains the shell and utility commands provided by the Grunt shell. Note − In some portions of this chapter, the commands like Lo...
[ { "code": null, "e": 3077, "s": 2818, "text": "After invoking the Grunt shell, you can run your Pig scripts in the shell. In addition to that, there are certain useful shell and utility commands provided by the Grunt shell. This chapter explains the shell and utility commands provided by the Grunt s...
Random nextGaussian() method in Java with Examples
07 Jan, 2019 The nextGaussian() method of Random class returns the next pseudorandom, Gaussian(normally) distributed double value with mean 0.0 and standard deviation 1.0 from the random number generator’s sequence. Syntax: public double nextGaussian() Parameters: The function does not accepts any parameter. Return Va...
[ { "code": null, "e": 28, "s": 0, "text": "\n07 Jan, 2019" }, { "code": null, "e": 231, "s": 28, "text": "The nextGaussian() method of Random class returns the next pseudorandom, Gaussian(normally) distributed double value with mean 0.0 and standard deviation 1.0 from the random n...
Convert DataFrame with Date Column to Time Series Object in R
23 May, 2021 In this article, we will discuss how to convert dataframe with date column to time series object in the R programming language. Time series object are a series of data points in which each data point is associated with a timestamp. For example, is a price of a stock in the stock market at different points ...
[ { "code": null, "e": 28, "s": 0, "text": "\n23 May, 2021" }, { "code": null, "e": 156, "s": 28, "text": "In this article, we will discuss how to convert dataframe with date column to time series object in the R programming language." }, { "code": null, "e": 468, "...
Scala | map() method
14 Mar, 2019 A collection in Scala is a data structure which holds a group of objects. Examples of collections include Arrays, Lists, etc. We can apply some transformations to these collections using several methods. One such widely used method offered by Scala is map().Important points about map() method: map() is a h...
[ { "code": null, "e": 28, "s": 0, "text": "\n14 Mar, 2019" }, { "code": null, "e": 323, "s": 28, "text": "A collection in Scala is a data structure which holds a group of objects. Examples of collections include Arrays, Lists, etc. We can apply some transformations to these collec...
Static Blocks in Java
10 May, 2022 In simpler language whenever we use a static keyword and associate it to a block then that block is referred to as a static block. Unlike C++, Java supports a special block, called a static block (also called static clause) that can be used for static initialization of a class. This code inside the static ...
[ { "code": null, "e": 52, "s": 24, "text": "\n10 May, 2022" }, { "code": null, "e": 437, "s": 52, "text": "In simpler language whenever we use a static keyword and associate it to a block then that block is referred to as a static block. Unlike C++, Java supports a special block, ...
Spring Data JPA – @Id Annotation
29 Dec, 2021 Spring Boot is built on the top of the spring and contains all the features of spring. Spring also provides JPA and hibernate to increase the data manipulation efficiency between the spring application and the database. In very simple terms we can say JPA (Java persistence API) is like an interface and the...
[ { "code": null, "e": 28, "s": 0, "text": "\n29 Dec, 2021" }, { "code": null, "e": 673, "s": 28, "text": "Spring Boot is built on the top of the spring and contains all the features of spring. Spring also provides JPA and hibernate to increase the data manipulation efficiency betw...
Convert an array to reduced form | Set 1 (Simple and Hashing)
30 Jun, 2022 Given an array with n distinct elements, convert the given array to a form where all elements are in the range from 0 to n-1. The order of elements is the same, i.e., 0 is placed in the place of the smallest element, 1 is placed for the second smallest element, ... n-1 is placed for the largest element. I...
[ { "code": null, "e": 52, "s": 24, "text": "\n30 Jun, 2022" }, { "code": null, "e": 358, "s": 52, "text": "Given an array with n distinct elements, convert the given array to a form where all elements are in the range from 0 to n-1. The order of elements is the same, i.e., 0 is pl...
Quoting Mechanisms in Linux
25 Jun, 2021 In Linux Shell, many special characters have their own special meanings. Sometimes they are used to perform an action while other times they are just used as a character, so the quoting mechanism performs this task it makes us use them in whatever way we want to. Metacharacters: These are the special char...
[ { "code": null, "e": 52, "s": 24, "text": "\n25 Jun, 2021" }, { "code": null, "e": 317, "s": 52, "text": "In Linux Shell, many special characters have their own special meanings. Sometimes they are used to perform an action while other times they are just used as a character, so ...
Morris traversal for Preorder
29 Sep, 2021 Using Morris Traversal, we can traverse the tree without using stack and recursion. The algorithm for Preorder is almost similar to Morris traversal for Inorder. 1...If left child is null, print the current node data. Move to right child. ....Else, Make the right child of the inorder predecessor point to t...
[ { "code": null, "e": 52, "s": 24, "text": "\n29 Sep, 2021" }, { "code": null, "e": 214, "s": 52, "text": "Using Morris Traversal, we can traverse the tree without using stack and recursion. The algorithm for Preorder is almost similar to Morris traversal for Inorder." }, { ...
How to use Greek symbols in ggplot2? - GeeksforGeeks
06 Jun, 2021 In this article, we will be looking at the approach to use Greeks symbols in ggplot2 using some in-built functions in the R programming language. Greeks Symbols are used in mathematics, science, engineering, and other areas where the mathematical notation is used as symbols for constants, special functions...
[ { "code": null, "e": 25162, "s": 25134, "text": "\n06 Jun, 2021" }, { "code": null, "e": 25308, "s": 25162, "text": "In this article, we will be looking at the approach to use Greeks symbols in ggplot2 using some in-built functions in the R programming language." }, { "co...
Why Is Logistic Regression the Spokesperson of Binomial Regression Models? | by Yufeng | Towards Data Science
A lot of events in our daily life follow the binomial distribution that describes the number of successes in a sequence of independent Bernoulli experiments. For example, assuming that the probability of James Harden making his shot is constant and each shot is independent, the number of field goals follows the binomia...
[ { "code": null, "e": 205, "s": 47, "text": "A lot of events in our daily life follow the binomial distribution that describes the number of successes in a sequence of independent Bernoulli experiments." }, { "code": null, "e": 383, "s": 205, "text": "For example, assuming that th...
How to iterate through images in a folder Python?
03 Dec, 2021 In this article, we will learn how to iterate through images in a folder in Python. At first we imported the os module to interact with the operating system. Then we import listdir() function from os to get access to the folders given in quotes. Then with the help of os.listdir() function, we iterate thro...
[ { "code": null, "e": 28, "s": 0, "text": "\n03 Dec, 2021" }, { "code": null, "e": 113, "s": 28, "text": "In this article, we will learn how to iterate through images in a folder in Python. " }, { "code": null, "e": 187, "s": 113, "text": "At first we imported ...
Python Program for Check if all digits of a number divide it
12 Jun, 2022 Given a number n, find whether all digits of n divide it or not. Examples: Input : 128 Output : Yes 128 % 1 == 0, 128 % 2 == 0, and 128 % 8 == 0. Input : 130 Output : No We want to test whether each digit is non-zero and divides the number. For example, with 128, we want to test d != 0 && 128 % d == 0 f...
[ { "code": null, "e": 28, "s": 0, "text": "\n12 Jun, 2022" }, { "code": null, "e": 94, "s": 28, "text": "Given a number n, find whether all digits of n divide it or not. " }, { "code": null, "e": 105, "s": 94, "text": "Examples: " }, { "code": null, ...
Dynamic modelling in object oriented analysis and design
22 Apr, 2020 Dynamic Modelling describes those aspect of the system that are concerned with time and sequencing of the operations. It is used to specify and implement the control aspect of the system. Dynamic model is represented graphically with the help of state diagrams. It is also known as state modelling. State mo...
[ { "code": null, "e": 53, "s": 25, "text": "\n22 Apr, 2020" }, { "code": null, "e": 610, "s": 53, "text": "Dynamic Modelling describes those aspect of the system that are concerned with time and sequencing of the operations. It is used to specify and implement the control aspect o...
WPF - StackPanel
Stack panel is a simple and useful layout panel in XAML. In stack panel, child elements can be arranged in a single line, either horizontally or vertically, based on the orientation property. It is often used whenever any kind of list is to be created. The hierarchical inheritance of StackPanel class is as follows − Ba...
[ { "code": null, "e": 2472, "s": 2154, "text": "Stack panel is a simple and useful layout panel in XAML. In stack panel, child elements can be arranged in a single line, either horizontally or vertically, based on the orientation property. It is often used whenever any kind of list is to be created. ...
Implement Deep Autoencoder in PyTorch for Image Reconstruction
13 Jul, 2021 Since the availability of staggering amounts of data on the internet, researchers and scientists from industry and academia keep trying to develop more efficient and reliable data transfer modes than the current state-of-the-art methods. Autoencoders are one of the key elements found in recent times used f...
[ { "code": null, "e": 28, "s": 0, "text": "\n13 Jul, 2021" }, { "code": null, "e": 396, "s": 28, "text": "Since the availability of staggering amounts of data on the internet, researchers and scientists from industry and academia keep trying to develop more efficient and reliable ...
Python | re.search() vs re.match()
09 Aug, 2021 Prerequisite: Regex in Python The re.search() and re.match() both are functions of re module in python. These functions are very efficient and fast for searching in strings. The function searches for some substring in a string and returns a match object if found, else it returns none. There is a difference...
[ { "code": null, "e": 52, "s": 24, "text": "\n09 Aug, 2021" }, { "code": null, "e": 82, "s": 52, "text": "Prerequisite: Regex in Python" }, { "code": null, "e": 338, "s": 82, "text": "The re.search() and re.match() both are functions of re module in python. The...
Surd and indices in Mathematics
15 Jun, 2021 Surds :Let x is a rational number(i.e. can be expressed in p/q form where q ≠ 0) and n is any positive integer such that x1/n = n √x is irrational(i.e. can’t be expressed in p/q form where q ≠ 0), then that n √x is known as surd of nth order. Example – √2, √29, etc. √2 = 1.414213562..., which is non-term...
[ { "code": null, "e": 53, "s": 25, "text": "\n15 Jun, 2021" }, { "code": null, "e": 298, "s": 53, "text": "Surds :Let x is a rational number(i.e. can be expressed in p/q form where q ≠ 0) and n is any positive integer such that x1/n = n √x is irrational(i.e. can’t be expressed in...
How to create a navbar in Bootstrap ?
06 Aug, 2021 Bootstrap Navbar is a navigation header that is located at the top of the webpage which can be extended or collapsed, depending on the screen size. Bootstrap Navbar is used to create responsive navigation for our website. We can create standard navigation bar with <nav class=”navbar navbar-default”>. We c...
[ { "code": null, "e": 53, "s": 25, "text": "\n06 Aug, 2021" }, { "code": null, "e": 276, "s": 53, "text": "Bootstrap Navbar is a navigation header that is located at the top of the webpage which can be extended or collapsed, depending on the screen size. Bootstrap Navbar is used t...
How to auto-save data when application is offline in Angular 8?
27 Jun, 2020 Auto-saving the data comes into action when your application needs to work offline and the CDN(content delivery network) will fail. In this article, we are going to access the required steps that are intended to save your application locally when offline and submit it once a connection has prevailed. Envir...
[ { "code": null, "e": 28, "s": 0, "text": "\n27 Jun, 2020" }, { "code": null, "e": 330, "s": 28, "text": "Auto-saving the data comes into action when your application needs to work offline and the CDN(content delivery network) will fail. In this article, we are going to access the...
YAML - Introduction
YAML Ain't Markup Language is a data serialization language that matches user’s expectations about data. It designed to be human friendly and works perfectly with other programming languages. It is useful to manage data and includes Unicode printable characters. This chapter will give you an introduction to YAML and gi...
[ { "code": null, "e": 2538, "s": 2182, "text": "YAML Ain't Markup Language is a data serialization language that matches user’s expectations about data. It designed to be human friendly and works perfectly with other programming languages. It is useful to manage data and includes Unicode printable ch...
Spring ApplicationContext Container
The Application Context is Spring's advanced container. Similar to BeanFactory, it can load bean definitions, wire beans together, and dispense beans upon request. Additionally, it adds more enterprise-specific functionality such as the ability to resolve textual messages from a properties file and the ability to publi...
[ { "code": null, "e": 2886, "s": 2426, "text": "The Application Context is Spring's advanced container. Similar to BeanFactory, it can load bean definitions, wire beans together, and dispense beans upon request. Additionally, it adds more enterprise-specific functionality such as the ability to resol...
Java Program to Count Inversions in an array | Set 1 (Using Merge Sort)
07 Dec, 2021 Inversion Count for an array indicates – how far (or close) the array is from being sorted. If the array is already sorted, then the inversion count is 0, but if the array is sorted in the reverse order, the inversion count is the maximum. Formally speaking, two elements a[i] and a[j] form an inversion if ...
[ { "code": null, "e": 52, "s": 24, "text": "\n07 Dec, 2021" }, { "code": null, "e": 391, "s": 52, "text": "Inversion Count for an array indicates – how far (or close) the array is from being sorted. If the array is already sorted, then the inversion count is 0, but if the array is...
p5.js | changed() Function
17 Jan, 2020 The changed() function is fired whenever the value of an element gets changed. It can be used to detect changes in checkbox elements or select elements. It can also be used to attach an event listener to an element. Syntax: changed(fxn) Parameters: This function accepts a single parameter as mentioned abov...
[ { "code": null, "e": 28, "s": 0, "text": "\n17 Jan, 2020" }, { "code": null, "e": 244, "s": 28, "text": "The changed() function is fired whenever the value of an element gets changed. It can be used to detect changes in checkbox elements or select elements. It can also be used to...
Implementation of lower_bound() and upper_bound() on Map of Pairs in C++
31 May, 2020 Prerequisite: map lower_bound() function in C++ STL, map upper_bound() function in C++ STL In this article, we will discuss the implementation of the lower_bound() and upper_bound() in the Map of pairs. lower_bound(): It returns an iterator pointing to the first element in the range [first, last) which has...
[ { "code": null, "e": 28, "s": 0, "text": "\n31 May, 2020" }, { "code": null, "e": 119, "s": 28, "text": "Prerequisite: map lower_bound() function in C++ STL, map upper_bound() function in C++ STL" }, { "code": null, "e": 231, "s": 119, "text": "In this article...
Java ZipFile getInputStream() function with examples
06 Mar, 2019 The getInputStream() function is a part of java.util.zip package. The function returns the InputStream of a specific ZipEntry passed as parameter.Closing the Zip File will also close all the InputStream generated by this function.Function Signature : public InputStream getInputStream(ZipEntry e) Syntax : z...
[ { "code": null, "e": 28, "s": 0, "text": "\n06 Mar, 2019" }, { "code": null, "e": 279, "s": 28, "text": "The getInputStream() function is a part of java.util.zip package. The function returns the InputStream of a specific ZipEntry passed as parameter.Closing the Zip File will als...
HTML Forms
22 Jun, 2022 HTML stands for HyperText Markup Language. It is used to design web pages using a markup language. It is a combination of Hypertext and Markup language. HTML uses predefined tags and elements that tell the browser how to properly display the content on the screen, and form is one of them. So, in this artic...
[ { "code": null, "e": 28, "s": 0, "text": "\n22 Jun, 2022" }, { "code": null, "e": 457, "s": 28, "text": "HTML stands for HyperText Markup Language. It is used to design web pages using a markup language. It is a combination of Hypertext and Markup language. HTML uses predefined t...
How to use Badge Component in ReactJS?
05 Mar, 2021 Badge generates a small badge to the top-right of its children component. Material UI for React has this component available for us, and it is very easy to integrate. We can use the Badge Component in ReactJS using the following approach. Creating React Application And Installing Module: Step 1: Create a R...
[ { "code": null, "e": 28, "s": 0, "text": "\n05 Mar, 2021" }, { "code": null, "e": 267, "s": 28, "text": "Badge generates a small badge to the top-right of its children component. Material UI for React has this component available for us, and it is very easy to integrate. We can u...
How to load a TSV file into a Pandas DataFrame? - GeeksforGeeks
18 Oct, 2021 In this article, we will discuss how to load a TSV file into a Pandas Dataframe. The idea is extremely simple we only have to first import all the required libraries and then load the data set by the use of read_csv() method. To this method simply the path of the dataframe is passed. This is enough to get ...
[ { "code": null, "e": 24545, "s": 24517, "text": "\n18 Oct, 2021" }, { "code": null, "e": 24626, "s": 24545, "text": "In this article, we will discuss how to load a TSV file into a Pandas Dataframe." }, { "code": null, "e": 24866, "s": 24626, "text": "The idea ...
Deploying AWS Lamba Function & Layer with Serverless Framework | by Fernando López | Towards Data Science
Serverless environments have emerged as a disruptive alternative for the deployment of applications in cloud instances without the need to configure, manage, operate and maintain a traditional server. In this tutorial, we will see an example about how to develop, configure, integrate and deploy a Lambda Function [1] th...
[ { "code": null, "e": 373, "s": 172, "text": "Serverless environments have emerged as a disruptive alternative for the deployment of applications in cloud instances without the need to configure, manage, operate and maintain a traditional server." }, { "code": null, "e": 583, "s": 373...
Add all greater values to every node in a BST | Practice | GeeksforGeeks
Given a BST, modify it so that all greater values in the given BST are added to every node. Example 1: Input: 50 / \ 30 70 / \ / \ 20 40 60 80 Output: 350 330 300 260 210 150 80 Explanation:The tree should be modified to following: 260 / ...
[ { "code": null, "e": 330, "s": 238, "text": "Given a BST, modify it so that all greater values in the given BST are added to every node." }, { "code": null, "e": 341, "s": 330, "text": "Example 1:" }, { "code": null, "e": 630, "s": 341, "text": "Input:\n ...
Time-Series and Correlations with Stock Market Data using Python | by Bill Voisine | Towards Data Science
I’ve recently created an account with IEX Cloud, a financial data service. As I’ve been learning the features of this new data source (new to me) and experimenting within my Jupyter Notebook, I thought the below may be helpful for others as well. Therefore, I’m creating my first Medium article and will focus it on fina...
[ { "code": null, "e": 516, "s": 172, "text": "I’ve recently created an account with IEX Cloud, a financial data service. As I’ve been learning the features of this new data source (new to me) and experimenting within my Jupyter Notebook, I thought the below may be helpful for others as well. Therefor...
DataTables scrollX Option - GeeksforGeeks
31 May, 2021 DataTables is jQuery plugin that can be used for adding interactive and advanced controls to HTML tables for the webpage. This also allows the data in the table to be searched, sorted, and filtered according to the needs of the user. The DataTable also exposes a powerful API that can be further used to mod...
[ { "code": null, "e": 25675, "s": 25647, "text": "\n31 May, 2021" }, { "code": null, "e": 26013, "s": 25675, "text": "DataTables is jQuery plugin that can be used for adding interactive and advanced controls to HTML tables for the webpage. This also allows the data in the table to...
\texttt - Tex Command
\texttt - Used to produce text-mode material in typewriter font within a mathematical expression. { \texttt #1} \texttt command is used to produce text-mode material in typewriter font within a mathematical expression. \texttt{\alpha in texttt mode }\alpha \alpha in texttt mode α \texttt{\alpha in texttt mode }\a...
[ { "code": null, "e": 8085, "s": 7986, "text": "\\texttt - Used to produce text-mode material in typewriter font within a mathematical expression." }, { "code": null, "e": 8099, "s": 8085, "text": "{ \\texttt #1}" }, { "code": null, "e": 8206, "s": 8099, "text...
Android - list Fragment
Static library support version of the framework's ListFragment. Used to write apps that run on platforms prior to Android 3.0. When running on Android 3.0 or above, this implementation is still used. The basic implementation of list fragment is for creating list of items in fragments This example will explain you how t...
[ { "code": null, "e": 3807, "s": 3607, "text": "Static library support version of the framework's ListFragment. Used to write apps that run on platforms prior to Android 3.0. When running on Android 3.0 or above, this implementation is still used." }, { "code": null, "e": 3892, "s": 3...