Newest Questions
24,156,987 questions
Advice
0
votes
2
replies
8
views
How does BaseHTTPRequestHandler send HTTP headers and JSON response body in Python?
I am learning backend development and REST APIs. I created a very small HTTP server in Python using BaseHTTPRequestHandler.
Here is my code:
from http.server import BaseHTTPRequestHandler, HTTPServer
...
Tooling
0
votes
0
replies
8
views
Can I do a topic model for pre processing, find the topics I want and then do a second one?
Looking to do word disambiguition on a dataset with polyssemy. I already tried KB and supervised but they don't capture all the meanings, so I thought to do a first cluster, and then preprocess t the ...
-1
votes
0
answers
38
views
C++ vector push_back not working correctly inside loop [closed]
Title:
C++ vector push_back not working correctly inside loop
Body:
I am trying to insert elements into a std::vector using push_back() inside a loop, but the vector is not storing values as expected.
...
0
votes
0
answers
12
views
React 19 use() hook with Suspense boundaries: unexpected re-renders on cached promises
I've been migrating a mid-sized app to React 19 and started using the new use() hook to read promises directly in components. The issue I'm running into is that even with a stable promise reference (...
0
votes
1
answer
13
views
KDTree 2d index searching based on pivot_table vector error
i want find 2d index(from PCA). based on pivot_table vector at my custom metric. fastly. that's why im using KDTree. but because it, these error is occur:
ValueError Traceback (most recent call last)
...
0
votes
0
answers
6
views
setPointerCapture prevents pointerup/mouseup from firing in JUCE's WKWebView (macOS)
I'm building a drag-to-reorder interaction for horizontal card layout inside a JUCE plugin's WebBrowserComponent (backed by WKWebView on macOS). The card moves correctly during drag but the release ...
Advice
0
votes
2
replies
30
views
C, structs and pointers - why does this work?
I wanted to try using pointers within structs to create dynamic arrays (don't know if that makes sense, I'm relatively new to C.)
I started using calloc() to allocate memory, but I noticed that the ...
Advice
0
votes
0
replies
10
views
How to Programmatically audit page score by category in TypeScript
I'm building a headless CMS where I want to automatically audit each page's SEO before it goes live. I need a solution that:
Returns a 0–100 score broken down by category (meta tags, content, ...
1
vote
1
answer
42
views
VS Code Branch Switching (post worktree vscode update)
TLDR: Vscode Git: Checkout to... command used to allow selecting branches. Now it forces you to Choose a repository and only then the branch. Does anyone know how to make it offer Select a branch or ...
Advice
0
votes
1
replies
22
views
Postgres - Tablesspace size issue
Postgres = Version 13
OS=Linux Redhat version 8
Our team is using single tablespace for whole database. Its size is more then 13TB. I am from Oracle background and want to suggest them to split the ...
-6
votes
0
answers
29
views
VBA Powerpoint timer - Laggy Update
I created this VBA code with the help of Chatgpt back and forth, such that i can creata a LiveSplit looking slide inside my powerpoint for a theatre piece, where the actor speedruns the 7 stages of ...
Best practices
0
votes
0
replies
23
views
Flutter connecter supabase
Title:
I can't connect my Flutter app to Supabase database
Body:
I'm working on a Flutter app and trying to connect it to Supabase.
I already created my database and tables in Supabase, and I added ...
-6
votes
0
answers
30
views
MikroTik RouterOS 7.21.x PPP secret password not saved (users appear disabled) [closed]
I encountered a bug in MikroTik RouterOS 7.21.x where PPP secret passwords were not being saved correctly.
When creating or editing PPP users (especially for SSTP), the password field did not persist. ...
-1
votes
0
answers
41
views
Repeating background text in JS [closed]
The problem it that the text doesn't cut off like 2nd image there is some text and there is the "din" "ordin" How would I write the code that does this cutting automatically?
I ...
-4
votes
3
answers
68
views
Python re.compile and REGEX patterns to clean-up name variations
I am looking for help with a REGEX pattern that will help me clean-up names to just the first, last, and suffix. It needs to be able to handle the following variations.
Drops any middle name
Keeps ...