This is a sample post from Jabber to make sure that what I sent to radio-dev works correctly.
The post was sent via Jabber, but the link, this paragraph, and the addition to the Jabber category was later done by hand.
I've got basic event handling in the Jabber framework now; I've got messages and tommorow I'll add presence. After that, I think Dizzy will cry when he sees how short the presence monitoring code is from the user's end... >:-)
School and stuffJabber, Personal Commentary
I am currently attending grad school, and have been for a year+ now. I still don't regret the decision to stay. Today I learned about the "dynamic programming" technique, which I'd heard a lot about, yet never fully understood. The presentation was clear, I came away understanding what it was about, and I really don't know if I could have read something as clearly as I understood the presentation.
But it's getting tough. I like to say that for me, grad school is a race between my desire to learn things that I believe I can't learn as quickly or as well in the "real world", and my desire to stop jumping through homework hoops, with a healthy dollop of "I've worked this hard for the degree, I might as well keep going" as I get closer to the end. (That last factor may well end up carrying me.) People often laugh when I say that, but it's not really a joke; I'm surprised more people don't put it that way.
Why do I bring this up now? Because while the homework I'm doing tonight, from the class where I just learned about dynamic programming and two applications of the technique I wouldn't have guessed at in a hundred years, is at least reasonable, the next assignment coming down the pike from the next class is going to suck for me. The assignment will be to (drumroll please...) write a framework. In Java. In an assignment written for two people where I can't find a second person that can even come close to keeping up with me. (There are such people in my class, but they all have partners already. For some reason, I know virtually nobody in that class, and virtually everybody in my other.)
Hmmmm... that sounds familiar. Oh, right, I just spent my entire Spring Break writing (the beginings of) a framework! One that people are actually excited about! And planning on using! Oh boy, I can't wait to work in Java on this assignment! The last one only ate about 30 hours, I'm sure this one will be easier! (Actually, since I flatly refuse to work with the same partner again, it will at least be easier to schedule.)
I'm seriously considering asking if I can continue work on the Jabber framework and ask for credit on the assignment that way. I don't know if it'll fly, but perhaps it's at least worth a try. Otherwise, my development on the Jabber framework will be coming to a screeching halt later this week, when the assignment is made.
I emphasize my in the last paragraph because I'm not trying to hold the Jabber framework to my chest here... if anybody wants to code something, feel free. As we go along, the capabilities get more and more orthogonal, especially once I get notification going. But I admit I don't expect anything for a bit. ;-) It's still young.
Requiring connection references?Jabber
I was seriously considering changing the Jabber verbs to use the first connection reference by default, and allow people to specify a connection reference if they want, instead of requiring it. But as I was writing this post, I realized that I couldn't then guarentee that the 'preferred connection' would not change in mid-script, depending on what other threads may be doing.
Design exploration through documentation.
John Robb's commentJabber
'Jeremy Bowers (author of iRights) is doing great work on connecting Jabber to Radio. Lots of mind bombs here. Most of the IM crowd can't see beyond simple chat etc., but the real gold is in making connections possible. Connecting desktop Web apps is the future of Jabber.'
The funny thing is, I don't even like IM. (Sorry, Jabber people!) Same reason I dread the day I have to get a cell phone. I like communication, but on my terms. Checking email or my News Aggregator is enough, thanks. But the potential of using an IM system for IPC is wonderful, which is why I'm doing this stuff.
It makes me wonder if there's anyone at Microsoft analysing the possibilities of taking MSNMessenger and using that infrastructure for this sort of thing. Of course, that virtually REQUIRES allowing people to run their own servers, as Jabber does. (I bet if there's nobody there thinking about it now, there will be in three months.)
I think that Jabber is well on its way to becoming one of the major poster children of Open Source.
I think I'm going to take a permissive approach... rather then try to ensure that a given Jabber event goes to just one place, I'll allow multiple things to subscribe to Jabber events.
Also, no matter how I slice it, there are several distinct kinds of events an entity may wish to subscribe to. Some sort of IM client may want to listen to all incoming events. Dizzy's presence montitor just wants to listen to presence messages. I think I'm going to set up a system whereby you can either request a specific type of message, or give the Jabber framework an address of a table to check for message handlers for certain events, like "message" and "presence". If a handler is present, then it will be called, otherwise nothing will happen.
Jabber Framework InfoJabber
This is a new category for the tracking of my development of the Jabber framework for Radio Userland. I will describe new features and tell about my progress as I go.
There is an RSS file for just this channel: http://www.jerf.org/irights/categories/jabber/rss.xml
|<- Future Posts|