24,224,699 questions
0
votes
0
answers
3
views
Android Studio layout resource file "Compilation errors" but without the related information
In my Android studio project, when build, the Java code reports:
ConvertActivity.java:292: error: constant expression required
case R.id.convertButton:
The code is as bellow:
public void ...
0
votes
0
answers
4
views
Expo + React Native QR Code Scanner shows black camera screen or crashes — how to correctly implement?
I’m building a React Native app using the Expo bare workflow. Most of the app is working well: folder creation, photo uploads, QR code generation and export (with react-native-qrcode-svg) are all ...
-1
votes
0
answers
5
views
I can't find any resources to learn win api [closed]
I have been searching for resources to learn.Windows API and I did not find it And it should be in C++
0
votes
0
answers
12
views
Laragon No File httpd.conf
Idk if this question is stupid but i just start to use laragon because i previously use xampp but fed up with all the errors regarding my port. I already uninstalled xampp and when i try to run from ...
0
votes
0
answers
10
views
When running exams2nops() from r-exams the console freeze
I run the code
library("exams")
myexam <- list(
"tstat2.Rnw",
"ttest.Rnw",
"relfreq.Rnw",
"anova.Rnw"
)
set.seed(403)
ex1 <- ...
0
votes
0
answers
12
views
Tabbed Page Modal Broke After Calling Dialog Popup
The tabbed page called from MaingPage as modal
await Navigation.PushModalAsync(new OrderTabsPage(_userService, _services));
then it OrderTabsPage initiaze all the tab
public partial class ...
0
votes
0
answers
11
views
How to compute the maximum possible flow through a specific edge while preserving the overall maximum flow?
I am given a flow network with a source s, a sink t, and capacities on the edges. The problem is to determine the maximum possible flow that can go through a specific edge (u, v), under the constraint ...
0
votes
0
answers
19
views
MJPEG with WebView in Jetpack Compose
I'm trying to display a live stream from my Windows webcam in an Android application. I'm using a Flask server to stream the webcam feed as an MJPEG video, and I want to view that stream inside the ...
0
votes
0
answers
10
views
Django - Testing async management command not working as expected
To give some context, i made a async function which works fine when testing manually but when I use Django's testcases, the query is not returning anything back inside the async block, if I try the ...
0
votes
1
answer
23
views
Why do characters after %s in printf replace the starting characters
I'm learning C and trying to debug with printf calls.
But, when I format a string with %s and have characters immediately after, they end up replacing the characters at the beginning.
Example:
...
0
votes
0
answers
11
views
Try netconsole in single machine, but not working
Some basic info of my machine:
# uname -a
Linux iZ2zeirtviyt9b8s96ery2Z 6.8.0-40-generic #40-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 5 10:34:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
# ip addr
1: lo: &...
0
votes
0
answers
8
views
setting a git safe.directory during cmake FetchContent_MakeAvailable
tl;dr during cmake command FetchContent_MakeAvailable, an underlying git checkout tag proces fails with fatal: detected dubious ownership in repository at ...; how can I have cmake set a git safe....
0
votes
0
answers
9
views
React "Module not found" error for a local folder
I have a NextJS/React project and a TypeScript library in separate folders that contains shared classes/enums/helper functions/etc.
My project structure is as follows:
test-project
├─ test-project-app
...
4
votes
2
answers
27
views
About calling multiple APIs while catching user input events in React
I am developing a React application as a beginner, when the user types in the search box, I need to send a request (API call) to get suggested results. However, if I call the API immediately every ...
0
votes
0
answers
9
views
issues on mobile with overflow:hidden and splide slider
I'm using splide on my webflow site to create a services slider. on desktop it works great and in the mobile preview on desktop, it also works. the problem starts when i try and view it on my phone, ...