Adding Set Types to the C Programming Language

Well, it's been over a month since my last post, so it's high time I got back into it. I kinda got distracted by other stuff on other sites, most notably DeviantArt and Discord. But I'm back now, and hopefully I'll be able to post more consistently in the future. This is my third article … Continue reading Adding Set Types to the C Programming Language

Data Science in C: Combining CSV with SQL

In the last episode of Data Science in C I talked about the parser portion of my CSV library, which I implemented using automata. Now that we've parsed the CSV code and converted it into an abstract table structure, it's time to implement some operations on the table data so that we can actually use … Continue reading Data Science in C: Combining CSV with SQL

libdfloat: A C Library for Exact Representation of Decimal Floating Point Numbers

Guys, something really awesome just happened!... I actually finished one of my large-scale coding projects! I'd like to introduce you to libdfloat, a C library for representing decimal numbers without any rounding errors. I started this project as an offshoot of my CSV library when I realized that there was a need for a mechanism … Continue reading libdfloat: A C Library for Exact Representation of Decimal Floating Point Numbers

Data Science in C: Programming a Turing Machine to Parse CSV Code

Okay, so maybe I ripped my featured image from the Hack-A-Day site, but that image of a personification of a Turing machine as an intelligent robot was too relevant to the topic of this post to pass up, so sue me. 😛 I want to talk about the first step to building data science or … Continue reading Data Science in C: Programming a Turing Machine to Parse CSV Code

Uses for Reverse Engineering: Debugging C Code with a Disassembler

One thing I like about C programming for the DOS prompt is that when there's a run time error, a whole collection of debugging information gets dumped to the console. This can be very useful in diagnosing errors, as opposed to the Unix command line, where all you get is a not-so-descriptive message like "Segmentation … Continue reading Uses for Reverse Engineering: Debugging C Code with a Disassembler

Unix vs. Windows: How to Check and Convert Between the Two File Formats

Different operating systems use different formats for line breaks, and this can cause confusion and difficulty for a lot of newbies. In this article I will explain the difference between the Unix file format used by Linux and MacOS and the DOS format used by Windows, and I will also show you how to check … Continue reading Unix vs. Windows: How to Check and Convert Between the Two File Formats

Adding Rational Types to the C Programming Language

One of the main problems with the C programming language as opposed to something like Python is that it doesn't provide any of the convenient amenities that more high-level languages provide in terms of abstract data types. Basically, you have to implement everything yourself. C provides integer types and floating point types, and that's basically … Continue reading Adding Rational Types to the C Programming Language

Extracting Text Files from an Archive – With a Hex Editor

I started taking a cyber-security course on Coursera, and one of the projects assigned involves working on a virtual machine, which is to be imported from a .ova archive file downloaded from the course website. Since I have plans to distribute my own homebrewed VMs as .ova files in the future, I wanted to figure … Continue reading Extracting Text Files from an Archive – With a Hex Editor

Corona-Chan Project, Part 5: Final Model-Fitting Program

The linear relationship indicated by the graph shown in Part 4 of this series has shed light on something I overlooked when I was doing that part of the research. Specifically, it indicates that we can actually reduce the system of equations being graphed to a system of two linear equations in two variables. For … Continue reading Corona-Chan Project, Part 5: Final Model-Fitting Program

Corona-Chan Project, Part 4: Fitting the Model to the Data

So the last business week was pretty fucking insane. We had a three-day bull run in the stock market due to the Coronavirus bill being authored by Congress, and then for some reason the stock market crashed again after the bill passed. It's all over the place, and probably will continue to be that way … Continue reading Corona-Chan Project, Part 4: Fitting the Model to the Data