An infinite number of mathematicians walk into a bar...
The first one orders a beer. The second orders half a beer. The third, a quarter of a beer. Before the fourth mathematician can place his order, the bartender says "You're all idiots", and pours two...
View ArticleBoids Sandbox
In an effort to discuss past projects that I've enjoyed working on, I'm going to start with one from my senior year of college. As part of my elective Artificial Intelligence course, we had to end the...
View ArticlePython Genetic "Hello World"
I've always enjoyed using computers to solve problems I'm too lazy to solve myself (see my Monte Carlo attack on an old math joke). That's why I got really excited when I read Howard Yeend's post on...
View ArticleGenetic "Hello World"- Clojure Edition
Last post I talked about implementing the Genetic Algorithm equivalent of "Hello World" in Python. Since I was learning Clojure around the same time, I decided to implement the algorithm the newer...
View ArticleInno Setup checkedonce flag in Code section
When using Inno Setup, you can set flags to any of the optional [Tasks] your installer might be preforming. We were using the 'checkedonce' flag for one of our tasks at work to make sure the Task was...
View ArticleImageMagick subimage search
As part of a larger project, I needed to find the coordinates of any instances of a small image inside a larger image. Here are the two images:I think you can guess out what my project was. Anyway,...
View ArticleCursor-10 Clojure bot
Usually when I say I love using programs to solve problems for me, I'm referring to some kind of machine learning. Today, I mean I'm using the raw power of automated mouse control beat a flash game...
View ArticleRSA-Cryptography in Clojure
I've been playing around with some simple RSA cryptography in Clojure. It was inspired by this problem on Programming Praxis.The problem is to create a working RSA key generator. Then, functions need...
View ArticleRelearning Data Structures with Python
I realized the other day that I had learned about tons of data structures in class, but I've never used some of them in production. So, I set out to write simple implementations of a hash table and...
View ArticleDice games confuse me -- testing a strategy in Python
My friend (let's call him Coleman) told me about a dice game today, and how using probability you could increase your win percentage. I didn't believe him, and I set out to prove him wrong.First, let...
View ArticleNew toy! Rooting a Nook Touch
So last week I made my first impulse buy in a while; I bought a brand new Nook Simple Touch. Why? I spend way too much time looking at LCD screens, I would love to change some of that to e-Ink (going...
View ArticlePython scripting to access Android GPS
One of my long-term ideas has been to record myself playing Ultimate frisbee. I think visualizing a player's movement around the field (as well as the analytics you could get from the movement) would...
View ArticleZeromq benchmarking with large objects
At work, we're in the process of adding zeromq to our architecture. We plan to use it to make our C++ application multi-process (and eventually multi-computer).We currently move the data between...
View ArticleImporting a custom Python package in Amazon MapReduce
Amazon's MapReduce makes it difficult to use custom, application specific modules in Python applications. Without special configuration, MapReduce only loads the two map/reduce files into its streaming...
View ArticleHardware Hackathon with Arduino and LEDs
Recently I was invited to BetaSpring's Hardware Hackathon. And by invited, I mean I filled out a free online signup form. I was very excited for the hackathon - all my projects have been extremely...
View Article
More Pages to Explore .....