Trending questions
24,188,370 questions
-1
votes
1
answer
26
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 ...
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 ...
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/....
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"
]...
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
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....
-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 ...
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
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 ...
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*...
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 ...
-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
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
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
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
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
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 ...
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
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 ...
-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 ...
-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 ...
0
votes
1
answer
26
views
Android Kotlin: removeLastOrNull for MutableStateFlow List
Currently developing Android app on Android Studio in Kotlin.
I'm new to the recent Android development.
Some articles say when I use MutableStateFlow and collections like MutableList, I should assign ...
-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....
1
vote
1
answer
63
views
The reason of there being constraints on the second argument of `va_start()`
I've found that there are conditions that the second argument of va_start(ap, last) must satisfy, which are:
last must not be a register variable
last must not be a function
last must not be an array
...
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 ...
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.
...
-3
votes
0
answers
55
views
Can't declare variables used in mathematical equations output [closed]
I'm just starting JavaScript and I can't declare a variable. Possible that it is being declared but when I use the variables in a math equation there is no output from that equation.
For example:
let ...
-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":"...
-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 ...
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 ...
0
votes
0
answers
35
views
Suitable Pandas installation on 32-bit Python (3.10, 3.11)
I am trying to use the Kiwoom OpenAPI (for making automated stock trading program), which requires a 32-bit Python environment. However, to successfully use Kiwoom Open API I need to set up pandas in ...
Advice
10
votes
13
replies
637
views
How do you learn without AI?
This isn't a joke or a shitpost; I'm being completely serious. I started coding a few years ago, and I didn't know where to find resources for how to code.
Right now, I'm working on a messaging app ...
-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 ...
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
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....
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 ...
-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 ...
1
vote
1
answer
41
views
How can ship multiple different sources for the laravel-vite-plugin besides app.js?
Currently the app has 2 entry points for the JS and CSS files in the blade layout file:
{{-- layout.blade.php --}}
<head>
<meta charset="utf-8" />
<meta name="...
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 ...
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
1
answer
43
views
How to disable Celery startup logs?
I'm getting a bunch of logs like this:
[2025-11-29 16:13:15,731]
def group(self, tasks, result, group_id, partial_args, add_to_parent=0):
return 1
[2025-11-29 16:13:15,732]
def xmap(task, it):
...
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 ...
1
vote
1
answer
37
views
IHost does not release log file after Dispose()
I'm trying to read a log file that was written from a custom ILoggerProvider in a dotnet application:
HostApplicationBuilder builder = Host.CreateApplicationBuilder();
builder.Logging.ClearProviders();...
-1
votes
0
answers
29
views
Connecting SSAS 2019 on prem with Snowflake
I have a Tabular model in SSAS 2019 on prem. The data source is SQL Server running on the same machine. I need to reroute the data source to Snowflake. I created a legacy data source using an ODBC (64-...
0
votes
1
answer
25
views
Getting clangd to work when compiling with MSVC
I'm using Windows 11, CMake, VSCodium, clangd 21.1.0 and Visual Studio 2022 Community. I can compile my project just fine but I don't know how to get clangd set up and working, I know that it's ...
-7
votes
1
answer
47
views
How to use a backgroundworker to encode ( base64 ) about 200 pdf invoices and write to sql db [closed]
How to use a backgroundworker to encode ( base64 ) about 200 pdf invoices and write to sql db. Now i use a sleep 15 sec between every encoding because pdf sizes varie
code to writ to sql db and ...