Television


23
Nov 08

Building an IM Bot with the Smack API. Avoid setting Roster Permissions

So I built what is an instant messaging bot using the Smack API and the Openfire XMPP server. Doing it is pretty simple of you read the documentation and Smack’s developer notes. The bot relies on a queue-like object that Smack gives you called a PacketCollector. All you need to do is log in to the server, and let the packet collector wait for incoming messages. Clearly, you need to respond to the messages and use thread tools to do the waiting and all, but in general, the effort is relatively straightforward.
Continue reading →

Share

29
Aug 08

Deploying a web application to Jetty

The Jetty web application server is great. It is just not very well document and when it is documented it is aimed for the very uninitiated. If you’re using Jetty, it is almost like an old boys club – ‘you made it’.

Still, it appears that Jetty and Tomcat are becoming much more similar in their way of doing things, with both using a somewhat proprietary, if you can say that on an open source project, configuration schemes. So how do you deploy a web application to Jetty?

Continue reading →

Share

20
Jun 07

Rosie O’Donnel, “The Price is right”: Please god, no!

Rosie O’Donnel wants the job replacing the sublime Bob Barker as host of “The Price Is Right”. This should not be. She does not belong there. She does not neuter or spay her pets and does not do Karate into her ’80s. I pray for sanity.

Share