227,201 questions
3
votes
1
answer
98
views
libcurl fails to read cert file in one project and succeeds in another [closed]
I have two versions of a c project in the same folder. (They were initially in different folders, moved them for debugging purposes).
I have set both of them to verbose output and the results are the ...
-2
votes
0
answers
42
views
Jenkins installation fails with NO_PUBKEY 7198F4B714ABFAA78 while adding Jenkins repository [closed]
I am trying to install Jenkins on Ubuntu 24.04 running inside WSL2 on Windows 11, but I keep getting a GPG signature verification error while adding the Jenkins repository.
I have already spent ...
Advice
0
votes
0
replies
48
views
hwmon/lm-sensor virtual device
I have a custom fan control (based on a rpi2040-zero), which provides a custom JSON API via serial connection.
Now i want to integrate that into hwmon/lm-sensors.
I want to read & control each fan,...
Best practices
0
votes
3
replies
58
views
Are there fork-aware malloc-implementations?
Our Python program starts by reading a large amount of input data. It then forks a number of workers to process it. The workers inherit the input as shared pages, which allows to save many gigabytes ...
Tooling
1
vote
6
replies
170
views
Why doesn't console end printing of the string at the "\0"?
I noticed in sl source code if I modify sl.h to remove spaces before end of the string code does not work properly for some reason. I use xfce4 terminal.
For example, if I disable wagons on D51 train (...
Best practices
0
votes
2
replies
69
views
Cant decide how to set up 2 ubuntu laptops for Coding
So, m a 3rd year CS grad, I have 2 ubuntu laptops now, have pretty good understanding of linux. I wanted to ask the best way I can setup these 2 laptops for maximum efficiency n kinda look cool. I ...
-3
votes
0
answers
31
views
mesa failed during building core-image-weston stm32p157 [closed]
I'm having trouble building the core-image-weston image. I'm using Ubuntu 22 and VMware Workstation.
config in local.conf:
MACHINE = "stm32mp1"
DISTRO ?= "poky"
...
-1
votes
0
answers
65
views
ZKFPM_Init() returns -2 on ZKTECO SDK for linux last updated on 2022-07-25 while testing with ZK9500 USB fingerprint sensor [closed]
I am trying to develop the software for fingerprint scanner for ZK9500, i copied all the so files from sdk x64 path to current folder and tried to test the demo project they provided by running as
...
-3
votes
0
answers
126
views
Ubuntu 22.04 VM Cannot Access ondrej/php PPA (TLS Handshake Failure in Private Network) [closed]
I am trying to install PHP 8.3 on an Ubuntu 22.04 (Jammy) VM running Apache, but apt update fails specifically for the ondrej/php PPA repository.
Error
Could not handshake: Error in the pull function
...
2
votes
1
answer
349
views
gcc doesn't find limits.h although I can see it [closed]
I'm fairly new to programming with c, before I used python on windows. Now I want to code on an Ubuntu 26.04 LTS machine, wanting to use the libusb-library, but it doesn't work... I upgraded gcc using ...
Best practices
2
votes
9
replies
172
views
non-blocking I/O from keyboard to get key presses
I have been learning about blocking and non-blocking I/O from file descriptors. Basically I want to detect key-presses for a game and want to know the best method for it. The platform is linux, and I ...
Advice
1
vote
2
replies
75
views
I am looking for a GUI tool similar to win32 API Spy for a popular linux distro such as Linux Mint
Does anybody know the name of a software tool with GUI friendly interface that helps me map calls like that on Windows, for Linux instead using system tracing related to the GUI and it's components, ...
-2
votes
1
answer
81
views
Non-closing read from pipe, socket, or FIFO in terminal window or in shell
I don't know much about these things, but I understand that tools like nc and socat are used for reading from sockets/FIFOs. What I want to do is this:
I have socket/FIFO/whatever-the-appropriate-...
0
votes
0
answers
66
views
Can Linux UML kernels be configured to support BPF tracepoints?
When loading using libbpf a BTF object that defines a probe on SEC("tracepoint/syscalls/sys_enter_execve") on an UML kernel (tested with 6.18.26), EINVAL is returned from __sys_bpf -> ...
Best practices
0
votes
10
replies
163
views
What is the most effective way to search in a large repository?
I’d like to ask for some advice on best practices for searching within a large repository.
In my case, the repository isn’t actually that big, but let’s assume it’s quite large. I’m trying to find an ...