From KHendric@thoughtworks.com Mon Aug 4 13:35:43 2003 Received: from mother.thoughtworks.com (mother.thoughtworks.com [204.178.39.204]) by rubyforge.org (8.12.5/8.12.5) with ESMTP id h74HZfDY001225 for ; Mon, 4 Aug 2003 13:35:42 -0400 To: whizzbot-devel@rubyforge.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 Message-ID: From: Kingsley Hendrickse Date: Mon, 4 Aug 2003 12:23:29 -0500 X-MIMETrack: S/MIME Sign by Notes Client on Kingsley Hendrickse/UK/ThoughtWorks(Release 5.0.11 |July 24, 2002) at 04/08/2003 18:24:09, Serialize by Notes Client on Kingsley Hendrickse/UK/ThoughtWorks(Release 5.0.11 |July 24, 2002) at 04/08/2003 18:24:09, Serialize complete at 04/08/2003 18:24:09, S/MIME Sign failed at 04/08/2003 18:24:09: The cryptographic key was not found, Serialize by Router on Mother/ThoughtWorks.COM/US(Release 6.0.2CF1|June 9, 2003) at 08/04/2003 12:26:04 PM, Serialize complete at 08/04/2003 12:26:04 PM Content-Type: multipart/alternative; boundary="=_alternative 005F986C80256D78_=" X-Mailman-Approved-At: Mon, 04 Aug 2003 13:43:17 -0400 Subject: [Whizzbot-devel] Basic IRC connection script X-BeenThere: whizzbot-devel@rubyforge.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 17:35:43 -0000 This is a multipart message in MIME format. --=_alternative 005F986C80256D78_= Content-Type: text/plain; charset="us-ascii" Hi I added a basic IRC connection script into the CVS Core respository, this was inspired after reading the RFC. The script logs Whizzbot into the freenode server and then joins channel #whizzbot, unless the name is already taken when it uses the alternate nick Whizzbot_ You can say : 'hello Whizzbot' directly in the channel and he will reply 'Hello nice to meet you !' You can also private Message him directly - thus /MSG Whizzbot Hello and he will reply to you alone with the same line as above. Pretty neat hey ! Well Its just a very basic start and I didn't really follow the architecture - I just wanted to get a feel for how things work with IRC in general. I'm still working on the Architecture document - should be done soon Take care Kingsley --=_alternative 005F986C80256D78_= Content-Type: text/html; charset="us-ascii"
Hi

I added a basic IRC connection script into the CVS Core respository, this was inspired after reading the RFC.

The script logs Whizzbot into the freenode server and then joins channel #whizzbot, unless the name is already taken when it uses the alternate nick Whizzbot_

You can say : 'hello Whizzbot'  directly in the channel and he will reply 'Hello <user> nice to meet you !'

You can also private Message him directly - thus /MSG Whizzbot Hello and he will reply to you alone with the same line as above.

Pretty neat hey !

Well Its just a very basic start and I didn't really follow the architecture - I just wanted to get a feel for how things work with IRC in general.

I'm still working on the Architecture document - should be done soon

Take care

