Unanswered Questions
3,023,976 questions with no answers
-1
votes
0
answers
13
views
Unexpected regex behavior
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 &...
0
votes
0
answers
29
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
19
views
Adding stack information to jit'd code for sanitization
Disclaimer: I'm expecting that the answer to this question will be that it can't be done, but I'm asking as a just in case.
I am working on a JIT'd language with the compiler and runtime implemented ...
-1
votes
0
answers
45
views
How to make "npm audit fix" fix vulnerabilities if it does nothing even there is "fix available via `npm audit fix`" message?
Executing the npm audit. It will be enough to show just last three issues - all of them has "fix available via `npm audit fix" message:
All dependencies mentioned above are transitive ones, ...
0
votes
0
answers
22
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
0
answers
25
views
How to Handle Multiple Implementations of the Same REST Interface in Quarkus?
I'm migrating a JBoss EAP application to Quarkus. My application has multiple implementations of the same REST service interface for failover/fallback scenarios:
ManagerClientImpl - Primary HTTP ...
-1
votes
0
answers
14
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
14
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 ...
0
votes
0
answers
11
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
0
answers
42
views
Can an exported function template invoke a module-local function using ADL?
Let's say that we have a simple main.cpp file which contains only a single call of a function bar which is defined in the module a:
import a;
int main() {
bar(1);
}
Then let's take a look at the ...
-2
votes
0
answers
16
views
How to efficiently validate and sanitize large CSV datasets in React without blocking UI?
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
votes
0
answers
9
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?
Advice
0
votes
0
replies
20
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, ...
Best practices
0
votes
0
replies
16
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
22
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
17
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
11
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
11
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<-c(...
Advice
0
votes
0
replies
11
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
10
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
0
answers
28
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
13
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 ...
0
votes
0
answers
30
views
how to read_html https://finngen.gitbook.io/documentation in r
I use
read_html("https://finngen.gitbook.io/documentation")
with error
Error in open.connection(x, "rb") : cannot open the connection
however i can oepn https://finngen.gitbook....
-1
votes
0
answers
16
views
JavaFX Desktop Application. Executable for windows
Guys, I really need some guidance. I’ve written a lot of code and classes in IntelliJ IDEA for my JavaFX application, but I’m running into serious difficulties when trying to turn it into an ...
0
votes
0
answers
16
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
14
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
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'...
0
votes
0
answers
14
views
CSS Flexbox Issue
I have a container with multiple items displayed using CSS Flexbox, with flex-wrap: wrap and justify-content: center so that the items are visually centered and wrap responsively. Each item has a ...
0
votes
0
answers
11
views
How can we retrieve the flows associated with a specific list from the current site?
We have developed a SharePoint Framework (SPFx) application for customizations and are using @pnp/sp to perform GET/POST operations on SharePoint lists.
Our system sends email notifications through ...
0
votes
0
answers
33
views
TdLib SearchMessages misses the latest message
Why the SearchMessages method in TdLib returns one less message than expected. I sent Q1, Q2, Q3. FoundMessages.totalCount = 3, message[Q2, Q1]. If I send a message Q4 FoundMessages.totalCount = 4, ...
0
votes
0
answers
19
views
Is it possible to modify existed .task file?
I'm studying & trying to use mediapipe
I want to modify the Android project face-landmarker
I want to modify the graphs & parameters of landmarker by modifying the .task file. By this way:
...
Advice
1
vote
0
replies
34
views
How do I make an authenticated request from my Next.js API on Supabase with RLS enabled?
In my case, I only want authenticated users to perform a SELECT query on my database, so I set up my RLS Policy for this scenario. This is where I am hitting an issue. With RLS enabled, I need to let ...
0
votes
0
answers
22
views
How to manage DTO proliferation for different API operations
I'm having trouble managing DTOs.
I'm working as follows: I have a reusable DTO called PhoneResponseDTO that is used in both findAll and findByID. Then I created a DTO for each operation like Created, ...
1
vote
0
answers
38
views
Why are rows returned as stale when fetching TimeSeries data with multiple sequential queries on the same RowSet?
I’m using GridDB Cloud with the Python client (griddb_python) and found a reproducible issue where executing multiple sequential queries on a TimeSeries container causes the second query to return ...
-1
votes
0
answers
33
views
Restarting backend container became unreachable for traefik(504 Gateway timeout)
I’m having a problem and I can’t find a solution.
I have deployed a Django backend and a React frontend using Docker.
I’m using Traefik as a reverse proxy for the web server. When I start Traefik, the ...
Advice
0
votes
0
replies
15
views
Deploying embedded Javascript to a remote server
I am an experienced programmer, but am new to Web Development. I have become familiar with several technologies, including embedded Javascript, which I would like to use for my employer's project. ...
0
votes
0
answers
43
views
tbl_regression not showing p-values when compiler is running on R Markdown
I am trying to run tbl_regression() on lme4 models. In R Markdown, the p-values can be seen in the output there. However, when I try to compile to a pdf or html, the p-values disappear, while the ...
0
votes
0
answers
28
views
How to correctly call an iOS completionHandler block from Delphi without crashing?
I’m trying to implement this iOS delegate method in Delphi:
- (void)URLSession:(NSURLSession *)session
task:(NSURLSessionTask *)task willBeginDelayedRequest:(NSURLRequest *)request ...
1
vote
0
answers
12
views
How to diagnose differences between versions of .so file to understand different linker behaviour?
I have a pre-built image of a shared library, and that library implements main() with something like:
int main(...) {
bootstrap(...);
return 0;
}
bootstrap(...) {
/*...*/
sc_main(...);...
0
votes
0
answers
35
views
What's the memory order about pcie write?
What's the memory order in this situation:
ARM CPU connected to a PCIe NIC(Network Interface Card)
The NIC write data and descriptor to ARM CPU memory, data and descriptor are normal memory.
ARM CPU ...
15
votes
0
answers
4k
views
View number of added/deleted lines from VSCode GUI
I am aware that git diff --stat can be used to view the number of added and deleted lines between a commit and an unstaged change, like so:
src/core.cpp | 31 +++++++++++++++++++++++++------
1 file ...
-2
votes
0
answers
21
views
How Calculate PostHoc Power and Effect Size for all Numeric Columns in Python
I generated a random dataset that has 1 categorical column and 30 numeric columns. The categorical variable has 3 classes X, Y and Z. See data generation code below
I need help with Steps 2,3 and 4:
...
0
votes
0
answers
23
views
Api Rest in CakePHP: How to return id fields (Bigint) as string and not as INT/BIGINT?
I created a REST API in CakePHP 4.5, and all the ID fields are of type Bigint. Is there a way to force CakePHP to convert these fields to strings before returning the JSON?
There are many fields, and ...
Best practices
0
votes
0
replies
28
views
How to attribute Google Ads → APK download → sideloaded Android app install → sign-up (no Play Store)?
I have an Android app that users install by downloading an APK directly from my website (not on Google Play). I need to track the funnel:
Google Ads click → landing page → APK download → install → ...
0
votes
0
answers
26
views
JNA CoCreateInstance returns S_OK but ShellLink/IShellLinkW fails, COM pointer is non-null but object unusable
I'm making a Java app that scans the Windows Recent Files folder and resolves .lnk shorcuts to their actual file paths. I'm doing so using JNA the JNA API and simulating IShellLinkW and IPersistFile.
...
0
votes
0
answers
22
views
Why does the titlebar crossfade transition work one way and not the other using libadwaita?
In the first code example, there is a crossfade animation that happens between changes.
import sys
import gi
# Require specifically GTK 4.0 and Adwaita 1
gi.require_version('Gtk', '4.0')
gi....
Advice
0
votes
0
replies
34
views
Speech to AI generated image
i have a project for a museum where i need to develop a generative AI program to interpret visitors' words and transform their stories into stylized digital drawings.
The visitor push on a buton then ...
1
vote
0
answers
22
views
How to select Analyzer for GraphDB Lucene Connector
In GraphDB 10.6 I need to search across English and French words ignoring accents. I am looking for ASCII folding.
I have tried this SPARQL to generate the Lucene connector, but I get 500: Error - ...
-4
votes
0
answers
62
views
Vite React project gives 404 error on http://localhost:5173/
Vite server was working fine in my development environment until I turned it off in terminal with Ctrl+C and added react-router-dom to my project. Upon restarting the dev server using vite dev, I am ...
2
votes
0
answers
168
views
My bitmap image is cropped after decodeUri
I'm using this method:
public Bitmap decodeUri(Uri selectedImage) throws FileNotFoundException {
BitmapFactory.Options o = new BitmapFactory.Options();
o.inJustDecodeBounds = true;
...