Newest Questions

0 votes
0 answers
15 views

Solution to the N Queens Puzzle in the PicoBlaze assembly language

You can see it live here: ...
FlatAssembler's user avatar
1 vote
0 answers
29 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 ...
Dorian Turba's user avatar
4 votes
2 answers
221 views

Single Consumer Single Producer Wait-Free Zero-Copy Circular Message Queue

The title describes pretty well what the algorithm is for. It will be used for a realtime inter-process communication library that only uses shared memory for exchanging data. For realtime systems, it'...
mausys's user avatar
  • 99
0 votes
0 answers
8 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)....
user5005768Himadree's user avatar
2 votes
0 answers
34 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' ...
Jim M's user avatar
  • 21
3 votes
1 answer
54 views

Leveraging EBCO (Empty Base Class Optimization )in a Simplified Smart‐Pointer with Custom Deleters

I’ve been experimenting with a minimal unique_ptr–style class to see Empty Base Class Optimization(EBCO) in action when the deleter is empty: ...
sam's user avatar
  • 227
4 votes
4 answers
427 views

Finding Special Parts in a Word

Task description: Imagine you have a long word made up of small letters like "a", "b", "c", ancd so on. Let’s call this word a puzzle word. We want to look at all the ...
CodeCrusader's user avatar
4 votes
3 answers
315 views

Swift - Process file with key-value pairs

I got to process a simple text-file, which contains key-value pairs. Key-value shall be separated by a tabulator. Here's the prototype, which I figured out: ...
michael.zech's user avatar
  • 4,814
-3 votes
0 answers
26 views

Telegram Technical Support bot [closed]

After turning on the bot for the first time and entering the /start command, it starts spamming the welcome message and does not respond to other commands. ...
Максим Макаров's user avatar
4 votes
1 answer
73 views

Efficient way to win points in chocolate bowl game

I'm working on an optimization problem involving a turn-based chocolate-sharing game, and I need help optimizing my current brute-force solution. Problem Description: You and your friend take turns ...
CodeCrusader's user avatar
-3 votes
0 answers
40 views

ConvertToWords Function Issues [closed]

...
user290317's user avatar
6 votes
2 answers
402 views

Get orientation of a contour according to the smallest side

Context: Based on the code we can find here, an API to control to control Niryo's robots pyniryo/vision/image_functions:l120. Return orientation of a contour according to the smallest side in order ...
Dorian Turba's user avatar
3 votes
3 answers
90 views

A Vending Machine Simulator Project

Here is the code: ...
PizzaLvr49's user avatar
2 votes
0 answers
19 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. ...
138 Aspen's user avatar
  • 411
3 votes
1 answer
49 views

A Maui App that helps to track your mood

I just got my first .NET MAUI App up and running. I pushed it to my repo at https://codeberg.org/ulrich-jell/MoodDiary It aims to track your overall mood of the day, so you can (more or less) quantify ...
Tripple_U's user avatar

15 30 50 per page
1
2 3 4 5
5173