Friday, December 15, 2006

It would be really neat to be able to post to the new Blogger Beta with Emacs. Here's some links that might help:

backpack.el - Interact with Backpack from 37signals with Emacs
rest-api.el - A REST API in Emacs
org-mode todo list
- Google Data APIs (Beta) Developer's Guide
How the web works: HTTP and CGI explained

Right now, telepathytest.com already works, and has worked for a number of months. However, I have very limited server resources, and it's going to take a dedicated Rails server for each Sender and Receiver, which is going to add up to a lot of memory use for a decent amount of people.

The way I'm thinking of doing it is to have a custom C server that listens on a port and talks to the Javascript clients, starting the test, checking to see if the two clients are still around, perhaps getting intermediate results back from the Receiver, and then storing the results in the database.

Another way to do it would be to just write the C server as a really simple CGI script that would talk to the Postgres database. However, this really doesn't appeal to me from a coder point of view, since if we just could keep the data in memory, it could be so fast and cool.

I'll keep you informed as to my progress. :)