Kingsley --=_alternative 005F986C80256D78_=-- From apache@virtualisp.co.uk Mon Aug 4 13:56:29 2003 Received: from oli.virtualisp.co.uk ([213.151.32.122]) by rubyforge.org (8.12.5/8.12.5) with ESMTP id h74HuTDY001500 for ; Mon, 4 Aug 2003 13:56:29 -0400 Received: from apache by oli.virtualisp.co.uk with local (Exim 4.05) id 19jjNZ-00044x-00 for whizzbot-devel@rubyforge.org; Mon, 04 Aug 2003 18:44:17 +0100 To: whizzbot-devel@rubyforge.org From: whizzbot@icecode.org User-Agent: Instant Web Mail 0.60 Content-Type: text/plain; charset="ISO-8859-1" Message-Id: Sender: Date: Mon, 04 Aug 2003 18:44:17 +0100 Subject: [Whizzbot-devel] IRC basic Script X-BeenThere: whizzbot-devel@rubyforge.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Aug 2003 17:56:30 -0000 Hiya I have been reading the RFC which inspired me to add a basic IRC connection script to the Core directory in CVS. The script logs into freenode with the user Whizzbot and then joins the channel #whizzbot, unless the nick is alreadytaken in which case it logs in as the alternative nick Whizzbot_ You can say \'hello Whizzbot\' in the #whizzbot channel and he will respond with \'Hello very nice to meet you!\' You can alos private message him and he will reply directly to you with the line above, as follows /msg Whizzbot hello Pretty neat eh ! I didn\'t follow our architecture as I just wanted to get a feel for how things on IRC work in general, but we will soon be able to do some pretty cool things !! I\'m working on the Architecture document, should be finished soon Take care Kingsley From apache@virtualisp.co.uk Wed Aug 6 12:03:10 2003 Received: from oli.virtualisp.co.uk ([213.151.32.122]) by rubyforge.org (8.12.5/8.12.5) with ESMTP id h76G39DY014063 for ; Wed, 6 Aug 2003 12:03:10 -0400 Received: from apache by oli.virtualisp.co.uk with local (Exim 4.05) id 19kQYW-0004uj-00 for whizzbot-devel@rubyforge.org; Wed, 06 Aug 2003 16:50:28 +0100 To: whizzbot-devel@rubyforge.org From: whizzbot@icecode.org User-Agent: Instant Web Mail 0.60 Content-Type: text/plain; charset="ISO-8859-1" Message-Id: Sender: Date: Wed, 06 Aug 2003 16:50:28 +0100 Subject: [Whizzbot-devel] Updates X-BeenThere: whizzbot-devel@rubyforge.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2003 16:03:10 -0000 Hi I have added the revised Technical Architecture doc both to CVS and to the docs section on Rubyforge. I have also added some tasks categorised by type and I have allocated the ones that use the network class to you - and the ones using control class to me. I have also checked into cvs some initial control class code and tests, which I will be working on this week. Test First ---- if you look in your ruby source - for a directory called test - somewhere like ruby\\lib\\ruby\\1.8\\test In the test folder there is a ruby file called Unit.rb - if you read this file it explains how to use the test framework for unit testing. Basically we write a method then write a test for it using unit/test in our test class, then continue writing methods in the our main class and writing tests for our methods in the test_class. You have to call your method from the main class in order to test it in the test_class. hope that helps a bit Thanks - Take care Kingsley From apache@virtualisp.co.uk Sat Aug 9 20:09:07 2003 Received: from oli.virtualisp.co.uk ([213.151.32.122]) by rubyforge.org (8.12.5/8.12.5) with ESMTP id h7A096l9001146 for ; Sat, 9 Aug 2003 20:09:06 -0400 Received: from apache by oli.virtualisp.co.uk with local (Exim 4.05) id 19ldYQ-00045B-00 for whizzbot-devel@rubyforge.org; Sun, 10 Aug 2003 00:55:22 +0100 To: whizzbot-devel@rubyforge.org From: whizzbot@icecode.org User-Agent: Instant Web Mail 0.60 Content-Type: text/plain; charset="ISO-8859-1" Message-Id: Sender: Date: Sun, 10 Aug 2003 00:55:22 +0100 Subject: [Whizzbot-devel] OOP Approach and de-coupling X-BeenThere: whizzbot-devel@rubyforge.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Aug 2003 00:09:07 -0000 Hiya Well I have completely re-thought out the interfaces between classes as you suggested. I have now de-coupled the classes from each other and made whizzbot.rb the main file that controls all the action. All the \'requires\' are in this file and it basically calls whatever classes and methods it requires to make Whizzbot work. I have tested it out and it seems to work - which is cool. The only thing which I\'m not too sure about is - that In some classes - say the network class - It needs data from the Initialization class, so when I instantiate the network object in whizzbot.rb - I pass the previously instantiated Initialization object into the network class, and then call one of Initializations methods from within the network class. This means - If we change the name of a method in the Initialization class or another change, then we have to also check that the way it is used in the network class is not affected. I couldn\'t see anyother way of doing this. Well my next task will be to refine the code in the control class. It would be great if you could check thru the de-coupling work I have done and let me know what you think. thanks - Take care Kingsley