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

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

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