Posted in Software, python programming on Dec 26th, 2008
Hey all: So, I am a little embarrassed to admit that this is my second python program, but happy to say that it works well, and is quite readable. Just thought I would share a simple quicksort in python: def getFunc(array, x, func): ret = [] for num in array: if func(num, x): ret.append(num) return [...]
Read Full Post »
Posted in Networking, Software, svn, trac on May 28th, 2008
Everone has a favorite networking tool that they love to use. When it comes down to it, for me, netcat is the absolute best of class. There are a couple of things it doesn’t do, however. I was looking for a replacement bit of software for the RIT Buoy project (there would be a link [...]
Read Full Post »
Recently, I programmed a neural network that (successfully) learned to optimize its payoff while playing blackjack. However, I did it in C. A little research showed that most people don’t use C or C++ for AI applications, and that functional languages (as well as those that have internal support for the use of symbols) were [...]
Read Full Post »
Recently, in one of my favorite classes (AI) we were all assigned to write a bit of software that was able to solve a problem that involved rolling a die. Here is the description of the problem: In a rolling-die maze, you typically start with a standard six-sided die with a given face facing up [...]
Read Full Post »
Posted in Software on May 8th, 2008
With all of the trouble I had putting some of these together (can you say ISR vectors?) I thought I would post them on this site for use by anyone. No rights reserved, please, feel free not to credit me. They are specifically for use with the development boards available at RIT that have the [...]
Read Full Post »
Posted in Software on May 8th, 2008
Designed for CS4 at RIT, this is a simple puzzle solving framework that is written in C++. It does a breadth first search that iterates over any state space and makes single changes to nodes (in the code they are called deltas). The program terminates when all of the nodes are in their target state. [...]
Read Full Post »