Newest Questions
24,189,465 questions
0
votes
0
answers
3
views
Why do I still get "'override' keyword is a C++11 extension [-Wc++11-extensions]" warnings even though my CMakeLists.txt sets CMAKE_CXX_STANDARD 20?
I’m working on a C++ project in CLion (macOS, Clang compiler).
My CMakeLists.txt explicitly sets the C++ standard to 20:
cmake_minimum_required(VERSION 3.16)
project(CourseWork)
set(...
0
votes
0
answers
10
views
Javascript notificationclick is not called on Flutter web app debug build
I want to open a new page on notification click in my Flutter web app. Here is my service worker:
console.log("SW: test.js loaded");
self.addEventListener("push", event => {
console.log("SW: ...
0
votes
0
answers
18
views
How to reverse-engineer an undocumented proprietary Raman spectroscopy binary file format (.jws)?
I’m working with several Raman spectroscopy data files that use a proprietary binary format with the extension .jws. The original software that could read these files is no longer available, and there ...
0
votes
0
answers
13
views
Calling endpoint for fromControl from FormArray and got 500, 400 or 404 errors randomly
I have a formArray that holds a formGroup. For one formControl I need to call an endpoint and populate it with the data.
In my component:
ngOnInit() {
this.service.getInitialData().pipe(take(1))....
0
votes
0
answers
21
views
Browsers don't recognize javascript function
I am migrate a home site from Windows to Linux Debian and Nginx.The HTML code was working under Windows.
Here the part of the HTML code, where I try to call a Javescript function, which is included in ...
0
votes
0
answers
12
views
Problem with cron setting in Laravel 12 that is not working
I have a Laravel 12.39 project on a shared hosting with cPanel access, and in the cron section, I have the following setting to run artisan schedule:run, but it isn't working.
* * * * * /usr/...
0
votes
0
answers
6
views
Deploying Conduktor Console for Apache Kafka with Docker Compose FATAL: role "root" does not exist
There is a very similar question to this, however it is out of date. (The documentation and default docker-compose.yml have changed recently.)
postgres with docker compose gives FATAL: role "...
0
votes
0
answers
32
views
C++ Vector and type of Class
Hello all @ stack overflow
i have a question
vector<SSDS> abc(10);
abc[0].insert_in(1,"Sandisk","1","2","3");
abc[1].insert_in(2,"Western&...
0
votes
0
answers
12
views
Best architecture for LLM-based web automation with changing workflows: Hybrid selector + vision AI approach challenges
I want to automate a website whose flow keeps changing, structured script does not work, selectors dont change but their flow change, I tried making something hybrid where I use gemini api, playwright ...
0
votes
0
answers
12
views
OpenApi 3.1 and AddOpenApi in AspNetCore application Int32 vs. String
Well, I'm somewhat stuck here and I don't know which side is doing things it's not supposed to do. I'll try to outline the issue first.
I have an API call which is defined like this:
[HttpGet("...
0
votes
0
answers
10
views
CKQueryOperation get Array out of public database
at first the operation:
operation.recordMatchedBlock = {recordID, result in
switch result{
case .success(let record):
print("RecordID: \(recordID)...
0
votes
0
answers
15
views
What is the correct way to perform relative navigation in GoRouter?
I’m trying to use relative routing in GoRouter, but I’m running into a confusing issue.
Here is my code:
final GoRouter routerConfig = GoRouter(
initialLocation: '/',
routes: [
GoRoute(path: '...
0
votes
0
answers
24
views
Push Notifications not working in my Vite + React + Spring Boot project (WebSockets, VAPID, AWS SNS, FCM all attempted)
I am trying to implement web push notifications in my project, but none of the approaches I tried are working. I’m not sure whether the issue is on the frontend, backend, service worker, or the push ...
0
votes
0
answers
17
views
How to enable echo in Terminal.readLine (Effect)?
I want to make a minimal interactive console utility using Effect.
Started from an empty Effect app:
npx create-effect-app@latest
... (interactive part)
cd effect-app
npm install
Then I copy-pasted ...
0
votes
0
answers
10
views
MongoTimeoutException in Testcontainers Integration Test : Open Liberty app attempts to connect to Kubernetes FQDNs instead of local alias
Title - MongoTimeoutException in Testcontainers Integration Test : Open Liberty app attempts to connect to Kubernetes FQDNs instead of local alias
I am writing integration tests for an Open Liberty-...
0
votes
0
answers
24
views
Loading images in HTML – Differentiation between no response and error response
I'm building a kind of gallery app. Users are adding images by inserting URLs into the database and the HTML page is then hotlinking those. Obviously, because of link rotting, the gallery is full of ...
0
votes
0
answers
21
views
Filter data by 'Country' feature with different value counts
I have a dataset that has a 'Country' column with number of instances for each country;
these can vary a lot, for example there are around 2000 rows for Japan and only 100 for Thailand.
I am ...
0
votes
0
answers
13
views
Autodesk Viewer - Determine if element is visible by the camera
Is there a way to determine if an object (dbid) is visible by the camera at any point in time?
-1
votes
1
answer
23
views
How to randomly show top 10 records from an xml feed?
Here in my WordPress plugin I am using the following Code to read an xml feed.
$itsw_rss_feed = simplexml_load_file($itsw_feedurls[wp_rand(0,count($itsw_feedurls) - 1)]);
then using a for loop I am ...
0
votes
0
answers
34
views
ASP.NET WebForms: Adding StaticFileModule Rule for XML causes “Duplicate Entry” error and breaks Index.aspx
I'm running into a specific issue with my web.config when trying to serve XML files.
As soon as I add this rule:
<add name="XmlFile" path="*.xml" verb="GET,HEAD"
...
0
votes
0
answers
10
views
RealityKit CollisionFilter: left and right child colliders both firing when only one is touched
I’m working with RealityKit and trying to detect on which side of a connector a sphere has collided.
The setup:
I have a connector (a cylinder).
It has two child entities, each one with its own ...
0
votes
0
answers
18
views
Why can't I use reference parameters on methods within impls, that return an impl trait?
In the following sample, the compiler gives me the error:
`str` does not live long enough
borrowed value does not live long enough
However, if I either return TestStruct directly without impl ...
0
votes
0
answers
11
views
QEMU Webcam Passthrough Issue: Webcam detected but showing nothing
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 ...
0
votes
0
answers
43
views
I made a todo list matrix now how am I supposed to make it pointer based? [closed]
How do you initialize matrix value in c but in pointer?
void addTodo(char *todo)
{
int j = 0;
for (j; j < strlen(todo); j++)
{
matrix[CurrentTodoIndex1][j] = todo[j];// I wanna ...
0
votes
0
answers
11
views
Discord.py logging in multiple times when restarted
I'm working on a project that has a Discord client running in a background thread to listen to incoming messages. I noticed each time the client is stopped & restarted, it logs in 1 extra time, as ...
-5
votes
0
answers
42
views
Unexpected regex behavior [closed]
re.search(
r"(\d{1,4}[^\d:]{1,2}\d{1,4}[^\d:]{1,2}\d{1,4} | \w{3,10}.{,6}\d{4})",
'abc2024-07-08'
)
Why does this regex extract the second pattern, "abc2024", not "...
-1
votes
0
answers
19
views
cannot convert from '__XamlGeneratedCode__.__Type0E459CAF0A856A27' to 'Microsoft.Maui.Controls.Element'
Severity Code Description Project File Line Suppression State
Error (active) CS1503 Argument 1: cannot convert from '_XamlGeneratedCode_.__Type0E459CAF0A856A27' to 'Microsoft.Maui....
0
votes
0
answers
24
views
Android AccessibiltyService : How can I enabling perform action on a sealed instance
I am using AccessibilityService in AndroidStudio for an app which is going to access an another app. In a view there is not available actions of "ACTION_CLICK". Its sealed and I am getting ...
-4
votes
0
answers
37
views
How to efficiently validate and sanitize large CSV datasets without blocking UI? [closed]
I'm building a data quality tool in React/TypeScript that allows users to upload CSV files (10,000+ rows) and validate/clean the data before processing. I need to handle client-side validation without ...
0
votes
0
answers
15
views
How to get the index of the wp-each directive in Interactivity API Wordpress?
I am learning interactivity API and when I tried wp-each directive, I noticed that there is no way to get the index of the array. e.g. If this is my array
$config = [
'fruits' => [
[
'...
-1
votes
1
answer
20
views
How deploy trained model on react native mobile application?
I have a project of leaf classification, I already have trained model so i want to integrate the model to through mobile application using react native does anyone know how to make it possible?
Best practices
0
votes
0
replies
18
views
Creating a PDF of webpage
i have one audit module which i need to implement in which i have to create one pdf of single webpage, pdf should consist 5 pages which devides my webpage (there is seperator lines in ui of that ...
Advice
0
votes
0
replies
42
views
Why is FileReader as efficient as BufferedReader in reading 1KB chunks of data?
I was trying to read data (chars) from a large text file (~250MB) in 1KB chunks and was very surprised that reading that file using either FileReader or BufferedReader takes exactly the same time, ...
-3
votes
1
answer
37
views
How to make flutter calculator [closed]
Title: Flutter Calculator Layout Issue - Buttons Not Displaying Correctly
Description:
I'm building a calculator app in Flutter and facing layout problems with the button grid. The calculator ...
0
votes
0
answers
18
views
What happens when uploading a large file from client browser to my Spring boot server if I delay reading the multipart file from input stream?
Context: I am trying to build a Spring Boot application and have exposed a REST api endpoint to upload files(as large as 1 GB).
Question: Since the data transfer for a multipart file happens in chunks ...
Best practices
0
votes
0
replies
14
views
How to correctly implement a global redirect/navigation guard in Expo Router?
I’m trying to implement a global <Redirector /> component in Expo Router to control the navigation flow of my app.
The logic depends on:
Authentication state
Whether the user completed ...
0
votes
0
answers
15
views
svyCreateTableOne cannot process factors
I tried to produce a table 1 from a code which worked perfectly well a year ago, but doesn't work now.
Here a simple example :
library(tableone)
library(survey)
age<- c(55,66,77,33,44)
gender<...
Advice
0
votes
0
replies
17
views
SPA framework output access without node or any server setup?
New SPA frameworks like React, Angular, Vue etc. Requires running node js server. But is there any way to run "output" (code generated after transpilation step) without running any server, ...
0
votes
0
answers
15
views
Autodesk Viewer - setThemingColor not working without Object Tree loaded
I'm trying to run setThemingColor before the properties are loaded and the object tree is available, since I don't need the recursive option to be true.
However, the coloring doesn't seem to be ...
0
votes
1
answer
47
views
What are examples of non-finite float values other than infinity and NaN?
C23 §5.2.5.3.3 [Characteristics of floating types <float.h>] paragraph 8 says:
Floating types shall be able to represent signed zeros or an unsigned zero and all normalized floating-point ...
0
votes
0
answers
16
views
Azure Durable functions in Running state for durable entities
I'm troubleshooting why async tasks within the durable entity hang forever. My entity looks like this
public MyEntity : IMyEntity {
[JsonIgnore]
private MyService _myService;
[JsonProperty]
public ...
-1
votes
0
answers
45
views
read_html(url) issues cannot open the connection
I do
read_html("https://finngen.gitbook.io/documentation")
which issues
Error in open.connection(x, "rb") : cannot open the connection
However, I can open https://finngen....
-1
votes
1
answer
38
views
How to systematically untrack build files from a git repository?
Branch x in my git repository contains the undesired build files. It happened because I do not separate build directory from the source code and I git add-ed the build files. The main branch is in a ...
0
votes
0
answers
28
views
Focus border on grid cell with overflow: hidden
I'm trying to draw a focus border on a grid cell.
First, I tried outline with offset. Almost perfect, but left and top borders aren't covered.
Then I tried with box shadows (also with inset). Here I ...
0
votes
1
answer
43
views
How Can I use i20 Sidebar Widgets WordPress plugin multiple times in my Blog pages?
i installed this wp plugin in my Blog. I want to use this Shortcode plugin multiple times in Category and tag pages but the Shortcode is working Same for all pages. How can I change width and height ...
0
votes
0
answers
22
views
Noiseless Gausian Proces regression not crossing the training points
I'm trying to perform a Gaussian Process Regression on the following series of data points (X and Y):
X Y
0.00001 -6.8200000000000003
0.00014 -6.8073846153846160
0.00042 -6.6818333333333326
...
0
votes
0
answers
17
views
Animating Svg path in the desktop compose app flickers without actually rendering anything. Why?
I am trying to create a path animation of Svg in the desktop compose app.
fun SvgDocument.drawCompletedFills(buildPaths: List<BuildPath>, drawScope: DrawScope, canvas: Canvas, targetLength: ...
0
votes
0
answers
35
views
Transparent, unfocusable and clickable BrowserWindow in Electron
I am creating a button that is clickable but doesn't bring the app to the foreground. To achieve this I implemented the button as a separate BrowserWindow with focusable: false and its parent set to ...
Advice
0
votes
0
replies
25
views
How can I integrate the Computer Use API to enable AI-powered navigation and actions within my own application?
I'm building a voice-assisted navigation feature for my app that would allow users to:
Navigate between screens/pages using voice commands
Have an AI agent take actions on the current page (clicking ...
0
votes
0
answers
22
views
Macro for auto-mining 24x24 area in Minecraft 1.8
I need an advice which programming language is suitable in this situation. I need a macro/script that will dig a 24-block-long, 24-block-wide, and 24-block-deep mine. The blocks break instantly, and I'...