<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><font face="Helvetica, Arial,
sans-serif">Aaaaand for more fun I just wrote and added "dfw
dictionary bot" to the git repo. It hits the Merriam Webster
dictionary.com XML API and spits out the first definition it
finds.<br>
<br>
<img src="cid:part1.03040803.06030805@internetalias.net" alt=""><br>
<br>
69 lines of code for dictionary bot because the remote API is
... special. The code is up on <a
href="https://github.com/dfwperl/dfwbot">github</a>. You can
play with dictbot on #bot-test at irc.perl.org (at least for a
while).<br>
<br>
--Tommy Butler<br>
<br>
On 10/28/2013 06:40 PM, John Fields wrote:<br>
</font></div>
<blockquote
cite="mid:CAL-G4SiPYJXKLD6fKfXvcki6fbA1OSPtO2n+grOwiaaOHr9+fw@mail.gmail.com"
type="cite">
<p dir="ltr"><font face="Helvetica, Arial, sans-serif">That is
entirely cromulent code!<br>
(I just added cromulent to my phone's dictionary).</font></p>
<p dir="ltr"><font face="Helvetica, Arial, sans-serif">Looking
forward to playing with this, I think I misunderstood the
scope of POE!<br>
</font>
</p>
<div class="gmail_quote"><font face="Helvetica, Arial, sans-serif">On
Oct 28, 2013 6:07 PM, "Tommy Butler" <<a
moz-do-not-send="true" href="mailto:dfwpm@internetalias.net">dfwpm@internetalias.net</a>>
wrote:<br type="attribution">
</font>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div><font face="Helvetica, Arial, sans-serif">Just for fun
I turned my 22<b>*</b> line IRC greeter bot into a 52
line IRC spellchecker bot (screenshot below). <br>
</font> <font face="Helvetica, Arial, sans-serif"><br>
This bot is currently logged into <a
moz-do-not-send="true" href="http://irc.perl.org"
target="_blank">irc.perl.org</a> taking requests in
the #bot-test channel.<br>
</font> <font face="Helvetica, Arial, sans-serif"><br>
</font> <font face="Helvetica, Arial, sans-serif">Like
greeter bot, spellchecker bot is <a
moz-do-not-send="true"
href="https://github.com/dfwperl/dfwbot/blob/master/dfw_spellerbot.pl"
target="_blank">in the DFW Perl Mongers irc bot repo
on github.<br>
</a><br>
</font> <font face="Helvetica, Arial, sans-serif"><small><i>
<big><b>*</b><font color="#666666">line counts do
not include comment lines</font></big></i></small><br>
</font> <font face="Helvetica, Arial, sans-serif"><br>
</font> <font face="Helvetica, Arial, sans-serif"><snip
big screenshot><br>
</font> <font face="Helvetica, Arial, sans-serif"><br>
--Tommy Butler<br>
</font> <font face="Helvetica, Arial, sans-serif"><br>
On 10/27/2013 05:21 PM, Tommy Butler wrote:<br>
</font> </div>
<blockquote type="cite">
<div><font face="Helvetica, Arial, sans-serif">So I <a
moz-do-not-send="true"
href="https://github.com/dfwperl/dfwbot"
target="_blank">wrote an irc bot</a>, tested it out
several times, and put it up on github in all of 2
hours this afternoon. It's built on <a
moz-do-not-send="true"
href="https://metacpan.org/pod/Bot::BasicBot"
target="_blank">Bot::BasicBot</a>. Bot::BasicBot is
*gasp* built on <a moz-do-not-send="true"
href="https://metacpan.org/pod/POE" target="_blank">POE</a>.
<i><b>This bot is neat and I think this would be very
fun to extend.</b></i><br>
</font> <font face="Helvetica, Arial, sans-serif"><br>
I would love play around with this concept together --
to use git/github to clone, fork, and hack together
our own individual bots and try them out in real time
together at the next meeting. We could make them talk
to each other, do spell checks, wolfram alpha lookups,
shorten URLs, fetch stock performance stats, or any
number of things.<br>
</font> <font face="Helvetica, Arial, sans-serif"><br>
What do you think? Feel free to disagree.<br>
</font> <font face="Helvetica, Arial, sans-serif"><br>
--Tommy Butler<br>
</font> <font face="Helvetica, Arial, sans-serif"><br>
On 10/25/2013 03:24 PM, John Fields wrote:<br>
</font> </div>
<blockquote type="cite">
<p dir="ltr"><font face="Helvetica, Arial, sans-serif">Prolly
POE. And yes using an event-driven manager
framework to call a IRC module is probably over
kill.</font></p>
<p dir="ltr"><font face="Helvetica, Arial, sans-serif">:)</font></p>
<div class="gmail_quote"><font face="Helvetica, Arial,
sans-serif">On Oct 25, 2013 3:21 PM, "Stephen Wylie"
<<a moz-do-not-send="true"
href="mailto:stev-o@u.northwestern.edu"
target="_blank">stev-o@u.northwestern.edu</a>>
wrote:<br type="attribution">
</font>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><font face="Helvetica, Arial,
sans-serif">AOE... are you talking ATA over
Ethernet? Age of Empires? The secret of the
Alpha Phi fraternity?</font>
<div><font face="Helvetica, Arial, sans-serif"><br>
</font> </div>
<div><font face="Helvetica, Arial, sans-serif">Clueless
& floundering on Google,</font></div>
<div><font face="Helvetica, Arial, sans-serif">Stephen</font></div>
</div>
<div class="gmail_extra"> <font face="Helvetica,
Arial, sans-serif"><br>
</font> <font face="Helvetica, Arial, sans-serif"><br>
</font>
<div class="gmail_quote"><font face="Helvetica,
Arial, sans-serif">On Fri, Oct 25, 2013 at
2:01 PM, A.J. Maurin <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:coyo@darkdna.net"
target="_blank">coyo@darkdna.net</a>></span>
wrote:<br>
</font>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><font
face="Helvetica, Arial, sans-serif"> Well
BASHing together an IRC bot out of netcat
and quick-and-dirty oneliners of sed and
awk are easy for me, because I'm used to
it.<br>
</font> <font face="Helvetica, Arial,
sans-serif"><br>
Anything beyond a quick one-liner of Perl
looks daunting to me.<br>
</font> <font face="Helvetica, Arial,
sans-serif"><br>
I dislike using standard libraries. To me,
it's learning how to use other people's
code. Reinventing the wheel my butt.</font>
<div>
<div><font face="Helvetica, Arial,
sans-serif"><br>
</font> <font face="Helvetica, Arial,
sans-serif"><br>
</font>
<div><font face="Helvetica, Arial,
sans-serif">On 10/23/2013 12:00 PM,
John Fields wrote:<br>
</font> </div>
<blockquote type="cite">
<p dir="ltr"><font face="Helvetica,
Arial, sans-serif">Shaun, <a
moz-do-not-send="true">Net::IRC</a>
is deprecated. I KNOW! Says try
Bot::BasicBot </font></p>
<p dir="ltr"><font face="Helvetica,
Arial, sans-serif">Alex, look at
this BasicBot page and let us know
how difficult it looks! Not very
compared to BASHing it out. :)</font></p>
<p dir="ltr"><font face="Helvetica,
Arial, sans-serif"><a
moz-do-not-send="true"
href="http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/"
target="_blank">http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/</a></font></p>
<p dir="ltr"><font face="Helvetica,
Arial, sans-serif">Writing an IRC
bot from scratch in the next
Monger meeting sounds like fun.
We can review the random password
generator code progress too. What
say Ye? (Futurama Bot
reference... Hehehe)</font></p>
<div class="gmail_quote"><font
face="Helvetica, Arial,
sans-serif">On Oct 20, 2013 4:53
PM, "A.J. Maurin" <<a
moz-do-not-send="true"
href="mailto:coyo@darkdna.net"
target="_blank">coyo@darkdna.net</a>>
wrote:<br type="attribution">
</font>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex"><font
face="Helvetica, Arial,
sans-serif"> ^_^<br>
</font> <font face="Helvetica,
Arial, sans-serif"><br>
I'm sad that it isn't every
week, but I suppose there's a
lot more that at Dallas
Makerspace than Hump Day
Mongering.<br>
</font> <font face="Helvetica,
Arial, sans-serif"><br>
Yeah, people said I was insane
for writing that script, a Bash
shell script IRC bot that used
netcat.<br>
</font> <font face="Helvetica,
Arial, sans-serif"><br>
My response was "meow." I can't
believe I lost that thumbdrive.<br>
</font> <font face="Helvetica,
Arial, sans-serif"><br>
On 10/20/2013 11:30 AM, Tommy
Butler wrote:<br>
</font>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex"><font
face="Helvetica, Arial,
sans-serif"> We hold Perl
Mongers on the second
Wednesday of each month, so we
will meet next on 11/13/13. It
generally works out to be
somewhere around the hump day
of each month ;-)<br>
</font> <font face="Helvetica,
Arial, sans-serif"><br>
The IRC bot script that's
being discussed sounds like
lots of fun!</font></blockquote>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</blockquote>
</div>
</blockquote>
</blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
</font></div>
</blockquote>
</div>
</blockquote>
<font face="Helvetica, Arial, sans-serif"><br>
</font>
</body>
</html>