24,227,970 questions
0
votes
0
answers
2
views
Thymeleaf StringTemplateResolver, how to resolve fragments?
We are developing a project under Spring 3.0 and Thymeleaf where all of the templates are in files, but we need to combine them dynamically into a form determined at render time; e.g., we get ...
0
votes
0
answers
5
views
NestJS CLI always generates files with CRLF line endings even after setting VS Code and Git to LF
I'm working on a NestJS project on Windows and have configured my environment to use LF line endings globally and in my workspace. However, whenever I generate new files using the NestJS CLI (e.g., ...
0
votes
0
answers
9
views
In Swagger UI the example value of a self-reference is a string
When I feed the following Swagger document into https://petstore.swagger.io
{
"swagger": "2.0",
"paths": {
"/A": {
"get": {
&...
0
votes
0
answers
4
views
How to return the links objects in the content of result of dql endpoint call for OpenText Documentum
I am using OpenText Documentum Rest Api in order to get the data.
If I call the endpoint:
https://myopentext/repositories/myrepo/documents/aaa
I get the representation of document containing its ...
0
votes
0
answers
5
views
React router 7 Framework mode/ Remix 2 - multiple routes for one component
I have a React router version 7^, app with in framework mode (It was a Remix 2 app that I upgraded to React router). Now I'd like to have a page with a loader and an action to be on two different ...
-1
votes
0
answers
4
views
Apt installation error: How to fix "E: Malformed entry in list file /etc/apt/sources.list (Component) E: The list of sources could not be read. "
I tried to update my packages when re-installing the newer version of Rstudio. Somewhere there was a break and now I get this error each time I try sudo apt-get:
E: Malformed entry 16 in list file /...
0
votes
0
answers
4
views
How to programmatically set version and build numbers for Xcode Cloud CI using scripts?
We are integrating XCode Cloud as CI/CD solution, I want to have control over how version numbers and build numbers are set, is there any way to do this via ci_scripts? I tried updating ...
0
votes
0
answers
6
views
Jupiter Notebook: how do I find exact line where warning happens?
I am getting warning in Jupiter Notebook while running pandas code:
C:\Users\<MYUSER>\AppData\Local\Temp\ipykernel_4204\2031882426.py:35
How do I find exact cell where it happens?
The code I ...
0
votes
0
answers
16
views
Shift "<<" and bitwise "&" operators precedence issue. Why it doesn't compile?
this code doesn't compile seems like the compiler (VS) is interpreting the expression as (std::cout << ul1) & (ul2 << std::endl)
#include <iostream>
int main() {
unsigned ...
0
votes
0
answers
3
views
DuplicateDeploymentIdException when deploying multiple similar WARs in TomEE
I am deploying two separate same WAR files on Apache TomEE 10+. The WARs are named:
webapi.war
webapi1.war
Error Logs:
`Caused by: org.apache.openejb.DuplicateDeploymentIdException: Application cannot ...
0
votes
0
answers
10
views
Why can't I affect List<ConcreteClass> to a variable of type List<Interface>?
I have an interface I which is implemented by two classes C1 and C2.
I have that code, and I don't understand why some don't:
// works, of course
List<C1> list = List.of(new C1());
List<C1>...
0
votes
0
answers
8
views
How to prevent imported code from making unknown network connections
Importing public Github repositories is often necessary in coding. However, very often Github repositories contain malicious codes that can send sensitive data to hacker IP.
There are CodeQL and ...
0
votes
0
answers
4
views
why fast refresh doesnt work on Expo Tunnel?
I built my application (development build) with eas, now its a standalone app that I can open on my android and then I run this on my pc
npx expo start --dev-client --tunnel
I can connect the app to ...
0
votes
0
answers
7
views
Tinymce PRO Laravel Backpack
I am currently working with Laravel Backpack Pro and i'm using tinymce PRO but this is version 6. Feature i want to use from tinymce are version 6.4 how can i go about with it?
-1
votes
0
answers
16
views
One property missing when sending FormData object
I'm submitting data to the backend. The data includes patient_name, age, date, and medication_files, which are from the active record.
The problem is that I use formData in collecting the data and ...