Articles on Trending Technologies

Technical articles with clear explanations and examples

Golang program to remove an element from a slice

Akhil Sharma
Akhil Sharma
Updated on 17-Jan-2023 1K+ Views

In this tutorial, we will learn how to remove an element from a slice using variety of examples. A slice is a sequence of elements just like an array. An array is a fixed sequence of elements whereas slice is a dynamic array which means its value is not fixed and can be changed. Slices are more efficient and faster than arrays moreover they are passed by reference instead by value. Let’s go through the example to understand things. Syntax func copy(dst, str[] type) int The copy function in go language is used to copy the values of ...

Read More

Differences Between a PLC and an RTU

Md. Sajid
Md. Sajid
Updated on 17-Jan-2023 7K+ Views

You may have heard of Programmable Logic Controllers (PLCs) and Remote Terminal Units (RTUs), but what do these devices actually do? And more importantly, which one do you need for your business? PLCs are used to control machines by reading input signals and executing pre-determined programs in order to achieve a specific output. RTUs, on the other hand, are used to collect data from machines and send it back to a central location for analysis. Depending on your needs and level of complexity, there is an automation device that can provide you with complete control over your operations while keeping ...

Read More

Golang program to add elements to a slice

Akhil Sharma
Akhil Sharma
Updated on 17-Jan-2023 1K+ Views

In this tutorial, we will learn how to add elements to a slice using different examples. A slice is a sequence of elements just like an array. An array is a fixed sequence of elements whereas slice is a dynamic array which means its value is not fixed and can be changed. Slices are more efficient and faster than arrays moreover they are passed by reference instead by value. Let’s go through the example to understand things. Method 1: Using append function with strings In this method, we will use append function to add string elements to the slice. ...

Read More

How to create a Function with Arguments but without a return value in Golang?

Aman Sharma
Aman Sharma
Updated on 17-Jan-2023 425 Views

This tutorial will teach us how to create a function with arguments but without a return value. This tutorial involves a gist about the function, and syntax for the function with argument and without return type in Golang, then last we will see two different examples of a function with arguments but without a return type. In the first example, we are going to print the argument passed in the function with the respective statement. In the other example, we are going to add the numbers passed as arguments and print the sum in the same function. Function with argument ...

Read More

How to use interface with class in TypeScript?

Shubham Vora
Shubham Vora
Updated on 16-Jan-2023 2K+ Views

In TypeScript, classes are the template that defines the variables and methods. We can use class templates to create objects, which means the class is the reusable component in object-oriented programming, and we can reuse it by creating its object. We can use the ‘interface’ keyword to define the interfaces in TypeScript. The interface contains the class structure. The interface is similar to abstract classes we define in other programming languages, such as Java and C++. It contains only the declaration of variables with their type and method with its return type and parameter types. Classes define the interface's methods ...

Read More

Characteristics of SQL

Raunak Jain
Raunak Jain
Updated on 16-Jan-2023 2K+ Views

SQL, or Structured Query Language, is a programming language used for managing and manipulating relational databases. It is the standard language for relational database management systems, such as MySQL, Oracle, and Microsoft SQL Server. In this article, we will explore the characteristics of SQL and how they make it a powerful tool for working with databases. Introduction to SQL SQL is a declarative programming language, meaning that it is used to describe the desired outcome rather than the specific steps to achieve it. This makes it a powerful tool for working with databases because it allows users to focus on ...

Read More

Characterizing Schedules Based on Recoverability

Raunak Jain
Raunak Jain
Updated on 16-Jan-2023 3K+ Views

Introduction In the field of database systems, one of the most important concepts is that of recoverability. Recoverability refers to the ability of a system to restore its state in the event of failure. In order to ensure that a system is recoverable, it is necessary to understand the different types of schedules that can be used, and how they impact the recoverability of a system. In this article, we will explore the various types of schedules that can be used in database systems, and how they impact the recoverability of a system. We will also provide examples of each ...

Read More

Checkpoints in DBMS

Raunak Jain
Raunak Jain
Updated on 16-Jan-2023 13K+ Views

Introduction A checkpoint in a database management system (DBMS) is a process that saves the current state of the database to disk. This allows for faster recovery in the event of a system failure or crash. In this article, we will explore the concept of checkpoints in DBMS, including how they work, the different types of checkpoints, and their real-world applications. What is a Checkpoint? A checkpoint is a process that saves the current state of the database to disk. This includes all transactions that have been committed, as well as any changes that have been made to the database ...

Read More

Characterizing Schedules Based on Serializability

Raunak Jain
Raunak Jain
Updated on 16-Jan-2023 5K+ Views

Introduction In the field of database management systems, concurrency control is an important aspect of maintaining the consistency of data. One of the most widely used methods for ensuring consistency is serializability, which is a concept that characterizes schedules based on their ability to produce the same results as if the transactions were executed one at a time in some order. In this article, we will explore the concept of serializability in scheduling and how it can be used to ensure consistency in a concurrent system. What is Serializability? Serializability is a concept that is used to ensure that the ...

Read More

Central Authentication Service (CAS)

Raunak Jain
Raunak Jain
Updated on 16-Jan-2023 1K+ Views

Central Authentication Service (CAS) is an open-source platform that provides single sign-on (SSO) authentication for web applications and services. This means that users can log in once and gain access to multiple applications and services without having to provide their credentials multiple times. CAS is widely used in educational institutions and other organizations to simplify the process of accessing web-based resources. Overview of CAS CAS is based on the SAML specification and provides a centralized way to authenticate users. It is composed of two main components: the CAS server and the CAS client. The CAS server is responsible for authenticating ...

Read More
Showing 41211–41220 of 61,297 articles
Advertisements