Unanswered Questions
545 questions with no upvoted or accepted answers
2
votes
0
answers
58
views
A recursive_minmax Template Function with Unwrap Level Implementation
This is a follow-up question for A recursive_minmax Template Function Implementation in C++ and A recursive_flatten_view Template Function Implementation in C++. The ...
3
votes
0
answers
98
views
Comparing two Tree sort algorithm variations implemented in Java
I have this repository. It contains three variations of a simple sorting algorithm for integer keys.
The idea is that we keep a balanced BST in which each node holds the integer key and its frequency. ...
2
votes
0
answers
58
views
Shrinkable Swing toolbar
I was tasked with implementing a toolbar that can be shrinked beyond what's necessary to display its buttons' texts. As a last resort, the buttons should hide their texts and only display their icons
...
2
votes
0
answers
37
views
A recursive_replace_copy_if Template Function with Unwrap Level Implementation in C++
This is a follow-up question for A recursive_replace_copy_if Template Function Implementation in C++. I am trying to implement recursive_replace_copy_if template ...
1
vote
0
answers
53
views
Java multithreading with Spring JPA
I have to improve a process that is currently sequential, and i wanna make it multi-thread.
This process uses Spring JPA, with spring boot 2 and java 17.
I would like to have a feedback on the ...
1
vote
0
answers
63
views
Principal Variation Search (PVS) for playing Connect Four in Java
This time, I have an implementation of PVS (Principal Variation Search) algorithm for playing the game of Connect Four.
The repository holding the above .java file ...
1
vote
0
answers
60
views
Negamax with Alpha-beta pruning for playing Connect Four in Java
I have this repository.
My main concern this time is my implementation of the Negamax algorithm with alpha-beta pruning:
...
0
votes
0
answers
42
views
Flat serialization of single-value Java records used as strong types with Gson v2.11.0
Introduction
I am currently developing a REST client in Java v21 and got the foundation basically working.
In my project the Immutables and Gson library are currently used. Both libraries integrate ...
0
votes
0
answers
89
views
Securing microservices with Spring Security JWT
I would like to build a RESTful microservices architecture where each microservice acts as a resource server. Additionally, there will be an authorization server responsible only for user registration,...
5
votes
0
answers
106
views
Dial's heap in Java for integer priority queues
(The entire project is here.)
Intro
I have this priority queue data structure for non-negative integer priority keys. I recall that it is called Dial's heap.
Code
Implementation
...
2
votes
0
answers
63
views
A machine learning model for predicting bit strings in Java
I have this GitHub repository (BitPredictor.java). Basically, I tried to harness a machine learning model for predicting bit strings. I have implemented it to the best of my understanding and have ...
2
votes
0
answers
71
views
Classes for Config and logical operators
I have a spring cloud gateway application with this yml structure for request validation:
...
1
vote
0
answers
46
views
recursive_remove_copy_if and recursive_remove_copy Template Functions Implementation with Execution Policy in C++
This is a follow-up question for recursive_remove and recursive_remove_if Template Function with Unwrap Level Implementation in C++. I am trying to implement ...
2
votes
0
answers
59
views
Last Stone Weight Problem in Haskell Using `fold`
A previous solution of this code has been posted on Code Review before.
This solution is more complicated then that one, but more performant (see the below)
Why is this another Question instead of a ...
1
vote
0
answers
53
views
An Updated recursive_transform_reduce Template Function with Unwrap Level Implementation in C++
This is a follow-up question for A recursive_transform_reduce Template Function with Unwrap Level Implementation in C++. To fix the issue mentioned in G. Sliepen's answer, I updated the test cases and ...