Newest Questions
24,188,378 questions
0
votes
0
answers
3
views
Firestore rule to allow users to pull only chats they are members of?
I have chat documents like the following:
{
members: ['abc','def'] // 2 element list of member UIDs
// some other chat metadata
}
In firestore, I have the following rules on my collection:
...
0
votes
0
answers
4
views
ForkJoinPool and RecursiveTask lead to deadlock when join is called in a different thread than fork
The program below never ends:
void main() {
try (Fibonacci fibonacci = new Fibonacci()) {
IO.println(fibonacci.calculate(9));
}
}
public static class Fibonacci implements ...
0
votes
0
answers
8
views
How to make AS3 recognize a movieclip loaded with content from external SWF?
I know how to load the movieclip with the external swf but after doing so animate throws an error saying the movieclip does not exist??
var loader:Loader = new Loader();
var contentSWF:URLRequest = ...
0
votes
0
answers
6
views
Time spent in channel not showing
After the latest update (September 25, 2025), most users can now see the “Time spent in voice channels” statistic in Discord.
However, it still doesn’t appear for me - the section is completely ...
0
votes
0
answers
12
views
AWS ECS + NLB deployment: LiveKit AI voice agent works locally but voice/websockets fail in production
I’ve built an AI voice agent that connects with a student in real-time. Here’s the setup:
The student asks questions via the frontend.
The agent follows predefined instructions and responds using ...
-1
votes
0
answers
22
views
How to upgrade cluster from Postgres 17 Windows to Postgres 18 Debian
Postgres 17 cluster is in Windows server in Estonian locale. Databases are defined like
CREATE DATABASE mydb
WITH
OWNER = mydb_owner
ENCODING = 'UTF8'
LC_COLLATE = 'et-EE'
LC_CTYPE ...
1
vote
0
answers
16
views
Switching default channels using Core Audio
I wrote a Swift macOS app to control a PCI audio device. The code switches input and output channels by default. As soon as I launch the Audio-Midi Setup utility and switch channels, my code stops ...
-1
votes
0
answers
34
views
How to embed data equality information in Haskell's types?
I need help with some haskell syntax. I have a really long type signature and I need a quick way of making sure that the parts of it which are equal are represented in the signature itself.
Signature:
...
0
votes
0
answers
24
views
Cannot send data to Node Express after converting from CJS to ESM
After having carefully converted my JS code for NodeJS from CJS to ESM (with some unexpected difficulties), I am failing to send a body content to my Node Express web server, running for test purposes ...
0
votes
0
answers
13
views
Using a prop in an import statement in Vue, using Laravel and Inertia?
I'm trying to dynamically load only specific icons from the lucide-vue-next package in my vue page, however it's not wanting to work. I'm using Laravel 12 (Latest), Vue3 (Latest shipped with Laravel), ...
-2
votes
0
answers
19
views
Why is my neural network overfitting even after using dropout and L2 regularization?
I’m working on a binary classification problem using a neural network in TensorFlow/Keras.
The dataset has around 9,500 training samples and 2,500 testing samples.
My model architecture:
model = ...
0
votes
0
answers
20
views
Why does my Go HTTP server freeze when I call another API inside a goroutine?
Why does my Go HTTP server freeze when I call another API inside a goroutine?
func handler(w http.ResponseWriter, r *http.Request) {
go func() {
resp, err := http.Get("https://example....
0
votes
0
answers
11
views
Xlib background pixmap is reversed
I have a bitmap that I'm using for the background of a window in Xlib, but the pattern appears to be reversed (mirrored). The "shadow" should be in the upper-left of each square, but is ...
0
votes
0
answers
16
views
Why does Next.js app render CSS on port 3000, but not port 80?
I am trying to deploy a Next.js app on my local machine as a "dress
rehearsal" for deploying on a server.
My Next.js app renders properly (i.e. the human eye will see shapes and
colors in ...
0
votes
0
answers
15
views
Passing kernel lsm parameter through U-boot
I'm trying to set lsm=landlock,lockdown,yama,integrity,apparmor,bpf on a Archlinux ARM. Options seems to be set in /boot/boot.txt. In its original form, it looks like this
# After modifying, run ./...
0
votes
0
answers
29
views
Possible to Use Source Files Outside the Workspace Root?
I'm trying to use C source files that are located outside my Ceedling project root. My repository has shared code in a common/ folder at the repo root, but my Ceedling project is in boards/CANGateway/....
Advice
0
votes
1
replies
21
views
How to modify a function type with declare module without creating an overload in Typescript?
I have a library "foo" that implements a function "bar" like this
declare const bar = (baz: string) => void
I want to override that type to be something different, like
declare ...
-2
votes
2
answers
48
views
Input in if statements are hard
I have a question ovi, my question is about input() how do I make a input on a if statement block and make it about it for example a heads and tails game.
2
votes
2
answers
39
views
Trouble accessing a single element of an array in Powershell
I am attempting to use a single element of an array, when creating a string message, but it is using both elements, concatenated by a space, whether I use $myArray[0] or $myArray[1]...
# Multiple ...
-1
votes
0
answers
22
views
TypeError: Cannot read properties of null (reading 'getConfig')
how can i resolve this problem and this my jest.config.js
module.exports = {
preset: 'react-native',
"setupFilesAfterEnv": [
"@testing-library/jest-native/extend-expect"
]...
-3
votes
0
answers
27
views
JS Image editor with layers [closed]
I want to create an image editor in HTML where you can upload an image, drag stickers from a selection of images and drop them onto the uploaded image, being able to rotate, resize and remove the ...
Advice
2
votes
2
replies
73
views
Why do people use macros to declare namespaces in c++?
Off the top of my head, I only remember LLVM's standard library do this, but I remember seeing other libraries also do this. I'm not entirely sure what is the advantage here. I feel like namespace std ...
0
votes
0
answers
16
views
Send Observable result to child component as Signal
In my code I am trying to get the result from this observable
// Runs fine
obtenerOfertaPorId(id: number): Observable<Oferta> {
return this.http.get<Oferta>(`${this.apiUrl}${this....
0
votes
0
answers
17
views
How to remove the border or padding from CustomDropdown in Flutter using Dart?
enter image description here
I'm using the animated_custom_dropdown library version 3.1.1.
I've run into this problem:
By default, CustomDropdown comes with a transparent padding or border on the left ...
0
votes
1
answer
22
views
Docker TYPO3 project 404 page not found
I'm running a project with docker and traefik.
I try to access http://myproject.localhost/typo3
Suddenly i get this error: "404 page not found"
I don't know how to fix or to debug this error....
Advice
1
vote
2
replies
33
views
How to model a deep inheritance in F# and allow all items to be added to an inventory
Referring to the attached diagram for an example hierarchy of materials, how can I represent this in F#? Once represented I need to be able to add ANY/ALL of the materials in level 4 (L4) of the ...
0
votes
0
answers
15
views
problem in updating products while preloading them and cant
this is gonna be a long one so if you help me i would really appreciate it.
i have a page where both create and update product is.
my create page works find but i want this page to do update too so ...
0
votes
1
answer
16
views
Is there a way to automate user input with JLine's LineReader?
When handling user input through Scanner(System.in), you can use System.setIn() to automate user input.
Like this:
package edu.ntnu.idi.idat;
import java.io.ByteArrayInputStream;
import java.io....
Best practices
0
votes
2
replies
37
views
C memory initialization for a char** after a malloc
I've been researching this for a day and I've found a lot of conflicting information on multiple websites. I'm writing a simple test that will allocate and initialize a char** (array of strings, char*...
-1
votes
0
answers
23
views
Kubernetes: Long-lived TCP connections dropping through kube-proxy / Service LoadBalancer. Direct node connection better? [closed]
I’m building a service that needs to maintain a very large number of long-lived TCP connections (persistent sockets). Low latency and stability are essential.
We’re running on a managed Kubernetes ...
0
votes
0
answers
18
views
WooCommerce Hook is not firing and seem to be deprecated
I know it's 2025, and this problem seems to be all over the place, and I've been trying all the recommended solutions, but it seems it's mostly old code. But I don't really know; I'll try to sum it up ...
0
votes
0
answers
27
views
Creating a MsQuic/Nghttp3 WebTransport Server
The idea is for my Windows app to exchange QUIC data with a browser.
Upon creating a server with msquic and nghttp3, I'm not sure why chrome says
Failed to establish a connection to https://host.com:...
-1
votes
0
answers
18
views
Having issues launching Visual Studio 2019 and creating standalone .EXE in Visual Studio 2022 like in Visual Studio 2019
My habits have been ruined lately since a windows update (it seems) corrupted a file in .Net Framework, named clr.dll, preventing Visual Studio 2019 from launching (and not only that software). It ...
0
votes
0
answers
9
views
dearpygui and Dialog Popup
I want to show a popup dialog (for example, to warn the user about a duplicate file) in response to any callback—in this case, after selecting a file (or canceling) in a file dialog opened from a ...
0
votes
0
answers
14
views
Nea 2d game on unity need help to present interactable sprites and make words appear when typing
In my previous post, I didn't add many details and wasn't able to get effective help, so here I go again.
I am currently creating a 2d game inspired by both papers please and not my neighbour at the ...
Advice
1
vote
1
replies
22
views
RAG with Pinecone + GPT-5 for generating new math problems: incoherent outputs, mixed chunks, and lack of originality
I’m building a tool that generates new mathematics exam problems using an internal database of past problems.
My current setup uses a RAG pipeline, Pinecone as the vector database, and GPT-5 as the ...
Advice
0
votes
0
replies
18
views
OCR in complex image
I need to extract player statistic in a image : enter image description here
I have try pytesseract with preprocessing image : convert to grey scale, resize img with a factor 2 and filter on edge :
...
Advice
0
votes
1
replies
18
views
How can I create platform specific version for a VSCode extension
I'm making a VSCode extension that requires a compiled program (let's call it program A) to be shipped with the extension, but the build file is getting too large.
That is: on each OS platform, I have ...
0
votes
1
answer
59
views
Monitoring changes to variables programmatically
This is a follow up to my previous question about creating a debugger for C source files in Python. The current issue I am facing is monitoring changes to variables. I want to monitor 8 variables say ...
0
votes
0
answers
17
views
Azure OpenAI model token rate limit header (x-ratelimit-limit-tokens) is -1
I am trying to get my current rate limit for an OpenAI model hosted on Azure. The response headers contain keys x-ratelimit-limit-tokens and x-ratelimit-remaining-tokens which are supposed to contain ...
0
votes
1
answer
9
views
AWS Cognito custom domain fails to create — "Invalid request provided: AWS::Cognito::UserPoolDomain"
I'm creating an Amazon Cognito user pool with a custom user pool domain using AWS CDK.
My setup:
A parent domain (mycompany.app)
A delegated subdomain (education.mycompany.app) created as a separate ...
0
votes
0
answers
13
views
How to fine tune the layout of a digraph?
I have the following graph for a lexer:
digraph parser {
rankdir="TB";
ranksep=0.8;
nodesep=0.2;
splines=false;
edge [ arrowhead=none ];
program [shape=note label="(println (...
-1
votes
0
answers
10
views
Looking for UML/SysML XMI diagram trees
is there anyone that has a source or knows where to look for UML/SysML diagram trees like the one attached, that show all of it's element? I found following in a paper for the activity diagram but ...
-4
votes
1
answer
22
views
Expo Google OAuth with expo-auth-session: redirect_uri_mismatch and flowName=GeneralOAuthFlow when using auth.expo.io
I’m building an Expo React Native app and trying to implement Google Sign-In using
`expo-auth-session` and `expo-auth-session/providers/google`.
Environment:
- React Native (Expo Router)
- Running in ...
2
votes
1
answer
51
views
How to efficiently flush and write large amounts of data to a file using BufferedWriter in Java?
I'm working on a Java project where I need to write a large number of lines to a file. I know BufferedWriter can improve performance compared to writing character by character, but I am unsure about ...
0
votes
1
answer
25
views
Streamlit Deploy: “Unexpected error” when setting App URL (even if optional field is empty)
I am trying to deploy my Streamlit app using streamlit.io cloud.
On the “Deploy an app” page, when I enter my GitHub repo, branch and main file it shows an Unexpected error under the “App URL” field.
...
-1
votes
1
answer
36
views
Python stack implementation for maze navigation with scoring (fixed capacity)
I am a university student working on a Data Structures lab about simulating maze navigation using a stack with limited memory.
The stack must have a fixed capacity of 25 moves, and the movement rules ...
-7
votes
0
answers
41
views
Unable to open Snapshot using VDDK
{"level":"error","ts":1764409482.772595,"caller":"vddk-service/service.go:125","msg":"Failed to open disk","error":"...
0
votes
0
answers
8
views
nicegui.testing with User fixture for upload file ui.upload
Hello i am new on nicegui, i create a simple app where i need to upload the files and store this files on ftp server. I start to make some tests with nicegui.testing.User (i use this package because i ...
0
votes
0
answers
16
views
LaunchScreen storyboard safe area is different with the app's
I want to recreate the first page of the app for the launch screen, and unfortunately, it can be done only using Storyboard, but strangely, the Storyboard seems to have a different safe area with ...