Test-driven development (TDD) is a software development process wherein the software requirements are first broken up into a series of unit tests and the software is then written to satisfy these unit tests. For example,…
Category: C++
A General-Purpose File Writing Job Queue in C++
Note: code for this project can be found on the project’s GitHub page. Inspiration In a series of recent posts, I wrote about a combinatorial object called a Latin square, a class in written C++…
Read more of A General-Purpose File Writing Job Queue in C++
Plotting Data in C++
In most of the work I do, the ability to easily plot data in Python is a major determinate when choosing a programming language for a project. A while back I was looking into what…
Improving the Results and Efficiency of My Options Trading GA
In a previous post, I wrote about a genetic algorithm (GA) whose goal is to find stocks that could potentially create a promising put-selling portfolio. Currently, the GA searches through stocks that offer weekly options…
Read more of Improving the Results and Efficiency of My Options Trading GA
A Primer on Latin Squares With Some Research Objectives
Deviating from my usual content, in this post I’m going to provide some necessary knowledge for working with a combinatorial object known as a Latin square. These objects were the centerpiece of my (IMO poorly…
Read more of A Primer on Latin Squares With Some Research Objectives
Retrieving Historical Stock Data in C++
Examples abound of multiple different ways to retrieve historical stock data in Python using many different sources. I have personally written about an API I created which downloads the data from Yahoo Finance and have…
DataTables: A C++ Tabular Data Structure Project
This project’s GitHub can be found here. Quick-Nav: Implementation, Installation, Examples, Future Work For statistical programming languages or languages with good statistics processing libraries, the DataFrame is an essential structure. Most features of these languages…
Read more of DataTables: A C++ Tabular Data Structure Project
Using GPGPU Computing to Generate Normalized Latin Squares
Navigation Algorithm Implementation Details Full Code Introduction Many problems in combinatorics pertaining to mutually orthogonal Latin squares (MOLS) require the efficient generation of (at least) a subset of all normalized Latin squares (NLS). This is…
Read more of Using GPGPU Computing to Generate Normalized Latin Squares
A C++ Latin Square Class
Navigation Overview Implementation Full Source Code LatinSquare.h LatinSquare.cpp Header-only File In this post, I will avoid much of the preliminary information needed to understand and work with Latin squares. The focus of the post is…
Setting Up a (Raspberry Pi) Cluster to Use MPI
In 2018 my wife got me a few Raspberry Pi 3’s for Christmas. I had the intention of setting up a small cluster of these SoCs to test parallel algorithms using MPI and pthreads. Having…