Newest Questions
24,210,451 questions
0
votes
0
answers
1
view
Combining pointer to implementaion (pImpl) idiom and variadic template arguments
I am trying to combine the "pointer to implementation" (pImpl) idiom with variadic template arguments. However, I'm encountering a linker error, which I suspect might be due to a missing ...
0
votes
0
answers
8
views
When set the environment variable via Node.js CLI, how to refer to another environment variable cross-platformly?
Let us filter out the XY problem first.
Everything has begun from How to specify "datasource.db.url" in schema.prisma such as the connection will be possible from both inside and outside of ...
0
votes
0
answers
6
views
Re-opening a file from handle in a cross platform way
Consider a situation where you have a file handle and would like to open a new file handle from it. You might want to do this because you need different access rights, or perhaps you want the two ...
0
votes
0
answers
16
views
Error while trying to create JWT token in register API using TypeScript
Code:
const newUser = new User({
username,
email,
password: passwordHash,
organization: null,
designation: null,
role: "user",
});
await newUser.save();
const ...
0
votes
0
answers
13
views
R/R studio crashing after update
I updated my computer to the Monterrey 12.7.6 IOS version and decided to update both my R and RStudio but it has been crashing out ever since, I managed to get it to open but now my session gets ...
0
votes
0
answers
13
views
The packaging plugin for project javafx-base did not assign a file to the build artifact
i keep having this error: "The packaging plugin for project javafx-base did not assign a file to the build artifact", 6 month ago i didnt had it (i didnt touched this project since), is ...
0
votes
0
answers
7
views
Qt tray icon in Gnome
Why when I click on any item in Qt tray menu in Gnome the cursor becomes to busy shape even if it closes the app? How to fix this?
QMenu *menu = new QMenu();
QAction *closeAction = menu->addAction(&...
0
votes
0
answers
15
views
Failed Endpoint fetching
I have correctly crosschecked the endpoint names, my code is running just fine but I kept a breakpoint on the get method in the user controller the code doesn't seem to enter. the html and css is just ...
1
vote
0
answers
11
views
How can I make TypeScript narrow the value of an indexed type based on the key type? [duplicate]
Playground
declare class A {
a: string
}
declare class B {
b: string
}
declare class C {
c: string
}
declare const obj: {
a: (_: A) => void
b: (_: B) => void
c: (_: C) =&...
0
votes
0
answers
16
views
Why is my find command saving errors to a file while discarding output, despite using 2>&1?
I expected this command in linux will save all the errors but actually it saved all the stdout can anyone explain why this happend ?
find / -name "*.py" 2>&1 > /dev/null > nx1....
0
votes
0
answers
15
views
Apache Flink sinkfunction python code throws exception
The Apache Flink 2.1 does not support mongodb python connectors. So I make the sample python codes by using SinkFunction.
from pyflink.datastream import StreamExecutionEnvironment
from pyflink....
0
votes
0
answers
27
views
Can't run C# programs - "The term 'dotnet' is not recognized" after installing.NET SDK
I'm trying to set up a C# development
environment on my Windows 10 machine. I
installed the.NET 8 SDK from the official
Microsoft.NET site. The installation
completed without errors, but when itry to ...
0
votes
0
answers
14
views
How to add a Bridging Header in Visual Studio Code (on Windows) for a swift project
I have installed Swift 6.1.2 on my Windows pc. I have no problem compiling my swift project but I want to add a Bridging Header to import some C code. I have seen a few posts and articles but I am ...
0
votes
0
answers
18
views
Vertex AI `gcloud ai models list` returns "Listed 0 items" on a fully activated project
I am trying to access Gemini models via the Vertex AI API but am unable to see any publisher models in my project.
Project ID: virio-462215
The Core Problem:
When I run the command gcloud ai models ...
0
votes
0
answers
8
views
How to use Windowing TVF with Flink Table API?
How can I use Windowing table-valued functions (TVFs) with Flink's Table API? They seem to only be available only in Flink SQL. I want to avoid using Flink SQL and instead use Table API because of its ...