? ?
brad's life [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Quick update [Feb. 17th, 2006|12:01 am]
Brad Fitzpatrick
[Tags|, , , , ]

Today (yesterday): kinda wrote a Jabber server. Or a Jabber server base class, really, so you can subclass it and deal with auth, roster, presence, etc, all how you want.

Artur and I quickly evaluated all the open source Jabber servers a couple weeks ago and none were extensible enough for things besides auth. So yesterday he comes in and says, "Dude, why don't we write our own, how hard can it be?" Answer so far: not hard at all. A half day of hacking (and learning Perl XML stuff) and I got something working a lot more than I'd thought.

The server begins:

use strict;
use Getopt::Long;
use Carp;
use Danga::Socket;
use IO::Socket::INET;
use POSIX ();
use XML::SAX ();
use XML::SAX::Expat::Incremental 0.04;
use XML::XPath;
use XML::XPath::Builder;
use XML::Filter::Tee;

... So you know it's good! ;P

Tomorrow (today) day: Work on it more. Wrap up email.

Tomorrow (today) evening: Fly to Belize and put all dork stuff out of my mind for 10 days as I swim with the fishes. (literally)

[User Picture]From: caladri
2006-02-17 08:14 am (UTC)
OpenID auth, or LJ account auth? Cause I'd love a
(Reply) (Thread)
[User Picture]From: brad
2006-02-17 08:20 am (UTC)
Immediate thought is LiveJournal. I don't think OpenID works as well. It's very HTTP-oriented. But maybe one of those eight dozen JEPs addresses it.
(Reply) (Parent) (Thread)
[User Picture]From: mart
2006-02-17 08:18 am (UTC)

Your timing is excellent, since just the other day I did the same evaluation and came to the same conclusion. Now you just need to get it finished in the next week or so and I can use it at work! :)

(Reply) (Thread)
[User Picture]From: brad
2006-02-17 08:21 am (UTC)
Sorry, leaving the country. Won't get back to it for 10 days.
(Reply) (Parent) (Thread)
[User Picture]From: mart
2006-02-17 08:25 am (UTC)

I know, I know. Was joking. ;)

It's not quite as urgent as that, though if you put it in CVS I might actually be able to play with the unfinished version in the mean time!

(Reply) (Parent) (Thread)
[User Picture]From: taral
2006-02-17 11:32 pm (UTC)
Arg. Jabber sucks.
(Reply) (Thread)