From garrett at scriptpro.com Wed Jan 8 17:09:44 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Reminder Next Meeting 7PM January ==> 14th <== Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8B4D@EXCH_MISSION> Just a friendly reminder that the next meeting is next Tuesday at 7PM at Planet Sub (50th and Main). -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030108/e57db2ae/attachment.htm From garrett at scriptpro.com Mon Jan 13 15:59:03 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] KC.PM Meeting Tomorrow 7PM Planet Sub at 50th and Main Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8B5B@EXCH_MISSION> Just a reminder that tomorrow's 7PM meeting will be at Planet Sub at 50th and Main (http://www.planetsub.com/kc.html). The agenda: o KC.PM website overhaul and future directions o Discussion on attracting/maintaining active members, alternative formats, project, etc. o Book Review: Graphics Programming with Perl o Puzzle: 100 Monkeys Next month: o Book Review: Programming WebServices with Perl o Presentation: AxKit, Template::ToolKit, Mason, and/or other -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com From amoore at mooresystems.com Tue Jan 14 21:05:49 2003 From: amoore at mooresystems.com (A Moore) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] January kc.pm.org meeting Message-ID: <1042599948.1140.37.camel@localhost.localdomain> Hi - The January kc.pm.org meeting was tonight at Planet Sub. The Elvis room was taken already and they temporarily had lost their liquor license, but that didn't stop us from having a heck of a time anyway. In attendance were myself, Michael Morgan, and Garrett. Here are some of the topics that we discussed: - Garrett gave a review of Mastering Algorithms with Perl http://www.oreilly.com/catalog/maperl/ , the text of it should be on the website shortly. - Since the last puzzle (the self-replicating program) was so tough, Garrett let us off with the "100 monkeys problem." It's a pretty good thought problem as well as a programming exercise, so hopefully he will mail the description out so you can all take a crack at it. - I spoke a bit about some changes I've been making to the website (http://kc.pm.org) including adding minutes from recent meetings, text about our regular meeting schedule, and cleaning some stuff up. I'll try to keep it updated with semi-regular news and whatnot, but I'll certainly try to delegate the work. Look for a wiki or something soon. - Michael brought a deck of "compost gin" cards (http://www.stanslaughter.com/compost/cpstgin.html) and mentioned that if we wanted to make an online version of it that the creator would probably let us. It could even turn into a way to support some of our meetings and books. - Garret brought up a pretty good discussion about trust metrics, like those used at Advogato, or Slashdot, and perhaps even Google. Don't forget to mark your calendar now for next month's episode. It's the second Tuesday of February, which makes it the 11th, I think. Anticipated topics include solutions to the 100 monkeys problem, a little bit of HTML::Mason, and more fun than you should be having on a Tuesday. See you all then. Andy From garrett at scriptpro.com Wed Jan 15 09:00:11 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Puzzle: 100 Monkeys Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8B62@EXCH_MISSION> 100 Monkeys 2003-01-14 Note: This puzzle came to me unattributed by way of a co-worker. If anyone chances by the source, please let me know so I can give credit. There are 100 doors, all closed. In a nearby cage are 100 monkeys. The first monkey is let out, and runs along the doors opening every one. The second monkey is then let out, and runs along the doors closing the 2nd, 4th, 6th,... all the even-numbered doors. The third monkey is let out. He attends only to the 3rd, 6th, 9th,... doors (every third door, in other words), closing any that is open and opening any that is closed. The fourth monkey does the same for the 4th, 8th, 12th, 16th,... doors, opening the closed ones and closing the open ones. The fifth monkey does the same to the 5th, 10th, 15th,... doors, and so on. After all 100 monkeys have done their work in this way, which doors are left open? Format: m/^\d+(?:\s\d+)*$/ # scalar must match this regex Goal: fastest script to calculate the answer Prize: Your choice of O'Reilly's o Perl in a Nutshell, 2nd Edition o Creating Applications with Mozilla Deadline: Answers must be submitted at least 24 hours before the next kc.pm meeting (February 11th) -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030115/40d8c495/attachment.htm From garrett at scriptpro.com Wed Jan 15 09:01:27 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Book Review: Mastering Algorithms with Perl (coming soon) Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8B63@EXCH_MISSION> The text of the book review is on my wife's computer. I'll post it to the list the next day or so. Sorry... -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030115/753f2084/attachment.htm From garrett at scriptpro.com Wed Jan 15 09:52:03 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] January's Meeting Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8B65@EXCH_MISSION> Andy thanks for all the work on the website. It's nice to see new and current materials out there. More power to you ;) It's also nice to see the groups' internet service moved to pm.org; removing our dependence on any particular group member. I.e., I'm no longer important. If I get hit by a bus... Andy already knows all the logins and passwords necessary to keep things running smoothly. Hopefully in February I'll be able to compliment the little bit of HTML::Mason, with a book review of Paul (Pavel) Kulchenko's "Programming Web Services with Perl". Paul was a local member of kc.pm for a long time. He still part of kc.pm, but now lives in Seattle, WA. He's also the author of Perl's SOAP::Lite module. I've been subscribed to the SOAP::Lite mailing list for a long time now, and I have to say that he's one of those rare talented programmers with an equally rare share of patience and good humor. If you're at all interested in cross-language and cross-platform RPC mechanisms you might consider checking out SOAP::Lite on search.cpan.org or picking up a copy of his new book (http://www.soaplite.com/#BOOKS). Now that we've solved the KCLUG conflict. -KCLUG meets the 3rd Tuesday of every month... I'm wondering if there are any other conflicts standing in the way of attendance? Perhaps there's a Buffy the Vampire Slayer (BTVS) conflict ;) ? Seriously though, if anyone has concerns please air them. I often fall into the trap of blindingly steering roughshod over the desires and interests of others... in the pursuit of the things I find interesting. And turning a deaf ear towards those interests which don't fall into line with my own. I say this because its not intentional, nor am I altogether conscious of it when doing so. I would like to see kc.pm grow back to a stable level of active members and participation. And I don't want to put myself in the way of that goal. I'd like kc.pm to be useful and rewarding to all its members, and not just those of a particular bent or interest. So please speak up on the mailing list and share with the rest of us things you'd like to do or see the group put more emphasis on. Perhaps ideas for the website, a group project, meetings with a social rather than technical agenda, or anything else. -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030115/b67aace2/attachment.htm From gedascher at multiservice.com Wed Jan 15 11:39:48 2003 From: gedascher at multiservice.com (Gene Dascher) Date: Mon Aug 2 21:31:05 2004 Subject: FW: [Kc] Puzzle: 100 Monkeys Message-ID: Forwarded at the request of Garrett. I'm showing my ignorance so you don't have to show yours!!! Gene -----Original Message----- From: Garrett Goebel [mailto:garrett@scriptpro.com] Sent: Wednesday, January 15, 2003 11:33 AM To: 'Gene Dascher' Subject: RE: [Kc] Puzzle: 100 Monkeys Gene, The regular expression used to verify the answer submission's format is probably an issue for a number of kc.pm members. Would mind my reposting the following explanation to the list? Gene Dascher wrote: > > Is that regex right? What is the ? supposed to be matching? > > m/^\d+(?:\s\d+)*$/ (?:pattern) means cluster but don't capture... It groups expressions but doesn't capture their values to the magic $1, $2, ... $n variables. It is faster and more efficient than the functionally equivalent m/^\d+(\s\d+)*$/, because it doesn't have to copy the values matched in (\s\d+) into $1. To illustrate, try: print '1 2 3' =~ m/^\d(?:\s\d+)*$/; print '1 2 3' =~ m/^\d(\s\d+)*$/; m// in list context returns a list consisting of the subexpressions matched by the capturing parentheses in the pattern, i.e., ($1, $2, $3...). When there are no capturing parentheses in the pattern, the return value is the list (1) for success. With or without parentheses, an empty list is returned upon failure. In our example, print takes a list of arguments, and thus supplies a list context for the return value of m//. Just to round out the explanation, in scalar context, each execution of m//g finds the next match, returning true if it matches, and false if there is no further match. So the first example would print: 1 Whereas the second would result in: 3 Both would pass the test for truth, but the example using non-capturing parens is slightly more efficient. > Please correct me, but it makes more sense like this: > m/^\d+(\:\s\d+)*$/ > or > m/^\d+(:?\s\d+)*$/ neither m/^\d+(?:\s\d+)*$/ would match the string "1 2 3". Your alternatives: m/^\d+(\:\s\d+)*$/ would match "1: 2: 3" m/^\d+(:?\s\d+)*$/ would match both "1 2 3" and "1: 2: 3" The second would match both. '?' is one of the standard regex quantifiers: + * ?. So :? would match either 0 or 1 occurances of ':'. -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com From scottk at uclick.com Wed Jan 15 12:06:35 2003 From: scottk at uclick.com (Scott Kahler) Date: Mon Aug 2 21:31:05 2004 Subject: FW: [Kc] Puzzle: 100 Monkeys References: Message-ID: <3E25A32B.2050108@uclick.com> > > >>m/^\d+(?:\s\d+)*$/ >> Just like to say I learned two things from that one piece of code. The whole ?: thing which is neat but I'm not sure how much often I'll get a chance to use it and also matching a pattern multiple times with ( )* which should have been competely obvious in some previous reading but I hadn't seen it before. Learning two things from 18 characters of code is pretty cool. -- Scott Kahler =-=-=-=-=-=-=-=-=-=-=-=-= Perl Geek http://www.uclick.com 816-210-8884 scottk@uclick.com =-=-=-=-=-=-=-=-=-=-=-=-= Flash is to the Web what cheesy, on-hold-music is to the telephone - superficial, and nothing but a distraction. From whatever at davidnicol.com Thu Jan 16 15:57:36 2003 From: whatever at davidnicol.com (david nicol) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] [Fwd: Newsletter from O'Reilly UG Program, Jan 16] Message-ID: <1042754256.3481.11.camel@chicago.davidnicol.com> -- David Nicol, independent consultant and contractor 312 587 2868 Dystopian science fiction novels are warnings, not blueprints. -------------- next part -------------- An embedded message was scrubbed... From: Marsee Henon Subject: Newsletter from O'Reilly UG Program, Jan 16 Date: Thu, 16 Jan 2003 13:45:30 -0800 (PST) Size: 18009 Url: http://mail.pm.org/pipermail/kc/attachments/20030116/b990fa3f/attachment.eml From garrett at scriptpro.com Fri Jan 17 10:22:47 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] appropriate topics for the mailing list? Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8B72@EXCH_MISSION> Folks, Our mailing list is pretty low volume. It mostly consists of group announcements. And as no one is actively complaining, I'm fairly confident we're happy with the current signal to noise ratio. But as someone pointed out to me, there might be an impression that the list is only for official announcements... Is this the general opinion? No one wants to be innundated with more emails which need to be filtered... But it begs the question: What types of topics do you all think are appropriate material for the mailing list? Are there any lurkers that'd come out of the shadows long enough to comment and perhaps make a suggestion or two? Based on London.pm among other lists... o perl past, present, and future o code questions o social fare o jobs, projects, opportunites o Buffy the Vampire Slayer o meeting planning and post-analysis o book reviews o module reviews o conference and presentation reviews o puzzles o presentation write-ups -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030117/98c7aa1c/attachment.htm From lezlie at net2business.com Fri Jan 17 10:52:24 2003 From: lezlie at net2business.com (Lezlie Martin) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] appropriate topics for the mailing list? In-Reply-To: <71BEC0D4E1DED3118F7A009027B12028034C8B72@EXCH_MISSION> Message-ID: <002501c2be48$cfaed720$9701010a@acropolis> appropriate topics for the mailing list?I like the jobs, projects and opportunities suggestion maybe code questions as well. [Lezlie Martin] -----Original Message----- From: kc-admin@mail.pm.org [mailto:kc-admin@mail.pm.org]On Behalf Of Garrett Goebel Sent: Friday, January 17, 2003 10:23 AM To: kc@mail.pm.org Subject: [Kc] appropriate topics for the mailing list? Folks, Our mailing list is pretty low volume. It mostly consists of group announcements. And as no one is actively complaining, I'm fairly confident we're happy with the current signal to noise ratio. But as someone pointed out to me, there might be an impression that the list is only for official announcements... Is this the general opinion? No one wants to be innundated with more emails which need to be filtered... But it begs the question: What types of topics do you all think are appropriate material for the mailing list? Are there any lurkers that'd come out of the shadows long enough to comment and perhaps make a suggestion or two? Based on London.pm among other lists... o perl past, present, and future o code questions o social fare o jobs, projects, opportunites o Buffy the Vampire Slayer o meeting planning and post-analysis o book reviews o module reviews o conference and presentation reviews o puzzles o presentation write-ups -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030117/fa8388fc/attachment.htm From gedascher at multiservice.com Fri Jan 17 11:10:57 2003 From: gedascher at multiservice.com (Gene Dascher) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] File Validation Message-ID: Is there a Package that I can use to verify that a file that a user is uploading to my server is a valid file for the extension that they have given? For now, I want to limit it to a small selection of web-friendly image types (jpeg, gif, png). Thanks, Gene From garrett at scriptpro.com Fri Jan 17 11:38:37 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] File Validation Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8B74@EXCH_MISSION> Gene Dascher wrote: > > Is there a Package that I can use to verify that a file that a > user is uploading to my server is a valid file for the extension > that they have given? For now, I want to limit it to a small > selection of web-friendly image types (jpeg, gif, png). Hmm... Someone else may have a better answer, but I wonder if Image::Size might fit the bill. http://search.cpan.org/author/RJRAY/Image-Size-2.991/Size.pm It reads the dimensions of an image in several formats. Not exactly an image file validator... but might be a good enough square peg for that round hole. O'Reilly has just released: "Perl Graphics Programming" (http://www.oreilly.com/catalog/perlgp/). We could check on getting O'Reilly to send you a review copy if you'd be willing to review the book. Of course, you're probably just interested in an answer to the issue at hand. -But it'd be interesting to hear how O'Reilly's book compares to Manning's "Graphic Programming with Perl"; which Doug Sparling will be reviewing in a not too distant meeting. -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030117/432f0562/attachment.htm From dhageman at dracken.com Fri Jan 17 14:28:46 2003 From: dhageman at dracken.com (D. Hageman) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] File Validation In-Reply-To: References: Message-ID: File::MMagic? Potential generic solution ... On Fri, 17 Jan 2003, Gene Dascher wrote: > Is there a Package that I can use to verify that a file that a user is > uploading to my server is a valid file for the extension that they have > given? For now, I want to limit it to a small selection of web-friendly > image types (jpeg, gif, png). > > Thanks, > Gene > > _______________________________________________ > kc mailing list > kc@mail.pm.org > http://mail.pm.org/mailman/listinfo/kc > -- //========================================================\\ || D. Hageman || \\========================================================// From gedascher at multiservice.com Fri Jan 17 14:55:49 2003 From: gedascher at multiservice.com (Gene Dascher) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] File Validation In-Reply-To: Message-ID: Yeah, I just found that package 30 minutes before I got your message. Thanks anyway. Gene > -----Original Message----- > From: D. Hageman [mailto:dhageman@dracken.com] > Sent: Friday, January 17, 2003 2:29 PM > To: Gene Dascher > Cc: kc@mail.pm.org > Subject: Re: [Kc] File Validation > > > > File::MMagic? Potential generic solution ... > > On Fri, 17 Jan 2003, Gene Dascher wrote: > > > Is there a Package that I can use to verify that a file that a user is > > uploading to my server is a valid file for the extension that they have > > given? For now, I want to limit it to a small selection of web-friendly > > image types (jpeg, gif, png). > > > > Thanks, > > Gene > > > > _______________________________________________ > > kc mailing list > > kc@mail.pm.org > > http://mail.pm.org/mailman/listinfo/kc > > > > -- > //========================================================\\ > || D. Hageman || > \\========================================================// From John.Whitmore at maryville.com Fri Jan 17 16:24:08 2003 From: John.Whitmore at maryville.com (John Whitmore) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Job Browsing Message-ID: <4AD1B6DD52F1FF40ADDDE1F80CF2F5D882CC3E@app8.maryville.com> Hello, Well, I am the cause of the recent question about what types of mail are appropriate on this list. Without waiting for the response, I have decided to go ahead and send an email to everyone. I apologize for any inconvenience this may have caused you. I love Perl and would love to have a job working with it on a regular basis. I am looking at my options for such work and would like to know if there are any opportunities that anyone knows of. I am looking at full-time, part-time, independent and/or side projects. If you know of anything like this, please let me know. I have heard about a card-game project that is interesting to me, but I have no details or contact information. Also, if others who receive this would like to see anything I hear back, I will be happy to send them along. If it is decided that emails such as these are OK for the list, then replies can be sent to the list. Thank you for your time, John Whitmore From frank at wiles.org Fri Jan 17 16:51:04 2003 From: frank at wiles.org (Frank Wiles) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] appropriate topics for the mailing list? In-Reply-To: <71BEC0D4E1DED3118F7A009027B12028034C8B72@EXCH_MISSION> References: <71BEC0D4E1DED3118F7A009027B12028034C8B72@EXCH_MISSION> Message-ID: <20030117225104.GI11987@frank.wiles.org> .------[ Garrett Goebel wrote (2003/01/17 at 10:22:47) ]------ | | Our mailing list is pretty low volume. It mostly consists of group | announcements. And as no one is actively complaining, I'm fairly confident | we're happy with the current signal to noise ratio. But as someone pointed | out to me, there might be an impression that the list is only for official | announcements... | `------------------------------------------------- I think in general, code/design/implementation questions posted to the list tend to spur more general discussion as people get to know each other. I have to admit the list has been so low traffic I typically go "What is this? ... oh KCPM .." but then again I get so much E-mail I have the tendency to glaze over after awhile. I've only attended one meeting long ago, as I live in Lawrence and don't tend to make it to KC very often. As for "appropriate message", I think if it has anything to do with Perl that within reason it should be allowed. This may mean discussions about Perl on a particular platform, compiling/installing issues, code optimization, etc, etc. --------------------------------- Frank Wiles http://frank.wiles.org --------------------------------- From amoore at mooresystems.com Fri Jan 17 16:58:40 2003 From: amoore at mooresystems.com (A Moore) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Job Browsing In-Reply-To: <4AD1B6DD52F1FF40ADDDE1F80CF2F5D882CC3E@app8.maryville.com> References: <4AD1B6DD52F1FF40ADDDE1F80CF2F5D882CC3E@app8.maryville.com> Message-ID: <1042844319.16140.101.camel@localhost.localdomain> Hi John - Here's a recent posting from jobs.perl.org. It's the first one I've ever seen in KC. http://jobs.perl.org/job/589 My theory is that this position is at DST actually. If the poster of this position says that he has enough resumes or something, I know another consulting firm that is trying to place into the same position. Let me know if you need that kind of information. For what it's worth, I think this is a valid (and encouraged) use of the list. If you know of work or are looking for work in the KC metro, speak up! (Also, the jobs.perl.org mailing list seems to be a pretty good place to go for this kind of stuff.) As for the card game project, I think that contacting Michael Morgan (of handuma.com) would be a good place to start. I encourage you to spearhead that kind of project. If it seems like not a good thing to put at the kc.pm.org site, let me know and I'll host it. -Andy On Fri, 2003-01-17 at 16:24, John Whitmore wrote: > Hello, > > Well, I am the cause of the recent question about what types of mail are > appropriate on this list. Without waiting for the response, I have decided > to go ahead and send an email to everyone. I apologize for any > inconvenience this may have caused you. > > I love Perl and would love to have a job working with it on a regular basis. > I am looking at my options for such work and would like to know if there are > any opportunities that anyone knows of. I am looking at full-time, > part-time, independent and/or side projects. If you know of anything like > this, please let me know. I have heard about a card-game project that is > interesting to me, but I have no details or contact information. > > Also, if others who receive this would like to see anything I hear back, I > will be happy to send them along. If it is decided that emails such as > these are OK for the list, then replies can be sent to the list. > > Thank you for your time, > John Whitmore > _______________________________________________ > kc mailing list > kc@mail.pm.org > http://mail.pm.org/mailman/listinfo/kc From garrett at scriptpro.com Mon Jan 20 14:53:00 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Book Review: Mastering Algorithms with Perl Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8B7D@EXCH_MISSION> Mastering Algorithms with Perl by Jon Orwant, Jarkko Hietaniemi, and John Macdonald Mastering Algorithms with Perl is an intermediate to advanced text describing traditional algorithms and data structures through Perl. It assumes a basic understanding of Perl. And while the average reader will be able to progress through the better part of the book with no background in computer science, the last third of the book requires at least a passing familiarity with Calculus, advanced mathematical notation, and covers topics from the vantage those already initiated to Probability, Statistics, Cryptology, and Number Theory. That said, the book has something for everyone. Beginner and Intermediate level Perl programmers will find the book's materials information dense but approachable. Advanced programmers will find a well written refresher illustrating familiar concepts in Perl. Given the breadth of the books and the language specific insights, they'll probably learn a thing or two as well. Topics covered include: linked lists, circular linked lists, garbage collection, doubly-linked lists, infinite lists, binary trees, heaps, binary heaps, janus heaps, sorting, searching, sets, matrices, graphs, strings, geometric algorithms, number systems, number theory, cryptography, probability, statistics, and numerical analysis. I've found that while the book is somewhat daunting, it goes down best a little bit at a time: read a chapter, then work through the examples. The first time I attempted to read the book I got about a third of the way through before stopping, scanning the rest, and putting it back on the shelf. A couple months later as I was working on a problem involving graphs and trees, the book came back down. And as interesting and complicated problems present themselves, I often find myself reaching for it. It covers an awful lot in 701 tightly packed pages. Have you ever wondered how regular expressions work? Hashes? Insights into their internal workings are in there. It is an excellent reference and fills a much needed gap. No other Perl book comes close to the breadth and depth coverage of these materials. That said, the first edition has a tremendous number of errors and typos. If a second edition doesn't materialize soon, I would highly recommend visiting the O'Reilly site to read the errata. -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030120/6379f3dc/attachment.htm From whatever at davidnicol.com Fri Jan 24 23:59:46 2003 From: whatever at davidnicol.com (david nicol) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] [Fwd: Newsletter from O'Reilly UG Program, January 24] Message-ID: <1043474385.1124.59.camel@chicago.davidnicol.com> -- David Nicol, independent consultant and contractor Steve Jobs in 2004 -------------- next part -------------- An embedded message was scrubbed... From: Marsee Henon Subject: Newsletter from O'Reilly UG Program, January 24 Date: Fri, 24 Jan 2003 19:06:49 -0800 (PST) Size: 11526 Url: http://mail.pm.org/pipermail/kc/attachments/20030124/23f76269/attachment.eml From garrett at scriptpro.com Mon Jan 27 07:58:47 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] O'Reilly books (Puzzle: 100 Monkeys) Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8B8F@EXCH_MISSION> I've just received another very generously provided batch of books from O'Reilly. Slightly off-topic: I've had a somewhat busy weekend which included the birth of my 2nd son and my daughter's 5th birthday party on the same day ;) So while I don't have all the books assembled before me, I'll do my best to recall the sum inventory of books received which have not yet been claimed for book reviews, presentations, or monthly puzzle prizes: o Computer Science & Perl http://www.oreilly.com/catalog/tpj1/ o Creating Web Applications with Mozilla www.oreilly.com/catalog/mozilla/ o Designing Embedded Hardware www.oreilly.com/catalog/dbhardware/ o Perl CD Bookshelf, Version 3.0 www.oreilly.com/catalog/perlcdbs3/ o Perl Graphics Programming www.oreilly.com/catalog/perlgp/ o Perl in a Nutshell, 2nd Edition www.oreilly.com/catalog/perlnut2/ o Programming Web Services with Perl www.oreilly.com/catalog/pwebserperl/ And speaking of prizes for monthly puzzles. I'll take this opportunity to restate the current month's puzzle. There are some extremely good books available for puzzle winners. The Perl CD Bookshelf alone contains 7 of O'Reilly's most popular Perl titles and has a list price of $119.95. 100 Monkeys 2003-01-14 Note: This puzzle came to me unattributed by way of a co-worker. If anyone chances by the source, please let me know so I can give credit. There are 100 doors, all closed. In a nearby cage are 100 monkeys. The first monkey is let out, and runs along the doors opening every one. The second monkey is then let out, and runs along the doors closing the 2nd, 4th, 6th,... all the even-numbered doors. The third monkey is let out. He attends only to the 3rd, 6th, 9th,... doors (every third door, in other words), closing any that is open and opening any that is closed. The fourth monkey does the same for the 4th, 8th, 12th, 16th,... doors, opening the closed ones and closing the open ones. The fifth monkey does the same to the 5th, 10th, 15th,... doors, and so on. After all 100 monkeys have done their work in this way, which doors are left open? Format: m/^\d+(?:\s\d+)*$/ # scalar must match this regex Goal: fastest script to calculate the answer Prize: Your choice of O'Reilly's o Perl in a Nutshell, 2nd Edition o Creating Applications with Mozilla Deadline: Answers must be submitted at least 24 hours before the next kc.pm meeting (February 11th) -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett at scriptpro dot com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030127/20b469e6/attachment.htm From garrett at scriptpro.com Mon Jan 27 12:53:55 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Puzzle: 100 Monkeys (More prizes update) Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8B9D@EXCH_MISSION> Because O'Reilly has given us so many excellent books, I'm going to add another prize category to this month's puzzle. First prize: fastest Second prize: shortest * There will be 2 winners (no single person can get 1st and 2nd) ** I will not be participating for a prize And again, because I forgot to update it in the text below. The prize is the winner's choice of one of the following: o Computer Science & Perl o Creating Web Applications with Mozilla o Designing Embedded Hardware o Perl CD Bookshelf, Version 3.0 o Perl Graphics Programming o Perl in a Nutshell, 2nd Edition o Programming Web Services with Perl 100 Monkeys 2003-01-14 Note: This puzzle came to me unattributed by way of a co-worker. If anyone chances by the source, please let me know so I can give credit. There are 100 doors, all closed. In a nearby cage are 100 monkeys. The first monkey is let out, and runs along the doors opening every one. The second monkey is then let out, and runs along the doors closing the 2nd, 4th, 6th,... all the even-numbered doors. The third monkey is let out. He attends only to the 3rd, 6th, 9th,... doors (every third door, in other words), closing any that is open and opening any that is closed. The fourth monkey does the same for the 4th, 8th, 12th, 16th,... doors, opening the closed ones and closing the open ones. The fifth monkey does the same to the 5th, 10th, 15th,... doors, and so on. After all 100 monkeys have done their work in this way, which doors are left open? Format: m/^\d+(?:\s\d+)*$/ # scalar must match this regex Goal: o fastest script to calculate the answer o shortest script to calculate the answer Prize: Your choice of O'Reilly book o Computer Science & Perl o Creating Web Applications with Mozilla o Designing Embedded Hardware o Perl CD Bookshelf, Version 3.0 o Perl Graphics Programming o Perl in a Nutshell, 2nd Edition o Programming Web Services with Perl Deadline: Answers must be submitted at least 24 hours before the next kc.pm meeting (February 11th) -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett at scriptpro dot com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030127/53420aee/attachment.htm From garrett at scriptpro.com Tue Jan 28 14:27:35 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Crossover meetings? Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8BA4@EXCH_MISSION> I was wondering if there might be cross-over topics of interest to kc.pm and other user groups in the kc area. For instance the upcoming February presentation on HTML::Mason would probably be of interest to kcacm and webgrrls. Do we have any cross-over kc.pm members? What do you think is the appropriate method for inviting your group's members? Is anyone a member of or know other ug's that should be listed: KCAMC: Kansas City Association for Computing Machinery ( http://www.kcacm.org/ ) KCLUG: Kansas City Linux User Group ( http://www.kclug.org/ ) kc-web: Heartland User's Group Web SIG ( http://groups.yahoo.com/group/kc-web/ ) kcgeek: ( http://www.kcgeek.com/ ) Kansas City Webgrrl's: ( http://www.webgrrls.com/kansascity_mo/ ) -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030128/a0a1a794/attachment.htm From amoore at mooresystems.com Tue Jan 28 15:04:04 2003 From: amoore at mooresystems.com (A Moore) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Crossover meetings? In-Reply-To: <71BEC0D4E1DED3118F7A009027B12028034C8BA4@EXCH_MISSION> References: <71BEC0D4E1DED3118F7A009027B12028034C8BA4@EXCH_MISSION> Message-ID: <1043787843.4625.7.camel@cookies.mooresystems.com> On Tue, 2003-01-28 at 14:27, Garrett Goebel wrote: > kcgeek: > (http://www.kcgeek.com/) Good thinking, Garrett - A few hours before the February meeting I dropped in on the kcgeek IRC channel and announced the meeting. A few people expressed tentative interest in attending "sometime". I can do the same again for the next meeting, with a little more notice. Perhaps a post on their discussion forum on their website would help as well. Unless there are any active kcgeeks here, I'll make a post there as we approach the meeting. I guess this means my Mason presentation has to be interesting or informative or something... -Andy From glenn at netmud.com Tue Jan 28 15:57:45 2003 From: glenn at netmud.com (Glenn Crocker) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Crossover meetings? In-Reply-To: <71BEC0D4E1DED3118F7A009027B12028034C8BA4@EXCH_MISSION> Message-ID: Puzzle: 100 Monkeys (More prizes update)I'm the leader of the HUG Web SIG, and occasionally cross-post things, as appropriate. -glenn -----Original Message----- From: kc-admin@mail.pm.org [mailto:kc-admin@mail.pm.org]On Behalf Of Garrett Goebel Sent: Tuesday, January 28, 2003 2:28 PM To: kc@mail.pm.org Subject: [Kc] Crossover meetings? I was wondering if there might be cross-over topics of interest to kc.pm and other user groups in the kc area. For instance the upcoming February presentation on HTML::Mason would probably be of interest to kcacm and webgrrls. Do we have any cross-over kc.pm members? What do you think is the appropriate method for inviting your group's members? Is anyone a member of or know other ug's that should be listed: KCAMC: Kansas City Association for Computing Machinery (http://www.kcacm.org/) KCLUG: Kansas City Linux User Group (http://www.kclug.org/) kc-web: Heartland User's Group Web SIG (http://groups.yahoo.com/group/kc-web/) kcgeek: (http://www.kcgeek.com/) Kansas City Webgrrl's: (http://www.webgrrls.com/kansascity_mo/) -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030128/e86a1efb/attachment.htm From garrett at scriptpro.com Tue Jan 28 16:24:29 2003 From: garrett at scriptpro.com (Garrett Goebel) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Crossover meetings? Message-ID: <71BEC0D4E1DED3118F7A009027B12028034C8BA6@EXCH_MISSION> A Moore wrote: > On Tue, 2003-01-28 at 14:27, Garrett Goebel wrote: > > kcgeek: > > (http://www.kcgeek.com/) > > Good thinking, Garrett - > > A few hours before the February meeting I dropped in on the kcgeek IRC > channel and announced the meeting. A few people expressed tentative > interest in attending "sometime". I can do the same again for the next > meeting, with a little more notice. Perhaps a post on their discussion > forum on their website would help as well. Unless there are any active > kcgeeks here, I'll make a post there as we approach the meeting. We should probably add links to the other local user groups on the kc.pm.org website. Are you okay with that? And do you mind me updating it or would you prefer to do it? Speaking of which, the 1/14/2003 recent meeting needs to be updated to reflect the fact that the "Graphics Programming with Perl" book review was pushed back to February, and that "Mastering Algorithms with Perl" was reviewed in its place. Doug are you listening? Do you think you'll be able to do a book review on Feb 11th? I can also etch in Jello a promise to review "Programming Web Services with Perl" for the February meeting. I'd also like to add a section for book reviews, puzzles, and their solutions. > I guess this means my Mason presentation has to be interesting or > informative or something... Don't worry. Planet Sub promised they'd have their liquor license back by then ;) -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20030128/026797d1/attachment.htm From sparling at uclick.com Tue Jan 28 16:54:03 2003 From: sparling at uclick.com (Doug Sparling) Date: Mon Aug 2 21:31:05 2004 Subject: [Kc] Crossover meetings? In-Reply-To: <71BEC0D4E1DED3118F7A009027B12028034C8BA6@EXCH_MISSION> References: <71BEC0D4E1DED3118F7A009027B12028034C8BA6@EXCH_MISSION> Message-ID: <1043794443.3e370a0b0be2b@www.electricwebmail.com> Quoting Garrett Goebel : Doug are you listening? Do you > think you'll be able > to do a book review on Feb 11th? I started reading the book a few days ago. I should be able to get a review by the 11th...