Sieve of Eratosthenes in Scheme
2010/06/20A simple implementation in PLT Scheme (Racket, whatever):
A simple implementation in PLT Scheme (Racket, whatever):
I’m a huge fan of Greg Bear. While not always the most elegant wordsmith, he knows how to write good, hard, compelling science fiction.
I’ve recently finished Darwin’s Radio, an enjoyable present-day drama that chronicles the outbreak of a genetic retrovirus across mankind, now manifest after centuries hidden away in our DNA. It follows a group of progressive scientists and journalists in a struggle
I had to take a break from finals week projects to write something fun, for a change. Here’s the result; a Brainfuck interpreter in Ruby…
Recently, I came upon the need to modify a group of existing methods in Ruby. More specifically, I wanted to change the return value for a few of the built-in methods inherited by a subclass of Array I was writing. Luckily, the language provides a set of slick, if somewhat obscure, methods to achieve just this…
Here is a quick, [slightly sloppy,] 10-minute demo of tmdas.
Sorry about the video quality — It was all my little netbook could muster…
For a while now, I’ve been working on a Ruby livecoding environment, based originally on code found in this book. From that it’s grown quite a bit, and I just pushed the first version that might be useful (or usable) for someone other than myself…
Having recently transformed my Macbook Pro into a desktop computer (by way of exploding thermos), I wanted to put it to good use, even in its hobbled state. I noticed that MPD is installable via Macports, and I thought it would be cool to use my immobile laptop as a music server. With this slick little app, I can now listen to any of the music I have on my hard drives at home with my laptop while I’m out and about. This wasn’t too tough to set up, either. Here’s how to do it…
OS X is a Unix system. However, it’s a heavily-modified Unix system, and in most cases this means most things are done just differently enough to be frustrating, and to render most of the *nix how-tos out there useless…
A string of bad luck has led me to restart this little site of mine once again. After an absent-minded deletion of my old site’s database, I was left homeless on the web. A week later, an exploding thermos ravaged my Macbook Pro, leaving me with a very expensive, mostly-broken desktop computer. I got myself one of these, which has turned out an extremely solid buy. I’ve recently started a new job and a new semester, so with all this newness I figured a new site was in order…