From akohlsmith-pm at benshaw.com Mon Nov 1 06:20:25 2004 From: akohlsmith-pm at benshaw.com (Andrew Kohlsmith) Date: Mon Nov 1 06:20:46 2004 Subject: [kw-pm] slides from October Meeting / November? In-Reply-To: References: Message-ID: <200411010720.25742.akohlsmith-pm@benshaw.com> On October 31, 2004 11:46 pm, Eric - fishbot wrote: > I can do a 20 min. talk on map and grep -- something more > practical than the Perl6 talk. Anyone interested? YES. I kind of know how map works but would love to have a better understanding of it. > > Other topic suggestions for this or future meetings? > > Databases / DBI? (half intro-level; half tricks like > > DBD::SQLite) hacking Bricolage CMS? > > Both sound great. DBI is pervasive enough that anyone should be able to glean something from a talk on it. I know it (I think) pretty well but I would put good money on my learning a TON about it if someone spoke on this matter. -A. From sgriffit at gennum.com Mon Nov 1 12:12:19 2004 From: sgriffit at gennum.com (Shaun Griffith) Date: Mon Nov 1 12:11:34 2004 Subject: [kw-pm] RE: kw-pm Digest, Vol 17, Issue 1 In-Reply-To: <200411011800.iA1I0D5U029087@www.pm.org> Message-ID: <006b01c4c03e$5427db20$c417005a@PC647> on Sun, 31 Oct, Eric wrote: > Something I think that we could consider is asking some of the > tpm people if they want to come out and do a talk they prepared > for tpm for us. Offer them free pizza and beer, perhaps. Actually, you guys could do them yourselves. The audio and (many of the ) slides for the lightning talks are up at http://hew.ca/talks_audio/. But I'm sure some of the speakers would come out just because you asked :) -Shaun From daniel at coder.com Mon Nov 1 12:18:53 2004 From: daniel at coder.com (Daniel R. Allen) Date: Mon Nov 1 12:25:11 2004 Subject: [kw-pm] RE: november In-Reply-To: <006b01c4c03e$5427db20$c417005a@PC647> Message-ID: Many moons ago I discussed having toronto perl mongers visit us, with Richard their fearless leader (who's on our list too), and perhaps it's time to reopen the idea. There are certainly talks listed at the bottom of http://to.pm.org/ that i'd love to see presented. We can give a few cycles to this topic in November... -Daniel On Mon, 1 Nov 2004, Shaun Griffith wrote: > on Sun, 31 Oct, Eric wrote: > > Something I think that we could consider is asking some of the > > tpm people if they want to come out and do a talk they prepared > > for tpm for us. Offer them free pizza and beer, perhaps. > > Actually, you guys could do them yourselves. The audio and (many of the ) > slides for the lightning talks are up at http://hew.ca/talks_audio/. > > But I'm sure some of the speakers would come out just because you asked :) > > -Shaun > > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From rdice at pobox.com Mon Nov 1 12:30:40 2004 From: rdice at pobox.com (Richard Dice) Date: Mon Nov 1 12:30:45 2004 Subject: [kw-pm] RE: kw-pm Digest, Vol 17, Issue 1 In-Reply-To: <006b01c4c03e$5427db20$c417005a@PC647> References: <006b01c4c03e$5427db20$c417005a@PC647> Message-ID: <418680D0.2010009@pobox.com> I got lots. In fact, I've got one I've been working on for TPM but that I haven't released yet. Cheers, Richard Shaun Griffith wrote: > on Sun, 31 Oct, Eric wrote: > >>Something I think that we could consider is asking some of the >>tpm people if they want to come out and do a talk they prepared >>for tpm for us. Offer them free pizza and beer, perhaps. > > > Actually, you guys could do them yourselves. The audio and (many of the ) > slides for the lightning talks are up at http://hew.ca/talks_audio/. > > But I'm sure some of the speakers would come out just because you asked :) > > -Shaun > > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From daniel at coder.com Mon Nov 1 16:24:23 2004 From: daniel at coder.com (Daniel R. Allen) Date: Mon Nov 1 16:27:57 2004 Subject: [kw-pm] slides from October Meeting / November? In-Reply-To: Message-ID: On Sun, 31 Oct 2004, Eric - fishbot wrote: > > Eric's offered to present one, on an unknown topic. I > > could present one myself- on the topic of rhyming > > dictionaries. > > Rhyming dictionaries! That sounds cool Daniel. I vote for that. Not sure how well it'll work, since I need to find that code... I'll take a look. > I can do a 20 min. talk on map and grep -- something more > practical than the Perl6 talk. Anyone interested? Sure, always more to learn about map and grep. how about using map and grep so they aren't write-only operations? I have to scratch my head after looking at my nested maps/greps.... Which is probably why I don't use them often. > > Other topic suggestions for this or future meetings? > > Databases / DBI? (half intro-level; half tricks like > > DBD::SQLite) hacking Bricolage CMS? > > Both sound great. > > Anyone else out there want to do a talk? Anyone done anything > cool lately they want to just show for discussion? > > Something I think that we could consider is asking some of the > tpm people if they want to come out and do a talk they prepared > for tpm for us. Offer them free pizza and beer, perhaps. Yes! In any case I think we should plan to get a few pizzas for the next meeting- since a bunch of us don't eat beforehand. No beer in the lab, unfortunately. So bring a few bucks for slices. :) -Daniel > > Eric > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From akohlsmith-pm at benshaw.com Mon Nov 1 17:01:23 2004 From: akohlsmith-pm at benshaw.com (Andrew Kohlsmith) Date: Mon Nov 1 17:01:42 2004 Subject: [kw-pm] perl-driven blogs? Message-ID: <200411011801.23457.akohlsmith-pm@benshaw.com> Just curious as to the availability of Perl-driven blog software. It seems that PHP has won out in this area too. I am googling but wondering if anyone can short-circuit to a better result that I might not even find. :-/ -A. From eric at uc.org Mon Nov 1 17:50:03 2004 From: eric at uc.org (Eric - fishbot) Date: Mon Nov 1 17:50:11 2004 Subject: [kw-pm] perl-driven blogs? In-Reply-To: <200411011801.23457.akohlsmith-pm@benshaw.com> References: <200411011801.23457.akohlsmith-pm@benshaw.com> Message-ID: > Just curious as to the availability of Perl-driven blog > software. It seems that PHP has won out in this area too. > I am googling but wondering if anyone can short-circuit > to a better result that I might not even find. :-/ Well... I haven't looked at it lately, but for a long time the biggest name in blogging was MovableType (movabletype.org). They've moved to a more commercial-looking licence lately, but it's still available for download if you fill out a form. It's a pretty complete and only mildly bloated system. Another perl big-name-in-blogs is LiveJournal, probably the most popular of the "free" hosted blogs. The server is available for download: http://www.livejournal.com/code/ I think that the backend is documented here: http://www.livejournal.com/doc/server/ though I've done minimal research. I don't know what sort of licence that code is under. Something a bit more basic might be GreyMatter. http://www.noahgrey.com/greysoft/ I think that GreyMatter is no longer in active development, and may be close to abandonware at this point. It's a basic perl/CGI system. I think that it is a DB-less system. That might be a feature. Eric From da at coder.com Mon Nov 1 18:17:11 2004 From: da at coder.com (Daniel R. Allen) Date: Mon Nov 1 18:20:20 2004 Subject: [kw-pm] perl-driven blogs? In-Reply-To: Message-ID: hm- there's slashcode, which runs the use.perl journals, and blosxom, and I've at least heard of bricolage (a cms) being used for journals. -Daniel On Mon, 1 Nov 2004, Eric - fishbot wrote: > > > Just curious as to the availability of Perl-driven blog > > software. It seems that PHP has won out in this area too. > > I am googling but wondering if anyone can short-circuit > > to a better result that I might not even find. :-/ > > Well... I haven't looked at it lately, but for a long time the > biggest name in blogging was MovableType (movabletype.org). > They've moved to a more commercial-looking licence lately, but > it's still available for download if you fill out a form. It's a > pretty complete and only mildly bloated system. > > Another perl big-name-in-blogs is LiveJournal, probably the most > popular of the "free" hosted blogs. The server is available for > download: http://www.livejournal.com/code/ > > I think that the backend is documented here: > http://www.livejournal.com/doc/server/ > though I've done minimal research. > > I don't know what sort of licence that code is under. > > Something a bit more basic might be GreyMatter. > http://www.noahgrey.com/greysoft/ > > I think that GreyMatter is no longer in active development, and > may be close to abandonware at this point. It's a basic perl/CGI > system. I think that it is a DB-less system. That might be a > feature. > > Eric > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From elbie at trig.net Tue Nov 2 10:06:59 2004 From: elbie at trig.net (Christopher Calzonetti) Date: Tue Nov 2 10:07:07 2004 Subject: [kw-pm] perl-driven blogs? In-Reply-To: <200411011801.23457.akohlsmith-pm@benshaw.com> References: <200411011801.23457.akohlsmith-pm@benshaw.com> Message-ID: <20041102160659.GA87380@trig.net> I use software called blosxom. It does the job quite well, and has a bunch of plugins for configurability. http://www.blosxom.com/ On Mon, Nov 01, 2004 at 06:01:23PM -0500, Andrew Kohlsmith wrote: > Just curious as to the availability of Perl-driven blog software. It seems > that PHP has won out in this area too. I am googling but wondering if anyone > can short-circuit to a better result that I might not even find. :-/ > > -A. > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > -- Christopher Calzonetti, Technical Lead, Trig.Net Web: http://www.trig.net/ Mail: mailto:chris@trig.net From fhew3 at cogeco.ca Fri Nov 5 20:37:29 2004 From: fhew3 at cogeco.ca (Fulko Hew) Date: Fri Nov 5 20:37:32 2004 Subject: [kw-pm] TPM Audio Archives - Worldwide Announcement] Message-ID: <418C38E9.10904@cogeco.ca> The Toronto Perl Mongers group is proud to announce the availability of audio recordings of our sessions. We are providing them: 1. to share our wealth with the rest of the world, for the benefit of all mankind. 2. in the hope that more people will come out to our meetings, 3. encourage other groups to record and share their wealth too. I also hope to encourage the Perl community to create a central repository where we can all archive this stuff. A place with a lot of disk space, and a lot of bandwidth. If anyone has suggestions, or can volunteer such a web server, let me know. Also I'd like to get feedback regarding the usefulness, or uselessness of what we are trying to do. Send your bouquets or brickbats to fhew3 at cogeco dot ca The URL for the archives is: http://hew.ca/talks_audio/ From fhew3 at cogeco.ca Fri Nov 5 20:49:29 2004 From: fhew3 at cogeco.ca (Fulko Hew) Date: Fri Nov 5 20:49:32 2004 Subject: [kw-pm] TPM Audio Archives - Worldwide Announcement] In-Reply-To: <418C38E9.10904@cogeco.ca> References: <418C38E9.10904@cogeco.ca> Message-ID: <418C3BB9.40405@cogeco.ca> Wow!, my previous post was mangle by something. Here is a cleaner post, hopefully worth reading! The Toronto Perl Mongers group is proud to announce the availability of audio recordings of our sessions. We are providing them: 1. to share our wealth with the rest of the world, for the benefit of all mankind. 2. in the hope that more people will come out to our meetings, 3. encourage other groups to record and share their wealth too. I also hope to encourage the Perl community to create a central repository where we can all archive this stuff. A place with a lot of disk space, and a lot of bandwidth. If anyone has suggestions, or can volunteer such a web server, let me know. Also I'd like to get feedback regarding the usefulness, or uselessness of what we are trying to do. Send your bouquets or brickbats to fhew3 at cogeco dot ca The URL for the archives is: http://hew.ca/talks_audio/ From daniel at coder.com Fri Nov 12 21:20:20 2004 From: daniel at coder.com (Daniel R. Allen) Date: Fri Nov 12 21:24:40 2004 Subject: [kw-pm] November Meeting: Thurs. the 18th, 7pm Message-ID: Announcing the November meeting of the KITCHENER-WATERLOO Perl Mongers - kw.pm - For enthusiasts of the Perl programming language fishbot will do a short talk titled "grep and map for Fun and Profit", and we'll have two code critiques; "The Flattening Tree" by fishbot and "A Sonnet Generator" by Daniel. Where? U of Waterloo, DC 2305 When? 7pm, next Thursday (Nov. 18th) Who? You, hopefully. Yes, you. Come, be social, learn more perl. You know you want to. The meeting will be followed by a gathering at some local watering hole for beers. == pizza! If you're interested in food during the meeting, drop me a note BY THURS MORNING and bring $5 to the meeting. == From eric at uc.org Mon Nov 15 09:56:52 2004 From: eric at uc.org (Eric - fishbot) Date: Mon Nov 15 09:57:28 2004 Subject: [kw-pm] Free beer: still unclaimed! Message-ID: So, no one claimed my free beer last month. Both challenges were rather steep, I think. As a result, I've got tons of free beer laying around, and no one to give it to ;) This month, I think that I will have to set the bar a bit lower: -> Bring to the meeting a cool use of map or grep. Either something that you wrote, something you use, or something you found. Ten Schwartzian Transforms will not be accepted. We can vote on the two best ones, assuming we get more than two. The winners can split a pitcher at my expense. Though I am tempted to watch a monger down a pitcher on his/her own, I can't condone binge drinking. One entry per person. Email me your code before 5pm on Thursday, post it online, or bring it on disk. If it's really short, you can bring it on paper. It would be nice to run them... so a digital form is preferred. If you set up the code so that we can see it in action, that's even better. (ie. declare an appropriate @foo) Hope to see lots of you this Thursday! Daniel: Add me to the pizza list, please. Disclaimers: Beer available -after- meeting, at whatever pub/restaurant we adjourn to. map/grep/drink responsibly. fishbot From dcarr at sdf.lonestar.org Mon Nov 15 17:07:00 2004 From: dcarr at sdf.lonestar.org (lloyd carr) Date: Mon Nov 15 17:07:09 2004 Subject: [kw-pm] Free beer: still unclaimed! In-Reply-To: References: Message-ID: There is a pizza list? On Mon, 15 Nov 2004, Eric - fishbot wrote: > Date: Mon, 15 Nov 2004 10:56:52 -0500 (EST) > From: Eric - fishbot > To: K/W Perl Mongers > Subject: [kw-pm] Free beer: still unclaimed! > > > So, no one claimed my free beer last month. Both challenges were > rather steep, I think. As a result, I've got tons of free beer > laying around, and no one to give it to ;) > > This month, I think that I will have to set the bar a bit lower: > > -> Bring to the meeting a cool use of map or grep. Either > something that you wrote, something you use, or something you > found. Ten Schwartzian Transforms will not be accepted. We can > vote on the two best ones, assuming we get more than two. The > winners can split a pitcher at my expense. > > Though I am tempted to watch a monger down a pitcher on his/her > own, I can't condone binge drinking. One entry per person. > > Email me your code before 5pm on Thursday, post it online, or > bring it on disk. If it's really short, you can bring it on > paper. It would be nice to run them... so a digital form is > preferred. If you set up the code so that we can see it in > action, that's even better. (ie. declare an appropriate @foo) > > Hope to see lots of you this Thursday! > > Daniel: Add me to the pizza list, please. > > Disclaimers: Beer available -after- meeting, at whatever > pub/restaurant we adjourn to. map/grep/drink responsibly. > > fishbot > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > dcarr@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org From simon-kwpm at uc.org Mon Nov 15 17:23:02 2004 From: simon-kwpm at uc.org (simon-kwpm@uc.org) Date: Mon Nov 15 17:23:05 2004 Subject: [kw-pm] payments and perl Message-ID: I foolishly volunteered to help a friend set up a webstore that would allow users to upload their own photographs, and order prints, similar to Future Shop. I'm comfortable with what needs to be done to build a nice simple solution that lets users do all that, but I'm in unfamiliar territory when I reach the checkout and have to authorize VISA/MC payments. Has anyone used the Business::OnlinePayment modules with a canada friendly payment gateway? If so, which one, and would you recommend going this route, or am I in for a world of pain? re, Simon From eric at uc.org Mon Nov 15 17:58:23 2004 From: eric at uc.org (Eric - fishbot) Date: Mon Nov 15 17:58:26 2004 Subject: [kw-pm] Free beer: still unclaimed! In-Reply-To: References: Message-ID: Lloyd - yes, see Daniel's notice about the Thursday meeting. Near the bottom. That said... why are we emailing this stuff around like cavepersons, when we have a WIKI? http://kw.pm.org/wiki/index.cgi?PizzaList I think that I am joking, but when it comes to Wikis, even I'm not sure ;) fishbot ---- original message : 2004-11-15 11:07pm : lloyd carr ---- There is a pizza list? From dcarr at sdf.lonestar.org Tue Nov 16 16:25:34 2004 From: dcarr at sdf.lonestar.org (lloyd carr) Date: Tue Nov 16 16:25:44 2004 Subject: [kw-pm] Free beer: still unclaimed! In-Reply-To: References: Message-ID: Thanks Eric, one of the best uses of a wiki I've seen ;-) On Mon, 15 Nov 2004, Eric - fishbot wrote: > Date: Mon, 15 Nov 2004 18:58:23 -0500 (EST) > From: Eric - fishbot > To: lloyd carr > Cc: K/W Perl Mongers > Subject: Re: [kw-pm] Free beer: still unclaimed! > > > Lloyd - yes, see Daniel's notice about the Thursday meeting. > Near the bottom. > > That said... why are we emailing this stuff around like > cavepersons, when we have a WIKI? > > http://kw.pm.org/wiki/index.cgi?PizzaList > > I think that I am joking, but when it comes to Wikis, even I'm > not sure ;) > > fishbot > > > ---- original message : 2004-11-15 11:07pm : lloyd carr ---- > > There is a pizza list? > > dcarr@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org From dada.da at gmail.com Wed Nov 17 19:48:07 2004 From: dada.da at gmail.com (Daniel Allen) Date: Wed Nov 17 19:48:40 2004 Subject: [kw-pm] Free beer: still unclaimed! In-Reply-To: References: Message-ID: On Mon, 15 Nov 2004, Eirc - fbshiot worte: > > So, no one cimeald my free beer lsat mnoth. Both cealglehns wree > rtehar steep, I tinhk. As a rulset, I've got tnos of fere beer > laying aurnod, and no one to give it to ;) > > Tihs mntoh, I tnihk that I will hvae to set the bar a bit loewr: > > -> Birng to the minteeg a cool use of map or grep. Eheitr > semhtoing taht you wtroe, stemihnog you use, or senoihtmg you > fnoud. Ten Srtwcziaahn Tnfarmross will not be actecepd. We can > vote on the two best ones, asnimsug we get mroe tahn two. The > wnenris can silpt a pitehcr at my esenxpe. I daebetd and daebted wehethr I tuhhogt tihs was a cool egonuh use of map... and I tnihk I'll let you dcdiee. :) perl -pe 's/\B(\w+)\B/join"",map chop,sort map{rand().$_}split"",$1/eg' -D > > Thgouh I am tteempd to wacth a mogner down a pcethir on his/her > own, I can't cdoonne bgine dnikinrg. One etrny per poresn. > > Eiaml me yuor code bofree 5pm on Thuadsry, psot it olnine, or > bnirg it on dsik. If it's really shrot, you can birng it on > ppaer. It wulod be nice to run them... so a ditgial form is > perreferd. If you set up the cdoe so taht we can see it in > atoicn, that's even bteetr. (ie. dlercae an aipprapotre @foo) > > Hope to see ltos of you tihs Tuahrdsy! > > Diaenl: Add me to the pziza list, paslee. > > Diicersmlas: Beer abiavllae -after- meniteg, at wvtaheer > pub/raarnsteut we ajodrun to. map/grep/drink rlspobinsey. > > fosibht > _______________________________________________ > kw-pm miainlg lsit > kw-pm@mail.pm.org > http://mail.pm.org/mamlian/ltifniso/kw-pm > On Mon, 15 Nov 2004 10:56:52 -0500 (EST), Eric - fishbot wrote: > > So, no one claimed my free beer last month. Both challenges were > rather steep, I think. As a result, I've got tons of free beer > laying around, and no one to give it to ;) > > This month, I think that I will have to set the bar a bit lower: > > -> Bring to the meeting a cool use of map or grep. Either > something that you wrote, something you use, or something you > found. Ten Schwartzian Transforms will not be accepted. We can > vote on the two best ones, assuming we get more than two. The > winners can split a pitcher at my expense. > > Though I am tempted to watch a monger down a pitcher on his/her > own, I can't condone binge drinking. One entry per person. > > Email me your code before 5pm on Thursday, post it online, or > bring it on disk. If it's really short, you can bring it on > paper. It would be nice to run them... so a digital form is > preferred. If you set up the code so that we can see it in > action, that's even better. (ie. declare an appropriate @foo) > > Hope to see lots of you this Thursday! > > Daniel: Add me to the pizza list, please. > > Disclaimers: Beer available -after- meeting, at whatever > pub/restaurant we adjourn to. map/grep/drink responsibly. > > fishbot > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From akohlsmith-pm at benshaw.com Wed Nov 17 20:00:47 2004 From: akohlsmith-pm at benshaw.com (Andrew Kohlsmith) Date: Wed Nov 17 20:03:12 2004 Subject: [kw-pm] Free beer: still unclaimed! In-Reply-To: References: Message-ID: <200411172100.47215.akohlsmith-pm@benshaw.com> On November 17, 2004 08:48 pm, Daniel Allen wrote: > I daebetd and daebted wehethr I tuhhogt tihs was a cool egonuh > use of map... and I tnihk I'll let you dcdiee. :) > > perl -pe 's/\B(\w+)\B/join"",map chop,sort map{rand().$_}split"",$1/eg' ok you *have* to explain this one at the next meeting... which I hope isn't tomorrow because I can't make it :-( -A. From elbie at trig.net Wed Nov 17 20:22:45 2004 From: elbie at trig.net (Christopher Calzonetti) Date: Wed Nov 17 20:23:33 2004 Subject: [kw-pm] Free beer: still unclaimed! In-Reply-To: <200411172100.47215.akohlsmith-pm@benshaw.com> References: <200411172100.47215.akohlsmith-pm@benshaw.com> Message-ID: <20041118022239.GA85479@trig.net> Sadly, nor can I. But at least this time, I have a good reason. I'm at the Usenix LISA conference in Atlanta. On Wed, Nov 17, 2004 at 09:00:47PM -0500, Andrew Kohlsmith wrote: > On November 17, 2004 08:48 pm, Daniel Allen wrote: > > I daebetd and daebted wehethr I tuhhogt tihs was a cool egonuh > > use of map... and I tnihk I'll let you dcdiee. :) > > > > perl -pe 's/\B(\w+)\B/join"",map chop,sort map{rand().$_}split"",$1/eg' > > ok you *have* to explain this one at the next meeting... which I hope isn't > tomorrow because I can't make it :-( > > -A. > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > -- Christopher Calzonetti, Technical Lead, Trig.Net Web: http://www.trig.net/ Mail: mailto:chris@trig.net From eric at uc.org Wed Nov 17 23:25:03 2004 From: eric at uc.org (Eric - fishbot) Date: Wed Nov 17 23:25:21 2004 Subject: [kw-pm] Free beer: still unclaimed! In-Reply-To: References: Message-ID: > I daebetd and daebted wehethr I tuhhogt tihs was a cool > egonuh use of map... and I tnihk I'll let you dcdiee. :) > > perl -pe 's/\B(\w+)\B/join"",map chop,sort map{rand().$_}split"",$1/eg' What amazes me most about this is not so much the code but the fact that it is pretty fast. I ran this over my entire kw-pm mailbox (16,000 lines of text) and it took 4 seconds. Considering a random number is generated for every internal letter... that's amazing to me. It did my 230,000 word dictionary in 24 seconds. I hope that I haven't given away too much. Daniel gets to explain this tomorrow. I put the example on the wiki here: http://kw.pm.org/wiki/index.cgi?GrepMapExamples So that we can discuss it onscreen. Add yours soon! A second beer hangs in the balance. I think that Daniel has got a lock on the first. fishbot From akohlsmith-pm at benshaw.com Thu Nov 18 06:23:49 2004 From: akohlsmith-pm at benshaw.com (Andrew Kohlsmith) Date: Thu Nov 18 06:26:07 2004 Subject: [kw-pm] Free beer: still unclaimed! In-Reply-To: References: Message-ID: <200411180723.49939.akohlsmith-pm@benshaw.com> On November 18, 2004 12:25 am, Eric - fishbot wrote: > > perl -pe 's/\B(\w+)\B/join"",map chop,sort map{rand().$_}split"",$1/eg' > I hope that I haven't given away too much. Daniel gets to > explain this tomorrow. No I get the /gist/ of what it's doing, but it's the actual implementation details -- the double-map, chop and sort, not to mention the regex that executes code -- that is confusing me. This is precisely the kind of code that gives Perl a bad name, but also the kind of code that makes people who give it a bad name secretly smile and say "that's some really neat shit, man!" -A. From cs_palkar at yahoo.com Thu Nov 18 08:04:01 2004 From: cs_palkar at yahoo.com (Charu Palkar) Date: Thu Nov 18 08:06:31 2004 Subject: [kw-pm] Searching for Sybase perl guy (read note) In-Reply-To: Message-ID: <20041118140401.51686.qmail@web61103.mail.yahoo.com> Hi, Looking for somebody from Sybase who had posted a ride-share to Buffalo for a Perl conference. If that person can email me that would be great. Hint : The person worked at MKS previously. Thanx Charu -- --- "Daniel R. Allen" wrote: > Thursday, September 16, 2004 7pm at the usual > location, the U of Waterloo, > Davis Centre 2305. > > Plus, we have swag: three activestate teeshirts, > which just came in the > mail. First three people in the door get them. :-) > > -Daniel > > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From sfllaw at law.yi.org Thu Nov 18 03:40:00 2004 From: sfllaw at law.yi.org (Simon Law) Date: Thu Nov 18 08:18:53 2004 Subject: [kw-pm] Free beer: still unclaimed! In-Reply-To: References: Message-ID: <20041118094000.GS25629@law.yi.org> On Thu, Nov 18, 2004 at 12:25:03AM -0500, Eric - fishbot wrote: > > > I daebetd and daebted wehethr I tuhhogt tihs was a cool > > egonuh use of map... and I tnihk I'll let you dcdiee. :) > > > > perl -pe 's/\B(\w+)\B/join"",map chop,sort map{rand().$_}split"",$1/eg' > > What amazes me most about this is not so much the code but the > fact that it is pretty fast. I ran this over my entire kw-pm > mailbox (16,000 lines of text) and it took 4 seconds. Considering > a random number is generated for every internal letter... that's > amazing to me. It did my 230,000 word dictionary in 24 seconds. This is because srand() is only called once by rand(). After that, rand() is a pseudo-random number, which of course, can be generated quite quickly. Simon From cs_palkar at yahoo.com Thu Nov 18 12:00:33 2004 From: cs_palkar at yahoo.com (Charu Palkar) Date: Thu Nov 18 12:50:33 2004 Subject: [kw-pm] Found the Sybase perl guy - Thanx In-Reply-To: <20041118140401.51686.qmail@web61103.mail.yahoo.com> Message-ID: <20041118180033.98806.qmail@web61102.mail.yahoo.com> Thanx everybody! __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com From JenniferB at procom.ca Thu Nov 18 13:02:59 2004 From: JenniferB at procom.ca (Jennifer Brooks) Date: Thu Nov 18 13:01:52 2004 Subject: [kw-pm] Job Posting - C and C++ developers Message-ID: Hi! My name is Jennifer Brooks and I am a Technical Recruiter with Procom in Waterloo. I am looking for super senior C and C++ developers (with Windows and Unix) for contract positions in Waterloo. If you know of anyone who might be interested please send me their contact information (or, forward them my contact information below). Thanks very much for your time and your help. All the best, Jennifer Jennifer Brooks PROCOM- Waterloo Technical Recruiter, Consulting Services Ph: (519) 885-4331 ext 204 Fax: (519) 885-5308 View available jobs at www.procom.ca PROCOM - 'Bringing People & Technology Together' -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/kw-pm/attachments/20041118/790dba8b/attachment.htm From eric at uc.org Fri Nov 19 08:04:11 2004 From: eric at uc.org (Eric - fishbot) Date: Fri Nov 19 08:04:13 2004 Subject: [kw-pm] code examples from critique Message-ID: Thanks to Daniel for picking up the Pizza, and for being the first (and only) person to accept a free beer. The flattening tree code, and the MGenerative code examples that I use for the code critique are here: http://emaki.uc.org/ftree/ I'll give Daniel the slides for the Map/Grep talk in the next day or so, so they can be posted online. After the meeting, I mentioned a package table dumper. The (extremely) rudimentary code is here: http://kw.pm.org/wiki/index.cgi?GlobWalk It's just a 'proof of concept', or something. There's got to be a cleaner way to do this. Feel free to add your advice to the wiki, or comment my code with objections ;) Thanks, Eric From daniel at coder.com Sat Nov 20 18:21:15 2004 From: daniel at coder.com (Daniel R. Allen) Date: Sat Nov 20 18:26:39 2004 Subject: [kw-pm] code examples from critique In-Reply-To: Message-ID: On Fri, 19 Nov 2004, Eric - fishbot wrote: > Thanks to Daniel for picking up the Pizza, and for being the > first (and only) person to accept a free beer. Truly my pleasure, on both counts. Cheapest beer-for-code trade I've ever been part of, believe me... For those who were unable to attend, the Wiki has both: the map example: http://kw.pm.org/wiki/index.cgi?GrepMapExamples and hints to the solution: http://kw.pm.org/wiki/index.cgi?GrepMapWordJumblerHints As the first advance notice: next month it looks like we're meeting up at the Huether, for a Pub::Social (or was that /pub/social?) Hope to see y'all there! -Daniel From daniel at coder.com Mon Nov 22 19:41:15 2004 From: daniel at coder.com (Daniel R. Allen) Date: Mon Nov 22 19:46:49 2004 Subject: [kw-pm] news... Message-ID: http://use.perl.org/~Matts/journal/21959 Matt Sargeant, a principal author of SpamAssassin and author of Axkit, among other big perl projects, will be moving from the UK to Kitchener (for a few months), then elsewhere in this general area when he and his wife find a house. I've extended an invite for him to join us at our meeting in January. -Daniel -- http://coder.com/ - Prescient Code Solutions - (519) 575-3733 da@coder.com From dcarr at sdf.lonestar.org Tue Nov 23 16:21:57 2004 From: dcarr at sdf.lonestar.org (lloyd carr) Date: Tue Nov 23 16:22:09 2004 Subject: [kw-pm] news... In-Reply-To: References: Message-ID: Do we know why he is moving to KW? Not that it isn't a great idea, but he must have some motivation to move all those pets! - Lloyd On Mon, 22 Nov 2004, Daniel R. Allen wrote: > Date: Mon, 22 Nov 2004 20:41:15 -0500 (EST) > From: Daniel R. Allen > To: kw-pm@mail.pm.org > Subject: [kw-pm] news... > > http://use.perl.org/~Matts/journal/21959 > > Matt Sargeant, a principal author of SpamAssassin and author of Axkit, > among other big perl projects, will be moving from the UK to Kitchener > (for a few months), then elsewhere in this general area when he and his > wife find a house. I've extended an invite for him to join us at our > meeting in January. > > -Daniel > > -- > http://coder.com/ - Prescient Code Solutions - (519) 575-3733 da@coder.com > > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > dcarr@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org From da at coder.com Tue Nov 23 16:22:15 2004 From: da at coder.com (Daniel R. Allen) Date: Tue Nov 23 16:27:56 2004 Subject: [kw-pm] news... In-Reply-To: Message-ID: A prior post says for family reasons. -D On Tue, 23 Nov 2004, lloyd carr wrote: > Do we know why he is moving to KW? > Not that it isn't a great idea, but he must have some motivation to move > all those pets! > > - Lloyd > > On Mon, 22 Nov 2004, Daniel R. Allen wrote: > > > Date: Mon, 22 Nov 2004 20:41:15 -0500 (EST) > > From: Daniel R. Allen > > To: kw-pm@mail.pm.org > > Subject: [kw-pm] news... > > > > http://use.perl.org/~Matts/journal/21959 > > > > Matt Sargeant, a principal author of SpamAssassin and author of Axkit, > > among other big perl projects, will be moving from the UK to Kitchener > > (for a few months), then elsewhere in this general area when he and his > > wife find a house. I've extended an invite for him to join us at our > > meeting in January. > > > > -Daniel > > > > -- > > http://coder.com/ - Prescient Code Solutions - (519) 575-3733 da@coder.com > > > > _______________________________________________ > > kw-pm mailing list > > kw-pm@mail.pm.org > > http://mail.pm.org/mailman/listinfo/kw-pm > > > > dcarr@sdf.lonestar.org > SDF Public Access UNIX System - http://sdf.lonestar.org > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From eric at uc.org Wed Nov 24 21:38:52 2004 From: eric at uc.org (Eric - fishbot) Date: Wed Nov 24 21:39:10 2004 Subject: [kw-pm] Perl6 Update Message-ID: As the "official" Perl6 watcher for kw.pm - Last week four "new" Synopses were posted at http://dev.perl.org/perl6/synopsis/ s10 => Packages s11 => Modules s12 => Objects s13 => Overloading Which correspond to chapters 10..13 in the camel book. The synopses are both the "pocket guide" to Perl6, and the specification. s11..s13 are taken from the enormous a12 document, split up by topic. s10 is a synopsis of an imaginary a10, and thus is "new" material. Things I found interesting: s10: Packages -------------------- Packages are no longer always relative to main::. You can do "our package Foo;" for a new subpackage that has a lexically scoped alias. Thus $Foo::bar and $Baz::Foo::bar might be relative and fully qualified names for the same variable. Also, you can have a "my package Foo;", just as you can have a "my sub bar {}". s11: Modules -------------------- Not sure I love the module versioning logic, but at base it will default what I normally want. I do love the new export semantics, though. I can understand an argument against, in that what is exported is no longer obvious and grouped at the top of a module. But if you have to open the source to use a module, there are bigger problems anyway, I think. perl6doc should have a switch that shows the export tables for the module ;) s12: Objects -------------------- Even in Synopsis form this is long. But, it's -much- more readable, and only an 8th of the length of the Apocalypse. s13: Overloading -------------------- The multi is deep trait is quite interesting. It causes operator autogeneration like Perl5 overloading does, but the autogeneration table is accessible to pragma and modules. I also thought that the use of the alias operator on overloadable core operators was interesting. It made me think about the way symbol tables are going to handle multi slots. Glad that I don't have to make those decisions. Anyway, if you (understandably) put of reading a12, now is your chance to get the same information, in a palatable form. fishbot From rdice at pobox.com Thu Nov 25 16:03:57 2004 From: rdice at pobox.com (Richard Dice) Date: Thu Nov 25 16:04:17 2004 Subject: [kw-pm] Room announcement for TPM meeting, Monday 29 Nov 2004 6:45pm Message-ID: <41A656CD.6080606@pobox.com> Hi everyone... Here's a final announcement (with floor & room info) for this coming Monday's TPM meeting. I've put a bit more info than usual because I understand that some people from other PM groups (Buffalo esp.) are interested in coming in for the talk. Cheers, Richard Date: Monday 29 November 2004 Time: 6:45pm Location: 2 Bloor St. W. (NW corner of Yonge & Bloor, CIBC Skyscraper) 16th floor, room 9 Note that someone will have to fetch you from the lobby because security locks down the elevators after 5:30pm. Go to the security desk when you arrive to ask for the cell phone # for the TPM meeting -- when you call it, someone will come to get you. Floor & room info will be left at the security desk as well. Parking: You should budget to arrive "in the area" 20 minutes before the talk to find parking and to walk from parking to 2 Bloor St. W. This is a super-busy downtown area with frustrating driving conditions, so be warned. You should be able to find parking garages off of Cumberland St. (parallel to Bloor, 1 small block to its north, running W. of Yonge St.) or at Hayden St. (1 small block south of Bloor, parallel to it, to the E. of Yonge) Topic: Mac OS X and Perl Speaker: Steve Hayman (from Apple) Note that Steve gave a keynote talk on this topic at YAPC::NA 2004 in Buffalo and it was really good! Description: ------------ Every Macintosh ships with Mac OS X and Perl 5.8, but so what? What's this UNIX-based operating system all about, and how does Perl fit in? Apple Consulting Engineer Steve Hayman will review the state of Perl on Mac OS X, and show how it is exactly-almost-kind of-like Perl on other platforms, and demonstrate how scripting on the Mac can be completely "unlike" other platforms. From dcarr at sdf.lonestar.org Thu Nov 25 16:05:29 2004 From: dcarr at sdf.lonestar.org (lloyd carr) Date: Thu Nov 25 16:05:35 2004 Subject: [kw-pm] Perl6 Update In-Reply-To: References: Message-ID: Offical? I don't recall a vote or anything ;-) Thanks Eric :-) On Wed, 24 Nov 2004, Eric - fishbot wrote: > Date: Wed, 24 Nov 2004 22:38:52 -0500 (EST) > From: Eric - fishbot > To: K/W Perl Mongers > Subject: [kw-pm] Perl6 Update > > > As the "official" Perl6 watcher for kw.pm - > > Last week four "new" Synopses were posted at > http://dev.perl.org/perl6/synopsis/ > > s10 => Packages > s11 => Modules > s12 => Objects > s13 => Overloading > > Which correspond to chapters 10..13 in the camel book. > > The synopses are both the "pocket guide" to Perl6, and the > specification. > > s11..s13 are taken from the enormous a12 document, split up > by topic. s10 is a synopsis of an imaginary a10, and thus > is "new" material. > > Things I found interesting: > > s10: Packages > -------------------- > Packages are no longer always relative to main::. You can > do "our package Foo;" for a new subpackage that has a > lexically scoped alias. Thus $Foo::bar and $Baz::Foo::bar > might be relative and fully qualified names for the same > variable. > > Also, you can have a "my package Foo;", just as you can have > a "my sub bar {}". > > s11: Modules > -------------------- > Not sure I love the module versioning logic, but at base it > will default what I normally want. > > I do love the new export semantics, though. I can > understand an argument against, in that what is exported is > no longer obvious and grouped at the top of a module. But > if you have to open the source to use a module, there are > bigger problems anyway, I think. perl6doc should have a > switch that shows the export tables for the module ;) > > s12: Objects > -------------------- > Even in Synopsis form this is long. But, it's -much- more > readable, and only an 8th of the length of the Apocalypse. > > s13: Overloading > -------------------- > The multi is deep trait is quite interesting. It causes > operator autogeneration like Perl5 overloading does, but the > autogeneration table is accessible to pragma and modules. > > I also thought that the use of the alias operator on > overloadable core operators was interesting. It made me > think about the way symbol tables are going to handle multi > slots. Glad that I don't have to make those decisions. > > > Anyway, if you (understandably) put of reading a12, now is > your chance to get the same information, in a palatable > form. > > fishbot > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > dcarr@sdf.lonestar.org SDF Public Access UNIX System - http://sdf.lonestar.org From da at coder.com Thu Nov 25 16:23:30 2004 From: da at coder.com (Daniel R. Allen) Date: Thu Nov 25 16:29:25 2004 Subject: [kw-pm] Perl6 Update In-Reply-To: Message-ID: Vote by acclaimation, I expect; since I haven't heard any dissenters :) I've wanted local packages before, so that sounds like a plus. Thanks for keeping up with this Eric. -Daniel On Thu, 25 Nov 2004, lloyd carr wrote: > Offical? I don't recall a vote or anything ;-) > > Thanks Eric :-) > > On Wed, 24 Nov 2004, Eric - fishbot wrote: > > > Date: Wed, 24 Nov 2004 22:38:52 -0500 (EST) > > From: Eric - fishbot > > To: K/W Perl Mongers > > Subject: [kw-pm] Perl6 Update > > > > > > As the "official" Perl6 watcher for kw.pm - > > > > Last week four "new" Synopses were posted at > > http://dev.perl.org/perl6/synopsis/ > > > > s10 => Packages > > s11 => Modules > > s12 => Objects > > s13 => Overloading > > > > Which correspond to chapters 10..13 in the camel book. > > > > The synopses are both the "pocket guide" to Perl6, and the > > specification. > > > > s11..s13 are taken from the enormous a12 document, split up > > by topic. s10 is a synopsis of an imaginary a10, and thus > > is "new" material. > > > > Things I found interesting: > > > > s10: Packages > > -------------------- > > Packages are no longer always relative to main::. You can > > do "our package Foo;" for a new subpackage that has a > > lexically scoped alias. Thus $Foo::bar and $Baz::Foo::bar > > might be relative and fully qualified names for the same > > variable. > > > > Also, you can have a "my package Foo;", just as you can have > > a "my sub bar {}". > > > > s11: Modules > > -------------------- > > Not sure I love the module versioning logic, but at base it > > will default what I normally want. > > > > I do love the new export semantics, though. I can > > understand an argument against, in that what is exported is > > no longer obvious and grouped at the top of a module. But > > if you have to open the source to use a module, there are > > bigger problems anyway, I think. perl6doc should have a > > switch that shows the export tables for the module ;) > > > > s12: Objects > > -------------------- > > Even in Synopsis form this is long. But, it's -much- more > > readable, and only an 8th of the length of the Apocalypse. > > > > s13: Overloading > > -------------------- > > The multi is deep trait is quite interesting. It causes > > operator autogeneration like Perl5 overloading does, but the > > autogeneration table is accessible to pragma and modules. > > > > I also thought that the use of the alias operator on > > overloadable core operators was interesting. It made me > > think about the way symbol tables are going to handle multi > > slots. Glad that I don't have to make those decisions. > > > > > > Anyway, if you (understandably) put of reading a12, now is > > your chance to get the same information, in a palatable > > form. > > > > fishbot > > _______________________________________________ > > kw-pm mailing list > > kw-pm@mail.pm.org > > http://mail.pm.org/mailman/listinfo/kw-pm > > > > dcarr@sdf.lonestar.org > SDF Public Access UNIX System - http://sdf.lonestar.org > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From eric at uc.org Thu Nov 25 16:56:57 2004 From: eric at uc.org (Eric - fishbot) Date: Thu Nov 25 16:57:00 2004 Subject: [kw-pm] Perl6 Update In-Reply-To: References: Message-ID: Lloyd wrote: > Offical? I don't recall a vote or anything ;-) Well, that's why I put it in double quotes. It's subject to interpolation. On that note, I nominate Lloyd qq{Official} kw.pm Parrot watcher. Daniel wrote: > I've wanted local packages before, so that sounds like a plus. Really? I'm curious how you planned to use those. I tried to think of a good example last night, and I couldn't. In most of the cases where a lexical package makes some sense, a lexical class seemed a bit better fit. Interestingly, it would seem that you could create a global subroutine within a lexical package. I'm not sure what to call that. Perhaps a super-closure? Not sure what you would do with that. Some sort of dispatcher to package-subs accessible through that one point of entry comes to mind, but you could do that with a normal package with lexical subs. fishbot From daniel at coder.com Sat Nov 27 09:12:22 2004 From: daniel at coder.com (Daniel R. Allen) Date: Sat Nov 27 09:18:50 2004 Subject: [kw-pm] Perl6 Update In-Reply-To: Message-ID: On Thu, 25 Nov 2004, Eric - fishbot wrote: > Daniel wrote: > > I've wanted local packages before, so that sounds like a plus. > > Really? I'm curious how you planned to use those. I tried > to think of a good example last night, and I couldn't. > > In most of the cases where a lexical package makes some > sense, a lexical class seemed a bit better fit. Ya, I don't remember exactly, but I think it was some half-brained project where I didn't use OO style when I started, but should've. Wish I could remember exactly why, since it seems I could just ignore the namespace after I was done with it. :) Probably 3am thinking :) > Interestingly, it would seem that you could create a global > subroutine within a lexical package. I'm not sure what to > call that. Perhaps a super-closure? Not sure what you super-sub-closure? :) > would do with that. Some sort of dispatcher to > package-subs accessible through that one point of entry > comes to mind, but you could do that with a normal package > with lexical subs. What namespace would it end up in? Main? I wonder if that would be useful for Damian's Sufficiently Advanced Technologies package which was supposed to mangle the main namespace from a module... Though, conjecturing what evil Damian could do with perl6 is certainly premature. -D > fishbot > _______________________________________________ > kw-pm mailing list > kw-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/kw-pm > From daniel at coder.com Sat Nov 27 09:17:44 2004 From: daniel at coder.com (Daniel R. Allen) Date: Sat Nov 27 09:23:50 2004 Subject: [kw-pm] GD Message-ID: Speaking of 3am code... I was playing with GD to make a Christmas present for a quilter. The output is sorta neat, and the code doesn't make me retch too much. Comments welcome. tiny sample output: http://coder.com/daniel/photos/9block.png Code: http://kw.pm.org/wiki/index.cgi?NineBlocks -Daniel -- http://coder.com/ - Prescient Code Solutions - (519) 575-3733 da@coder.com From daniel at coder.com Mon Nov 29 20:17:21 2004 From: daniel at coder.com (Daniel R. Allen) Date: Mon Nov 29 20:23:47 2004 Subject: [kw-pm] $self->shoot_foot Message-ID: So it looks like I'll be out of town for the social. I'm flying that Tuesday and coming back the following Tuesday. :-P I don't suppose there's any interest in changing the date from the 16th to the 9th? "No" is fine; but if both dates are fine with folks (or others prefer the 9th; fewer holiday parties earlier in the month, right?) I'd like to be able to make it myelf :) -Daniel -- http://coder.com/ - Prescient Code Solutions - (519) 575-3733 da@coder.com