Newest Questions
77,828 questions
4
votes
3
answers
110
views
CSV handling class
I'm a hobby coder at best. I know enough to make helpful programs to assist me with day to day life and work (mostly with PHP/JS, some C#). I'm wanting to learn more about good coding practices. I ...
3
votes
0
answers
31
views
Mandelbrot set visualizer using GTK4, Cairo and POSIX threads in C
I have recently implemented a Mandelbrot set visualizer, which I used to reacquaint myself with multithreading using pthreads.
I'm just wondering whether the way ...
6
votes
4
answers
209
views
Python program that iterates over audio files with a progress bar interface
I have a utility that updates, transcodes and renames audio files. Previously I used a function that simply yielded every file that was a good match (based on file extension).
As some tasks can take ...
8
votes
4
answers
456
views
Split flap clock stepper code
I've built a Split Flap Clock, and the code has grown quite a lot, and although it does work in its current state, I am wondering if it could be cleaned up.
The whole thing runs on an ESP32 and is ...
2
votes
0
answers
48
views
Generating a tracker/workbook and Outlook email
Generating a tracker/workbook (and Outlook email) that efficiently takes in 5 CSV files via VBA. What are my worst practices (areas of opportunity)?
It should be assumed that only the needed CSV ...
1
vote
0
answers
46
views
Indexing into Nested Data Structures in VBA
Project
I have created a VBA module called Idx which you may find here on GitHub. It is inspired by pluck() and ...
-1
votes
0
answers
58
views
Does an indentation style which uniquely identifies a column position to its role in the construct it belongs to make Bash code more readable?
What I'm asking here is whether do you think the facts
there is no type enforcing;
there is no indentation enforcing
consoles do not syntax highlight
consoles do not emphasize multi-line input a-la ...
0
votes
0
answers
38
views
Recommended optimization CMake and Conan Files [closed]
I'm currently developing a C++ Application and i'm using conan for the dependency management and cmake as my build tool. I primarily building the application on Windows.
The question now would be is ...
6
votes
5
answers
1k
views
JavaScript program that calculates the sum and difference of a pair of numbers
The goal of the following openprocessing.org JavaScript program is to calculate the sum and difference of a pair of numbers and print the 2 results if they are both positive. I want to do the ...
2
votes
2
answers
81
views
Heat Diffusion Equation Solver
I'm implementing a numerical solver for the 1D diffusion (heat) equation using an iterative method. The initial temperature distribution is a Gaussian profile, which should theoretically smooth out ...
8
votes
1
answer
623
views
Reed-Solomon LFSR encoder
I'm interested if the code below could be further enhanced for out-of-order execution.
Function inputs:
rcx = pointer to a 2 by 64 byte table to multiply 64 bytes ...
-1
votes
0
answers
90
views
Deque implementation around strategy design pattern (after second thought)
After the recommendations from the responses of Deque implementation around strategy design pattern (second thought) the java.util.Deque implemented through plain ...
4
votes
1
answer
211
views
Using Lightweight Objects in VBA
Lightweight Objects implementation in VBA7 (32/64-bit)
As shown here, VB* class instance deallocation becomes exponentially slower the more instances of a particular class module there are.
Cristian ...
4
votes
2
answers
579
views
A simple class that takes in a byte array, computes a width and height to represent and hide the initial byte array inside of a bitmap
This simple class allows us to hide a byte[] inside the Scan0 of a Bitmap's ...
3
votes
2
answers
472
views
Finding a sequence of xors to change a to b
I'm resolving a problem from CodeForces: C. Beautiful XOR. This is what the code is supposed to do:
You have two numbers a and b.
You must transform a into b using XOR operations (...