Unanswered Questions
4,908 questions with no upvoted or accepted answers
0
votes
0
answers
14
views
Maze game from book Design Patterns with smart pointers and polymorphism
The Design Patterns book chapter 3 about Creational Patterns starts with a maze game. They use the maze as an example throughout the chapter and instead of rooms they have also things like enchanted ...
3
votes
0
answers
18
views
Timer coroutine
I was trying to learn more about C++ 20 coroutines. After trying to read the documentation and watching few videos, I tried to write a timer that uses coroutines.
...
1
vote
0
answers
49
views
Image preview and delete for Laravel blog application
I am working on a blogging application in Laravel 8.
I have put togheter a way to preview and remove the main article image.
In the ArticleController.php controller,...
0
votes
0
answers
66
views
Code to compare the performance of direct calls to outsourcing functions into libraries shows libraries slow
after resolving two more general issues in an attempt to build code using a library I'm left with three specific and one general question about the use of libraries and performance in simple "...
0
votes
0
answers
37
views
Mismatch Between Frequency Response and Eigenvalue-Based Natural Frequency in MATLAB for a 5-DOF System with Frequency-Dependent Stiffness
I am working with a mechanical system that has five degrees of freedom (a composite plate), and I am trying to compute its frequency response, time-domain response, and natural frequencies.
I have ...
2
votes
0
answers
21
views
Plugin to enforce individual-use coupon validation in WooCommerce admin
I'm working on a custom WordPress plugin that ensures individual-use WooCommerce coupons are properly validated when applied via the admin order editor.
By default, WooCommerce only enforces this ...
5
votes
0
answers
42
views
Excel Bookkeeping Application, Create Ledgers from Chart of Accounts and Journal
I am writing an Excel bookkeeping application that would be suitable for a small business or contractor. The application is based on a book on double entry bookkeeping:
https://www.amazon.co.uk/gp/...
2
votes
0
answers
69
views
+100
Is this RenderObject implementation following the correct rendering algorithm and intended uses?
I'm trying to see if this RenderObject is well implemented or if it's doing something bad with respect to Flutter rendering algorithm, especially:
Is it ok to call ...
2
votes
0
answers
43
views
Basic Rust server + client to handle future game logic
I made a really basic server and client in Rust using tokio for the server.
I would like to receive feedback on the (very limited) code I have so far, just to make sure I'm on track to follow Rust's ...
4
votes
0
answers
78
views
0
votes
0
answers
57
views
Element-wise natural logarithm of large array
Let X be a numpy.array of np.float32 with shape (100,100,100,100). I'm computing the variable lX with the following formula
<...
3
votes
0
answers
63
views
CICD Component to run Ruff check & format
This is a Gitlab CICD Component to run ruff check and ruff format in two separated jobs. Goal is simplicity, readability, and ...
1
vote
0
answers
16
views
Delphi VCL Copy-Paste Clipboard Functions for Matrix Table in VirtualTree View
I'm working on implementing copy-paste functionality for a matrix table in a Delphi VCL application. The matrix is displayed using a virtual tree view (a control that allows for dynamic data handling)....
1
vote
0
answers
48
views
Refactoring NWBrowser in Apple's Tic-Tac-Toe example
I'm looking to refactor Apple's example code used in this WWDC talk. When turning on Swift 6 language support and complete concurrency checking, the project will not build due to:
Capture of 'self' ...
0
votes
0
answers
32
views
Mathematica implementation of Mason's gain formula
Mason's gain formula (MGF) is a method for finding the transfer function of a linear signal-flow graph (SFG).
Using graph method
From scratch, I implemented it in Mathematica using graph method.
...