From andy at murren.org Fri Aug 2 15:49:19 2002 From: andy at murren.org (Andy Murren) Date: Thu Aug 5 00:29:14 2004 Subject: MCPM: [hetr@manning.com: Extending and Embedding Perl - New Free Book for Perl Mongers Groups] Message-ID: <20020802164919.A1646@murren.org> For your consideration. ----- Forwarded message from Helen Trimes ----- Date: Fri, 02 Aug 2002 16:34:20 -0400 From: Helen Trimes Subject: Extending and Embedding Perl - New Free Book for Perl Mongers Groups To: Andy Murren X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Attention Morris County.pm Members --- Manning Publications announces the release of: Extending and Embedding Perl By Tim Jenness and Simon Cozens To learn more about this book and find out how to get a free review copy for your group, please read on ... Greenwich, Connecticut, August 2002 - Extending and Embedding Perl explains how to expand the functionality and usefulness of the Perl programming language and how to use Perl from C programs. It is the only book available with in-depth coverage of interfacing Perl and C. What's Inside - * C for the Perl programmer * Basic and advanced XS * Embedding Perl in C programs * Perl internals * An API reference for the internal C interface to Perl * A reference on the typemap system * Embedding Perl into the mutt mail reader About the Authors - A Perl developer for 7 years, Tim Jenness has ten modules on CPAN including two that are distributed as part of the core Perl distribution (File::Temp and Pod::LateX). He lives in Hilo, Hawaii. Simon Cozens, the author of Beginning Perl, was the release manager for the first four releases of the Perl 6 runtime engine, Parrot, and resides in Oxon, UK. About Manning Publications Co. - For each of its books Manning makes available to its readers an online discussion forum where they can pose questions to the author. To get access to the authors of Extending and Embedding Perl, go to www.manning.com/jenness. Here you will also find the book's table of contents, sample chapters, source code and other content. Extending and Embedding Perl will be available in retail stores in August 2002. Extending and Embedding Perl joins other notable Perl titles from Manning including Object Oriented Perl, Data Munging with Perl, Web Development with Apache and Perl, Graphics Programming with Perl, and Elements of Programming with Perl. Extending and Embedding Perl By Tim Jenness and Simon Cozens ISBN 1930110-820 July 2002, Softbound, 384 pages, $44.95 Available in bookstores August 2002. Ebook Edition 2 Mb, PDF, $13.50. Available only from the publisher at www.manning.com/jenness. Manning's User Group Program -- Manning supports the grassroots efforts of the User Group community. A goal of Manning's User Group Program is to foster relationships with technical communities that--in addition to meeting regularly--troubleshoot, write book reviews, and share knowledge through newsletters or Web sites. Manning will provide a free book for presentation at meetings, for group libraries or for door prizes in exchange for a written published review. If your group is willing to write and publish a review, please contact Helen Trimes at hetr@manning.com. Reviews should be published in print or online within sixty days of receipt of the free book at your group's website, in a newsletter, a newsgroup, at an online bookstore, or at another relevant public forum. When requesting a free review copy, please include your plans for posting the book review as well as your shipping address. Manning Publications Co. ~ 209 Bruce Park Avenue ~ Greenwich, CT 06830 www.manning.com ----- End forwarded message ----- -- Andy Murren andy@murren.org From andy at murren.org Mon Aug 26 11:03:26 2002 From: andy at murren.org (Andy Murren) Date: Thu Aug 5 00:29:14 2004 Subject: MCPM: Status Board project started Message-ID: <20020826120326.B2635@murren.org> Hi all, I have started a project and registered it at SourceForge. It is called Status Board. At a high level it is a web based app (apache/mod_perl/HTML::Mason/MySQL/GNU Mailman) that tracks progress on a project. I started it to support a project my wife is working on for the NJ National Guard getting ready for an inspection in Feb 2003. The project is at http://statusboard.sourceforge.net/ Any help get MasonHQ running would be deeply appreciated. I have downloaded the stock site and it failed to run. The answer about that on the user mailing list was basically 'yeah we know'. I will be posting the DB layout, some pages and code, and some sample data over the next couple of days. Documentation to follow ;-) Andy -- Andy Murren andy@murren.org From rmaus at monmouth.com Wed Aug 28 19:32:24 2002 From: rmaus at monmouth.com (Richard L. Maus, Jr.) Date: Thu Aug 5 00:29:14 2004 Subject: MCPM: FYI: Web statistics Message-ID: <3D6D6B98.C5820CD1@monmouth.com> Howdy, For you web designer types, [www.thecounter.com/stats] has some interesting current statistics about browsers, operatings systems, resolution, color depth, etc. Rick -- Richard L. Maus, Jr. (Rick) Home: 732-863-7367 rmaus@monmouth.com http://www.monmouth.com/~rmaus From andy at murren.org Wed Aug 28 20:32:52 2002 From: andy at murren.org (Andy Murren) Date: Thu Aug 5 00:29:14 2004 Subject: MCPM: Mason help Message-ID: <20020828213252.A2457@murren.org> Does anyone have experience with Mason? I need help getting either the masonhq stock site running or getting my own user authentication stuff working. Any help would be deeply appreciated since I need to deliver the site in about 10 days. Andy -- Andy Murren andy@murren.org From swalker at walkertek.com Wed Aug 28 20:30:48 2002 From: swalker at walkertek.com (Stephen Walker) Date: Thu Aug 5 00:29:14 2004 Subject: MCPM: Mason help In-Reply-To: <20020828213252.A2457@murren.org> References: <20020828213252.A2457@murren.org> Message-ID: <1030584649.31993.44.camel@sbox> Hey Andy, where are you trying to get it working? Somewhere where I can take a look? I've used mason before, but not recently. What problems are you having with it? Steve On Wed, 2002-08-28 at 21:32, Andy Murren wrote: > > Does anyone have experience with Mason? I need help getting either > the masonhq stock site running or getting my own user authentication > stuff working. > > Any help would be deeply appreciated since I need to deliver the site > in about 10 days. > > Andy > > -- > Andy Murren > andy@murren.org > From andy at murren.org Thu Aug 29 14:02:23 2002 From: andy at murren.org (Andy Murren) Date: Thu Aug 5 00:29:14 2004 Subject: MCPM: Sorting Message-ID: <20020829150223.C2610@murren.org> On my application I have questions numbered from 7a to 7ax. Is there a way to sort so it comes out a-z then aa-ax ? When I try to sort I get a,aa-az,b-z which is not what I want. Anyone got this figured out? Andy -- Andy Murren andy@murren.org From andy at murren.org Thu Aug 29 13:56:15 2002 From: andy at murren.org (Andy Murren) Date: Thu Aug 5 00:29:14 2004 Subject: MCPM: Mason help In-Reply-To: <1030584649.31993.44.camel@sbox>; from swalker@walkertek.com on Wed, Aug 28, 2002 at 09:30:48PM -0400 References: <20020828213252.A2457@murren.org> <1030584649.31993.44.camel@sbox> Message-ID: <20020829145615.B2610@murren.org> Steve, : : Hey Andy, where are you trying to get it working? Somewhere where I can : take a look? I've used mason before, but not recently. What problems : are you having with it? : I have put a snapshot of my current code at: http://sourceforge.net/projects/statusboard I finally just wrote my own user login with cookie tracking. I can now pass around information in the single cookie that lets me do many of the queries I need to do. The project is supposed to work as follows. A user comes to the site (/SB/index.html) accepts the DoD conditions and logs in at the bottom of the page. That takes them to the Home Page (/SB/home.html). On home.html they get info and are given links on the left for working with the DB. The user clicks on the link for 'Areas' (the only one working now) and they get a list of Areas applicable to them (based upon what 'type' unit they are in) The user is supposed to answer the questions and then run reports on their unit. Not all of the files are used or work, some are just test scripts. Requirements: Perl Apache mod_perl MySQL DBI Bundle::DBD::mysql Here is what I need to do on this to finish Phase 1: 1. When the user logs in the cookie should store user_name:user_id:unit:type so I can split it and make queries using the info. 2. Insert data into the db when user completes the question form. I need to keep historical data for trend analysis. I have two options. a. Insert all answers into one table, then select the most recent record for the question. (anyone know how to select the latest record for a particular question?) b. Insert into a historical table and update the answer table. 3. Populate the question form with data from the completed answers once the user has some updates. 4. Provide basic user functions (change passwd, forgot passwd, update info, etc.) 5. Provide reports. If anyone can lend me some of their time and grey cells to do this I would appreciate it. I need to finish this and get it running on an HP-UX 10.20 box in the next week or so. I can keep updating code for a while, but I need to get the data input and user functionality going before 15 Sept. Andy -- Andy Murren andy@murren.org From swalker at walkertek.com Thu Aug 29 02:04:57 2002 From: swalker at walkertek.com (Stephen Walker) Date: Thu Aug 5 00:29:14 2004 Subject: MCPM: Sorting In-Reply-To: <20020829150223.C2610@murren.org> References: <20020829150223.C2610@murren.org> Message-ID: <20020829160457.M73864@walkertek.com> try this: @items = map { $_->[1] } sort { $a->[0] cmp $b->[0] || $a->[1] cmp $b->[1] } map { [length($_), $_] } @items; I think it does what your asking. Steve -- Stephen Walker ---------- Original Message ----------- From: Andy Murren To: morriscounty@pm.org Sent: Thu, 29 Aug 2002 15:02:23 -0400 Subject: MCPM: Sorting > On my application I have questions numbered from 7a to 7ax. Is there > a way to sort so it comes out a-z then aa-ax ? When I try to sort I > get a,aa-az,b-z which is not what I want. > > Anyone got this figured out? > > Andy > > -- > Andy Murren > andy@murren.org ------- End of Original Message -------