From paul at pauljacobs.net Mon Dec 6 18:25:02 2004 From: paul at pauljacobs.net (Paul Jacobs) Date: Tue Dec 7 11:48:52 2004 Subject: [LA.pm] ThousandOaks.pm Regular Meetings Begin (THIS Wed.) Message-ID: <6F7883F4-47E6-11D9-BE9E-003065F5E888@pauljacobs.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello everyone. I've been lurking on LA.pm for a while but haven't yet made it to any LA.pm events. I'm writing to let anyone interested know that Thousand-Oaks.pm is now starting back up, we'll be having regular meetings, and we'd like more members.. We'll try to intentionally avoid having LA.pm and TO.pm events at the same time to avoid conflicts. - ------------------- This Wednesday, Dec. 8th, there will be a meeting of the Thousand Oaks Perl Mongers. This will be our first regular meeting: from now on, we'll meet at 7pm on the second Wednesday of each month. The meeting is scheduled to last through 8pm. This month: - - The usual networking and perl mongery - - Planning / Discussion of upcoming Blackjack Programming Competition - - Show & Tell member projects or favorite modules - - Basic Organizational Stuff Directions are available at: http://thousand-oaks.pm.org/directions-and-contact.html - ------ Sorry for the late notice. We will stick to the 2nd Wednesday schedule, so if you can't make it this time, feel free to consider this early notice for the Jan. meeting. - - Paul Jacobs - -- "Backups are for wimps. Real men upload their data to an FTP site and have everyone else mirror it." -- Linus Torvalds -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iD8DBQFBtPhv8PscfQd/jB4RAjHmAJ0bl7MY8WGQdWdEYxVcIqOhIcXwfgCfbixW JC37ovvWiAlzIFcj+liMP7I= =E745 -----END PGP SIGNATURE----- From ofer at netapt.com Tue Dec 7 13:08:19 2004 From: ofer at netapt.com (Ofer Nave) Date: Tue Dec 7 13:08:36 2004 Subject: [LA.pm] coding guidlines, inline functions Message-ID: 1) coding guidlines I just finished reading this document entitled "Conventions and Guidelines for Parrot Source Code": http://dev.perl.org/perl6/pdd/pdd07_codingstd.html Based on my C coding experience, I tend to agree with most of it, and found it very well written (though it would be wise to include an example under each point, instead of just the more obscure ones). Has anyone seen a document similar to this for Perl development? I know it goes against the perl philosophy to try to standardize on coding style - hence not finding one anywhere on CPAN (where it would be most appropriate), but for my own personal use (and perhaps within my dept), it would be neat to see one already written by an experienced team of perl programmers who have been using and evolving the document over time. 2) inline functions Is there any analog in perl to C inline functions (i.e., macros)? In other words, is there an elegant way in perl to make things modular for code maintenance purposes, but empower the perl parser/compiler to optimize away unnecessary function call overhead? -ofer From ofer at netapt.com Tue Dec 7 13:35:56 2004 From: ofer at netapt.com (Ofer Nave) Date: Tue Dec 7 13:36:08 2004 Subject: [LA.pm] coding guidlines, inline functions In-Reply-To: Message-ID: On Tue, 7 Dec 2004, Kevin Scaldeferri wrote: > On Dec 7, 2004, at 11:08 AM, Ofer Nave wrote: > > > 2) inline functions > > > > Is there any analog in perl to C inline functions (i.e., macros)? In > > other words, is there an elegant way in perl to make things modular for > > code maintenance purposes, but empower the perl parser/compiler to > > optimize away unnecessary function call overhead? > > So-called "constant functions" are optimized away. These look like: > > sub pi () { > return 3.14; > } > > The empty prototype is required and the return value must be > recognizable as constant at compile time. > > This is basically what the 'use constant' pragma does. > > Other than that, I think you have to wait for Perl 6. Or get really > brave with source filters. Yup, knew about use constant. Though lately I've been using the Readonly module from CPAN, cause I like consistent sigil usage ($PI). I've never used source filters. Familiar with the concept, but not any particular implementation. Is there a conventional way to do it? Seems there's a lot of optimization you could do by automunging the source before compilation. Maybe all programs should be wrapped in an eval. :) -ofer From jleader at alumni.caltech.edu Tue Dec 7 13:36:58 2004 From: jleader at alumni.caltech.edu (Jeremy Leader) Date: Tue Dec 7 13:37:08 2004 Subject: [LA.pm] coding guidlines, inline functions In-Reply-To: References: Message-ID: <41B6065A.1010906@alumni.caltech.edu> Ofer Nave wrote: > 1) coding guidlines > > I just finished reading this document entitled "Conventions and Guidelines > for Parrot Source Code": > > http://dev.perl.org/perl6/pdd/pdd07_codingstd.html > > Has anyone seen a document similar to this for Perl development? Damian Conway is working on a book on "Perl Best Practices", which I believe he said would be published sometime soon. I think it would be fair to describe the material as conventions and guidelines for Perl. > 2) inline functions > > Is there any analog in perl to C inline functions (i.e., macros)? In > other words, is there an elegant way in perl to make things modular for > code maintenance purposes, but empower the perl parser/compiler to > optimize away unnecessary function call overhead? A quick look at CPAN turned up Filter::Macro (http://cpan.org/authors/id/A/AU/AUTRIJUS/), which is a source filter for making macros which are expanded inline. Along the way, I was intrigued to find the "Inline" module (http://cpan.org/authors/id/I/IN/INGY/), which provides the ability to write Perl subroutines in other languages (analogous to the support some C compilers provide for inline assembly language). -- Jeremy Leader jleader@alumni.caltech.edu From ofer at netapt.com Tue Dec 7 13:41:44 2004 From: ofer at netapt.com (Ofer Nave) Date: Tue Dec 7 13:41:52 2004 Subject: [LA.pm] coding guidlines, inline functions In-Reply-To: <41B6065A.1010906@alumni.caltech.edu> Message-ID: On Tue, 7 Dec 2004, Jeremy Leader wrote: > Ofer Nave wrote: > > 1) coding guidlines > > > > I just finished reading this document entitled "Conventions and Guidelines > > for Parrot Source Code": > > > > http://dev.perl.org/perl6/pdd/pdd07_codingstd.html > > > > Has anyone seen a document similar to this for Perl development? > > Damian Conway is working on a book on "Perl Best Practices", which > I believe he said would be published sometime soon. I think it > would be fair to describe the material as conventions and guidelines > for Perl. Excellent! > > 2) inline functions > > > > Is there any analog in perl to C inline functions (i.e., macros)? In > > other words, is there an elegant way in perl to make things modular for > > code maintenance purposes, but empower the perl parser/compiler to > > optimize away unnecessary function call overhead? > > A quick look at CPAN turned up Filter::Macro > (http://cpan.org/authors/id/A/AU/AUTRIJUS/), which is a source filter > for making macros which are expanded inline. Will check it out, thanks for the lead. > Along the way, I was intrigued to find the "Inline" module > (http://cpan.org/authors/id/I/IN/INGY/), which provides the ability > to write Perl subroutines in other languages (analogous to the > support some C compilers provide for inline assembly language). Yes, I've read about Inline::C as an alternative to XS. Haven't had an opportunity to use it yet. -ofer From bill at daze.net Tue Dec 7 13:43:45 2004 From: bill at daze.net (bill@daze.net) Date: Tue Dec 7 13:43:49 2004 Subject: [LA.pm] coding guidlines, inline functions In-Reply-To: References: Message-ID: <20041207113958.D78377@droid.daze.net> > 1) coding guidlines > > I just finished reading this document entitled "Conventions and Guidelines > for Parrot Source Code": > > http://dev.perl.org/perl6/pdd/pdd07_codingstd.html > > Has anyone seen a document similar to this for Perl development? Have you looked at the Perl style guide, e.g. "perldoc perlstyle"? From ofer at netapt.com Fri Dec 10 15:49:01 2004 From: ofer at netapt.com (Ofer Nave) Date: Fri Dec 10 15:49:14 2004 Subject: [LA.pm] POE/IKC Message-ID: Anyone here have experience with POE, and more specifically, IKC? Could use some help... the docs are somewhat unclear on many things. -ofer From rspier at pobox.com Sat Dec 11 20:30:51 2004 From: rspier at pobox.com (Robert Spier) Date: Sat Dec 11 20:30:55 2004 Subject: [LA.pm] FW: Promo copies of _Perl 6 Now_ for Perl Mongers References: <20041209191002.GP11690@illogics.org> Message-ID: Is anyone interested in reviewing Perl 6 Now? -R === Forwarded Message: Date: Thu, 9 Dec 2004 11:10:02 -0800 From: Scott Walters Subject: Promo copies of _Perl 6 Now_ for Perl Mongers Hello Perl Mongers group leaders; After nearly a year of work and tracking development on CPAN and Perl 6, I recently finished writing _Perl 6 Now_ for Apress. Briefly, _Perl 6 Now_ is about doing Perl 6-like things with Perl 5. It introduces concepts many Perl 5 programmers won't have had the occasion to learn and demonstrates how to apply them in day to day (or exceptional) programming tasks. While it covers intermediate through advanced topics on this subject, I'm most fond of some of the more advanced things: light weight arrays and vector operations with PDL; subroutines that don't have to return with Coro; function currying with autoload; and strong typing with typesafety (my own module). Perl 6 features available for Perl 5 that don't tax the brain are also included, such as aliasing without globs, syntax hacks implemented with source filters (and some without), implicit object constructors, and much more. For more information on the book, see http://perl6now.com. My Apress marketing contact, Jullie Miller, wishes to have reviews available on-line at the time the book hits shelves. To this end, if you have a dedicated reviewer in your ranks, let me at once and I'll have a PDF proofs on CD-ROM sent off to you to pass to the reviewer. Best regards, -scott === End of Forwarded Message From laura_saul at yahoo.com Fri Dec 17 01:24:03 2004 From: laura_saul at yahoo.com (Laura Saul) Date: Fri Dec 17 01:24:05 2004 Subject: [LA.pm] Congrats to Rent.com Message-ID: <20041217072403.83867.qmail@web52904.mail.yahoo.com> Just read the news about ebay's latest acquisition! Congratulations! Laura __________________________________ Do you Yahoo!? Send holiday email and support a worthy cause. Do good. http://celebrity.mail.yahoo.com From rspier at pobox.com Fri Dec 17 10:53:03 2004 From: rspier at pobox.com (Robert Spier) Date: Fri Dec 17 10:53:06 2004 Subject: [LA.pm] Congrats to Rent.com In-Reply-To: <20041217072403.83867.qmail@web52904.mail.yahoo.com> References: <20041217072403.83867.qmail@web52904.mail.yahoo.com> Message-ID: > Just read the news about ebay's latest acquisition! > Congratulations! Way cool. Congrats! http://news.google.com/news?q=rent.com From ofer at netapt.com Fri Dec 17 11:58:22 2004 From: ofer at netapt.com (Ofer Nave) Date: Fri Dec 17 11:58:35 2004 Subject: [LA.pm] Congrats to Rent.com In-Reply-To: Message-ID: Is Eric Hammond on this list? -ofer On Fri, 17 Dec 2004, Robert Spier wrote: > > Just read the news about ebay's latest acquisition! > > Congratulations! > > Way cool. Congrats! > > http://news.google.com/news?q=rent.com > _______________________________________________ > Losangeles-pm mailing list > Losangeles-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/losangeles-pm > From ehammond at thinksome.com Fri Dec 17 13:35:03 2004 From: ehammond at thinksome.com (Eric Hammond) Date: Fri Dec 17 13:35:06 2004 Subject: [LA.pm] Congrats to Rent.com In-Reply-To: References: Message-ID: <20041217193503.GA15533@level22.com> Ofer Nave wrote: > Is Eric Hammond on this list? Present. As are at least a couple others from Rent.com. Thanks to all for the congratulations. (And, thanks to Perl.) -- Eric Hammond ehammond@thinksome.com From ben_tilly at operamail.com Fri Dec 17 21:26:29 2004 From: ben_tilly at operamail.com (Benjamin J. Tilly ) Date: Fri Dec 17 21:26:31 2004 Subject: [LA.pm] Congrats to Rent.com Message-ID: <20041218032629.864EA3AA515@ws5-8.us4.outblaze.com> "Eric Hammond" wrote: > > Ofer Nave wrote: > > Is Eric Hammond on this list? > > Present. As are at least a couple others from Rent.com. I suspect that "at least" should be "exactly". Shall we do an official rollcall? :-) > Thanks to all for the congratulations. Ditto. One note. It is interesting to be inside a deal like this and see what the press says about it. I'm also looking forward to finding out what is said about it within our industry. > (And, thanks to Perl.) And Larry Wall and, well, while I have the microphone I'd like to thank my wife, parents, ... whaddayamean this is offtopic? Cheers, Ben