Unanswered Questions
561 questions with no upvoted or accepted answers
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 ...
15votes
0answers
283views
Download files in parallel
This module has aensure_downloaded function which takes a slice ofUrls. It downloads all of the urls to a local downloads ...
10votes
0answers
800views
Sieve32FastV2 - A fast parallel Sieve of Eratosthenes
I’ve created a much cleaner, better designed version to my parallel sieve. I’ve implemented most of EBrown’s micro-optimizations but also revamped the code on my own (that is not in direct response ...
CommunityBot
- 1
6votes
0answers
9kviews
Example of multithreading in Python3 / PyQt5 using QThread
I wanted to make a simple example of multithreading with QThread in PyQt5 / Python3. The script generates a set ofQLineEdits and buttons to start and stop a set of ...
6votes
0answers
145views
Android component animatable on its height
I'd like to have a code review for a component which is supposed to be animatable on its height. It's supposed to be a transitioning element.I find it quite laggy on my phone....
6votes
0answers
827views
Pseudo-parallel depth-first search
I'm writing a small program that generates a file containing an adjancency matrix, it then reads from that file, constructs a graph and does something like a parallel depth-first search (dfs) on it....
6votes
0answers
2kviews
Implement two level caching using spring's cache abstraction Cache and CacheManager
Details about spring's caching framework are here. When I was reading this link, I thought the composite cache mentioned there was one that used levels of caching based on the order given to the ...
5votes
0answers
115views
Dial's heap in Java for integer priority queues
(The entire project is here.)IntroI have this priority queue data structure for non-negative integer priority keys. I recall that it is called Dial's heap.CodeImplementation...
5votes
0answers
1kviews
Exception handling: using @JsonProperty value to make error message
If the validation inRestController fails, I need to handleMethodArgumentNotValidException and provide an errorMessage, that ...
5votes
0answers
733views
Multithreaded pathfinding in Unity C#
I've tried to implement multithreaded pathfinding in an attempt to increase performance, but if anything, performance seems to actually decrease when I enable multithreading.Is there anything I ...
5votes
0answers
207views
stable producer/consumer threads in python
I have implemented a producer/consumer functionality using threads in a given framework andI'm pretty sure I did not cover all possible scenarios.I made a small reproducible version. Lines ending ...
5votes
0answers
71views
Fragment of code with Android MVP that checks login credentials via REST API
I'm learning MVP for Android and am wondering if that piece of code that I wrote is correct in terms of this pattern or maybe is completely messed up.I'm wondering if there can be return type other ...
5votes
0answers
741views
Liveness monitor : python and RabbitMQ together through Pika
I'm a beginner using Python, and I'm trying to implement a functionality of a monitor program already developed by an other programmer.This program is working on a Windows machine (made by Inno ...
5votes
0answers
1kviews
Mahjong hand completeness checking algorithm
As a summer project, I have been working on a small-scale, console-based version of Mahjong (the Rummy-like hand completion game, and not the solitaire version). While having prior knowledge of the ...
5votes
0answers
190views
A Parallel Processing Template for Divide & Conquer Problems
I’ve written a program for solving a problem using standard single-threaded code. However, it looks like it could be recast as a multi-threaded problem using divide & conquer. Since this is a ...





