Newest Questions

2votes
0answers
19views

Chess engine in FORTRAN 90

...
Dean Menezes's user avatar
1vote
1answer
47views

Implement a matrix and access its elements

I have just started to learn how to program in Scheme using the LispPad app on my iPad. I want to know if the following is the best way to implement a matrix and access its elements. This code ...
Will.Octagon.Gibson's user avatar
2votes
2answers
89views

Sieve of Eratosthenes with Wheel Factorization in C++ version 2

I have implemented Sieve of Eratosthenes with Wheel Factorization in C++ again, this time using a bigger wheel and much more complicated C++ syntax, to familiarize myself with C++ and see how fast I ...
Ξένη Γήινος's user avatar
0votes
0answers
22views

Detect the repeating hour with Daylight Savings Time switches in TypeScript

...
QuestionablePresence's user avatar
1vote
0answers
23views

A function that returns correct number of inserted, updated and skipped rows for INSERT or UPDATE query

When MySQL executes a Data Modification Query, it provides some additional info on the outcome, which is usually displayed in the console. This info is also being exposed through MySQL C API and this ...
Your Common Sense's user avatar
2votes
1answer
33views

DioClient using Clean Architecture following SOLID Principle

I am trying to write an API Client in flutter that follows Clean Architecture, SOLID principle and best programming practices After completing this, I am going to use it in Repository or DataSource. ...
C Sharp Guy's user avatar
1vote
0answers
70views

HTML Editor: Online HTML Editor with Real-Time Preview (version 6)

Overview HTML Editor is a web-based HTML editor designed for web developers, designers, and learners. It offers a lightweight, minimalist environment for writing and previewing HTML, CSS, and ...
Mori's user avatar
  • 177
0votes
0answers
44views

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 <...
manifold's user avatar
5votes
3answers
1kviews

Slow SQL query with nested subquery

I have written the below query in order to identify how many events (occur over a week) in each hour. ...
Danny Goodall's user avatar
3votes
2answers
57views

Simple WinAPI Event manager implementation

Trying to learn windows internals and made my first work with Events and Threads. What do you think about my code? Any advice? ...
vansergh's user avatar
3votes
2answers
719views

Retrieval-Augmented Generation from text files

Context: I'm a complete newbie trying to get good at structuring my code. I'm aware that I'm supposed to do my own research with docs, but I don't know what specific docs I should be reading for this ...
Shades's user avatar
3votes
1answer
194views

Solution to the N Queens Puzzle in the PicoBlaze assembly language

You can see it live here: ...
FlatAssembler's user avatar
2votes
0answers
41views

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
5votes
3answers
487views

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
0votes
0answers
12views

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

153050per page