Powered By:
Clearspace
BlatherSource: Because development won't keep quiet

Daniel Henninger's BlatherBlog

4 Posts tagged with the jml tag
2

I've been quiet for a bit.  Most of you know how blogging goes ... you get excited about it or have a lot to talk about for a time, and then you start doing less and less posting.  Though some of you are quite adept at regularly posting ... to you I give the virtual thumbs up.  =)  But what have I been up recently?  Quite a bit actually.

 

For those who don't know, I left my university job of 11 years at the end of October and joined Jive Software.  My work with Jive fell right in line with "what I really want to do" for my career.  =)  Plus, they're all really great people.  That said, I'm working from across the country (waves) and quite enjoying it.  Maybe Jive will open up a Raleigh-Durham (Research Triangle Park?) office at some point.  ;D ;D ;D  Anyway.  I have continued my IM Gateway work, become one of the primary developers of Openfire, and become the lead developer of Spark (amongst other things).  I've been enjoying all of these things quite a bit!  I don't get to spend a lot of time on Spark, but when I do, it's quite fun to be playing with the client side again.  It's been a loooong time.  At this point I get to play with all three of the main areas of XMPP (Client, Server, and Component)!  It didn't take that long to adapt to Jive's environment though.  I actually really dig more deadlines and scheduled releases and such.  Frankly, it helps me mind "pick a target" when I'm trying to decide what to work on next.

 

So what's happened to PyICQt and PyAIMt?  I've officially stepped aside.  I moved them to Google Code so that others can more easily become involved.  You can now find them at:

http://code.google.com/p/pyaimt/

and

http://code.google.com/p/pyicqt/

I haven't removed myself as one of the "owners" yet on there so that it's possible for me to facilitate others becoming involved in the project for the next month or so in case others have been dying to get involved and didn't think about approaching me before.  A couple of other folk have stepped up and are doing a few things with it!  Yay!   The new location of the py-transports "mailing list" is now a Google Group at http://groups.google.com/group/py-transports.  I must admit, at this point, I don't miss them.  I do hope that they keep going though as I do believe they are good projects.

 

What about the XMPP Script Repository?  Well, I moved that to SourceForge: http://xmppscriptrepo.sf.net/

I won't be actively managing it, but if you are interested in becoming involved with it, please ping me and I'll set you up!  (let me know what your sourceforge id is)  It's using a SourceForge tracker to handle new script submissions.  If people -do- submit things to it, that would be about the most maintenance it needs unless you really feel like doing some significant work with it.  So... lemme know!

 

So what's left of BlatherSource?  You're "looking at it".  All I'm using BlatherSource for at this point is my blog.  I may do something else with it at some point, but for now it's just my blog.  I did like the interface I had put together for it, but I just don't have time to keep developing it/to manage it, ya know?  Many kudos to my hosts at Modevia.com for putting up with my requests for the site.  =)

 

I do still have a site for JWGC, http://jwgc.sf.net/ (moved it to SourceForge).  No idea if I'll ever do much else with it, but I like to keep it around.  It's my first XMPP related project ever.  =)

 

So... why did I move PyAIMt and PyICQt to Google Code instead of SourceForge?  Well, mostly because I wanted a wiki for the documentation and I couldn't find one on SourceForge.  Of course, an hour after moving everything I found that SourceForge -does- have a wiki.  Color me blind...  Doesn't matter, was neat to see what Google Code offers in terms of services.  I really like their "easy on the end user" issues tracker.  I don't like their web space offering though.  Spaces I think it is?  Whatever it is I don't like it.  I couldn't do with it anything like what I wanted.  I hear they are looking into a better solution at some point, so that might be cool.

 

