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

Shell Script for Launching a Local Denial-of-Service Attack

Shell script to launch a local denial-of-service attack

Disclaimer: The following article is written for entertainment and educational purposes only. Neither the script shown here nor any of the techniques involved are intended to be used in real life. Launching denial-of-service attacks is illegal and can get you in serious trouble. I do not condone or support any use of such hacking methods … Continue reading Shell Script for Launching a Local Denial-of-Service Attack

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

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