Archive for December 13th, 2009

CS50 Projects!

Hey everyone, as you may or may not have known, the CS50 fair was this past Tuesday, and three of us participated (Danny’s too good for CS50, although we did try to get him to TF the course).

Note: The cloud is being reset on January 1, 2010, so the links will no longer work  soon.

Charles’ Project:

An automated trading system analyzer written in Python3 (eventually going to be moved to its own domain).     http://cloud.cs50.net/~li15/fp/

fpcharles

Duncan’s Project:

A course selection tool that randomly selects appropriate Core classes.  http://cloud.cs50.net/~dwatts/final

fpduncan

Tom’s Project:

An interactive speech recognition program named “Hal Py-Thousand.”  Source Code:  http://www.blandfill.com/tomstuff/CS50.rar

fptomDanny:

Look at the post below for one of Danny’s many projects.  http://www.blandfill.com/2009/12/13/gchat/

No Comments

GChat

Someone in the room mentioned that we should create a GChat bot that would let us all talk together without the hassle of creating a chat room each time. Having used xmpppy before, I went and did it.

The result:
chatbot

(Charles changed my GNOME theme to pink some weeks ago.)

Tom then wanted me to write a post about how I did it, so here it is. Without going into a description of the library itself, it works as follows: when it gets a message from one of us, it prepends the appropriate initial and sends the message to the rest of us.

I guess I can go a little more into the details of the library (especially because the documentation is pretty annoying). (There still isn’t really that much to say.) You run some commands in the library to create a connection and log in, then register a function with the connection object to handle incoming messages. I suppose I can add more description if anyone wants. Code.

So that I can get all the tags:
http://acme.com/jef/singing_science/
http://www.youtube.com/watch?v=OM0ib4GxLPw

2 Comments