How to use the Fetch API in JavaScript

Posted: 2021-08-28 12:24:04
Source: https://linuxhint.com/how-to-use-fetch-api-javascript/

Communicating and Fetching data from third party sources is an essential part of web development. It was achieved by using a complex tool named XMLHttpRequest which caused callback hells; Now a much simpler tool called Fetch API is used to send AJAX calls in Vanilla JavaScript as it is much better at handling the AJAX requests. This article is about the fetch API of javascript.

How do I run Ubuntu on Windows 10 on VirtualBox

Posted: 2021-08-28 10:23:46
Source: https://linuxhint.com/run-ubuntu-on-windows-virtualbox/

One can install Ubuntu on their computer machines, or virtualization tools can be used to access Ubuntu’s features. You have two ways to get access to distros of Linux; one way is using WSL, and the other way is to use any virtualization tool. This article explains how to run Ubuntu on Windows using virtualbox, it also discusses access to Ubuntu through WSL.

How do I find and kill a process in Ubuntu

Posted: 2021-08-28 09:55:23
Source: https://linuxhint.com/find-and-kill-process-on-ubuntu/

One or more of your programs or processes may hang from time to time while using Ubuntu. In this situation, you find yourself looking for methods to conveniently, quickly, and safely halt the unresponsive processes and applications because restarting your system is not always the best solution. This article discussed how to find and kill processes in Ubuntu through terminal and graphical user interface.

How to Use C++ fstream

Posted: 2021-08-28 05:38:35
Source: https://linuxhint.com/use-cpp-fstream/

This article demonstrates how to use C++ fstream. The fstream deals with inputs from a file to a C++ program. The tutorial highlights the definition of fstream, opening and closing a file stream, output file stream operations, appending characters to a file, inputting file stream operations, and editing a file.

AMD Radeon 6600XT: Linux Setup Made Easy!

Posted: 2021-08-27 17:45:01
Source: https://www.youtube.com/watch?v=VSXftsxBpi0

How to install Manjaro 21.1.0

Posted: 2021-08-27 16:12:17
Source: https://www.youtube.com/watch?v=RnA8BKsvuCs

Is Your Wifi Not Working on Linux?

Posted: 2021-08-27 15:29:47
Source: https://linuxhint.com/resolve-wifi-not-working-linux/

One of the biggest challenges Linux users often face is related to Wifi. This is because Wifidrivers are often missing in the kernel. Resultantly, users have to face various issues related to "Wifi not working." These issues are more common if you are using non-Intel Wifi modules. How to resolve Wifi not working issue on Linux is explained in this article.

Bash print array with newlines

Posted: 2021-08-27 15:27:57
Source: https://linuxhint.com/print-array-newlines-bash/

An array is a container containing the same data type items, either integer type or float type. We can deal with arrays by performing several operations on them. One commonly used Delima is to break the array and print each word on a new line.

Guide to C++ Serialization

Posted: 2021-08-27 14:51:03
Source: https://linuxhint.com/serialization-cpp/

Serialization converts an object into a stream of bytes stored in the disk or sent to another computer through a network. In C++, the struct is considered a class, and the name of a struct represents the instantiated object of the struct. Individual fundamental objects are not normally serialized. This article explains C++ Serialization.

GNOME 41 Beta is Now Available

Posted: 2021-08-27 14:31:41
Source: http://www.linux-magazine.com/Online/News/GNOME-41-Beta-is-Now-Available

The most popular open-source desktop environment is on the cusp of yet another new release, but don’t expect the massive changes found in the previous iteration.

next-20210827: linux-next

Posted: 2021-08-27 11:20:51
Source: http://www.kernel.org/

Version:next-20210827 (linux-next)
Released:2021-08-27

How to copy-paste on Ubuntu terminal

Posted: 2021-08-27 09:09:41
Source: https://linuxhint.com/copy-paste-ubuntu-terminal/

In user-interface design and human-computer interaction, copy-paste are operations that provide an interprocess communication mechanism for moving data via the user interface of a system. The copy command duplicates the data and saves it to temporary storage (the clipboard). Then this data from the clipboard is pasted into the desired location. The copied data is accessible to any program that supports the functionality and allows itself to transfer data easily. This article explains how copy and paste operations work in Ubuntu terminal.

How to Install VirtualBox on Debian 11

Posted: 2021-08-27 00:46:25
Source: https://linoxide.com/how-to-install-virtualbox-on-debian-11/

Best Computer Speakers Under 50 Dollars

