Re: [Pharo-users] Writing an IRC bot

2013-12-19 Thread Sergi Reyner
2013/12/19 Stéphane Ducasse stephane.duca...@inria.fr what would be fun is to see if we can build a little tutorial that show to newbies how to write a simple IRC bot. You mean how to write a bot with Chromia? Would you be interested to work on that? Because I would love that my son is

Re: [Pharo-users] Writing an IRC bot

2013-12-19 Thread Damien Cassou
On Thu, Dec 19, 2013 at 10:37 AM, Sergi Reyner sergi.rey...@gmail.comwrote: You mean how to write a bot with Chromia? If you do it with Chromia, many details (such as network stuffs I guess) won't be shown. But this gives you the possibility to implement a great bot. If you do it without

Re: [Pharo-users] Writing an IRC bot

2013-12-19 Thread Sergi Reyner
2013/12/19 Damien Cassou damien.cas...@gmail.com On Thu, Dec 19, 2013 at 10:37 AM, Sergi Reyner sergi.rey...@gmail.comwrote: You mean how to write a bot with Chromia? If you do it with Chromia, many details (such as network stuffs I guess) won't be shown. But this gives you the

Re: [Pharo-users] Writing an IRC bot

2013-12-19 Thread Damien Cassou
On Thu, Dec 19, 2013 at 11:07 AM, Sergi Reyner sergi.rey...@gmail.com wrote: - Class names are awfully chosen. Besides almost every one of them having IRC as a namespace prefix, some like IRCUser don´t convey enough meaning. having a prefix is a common pattern. I don't see the problem of

Re: [Pharo-users] Writing an IRC bot

2013-12-19 Thread Sergi Reyner
2013/12/19 Damien Cassou damien.cas...@gmail.com On Thu, Dec 19, 2013 at 11:07 AM, Sergi Reyner sergi.rey...@gmail.com wrote: - Class names are awfully chosen. Besides almost every one of them having IRC as a namespace prefix, some like IRCUser don´t convey enough meaning. having a

Re: [Pharo-users] Writing an IRC bot

2013-12-19 Thread Stéphane Ducasse
On 19 Dec 2013, at 10:37, Sergi Reyner sergi.rey...@gmail.com wrote: 2013/12/19 Stéphane Ducasse stephane.duca...@inria.fr what would be fun is to see if we can build a little tutorial that show to newbies how to write a simple IRC bot. You mean how to write a bot with Chromia?

Re: [Pharo-users] Writing an IRC bot

2013-12-19 Thread kilon alios
* I was considering using ChromiaXXX as a prefix instead.* *The problem with xxxUser is that right now I manage two User concepts: what NickServ understands as a user, and what Chromia understands as a User, both of them different from an IRC User understood as someone or something who is

[Pharo-users] Writing an IRC bot

2013-12-18 Thread Sergi Reyner
I´ve been writing a bot for a while now, with the purpose of learning proper Smalltalk and OOP idioms/techniques (I´ve been using C-ish languages for a long time now, and I´m trying to cure myself :D). I must say that the process has been quite enlightening so far, I never really understood OOP

Re: [Pharo-users] Writing an IRC bot

2013-12-18 Thread Bernat Romagosa
Im my opinion... messy or not, all code should be shared! :) 2013/12/18 Sergi Reyner sergi.rey...@gmail.com I´ve been writing a bot for a while now, with the purpose of learning proper Smalltalk and OOP idioms/techniques (I´ve been using C-ish languages for a long time now, and I´m trying to

Re: [Pharo-users] Writing an IRC bot

2013-12-18 Thread Esteban A. Maringolo
An IRC bot is basically an REPL interface over a socket. It's a fun project to implement with Smalltalk. I made a couple of bots circa 2000 (IRC was still a thing) with Perl. If you implement the IRC bot that doesn't integrate as an extension to an existing IRC client, you'll end up implementing

Re: [Pharo-users] Writing an IRC bot

2013-12-18 Thread btc
Sergi Reyner wrote: Ive been writing a bot for a while now, with the purpose of learning proper Smalltalk and OOP idioms/techniques (Ive been using C-ish languages for a long time now, and Im trying to cure myself :D). I must say that the process has been quite enlightening so far, I never

Re: [Pharo-users] Writing an IRC bot

2013-12-18 Thread Sergi Reyner
2013/12/18 b...@openinworld.com I would say just ensure that it is packaged to load cleanly on a fresh image. Yes, as I mention on the description, I´m wrapping my head around Metacello trying to put together a decent ConfigurationOfChromia. Cheers, Sergi

Re: [Pharo-users] Writing an IRC bot

2013-12-18 Thread Bernat Romagosa
Sergi, you're too harsh on your code, I'm looking at it and it's nice! :) 2013/12/18 Sergi Reyner sergi.rey...@gmail.com 2013/12/18 b...@openinworld.com I would say just ensure that it is packaged to load cleanly on a fresh image. Yes, as I mention on the description, I´m wrapping my

Re: [Pharo-users] Writing an IRC bot

2013-12-18 Thread Sergi Reyner
2013/12/18 Sergi Reyner sergi.rey...@gmail.com 2013/12/18 b...@openinworld.com I would say just ensure that it is packaged to load cleanly on a fresh image. Yes, as I mention on the description, I´m wrapping my head around Metacello trying to put together a decent ConfigurationOfChromia.

Re: [Pharo-users] Writing an IRC bot

2013-12-18 Thread Sergi Reyner
2013/12/18 Sergi Reyner sergi.rey...@gmail.com I´ve almost finished writing it. I just need some code to load the minimum amount of code required to use PPCompositeParser and GLMTabulator. Gofer it smalltalkhubUser: 'SergiReyner' project: 'Chromia'; package: 'ConfigurationOfChromia'; load.

Re: [Pharo-users] Writing an IRC bot

2013-12-18 Thread Stéphane Ducasse
Hi sergi publish you code! It sound exciting. Stef I´ve been writing a bot for a while now, with the purpose of learning proper Smalltalk and OOP idioms/techniques (I´ve been using C-ish languages for a long time now, and I´m trying to cure myself :D). I must say that the process has

Re: [Pharo-users] Writing an IRC bot

2013-12-18 Thread Stéphane Ducasse
On 18 Dec 2013, at 18:11, Sergi Reyner sergi.rey...@gmail.com wrote: 2013/12/18 b...@openinworld.com I would say just ensure that it is packaged to load cleanly on a fresh image. Yes, as I mention on the description, I´m wrapping my head around Metacello trying to put together a decent

Re: [Pharo-users] Writing an IRC bot

2013-12-18 Thread Stéphane Ducasse
what would be fun is to see if we can build a little tutorial that show to newbies how to write a simple IRC bot. Would you be interested to work on that? Because I would love that my son is able to build one with Pharo. Stef Sergi, you're too harsh on your code, I'm looking at it and it's