Unanswered Questions
927 questions with no upvoted or accepted answers
8
votes
0
answers
354
views
STTCL FSM framework based on the GoF State Pattern, Part I: The basic interfaces
Preface
I 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?...
7
votes
0
answers
123
views
Created a paperfold like effect
I am trying to recreate a neat effect that I saw posted on Stack Overflow as a GIF .
I am trying to recreate this with CSS and JavaScript and I have created a similar effect with a button press.
I ...
7
votes
0
answers
4k
views
React Native - Rendering different scenes based on application state
I am using react-native-router-flux to organize the routes for my application. Using Firebase, I am able to call ...
6
votes
0
answers
150
views
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 ...
6
votes
0
answers
167
views
Efficiently generate distinct subsets which sum to a particular value
Related: Find all distinct subsets that sum to a given number
This code is supposed to efficiently generate all subsets of a list such that the subset's values sum to a particular target value. For ...
6
votes
0
answers
59
views
React state management design pattern new approach thoughts
Hey people on the internet!
I do not know where to share my new npm package so I am asking you do you know of a good place to share my package?
Also I would really appreciate if you take a look on it ...
6
votes
0
answers
112
views
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 ...
5
votes
0
answers
532
views
Implementing a Basic Camera UI using WebGPU and JavaScript
Context
I am currently in the process of throwing myself into learning graphics programming, and my chosen platform is using JavaScript and WebGPU. After successfully making a basic glTF JSON renderer ...
5
votes
0
answers
64
views
Javascript portfolio with 11 small apps
I'm learning to code for about a year and recently I finished my Javascript project. It contains of 11 fairly simple apps involving using APIs and DOM manipulations
https://github.com/matt765/js
it's ...
5
votes
0
answers
55
views
Todolist in vanillaJS
I have been studying front-end development for 2 .5 months, I decided to switch to practice and wrote a todo list in 8 hours
Please write your opinion about the code and how it can be improved (...
5
votes
0
answers
572
views
React Context & Hooks custom Vuex like store
I've been experimenting with Hooks lately and looking more into how can I replace Redux with useContext and useReduer. For me, ...
5
votes
0
answers
220
views
A generic DFS in JavaScript
I implemented a general function for a depth-first-search (DFS) using JavaScript with default arguments and functions that need to be provided in order for it to work.
This function is using ...
5
votes
0
answers
55
views
React and D3 Alignment Histogram
I'm reasonably new to D3, and I've put together a class based React component which outputs a genomic alignment visually. The ...
5
votes
0
answers
322
views
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 ...
5
votes
0
answers
1k
views
Block YouTube iframes until user consents with cookies
I'm trying to embed YouTube video's on a website in a privacy-friendly way.
The code doesn't load the iframes by default but shows a preview
thumbnail overlayed with an info message instead. The ...