Гость » 07 мар 2024, 13:56
Последнее сообщение Гость «
Гость »
Is it worth using MongoDB built-in functions to filter data? I think the functions in MongoDB are faster because the database is mostly written in C++ and is designed to be as performant as possible. Besides, to create POJO, the database has to...
Гость » 07 мар 2024, 13:54
Последнее сообщение Гость «
Гость »
I am using the below api code for returning the Flux , but seems when I start my application and do the first API call from postman due to no consumer for the Flux publisher my first API call is getting stuck for infinite time. The events are...
Гость » 07 мар 2024, 13:53
Последнее сообщение Гость «
Гость »
I'm trying to print the first 30 characters of some UTF-8 strings, and notice that Java's String.substring() is returning some funky strings. I've boiled it down to:
I'm expecting 🤣 to be String with length 1, and String.substring to not try to...
Гость » 07 мар 2024, 13:50
Последнее сообщение Гость «
Гость »
I'm attempting to use expression based access control in Spring security by referencing a bean method in my web security expression. So for example I have something like this
@Component public class AuthorizationChecker { public boolean...
Гость » 07 мар 2024, 13:49
Последнее сообщение Гость «
Гость »
While trying to communicate between android and nodemcu using Wifi Aware libraries of the respective sdks, android.net.wifi.aware for android SDK and esp_nan for the nodemcu, i am unable to figure out any way to receive the data sent by the android...
Гость » 07 мар 2024, 13:45
Последнее сообщение Гость «
Гость »
My project works as follows:
Keycloak on the internal network for saving users A service that available externally and proxies and supplements requests to Keycloak.
Since the basic information in the token is not enough for me, I use a modified...
Гость » 07 мар 2024, 13:37
Последнее сообщение Гость «
Гость »
My project is an Android library, so naturally I have plugins { id 'com.android.library' } in my build.gradle. This has unexpected effect that in unit tests imports like import java.net.http.HttpClient; cannot be resolved...
Гость » 07 мар 2024, 13:37
Последнее сообщение Гость «
Гость »
I'm currently working on a knapsack problem and have implemented both a recursive solution without memoization and a memoized version. Surprisingly, the recursive solution is giving me the correct answer, but when I try to memoize the solution, I'm...
Гость » 07 мар 2024, 13:35
Последнее сообщение Гость «
Гость »
I have a method which returns all users from my database:
public ResponseEntity getAllUsers() { List users = userService.getAllUsers(); System.out.println( Retrieved users: + users.toString()); // Add this line for logging return...
Гость » 07 мар 2024, 13:32
Последнее сообщение Гость «
Гость »
Find error img here
APPLICATION FAILED TO START
Description:
Your project setup is incompatible with our requirements due to following reasons:
Spring Boot is not compatible with this Spring Cloud release train Spring Cloud Sleuth is not...
Гость » 07 мар 2024, 13:30
Последнее сообщение Гость «
Гость »
In order to verify an RSA private key wrapping operation performed on a HSM, I try to decrypt it using Bouncy Castle. The private key is encrypted using an hybrid encryption scheme:
A temporary AES session key is generated This session key is used...
Гость » 07 мар 2024, 13:30
Последнее сообщение Гость «
Гость »
I'm using a PeriodicWorker to make a daily backup of my app's data, that is, uploading mu local data to a cloud storage service. However when I use setForegroundAsync(foregroundInfo); it first, shows me a warning (startForegroundService() not...
Гость » 07 мар 2024, 13:27
Последнее сообщение Гость «
Гость »
I would like to do something like this:
mockServer.givenThat(WireMock.get(URL_PATH) .withQueryParam( param , WireMock.any()) .willReturn(WireMock.ok(SOMETHING))); So basically, I don't care what will be passed in param parameter, but I want to...
Гость » 07 мар 2024, 13:25
Последнее сообщение Гость «
Гость »
My regex is (without java escapes) //(?:\[?( \[]+)\]?)+\n , which should capture lines starting with // and following an optional , and this could be multiple times before the line ending.
For example // \n should result in group a, but I would...
Вы можете начинать темы Вы можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы можете добавлять вложения