Newest Questions
24,160,026 questions
Advice
0
votes
0
replies
5
views
How to do the Api for an Spa?
UserWithEdit
import { useEffect, useState } from "react"
import { getRoles } from "../services/role.service"
import { updateUser } from "../services/user.service"
/* ...
Advice
0
votes
0
replies
5
views
Can't get the right Charset on a Java app
I am building a simple java app that uses a few rest webservices (that get parameters from the url) to insert into a database data that is relevant to the progress of some students in a course. This ...
0
votes
0
answers
9
views
Android Studio project build crashes on desktop but not laptop
I have an Android Studio (AS) mobile only project which I've been working on for a while on both my desktop and laptop, keeping the project current on each with git backups. Two days ago, the build ...
Advice
0
votes
0
replies
13
views
XSS on DeepSeek
I was tested deepseek web application and I couldn't find any way to get an XSS to work. The app seems to do a good job of escaping all my inputs.
However, I noticed that the site doesn't have a ...
0
votes
0
answers
15
views
I want to add a button that lets me view notes on the same line
I want to create a small desktop app where I can see the books I've read and also view the notes I've written about them.
I'm using SQLite3 with a database that contains the ID, title, author, and ...
-2
votes
0
answers
16
views
While running Nitrogen web framework, the processors remain extremely engaged even when client load decreases
The set runs on these deps.
{deps, [
{cowboy, {git, "https://github.com/ninenines/cowboy", {tag, "2.7.0"}}},
{simple_bridge, {git, "https://github.com/nitrogen/...
Advice
0
votes
0
replies
13
views
Hosting a non-user-interaction WCF service in IIS
I am trying to host a WCF service on IIS.
The service does not require human interaction after installation as a service.
It performs scheduled tasks according to an event control file.
I want to put ...
0
votes
0
answers
26
views
How to separate runtime dependencies from development dependencies?
I'm developing a Python API testing tool called YATL. During development, I installed many libraries for testing, linting, and formatting (e.g., pytest, ruff, mypy).
I've now discovered that when I ...
Tooling
0
votes
0
replies
10
views
How can I make a variable change its value according to several specified formulas when certain conditions are met in AnyLogic?
I have a question about building a model in AnyLogic. I want to create a model of the action potential of an excitable tissue cell (like muscle). I created an impulse variable that I can change using ...
0
votes
0
answers
23
views
Automatic setting of button focus in JavaScript
I'm having trouble programming automatic button focus in JavaScript. Let's say we have a very complex application interface and need to restore focus to some buttons after they've been lost. For ...
0
votes
0
answers
24
views
typeorm-transactional opens separate transactions for each save() instead of one, WHY?
The code (simplified):
typescript
// ServiceA
async preloginStep(input, ip) {
let foo = await this.fooRepo.findOne({ where: { mobile: input.mobile } });
if (!foo) {
const { user: ...
0
votes
0
answers
22
views
In Kaggle, when executing pipeline(...) from transformers, I get 'RuntimeError: Cannot send a request, as the client has been closed.'
I am trying to run the following code in a Kaggle notebook,
from transformers import pipeline
pipeline = pipeline(task="text-generation", model="Qwen/Qwen2.5-1.5B")
pipeline("...
-2
votes
0
answers
24
views
How can I run all cases in a single GTest test suite in a single, shared, sequential binary invocation, but report on all test cases?
Using GTest, I have written an integration test as a single test suite, in which each stage of the test is a separate test case derived from the suite. Each stage/test case uses the same static member ...
-2
votes
0
answers
22
views
IOT tables not Imported [closed]
In Oracle Database, during a Data Pump import, some IOT (Index-Organized Tables) were not imported successfully. How can I identify the cause and import the missing IOT tables properly?
0
votes
0
answers
19
views
Why can I only paste the first line of a DAX query into Power Automate?
I have a report in Power BI. I want to automatically export a filtered matrix visual from this report to Excel. I understand that I can do this by setting up a Power Automate flow, selecting the ...