Newest Questions
77,713 questions
0
votes
0
answers
11
views
A simple properties system
I tried to create a simple properties system to use in my projects. I aim to make that system simple to be good at performance and have fewer problems, if any.
...
0
votes
0
answers
24
views
Runtime agnostic WebSocket server
A runtime agnostic WebSocket server. Tested with node, deno, bun, ...
4
votes
2
answers
178
views
rock paper scissors game with randomized system choices. NOT using rnd()
Here is the question I was trying to answer:
[11] Write a program that plays the game “Rock, Paper, Scissors.” If you are
not familiar with the game do some research (e.g., on the Web using
Google). ...
5
votes
1
answer
47
views
Shared-Memory Queue Implementation in C
Recently I am working on implementing a shared-memory based IPC message queue in C programming language on Linux system. A few design choices I've made include
The queue will have only 1 producer, ...
3
votes
1
answer
84
views
Class for validating code in different Conda environments with PyTorch
I wrote the Validator class. In the project, the presented code is located at the path ".../validator/init.py". It is needed for testing code in different virtual Conda environments, in the ...
3
votes
1
answer
111
views
SystemVerilog: LED blinker control logic
I built this simple blinker in SystemVerilog and would very much like some help to make it better:
control.sv
...
0
votes
0
answers
55
views
Video to ASCII Generation (Low Contrast Output) [closed]
I am developing a application that lets u convert short videos to ascii my problem is that the ascii is looking washed, greyed and not much color grading and contrast i want a crisp and sharp output (...
0
votes
0
answers
60
views
F# - Recursively find the first available item in a range definition
I have the following EF Core table:
...
6
votes
2
answers
85
views
Function to reduce dead band when reading a pressure transducer that has calibration device under test information
When reading a pressure transducer, I'm currently using the following code to apply the "device under test data" from the calibration report.
How can I determine which range segment of ...
8
votes
5
answers
2k
views
Console-based Casino Game in C++
I made a casino game that runs in the console for my grade 10 final project, and I received a 93% as my grade. I'm looking for feedback in areas such as syntax, user experience and efficiency. I would ...
4
votes
1
answer
59
views
Style taking applying control's DataContext property as converter input
In my Avalonia app using the MVVM Community Toolkit, I want to have a number of buttons in multiple user controls in my application to have as their content a ...
9
votes
3
answers
1k
views
Repository with SQLite in Python
This repository class is supposed to be used for saving information extracted from RAR, SFV archives or files that contain the hash sum in their filenames.
The abstract parent class can be found here)....
9
votes
2
answers
779
views
My shared_ptr implementation
I would like to ask for a code review of my shared_ptr<T> implementation for design, code style. Any nitpicks will extremely useful for me. The features ...
3
votes
2
answers
143
views
Third way to place queens and rooks with the higher score (extension of the queen problem)
Here is a third implementation, the second is in my question Place queens and rooks with the higher score (extension of the queen problem) and an initial one is in my answer for the question N queen ...
5
votes
4
answers
250
views
Swift for CLI tools (traversing directories, reading text files)
To compare ergonomics and performance of some languages for my hobby projects, I have written a simple lines of code counter in Swift, Go, Rust and Python. It scans a given directory tree for source ...