From japhy at perlmonk.org Tue Sep 6 07:03:38 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Tue, 6 Sep 2005 10:03:38 -0400 (EDT) Subject: [Princeton-pm] Meeting on September 13th Message-ID: T. Pfau has suggested use of Mercer County libraries, but I'd say for this upcoming meeting, we use a Middlesex County library, to cater to Michel Rodriguez (who's coming from the north). A list of member libraries is here: http://www.lmxac.org/lmx/member.html I'm asking Michel where he said he'd be (Parsippany or Piscataway, I confuse the two). Wherever he is, and wherever we end up having our meeting, I'm proposing a 7:00pm starting time. I'd also like to say hello to two new members, Dan Kreshak and Jerry Haddan -- coming from the LUG/IP list, I assume? -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://japhy.perlmonk.org/ % have long ago been overpaid? http://www.perlmonks.org/ % -- Meister Eckhart From japhy at perlmonk.org Wed Sep 7 07:30:20 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Wed, 7 Sep 2005 10:30:20 -0400 (EDT) Subject: [Princeton-pm] Meeting on September 13th In-Reply-To: References: Message-ID: On Sep 6, Jeff 'japhy' Pinyan said: > T. Pfau has suggested use of Mercer County libraries, but I'd say for this > upcoming meeting, we use a Middlesex County library, to cater to Michel > Rodriguez (who's coming from the north). A list of member libraries is > here: > > http://www.lmxac.org/lmx/member.html > > I'm asking Michel where he said he'd be (Parsippany or Piscataway, I > confuse the two). Ok, he's in Piscataway, which is awfully close. I'm going to check with the New Brunswick library to see what their availability is. -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://japhy.perlmonk.org/ % have long ago been overpaid? http://www.perlmonks.org/ % -- Meister Eckhart From japhy at perlmonk.org Fri Sep 9 08:45:32 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Fri, 9 Sep 2005 11:45:32 -0400 (EDT) Subject: [Princeton-pm] Meeting on September 13th In-Reply-To: References: Message-ID: On Sep 7, Jeff 'japhy' Pinyan said: > On Sep 6, Jeff 'japhy' Pinyan said: > >> T. Pfau has suggested use of Mercer County libraries, but I'd say for this >> upcoming meeting, we use a Middlesex County library, to cater to Michel >> Rodriguez (who's coming from the north). A list of member libraries is >> here: >> >> http://www.lmxac.org/lmx/member.html > > Ok, he's in Piscataway, which is awfully close. I'm going to check with > the New Brunswick library to see what their availability is. The NB library hasn't returned my call yet, so I'll be going by there today in person. If ALL GOES WELL, we will be meeting at the New Brunswick Library on September 13th at 7:00pm. I will be sending out an email on Monday confirming the location. And hello to our newest member, Jon Meek. Remember, if you'd like your place of work and location disclosed on the Princeton.pm web site, please send me an email and I will make it so. -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart From japhy at perlmonk.org Fri Sep 9 13:26:51 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Fri, 9 Sep 2005 16:26:51 -0400 (EDT) Subject: [Princeton-pm] Meeting on September 13th In-Reply-To: References: Message-ID: On Sep 9, Jeff 'japhy' Pinyan said: > The NB library hasn't returned my call yet, so I'll be going by there > today in person. > > If ALL GOES WELL, we will be meeting at the New Brunswick Library on > September 13th at 7:00pm. I will be sending out an email on Monday > confirming the location. ARGH. They close at 5:00pm on Fridays, and I'm JUST leaving work now, so there's no way I can make it up there in time (Route 1, ugh). If someone can stop by there on Saturday or Sunday and see if a meeting room is available for 10-15 people on Tuesday @ 7pm, please let me know. Otherwise, I'll take care of it Sunday or Monday. Geez. -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart From japhy at perlmonk.org Mon Sep 12 16:23:00 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Mon, 12 Sep 2005 19:23:00 -0400 (EDT) Subject: [Princeton-pm] September 13th Meeting, most likely in Plainsboro... Message-ID: ... unless someone else can find a better venue. West Windsor is booked, New Brunswick is booked (glad they never returned my phone call...). I haven't personally been to any other library between Princeton and New Brunswick so I can't vouch for them. -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart From japhy at perlmonk.org Tue Sep 13 06:32:04 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Tue, 13 Sep 2005 09:32:04 -0400 (EDT) Subject: [Princeton-pm] MEETING: September 13, 7:00pm, Plainsboro Library (Community Room) Message-ID: Ok, I finally found a location for the meeting tonight. And with 10 hours to spare. LOCATION: Plainsboro Public Library, Community Room DATE: September 13, 2005 (today) TIME: 7:00pm to 8:30pm (latest) WHAT: Michel Rodriguez (XML::Twig, mirod from perlmonks) is our guest WHAT ELSE: Meet-and-greet part 2 (since our membership has tripled) Hopefully tonight we will be able to decide how we want to operate as a group of Perl programmers: do we want to have code reviews, do we want to have Perl Golf, etc. I am interested in knowing how we all use Perl, and what projects people are working on (so long as it doesn't conflict with your non-disclosure agreement, if any). If Michel wants to give a little ditty about XML::Twig or whatever else he's up to lately, I give him full permission to do so. Until we have an actual agenda for meetings, I don't really know how we'll spend our time. Also, I say hello to our newest member, Andy Sayshi. -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart From japhy at perlmonk.org Tue Sep 13 06:33:33 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Tue, 13 Sep 2005 09:33:33 -0400 (EDT) Subject: [Princeton-pm] DIRECTIONS to Plainsboro Library In-Reply-To: References: Message-ID: Oops. http://www.lmxac.org/plainsboro/HTML/PPLFrame-Directions.html -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart From japhy at perlmonk.org Wed Sep 14 08:54:41 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Wed, 14 Sep 2005 11:54:41 -0400 (EDT) Subject: [Princeton-pm] September 13, 2005 meeting post mortem coming soon Message-ID: I'll have something about last night's meeting on the web site soon. Hopefully we shall be meeting again in 3 weeks' time. One thing that I brought up was this: if anyone wishes to give a presentation, or would like a presentation to be given, on a certain topic, they should email the list and declare their interest. I have insider information that Marty might be asking for a regex talk. ;) I will bring fewer Munchkins next time; my office-mates enjoyed the plentiful remainder this morning. -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart From uber.spaced at gmail.com Fri Sep 16 08:34:30 2005 From: uber.spaced at gmail.com (uber spaced) Date: Fri, 16 Sep 2005 11:34:30 -0400 Subject: [Princeton-pm] regex stuff Message-ID: Yeah, so yesterday (i think), Jeff wrote this regex on freenode #perl which took somebody several messages to decompose and translate to english some coaxing. Long story short, I wouldn't mind brushing up on regexes and going to the meeting with a couple of questions and listening to people talk about them. It also may be pretty interesting for people to bring in examples of ugly, misleading, complex etc. examples of regexes they've seen and have some discussions. What do you guys think? marty -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/princeton-pm/attachments/20050916/b3554613/attachment.html From trockij at arctic.org Fri Sep 16 08:48:08 2005 From: trockij at arctic.org (Jim Trocki) Date: Fri, 16 Sep 2005 11:48:08 -0400 (EDT) Subject: [Princeton-pm] regex stuff In-Reply-To: References: Message-ID: On Fri, 16 Sep 2005, uber spaced wrote: > Yeah, so yesterday (i think), Jeff wrote this regex on freenode #perl which > took somebody several messages to decompose and translate to english some > coaxing. > > Long story short, I wouldn't mind brushing up on regexes and going to the > meeting with a couple of questions and listening to people talk about them. > > It also may be pretty interesting for people to bring in examples of ugly, > misleading, complex etc. examples of regexes they've seen and have some > discussions. > > What do you guys think? sounds like fun! i'd certainly be interested in participating in that. ora has a book devoted to perl regexps, were you aware of that resource? http://www.oreilly.com/catalog/regex2/ From uber.spaced at gmail.com Fri Sep 16 11:17:19 2005 From: uber.spaced at gmail.com (uber spaced) Date: Fri, 16 Sep 2005 14:17:19 -0400 Subject: [Princeton-pm] The regex book Message-ID: I've flipped through a couple of pages of the regex (owl) book but havent sat down to read it. My primary "read through" resource for perl has been "Professional Perl Programming" (wrox) http://www.amazon.com/exec/obidos/tg/detail/-/1861004494/104-9850802-5231133?v=glance It covers regular expressions pretty decently, IMO marty -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/princeton-pm/attachments/20050916/c61af9af/attachment.html From trockij at arctic.org Fri Sep 16 11:25:35 2005 From: trockij at arctic.org (Jim Trocki) Date: Fri, 16 Sep 2005 14:25:35 -0400 (EDT) Subject: [Princeton-pm] The regex book In-Reply-To: References: Message-ID: On Fri, 16 Sep 2005, uber spaced wrote: > I've flipped through a couple of pages of the regex (owl) book but havent > sat down to read it. My primary "read through" resource for perl has been > "Professional Perl Programming" (wrox) > http://www.amazon.com/exec/obidos/tg/detail/-/1861004494/104-9850802-5231133?v=glance > > It covers regular expressions pretty decently, IMO and honestly, i think the "man perlre" documentation that comes with perl is very, very good. personally i've never needed any external help, but some do find that having several books written by various authors is helpful. maybe if you have questions about some syntax that you're having trouble with you could post them to the list and we can talk about them. From japhy at perlmonk.org Fri Sep 16 11:36:03 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Fri, 16 Sep 2005 14:36:03 -0400 (EDT) Subject: [Princeton-pm] regex stuff In-Reply-To: References: Message-ID: On Sep 16, uber spaced said: > Yeah, so yesterday (i think), Jeff wrote this regex on freenode #perl which > took somebody several messages to decompose and translate to english some > coaxing. The regex in particular is one I wrote for someone on PerlMonks.org; given a hash %dict with lowercase words in it that are words you recognize (such as those from /usr/dict/words), the following regex takes a string of run-together words (like "canyoudecipherwhatiswrittenhere") and produces the split-apart words that form it: $bunchofwords =~ m{ ^ # anchor to beginning of string (?{ [ ] }) # set $^R to [] (?: # match this chunk << (\w{2,}) # capture 2+ word chars into $1 (?(?{ $dict{lc $1} }) # if lc($1) is in the %dict hash: (?{ [ @{$^R}, $1 ] }) # add $1 to the list of words found | # otherwise: (?!) # fail (causing \w{2,} to backtrack) ) # end of 'if-else' assertion )+ # >> one or more times $ # anchor to the end of the string (?{ print "(@{$^R})\n" }) # print the words with spaces in between (?!) # fail (causing (?:...)+ to backtrack) }x; This regex uses almost every esoteric assertion Perl can handle: * (?{ CODE }) executes arbitrary code at a given point in a regex; return value is automatically stored in $^R * (?(COND)true-pat|false-pat) if 'COND' is true, match /true-pat/, else match /false-pat/ * (?!pattern) fail if /pattern/ can match at the current location in the string The magic $^R variable is auto-localized during the regex. When an assertion that MODIFIES $^R is backtracked over, $^R's value is rewound! I have an article written which appeared in last summer's The Perl Journal on these esoteric regex assertions. It's available here: http://japhy.perlmonk.org/articles/tpj/2004-summer.pod http://japhy.perlmonk.org/articles/tpj/2004-summer.html -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart From japhy at perlmonk.org Wed Sep 28 07:26:35 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Wed, 28 Sep 2005 10:26:35 -0400 (EDT) Subject: [Princeton-pm] meeting next tuesday? Message-ID: How do people feel about a meeting next Tuesday evening? Same time, same place, most likely, although we'll have to wrap up about 5-10 minutes sooner so we don't keep the library staff waiting. And if people would like some sort of regex presentation, let me know particular topics about regexes to go over. -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart From japhy at perlmonk.org Thu Sep 29 09:19:04 2005 From: japhy at perlmonk.org (Jeff 'japhy' Pinyan) Date: Thu, 29 Sep 2005 12:19:04 -0400 (EDT) Subject: [Princeton-pm] meeting next tuesday? In-Reply-To: References: Message-ID: On Sep 28, Jeff 'japhy' Pinyan said: > How do people feel about a meeting next Tuesday evening? Same time, same > place, most likely, although we'll have to wrap up about 5-10 minutes > sooner so we don't keep the library staff waiting. That would be 7pm to 8:30pm (minus 10 minutes or so). -- Jeff "japhy" Pinyan % How can we ever be the sold short or RPI Acacia Brother #734 % the cheated, we who for every service http://www.perlmonks.org/ % have long ago been overpaid? http://princeton.pm.org/ % -- Meister Eckhart