Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
92 views

I have 2 files: foo.c: #include <stdio.h> int Main(int a) { printf("A%dB",a); } int main() { return Main(1); } bar.c: extern int Main(int); int main() { return Main(2); } ...
Stas Badzi's user avatar
Advice
0 votes
1 replies
22 views

I'm trying to run postgresql. after checking their document, I added this volume mount /path/to/data:/var/lib/postgresql/18/docker my container failed immedeately, chmod: changing permissions of '/var/...
Liam lin's user avatar
  • 495
-1 votes
0 answers
36 views

My gpu is not detected in my computer. I have installed 580.105.08.run, cuda 13.0. I confirmed everything installed successfully but still problem persists.
Shipul Raihan's user avatar
0 votes
0 answers
32 views

I am trying to connect to a legacy HFSQL (HyperFileSQL) Client/Server database using Python (pyodbc) on a Linux Ubuntu machine. I have followed the official documentation to install the specific ODBC ...
Angel Panda's user avatar
-3 votes
0 answers
66 views

A friend and I have been running a Minecraft server on an Ubuntu server, and its been going great. For the last month everything has been running smoothly, until just last week we started getting this ...
halfhand870's user avatar
0 votes
0 answers
56 views

I am trying to run r5r for a transit network based analysis. I am using R 4.4.3 in Positron on Fedora 41. Some context for me is that I have a couple years of R underneath my belt, but I am absolutely ...
tabletennisryeoyster's user avatar
0 votes
0 answers
31 views

I'm using prctl(PR_SET_SYSCALL_USER_DISPATCH, ...) to enable Syscall User Dispatch with a SIGSYS handler that gets called when the application issues any syscall. The prctl() call also marks the code ...
patraulea's user avatar
  • 986
-3 votes
0 answers
25 views

Me and my team are working on a RHEL virtual machine and we were wondering how to handle the same crontabs from multiple users. When one of the users does set a crontab no one but the user itself can ...
Nauel's user avatar
  • 516
-1 votes
0 answers
31 views

I was using the root directory for exploring the file system and i look for some dev, bin , sbin and so on and after sometime i open my terminal and saw this : zsh compinit: insecure files, run ...
luka bhai's user avatar
3 votes
1 answer
190 views

I have the following C code that I am testing to understand perf and caching. It sequentially accesses an array of doubles. // test.c #include <stdio.h> #include <stdlib.h> #include <...
user180574's user avatar
  • 6,244
2 votes
0 answers
81 views
+100

I have multiple UIO interrupts defined. I am using Linux 6.12 without the realtime config (so, using the default scheduler, CFS). My userspace driver is using poll in a loop to watch these interrupts ...
Woodrow Barlow's user avatar
-1 votes
0 answers
67 views

I'm following the barebones guide on OSDev Wiki and I'm trying to compile my kernel.c file with i686-elf-gcc -ffreestanding -O2 -m32 -c kernel.c -o kernel.o but I constantly get the following ...
James Cho's user avatar
Tooling
0 votes
7 replies
105 views

I am looking for a one liner that could be run in a linux terminal that does the below. Takes as input a tab separated file (tsv) with many columns (~100) and creates a two column tsv output with ...
Jeffin Rockey's user avatar
3 votes
2 answers
105 views

I have an application where I need to generate date and time based on the locale using the strftime function provided by C's time.h: #include <stdio.h> #include <time.h> #include <...
Micro Soft's user avatar
1 vote
0 answers
96 views

I am trying to spawn a process so that I can do the following: Send text to its standard input and specify EOF by closing the stdin pipe. Connect the process' stdout and stderr to a TTY device so ...
Udeshya D.'s user avatar
Advice
0 votes
2 replies
32 views

I have set up a Debian 12 (Bookworm) host and went through some basic steps to install Apache2 and activate SSL/HTTPs on the backend. Http disabled. As far as I know the usual tool for managing/...
Masterspiece's user avatar
0 votes
0 answers
76 views

I’m working on a tool using raw system sockets. The tool needs to send packets with low-level protocols such as IEEE 802.1X. When I inspect the packets in Wireshark, I notice that the radiotap header ...
Wew Auction's user avatar
Advice
0 votes
0 replies
73 views

