Newest Questions
24,188,370 questions
0
votes
0
answers
9
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
5
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
8
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
4
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
9
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
18
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
17
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 ...
-1
votes
1
answer
25
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.
0
votes
1
answer
22
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 ...
0
votes
0
answers
14
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
25
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
52
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
13
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
16
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
18
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
0
votes
1
replies
22
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
12
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
0
answers
11
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
1
replies
27
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
20
views
Kubernetes: Long-lived TCP connections dropping through kube-proxy / Service LoadBalancer. Direct node connection better?
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
15
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
22
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
17
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
13
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
0
votes
0
replies
18
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 ...
0
votes
0
answers
20
views
Unexpected line appears briefly when scrolling up — not caused by border or shadow in vanilla css, js and html [closed]
Screenshot attached,I'm encountering a strange visual glitch on my website. When I scroll up, a horizontal line briefly appears near the top of the page and then disappears. I initially suspected it ...
Advice
0
votes
0
replies
17
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
16
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
55
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
14
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
11
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
21
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
49
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
0
answers
31
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 ...
-5
votes
0
answers
37
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 ...
-1
votes
0
answers
14
views
Terraform Helm release fails in Azure DevOps: “Kubernetes cluster unreachable: the server has asked for the client to provide credentials”
I have an AKS cluster that is deployed using Terraform.
After the AKS deployment finishes, I run a post-deployment step in an Azure DevOps Release Pipeline to install NGINX Ingress using the Terraform ...
0
votes
0
answers
20
views
CLGeocoder deprecation: How can I obtain geocoding bounds in MapKit?
I am currently using CLGeocoder in weather app on iOS to handle user's location queries. I then use the region property of the resulting CLPlacemark objects to obtain the region corresponding to the ...
0
votes
0
answers
14
views
Css checked Pseudo-class not working in Html page [duplicate]
I want to change background color of "maincontent" div element to red when I clicked check box, which is in header tag of my HTML page. please give any idea how to do that.
<!DOCTYPE html&...
0
votes
0
answers
15
views
DefaultAzureCredential failed to retrieve a token from the included credentials
I am trying to follow this: https://learn.microsoft.com/en-us/azure/ai-foundry/agents/how-to/tools/code-interpreter?view=foundry-classic&pivots=csharp
I have (in my local Visual Studio Environment)...
Advice
0
votes
4
replies
21
views
CLGeocoder deprecation - How can I obtain geocoding bounds in MapKit?
I am currently using CLGeocoder in weather app on iOS to handle user's location queries. I then use the region property of the resulting CLPlacemark objects to obtain the region corresponding to the ...
0
votes
0
answers
39
views
Weird linker error "undefined reference to `__imp__vsnprintf'" in "libcrypto.a" in C++ Windows project?
I've been working on a C++ project. I have been using 2 Windows PCs for building it and both worked fine with the same (kinda janky) setup. I recently got a new computer and I get a linker error. My ...
-1
votes
0
answers
25
views
Compiler can't find vulkan.h?
I am on Windows 11. I downloaded and installed the Vulkan SDK on my Windows machines. When I try to compile, I keep seeing:
vulkan/vulkan.h: No such file or directory
I have installed: C:\VulkanSDK\1....
-2
votes
0
answers
28
views
How to completely remove the horizontal “ghost lines” inside List with Section and custom rows?
I’m working on a screen that uses a single SwiftUI List composed of:
a top block (statistics, month picker, year selector, total, Entrata/Uscita picker).
a list of transactions grouped by day, each ...
-3
votes
0
answers
16
views
How to add Vultr Reserved IP without server restart (VPN server - no downtime) [closed]
Problem
I'm trying to rotate multiple Vultr Reserved IPs on a single VPN server without restarting the instance.
Vultr supports this using BGP + a dummy interface (no restart needed), but my servers ...