Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
71 views

I am customizing the linux nvme driver to take QID and submit the IO command to that particular QID in the ioctl command NVME_IOCTL_SUBMIT_IO. I am using Kernel6.5(ubuntu 22). The call is like this: ...
Sharma PV's user avatar
0 votes
0 answers
44 views

Vim often hangs or is slow when opening a really large file (many lines, or many chars in a line) I found a workaround (but for viewing only): head -n 1000 mylargefile.txt | vim - head -c 1000 ...
Vadim Kantorov's user avatar
1 vote
0 answers
203 views

I'm working on a FastAPI project where I use python-dotenv to load environment variables from a .env file. Most variables load correctly, but the API_KEY variable is not being picked up by my app, ...
yaman jain's user avatar
3 votes
0 answers
143 views

I have a python based service that uses libraries such as requests or curl-cffi to fetch the content of our webpages which we currently are testing for scale. As the expected response is the content ...
mang4521's user avatar
  • 832
0 votes
1 answer
113 views

My understanding is that PERF_COUNT_HW_REF_CPU_CYCLES should map to some counter that counts at a constant rate, as opposed to PERF_COUNT_HW_CPU_CYCLES which is affected by frequency scaling. I'd ...
Joseph Garvin's user avatar
3 votes
1 answer
101 views

issue When I was designing the MQTT client using the Paho MQTT C library, why is the message arrived callback set using MQTTAsync_setCallbacks invoked twice? I am using the asynchronous mode of the ...
zyx's user avatar
  • 33
1 vote
0 answers
105 views

I am using clang on a linux environment to compile a C program. When trying to debug the executable using ddd, it does not find the debug symbols (yes, they are included). When I use gcc instead of ...
ysap's user avatar
  • 8,241
2 votes
1 answer
66 views

So i was building a Video calling app with nodejs and react and WebRTC, and wanted to test it at some point but whenever on user accepts the call the other user gets this error message ...
Günther's user avatar
3 votes
1 answer
132 views

Use LD_PRELOAD to load shared objects with the initfirst flag. Calling the getenv() function from a function with __attribute__((constructor)) returns NULL. I think this is probably because the ...
kakkoko's user avatar
  • 353
0 votes
1 answer
148 views

In Windows cmd you can run wsl commands just by typing: > wsl pwd /mnt/c/Users/user/ But when I try to run functions that are stored in ~/.bashrc file, nothing is happening: > wsl test > ...
IGRACH's user avatar
  • 3,726
2 votes
1 answer
148 views

If I were to mmap() a very large file (for read-only access) pages would be read-in, by the kernel, after a page fault indicates that the page is not already cached in RAM. Pages will remain cached ...
aSteve's user avatar
  • 2,056
1 vote
1 answer
55 views

Can anyone help me address the problem why Connection Refused happen when I run the program in docker container? If I set --net=host --privileged when running docker container, it works, otherwise ...
Kevin Mai's user avatar
0 votes
0 answers
102 views

so my problem is that when I create a X11 window and then create a SFML window from the X window handle, the os says the window is "not responding" even though I am polling for events and ...
Martin Pavelka's user avatar
-1 votes
1 answer
65 views

How do you clear the cache for Pentaho in a Linux environment? Is there a particular file I need to delete somewhere?
Chicken Sandwich No Pickles's user avatar
1 vote
1 answer
91 views

I am using the middle mouse button for an autoscroller in a Java Swing application. However, when I middle-click on a text component, on Linux it pastes the last selected text, which is unwanted. How ...
Boann's user avatar
  • 50.3k
-1 votes
1 answer
48 views

When I click on Connect to Remote Server in VScode, it throws this error: wget download failed vscode-cli-<commit>.tar.gz: Disk quota exceeded scp: dest open "...": Failure
Ananya Ananth's user avatar
0 votes
0 answers
86 views

I am trying to bulid glibc from source at Ubuntu 18.04 GLIBC_VERSION="2.28" GLIBC_DIR="$HOME/.local/src/opt/glibc-$GLIBC_VERSION" GLIBC_TAR="$HOME/.local/src/opt/glibc-$...
zhang's user avatar
  • 689
0 votes
0 answers
49 views

I am trying to compile a hello world c program using gcc using the following nsjail command - sudo nsjail -B / --cwd /mydir -- /usr/bin/gcc main.c I know, extremely naive and insecure way of ...
Tony's user avatar
  • 111
0 votes
1 answer
63 views

I observed weird behavior when performing non-blocking accept loop. When there are multiple connection requests in the queue, only the first accept attempt succeed. All subsequent attempt fail with ...
Guest0x0's user avatar
  • 306
0 votes
0 answers
57 views

I'm trying to run a Cucumber BDD SpringBoot test application with these versions using JDK17 (Java 17): springboot: 3.2.11 springboot-framework: 6.1.4 cucumber: 7.23.0 Spring dependencies used: ...
A.Yadav 's user avatar
1 vote
1 answer
45 views

I have a number of Python-based services on a Linux server that I start by running a .py file via a python3 bash command and that are supposed keep running indefinitely. One is a flask app, another is ...
mango's user avatar
  • 49
3 votes
1 answer
93 views

Generating a key and I have tried to understand how GenerateKey gets random in Linux. Example: using System; using System.Security.Cryptography; namespace AesEncryption { class Program { ...
Pea Kay See Es's user avatar
2 votes
1 answer
64 views

I was writing a simple program to wrap some common git calls for me. My target platform is Linux and I am expecting normal Linux search behavior for starting processes (e.g. do not search the current ...
Jeremy Richards's user avatar
0 votes
0 answers
110 views

I'm looking for a way to monitor the entire filesystem on a Linux (Ubuntu) system for specifically create events using the fanotify library. Essentially, every time a file gets created anywhere, I ...
Jeffrey W.'s user avatar
0 votes
1 answer
106 views

can someone please help in explaining why virt_to_phys cant be used in case of SMMU to get the IOVA address, as in SMMU enabled system physical address are not exposed , so can we use virt_to_phys in ...
devender's user avatar

1
3 4
5
6 7
4552