(If you want to skip to the part I ask the question, scroll down to the last section with the heading "Concrete question".) I’m working on a home lab / learning project and would appreciate ...
Pandofla's user avatar
-5 votes
0 answers
58 views

I am running R on linux mint 22.2 Cinnamon and my install.packages() command is not functionning. So I tried to uninstall R a first time, but apparently all of my R data was not uninstalled. So I ...
John Idolinton's user avatar
3 votes
1 answer
114 views

Let's run this straightforward piece of code: import java.io.*; import java.nio.file.*; import java.util.Arrays; public class Main { public static void main(String[] args) throws IOException { ...
Robert Hume's user avatar
  • 1,203
-5 votes
0 answers
67 views

Post body (StackOverflow / Reddit / etc.) I’m running Go tests with the race detector in GitHub Actions via Nix, and I always hit a ThreadSanitizer allocation error on Linux runners. On macOS runners ...
trai's user avatar
  • 1
0 votes
0 answers
34 views

I'm currently running a QEMU/KVM Virtual Machine on my Linux(Debian) host and using Ubuntu as the guest operating system (VM). I'm trying to pass through a USB webcam to the VM using the USB Host ...
Sky Dog's user avatar
  • 465
Best practices
2 votes
1 replies
49 views

I have a C application that uses pam to reauthenticate a user on a system with faillocks configured. Imagine something that would work similar to login on the outside. However, it only does basic ...
Ágatha Isabelle's user avatar
0 votes
0 answers
31 views

I'll speak about something that could possibly impact absolutely no one on stack ... So I just hope my problem is enough "generic" to be considered. Ok, so I have this old 3D mouse, a ...
BenjiBoy's user avatar
  • 305
-1 votes
0 answers
38 views

I have a nfs4 server where the uids of two users are flipped against the client. (Both machines are running debian trixie) server name=jupiter karl 1000 alice 2001 bob 3001 client name=saturn ...
Impatient Hippo's user avatar
0 votes
0 answers
28 views

I'm exploring qemu system emulation with custom-built Linux kernels, starting with mips. To start, I'm trying to get to the point of the kernel simply panicking before I add a rootfs, but I can't ...
r4dr3fr4d's user avatar
-2 votes
0 answers
40 views

Im trieng to install "VIEL" but at the end of installing it outputs this Error: Failed to fetch http://mirror1.sox.rs/kali/kali/pool/main/g/gcc-mingw-w64/gcc-mingw-w64-x86-64_15.2.0-7+28_all....
Mohamed Nasser's user avatar
-2 votes
0 answers
50 views

I must have fat-fingered or random clicked with the mouse on screen. Now in Emacs the ctrl and meta keys no longer function. I hold down ESC and type % and expect text replacement to come. But instead ...
Gert Gottschalk's user avatar
-2 votes
0 answers
34 views

Fedora 42. I use the following script to connect to my work VPN using Cisco AnyConnect Secure Mobility Client 4.10.08029 echo -e "$USER\n$(pass company/domain)\n$(pass otp company/mfa)\ny" &...
bqback's user avatar
  • 317
-1 votes
0 answers
87 views

I'm trying to install ArchR to replicate Step 2 in this GitHub repo I am following the Installation of ArchR steps, but when I execute this line: devtools::install_github("GreenleafLab/ArchR"...
Macromind101's user avatar
2 votes
0 answers
76 views

I don't understand how to use devtool properly for my Yocto project. I started using it in order to patch the kernel as suggested by the Yocto Project. I just don't understand why it behaves ...
Johan L's user avatar
  • 31
0 votes
1 answer
48 views

Is there a way I can set the dotnet version to use for the debugger. I am using the one (debugger) that comes with C# Dev Kit. I currently have dotnet 8 and dotnet 2.2 installed but the debugger ...
Ndifreke James Okpo's user avatar
8 votes
1 answer
188 views

If I start two threads bound to CPU 0, where one is SCHED_IDLE, then why is it ever scheduled when the other thread is CPU bound at either normal priority, or at SCHED_FIFO? For SCHED_FIFO I get it, ...
Thomas's user avatar
  • 4,436
0 votes
2 answers
79 views

