Newest Questions
24,189,472 questions
0
votes
0
answers
6
views
Get a list of relationships from Neo4J repository using Spring
I started learning the development of REST API using Spring and Neo4J. I am unable to understand how Repositories work, even I looked to the documentation.
I have Airport node and LINE relationship. ...
0
votes
0
answers
12
views
JKQTMathText drawIntoPixmap problem when devicePixelRatio!=1
I would like to render LaTeX expressions in Qt, and I'm using JKQTMathText to do this. Here is my code:
void MainWindow::draw_latex(QLabel* dest) {
const qreal dpr = dest->devicePixelRatioF(); ...
1
vote
1
answer
26
views
/kernel mode in MSVC cl.exe allows new despite specifying user must explicitly define the operator
According to documentation, under /kernel mode:
You must explicitly define the new() or delete() operator. The
compiler and runtime don't supply a default definition.
Yet, the following code ...
0
votes
0
answers
11
views
Azure WebApp restart without killing properly the previous instance
I've a Spring Boot App deployed to an Azure App Service. Sometimes, the application is killed and relaunched, I don't known why. The main issue is not the application is restarted (it's an issue), but ...
-1
votes
0
answers
12
views
Error loading shared library libxml2.so.16: No such file or directory (needed by /usr/bin/php)
Thanks for confirming with ldd. The output makes it crystal clear:
Your PHP binary is linked against libxml2.so.16, but your system only has libxml2.so.2.12.5.
Because of that mismatch, every XML-...
0
votes
0
answers
17
views
Unable to generate slug with spatie laravel-sluggable
I'm not able to generate slug when seeding database. I'm making e-commerce website course, learning Laravel as a beginner.
But no error about slug is provided. What should I do? (Slug is not inserted ...
0
votes
0
answers
18
views
Odoo v.19 not loading CSS file from assets
I read that from Odoo v.17 onwards, CSS files should be listed under the assets section of the manifest file, like so:
'assets': {
'web.assets_backend': [
'mydashboard/static/...
-1
votes
0
answers
13
views
Work with npm local packages in NextJS project
I need to work with a local package with my next.JS project. To avoid publishing on npm every time :
- On the next.js project: npm i ../test-sample-api. I can now see on my package.json the line : &...
-4
votes
0
answers
16
views
Google Firebase Realtime Database wrong flagged. Data missing [closed]
Hi Google for Developers Google Firebase Team,
I urgently need support for Firebase Case id 10386349.
It’s now 10 days and still no one from Firebase or Google Cloud has contacted me.
My ...
-1
votes
0
answers
37
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? [closed]
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
16
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
28
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
24
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
1
answer
41
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
21
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
10
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 "...
-1
votes
0
answers
50
views
C++ Vector and type of Class [closed]
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
17
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
18
views
OpenApi 3.1 and AddOpenApi in ASP.NET Core 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
18
views
CKQueryOperation parse Array from public database
at first the operation:
operation.recordMatchedBlock = {recordID, result in
switch result{
case .success(let record):
print("RecordID: \(recordID)...
0
votes
0
answers
20
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
27
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
18
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
11
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
25
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
24
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
28
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
36
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
21
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
16
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 ...
-1
votes
0
answers
49
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
12
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 ...
-6
votes
0
answers
45
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 "...
-3
votes
0
answers
20
views
cannot convert from '__XamlGeneratedCode__.__Type0E459CAF0A856A27' to 'Microsoft.Maui.Controls.Element' [closed]
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
27
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 ...
-5
votes
0
answers
42
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 ...
1
vote
0
answers
20
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' => [
[
'...
-2
votes
1
answer
21
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
43
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, ...
-4
votes
1
answer
39
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
20
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
21
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
1
replies
24
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
16
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
52
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 ...