Newest Questions

Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
4 views

I have a Java library (FIHR) where there are conventions in a bean class hierarchy that were NOT formalized as an interface. For example many subclasses have a getStatus() property but there is no ...
DaBlick's user avatar
  • 988
0 votes
0 answers
4 views

I try to run Flux2 inference on 2 GPUs as follows: import torch from diffusers import Flux2Pipeline from accelerate import PartialState import argparse from pathlib import Path def main(): parser ...
Franck Dernoncourt's user avatar
0 votes
0 answers
5 views

I have a <input type="text"... ...on a page, and need to copy all the changes so that I can display them in a wasm app. I'm stuck with this "select all" operation on Gboard. ...
Davorin Mestric's user avatar
0 votes
0 answers
7 views

trying to run vllm on the current machine with Tesla T4, cuda 12.4, ubuntu 22.0.4 the host info and cuda info is as followed nvcc --version nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-...
user824624's user avatar
  • 8,170
0 votes
0 answers
15 views

Problem When I type a letter into a cell, the focus does not move to the next cell in the word. After typing a letter, the entire input system becomes unresponsive — I can’t type more letters, ...
Artem Kobziev's user avatar
0 votes
0 answers
9 views

I have this trivial test script: print('test sentence') When I press F5 to run and debug the script I expect to see the output "test sentence" but there is a lot of extra text mixed with ...
Moremag's user avatar
-1 votes
1 answer
31 views

I'm new to python and i've been taking some courses to try and get the hang of it, as a proyect to challenge myself i tried to recreate a library method to check for borrowed books and etc. However i ...
Juan059's user avatar
1 vote
1 answer
22 views

I am on a quest to understand the nullable reference type system in C# (well, I guess the non-nullable reference types are the unique part). The mechanics of this particular situation are totally lost ...
ChromaKey's user avatar
0 votes
0 answers
11 views

XML: <Button android:id="@+id/send_button" style="@style/Widget.Material3.Button.OutlinedButton" android:layout_width="wrap_content" android:...
Sam Chen's user avatar
  • 9,138
Advice
0 votes
0 replies
7 views

I have a question regarding the best method of bringing over a legacy WCF service written in vb.net into a new Blazor server-side application. When planning out how to do this, the obvious solution ...
gbm0102's user avatar
  • 143
Advice
0 votes
1 replies
12 views

I'm currently writing a clang-tidy check for a particular monadic replacement for c++. Think of it something like, for particular types and notations, f(x) becomes x(f) - this, of course, requires an ...
lorro's user avatar
  • 10.9k
0 votes
0 answers
18 views

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: ...
Isaac's user avatar
  • 284
0 votes
0 answers
12 views

The program below never ends: void main() { try (Fibonacci fibonacci = new Fibonacci()) { IO.println(fibonacci.calculate(9)); } } public static class Fibonacci implements ...
Piotr Walkusz's user avatar
0 votes
0 answers
11 views

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 = ...
Koden's user avatar
  • 41
-2 votes
0 answers
14 views

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 ...
HaherAdom112's user avatar
-1 votes
0 answers
15 views

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 ...
taimur ali's user avatar
-1 votes
0 answers
28 views

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 ...
Andrus's user avatar
  • 28.2k
1 vote
0 answers
19 views

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 ...
Purgen's user avatar
  • 11
-2 votes
0 answers
44 views

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: ...
kesarling's user avatar
  • 2,318
0 votes
1 answer
31 views

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 ...
toreric's user avatar
  • 422
0 votes
0 answers
14 views

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), ...
Jon's user avatar
  • 395
-2 votes
0 answers
22 views

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 = ...
DIWAKAR SUMBRIA's user avatar
0 votes
0 answers
23 views

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....
ezequiel's user avatar
0 votes
0 answers
13 views

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 ...
Mike's user avatar
  • 812
0 votes
1 answer
23 views

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 ...
masterBuilderBenny's user avatar
0 votes
0 answers
16 views

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 ./...
zar3bski's user avatar
  • 3,213
0 votes
0 answers
31 views

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/....
Stop It's user avatar
Advice
0 votes
1 replies
23 views

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 ...
Vencovsky's user avatar
  • 32.1k
-3 votes
2 answers
56 views

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.
GUY RUFF's user avatar
2 votes
2 answers
46 views

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 ...
Todd Powers's user avatar
-1 votes
0 answers
22 views

how can i resolve this problem and this my jest.config.js module.exports = { preset: 'react-native', "setupFilesAfterEnv": [ "@testing-library/jest-native/extend-expect" ]...
Hela slimen's user avatar
-4 votes
0 answers
28 views

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 ...
kiki's user avatar
  • 1
Advice
2 votes
4 replies
88 views

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 ...
Somedude's user avatar
0 votes
0 answers
18 views

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....
Horacio García Magallanes's user avatar
0 votes
0 answers
18 views

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 ...
Franklin's user avatar
0 votes
1 answer
25 views

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....
Mohamed Masmoudi's user avatar
Advice
1 vote
2 replies
38 views

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 ...
Dib's user avatar
  • 2,107
0 votes
0 answers
16 views

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 ...
Ali Sedghi's user avatar
0 votes
1 answer
16 views

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....
Lucy's user avatar
  • 83
Best practices
0 votes
2 replies
40 views

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*...
Maryann's user avatar
  • 39
-1 votes
0 answers
24 views

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 ...
dsfx3d's user avatar
  • 380
0 votes
0 answers
19 views

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 ...
Juwe's user avatar
  • 31
0 votes
0 answers
29 views

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:...
Michael Chourdakis's user avatar
0 votes
1 answer
26 views

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 ...
grimoiredark's user avatar
0 votes
0 answers
9 views

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 ...
user169808's user avatar
0 votes
0 answers
15 views

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 ...
Adelija Zaveckaja's user avatar
Advice
1 vote
1 replies
24 views

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 ...
Marc-Loïc Abena's user avatar
Advice
0 votes
0 replies
19 views

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 : ...
hugo delporte's user avatar
Advice
0 votes
1 replies
19 views

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 ...
Ryan's user avatar
  • 27
0 votes
1 answer
64 views

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 ...
user14773854's user avatar

15 30 50 per page
1
2 3 4 5
483768