Unanswered Questions
252 questions with no upvoted or accepted answers
8votes
0answers
366views
STTCL FSM framework based on the GoF State Pattern, Part I: The basic interfaces
PrefaceI have decided to let my pet project created some years ago to undergo a code review here. The review will be broken into parts according to meta question Multiple reviews or one big review?...
CommunityBot
- 1
6votes
0answers
185views
Efficiently generate distinct subsets which sum to a particular value
Related: Find all distinct subsets that sum to a given numberThis code is supposed to efficiently generate all subsets of a list such that the subset's values sum to a particular target value. For ...
6votes
0answers
293views
ATB strategy MVC architecture refactoring
NOTE: this question isn't as long as it appears to be. I added the comments to the code only to answer some possible questions that may appear.I'm making an active time battle strategy. Its mechanics ...
6votes
0answers
134views
Showing a Wikipedia article's changes as Git commits
I created a small-ish NodeJS script which takes as argument the name of a Wikipedia article (and optionally a Wikipedia edition, "en" is default) and creates a Git repository with each ...
5votes
0answers
104views
Correct abstractions/organisation of a NodeJS GraphQL API
I recently did a quick take-home test for a potential job opportunity. It included building a GraphQL API with nodeJS. I am not an expert in node (mostly use Python at work) but I have used it for ...
5votes
0answers
194views
Replacing tags in email
I have multiple tables and multiple email templates which will need tags replacing. The data for the tags depends on the recipient id as the data will need to be fetched from different tables.I have ...
5votes
0answers
354views
Extending VBA classes with Behavioral Patterns
I want to learn about Design Patterns and be able to apply them in Excel VBA. So to learn about patterns I bought a book that seems promising: Head First Design Patterns; it presents the material ...
5votes
0answers
172views
Prototype GameManager for game written in Unity
I am self taught, so I'm consistently seeking ways to code better, and more efficiently. If anyone has the time, please advise me on what can be done better with explanations as to why the old method ...
5votes
0answers
88views
Elegant way to alter datasets with explicit filters
I would like to write a small helper to filter datasets. Each dataset is a dictionary and some filters I want to apply are common to all the datasets.That my needs, I wrote this following pattern:<...
5votes
0answers
14kviews
Using the same RecyclerView.Adapter with a different ViewHolder
I would use the sameRecyclerView.Adapter with two or more different fragments. Every fragment uses a different view items layout so I must use a different ...
5votes
0answers
1kviews
Mocking the file system within a test
I've been using this method to test file-system functions as an alternative tomock-fs due to its lack of symlink support. I'd love to hear what others think and ...
4votes
0answers
153views
Securely generate Token for authentication
In my experience i had the need that some application (both desktop and web) can excange data to authenticate users (even if the data for authenticating users are not reacheable form desktop ...
4votes
0answers
146views
Sudoku sequence solver for non-standard constraints
This script is designed to help solve sequences in Sudoku puzzles with variant constraints (ex: Thermometer, Renban, etc.).SummaryThe user specifies the constraints they want applied as well as the ...
4votes
0answers
91views
Simple Markdown Blog
this is my first real website I created after learning about web development.It's amazing to me that anyone would spare their free time to code review strangers' code. So thank you in advance. I'd ...
4votes
0answers
67views
Fetching data from endpoint, retrieving coordinates, then merging into an output
I'm in no way a skilled developer (or even a developer at that!) but I did want to take a go at writing a script that fetched one endpoint's data, extracted some data, sent if off to be geocoded, then ...






