All Questions
22,515,353
questions
0
votes
0
answers
3
views
Websocket api at backend using java
Using Java I need to create a websocket connection with UI that just renders data to clients , at Java backend should I use some library or raw socket present in javax package is sufficient?
Use case: ...
0
votes
0
answers
2
views
Converting Python Timedelta object in order to be read by Recharts
I'm trying to make basic plots in Recharts (using React) and Flask (using the Formula1 API). The data I get in Flask is originally a Timedelta object and I'm having trouble sending it over to React.
...
0
votes
0
answers
2
views
Dynamically chain comparators in Java
I would like to be able to sort a list dynamically by the various, selectable properties of an element that may be passed into a method.
For example, lets say I have a Person class:
interface Person {
...
0
votes
0
answers
5
views
What is wrong with my code? Should I be adopting the method I found online?
Objective: Ask user for input height, and print pyramid
Code I wrote:
for(i = 1; i <= height; i++)
{
for (j = height; j >= 1; j--)
{
printf ("#");
}
printf (&...
0
votes
0
answers
4
views
Have php get form data from two textboxes before downloading text file?
I have a page which asks the user for input in two textboxes and I want to use PHP to have the text that the user inputs in those textboxes be downloaded into a single text file. Here is my php code:
...
0
votes
0
answers
5
views
How to edit the xml file in the xlsx file with python
I want to edit the xml file in the xlsx file of the Microsoft Visio vsdx file.
I want to implement using only zipfile library and xml library without using library like Openpyxl
I was able to read and ...
0
votes
0
answers
6
views
i wish upload video but selenium don't find the element
this is my code and i tried with id,cs selector already.
driver = webdriver.Chrome(chromeDriverPath, options=chromeOptions)
driver.get('https://www.tiktok.com/upload/?lang=en')
time.sleep(2)
action = ...
0
votes
0
answers
5
views
Code printing all contents of txt file instead of specific line
I have the code written below and the goal of the program is to let the user list all cars in a list and then ask for specific details on just one specific car via input. However, when the user inputs ...
0
votes
1
answer
3
views
Is there a way to access test case and test suite details in Cypress?
I am trying to make a JSON file to store the details of Cypress Tests, but I don't know how to access them.
The details I need:
1- Test case (it block) title
2- Test suite (describe block) title
3- ...
0
votes
0
answers
4
views
PHP RecursiveIteratorIterator get value key in endchildren
Help me how to use this function
function endChildren() {
echo "Update";
}
hope : update.php?dataId=123
how i do it, thanks
0
votes
0
answers
4
views
How to upload file using Axios to NestJS (multer)?
I am using Axios and try to upload a file to NestJS. But I can't.
Please help me fix this problem? T.T
In my NestJS server, I'm using multer to handle the incoming file.
For example:
@Controller('...
0
votes
0
answers
5
views
Transforming JSON template based on JSON values posted into API
I have got a requirement of building an azure function which transforms data in our COSMOS DB based on the value posted by a calling service.
So consider this JSON template
{
"...
0
votes
0
answers
3
views
is it possible to mark the disk used only by current app using java
I want to store a license information on the disk, now I am facing a problem that when the user reinstall the operation system and rollback the system time. The license could be reused, the time check ...
0
votes
0
answers
3
views
how to validate multiple selections on a select element in playwright nodejs
I'm having a hard time getting playwright to validate multiple selections in a multiple select element.
For example, say I have the following multiple select:
<select id="colors" name=&...
0
votes
0
answers
10
views
How do I bring the entry box closer to the names in html?
I am trying to bring the entry fields closer to the names; it looks bit far. wanted to see if anybody can suggest. this is how it looks now:
<div id="container">
<h3>Add Student</...