Newest Questions
24,189,472 questions
0
votes
1
answer
45
views
sample() returning vector of size-1 [duplicate]
In R version 5.4.1, when I set the size parameter of sample() in the form 1000*(1-i), I sometimes get a output that is 1 value too short; this only seems to happen at values of i above 0.7, but the ...
0
votes
1
answer
31
views
Latest version of Compose Maps dependency throws "IllegalArgumentException: source must not be null"
When using com.google.maps.android:maps-compose in version 6.12.2 I get the following error building the project:
org.jetbrains.kotlin.util.FileAnalysisException: While analysing <redacted>/...
0
votes
0
answers
24
views
How to build an executable bundle.js for Node.js?
I want to bundle multiple TypeScript files and generate a file that bundles everything to be used through node build/bundle.js and that can be copy-pasted to CodinGame. Everything works (transpilation,...
Advice
0
votes
4
replies
58
views
access module variables from outside of the module
I'm currently writing a helper module and despite my efforts, some private variable have to be accessed read/write from outside the module.
my first attempt was using Export-ModuleMember -Variable but ...
0
votes
1
answer
19
views
Jackson Mapping with Map<String, List<Object>>
I implemented a rest controller in my SpringBoot backend, which receives a json and maps it to an dto object via SpringBoots default Jackson configuration:
So we got:
The Rescontroller signed like ...
0
votes
0
answers
59
views
Running a tool with uvx from a private repo using an access token
I want to frequently test a Python application I'm developing with uv, which I publish to a private repository on a GitLab instance. I've generated an access token with read access to the repo and I ...
1
vote
1
answer
48
views
Using macros with dynamic name using dot operator does not work
While upgrading twig v1.30 to v3.22.0 i encountered some problem using macros from an external file and calling them by using a variable value as dynamic name.
Given the twig file with the macros:
{# ...
-2
votes
0
answers
35
views
What is the recommended way to extend Python modules with custom functionality without modifying source code? [closed]
I maintain a large scientific Python application that uses several third-party modules like PyQtGraph (for plotting) and PyMeasure (for instrument control). I frequently need to add small custom ...
0
votes
0
answers
24
views
How to replace a Twine upload with uv publish?
We have an internal tool that was distributed simply by users cloning the git repository. The purpose of the tool is to configure newly created virtual machines for later testing our "real" ...
0
votes
0
answers
13
views
Reverting to previous Wagtail PageRevision fails because of hidden ValidationErrors of attached Inline models
I can't revert to previous PageRevisions of TestPage because of hidden ValidationErrors for attached inline TestChild instances. Instead of a useful error message, I get a generic message:
The page ...
0
votes
0
answers
14
views
OptimisticLockingException when using multiInstanceLoopCharacteristics for parallel execution of subprocess
i have the following process definition i trie to execude on Camunda 7.24 / CibSeven 2.1 which currently logs during execution many OptimisticLockingException. i could already trace it down that it ...
0
votes
1
answer
32
views
Using v-model for nested form?
It's very well possible this isn't meant to work, but I'm trying to learn Vue and fail to make a nested form. The usecase is that I want my user to order various amounts of different types of tickets;
...
-3
votes
0
answers
29
views
WHy alert ('A') not firing? [duplicate]
I have this js file
(function ($) {
app.modals.ClassificationTreeModal = function () {
var selectedId = [];
var _stocktakingSessionsService = abp.services.app.stocktakingSessions;
...
0
votes
0
answers
12
views
CCIP-JS getTransferStatus Fails With “Internal error” on eth_call to Router Contract (Viem + Cloudflare RPC)
I am trying to fetch CCIP message transfer status using ccip-js,
I load CCIP messageIds from a CSV, then call:
await ccipClient.getTransferStatus({
messageId,
client: publicClient,
...
0
votes
0
answers
28
views
How can I classify sitemap URLs (WooCommerce / OpenCart / custom ) [closed]
I'm working on a crawler in Python that takes an e-commerce sitemap and
classifies each URL into a page type, for example:
home
product
product_category
product_tag
brand
post
static_page
...
1
vote
0
answers
45
views
Detecting human presence in a WhatsApp chat to pause a chatbot (Python)
I'm developing a WhatsApp chatbot in Python and want to implement a human handover feature. The goal is to temporarily pause the bot's automated responses when a human administrator opens the chat to ...
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 ...
Tooling
0
votes
4
replies
55
views
Is there a Database First approach in Java like Entity Framework in C#?
I’m used to working with a Database First approach in C#. I design my database schema (often with MySQL Workbench) and do a forward engineering, then generate my C# models using Entity Framework’s. ...
0
votes
0
answers
19
views
How can I make sphinx latex builder add alt texts to sphinxincludegraphics?
I am tasked creating accessible documentation (PDF UA) from rst.
The idea was to use DocumentMetadata to enable tagging in general with something like a caption or :alt: to achieve this. However I ...
1
vote
0
answers
39
views
Incorrect display of the TabBar when selecting a tab with scroll view inside
I'm trying to implement a tab bar on iOS 26 like the Music or Health apps on iPhone.
On a white background this is not noticeable, but when changing the background color to dark at the start of the ...
-2
votes
0
answers
82
views
How to remove unused JavaScript and CSS files from my website? [closed]
I’m trying to improve my website performance and Google PageSpeed Insights shows that many JavaScript and CSS files are unused or partially unused.
I want to remove or disable these unnecessary files, ...
0
votes
2
answers
56
views
Control levels the marginaleffects library uses when stratifying a numeric variable
I'm trying to use the marginaleffects library in R to get the estimates of a bunch of interaction effects from a bunch of different models. When I pass it an interaction that has a continuous ...
0
votes
0
answers
15
views
How can I defer loading of rows in a table using Angular to reduce lag in large tables?
I have a found multiple scenarios where either 100s of rows of data need to be loaded or 10s of rows need to be loaded but they all have many components inside. Is there a way to dynamically load only ...
0
votes
0
answers
20
views
WiX MSI installer not stopping and removing .NET 8 Windows service
Here is my .wxs file contents:
<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Name="...
0
votes
1
answer
50
views
Why I am getting this error in js file Uncaught TypeError: $(...).on(...).fail is not a function?
(function ($) {
app.modals.ClassificationTreeModal = function () {
var selectedId = [];
var _stocktakingSessionsService = abp.services.app.stocktakingSessions;
var ...
0
votes
0
answers
9
views
Significance analysis of microarrays (SAM) on OMIQ gives q-value of exactly 0
I am analyzing a set of flow cytometry data in the online environment of OMIQ. OMIQ has a feature to analyze the data with the Significance analysis of microarrays (SAM) algorithm. Before running this,...
-1
votes
0
answers
13
views
Set up server launch configurations in vscode
I am trying to move from eclipse to vscode.
I want to set up various Tomcat server configurations so that I can run my web app in different environments.
I have installed Tomcat to c:\servers\tomcat. ...
0
votes
0
answers
8
views
Is there a way to hide rows in an Xbase Browser?
In Xbase++, using the XbpBrowse() class, is there a way to hide specific rows?
Example pseudo code:
IF Data_X_in_Row_Y == Specific_Value
Row_Y:hide()
ENDIF
Advice
1
vote
2
replies
49
views
Dynamic Forms in ADO.NET
I am a newbie in .NET - can someone tell me about dynamic forms? I have done master detail and simple crud - should I go for dynamic form r practice more in master details. I want to know about ...
Advice
1
vote
0
replies
20
views
How to test google push provisioning API in sandbox mode
My mobile app that i am working on for an issuer has been whitelisted for google push provisioning API sandbox and my TSP is MDES, also in sandbox mode.
I have implemented backend and frontend, and ...
0
votes
0
answers
12
views
Apache Pinot queries getting slower over time while consuming large real-time data — how to fix?
I’m using Apache Pinot and ingesting a large amount of real-time data. Everything works initially, but after some time my queries start slowing down significantly.
I’m new to Pinot and not sure what ...
Best practices
0
votes
1
replies
50
views
Filling the `entityIds` property in EF Core
I am currently developing a module for an ASP.NET Core Web API that uses EF Core to talk to MySQL. The problem is I have no idea how to make EF Core fill the entityId property.
Here is the example ...
0
votes
0
answers
17
views
Can't configure Podman to perform unqualified image search in Artifactory Docker repository
I am in the process of setting up a local Docker repository on Artifactory to be used with Podman. My goal is for this Docker repository to be the only one my users have access to. My users will be ...
0
votes
1
answer
61
views
Calculate percent of total per firm and filter firms above 50%
I'm trying to calculate the percentage contribution of each firm to the total amount across all firms.
Database:
google-bigquery
What I need (desired output):
Sum usde_haircut_amt per firm
Compute ...
1
vote
1
answer
80
views
`docker-php-ext-install opcache` works with PHP 8.4 but not PHP 8.5
I can build an image with this Dockerfile that is based on a lightweight Docker image that use Alpine:
FROM php:8.4.15-cli-alpine
RUN docker-php-ext-install opcache
But I can’t build an image after ...
-10
votes
0
answers
51
views
what is error in this code ,code get error when i submit in the leedcode [closed]
You are climbing a staircase. It takes n steps to reach the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
class Solution {
public int ...
0
votes
0
answers
27
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 ...
-3
votes
0
answers
23
views
How to test Future Publisher with unit tests?
This is my simple class I need to test:
class Example: ObservableObject {
@Published var isError = false
var cancellable: AnyCancellable?
private let failure: Bool
// MARK: - ...
0
votes
0
answers
14
views
How can I access the units of impact assessment methods in Brightway25?
I would like to retrieve the unit associated with a given LCIA method in Brightway25. For example, for the method:
('ecoinvent-3.11', 'EF v3.1', 'climate change', 'global warming potential (GWP100)')
...
0
votes
0
answers
17
views
JAXB and native build
I'm using jaxb2-maven-plugin to generate classes from xsd and in my application initialisation phase, I'm doing :
JAXBContext jaxbContext = JAXBContext.newInstance(SomeClass.class);
when building in ...
1
vote
1
answer
34
views
Windows.System.Profile.HardwareIdentification.GetPackageSpecificToken throws exception
I'm trying to get a hardware id with a .net console app (target framewotk is net8.0-windows10.0.17763.0).
The code is rather trivial, just
var token = Windows.System.Profile.HardwareIdentification....
0
votes
0
answers
46
views
OneDrive sharedWithMe returns only one item
A request from a standalone application to the sharedWithMe [1] endpoint returns only one item.
Scopes used for authorization are: files.readwrite.all group.readwrite.all sites.readwrite.all ...
Advice
0
votes
0
replies
15
views
Power BI stacked column chart values change incorrectly when multiple selections are made in the slicer
I have a stacked column chart in Power BI showing hours worked per staff on respective tasks.
Table: Tasks
Fields:
X-axis: Tasks[EmpName]
Values: Tasks[totalhrs] / 7
Legend: Tasks[Taskname]
...
0
votes
0
answers
24
views
Spring Security 3.1.4 requestmatchers with Pathvariable
I have an unclear situation. I'm using a controller with any endpoints. I have a two methods with Get endpoints /short and /{idOrCode}. Pathvariable is a String type. Endpoint with this pathvariable ...
0
votes
2
answers
45
views
Is JavaScript addEventListener to images possible? Unable to click on an image to add to cart
I am still in the process of writing this, but I am now in a slump. This might be a novice question but is there a way to click on the image itself? I was hoping to incorprate it as an e-commerce ...
0
votes
0
answers
26
views
Dart SecurityContext not accepting programmatically generated RSA private key for Android TV Remote Protocol
I'm building a Flutter app that uses Android TV Remote Protocol v2. The app requires client certificates for authentication. When I use a manually created certificate (placed in assets), everything ...
Advice
0
votes
2
replies
45
views
why java stream api is one time use but reactor's publisher not?
why can we subscribe as may as we want from reactor publisher but just one time from java stream api?What reason is there for stream to be one time use?
0
votes
2
answers
38
views
Number equivalents for Apple's StoreKit errors
Where do I find the actual numbers that match Apple's billing StoreKit errors?
For example, I know that if I get a 2, that's paymentcancelled, but I don't know what the other numbers mean. I'm not ...
Advice
0
votes
1
replies
41
views
Django: Separate session expiry times for "normal" website and admin area
It would be nice if there were an easy way to define separate session expiry time for the admin area of a django website. So, admin users could log themselves into the "normal" website (seen ...
-1
votes
0
answers
28
views
Errors launching Spring Boot application with application configuration
I'm working on a Spring Boot application using IntelliJ IDEA. I can run the application locally with a Maven run configuration using the goal spring-boot:run, and it works as expected, I have also ...