After looking around relentlessly or a Java OTR library .. something like libotr that Pidgin uses, I decided to request a project on SourceForge to write my own.  Hopefully others will find use in it.  It's not approved yet, but if it is, it'll be jotr.  (http://sourceforge.net/projects/jotr ?)  If anyone is interesting in helping me out with that, I would greatly appreciate it!  I was rather surprised to see nothing already exists for Java for OTR.  (then again, I could have just not found it, but I tried really hard to find it  ;D  )

 

The IM Gateway plugin ended up putting me in the lead developer role of Java-JML (http://java-jml.sf.net) (MSN messenger library for Java) and also a developer of Martyr (http://martyr.sf.net/) (IRC library for Java).  Things sure do pile up quick, don't they?  =)  Those have been fun though.  I've gotten to work with Smack a little more as well in my Jive work, so that's been cool.  At this point I feel like I'm touching just about everything!  lol  Who knew that I'd go from being irritated with Java to enjoying working with it so much.

 

Anyway, so that's what my life has been lately!  New job, new adventures, letting go of some of the old ... moving forward.  =)  Yes, I do still have some XEPs to write/propose on the backburner.  I just haven't gotten to the point where I need to write them.

2 Comments 0 References Permalink
0

The problem with personal projects is just that, when the person in question gets interested in another project or busy or whatever, development stops.  This is what the current status of PyAIMt and PyICQt is.  I am having a lot of fun with the IM Gateway plugin for Wildfire, and as a result I don't feel interested in putting any time into PyAIMt and PyICQt.  Are these two dead now?  No.  I still have "things I'd like to do with them" in my head.  It's just most likely we'll see a 1.0 version of the plugin before I touch PyAIMt and PyICQt again.

 

One thing that the IM Gateway plugin has brought me is that I'm now quite comfortable working with other folk on the same source code.  That said, I'm trying to weigh the pros and cons of enlisting help with PyAIMt and PyICQt.  There are quite a few folk that are interested in using it, a few folk who submit me patches from time to time, and certainly general interest in the transports.  So my question posed is...  Are there folk out there who are fairly experienced python programmers who would be interested in becoming active developers of PyAIMt and PyICQt?  I am not handing off the project and will continue to be the project lead, and will continue to put development time into them as time permits.  Anyway, I have not yet decided on this, I'd just like to hear from folk who might be interested in contributing.  If I see some interest that'll help drive my decision.  =D

 

On a semi-related note, I continue to find java with an IDE to be fun and interesting.  I think working with java without an IDE would be maddening due to how long it takes to compile and test things in the environment I'm using it in, and it's certainly saved me a ridiculous amount of time in debugging stupid typos and crap.  The IM Gateway plugin itself is going pretty well but unfortunately there's a lot of work that involves working on support libraries as well.  The original developer of Java-JML turned over development to me so I've been working on that.  That's pretty fun, I know more about the MSN protocol now than I ever expected I'd know.  The Yahoo library is ... kind of a pain actually.  =/  Right now Yahoo is the biggest source of issues for me.  Joscar for AIM/ICQ is a damn fine library, but I want to move to using a more simple API and I can't seem to figure out how I use Joscar's simpler API.    Perhaps I should like... ask them instead of just blogging about it.  I tried figuring it out from Adium X but yeah...  =)  That's kind of a weird setup.  I need to work on implementing the old school ICQ authentication because, unfortunately, the "new style" AIM auth only works with newer accounts.  (how bizarre)  I've still got a lot to work on with IRC as right now it's a mightily talkative transport and I doubt most folk want to see all of that.  =)  My biggest issue at the moment is that I'm fighting with AJAX support in the web interface.  Trying to use DWR... seems like it should work fine... doesn't.  I wanted to figure this out on my own but it looks like I shall be deferring to the Jive folk to get it taken care of.  So many things to do.

 

So anyway.  Thinking back, I remember that the thing I thought was so awesome about XMPP is that the entire spec was written out and 'open'.  My first endeavour was that I like the Zephyr system from MIT and thought, based off the open protocol, that it would be neat to implement zwgc and friends except to communicate to Jabber/XMPP.  This formed into JWGC.  Transports came later, etc etc.  The great thing is that the openness of the protocol leads to a great feeling of being able to write your own client/server/whatever to learn how it all works and go from there.  The bad thing is that the openness of the protocol leads to a great feeling of being able to write your own client/server/whatever to learn how it all works and go from there.  =)  Now, I don't think this truly is a bad thing, but it does lead to a -lot- of starter projects written and then ditched.  I often see folk come jadmin and jdev asking about where to start in writing their own client/server/whatever, and typically they get a response of "why not just contribute to an existing project?".  If the person's goal is to just learn, starting from the ground up is not a bad way to go.  If the person's goal is to get a server/client up and running that has X feature that all of the servers don't have, contributing is definitely the better way to go.  What's the fine line between writing your own and not writing your own?  I certainly can't answer that.  Note that I think asking "why not just contribute..." is a good way to go about it because that encourages the person to say "well I just want to learn", at which point ok, go for it.  Or it encourages us to help point the person in the right direction.

