From dfwpm at internetalias.net Tue Oct 8 18:06:17 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Tue, 08 Oct 2013 20:06:17 -0500 Subject: [DFW.pm] Meeting tomorrow night! Perl in Space! The Lacuna Expanse! Message-ID: <5254AC09.1000302@internetalias.net> /*Announcement:*/ Perl Mongers meeting. Tomorrow night, same bat time, same bat location (meeting details at the bottom). /*Meeting topic:*/ Do you like Star Trek, Star Wars, space, astronomy, or science fiction? Think of your favorite thing from that class of awesomeness, then add Perl. What you end up with is The Lacuna Expanse, an MMORPG written in Perl, which you can play for free. Lacuna Expanse server is open source, as is the web client. These are good times my friends, because right now it is easier than ever to play LE and to dev LE. We're talking about it at tomorrow night's meeting. We'll have a game play demo, talk about how it relates to Perl, and for the adventurous we will talk about how to hack on its Perl source code at github. We look forward to seeing you tomorrow night at 7, my fellow space travelers/warriors/captains/Jedi masters/Sith lords/yellow shirts/Romulans/Bothans/Sons of Mogh//*PERL HACKERS!*/ /*Meeting info:*/ This will be followed up with a Google hangout invitation tomorrow so you can attend from home (or space) in case you can't make it to the meeting. Dallas Makerspace building at: 2995 Ladybird Lane, Dallas, TX www.dallasmakerspace.org (214)699-6537 -- Tommy Butler and John Fields, DFW Perl Mongers -------------- next part -------------- An HTML attachment was scrubbed... URL: From dfwpm at internetalias.net Wed Oct 9 17:02:38 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Wed, 09 Oct 2013 19:02:38 -0500 Subject: [DFW.pm] WE ARE LIVE ON AIR (link inside) Message-ID: <5255EE9E.80709@internetalias.net> http://www.youtube.com/embed/I7VT3mcRbdA Follow along with the video feed of tonight's meeting! --Tommy Butler, John Fields, DFW Perl Mongers -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Wed Oct 16 23:19:40 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Thu, 17 Oct 2013 01:19:40 -0500 Subject: [DFW.pm] Hi! Message-ID: <525F817C.1050108@darkdna.net> How goes the DFW perl monger group? May I stop by? My name is Alex, I'm a network architect, chemist and animal rights activist. I love eclairs, chips and queso and red beans and rice. I'm pleased to meet you all. I hope I can make some friends! Thank you for your time and patience. From wigthft at gmail.com Wed Oct 16 23:29:17 2013 From: wigthft at gmail.com (John Fields) Date: Thu, 17 Oct 2013 01:29:17 -0500 Subject: [DFW.pm] Hi! In-Reply-To: <525F817C.1050108@darkdna.net> References: <525F817C.1050108@darkdna.net> Message-ID: <525F83BD.6070006@gmail.com> Alex, Lucky for you Dallas can satisfy all your culinary loves. :) How long are you in town? We meet on the 2nd Wed of every month, at the DallasMakerspace.org facility. If you are just popping through, give us a shout and I'm sure we can arrange at least a dinner to say hello. John Fields On 10/17/2013 01:19 AM, A.J. Maurin wrote: > How goes the DFW perl monger group? > > May I stop by? > > My name is Alex, I'm a network architect, chemist and animal rights activist. I love eclairs, chips and queso and red beans and rice. > > I'm pleased to meet you all. I hope I can make some friends! > > Thank you for your time and patience. -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Wed Oct 16 23:46:29 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Thu, 17 Oct 2013 01:46:29 -0500 Subject: [DFW.pm] Hi! In-Reply-To: <525F83BD.6070006@gmail.com> References: <525F817C.1050108@darkdna.net> <525F83BD.6070006@gmail.com> Message-ID: <525F87C5.2070005@darkdna.net> I am a born and bred Texan and Dallasian. I was born right here in the maternity auditorium at medical city at 4:44 PM. I'm native here, so I'm probably staying quite awhile. Ah! Dallas Makerspace! Yet another excuse to budget money for that. ; ) I'll need to visit next thursday. I'm kinda nervous. retrieved from http://dallasmakerspace.org/visit/ at 10/17/13 > > The best time to visit Dallas Makerspace is during one of our weekly > meetings. The meetings are held at *7:00pm each Thursday* and are open > to the public. > > Most Thursday meetings are "social" meetings with no defined > structure. However, on the 2nd Thursday of each month, there will also > be an Official Monthly Membership Meeting at 8:00pm. The official > meetings will involve committee reports and the ability for members to > vote on matters concerning governing the Makerspace. > On 10/17/2013 1:29 AM, John Fields wrote: > Alex, > Lucky for you Dallas can satisfy all your culinary loves. :) > How long are you in town? > > We meet on the 2nd Wed of every month, at the DallasMakerspace.org > facility. > If you are just popping through, give us a shout and I'm sure we can > arrange at least a dinner to say hello. > John Fields > > > On 10/17/2013 01:19 AM, A.J. Maurin wrote: >> How goes the DFW perl monger group? >> >> May I stop by? >> >> My name is Alex, I'm a network architect, chemist and animal rights >> activist. I love eclairs, chips and queso and red beans and rice. >> >> I'm pleased to meet you all. I hope I can make some friends! >> >> Thank you for your time and patience. > > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From wigthft at gmail.com Wed Oct 16 23:50:31 2013 From: wigthft at gmail.com (John Fields) Date: Thu, 17 Oct 2013 01:50:31 -0500 Subject: [DFW.pm] Hi! In-Reply-To: <525F87C5.2070005@darkdna.net> References: <525F817C.1050108@darkdna.net> <525F83BD.6070006@gmail.com> <525F87C5.2070005@darkdna.net> Message-ID: <525F88B7.7010806@gmail.com> Good to know! Oddly, I will not be there next Thursday. But there are plenty of cool things happening every Thursday. FYI: Perl meets on Hump Day (if that camel reference makes it easier to remember..) :) John On 10/17/2013 01:46 AM, A.J. Maurin wrote: > I am a born and bred Texan and Dallasian. > > I was born right here in the maternity auditorium at medical city at 4:44 PM. > > I'm native here, so I'm probably staying quite awhile. > > Ah! Dallas Makerspace! Yet another excuse to budget money for that. ; ) > > I'll need to visit next thursday. > > I'm kinda nervous. > > retrieved from http://dallasmakerspace.org/visit/ at 10/17/13 >> >> The best time to visit Dallas Makerspace is during one of our weekly meetings. The meetings are held at *7:00pm each Thursday* >> and are open to the public. >> >> Most Thursday meetings are "social" meetings with no defined structure. However, on the 2nd Thursday of each month, there will >> also be an Official Monthly Membership Meeting at 8:00pm. The official meetings will involve committee reports and the ability >> for members to vote on matters concerning governing the Makerspace. >> > > > On 10/17/2013 1:29 AM, John Fields wrote: >> Alex, >> Lucky for you Dallas can satisfy all your culinary loves. :) >> How long are you in town? >> >> We meet on the 2nd Wed of every month, at the DallasMakerspace.org facility. >> If you are just popping through, give us a shout and I'm sure we can arrange at least a dinner to say hello. >> John Fields >> >> >> On 10/17/2013 01:19 AM, A.J. Maurin wrote: >>> How goes the DFW perl monger group? >>> >>> May I stop by? >>> >>> My name is Alex, I'm a network architect, chemist and animal rights activist. I love eclairs, chips and queso and red beans and >>> rice. >>> >>> I'm pleased to meet you all. I hope I can make some friends! >>> >>> Thank you for your time and patience. >> >> >> >> _______________________________________________ >> Dfw-pm mailing list >> Dfw-pm at pm.org >> http://mail.pm.org/mailman/listinfo/dfw-pm > > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Thu Oct 17 00:02:34 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Thu, 17 Oct 2013 02:02:34 -0500 Subject: [DFW.pm] Hi! In-Reply-To: <525F83BD.6070006@gmail.com> References: <525F817C.1050108@darkdna.net> <525F83BD.6070006@gmail.com> Message-ID: <525F8B8A.8090909@darkdna.net> I was just reading up on perl, since one of my friends suggested perl would be a great alternative to writing complex bash shell scripts loaded with embedded awk and sed scripts. I love ruby's regex, so my friend asked, "why dontcha just use Perl? Perl's basically a level 80 version of bash, sed and awk." So I explored perl.org, while i had tabs open on openbsd and ppp dial-in with usb modems. Did you know? It's surprisingly trivial to configure openbsd with usb modems. USB TrendNET dialup modems work out of the box with openbsd, by way of the umodem driver, if I recall correctly. Since PPP works both ways, you can create point to point dialup connections, just like people used to do back in the day for dialup bulletin board systems. Some BBS's are still online! Honestly, with things like facebook and twitter, we should just go back to using UUCP-based Usenet. Usenet does all the same things, except better. You can attach binary files, you can publish and subscribe to news, except your data is probably a lot more secure and private. You can use pgp file encryption for your publications so only users with the secret key can read them. There are so many things the kids these days just don't appreciate anymore. I hope they have vacuum tubes and analog computers at DMS. I never got to see them. On 10/17/2013 1:29 AM, John Fields wrote: > Alex, > Lucky for you Dallas can satisfy all your culinary loves. :) > How long are you in town? > > We meet on the 2nd Wed of every month, at the DallasMakerspace.org > facility. > If you are just popping through, give us a shout and I'm sure we can > arrange at least a dinner to say hello. -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Thu Oct 17 00:06:16 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Thu, 17 Oct 2013 02:06:16 -0500 Subject: [DFW.pm] Hi! In-Reply-To: <525F88B7.7010806@gmail.com> References: <525F817C.1050108@darkdna.net> <525F83BD.6070006@gmail.com> <525F87C5.2070005@darkdna.net> <525F88B7.7010806@gmail.com> Message-ID: <525F8C68.20908@darkdna.net> Perl meets on Hump Day. There's no way I'll forget that. On 10/17/2013 1:50 AM, John Fields wrote: > Good to know! Oddly, I will not be there next Thursday. But there > are plenty of cool things happening every Thursday. > > FYI: Perl meets on Hump Day (if that camel reference makes it easier > to remember..) :) -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Thu Oct 17 15:50:14 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Thu, 17 Oct 2013 17:50:14 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? Message-ID: <526069A6.8020307@darkdna.net> I know this is kindof a stupid question, but Perl was introduced to me as being a good alternative to using complex BASH Shell scripts with embedded Awk and Sed scripts. Is Perl like a shell script? from http://perldoc.perl.org/perlintro.html#What-is-Perl? it seems that perl is somewhat like shell or php in some ways. From kbrannen at pwhome.com Thu Oct 17 18:53:41 2013 From: kbrannen at pwhome.com (kevin) Date: Thu, 17 Oct 2013 20:53:41 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526069A6.8020307@darkdna.net> References: <526069A6.8020307@darkdna.net> Message-ID: <526094A5.3010504@pwhome.com> On 10/17/2013 05:50 PM, A.J. Maurin wrote: > I know this is kindof a stupid question, but Perl was introduced to me > as being a good alternative to using complex BASH Shell scripts with > embedded Awk and Sed scripts. > > Is Perl like a shell script? > > from http://perldoc.perl.org/perlintro.html#What-is-Perl? it seems that > perl is somewhat like shell or php in some ways. Umm, Perl is a little bit of everything. :) I'd say that it excels handling string data, although it can do a lot more. :) I do use it for "complex shell tasks" as well as 1-liners. I also use it for CGI stuff, general utilities, and even simple GUI programs. I've even used it for a ~35K line back-end database app. I really like it because it's so flexible. As usual, you should use the best tool for the job you're working on, but I find Perl does very well for many jobs. HTH, Kevin From msouth at gmail.com Thu Oct 17 21:20:41 2013 From: msouth at gmail.com (Mike South) Date: Thu, 17 Oct 2013 23:20:41 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526069A6.8020307@darkdna.net> References: <526069A6.8020307@darkdna.net> Message-ID: It might be easier for you to get an idea of this if you give us an example of something complex you did, or were thinking of doing, in a shell script, and we can show you how perl would make it easier (if that happens to be the case for your case). mike On Thu, Oct 17, 2013 at 5:50 PM, A.J. Maurin wrote: > I know this is kindof a stupid question, but Perl was introduced to me as > being a good alternative to using complex BASH Shell scripts with embedded > Awk and Sed scripts. > > Is Perl like a shell script? > > from http://perldoc.perl.org/**perlintro.html#What-is-Perl? > it seems that perl is somewhat like shell or php in some ways. > ______________________________**_________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/**listinfo/dfw-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nadim.khemir at gmail.com Fri Oct 18 05:13:24 2013 From: nadim.khemir at gmail.com (nadim khemir) Date: Fri, 18 Oct 2013 14:13:24 +0200 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> Message-ID: A.J. presenting Perl as a replacement for a shell scripting is often used by seasoned Perl developers to make it look like it is an easy transition and it doesn't require the seriousness and investment that other languages, say C++, would need. It is also used by people that understand very little to Perl and software development too. I hope you met someone from the first group. I've been using Perl 15 years, I think it is better to present it on the human level rather than comparing it with other languages. It's FUN, it's capable, the community (when you find it and here is a good place) is great, it's dynamic and gets things done, there are tens of thousands of modules to help you with what you want to do (making it a bit more than a scripting replacement). Perl is a language at the same level as Java, C++,JS, etc.. It needs seriousness to make complicated things but you can also use it to do simple things, lowering the threshold for beginners is important but please, PLEASE, don't use it to write crappy software, it will be as good as you want yourself to be. Welcome to many years of fun. PS: writting your "scripts" in Perl rather than bash is, IMO, a very good idea. On Fri, Oct 18, 2013 at 6:20 AM, Mike South wrote: > It might be easier for you to get an idea of this if you give us an > example of something complex you did, or were thinking of doing, in a shell > script, and we can show you how perl would make it easier (if that happens > to be the case for your case). > > mike > > > On Thu, Oct 17, 2013 at 5:50 PM, A.J. Maurin wrote: > >> I know this is kindof a stupid question, but Perl was introduced to me as >> being a good alternative to using complex BASH Shell scripts with embedded >> Awk and Sed scripts. >> >> Is Perl like a shell script? >> >> from http://perldoc.perl.org/**perlintro.html#What-is-Perl? >> it seems that perl is somewhat like shell or php in some ways. >> ______________________________**_________________ >> Dfw-pm mailing list >> Dfw-pm at pm.org >> http://mail.pm.org/mailman/**listinfo/dfw-pm >> > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Sat Oct 19 17:37:54 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Sat, 19 Oct 2013 19:37:54 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526094A5.3010504@pwhome.com> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> Message-ID: <526325E2.9020508@darkdna.net> On 10/17/2013 8:53 PM, kevin wrote: > On 10/17/2013 05:50 PM, A.J. Maurin wrote: >> I know this is kindof a stupid question, but... >> >> Is Perl like a shell script? > > Umm, Perl is a little bit of everything. :) I'd say that it excels > handling string data, although it can do a lot more. :) > > I do use it for "complex shell tasks" as well as 1-liners. I also use > it for CGI stuff, general utilities, and even simple GUI programs. > I've even used it for a ~35K line back-end database app. I really like > it because it's so flexible. As usual, you should use the best tool > for the job you're working on, but I find Perl does very well for many > jobs. > > HTH, > Kevin Thank you! I can't wait to visit next Hump Day, which is four days away! I'm counting the days! I'm already making a list of the digital and analog circuits I want to play with! I've been boning up on the manuals to the Arduino microcontroller, and the RaspPI system-on-a-chip-set, so I'm pretty excited! I've been watching videos of bedini wheels, zeusaphones and 555 flyback transformers, which has me chomping at the bit. From coyo at darkdna.net Sat Oct 19 17:43:09 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Sat, 19 Oct 2013 19:43:09 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> Message-ID: <5263271D.6080504@darkdna.net> On 10/17/2013 11:20 PM, Mike South wrote: > It might be easier for you to get an idea of this if you give us an > example of something complex you did, or were thinking of doing, in a > shell script, and we can show you how perl would make it easier (if > that happens to be the case for your case). > > mike Hmm... I'll need write a shell script. I hope you don't mind waiting a bit, I don't want to show you a bad script. The shell script I have in mind is an IRC bot that uses Netcat to talk to the IRC server, and a while loop (the event loop) in bash that's forked off from the terminal, but can be killed via killall coybot.sh. I'll need to rewrite it. From masterbucket at internetalias.net Sun Oct 20 09:30:40 2013 From: masterbucket at internetalias.net (Tommy Butler) Date: Sun, 20 Oct 2013 11:30:40 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526325E2.9020508@darkdna.net> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> Message-ID: <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> 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 ;-) The IRC bot script that's being discussed sounds like lots of fun! -- Tommy Butler On Oct 19, 2013, "A.J. Maurin" wrote: > >On 10/17/2013 8:53 PM, kevin wrote: >> On 10/17/2013 05:50 PM, A.J. Maurin wrote: >>> I know this is kindof a stupid question, but... >>> >>> Is Perl like a shell script? >> >> Umm, Perl is a little bit of everything. :) I'd say that it excels >> handling string data, although it can do a lot more. :) >> >> I do use it for "complex shell tasks" as well as 1-liners. I also use > >> it for CGI stuff, general utilities, and even simple GUI programs. >> I've even used it for a ~35K line back-end database app. I really >like >> it because it's so flexible. As usual, you should use the best tool >> for the job you're working on, but I find Perl does very well for >many >> jobs. >> >> HTH, >> Kevin > >Thank you! I can't wait to visit next Hump Day, which is four days >away! >I'm counting the days! > >I'm already making a list of the digital and analog circuits I want to >play with! I've been boning up on the manuals to the Arduino >microcontroller, and the RaspPI system-on-a-chip-set, so I'm pretty >excited! > >I've been watching videos of bedini wheels, zeusaphones and 555 flyback > >transformers, which has me chomping at the bit. >_______________________________________________ >Dfw-pm mailing list >Dfw-pm at pm.org >http://mail.pm.org/mailman/listinfo/dfw-pm -- Sent from my Android phone with K-@ Mail. Please excuse my brevity. -------------- next part -------------- An HTML attachment was scrubbed... URL: From scdawson at gmail.com Sun Oct 20 11:48:07 2013 From: scdawson at gmail.com (Shaun Dawson) Date: Sun, 20 Oct 2013 11:48:07 -0700 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <5263271D.6080504@darkdna.net> References: <526069A6.8020307@darkdna.net> <5263271D.6080504@darkdna.net> Message-ID: I think that sounds like a really great Perl script (and not all that difficult to write). I think it would be a nightmare to write in bash, though. You might think about just writing it in Perl to begin with. There are Perl modules that make talking to an IRC server almost trivial. (Net::IRC comes to mind, but memory might be faulty). Plus the documentation usually serves as an easy example. Good luck! Shaun On Oct 19, 2013, at 17:43, "A.J. Maurin" wrote: > > On 10/17/2013 11:20 PM, Mike South wrote: >> It might be easier for you to get an idea of this if you give us an example of something complex you did, or were thinking of doing, in a shell script, and we can show you how perl would make it easier (if that happens to be the case for your case). >> >> mike > > Hmm... > > I'll need write a shell script. I hope you don't mind waiting a bit, I don't want to show you a bad script. > > The shell script I have in mind is an IRC bot that uses Netcat to talk to the IRC server, and a while loop (the event loop) in bash that's forked off from the terminal, but can be killed via killall coybot.sh. > > I'll need to rewrite it. > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm From coyo at darkdna.net Sun Oct 20 14:52:53 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Sun, 20 Oct 2013 16:52:53 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> Message-ID: <526450B5.5060901@darkdna.net> ^_^ 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. Yeah, people said I was insane for writing that script, a Bash shell script IRC bot that used netcat. My response was "meow." I can't believe I lost that thumbdrive. On 10/20/2013 11:30 AM, Tommy Butler wrote: > 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 ;-) > > The IRC bot script that's being discussed sounds like lots of fun! From wigthft at gmail.com Wed Oct 23 10:00:14 2013 From: wigthft at gmail.com (John Fields) Date: Wed, 23 Oct 2013 12:00:14 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526450B5.5060901@darkdna.net> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> Message-ID: Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot Alex, look at this BasicBot page and let us know how difficult it looks! Not very compared to BASHing it out. :) http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ 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) On Oct 20, 2013 4:53 PM, "A.J. Maurin" wrote: > ^_^ > > 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. > > Yeah, people said I was insane for writing that script, a Bash shell > script IRC bot that used netcat. > > My response was "meow." I can't believe I lost that thumbdrive. > > On 10/20/2013 11:30 AM, Tommy Butler wrote: > >> 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 ;-) >> >> The IRC bot script that's being discussed sounds like lots of fun! >> > > ______________________________**_________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/**listinfo/dfw-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From scdawson at gmail.com Wed Oct 23 11:57:56 2013 From: scdawson at gmail.com (Shaun Dawson) Date: Wed, 23 Oct 2013 11:57:56 -0700 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> Message-ID: Hey, John! We're getting old, man. These kids and their newfangled Bot::BasicBots. Shaun On Wed, Oct 23, 2013 at 10:00 AM, John Fields wrote: > Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot > > Alex, look at this BasicBot page and let us know how difficult it looks! > Not very compared to BASHing it out. :) > > http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ > > 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) > On Oct 20, 2013 4:53 PM, "A.J. Maurin" wrote: > >> ^_^ >> >> 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. >> >> Yeah, people said I was insane for writing that script, a Bash shell >> script IRC bot that used netcat. >> >> My response was "meow." I can't believe I lost that thumbdrive. >> >> On 10/20/2013 11:30 AM, Tommy Butler wrote: >> >>> 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 ;-) >>> >>> The IRC bot script that's being discussed sounds like lots of fun! >>> >> >> ______________________________**_________________ >> Dfw-pm mailing list >> Dfw-pm at pm.org >> http://mail.pm.org/mailman/**listinfo/dfw-pm >> > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From msouth at gmail.com Wed Oct 23 21:11:49 2013 From: msouth at gmail.com (Mike South) Date: Wed, 23 Oct 2013 23:11:49 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> Message-ID: I really wish we were doing this in real life so I could say "What's urk?" all innocently. On Wed, Oct 23, 2013 at 12:00 PM, John Fields wrote: > Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot > > Alex, look at this BasicBot page and let us know how difficult it looks! > Not very compared to BASHing it out. :) > > http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ > > 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) > On Oct 20, 2013 4:53 PM, "A.J. Maurin" wrote: > >> ^_^ >> >> 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. >> >> Yeah, people said I was insane for writing that script, a Bash shell >> script IRC bot that used netcat. >> >> My response was "meow." I can't believe I lost that thumbdrive. >> >> On 10/20/2013 11:30 AM, Tommy Butler wrote: >> >>> 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 ;-) >>> >>> The IRC bot script that's being discussed sounds like lots of fun! >>> >> >> ______________________________**_________________ >> Dfw-pm mailing list >> Dfw-pm at pm.org >> http://mail.pm.org/mailman/**listinfo/dfw-pm >> > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Fri Oct 25 11:59:49 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Fri, 25 Oct 2013 13:59:49 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> Message-ID: <526ABFA5.4010008@darkdna.net> Although guys on #perl/freenode say i should use AOE, i dislike over-complicating things. Besides, it's not like anyone's ever going to use my code, or need to maintain it for any reason. Designing an IRC bot as a six-line extended regex should be fine. I'm still working on that shell script. I have to use a linode with putty, because there's no such thing as a good Windows shell. It's a bit unwieldy. And who you callin old, shaun? you whippersnappers need to get off my lawn. :9 On 10/23/2013 1:57 PM, Shaun Dawson wrote: > Hey, John! > > We're getting old, man. These kids and their newfangled Bot::BasicBots. > > Shaun > > > On Wed, Oct 23, 2013 at 10:00 AM, John Fields > wrote: > > Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot > > Alex, look at this BasicBot page and let us know how difficult it > looks! Not very compared to BASHing it out. :) > > http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ > > 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) > > On Oct 20, 2013 4:53 PM, "A.J. Maurin" > wrote: > > ^_^ > > 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. > > Yeah, people said I was insane for writing that script, a Bash > shell script IRC bot that used netcat. > > My response was "meow." I can't believe I lost that thumbdrive. > > On 10/20/2013 11:30 AM, Tommy Butler wrote: > > 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 ;-) > > The IRC bot script that's being discussed sounds like lots > of fun! > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Fri Oct 25 12:01:40 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Fri, 25 Oct 2013 14:01:40 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> Message-ID: <526AC014.8040602@darkdna.net> 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. Anything beyond a quick one-liner of Perl looks daunting to me. I dislike using standard libraries. To me, it's learning how to use other people's code. Reinventing the wheel my butt. On 10/23/2013 12:00 PM, John Fields wrote: > > Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot > > Alex, look at this BasicBot page and let us know how difficult it > looks! Not very compared to BASHing it out. :) > > http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ > > 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) > > On Oct 20, 2013 4:53 PM, "A.J. Maurin" > wrote: > > ^_^ > > 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. > > Yeah, people said I was insane for writing that script, a Bash > shell script IRC bot that used netcat. > > My response was "meow." I can't believe I lost that thumbdrive. > > On 10/20/2013 11:30 AM, Tommy Butler wrote: > > 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 ;-) > > The IRC bot script that's being discussed sounds like lots of fun! > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From stev-o at u.northwestern.edu Fri Oct 25 13:21:39 2013 From: stev-o at u.northwestern.edu (Stephen Wylie) Date: Fri, 25 Oct 2013 15:21:39 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526AC014.8040602@darkdna.net> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> Message-ID: AOE... are you talking ATA over Ethernet? Age of Empires? The secret of the Alpha Phi fraternity? Clueless & floundering on Google, Stephen On Fri, Oct 25, 2013 at 2:01 PM, A.J. Maurin wrote: > 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. > > Anything beyond a quick one-liner of Perl looks daunting to me. > > I dislike using standard libraries. To me, it's learning how to use other > people's code. Reinventing the wheel my butt. > > > On 10/23/2013 12:00 PM, John Fields wrote: > > Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot > > Alex, look at this BasicBot page and let us know how difficult it looks! > Not very compared to BASHing it out. :) > > http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ > > 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) > On Oct 20, 2013 4:53 PM, "A.J. Maurin" wrote: > >> ^_^ >> >> 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. >> >> Yeah, people said I was insane for writing that script, a Bash shell >> script IRC bot that used netcat. >> >> My response was "meow." I can't believe I lost that thumbdrive. >> >> On 10/20/2013 11:30 AM, Tommy Butler wrote: >> >>> 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 ;-) >>> >>> The IRC bot script that's being discussed sounds like lots of fun! >>> >> >> _______________________________________________ >> Dfw-pm mailing list >> Dfw-pm at pm.org >> http://mail.pm.org/mailman/listinfo/dfw-pm >> > > > _______________________________________________ > Dfw-pm mailing listDfw-pm at pm.orghttp://mail.pm.org/mailman/listinfo/dfw-pm > > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wigthft at gmail.com Fri Oct 25 13:24:46 2013 From: wigthft at gmail.com (John Fields) Date: Fri, 25 Oct 2013 15:24:46 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> Message-ID: Prolly POE. And yes using an event-driven manager framework to call a IRC module is probably over kill. :) On Oct 25, 2013 3:21 PM, "Stephen Wylie" wrote: > AOE... are you talking ATA over Ethernet? Age of Empires? The secret of > the Alpha Phi fraternity? > > Clueless & floundering on Google, > Stephen > > > On Fri, Oct 25, 2013 at 2:01 PM, A.J. Maurin wrote: > >> 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. >> >> Anything beyond a quick one-liner of Perl looks daunting to me. >> >> I dislike using standard libraries. To me, it's learning how to use other >> people's code. Reinventing the wheel my butt. >> >> >> On 10/23/2013 12:00 PM, John Fields wrote: >> >> Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot >> >> Alex, look at this BasicBot page and let us know how difficult it looks! >> Not very compared to BASHing it out. :) >> >> http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ >> >> 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) >> On Oct 20, 2013 4:53 PM, "A.J. Maurin" wrote: >> >>> ^_^ >>> >>> 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. >>> >>> Yeah, people said I was insane for writing that script, a Bash shell >>> script IRC bot that used netcat. >>> >>> My response was "meow." I can't believe I lost that thumbdrive. >>> >>> On 10/20/2013 11:30 AM, Tommy Butler wrote: >>> >>>> 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 ;-) >>>> >>>> The IRC bot script that's being discussed sounds like lots of fun! >>>> >>> >>> _______________________________________________ >>> Dfw-pm mailing list >>> Dfw-pm at pm.org >>> http://mail.pm.org/mailman/listinfo/dfw-pm >>> >> >> >> _______________________________________________ >> Dfw-pm mailing listDfw-pm at pm.orghttp://mail.pm.org/mailman/listinfo/dfw-pm >> >> >> >> _______________________________________________ >> Dfw-pm mailing list >> Dfw-pm at pm.org >> http://mail.pm.org/mailman/listinfo/dfw-pm >> >> > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From dfwpm at internetalias.net Fri Oct 25 16:02:09 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Fri, 25 Oct 2013 18:02:09 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526AC014.8040602@darkdna.net> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> Message-ID: <526AF871.6090102@internetalias.net> If I may opine, using POE for an IRC bot is not overkill. On the other hand, a bash-based, netcat-powered IRC bot is a beautiful thing. This topic brings up some thoughts that might be helpful to some, so I just got out my soapbox... brace yourselves. While respecting the fact that you are free to maintain your own reasons for approaching code in a manner that conflicts with my experience, I'm going to share my past and present thoughts on the matter in the hope that someone reading this from the archives someday might avoid the same pitfalls that tripped me up in my days as a hubris-addled beginner. The do-everything-myself methodology was my major at the school of hard knocks for uninformed Perl hackers, graduating class of 1999. The painful practice of assembling even basic applications from bare atoms of matter might work well for a hobbyist with unlimited time and no clear goals, but in my case it proved to be harmful. It wasn't sustainable and didn't scale to any useful level. I quickly became unhappy in my work because the approach was deeply flawed. I had to mature as a programmer. Code reuse was a critical step along the path that I was still stumbling to find. Ultimately I found that my aversion to wheels-already-invented was damaging me as a programmer. I was holding myself back by adhering to three unfortunately common misconceptions. Basically, I thought that: 1. If someone else could do it, I could do it better and faster and therefore everything needed to be rewritten by /*me*/ in order to be good enough to use in my project 2. If someone else could do it, it somehow made me inferior until I could do the same thing better. So again, everything needed to be rewritten by /*me*/ so that I could be the best wheelwright 3. The use of code libraries from other programmers, by its very nature, was going to make my code run slowly. They didn't know what they were doing. I did. Obviously I was younger then, perhaps a bit stupid, and certainly wrong a lot of things. Now that I've been using Perl for nearly a decade and a half, pretty much daily, at some point I started thinking differently. May I present three finer points of wisdom I've come to understand: 1. If someone else can do it, that's super awesome! We needn't avoid participating in the vast pool of freely-available knowledge that we find in core Perl libraries and CPAN modules. Code reuse is a virtue. There's great strength in becoming the beneficiary of someone else's good will, genius and hard work. Most importantly, we don't need to reinvent wheels when we could be building warp drives instead 2. If someone else can do it, that doesn't diminish me. Given enough time I know I can come to an intimate understanding of someone else's "Wheel.pm" source code, /but unless it's absolutely necessary,*I'm happy not to*/. My warp drive prototype is waiting! Who cares about remaking wheels! 3. It turns out that using code libraries written by other brilliant programmers solves all kinds of speed problems and bottlenecks, and it's so easily accomplished in the mere minutes it takes to install the libraries with `cpanm`. Code reuse doesn't introduce hindrances as a matter of fact. It can actually help remove and prevent them. I was much happier and began to program more effectively when I realized these things. It's a /wonderful/ thing to know that reusing good code libraries from other programmers makes my own code less prone to break when I rocket it down the runway on wheels that have been tested many, many more times by many, many more geniuses. My code is more reliable and efficient as an intended consequence, and in the end I've actually produced a dependable application instead of another experimental wheel. Just hitch your wagon to /*that*/ warp drive, son. *THEREFORE THROW**YE DOWN YOUR WHEELS OF OPPRESSION AND EMBRACE CODE REUSE!* Go create jet packs and time machines! It's way more fun =) --Tommy Butler On 10/25/2013 02:01 PM, A.J. Maurin wrote: > 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. > > Anything beyond a quick one-liner of Perl looks daunting to me. > > I dislike using standard libraries. To me, it's learning how to use > other people's code. Reinventing the wheel my butt. > > On 10/23/2013 12:00 PM, John Fields wrote: >> >> Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot >> >> Alex, look at this BasicBot page and let us know how difficult it >> looks! Not very compared to BASHing it out. :) >> >> http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ >> >> 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) >> >> On Oct 20, 2013 4:53 PM, "A.J. Maurin" > > wrote: >> >> ^_^ >> >> 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. >> >> Yeah, people said I was insane for writing that script, a Bash >> shell script IRC bot that used netcat. >> >> My response was "meow." I can't believe I lost that thumbdrive. >> >> On 10/20/2013 11:30 AM, Tommy Butler wrote: >> >> 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 ;-) >> >> The IRC bot script that's being discussed sounds like lots of >> fun! >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From kbrannen at pwhome.com Fri Oct 25 18:36:43 2013 From: kbrannen at pwhome.com (kevin) Date: Fri, 25 Oct 2013 20:36:43 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526ABFA5.4010008@darkdna.net> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526ABFA5.4010008@darkdna.net> Message-ID: <526B1CAB.50804@pwhome.com> On 10/25/2013 01:59 PM, A.J. Maurin wrote: ... > > I'm still working on that shell script. I have to use a linode with > putty, because there's no such thing as a good Windows shell. It's a bit > unwieldy. > ... While not perl related, I'll say that the Cygwin (cygwin.org) bash shell generally does everything I need as I can use the same shell script on both Windows/Cygwin and Linux. Most of the supporting utils that you'll need are also available in Cygwin. Cygwin can also provide perl. :) If you must stay with "generally native shells", I've found PowerShell interesting, although the learning curve was steep enough that I stopped looking at it after using it enough to get a feel for its capabilities. HTH, Kevin From coyo at darkdna.net Fri Oct 25 22:07:38 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Sat, 26 Oct 2013 00:07:38 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> Message-ID: <526B4E1A.3080600@darkdna.net> I think I flubbed the acronym. It's an event driven networking framework for perl. It has everything including the kitchen sink. Overkill doesn't begin to cover it. On 10/25/2013 3:21 PM, Stephen Wylie wrote: > AOE... are you talking ATA over Ethernet? Age of Empires? The secret > of the Alpha Phi fraternity? > > Clueless & floundering on Google, > Stephen > > > On Fri, Oct 25, 2013 at 2:01 PM, A.J. Maurin > wrote: > > 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. > > Anything beyond a quick one-liner of Perl looks daunting to me. > > I dislike using standard libraries. To me, it's learning how to > use other people's code. Reinventing the wheel my butt. > > > On 10/23/2013 12:00 PM, John Fields wrote: >> >> Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot >> >> Alex, look at this BasicBot page and let us know how difficult it >> looks! Not very compared to BASHing it out. :) >> >> http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ >> >> 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) >> >> On Oct 20, 2013 4:53 PM, "A.J. Maurin" > > wrote: >> >> ^_^ >> >> 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. >> >> Yeah, people said I was insane for writing that script, a >> Bash shell script IRC bot that used netcat. >> >> My response was "meow." I can't believe I lost that thumbdrive. >> >> On 10/20/2013 11:30 AM, Tommy Butler wrote: >> >> 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 ;-) >> >> The IRC bot script that's being discussed sounds like >> lots of fun! >> >> >> _______________________________________________ >> Dfw-pm mailing list >> Dfw-pm at pm.org >> http://mail.pm.org/mailman/listinfo/dfw-pm >> >> >> >> _______________________________________________ >> Dfw-pm mailing list >> Dfw-pm at pm.org >> http://mail.pm.org/mailman/listinfo/dfw-pm > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Fri Oct 25 22:13:46 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Sat, 26 Oct 2013 00:13:46 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526B1CAB.50804@pwhome.com> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526ABFA5.4010008@darkdna.net> <526B1CAB.50804@pwhome.com> Message-ID: <526B4F8A.6070003@darkdna.net> On 10/25/2013 8:36 PM, kevin wrote: > On 10/25/2013 01:59 PM, A.J. Maurin wrote: > ... >> >> I'm still working on that shell script. I have to use a linode with >> putty, because there's no such thing as a good Windows shell. It's a bit >> unwieldy. >> ... > ... > While not perl related, I'll say that the Cygwin (cygwin.org) bash > shell generally does everything I need as I can use the same shell > script on both Windows/Cygwin and Linux True. I tend to avoid relying on Windows subsystems, preferring thin abstraction layers to provide generic platform-specific stuff that's expected, like widgets and whatever. As for Cygwin, especially X/Cygwin, and MinGW, the cygwin1.dll looks fascinating. Right now I'm learning Pascal, with the intention of learning Object Pascal (AKA Delphi), since I need something that compiles down to native executable binaries that IS NOT C/C++. I have a medically diagnosed phobia of C, especially C pointers. I've had to be admitted to a hospital after throwing a null exception. Never again! However, I'm having fun making silly .exe binaries with Pascal. I made name_game.exe and shared that over skype. he got a kick out of that. Interestingly, most windows malware and trojans seem to be written in delphi/object pascal. i wonder why. From dfwpm at internetalias.net Sun Oct 27 15:21:36 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Sun, 27 Oct 2013 17:21:36 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> Message-ID: <526D91F0.6070608@internetalias.net> So I wrote an irc bot , tested it out several times, and put it up on github in all of 2 hours this afternoon. It's built on Bot::BasicBot . Bot::BasicBot is *gasp* built on POE . /*This bot is neat and I think this would be very fun to extend.*/ 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. What do you think? Feel free to disagree. --Tommy Butler On 10/25/2013 03:24 PM, John Fields wrote: > > Prolly POE. And yes using an event-driven manager framework to call a > IRC module is probably over kill. > > :) > > On Oct 25, 2013 3:21 PM, "Stephen Wylie" > wrote: > > AOE... are you talking ATA over Ethernet? Age of Empires? The > secret of the Alpha Phi fraternity? > > Clueless & floundering on Google, > Stephen > > > On Fri, Oct 25, 2013 at 2:01 PM, A.J. Maurin > wrote: > > 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. > > Anything beyond a quick one-liner of Perl looks daunting to me. > > I dislike using standard libraries. To me, it's learning how > to use other people's code. Reinventing the wheel my butt. > > > On 10/23/2013 12:00 PM, John Fields wrote: >> >> Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot >> >> Alex, look at this BasicBot page and let us know how >> difficult it looks! Not very compared to BASHing it out. :) >> >> http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ >> >> 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) >> >> On Oct 20, 2013 4:53 PM, "A.J. Maurin" > > wrote: >> >> ^_^ >> >> 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. >> >> Yeah, people said I was insane for writing that script, a >> Bash shell script IRC bot that used netcat. >> >> My response was "meow." I can't believe I lost that >> thumbdrive. >> >> On 10/20/2013 11:30 AM, Tommy Butler wrote: >> >> 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 ;-) >> >> The IRC bot script that's being discussed sounds like >> lots of fun! >> -------------- next part -------------- An HTML attachment was scrubbed... URL: From dfwpm at internetalias.net Mon Oct 28 16:05:04 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Mon, 28 Oct 2013 18:05:04 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526D91F0.6070608@internetalias.net> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> <526D91F0.6070608@internetalias.net> Message-ID: <526EEDA0.4060306@internetalias.net> Just for fun I turned my 22*** line IRC greeter bot into a 52 line IRC spellchecker bot (screenshot below). This bot is currently logged into irc.perl.org taking requests in the #bot-test channel. Like greeter bot, spellchecker bot is in the DFW Perl Mongers irc bot repo on github. /***line counts do not include comment lines/ --Tommy Butler On 10/27/2013 05:21 PM, Tommy Butler wrote: > So I wrote an irc bot , tested it > out several times, and put it up on github in all of 2 hours this > afternoon. It's built on Bot::BasicBot > . Bot::BasicBot is *gasp* > built on POE . /*This bot is neat and I > think this would be very fun to extend.*/ > > 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. > > What do you think? Feel free to disagree. > > --Tommy Butler > > On 10/25/2013 03:24 PM, John Fields wrote: >> >> Prolly POE. And yes using an event-driven manager framework to call >> a IRC module is probably over kill. >> >> :) >> >> On Oct 25, 2013 3:21 PM, "Stephen Wylie" > > wrote: >> >> AOE... are you talking ATA over Ethernet? Age of Empires? The >> secret of the Alpha Phi fraternity? >> >> Clueless & floundering on Google, >> Stephen >> >> >> On Fri, Oct 25, 2013 at 2:01 PM, A.J. Maurin > > wrote: >> >> 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. >> >> Anything beyond a quick one-liner of Perl looks daunting to me. >> >> I dislike using standard libraries. To me, it's learning how >> to use other people's code. Reinventing the wheel my butt. >> >> >> On 10/23/2013 12:00 PM, John Fields wrote: >>> >>> Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot >>> >>> Alex, look at this BasicBot page and let us know how >>> difficult it looks! Not very compared to BASHing it out. :) >>> >>> http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ >>> >>> 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) >>> >>> On Oct 20, 2013 4:53 PM, "A.J. Maurin" >> > wrote: >>> >>> ^_^ >>> >>> 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. >>> >>> Yeah, people said I was insane for writing that script, >>> a Bash shell script IRC bot that used netcat. >>> >>> My response was "meow." I can't believe I lost that >>> thumbdrive. >>> >>> On 10/20/2013 11:30 AM, Tommy Butler wrote: >>> >>> 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 ;-) >>> >>> The IRC bot script that's being discussed sounds >>> like lots of fun! >>> -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 676789 bytes Desc: not available URL: From wigthft at gmail.com Mon Oct 28 16:40:14 2013 From: wigthft at gmail.com (John Fields) Date: Mon, 28 Oct 2013 18:40:14 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526EEDA0.4060306@internetalias.net> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> <526D91F0.6070608@internetalias.net> <526EEDA0.4060306@internetalias.net> Message-ID: That is entirely cromulent code! (I just added cromulent to my phone's dictionary). Looking forward to playing with this, I think I misunderstood the scope of POE! On Oct 28, 2013 6:07 PM, "Tommy Butler" wrote: > Just for fun I turned my 22*** line IRC greeter bot into a 52 line IRC > spellchecker bot (screenshot below). > > This bot is currently logged into irc.perl.org taking requests in the > #bot-test channel. > > Like greeter bot, spellchecker bot is in the DFW Perl Mongers irc bot > repo on github. > > * *line counts do not include comment lines* > > > > --Tommy Butler > > On 10/27/2013 05:21 PM, Tommy Butler wrote: > > So I wrote an irc bot , tested it out > several times, and put it up on github in all of 2 hours this afternoon. > It's built on Bot::BasicBot . > Bot::BasicBot is *gasp* built on POE . *This > bot is neat and I think this would be very fun to extend.* > > 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. > > What do you think? Feel free to disagree. > > --Tommy Butler > > On 10/25/2013 03:24 PM, John Fields wrote: > > Prolly POE. And yes using an event-driven manager framework to call a IRC > module is probably over kill. > > :) > On Oct 25, 2013 3:21 PM, "Stephen Wylie" > wrote: > >> AOE... are you talking ATA over Ethernet? Age of Empires? The secret of >> the Alpha Phi fraternity? >> >> Clueless & floundering on Google, >> Stephen >> >> >> On Fri, Oct 25, 2013 at 2:01 PM, A.J. Maurin wrote: >> >>> 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. >>> >>> Anything beyond a quick one-liner of Perl looks daunting to me. >>> >>> I dislike using standard libraries. To me, it's learning how to use >>> other people's code. Reinventing the wheel my butt. >>> >>> >>> On 10/23/2013 12:00 PM, John Fields wrote: >>> >>> Shaun, Net::IRC is deprecated. I KNOW! Says try Bot::BasicBot >>> >>> Alex, look at this BasicBot page and let us know how difficult it >>> looks! Not very compared to BASHing it out. :) >>> >>> http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ >>> >>> 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) >>> On Oct 20, 2013 4:53 PM, "A.J. Maurin" wrote: >>> >>>> ^_^ >>>> >>>> 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. >>>> >>>> Yeah, people said I was insane for writing that script, a Bash shell >>>> script IRC bot that used netcat. >>>> >>>> My response was "meow." I can't believe I lost that thumbdrive. >>>> >>>> On 10/20/2013 11:30 AM, Tommy Butler wrote: >>>> >>>>> 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 ;-) >>>>> >>>>> The IRC bot script that's being discussed sounds like lots of fun! >>>> >>>> > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 676789 bytes Desc: not available URL: From dfwpm at internetalias.net Mon Oct 28 20:05:16 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Mon, 28 Oct 2013 22:05:16 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> <526D91F0.6070608@internetalias.net> <526EEDA0.4060306@internetalias.net> Message-ID: <526F25EC.6010105@internetalias.net> 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. 69 lines of code for dictionary bot because the remote API is ... special. The code is up on github . You can play with dictbot on #bot-test at irc.perl.org (at least for a while). --Tommy Butler On 10/28/2013 06:40 PM, John Fields wrote: > > That is entirely cromulent code! > (I just added cromulent to my phone's dictionary). > > Looking forward to playing with this, I think I misunderstood the > scope of POE! > > On Oct 28, 2013 6:07 PM, "Tommy Butler" > wrote: > > Just for fun I turned my 22*** line IRC greeter bot into a 52 line > IRC spellchecker bot (screenshot below). > > This bot is currently logged into irc.perl.org > taking requests in the #bot-test channel. > > Like greeter bot, spellchecker bot is in the DFW Perl Mongers irc > bot repo on github. > > /***line counts do not include comment lines/ > > > > --Tommy Butler > > On 10/27/2013 05:21 PM, Tommy Butler wrote: >> So I wrote an irc bot , tested >> it out several times, and put it up on github in all of 2 hours >> this afternoon. It's built on Bot::BasicBot >> . Bot::BasicBot is >> *gasp* built on POE . /*This bot >> is neat and I think this would be very fun to extend.*/ >> >> 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. >> >> What do you think? Feel free to disagree. >> >> --Tommy Butler >> >> On 10/25/2013 03:24 PM, John Fields wrote: >>> >>> Prolly POE. And yes using an event-driven manager framework to >>> call a IRC module is probably over kill. >>> >>> :) >>> >>> On Oct 25, 2013 3:21 PM, "Stephen Wylie" >>> > >>> wrote: >>> >>> AOE... are you talking ATA over Ethernet? Age of Empires? >>> The secret of the Alpha Phi fraternity? >>> >>> Clueless & floundering on Google, >>> Stephen >>> >>> >>> On Fri, Oct 25, 2013 at 2:01 PM, A.J. Maurin >>> > wrote: >>> >>> 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. >>> >>> Anything beyond a quick one-liner of Perl looks daunting >>> to me. >>> >>> I dislike using standard libraries. To me, it's learning >>> how to use other people's code. Reinventing the wheel my >>> butt. >>> >>> >>> On 10/23/2013 12:00 PM, John Fields wrote: >>>> >>>> Shaun, Net::IRC is deprecated. I KNOW! Says try >>>> Bot::BasicBot >>>> >>>> Alex, look at this BasicBot page and let us know how >>>> difficult it looks! Not very compared to BASHing it >>>> out. :) >>>> >>>> http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ >>>> >>>> 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) >>>> >>>> On Oct 20, 2013 4:53 PM, "A.J. Maurin" >>>> > wrote: >>>> >>>> ^_^ >>>> >>>> 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. >>>> >>>> Yeah, people said I was insane for writing that >>>> script, a Bash shell script IRC bot that used netcat. >>>> >>>> My response was "meow." I can't believe I lost that >>>> thumbdrive. >>>> >>>> On 10/20/2013 11:30 AM, Tommy Butler wrote: >>>> >>>> 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 ;-) >>>> >>>> The IRC bot script that's being discussed >>>> sounds like lots of fun! >>>> > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: feecbhjd.png Type: image/png Size: 128804 bytes Desc: not available URL: From coyo at darkdna.net Mon Oct 28 19:39:54 2013 From: coyo at darkdna.net (Alex M (Coyo)) Date: Mon, 28 Oct 2013 21:39:54 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> <526D91F0.6070608@internetalias.net> <526EEDA0.4060306@internetalias.net> Message-ID: <526F1FFA.6000403@darkdna.net> An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 676789 bytes Desc: not available URL: From coyo at darkdna.net Mon Oct 28 21:06:19 2013 From: coyo at darkdna.net (Alex M (Coyo)) Date: Mon, 28 Oct 2013 23:06:19 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526F25EC.6010105@internetalias.net> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> <526D91F0.6070608@internetalias.net> <526EEDA0.4060306@internetalias.net> <526F25EC.6010105@internetalias.net> Message-ID: <526F343B.4030601@darkdna.net> Tommy Butler wrote: > 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. > > > > 69 lines of code for dictionary bot because the remote API is ... special. Special API for special people. ^_^ From dfwpm at internetalias.net Tue Oct 29 05:20:25 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Tue, 29 Oct 2013 07:20:25 -0500 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526F1FFA.6000403@darkdna.net> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> <526D91F0.6070608@internetalias.net> <526EEDA0.4060306@internetalias.net> <526F1FFA.6000403@darkdna.net> Message-ID: <526FA809.8010006@internetalias.net> That is gnome terminal, the default terminal for Debian Linux (Ubuntu Linux comes from Debian). Inside the terminal I'm running vim as the editor, which produces the lovely color coding. Vim offers many color schemes. You can run vim on mac and windows also, but if vim isn't your thing, you can try sublime (a new and popular editor that isn't modal like vim, and is therefore less powerful but easier to learn). Sublime also offers color coding. Another alternative is Padre, which is an editor written explicitly for Perl programmers. Padre is also modeless. I prefer the power of vim to any of the others, and I would never steer a fellow programmer toward emacs, so I won't mention it beyond that ;-) --Tommy Butler On 10/28/2013 09:39 PM, Alex M (Coyo) wrote: > I love that virtual terminal. It's very shiny. How did you get the > syntax highlighting? > > John Fields wrote: >> >> That is entirely cromulent code! >> (I just added cromulent to my phone's dictionary). >> >> Looking forward to playing with this, I think I misunderstood the >> scope of POE! >> >> On Oct 28, 2013 6:07 PM, "Tommy Butler" > > wrote: >> >> Just for fun I turned my 22*** line IRC greeter bot into a 52 >> line IRC spellchecker bot (screenshot below). >> >> This bot is currently logged into irc.perl.org >> taking requests in the #bot-test channel. >> >> Like greeter bot, spellchecker bot is in the DFW Perl Mongers irc >> bot repo on github. >> >> /***line counts do not include comment lines/ >> >> >> >> --Tommy Butler >> >> On 10/27/2013 05:21 PM, Tommy Butler wrote: >>> So I wrote an irc bot , >>> tested it out several times, and put it up on github in all of 2 >>> hours this afternoon. It's built on Bot::BasicBot >>> . Bot::BasicBot is >>> *gasp* built on POE . /*This bot >>> is neat and I think this would be very fun to extend.*/ >>> >>> 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. >>> >>> What do you think? Feel free to disagree. >>> >>> --Tommy Butler >>> >>> On 10/25/2013 03:24 PM, John Fields wrote: >>>> >>>> Prolly POE. And yes using an event-driven manager framework to >>>> call a IRC module is probably over kill. >>>> >>>> :) >>>> >>>> On Oct 25, 2013 3:21 PM, "Stephen Wylie" >>>> > >>>> wrote: >>>> >>>> AOE... are you talking ATA over Ethernet? Age of Empires? >>>> The secret of the Alpha Phi fraternity? >>>> >>>> Clueless & floundering on Google, >>>> Stephen >>>> >>>> >>>> On Fri, Oct 25, 2013 at 2:01 PM, A.J. Maurin >>>> > wrote: >>>> >>>> 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. >>>> >>>> Anything beyond a quick one-liner of Perl looks >>>> daunting to me. >>>> >>>> I dislike using standard libraries. To me, it's >>>> learning how to use other people's code. Reinventing >>>> the wheel my butt. >>>> >>>> >>>> On 10/23/2013 12:00 PM, John Fields wrote: >>>>> >>>>> Shaun, Net::IRC is deprecated. I KNOW! Says try >>>>> Bot::BasicBot >>>>> >>>>> Alex, look at this BasicBot page and let us know how >>>>> difficult it looks! Not very compared to BASHing it >>>>> out. :) >>>>> >>>>> http://blog.rajatpandit.com/2008/02/25/writing-an-irc-bot/ >>>>> >>>>> 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) >>>>> >>>>> On Oct 20, 2013 4:53 PM, "A.J. Maurin" >>>>> > wrote: >>>>> >>>>> ^_^ >>>>> >>>>> 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. >>>>> >>>>> Yeah, people said I was insane for writing that >>>>> script, a Bash shell script IRC bot that used netcat. >>>>> >>>>> My response was "meow." I can't believe I lost >>>>> that thumbdrive. >>>>> >>>>> On 10/20/2013 11:30 AM, Tommy Butler wrote: >>>>> >>>>> 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 ;-) >>>>> >>>>> The IRC bot script that's being discussed >>>>> sounds like lots of fun! >>>>> -------------- next part -------------- An HTML attachment was scrubbed... URL: From dfwpm at internetalias.net Tue Oct 29 08:08:23 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Tue, 29 Oct 2013 10:08:23 -0500 Subject: [DFW.pm] What would you call a bot that does everything? Message-ID: <526FCF67.9030608@internetalias.net> Omnibot? Rosie? I'm talking about an IRC bot that accepts as many plugins as you want to add. /*What would you call it?*/ I'm creating Moose roles to add to the core mongerbot that I originally wrote a few days ago, so I can effectively write "plugins" for the bot instead of writing a bot for every task (thesaurus bot, dictionary bot, spelling bot, wolfram bot...) This is all actually WAY easier than it sounds. I'm doing this because it's fun, and because I want to use it as an educational opportunity to: 1. present how easy object oriented Perl is (and how much easier it makes your programming) 2. introduce Moose and "postmodern" Perl (current best practices) 3. discuss the use of roles vs inheritance in OOP Don't worry. I'm not going to force this onto anyone who doesn't want it -- there are many out there who just do not like OOP _at all_, which is your right as a red blooded Perl Monger. All I'm doing is creating example code that we can talk about and extend if you like. Plugins, maaaan! But I have a fundamental problem here: a bot without a name is a sad bot. I'm not good at naming robots. --Tommy Butler -------------- next part -------------- An HTML attachment was scrubbed... URL: From mr.muskrat at gmail.com Tue Oct 29 08:31:17 2013 From: mr.muskrat at gmail.com (Matthew Musgrove) Date: Tue, 29 Oct 2013 10:31:17 -0500 Subject: [DFW.pm] What would you call a bot that does everything? In-Reply-To: <526FCF67.9030608@internetalias.net> References: <526FCF67.9030608@internetalias.net> Message-ID: It's a moose bot so Cephenemyia ulrichii or maybe Bullwinkle. Matt On Tue, Oct 29, 2013 at 10:08 AM, Tommy Butler wrote: > Omnibot? Rosie? I'm talking about an IRC bot that accepts as many > plugins as you want to add. *What would you call it?* > > I'm creating Moose roles to add to the core mongerbot that I originally > wrote a few days ago, so I can effectively write "plugins" for the bot > instead of writing a bot for every task (thesaurus bot, dictionary bot, > spelling bot, wolfram bot...) This is all actually WAY easier than it > sounds. > > I'm doing this because it's fun, and because I want to use it as an > educational opportunity to: > > 1. present how easy object oriented Perl is (and how much easier it > makes your programming) > 2. introduce Moose and "postmodern" Perl (current best practices) > 3. discuss the use of roles vs inheritance in OOP > > Don't worry. I'm not going to force this onto anyone who doesn't want it > -- there are many out there who just do not like OOP _at all_, which is > your right as a red blooded Perl Monger. All I'm doing is creating example > code that we can talk about and extend if you like. Plugins, maaaan! > > But I have a fundamental problem here: a bot without a name is a sad bot. > I'm not good at naming robots. > > --Tommy Butler > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nathan at mitsi.com Tue Oct 29 10:45:52 2013 From: nathan at mitsi.com (Nathan Dyck) Date: Tue, 29 Oct 2013 12:45:52 -0500 Subject: [DFW.pm] What would you call a bot that does everything? In-Reply-To: <526FCF67.9030608@internetalias.net> References: <526FCF67.9030608@internetalias.net> Message-ID: <526FF450.1030502@mitsi.com> Jack (of all trades)? On 10/29/2013 10:08 AM, Tommy Butler wrote: > Omnibot? Rosie? I'm talking about an IRC bot that accepts as many > plugins as you want to add. /*What would you call it?*/ > > I'm creating Moose roles to add to the core mongerbot that I > originally wrote a few days ago, so I can effectively write "plugins" > for the bot instead of writing a bot for every task (thesaurus bot, > dictionary bot, spelling bot, wolfram bot...) This is all actually WAY > easier than it sounds. > > I'm doing this because it's fun, and because I want to use it as an > educational opportunity to: > > 1. present how easy object oriented Perl is (and how much easier it > makes your programming) > 2. introduce Moose and "postmodern" Perl (current best practices) > 3. discuss the use of roles vs inheritance in OOP > > Don't worry. I'm not going to force this onto anyone who doesn't want > it -- there are many out there who just do not like OOP _at all_, > which is your right as a red blooded Perl Monger. All I'm doing is > creating example code that we can talk about and extend if you like. > Plugins, maaaan! > > But I have a fundamental problem here: a bot without a name is a sad > bot. I'm not good at naming robots. > > --Tommy Butler > > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm -------------- next part -------------- An HTML attachment was scrubbed... URL: From wigthft at gmail.com Tue Oct 29 11:00:11 2013 From: wigthft at gmail.com (John Fields) Date: Tue, 29 Oct 2013 13:00:11 -0500 Subject: [DFW.pm] What would you call a bot that does everything? In-Reply-To: <526FCF67.9030608@internetalias.net> References: <526FCF67.9030608@internetalias.net> Message-ID: I guess PerlBot is too obvious? It does everything, and most of it real well. HothBot! Higher Order THinking Bot. On Oct 29, 2013 10:08 AM, "Tommy Butler" wrote: > Omnibot? Rosie? I'm talking about an IRC bot that accepts as many > plugins as you want to add. *What would you call it?* > > I'm creating Moose roles to add to the core mongerbot that I originally > wrote a few days ago, so I can effectively write "plugins" for the bot > instead of writing a bot for every task (thesaurus bot, dictionary bot, > spelling bot, wolfram bot...) This is all actually WAY easier than it > sounds. > > I'm doing this because it's fun, and because I want to use it as an > educational opportunity to: > > 1. present how easy object oriented Perl is (and how much easier it > makes your programming) > 2. introduce Moose and "postmodern" Perl (current best practices) > 3. discuss the use of roles vs inheritance in OOP > > Don't worry. I'm not going to force this onto anyone who doesn't want it > -- there are many out there who just do not like OOP _at all_, which is > your right as a red blooded Perl Monger. All I'm doing is creating example > code that we can talk about and extend if you like. Plugins, maaaan! > > But I have a fundamental problem here: a bot without a name is a sad bot. > I'm not good at naming robots. > > --Tommy Butler > > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mr.muskrat at gmail.com Tue Oct 29 12:23:31 2013 From: mr.muskrat at gmail.com (Matthew Musgrove) Date: Tue, 29 Oct 2013 14:23:31 -0500 Subject: [DFW.pm] I <3 Perl bumper sticker Message-ID: Yesterday evening as I was sitting in the left lane of westbound Gateway Dr on the eastern side of 161, I spotted a small, black car in the right lane with bloody hands and feet sticking out of the trunk. As the car pulled ahead, I noticed it also had a I <3 Perl bumper sticker (black text, red heart). Sadly, I could not follow this individual to give them a thumbs up, head nod or other sign of approval. If the driver of said vehicle is reading this message, you can feel good about placing said bumper sticker on your ride (and showing your love of Halloween which is what got my attention in the first place). Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: From pmichaud at pobox.com Tue Oct 29 12:30:44 2013 From: pmichaud at pobox.com (Patrick R. Michaud) Date: Tue, 29 Oct 2013 14:30:44 -0500 Subject: [DFW.pm] What would you call a bot that does everything? In-Reply-To: <526FCF67.9030608@internetalias.net> References: <526FCF67.9030608@internetalias.net> Message-ID: <20131029193044.GA1800@pmichaud.com> On Tue, Oct 29, 2013 at 10:08:23AM -0500, Tommy Butler wrote: > Omnibot? Rosie? I'm talking about an IRC bot that accepts as many > plugins as you want to add. /*What would you call it?*/ Off the top of my head, and don't know if any of these are taken: plugbot plugger dfwbot xbot anybot unibot camelbot sakbot ("swiss army knife bot") chbot (similar idea, but using "ch" for "swiss") Pm From wigthft at gmail.com Tue Oct 29 12:42:16 2013 From: wigthft at gmail.com (John Fields) Date: Tue, 29 Oct 2013 14:42:16 -0500 Subject: [DFW.pm] What would you call a bot that does everything? In-Reply-To: <20131029193044.GA1800@pmichaud.com> References: <526FCF67.9030608@internetalias.net> <20131029193044.GA1800@pmichaud.com> Message-ID: CamelBot "did you mean Camelot?" @camel_bot is on twitter in Japan Plugbot = "an IRC bot written in c++, extendible via plugins in Lua/c++..." Anybots.com makes the anybot robots. 5 points to PM for his naming acumen. At work, but I thought I would share my break time.. :) On Oct 29, 2013 2:30 PM, "Patrick R. Michaud" wrote: > On Tue, Oct 29, 2013 at 10:08:23AM -0500, Tommy Butler wrote: > > Omnibot? Rosie? I'm talking about an IRC bot that accepts as many > > plugins as you want to add. /*What would you call it?*/ > > Off the top of my head, and don't know if any of these are taken: > > plugbot > plugger > dfwbot > xbot > anybot > unibot > camelbot > sakbot ("swiss army knife bot") > chbot (similar idea, but using "ch" for "swiss") > > Pm > _______________________________________________ > Dfw-pm mailing list > Dfw-pm at pm.org > http://mail.pm.org/mailman/listinfo/dfw-pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: From coyo at darkdna.net Tue Oct 29 14:04:53 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Tue, 29 Oct 2013 15:04:53 -0600 Subject: [DFW.pm] What would you call a bot that does everything? In-Reply-To: References: <526FCF67.9030608@internetalias.net> Message-ID: <527022F5.5020004@darkdna.net> how about MongerJack? John Fields wrote: > > I guess PerlBot is too obvious? It does everything, and most of it > real well. > > HothBot! Higher Order THinking Bot. > > On Oct 29, 2013 10:08 AM, "Tommy Butler" > wrote: > > Omnibot? Rosie? I'm talking about an IRC bot that accepts as > many plugins as you want to add. /*What would you call it?*/ > > I'm creating Moose roles to add to the core mongerbot that I > originally wrote a few days ago, so I can effectively write > "plugins" for the bot instead of writing a bot for every task > (thesaurus bot, dictionary bot, spelling bot, wolfram bot...) > This is all actually WAY easier than it sounds. > From coyo at darkdna.net Tue Oct 29 14:36:25 2013 From: coyo at darkdna.net (A.J. Maurin) Date: Tue, 29 Oct 2013 15:36:25 -0600 Subject: [DFW.pm] Is Perl Like Shell Script? In-Reply-To: <526D91F0.6070608@internetalias.net> References: <526069A6.8020307@darkdna.net> <526094A5.3010504@pwhome.com> <526325E2.9020508@darkdna.net> <2e20549b-fba4-4054-ac28-55d9b67aaf9c@email.android.com> <526450B5.5060901@darkdna.net> <526AC014.8040602@darkdna.net> <526D91F0.6070608@internetalias.net> Message-ID: <52702A59.5060304@darkdna.net> Sounds like fun to me. Tommy Butler wrote: > So I wrote an irc bot , tested it > out several times, and put it up on github in all of 2 hours this > afternoon. It's built on Bot::BasicBot > . Bot::BasicBot is *gasp* > built on POE . /*This bot is neat and I > think this would be very fun to extend.*/ > > 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. From dfwpm at internetalias.net Tue Oct 29 21:03:18 2013 From: dfwpm at internetalias.net (Tommy Butler) Date: Tue, 29 Oct 2013 23:03:18 -0500 Subject: [DFW.pm] What would you call a bot that does everything? In-Reply-To: References: <526FCF67.9030608@internetalias.net> <20131029193044.GA1800@pmichaud.com> Message-ID: <52708506.5010107@internetalias.net> Totally <3 the names Patrick. While waiting on feedback for the name I went ahead and named it borgbot, because like the borg, it assimilated the other bots I'd written. If anyone has a very passionate name preference, send a pull request to the git repo .The result is a bot that takes very easy-to-make plugins, which are defined in borgbot.yml along with some other settings. So you actually just have to create a Moose role in module and list it in the config file. That's easy. When borgbot runs it sucks in each listed role, and applies it to itself. All that is required of the plugin writer is to follow an example format which defines the added commands that the plugin provides, lists any aliases to which the core command(s) of the plugin will also answer, and then one or more subroutines. The subroutine names in the plugin then become the names of new commands that borgbot supports. So if you write a plugin and it has a subroutine named "text_john_cellphone", then in the IRC channel you would type "*borg text_john_cellphone* Hi J don't forget to pick up milk!" Thanks to code reuse, borgbot is still only 58 lines long. The plugins aren't much longer. Here's what it looks like to run borgbot: Here's what it looks like to talk to borgbot (join irc.perl.org#bot-test if you want to talk to the borg) This is how hard it is to write a plugin (see the 3 introductory ones up on github for documented examples): ...And it's on github. --Tommy Butler On 10/29/2013 02:42 PM, John Fields wrote: > > CamelBot "did you mean Camelot?" > @camel_bot is on twitter in Japan > > Plugbot = "an IRC bot written in c++, extendible via plugins in > Lua/c++..." > > Anybots.com makes the anybot robots. > > 5 points to PM for his naming acumen. At work, but I thought I would > share my break time.. :) > > On Oct 29, 2013 2:30 PM, "Patrick R. Michaud" > wrote: > > On Tue, Oct 29, 2013 at 10:08:23AM -0500, Tommy Butler wrote: > > Omnibot? Rosie? I'm talking about an IRC bot that accepts as many > > plugins as you want to add. /*What would you call it?*/ > > Off the top of my head, and don't know if any of these are taken: > > plugbot > plugger > dfwbot > xbot > anybot > unibot > camelbot > sakbot ("swiss army knife bot") > chbot (similar idea, but using "ch" for "swiss") > > Pm > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: jjfihhjj.png Type: image/png Size: 196012 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: gbcghcbf.png Type: image/png Size: 237671 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: efcbcffg.png Type: image/png Size: 157235 bytes Desc: not available URL: From saj at thecommune.net Thu Oct 31 09:05:56 2013 From: saj at thecommune.net (Stuart A Johnston) Date: Thu, 31 Oct 2013 10:05:56 -0600 Subject: [DFW.pm] Dallas Perl Job opening Message-ID: <52727FE4.90307@thecommune.net> http://matrixres.broadbeantech.com/jobs/view/220481/Perl-Software-Engineer.html I'm not directly involved in the hiring on this one so please apply though the link.