From chardin at gmail.com Mon Oct 1 10:19:37 2012 From: chardin at gmail.com (Chuck Hardin) Date: Mon, 1 Oct 2012 10:19:37 -0700 Subject: [Thousand-Oaks-pm] Next meeting is on Wednesday, October 10! Message-ID: Greetings, Thousand Oaks Perl Mongers! Our next meeting is on Wednesday, October 10, at 7 PM. I'll update the page at http://thousand-oaks.pm.org/ tonight to reflect this, but it has the right information on the location of the meeting. We'd love to hear from you! Do you have a topic to present or discuss? Tell us all about it! Best, CCH From pbowen at valueclick.com Mon Oct 1 16:39:26 2012 From: pbowen at valueclick.com (Peter Bowen) Date: Mon, 1 Oct 2012 23:39:26 +0000 Subject: [Thousand-Oaks-pm] Next meeting is on Wednesday, October 10! In-Reply-To: References: Message-ID: <716184BF245BAA44BD51DDC9E9D79421339FE973@LA-EXDB101.corp.valueclick.com> I would love to talk about TDD... if anyone is interested in hearing it... -Peter -----Original Message----- From: Thousand-Oaks-pm [mailto:thousand-oaks-pm-bounces+pbowen=valueclick.com at pm.org] On Behalf Of Chuck Hardin Sent: Monday, October 01, 2012 10:20 AM To: ThousandOaks.pm Subject: [Thousand-Oaks-pm] Next meeting is on Wednesday, October 10! Greetings, Thousand Oaks Perl Mongers! Our next meeting is on Wednesday, October 10, at 7 PM. I'll update the page at http://thousand-oaks.pm.org/ tonight to reflect this, but it has the right information on the location of the meeting. We'd love to hear from you! Do you have a topic to present or discuss? Tell us all about it! Best, CCH _______________________________________________ ThousandOaks.pm - Thousand Oaks Perl Mongers Website: http://thousand-oaks.pm.org/ Mailing list: http://mail.pm.org/mailman/listinfo/thousand-oaks-pm This email and any files included with it may contain privileged, proprietary and/or confidential information that is for the sole use of the intended recipient(s). Any disclosure, copying, distribution, posting, or use of the information contained in or attached to this email is prohibited unless permitted by the sender. If you have received this email in error, please immediately notify the sender via return email, telephone, or fax and destroy this original transmission and its included files without reading or saving it in any manner. Thank you. From peter at bowenfamily.org Mon Oct 8 22:17:02 2012 From: peter at bowenfamily.org (Peter Bowen) Date: Mon, 08 Oct 2012 22:17:02 -0700 Subject: [Thousand-Oaks-pm] Wednesday Perl Mongers Message-ID: <5073B34E.7010005@bowenfamily.org> Hello Mongers, Last week, I offered to talk about TDD, and there was some interest, so Chuck has graciously allowed me to wax eloquent on Wednesday. We'll talk about TDD and then have a workshop of sorts where we'll try out our newly aquired TDD skills. Please bring a laptop with a perl interpreter of your choice. You should be sure that you have the Test::More module installed. To prepare, you may want to read through the slides available here: http://assets.en.oreilly.com/1/event/12/Practical%20Test-driven%20Development%20Presentation.pdf These are not the slides that I'll be using, but they are a good way to get started with TDD thinking. I look forward to seeing you all on Wednesday. -Peter From daoswald at gmail.com Thu Oct 11 17:18:51 2012 From: daoswald at gmail.com (David Oswald) Date: Thu, 11 Oct 2012 17:18:51 -0700 Subject: [Thousand-Oaks-pm] TDD workshop (TicTacToe sample) Message-ID: I had a little time last night after getting the kids to bed and played some more with our TDD Tic-Tac-Toe problem. The code can be viewed here: https://gist.github.com/3876537# Just for fun the engine that detects or rejects a win is a regex. Oh, and I didn't implement "x wins" and "o wins", instead just "winner" that returns "x", "o", or undef. Games should be a list that looks like qw( x4 o2 x0 o3 x8 ) .... (x wins). The board's positions are numbered 0..8: 0 1 2 3 4 5 6 7 8 Use it like this: my $winner = TicTac->new->play_moves( qw/ x4 o2 x0 o3 x8 / ); print "$winner wins\n" if defined $winner; Devel::Cover says: ---------------------------- ------ ------ ------ ------ ------ ------ ------ File stmt bran cond sub pod time total ---------------------------- ------ ------ ------ ------ ------ ------ ------ lib/TicTac.pm 100.0 100.0 100.0 100.0 0.0 100.0 95.5 Total 100.0 100.0 100.0 100.0 0.0 100.0 95.5 ---------------------------- ------ ------ ------ ------ ------ ------ ------ I'm not sure, but I think the 4.5% deduction is because there's no documentation covering the public methods. Thanks Peter for a fun workshop. Dave -- David Oswald daoswald at gmail.com From cynthia-brevik at roadrunner.com Wed Oct 17 16:08:30 2012 From: cynthia-brevik at roadrunner.com (Cynthia Brevik) Date: Wed, 17 Oct 2012 16:08:30 -0700 Subject: [Thousand-Oaks-pm] Idea for discussion Message-ID: <042201cdacbc$535aef70$fa10ce50$@com> This may not be the ideal topic for discussion, but it is an idea nonetheless... It might be interesting and educational if the group members were to share at least some of the routines that we have home-rolled to perform those annoying, repetitive tasks such as dealing with dates, numbers etc. For example, I hate bringing in the sprintf baggage for simple string formatting, so I have a 'personal' .pm that contains a set of basic routines that I use all of the time. Granted, it certainly does not replace even a fraction of what sprint can do, but it does most of what *I* need to do regularly. My routines will no doubt seem trivial to the group, but I am willing to reveal them all, probably at least a dozen in all. This could then evolve into techniques for creating modules. If anyone is at all interested in participating in this topic, please respond to the list. From cynthia-brevik at roadrunner.com Wed Oct 17 16:12:46 2012 From: cynthia-brevik at roadrunner.com (Cynthia Brevik) Date: Wed, 17 Oct 2012 16:12:46 -0700 Subject: [Thousand-Oaks-pm] Discussion idea Message-ID: <042301cdacbc$ebc9ea40$c35dbec0$@com> Whoa... with a fumbled keystroke I accidentally sent that last message (I hate Outlook) without saying that it was authored by *Barry Brevik*, not by my Wife Cindy whose account I am using temporarily . So, on with the comments, Barry Brevik From daoswald at gmail.com Wed Oct 17 19:01:58 2012 From: daoswald at gmail.com (David Oswald) Date: Wed, 17 Oct 2012 19:01:58 -0700 Subject: [Thousand-Oaks-pm] Idea for discussion In-Reply-To: <042201cdacbc$535aef70$fa10ce50$@com> References: <042201cdacbc$535aef70$fa10ce50$@com> Message-ID: On Wed, Oct 17, 2012 at 4:08 PM, Cynthia Brevik wrote: > It might be interesting and educational if the group members were to share > at least some of the routines that we have home-rolled to perform those > annoying, repetitive tasks such as dealing with dates, numbers etc. > > For example, I hate bringing in the sprintf baggage for simple string > formatting, so I have a 'personal' .pm that contains a set of basic routines > that I use all of the time. Granted, it certainly does not replace even a > fraction of what sprint can do, but it does most of what *I* need to do > regularly. > > My routines will no doubt seem trivial to the group, but I am willing to > reveal them all, probably at least a dozen in all. This could then evolve > into techniques for creating modules. > > If anyone is at all interested in participating in this topic, please > respond to the list. Sounds interesting to me. It's this sort of thing that leads to new idioms, new modules, and language progress. It sounds like a combination of a presentation and an open discussion, which seems like a common (and successful) format. :) When would you be interested in presenting/moderating it? Our "busy schedule" probably has openings Nov 14, or Dec 12. Unless a 2nd offer comes in to pre-empt me, I'm still open to doing a discussion on learning from other languages (with examples from the C++ world). I'll avoid the urge to take too much time so that we fit nicely into the typical Perl Mongers meeting duration. Dave -- David Oswald daoswald at gmail.com From daoswald at gmail.com Thu Oct 18 12:06:15 2012 From: daoswald at gmail.com (David Oswald) Date: Thu, 18 Oct 2012 12:06:15 -0700 Subject: [Thousand-Oaks-pm] Idea for discussion In-Reply-To: <04c601cdad5b$398f3c50$acadb4f0$@com> References: <042201cdacbc$535aef70$fa10ce50$@com> <04c601cdad5b$398f3c50$acadb4f0$@com> Message-ID: On Thu, Oct 18, 2012 at 11:05 AM, Cynthia Brevik wrote: >> When would you be interested in presenting/moderating it? Our "busy >> schedule" probably has openings Nov 14, or Dec 12. > > I could present it at any time as long as I have a little warning that the > group really wants to do it. > >> Unless a 2nd offer comes in to pre-empt me, I'm still open to doing a >> discussion on learning from other languages (with examples from the > > Dave, I remember your idea, and I have no intention of usurping your > presentation. Barry, I think there's probably plenty of time for both at November's meeting. I promise to keep mine to a reasonable time constraint (instead of my normal tendency to try to pack too much in). > My idea is something to hold in reserve for next time. I'm excited about the > excellent turn out we had at the last meeting, so I thought it would be nice > to have another topic handy. I actually have another presentation in mind in > addition to this, but I have not started it. I was happy with this last month's turn-out too, and hope to see it continue. If you want to take the first slot in November, I can take the 2nd one, or vice versa; whichever you prefer. It would be great to see your solutions to everyday problems! -- David Oswald daoswald at gmail.com From chardin at gmail.com Sun Oct 21 15:02:55 2012 From: chardin at gmail.com (Chuck Hardin) Date: Sun, 21 Oct 2012 15:02:55 -0700 Subject: [Thousand-Oaks-pm] Idea for discussion In-Reply-To: References: <042201cdacbc$535aef70$fa10ce50$@com> <04c601cdad5b$398f3c50$acadb4f0$@com> Message-ID: <0CAF864A-7EAC-42B5-92D2-59C94B672D1C@gmail.com> There's always room for a second presentation. We prefer to have two when we can get them, and I'm glad both of you are willing! I propose that Dave goes first. I have some utility scripts to present, and I'll bet others do as well; I think that segment of the meeting should go second, so that we don't make Dave await the fruits of our collective brilliance. :) Best, CCH On Oct 18, 2012, at 12:06 PM, David Oswald wrote: > On Thu, Oct 18, 2012 at 11:05 AM, Cynthia Brevik > wrote: >>> When would you be interested in presenting/moderating it? Our "busy >>> schedule" probably has openings Nov 14, or Dec 12. >> >> I could present it at any time as long as I have a little warning that the >> group really wants to do it. >> >>> Unless a 2nd offer comes in to pre-empt me, I'm still open to doing a >>> discussion on learning from other languages (with examples from the >> >> Dave, I remember your idea, and I have no intention of usurping your >> presentation. > > Barry, > > I think there's probably plenty of time for both at November's > meeting. I promise to keep mine to a reasonable time constraint > (instead of my normal tendency to try to pack too much in). > >> My idea is something to hold in reserve for next time. I'm excited about the >> excellent turn out we had at the last meeting, so I thought it would be nice >> to have another topic handy. I actually have another presentation in mind in >> addition to this, but I have not started it. > > I was happy with this last month's turn-out too, and hope to see it continue. > > If you want to take the first slot in November, I can take the 2nd > one, or vice versa; whichever you prefer. > > It would be great to see your solutions to everyday problems! > > > > > -- > > David Oswald > daoswald at gmail.com > > _______________________________________________ > ThousandOaks.pm - Thousand Oaks Perl Mongers > Website: http://thousand-oaks.pm.org/ > Mailing list: http://mail.pm.org/mailman/listinfo/thousand-oaks-pm From cynthia-brevik at roadrunner.com Tue Oct 23 13:06:48 2012 From: cynthia-brevik at roadrunner.com (Cynthia Brevik) Date: Tue, 23 Oct 2012 13:06:48 -0700 Subject: [Thousand-Oaks-pm] Idea for discussion In-Reply-To: <0CAF864A-7EAC-42B5-92D2-59C94B672D1C@gmail.com> References: <042201cdacbc$535aef70$fa10ce50$@com> <04c601cdad5b$398f3c50$acadb4f0$@com> <0CAF864A-7EAC-42B5-92D2-59C94B672D1C@gmail.com> Message-ID: <07e901cdb159$ef6fce20$ce4f6a60$@com> > There's always room for a second presentation. > We prefer to have two when we can get them, > and I'm glad both of you are willing! Oh great; now I have to deliver! I hope that I can. By all means Dave should go first; maybe he will use up all of the time . Barry Brevik From daoswald at gmail.com Tue Oct 23 13:08:56 2012 From: daoswald at gmail.com (David Oswald) Date: Tue, 23 Oct 2012 20:08:56 +0000 Subject: [Thousand-Oaks-pm] Idea for discussion In-Reply-To: <07e901cdb159$ef6fce20$ce4f6a60$@com> References: <042201cdacbc$535aef70$fa10ce50$@com> <04c601cdad5b$398f3c50$acadb4f0$@com> <0CAF864A-7EAC-42B5-92D2-59C94B672D1C@gmail.com> <07e901cdb159$ef6fce20$ce4f6a60$@com> Message-ID: <801503525-1351022937-cardhu_decombobulator_blackberry.rim.net-1005268933-@b5.c13.bise6.blackberry> Ha! I will resist the temptation. -- Dave Oswald -----Original Message----- From: "Cynthia Brevik" Sender: "Thousand-Oaks-pm" Date: Tue, 23 Oct 2012 13:06:48 To: 'Chuck Hardin'; 'ThousandOaks.pm' Subject: Re: [Thousand-Oaks-pm] Idea for discussion > There's always room for a second presentation. > We prefer to have two when we can get them, > and I'm glad both of you are willing! Oh great; now I have to deliver! I hope that I can. By all means Dave should go first; maybe he will use up all of the time . Barry Brevik _______________________________________________ ThousandOaks.pm - Thousand Oaks Perl Mongers Website: http://thousand-oaks.pm.org/ Mailing list: http://mail.pm.org/mailman/listinfo/thousand-oaks-pm