Newest 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 ...
Aethar's user avatar
  • 41
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 ...
blablatruck's user avatar
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 ...
it_serf's user avatar
  • 61
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 ...
Besi's user avatar
  • 245
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 ...
DialecticSpecialist's user avatar
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 ...
Greg's user avatar
  • 559
-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 ...
Scrooge McDuck's user avatar
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 ...
Kevin's user avatar
  • 87
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 ...
Will.Octagon.Gibson's user avatar
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 ...
PlasmaPhyscsi's user avatar
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 ...
rcgldr's user avatar
  • 376
-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 ...
user293682's user avatar
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 ...
MDragon's user avatar
  • 51
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 ...
Short Int's user avatar
  • 746
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 (...
Jared McCarthy's user avatar

15 30 50 per page
1
2 3 4 5
5189