Newest Questions
24,189,444 questions
0
votes
0
answers
5
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
11
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....
0
votes
0
answers
16
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
14
views
focus border on grid cell with overflow: hidden
currently I'm trying to draw a focus border on a grid cell. Please look at the example. First, I tried outline with offset. Almost perfect, but left and top borders aren't covered. Then I tried with ...
0
votes
0
answers
24
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
13
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
11
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
21
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
12
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
20
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
13
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
12
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 ...
Advice
0
votes
0
replies
15
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 ...
0
votes
0
answers
10
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
39
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 audtit. 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
24
views
how to only strip types using swc cli or rust library
Playground has an option to strip types only, which removes the types but line and column numbers of everything else remain same.
How can I replicate this behaviour with swc cli or from rust code ...
0
votes
0
answers
17
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
0
votes
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, ...
Tooling
0
votes
2
replies
39
views
Which IDE and tools for gcc C development?
Which IDE and tools are best suited for gcc C development? I currently use vscode and the tried using the ms-vscode.cpptools extension which "supports" gcc C. But extensions like nested ...
-1
votes
0
answers
30
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
14
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
25
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 ...
Best practices
1
vote
1
replies
25
views
Docker - how to launch a container with non-variable name?
I launch a container in docker (using powershell) by running the first command however I have a couple other operations I need to do on start-up like connecting the gotenberg to a network.
The ...
Advice
1
vote
3
replies
58
views
determine cpu after c++ compilation with gcc?
Does anyone know if there is, in c++, any way to determine at runtime the cpu characteristics of the machine that compiled the code? For example, in gcc (which I'm using) the preprocessor variable ...
-5
votes
0
answers
38
views
How should I approach my CSV cleaning project for my OCBC bank statements? [closed]
I am new to programming, and I am trying to start a project on cleaning my CSV file into different formats that I want. How should I go about doing that, and what resources can I use to do it?
-2
votes
0
answers
16
views
Where can I manage my database when running Laravel without XAMPP? [duplicate]
I just realized that Laravel can run without starting XAMPP, which confuses me. I’m used to monitoring my database through phpMyAdmin, but since I don’t run XAMPP when using Laravel, I’m not sure ...
-2
votes
1
answer
29
views
How to run a ML prediction on react-native mobile app
I am currently working on project of image classification. I already saved a "model.pt" and i would like to run a classification prediction on react native mobile app. What is the library I ...
Advice
0
votes
1
replies
24
views
How to have a hover Sound in Dear ImGui
How do I add:
menuSound.loadSound("hover_sound", "Audio/Sound/button_hover_sound1.wav", 0.5f);
sound effect to all button in ImGui, so that when the mouse hover over them it will ...
1
vote
0
answers
11
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
1
answer
49
views
How to remove a css border from a twitter embed?
There is a grey border around all embeded tweets but I want to remove it and add round corners too. But because its in an iframe i have no idea how to remove the border.
<blockquote class="...
-4
votes
0
answers
36
views
Intermittent DNS failures with Jack Henry PayCenter RTP API sandbox (ipa01.eagle.jhapaycenter.com) [closed]
Our team is developing an integration with Jack Henry PayCenter API (sandbox environment) and experiencing intermittent DNS resolution failures. The DNS resolution errors are happening on our local ...
-2
votes
0
answers
20
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:
...
Best practices
0
votes
2
replies
26
views
file format for recording NMEA/GPS/AIS data
I am investigating how to record AIS data in a format for later use - eg retrieval and replay.
Obviously needs time stamps added. The only references I have found to suitable file formats are CSV ...
Best practices
0
votes
0
replies
24
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
25
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
17
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....
0
votes
0
answers
21
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 ...
0
votes
0
answers
21
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 - ...
0
votes
1
answer
24
views
How to set a background image for the WebView on an android app built with React DOM + Capacitor v7?
package com.app_name.app;
import com.getcapacitor.BridgeActivity;
import android.os.Bundle;
import android.graphics.Color;
// import android.webkit.WebView;
public class ...
0
votes
1
answer
19
views
How to lookup multiple values of a key in a map in xslt 3.0
I am new to XSLT and I am trying to simply print one of the values of a key in XSLT3.0. Please help me with this.
My XML:
<AggregatedData>
<wd:Report_Data xmlns:wd="urn:com.workday....
-2
votes
0
answers
21
views
Remove the ?schema=public from database url [closed]
I learn this on github forum, others devs are having the same problem since prisma uptade to 7.0.0 version.
Font: https://github.com/prisma/studio/issues/1363
1
vote
0
answers
33
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
1
answer
66
views
Is it legal to declare a function template of type which has C language linkage?
Function templates are not allowed to have C language linkage:
extern "C" {
template<typename T> // error: template with C linkage
void bad_f() {}
}
This is reasonable, as ...
0
votes
0
answers
13
views
react-native-sound setCategory is not a function
I am updating an old project. I have installed new react-native and new modules. However, I am getting an issue with react-native-sound:
[runtime not ready]: TypeError: _$$_REQUIRE(_dependencyMap[14],...
-1
votes
0
answers
21
views
Order of associated generic types in Rust, which one is better?
trait Sub {}
trait Super {
type SubT: Sub;
}
// Should we write
struct SuperFirst<SUP, SUB> {
// Fields are private
sup: SUP,
sub: SUB,
}
fn build_1<SUP, SUB>(_: SUP) -&...
-1
votes
0
answers
19
views
Dockable panel height issue revit api
I have an issue with setting the height of a Dockable Panel in Revit. I created a panel that should appear at the bottom of Revit with a fixed height (for example, 50 px). However, every time I start ...
-1
votes
0
answers
39
views
Problem adding argument in the function with other default parameters [closed]
I am using PostgreSQL 18.0 and I have written a function with default parameters which inserts movie into the table. However, when I add the argument which must be added, it gives error:
SQL Error [...
1
vote
0
answers
36
views
Required data annotations returning namespace rather than error message value?
I have an ASP.NET Core 8 MVC application, using the bog standard [Required] attribute on a class property. I expected to see the defined error message in my HTML, in the data-val-required attribute on ...