From joshua.mcadams at gmail.com Sun Jan 7 10:13:32 2007 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Sun, 7 Jan 2007 12:13:32 -0600 Subject: [Chicago-talk] Chicago.pm Meeting - 16th January 2007 - Catalyst, The Elegant MVC Web Framework Message-ID: <49d805d70701071013y7610aca0jd43385594e493698@mail.gmail.com> Join Chicago.pm on January 16th for an evening of Catalyst, a modern framework for making web applications without the pain usually associated with web development. Jonathan will be talking in-depth about developing Catalyst applications, a topic that he knows very well. He is a contributor to Catalyst, maintains numerous Catalyst plug-ins, and is rumored to be writing a book on the subject. Date: Tuesday January 16th 2007 Time: 7:00 p.m. Where: Performics @ 180 N La Salle 12th Floor RSVP: By noon January 15th to joshua.mcadams+20070116 at gmail.com The official meeting starts at 7, but there is talk of a group getting together before (or after) for a social. You guys can nail down the details on that :) Also, don't forget the Chicago.pm meeting to be held this Tuesday January 9th at IIT in Wheaton. Andy Lester, Pete Krawzcyk, and myself each have each picked four modules to present in a session called "New Modules For The New Year". Check out http://chicago.pm.org/ for more information. See you there, Josh * BTW, I still have a few Perl Mongers t-shirts to distribute to people. I'll be bringing them to each of these meetings, so try to be there if you are still without your shirts! From andy at petdance.com Sun Jan 7 10:42:44 2007 From: andy at petdance.com (Andy Lester) Date: Sun, 7 Jan 2007 12:42:44 -0600 Subject: [Chicago-talk] Chicago.pm Meeting - 16th January 2007 - Catalyst, The Elegant MVC Web Framework In-Reply-To: <49d805d70701071013y7610aca0jd43385594e493698@mail.gmail.com> References: <49d805d70701071013y7610aca0jd43385594e493698@mail.gmail.com> Message-ID: On Jan 7, 2007, at 12:13 PM, Joshua McAdams wrote: > Join Chicago.pm on January 16th for an evening of Catalyst, a modern > framework for making web applications without the pain usually > associated with web development. Jonathan will be talking in-depth > about developing Catalyst applications, a topic that he knows very > well. He is a contributor to Catalyst, maintains numerous Catalyst > plug-ins, and is rumored to be writing a book on the subject. Hooray! I put it on the wiki at http://rakudo.org/chicago-pm/ index.cgi?2007_01_16_catalyst Am I right in thinking that "Jonathan" is Rockway? -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From joshua.mcadams at gmail.com Sun Jan 7 11:57:24 2007 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Sun, 7 Jan 2007 13:57:24 -0600 Subject: [Chicago-talk] Chicago.pm Meeting - 16th January 2007 - Catalyst, The Elegant MVC Web Framework In-Reply-To: References: <49d805d70701071013y7610aca0jd43385594e493698@mail.gmail.com> Message-ID: <49d805d70701071157r23fb201cj671fd8649b7faaa6@mail.gmail.com> > Am I right in thinking that "Jonathan" is Rockway? Hah! Yeah, not enough coffee this morning :) From andy at petdance.com Tue Jan 9 12:31:38 2007 From: andy at petdance.com (Andy Lester) Date: Tue, 9 Jan 2007 14:31:38 -0600 Subject: [Chicago-talk] Room change for tonight's PM meeting Message-ID: <1CC2964A-39E0-422B-94D8-C8D19AAF0DF3@petdance.com> Chicago.pm will be in a different room for tonight only. We'll be in room 118, just down the hall from 103. Thanks, xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From andy at petdance.com Wed Jan 10 10:42:06 2007 From: andy at petdance.com (Andy Lester) Date: Wed, 10 Jan 2007 12:42:06 -0600 Subject: [Chicago-talk] Slides from last night's talk Message-ID: <2568CB50-2387-4C88-B26E-A8E802E04A8A@petdance.com> I put up a tarball of code from last night's meeting at http:// rakudo.org/chicago-pm/index.cgi?2007_01_09_new_modules_for_the_new_year I suspect Pete and Josh will do so soon as well. xoxo, Andy From joshua.mcadams at gmail.com Thu Jan 11 17:35:03 2007 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Thu, 11 Jan 2007 19:35:03 -0600 Subject: [Chicago-talk] Fwd: [Board] Speakers In-Reply-To: <4826.131.193.35.151.1168535797.squirrel@esamir.com> References: <3d76512f0607162208p717821a9qcb0f57ec6bd8bde@mail.gmail.com> <4826.131.193.35.151.1168535797.squirrel@esamir.com> Message-ID: <49d805d70701111735r67ca0f17r1a0b0fa86539b7b7@mail.gmail.com> I've attached info about a conference that UIC LUG is trying to put together... thought some of you might be interested in speaking or at least attending. ---------- Forwarded message ---------- From: Samir Faci Date: Jan 11, 2007 11:16 AM Subject: [Board] Speakers To: board at luni.org Hello Everyone, I'm not sure if everyone is aware but the UIC lug is trying to setup a conference for open source and free software (beer or otherwise). We have google coming but we need more speakers both technical and from a business perspective. I was wondering if anyone had any contacts they could furnish me for speakers. It doesn't particularly have to be a local contact though local to Chicago would be preferred. I know many of you that initially wanted to get involved with Ubber Fest have more contacts in the open source community, if anyone knows anyone that maybe interested in speaking, please let me know. -- Regards, Samir Faci _______________________________________________ Board mailing list Board at luni.org http://luni.org/mailman/listinfo/board -------------- next part -------------- A non-text attachment was scrubbed... Name: OpenLetter.pdf Type: application/pdf Size: 54777 bytes Desc: not available Url : http://mail.pm.org/pipermail/chicago-talk/attachments/20070111/f16f4a7b/attachment-0002.pdf -------------- next part -------------- A non-text attachment was scrubbed... Name: ShortOpenInvite.pdf Type: application/pdf Size: 42777 bytes Desc: not available Url : http://mail.pm.org/pipermail/chicago-talk/attachments/20070111/f16f4a7b/attachment-0003.pdf From joshua.mcadams at gmail.com Thu Jan 11 17:56:40 2007 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Thu, 11 Jan 2007 19:56:40 -0600 Subject: [Chicago-talk] Slides from last night's talk In-Reply-To: <2568CB50-2387-4C88-B26E-A8E802E04A8A@petdance.com> References: <2568CB50-2387-4C88-B26E-A8E802E04A8A@petdance.com> Message-ID: <49d805d70701111756p22f88c09n99f9aabc4c815c26@mail.gmail.com> > I suspect Pete and Josh will do so soon as well. Done From mrnicksgirl at gmail.com Mon Jan 15 13:33:57 2007 From: mrnicksgirl at gmail.com (Nola Stowe) Date: Mon, 15 Jan 2007 15:33:57 -0600 Subject: [Chicago-talk] Chicago.pm Meeting - 16th January 2007 - Catalyst, The Elegant MVC Web Framework In-Reply-To: <49d805d70701071013y7610aca0jd43385594e493698@mail.gmail.com> References: <49d805d70701071013y7610aca0jd43385594e493698@mail.gmail.com> Message-ID: <43e95380701151333i1349d66bw83b1d0785c1ff965@mail.gmail.com> Hey guys.. who's up for dinner before the meeting? Say 5:30 ? I suggest - Bennigan's 225 N Michigan Ave Salvador's Barro (mexican) 73 E. Lake St., Chicago http://www.centerstage.net/restaurants/salvadors-barro.html or any other ideas? something relatively nearby Performics? I know there are probably closer places. On 1/7/07, Joshua McAdams wrote: > Join Chicago.pm on January 16th for an evening of Catalyst, a modern > framework for making web applications without the pain usually > associated with web development. Jonathan will be talking in-depth > about developing Catalyst applications, a topic that he knows very > well. He is a contributor to Catalyst, maintains numerous Catalyst > plug-ins, and is rumored to be writing a book on the subject. > > Date: Tuesday January 16th 2007 > Time: 7:00 p.m. > Where: Performics @ 180 N La Salle 12th Floor > RSVP: By noon January 15th to joshua.mcadams+20070116 at gmail.com > > The official meeting starts at 7, but there is talk of a group getting > together before (or after) for a social. You guys can nail down the > details on that :) > > Also, don't forget the Chicago.pm meeting to be held this Tuesday > January 9th at IIT in Wheaton. Andy Lester, Pete Krawzcyk, and myself > each have each picked four modules to present in a session called "New > Modules For The New Year". Check out http://chicago.pm.org/ for more > information. > > See you there, > Josh > > * BTW, I still have a few Perl Mongers t-shirts to distribute to > people. I'll be bringing them to each of these meetings, so try to be > there if you are still without your shirts! > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -- http://rubygeek.com - my blog featuring: Ruby, PHP and Perl http://DevChix.com - boys can't have all the fun http://CodeSnipers.com From kent at c2group.net Tue Jan 16 13:46:41 2007 From: kent at c2group.net (Kent Cowgill) Date: Tue, 16 Jan 2007 15:46:41 -0600 Subject: [Chicago-talk] Chicago.pm Meeting - 16th January 2007 - Catalyst, The Elegant MVC Web Framework In-Reply-To: <43e95380701151333i1349d66bw83b1d0785c1ff965@mail.gmail.com> References: <49d805d70701071013y7610aca0jd43385594e493698@mail.gmail.com> <43e95380701151333i1349d66bw83b1d0785c1ff965@mail.gmail.com> Message-ID: Was I sleeping, or did no one else chime in on this? I'm up for it. -Kent Cowgill C2 Group, Inc. kent at c2group.net http://www.c2group.net 312.804.0160 On Jan 15, 2007, at 3:33 PM, Nola Stowe wrote: > Hey guys.. who's up for dinner before the meeting? Say 5:30 ? > > I suggest - > > Bennigan's > 225 N Michigan Ave > > Salvador's Barro (mexican) > 73 E. Lake St., Chicago > http://www.centerstage.net/restaurants/salvadors-barro.html > > or any other ideas? something relatively nearby Performics? I know > there are probably closer places. > > > On 1/7/07, Joshua McAdams wrote: >> Join Chicago.pm on January 16th for an evening of Catalyst, a modern >> framework for making web applications without the pain usually >> associated with web development. Jonathan will be talking in-depth >> about developing Catalyst applications, a topic that he knows very >> well. He is a contributor to Catalyst, maintains numerous Catalyst >> plug-ins, and is rumored to be writing a book on the subject. >> >> Date: Tuesday January 16th 2007 >> Time: 7:00 p.m. >> Where: Performics @ 180 N La Salle 12th Floor >> RSVP: By noon January 15th to joshua.mcadams+20070116 at gmail.com >> >> The official meeting starts at 7, but there is talk of a group >> getting >> together before (or after) for a social. You guys can nail down the >> details on that :) >> >> Also, don't forget the Chicago.pm meeting to be held this Tuesday >> January 9th at IIT in Wheaton. Andy Lester, Pete Krawzcyk, and >> myself >> each have each picked four modules to present in a session called >> "New >> Modules For The New Year". Check out http://chicago.pm.org/ for more >> information. >> >> See you there, >> Josh >> >> * BTW, I still have a few Perl Mongers t-shirts to distribute to >> people. I'll be bringing them to each of these meetings, so try >> to be >> there if you are still without your shirts! >> _______________________________________________ >> Chicago-talk mailing list >> Chicago-talk at pm.org >> http://mail.pm.org/mailman/listinfo/chicago-talk >> > > > -- > http://rubygeek.com - my blog featuring: Ruby, PHP and Perl > http://DevChix.com - boys can't have all the fun > http://CodeSnipers.com > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From mrnicksgirl at gmail.com Tue Jan 16 13:51:22 2007 From: mrnicksgirl at gmail.com (Nola Stowe) Date: Tue, 16 Jan 2007 15:51:22 -0600 Subject: [Chicago-talk] Chicago.pm Meeting - 16th January 2007 - Catalyst, The Elegant MVC Web Framework In-Reply-To: References: <49d805d70701071013y7610aca0jd43385594e493698@mail.gmail.com> <43e95380701151333i1349d66bw83b1d0785c1ff965@mail.gmail.com> Message-ID: <43e95380701161351j747c79d0y375f867909b874c1@mail.gmail.com> well.. I'm gonna eat my microwaved frozen dinner in the office and head over to the Starbucks in the same building as Performics about 6:00 or so....as it turned out I had to put gas in my car instead of eating out. On 1/16/07, Kent Cowgill wrote: > Was I sleeping, or did no one else chime in on this? > > I'm up for it. > > > -Kent Cowgill > > C2 Group, Inc. > kent at c2group.net > http://www.c2group.net > 312.804.0160 > > > On Jan 15, 2007, at 3:33 PM, Nola Stowe wrote: > > > Hey guys.. who's up for dinner before the meeting? Say 5:30 ? > > > > I suggest - > > > > Bennigan's > > 225 N Michigan Ave > > > > Salvador's Barro (mexican) > > 73 E. Lake St., Chicago > > http://www.centerstage.net/restaurants/salvadors-barro.html > > > > or any other ideas? something relatively nearby Performics? I know > > there are probably closer places. > > > > > > On 1/7/07, Joshua McAdams wrote: > >> Join Chicago.pm on January 16th for an evening of Catalyst, a modern > >> framework for making web applications without the pain usually > >> associated with web development. Jonathan will be talking in-depth > >> about developing Catalyst applications, a topic that he knows very > >> well. He is a contributor to Catalyst, maintains numerous Catalyst > >> plug-ins, and is rumored to be writing a book on the subject. > >> > >> Date: Tuesday January 16th 2007 > >> Time: 7:00 p.m. > >> Where: Performics @ 180 N La Salle 12th Floor > >> RSVP: By noon January 15th to joshua.mcadams+20070116 at gmail.com > >> > >> The official meeting starts at 7, but there is talk of a group > >> getting > >> together before (or after) for a social. You guys can nail down the > >> details on that :) > >> > >> Also, don't forget the Chicago.pm meeting to be held this Tuesday > >> January 9th at IIT in Wheaton. Andy Lester, Pete Krawzcyk, and > >> myself > >> each have each picked four modules to present in a session called > >> "New > >> Modules For The New Year". Check out http://chicago.pm.org/ for more > >> information. > >> > >> See you there, > >> Josh > >> > >> * BTW, I still have a few Perl Mongers t-shirts to distribute to > >> people. I'll be bringing them to each of these meetings, so try > >> to be > >> there if you are still without your shirts! > >> _______________________________________________ > >> Chicago-talk mailing list > >> Chicago-talk at pm.org > >> http://mail.pm.org/mailman/listinfo/chicago-talk > >> > > > > > > -- > > http://rubygeek.com - my blog featuring: Ruby, PHP and Perl > > http://DevChix.com - boys can't have all the fun > > http://CodeSnipers.com > > _______________________________________________ > > Chicago-talk mailing list > > Chicago-talk at pm.org > > http://mail.pm.org/mailman/listinfo/chicago-talk > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -- http://rubygeek.com - my blog featuring: Ruby, PHP and Perl http://DevChix.com - boys can't have all the fun http://CodeSnipers.com From jason at froebe.net Tue Jan 16 16:50:54 2007 From: jason at froebe.net (Jason L. Froebe) Date: Tue, 16 Jan 2007 16:50:54 -0800 (PST) Subject: [Chicago-talk] meetup in the south suburbs? Message-ID: <878132.82496.qm@web801.biz.mail.mud.yahoo.com> Hi, I was just wondering if there are other perlmongers in the south suburbs (I'm in Tinley Park) that might be up for an informal meetup sometime soon. Any takers? jason Jason L. Froebe Help find a cure for breast cancer! Net proceeds benefit the Susan G. Komen Breast Cancer Foundation and the National Philanthropic Trust. Help by donating at http://www.the3day.org/chicago07/jfroebe - I'm walking 60 miles in 3 days in August 2007. (The day I return from TechWave is the first day of the Walk) WebBlog http://jfroebe.livejournal.com Tech log http://www.froebe.net/blog From shawn.c.carroll at gmail.com Tue Jan 16 17:07:26 2007 From: shawn.c.carroll at gmail.com (Shawn Carroll) Date: Tue, 16 Jan 2007 19:07:26 -0600 Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <878132.82496.qm@web801.biz.mail.mud.yahoo.com> References: <878132.82496.qm@web801.biz.mail.mud.yahoo.com> Message-ID: I'm game. I'm in Mokena On 1/16/07, Jason L. Froebe wrote: > Hi, > > I was just wondering if there are other perlmongers in the south > suburbs (I'm in Tinley Park) that might be up for an informal meetup > sometime soon. Any takers? > > jason > > Jason L. Froebe > > Help find a cure for breast cancer! Net proceeds benefit the Susan G. Komen > Breast Cancer Foundation and the National Philanthropic Trust. Help by > donating at http://www.the3day.org/chicago07/jfroebe - I'm walking 60 miles > in 3 days in August 2007. (The day I return from TechWave is the first day > of the Walk) > > WebBlog http://jfroebe.livejournal.com > Tech log http://www.froebe.net/blog > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -- shawn.c.carroll at gmail.com Perl Programmer Soccer Referee From amead at alanmead.org Tue Jan 16 17:20:59 2007 From: amead at alanmead.org (Alan Mead) Date: Tue, 16 Jan 2007 19:20:59 -0600 Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <878132.82496.qm@web801.biz.mail.mud.yahoo.com> References: <878132.82496.qm@web801.biz.mail.mud.yahoo.com> Message-ID: <45AD79FB.1080004@alanmead.org> Jason L. Froebe wrote: >Hi, > >I was just wondering if there are other perlmongers in the south >suburbs (I'm in Tinley Park) that might be up for an informal meetup >sometime soon. Any takers? > >jason > >Jason L. Froebe > > I'd be interested; I'm in Lockport. -Alan -- Alan D. Mead, Ph.D. : Skype ID alandmead amead at alanmead.org : +815-588-3846 I have a theory that it's impossible to prove anything, but I can't prove it. From jon at jrock.us Tue Jan 16 21:13:29 2007 From: jon at jrock.us (Jonathan Rockway) Date: Tue, 16 Jan 2007 23:13:29 -0600 Subject: [Chicago-talk] code from my talk Message-ID: <200701162313.29751.jon@jrock.us> Hello everyone, I now have the code for the AddressBook application from my talk on my website. Sorry that there isn't much explanation (in the form of slides), but hopefully you'll be able to pick apart the code that we didn't have time to cover during the talk. I forgot just how much code there is in a basic app :) You can download the tarball from: http://www.jrock.us/AddressBook.tar.gz Anyway, my book will cover all the nitty-gritty details of this app, but while you're waiting for that, check out: http://search.cpan.org/~jrockway/Task-Catalyst-Tutorial-0.02/ http://search.cpan.org/~jrockway/Catalyst-Manual-5.700501/lib/Catalyst/Manual.pm Questions are welcome on the list (catalyst at lists.rawmode.org), e-mailed directly, or in #catalyst on irc.perl.org! Have fun! (Also, any feedback is welcome.) Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup; From mrnicksgirl at gmail.com Wed Jan 17 05:30:30 2007 From: mrnicksgirl at gmail.com (Nola Stowe) Date: Wed, 17 Jan 2007 07:30:30 -0600 Subject: [Chicago-talk] code from my talk In-Reply-To: <200701162313.29751.jon@jrock.us> References: <200701162313.29751.jon@jrock.us> Message-ID: <43e95380701170530h4550c848s1eb4e92fe751c1a5@mail.gmail.com> Thanks Jonathan! You'll missed an interesting talk ... we had what, 8-9 of us there? On 1/16/07, Jonathan Rockway wrote: > Hello everyone, > > I now have the code for the AddressBook application from my talk on my > website. Sorry that there isn't much explanation (in the form of slides), > but hopefully you'll be able to pick apart the code that we didn't have time > to cover during the talk. I forgot just how much code there is in a basic > app :) > > You can download the tarball from: > > http://www.jrock.us/AddressBook.tar.gz > > Anyway, my book will cover all the nitty-gritty details of this app, but while > you're waiting for that, check out: > > http://search.cpan.org/~jrockway/Task-Catalyst-Tutorial-0.02/ > http://search.cpan.org/~jrockway/Catalyst-Manual-5.700501/lib/Catalyst/Manual.pm > > Questions are welcome on the list (catalyst at lists.rawmode.org), e-mailed > directly, or in #catalyst on irc.perl.org! Have fun! (Also, any feedback > is welcome.) > > Regards, > Jonathan Rockway > > -- > package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { > $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, > ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup; > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -- http://rubygeek.com - my blog featuring: Ruby, PHP and Perl http://DevChix.com - boys can't have all the fun http://CodeSnipers.com From mikeferrari8 at yahoo.com Wed Jan 17 07:18:11 2007 From: mikeferrari8 at yahoo.com (/dev/mike0) Date: Wed, 17 Jan 2007 07:18:11 -0800 (PST) Subject: [Chicago-talk] code from my talk Message-ID: <20070117151811.10189.qmail@web36212.mail.mud.yahoo.com> Thanks Johnathon, it was a good presentation, i learned a bunch. Mike http://www.mikeferrari.com http://www.chromeczars.com http://www.hunnertcarpileup.com ----- Original Message ---- From: Jonathan Rockway To: Chicago.pm chatter Sent: Tuesday, January 16, 2007 11:13:29 PM Subject: [Chicago-talk] code from my talk Hello everyone, I now have the code for the AddressBook application from my talk on my website. Sorry that there isn't much explanation (in the form of slides), but hopefully you'll be able to pick apart the code that we didn't have time to cover during the talk. I forgot just how much code there is in a basic app :) You can download the tarball from: http://www.jrock.us/AddressBook.tar.gz Anyway, my book will cover all the nitty-gritty details of this app, but while you're waiting for that, check out: http://search.cpan.org/~jrockway/Task-Catalyst-Tutorial-0.02/ http://search.cpan.org/~jrockway/Catalyst-Manual-5.700501/lib/Catalyst/Manual.pm Questions are welcome on the list (catalyst at lists.rawmode.org), e-mailed directly, or in #catalyst on irc.perl.org! Have fun! (Also, any feedback is welcome.) Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup; _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk ____________________________________________________________________________________ No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. http://mobile.yahoo.com/mail From andy at petdance.com Wed Jan 17 07:20:13 2007 From: andy at petdance.com (Andy Lester) Date: Wed, 17 Jan 2007 09:20:13 -0600 Subject: [Chicago-talk] code from my talk In-Reply-To: <200701162313.29751.jon@jrock.us> References: <200701162313.29751.jon@jrock.us> Message-ID: <52C056D1-BFE9-47F6-8AA0-7EEB1B32D642@petdance.com> On Jan 16, 2007, at 11:13 PM, Jonathan Rockway wrote: > Hello everyone, > > I now have the code for the AddressBook application from my talk on my > website. Sorry that there isn't much explanation (in the form of > slides), > but hopefully you'll be able to pick apart the code that we didn't > have time > to cover during the talk. I forgot just how much code there is in > a basic > app :) Can you please go update the wiki page at http://rakudo.org/chicago- pm/index.cgi?2007_01_16_catalyst You can make stuff available for download there, too. Thanks, xoxo, Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From jason at froebe.net Wed Jan 17 15:16:07 2007 From: jason at froebe.net (Jason L. Froebe) Date: Wed, 17 Jan 2007 15:16:07 -0800 (PST) Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <878132.82496.qm@web801.biz.mail.mud.yahoo.com> Message-ID: <20070117231607.83742.qmail@web814.biz.mail.mud.yahoo.com> How about Wednesday Jan 24 @ 7pm at Caribou Coffee 16205 Harlem Ave Tinley Park, IL 60477 (708) 444-0478 Would that work for an informal meetup? jason --- "Jason L. Froebe" wrote: > Hi, > > I was just wondering if there are other perlmongers in the south > suburbs (I'm in Tinley Park) that might be up for an informal meetup > sometime soon. Any takers? > > jason > > Jason L. Froebe > > Help find a cure for breast cancer! Net proceeds benefit the Susan > G. Komen Breast Cancer Foundation and the National Philanthropic > Trust. Help by donating at http://www.the3day.org/chicago07/jfroebe - > I'm walking 60 miles in 3 days in August 2007. (The day I return > from TechWave is the first day of the Walk) > > WebBlog http://jfroebe.livejournal.com > Tech log http://www.froebe.net/blog > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > Jason L. Froebe Help find a cure for breast cancer! Net proceeds benefit the Susan G. Komen Breast Cancer Foundation and the National Philanthropic Trust. Help by donating at http://www.the3day.org/chicago07/jfroebe - I'm walking 60 miles in 3 days in August 2007. (The day I return from TechWave is the first day of the Walk) WebBlog http://jfroebe.livejournal.com Tech log http://www.froebe.net/blog From shawn.c.carroll at gmail.com Wed Jan 17 17:11:28 2007 From: shawn.c.carroll at gmail.com (Shawn Carroll) Date: Wed, 17 Jan 2007 19:11:28 -0600 Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <20070117231607.83742.qmail@web814.biz.mail.mud.yahoo.com> References: <878132.82496.qm@web801.biz.mail.mud.yahoo.com> <20070117231607.83742.qmail@web814.biz.mail.mud.yahoo.com> Message-ID: Sounds good to m On 1/17/07, Jason L. Froebe wrote: > How about Wednesday Jan 24 @ 7pm at > > Caribou Coffee > 16205 Harlem Ave > Tinley Park, IL 60477 > (708) 444-0478 > > Would that work for an informal meetup? > > jason > > --- "Jason L. Froebe" wrote: > > > Hi, > > > > I was just wondering if there are other perlmongers in the south > > suburbs (I'm in Tinley Park) that might be up for an informal meetup > > sometime soon. Any takers? > > > > jason > > > > Jason L. Froebe > > > > Help find a cure for breast cancer! Net proceeds benefit the Susan > > G. Komen Breast Cancer Foundation and the National Philanthropic > > Trust. Help by donating at http://www.the3day.org/chicago07/jfroebe - > > I'm walking 60 miles in 3 days in August 2007. (The day I return > > from TechWave is the first day of the Walk) > > > > WebBlog http://jfroebe.livejournal.com > > Tech log http://www.froebe.net/blog > > _______________________________________________ > > Chicago-talk mailing list > > Chicago-talk at pm.org > > http://mail.pm.org/mailman/listinfo/chicago-talk > > > > > Jason L. Froebe > > Help find a cure for breast cancer! Net proceeds benefit the Susan G. Komen Breast Cancer Foundation and the National Philanthropic Trust. Help by donating at http://www.the3day.org/chicago07/jfroebe - I'm walking 60 miles in 3 days in August 2007. (The day I return from TechWave is the first day of the Walk) > > WebBlog http://jfroebe.livejournal.com > Tech log http://www.froebe.net/blog > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > -- shawn.c.carroll at gmail.com Perl Programmer Soccer Referee From andy at petdance.com Wed Jan 17 18:46:28 2007 From: andy at petdance.com (Andy Lester) Date: Wed, 17 Jan 2007 20:46:28 -0600 Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <20070117231607.83742.qmail@web814.biz.mail.mud.yahoo.com> References: <20070117231607.83742.qmail@web814.biz.mail.mud.yahoo.com> Message-ID: On Jan 17, 2007, at 5:16 PM, Jason L. Froebe wrote: > How about Wednesday Jan 24 @ 7pm at > > Caribou Coffee > 16205 Harlem Ave > Tinley Park, IL 60477 > (708) 444-0478 > > Would that work for an informal meetup? Whatever you figure out, please put it on http://rakudo.org/chicago- pm/index.cgi?upcoming_events so that it's there for all to see, and anyone who is following the RSS feed knows about it. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From jason at froebe.net Wed Jan 17 19:06:28 2007 From: jason at froebe.net (Jason L. Froebe) Date: Wed, 17 Jan 2007 19:06:28 -0800 (PST) Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: Message-ID: <810885.25027.qm@web807.biz.mail.mud.yahoo.com> Hi Andy, I would love to, but the wiki doesn't seem to be saving the changes. When I look at the revisions I made, they are the same as before I made any changes. This is what I'm doing: Click -> Edit Add my name to the right panel with the other names Click -> Save Refresh the wiki page (in another firefox tab) - no changes Click -> Edit Add my name again. Click -> Preview my name isn't added. Is there something else I'm just not seeing that I have to do? thanks jason --- Andy Lester wrote: > > On Jan 17, 2007, at 5:16 PM, Jason L. Froebe wrote: > > > How about Wednesday Jan 24 @ 7pm at > > > > Caribou Coffee > > 16205 Harlem Ave > > Tinley Park, IL 60477 > > (708) 444-0478 > > > > Would that work for an informal meetup? > > Whatever you figure out, please put it on http://rakudo.org/chicago- > pm/index.cgi?upcoming_events so that it's there for all to see, and > anyone who is following the RSS feed knows about it. > > -- > Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance > > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > Jason L. Froebe Help find a cure for breast cancer! Net proceeds benefit the Susan G. Komen Breast Cancer Foundation and the National Philanthropic Trust. Help by donating at http://www.the3day.org/chicago07/jfroebe - I'm walking 60 miles in 3 days in August 2007. (The day I return from TechWave is the first day of the Walk) WebBlog http://jfroebe.livejournal.com Tech log http://www.froebe.net/blog From andy at petdance.com Wed Jan 17 19:11:52 2007 From: andy at petdance.com (Andy Lester) Date: Wed, 17 Jan 2007 21:11:52 -0600 Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <810885.25027.qm@web807.biz.mail.mud.yahoo.com> References: <810885.25027.qm@web807.biz.mail.mud.yahoo.com> Message-ID: <400B6931-1F52-472E-9F6D-63C25D573389@petdance.com> On Jan 17, 2007, at 9:06 PM, Jason L. Froebe wrote: > Hi Andy, > > I would love to, but the wiki doesn't seem to be saving the changes. > When I look at the revisions I made, they are the same as before I > made > any changes. > > This is what I'm doing: > > Click -> Edit > > Add my name to the right panel with the other names Are you adding to the front page? Don't. Add to the sub-page. http://rakudo.org/chicago-pm/index.cgi?upcoming_events http://rakudo.org/chicago-pm/index.cgi?members Sorry, I know it's confusing, and I've let folks know about it. Andy -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From jason at froebe.net Wed Jan 17 19:16:43 2007 From: jason at froebe.net (Jason L. Froebe) Date: Wed, 17 Jan 2007 19:16:43 -0800 (PST) Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <400B6931-1F52-472E-9F6D-63C25D573389@petdance.com> Message-ID: <20070118031643.75131.qmail@web814.biz.mail.mud.yahoo.com> Woohoo! It works :) thanks Andy! jason --- Andy Lester wrote: > > On Jan 17, 2007, at 9:06 PM, Jason L. Froebe wrote: > > > Hi Andy, > > > > I would love to, but the wiki doesn't seem to be saving the > changes. > > When I look at the revisions I made, they are the same as before I > > > made > > any changes. > > > > This is what I'm doing: > > > > Click -> Edit > > > > Add my name to the right panel with the other names > > Are you adding to the front page? Don't. Add to the sub-page. > > http://rakudo.org/chicago-pm/index.cgi?upcoming_events > http://rakudo.org/chicago-pm/index.cgi?members > > Sorry, I know it's confusing, and I've let folks know about it. > > Andy > > -- > Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance > > > > > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > Jason L. Froebe Help find a cure for breast cancer! Net proceeds benefit the Susan G. Komen Breast Cancer Foundation and the National Philanthropic Trust. Help by donating at http://www.the3day.org/chicago07/jfroebe - I'm walking 60 miles in 3 days in August 2007. (The day I return from TechWave is the first day of the Walk) WebBlog http://jfroebe.livejournal.com Tech log http://www.froebe.net/blog From mgs at customvisuals.com Wed Jan 17 19:37:31 2007 From: mgs at customvisuals.com (Mike Schienle) Date: Wed, 17 Jan 2007 21:37:31 -0600 Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: References: <20070117231607.83742.qmail@web814.biz.mail.mud.yahoo.com> Message-ID: On Jan 17, 2007, at 8:46 PM, Andy Lester wrote: > > On Jan 17, 2007, at 5:16 PM, Jason L. Froebe wrote: > >> How about Wednesday Jan 24 @ 7pm at >> >> Caribou Coffee >> 16205 Harlem Ave >> Tinley Park, IL 60477 >> (708) 444-0478 >> >> Would that work for an informal meetup? > > Whatever you figure out, please put it on http://rakudo.org/chicago- > pm/index.cgi?upcoming_events so that it's there for all to see, and > anyone who is following the RSS feed knows about it. I added this season's TechCoffee dates, as well. Mike Schienle From jon at jrock.us Thu Jan 18 08:55:49 2007 From: jon at jrock.us (Jonathan Rockway) Date: Thu, 18 Jan 2007 10:55:49 -0600 Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <400B6931-1F52-472E-9F6D-63C25D573389@petdance.com> References: <810885.25027.qm@web807.biz.mail.mud.yahoo.com> <400B6931-1F52-472E-9F6D-63C25D573389@petdance.com> Message-ID: <45AFA695.4040801@jrock.us> Andy Lester wrote: > Sorry, I know it's confusing, and I've let folks know about it. Other confusion: visiting rakudo.org directly won't let you log in or see any pages. You have to remember the whole URL because there's no way to navigate to the chicago.pm page from the root. Slightly irritating. Also, one still can't edit pages with Konqueror. Can't you just make the buttons at the top link to a simple Web 1.0 CGI form where I can edit the text directly? AJAX is great, but not when it doesn't work at all. /me takes this opportunity to plug MojoMojo (mojomojo.org), a Catalyst based wiki! ;) -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup; From andy at petdance.com Thu Jan 18 09:43:33 2007 From: andy at petdance.com (Andy Lester) Date: Thu, 18 Jan 2007 11:43:33 -0600 Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <45AFA695.4040801@jrock.us> References: <810885.25027.qm@web807.biz.mail.mud.yahoo.com> <400B6931-1F52-472E-9F6D-63C25D573389@petdance.com> <45AFA695.4040801@jrock.us> Message-ID: <36F6EAC2-352E-4631-A80A-67FF4EF548B7@petdance.com> On Jan 18, 2007, at 10:55 AM, Jonathan Rockway wrote: > Other confusion: visiting rakudo.org directly won't let you log in or > see any pages. You have to remember the whole URL because there's no > way to navigate to the chicago.pm page from the root. Slightly > irritating. Yeah, I know. or you can go to chicago.pm.org. > Also, one still can't edit pages with Konqueror. Can't you just make > the buttons at the top link to a simple Web 1.0 CGI form where I can > edit the text directly? AJAX is great, but not when it doesn't > work at all. I'm not the one to discuss that with. Maybe we need to treat konq like we do Safari. xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From andy at petdance.com Thu Jan 18 12:15:24 2007 From: andy at petdance.com (Andy Lester) Date: Thu, 18 Jan 2007 14:15:24 -0600 Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <45AFA695.4040801@jrock.us> References: <810885.25027.qm@web807.biz.mail.mud.yahoo.com> <400B6931-1F52-472E-9F6D-63C25D573389@petdance.com> <45AFA695.4040801@jrock.us> Message-ID: <908E6C02-8A67-4FCF-BEEC-145E30078DDF@petdance.com> On Jan 18, 2007, at 10:55 AM, Jonathan Rockway wrote: > Also, one still can't edit pages with Konqueror. Can't you just make > the buttons at the top link to a simple Web 1.0 CGI form where I can > edit the text directly? AJAX is great, but not when it doesn't > work at all. The official line is that we don't support Konqueror. -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From me at heyjay.com Thu Jan 18 21:47:19 2007 From: me at heyjay.com (Jay Strauss) Date: Thu, 18 Jan 2007 23:47:19 -0600 Subject: [Chicago-talk] Parsing a Hex file Message-ID: Hi, I have these datafiles from my loan origination software. I want to monkey with them. The vendor lays the file out like: byte1, byte2 = field number byte3 = field length bytes 4 - 256+4 = data value repeat Additionally byte1 and byte2 are not read together, instead to get the proper value you must read them like: byte2byte1 Can anyone suggest a easy way to parse this file. Do I really need to walk the entire byte stream, manipulating and evaluating, and plucking off values? thanks Jay From arodland at comcast.net Fri Jan 19 05:13:21 2007 From: arodland at comcast.net (Andrew Rodland) Date: Fri, 19 Jan 2007 07:13:21 -0600 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: References: Message-ID: <200701190713.22150.arodland@comcast.net> On Thursday 18 January 2007 11:47 pm, Jay Strauss wrote: > Hi, > > I have these datafiles from my loan origination software. I want to > monkey with them. > > The vendor lays the file out like: > > byte1, byte2 = field number > byte3 = field length > bytes 4 - 256+4 = data value > repeat > > Additionally byte1 and byte2 are not read together, instead to get the > proper value you must read them like: byte2byte1 > > Can anyone suggest a easy way to parse this file. Do I really need to > walk the entire byte stream, manipulating and evaluating, and plucking > off values? Perl has a tool just for handling this sort of thing, in the "pack" function. See perldoc -f pack, perldoc -f unpack, and perldoc perlpacktut, specifically the bits about the "/" character in pack templates, which allows for length-prefixed fields. Andrew From me at heyjay.com Fri Jan 19 09:40:51 2007 From: me at heyjay.com (Jay Strauss) Date: Fri, 19 Jan 2007 11:40:51 -0600 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: <200701190713.22150.arodland@comcast.net> References: <200701190713.22150.arodland@comcast.net> Message-ID: > Perl has a tool just for handling this sort of thing, in the "pack" function. > See perldoc -f pack, perldoc -f unpack, and perldoc perlpacktut, specifically > the bits about the "/" character in pack templates, which allows for > length-prefixed fields. > > Andrew Thanks Andrew, I read the perldoc perlpacktut, and followed it for a while, but got sort of lost at the end (not having ever worked with this type of data). In my case I don't know (ahead of time) how many fields there are. I need to read until the end of the file. Do I need to loop, keeping track of where I am in the file, or is there some way in unpack and "/" it will spit it out to an array without predefining the number of fields? Thanks Jay From lembark at wrkhors.com Fri Jan 19 10:26:48 2007 From: lembark at wrkhors.com (Steven Lembark) Date: Fri, 19 Jan 2007 13:26:48 -0500 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: References: Message-ID: <45B10D68.3060406@wrkhors.com> > I have these datafiles from my loan origination software. I want to > monkey with them. > > The vendor lays the file out like: > > byte1, byte2 = field number > byte3 = field length > bytes 4 - 256+4 = data value > repeat perldoc -f unpack; -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com +1 888 359 3508 From lembark at wrkhors.com Fri Jan 19 10:40:33 2007 From: lembark at wrkhors.com (Steven Lembark) Date: Fri, 19 Jan 2007 13:40:33 -0500 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: References: <200701190713.22150.arodland@comcast.net> Message-ID: <45B110A1.3020805@wrkhors.com> > Thanks Andrew, I read the perldoc perlpacktut, and followed it for a > while, but got sort of lost at the end (not having ever worked with > this type of data). > > In my case I don't know (ahead of time) how many fields there are. I > need to read until the end of the file. Do I need to loop, keeping > track of where I am in the file, or is there some way in unpack and > "/" it will spit it out to an array without predefining the number of > fields? Ah, ya gotta love self-defining records :-) The trick below can be extenced to deal with smaller chunks by having mutliple sets of formats for the various sizes. Easiest way is to snag the data in chunks (say a page), then use unpack to fondle the first few bytes and decide what to do with the packet. You can figure out how much data to read, process it, then stubstr $buffer, 0, $bytes = ''; when the buffer falls below, say, 4K you read one more page until there is no buffer to slurp. Obviosuly, if the whole file fits into core slurp it and use the same process to walk down the thing. The point is to keep the current packet at offset zero so that you can deal with it as a single piece. If there are a reasonable number of fixed formats you can use something like: my $headerformat = '....'; my %packformtz = ( $byte1 => [ $size1, $format1 ], ... ); # if the determining byte is in a different header # value then change $header[0] to match it. my $buffer = ''; for(;;) { # kwikhak for appending another chunk of data # to the buffer. this'll append nada to the # buffer when you reach EOF. read $fh, $buffer, 4096 of length $buffer < 4096; last unless $buffer; my @header = unpack $headerformat, $buffer; my( $size, $format ) = $packformatz{ $header[0] } or die "Ack: formatless header value!", @header; my @rest = unpack $format, $buffer; substr $buffer, 0, $size, ''; } enjoi -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com +1 888 359 3508 From me at heyjay.com Fri Jan 19 12:24:49 2007 From: me at heyjay.com (Jay Strauss) Date: Fri, 19 Jan 2007 14:24:49 -0600 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: <45B110A1.3020805@wrkhors.com> References: <200701190713.22150.arodland@comcast.net> <45B110A1.3020805@wrkhors.com> Message-ID: Ok I'm feeling slow, I have: (Hex): 01 00 08 30 37 30 31 31 32 30 30 so its field 1 (first 2 bytes) length 8, (3rd field) value: 07011200 (i.e hex 30 37 30 31 31 32 30 30) But I can't get the unpack correct (with the proper data types): my ($field_num, $value) = unpack("S2, S/A*", $file_contents); my $value is never correct. Could someone point out my error? Thanks Jay From mongers at bsod.net Fri Jan 19 13:41:30 2007 From: mongers at bsod.net (Pete Krawczyk) Date: Fri, 19 Jan 2007 15:41:30 -0600 (CST) Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: References: <200701190713.22150.arodland@comcast.net> <45B110A1.3020805@wrkhors.com> Message-ID: Subject: Re: [Chicago-talk] Parsing a Hex file From: Jay Strauss Date: Fri, 19 Jan 2007 14:24:49 -0600 }But I can't get the unpack correct (with the proper data types): } }my ($field_num, $value) = unpack("S2, S/A*", $file_contents); S is a 16-bit integer, according to "perldoc -f pack". So what you're asking for is two shorts, followed by an ASCII string of length determined by a third short. The whitespace is fine, but the comma is ignored - if you were using warnings, you'd be told "Invalid type ',' in unpack". unpack doesn't do the looping you want, as far as I'm aware. However, I'm pretty sure the following loop will do what you're looking for: while (length($file_contents)) { my ($field_num, $value) = unpack("SC/A", $file_contents); # something with $field_num and $value my $len = length($value); $file_contents = substr($file_contents,$len+3); } Of course, I'm using "C" to mean "8-bit integer", but I don't know any more elegant way to do that. -Pete K -- Pete Krawczyk mongers at bsod dot net From me at heyjay.com Fri Jan 19 14:21:15 2007 From: me at heyjay.com (Jay Strauss) Date: Fri, 19 Jan 2007 16:21:15 -0600 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: References: <200701190713.22150.arodland@comcast.net> <45B110A1.3020805@wrkhors.com> Message-ID: > However, I'm pretty sure the following loop will do what you're looking for: > > while (length($file_contents)) { > my ($field_num, $value) = unpack("SC/A", $file_contents); > # something with $field_num and $value > my $len = length($value); > $file_contents = substr($file_contents,$len+3); > } > > Of course, I'm using "C" to mean "8-bit integer", but I don't know any > more elegant way to do that. > > -Pete K Thanks Pete, that's almost working. It parses the correct number of bytes but the values for the field_num are wrong. I can't tell if its a signed/unsigned issue, or a big/little endian thing. For example its taking (hex): 94 00 0B 4A 41 59 27 53 20 46 4F 4F 44 53 which should convert into 148 11 JAY'S FOODS But instead I'm getting: 131 11 JAY'S FOODS It seems like it should be a un/signed thing but I've tried SC/A and sC/A, and there's no difference. Thanks Jay From brian.d.foy at gmail.com Fri Jan 19 14:36:11 2007 From: brian.d.foy at gmail.com (brian d foy) Date: Fri, 19 Jan 2007 16:36:11 -0600 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: References: Message-ID: <2715accf0701191436y519a73a5gd9d0f6189e4f44da@mail.gmail.com> On 1/18/07, Jay Strauss wrote: > Hi, > > I have these datafiles from my loan origination software. I want to > monkey with them. > > The vendor lays the file out like: > > byte1, byte2 = field number You might take a look at the Parse modules in my Mac::iTunes distro. They are out of date for the latest file formats, but they do the same thing: read a couple bytes, figure out what sort of block it has, read a length, then read the block. -- brian d foy http://www.pair.com/~comdog/ From lembark at wrkhors.com Fri Jan 19 15:09:44 2007 From: lembark at wrkhors.com (Steven Lembark) Date: Fri, 19 Jan 2007 18:09:44 -0500 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: References: <200701190713.22150.arodland@comcast.net> <45B110A1.3020805@wrkhors.com> Message-ID: <45B14FB8.2090206@wrkhors.com> Jay Strauss wrote: > Ok I'm feeling slow, > > I have: > > (Hex): 01 00 08 30 37 30 31 31 32 30 30 > > so its field 1 (first 2 bytes) > length 8, (3rd field) > value: 07011200 (i.e hex 30 37 30 31 31 32 30 30) > > But I can't get the unpack correct (with the proper data types): > > my ($field_num, $value) = unpack("S2, S/A*", $file_contents); > > my $value is never correct. Could someone point out my error? If you know that the value following is 8 bytes long then specify it as 8 bytes in the format and validate that you have what you wanted (e.g., there should be some sort of an end-of-record mark in the data). At that point you can read it via You can read 8 byts into a char via: "A8" though you may get bit by UTF8 or ASCII values in the string depending on how the IO is set up. read or sysread would help in that case since they don't put any extra layers between you and the data (I think?). You might do better with: my( $field, $size ) = unpack 'S2 S', $buffer; # some sort of sanity checks... die "Bogus field: out of sequence" unless $field == ++$last_field; die "Offball size: '$size'" unless 0 < $size && $size < 100; my ( undef, $value ) = unpack "x3 A$size", $buffer; substr $buffer, 0, $size + 3, ''; i.e., read and validate the size first three bytes and then use the size to slurp some more from the buffer. Double-check me on the best way to ignore a set of bytes. -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com +1 888 359 3508 From me at heyjay.com Fri Jan 19 15:36:16 2007 From: me at heyjay.com (Jay Strauss) Date: Fri, 19 Jan 2007 17:36:16 -0600 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: <45B14FB8.2090206@wrkhors.com> References: <200701190713.22150.arodland@comcast.net> <45B110A1.3020805@wrkhors.com> <45B14FB8.2090206@wrkhors.com> Message-ID: Its not a question of reading the correct number of bytes. Its that I'm not getting the correct value when I unpack. i.e. hex 94 00 should equal 148 but instead I'm getting 131 (which is 17 less, so I think when I unpack it's lossing a bit) Jay From me at heyjay.com Fri Jan 19 15:56:47 2007 From: me at heyjay.com (Jay Strauss) Date: Fri, 19 Jan 2007 17:56:47 -0600 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: References: <200701190713.22150.arodland@comcast.net> <45B110A1.3020805@wrkhors.com> <45B14FB8.2090206@wrkhors.com> Message-ID: Opps, it is working. I was looking at the wrong field in the application Sorry and thanks Jay On 1/19/07, Jay Strauss wrote: > Its not a question of reading the correct number of bytes. Its that > I'm not getting the correct value when I unpack. i.e. > > hex 94 00 should equal 148 > > but instead I'm getting 131 > > (which is 17 less, so I think when I unpack it's lossing a bit) > > Jay > From arodland at comcast.net Sat Jan 20 03:40:26 2007 From: arodland at comcast.net (Andrew Rodland) Date: Sat, 20 Jan 2007 05:40:26 -0600 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: References: Message-ID: <200701200540.27347.arodland@comcast.net> On Friday 19 January 2007 3:41 pm, Pete Krawczyk wrote: > unpack doesn't do the looping you want, as far as I'm aware. However, I'm > pretty sure the following loop will do what you're looking for: > > while (length($file_contents)) { > my ($field_num, $value) = unpack("SC/A", $file_contents); > # something with $field_num and $value > my $len = length($value); > $file_contents = substr($file_contents,$len+3); > } > > Of course, I'm using "C" to mean "8-bit integer", but I don't know any > more elegant way to do that. Unpack does do the looping, although you still have to do a little processing on it afterwards until Perl6 shows up # Jay's example input field, repeated 3x my $input = "\x94\x00\x0b\x4a\x41\x59\x27\x53\x20\x46\x4f\x4f\x44\x53" x 3; my @data = unpack("(SC/A)*", $input); # produce a key/value list for (my $i = 0 ; $i < $#data ; $i += 2) { # and print out by pairs print "$data[$i]:\t$data[$i+1]\n"; } print ".\n"; === will output === 148: JAY'S FOODS 148: JAY'S FOODS 148: JAY'S FOODS . though if you weren't concerned of the order that the fields came in, there _is_ one place where perl expects a list of alternating keys and values, and that's in the assignment of a hash from a list. %hash = unpack("SC/A", $etc); will work if you don't care about order and can't have any dupes. You could also use a for loop or a thoroughly evil map to turn (148, "JAY'S FOODS", 148, "JAY'S FOODS", 148, "JAY'S FOODS") into ([148, "JAY'S FOODS"], [148, "JAY'S FOODS"], [148, "JAY'S FOODS]) which is slightly more convenient. Hope I've put some good ideas into your head :) Andrew From me at heyjay.com Sat Jan 20 09:34:53 2007 From: me at heyjay.com (Jay Strauss) Date: Sat, 20 Jan 2007 11:34:53 -0600 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: <200701200540.27347.arodland@comcast.net> References: <200701200540.27347.arodland@comcast.net> Message-ID: Thanks Andrew, that worked perfect No loop or offset tracking necessary Jay From d_tassone at yahoo.com Sat Jan 20 12:34:34 2007 From: d_tassone at yahoo.com (Domenico Tassone) Date: Sat, 20 Jan 2007 14:34:34 -0600 Subject: [Chicago-talk] O'Reilly's Perl Graphics In-Reply-To: References: Message-ID: <00a801c73cd2$65b44460$6901a8c0@Sabina> Hi all, Anyone care to share their opinion as to which if any of the O'Reilly books on graphics are worthwhile for someone with basic-to-intermediate skill? Thx, Dom ------------------------------------ Domenico Tassone d_tassone at yahoo.com Chicago, IL 60614 mobile: 773-426-4662 AIM: domtassone ------------------------------------ From andy at petdance.com Sat Jan 20 13:02:37 2007 From: andy at petdance.com (Andy Lester) Date: Sat, 20 Jan 2007 15:02:37 -0600 Subject: [Chicago-talk] O'Reilly's Perl Graphics In-Reply-To: <00a801c73cd2$65b44460$6901a8c0@Sabina> References: <00a801c73cd2$65b44460$6901a8c0@Sabina> Message-ID: <85B973B1-9F67-4AD5-91E8-A62F521B310B@petdance.com> On Jan 20, 2007, at 2:34 PM, Domenico Tassone wrote: > Hi all, > > Anyone care to share their opinion as to which if any of the > O'Reilly books > on graphics are worthwhile for someone with basic-to-intermediate > skill? From what I remember, it's basically "Here's how to use various graphics packages", with nothing real insightful. That's not to say not to buy it, but it's not like you're going to learn about computer graphics much. xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From lembark at wrkhors.com Sun Jan 21 14:31:58 2007 From: lembark at wrkhors.com (Steven Lembark) Date: Sun, 21 Jan 2007 17:31:58 -0500 Subject: [Chicago-talk] Parsing a Hex file In-Reply-To: <200701200540.27347.arodland@comcast.net> References: <200701200540.27347.arodland@comcast.net> Message-ID: <45B3E9DE.3090606@wrkhors.com> Andrew Rodland wrote: > On Friday 19 January 2007 3:41 pm, Pete Krawczyk wrote: >> unpack doesn't do the looping you want, as far as I'm aware. However, I'm >> pretty sure the following loop will do what you're looking for: >> >> while (length($file_contents)) { >> my ($field_num, $value) = unpack("SC/A", $file_contents); >> # something with $field_num and $value >> my $len = length($value); >> $file_contents = substr($file_contents,$len+3); >> } >> >> Of course, I'm using "C" to mean "8-bit integer", but I don't know any >> more elegant way to do that. > > Unpack does do the looping, although you still have to do a little processing > on it afterwards until Perl6 shows up > > # Jay's example input field, repeated 3x > my $input = "\x94\x00\x0b\x4a\x41\x59\x27\x53\x20\x46\x4f\x4f\x44\x53" x 3; > my @data = unpack("(SC/A)*", $input); # produce a key/value list > for (my $i = 0 ; $i < $#data ; $i += 2) { # and print out by pairs > print "$data[$i]:\t$data[$i+1]\n"; > } Another approach for fairly small files is to break the whole thing up into bytes and re-combine them as needed into ingeters: my $row = 0; my @bytz = do { local $/; unpack 'A*', }; while( @bytz ) { # discard the two-bytes of rowid in favor of a # counter, read the size to decide how much more # data to read. my( undef, undef, $size ) = splice @bytz, 0, 3; die "bad value: too large" unless @bytz >= $size; my @valz = splice $bytz, 0, $size; # combine the values into some output ... print ++$row, , "\t", $output, "\n"; } -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com +1 888 359 3508 From d_tassone at yahoo.com Mon Jan 22 11:10:08 2007 From: d_tassone at yahoo.com (Domenico Tassone) Date: Mon, 22 Jan 2007 13:10:08 -0600 Subject: [Chicago-talk] O'Reilly's Perl Graphics In-Reply-To: References: Message-ID: <004e01c73e58$fa67cfa0$2d141f44@Sabina> Thanks, As a follow-on, anybody recommend as LAMP(erl) friendly ISP. I think I've hit the ceiling of what's possible on SBC already. Doesn't have to be based in Chicago but will allow command-line access on a shared server for different Perl modules; preferably an established but developer-friendly concern. Thx, Dom ------------------------------ Message: 2 Date: Sat, 20 Jan 2007 15:02:37 -0600 From: Andy Lester Subject: Re: [Chicago-talk] O'Reilly's Perl Graphics To: "Chicago.pm chatter" Message-ID: <85B973B1-9F67-4AD5-91E8-A62F521B310B at petdance.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed On Jan 20, 2007, at 2:34 PM, Domenico Tassone wrote: > Hi all, > > Anyone care to share their opinion as to which if any of the O'Reilly > books on graphics are worthwhile for someone with > basic-to-intermediate skill? From what I remember, it's basically "Here's how to use various graphics packages", with nothing real insightful. That's not to say not to buy it, but it's not like you're going to learn about computer graphics much. xoa -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance ------------------------------ _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk End of Chicago-talk Digest, Vol 42, Issue 10 ******************************************** From joshua.mcadams at gmail.com Mon Jan 22 19:15:26 2007 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Mon, 22 Jan 2007 21:15:26 -0600 Subject: [Chicago-talk] O'Reilly's Perl Graphics In-Reply-To: <004e01c73e58$fa67cfa0$2d141f44@Sabina> References: <004e01c73e58$fa67cfa0$2d141f44@Sabina> Message-ID: <49d805d70701221915h34e5b7cbva54b411448926dbe@mail.gmail.com> > As a follow-on, anybody recommend as LAMP(erl) friendly ISP. I think I've > hit the ceiling of what's possible on SBC already. I have never used them, but I've met the guys from midphase at numerous events around Chicago. You might give them a look: http://midphase.com/ From jason at froebe.net Wed Jan 24 07:11:47 2007 From: jason at froebe.net (Jason L. Froebe) Date: Wed, 24 Jan 2007 07:11:47 -0800 (PST) Subject: [Chicago-talk] meetup in the south suburbs? In-Reply-To: <20070117231607.83742.qmail@web814.biz.mail.mud.yahoo.com> Message-ID: <771648.33741.qm@web815.biz.mail.mud.yahoo.com> Just a reminder for tonight :) --- "Jason L. Froebe" wrote: > How about Wednesday Jan 24 @ 7pm at > > Caribou Coffee > 16205 Harlem Ave > Tinley Park, IL 60477 > (708) 444-0478 > > Would that work for an informal meetup? > > jason > > --- "Jason L. Froebe" wrote: > > > Hi, > > > > I was just wondering if there are other perlmongers in the south > > suburbs (I'm in Tinley Park) that might be up for an informal > meetup > > sometime soon. Any takers? > > > > jason > > > > Jason L. Froebe > > > > Help find a cure for breast cancer! Net proceeds benefit the Susan > > G. Komen Breast Cancer Foundation and the National Philanthropic > > Trust. Help by donating at http://www.the3day.org/chicago07/jfroebe > - > > I'm walking 60 miles in 3 days in August 2007. (The day I return > > from TechWave is the first day of the Walk) > > > > WebBlog http://jfroebe.livejournal.com > > Tech log http://www.froebe.net/blog > > _______________________________________________ > > Chicago-talk mailing list > > Chicago-talk at pm.org > > http://mail.pm.org/mailman/listinfo/chicago-talk > > > > > Jason L. Froebe > > Help find a cure for breast cancer! Net proceeds benefit the Susan > G. Komen Breast Cancer Foundation and the National Philanthropic > Trust. Help by donating at http://www.the3day.org/chicago07/jfroebe - > I'm walking 60 miles in 3 days in August 2007. (The day I return > from TechWave is the first day of the Walk) > > WebBlog http://jfroebe.livejournal.com > Tech log http://www.froebe.net/blog > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > Jason L. Froebe Help find a cure for breast cancer! Net proceeds benefit the Susan G. Komen Breast Cancer Foundation and the National Philanthropic Trust. Help by donating at http://www.the3day.org/chicago07/jfroebe - I'm walking 60 miles in 3 days in August 2007. (The day I return from TechWave is the first day of the Walk) WebBlog http://jfroebe.livejournal.com Tech log http://www.froebe.net/blog From joshua.mcadams at gmail.com Wed Jan 24 11:15:21 2007 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Wed, 24 Jan 2007 13:15:21 -0600 Subject: [Chicago-talk] TechCocktail 3 Message-ID: <49d805d70701241115n7c5c7a11oc6b1f7272a9ef61b@mail.gmail.com> Not sure if this has been mentioned on the list yet, but Tech Cocktail 3 is tomorrow (Thursday) night. They are still taking registrations (free) at http://www.techcocktail.com. From hwigoda at mindspring.com Wed Jan 24 11:18:48 2007 From: hwigoda at mindspring.com (hwigoda at mindspring.com) Date: Wed, 24 Jan 2007 13:18:48 -0600 (GMT-06:00) Subject: [Chicago-talk] TechCocktail 3 Message-ID: <3348987.1169666328742.JavaMail.root@mswamui-bichon.atl.sa.earthlink.net> sorry i missed the mtgs this week, but i have been buzy. so what is tch cocktail ? networking? hal -----Original Message----- >From: Joshua McAdams >Sent: Jan 24, 2007 1:15 PM >To: "Chicago.pm chatter" >Subject: [Chicago-talk] TechCocktail 3 > >Not sure if this has been mentioned on the list yet, but Tech Cocktail >3 is tomorrow (Thursday) night. They are still taking registrations >(free) at http://www.techcocktail.com From joshua.mcadams at gmail.com Wed Jan 24 11:26:19 2007 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Wed, 24 Jan 2007 13:26:19 -0600 Subject: [Chicago-talk] TechCocktail 3 In-Reply-To: <3348987.1169666328742.JavaMail.root@mswamui-bichon.atl.sa.earthlink.net> References: <3348987.1169666328742.JavaMail.root@mswamui-bichon.atl.sa.earthlink.net> Message-ID: <49d805d70701241126n77dbac96j9b132ee4d3ac6b38@mail.gmail.com> > so what is tch cocktail ? > > networking? Networking mostly. It's a mix of techies, business people, and marketing people, so it isn't deep tech. Basically networking opportunities and free drinks :) From hwigoda at mindspring.com Wed Jan 24 11:44:01 2007 From: hwigoda at mindspring.com (hwigoda at mindspring.com) Date: Wed, 24 Jan 2007 13:44:01 -0600 (GMT-06:00) Subject: [Chicago-talk] TechCocktail 3 Message-ID: <20732041.1169667842116.JavaMail.root@mswamui-bichon.atl.sa.earthlink.net> i just remembered that i have a guitar class thursday night.... -----Original Message----- >From: Joshua McAdams >Sent: Jan 24, 2007 1:26 PM >To: "Chicago.pm chatter" >Subject: Re: [Chicago-talk] TechCocktail 3 > >> so what is tch cocktail ? >> >> networking? > >Networking mostly. It's a mix of techies, business people, and >marketing people, so it isn't deep tech. Basically networking >opportunities and free drinks :) >_______________________________________________ >Chicago-talk mailing list >Chicago-talk at pm.org >http://mail.pm.org/mailman/listinfo/chicago-talk From joshua.mcadams at gmail.com Thu Jan 25 12:42:50 2007 From: joshua.mcadams at gmail.com (Joshua McAdams) Date: Thu, 25 Jan 2007 14:42:50 -0600 Subject: [Chicago-talk] Fwd: [yapc] YAPC::NA 2007 Call For Participation In-Reply-To: <7f7c2d5e0701250645s4cec7153qab83c252016beb5@mail.gmail.com> References: <7f7c2d5e0701250645s4cec7153qab83c252016beb5@mail.gmail.com> Message-ID: <49d805d70701251242i2ef33f6fk82808371698cf77f@mail.gmail.com> On behalf of The Perl Foundation, Houston.pm is officially announcing the call for participation for Yet Another Perl Conference North America 2007. The conference will be held in Houston, Texas, June 25 - 27 at the University of Houston. Key Dates: Abstract Submission Deadline - April 9th Schedule Announcement - April 30th We are looking for presentations that current (or future) Perl programmers would enjoy. Talks aimed at veteran Perl programmers, beginners, or anyone in between are all welcome. Presentation slots will be 20 (standard), 50, and 80 minutes. As always, Lightning Talks will be presented on the last day of the conference, but the call for these will be announced as we get closer to the conference date. At this time, we are accepting presentation abstracts via e-mail (abstracts-na at yapc.org). Once the ACT-hosted site goes live, you will be able to submit via the website (or e-mail if you'd like). Please include a title, expected talk time, and any special presentation requirements with your abstract. All rooms will have a projector and a microphone. Upon submission, you should receive a confirmation within a week. If not, please resubmit. If you encounter any problems or have any questions, please feel free to contact us at help-na at yapc.org. Authors of accepted presentations will be contacted via email by April 25th. See official posting at the YAPC::NA site. From ccf3 at mindspring.com Thu Jan 25 17:49:09 2007 From: ccf3 at mindspring.com (Clyde Forrester) Date: Thu, 25 Jan 2007 19:49:09 -0600 Subject: [Chicago-talk] File reads and micromanagement Message-ID: <45B95E15.1080903@mindspring.com> I have a program which does massive amounts of file comparisons. Until recently its comparison section looked something like this: (initialize flags and accumulators) (open files 3 and 4 for comparison) while (not end of file && not unequal) { $length3=read(MY3,$b3,512,$accum3); $accum3+=$length3; $length4=read(MY4,$b4,512,$accum4); $accum4+=$lenth4; if (either buffer length was <512) {flag an end of file} if (the buffers don't match) {flag an unequal condition so I can bail out of the while before the end of file} } (close the files) (notice whether the files matched and act accordingly) What I was noticing was that as the file size increased, the processing time increased as something like the square of the file size. So, on a hunch, I ripped out the $accum parts. This hunch was partly based on looking at lots of examples of file reading code in various books. $length3 = read(MY3, $b3, 512); $length4 = read(MY4, $b4, 512); Then it went a bit faster for small files, and much much faster for large files. The execution time was now linearly proportional to the file size. It seems like instead of just noticing that I'm pointing to where it left off, it had been wallowing through the entire file on each read to re-establish the pointer. So there must be a lesson here. I figure that it must be "Don't micro manage a high level language." It could also be "There's more than one way to do it, but some ways are really wretched." or "That method that really bogs the system down? Yeah, well, don't do that." So, have I recreated any well known rules here (of which I've been amazingly oblivious)? Have I exposed a bug, or a best practice, or nothing much really? Where should I have already read about this? Clyde From Andy_Bach at wiwb.uscourts.gov Fri Jan 26 09:09:58 2007 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach at wiwb.uscourts.gov) Date: Fri, 26 Jan 2007 11:09:58 -0600 Subject: [Chicago-talk] Where'd I come from? Message-ID: Hey, Somebody was asking me about code like: eval("require '../support/this.pl' "); # has sub foo ... eval("foo()"); and how to find, in foo() that it came from this.pl. Using caller I can get: package: filename: (eval 2) line: 1 subroutine: main::LogIt hasargs: 1 wantarray: evaltext: is_require: hints: 0 bitmask: package: filename: /tmp/call2.pl line: 2 subroutine: (eval) hasargs: 0 wantarray: evaltext: LogIt() ; is_require: hints: 0 bitmask: called from (eval 2)(line: 1) called from /tmp/call2.pl(line: 2) That is, sub name and main script, but not the 'require'-ed script name. Is there a way to get that? a Andy Bach Systems Mangler Internet: andy_bach at wiwb.uscourts.gov VOICE: (608) 261-5738 FAX 264-5932 Although few may originate a policy, we are all able to judge it. Pericles of Athens, c.430 B.C. From jon at jrock.us Fri Jan 26 09:36:35 2007 From: jon at jrock.us (Jonathan Rockway) Date: Fri, 26 Jan 2007 11:36:35 -0600 Subject: [Chicago-talk] Where'd I come from? In-Reply-To: References: Message-ID: <45BA3C23.8010205@jrock.us> Andy_Bach at wiwb.uscourts.gov wrote: > Hey, > > Somebody was asking me about code like: > eval("require '../support/this.pl' "); # has sub foo > ... > eval("foo()"); Why are you using string evals? What's wrong with: eval { require 'whatever'; foo(); } > That is, sub name and main script, but not the 'require'-ed script name. > Is there a way to get that? However, I'm pretty sure requiring a .pl file dumps everything into main, which is why you don't get the script name that foo() is from (perl can't tell you because it doesn't know anymore). How about: package ThatOtherScript; do 'whatever.pl'; package main; ThatOtherScript::foo(); Untested, but might work. The way to get this working reliably is to just make a module and use it: in ThatScript.pm: package ThatScript; use base 'Exporter'; our @EXPORT_OK = qw(foo); out @EXPORT = qw(foo); sub foo { print 'foo was called' } 1; in main.pl: use FindBin ($Bin); use lib "$Bin/.."; # or wherever use ThatScript; foo(); # prints 'foo was called'; Much easier than trying to hack together your own code loading system :) -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup; From Andy_Bach at wiwb.uscourts.gov Fri Jan 26 09:56:17 2007 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach at wiwb.uscourts.gov) Date: Fri, 26 Jan 2007 11:56:17 -0600 Subject: [Chicago-talk] Where'd I come from? In-Reply-To: <45BA3C23.8010205@jrock.us> Message-ID: > Why are you using string evals? What's wrong with: eval { require 'whatever'; foo(); } Er, I'm not. Its 'legacy' production code which we can't really change (and this'd be way down on the list of changes we'd like to make - its a bit of a mess ;-). The string evals are just something we shake our heads at and live w/ ... and don't get me started on the 'package'-ing. Worse than not using it is a hit or miss mix of using it. We see them ending up prepending main:: quite a lot (lots of globals here) 'just in case' .... Thanks. a Andy Bach Systems Mangler Internet: andy_bach at wiwb.uscourts.gov VOICE: (608) 261-5738 FAX 264-5932 Although few may originate a policy, we are all able to judge it. Pericles of Athens, c.430 B.C. From jon at jrock.us Fri Jan 26 10:21:31 2007 From: jon at jrock.us (Jonathan Rockway) Date: Fri, 26 Jan 2007 12:21:31 -0600 Subject: [Chicago-talk] Where'd I come from? In-Reply-To: References: Message-ID: <45BA46AB.7000107@jrock.us> Andy_Bach at wiwb.uscourts.gov wrote: > Er, I'm not. Its 'legacy' production code which we can't really change > (and this'd be way down on the list of changes we'd like to make - its a > bit of a mess ;-). The string evals are just something we shake our heads > at and live w/ ... and don't get me started on the 'package'-ing. Worse > than not using it is a hit or miss mix of using it. This isn't directed at you personally, of course... but something to keep in mind is that things don't get better until you fix them. Maybe I'm imagining the worst... but it sounds like you are including so many files via 'require foo.pl' that you've lost track of where things are coming from. If that's the case, I think you should step back and start thinking about how to improve your codebase. Write some tests, then convert one file to a module. See if the tests still pass. Repeat. Every individual iteration is small and manageable -- it won't take long, and it will gradually improve the maintainability of your code. If you do this once a day (maybe spending 15 minutes on it), before you know it you'll have a test suite and modular, loosely-coupled, maintainable code. Then you won't have to lose sleep worrying about whether that code you pushed to production before you left is going to set off the pager at 1am. ;) It isn't going to happen overnight, but it also isn't going to happen if you don't do anything. (Incidentally I've been doing this with one of our main applications. What used to be 7000 lines of spaghetti is now *650* lines of documented, tested code. It's a really good feeling when you make that much progress, and well worth the week or so it took.) Regards, Jonathan Rockway -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup; From frag at ripco.com Fri Jan 26 12:15:40 2007 From: frag at ripco.com (Mike Fragassi) Date: Fri, 26 Jan 2007 14:15:40 -0600 (CST) Subject: [Chicago-talk] Where'd I come from? In-Reply-To: References: Message-ID: > That is, sub name and main script, but not the 'require'-ed script name. > Is there a way to get that? You can use the tokens __FILE__ and __LINE__: sub foo { print "In file " . __FILE__ . ", at line #" . __LINE__ . ".\n"; -- Mike F. From Andy_Bach at wiwb.uscourts.gov Fri Jan 26 13:08:56 2007 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach at wiwb.uscourts.gov) Date: Fri, 26 Jan 2007 15:08:56 -0600 Subject: [Chicago-talk] Where'd I come from? In-Reply-To: Message-ID: > You can use the tokens __FILE__ and __LINE__: ... called from (eval 2)(line: 1) called from /tmp/perl/call2.pl(line: 2) In file /tmp/perl/call.pl, at line #51. Yahoo!!! That's it! Thanks Mike! a Andy Bach Systems Mangler Internet: andy_bach at wiwb.uscourts.gov VOICE: (608) 261-5738 FAX 264-5932 Although few may originate a policy, we are all able to judge it. Pericles of Athens, c.430 B.C. From amead2 at alanmead.org Sat Jan 27 07:17:25 2007 From: amead2 at alanmead.org (Alan Mead) Date: Sat, 27 Jan 2007 09:17:25 -0600 Subject: [Chicago-talk] Anyone using Geo::Coding::US ? Message-ID: <45BB6D05.8010706@alanmead.org> I put a geocoding feature in place at my last employer using this module. I was really impressed by how well it just worked. But I notice that the package hasn't been updated on CPAN and the new coder is asking about using the latest TIGER data (2006 Second Edition TIGER/Line files). Has anyone had any experience using these data files? -Alan -- Alan D. Mead, Ph.D. : Skype ID alandmead amead at alanmead.org : +815-588-3846 Facts are stubborn, but statistics are more pliable. From warren at warrenandrachel.com Sat Jan 27 14:38:59 2007 From: warren at warrenandrachel.com (warren at warrenandrachel.com) Date: Sat, 27 Jan 2007 22:38:59 +0000 (UTC) Subject: [Chicago-talk] Anyone using Geo::Coding::US ? In-Reply-To: <45BB6D05.8010706@alanmead.org> Message-ID: <1267616.101081169937539254.JavaMail.root@vcsmail.com> I've used the latest files successfully. I wasn't able to do any extensive testing beyond some random checks, but it appears that the module fully supports the new data. ----- Original Message ----- From: Alan Mead To: Chicago.pm chatter Sent: Saturday, January 27, 2007 9:17:25 AM GMT-0600 US/Central Subject: [Chicago-talk] Anyone using Geo::Coding::US ? I put a geocoding feature in place at my last employer using this module. I was really impressed by how well it just worked. But I notice that the package hasn't been updated on CPAN and the new coder is asking about using the latest TIGER data (2006 Second Edition TIGER/Line files). Has anyone had any experience using these data files? -Alan -- Alan D. Mead, Ph.D. : Skype ID alandmead amead at alanmead.org : +815-588-3846 Facts are stubborn, but statistics are more pliable. _______________________________________________ Chicago-talk mailing list Chicago-talk at pm.org http://mail.pm.org/mailman/listinfo/chicago-talk From wiggins at danconia.org Mon Jan 29 15:22:31 2007 From: wiggins at danconia.org (Wiggins d'Anconia) Date: Mon, 29 Jan 2007 16:22:31 -0700 Subject: [Chicago-talk] Hosting Providers (was Re: O'Reilly's Perl Graphics) In-Reply-To: <004e01c73e58$fa67cfa0$2d141f44@Sabina> References: <004e01c73e58$fa67cfa0$2d141f44@Sabina> Message-ID: <45BE81B7.7010209@danconia.org> Domenico Tassone wrote: > > Thanks, > > As a follow-on, anybody recommend as LAMP(erl) friendly ISP. I think I've > hit the ceiling of what's possible on SBC already. > > Doesn't have to be based in Chicago but will allow command-line access on a > shared server for different Perl modules; preferably an established but > developer-friendly concern. > > Thx, > > > Dom I've been happy with Westhost (not affiliated with them beyond being a customer) and they seem to be improving which is unfortunately a fairly odd thing in the ISP business. They are cheaper when providing more complete access because they use virtualization to segregate their shared hosting clients, so you are essentially working in your own environment with your own Apache, MySQL, etc. So they can simulate "root" access while still sharing hardware. The bonus with this is with a properly configured CPAN config you can install whatever modules you want. They also have a well used Members forum area where you can get questions answered by other people using their hosting, not just their support dept. http://www.westhost.com (http://www.sphera.com/ is the virtualization platform provider) Good luck, http://danconia.org From shawn.c.carroll at gmail.com Mon Jan 29 16:23:02 2007 From: shawn.c.carroll at gmail.com (Shawn Carroll) Date: Mon, 29 Jan 2007 18:23:02 -0600 Subject: [Chicago-talk] A question of 'die'ing Message-ID: What are your thoughts on a library that will die if it is given invalid input? Would use such a library if it required you to put eval blocks around it each time? -- shawn.c.carroll at gmail.com Perl Programmer Soccer Referee From tobert at gmail.com Mon Jan 29 17:46:45 2007 From: tobert at gmail.com (Al Tobey) Date: Mon, 29 Jan 2007 20:46:45 -0500 Subject: [Chicago-talk] A question of 'die'ing In-Reply-To: References: Message-ID: <5ac7acb10701291746g3dcf34c6sf2a5254078ddbf72@mail.gmail.com> On 1/29/07, Shawn Carroll wrote: > What are your thoughts on a library that will die if it is given > invalid input? Would use such a library if it required you to put > eval blocks around it each time? I do it all the time for truly fatal errors. My philosophy is "death before corruption" when it comes to runtime data checking. It is probably good style to document all of the exceptions (or at least the "common" ones) that a given method can throw. I think Conway has a bit about that in PBP. I usually put a bit in the POD like: "This method will throw exceptions for bad parameters or no data returned from the database." People with better taste than myself might say that throwing an unusually high number of exceptions indicates a flawed interface. They're right. For instance, the debate between implicit hashes for named parameters and requiring a hashref - the hashref makes the interface clear and gets you some better compile-time checking as a bonus, while the implicit hash can have all sorts of problems when the interface is abused. $obj->new( thing1 => $val1, $val2 ); # compiles $obj->new({ thing1 => $val1, $val2}); # doesn't compile Another thing to question is whether the exception should be an exception or an exceptionally well-tested part of the interface. use Test::More; As you said, the user can always catch the exception with eval. You might check out Exception::Class to provide an OO interface if you're planning on throwing a lot of exceptions. Test::Exception is handy for making sure your exceptions actually work, too. -Al Tobey Grand Rapids Perl Mongers > > -- > shawn.c.carroll at gmail.com > Perl Programmer > Soccer Referee > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk > From lembark at wrkhors.com Tue Jan 30 07:34:28 2007 From: lembark at wrkhors.com (Steven Lembark) Date: Tue, 30 Jan 2007 10:34:28 -0500 Subject: [Chicago-talk] A question of 'die'ing In-Reply-To: References: Message-ID: <45BF6584.3090203@wrkhors.com> > What are your thoughts on a library that will die if it is given > invalid input? Would use such a library if it required you to put > eval blocks around it each time? Exceptions are a reasonable model. The catch is that if someone uses the thing without realizing it dies then they can accidentally kill code above it. In that case you have to eval just about everything with checks for $@. This gets worse if you use blessed exceptions since evary eval has to check for ref $@ and bracnch accordingly. Fatal is one good example: it saves you quite a bit of time but unless your caller knows you use it they might not be ready for the exception. That leaves every call to your code in an eval with sanity checks on $@. After a while it gets annoying. One way out of this is Sub::ForceEval, which allows you to enforce eval's without having to write the eval's and if $@ logic on each block: use Sub::ForceEval; sub foo :ForceEval { ... } will guarantee that foo is eval-ed and if there isn't an eval on the call stack above it then you get a nastygram and undef back to the caller. You can pass a function/method to the use or sub lines to pass $@ to a munger/log/constrct handler. This guarantees that anything escaping the code that uses your module gets an appropriate type of exception. -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com +1 888 359 3508 From jim at jimandkoka.com Tue Jan 30 08:37:07 2007 From: jim at jimandkoka.com (Jim Thomason) Date: Tue, 30 Jan 2007 10:37:07 -0600 Subject: [Chicago-talk] A question of 'die'ing In-Reply-To: <45BF6584.3090203@wrkhors.com> References: <45BF6584.3090203@wrkhors.com> Message-ID: <5cfdfaf70701300837q24344f23k4bd182315116545f@mail.gmail.com> > Exceptions are a reasonable model. The catch is that if > someone uses the thing without realizing it dies then > they can accidentally kill code above it. In that case > you have to eval just about everything with checks for > $@. This gets worse if you use blessed exceptions since > evary eval has to check for ref $@ and bracnch accordingly. See, that's just insane. The whole point of exceptions is that it's supposed to kill everything above it. The function says "OMFG! This is bad! I'm bailing out!" You have two options: 1) identify the error and handle it properly when it occurs (or prevent it from happening in the first place). 2) watch your program die and be happy that it didn't continue in a bad state. Wrappering everything in evals and ignoring it is just friggin' terrible and you might as well use error codes at that point. One of the points of exceptions (IMHO) is that you don't need to add in error handling code until you actually start handling the error. Error codes lead to all sorts of bits of bubbling up logic: sub foo { my $self = shift; my $bar_obj = $self->get_bar_obj; $bar_obj->do_something_novel or return $self->error_code($bar_obj->error_code); } and stuff like that. Copying the $bar_obj's error code into your own slot so your caller can see it. Exceptions should work like this: sub foo { my $self = shift; my $bar_obj = $self->get_bar_obj; $bar_obj->do_something_novel; } And bam! You're done. Stick an eval in there if you can handle it, and otherwise, assume that somebody else will. If you wrappered every call that can die in an eval, you've just added needless additional clutter at best and actually disabled your error handling at worst. Yes, yes, there are modules that get a bit overzealous with the die-ing and die for non-fatal errors, but that's a problem with their interface, not with using exceptions. Think about it - if you -know- that something bad has happened, why would you want to continue? Why would you want to wrapper every single method call you have with handler code to bubble it back up to a higher point in the stack when the exception mechanism can handle it for you? Either deal with it, or bail out. Now, all that said, I tend to use error codes. I think Perl's syntax for exception handling sucks. I -want- try/catch blocks, not eval/die/if $@ mess. Further, I don't want to import a module to add in syntax to the language into every single damn bit of code I have just to add try/catch blocks. They should be built in. But I also built the best of both worlds into Basset. There's a flag you can set - enable_exceptions. By default it's off and everything uses error codes. Flip it on, and everything uses exceptions instead. Conceptually, it's easy - you have to write for error codes and bubble up everything all over the place (adding clutter and mess), but once they're there, you can internally change your error_code method to die with the message (or object, or whatever) instead. The technique can be applied anywhere. I do think error codes are easier to insert, though. Plugging a module that throws exceptions into an app that uses error codes can be difficult. Plugging a module that uses error codes into an app that uses exceptions tends to be easier. TIMTOWDI sucks in perl when it comes to error handling. I value consistency very highly. -Jim... From manchicken at notsosoft.net Tue Jan 30 09:02:31 2007 From: manchicken at notsosoft.net (Michael D. Stemle, Jr.) Date: Tue, 30 Jan 2007 11:02:31 -0600 Subject: [Chicago-talk] A question of 'die'ing In-Reply-To: References: Message-ID: <200701301102.35537.manchicken@notsosoft.net> On Monday 29 January 2007 18:23, Shawn Carroll wrote: > What are your thoughts on a library that will die if it is given > invalid input? Would use such a library if it required you to put > eval blocks around it each time? Take a look at Error.pm. Exceptions are easilly handled with `use Error qw{:try}`. You even then get the syntactic sugar of try/catch blocks. Consider the following: sub foo { try { die "foo"; } otherwise { my $err = shift; printf ("Got error: %s\n", $err->stringify()); }; } -- ~ Michael D. Stemle, Jr. <>< (A)bort, (R)etry, (I)nfluence with large hammer The number of the beast - vi vi vi -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mail.pm.org/pipermail/chicago-talk/attachments/20070130/467c5e40/attachment.bin From d_tassone at yahoo.com Tue Jan 30 12:42:41 2007 From: d_tassone at yahoo.com (Domenico Tassone) Date: Tue, 30 Jan 2007 14:42:41 -0600 Subject: [Chicago-talk] Hosting Providers In-Reply-To: References: Message-ID: <02bd01c744af$3090f3c0$6401a8c0@Sabina> Thanks folks for all the help. Ended up going with www.hostmonster.com one of the recommendations made to me. Inexpensive and pretty flexible all told. Domenico -----Original Message----- Message: 1 Date: Mon, 29 Jan 2007 16:22:31 -0700 From: "Wiggins d'Anconia" Subject: [Chicago-talk] Hosting Providers (was Re: O'Reilly's Perl Graphics) To: "Chicago.pm chatter" , d_tassone at yahoo.com Message-ID: <45BE81B7.7010209 at danconia.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Domenico Tassone wrote: > > Thanks, > > As a follow-on, anybody recommend as LAMP(erl) friendly ISP. I think > I've hit the ceiling of what's possible on SBC already. > > Doesn't have to be based in Chicago but will allow command-line access > on a shared server for different Perl modules; preferably an > established but developer-friendly concern. > > Thx, > > > Dom I've been happy with Westhost (not affiliated with them beyond being a customer) and they seem to be improving which is unfortunately a fairly odd thing in the ISP business. They are cheaper when providing more complete access because they use virtualization to segregate their shared hosting clients, so you are essentially working in your own environment with your own Apache, MySQL, etc. So they can simulate "root" access while still sharing hardware. The bonus with this is with a properly configured CPAN config you can install whatever modules you want. They also have a well used Members forum area where you can get questions answered by other people using their hosting, not just their support dept. http://www.westhost.com (http://www.sphera.com/ is the virtualization platform provider) Good luck, http://danconia.org From frag at ripco.com Tue Jan 30 13:16:44 2007 From: frag at ripco.com (Mike Fragassi) Date: Tue, 30 Jan 2007 15:16:44 -0600 (CST) Subject: [Chicago-talk] A question of 'die'ing In-Reply-To: References: Message-ID: On Mon, 29 Jan 2007, Shawn Carroll wrote: > What are your thoughts on a library that will die if it is given > invalid input? Would use such a library if it required you to put > eval blocks around it each time? If you're serious about best practices for implementing exceptions, you should read Matt Sergeant's Exception Handling in Perl presentation: http://axkit.org/docs/presentations/tpc2002/exceptions.pdf It's several years old, but I don't think the CPAN options have changed much, if at all. -- Mike F. From lembark at wrkhors.com Tue Jan 30 13:19:17 2007 From: lembark at wrkhors.com (Steven Lembark) Date: Tue, 30 Jan 2007 16:19:17 -0500 Subject: [Chicago-talk] A question of 'die'ing In-Reply-To: <5cfdfaf70701300837q24344f23k4bd182315116545f@mail.gmail.com> References: <45BF6584.3090203@wrkhors.com> <5cfdfaf70701300837q24344f23k4bd182315116545f@mail.gmail.com> Message-ID: <45BFB655.8070506@wrkhors.com> > Wrappering everything in evals and ignoring it is just friggin' > terrible and you might as well use error codes at that point. One of > the points of exceptions (IMHO) is that you don't need to add in error > handling code until you actually start handling the error. Error codes > lead to all sorts of bits of bubbling up logic: When did I suggest ignoring the return values? -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com +1 888 359 3508 From andy at petdance.com Tue Jan 30 21:02:59 2007 From: andy at petdance.com (Andy Lester) Date: Tue, 30 Jan 2007 23:02:59 -0600 Subject: [Chicago-talk] February is the Dynamic Language Hootenanny, in both city and suburbs Message-ID: <9AD02B47-81A2-4F9A-9726-E1BADDE4A726@petdance.com> Chris McAvoy will be rounding up the big four dynamic languages in a rootin'-tootin' look at what's what in the world of Perl, PHP, Python and Ruby. Is PHP just for script-slinging marketdroids? Do Python's whitespace rules really suck as much as you'd think? Is Ruby more than Rails? And what's up with Perl 6 anyway? Chris promises to make this a no-BS, no-bashing, honest look at the strengths and weaknesses of each of these languages. Come with an open mind and we'll explore the limitless frontiers of awesome programming. Chris will be presenting both in the city and the suburbs this month: * in Wheaton at IIT Rice campus on Feb 13, 2007 http://rakudo.org/chicago-pm/index.cgi? 2007_02_13_dynamic_language_hootenanny * in the city at Performics on Feb 27, 2007 http://rakudo.org/chicago-pm/index.cgi? 2007_02_27_dynamic_language_hootenanny Come on out and learn some new tricks! -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance From Andy_Bach at wiwb.uscourts.gov Wed Jan 31 08:44:17 2007 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach at wiwb.uscourts.gov) Date: Wed, 31 Jan 2007 10:44:17 -0600 Subject: [Chicago-talk] Spam programming language Message-ID: Just got one and it has: From: "%RANDNAMES[./content/names_test.txt]" To: "%RANDNAMES[./content/names_test.txt]" Subject: %RANDSUBJ[./content/stock_test.txt] anybody recognize the language? a Andy Bach Systems Mangler Internet: andy_bach at wiwb.uscourts.gov VOICE: (608) 261-5738 FAX 264-5932 "He who learns must suffer. And even in our sleep, pain that cannot forget, falls drop by drop upon the heart; and, in our own despair, against our will, comes wisdom to us by the awful grace of God." --- Aeschylus From manchicken at notsosoft.net Wed Jan 31 08:48:12 2007 From: manchicken at notsosoft.net (Michael D. Stemle, Jr.) Date: Wed, 31 Jan 2007 10:48:12 -0600 Subject: [Chicago-talk] Spam programming language In-Reply-To: References: Message-ID: <200701311048.16115.manchicken@notsosoft.net> Looks like a deformed child of PHP and Perl? You got me stumped. On Wednesday 31 January 2007 10:44, Andy_Bach at wiwb.uscourts.gov wrote: > Just got one and it has: > From: "%RANDNAMES[./content/names_test.txt]" > To: "%RANDNAMES[./content/names_test.txt]" > Subject: %RANDSUBJ[./content/stock_test.txt] > > anybody recognize the language? > > a > > Andy Bach > Systems Mangler > Internet: andy_bach at wiwb.uscourts.gov > VOICE: (608) 261-5738 FAX 264-5932 > > "He who learns must suffer. And even in our sleep, > pain that cannot forget, falls drop by drop upon the heart; > and, in our own despair, against our will, > comes wisdom to us by the awful grace of God." > --- Aeschylus > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- ~ Michael D. Stemle, Jr. <>< (A)bort, (R)etry, (I)nfluence with large hammer The number of the beast - vi vi vi -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://mail.pm.org/pipermail/chicago-talk/attachments/20070131/02498e2d/attachment.bin From jon at jrock.us Wed Jan 31 08:49:12 2007 From: jon at jrock.us (Jonathan Rockway) Date: Wed, 31 Jan 2007 10:49:12 -0600 Subject: [Chicago-talk] Spam programming language In-Reply-To: References: Message-ID: <45C0C888.7080204@jrock.us> Looks like a custom language for spamming. I've received [% TT-style %] spams in the past, though. Now-a-days all the cool spammers are apparently using GD to bypass spam filters. It's not working, but let's let them think it is. Andy_Bach at wiwb.uscourts.gov wrote: > Just got one and it has: > From: "%RANDNAMES[./content/names_test.txt]" > To: "%RANDNAMES[./content/names_test.txt]" > Subject: %RANDSUBJ[./content/stock_test.txt] > > anybody recognize the language? > > a > > Andy Bach > Systems Mangler > Internet: andy_bach at wiwb.uscourts.gov > VOICE: (608) 261-5738 FAX 264-5932 > > "He who learns must suffer. And even in our sleep, > pain that cannot forget, falls drop by drop upon the heart; > and, in our own despair, against our will, > comes wisdom to us by the awful grace of God." > --- Aeschylus > _______________________________________________ > Chicago-talk mailing list > Chicago-talk at pm.org > http://mail.pm.org/mailman/listinfo/chicago-talk -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup; From Andy_Bach at wiwb.uscourts.gov Wed Jan 31 09:38:33 2007 From: Andy_Bach at wiwb.uscourts.gov (Andy_Bach at wiwb.uscourts.gov) Date: Wed, 31 Jan 2007 11:38:33 -0600 Subject: [Chicago-talk] Spam programming language In-Reply-To: <200701311048.16115.manchicken@notsosoft.net> Message-ID: Sort of cool - I tried the google code search using: %\w+\[.+] got one thing close "Website Meta language" http://thewml.org/ ... # Manage arrays as stacks # These macros are obsolete and should not be used anymore. # Mp4h has some builtins which are more efficient. # 0 /> 0 /> /> ] /> ] />> %0[] = ] /> But ruby has: else path = %w[/usr/local/bin /usr/ucb /usr/bin /bin] end a Andy Bach Systems Mangler Internet: andy_bach at wiwb.uscourts.gov VOICE: (608) 261-5738 FAX 264-5932 "He who learns must suffer. And even in our sleep, pain that cannot forget, falls drop by drop upon the heart; and, in our own despair, against our will, comes wisdom to us by the awful grace of God." --- Aeschylus From lembark at wrkhors.com Wed Jan 31 10:13:32 2007 From: lembark at wrkhors.com (Steven Lembark) Date: Wed, 31 Jan 2007 13:13:32 -0500 Subject: [Chicago-talk] Spam programming language In-Reply-To: <45C0C888.7080204@jrock.us> References: <45C0C888.7080204@jrock.us> Message-ID: <45C0DC4C.3090101@wrkhors.com> > Looks like a custom language for spamming. Template::Toolkit (or something like it) that uses '[% .. %]' delimteters? -- Steven Lembark 85-09 90th Street Workhorse Computing Woodhaven, NY 11421 lembark at wrkhors.com +1 888 359 3508 From andy at petdance.com Wed Jan 31 12:25:33 2007 From: andy at petdance.com (Andy Lester) Date: Wed, 31 Jan 2007 14:25:33 -0600 Subject: [Chicago-talk] Dynamic Language Hootenanny: NEW DATE Message-ID: <7AAD8E7C-B502-49CC-A764-9DD1A72ADBFB@petdance.com> We've moved the date of the city meeting back a week to February 20th. Sorry for any inconvenience. Email Chris McAvoy (his gmail.com address is "chris.mcavoy") if you're coming to the city presentation, so that you can get on the list at the security desk. xoa .... Chris McAvoy will be rounding up the big four dynamic languages in a rootin'-tootin' look at what's what in the world of Perl, PHP, Python and Ruby. Is PHP just for script-slinging marketdroids? Do Python's whitespace rules really suck as much as you'd think? Is Ruby more than Rails? And what's up with Perl 6 anyway? Chris promises to make this a no-BS, no-bashing, honest look at the strengths and weaknesses of each of these languages. Come with an open mind and we'll explore the limitless frontiers of awesome programming. Chris will be presenting both in the city and the suburbs this month: * in Wheaton at IIT Rice campus on Feb 13, 2007 http://rakudo.org/chicago-pm/index.cgi? 2007_02_13_dynamic_language_hootenanny * in the city at Performics on Feb 20, 2007 http://rakudo.org/chicago-pm/index.cgi? 2007_02_20_dynamic_language_hootenanny Come on out and learn some new tricks! -- Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance