From george at metaart.org Sun Jan 2 19:40:30 2005 From: george at metaart.org (George Woolley) Date: Sun Jan 2 19:25:17 2005 Subject: [oak perl] Oakland.pm website has moved Message-ID: <200501021740.30541.george@metaart.org> I've moved our website to within the metaart.org domain. [See "Background of Website Move" below my "signature" for more detail.] The home page of the website is at http://www.metaart.org/opug/index.html This is where you'll find the current version of the site including the announcement of the next meeting. If you find anything amiss there, let me know. George Background of Website Move ------------------------------------ Since late 2002, Perl Mongers has been providing us with both a website and a mailing list. Many thanks to Perl Mongers for this. Perl Mongers will be changing the host of these and at the same time reducing the accessibility and capability of the websites they provide. My understanding is that if all goes well, the mailing lists will not be impacted significantly. The website has been inaccessible since shortly after our last meeting; and I don't expect it to be accessible again until after the hosting change. Primarily in order to assure better access to our site, I've placed the current version of our site within the metaart.org domain. When the old version of the site on Perl Mongers becomes accessible again, my plan is to reduce it to relatively static information including a link to the current information on metaart.org. From george at metaart.org Tue Jan 4 02:06:11 2005 From: george at metaart.org (George Woolley) Date: Tue Jan 4 01:50:56 2005 Subject: [oak perl] Fwd: Newsletter from O'Reilly UG Program, January 3 Message-ID: <200501040006.11170.george@metaart.org> ---------- Forwarded Message ---------- Subject: Newsletter from O'Reilly UG Program, January 3 Date: Monday 03 January 2005 5:09 pm From: Marsee Henon ... ================================================================ O'Reilly News for User Group Members January 3, 2005 ================================================================ ---------------------------------------------------------------- Book News ---------------------------------------------------------------- -Windows XP Pro: The Missing Manual, 2nd Edition -Photo Retouching with Photoshop: A Designer's Notebook -Linux Cookbook -Revolution in The Valley -Silence on the Wire -Jakarta Commons Cookbook -Dr. Tom Shinder's Configuring ISA Server 2004 -Oracle SQL*Plus: The Definitive Guide, 2nd Edition -Windows XP Annoyances for Geeks, 2nd Edition -Home Theater Hacks -Hacking a Terror Network -Word Hacks -High Performance Linux Clusters ---------------------------------------------------------------- Upcoming Events ---------------------------------------------------------------- -O'Reilly Happenings at Macworld SF--January 10-14 -Free Exhibit Hall Pass for Macworld ---------------------------------------------------------------- Conference News ---------------------------------------------------------------- -Registration is Open for 2005 O'Reilly Emerging Technology Conference, San Diego, CA--March 14-17 -Registration Is Open for the 2005 MySQL Users Conference, Santa Clara, CA--April 18-21 ---------------------------------------------------------------- News ---------------------------------------------------------------- -"Make" Subscriptions Now Available -Renewable Energy--The Next Opportunity for Silicon Valley -Freedom, Innovation, and Convenience: The RMS Interview -Ten Tips for Building Your First High-Performance Cluster -Clever Tricks with MythTV -Tim O'Reilly, Derrick Story, and David Pogue make the 2004 MDJ Power 25 List -Build an eDoc Reader for your iPod -Book Worms into Minds of PC Cultists -Windows Explorer Hacks -Inside Secrets of MSN Desktop Search -Towards Bug-Free Code -ONJava 2004 in Review: Popular Articles -Exporting QuickTime Movies with Simple Video Out X ================================================ 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 ---------------------------------------------------------------- ***Windows XP Pro: The Missing Manual, 2nd Edition Publisher: O'Reilly ISBN: 0596008988 Completely refreshed and updated for Windows XP Service Pack 2 (SP2), this bestseller is for the novice or budding power user who wants to master Microsoft's latest operating system and get down to work. The book reveals which features work well and which don't, such as the Remote Desktop software that enables people to connect to the office from home, the encryption file system that protects sensitive information, and the Windows Messenger that enables real-time text, voice, and video communication. http://www.oreilly.com/catalog/winxppro2/ ***Photo Retouching with Photoshop: A Designer's Notebook Publisher: O'Reilly ISBN: 0596008600 This lavish, colorful book showcases innovative photo-retouching solutions by well known French artists, and will be inspiring and instructive for anyone involved in creating digital images or animations. You'll see what the pros are able to do to their photographs with Photoshop; you'll be guided, step-by-step, through the editing process of each project--from original shot to polished print; and you'll gain insight into how each visionary artist imagined, conceptualized, and created the final exquisite image. http://www.oreilly.com/catalog/photoretouchadn/ ***Linux Cookbook Publisher: O'Reilly ISBN: 0596006403 Linux information can be found scattered in manpages, texinfo files, and source code comments, but the best source is the experts who have built up a working knowledge of managing Linux systems. This book's tested techniques distill years of hard-won experience into practical cut-and-paste solutions to everyday Linux dilemmas. Use just one recipe from this collection of real-world solutions, and the hours of tedious trial-and-error saved will more than pay for the cost of the book. http://www.oreilly.com/catalog/linuxckbk/ Chapter 14, "Printing with CUPS," is available online: http://www.oreilly.com/catalog/linuxckbk/chapter/index.html ***Revolution in The Valley Publisher: O'Reilly ISBN: 0596007191 "Revolution in the Valley" traces the development of the Macintosh computer from its inception as an underground skunkworks project in 1979 to its triumphant introduction in 1984 and beyond. In this vivid first-hand account, author and key Macintosh developer Andy Hertzfeld reveals exactly what it was like to be a key player in one of the most important technical achievements in modern history. Lavish illustrations and period photos (many never before published) bring to life the talented and often eccentric characters who participated in the birth of the personal computer revolution. http://www.oreilly.com/catalog/revolution/ ***Silence on the Wire Publisher: No Starch Press ISBN: 1593270461 Author Michal Zalewski has long been known and respected in the hacking and security communities for his intelligence, curiosity, and creativity, and this book is truly unlike anything else out there. "In Silence on the Wire," Zalewski shares his expertise and experience to explain how computers and networks work, how information is processed and delivered, and what security threats lurk in the shadows. No humdrum technical white paper or how-to manual for protecting one's network, this book is a fascinating narrative that explores a variety of unique, uncommon, and often quite elegant security challenges that defy classification and eschew the traditional attacker-victim model. http://www.oreilly.com/catalog/1593270461/index.html ***Jakarta Commons Cookbook Publisher: O'Reilly ISBN: 059600706X This collection of recipes provides expert tips for using the utilities of the Java-based Jakarta Commons open source project. You don't have to be an expert; the book's solution-based format contains code examples for a wide variety of web, XML, network, testing, and application projects. If you want to learn how to use Jakarta Commons utilities to create powerful Java applications and tools, this cookbook is for you. http://www.oreilly.com/catalog/jakartackbk/ Chapter 8, "Math," is available online: http://www.oreilly.com/catalog/jakartackbk/chapter/index.html ***Dr. Tom Shinder's Configuring ISA Server 2004 Publisher: Syngress ISBN: 1931836191 This book provides you with unparalleled information on installing, configuring, and troubleshooting ISA Server 2004 by teaching you to Deploy ISA Server 2004 in small businesses and large organizations; achieve 99.999% uptime for your ISA Server 2004 Internet access solution; roll out an International VPN using built-in ISA Server 2004 VPN Wizards and configuration interface; learn how to configure complex DMZ configurations using ISA Server 2004's new network awareness features and built-in multinetworking capabilities; and learn how to take advantage of ISA Server 2004's new VPN capabilities. http://www.oreilly.com/catalog/1931836191/index.html ****Oracle SQL*Plus: The Definitive Guide, 2nd Edition Publisher: O'Reilly ISBN: 0596007469 Updated for Oracle 10g, this bestselling book is the only in-depth guide to SQL*Plus. It clearly describes how to perform, step-by-step, all of the tasks that Oracle developers and DBAs want to perform (and maybe some you didn't realize you could) with SQL*Plus. If you want to capitalize upon the full power and flexibility of this popular Oracle tool, this book is an indispensable resource. http://www.oreilly.com/catalog/orsqlplus2/ Chapter 6, "Creating HTML Reports," is available online: http://www.oreilly.com/catalog/orsqlplus2/chapter/index.html ***Windows XP Annoyances for Geeks, 2nd Edition Publisher: O'Reilly ISBN: 0596008767 "Windows XP Annoyances for Geeks, 2nd Edition" offers dozens of on-target tips, workarounds, and warnings, allowing users to improve their overall experience with the popular XP operating system. You'll learn how to use the Registry Editor, customize the interface, and master Windows's built-in networking capabilities. The book also includes detailed coverage of the newly released Service Pack 2 (SP2), which provides protection against viruses, hackers, and worms. Seize control of the Windows XP operating system before it takes control of you. http://www.oreilly.com/catalog/winxpannoy2/ Chapter 5, "Maximizing Performance," is available online: http://www.oreilly.com/catalog/winxpannoy2/chapter/ ***Home Theater Hacks Publisher: O'Reilly ISBN: 0596007043 "Home Theater Hacks" is a smart collection of insider tips and tricks, covering everything you need to know about home theater installation. Say goodbye to frustrating trial-and-error processes and expensive appointments with installation experts. This book prevents both by imparting down-and-dirty techniques not found anywhere else. From finding the right audio and video components and dealing with speakers and wiring, to mastering remote controls and getting a handle on TiVo, this book will help you customize your own, personal home theater experience. http://www.oreilly.com/catalog/htheaterhks/ Sample hacks are available online: http://www.oreilly.com/catalog/htheaterhks/chapter/index.html ***Hacking a Terror Network Publisher: Syngress December 2004 ISBN: 1928994989 Written by a certified Arabic linguist from the Defense Language Institute with extensive background in decoding encrypted communications, this cyber-thriller uses a fictional narrative to provide a fascinating and realistic "insider's look" into technically sophisticated covert terrorist communications over the Internet. The accompanying CD-ROM allows readers to "hack along" with the story line, by viewing the same web sites described in the book containing encrypted, covert communications. http://www.oreilly.com/catalog/1928994989/index.html ***Word Hacks Publisher: O'Reilly ISBN: 0596004931 Become a power user with "Word Hacks." Insider tips, tools, tricks, and hacks help you accomplish your pressing tasks, address your frequent annoyances, and solve even your most complex problems. The book examines Word's advanced (and often hidden) features, and delivers clever, time-saving hacks on taming document bloat, customization, complex search and replace, tables and comments, XML, and even using Google without leaving Word. http://www.oreilly.com/catalog/wordhks/ Sample hacks are available online: http://www.oreilly.com/catalog/wordhks/chapter/index.html ***High Performance Linux Clusters Publisher: O'Reilly ISBN: 0596005709 "High Performance Linux Clusters" covers everything you need to build and deploy a high-performance Linux cluster. You'll learn about effective planning, hardware choices, bulk installation of Linux on multiple systems, and other basic considerations. This guide also addresses the major free software projects and how to choose those that are most helpful to new cluster administrators and programmers. Guidelines for debugging, profiling, performance tuning, and managing jobs from multiple users round out this immensely useful book. http://www.oreilly.com/catalog/highperlinuxc/index.html Chapter 10, "Management Software," is available online: http://www.oreilly.com/catalog/highperlinuxc/chapter/index.html ================================================ Upcoming Events ================================================ ***For more events, please see: http://events.oreilly.com/ ***O'Reilly Happenings at Macworld SF--January 10-14 Macworld SF 2005 is shaping up to be a busy show for O'Reilly Media (Booth #2225). We have great specials, lots of books, a full speaker lineup, and a menu of activities. Plus, we're partnering with some of the Mac OS X Innovator Contest winners to provide discounts on award-winning software. Here's a comprehensive overview: http://www.macdevcenter.com/pub/a/mac/2004/12/17/macworld.html And make sure you come by the booth on Tuesday, January 11 and say hi to me--Marsee. I'll be there all day. ***Free Exhibit Hall Pass for Macworld, San Francisco, CA-- January 11-14 A PDF version of the Macworld Pass is available online to print out: http://www.oreilly.com/images/oreilly/ug/macworld2005.pdf ================================================ Conference News ================================================ ***Registration is Open for the 2005 O'Reilly Emerging Technology Conference, San Diego, CA--March 14-17 Early Bird registration for ETech has just opened. This year's conference theme is "Remix," which infuses ETech's roll-up-your-sleeves tutorials, to-the-point plenary presentations, and real world focused breakout sessions. Come to ETech and discover how applications and hardware are being deconstructed and recombined in unexpected ways. Learn how users and customers are influencing new interfaces, devices, business models, and services. For all the scoop on tutorials, featured speakers, and conference events, check out: http://conferences.oreillynet.com/etech/ User Group members who register before January 31, 2005 get a double discount. Use code DSUG when you register, and receive 20% off the early registration price. To register for the conference, go to: http://conferences.oreillynet.com/cs/et2005/create/ord_et05 ***Registration Is Open for the 2005 MySQL Users Conference, Santa Clara, CA--April 18-21 The MySQL Users Conference, co-presented by O'Reilly Media and MySQL AB, brings together experts, users, and industry leaders with unique MySQL insights, offering attendees a detailed look into new features in MySQL 5.0, sessions and workshops designed to teach best practices, and exposure to new open source technologies. For more information, go to: http://www.mysqluc.com/ User Group members who register before Febuary 28, 2005 get a double discount. Use code DSUG when you register, and receive 20% off the early registration price. To register for the conference, go to: http://conferences.oreillynet.com/cs/mysqluc2005/create/ord_mysql05 ================================================ News From O'Reilly & Beyond ================================================ --------------------- General News --------------------- ***"Make" Subscriptions Now Available! The annual subscription price for four issues is $34.95. When you subscribe with this link, you'll get a free issue--the first one plus four more for $34.95. So subscribe for yourself or friends with our very best offer for charter subscribers: five volumes for the cost of four. Subscribe at: https://www.pubservice.com/MK/Subnew.aspx?PC=MK&PK=M5ZUGLA ***Renewable Energy--The Next Opportunity for Silicon Valley There are striking parallels between the renewable energy industry today and the personal computing industry circa 1980. Brian McConnell argues that the same basic dynamics that fueled the PC boom in Silicon Valley apply to renewable energy, and this represents an important opportunity, especially as the computing industry matures and becomes a commoditized consumer product business. http://www.oreillynet.com/pub/q/articles --------------------- Open Source --------------------- ***Freedom, Innovation, and Convenience: The RMS Interview Since 1984, Richard M. Stallman has fought for software freedom as a coder, a project leader, and a philosopher. The GNU GPL and GNU/Linux projects are just two results of that work. Federico Biancuzzi recently interviewed RMS about his views on freedom, the GNU project, and the Linux kernel and GNU/Linux distributions. http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html ***Ten Tips for Building Your First High-Performance Cluster Been meaning to build your very first high-performance Linux cluster, but fear the trials and tribulations? Joseph D. Sloan, author of "High Performance Linux Clusters with OSCAR, Rocks, OpenMosix, and MPI," saves you the trouble with ten very helpful tips. Now you can get all of the cost effectiveness of high-performance clusters without all of the frustration. http://www.linuxdevcenter.com/pub/a/linux/2004/12/29/lnxclstrs_10.html ***Clever Tricks with MythTV Building your own personal video recorder means that you can avoid manufacturer- or broadcaster-enforced restrictions. That's not all, though. John Littler presents some clever ideas on what you can accomplish with a MythTV box, some free time, and a little work. http://www.linuxdevcenter.com/pub/a/linux/2004/12/29/mythtv_hacks.html --------------------- Mac --------------------- ***Tim O'Reilly, Derrick Story, and David Pogue make the 2004 MDJ Power 25 List "MDJ," the Journal for Serious Macintosh Users, today released the fifth annual MDJ Power 25 list distilled from surveys sent to industry movers and shakers (including journalists, executives, engineers, and Apple Computer insiders). http://www.macjournals.com/gcsf/mdj_power_25_2004.html ***Build an eDoc Reader for your iPod Wouldn't you like to read large text documents, PDF files, and other eDocs on your 3G iPod (or newer)? In this first part of a three-part series, Matthew Russell shows you how to do so using Xcode. http://www.macdevcenter.com/pub/a/mac/2004/12/14/ipod_reader.html Build an eDoc Reader for your iPod, Part 2: http://www.macdevcenter.com/pub/a/mac/2004/12/17/ipod_reader.html ***Book Worms into Minds of PC Cultists A recent review of the No Stach's "Cult of Mac" in "The Inquirer," a UK publication. http://www.theinquirer.net/?article=20351 --------------------- Windows/.NET --------------------- ***Windows Explorer Hacks Face it, Windows Explorer is old and tired. Mitch Tulloch, author of "Windows Server Hacks," shows you how to power up this venerable utility and make it an actual powerhouse. http://www.windowsdevcenter.com/pub/a/windows/2004/12/21/windows_explorer_hac ks.html ***Inside Secrets of MSN Desktop Search MSN's Desktop Search is a surprisingly powerful desktop search tool, with loads of hidden features and hacks. Wei-Meng Lee opens up the hood and takes a look, and fills you in on what he finds. http://www.windowsdevcenter.com/pub/a/windows/2004/12/21/msd_desktop_search.h tml --------------------- Java --------------------- ***Towards Bug-Free Code Test-driven development sometimes sounds better than it turns out to be. Early decisions to tightly couple functional parts of your system can make it a lot less amenable to testing than it ought to be. As Ashwin Jayaprakash shows, J2SE 5.0's generics make working with abstract classes and interfaces easier than it used to be, which encourages loose coupling and facilitates testing. http://www.onjava.com/pub/a/onjava/2004/12/22/towardsbugfree.html ***ONJava 2004 in Review: Popular Articles Editor Chris Adamson takes a look back at some of the most popular articles published on ONJava during the last year. http://www.onjava.com/pub/a/onjava/2004/12/22/2004-yearender-1.html --------------------- Digital Media --------------------- ***Exporting QuickTime Movies with Simple Video Out X You have great QuickTime content in your computer, but it seems not so easy to play it on a TV or send it to a VCR or DVD recorder without firing up iMovie or Final Cut. Or is it? Erica Sadun has discovered a simple but powerful (and free) application that makes exporting QuickTime as fun as watching it. http://digitalmedia.oreilly.com/2004/12/22/video_out.html ================================================ >From Your Peers =============================================== 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 santranyc at yahoo.com Wed Jan 5 00:00:00 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Tue Jan 4 23:57:56 2005 Subject: [oak perl] newbie array question Message-ID: <200501050557.j055vthH018076@www.pm.org> Hi, I'm a very new newbie learning arrays. Apologies for the length of this--it's all just a little hard to grasp at this point. I have a perlintro document that says don't bother using $#array + 1 for determining the number of items in an array, implying there's a shortcut. But it doesn't really give me a simple(r) way of doing it. I just want the print command to produce the number of items, but none of the following work: print @arrayname; print '@arrayname'; print "@arrayname"; I was hoping at least the first of those would, since I thought something without quotes usually implied same was a number, and Perl is supposed to give me a number when it sees @arrayname in a scalar context, right? Is this the only way to do it... print scalar @arrayname; ??? Seems longer than print $#array + 1; (if that even works) So I'm a little confused, partly because I'm reading a chapter on arrays and the print command is used in almost none of the coding examples. Any help appreciated. Thanks. --Sandy Santra From david at fetter.org Wed Jan 5 00:07:07 2005 From: david at fetter.org (David Fetter) Date: Wed Jan 5 00:05:03 2005 Subject: [oak perl] newbie array question In-Reply-To: <200501050557.j055vthH018076@www.pm.org> References: <200501050557.j055vthH018076@www.pm.org> Message-ID: <20050105060707.GA7264@fetter.org> On Wed, Jan 05, 2005 at 06:00:00AM +0000, Sandy Santra wrote: > Hi, I'm a very new newbie learning arrays. Apologies for Welcome! > the length of this--it's all just a little hard to grasp at this > point. > > I have a perlintro document that says don't bother using > > $#array + 1 You could use my $count = scalar(@array); if you need it explicitly. However, you seldom will. To iterate over an array, you can just do foreach my $element (@array) { # your fun stuff here. } > for determining the number of items in an array, implying > there's a shortcut. But it doesn't really give me a simple(r) > way of doing it. > > I just want the print command to produce the number of items, > but none of the following work: > > print @arrayname; > print '@arrayname'; > print "@arrayname"; > > I was hoping at least the first of those would, since I > thought something without quotes usually implied same was > a number, and Perl is supposed to give me a number when > it sees @arrayname in a scalar context, right? Um, don't worry about that just this minute. See above :) Cheers, D -- David Fetter david@fetter.org http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vote! From george at metaart.org Wed Jan 5 01:43:06 2005 From: george at metaart.org (George Woolley) Date: Wed Jan 5 01:27:59 2005 Subject: [oak perl] Links to Two Interesting Interviews Message-ID: <200501042343.06941.george@metaart.org> The January 4, 2005 O'Reilly Network Newsletter turned me on to two interviews that I found well worth reading: * The Insanely Great Story of How the Mac was Made -- An Interview with Andy Hertzfeld http://www.macdevcenter.com/pub/a/mac/2005/01/04/hertzfeld.html * Freedom, Innovation, and Convenience: The RMS Interview http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html From george at metaart.org Wed Jan 5 01:59:39 2005 From: george at metaart.org (George Woolley) Date: Wed Jan 5 01:44:20 2005 Subject: [oak perl] January Oakland.pm Meeting: Tue. Jan. 11 Message-ID: <200501042359.39554.george@metaart.org> cut & paste from the Oakland.pm website* (#1) http://www.metaart.org/opug/index.html ------------------------------------------- Next meeting * when: Tue. Jan. 11 at 7:30-9:30pm (on 2nd Tuesdays since Dec. 2002) * where: Connie's Cantina 3340 Grand Ave., Oakland CA * directions: [link to] directions and ascii map * theme: Python * activities: o introductions o giveaways o talks on the theme by Zed Lopez and Steve Kolupaev o eat Mexican food o ... * who: open to anyone interested. * how much: no fee for our meetings. However, it would be kool if you got something to eat and/or drink. * RSVP: if you want to be sure to have a seat at the Oakland.pm table. Note: #1) Note the URL. This is where the current version of the website is. From skolupae at sonic.net Wed Jan 5 03:36:58 2005 From: skolupae at sonic.net (Stephen Kolupaev) Date: Wed Jan 5 03:35:33 2005 Subject: [oak perl] seeking comments on a perl tutorial I just found on web Message-ID: <1104917817.3450.28.camel@pier> Having followed the burst of tutoring activity on the list, which I support, I found an intriguing perl tutorial at http://www.pathologyinformatics.org/downloads/tutor.htm It is a large list of short examples, many with detailed commentary on what the example code does. Has anyone seen this before? Anybody have comments on it? I'm looking for a perl tutorial to recommend. /s/ Steve K. From sfink at reactrix.com Wed Jan 5 12:22:59 2005 From: sfink at reactrix.com (Steve Fink) Date: Wed Jan 5 12:23:03 2005 Subject: [oak perl] newbie array question In-Reply-To: <200501050557.j055vthH018076@www.pm.org> References: <200501050557.j055vthH018076@www.pm.org> Message-ID: <41DC3083.60309@reactrix.com> Sandy Santra wrote: > Hi, I'm a very new newbie learning arrays. Apologies for > the length of this--it's all just a little hard to grasp > at this point. > > I have a perlintro document that says don't bother using > > $#array + 1 > > for determining the number of items in an array, implying > there's a shortcut. But it doesn't really give me a simple(r) > way of doing it. Usually the easier way is by using @array in scalar context. my $count = @array; print "array has $count elements\n"; > I just want the print command to produce the number of items, > but none of the following work: > > print @arrayname; > print '@arrayname'; > print "@arrayname"; print takes a list of arguments, so its arguments are in list context. You need scalar context. So any of these will work: print scalar(@arrayname); # forcing scalar context print 0+@arrayname; # addition wants a scalar from both sides print "".@arrayname; # the . operator wants two scalars too print @arrayname . " elements in array\n"; The number of occasions when you need to force scalar context through one of these tricks is fairly limited (that was the point of the last example -- as long as you're not just printing out the length and nothing else, it's easy to use a . somewhere and get what you want.) > I was hoping at least the first of those would, since I > thought something without quotes usually implied same was > a number, and Perl is supposed to give me a number when > it sees @arrayname in a scalar context, right? Yep, but print gives its arguments list (aka array) context. > Seems longer than > > print $#array + 1; > > (if that even works) It does. But it "smells" wrong. $#array means that index of the last element in the array. Yes, you can add one to it and it'll be the same as the length, but that's one little logical step that you don't want to force the readers of your code to make. That's not to say that you should never use $#array. Say you have two parallel arrays and want to iterate through them: my @names = ('Bob', 'Bruce', 'Bonehead', 'Bob'); my @ages = (12, 20, 13, 20); for my $i (0..$#names) { print "$names[$i] is $args[$i] milliseconds old.\n"; } Not the greatest data structure for this particular problem, but I find myself using parallel arrays reasonably frequently. From jseidel at edpci.com Wed Jan 5 12:25:00 2005 From: jseidel at edpci.com (Jon Seidel, CMC) Date: Wed Jan 5 12:25:02 2005 Subject: [oak perl] newbie array question In-Reply-To: <200501050557.j055vthH018076@www.pm.org> References: <200501050557.j055vthH018076@www.pm.org> Message-ID: <64755.63.192.200.250.1104949500.squirrel@63.192.200.250> Sandy... David Fetter gave you a good answer, which I can add to. First, the "print @arrayname;" stuff didn't work because print expects list context, not scalar. So it prints out the contents of the array all squished together. That's why David said "print scalar(@arrayname);" Second, I do use the $#array+1 construct just to make sure (for myself) that I've got it right... I still have some confusion over the context situations. So I would say go ahead and use this explicit expression if it makes you comfortable. TMTOWTDI. ..jon > Hi, I'm a very new newbie learning arrays. Apologies for > the length of this--it's all just a little hard to grasp > at this point. > > I have a perlintro document that says don't bother using > > $#array + 1 > > for determining the number of items in an array, implying > there's a shortcut. But it doesn't really give me a simple(r) > way of doing it. > > I just want the print command to produce the number of items, > but none of the following work: > > print @arrayname; > print '@arrayname'; > print "@arrayname"; > > I was hoping at least the first of those would, since I > thought something without quotes usually implied same was > a number, and Perl is supposed to give me a number when > it sees @arrayname in a scalar context, right? > > Is this the only way to do it... > > print scalar @arrayname; > > ??? > > Seems longer than > > print $#array + 1; > > (if that even works) > > So I'm a little confused, partly because I'm reading a chapter > on arrays and the print command is used in almost none of > the coding examples. > > Any help appreciated. Thanks. > > --Sandy Santra > > > _______________________________________________ > Oakland mailing list > Oakland@mail.pm.org > http://mail.pm.org/mailman/listinfo/oakland > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Connecting Business and Technology Jon Seidel, CMC +1-510-530-6314 EDP Consulting, Inc. www.edpci.com CMC (Certified Management Consultant) is a certification mark awarded by the Institute of Management Consultants USA and represents evidence of the highest standards of consulting and adherence to the ethical canons of the profession. Less than 1% of all consultants have achieved this level of performance. See www.imcusa.org/hireacmc.acgi. From george at metaart.org Wed Jan 5 14:27:34 2005 From: george at metaart.org (George Woolley) Date: Wed Jan 5 14:12:12 2005 Subject: [oak perl] seeking comments on a perl tutorial I just found on web In-Reply-To: <1104917817.3450.28.camel@pier> References: <1104917817.3450.28.camel@pier> Message-ID: <200501051227.35052.george@metaart.org> Steve, I'd also be interested in recommendations of Perl tutorials. [to everyone: Recommendations?] I wasn't aware of the tutorial you include a link to. Out of curiosity, I looked at some of the items at the front. You asked for comments on it, so my comments follow my "signature". George Comments on 1st 13 Items --------------------------------- * Probably better as presentation notes than as a self-teach tutorial. * I liked that the examples were short and simple. * Very Windows-centric. * None of the examples I tried worked without modification. The modifications needed were simple for me but might put off a beginner. * I'm not convinced read and seek are appropriate so early. ============================================= On Wednesday 05 January 2005 1:36 am, Stephen Kolupaev wrote: > Having followed the burst of tutoring activity > on the list, which I support, > I found an intriguing perl tutorial at > > http://www.pathologyinformatics.org/downloads/tutor.htm > > It is a large list of short examples, > many with detailed commentary on what the example code does. > > Has anyone seen this before? > Anybody have comments on it? > > I'm looking for a perl tutorial to recommend. > > /s/ Steve K. From kester at gmail.com Wed Jan 5 16:37:51 2005 From: kester at gmail.com (Kester Allen) Date: Wed Jan 5 16:37:56 2005 Subject: [oak perl] seeking comments on a perl tutorial I just found on web In-Reply-To: <200501051227.35052.george@metaart.org> References: <1104917817.3450.28.camel@pier> <200501051227.35052.george@metaart.org> Message-ID: <55adb3190501051437c85bf80@mail.gmail.com> I'll add my periodic plug for the fine "Perl, the Programmer's Companion" by Chapman (http://www.amazon.com/exec/obidos/tg/detail/-/047197563X/qid=1104964460/sr=8-1/ref=sr_8_xs_ap_i1_xgl14/103-9287427-4403003?v=glance&s=books&n=507846) , which was my introduction to Perl, lo these many years ago. I found the tutorial page you mentioned to be a little short on explaination for what was going on, especially towards the end; the reference to "new features in Perl5" made me nervous about its current-ness. Also, the "exit" command at the end of each example grated a bit. Just my $.02. --Kester On Wed, 5 Jan 2005 12:27:34 -0800, George Woolley wrote: > Steve, > I'd also be interested in > recommendations of Perl tutorials. > [to everyone: Recommendations?] From santranyc at yahoo.com Fri Jan 7 00:55:39 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Fri Jan 7 00:53:33 2005 Subject: [oak perl] perl array question Message-ID: <200501070653.j076rNne002137@www.pm.org> Thanks David (Fetter), Steve, and Jon for your answers to my array question. I'm getting a clearer picture now. (And thanks Belden and Kester to your answers on my earlier question re command line execution). Steve, I'm fascinated by the parallel array code you quoted: >my @names = ('Bob', 'Bruce', >'Bonehead', 'Bob'); >my @ages = (12, 20, 13, 20); > >for my $i (0..$#names) { >print "$names[$i] is $args[$i] >milliseconds old.\n"; > } and can't wait to try it out. (I know it's simple, but for me grasping this iteration implementation is a big leap.) I think I need to keep going for awhile before I see the bigger picture, but it really helps to stop occasionally to ask a question and get such informed, friendly responses. --Sandy Santra From george at metaart.org Fri Jan 7 16:41:31 2005 From: george at metaart.org (George Woolley) Date: Fri Jan 7 16:25:58 2005 Subject: [oak perl] MacWorld Outing Message-ID: <200501071441.31499.george@metaart.org> Below my "signature" is basic info on the MacWorld outing. In any case, I hope to see many of you at the monthly meeting that same evening. George P.S. So far, there are 4 yeses, 1 likely and 4 maybes. Outing Date: Tuesday, January 11th. Meeting Time: 2pm. Meeting Place: O'Reilly Booth, i.e. booth #2225. Activity: meet, visit a few booths together. Freedom: go your own way whenever you wish. ...... snip from O'Reilly UG newsletter of Jan. 3 ....... ***Free Exhibit Hall Pass for Macworld, San Francisco, CA-- January 11-14 A PDF version of the Macworld Pass is available online to print out: http://www.oreilly.com/images/oreilly/ug/macworld2005.pdf ------------------------------------------------------- From mp at rawbw.com Mon Jan 10 08:53:01 2005 From: mp at rawbw.com (Michael Paoli) Date: Mon Jan 10 08:53:15 2005 Subject: [oak perl] MacWorld Outing In-Reply-To: <200501071441.31499.george@metaart.org> References: <200501071441.31499.george@metaart.org> Message-ID: <1105375981.41e2b2ed88fec@webmail.rawbw.com> Fairly probable I can make it ... I have to coordinate with my work calendar. Quoting George Woolley : > Below my "signature" is basic info > on the MacWorld outing. > Outing Date: Tuesday, January 11th. > Meeting Time: 2pm. > Meeting Place: O'Reilly Booth, i.e. booth #2225. > Activity: meet, visit a few booths together. > Freedom: go your own way whenever you wish. From kester at gmail.com Mon Jan 10 09:30:39 2005 From: kester at gmail.com (Kester Allen) Date: Mon Jan 10 09:30:47 2005 Subject: [oak perl] MacWorld Outing In-Reply-To: <200501071441.31499.george@metaart.org> References: <200501071441.31499.george@metaart.org> Message-ID: <55adb31905011009301788520c@mail.gmail.com> I might be able to come also, but it's not certain. --Kester From george at metaart.org Mon Jan 10 19:27:20 2005 From: george at metaart.org (George Woolley) Date: Mon Jan 10 19:11:48 2005 Subject: [oak perl] MacWorld Outing Message-ID: <200501101927.20457.george@metaart.org> OK, the outing is tomorrow, that is, Tuesday. See some of you there. george P.S. To date there are 5 YES, 2 LIKELY, 3 MAYBE. Thanks to all who responded. P.P.S. And the we have our monthly meeting in the evening. Outing Date: Tuesday, January 11th. Meeting Time: 2pm. Meeting Place: O'Reilly Booth, i.e. booth #2225. Activity: meet, visit a few booths together. Freedom: go your own way whenever you wish. ...... snip from O'Reilly UG newsletter of Jan. 3 ....... ***Free Exhibit Hall Pass for Macworld, San Francisco, CA-- January 11-14 A PDF version of the Macworld Pass is available online to print out: http://www.oreilly.com/images/oreilly/ug/macworld2005.pdf [Still seemed to be there, last I looked] ------------------------------------------------------- From zed.lopez at gmail.com Tue Jan 11 15:51:14 2005 From: zed.lopez at gmail.com (Zed Lopez) Date: Tue Jan 11 15:51:23 2005 Subject: [oak perl] seeking comments on a perl tutorial I just found on web In-Reply-To: <55adb3190501051437c85bf80@mail.gmail.com> References: <1104917817.3450.28.camel@pier> <200501051227.35052.george@metaart.org> <55adb3190501051437c85bf80@mail.gmail.com> Message-ID: <83a996de0501111551d71a588@mail.gmail.com> Is anyone driving from Berkeley tonight? I haven't heard back from Mtheo. Zed From zed.lopez at gmail.com Tue Jan 11 17:00:04 2005 From: zed.lopez at gmail.com (Zed Lopez) Date: Tue Jan 11 17:00:14 2005 Subject: [oak perl] January Oakland.pm Meeting: Tue. Jan. 11 In-Reply-To: <200501042359.39554.george@metaart.org> References: <200501042359.39554.george@metaart.org> Message-ID: <83a996de050111170039243e01@mail.gmail.com> (Please forgive me if this is a double-post -- gmail hung when I submitted the first one, and I haven't seen it, so...) Is anyone driving from Berkeley, and, if so, can I hitch a ride, please? Alternatively, would anyone be willing to pick me up from a BART station? 19th St. is closest, but 12th St. and Lake Merritt aren't much further. At any rate, see you all tonight. Zed From mtheo at amural.com Tue Jan 11 17:06:54 2005 From: mtheo at amural.com (Mark Theodoropoulos) Date: Tue Jan 11 17:07:10 2005 Subject: [oak perl] Ride [was: seeking comments on a perl tutorial I just found on web] In-Reply-To: <83a996de0501111551d71a588@mail.gmail.com> References: <1104917817.3450.28.camel@pier> <200501051227.35052.george@metaart.org> <55adb3190501051437c85bf80@mail.gmail.com> <83a996de0501111551d71a588@mail.gmail.com> Message-ID: <6.2.0.14.0.20050111170001.0244e450@localhost> Zed writes: >Is anyone driving from Berkeley tonight? I haven't heard back from Mtheo. Yes, sorry all, especially riders, I'm again buried, and can't expect to be there --unless y'all plan to be hanging out well past 10:00, that is. This is a bad case of Nope Springs Eternal.... MT From george at metaart.org Tue Jan 11 17:46:37 2005 From: george at metaart.org (George Woolley) Date: Tue Jan 11 17:31:02 2005 Subject: [oak perl] January Oakland.pm Meeting: Tue. Jan. 11 In-Reply-To: <83a996de050111170039243e01@mail.gmail.com> References: <200501042359.39554.george@metaart.org> <83a996de050111170039243e01@mail.gmail.com> Message-ID: <200501111746.37778.george@metaart.org> On Tuesday 11 January 2005 5:00 pm, Zed Lopez wrote: > (Please forgive me if this is a double-post -- gmail hung when I > submitted the first one, and I haven't seen it, so...) > > Is anyone driving from Berkeley, and, if so, can I hitch a ride, please? Unfortunately, I have no wheels. :( > > Alternatively, would anyone be willing to pick me up from a BART > station? 19th St. is closest, but 12th St. and Lake Merritt aren't > much further. Hey everyone, Zed is speaking tonight, <<<<<< so giving him a ride from the Bart, if you are able, would be especially appreciated. > > At any rate, see you all tonight. I'm looking forward to your talk. gw From skolupae at sonic.net Tue Jan 11 18:27:02 2005 From: skolupae at sonic.net (Stephen Kolupaev) Date: Tue Jan 11 18:25:08 2005 Subject: [oak perl] January Oakland.pm Meeting: Tue. Jan. 11 In-Reply-To: <83a996de050111170039243e01@mail.gmail.com> References: <200501042359.39554.george@metaart.org> <83a996de050111170039243e01@mail.gmail.com> Message-ID: <1105496821.4630.1.camel@pier> Hey Zed.. I'm driving up from San Lorenzo. I could pick you up at Lake Merritt Station right about 7:30PM. No problem to take you back to same place promptly when meeting is over. Would that work ok for you? Steve Kolupaev PS: I'm speaking tonight on Python. What are you speaking about? =============== On Tue, 2005-01-11 at 17:00, Zed Lopez wrote: > (Please forgive me if this is a double-post -- gmail hung when I > submitted the first one, and I haven't seen it, so...) > > Is anyone driving from Berkeley, and, if so, can I hitch a ride, please? > > Alternatively, would anyone be willing to pick me up from a BART > station? 19th St. is closest, but 12th St. and Lake Merritt aren't > much further. > > At any rate, see you all tonight. > > Zed > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland From blyman at iii.com Wed Jan 12 11:34:59 2005 From: blyman at iii.com (Belden Lyman) Date: Wed Jan 12 11:34:38 2005 Subject: [oak perl] seeking comments on a perl tutorial I just found on web In-Reply-To: <1104917817.3450.28.camel@pier> References: <1104917817.3450.28.camel@pier> Message-ID: <1105558498.4183.108.camel@ls104> On Wed, 2005-01-05 at 01:36, Stephen Kolupaev wrote: > Having followed the burst of tutoring activity > on the list, which I support, > I found an intriguing perl tutorial at > > http://www.pathologyinformatics.org/downloads/tutor.htm > > It is a large list of short examples, > many with detailed commentary on what the example code does. > > Has anyone seen this before? > Anybody have comments on it? What is the advantage of a tutorial over a book? http://learn.perl.org has two books listed which claim to be tutorials; "Learning Perl" is one of them. If the goal of using an online tutorial is to save money ("not buy a book"), then allow me to recommend the excellent and free Beginning Perl http://learn.perl.org/library/beginning_perl/ by Simon Cozens. Belden From jseidel at edpci.com Wed Jan 12 19:46:24 2005 From: jseidel at edpci.com (Jon Seidel, CMC) Date: Wed Jan 12 19:46:37 2005 Subject: [oak perl] seeking comments on a perl tutorial I just found on web In-Reply-To: <1105558498.4183.108.camel@ls104> References: <1104917817.3450.28.camel@pier> <1105558498.4183.108.camel@ls104> Message-ID: <50516.63.192.200.250.1105587984.squirrel@63.192.200.250> I'll second Belden's comment... buy the "Learning Perl" book. It's a great tutorial and I kept going back to it once I had gotten through it. ...jon > On Wed, 2005-01-05 at 01:36, Stephen Kolupaev wrote: >> Having followed the burst of tutoring activity >> on the list, which I support, >> I found an intriguing perl tutorial at >> >> http://www.pathologyinformatics.org/downloads/tutor.htm >> >> It is a large list of short examples, >> many with detailed commentary on what the example code does. >> >> Has anyone seen this before? >> Anybody have comments on it? > > What is the advantage of a tutorial over a book? http://learn.perl.org > has two books listed which claim to be tutorials; "Learning Perl" > is one of them. > > If the goal of using an online tutorial is to save money ("not buy a > book"), then allow me to recommend the excellent and free Beginning > Perl http://learn.perl.org/library/beginning_perl/ by Simon Cozens. > > Belden > > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Connecting Business and Technology Jon Seidel, CMC +1-510-530-6314 EDP Consulting, Inc. www.edpci.com CMC (Certified Management Consultant) is a certification mark awarded by the Institute of Management Consultants USA and represents evidence of the highest standards of consulting and adherence to the ethical canons of the profession. Less than 1% of all consultants have achieved this level of performance. See www.imcusa.org/hireacmc.acgi. From jseidel at edpci.com Wed Jan 12 19:46:24 2005 From: jseidel at edpci.com (Jon Seidel, CMC) Date: Wed Jan 12 19:46:38 2005 Subject: [oak perl] seeking comments on a perl tutorial I just found on web In-Reply-To: <1105558498.4183.108.camel@ls104> References: <1104917817.3450.28.camel@pier> <1105558498.4183.108.camel@ls104> Message-ID: <50516.63.192.200.250.1105587984.squirrel@63.192.200.250> I'll second Belden's comment... buy the "Learning Perl" book. It's a great tutorial and I kept going back to it once I had gotten through it. ...jon > On Wed, 2005-01-05 at 01:36, Stephen Kolupaev wrote: >> Having followed the burst of tutoring activity >> on the list, which I support, >> I found an intriguing perl tutorial at >> >> http://www.pathologyinformatics.org/downloads/tutor.htm >> >> It is a large list of short examples, >> many with detailed commentary on what the example code does. >> >> Has anyone seen this before? >> Anybody have comments on it? > > What is the advantage of a tutorial over a book? http://learn.perl.org > has two books listed which claim to be tutorials; "Learning Perl" > is one of them. > > If the goal of using an online tutorial is to save money ("not buy a > book"), then allow me to recommend the excellent and free Beginning > Perl http://learn.perl.org/library/beginning_perl/ by Simon Cozens. > > Belden > > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Connecting Business and Technology Jon Seidel, CMC +1-510-530-6314 EDP Consulting, Inc. www.edpci.com CMC (Certified Management Consultant) is a certification mark awarded by the Institute of Management Consultants USA and represents evidence of the highest standards of consulting and adherence to the ethical canons of the profession. Less than 1% of all consultants have achieved this level of performance. See www.imcusa.org/hireacmc.acgi. From george at metaart.org Thu Jan 13 00:56:30 2005 From: george at metaart.org (George Woolley) Date: Thu Jan 13 00:40:49 2005 Subject: [oak perl] February Meeting Message-ID: <200501130056.30911.george@metaart.org> Here's the announcement of the next meeting taken from our website. Note the URL. That's where our site is now. The old site still contains an announcement of the January meeting. Unfortunately, I haven't been able to access it to update it. George P.S. If anyone is willing to give a short talk of some kind regarding wikis, that would be kool. Anyone?? <<<<<< ............................................. cut & paste from http://www.metaart.org/opug/index.html ............................................. Next meeting * when: Tue. Feb. 8 at 7:30-9:30pm (on 2nd Tuesdays since Dec. 2002) * where: Connie's Cantina 3340 Grand Ave., Oakland CA * directions: [link to] directions and ascii map * theme: wiki * activities: o introductions o giveaways o short talks on the theme and discussion o short talks on other topics + on stupid Perl tricks by Josh Wait + on Python by Stephen Kolupaev o eat Mexican food o ... * who: open to anyone interested. * how much: no fee for our meetings. However, it would be kool if you got something to eat and/or drink. * RSVP: if you want to be sure to have a seat at the Oakland.pm table. From santranyc at yahoo.com Fri Jan 14 07:52:27 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Fri Jan 14 07:50:28 2005 Subject: [oak perl] seeking comments on a perl tutorial I just found on web Message-ID: Belden wrote: > allow me to recommend the excellent and free Beginning >Perl http://learn.perl.org/library/beginning_perl/ by Simon Cozens. Thanks. I had forgotten about this book, and am now returning to it. --Sandy Santra From santranyc at yahoo.com Fri Jan 14 07:52:27 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Fri Jan 14 07:50:31 2005 Subject: [oak perl] seeking comments on a perl tutorial I just found on web Message-ID: Belden wrote: > allow me to recommend the excellent and free Beginning >Perl http://learn.perl.org/library/beginning_perl/ by Simon Cozens. Thanks. I had forgotten about this book, and am now returning to it. --Sandy Santra From santranyc at yahoo.com Fri Jan 14 07:52:45 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Fri Jan 14 07:50:42 2005 Subject: [oak perl] v6 Message-ID: Another newbie (historical) question: Is version 6 what Topaz evolved into? --Sandy Santra From santranyc at yahoo.com Fri Jan 14 07:52:45 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Fri Jan 14 07:50:44 2005 Subject: [oak perl] v6 Message-ID: Another newbie (historical) question: Is version 6 what Topaz evolved into? --Sandy Santra From santranyc at yahoo.com Fri Jan 14 08:42:07 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Fri Jan 14 08:39:50 2005 Subject: [oak perl] running scripts in a DOS window Message-ID: <5.1.0.14.2.20050114113315.02b107a0@pop.mail.yahoo.com> An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/oakland/attachments/20050114/210da299/attachment.htm From kester at gmail.com Fri Jan 14 08:50:09 2005 From: kester at gmail.com (Kester Allen) Date: Fri Jan 14 08:50:23 2005 Subject: [oak perl] running scripts in a DOS window In-Reply-To: <5.1.0.14.2.20050114113315.02b107a0@pop.mail.yahoo.com> References: <5.1.0.14.2.20050114113315.02b107a0@pop.mail.yahoo.com> Message-ID: <55adb319050114085074e2c207@mail.gmail.com> Hi Sandy-- I've used two ways to do this in the past (I'm assuming you want to have the DOS window hang around so you can see program output or error messages, so I'm gearing the following towards that): The first is pretty close to the technique you didn't like: put a line like "while (1) {;}" as the very last line of your script-- this'll cause the script to loope forever at the end of the script, and the DOS window will hang around until you hit control-C to kill the script. You could also use "sleep ;" to keep the window around for a of seconds. Another way is to give up and just run the script from a separate DOS window in the first place, which is usually what I ended up doing :) --Kester On Fri, 14 Jan 2005 11:42:07 -0500, Sandy Santra wrote: > Before I completely give up on this, I thought I'd ask the group: is there > any way to run perl scripts from a Windows Explorer window and not have the > window close immediately after the script runs? I've googled it and the > posts advise to put the command at the end of every script, which I > don't want to do. My Perl File Type has the action "c:\perl\bin\perl.exe > "%1" %*. I'm running Perl Indigo 5.6.1. Thanks. > > --Sandy Santra From santranyc at yahoo.com Fri Jan 14 09:32:41 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Fri Jan 14 09:31:10 2005 Subject: [oak perl] running scripts in a DOS window In-Reply-To: <55adb319050114085074e2c207@mail.gmail.com> References: <5.1.0.14.2.20050114113315.02b107a0@pop.mail.yahoo.com> <5.1.0.14.2.20050114113315.02b107a0@pop.mail.yahoo.com> Message-ID: <5.1.0.14.2.20050114123140.02b1aec0@pop.mail.yahoo.com> An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/oakland/attachments/20050114/8ba17b75/attachment.htm From jseidel at edpci.com Fri Jan 14 10:14:24 2005 From: jseidel at edpci.com (Jon Seidel, CMC) Date: Fri Jan 14 10:14:46 2005 Subject: [oak perl] v6 In-Reply-To: <20050114155042.C561D1777D@x6.develooper.com> References: <20050114155042.C561D1777D@x6.develooper.com> Message-ID: <56395.63.192.200.250.1105726464.squirrel@63.192.200.250> FYI, Sandy... I'm getting two copies of each of your messages recently. V6 is a completely new version of Perl, with major grammatical and syntax changes to modernize the language and add major new features. I don't think it's related to Topaz at all. ...jon > Another newbie (historical) question: > > Is version 6 what Topaz evolved into? > > --Sandy Santra > > > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Connecting Business and Technology Jon Seidel, CMC +1-510-530-6314 EDP Consulting, Inc. www.edpci.com CMC (Certified Management Consultant) is a certification mark awarded by the Institute of Management Consultants USA and represents evidence of the highest standards of consulting and adherence to the ethical canons of the profession. Less than 1% of all consultants have achieved this level of performance. See www.imcusa.org/hireacmc.acgi. From sfink at reactrix.com Fri Jan 14 11:35:05 2005 From: sfink at reactrix.com (Steve Fink) Date: Fri Jan 14 11:35:21 2005 Subject: [oak perl] v6 In-Reply-To: <56395.63.192.200.250.1105726464.squirrel@63.192.200.250> References: <20050114155042.C561D1777D@x6.develooper.com> <56395.63.192.200.250.1105726464.squirrel@63.192.200.250> Message-ID: <41E81EE9.1080401@reactrix.com> Jon Seidel, CMC wrote: > FYI, Sandy... I'm getting two copies of each of your messages recently. > > V6 is a completely new version of Perl, with major grammatical and syntax > changes to modernize the language and add major new features. I don't > think it's related to Topaz at all. Yep, that is the core difference. Chip Salzenberg's goal with Topaz was to reimplement the same language (Perl5) on a completely different core, using C++. He ran into major roadblocks when he reached some of the wackier bits of Perl's functionality, and Larry forbade him from changing the language (even though the changes were cleanups, they would have broken compatibility with some CPAN modules). Perl6 only aims to achieve partial compatibility with Perl5 through compatibility layers, but is itself a very different language. For the most part, you can do things using almost exactly the same syntax and techniques as you would use in Perl5. But there are many newer ways of doing things (hopefully simpler in many cases, but certainly more powerful). Some of these ways are expected to eventually supplant the Perl5-style approaches. But it is being implemented atop Parrot, a language-mostly-neutral virtual machine that will also be able to run Python, PHP, Tcl, etc. Neither Parrot's nor Perl6's code bases are related to Topaz. Parrot is in C; Perl6 is sort of in Perl6 rules. Theoretically they are informed by the Topaz experience, although as far as I can tell the main lessons were "it's too hard to reimplement Perl5 as it exists" and "you can find more open source hackers if you use C instead of C++". In general, the Parrot/Perl6 implementation has only done an "okay" job of learning from the projects and experience of others. From alamozzz at yahoo.com Fri Jan 14 11:59:41 2005 From: alamozzz at yahoo.com (Adrien Lamothe) Date: Fri Jan 14 11:59:55 2005 Subject: [oak perl] Recent presentations by Zed Lopez, Stephen Kolupaev and Kester Allen. Message-ID: <20050114195941.22387.qmail@web50201.mail.yahoo.com> I forgot to mention Kester's presentation last month, so better late than never. Kester presented a Perl module he has developed, called Chart::Scientific, that visually plots data sets. You can find his module on CPAN. He probably wouldn't mind if you tested it and provided him with feedback (I'll try to do this when time permits.) Anyway, its cool that several members of Oakland PM have placed modules into CPAN. This Tuesday, Zed Lopez delivered a very thorough comparison of Python and Perl. Zed made a point-by- point comparison of architecture, syntax, facilities and how each language achieves object-orientation. Zed's presentation was quite objective, though he did alert the audience those times he felt he was not. At the conclusion of Zed's presentation, Stephen Kolupaev handed out hard-copy source code of a Python program he has written. Stephen may speak about Python at a future meeting. ===== __________________________________ Do you Yahoo!? Take Yahoo! Mail with you! Get it on your mobile phone. http://mobile.yahoo.com/maildemo From mtheo at amural.com Fri Jan 14 12:06:24 2005 From: mtheo at amural.com (Mark Theodoropoulos) Date: Fri Jan 14 12:06:40 2005 Subject: [oak perl] running scripts in a DOS window In-Reply-To: <5.1.0.14.2.20050114123140.02b1aec0@pop.mail.yahoo.com> References: <5.1.0.14.2.20050114113315.02b107a0@pop.mail.yahoo.com> <5.1.0.14.2.20050114113315.02b107a0@pop.mail.yahoo.com> <5.1.0.14.2.20050114123140.02b1aec0@pop.mail.yahoo.com> Message-ID: <6.2.0.14.0.20050114114501.0244b0f0@localhost> Sandy replies to Kester: >>Another way is to give up and just run the script from a separate DOS >>window in the first place, which is usually what I ended up doing :) > >Yes, I think I'll just leave it at that. Thanks. There's also the option of using nice editors (like UltraEdit and many others, or even IDEs like lrnngcrv Eclipse+EPIC) that on a keystroke will run your script and display the output in a separate pane. Assuming, of course, that these are scripts you're working on rather than in production. Regards, PS - I finally fired the powerful but wretched Pegasus and am taking on mail client interns, first candidate Eudora. Please let me know of any mailer missteps, format faux pas, garish gaffes, or other "modern" "features" I may be including without realizing it. I prefer wines huge and red, women substantial and mature, and mail *PLAIN* *TEXT*, dammit. Thank God for Ridge, my wife, and a mail client to be named later. And yes, I'm stuck with needing a Windows mailer even if I'd prefer to do everything on the FreeBSD boxes. From kester at gmail.com Fri Jan 14 12:15:28 2005 From: kester at gmail.com (Kester Allen) Date: Fri Jan 14 12:15:40 2005 Subject: [oak perl] Recent presentations by Zed Lopez, Stephen Kolupaev and Kester Allen. In-Reply-To: <20050114195941.22387.qmail@web50201.mail.yahoo.com> References: <20050114195941.22387.qmail@web50201.mail.yahoo.com> Message-ID: <55adb319050114121553197379@mail.gmail.com> I was unable to attend the meeting this month-- if Zed and Stephen have softcopies of their presentations, I'd love to have a copy. --Kester On Fri, 14 Jan 2005 11:59:41 -0800 (PST), Adrien Lamothe wrote: > I forgot to mention Kester's presentation last month, > so better late than never. Kester presented a Perl > module he has developed, called Chart::Scientific, > that visually plots data sets. You can find his > module on CPAN. He probably wouldn't mind if you > tested it and provided him with feedback (I'll try > to do this when time permits.) Anyway, its cool that > several members of Oakland PM have placed modules > into CPAN. > > This Tuesday, Zed Lopez delivered a very thorough > comparison of Python and Perl. Zed made a point-by- > point comparison of architecture, syntax, facilities > and how each language achieves object-orientation. > Zed's presentation was quite objective, though he > did alert the audience those times he felt he was not. > At the conclusion of Zed's presentation, > Stephen Kolupaev handed out hard-copy source code > of a Python program he has written. Stephen may > speak about Python at a future meeting. > > ===== > > __________________________________ > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile phone. > http://mobile.yahoo.com/maildemo > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland > From blyman at iii.com Fri Jan 14 14:19:04 2005 From: blyman at iii.com (Belden Lyman) Date: Fri Jan 14 14:18:44 2005 Subject: [oak perl] v6 In-Reply-To: <41E81EE9.1080401@reactrix.com> References: <20050114155042.C561D1777D@x6.develooper.com> <56395.63.192.200.250.1105726464.squirrel@63.192.200.250> <41E81EE9.1080401@reactrix.com> Message-ID: <1105741144.17091.672.camel@ls104> On Fri, 2005-01-14 at 11:35, Steve Fink wrote: > Perl6 only aims to achieve partial compatibility with Perl5 through > compatibility layers, but is itself a very different language. For the > most part, you can do things using almost exactly the same syntax and > techniques as you would use in Perl5. But there are many newer ways of > doing things (hopefully simpler in many cases, but certainly more > powerful). Some of these ways are expected to eventually supplant the > Perl5-style approaches.As an example; we've seen this Perl5 recently: my @names = ('Bob', 'Bruce', >'Bonehead', 'Bob'); my @ages = (12, 20, 13, 20); for my $i (0..$#names) { print "$names[$i] is $args[$i] milliseconds old.\n"; } Perl6 will introduce a "zip" operator, which will allow us to write: my @names = ('Bob', 'Bruce', >'Bonehead', 'Bob'); my @ages = (12, 20, 13, 20); for zip(@names, @ages) -> $name, $age { print "$name is $age milliseconds old.\n"; } ...or something fairly close to that. Belden From alamozzz at yahoo.com Fri Jan 14 22:01:36 2005 From: alamozzz at yahoo.com (Adrien Lamothe) Date: Fri Jan 14 22:01:47 2005 Subject: [oak perl] Recent presentations by Zed Lopez, Stephen Kolupaev and Kester Allen. In-Reply-To: <55adb319050114121553197379@mail.gmail.com> Message-ID: <20050115060136.17813.qmail@web50202.mail.yahoo.com> Hi Kester, My wording was terrible. I didn't actually "forget" your presentation, rather I've been so busy that time flew by. -- Adrien --- Kester Allen wrote: > I was unable to attend the meeting this month-- if > Zed and Stephen > have softcopies of their presentations, I'd love to > have a copy. > > --Kester > > > On Fri, 14 Jan 2005 11:59:41 -0800 (PST), Adrien > Lamothe > wrote: > > I forgot to mention Kester's presentation last > month, > > so better late than never. Kester presented a Perl > > module he has developed, called Chart::Scientific, > > that visually plots data sets. You can find his > > module on CPAN. He probably wouldn't mind if you > > tested it and provided him with feedback (I'll try > > to do this when time permits.) Anyway, its cool > that > > several members of Oakland PM have placed modules > > into CPAN. > > > > This Tuesday, Zed Lopez delivered a very thorough > > comparison of Python and Perl. Zed made a > point-by- > > point comparison of architecture, syntax, > facilities > > and how each language achieves object-orientation. > > Zed's presentation was quite objective, though he > > did alert the audience those times he felt he was > not. > > At the conclusion of Zed's presentation, > > Stephen Kolupaev handed out hard-copy source code > > of a Python program he has written. Stephen may > > speak about Python at a future meeting. > > > > ===== > > > > __________________________________ > > Do you Yahoo!? > > Take Yahoo! Mail with you! Get it on your mobile > phone. > > http://mobile.yahoo.com/maildemo > > _______________________________________________ > > Oakland mailing list > > Oakland@pm.org > > http://mail.pm.org/mailman/listinfo/oakland > > > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland > __________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail From santranyc at yahoo.com Sat Jan 15 06:22:54 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Sat Jan 15 06:20:43 2005 Subject: [oak perl] stay away from nested array(s)? Message-ID: The Llama book includes an admonition against adding "new items to the end of an array by simply storing them into elements with new, larger indices" (3rd ed., page 46). Is the book trying to dissuade me against: @biglist = 1..300000; @biggerlist= 1..700000; @maybetoobigalist = (@biglist, @biggerlist); I'm asking because I'm not exactlly sure if that's what they're talking about. Or/and it's also to encourage a newbie like me to learn and use push (instead)... Am I on the right track here? --Sandy Santra From santranyc at yahoo.com Sat Jan 15 06:23:37 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Sat Jan 15 06:21:25 2005 Subject: [oak perl] dup messages Message-ID: >Jon Seidel, CMC wrote: >> FYI, Sandy... I'm getting two copies of each of your messages recently. Yikes--so sorry everyone. I'll have to look into this. I'm using three different email programs, so probably one is the culprit. I suspect this particular message, composed with Versamail on my Palm, will arrive twice. --Sandy From kester at gmail.com Sat Jan 15 13:11:08 2005 From: kester at gmail.com (Kester Allen) Date: Sat Jan 15 13:11:16 2005 Subject: [oak perl] Recent presentations by Zed Lopez, Stephen Kolupaev and Kester Allen. In-Reply-To: <20050115060136.17813.qmail@web50202.mail.yahoo.com> References: <55adb319050114121553197379@mail.gmail.com> <20050115060136.17813.qmail@web50202.mail.yahoo.com> Message-ID: <55adb319050115131113e43298@mail.gmail.com> No trouble! > Hi Kester, > > My wording was terrible. I didn't actually "forget" > your presentation, rather I've been so busy that > time flew by. > > -- Adrien From kester at gmail.com Sat Jan 15 17:38:18 2005 From: kester at gmail.com (Kester Allen) Date: Sat Jan 15 17:38:28 2005 Subject: [oak perl] stay away from nested array(s)? In-Reply-To: <20050115142042.4B74E17789@x6.develooper.com> References: <20050115142042.4B74E17789@x6.develooper.com> Message-ID: <55adb31905011517382e5fd17c@mail.gmail.com> Hi Sandy-- I'd say the book is trying to discourage this type of thing: my @array = ( '00', '01', '02', '03' ); $array[4] = '04'; in favor of: my @array = ( '00', '01', '02', '03' ); push @array, '04'; Using push will prevent you from typo-ing "$array[44] = '04';" which'll result in an array where elements 4 through 43 are undef! I don't think there's anything wrong with your example: > @biglist = 1..300000; > @biggerlist= 1..700000; > @maybetoobigalist = (@biglist, @biggerlist); --Kester On Sat, 15 Jan 2005 14:22:54 +0000, Sandy Santra wrote: > The Llama book includes an admonition against adding "new > items to the end of an array by simply storing them into > elements with new, larger indices" (3rd ed., page 46). > > Is the book trying to dissuade me against: > > @biglist = 1..300000; > @biggerlist= 1..700000; > @maybetoobigalist = (@biglist, @biggerlist); > > I'm asking because I'm not exactlly sure if that's what > they're talking about. Or/and it's also to encourage a > newbie like me to learn and use push (instead)... > > Am I on the right track here? > > --Sandy Santra > > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland > From santranyc at yahoo.com Mon Jan 17 09:41:13 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Mon Jan 17 09:39:07 2005 Subject: [oak perl] stay away from nested array(s)? In-Reply-To: <55adb31905011517382e5fd17c@mail.gmail.com> References: <20050115142042.4B74E17789@x6.develooper.com> <20050115142042.4B74E17789@x6.develooper.com> Message-ID: <5.1.0.14.2.20050117124037.022f5710@pop.mail.yahoo.com> An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/oakland/attachments/20050117/60449155/attachment.htm From george at metaart.org Mon Jan 17 11:50:24 2005 From: george at metaart.org (George Woolley) Date: Mon Jan 17 11:35:20 2005 Subject: [oak perl] Phone number - i don't have In-Reply-To: <20050115060136.17813.qmail@web50202.mail.yahoo.com> References: <20050115060136.17813.qmail@web50202.mail.yahoo.com> Message-ID: <200501171150.24655.george@metaart.org> Adrien, Got your phone message about wanting Stephen's phone number. I don't have it. So far I've not had any need to talk to him on the phone. But you never know what people will include in their email anyway, so I did some spot checks and some searches. These did not turn up a phone number. George From george at metaart.org Tue Jan 18 21:52:56 2005 From: george at metaart.org (George Woolley) Date: Tue Jan 18 21:36:53 2005 Subject: [oak perl] Draft of Review of "Revolution in the Valley" Message-ID: <200501182152.56503.george@metaart.org> On our website, there's a draft of Revolution in The Valley The Insanely Great Story of How the Mac Was Made It's at: http://www.metaart.org/opug/reviews/revolution.html Comments/questions/corrections would be appreciated. George From david at fetter.org Wed Jan 19 11:26:55 2005 From: david at fetter.org (David Fetter) Date: Wed Jan 19 11:27:08 2005 Subject: [oak perl] Free food! PostgreSQL 8.0 release party tonight Message-ID: <20050119192655.GA4045@fetter.org> Perl Hackers, I know it's kinda short notice, but thought that you'd like to know that the other SFPUG is having a party tonight at 7:30 at the Pacific Coast Brewery in downtown Oakland. Feel free to drop in, just RSVP first (to Josh Berkus). http://pugs.postgresql.org/sfpug Cheers, D -- David Fetter david@fetter.org http://fetter.org/ phone: +1 510 893 6100 mobile: +1 415 235 3778 Remember to vote! From george at metaart.org Thu Jan 20 11:55:06 2005 From: george at metaart.org (George Woolley) Date: Thu Jan 20 11:39:01 2005 Subject: [oak perl] Fwd: OSCON Call For Proposals Now Open Message-ID: <200501201155.06131.george@metaart.org> ---------- Forwarded Message ---------- Subject: OSCON Call For Proposals Now Open Date: Thursday 20 January 2005 11:29 am From: "O'Reilly Conferences" To: sassafras@metaart.org The Call for Proposals has just opened for the 7th Annual O'Reilly Open Source Convention http://conferences.oreillynet.com/os2005/ OSCON is headed back to friendly, economical Portland, Oregon during the week of August 1-5, 2005. If you've ever wanted to join the OSCON speaker firmament, now's your chance to submit a proposal (or two) by February 13, 2005. Complete details are available on the OSCON web site, but we're particularly interested in exploring how software development is moving to another level, and how developers and businesses are adjusting to new business models and architectures. We're looking for sessions, tutorials, and workshops proposals that appeal to developers, systems and network administrators, and their managers in the following areas: - All aspects of building applications, services, and systems that use the new capabilities of the open source platform - Burning issues for Java, Mozilla, web apps, and beyond - The commoditization of software: who and/or what can show us the money? - Network-enabled collaboration - Software customizability, including software as a service - Law, licensing, politics, and how best to navigate other troubled waters Specific topics and tracks at OSCON 2005 include: Linux and other open source operating systems, Java, PHP, Python, Perl, Databases (including MySQL and PostgreSQL), Apache, XML, Applications, Ruby, and Security. Attendees have a wide range of experience, so be sure to target a particular level of experience: beginner, intermediate, advanced. Talks and tutorials should be technical; strictly no marketing presentations. Session presentations are 45 or 90 minutes long, and tutorials are either a half-day (3 hours) or a full day (6 hours). Feel free to spread the word about the Call for Proposals to your friends, family, colleagues, and compatriots. We want everyone to submit, from American women hacking artificial life into the Linux kernel to Belgian men building a better mousetrap from PHP and recycled military hardware. We mean everyone! Even if you don't want to participate as a speaker, send us your suggestions--topics you'd like to see covered, groups we should bring into the OSCON fold, extra-curricular activities we should organize--to oscon-idea@oreilly.com . This year, we're moving to the wide open spaces of the Oregon Convention Center. We've arranged for the nearby Doubletree Hotel to be our headquarters hotel--it's a short, free Max light rail ride (or a lovely walk) from the Convention Center. Registration opens in April 2005; hotel information will be available shortly. Deadline to submit a proposal is Midnight (PST), February 13. For all the conference details, go to: http://conferences.oreillynet.com/os2005/ Press coverage, blogs, photos, and news from the 2004 O'Reilly Open Source Convention can be found at: http://www.oreillynet.com/oscon2004/ Would your company like to make a big impression on the open source community? If so, consider exhibiting or becoming a sponsor. Contact Andrew Calvo at (707) 827-7176, or andrewc@oreilly.com for more info. See you Portland next summer, The O'Reilly OSCON Team ******************************************************* To change your newsletter subscription options, please visit https://epoch.oreilly.com/account/default.orm and click the "Manage My Newsletters" link. For assistance, email help@oreillynet.com O'Reilly Media, Inc. 1005 Gravenstein Highway North, Sebastopol, CA 95472 ******************************************************* ------------------------------------------------------- From cpm at bitbucket.com Thu Jan 20 13:59:01 2005 From: cpm at bitbucket.com (Craig McLaughlin) Date: Thu Jan 20 13:59:38 2005 Subject: [oak perl] Fwd: OSCON Call For Proposals Now Open In-Reply-To: <200501201155.06131.george@metaart.org> Message-ID: Sweet! I missed this last year because I was moving (from the Bay Area to Portland, as it happens). This year, any Oakland Mongers who make the journey -- first beer's on me! --Craig On Thu, 20 Jan 2005, George Woolley wrote: > ---------- Forwarded Message ---------- > > Subject: OSCON Call For Proposals Now Open > Date: Thursday 20 January 2005 11:29 am > From: "O'Reilly Conferences" > To: sassafras@metaart.org > > The Call for Proposals has just opened for the > 7th Annual O'Reilly Open Source Convention > http://conferences.oreillynet.com/os2005/ > > OSCON is headed back to friendly, economical Portland, Oregon during the > week of August 1-5, 2005. If you've ever wanted to join the OSCON speaker > firmament, now's your chance to submit a proposal (or two) by February 13, > 2005. > > Complete details are available on the OSCON web site, but we're > particularly interested in exploring how software development is moving to > another level, and how developers and businesses are adjusting to new > business models and architectures. We're looking for sessions, tutorials, > and workshops proposals that appeal to developers, systems and network > administrators, and their managers in the following areas: > > - All aspects of building applications, services, and systems that use the > new capabilities of the open source platform > - Burning issues for Java, Mozilla, web apps, and beyond > - The commoditization of software: who and/or what can show us the money? > - Network-enabled collaboration > - Software customizability, including software as a service > - Law, licensing, politics, and how best to navigate other troubled > waters > > Specific topics and tracks at OSCON 2005 include: Linux and other open > source operating systems, Java, PHP, Python, Perl, Databases (including > MySQL and PostgreSQL), Apache, XML, Applications, Ruby, and Security. > > Attendees have a wide range of experience, so be sure to target a > particular level of experience: beginner, intermediate, advanced. Talks > and tutorials should be technical; strictly no marketing presentations. > Session presentations are 45 or 90 minutes long, and tutorials are either > a half-day (3 hours) or a full day (6 hours). > > Feel free to spread the word about the Call for Proposals to your friends, > family, colleagues, and compatriots. We want everyone to submit, from > American women hacking artificial life into the Linux kernel to Belgian > men building a better mousetrap from PHP and recycled military hardware. > We mean everyone! > > Even if you don't want to participate as a speaker, send us your > suggestions--topics you'd like to see covered, groups we should bring into > the OSCON fold, extra-curricular activities we should organize--to > oscon-idea@oreilly.com . > > This year, we're moving to the wide open spaces of the Oregon Convention > Center. We've arranged for the nearby Doubletree Hotel to be our > headquarters hotel--it's a short, free Max light rail ride (or a lovely > walk) from the Convention Center. > > Registration opens in April 2005; hotel information will be available > shortly. > > Deadline to submit a proposal is Midnight (PST), February 13. > > For all the conference details, go to: > http://conferences.oreillynet.com/os2005/ > > Press coverage, blogs, photos, and news from the 2004 O'Reilly Open Source > Convention can be found at: http://www.oreillynet.com/oscon2004/ > > Would your company like to make a big impression on the open source > community? If so, consider exhibiting or becoming a sponsor. Contact > Andrew Calvo at (707) 827-7176, or andrewc@oreilly.com for more info. > > See you Portland next summer, > > The O'Reilly OSCON Team > > ******************************************************* > To change your newsletter subscription options, please visit > https://epoch.oreilly.com/account/default.orm and click the > "Manage My Newsletters" link. For assistance, email > help@oreillynet.com > > O'Reilly Media, Inc. > 1005 Gravenstein Highway North, Sebastopol, CA 95472 > ******************************************************* > > ------------------------------------------------------- > > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland > From george at metaart.org Thu Jan 20 20:35:06 2005 From: george at metaart.org (George Woolley) Date: Thu Jan 20 20:33:47 2005 Subject: [oak perl] Fwd: Newsletter from O'Reilly UG Program, January 20 Message-ID: <200501202035.06372.george@metaart.org> ---------- Forwarded Message ---------- Subject: Newsletter from O'Reilly UG Program, January 20 Date: Thursday 20 January 2005 5:27 pm From: Marsee Henon ... ================================================================ O'Reilly News for User Group Members January 20, 2005 ================================================================ ---------------------------------------------------------------- Book News ---------------------------------------------------------------- -QuickTime for Java: A Developer's Notebook -Excel: The Missing Manual -Learning Windows Server 2003 -Excel Annoyances -Degunking eBay -Google Hacks, 2nd Edition -AspectJ Cookbook -The Book of Postfix -Home Hacking Projects for Geeks -Windows XP Home Edition: The Missing Manual, 2nd Edition -Illustrations with Photoshop: A Designer's Notebook -Small Web Sites, Great Results -Learning GNU Emacs, 3rd Edition ---------------------------------------------------------------- Upcoming Events ---------------------------------------------------------------- -O'Reilly at LinuxWorld, Boston, MA--Feb 15-17 -Mark Lutz ("Programming Python") at Python Bootcamp, Atlanta, GA--Feb 21-25 -Allison Randal ("Perl 6 and Parrot Essentials") at UKUUG's 2005 LISA/Winter Conference, Birmingham, UK--Feb 24-25 -FOSDEM, Brussels, Belgium--Feb 26-27 ---------------------------------------------------------------- Conference News ---------------------------------------------------------------- -OSCON Call For Proposals now open -Early Registration ends January 31 for the 2005 O'Reilly Emerging Technology Conference San Diego, CA--March 14-17 -Registration Is Open for the 2005 MySQL Users Conference, Santa Clara, CA--April 18-21 ---------------------------------------------------------------- News ---------------------------------------------------------------- -Race for the Ultimate Car Hacks -"Make" subscriptions now available--Just in Case you Missed This Last Time -Color for Coders--Color and Design for the Non-Designer -Designing for Clients Made Easy -Printing XML: Why CSS Is Better than XSL -A Review of PalmOne???s Zire 72 and 31 -BoundCast interview with Andy Hertzfeld, author of "Revolution in the Valley" -A Podcast With Wallace Wang, author of "Steal This File Sharing Book" -Network Installation of Windows Printers from Samba -An Introduction to Quality Assurance -Macworld 1984 -A RAW Look at iPhoto 5 -How to Use mutt, FastMail, and Mail.app Together on Your Mac -Disk Cleanup Hacks -Using SQL Cache Dependency -Run Mac OS X on a PC -Parsing an XML Document with XPath -Mock Objects in Unit Tests -Time-Saving Digital GEM Plug-Ins for Photoshop -Frank Serafine: Turning Elephants into Explosions ================================================ 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 ---------------------------------------------------------------- ***QuickTime for Java: A Developer's Notebook Publisher: O'Reilly ISBN:0596008228 Java developers who need to add audio, video, or interactive media creation and playback to their applications find that QuickTime Java is a powerful toolkit, but one that's not easy to get into. This book offers the first real look at this important software with an informal, code-intensive style that lets impatient early adopters focus on learning by doing. You get just the functionality you need. http://www.oreilly.com/catalog/quicktimejvaadn/ Chapter 5, "Working with QuickDraw," is available online: http://www.oreilly.com/catalog/quicktimejvaadn/chapter/index.html ***Excel: The Missing Manual Publisher: O'Reilly ISBN: 0596006640 Whether you're an Excel neophyte, a sophisticate who knows the program inside out, or an intermediate-level plodder, this "Missing Manual" will become your go-to resource for all things Excel. Covering all the features of Excel 2002 and 2003, this easy-to-read, thorough, and downright enjoyable book is an indispensable guide to one of the most popular and complicated computer programs. It has all you need to excel at Excel. http://www.oreilly.com/catalog/exceltmm/ Chapter 4, "Formatting Worksheets," is available online: http://www.oreilly.com/catalog/exceltmm/chapter/index.html ***Learning Windows Server 2003 Publisher: O'Reilly ISBN: 0596006241 "Windows Server 2003" is the right server for a world dominated by enterprise networks and web-based server applications, but getting this server up and running is a formidable task. This no-fluff guide gives you exactly what you need for installing, configuring, securing, and managing Server 2003, and offers hands-on advice for planning, implementing, and growing Windows networks without trying to teach you how to be a system administrator. Chapter 10, "Windows Terminal Services," is available online: http://www.oreilly.com/catalog/lwinsvr2003/chapter/index.html ***Excel Annoyances Publisher: O'Reilly ISBN: 0596007280 At last, Excel users have some relief. This book addresses all of the quirks, bugs, inconsistencies, and hidden features found in the various versions of Excel. Broken into easy-to-follow categories, such as Entering Data, Formatting, Charting, and Printing, "Excel Annoyances" reveals a goldmine of helpful nuggets you can use to maximize Excel's seemingly limitless potential. If you've found anything about Excel confusing, you'll learn how to address it here. http://www.oreilly.com/catalog/excelannoyances/ Chapter 3, "Formula Annoyances," is available online: http://www.oreilly.com/catalog/excelannoyances/chapter/index.html ***Degunking eBay Publisher: Paraglyph Press ISBN: 1932111999 "Degunking eBay" will show you how to maximize your buying and selling opportunities, how to clean up and optimize your strategies, how to get organized and save valuable time and money, and how to protect yourself from scams and rip-offs--in short, how to clean up and speed up your transactions on eBay so you run an efficient and profitable business. http://www.oreilly.com/catalog/1932111999/ ***Google Hacks, 2nd Edition Publisher: O'Reilly ISBN: 0596008570 Featuring dozens of refreshed hacks, plus 25 completely new ones, this updated edition of "Google Hacks" is a collection of real-world solutions to practical Google research problems. Thanks to these industrial-strength tips, now you can easily save hours of research time mining Google. Best of all, each of the book's 100 hacks is easy to read and digest; there's no confusing terminology or extraneous information to hamper your understanding. http://www.oreilly.com/catalog/googlehks2/ Sample hacks are available online: http://www.oreilly.com/catalog/googlehks2/chapter/index.html ***AspectJ Cookbook Publisher: O'Reilly ISBN: 0596006543 This hands-on book shows readers why and how common Java development problems can be solved by using new Aspect-oriented programming (AOP) techniques. With a wide variety of code recipes for solving day-to-day design and coding problems using AOP's unique approach, "AspectJ Cookbook" demonstrates that AOP is more than just a concept: it's a development process that will benefit users in an immediate and visible manner. http://www.oreilly.com/catalog/aspectjckbk/ Sample excerpts are available online: http://www.oreilly.com/catalog/aspectjckbk/chapter/index.html ***The Book of Postfix Publisher: No Starch Press ISBN: 1593270011 Developed with security and speed in mind, Postfix has become a popular alternative to sendmail and comes preinstalled in many Linux distributions as the default mailer. "The Book of Postfix" is a complete guide to Postfix whether used at home, as a mailrelay or virus-scanning gateway, or as a company mailserver. Practical examples show how to deal with daily challenges like protecting mail users from spam and viruses, managing multiple domains, and offering roaming access. http://www.oreilly.com/catalog/1593270011/ ***Home Hacking Projects for Geeks Publisher: O'Reilly ISBN: 0596004052 "Home Hacking Projects for Geeks" presents a wide range of projects, from automating light switches to building home theaters using Windows or Linux-based PCs to building home security systems that rival those offered by professional security consultants. The thirteen projects in the book are divided into three categories: Home Automation, Home Entertainment Systems, and Security. Designed for hackers of all skill levels, this fun, new guide combines creativity with electricity and power tools to achieve cool, and sometimes even practical-home automation projects. http://www.oreilly.com/catalog/homehpfg/ Sample excerpts are available online: http://www.oreilly.com/catalog/homehpfg/chapter/index.html ***Windows XP Home Edition: The Missing Manual, 2nd Edition Publisher: O'Reilly ISBN: 059600897X This comprehensive guide offers a wealth of tips, instructions, and expert advice dedicated to making your time with Windows XP safer, easier, and more fun. It's perfectly suited for both first-time PC fans and budding power users. Best of all, it's been updated to include Service Pack 2 (SP2), so you can better defend yourself against viruses, worms, and hackers. Fill the void in XP documentation with the technical insight, crystal-clear objectivity, and humor that define the Missing Manuals series. http://www.oreilly.com/catalog/windowsxptmm2/ ***Illustrations with Photoshop: A Designer's Notebook Publisher: O'Reilly ISBN: 0596008597 World-renowned French artists share their exciting and innovative digital creations in this first-time English translation of their cutting-edge work. The images in this book will energize image professionals, graphic artists, photographers, and computer graphics designers--all creators of images, whether still or animated--and will forever change the way you see and perform your design work. This visually stunning book will give you the creative license and technical knowledge needed to create one-of-a-kind digital illustrations with Photoshop. You are limited only by your imagination. http://www.oreilly.com/catalog/illustphotoadn/ ***Small Web Sites, Great Results Publisher: Paraglyph Press ISBN: 1932111905 Simplicity leads to great results. This book offers design guidelines to make websites look professional even on a small scale, techniques to get more hits from search engines, and much more that will help readers construct a holistic web presence that garners real results. The simple website system described in the book includes a series of pages and scripts that users can download and instantly put to use on their own sites. http://www.oreilly.com/catalog/1932111905/ ***Learning GNU Emacs, 3rd Edition Publisher: O'Reilly ISBN: 0596006489 "Learning GNU Emacs, 3rd Edition" shows readers how to get started with the GNU Emacs editor. This thorough guide grows with you: as you become more proficient, it teaches you how to use Emacs more effectively. The new edition describes Emacs 21.3 from the ground up, including new user-interface features such as an icon-based toolbar and an interactive interface to Emacs customization. There's also a new chapter that details how to install, run, and use Emacs on Mac OS X, Windows, and Linux. http://www.oreilly.com/catalog/gnu3/ Chapter 6, "Writing Macros," is available online: http://www.oreilly.com/catalog/gnu3/chapter/index.html ================================================ Upcoming Events ================================================ ***For more events, please see: http://events.oreilly.com/ ***O'Reilly at LinuxWorld, Boston, MA--Feb 15-17 Stop by our booth (#509) to check out our latest Linux and open source titles and listen to our authors including Jonathan Corbet ("Linux Device Drivers, 3rd Ed."), Kyle D. Dent ("Postfix: The Definitive Guide"), Jay Beale "Snort 2.1 Intrusion Detection, 2nd Ed.", Sam Hiser and Tom Adelstein ("Exploring the JDS Linux Desktop"), and Adam Trachtenberg ("PHP Cookbook"). http://www.linuxworldexpo.com/live/12/events/12BOS05A ***Mark Lutz ("Programming Python") at Python Bootcamp, Atlanta, GA--Feb 21-25 Mark will be teaching a week-long Python Bootcamp retreat for Big Nerd Ranch, based on his books. http://www.bignerdranch.com/about/python0205pr.shtml ***Allison Randal ("Perl 6 and Parrot Essentials") at UKUUG's 2005 LISA/Winter Conference, Birmingham, UK--Feb 24-25 Author and editor Allison Randal presents a Perl 6 Workshop at this event. http://www.ukuug.org/events/winter2005/ ***FOSDEM, Brussels, Belgium--Feb 26-27 O'Reilly is a Cornerstone sponsor of the fifth Free and Open Source Software Developers' European Meeting, a 2 day event organized by volunteers. Stop by our stand to check out our latest books and chat with editor and author Allison Randal (Perl 6 and Parrot Essentials), who will also be there. http://www.fosdem.org/2005 ================================================ Conference News ================================================ ***OSCON Call For Proposals Now Open Circle August 1-5 on your calendar and join us at the O'Reilly Open Source Convention in beautiful Portland, Oregon. OSCON 2005 will be at the Oregon Convention Center, where we'll have tutorials, sessions, parties, BOFs, and a huge exhibit hall. http://conferences.oreillynet.com/os2005/ The call for participation is open, and you're invited to submit a proposal to lead tutorials and sessions. Visit the submissions page for all the details on tracks and proposal guidelines. Proposals are due no later than February 13, 2005. http://conferences.oreillynet.com/cs/os2005/create/e_sess ***Early Registration ends January 31 for the 2005 O'Reilly Emerging Technology Conference San Diego, CA--March 14-17 Early Bird registration for ETech has just opened. This year's conference theme is "Remix," which infuses ETech's roll-up-your-sleeves tutorials, to-the-point plenary presentations, and real world focused breakout sessions. Come to ETech and discover how applications and hardware are being deconstructed and recombined in unexpected ways. Learn how users and customers are influencing new interfaces, devices, business models, and services. For all the scoop on tutorials, featured speakers, and conference events, check out: http://conferences.oreillynet.com/etech/ User Group members who register before January 31, 2005 get a double discount. Use code DSUG when you register, and receive 20% off the early registration price. To register for the conference, go to: http://conferences.oreillynet.com/cs/et2005/create/ord_et05 ***Registration Is Open for the 2005 MySQL Users Conference, Santa Clara, CA--April 18-21 The MySQL Users Conference, co-presented by O'Reilly Media and MySQL AB, brings together experts, users, and industry leaders with unique MySQL insights, offering attendees a detailed look into new features in MySQL 5.0, sessions and workshops designed to teach best practices, and exposure to new open source technologies. For more information, go to: http://www.mysqluc.com/ User Group members who register before Febuary 28, 2005 get a double discount. Use code DSUG when you register, and receive 20% off the early registration price. To register for the conference, go to: http://conferences.oreillynet.com/cs/mysqluc2005/create/ord_mysql05 ================================================ News From O'Reilly & Beyond ================================================ --------------------- General News --------------------- ***Race for the Ultimate Car Hacks "People have been tinkering with their cars since the first horseless buggy hit the road. Now, thanks to onboard computerized systems that control everything from engine management systems to radios, hackers can customize their rides in ways that are likely to have Henry Ford doing back flips in his grave." TechnologyReview.com writer Michelle Delio speaks with Damien Stolarz, CEO of Carbot, and Raffi Krikorian, director of Synthesis Studios. http://www.technologyreview.com/articles/04/12/wo_delio121604.asp?trk=nl Join Damien and Raffi at O'Reilly's upcoming ETech for their tutorial, "Hack Sci-Fi Features into Your Car." http://conferences.oreillynet.com/cs/et2005/view/e_sess/6242 ***"Make" subscriptions now available--Just in Case you Missed this Last Time The annual subscription price for four issues is $34.95. When you subscribe with this link, you'll get a free issue--the first one plus four more for $34.95. So subscribe for yourself or friends with this great offer for charter subscribers: five volumes for the cost of four. Subscribe at: https://www.pubservice.com/MK/Subnew.aspx?PC=MK&PK=M5ZUGLA ***Color for Coders--Color and Design for the Non-Designer Programmers do have to work with color sometimes, but even the least artistic coder can choose snappy color combinations with Jason Beaird's handy how-to. This tutorial cuts through the artsy hyperbole to provide the nuts and bolts of color theory--and its practical application. http://www.sitepoint.com/article/color-for-coders ***Designing for Clients Made Easy Clients can be among the biggest hurdles to a web design project's success. Astute designers use a number of tactics to ensure they keep the project in control, on time, and on budget...and have some creative fun along the way. http://www.sitepoint.com/article/designing-for-clients-made-easy ***Printing XML: Why CSS Is Better than XSL One of the old school debates among XML developers is "CSS versus XSLT." Hakun Wium Lie and Michael Day revive that debate with a shot across XSL's bow. http://www.xml.com/pub/a/2005/01/19/print.html ***A Review of PalmOne???s Zire 72 and 31 Wei-Meng Lee takes a look at a couple of PalmOne devices, and is pleased by what he finds. http://www.oreillynet.com/pub/a/wireless/2005/01/17/zire.html --------------------- Audio Webcasts --------------------- ***BoundCast interview with Andy Hertzfeld, author of "Revolution in the Valley" This is the first of a two part series interview with Andy Hertzfield that covers his book "Revolution in the Valley," Apple, and the future. http://www.boundcast.com/ ***A Podcast With Wallace Wang, author of "Steal This File Sharing Book" Wallace and Denise Howell discuss the future of P2P networks, nefarious knitters, macchiato moms, the Ninth Circuit's Grokster decision, the economics of digital media, and other topics. http://www.thestandard.com/movabletype/denisehowell/archives/000825.php --------------------- Open Source --------------------- ***Network Installation of Windows Printers from Samba The combination of Samba and CUPS makes network printing on a mixed Linux/Windows LAN easier than ever. You can share Linux printers with Windows clients, and Windows printers with Linux clients. A Linux/Samba/CUPS printer server is reliable and reasonably simple to set up and maintain. Carla Schroder, author of "Linux Cookbook," shows you how. http://www.linuxdevcenter.com/pub/a/linux/2005/01/13/lnxckbk_samba.html ***An Introduction to Quality Assurance The libraries and syntax for automated testing are easy to find. The mindset of quality and testability is harder to adopt. Tom McTighe reviews the basic principles of quality assurance that can make the difference between a "working" application and a high-quality application. http://www.perl.com/pub/a/2005/01/13/quality_assurance.html --------------------- Mac --------------------- ***Macworld 1984 Animation As seen at Macworld Live! with David Pogue at the recent Macworld Expo San Francisco 2005. http://www.macboy.com/macworld/index.html ***A RAW Look at iPhoto 5 Apple overhauled much of iPhoto in version 5 and presented photographers with a more robust tool for managing their media files. Derrick Story looks at importing existing iPhoto libraries, using the new editing tools, and working with RAW and QuickTime files. Image samples of RAW comparisons are included. http://www.macdevcenter.com/pub/a/mac/2005/01/19/iphoto5.html ***How to Use mutt, FastMail, and Mail.app Together on Your Mac Many Linux users who are adding Mac OS X to their computing life look to combine the control of command line with the convenience of GUI. In this article, Philip Hollenback, a seasoned Linux user himself, shows how to bring these worlds together on Mac OS X using mutt, FastMail, and Mail.app. http://www.macdevcenter.com/pub/a/mac/2005/01/18/fastmail.html --------------------- Windows/.NET --------------------- ***Disk Cleanup Hacks No matter how much space you have on your hard disk, it's never enough. Mitch Tulloch, author of "Windows Server Hacks," shows you better ways to clean your hard disk quickly. http://www.windowsdevcenter.com/pub/a/windows/2005/01/18/disk_cleanup.html ***Using SQL Cache Dependency Caching has long been recognized as one of the more effective ways to improve your ASP.NET web applications. One particular caching feature missing in ASP.NET 1.x was SQL cache dependency: the ability to invalidate a database cache if data in a table is changed. In ASP.NET 2.0, Microsoft has added the new SQL cache dependency feature. Wei-Meng Lee discusses the SQL cache dependency in ASP.NET 2.0, and how you can manually implement it in ASP.NET 1.x. http://www.ondotnet.com/pub/a/dotnet/2005/01/17/sqlcachedependency.html ***Run Mac OS X on a PC You can get the best of both worlds--you can run the real Mac OS X on your own PC. Wei-Meng Lee shows you how to run the Mac operating system on an emulator called PearPC. http://www.windowsdevcenter.com/pub/a/windows/2005/01/18/PearPC.html --------------------- Java --------------------- ***Parsing an XML Document with XPath Pulling just a single node value or attribute from an XML document can be inefficient if you have to parse over a whole list of nodes you don't want, just to get to one you do. XPath can be much more efficient, by letting you specify the path to the desired node up front. J2SE adds XPath support, and the JDOM API also offers support through an XPath class. Deepak Vohra looks at both approaches. http://www.onjava.com/pub/a/onjava/2005/01/12/xpath.html ***Mock Objects in Unit Tests Unit testing your code against a service or process that's either too expensive (commercial databases) or just not done yet is something you can deal with by simulating the other piece with a mock object. EasyMock can suffice in some cases, but it can only create mock objects for interfaces. Mocquer, based on the Dunamis project, can create mocks for classes, too. Lu Jian shows how it works. http://www.onjava.com/pub/a/onjava/2005/01/12/mocquer.html --------------------- Digital Media --------------------- ***Time-Saving Digital GEM Plug-Ins for Photoshop Removing noise from images or trying to retouch facial blemishes is time-consuming work. Fortunately these Photoshop plug-ins from Kodak's Austin Development Center can help photographers work more efficiently. Derrick Story takes them for a spin. http://digitalmedia.oreilly.com/2005/01/05/kodak_plugins.html ***Frank Serafine: Turning Elephants into Explosions Academy Award-winning sound designer Frank Serafine discusses the art and science of sound effects, tape-baking, and why selling all his analog gear on eBay made him happier musically. http://digitalmedia.oreilly.com/2005/01/12/serafine_0105.html ================================================ From Your Peers =============================================== 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 glim at mycybernet.net Mon Jan 24 17:42:00 2005 From: glim at mycybernet.net (glim@mycybernet.net) Date: Mon Jan 24 17:41:50 2005 Subject: [oak perl] Yet Another Perl Conference North America 2005 announces call-for-papers Message-ID: YAPC::NA 2005 (Yet Another Perl Conference, North America) has just released its call-for-papers; potential and aspiring speakers can submit a presentation proposal via: http://yapc.org/America/cfp-2005.shtml The dates of the conference are Monday - Wednesday 27-29 June 2005. The location will be in downtown Toronto, Ontario, Canada. (Note that a different date block was previously announced, but has been moved to accomodate venue availability.) The close of the call-for-papers is April 18, 2005 at 11:59 pm. If you have any questions regarding the call-for-papers or speaking at YAPC::NA 2005 please email na-author@yapc.org We would love to hear from potential sponsors. Please contact the organizers at na-sponsor@yapc.org to learn about the benefits of sponsorship. Other information regarding the conference (e.g. venue, registration specifics) will be announced soon. We look forward to your submissions and a great conference! From george at metaart.org Tue Jan 25 12:01:02 2005 From: george at metaart.org (George Woolley) Date: Tue Jan 25 11:44:36 2005 Subject: [oak perl] Wiki Talks/Links/Thoughts? Message-ID: <200501251201.02106.george@metaart.org> Is anyone willing to give a short talk of some kind regarding wikis at the February meeting? <<<<<< It can be as short as you wish. Also I request you consider posting something re wikis here. <<<<<< E.g. * a link to something about wikis you recommend reading * a link to an example of wikis you favor * a thought you have about wikis George ............................................. cut & paste from http://www.metaart.org/opug/index.html ............................................. Next meeting * when: Tue. Feb. 8 at 7:30-9:30pm (on 2nd Tuesdays since Dec. 2002) * where: Connie's Cantina 3340 Grand Ave., Oakland CA * directions: [link to] directions and ascii map * theme: wiki * activities: o introductions o giveaways o short talks on the theme and discussion o short talks on other topics + on stupid Perl tricks by Josh Wait + on Python by Stephen Kolupaev o eat Mexican food o ... * who: open to anyone interested. * how much: no fee for our meetings. However, it would be kool if you got something to eat and/or drink. * RSVP: if you want to be sure to have a seat at the Oakland.pm table. From george at metaart.org Tue Jan 25 17:31:25 2005 From: george at metaart.org (George Woolley) Date: Tue Jan 25 17:14:59 2005 Subject: [oak perl] Fwd: Google Hacks, Second Edition Message-ID: <200501251731.25996.george@metaart.org> Back in 2003, I wrote a review of the first edition of this book. I thought it was very good. Anyone interested in reviewing the second edition? <<<<<< ---------- Forwarded Message ---------- Subject: Google Hacks, Second Edition Date: Tuesday 25 January 2005 1:37 pm From: "O'Reilly Media" To: sassafras@metaart.org "Google Hacks, Second Edition," by Tara Calishain and Rael Dornfest, is a unique collection of tips and tools gathered from expert users of Google, as well as developers who work with Google's API. The book offers a variety of interesting ways for power users to mine the enormous amount of information that Google has access to, including how to: -Search smarter with Google's flexible search syntax -Pull results from hard-to-reach places using the Google Web API and a little Perl, PHP, Python, Java, or .NET programming -Bring the power and flexibility of Google search to your desktop with Google Desktop and to your web site with Google Site Search -Break down the barriers to online advertising with Google AdWords and make money yourself with AdSense on your site -Gain a clear understanding of how Google looks at your site and learn more about Google's famous PageRank algorithm -Change your emailing ways with Gmail, Google's unique take on online correspondence In his foreword to the book, Craig Silverstein, Director of Technology at Google, observes, "Since 'Google Hacks' first appeared, search has, if possible, only grown in importance. Not only is there more information than ever to be found--via email, computer hard drives, and newly digitized repositories of previously offline content--there is also a greater need to automate tasks and to locate that needle of information in a haystack that will just not stop growing." Coauthor Calishain agrees: "Data on the Internet will only get more extensive. I think we'll see more ways of searching for it, and I think that Google will lead the way in offering different methods of cutting though the data to get what you want." To order your copy or for more information, see: http://www.oreilly.com/catalog/googlehks2/ or call 1-800-998-9938 or email orders@oreilly.com Google Hacks, Second Edition Tara Calishain, Rael Dornfest Publisher: O'Reilly ISBN: 0-596-00857-0, 479 pages, $24.95 US, $36.95 CA http://www.oreilly.com/catalog/googlehks2/ ----------------------------------------------------------------- If you want to cancel a subscription to this newsletter, or add subscriptions to other topics, go to http://www.oreillynet.com/cs/user/home For non-automated human help email help@oreillynet.com ----------------------------------------------------------------- ------------------------------------------------------- From george at metaart.org Tue Jan 25 18:11:46 2005 From: george at metaart.org (George Woolley) Date: Tue Jan 25 17:55:19 2005 Subject: [oak perl] Review of "Revolution in the Valley" - completed Message-ID: <200501251811.46995.george@metaart.org> There's a review of "Revolution in the Valley" on our site at http://www.metaart.org/opug/reviews/revolution.html should you wish to look at it. From george at metaart.org Tue Jan 25 20:39:49 2005 From: george at metaart.org (George Woolley) Date: Tue Jan 25 20:23:23 2005 Subject: [oak perl] Wiki Talks/Links/Thoughts? > Some Links In-Reply-To: <200501251201.02106.george@metaart.org> References: <200501251201.02106.george@metaart.org> Message-ID: <200501252039.49104.george@metaart.org> On Tuesday 25 January 2005 12:01 pm, George Woolley wrote: > ... > Also I request you consider posting > something re wikis here. <<<<<< > E.g. > * a link to something about wikis you recommend reading > * a link to an example of wikis you favor > * a thought you have about wikis > ... ===================== In case one or tow of them interest some of you, here's some links to Wiki pages that I think worth looking at: ==== Some Wiki Concepts * http://en.wikipedia.org/wiki/Wiki the entry for Wiki in Wikipedia. * http://c2.com/cgi/wiki?WikiPrinciples a view of Wiki Principles. * http://c2.com/cgi/wiki?WalledGarden about walled gardens within Wikis. which is an important concept re Wikis. ==== Kwiki Formatting [Kwiki is a kind of Wiki.] ^ http://wiki.oreillynet.com/usergroups/index.cgi?KwikiFormattingRules describes how to do kwiki formatting. * http://wiki.oreillynet.com/usergroups/index.cgi?MinimalistFormatting describes a minimalist approach to Kwiki formatting. * http://wiki.oreillynet.com/usergroups/index.cgi?AnotherSandBox a Kwiki page intended for experimenting. ==== Two More Wiki Examples * http://wiki.oreillynet.com/usergroups/index.cgi?FunStuff fun stuff mostly relevant to O'Reilly user groups types. a page within the O'Reilly User Group Program Kwiki. Please add to FunStuff. <<<<<< * http://poe.perl.org/ linked to from Wikipedia. also a Wiki. Perl Object Environment. [which is the theme of the March meeting] From george at metaart.org Wed Jan 26 16:37:20 2005 From: george at metaart.org (George Woolley) Date: Wed Jan 26 16:20:59 2005 Subject: [oak perl] Giveaways? Message-ID: <200501261637.20034.george@metaart.org> So far I have only a few giveaways for the February meeting. If you have something you feel good about parting with and wish to, we can include it in the giveaway. Giveaways could be * technical books * related books (e.g. User Friendly) * tech T shirts and other schwag Actually, anything you think people in the group might want, e.g.: * an old computer (e.g. a G3 you no longer use) * an old peripheral (e.g. an old scanner, e.g. a SCSI zip drive) * a science fiction book Hey, use your imagination. Oh, if what you have to offer is inconvenient to bring to the meeting, just tell people about it and if anyone is interested they can arrange to pick it up. George From kester at gmail.com Wed Jan 26 19:39:45 2005 From: kester at gmail.com (Kester Allen) Date: Wed Jan 26 19:39:58 2005 Subject: [oak perl] Giveaways? In-Reply-To: <200501261637.20034.george@metaart.org> References: <200501261637.20034.george@metaart.org> Message-ID: <55adb319050126193953a6af29@mail.gmail.com> Hi George-- I've recently gotten a job with NASA (yay!) at Moffett Field. I can't guaranttee I can generate any giveaways by tuesday, but I can bring a NASA logo catalog-- t-shirts, hats, and such-- if you think there would be interest. I'm not sure what the ordering schedule is, but I can find out by tuesday. Anyone interested could tell me what they'd like, and I could bring the items to the next meeting. --Kester On Wed, 26 Jan 2005 16:37:20 -0800, George Woolley wrote: > So far I have only a few giveaways > for the February meeting. > > If you have something you feel good about parting with > and wish to, > we can include it in the giveaway. > Giveaways could be > * technical books > * related books (e.g. User Friendly) > * tech T shirts and other schwag > > Actually, anything you think > people in the group might want, e.g.: > * an old computer (e.g. a G3 you no longer use) > * an old peripheral (e.g. an old scanner, e.g. a SCSI zip drive) > * a science fiction book > Hey, use your imagination. > > Oh, if what you have to offer > is inconvenient to bring to the meeting, > just tell people about it > and if anyone is interested > they can arrange to pick it up. > > George > > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland > From kester at gmail.com Wed Jan 26 19:39:45 2005 From: kester at gmail.com (Kester Allen) Date: Wed Jan 26 19:40:00 2005 Subject: [oak perl] Giveaways? In-Reply-To: <200501261637.20034.george@metaart.org> References: <200501261637.20034.george@metaart.org> Message-ID: <55adb319050126193953a6af29@mail.gmail.com> Hi George-- I've recently gotten a job with NASA (yay!) at Moffett Field. I can't guaranttee I can generate any giveaways by tuesday, but I can bring a NASA logo catalog-- t-shirts, hats, and such-- if you think there would be interest. I'm not sure what the ordering schedule is, but I can find out by tuesday. Anyone interested could tell me what they'd like, and I could bring the items to the next meeting. --Kester On Wed, 26 Jan 2005 16:37:20 -0800, George Woolley wrote: > So far I have only a few giveaways > for the February meeting. > > If you have something you feel good about parting with > and wish to, > we can include it in the giveaway. > Giveaways could be > * technical books > * related books (e.g. User Friendly) > * tech T shirts and other schwag > > Actually, anything you think > people in the group might want, e.g.: > * an old computer (e.g. a G3 you no longer use) > * an old peripheral (e.g. an old scanner, e.g. a SCSI zip drive) > * a science fiction book > Hey, use your imagination. > > Oh, if what you have to offer > is inconvenient to bring to the meeting, > just tell people about it > and if anyone is interested > they can arrange to pick it up. > > George > > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland > From george at metaart.org Wed Jan 26 20:18:12 2005 From: george at metaart.org (George Woolley) Date: Wed Jan 26 20:01:45 2005 Subject: [oak perl] Giveaways? In-Reply-To: <55adb319050126193953a6af29@mail.gmail.com> References: <200501261637.20034.george@metaart.org> <55adb319050126193953a6af29@mail.gmail.com> Message-ID: <200501262018.12287.george@metaart.org> Kester, Thanks for thinking about giveaways. I suggest you bring the catalog to the meeting so we can find out what interests people. It will be fun to look at, if nothing else. I'm not clear how this is likely to lead to giveaways, but we can talk about that at the meeting. (Hey, it's OK if it doesn't.) George ================= On Wednesday 26 January 2005 7:39 pm, Kester Allen wrote: > Hi George-- > > I've recently gotten a job with NASA (yay!) at Moffett Field. I can't > guaranttee I can generate any giveaways by tuesday, but I can bring a > NASA logo catalog-- t-shirts, hats, and such-- if you think there > would be interest. I'm not sure what the ordering schedule is, but I > can find out by tuesday. Anyone interested could tell me what they'd > like, and I could bring the items to the next meeting. > > --Kester > > On Wed, 26 Jan 2005 16:37:20 -0800, George Woolley wrote: > > So far I have only a few giveaways > > for the February meeting. > > > > If you have something you feel good about parting with > > and wish to, > > we can include it in the giveaway. > > Giveaways could be > > * technical books > > * related books (e.g. User Friendly) > > * tech T shirts and other schwag > > > > Actually, anything you think > > people in the group might want, e.g.: > > * an old computer (e.g. a G3 you no longer use) > > * an old peripheral (e.g. an old scanner, e.g. a SCSI zip drive) > > * a science fiction book > > Hey, use your imagination. > > > > Oh, if what you have to offer > > is inconvenient to bring to the meeting, > > just tell people about it > > and if anyone is interested > > they can arrange to pick it up. > > > > George From george at metaart.org Thu Jan 27 17:03:28 2005 From: george at metaart.org (George Woolley) Date: Sun Jan 30 18:43:32 2005 Subject: [oak perl] InDesign Annoyances Needed for New Book Message-ID: <200501271703.28118.george@metaart.org> I just got an email from Marsee seeking InDesign Annoyances. If you use InDesign and think you might send her an annoyance or two, let me know and I'll send you what she sent me including an example of an InDesign Annoyance and a "fix" for it. George From george at metaart.org Thu Jan 27 21:25:24 2005 From: george at metaart.org (George Woolley) Date: Sun Jan 30 18:43:36 2005 Subject: [oak perl] InDesign Annoyances Needed for New Book Message-ID: <200501272125.24801.george@metaart.org> I got an email from Marsee seeking InDesign Annoyances. If you use InDesign and think you might send her an annoyance or two, let me know and I'll send you what she sent me including an example of an InDesign Annoyance and a "fix" for it. George From george at metaart.org Sat Jan 29 12:42:14 2005 From: george at metaart.org (George Woolley) Date: Sun Jan 30 18:44:24 2005 Subject: [oak perl] Test #A2.o29 Message-ID: <200501291242.14500.george@metaart.org> should post From george at metaart.org Sat Jan 29 12:42:17 2005 From: george at metaart.org (George Woolley) Date: Sun Jan 30 18:44:25 2005 Subject: [oak perl] Test #A1.o29 Message-ID: <200501291242.17450.george@metaart.org> should post From cajun at cajuninc.com Sun Jan 30 01:36:59 2005 From: cajun at cajuninc.com (M. Lewis) Date: Sun Jan 30 18:44:29 2005 Subject: [oak perl] Test Message Message-ID: <41FCAABB.2020801@cajuninc.com> Test Test Test From alamozzz at yahoo.com Sun Jan 30 10:57:54 2005 From: alamozzz at yahoo.com (Adrien Lamothe) Date: Sun Jan 30 18:44:31 2005 Subject: [oak perl] Test post Message-ID: <20050130185754.57674.qmail@web50205.mail.yahoo.com> This is a test post. __________________________________ Do you Yahoo!? Yahoo! Mail - Easier than ever with enhanced search. Learn more. http://info.mail.yahoo.com/mail_250 From santranyc at yahoo.com Sun Jan 30 15:18:06 2005 From: santranyc at yahoo.com (Sandy Santra) Date: Sun Jan 30 18:44:33 2005 Subject: [oak perl] test Message-ID: <5.1.0.14.2.20050130181355.02b0aa60@pop.mail.yahoo.com> George said there might be problems with the list, so this is a test post. And here's a snippet of code I wrote recently that I'm very proud of (considering I haven't even yet finished the regex chapters in the camel book); and yes, I did crib some of it from the camel book. I know it needs improvement--any suggestions welcome. (Like how to look over and over again in each file/directory name for the textstring in case it appears more times than one...) Happy new year everyone! BEGIN PERL SCRIPT: #find [text string] and delete it from all file and directory names chdir "c:/temp" or die "cannot chdir to that directory: $!"; foreach $file (glob "*") { $newfile = $file; $newfile =~ s/\(1\)//; if (-e $newfile) { ## warn "can't rename $file to $newfile: $newfile exists\n"; } elsif (rename $file, $newfile) { ## success, do nothing } else { warn "rename $file to $newfile failed: $!\n"; } } --Sandy Santra From blyman at iii.com Mon Jan 31 10:47:52 2005 From: blyman at iii.com (Belden Lyman) Date: Mon Jan 31 10:47:27 2005 Subject: [oak perl] test In-Reply-To: <5.1.0.14.2.20050130181355.02b0aa60@pop.mail.yahoo.com> References: <5.1.0.14.2.20050130181355.02b0aa60@pop.mail.yahoo.com> Message-ID: <1107197271.32455.8.camel@ls104> On Sun, 2005-01-30 at 15:18, Sandy Santra wrote: > George said there might be problems with the list, so this is a test post. > > And here's a snippet of code I wrote recently that I'm very proud of > (considering I haven't even yet finished the regex chapters in the camel > book); and yes, I did crib some of it from the camel book. I know it needs > improvement--any suggestions welcome. It's helpful (but not required) to put use strict; use warnings; at the top of your script. "strict" will enforce good programming behavior, and "warnings" will catch many easy mistakes (mis-spelled variables, etc.). One of the "good behaviors" that strict will enforce is the scoping of your variables, for example: foreach my $file ( glob '*' ) { my $newfile = $file ; # ... everything else as before } The camel book no doubt talks about the importance of scoping. > (Like how to look over and over > again in each file/directory name for the textstring in case it appears > more times than one...) > Read up on the /g modifier... covered a bit further in your chapter, no doubt. You'll be able to handle foo(1).txt bar(1)(1)(1).txt very easily. baz(1(1(1))).txt will be more difficult to match. (If you've got this type of data, look into using Regexp::Common, available from CPAN.) Belden > Happy new year everyone! > > BEGIN PERL SCRIPT: > > #find [text string] and delete it from all file and directory names > > chdir "c:/temp" or die "cannot chdir to that directory: $!"; > foreach $file (glob "*") { > $newfile = $file; > $newfile =~ s/\(1\)//; > if (-e $newfile) { > ## warn "can't rename $file to $newfile: $newfile exists\n"; > } elsif (rename $file, $newfile) { > ## success, do nothing > } else { > warn "rename $file to $newfile failed: $!\n"; > } > } > > > > --Sandy Santra > > _______________________________________________ > Oakland mailing list > Oakland@pm.org > http://mail.pm.org/mailman/listinfo/oakland