From grant at mclean.net.nz Sun Oct 3 02:50:57 2004 From: grant at mclean.net.nz (Grant McLean) Date: Sun Oct 3 02:51:12 2004 Subject: [Wellington-pm] Fwd: Newsletter from O'Reilly UG Program, October 1 Message-ID: <1096789856.3297.8.camel@localhost> -----Forwarded Message----- From: Marsee Henon To: perlmongers@catalyst.net.nz Subject: Newsletter from O'Reilly UG Program, October 1 Date: Fri, 01 Oct 2004 11:25:21 -0700 ================================================================ O'Reilly UG Program News--Just for User Group Leaders October 1, 2004 ================================================================ -Attending the O'Reilly Mac OS X Conference? Let's get together -Put Up an O'Reilly Mac OS X Conference Banner, Get a Free Book -Is Your Group Listed on the User Group Wiki? ---------------------------------------------------------------- Book Info ---------------------------------------------------------------- ***Review books are available Copies of our books are available for your members to review-- send me an email and please include the book's ISBN number on your request. Let me know if you need your book by a certain date. Allow at least four weeks for shipping. ***Please send copies of your book reviews Email me a copy of your newsletters or book reviews. For tips and suggestions on writing book reviews, go to: http://ug.oreilly.com/bookreviews.html ***Discount information Don't forget to remind your members about our 20% discount on O'Reilly, No Starch, Paraglyph, Pragmatic Bookshelf, SitePoint, and Syngress books and O'Reilly conferences. Just use code DSUG. ***Group purchases with better discounts are available Please let me know if you are interested and I can put you in touch with our sales department. ---------------------------------------------------------------- General News ---------------------------------------------------------------- ***Please let your members know! User Group leaders and members attending the O'Reilly Mac OS X Conference-- come meet up with Marsee Henon (O'Reilly User Group Coordinator) and Lorene Romero (Apple User Group Advisory Board Vendor Relation Coordinator and North Coast Mac Users Group President) on Wednesday, October 27 from 5:00pm to 7:00pm at the bar in the lobby of the Westin Santa Clara. We can swap stories, ideas, or just hang out. And afterwards, we can attend the "Real-Time Filmmaking on Mac OS X" talk. http://conferences.oreillynet.com/cs/macosx2004/view/e_sess/5705 The O'Reilly Mac OS X Conference is October 25-28, 2004 at the Westin Santa Clara, Santa Clara, CA. For more info or to register for this conference, go to: http://conferences.oreilly.com/macosxcon/ ***Put Up an O'Reilly Mac OS X Conference Banner, Get a Free Book We are looking for user groups to display our conference banner on their web sites. If you send me the link to your user group site with our O'Reilly Mac OS X Conference banner, I will send you the O'Reilly book of your choice. O'Reilly Mac OS X Conference Banners: http://ug.oreilly.com/banners/macosx2004/ ***Is Your Group Listed on the User Group Wiki? Here is the New and Improved URL: http://wiki.oreillynet.com/usergroups/index.cgi ================================================================ O'Reilly News for User Group Members October 1, 2004 ================================================================ ---------------------------------------------------------------- Book News ---------------------------------------------------------------- -Exploring the JDS Linux Desktop -XML in a Nutshell, 3rd Edition -Adobe InDesign CS One-on-One -Adobe Encore DVD: In the Studio -Building the Perfect PC -Head First Servlets & JSP -Java Threads, 3rd Edition ---------------------------------------------------------------- Upcoming Events ---------------------------------------------------------------- -Peter Morville ("Information Architecture for the World Wide Web") Information Architecture & Findability Seminar, San Francisco, CA--October 25 -Dru Lavigne ("BSD Hacks"), EuroBSDCon, Karlsruhe, Germany-- October 27-November 2 ---------------------------------------------------------------- Conference News ---------------------------------------------------------------- -O'Reilly Mac OS X Conference, Santa Clara, CA--October 25-28 -Call for Participation: The MySQL Users Conference-- Proposals are due by November 1 ---------------------------------------------------------------- News ---------------------------------------------------------------- -O'Reilly Now Distributes SitePoint Web Development Books -Hacking PayPal -The New Bloglines Web Services -O'Reilly's New Magazine for Technology Projects--"Make" -Move Beyond Amateur Filmmaking -O'Reilly Digital Media Professionals Directory -Open Source Content Management with Plone -FreeBSD Bag of Tricks -Save 50% on Linux/Unix System Administration Online Courses -Introduction to Quartz 2D for QuickDraw Programmers -Top Ten Tips for Mac OS X Con 2004 -Troubleshooting Printer Problems -Master Pages in ASP.NET -Reporting Application Errors by Email -Groovy, Java's New Scripting Language ================================================ Book News ================================================ Did you know you can request a free book to review for your group? Ask your group leader for more information. For book review writing tips and suggestions, go to: http://ug.oreilly.com/bookreviews.html Don't forget, you can receive 20% off any O'Reilly, No Starch, Paraglyph, Pragmatic Bookshelf, SitePoint, or Syngress book you purchase directly from O'Reilly. Just use code DSUG when ordering online or by phone (800-998-9938). http://www.oreilly.com/ ***Free ground shipping is available for online orders of at least $29.95 that go to a single U.S. address. This offer applies to U.S. delivery addresses in the 50 states and Puerto Rico. For more details, go to: http://www.oreilly.com/news/freeshipping_0703.html ---------------------------------------------------------------- New Releases ---------------------------------------------------------------- ***Exploring the JDS Linux Desktop Publisher: O'Reilly ISBN: 0596007523 "Exploring the JDS Linux Desktop" is the ideal guide to JDS: it's clear and direct, but loaded with insights from authors who have spent time working with, supporting, and enhancing the system. The book carefully covers such housekeeping chores as setting up networking, updates, and backups. It enters into great depth concerning the key productivity tools every user needs: email, web browsing, instant messaging, word processing, spreadsheets, and slide presentations. And it includes chapters and appendices on useful tools and system add-ons. http://www.oreilly.com/catalog/jds/ Chapter 4, "JDS Networking," is available online: http://www.oreilly.com/catalog/jds/chapter/index.html ***XML in a Nutshell, 3rd Edition Publisher: O'Reilly ISBN: 0596007647 There's a lot to know about XML, and it's constantly evolving. But you don't need to commit every syntax, API, or XSLT transformation to memory; you only need to know where to find it. This powerful new edition is the comprehensive XML reference. Serious users of XML will find coverage on just about everything they need, from fundamental syntax rules, to details of DTD and XML Schema creation, to XSLT transformations, to APIs used for processing XML documents. http://www.oreilly.com/catalog/xmlnut3/ Chapter 9, "XPath," is available online: http://www.oreilly.com/catalog/xmlnut3/chapter/index.html ***Adobe InDesign CS One-on-One Publisher: O'Reilly ISBN: 0596007361 Adobe InDesign is widely regarded as the page layout/publishing program for the new millennium. In this book, Adobe-certified expert Deke McClelland guides you, at your own pace, through twelve step-by-step lessons that are packed with entertaining and informative real-world projects. There are more than 500 full-color photos, diagrams, and screen shots, as well as tips and tricks for tapping into InDesign's most powerful capabilities. Also included are two hours of video instruction on CD that will help you master fundamental and advanced concepts, best practices, and techniques. http://www.oreilly.com/catalog/adobeindesign/ ***Adobe Encore DVD: In the Studio Publisher: O'Reilly ISBN: 0596006004 If you're looking for a stimulating way to master Adobe Encore DVD and fine-tune your moviemaking skills, here it is. This full-color tutorial will help you push the limits of Adobe Encore DVD by helping you create highly imaginative designs and projects. Designed for Adobe Creative Suite developers and filmmakers, this book combines practical learning materials and project-based lessons. With this comprehensive tutorial, you'll be able to quickly develop professional-looking DVDs studded with special effects worthy of a Hollywood studio. http://www.oreilly.com/catalog/adobedvd/ Chapter 2, "Deconstructing DVDs," is available online: http://www.oreilly.com/catalog/adobedvd/chapter/ch02.pdf ***Building the Perfect PC Publisher: O'Reilly ISBN: 0596006632 For many computer users, a ready-made system is about as satisfying as a frozen microwave dinner: sure, it works, but it's not exactly what you need or want. Don't accept the assortment of components bundled for your price point; build your own PC. With straightforward language, clear end-to-end instructions, and extensive illustrations, this book covers a variety of complete systems and their components. Regardless of your experience, you can take control and create your ideal machine. http://www.oreilly.com/catalog/buildpc/ Chapter 1, "Fundamentals," is available online: http://www.oreilly.com/catalog/buildpc/chapter/index.html ***Head First Servlets & JSP Publisher: O'Reilly ISBN: 0596005407 "Head First Servlets & JSP" will help you truly understand the latest version, J2EE 1.4, of Servlets and JSP. You'll learn how to write Servlets and JSPs, what makes the Container tick, how to use the new JSP Expression Language (EL), and even some server-side design patterns. Written by the creators of the Sun Certified Web Component Developer (SCWCD) 1.4 exam, this book will help you pass the exam, talk about Struts at dinner parties, and put Servlets and JSP to work right away. http://www.oreilly.com/catalog/headservletsjsp/ ***Java Threads, 3rd Edition Publisher: O'Reilly ISBN: 0596007825 The new edition of this classic book shows you how to take full advantage of Java's threading facilities, and it brings you up to date with the significant changes in Java 2 Standard Edition version 5.0 (J2SE 5.0). The book incorporates the concurrency utilities from java.util.concurrent, and new chapters cover thread performance, using threads with Swing, threads and Collection classes, thread pools, and threads and I/O. Get a thorough, step-by-step approach to threads programming. http://www.oreilly.com/catalog/jthreads3/ Chapter 5, "Minimal Synchronization Techniques," is available online: http://www.oreilly.com/catalog/jthreads3/chapter/index.html ================================================ Upcoming Events ================================================ ***For more events, please see: http://events.oreilly.com/ ***Peter Morville ("Information Architecture for the World Wide Web"), Information Architecture & Findability Seminar, San Francisco, CA--October 25 Peter leads a new full-day seminar on information architecture from top to bottom, explaining how search and navigation systems can be designed to support and shape user behavior. http://semanticstudios.com/presentations/iaf/ ***Dru Lavigne ("BSD Hacks"), EuroBSDCon, Karlsruhe, Germany-- October 27-November 2 Dru discusses "But I'm not a developer...how can I contribute to open source?" http://2004.eurobsdcon.org/ ================================================ Conference News ================================================ ***O'Reilly Mac OS X Conference, Santa Clara, CA--October 25-28 This conference brings together what you need to know and what you want to experience. You'll learn how to solve the day to day problems of connected computing, leverage the power of scripting, improve the performance of your network, and protect your systems from intrusion. You'll also get up to speed on grid computing, home automation, streaming media, how to build your own TV studio, and much more. Use code DSUG when you register and receive 20% off conference pricing. To register, go to: http://conferences.oreillynet.com/cs/macosx2004/create/ord_mac04 O'Reilly Mac OS X Conference October 25-28, 2004 Westin Santa Clara, Santa Clara, CA http://conferences.oreilly.com/macosxcon/ ***Call for Participation: The MySQL Users Conference-- Proposals are due by November 1 >From embedded solutions to web-commerce and critical business applications, MySQL is everywhere--with more than five million active installations worldwide. To introduce new users to MySQL and help developers and IT professionals keep pace with the latest advancements, MySQL AB has teamed up with O'Reilly Media, Inc. to co-present the third annual MySQL Users Conference, scheduled for April 18-21, 2005, in Santa Clara, CA. For complete conference details visit: http://www.mysqluc.com Visit the submissions page for all the details on tracks and proposal guidelines--this year's theme is "MySQL Everywhere." Proposals are due no later than November 1, 2004. http://conferences.oreillynet.com/cs/mysqluc2005/create/e_sess ================================================ News From O'Reilly & Beyond ================================================ --------------------- General News --------------------- ***O'Reilly Now Distributes SitePoint Web Development Books We're now the exclusive distributor of SitePoint Pty. Ltd.'s books in North America, launching SitePoint books into the retail channel, providing direct sales, warehousing and shipping, plus direct marketing and PR support. Founded by Matt Mickiewicz and Mark Harbottle, SitePoint has enjoyed great success as one of the first online resources for web developers and designers. Today, 1.8 million visitors a month peruse their forums, articles, and blogs. The company launched their book publishing program in September 2001, has six popular titles in print, and is planning to double the number of in-print titles in the coming year. SitePoint books will be available in North American bookstores as early as October 2004. For a list of current and upcoming books, see: http://sitepoint.oreilly.com/ SitePoint's "Around the World" competition asked SitePoint book customers to submit photos of themselves with their favourite SitePoint book in exotic locales, with famous people or local landmarks. The top of Mt. Fuji, Acropolis, Equator, set of NBC News, and the Austrian Alps are just a few of the locations that SitePoint customers took pictures of with their books in order for a chance to win an Apple iPod. To view entries and winners, go to: http://www.sitepoint.com/competition/ipod_competition/ipod_win_21-09-04.php ***Hacking PayPal Here are two hacks designed to make PayPal more customer-friendly, profitable, and accountable, plus an additional hack to catch Instant Payment Notification (IPN) system errors. Get all the tools and details you need to make PayPal more profitable, more flexible, and more convenient from "PayPal Hacks." http://www.oreillynet.com/pub/a/javascript/excerpt/paypalhacks_chap1/index.html ***The New Bloglines Web Services Marc Hedlund takes a look at the new Bloglines Web Services APIs and their effect on the RSS/Atom landscape, and presents a complete, three-pane desktop RSS/Atom reader written in just 150 lines of code with the Groovy programming language. http://www.oreillynet.com/pub/a/network/2004/09/28/bloglines.html ***O'Reilly's New Magazine for Technology Projects--"Make" "Make" is due out in January 2005, is loaded with exciting projects that help you make the most of your technology at home and away from home. http://make.oreilly.com We've received many suggestions about how we can turn "Make" into a great magazine. But there's still time for you to give us your input. Here are some ways you can join us in the creation of this magazine: 1. The "Make" Workshop--Imagine somebody took all your tools away and handed you a $100 gift certificate that you could spend on hardware at your local big box hardware store. What are the essential things you'd buy? Now, up the price to $300--what would you outfit your workshop with? How about $750? 2. What Are You Using These Days?--In each issue we'll run reviews of stuff. We're interested in hearing about the things you already use and love. Tell us about your favorite new (or old!) tool, magazine, book, instructional video, gadget, web site, etc. in a 300-word email. If we decide to run it, we'll pay you. 3. Projects--Do you have an idea for a technology-related project? It doesn't matter if it's large or small. Tell us about it. If we like it, we'll ask you to write it. You can send email suggestions to marsee@oreilly.com and please include "Make Magazine" in the subject line field. --------------------- Digital Media --------------------- ***Move Beyond Amateur Filmmaking The jump from casual video recording to professional filmmaking requires more steps than many artists realize. Sonoma County filmmaker Susan Boyer walks you through the paces in this illuminating article. http://digitalmedia.oreilly.com/2004/09/29/filmmaking.html ***O'Reilly Digital Media Professionals Directory Check out our new nationwide directory of photographers, musicians, and filmmakers. Here's where you can browse our directory, find and rate professionals, and enter your own listings. You must be logged in with your O'Reilly account to create or rate listings. http://digitalmedia.oreilly.com/dir/index.csp --------------------- Open Source --------------------- ***Open Source Content Management with Plone Publishing web sites is easy for geeks. When you're tired of your users asking you to make tiny changes that they could easily handle themselves, it's time to consider a content management system (CMS). If you're a Python or Zope fan, you may have heard of Plone, a powerful and easy-to-use CMS. If not, let Brad Bollenbach convince you to give it a try. http://www.onlamp.com/pub/a/python/2004/09/23/plone_features.html ***FreeBSD Bag of Tricks Software junkies like Dru Lavigne always file away interesting new programs for their bag of tricks. In this installment of FreeBSD Basics, Dru demonstrates how to use usermin for easy webmail and reveals the convenience and glory of TheOpenCD. http://www.onlamp.com/pub/a/bsd/2004/09/24/FreeBSD_Basics.html ***Save 50% on Linux/Unix System Administration Online Courses O'Reilly is offering a 50% discount on the Linux/Unix Certification Series from their O'Reilly Learning Lab. Save nearly $1000 on these online courses--and earn a University of Illinois System Administration Certificate. Every class includes compelling, hands-on content, root access to a Linux server, an online coach, and a free O'Reilly book. Use the code ORALL1 to get your 50% discount. To enroll for the Learning Lab Linux/Unix Certification Series go to: http://oreilly.useractive.com/linuxa/ --------------------- Mac --------------------- ***Introduction to Quartz 2D for QuickDraw Programmers Apple is moving from QuickDraw to Quartz for the handling of 2D graphics in Mac OS X. Scott Thompson introduces you to the concepts behind Quartz 2D, and explains how to make the transition from QuickDraw. http://www.macdevcenter.com/pub/a/mac/2004/09/28/quartz.html ***Top Ten Tips for Mac OS X Con 2004 The upcoming O'Reilly Mac conference will be different than your typical tech gathering--requiring that you prepare differently, too. Program chair Derrick Story shares his top ten "getting ready" tips for this innovative event. http://www.macdevcenter.com/pub/a/mac/2004/09/24/conference_tips.html --------------------- Windows/.NET --------------------- ***Troubleshooting Printer Problems Not being able to print is rather annoying, for both users and the administrators who come to their aid. Mitch Tulloch shows you how to quickly troubleshoot and solve printing problems. http://www.windowsdevcenter.com/pub/a/windows/2004/09/28/printer_problems.html ***Master Pages in ASP.NET On many web sites, it is important to achieve a consistent "look and feel" as the user moves from page to page. While this was possible with .NET 1.1, it was difficult and required both programmer and designer discipline. ASP.NET 2.0 makes this far easier with the creation of master pages. Jesse Liberty shows you how master pages work in ASP.NET 2.0. http://www.ondotnet.com/pub/a/dotnet/2004/09/27/libertyonwhidbey.html --------------------- Java --------------------- ***Reporting Application Errors by Email Even if your application logs an error to a local file, the developer doesn't know there's a problem until a user notices it and sends the log file back. It can be more useful for apps to email their own error messages back. And as Sean C. Sullivan explains, it's not hard to do with either log4j or java.util.logging. http://www.onjava.com/pub/a/onjava/2004/09/29/smtp-logging.html ***Groovy, Java's New Scripting Language When experienced Java developers hear about Groovy, their first reaction is often, "Oh, no, not another scripting language for Java." Ian Darwin had the same reaction, until he took a good look at Groovy. Ian is the author of "Java Cookbook, 2nd Edition." http://www.onjava.com/pub/a/onjava/2004/09/29/groovy.html ================================================ O'Reilly User Group Wiki ================================================ Don't forget to check out the O'Reilly UG wiki to see what user groups across the globe are up to: http://wiki.oreillynet.com/usergroups/index.cgi Until next time-- Marsee From grant at mclean.net.nz Sun Oct 3 02:51:39 2004 From: grant at mclean.net.nz (Grant McLean) Date: Sun Oct 3 02:51:57 2004 Subject: [Wellington-pm] Fwd: Newsletter from O'Reilly UG Program, October 1 Message-ID: <1096789856.3297.8.camel@localhost> -----Forwarded Message----- From: Marsee Henon To: perlmongers@catalyst.net.nz Subject: Newsletter from O'Reilly UG Program, October 1 Date: Fri, 01 Oct 2004 11:25:21 -0700 ================================================================ O'Reilly UG Program News--Just for User Group Leaders October 1, 2004 ================================================================ -Attending the O'Reilly Mac OS X Conference? Let's get together -Put Up an O'Reilly Mac OS X Conference Banner, Get a Free Book -Is Your Group Listed on the User Group Wiki? ---------------------------------------------------------------- Book Info ---------------------------------------------------------------- ***Review books are available Copies of our books are available for your members to review-- send me an email and please include the book's ISBN number on your request. Let me know if you need your book by a certain date. Allow at least four weeks for shipping. ***Please send copies of your book reviews Email me a copy of your newsletters or book reviews. For tips and suggestions on writing book reviews, go to: http://ug.oreilly.com/bookreviews.html ***Discount information Don't forget to remind your members about our 20% discount on O'Reilly, No Starch, Paraglyph, Pragmatic Bookshelf, SitePoint, and Syngress books and O'Reilly conferences. Just use code DSUG. ***Group purchases with better discounts are available Please let me know if you are interested and I can put you in touch with our sales department. ---------------------------------------------------------------- General News ---------------------------------------------------------------- ***Please let your members know! User Group leaders and members attending the O'Reilly Mac OS X Conference-- come meet up with Marsee Henon (O'Reilly User Group Coordinator) and Lorene Romero (Apple User Group Advisory Board Vendor Relation Coordinator and North Coast Mac Users Group President) on Wednesday, October 27 from 5:00pm to 7:00pm at the bar in the lobby of the Westin Santa Clara. We can swap stories, ideas, or just hang out. And afterwards, we can attend the "Real-Time Filmmaking on Mac OS X" talk. http://conferences.oreillynet.com/cs/macosx2004/view/e_sess/5705 The O'Reilly Mac OS X Conference is October 25-28, 2004 at the Westin Santa Clara, Santa Clara, CA. For more info or to register for this conference, go to: http://conferences.oreilly.com/macosxcon/ ***Put Up an O'Reilly Mac OS X Conference Banner, Get a Free Book We are looking for user groups to display our conference banner on their web sites. If you send me the link to your user group site with our O'Reilly Mac OS X Conference banner, I will send you the O'Reilly book of your choice. O'Reilly Mac OS X Conference Banners: http://ug.oreilly.com/banners/macosx2004/ ***Is Your Group Listed on the User Group Wiki? Here is the New and Improved URL: http://wiki.oreillynet.com/usergroups/index.cgi ================================================================ O'Reilly News for User Group Members October 1, 2004 ================================================================ ---------------------------------------------------------------- Book News ---------------------------------------------------------------- -Exploring the JDS Linux Desktop -XML in a Nutshell, 3rd Edition -Adobe InDesign CS One-on-One -Adobe Encore DVD: In the Studio -Building the Perfect PC -Head First Servlets & JSP -Java Threads, 3rd Edition ---------------------------------------------------------------- Upcoming Events ---------------------------------------------------------------- -Peter Morville ("Information Architecture for the World Wide Web") Information Architecture & Findability Seminar, San Francisco, CA--October 25 -Dru Lavigne ("BSD Hacks"), EuroBSDCon, Karlsruhe, Germany-- October 27-November 2 ---------------------------------------------------------------- Conference News ---------------------------------------------------------------- -O'Reilly Mac OS X Conference, Santa Clara, CA--October 25-28 -Call for Participation: The MySQL Users Conference-- Proposals are due by November 1 ---------------------------------------------------------------- News ---------------------------------------------------------------- -O'Reilly Now Distributes SitePoint Web Development Books -Hacking PayPal -The New Bloglines Web Services -O'Reilly's New Magazine for Technology Projects--"Make" -Move Beyond Amateur Filmmaking -O'Reilly Digital Media Professionals Directory -Open Source Content Management with Plone -FreeBSD Bag of Tricks -Save 50% on Linux/Unix System Administration Online Courses -Introduction to Quartz 2D for QuickDraw Programmers -Top Ten Tips for Mac OS X Con 2004 -Troubleshooting Printer Problems -Master Pages in ASP.NET -Reporting Application Errors by Email -Groovy, Java's New Scripting Language ================================================ Book News ================================================ Did you know you can request a free book to review for your group? Ask your group leader for more information. For book review writing tips and suggestions, go to: http://ug.oreilly.com/bookreviews.html Don't forget, you can receive 20% off any O'Reilly, No Starch, Paraglyph, Pragmatic Bookshelf, SitePoint, or Syngress book you purchase directly from O'Reilly. Just use code DSUG when ordering online or by phone (800-998-9938). http://www.oreilly.com/ ***Free ground shipping is available for online orders of at least $29.95 that go to a single U.S. address. This offer applies to U.S. delivery addresses in the 50 states and Puerto Rico. For more details, go to: http://www.oreilly.com/news/freeshipping_0703.html ---------------------------------------------------------------- New Releases ---------------------------------------------------------------- ***Exploring the JDS Linux Desktop Publisher: O'Reilly ISBN: 0596007523 "Exploring the JDS Linux Desktop" is the ideal guide to JDS: it's clear and direct, but loaded with insights from authors who have spent time working with, supporting, and enhancing the system. The book carefully covers such housekeeping chores as setting up networking, updates, and backups. It enters into great depth concerning the key productivity tools every user needs: email, web browsing, instant messaging, word processing, spreadsheets, and slide presentations. And it includes chapters and appendices on useful tools and system add-ons. http://www.oreilly.com/catalog/jds/ Chapter 4, "JDS Networking," is available online: http://www.oreilly.com/catalog/jds/chapter/index.html ***XML in a Nutshell, 3rd Edition Publisher: O'Reilly ISBN: 0596007647 There's a lot to know about XML, and it's constantly evolving. But you don't need to commit every syntax, API, or XSLT transformation to memory; you only need to know where to find it. This powerful new edition is the comprehensive XML reference. Serious users of XML will find coverage on just about everything they need, from fundamental syntax rules, to details of DTD and XML Schema creation, to XSLT transformations, to APIs used for processing XML documents. http://www.oreilly.com/catalog/xmlnut3/ Chapter 9, "XPath," is available online: http://www.oreilly.com/catalog/xmlnut3/chapter/index.html ***Adobe InDesign CS One-on-One Publisher: O'Reilly ISBN: 0596007361 Adobe InDesign is widely regarded as the page layout/publishing program for the new millennium. In this book, Adobe-certified expert Deke McClelland guides you, at your own pace, through twelve step-by-step lessons that are packed with entertaining and informative real-world projects. There are more than 500 full-color photos, diagrams, and screen shots, as well as tips and tricks for tapping into InDesign's most powerful capabilities. Also included are two hours of video instruction on CD that will help you master fundamental and advanced concepts, best practices, and techniques. http://www.oreilly.com/catalog/adobeindesign/ ***Adobe Encore DVD: In the Studio Publisher: O'Reilly ISBN: 0596006004 If you're looking for a stimulating way to master Adobe Encore DVD and fine-tune your moviemaking skills, here it is. This full-color tutorial will help you push the limits of Adobe Encore DVD by helping you create highly imaginative designs and projects. Designed for Adobe Creative Suite developers and filmmakers, this book combines practical learning materials and project-based lessons. With this comprehensive tutorial, you'll be able to quickly develop professional-looking DVDs studded with special effects worthy of a Hollywood studio. http://www.oreilly.com/catalog/adobedvd/ Chapter 2, "Deconstructing DVDs," is available online: http://www.oreilly.com/catalog/adobedvd/chapter/ch02.pdf ***Building the Perfect PC Publisher: O'Reilly ISBN: 0596006632 For many computer users, a ready-made system is about as satisfying as a frozen microwave dinner: sure, it works, but it's not exactly what you need or want. Don't accept the assortment of components bundled for your price point; build your own PC. With straightforward language, clear end-to-end instructions, and extensive illustrations, this book covers a variety of complete systems and their components. Regardless of your experience, you can take control and create your ideal machine. http://www.oreilly.com/catalog/buildpc/ Chapter 1, "Fundamentals," is available online: http://www.oreilly.com/catalog/buildpc/chapter/index.html ***Head First Servlets & JSP Publisher: O'Reilly ISBN: 0596005407 "Head First Servlets & JSP" will help you truly understand the latest version, J2EE 1.4, of Servlets and JSP. You'll learn how to write Servlets and JSPs, what makes the Container tick, how to use the new JSP Expression Language (EL), and even some server-side design patterns. Written by the creators of the Sun Certified Web Component Developer (SCWCD) 1.4 exam, this book will help you pass the exam, talk about Struts at dinner parties, and put Servlets and JSP to work right away. http://www.oreilly.com/catalog/headservletsjsp/ ***Java Threads, 3rd Edition Publisher: O'Reilly ISBN: 0596007825 The new edition of this classic book shows you how to take full advantage of Java's threading facilities, and it brings you up to date with the significant changes in Java 2 Standard Edition version 5.0 (J2SE 5.0). The book incorporates the concurrency utilities from java.util.concurrent, and new chapters cover thread performance, using threads with Swing, threads and Collection classes, thread pools, and threads and I/O. Get a thorough, step-by-step approach to threads programming. http://www.oreilly.com/catalog/jthreads3/ Chapter 5, "Minimal Synchronization Techniques," is available online: http://www.oreilly.com/catalog/jthreads3/chapter/index.html ================================================ Upcoming Events ================================================ ***For more events, please see: http://events.oreilly.com/ ***Peter Morville ("Information Architecture for the World Wide Web"), Information Architecture & Findability Seminar, San Francisco, CA--October 25 Peter leads a new full-day seminar on information architecture from top to bottom, explaining how search and navigation systems can be designed to support and shape user behavior. http://semanticstudios.com/presentations/iaf/ ***Dru Lavigne ("BSD Hacks"), EuroBSDCon, Karlsruhe, Germany-- October 27-November 2 Dru discusses "But I'm not a developer...how can I contribute to open source?" http://2004.eurobsdcon.org/ ================================================ Conference News ================================================ ***O'Reilly Mac OS X Conference, Santa Clara, CA--October 25-28 This conference brings together what you need to know and what you want to experience. You'll learn how to solve the day to day problems of connected computing, leverage the power of scripting, improve the performance of your network, and protect your systems from intrusion. You'll also get up to speed on grid computing, home automation, streaming media, how to build your own TV studio, and much more. Use code DSUG when you register and receive 20% off conference pricing. To register, go to: http://conferences.oreillynet.com/cs/macosx2004/create/ord_mac04 O'Reilly Mac OS X Conference October 25-28, 2004 Westin Santa Clara, Santa Clara, CA http://conferences.oreilly.com/macosxcon/ ***Call for Participation: The MySQL Users Conference-- Proposals are due by November 1 >From embedded solutions to web-commerce and critical business applications, MySQL is everywhere--with more than five million active installations worldwide. To introduce new users to MySQL and help developers and IT professionals keep pace with the latest advancements, MySQL AB has teamed up with O'Reilly Media, Inc. to co-present the third annual MySQL Users Conference, scheduled for April 18-21, 2005, in Santa Clara, CA. For complete conference details visit: http://www.mysqluc.com Visit the submissions page for all the details on tracks and proposal guidelines--this year's theme is "MySQL Everywhere." Proposals are due no later than November 1, 2004. http://conferences.oreillynet.com/cs/mysqluc2005/create/e_sess ================================================ News From O'Reilly & Beyond ================================================ --------------------- General News --------------------- ***O'Reilly Now Distributes SitePoint Web Development Books We're now the exclusive distributor of SitePoint Pty. Ltd.'s books in North America, launching SitePoint books into the retail channel, providing direct sales, warehousing and shipping, plus direct marketing and PR support. Founded by Matt Mickiewicz and Mark Harbottle, SitePoint has enjoyed great success as one of the first online resources for web developers and designers. Today, 1.8 million visitors a month peruse their forums, articles, and blogs. The company launched their book publishing program in September 2001, has six popular titles in print, and is planning to double the number of in-print titles in the coming year. SitePoint books will be available in North American bookstores as early as October 2004. For a list of current and upcoming books, see: http://sitepoint.oreilly.com/ SitePoint's "Around the World" competition asked SitePoint book customers to submit photos of themselves with their favourite SitePoint book in exotic locales, with famous people or local landmarks. The top of Mt. Fuji, Acropolis, Equator, set of NBC News, and the Austrian Alps are just a few of the locations that SitePoint customers took pictures of with their books in order for a chance to win an Apple iPod. To view entries and winners, go to: http://www.sitepoint.com/competition/ipod_competition/ipod_win_21-09-04.php ***Hacking PayPal Here are two hacks designed to make PayPal more customer-friendly, profitable, and accountable, plus an additional hack to catch Instant Payment Notification (IPN) system errors. Get all the tools and details you need to make PayPal more profitable, more flexible, and more convenient from "PayPal Hacks." http://www.oreillynet.com/pub/a/javascript/excerpt/paypalhacks_chap1/index.html ***The New Bloglines Web Services Marc Hedlund takes a look at the new Bloglines Web Services APIs and their effect on the RSS/Atom landscape, and presents a complete, three-pane desktop RSS/Atom reader written in just 150 lines of code with the Groovy programming language. http://www.oreillynet.com/pub/a/network/2004/09/28/bloglines.html ***O'Reilly's New Magazine for Technology Projects--"Make" "Make" is due out in January 2005, is loaded with exciting projects that help you make the most of your technology at home and away from home. http://make.oreilly.com We've received many suggestions about how we can turn "Make" into a great magazine. But there's still time for you to give us your input. Here are some ways you can join us in the creation of this magazine: 1. The "Make" Workshop--Imagine somebody took all your tools away and handed you a $100 gift certificate that you could spend on hardware at your local big box hardware store. What are the essential things you'd buy? Now, up the price to $300--what would you outfit your workshop with? How about $750? 2. What Are You Using These Days?--In each issue we'll run reviews of stuff. We're interested in hearing about the things you already use and love. Tell us about your favorite new (or old!) tool, magazine, book, instructional video, gadget, web site, etc. in a 300-word email. If we decide to run it, we'll pay you. 3. Projects--Do you have an idea for a technology-related project? It doesn't matter if it's large or small. Tell us about it. If we like it, we'll ask you to write it. You can send email suggestions to marsee@oreilly.com and please include "Make Magazine" in the subject line field. --------------------- Digital Media --------------------- ***Move Beyond Amateur Filmmaking The jump from casual video recording to professional filmmaking requires more steps than many artists realize. Sonoma County filmmaker Susan Boyer walks you through the paces in this illuminating article. http://digitalmedia.oreilly.com/2004/09/29/filmmaking.html ***O'Reilly Digital Media Professionals Directory Check out our new nationwide directory of photographers, musicians, and filmmakers. Here's where you can browse our directory, find and rate professionals, and enter your own listings. You must be logged in with your O'Reilly account to create or rate listings. http://digitalmedia.oreilly.com/dir/index.csp --------------------- Open Source --------------------- ***Open Source Content Management with Plone Publishing web sites is easy for geeks. When you're tired of your users asking you to make tiny changes that they could easily handle themselves, it's time to consider a content management system (CMS). If you're a Python or Zope fan, you may have heard of Plone, a powerful and easy-to-use CMS. If not, let Brad Bollenbach convince you to give it a try. http://www.onlamp.com/pub/a/python/2004/09/23/plone_features.html ***FreeBSD Bag of Tricks Software junkies like Dru Lavigne always file away interesting new programs for their bag of tricks. In this installment of FreeBSD Basics, Dru demonstrates how to use usermin for easy webmail and reveals the convenience and glory of TheOpenCD. http://www.onlamp.com/pub/a/bsd/2004/09/24/FreeBSD_Basics.html ***Save 50% on Linux/Unix System Administration Online Courses O'Reilly is offering a 50% discount on the Linux/Unix Certification Series from their O'Reilly Learning Lab. Save nearly $1000 on these online courses--and earn a University of Illinois System Administration Certificate. Every class includes compelling, hands-on content, root access to a Linux server, an online coach, and a free O'Reilly book. Use the code ORALL1 to get your 50% discount. To enroll for the Learning Lab Linux/Unix Certification Series go to: http://oreilly.useractive.com/linuxa/ --------------------- Mac --------------------- ***Introduction to Quartz 2D for QuickDraw Programmers Apple is moving from QuickDraw to Quartz for the handling of 2D graphics in Mac OS X. Scott Thompson introduces you to the concepts behind Quartz 2D, and explains how to make the transition from QuickDraw. http://www.macdevcenter.com/pub/a/mac/2004/09/28/quartz.html ***Top Ten Tips for Mac OS X Con 2004 The upcoming O'Reilly Mac conference will be different than your typical tech gathering--requiring that you prepare differently, too. Program chair Derrick Story shares his top ten "getting ready" tips for this innovative event. http://www.macdevcenter.com/pub/a/mac/2004/09/24/conference_tips.html --------------------- Windows/.NET --------------------- ***Troubleshooting Printer Problems Not being able to print is rather annoying, for both users and the administrators who come to their aid. Mitch Tulloch shows you how to quickly troubleshoot and solve printing problems. http://www.windowsdevcenter.com/pub/a/windows/2004/09/28/printer_problems.html ***Master Pages in ASP.NET On many web sites, it is important to achieve a consistent "look and feel" as the user moves from page to page. While this was possible with .NET 1.1, it was difficult and required both programmer and designer discipline. ASP.NET 2.0 makes this far easier with the creation of master pages. Jesse Liberty shows you how master pages work in ASP.NET 2.0. http://www.ondotnet.com/pub/a/dotnet/2004/09/27/libertyonwhidbey.html --------------------- Java --------------------- ***Reporting Application Errors by Email Even if your application logs an error to a local file, the developer doesn't know there's a problem until a user notices it and sends the log file back. It can be more useful for apps to email their own error messages back. And as Sean C. Sullivan explains, it's not hard to do with either log4j or java.util.logging. http://www.onjava.com/pub/a/onjava/2004/09/29/smtp-logging.html ***Groovy, Java's New Scripting Language When experienced Java developers hear about Groovy, their first reaction is often, "Oh, no, not another scripting language for Java." Ian Darwin had the same reaction, until he took a good look at Groovy. Ian is the author of "Java Cookbook, 2nd Edition." http://www.onjava.com/pub/a/onjava/2004/09/29/groovy.html ================================================ O'Reilly User Group Wiki ================================================ Don't forget to check out the O'Reilly UG wiki to see what user groups across the globe are up to: http://wiki.oreillynet.com/usergroups/index.cgi Until next time-- Marsee From jarich at perltraining.com.au Mon Oct 11 00:47:16 2004 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon Oct 11 00:47:24 2004 Subject: [Wellington-pm] OSDC open for registrations Message-ID: <416A1E64.4090005@perltraining.com.au> G'day folk, This is a quick note to let you know that the Open Source Developers Conference is now open for registration. This conference will be run on the 1st - 3rd of December 2004 at Monash University, Caulfield in Melbourne, Australia. The cost is $230 and the early bird date expires on the 15th of October. OSDC is a grassroots-style conference designed by developers for developers, covering open source languages, tools, libraries, operating systems, licences and business models. The conference will include tracks devoted to Perl, Python, PHP and other tools. You can register online at http://www.osdc.com.au/ We look forward to seeing you in December! All the very best, Jacinta Richardson -- OSDC Program Chair -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact@perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From matt at dessicated.org Mon Oct 11 03:27:59 2004 From: matt at dessicated.org (Matthew Hunt) Date: Mon Oct 11 03:28:01 2004 Subject: [Wellington-pm] OSDC open for registrations In-Reply-To: <416A1E64.4090005@perltraining.com.au> References: <416A1E64.4090005@perltraining.com.au> Message-ID: <20041011082759.GA6208@chorlton.dessicated.org> On Mon, Oct 11, 2004 at 03:47:16PM +1000, Jacinta Richardson wrote: > The cost is $230 and the early bird date expires on the 15th of October. Those are some real early birds you've got there. A full four days to consider it. > OSDC is a grassroots-style conference [..] By which, I take it that you mean utterly disorganised. I've been following the web site occasionally for about six months now (since the time it was announced as the YAPC::AU conference) and haven't been able to find a scrap of extra information about what to expect from it. > You can register online at http://www.osdc.com.au/ Why would you bother? What is actually happening? Or is it some great secret that needs to be concealed behind a few comic strips to save us from ruining the surprise? > We look forward to seeing you in December! I'm on holiday anyway, but I have to say that I was surprised that the conference was even going ahead given the lack of any apparent organisation or programme. You can call me a cynic, but I think that more people would be inclined to part with the money if they knew anything about what they might get for it. Regards, Matt. -- Matthew Hunt From michael at diaspora.gen.nz Mon Oct 11 06:09:29 2004 From: michael at diaspora.gen.nz (michael@diaspora.gen.nz) Date: Mon Oct 11 06:10:01 2004 Subject: [Wellington-pm] Stripping spaces. Message-ID: At the meeting tonight, the regexp expression: s/^\s+|\s+$//g was discussed, and whether or not it was more or less efficient than: s/^\s+//g; s/\s+$//g; (ie, if splitting the expression in two led to better performance). The answer is, for some reason, it does. This is probably a bug or something, but I don't care enough to file it as one. Viz: pivot$ perl test_re.pl Benchmark: timing 10000 iterations of Combined, Combined_m, Combined_s, Split... Combined: 32 wallclock secs (32.78 usr + 0.00 sys = 32.78 CPU) @ 305.06/s (n=10000) Combined_m: 34 wallclock secs (33.44 usr + 0.01 sys = 33.45 CPU) @ 298.95/s (n=10000) Combined_s: 34 wallclock secs (33.27 usr + 0.02 sys = 33.29 CPU) @ 300.39/s (n=10000) Split: 1 wallclock secs ( 0.94 usr + 0.00 sys = 0.94 CPU) @ 10638.30/s (n=10000) pivot$ perl -v This is perl, v5.8.4 built for i386-linux-thread-multi ... pivot$ cat test_re.pl #!perl use Benchmark qw!:all!; my $string_spaces = ' ' . 'a' x 2000 . ' '; my $string_nospace = 'a' x 2000; timethese(10_000, { 'Combined' => sub { my $s = $string_spaces; $s =~ s/^\s+|\s+$//g; $s = $string_nospace; $s =~ s/^\s+|\s+$//g; }, 'Split' => sub { my $s = $string_spaces; $s =~ s/^\s+//g; $s =~ s/\s+$//g; $s = $string_nospace; $s =~ s/^\s+//g; $s =~ s/\s+$//g; }, 'Combined_s' => sub { my $s = $string_spaces; $s =~ s/^\s+|\s+$//sg; $s = $string_nospace; $s =~ s/^\s+|\s+$//sg; }, 'Combined_m' => sub { my $s = $string_spaces; $s =~ s/^\s+|\s+$//mg; $s = $string_nospace; $s =~ s/^\s+|\s+$//mg; }, }); From jarich at perltraining.com.au Mon Oct 11 07:55:06 2004 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon Oct 11 07:55:11 2004 Subject: [Wellington-pm] OSDC open for registrations In-Reply-To: <20041011082759.GA6208@chorlton.dessicated.org> References: <416A1E64.4090005@perltraining.com.au> <20041011082759.GA6208@chorlton.dessicated.org> Message-ID: <416A82AA.6080804@perltraining.com.au> Matthew Hunt wrote: > On Mon, Oct 11, 2004 at 03:47:16PM +1000, Jacinta Richardson wrote: > >>The cost is $230 and the early bird date expires on the 15th of October. > > Those are some real early birds you've got there. A full four days to > consider it. I apologise for the really short notice. We have been extremely busy in the last few months and simple but important things have been getting away from us. As the programme chair my primary focus over the last while has been on chasing speakers for their papers and passing these to reviewers. As a result I have not been as diligent as I ought to have been in making sure that notice of our registrations finally being open, got out to the PM groups. >>OSDC is a grassroots-style conference [..] > > By which, I take it that you mean utterly disorganised. I've been > following the web site occasionally for about six months now (since the > time it was announced as the YAPC::AU conference) and haven't been able > to find a scrap of extra information about what to expect from it. I would like to apologise that our website coverage has been patchy, however it hasn't been (entirely) stagnant. Our list of talks can be found at: http://www.osdc.com.au/papers/index.html Once we have sufficient registrations, we'll be able to better judge which streams will be popular and create the timetable with respect to that. >>You can register online at http://www.osdc.com.au/ > > Why would you bother? What is actually happening? These are very good questions, and I thank you sincerely for pointing out to me that they have not been adequetly covered. I've been so deeply involved in organising the talks and papers that I didn't realise that not everyone knew all about them. We're not just "covering Perl, Python and PHP" over 3 days. We're booking 3 lecture rooms each day for the 3 days and every single slot is filled with a talk. There are 60 different talks by 45 different speakers, not including the keynotes. Roughly half of these are Perl related. Talks topics range all over the place from dealing with hardware in Perl, to designing cochlear implants with Python to writing large-scale PHP. We also have talks on the Firebird Database, Mozilla XUL, Lego Micromouse (and maze solving), MySQL, CVS, Make, DocBook and writing games with Javascript. You can find the list of speakers and talk titles at http://www.osdc.com.au/papers/index.html Speaker names listed as "unavailable" means that that speaker opted to have their paper refereed. Their names will appear once the refereeing process is over. There will also be a key-signing, several BOFs (yet to be organised), lots of opportunities to socialise, a semi-formal dinner, a partners' programme and other usual conference stuff. Our catering choices should result in you being extraordinarily well fed throughout the days of the conference. The talks are such that I believe I'm going to find it quite difficult to see everything I want to see. In our initial timetable it was impossible to put all the talks that interested me in sequential timeslots, there are too many good talks to fit in the 5 hours of talk time we have per day (plus 1.5 hours for the keynote, 1 hour for lunch and 2 by 30 minute tea breaks). If you have any other questions about what is happening, please don't hesitate to ask. > Or is it some great > secret that needs to be concealed behind a few comic strips to save us > from ruining the surprise? :) No big secret, just not an awareness that we haven't communicated this information. Thankyou again for bringing it to our attention. >>We look forward to seeing you in December! > > I'm on holiday anyway, but I have to say that I was surprised that the > conference was even going ahead given the lack of any apparent > organisation or programme. > > You can call me a cynic, but I think that more people would be inclined > to part with the money if they knew anything about what they might get > for it. Sure, it's cynical. Afterall, why wouldn't Perl Mongers want to come to the first YAPC in the southern hemisphere? ;) I agree entirely that people are much more likely to part with their money if they feel that the conference will be fun and useful to them. Especially people in New Zealand who'll need an extra reason to part with the money to fly over to Melbourne. I appreciate your email and if you are able to provide further feedback and pointers to material you feel is not being adequetly conveyed, we would really appreciate it. All the best, Jacinta Richardson -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact@perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From matt at dessicated.org Mon Oct 11 14:09:32 2004 From: matt at dessicated.org (Matthew Hunt) Date: Mon Oct 11 14:09:36 2004 Subject: [Wellington-pm] OSDC open for registrations In-Reply-To: <416A82AA.6080804@perltraining.com.au> References: <416A1E64.4090005@perltraining.com.au> <20041011082759.GA6208@chorlton.dessicated.org> <416A82AA.6080804@perltraining.com.au> Message-ID: <20041011190932.GA7651@chorlton.dessicated.org> Jacinta, Please accept my apologies for my crankiness, and thanks for the clear responses. I'd say that, having seen the programme now, I'm a lot more disappointed that I won't make it to the conference. My main problems arose from relying on the web site as a source of information. I'd recommend highlighting the contents of the programme better (I never thought to click on the Papers link in the navigation as it looked like a heading, not a link to me and following the links under it didn't help much). The mailing list link might have been better elided as well given that it hasn't been, shall we say, busy, and just adds to the impression that not much was going on. Clearly quite a lot has actually been going on, and maybe you could have asked for a volunteer to communicate that. I might even have volunteered myself, if asked nicely :-) I hope that it goes well, and that someone from our organisation can be sent along. Regards, Matt. -- Matthew Hunt From Peter.Love at netkno.com Mon Oct 11 15:31:37 2004 From: Peter.Love at netkno.com (Peter Love) Date: Mon Oct 11 15:32:53 2004 Subject: [Wellington-pm] Stripping spaces. In-Reply-To: References: Message-ID: <416AEDA9.8090907@netkno.com> Hi, Unfortunately I couldn't make it last night - I've got some sort of flu thing. Given I wasn't there, I hope this isn't out of context. > s/^\s+//g; s/\s+$//g; Why have the g modifier on these? As they are anchored, surely there is only one occurence? How would the following compare with the other two? s/^\s*(.*?)\s*$/$1/ Peter From grant at mclean.net.nz Mon Oct 11 16:04:46 2004 From: grant at mclean.net.nz (Grant McLean) Date: Mon Oct 11 16:04:50 2004 Subject: [Wellington-pm] Stripping spaces. In-Reply-To: <416AEDA9.8090907@netkno.com> References: <416AEDA9.8090907@netkno.com> Message-ID: <1097528686.6641.19.camel@localhost> On Tue, 2004-10-12 at 09:31, Peter Love wrote: > > s/^\s+//g; s/\s+$//g; > > Why have the g modifier on these? As they are anchored, surely there is > only one occurence? Yes, the /g is unnecessary and including it does seem to make it a little slower. > How would the following compare with the other two? > s/^\s*(.*?)\s*$/$1/ Horribly :-) The problem with it is that \s* always matches so it always does a substitute even if there are no spaces. I tried tweaking it to look like this: s/^\s+(.*?)\s+$/$1/ But then realised that it would only work for strings with spaces at both ends. It really does depend on the data though. When I used my system dictionary file (which has no spaces), the results looked like this: one_regex: 13 wallclock secs two_regex: 9 wallclock secs capture: 26 wallclock secs But when I used a variation of the file with a random number (0-99) of spaces at the beginning and end, it looked like this: one_regex: 19 wallclock secs two_regex: 13 wallclock secs capture: 31 wallclock secs So although the capture approach starts out worse it doesn't degrade so much when it has to do more work. use strict; use Benchmark; #my $dict_file = '/usr/share/dict/words'; my $dict_file = './space_words'; timethese(50, { 'one_regex' => \&one_regex, 'two_regex' => \&two_regex, 'capture' => \&capture, }); sub one_regex { open my $dict, '<', $dict_file or die "$!"; while(<$dict>) { s/^\s+|\s+$//g; } } sub two_regex { open my $dict, '<', $dict_file or die "$!"; while(<$dict>) { s/^\s+//g; s/\s+$//g; } } sub capture { open my $dict, '<', $dict_file or die "$!"; while(<$dict>) { s/^\s*(.*?)\s*$/$1/ } } From michael at diaspora.gen.nz Mon Oct 11 18:02:04 2004 From: michael at diaspora.gen.nz (michael@diaspora.gen.nz) Date: Mon Oct 11 18:02:37 2004 Subject: [Wellington-pm] Stripping spaces. In-Reply-To: Your message of "Tue, 12 Oct 2004 10:04:46 +1300." <1097528686.6641.19.camel@localhost> Message-ID: Grant McLean writes: >On Tue, 2004-10-12 at 09:31, Peter Love wrote: >> > s/^\s+//g; s/\s+$//g; >> >> Why have the g modifier on these? As they are anchored, surely there is >> only one occurence? > >Yes, the /g is unnecessary and including it does seem to make it a >little slower. True. A typo on my part; it was still 30 times faster than the other versions, on the test I gave it, so I didn't look closely. I used longer strings than you did with your dict and it therefore seems likely that the behaviour is exponentially worse, instead of linear, in respect of the size of the string. -- michael. From grant at mclean.net.nz Mon Oct 11 18:08:19 2004 From: grant at mclean.net.nz (Grant McLean) Date: Mon Oct 11 18:08:22 2004 Subject: [Wellington-pm] GUI regex thingy Message-ID: <1097536099.10857.1.camel@localhost> Some of you may recall that I promised to demo a GUI regex test thingy - as long as someone reminded me at the end. Well nobody reminded me did they :-) I've attached a screenshot showing how you can put in some test data and a regular expression and the script will tell you if it matched and if so what matched. You can download the script from here: http://use.perl.org/~BooK/journal/21278 It requires the Tk gui modules. I'm pretty sure that's included in the standard ActivePerl distribution for Windows. On my Debian Linux box I needed to do: apt-get install perl-tk No doubt other distributions have a similar package available. Cheers Grant -------------- next part -------------- A non-text attachment was scrubbed... Name: twiddle-regex.png Type: image/png Size: 8466 bytes Desc: not available Url : http://mail.pm.org/archives/wellington-pm/attachments/20041012/f9699713/twiddle-regex.png From jarich at perltraining.com.au Mon Oct 11 21:25:27 2004 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon Oct 11 21:25:36 2004 Subject: [Wellington-pm] Early bird extension for OSDC conference Message-ID: <416B4097.4000807@perltraining.com.au> G'day folk, We agree that giving you 4 days for early bird registration isn't sufficient. As a result we've extended the early bird registration date for everyone. If you register before 31st October 2004 you will receive a conference t-shirt and financial discount. The t-shirts look fantastic. :) You can register at http://www.osdc.com.au/ If you have any other questions about what is happening, please don't hesitate to ask: osdc-help@osdc.com.au All the very best, Jacinta Richardson -- OSDC program chair -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact@perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From richard at walnut.gen.nz Mon Oct 11 22:23:08 2004 From: richard at walnut.gen.nz (Richard Hector) Date: Mon Oct 11 22:23:11 2004 Subject: [Wellington-pm] lookahead/behind in regex Message-ID: <20041012032308.GA21916@walnut.gen.nz> Hi all, Following Grant's talk last night, I'm getting a bit more ambitious :-) given a file, nagios.log, looking something like this: [1097532863] SERVICE ALERT: ...blah... [1097532863] SERVICE ALERT: ...blah... [1097532913] SERVICE ALERT: ...blah... [1097533037] SERVICE ALERT: ...blah... [1097533093] SERVICE ALERT: ...blah... [1097533107] SERVICE ALERT: ...blah... I want the timestamps to be readable. This works: perl -p -e 's/^\[(\d+)\]/"[".localtime($1)."]"/e' < nagios.log but this doesn't: perl -p -e 's/^(?<=\[)(\d+)(?=\])/localtime($1)/e' < nagios.log I wondered if the lookbehind and lookahead were saving their matches in $1 and $3, but changing the $1 to $2 still doesn't work. Any ideas? Richard From michael at diaspora.gen.nz Mon Oct 11 22:41:30 2004 From: michael at diaspora.gen.nz (michael@diaspora.gen.nz) Date: Mon Oct 11 22:42:02 2004 Subject: [Wellington-pm] lookahead/behind in regex In-Reply-To: Your message of "Tue, 12 Oct 2004 16:23:08 +1300." <20041012032308.GA21916@walnut.gen.nz> Message-ID: Richard Hector writes: >perl -p -e 's/^(?<=\[)(\d+)(?=\])/localtime($1)/e' < nagios.log This does, though: perl -p -e 's/(?<=^\[)(\d+)(?=\])/localtime($1)/e' < nagios.log Although I can't explain why in words. If I was looking at that code later, though, I'd wonder why you didn't just do: perl -pe 's/(\d+)/localtime $1/e' < nagios.log (or even s/\d+/localtime $&/e, just to terrify Grant :) Which also works, even in the face of extra digit fields later on. Of course, I'm assuming that all lines start with \[\d+\], and since I don't have a real Nagios log to work on at present, that's a big assumption. -- michael. From richard at walnut.gen.nz Mon Oct 11 22:54:04 2004 From: richard at walnut.gen.nz (Richard Hector) Date: Mon Oct 11 22:54:07 2004 Subject: [Wellington-pm] lookahead/behind in regex In-Reply-To: References: <20041012032308.GA21916@walnut.gen.nz> Message-ID: <20041012035404.GA22027@walnut.gen.nz> On Tue, Oct 12, 2004 at 04:41:30PM +1300, michael@diaspora.gen.nz wrote: > Richard Hector writes: > >perl -p -e 's/^(?<=\[)(\d+)(?=\])/localtime($1)/e' < nagios.log > > This does, though: > > perl -p -e 's/(?<=^\[)(\d+)(?=\])/localtime($1)/e' < nagios.log Ah yes. It doesn't make much sense to have anything _before_ a lookbehind (even if it is zero-width). > If I was looking at that code later, though, I'd wonder why you didn't > just do: > > perl -pe 's/(\d+)/localtime $1/e' < nagios.log Yes - I guess the timestamp will always be the first number. I get a bit paranoid at times - partly I think from working with logcheck, which filters log messages that can have damn near anything in them :-( And that gets a bit closer to the pin :-) Thanks, Richard From grant at mclean.net.nz Tue Oct 12 04:27:39 2004 From: grant at mclean.net.nz (Grant McLean) Date: Tue Oct 12 04:28:02 2004 Subject: [Wellington-pm] Meeting Stuff Message-ID: <1097573258.3328.21.camel@localhost> Hi All Thanks Sam for an interesting intro to the world of Tangram. And thanks to everyone else for mercilessly uncovering the bugs in my slides :-) I took the liberty of fixing some of the more heinous ones before putting a copy up on the web site (let me know which ones I've missed): http://wellington.pm.org/archive/ Sam if you want to provide a copy or a link to your slides just send me an email. Next month's meeting will be on Monday the 8th of November. We have Michael Robinson lined up to talk about Maypole and Douglas Bagnall will be introducing Python to Perl programmers. We have time for one further meeting this year (December) and are looking for volunteers to speak then. It's two months away so that should be plenty of time to prepare, but we need to get something nailed down before time slips away. Finally, I have a question. A disturbing number of people told me today that they would have come to last night's meeting if only I'd reminded them it was on. I did send a reminder a week ago and I don't want to annoy people with constant harping. Do people want another reminder on the day? Cheers Grant From liam at elections.org.nz Tue Oct 12 14:23:46 2004 From: liam at elections.org.nz (Liam O'Boyle) Date: Tue Oct 12 14:23:37 2004 Subject: [Wellington-pm] Meeting Stuff In-Reply-To: <1097573258.3328.21.camel@localhost> References: <1097573258.3328.21.camel@localhost> Message-ID: <1097609025.20281.196.camel@localhost> Yeah, the day. My short term memory is similar to that of a goldfish. On Tue, 2004-10-12 at 22:27, Grant McLean wrote: > Hi All > > Thanks Sam for an interesting intro to the world of Tangram. And > thanks to everyone else for mercilessly uncovering the bugs in my > slides :-) I took the liberty of fixing some of the more heinous > ones before putting a copy up on the web site (let me know which > ones I've missed): > > http://wellington.pm.org/archive/ > > Sam if you want to provide a copy or a link to your slides just > send me an email. > > Next month's meeting will be on Monday the 8th of November. > > We have Michael Robinson lined up to talk about Maypole and Douglas > Bagnall will be introducing Python to Perl programmers. > > We have time for one further meeting this year (December) and are > looking for volunteers to speak then. It's two months away so that > should be plenty of time to prepare, but we need to get something > nailed down before time slips away. > > Finally, I have a question. A disturbing number of people told me > today that they would have come to last night's meeting if only I'd > reminded them it was on. I did send a reminder a week ago and I > don't want to annoy people with constant harping. Do people want > another reminder on the day? > > Cheers > Grant > > _______________________________________________ > Wellington-pm mailing list > Wellington-pm@mail.pm.org > http://www.pm.org/mailman/listinfo/wellington-pm -- Cheers, Liam O'Boyle Electoral Enrolment Centre Telephone: (04) 801 0710 Fax: (04) 801 0709 This communication is confidential and may be legally privileged. If you have received it by mistake you must not use, disclose, copy or retain it. Please immediately notify us by return e-mail and then delete the e-mail you received in error. Views expressed in this communication may not be those of the organisation. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://mail.pm.org/archives/wellington-pm/attachments/20041013/c345e9ac/attachment.bin From Malcolm.Allison at computerland.co.nz Tue Oct 12 15:18:09 2004 From: Malcolm.Allison at computerland.co.nz (Malcolm Allison) Date: Tue Oct 12 15:19:15 2004 Subject: [Wellington-pm] Meeting Stuff Message-ID: <6B854BA41A86CB4BB02BAB717796F9D901130847@clwlge2k01.computerlan d.co.nz> I know it's my own fault for not setting my calendar properly, but I would have come if there had been a reminder on the day and was pretty annoyed with myself for missing it. So that's a 'yes please' for reminders (although I have now checked my calendar entry and synchronised it with every device I own). My 2 penneth, Malcolm Allison Enterprise Systems Management Bureau Computerland NZ -----Original Message----- From: Grant McLean [mailto:grant@mclean.net.nz] Sent: Tuesday, 12 October 2004 10:28 p.m. To: wellington-pm@mail.pm.org Subject: [Wellington-pm] Meeting Stuff Hi All Thanks Sam for an interesting intro to the world of Tangram. And thanks to everyone else for mercilessly uncovering the bugs in my slides :-) I took the liberty of fixing some of the more heinous ones before putting a copy up on the web site (let me know which ones I've missed): http://wellington.pm.org/archive/ Sam if you want to provide a copy or a link to your slides just send me an email. Next month's meeting will be on Monday the 8th of November. We have Michael Robinson lined up to talk about Maypole and Douglas Bagnall will be introducing Python to Perl programmers. We have time for one further meeting this year (December) and are looking for volunteers to speak then. It's two months away so that should be plenty of time to prepare, but we need to get something nailed down before time slips away. Finally, I have a question. A disturbing number of people told me today that they would have come to last night's meeting if only I'd reminded them it was on. I did send a reminder a week ago and I don't want to annoy people with constant harping. Do people want another reminder on the day? Cheers Grant _______________________________________________ Wellington-pm mailing list Wellington-pm@mail.pm.org http://www.pm.org/mailman/listinfo/wellington-pm From grant at mclean.net.nz Wed Oct 13 03:47:22 2004 From: grant at mclean.net.nz (Grant McLean) Date: Wed Oct 13 03:47:25 2004 Subject: [Wellington-pm] Larry on Regexes Message-ID: <1097657241.3247.0.camel@localhost> Because . doesn't match \n. [\0-\377] is the most efficient way to match everything currently. Maybe \e should match everything. And \E would of course match nothing. :-) --Larry Wall in <9847@jpl-devvax.JPL.NASA.GOV> From dave at thinktank.co.nz Wed Oct 13 22:18:43 2004 From: dave at thinktank.co.nz (Dave Moskovitz) Date: Wed Oct 13 22:19:03 2004 Subject: [Wellington-pm] Larry on Regexes In-Reply-To: <1097657241.3247.0.camel@localhost> References: <1097657241.3247.0.camel@localhost> Message-ID: <200410141618.43898.dave@thinktank.co.nz> That would have been in the days before Unicode! On Wed, 13 Oct 2004 21:47, Grant McLean wrote: > Because . doesn't match \n. [\0-\377] is the most efficient way > to match everything currently. Maybe \e should match everything. > And \E would of course match nothing. :-) > --Larry Wall in <9847@jpl-devvax.JPL.NASA.GOV> > -- Dave Moskovitz Director, Thinktank Consulting Limited dave@thinktank.co.nz / Tel +64 27 220 2202 From philip at mobilemaps.com Wed Oct 13 23:09:49 2004 From: philip at mobilemaps.com (Philip Abrahamson) Date: Wed Oct 13 23:09:59 2004 Subject: [Wellington-pm] Larry on Regexes In-Reply-To: <200410141618.43898.dave@thinktank.co.nz> References: <1097657241.3247.0.camel@localhost> <200410141618.43898.dave@thinktank.co.nz> Message-ID: <416DFC0D.9030701@mobilemaps.com> If you use the 's' flag following the pattern match it will let '.' match a newline - as well as everything else. Philip Abrahamson Dave Moskovitz wrote: > That would have been in the days before Unicode! > > On Wed, 13 Oct 2004 21:47, Grant McLean wrote: > >>Because . doesn't match \n. [\0-\377] is the most efficient way >>to match everything currently. Maybe \e should match everything. >>And \E would of course match nothing. :-) >> --Larry Wall in <9847@jpl-devvax.JPL.NASA.GOV> >> > From sam at vilain.net Thu Oct 14 16:02:57 2004 From: sam at vilain.net (Sam Vilain) Date: Thu Oct 14 16:03:01 2004 Subject: [Wellington-pm] Larry on Regexes In-Reply-To: <416DFC0D.9030701@mobilemaps.com> References: <1097657241.3247.0.camel@localhost> <200410141618.43898.dave@thinktank.co.nz> <416DFC0D.9030701@mobilemaps.com> Message-ID: <416EE981.8080408@vilain.net> Of course, there's always (?s:.) to enable it inside the regex. Here are the timing comparisons (length(string)==44), not much in it: Benchmark: timing 10000000 iterations of m/^(?s:.)*$/, m/^.*$/s, m/^[\0-\377]*$/... m/^(?s:.)*$/: 4 wallclock secs ( 5.35 usr + -0.02 sys = 5.33 CPU) @ 1876172.61/s (n=10000000) m/^.*$/s: 6 wallclock secs ( 6.06 usr + 0.01 sys = 6.07 CPU) @ 1647446.46/s (n=10000000) m/^[\0-\377]*$/: 9 wallclock secs ( 8.62 usr + 0.00 sys = 8.62 CPU) @ 1160092.81/s (n=10000000) Who can tell me what this one does, then? :-) $paren = qr{\( (?: (?> [^()]+ ) | (??{ $paren }) )* \)}x; $_ = $input; while ( s{^\(((?:[^(]+|$paren)*)\s+and\s((?:[^(]+|$paren)*)\)$}{$1}is or s{^((?:[^(]+|$paren)*)\s+and\s((?:[^(]+|$paren)*)$}{$1}is ) { push @x, $2; } push @x, $_ Philip Abrahamson wrote: > If you use the 's' flag following the pattern match it will let '.' > match a newline - as well as everything else. > > Philip Abrahamson > > Dave Moskovitz wrote: > >> That would have been in the days before Unicode! >> >> On Wed, 13 Oct 2004 21:47, Grant McLean wrote: >> >>> Because . doesn't match \n. [\0-\377] is the most efficient way >>> to match everything currently. Maybe \e should match everything. >>> And \E would of course match nothing. :-) >>> --Larry Wall in <9847@jpl-devvax.JPL.NASA.GOV> >>> >> > _______________________________________________ > Wellington-pm mailing list > Wellington-pm@mail.pm.org > http://www.pm.org/mailman/listinfo/wellington-pm -- Sam Vilain, sam /\T vilain |><>T net, PGP key ID: 0x05B52F13 (include my PGP key ID in personal replies to avoid spam filtering) From srdjan at catalyst.net.nz Thu Oct 14 17:06:14 2004 From: srdjan at catalyst.net.nz (Srdjan) Date: Thu Oct 14 17:06:18 2004 Subject: [Wellington-pm] Larry on Regexes In-Reply-To: <416EE981.8080408@vilain.net> References: <1097657241.3247.0.camel@localhost> <200410141618.43898.dave@thinktank.co.nz> <416DFC0D.9030701@mobilemaps.com> <416EE981.8080408@vilain.net> Message-ID: <416EF856.2090802@catalyst.net.nz> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Splits a WHERE clause on ANDable parts? Srdjan Sam Vilain wrote: | Of course, there's always (?s:.) to enable it inside the regex. | | Here are the timing comparisons (length(string)==44), not much in it: | | Benchmark: timing 10000000 iterations of m/^(?s:.)*$/, m/^.*$/s, | m/^[\0-\377]*$/... | m/^(?s:.)*$/: 4 wallclock secs ( 5.35 usr + -0.02 sys = 5.33 CPU) @ | 1876172.61/s (n=10000000) | m/^.*$/s: 6 wallclock secs ( 6.06 usr + 0.01 sys = 6.07 CPU) @ | 1647446.46/s (n=10000000) | m/^[\0-\377]*$/: 9 wallclock secs ( 8.62 usr + 0.00 sys = 8.62 CPU) @ | 1160092.81/s (n=10000000) | | Who can tell me what this one does, then? :-) | | $paren = qr{\( (?: (?> [^()]+ ) | | (??{ $paren }) | )* \)}x; | | $_ = $input; | | while ( s{^\(((?:[^(]+|$paren)*)\s+and\s((?:[^(]+|$paren)*)\)$}{$1}is | or s{^((?:[^(]+|$paren)*)\s+and\s((?:[^(]+|$paren)*)$}{$1}is | ) { | push @x, $2; | } | | push @x, $_ | | Philip Abrahamson wrote: | |> If you use the 's' flag following the pattern match it will let '.' |> match a newline - as well as everything else. |> |> Philip Abrahamson |> |> Dave Moskovitz wrote: |> |>> That would have been in the days before Unicode! |>> |>> On Wed, 13 Oct 2004 21:47, Grant McLean wrote: |>> |>>> Because . doesn't match \n. [\0-\377] is the most efficient way |>>> to match everything currently. Maybe \e should match everything. |>>> And \E would of course match nothing. :-) |>>> --Larry Wall in <9847@jpl-devvax.JPL.NASA.GOV> |>>> |>> |> _______________________________________________ |> Wellington-pm mailing list |> Wellington-pm@mail.pm.org |> http://www.pm.org/mailman/listinfo/wellington-pm | | | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBbvhWZtcHxCitRpgRAkCVAJ9GthAIzlWJvAv0utjL70zxjem01gCfX5JY 8s1JHqazG87k309X8JRo+D4= =F5cp -----END PGP SIGNATURE----- From Peter.Love at netkno.com Fri Oct 15 04:10:32 2004 From: Peter.Love at netkno.com (Peter Love) Date: Fri Oct 15 04:12:33 2004 Subject: [Wellington-pm] Meeting Stuff In-Reply-To: <1097573258.3328.21.camel@localhost> References: <1097573258.3328.21.camel@localhost> Message-ID: <416F9408.50402@netkno.com> > We have time for one further meeting this year (December) and are > looking for volunteers to speak then. It's two months away so that > should be plenty of time to prepare, but we need to get something > nailed down before time slips away. If people don't mind talks on topics by people who don't know much about them, I'd be happy to talk about Perl/Tk. Hey, I even wrote my first GUI thingo this morning! From grant at mclean.net.nz Fri Oct 15 12:43:07 2004 From: grant at mclean.net.nz (Grant McLean) Date: Fri Oct 15 12:43:21 2004 Subject: [Wellington-pm] Meeting Stuff In-Reply-To: <416F9408.50402@netkno.com> References: <1097573258.3328.21.camel@localhost> <416F9408.50402@netkno.com> Message-ID: <1097862187.3247.6.camel@localhost> On Fri, 2004-10-15 at 22:10, Peter Love wrote: > If people don't mind talks on topics by people who don't know much about > them, I'd be happy to talk about Perl/Tk. Hey, I even wrote my first > GUI thingo this morning! We're hardly likely to complain :-) Often someone who is new to a topic brings a perspective that is more relevant to people who would like to get started with it. Plus of course you'll know a lot more about it by December. I've written your name down. Regards Grant From grant at mclean.net.nz Fri Oct 22 13:30:43 2004 From: grant at mclean.net.nz (Grant McLean) Date: Fri Oct 22 13:31:08 2004 Subject: [Wellington-pm] Fwd: Newsletter from O'Reilly UG Program, October 21 Message-ID: <1098469843.3373.2.camel@localhost> From: Marsee Henon Subject: Newsletter from O'Reilly UG Program, October 21 Date: Thu, 21 Oct 2004 13:59:00 -0700 ================================================================ O'Reilly UG Program News--Just for User Group Leaders October 21, 2004 ================================================================ -O'Reilly is Expanding its User Group Program to include Professional Associations -Does Your Group Have a Newsletter or Collect Membership Fees? ---------------------------------------------------------------- Book Info ---------------------------------------------------------------- ***Review books are available Copies of our books are available for your members to review-- send me an email and please include the book's ISBN number on your request. Let me know if you need your book by a certain date. Allow at least four weeks for shipping. ***Please send copies of your book reviews Email me a copy of your newsletters or book reviews. For tips and suggestions on writing book reviews, go to: http://ug.oreilly.com/bookreviews.html ***Discount information Don't forget to remind your members about our 20% discount on O'Reilly, No Starch, Paraglyph, Pragmatic Bookshelf, SitePoint, and Syngress books and O'Reilly conferences. Just use code DSUG. ***Group purchases with better discounts are available Please let me know if you are interested and I can put you in touch with our sales department. ---------------------------------------------------------------- General News ---------------------------------------------------------------- ***We're expanding our User Group Program to include Professional Associations Recently we've been publishing many new titles that are useful not only to user groups, but to professional associations. We've been in contact with these kinds of folks over the years, but we have decided to reach out and find them so they can enjoy the benefits of our program as much as our user group friends have. If you belong to a group that might find our books helpful, please let them know about us by sending along our URL with the details for signing up: http://ug.oreilly.com/ ***Does Your Group Have a Newsletter or Collect Membership Fees? Make sure you send me an email and request a copy of our new "PDF Hacks" and "PayPal Hacks" books to give to your webmaster or newsletter editors. We can help. ================================================================ O'Reilly News for User Group Members October 21, 2004 ================================================================ ---------------------------------------------------------------- Book News ---------------------------------------------------------------- -iPod and iTunes Hacks -JUnit Pocket Guide -SELinux -SWT: A Developer's Notebook -Build Your Own Database Driven Website Using PHP and MySQL, 3rd Edition -Real World Web Services -iPod Fan Book -Modding Mac OS X -SQL in a Nutshell, 2nd Edition -Mac OS X Power Hound, Panther Edition -Windows XP Power Hound ---------------------------------------------------------------- Upcoming Events ---------------------------------------------------------------- -Dan Gillmor ("We The Media"), Barnes & Noble, San Jose--November 4 -MySQL ComCon Europe, Germany Frankfurt-- November 9-10 -Niel M. Bornstein (".NET and XML"), XML 2004 Conference and Exposition, Washington, DC--November 15-19 ---------------------------------------------------------------- Conference News ---------------------------------------------------------------- -Attending the O'Reilly Mac OS X Conference? Come Join Us! -Last Chance to Register for O'Reilly's Mac OS X Conference -Call for Participation: The MySQL Users Conference-- Proposals are due by November 1 ---------------------------------------------------------------- News ---------------------------------------------------------------- -Enter for a Chance to Win Top-of-the-Line Components So You Can Build Your Own Perfect PC -Point-and-Click Phishing -Google Your Desktop -Turning the Tables Using CSS -Displaying Pocket PC and Smartphone Screens on Your PC -Storming the Microsoft Edifice -Seven Cool Mono Apps -Save 50% on Linux/Unix System Administration Online Courses -Mac OS X Power Hound Helpful Hints, Part 1 -TenCon Fly-by -Extend your AirPort Network with AirPort Express -Power Hound Tips for Online Protection -Building the Perfect Bleeding-Edge PC, Part 1 -Building the Perfect Bleeding-Edge PC, Part 2 -An Introduction to Aspect-Oriented Programming with the Spring Framework, Part 2 -Create and Read J2SE 5.0 Annotations with the ASM Bytecode Toolkit ================================================ Book News ================================================ Did you know you can request a free book to review for your group? Ask your group leader for more information. For book review writing tips and suggestions, go to: http://ug.oreilly.com/bookreviews.html Don't forget, you can receive 20% off any O'Reilly, No Starch, Paraglyph, Pragmatic Bookshelf, SitePoint, or Syngress book you purchase directly from O'Reilly. Just use code DSUG when ordering online or by phone 800-998-9938. http://www.oreilly.com/ ***Free ground shipping is available for online orders of at least $29.95 that go to a single U.S. address. This offer applies to U.S. delivery addresses in the 50 states and Puerto Rico. For more details, go to: http://www.oreilly.com/news/freeshipping_0703.html ---------------------------------------------------------------- New Releases ---------------------------------------------------------------- ***iPod and iTunes Hacks Publisher: O'Reilly ISBN: 0596007787 Some people are content to use their iPods simply to play music. Some of the curious and clever among us want to do much more. If you want to get under the hood and tap every iPod trick available, this book will take you beyond the obvious with 100 undocumented tips, tricks, and trade secrets that will delight, entertain, and add astonishing power to your iPod and iTunes experience. Explore, experiment, create shortcuts, and unearth cool and unexpected things. http://www.oreilly.com/catalog/ipodtuneshks 10 sample hacks are available online: http://www.oreilly.com/catalog/ipodtuneshks/chapter/index.html ***JUnit Pocket Guide Publisher: O'Reilly ISBN: 0596007434 While there are bits of documentation all over the place, there is no go-to manual that serves as a quick reference for JUnit. Until now. This Pocket Guide meets that need, bringing together all the hard-to-remember information, syntax, and rules for working with JUnit, as well as delivering the insight and sage advice that can only come from a technology's creator. Programmers and developers of any level who write Java Code and use JUnit to do their unit testing will find this an indispensable reference. http://www.oreilly.com/catalog/junitpg/ ***SELinux Publisher: O'Reilly ISBN: 0596007167 SELinux covers the wide range of knowledge you need to secure your system with SELinux (Security Enhanced Linux), the security-related extension to Linux that embodies the key advances of the security field. This book covers SELinux concepts and its security model; installation instructions; system and user administration; and understanding, implementing, and developing your own SELinux security policies. With SELinux, a high-security computer is within reach of any system administrator, and this book provides the means. http://www.oreilly.com/catalog/selinux/ Chapter 4, "Using and Administering SELinux," is available online: http://www.oreilly.com/catalog/selinux/chapter/index.html ***SWT: A Developer's Notebook Publisher: O'Reilly ISBN: 0596008384 Learn how to take SWT out for a spin, make it work for you, and turn it upside down--without tripping over wasted words and space. Each lab in this notebook details a specific task; you can read from the first page to the last, or look up just what you need to know. And then you can stick this book in your laptop bag so you have a quick reference when you forget how to create a multi-tabbed view. http://www.oreilly.com/catalog/swtadn/ Chapter 15, "SWT CoolBars," is available online: http://www.oreilly.com/catalog/swtadn/chapter/index.html ***Build Your Own Database Driven Website Using PHP and MySQL, 3rd Edition Publisher: SitePoint ISBN: 0975240218 "Build Your Own Database Driven Website Using PHP and MySQL, 3rd Edition" is a practical guide for first-time users of PHP and MySQL. This bestseller has been updated to reflect best practice web development using PHP 5 and MySQL 4, and it teaches readers by guiding them through the creation of a fully working content management system, shopping cart, and other real-world applications. This new edition also includes more code examples and a bonus chapter on structured PHP programming that introduces techniques for organizing real-world PHP applications. ***Real World Web Services Publisher: O'Reilly ISBN: 059600642X The core idea behind this book is simple: after years of hype, what are the major players really doing with web services? Standards bodies may wrangle and platform vendors may preach, but at the end of the day, what are the technologies that are actually in use and how can developers incorporate them into their own applications? The answers are here in this field guide to the wild and wooly world of non-trivial, deployed web services. http://www.oreilly.com/catalog/realwws/ Chapter 6, "Project 3: Billing and Faxing," is available online: http://www.oreilly.com/catalog/realwws/chapter/index.html ***iPod Fan Book Publisher: O'Reilly ISBN: 0596007760 This compact and beautifully packaged guide is for iPod users who want a quick, fun way to learn all the features and capabilities of the device. It takes readers through the process of loading the iPod with music and then organizing, playing, and even burning those tunes onto CDs and DVDs. The book also discusses ways to use the iPod on the go, such as playing it through a car stereo, and shows how to use the iPod as a PDA for storing things like addresses and personal calendars. The iPod is more than a digital music device; it has become a cultural phenomenon and a fashion statement, and this book is the perfect gift for people living the iPod lifestyle. http://www.oreilly.com/catalog/ipodfb/ ***Modding Mac OS X Publisher: O'Reilly ISBN: 0596007094 This book uncovers dozens of ways to customize the user interface for both Mac OS X and its applications, using the newest tools. You'll learn everything from hacking the preferences and enabling and disabling plugins to using the Terminal and applications like the Property List Editor to modify files and edit resources. If you're ready to tweak and experiment, create and refine, customize and control OS X and your applications--and have some fun doing it--this is an indispensable guide. http://www.oreilly.com/catalog/modmacosx/ Chapter 3, "Application Dumpster Diving," is available online: http://www.oreilly.com/catalog/modmacosx/chapter/index.html ***SQL in a Nutshell, 2nd Edition Publisher: O'Reilly ISBN: 0596004818 Written for SQL programmers, analysts, and database administrators, this essential desktop reference documents every SQL command and how to use it in both commercial and open source implementations. It includes the command syntax (by vendor, if the syntax differs across implementations), a clear description, and practical examples that illustrate important concepts and uses. It also explains how the leading commercial and open source database products implement SQL. Get the essential data language reference for the world's top SQL database products. http://www.oreilly.com/catalog/sqlnut2/ Chapter 4, "SQL Functions," is available online: http://www.oreilly.com/catalog/sqlnut2/chapter/index.html ***Mac OS X Power Hound, Panther Edition Publisher: O'Reilly ISBN: 059600818X "Mac OS X Power Hound, Panther Edition" lifts the hood on the Formula One-powered operating system and delivers over 500 high-octane secrets in every conceivable category, including the Desktop and Finder, iApps, Mac OS X programs, Mastering the system and Terminal, and much more. Consider this book your pit crew, helping you find easier, faster, and better ways of using Panther and the programs that come with it--and even a bunch that don't. And if you want to become your own master mechanic, the book also includes two rich chapters on Unix, the engine under Mac OS X's hood. http://www.oreilly.com/catalog/macxpu/ ***Windows XP Power Hound Publisher: O'Reilly ISBN: 0596006195 Windows XP power-users troll the web, documentation, and friends for useful tips and tricks--a keyboard shortcut here, an undocumented double-click there to eliminate annoyances, save time, and take control of their Windows XP. There's an easier way. This insightful and amusing book is packed with hundreds of power tips, cool tricks, and workarounds in one organized, easy-to-use resource--for everything from the desktop to Office programs to the registry. http://www.oreilly.com/catalog/winxppu/ ================================================ Upcoming Events ================================================ ***For more events, please see: http://events.oreilly.com/ ***User Group leaders and members attending the O'Reilly Mac OS X Conference Come meet up with Marsee Henon (O'Reilly User Group Coordinator) and Lorene Romero (Apple User Group Advisory Board Vendor Relation Coordinator and North Coast Mac Users Group President) on Wednesday, October 27 from 5:00pm to 7:00pm at the bar in the lobby of the Westin Santa Clara. We can swap stories, ideas, or just hang out. And afterwards, we can attend the "Real-Time Filmmaking on Mac OS X" talk. http://conferences.oreillynet.com/cs/macosx2004/view/e_sess/5705 O'Reilly Mac OS X Conference October 25-28, 2004 Westin Santa Clara, Santa Clara, CA http://conferences.oreilly.com/macosxcon/ ***Dan Gillmor ('We The Media"), Barnes & Noble, San Jose--November 4 Don't miss Dan at the Stevens Creek Barnes & Noble starting at 7pm. 3600 Stevens Creek Blvd San Jose, CA 95117 408-984-3495 http://www.barnesandnoble.com/frames/storeLocator/storeLocator_zip.asp?ZIP=95117&userid=5T4fPFGArd&linkto=shop ***MySQL ComCon Europe, Germany Frankfurt--November 9-10 The MySQL ComCon Europe 2004 brings together the vigor and excitement of a community event (like LinuxTag) with the structure of MySQL mission-critical business event. The conference will take place in Frankfurt from November 9th to 10th and will have a day of pre-conference power workshops on the 8th. Sessions on diverse topics such as "Performance Tuning J2EE Applications deployed on MySQL," "Lowering TCOs for SAP Environments with MaxDB," and a two-part introduction to MySQL Cluster will be presented by MySQL core developers, expert trainers and MySQL community leaders. http://mysqlcomconeurope.com/ ***Niel M. Bornstein (".NET and XML"), XML 2004 Conference and Exposition, Washington, DC--November 15-19 Niel presents a tutorial based on his book at this annual event. Marriott Wardman Park Hotel, Washington, DC. http://www.xmlconference.org/xmlusa/ ================================================ Conference News ================================================ ***Last Chance to Register for O'Reilly's Mac OS X Conference Join us for the third annual Mac OS X Conference, October 25-28, 2004, in Santa Clara, California. You'll hear from Stewart Copeland, the former drummer for The Police who now creates award-winning film and television scores using Mac OS X technology; "New York Times" columnist David Pogue; Andy Ihnatko of the "Chicago Sun-Times"; Karelia Sofware's Dan Wood; Brent Simmons of Ranchero Software; Michael Bartosh of 4AM Media; Mac authors Dori Smith, Gordon Meyer, and Ted Landau; and many more. User Group members who use code DSUG when you register receive 20% off conference pricing. To register, go to: http://conferences.oreillynet.com/cs/macosx2004/create/ord_mac04 O'Reilly Mac OS X Conference October 25-28, 2004 Westin Santa Clara, Santa Clara, CA http://conferences.oreilly.com/macosxcon/ ***Call for Participation: The MySQL Users Conference-- Proposals are due by November 1 >From embedded solutions to web-commerce and critical business applications, MySQL is everywhere--with more than five million active installations worldwide. To introduce new users to MySQL and help developers and IT professionals keep pace with the latest advancements, MySQL AB has teamed up with O'Reilly Media, Inc. to co-present the third annual MySQL Users Conference, scheduled for April 18-21, 2005, in Santa Clara, CA. For complete conference details visit: http://www.mysqluc.com Visit the submissions page for all the details on tracks and proposal guidelines--this year's theme is "MySQL Everywhere." Proposals are due no later than November 1, 2004. http://conferences.oreillynet.com/cs/mysqluc2005/create/e_sess ================================================ News From O'Reilly & Beyond ================================================ --------------------- General News --------------------- ***Enter for a Chance to Win Top-of-the-Line Components So You Can Build Your Own Perfect PC If you've ever dreamed about having a high-end PC that truly meets your needs, enter for a chance to win some topnotch components and build your own! http://www.oreilly.com/promos/perfectpc/ ***Point-and-Click Phishing Brian McWilliams examines a recent phishing attack and talks to the hacker, an eighteen-year-old software whiz, who wrote the powerful spamware program that made it possible. Brian is the author of O'Reilly's new "Spam Kings." http://www.oreillynet.com/pub/a/network/2004/10/13/phishing.html ***Google Your Desktop ...And the rest of your file system, mailbox, and instant messenger conversations--even your browser cache. The Google Desktop is your own private little Google server. http://www.oreillynet.com/pub/a/network/2004/10/14/google_desktop.html ***Turning the Tables Using CSS Have you noticed web pages loading a bit faster than usual? You might thank Eric Meyer, an expert and author on the subject of cascading style sheets (CSS), a standards-based method of coding web sites. apple.com's Nancy Eaton talks to Eric about the distinct advantages of CSS and the dark days of the browser wars. Eric wrote "Cascading Style Sheets: The Definitive Guide, 2nd Edition." http://www.apple.com/pro/words/meyer/ Cascading Style Sheets: The Definitive Guide, 2nd Edition ISBN: 0596005253 http://www.oreilly.com/catalog/css2/ ***Displaying Pocket PC and Smartphone Screens on Your PC Stuck for how to project your Pocket PC in a presentation? Remote Display Control comes to the rescue. http://www.oreillynet.com/pub/a/wireless/2004/10/15/remote_display.html --------------------- Open Source --------------------- ***Storming the Microsoft Edifice In the battle for open source and open standards on user desktops, applications such as OpenOffice.org and Mozilla Firefox are stealthily winning small skirmishes. In this article, Sam Hiser describes the situation in terms of Monty Python's "Trojan rabbit." Sam is a coauthor of "Exploring the JDS Linux Desktop." http://www.linuxdevcenter.com/pub/a/linux/2004/10/14/storming_microsoft_edifice.html ***Seven Cool Mono Apps Edd Dumbill takes a look at seven of the cool open source programs being built on Mono. http://www.oreillynet.com/pub/a/network/2004/10/18/mono.html ***Save 50% on Linux/Unix System Administration Online Courses O'Reilly is offering a 50% discount on the Linux/Unix Certification Series from their O'Reilly Learning Lab. Save nearly $1000 on these online courses--and earn a University of Illinois System Administration Certificate. Every class includes compelling, hands-on content, root access to a Linux server, an online coach, and a free O'Reilly book. Use the code ORALL1 to get your 50% discount. To enroll for the Learning Lab Linux/Unix Certification Series go to: http://oreilly.useractive.com/linuxa/ --------------------- Mac --------------------- ***Mac OS X Power Hound Helpful Hints, Part 1 Author Rob Griffiths has hand-picked 16 of his favorite hints and organized them into this two-part series. This week, in part one, you'll discover eight tricks to help your Mac OS X system run smoother, and see new ways to personalize your working environment. Examples include activating Expose with a multi-button mouse, saving iTunes Music Store videos and trailers, and customizing the Dock "poof." http://www.macdevcenter.com/pub/a/mac/excerpt/osxph_1004/index.html ***TenCon Fly-by Over the past weeks Derrick Story has been pointing out some of the new content we've added to the O'Reilly Mac OS X Conference. Here's his collection of What's New blurbs and weblogs to create a convenient fly-by of event highlights. http://www.macdevcenter.com/pub/a/mac/2004/10/19/tencon_flyby.html ***Extend your AirPort Network with AirPort Express Sometimes one access point just isn't enough for our wireless networks, even at home. Wei Meng Lee shows you how to extend your network with AirPort Express, and explains what's going on under the hood. http://www.macdevcenter.com/pub/a/mac/2004/10/12/airport_express.html --------------------- Windows/.NET --------------------- ***Power Hound Tips for Online Protection The Internet is a dangerous place, and sometimes the dangers come from unexpected quarters. So in addition to taking the usual online precautions, the Power Hound offers some tips about how to protect yourself against dangers you may have never even thought of, excerpted from O'Reilly's newly released Windows XP Power Hound. http://www.windowsdevcenter.com/pub/a/windows/excerpt/winxppu_ch6/index.html ***Building the Perfect Bleeding-Edge PC, Part 1 What does it take to build the perfect bleeding-edge PC? First you need to pick the perfect components. From processor to power supply, Bob and Barbara Thompson have assembled their ideal mix of high-performance components that will run on both Linux and Windows. Building the Perfect Bleeding-Edge PC, Part 1 http://www.windowsdevcenter.com/pub/a/windows/2004/10/05/PerfectPC.html ***Building the Perfect Bleeding-Edge PC, Part 2 You've gotten all the parts--now it's time for the nitty-gritty of putting it all together. Here are step-by-step instructions for building the PC of your dreams, from Bob and Barbara Thompson, authors of "Building the Perfect PC." http://www.windowsdevcenter.com/pub/a/windows/2004/10/12/PerfectPC.html --------------------- Java --------------------- ***An Introduction to Aspect-Oriented Programming with the Spring Framework, Part 2 Russ Miles continues his introduction to Aspect-Oriented Programming (AOP) in Spring by delving into the around advice, which allows you to not just add to an existing method implementation, but to completely replace it. http://www.onjava.com/pub/a/onjava/2004/10/20/springaop2.html ***Create and Read J2SE 5.0 Annotations with the ASM Bytecode Toolkit Continuing his examination of the ASM bytecode-manipulation toolkit, Eugene Kuleshov shows how ASM can be used to access J2SE 5.0 attributes, even from earlier JVM versions that don't support attributes. http://www.onjava.com/pub/a/onjava/2004/10/20/asm.html ================================================ O'Reilly User Group Wiki ================================================ Don't forget to check out the O'Reilly UG wiki to see what user groups across the globe are up to: http://wiki.oreillynet.com/usergroups/index.cgi Until next time-- Marsee From jarich at perltraining.com.au Mon Oct 25 18:37:56 2004 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Mon Oct 25 18:38:04 2004 Subject: [Wellington-pm] OSDC early bird finishes on Sunday! Message-ID: <417D8E54.1050000@perltraining.com.au> G'day folk, Sorry to harp on about this, but if you *are* thinking of heading over to come to Melbourne Perl Monger's OSDC in December 1st - 3rd this year, then you've only got a few more days to register and get the early bird special. Registering now means you get your very own OSDC t-shirt and a discount of $35. It also means you're guaranteed a place, as we do have a maximum number of registrants. The conference line up is looking really good. You can see the current list of papers at http://www.osdc.com.au/papers/ Talks topics range from dealing with hardware in Perl, to designing cochlear implants with Python, to writing large-scale PHP. We also have talks on the Firebird Database, Mozilla XUL, Lego Micromouse (and maze solving), MySQL, CVS, Make, DocBook and writing games with Javascript. I hope to see you at the conference! Jacinta Richardson -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact@perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From grant at mclean.net.nz Sun Oct 31 19:16:16 2004 From: grant at mclean.net.nz (Grant McLean) Date: Sun Oct 31 19:16:28 2004 Subject: [Wellington-pm] Meeting Monday the 8th Message-ID: <1099271776.1544.65.camel@localhost> Hi All Just a quick reminder that the next meeting of Wellington Perl Mongers is next Monday - November the 8th. Same place (Catalyst), same time (6:00). Michael Robinson will be talking about Maypole (a web application framework) and Douglas Bagnall will be introducing Python (that *other* scripting language) to Perl programmers. More specific venue details here: http://wellington.pm.org/ Don't forget, the main building entrance doors lock off at 6:00, so it's best not to be late. Cheers Grant