Found 1383 Articles for Open Source

How to align 3 files based on first column value

Satish Kumar
Updated on 14-Mar-2023 15:40:17

49 Views

Introduction When working with data, it is often necessary to align multiple files based on a shared column. In this article, we will discuss process of aligning three files based on first column value. We will provide an example of three files and guide you through process of aligning them based on first column value. Why do we need to align three files? In data analysis, we often encounter situations where we need to combine data from multiple sources. In such cases, it is necessary to align data from different files based on a shared column. This is important because ... Read More

Cross compile Static Library from Linux for windows

Satish Kumar
Updated on 14-Mar-2023 15:38:54

1K+ Views

Introduction When developing software, there is a high chance that software might be used in various operating systems. Therefore, it is important to build software in a cross-platform manner to ensure compatibility with multiple operating systems. In this article, we will focus on cross-compiling static libraries from Linux for Windows. What is a Static Library? A static library is a file that contains pre-compiled code that can be linked with an executable program to create a single, self-contained executable. code in a static library is linked directly into executable, which makes it faster and more efficient than dynamic libraries. What ... Read More

How to check whether a process with a given PID is running

Satish Kumar
Updated on 14-Mar-2023 15:37:17

10K+ Views

Introduction As a system administrator or developer, it's important to be able to monitor and manage processes running on your system. One of key pieces of information you need to know is whether a particular process is currently running. In this article, we'll explore different ways to check whether a process with a given PID is running. What is a PID? Before we dive into ways to check if a process with a given PID is running, let's first define what a PID is. A PID (Process Identifier) is a unique identification number assigned to each process running on a ... Read More

Do network file systems pre-fetch

Satish Kumar
Updated on 14-Mar-2023 14:58:54

207 Views

Introduction In a networked computing environment, file systems allow users to access and manage files across different computers and storage devices. Network file systems (NFS) are a type of file system that enables remote file access and sharing between machines over a network. In NFS, a client machine can access files stored on a remote server as if they were on its local file system. One common question that arises regarding network file systems is whether they pre-fetch data to improve performance. In this article, we will explore concept of pre-fetching in network file systems and provide examples of how ... Read More

Monitoring context switches in Linux

Satish Kumar
Updated on 03-Mar-2023 15:14:44

2K+ Views

Context switching is an essential aspect of modern operating systems that enables them to efficiently manage resources available to them. Context switching is process of switching from one process to another in a multi-tasking environment. operating system does this by saving state of current process and loading state of next process. Monitoring context switches in Linux is a crucial task for system administrators, developers, and users who want to optimize performance of their systems. In this article, we will explore how to monitor context switches in Linux and why it is essential to do so. Understanding Context Switching in Linux ... Read More

Linking with x86 shared library on Linux x64

Satish Kumar
Updated on 03-Mar-2023 15:09:38

250 Views

Introduction Dynamic Link Libraries, also known as Shared Libraries, are collections of compiled code, data, and resources that can be loaded and executed by an application at runtime. Shared libraries are commonly used in development of Linux applications, and are an integral part of x86 architecture. In this article, we will explore process of linking with x86 shared libraries on Linux x64 systems. Understanding x86 Shared Libraries An x86 shared library is a file that contains compiled code, data, and resources that can be shared among multiple applications at runtime. Shared libraries are loaded into memory only when required by ... Read More

How to make a USB device multi-touch enabled

Satish Kumar
Updated on 03-Mar-2023 15:08:10

561 Views

In recent years, touch technology has become increasingly popular, with smartphones, tablets, and laptops offering capability to interact with devices by simply tapping or swiping screen. However, what if you could use touch technology on your computer using a USB device? This is where concept of multi-touch enabled USB devices comes into play. In this article, we will explain what multi-touch enabled USB devices are, how to make a USB device multi-touch enabled, and provide examples of popular multi-touch USB devices in market. What are Multi-touch Enabled USB Devices? Multi-touch enabled USB devices are peripherals that are connected to a ... Read More

How can I use wstring(s) in Linux APIs

Satish Kumar
Updated on 19-Jul-2023 10:45:49

146 Views

Introduction In Linux programming, use of wide character strings is becoming increasingly common. Wide character strings, or wstrings, are a sequence of wide characters, each of which can represent a single Unicode character. This makes them particularly useful when working with text that includes characters from a wide range of languages, as well as text that includes special characters such as accents, symbols, and emojis. In this article, we will explore how to use wstrings in Linux APIs, with examples and explanations. What are wstrings and why use them? A wide character string, or wstring, is a sequence of wide ... Read More

Who called my DBus API in Linux system

Satish Kumar
Updated on 03-Mar-2023 15:02:10

429 Views

Introduction DBus is a widely used message bus system that facilitates communication between different software applications on Linux operating systems. It is used for inter-process communication (IPC) and allows applications to communicate with each other, even if they are running in different contexts. However, it can be difficult to determine which application or process is calling a specific DBus API. In this article, we will explore different methods for identifying caller of a DBus API on Linux. What is DBus? DBus is a message bus system used for inter-process communication (IPC) in Linux systems. It is a low-level, asynchronous protocol ... Read More

Is it possible to share a Cuda context between applications

Satish Kumar
Updated on 03-Mar-2023 15:01:10

565 Views

Introduction CUDA is a parallel computing platform and programming model created by Nvidia. It allows developers to use a CUDA-enabled graphics processing unit (GPU) to accelerate processing tasks in their applications. A CUDA context is a software environment that manages memory and other resources required by a CUDA application. A CUDA context is created when an application calls CUDA API, and it remains active until application releases it. One question that arises is whether it is possible to share a CUDA context between applications. In this article, we will explore this topic and discuss advantages and challenges of sharing a ... Read More

Advertisements