0 Comments 0 References Permalink
0

Future Improvements?

Posted by Daniel Henninger Oct 22, 2006

In working with the IM Gateway Plugin, there has been a pressure to try to improve the way transports are handled in general.  I've begun the process of seeing what could be done to improve things, but one of the big sticking points seems to be not having the transports in your actual roster.

 

Now many clients provide an option to simply hide transports from your roster.  IMO, this is not a bad way to handle it.  Leaves it up to the client to decide whether to hide things or not.  It also allows for the end user to decide whether or not to see the transports or not.  I, for example, like to be able to see the transports and how they reflect when I'm logged in, what my status is, etc.  (because, for example, AIM only does available and away, none of the other statuses, and this is neat to see in my roster because I know that AIM folk don't know that I'm set to do not disturb)  It also allows clients like Psi and such to provide me a way to right click and choose log out.  (equiv of sending a directed presence packet)

 

So how would you go about having a transport detect that you've logged in if it's not in your roster to be telling you so?  Well you can cheat for one.  The IM Gateway Plugin allows me to use internal listeners.  This solution, of course, isn't going to help external transports a lick.  But for the plugin, it's nice.  Another way might be to require some sort of ad-hoc command to log into legacy services.  Like instead of auto-logging in, you have to select "log me in".  But then how does it detect status changes and such?  More ad-hoc commands?  Eww!  How many freakin' ad-hoc commands does it take to screw in a lightbulb.    Another way could be to create some sort of 'trust' relationship with a transport.  So a transport could indicate to it's attached server that it wants to be notified of any presence changes.  Not so sure about that either.  I think that was already addressed a long time ago in regards to transports wanting to interact directly with a user's roster.

 

Long story short, I think this will be fine for the IM Gateway Plugin to ditch the roster, as it apparantly confuses some folk to see transports in their list, but I don't think this is viable for other transport implementations.

 

That said, some issues have come up that -should- help other transports.  I'd like to, for example, write up an XEP that focuses on how to handle user preferences.  I'm not talking things like, "what theme for your client" but rather things that are handled on the server end.  For example, mail notifications.  AIM has them.  Not everyone wants them.  User should be able to go in and choose "no or yes" for mail notifications.  =)  These are enabled or disabled on the transport end and a client shouldn't be expected to have to be bothered with ignoring lots of things it doesn't want in the first place.  This is basically an ad-hoc command type of thing, but I'd like to standardize it or make it a "best practices" type of thing.  That way client devs could fairly easily go "oh this one supports user prefs, I'll provide an easy link for that".  Something like that.

 

Another one is a XEP that I had intended to write a while ago... basically something similar to Jabberd2's component protocol where the transport itself can connect and tell the server what jid's it wants to be.  This means that the transport could say "Hey, I'm aim.jabber, chatrooms.aim.jabber, and fries.aim.jabber" and the server could go "oh ok, well you got 'em" or "bugger off, those are taken".  Wildfire actually implemented this in a slightly different way than Jabberd2, but I think the same XEP could address both just fine.  I believe I originally called this "Extended Component Protocol" or something like that.  Who knows.  It's been a while.

 

