Unanswered Questions
289 questions with no upvoted or accepted answers
19votes
0answers
222views
Timeoutable computations module
Defines a simple module for timeoutable computations, with the ability to returnarbitrary intermediary results on timeout or the final value otherwise. It also allows default return values. The ...
16votes
0answers
3kviews
Realtime concurrent Haskell MIDI buffer
Problem BackgroundMIDI is a serial representation of control signals to a sound generator. Typically, a noteOn message initiates the attack phase of a sound at a given pitch. The note will ...
7votes
0answers
137views
Agent-based Immutable Map
I am in the process of removing the last few pieces of mutable state from an F#-based distributed system. Some of the remaining mutable state is a ...
7votes
0answers
564views
A* Algorithm in F#
Inspired by this post I looked up A* on wikipedia and went on with my own implementation as seen below where I try to mimic the pseudocode on Wikipedia but in a recursive manner. I would like any ...
CommunityBot
- 1
6votes
0answers
516views
Xero API Client in Django
I'm not actually that new to writing Python. But I've no formal training and have only learnt to build applications to solve problems for my job out of necessity. Starting to bring my existing skills ...
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 ...
6votes
1answer
197views
GitHub API client
Here is my Haskell program designed to list all of my GitHub repos along with their descriptions and languages via the GitHub JSON APIs:...
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
182views
Hutton cipher implemented using recursive functions
Is there a way to rewrite these last 2 recursive functions with fewer arguments (preferably 2) while keeping them recursive?The entire code can be seen here: https://github.com/GirkovArpa/hutton-...
5votes
0answers
2kviews
Extract data from API using VBA & XML (Performance)
EDIT: Added a block with the raw code at the bottom (suggested by a friendly user)First post here. I sincerely hope that I am doing everything by the book. Also, I want to thank you in advance for ...
5votes
0answers
152views
Implement Sudoku using LINQ
WiKi and GitHub.Sudoku rules are being checked with the following tests:...
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 ...
5votes
0answers
290views
Entity component system Lua API
The destruction of the objects are handled by the garbage-collector metamethod.(Does this make sense? This means that an out-of-scope object will stay visible in game until garbage collection.)The ...
5votes
1answer
143views
Function outcome: consistent approach and easy logging
My goal is to make a consistent and easy way to determine how a function fails/succeeds. I'm looking for code review of myStatus class for any bad practices, code ...
4votes
0answers
66views
API for operators and alerts
Note: The important chunks of code are pasted in the question but the larger representation of the app is available on GitHub.Some time ago I was tasked to create a simple FastAPI app. I did manage ...







