Growing Melodies

Ever since I heard about evolutionary programming, I’ve wanted to try it with music.  On a recent weekend, I finally did just that! Some generated melodies are lovely in spurts but betray their purposlessness.  …Some just sound like Metroid on drugs. The code is here: https://github.com/ology/Music/blob/master/bitstring-fitness Update with less dependencies: https://github.com/ology/Music/blob/master/ai-genetic

Word Parsing, Part 2

In the previous episode, I rambled about the history and completion of my mechanical word parser.  This time, we go section by section through the deceptively short synopsis. As before, the code lives at https://github.com/ology/Lingua-Word-Parser and also at https://metacpan.org/release/Lingua-Word-Parser. UPDATE: A Web GUI can now be found at https://github.com/ology/Word-Part  

This is the standard preamble […]

Word Parsing

It was in my Grandfather’s breakfast area, in my teens, that I realized that I even though I knew about overlapping word-parts, I didn’t know how to handle “word part under-lapping” or “unknowns.”  I became determined to study computer programming. I’ve been working on the problem of how to best break a word into parts […]

All Possible Fretboard Positions

tl;dr: The fretting program on github. For a while now, I have been burning with a desire to see (and practice) every playable guitar fingering position, in a mathematical (not musical chord based) order, for any arrangement of fingers.

Primes, Gaps & Gaps of Gaps

tl;dr: Code and Visualization of the prime “gaps of gaps” table The prime number sequence fascinates me.  I am not sure why but exposing properties in it is exciting.  Even if they are mundane and “obvious to everyone else”, the fact that I can answer questions visually, sometimes thrills me. * Update below

Visualizing US Presidential Elections

I am a curious cat by nature, and a visual one at that, so back in 2012 I made a little scatter plot of the popular votes in the recent presidential election… { “tl;dr” : “https://github.com/ology/Election-Viz/ & 1900 to 2012 elections” }

Musical Deltahedra

One day I became curious about musical triads (three note chords) as geometric triangles. I speculated about the actual sizes of the sides, given the intervals between the notes at the corners. Then, in no time, I was off day-dreaming about wobbling, vibrating triangles and string theory…