I am trying to build a mapping between the dynamic symbols in ELF files (from glibc) and the actual kernel syscalls they invoke. My environment is x86_64 Ubuntu 22.04. What I've Tried Parsing man 2 ...
신경철's user avatar
Advice
0 votes
1 replies
48 views

this is the first time I encounter a swap issue, I'm lost about how Linux is supposed to behave. I have a RHEL virtual machine running a batch processing RAM intensive application (100+GB RAM, 1GB ...
849856487764's user avatar
0 votes
1 answer
33 views

I am trying to authenticate my app again my Azure tenant using the Intune broker under Linux: app = PublicClientApplication( client_id=..., authority=..., enable_broker_on_linux=True, ) ...
Marion Deveaud's user avatar
2 votes
1 answer
43 views

i create a script that is supposed to create a new workspace and that workspace launch four terminal each in given position with a command ran in it. this is the script.sh #!/usr/bin/env bash WS='9:...
oumaima's user avatar
  • 69
0 votes
0 answers
52 views

I'm using Quarto  1.6.42 in R Studio (R 4.5.2) on a Linux Ubuntu 24.04  environment to generate a PDF document. When I try to render the document to generate the PDF file, I receive the error message ...
Antonio's user avatar
  • 773
Tooling
0 votes
3 replies
61 views

I seem to be the only person that wants to freeze a screen on purpose. My use case is that I want to keep the image on the external monitor frozen while I switch windows or do other things on the ...
sm8ps's user avatar
  • 23
0 votes
0 answers
53 views

i am programming an app with vite, svelte@4, electron and electron-builder. if i run electron ./start-electron.js the logo is shown, but after many days of trial and error i still don't get it in the ...
Thronella's user avatar
  • 111
0 votes
0 answers
29 views

I'm using buildroot 2024.02. I set BR2_GLOBAL_PATCH_DIR+="$(BR2_EXTERNAL_MY_PATH)/patches". Its contents: % tree /home/admin/buildroot-external-my/patches /home/admin/buildroot-external-my/...
Papillon's user avatar
  • 327
3 votes
1 answer
117 views

I am currently attempting to use the thrust::remove function on a thrust::device_vector of structs in my main function as shown bellow: #include <iostream> #include <thrust/device_vector.h>...
AowynB's user avatar
  • 33
Tooling
1 vote
4 replies
151 views

I’m working on a C++ backend tool that performs system diagnostics for various hardware components on Linux. So far, I’ve implemented tests for: Memory — using memtester CPU — using stress-based ...
TI-84-plus's user avatar
1 vote
0 answers
36 views

I use the mg MicroGNUEmacs editor, a small emacs clone, and encountered a problem upon using c-mode. Whenever I type "}", ")", or "]", the cursor is taken to the matching ...
Aiden Ghim's user avatar
0 votes
0 answers
47 views

I have a ZynqMP board with 4GB of PS RAM and 2GB of PL RAM. I have to write stream data to PL RAM using the AXI DMA s2mm channel and transmit it through 1G Ethernet. I've done this in a bare metal ...
Дмитрий Кортиков's user avatar
-2 votes
1 answer
79 views

When trying to rebuild a CMake project as a different Linux user, it generates Operation not permitted despite having read and write access through group permissions. The only way to solve it is to ...
James Easton's user avatar
Advice
1 vote
3 replies
75 views

I already can get keypresses in my c++ app. I want to get any keypress when running in a terminal on Linux. The terminal is the gnome terminal app running on the Cinnamon desktop. For example, I want ...
TungstenX's user avatar
  • 900
2 votes
2 answers
119 views

I'm trying to write a small bash script that will take values from my mouse's horizontal scroll wheel to change my system's volume. Using this guide, I've come up with the following command to ...
SodaIsSoda's user avatar
2 votes
1 answer
122 views

I'm writing a TCP/IP stack for embedded systems, but I wanted to test it on my host system. Originally I tried with tap0 + a bridge. But I quickly realized it would make the most sense to bind to the ...
Charles Lohr's user avatar
  • 1,021
1 vote
0 answers
85 views

I want to create a skeleton for a project in which there are multiple cuda and cpp files. They will be compiled individually and then linked together to form a single executable. Currently I have the ...
ThErOmAnEmPiRe's user avatar

1
2 3 4 5
4552