2,530,251 questions
4
votes
2
answers
26
views
About calling multiple APIs while catching user input events in React
I am developing a React application as a beginner, when the user types in the search box, I need to send a request (API call) to get suggested results. However, if I call the API immediately every ...
0
votes
0
answers
9
views
issues on mobile with overflow:hidden and splide slider
I'm using splide on my webflow site to create a services slider. on desktop it works great and in the mobile preview on desktop, it also works. the problem starts when i try and view it on my phone, ...
6
votes
1
answer
24
views
A Function with average complexity O(n log n), to count the number of queries that a user queries the most
I am developing an algorithm to filter and count the number of words that users query the most.
I have an array of queries consisting of strings representing the keywords that users search for in a ...
0
votes
0
answers
11
views
Issue with trying to focus textarea on doubleClick
I want my textarea to focus on double click for that i have the component below
[Ignore the setIsEditing its just for css]
-> The textarea is readOnly by default.
Expected behaviour: on double ...
2
votes
1
answer
19
views
How can I disable drag and drop in Dropzone.js?
I am working on a file uploader with the help of the JavaScript library Dropzone.
The file uploader is intended to also work as a image preview box.
The uploader should take only one file. For this ...
1
vote
1
answer
19
views
Is there a way to edit a Range without discarding other existing Ranges?
I am attempting to perform operations on multiple text selections by using a loop, that runs after pressing a button.
Because each iteration of the loop makes changes to the highlighted nodes, I need ...
1
vote
0
answers
19
views
Postgres UPDATE table SET jsonb typed collum with javascript var not work for remove an array item
I'm using this package to CRUD in a Postgres database https://github.com/porsager/postgres
This is my query:
This work fine to remove a index 0 or n... on a array data inside a jsonb collum,
...
1
vote
0
answers
23
views
Prevent Change Value from Google Sheet Arrayformula
I'm trying to "freeze" (make permanent) certain rows in my Google Sheet. These rows get their data from another spreadsheet using IMPORTRANGE. My goal is for these specific rows to keep ...
-4
votes
0
answers
16
views
.NET vs. Node.js for Real-Time Apps (WebSockets) – Performance, Scalability, and Future Trends [closed]
I'm evaluating backend technologies for a high-traffic real-time application (e.g., live chat, gaming, or stock trading) and need to choose between .NET (Core/6+) and Node.js.
Tested a basic chat app:
...
-3
votes
0
answers
14
views
Multiple cell copy pasting just like spreadsheets. Text+Images both [closed]
I am looking for something Similar to Google sheets/MS Excel. But with few things of my own.
It is really easy to input data in Excel and that's what my end user loves.
So, actually I am looking for ...
0
votes
0
answers
19
views
Nuxt3: A funcion can behave differently depending on the execution context (server-side or client-side)
HI I'm trying to create a utility function called dynamicFetch that can behave differently depending on the execution context (server-side or client-side).
The idea is to allow developers to use it ...
1
vote
0
answers
23
views
Getting Error while using Cron Job Schedular in Node.js
const parts = dateFormat.formatToParts(date).filter(part => {
'RangeError: Invalid time value'. at DateTimeFormat.formatToParts
()
at buidDateParts
getting error in Cron Job Schedular using with ...
-5
votes
1
answer
79
views
How to find the maximum sub-array of element products? [closed]
I am developing a financial investment application. The user tracks a series of percentage changes in stock prices each day.
For example, they have data for the last 10 days in an array:
let ...
-2
votes
2
answers
32
views
After registering a new user, their name is not in the session
I used this tutorial to register users passportjs example and when the user registers, it should automatically log them in, but the session only contains their id and their name is missing. When the ...
0
votes
1
answer
36
views
Why is my Chess.js board in React not shown?
I am trying to build a simple chess website in IntelliJ by using React in Vite. I have just begun the project and for now I just want a web page, where a chess board with all the figuers in the ...