Posted: 2021-08-27 00:30:48
Source: https://linuxhint.com/best-computer-speakers-under-fifty-dollars/

If you are a gamer, scrimping on the bass or listening to distorted amps may not be the best way to enjoy an immersive RPG game. With speakers, the more money you throw in, the better the results get. Best Computer Speakers Under 50 Dollars are reviewed in this article.

25 basic Ubuntu Commands

Posted: 2021-08-26 23:57:29
Source: https://linuxhint.com/basic-25-ubuntu-commands/

Ubuntu supports both Command Line Interface (CLI) and Graphical User Interface (GUI) to perform various tasks on the OS. CLI is the basic way to interact with systems hardware (processor/memory); you can perform all the tasks that GUI can perform. The article is about 25 basic ubuntu commands and their functionalities.

Extern in C++

Posted: 2021-08-26 18:33:13
Source: https://linuxhint.com/extern-cpp/

The word "extern" in C++ is a specifier. Its use in C++ is explained in this article for variables and functions. The extern specifier links two declarations of the same entity, which are in two different files. It allows a constant to be declared without initialization in one file and in the other file. What is extern in C++ is explained in this article.

Inline Functions in C++

Posted: 2021-08-26 17:36:12
Source: https://linuxhint.com/inline-functions-cpp/

When a normal function is called in C++, some are overheard just for calling the function. C++ uses macro and the inline function. A macro is like a small function, but it is usually shorter than a typical small function. A small inline function has advantages over a normal small function. Inline Functions in C++ is explained in this article.

Best Laptops For Fashion Designers

Posted: 2021-08-26 16:42:15
Source: https://linuxhint.com/best-laptops-for-fashion-designers/

When you’re using a laptop for fashion design, you want to spend as much time as possible in the creative zone, experimenting with colors and designs. You don’t want to be slowed down by a laptop that freezes or one that doesn’t adequately show off your creations. Worse yet, you don’t want to spend hundreds […]

Best Laptop For Researchers

Posted: 2021-08-26 16:16:17
Source: https://linuxhint.com/best-laptop-for-researchers/

If you’ve ever studied hard for an MA or a Ph.D., you’ll know how difficult it is to research. You’ll need to find a laptop that can handle spreadsheets and perhaps laying out complex information in the form of graphs and databases. Your computer might not need the top-of-the-range software, but it will certainly need […]

Experimenting with Python implementation of Host Identity Protocol

Posted: 2021-08-26 16:00:00
Source: https://www.linuxjournal.com/content/experimenting-python-implementation-host-identity-protocol

Experimenting with Python implementation of Host Identity Protocol

INTRODUCTION

Sometimes it is easier to implement prototypes in user space using high-level languages, such as Python or Java. In this document we attempt to describe our implementation effort related to Host Identity Protocol version 2. In the first part, we describe various security solutions, then we discuss some implementation details of the HIP protocol, and finally, in the last part of this work we discuss the performance of the HIP and IPSec protocols implemented using Python language.

BACKGROUND

In this section we will describe the basic background. First, we will discuss the problem of mobile Internet and introduce the Host Identity Protocol. We then move to the discussion of various security protocols. We will conclude the section with the discussion of Elliptic Curves and a variant of DiffieHellman algorithm, which uses EC cryptography (ECC).

Dual role of IP

Internet was designed initially so that the Internet Protocol (IP) address is playing dual role: it is the locator, so that the routers can find the recipient of a message, and it is an identifier, so that the upper layer protocols (such as TCP and UDP) can make bindings (for example, transport layer sockets use IP addresses and ports to make a connections). This becomes a problem when a networked device roams from one network to another, and so the IP address changes, leading to failures in upper layer connections. The other problem is establishment of the authenticated channel between the communicating parties. In practice, when making connections, long term identities of the parties are not verified. Of course, there are solutions such as SSL which can readily solve the problem at hand. However, SSL is suitable only for TCP connections and most of the time practical use cases include only secure web surfing and establishment of VPN tunnels. Host Identity Protocol on the other hand is more flexible: it allows peers to create authenticated secure channels on the network layer, and so all upper layer protocols can benefit from such channels.

HIP13 relies on the 4-way handshake to establish an authenticated session. During the handshake, the peers authenticate each other using long-term public keys and derive session keys using Diffie-Hellman or Elliptic Curve (EC) Diffie-Hellman algorithms. To combat the denial-of-service attacks, HIP also introduces computational puzzles.

1 ... 626 627 628 629 ... 726