Doing Statistics in awk

Statistics in awk

One exercise that offers a lot of interesting challenges in coding is to use a programming language for an application that it's not intended to be used for. Writing a Fortran compiler in TECO and solving the Towers of Hanoi problem in the troff text formatter are two examples from the legendary Hacker Purity Test. … Continue reading Doing Statistics in awk

Analyzing Twitter Analytics Data in R

Analyzing Twitter Analytics Data in R

I've spent a lot of time trying to figure out how to become popular on Twitter. It's pretty much impossible if you're not already a celebrity or public figure, but I figured I'd try to maximize my success anyway. I did some data analysis using CSV data that I exported from the Twitter Analytics page. … Continue reading Analyzing Twitter Analytics Data in R

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

Drawing State Diagrams in SVG

SVG is ideal for a lot of drawing applications that are vector-oriented in nature. Specifically it's very good for drawing diagrams and charts. A diagram drawn in SVG will take up far less space on the hard drive than one drawn in a raster graphics editor like GIMP, and it will also be far easier … Continue reading Drawing State Diagrams in SVG

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

Obfuscated Unix Scripting with sed

Okay, so I had something else planned for this Friday night, but the project I'm working on that I wanted to share is taking a lot longer than expected, so I'm having to push the publication date back a few days while I get all the code working and create all the visuals in SVG. … Continue reading Obfuscated Unix Scripting with sed

Analyzing WordPress Analytics Data in R

So a few days ago I talked about my recent obsession with data and how I started tabulating, charting, and analyzing SEO and similar data in Microsoft Works. Now I will talk about the subsequent data analyses that I did using the R programming language. Let's get to it... What is R? I would describe … Continue reading Analyzing WordPress Analytics Data in R

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