Hi,
I am interested in looking at the Squeak Jabber package, but all the links I find are broken. eg: http://www.squeaklet.com/IM/Jabber-2.0b.cs.gz
Is there a reason this project has disappeared or is it still available?
Thanks! Liz Wendland
Liz Wendland wrote:
Hi,
I am interested in looking at the Squeak Jabber package, but all the links I find are broken. eg: http://www.squeaklet.com/IM/Jabber-2.0b.cs.gz
Is there a reason this project has disappeared or is it still available?
Hmm, yes... Stupidity ;-) :-(
Somehow the server files for squeaklet got skipped in a server move, I'll dig those out and make it available again. I should also package Jabber as a Monticello package and put them up on SqueakSource.
Michael
Quoting Michael Rueger michael@impara.de:
Liz Wendland wrote:
Hi,
I am interested in looking at the Squeak Jabber package, but all the links I find are broken. eg: http://www.squeaklet.com/IM/Jabber-2.0b.cs.gz
Is there a reason this project has disappeared or is it still available?
Hmm, yes... Stupidity ;-) :-(
Somehow the server files for squeaklet got skipped in a server move, I'll dig those out and make it available again. I should also package Jabber as a Monticello package and put them up on SqueakSource.
And I should really dig out my server code and the changes I made to your library and put them out there. Not sure I'll be doing much Jabber development myself as nobody I know seems to use it anymore, but might as well get the code published in case someone wants to continue it. Have you done anything to the code in the last year while I've been away, Michael? Perhaps we should collaborate to put what we had up on squeaksource?
Julian
Hi all,
And I should really dig out my server code and the changes I made to your
library and put them out there. Not sure I'll be doing much Jabber development myself as nobody I know seems to use it anymore, but might as well get the code published in case someone wants to continue it. Have you done anything to the code in the last year while I've been away, Michael? Perhaps we should collaborate to put what we had up on squeaksource?
I was looking for it the other day as well. Google Talk utilizes the Jabber protocol so I'm interested in building a Google Talk client. Regards,
John
Julian Fitzell wrote:
And I should really dig out my server code and the changes I made to your library and put them out there.
Please do! I've been working on a Smalltalk Jabber server myself, and since it was the first Smalltalk program of any size I ever wrote, I'd love to see where I went wrong and learn better idiom.
(If anyone's interested in my code, I could publish it, but it's only about half-finished, besides being generally pretty awful. It doesn't even do messaging yet.)
Tony
Quoting Tony Garnock-Jones tonyg@lshift.net:
Julian Fitzell wrote:
And I should really dig out my server code and the changes I made to your library and put them out there.
Please do! I've been working on a Smalltalk Jabber server myself, and since it was the first Smalltalk program of any size I ever wrote, I'd love to see where I went wrong and learn better idiom.
He he... well, I've done it. It was actually easier to get work than I expected since many of the dependencies I had last year have now been included in Squeak.
By the way, looking at this code reminded me how much I wanted traits when I was first writing it. Jabber has all these protocol elements, many of which share various attribute sets but not in a single inheritance fashion. I was playing all kinds of games to build up a class hierarchy representing these elements and it wasn't much fun. If I do decide to keep working on this, I think I'll try to see how it improves with the addition of Traits.
So here's what you do:
- grab a 3.8 image - head over to www.squeaksource.com and find the Jabber project - install the KomServices package there (Göran, I have a version that removes the use of Dynamic Bindings and adds a pluggable service... I can merge the changes into your new package if you're interested) - install the Jabber package - get a server running:
JBSRouter default addServiceOfClass: JBSClientService identifier: 'localhost'. JBSRouter default services do: [:ea | ea start].
Then point your jabber client at localhost:5222, tell it to create a new user for you, and you might find it works. Or you might not... :) Open a transcript: you'll see message being encoded and decoded. I tested it tonight with Psi and was able to create two accounts, log in with both, add them to each others' rosters, and send messages back and forth. Mileage may vary with other clients. I can't remember if digest auth was working; you may need to tell your client to do plaintext authentication. Not sure.
To try the client, I think you want to do:
JBCBuddyList open
but to be honest I never really looked in much detail at Michael's UI code.
Some general notes: - I'm feeling pretty brave throwing this code out there without having even tried to figure out what state it was in over a year ago when I last touched it. Also, it being a mash of Michael's and my code, and since I just renamed and recategorized everything, there's bound to be breakage and obsolescence. - When I was working on this before, I was trying to pull stuff out of the client to share with the server, but I hadn't yet got around to having the client use some of the new, extracted code. The idea was to create JBPClientConnection that could be used both by the client, and by the client- to-server module of the server to deal with the client protocol. - Michael was writing the client code to be pluggable for different IM protocols. For now, I've removed some of these (very abstract) classes as they didn't belong in this package and can be easily refactored out again should we ever have more than one IM protocol. - Probably a whole bunch of other stuff but I'm tired and want to go to bed.
(If anyone's interested in my code, I could publish it, but it's only about half-finished, besides being generally pretty awful. It doesn't even do messaging yet.)
Please do... or take a look at what I had and see if you can contribute to or steal from it. I'd say my code would be lucky to be called half-finished but I was driving very hard to actually have it work with the basic client interaction. That's the only reason I announced it last year: it seemed to do something.
Julian
Julian Fitzell wrote:
it's back up.
And I should really dig out my server code and the changes I made to your library and put them out there. Not sure I'll be doing much Jabber
Yes, you should :-)
anything to the code in the last year while I've been away, Michael? Perhaps we should collaborate to put what we had up on squeaksource?
Yes, we should. You already started a project there, thanks!
I hope I'll find some time soon to package the current jabber stuff and put it up there.
Michael
squeak-dev@lists.squeakfoundation.org