Visualize Move, Protection and Threat Status in Chess

tl;dr: When I was a kid, my younger brother became a chess master and would regularly thrash me in the game.  Invariably this seemed to be because I would do something dumb like leaving my queen threatened and unattended. As with many budding CS students, I devised my own chess playing program, but in […]

Fibonacci v Primes: Cage Match!

Today I decided to more deeply investigate this curious math thing I discovered (for myself) – Plotting the Fibonacci numbers by Prime numbers each by a given modulo.  “Fibo-what? Mod-what? So what!”, you say. :p tldr code: slice-seq and slice-seq.R For the mechanics, I use Perl to produce the data and R to visualize it.

Re-learning Prolog

Frankly, I think Prolog is the sexiest computer language ever. Programming with a free-form propositional logic? How cool is that? tl;dr:

After over 15 years of solid LAMP development with Perl and friends, I have finally started to use Python – both as programmer absorbed with the syntactical nuts and bolts, and as scientist manipulating and visualizing data. Frankly, it is exciting.

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…

Sundays are for Studying

For a while now, I have been studying the properties of physical knots with respect to tightening.  It all started when I saw the Terry Moore TED talk on How to tie your shoes and the weak vs strong form of the simple shoelace knot.  Today I found this handy paper: A 2-Chain Can Interlock with an Open […]