Tag Archives: Ruby

Nytimes Oracle (a Markov text generator)

From this comment on HN, I came across a well-written article on generating sentences using a very simple Markov algorithm.  The basic idea is that a body of text is divided into word-pairs, where the frequency of a given pair determines the likelihood of the generator producing the second word in that pair when presented [...]
Posted in Ruby | Also tagged , , | Leave a comment

How I develop on OSX

It recently occurred to me that I’m dumb. I certainly don’t mean this in any pejorative sense (after all, that would be abrasive to the ego), but rather I would suggest it as regards a behavioral pattern that I tend to follow. Roughly, said pattern goes like this: Identify problem On the grounds of theoretical purity, construct needlessly complicated solution. Implement solution. For [...]
Posted in Apple, Rails, Ruby | Also tagged , , | 3 Comments

The Tweeting Narcissist

I’ve been playing a bit with the Sinatra web framework, and after some intermittent coding, I ended up with a toy project I’m calling the Narcissist Quotient. It may seem that I’m poking fun at of Twitter’s ego-centric bent, and perhaps this is true. It is equally possible, however, that my design is to satirize [...]
Posted in Computer Science, Ruby | Also tagged , , | 1 Comment