How to implement routing in Next JS
Next JS has been growing in popularity, as it solves most of the problems related to React JS and is being increasingly used in enterprises around the...
What is Amazon CloudWatch?
Key takeaways: Amazon CloudWatch is a vital service for monitoring AWS resources and applications. Basic metrics are automatically collected at predef...
let vs. var vs. const in JavaScript
In JavaScript, we can create a variable using three keywords: let var const What is Scope? Scope is the accessibility during runtime of variables, fun...
What is a pass statement in Python?
A pass statement is an empty/null statement that is considered as a placeholder for future code. When a user doesn’t want to write a code, or is not a...
What are shallow and deep copies?
Shallow copy In a shallow copy , the references of an object are copied in another object when we copy the object. The referenced object itself is not...
What is a uniform cost search algorithm?
Search algorithms are used to resolve search problems. For example, search for the shortest path between two given points, searching for a goal, and s...
uniform cost search
ucs
algorithm
How to check for Palindrome numbers in Java
A palindrome number is a number that has the same value as that of the original number when reversed, e.g., 121, 111, 1223221. If you were to reverse ...
How to setup AWS VPC
AWS virtual private cloud (VPC) is a service provided by AWS that allows you to create and manage your virtual network infrastructure within the AWS c...
aws
vpc
virtual private cloud
amazon
cloud
Deep copying vs. shallow copying
Let’s take two objects of the same type (A and B) where the contents of A are to be copied into B. Let’s see how this copying will take place in the c...
What is an arrow function in JavaScript?
Arrow function or an arrow function expression is a more concise syntax for writing regular function expressions that allow us to write shorter and n...
Deep learning
Deep learning is a subset of machine learning that involves using artificial neural networks to imitate the structure and the function of a human brai...
machine learning
ai
artific
data science
Vue vs. React
React is a JavaScript UI framework created by Facebook and made open source in May 2013. React is significantly more popular than Vue; at the time of ...
What is gmp_mod() in PHP?
Overview The gmp_mod() function in PHP is used for the modulo operation. It accepts two parameters, such as, num1 and num2 . The method calculates nu...
What is the ceil() function in D?
Overview The ceil() function returns the nearest smallest integer value that is greater than or equal to a number. The figure below shows the mathema...
What is Reagent in ClojureScript?
Key takeaways: Reagent is a front-end library in ClojureScript that acts as a wrapper around React, simplifying React’s complexities with a more user-...
clojurescript
reagent
javascript
What is fgetwc in C ?
The fgetwc function reads a wide character from stream and returns it. To use this function, the wchar.h header file needs to be included as shown bel...
What is Range.isEndedBy() in Java?
Overview isEndedBy() is an instance method of the Range class that checks whether the range ends with the specified element or not. How to import Rang...
Data science and machine learning
Data science and machine learning are two distinct domains within artificial intelligence. They work together, as data science provides the informatio...
models
algorithms
learning
data analysis
ai
How to style React components
React is used to make the user interfaces of web apps and applications, and there are many ways to style our React application with CSS. We can style ...
What is the Ds\Set::count method in PHP?
The count method of the Set data structure can be used to get the number of elements present in a Set. Set is a collection of unique values. In Ds\Set...