EOL

This months project is called EOL - Erlang on-line. The idea is to set up a collaborative project to build a server-less pager - rather like ICQ but without the server.

The pager will have an open architecture to allow anybody to plug in an application module. I'll write the basic stub code to do authentication and launch an application, I'll even write the first application (chat) and throw it open to the world. All the code will be published here.

The idea is as follows:

The first bit of code is eol.erl, this reads and writes an Erlang ground term to a web page, some of the interfaces are:

put_term is implemented with FTP, and get_term is implemented with HTTP. The term T must be a ground term (Why - think about it).

The term itself is stored by computing term_to_binary(T), converting the result to a list and base64 encoding the result with base64.erl.

There is also a little test program eol_test.erl that was used to test this stuff, and to maintain the eol pages.

Competition

I gave the following command:

Which resulted in this term. What was the value of X? All the code you need to answer this is on this page. You might also need a copy of Erlang to solve the problem.

The first person to mail me an answer will get an honorable mention.

Honorable mentions go to ...

  1. David Brown <ug-erlang@davidb.org> - who mailed me about an hour after I posted the article - well done David!

The next step is ...

... to write the pager. From now on I'm thinking out loud.

We start with a user profile, something like ...

Was that self explanatory?

Converted from eol.ehtml by ehtml.html