Newest Questions
24,189,329 questions
0
votes
0
answers
2
views
Matplotlib's ax.fill_between() function not working for 3D plots
I'm doing some data visualisation for an experiment on near/far field diffraction.
My goal is to essentially put several 2d plots in front of one another, pretty much identical to how this example in ...
Advice
0
votes
0
replies
6
views
How to use csrf-csrf with Express and cookie based sessions in Node.js
I’m building a Node.js web app using Express, Nunjucks as the templating engine and cookie-session library for storing user sessions in cookies. I’d like to use the csrf-csrf library to add CSRF ...
0
votes
0
answers
4
views
How to correctly establish connection with active directory via LDAP in Golang
I have been trying to write a daemon in go to run on linux that would periodically do certain actions, and once some conditions are met, it would connect to AD, and write a value to a given record.
...
-1
votes
0
answers
12
views
WinMerge/Meld/KDiff3 is it possible to mark differences between files as "known" so they get displayed in a specific color different from new changes
I would like to know if it is possible in any of the mentioned programs to mark a difference between two files in a specific directory as "known", so they get displayed in a specific colour ...
-1
votes
0
answers
6
views
Can't write to directory if moved to NFS outside a contaier
I'm running a rootless podman container where I mount an nfs volume.
I can write to NFS just fine
Inside the container, I can also move a directory that's not in NFS into NFS, and it also works fine
...
-1
votes
0
answers
6
views
trapping the button on a bluetooth headset (phone/call/answer/digital assistant, whatever you call it)
Disclaimer: new to android programming, but old timer in java.
While the android phone is locked and screen is off, I want to run some code upon the headset button click (that would otherwise start ...
0
votes
0
answers
8
views
Azure Synapse Pipelines Error: Unauthorized. The principal does not have the required Synapse RBAC permission to perform this action
When attempting to test a Link Service connection in azure synapse pipelines I get the error:
The principal 'ec71fbd8-cbf3-443f-8f8b-15450d8b8f00' does not have the
required Synapse RBAC permission ...
-1
votes
1
answer
11
views
Set the text value of the <input/> selected
I want that the text value in a HTML <input/> tag to start selected.
<input value="input text"/>
Is it possible to be done without JavaScript? As if the user had double clicked on the text ...
1
vote
0
answers
7
views
Persistent NullReferenceException on List Add (.Items.Add) after PlayFab Login
I am transitioning a local-storage .NET MAUI Quest tracker into a gamified application using a Server-Authoritative PlayFab backend. The app successfully launches, but it crashes with a System....
0
votes
1
answer
7
views
How to turn off SSL from the Windows client library mariadb connector-c 3.4.8 win64
After installing the SDK mariadb-connector-c-3.4.8-win64.msi, when I try to connect to a server using MariaDB mysql_real_connect(), mysql_error() gives me "TLS/SSL error: SSL is required, but the ...
-3
votes
0
answers
11
views
Web Scraping, Pandas Processing and Visualisation [closed]
Web Scraping, Pandas Processing and Visualisation
In this exercise, you will practice web scraping, data cleaning, and basic data querying using BeautifulSoup and pandas, and visualisation using ...
0
votes
0
answers
12
views
Image deleting other image
When I try to load two images the second image is deleting the first, any way to stop that from happening?
also when I am trying to load an image it makes me type out the whole file path, that wont ...
0
votes
1
answer
12
views
What algorithm does Visual Basic 6 use to generate its pseudorandom numbers?
I have legacy code written in Visual Basic 6. It uses Rnd and Randomize to produce an output given an initial random seed. These are the rtcRandomNext and rtcRandomize functions in the MSVBM60.DLL, ...
0
votes
0
answers
7
views
Produce message from local machine to Kafka (KRaft mode) in local k8s cluster
I have a Tiltfile that is spinning up
Kafka Broker (/docker/confluentinc/confluent-local:7.5.0) # default runs in KRaft mode
Kafka Schema Registry (/docker/confluentinc/cp-schema-registry:7.5.2)
...
0
votes
0
answers
10
views
SQLAlchemy update metadata.tables with schema
I must be misunderstanding the usage of Metadata in SQLAlchemy... I'm trying to define a data model in one repository and then instantiate that model in a different repository using Alembic. The ...
-1
votes
0
answers
7
views
Umbraco website published blog not appearing on the website [closed]
The blogs that I used to publish on umbraco's website were posing no issues but suddenly, every blog that I publish isn't appearing on the website. It's a drag and drop cms so I haven't done any ...
0
votes
0
answers
19
views
Open Dialog changes styles of Progress bar when open in Safari
When a <dialog> element opens in safari the custom styles for <progress> element are changed. Here is an example - in Chrome the progress bar styles are unchanged but in safari they are ...
-2
votes
0
answers
14
views
How to securely implement dynamic QR Code redirection with expiration in Node.js and MongoDB?
How to securely implement dynamic QR Code redirection with expiration in Node.js and MongoDB?
I’m building a SaaS similar to dynamic QR Code platforms (e.g. Code2Scan), where users create a short URL ...
-1
votes
0
answers
15
views
Why doesn’t a deleted child component receive notifyNestedSubs() in React-Redux v9 with useSyncExternalStore (synchronous dispatch)?
I’m debugging a subscription-ordering issue in React-Redux v9 (React 18, modern useSyncExternalStore-based subscriptions). I have a parent component that conditionally renders a child based on Redux ...
0
votes
0
answers
11
views
How to achieve dynamic partition pruning in BigQuery TVF using a subquery lookup?
I have a Table Valued Function (TVF) that takes an array of IDs as input.
source_table: A very large table (TBs) partitioned by day on capturedTimestamp.
selection_table: A small lookup table that ...
-2
votes
1
answer
57
views
Looping over a set of arbitrary indices into a list
I've got a 2 dimensional array, for sake of simplicity we'll call it a[x], which we'll say has 30 variables in it. ( a[0] through a[29]). From this array, I want to take some of these, and do some ...
-1
votes
0
answers
17
views
How to implement stack-based backtracking for maze navigation with limited size (Python example needed)
I am working on a university assignment where I must simulate maze navigation using a stack.
The rules are:
push(direction) when moving forward
pop() when reaching a dead-end
peek() for current ...
-1
votes
0
answers
13
views
Azure AI Foundry – LLM Translator: Bearer Token Authentication Fails, Subscription Key Works
Problem Description
I am using Azure AI Foundry and the Translator LLM endpoint (api-version=2025-10-01-preview) with deploymentModel. When I use a Subscription Key, the request works as expected.
...
0
votes
0
answers
16
views
From which package do I import @WebMvcTest in Spring Boot 4.x?
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.webmvc.test.autoconfigure....
0
votes
0
answers
25
views
Shortcut/Simplification of generic pattern 'X extends Y = Y'?
I find myself having to write X extends Y = Y a lot when creating types in TypeScript, for example:
type T<V extends X = X> = ...
When my types get very long (working on a personalized, type-...
0
votes
0
answers
7
views
How to provide a custom keystore with a default truststore in my RestClientSsl
I would like to use the default TrustManager and a custom KeyManager.
I tried the code below, but that does not seem to work.
RestClient.builder()
.uriBuilderFactory(DefaultUriBuilderFactory(url))
...
Best practices
0
votes
1
replies
13
views
Resign commits without losing dates
I don't have access to the GPG key right now. How can I make commits and then sign them on another computer? I know about git rebase, but it's important to me that the dates in the GitHub repository ...
Best practices
0
votes
1
replies
15
views
Encoding character data in a constant array of bytes
Defining a string and converting it to bytes at runtime is one thing, but I would want to have a constant array of bytes defined at design time and then pupulate it with a mix of bytes and strings.
...
-3
votes
0
answers
14
views
Unmasked account scope in Banno Garden [closed]
I'm working on a Banno plugin and I would like to enable the following scopes for my client in the Garden environment:
Client ID: 5fba22c7-ac24-43bf-9a6a-2c5f4b5966d9
scope: https://api.banno.com/...
-2
votes
0
answers
11
views
My Azure Team Bot is not able to join schedule meetings [closed]
I have created one bot for the ms team using microsoft azure. My bot is working fine with the unscheduled meetings and we are able to add bot as a participant on unscheduled meetings. But bot is not ...
1
vote
0
answers
41
views
Python 3.14t free-thread compatibility with Polars
I started using Python3.14t (free-threaded build) recently and had some blast. However, when I install Polars
python3.14t -m pip install polars
The process stuck at the last line of the following
...
0
votes
0
answers
21
views
Image layers in tkinter
When I have two images loaded in tkinter one completely blocked off the other image. Is there a way to make image layers similar to something like photoshop. I do not really know what to try.
import ...
0
votes
0
answers
9
views
iOS Live Activities + multi-phase timers (Pomodoro / boxing rounds) without push notifications – is proper sync even possible?
iOS Live Activities + multi-phase timers (Pomodoro / boxing rounds) without push notifications – is proper sync even possible?
Hey everyone 👋
I’m building a Pomodoro timer and a boxing/round timer in ...
0
votes
0
answers
10
views
Performance Issue with CONNECT BY for Finding Connected Components (Oracle 10g)
I'm facing a significant performance issue when trying to identify connected groups of PERSON_CODEs using a recursive query in an Oracle 10g database.
Data Structure
I have two main tables:
PERSON: ...
Advice
0
votes
1
replies
15
views
Gradle does not add the correct main-class entry in the manifest.mf file
I have tried for days now to get the Gradle build to produce a Spring Boot jar file that will run. Everything builds ok except for one thing. Gradle does not put the correct main-class entry in the ...
0
votes
0
answers
13
views
SwiftUI (sheets) - presentationDetents behaves incorrectly on iOS 16–18 but works correctly on iOS 26
I'm using a custom modifier called AutoSheetDetentModifier to automatically size a sheet based on its content (which includes a scrollview).
On iOS 26, it works as expected: the content height is ...
-1
votes
0
answers
5
views
custom OneTimeToken class causes IllegalStateException: No primary or single unique constructor found for interface
I am trying to implement a concrete class from the interface org.springframework.security.authentication.ott.OneTimeToken. Nothing fancy, just a JPA Entity:
@Entity
@Component
public class ...
0
votes
0
answers
10
views
configuration ingress traefik regex [closed]
I installaed traefik, next to ingress-nginx to test it for possible migration, with helm on azure aks. I give it following values:
podLabels:
app: traefik
service:
enabled: true
type: ...
-1
votes
0
answers
5
views
Intermittent “Could not reach driver of cluster” errors on DBR 16.4 LTS despite large driver size and normal driver metrics
We recently upgraded our Azure Databricks cluster from DBR 12.2 LTS to DBR 16.4 LTS, and since then we have been seeing intermittent job failures with the error:
Run failed with error message
Failed ...
0
votes
0
answers
11
views
Alembic autogenerate creates tables in wrong order with multi-tenant PostgreSQL schema
I have a FastAPI application with SQLAlchemy + Alembic managing a multi-tenant PostgreSQL database. My models use schema='per_tenant', and I translate this to actual tenant schemas (tenant_1, tenant_2,...
-1
votes
0
answers
31
views
CSS position: sticky not working inside a flexbox container [duplicate]
I'm trying to make a header sticky while scrolling:
.header {
position: sticky;
top: 0;
background: #fff;
}
.container {
display: flex;
}
But the element doesn't stick. I read that sticky ...
0
votes
0
answers
13
views
YouTube Reporting API Basic Metric not working
We had the following YouTube reporting API to extract the basic metric channel_basic_a2 report
curl --location 'https://youtubereporting.googleapis.com/v1/jobs/<reportId>/reports?createdAfter=...
Advice
0
votes
2
replies
23
views
How to handle heteroskedasticity when detecting anomalies using Z-scores on growth rates?
I’m trying to detect anomalies in a dataset using Z-scores based on the logged index change of a value between two time periods: VAL_t0 and VAL_t1.
The issue:
The variance of Z-scores decreases as ...
0
votes
0
answers
14
views
Python paho-mqtt client disconnects periodically
My application is structured as follows:
Communication between display and server is done through a websocket MQTT broker (localhost). The broker is aMQTT https://github.com/Yakifo/amqtt (Python ...
Advice
1
vote
8
replies
33
views
How can I combine two or more arrays into a unique set without changing the data type in Powershell?
Say I have a combination of the following:
# This is a [string[]] type
$A = [string[]]@("Aasdf","Casdf","Basdfs")
# This is a [string] type
$B = "Dasdfs"
# This ...
-2
votes
0
answers
15
views
Pagefile does not let Windows partition to shrink [closed]
What I'm trying - I'm trying to flash Windows from within Windows. For this, I am trying to create a WinPE and other partitions from within OS to boot into it.
I try to shrink the largest partition to ...
Advice
1
vote
0
replies
8
views
How do Groovy (Jenkins pipeline) singletons work?
Say I have the following classes.
@Singleton
class EnvMgr {
private String environment = null
String getEnvironment() {
return environment
}
def setEnvironment(final String ...
5
votes
2
answers
64
views
Why does clang zero "eax" before calling a function with unspecified parameters, but gcc doesn't?
Consider this C (not C++!) code:
int g();
int f() {
return g();
}
Clang (with any optimization level above zero) compiles this to:
f:
xor eax, eax
jmp g@PLT
I am trying ...
0
votes
1
answer
19
views
GIT command is not returning any value in makefile
I have a simple makefile that should print the Git log, which looks as below.
SHELL=/bin/bash
get_log:
echo $(git log)
-1
votes
0
answers
26
views
Error message "origin 'https://1111111111.cloudfront.net' has been blocked by CORS policy: Request header field access-control-allow-origin"
I'm trying to deploy compiled React project into AWS CloudFront using an S3 bucket. But I get CORS issues in this code:
const handleSubmit = async (e) => {
e.preventDefault();
setIsSubmitting(...