On a side note, I think I figured out what was causing problems with Java-JML.  Basically I kept getting a severed connection upon logging in.  Turns out I think that the server Java-JML has for "fast login" is not a good one.  Theoretically you are supposed to connect to a nexus first and it'll tell you a login server.  I'm doing that now.

 

BTW, Thanks to the Cenqua peeps for providing me with a Fisheye setup for Java-JML!  I'm going to link that off the Java-JML site in a bit here.  =)  I love me some Fisheye.

0 Comments 0 References Permalink
0

Housecleaning

Posted by Daniel Henninger Sep 30, 2006

Why do I often find it so hard to clean up my roster?  Just about anyone who has ever talked to me sits on my roster forever and I typically only end up talking to them for one or two sessions and that's it.  What do I need them on my roster for?  It's just causing my server extra work every time I log in!

 

So anyway, I spent a good couple of hours here cleaning up my roster and now it's nice and small.  I'm not entirely pleased with Adium X's roster deletion handling because just about every time I deleted a roster item, it reappeared and I had to delete it again.  =/  That said, it's a beta, so what do I expect.  =)

 

Logging in is now lightning fast.  I know some folk take offense at being removed from a roster, but if I removed you, this gist of it is, we don't talk much, I have no reason to need to know when you are online and/or initiate regular chats with you.  Certainly doesn't mean I'm not willing to talk to you. 

 

Anyway, was kinda fun to do the housecleaning.  There's a couple of legacy network contacts I still need to boot, but that involves well....  finishing adding support for that in the IM Gateway plugin.  ;D  or rather, fixing it

 

I'm thinking about spending a little time and packaging up PyICQt and PyAIMt into 0.8 releases.  PyAIMt is more work because it means I'll be pulling over updates from PyICQt to PyAIMt, but hey, no worries.

 

I got to try out an eval version of Jabber XCP.  I will finally have something to test XCP support with with the Pys!  Yay!  Setting up XCP was not entirely trivial.  It took me about an hour and a half and about 80 pages of documentation.  I'm not sure how much of this was postgres sucking or not, but it definitely wasn't as easy a process as I expected.  That said, now that it's running, it's lightning fast.  (well it's also not handling the load of my real contact list, but still)  Anyway, thanks to the XCP folk for hooking me up with a copy to test against!  I've always hated supporting something I couldn't test myself. 

 

I've been finding that some of these java based tools for .. well all sorts of tasks .. are quite nice.  I like Jive's forum software quite a bit, I adore Fisheye... far more useful to me than websvn ever was.  In fact websvn was never really useful to me.  I also adore JIRA, though I must admit it's a little too "serious" for something I'd probably want to use with my Py transports.  I love it for the IM Gateway plugin though.  It's got a really nifty feel to it.  Something else I think is really neat is that it looks like a lot of the the folk that make such products "play nice together".  By that I mean, I see Jive Software (Jive Forums) using JIRA and Fisheye, Cenqua (Fisheye) using Jive Forums.. don't know if they use JIRA, the JIRA people using Jive Forums ... etc etc.  Same with IntelliJ... it's just really neat to see them all using each other products.  It's like one big product hug circle.  =)

 

I'm basically in charge of Java-JML nowadays.  The former developer doesn't have time for it anymore.  Sourceforge is still kinda similar to how I remember it, but they do appear to have a few neat new things.  =)  I like the project and am certainly cool with being in charge of it.  Will give me a better understanding of MSN anyway.  I've applied for an open source license of IntelliJ of my own so I can make use of it with non Jive projects.  At first I was tentative about this because I didn't want to start using a tool that like the original developer of java-jml couldn't use, but I based off the license, I could indeed share it with all other devs on the project.  That's very cool.  More importantly, I saw that the joscar folk and other such projects are using it, which gave me a lot of "ohhh  other similar projects are doing it, ok then" warm fuzzy.  =)

 

While this weekend has not really started off on a happy note, I think I might make it a release day and try to get a couple of things released today.

0 Comments 0 References Permalink