1,918,328 questions
0 votes
0 answers
21 views
Push Notifications not working in my Vite + React + Spring Boot project (WebSockets, VAPID, AWS SNS, FCM all attempted)
I am trying to implement web push notifications in my project, but none of the approaches I tried are working. I’m not sure whether the issue is on the frontend, backend, service worker, or the push ...
0 votes
0 answers
20 views
Android AccessibiltyService : How can I enabling perform action on a sealed instance
I am using AccessibilityService in AndroidStudio for an app which is going to access an another app. In a view there is not available actions of "ACTION_CLICK". Its sealed and I am getting ...
0 votes
0 answers
18 views
What happens when uploading a large file from client browser to my Spring boot server if I delay reading the multipart file from input stream?
Context: I am trying to build a Spring Boot application and have exposed a REST api endpoint to upload files(as large as 1 GB). Question: Since the data transfer for a multipart file happens in chunks ...
0 votes
0 answers
28 views
JNA CoCreateInstance returns S_OK but ShellLink/IShellLinkW fails, COM pointer is non-null but object unusable
I'm making a Java app that scans the Windows Recent Files folder and resolves .lnk shorcuts to their actual file paths. I'm doing so using JNA the JNA API and simulating IShellLinkW and IPersistFile. ...
0 votes
0 answers
26 views
Mapstruct and multiple derived classes
I am having trouble wrapping my head around subclass mappings. I have 3 classes: @Data public class Parent { long id; String name; public boolean isEmpty() { return StringUtils.isEmpty(name)...
0 votes
2 answers
97 views
Why does using >= increase merge sort time complexity
I recently solved the Merge Sorted Array question on leetcode Here is the part of the code I am having doubts on : while (curr >= 0 && p1 >= 0 && p2 >= 0) { // more TC if ...
0 votes
0 answers
140 views
How to implement a list with an efficient "index of" operation? [closed]
I'm interesting in possible implementation approaches for a quite special variant of a list, with the following requirements: Efficient inverse lookup ("index of"): "give me an index ...
0 votes
0 answers
23 views
Spring Boot Dashboard in VS Code isn't displaying one of the project's modules
I'm setting up the environment for a project of the company I work for. It's a multi module backend runing Spring Boot. I didn't have problems with most of the setup, but one of the project's modules, ...