227,443 questions
0
votes
0
answers
18
views
Mirror kernel virtual addresses in a user-space simulator
I am developing a user-space simulator that is intended to produce execution traces identical to those generated when the program runs inside the kernel.
The program operates within a small sandboxed ...
1
vote
1
answer
80
views
How to use epoll_wait in a TCP server accept loop?
I am writing a tcp server in C++ on Linux and am currently trying to move on from my thread pool to a event driven I/O system using epoll. My Server currently creates a listening socket, then accepts ...
-1
votes
0
answers
29
views
passwordless sudo for a fedora devcontainer (PAM error) [closed]
I'm trying to create a fedora devcontainer for the zed editor.
Dev containers for zed are still a work in progress so you can't yet do things like easily rebuild containers. For this reason I want to ...
0
votes
0
answers
52
views
Block corruption error on dm-verity on Yocto Linux [closed]
We are working with NXP S32G2 processor.
On Linux side, we have been encountering the block corruption issue as metadata block 152577 is corrupted.
Ideally, we have 152576 blocks in dmverity.env and ...
-2
votes
0
answers
28
views
How to migrate OpenVZ VPS to KVM VPS (WordPress, Databases, DNS Zones, SSL) on Hostinger? [closed]
I'm planning to migrate my OpenVZ VPS to a KVM VPS on Hostinger, but I'm not very experienced with server migrations. I need to back up and restore:
Multiple WordPress websites
MySQL databases
DNS ...
-2
votes
0
answers
37
views
Docker: Trying to build a new image based on Langfuse Dockerfile but it stucks in web building [closed]
It has been confirmed that the same issue exists in the original langfuse repo as well. I thought it was caused by my modification but turns out it's not.
Related git issue:
https://github.com/orgs/...
-3
votes
0
answers
35
views
Dell laptop with Intel Iris Xe cannot set custom resolution 2560x1080 on external ultrawide monitor via HDMI (xrandr Configure crtc failed) [closed]
I have a Dell laptop with Intel Iris Xe graphics (Raptor Lake / RPL-U) running **Ubuntu 24.04** (kernel 6.8.0-100-generic, Mesa 25.2.8).
My external monitor is a **2560×1080** (21:9 ultrawide).
The ...
-2
votes
0
answers
23
views
evemu-play mouse replay works after reboot, but scaling breaks after long uptime [closed]
I’m using evemu (evemu-play) inside an Ubuntu 24.04 VM on Proxmox (Q35 machine type and X11 Session) to replay recorded mouse input. After a fresh reboot everything works normally. After many hours or ...
-4
votes
0
answers
45
views
apt update fails in WSL2 with connection timeout despite working DNS [closed]
I have an problem with wsl on my os (Win 11) , I don't know why when write (sudo apt update / sudo apt install anything ) , give me warning about the fail connecting the site , although the internet ...
2
votes
3
answers
104
views
How to iterate over a number in bash through one variable and assign output to a variable?
I am trying to generate a script that gets the number of keywords, asks you for each keyword, and assigns each one in a variable to a for loop, I have tried this so far:
#!/usr/bin/env bash
read -p ...
3
votes
1
answer
49
views
How to compile GCC itself with LTO
Premise
The user does not have root access and is compiling an isolated toolchain under /home/user/toolchain.
A working GCC-14.3 has been already compiled and installed with the following ...
Advice
0
votes
1
replies
50
views
How to use nftables to NAT a range of IPs when forwarding between interfaces
I currently have a WireGuard VPN (interface wg0) running on a linux device, which is used to allow access to other devices on a given interface remotely - say eth0.vlan1. I already have a working ...
Advice
0
votes
1
replies
56
views
How to experiment with Flutter multi-window on Windows and Macos?
I want to use multi-window feature but I don't know how to start it. I found that canonical is implementing it on windows, macos, and linux, and it's already merged in the flutter engine, but I didn't ...
3
votes
2
answers
100
views
Optarg always giving ' ' value
I am trying to do a project which calculates the strength of a given password but I have an extra feature like -f which takes a .txt file and scans if password is found in it but when I type such as ./...
Advice
0
votes
2
replies
47
views
What's the fastest and most reliable way to aggregate ipv4 addresses into CIDRs in Go?
I have an array of ipv4 addresses (over 750k addresses).These IPs have so long been stored in hash:ip ipset of Linux through the Go application.
I want to reduce this to shortest (if that's a good ...