Hmm. That gives me another nifty ERC idea - if we annotate BBDB records with timezones, we should be able to
greet people good morning/day/evening appropriately. Plus points for greetings in native languages! ;)
Now that's just insane, really.
sacha: I'm sure you'll have it done by tomorrow ;)
sachac: that could be nice, yes
,there is also an evil place without a name -- it does not have emacs
Added entry to the term "there"
try: Acknowledgments NowPlaying PostItNow WikiAcknowledgments WikiNow
arete: Well, I've been thinking of rule-based matching on privmsgs received, with responses suggested in another
buffer for easy selection with keysequence or mouse... =)
sachac: good idea
hehe yeah, saw you mention it the other day
just one step away from eliza =P
arete: I'm just thinking of how to do it nicely so that the matches don't take a terribly long time. I suppose
match-string is my friend. I can build the regexp at the start, match it constantly, then match again based on
the match string...
rx is a Lisp macro in `rx'.
Translate a regular expression REGEXP in sexp form to a regexp string.
See also `rx-to-string' for how to do such a translation at run-time.
The following are valid subforms of regular expressions in sexp
STRING ..[Type ,more]
arete: ... but of course that means I'll be working as a stateless machine for now. Oh well. Actually, no, the
functions can keep state on their own; I just won't be able to add new keywords without recompiling the regular
expression, which shouldn't be too hard.
sachac: I guess the best way for the greeting is some standard text that gets translated at other ercs
don't forget to weight the chosen responses so you don't have to look through them all each time the same choices
come up =)
sachac: use rx-to-string and a variable...
myrkraverk: Actually, that will hook into my "hi" thing...
oh, k, then
myrkraverk: ERC should not only check which of your pals are online, but also which you haven't greeted yet, and
people who aren't pals but who have greated you specifically. =)
I haven't written said "hi" thing yet, though.
myrkraverk: Ideally, ERC should compile a list of people to say Hi to, and hi them all on one line, appending a
generic ", world" at the end or something like that. =)
myrkraverk: An extension to BBDB could have custom greetings for hi. For example, I greet some people in other
sachac: you have too many ppl to say hi to ;)
myrkraverk: It's a proof of concept! ;)
myrkraverk: If you tie that in with the funky timezone thing, that would be, well, pretty funky.
btw, can erc let me know when someone is online?
sacha: don't' forget the automated reply to a greeting =)
myrkraverk: However, the timezone thing could be done without the funky hi thing...
arete: My proposed system wouldn't be entirely automated. It would suggest responses, but it would allow the
user to actually change them or select a different response from the buffer.
arete: I'm thinking of a circular queue of 5 to 10 (of course, configurable) possible replies.
zeDek: howdy zeDek
Well, that's an easy way around it - just echo the greeting... ;)
* sachac is the resident bot-in-training. ;)
sachac: btw, I have a photo now on orkut (like you care :P )
zeDek: did you find time to send me the new color-theme ? :)
Lukhas, ok wait
arete: I'm interested in this because I stay on a few help channels. My hippie-expansion from BBDB is pretty
useful for expanding factoids, but (a) I don't want to have to remember what to expand, and (b) I want to be
able to deal with questions I might not have paid attention to. ;)
* zeDek was migrating old gnusfr.org and emacsfr.org
lukhas -> free point fr
myrkraverk: I'll check that out when I get around to starting up a graphical browser...
did you find hosting room ?
sacha: now there is a more productive use of it =)
I can never remember what keyword fsbot wants
delYsid: Hmmm, that should be interesting.
arete: The human still filters the automatic responses, of course. =)
I use it in chess-ics for a very complicated re (760 chars)
arete: And automatic responses can be of the form : already...
arete: Naturally, if we allow functions and strings as canned responses, then we can even have a state machine.
yumm, pseudo-AI assisted irc help
arete: Yeah, something like that.
arete: Worth hacking on in my spare time, I think.
Short URL: sach.ac/p/1805