From grant at mclean.net.nz Mon Jun 6 18:21:10 2005 From: grant at mclean.net.nz (Grant McLean) Date: Tue, 07 Jun 2005 13:21:10 +1200 Subject: [Wellington-pm] Next Meeting Monday Message-ID: <1118107270.4205.20.camel@localhost> Hi Mongers The next meeting of Wellington Perl Mongers will be next Monday, June 13th at the usual time and place: http://wellington.pm.org/ Sam Vilain will be talking about Perl6 and Pugs. Regards Grant PS: If you're wondering why our web site is advertising for OSCON, it's because the nice folks from O'Reilly are going to give us a book for carrying their banner (and this book won't come with the 'review copy' guilt baggage). From grant at mclean.net.nz Wed Jun 8 16:30:15 2005 From: grant at mclean.net.nz (Grant McLean) Date: Thu, 09 Jun 2005 11:30:15 +1200 Subject: [Wellington-pm] [Fwd: Newsletter from O'Reilly UG Program] Message-ID: <1118273415.2777.2.camel@localhost> -------- Forwarded Message -------- > From: Marsee Henon > To: perlmongers at catalyst.net.nz > Subject: Newsletter from O'Reilly UG Program > Date: Thu, 02 Jun 2005 18:17:37 -0700 > ================================================================ > O'Reilly News for User Group Members > June 2, 2005 > ================================================================ > ---------------------------------------------------------------- > Book News > ---------------------------------------------------------------- > -Essential Sharepoint > -Killer Game Programming in Java > -Classic Shell Scripting > -Infosec Career Hacking > -Learning Java, 3rd Edition > -DHTML Utopia > SSH, The Secure Shell: The Definitive Guide, 2nd Edition > -Degunking Linux > -Designing Embedded Hardware, 2nd Edition > -Database in Depth > -MySQL in a Nutshell > -MAKE Subscriptions Available > ---------------------------------------------------------------- > Upcoming Events > ---------------------------------------------------------------- > -Adam Goldstein ("AppleScript: The Missing Manual"), SoHo Apple Store, > New York, NY--June 3 > -O'Reilly at Tech Ed 2005, Orlando, FL--Jun 5-10 > -O'Reilly at Apple WWDC, San Francisco, CA--June 6-10 > -Sinan Si Alhir ("UML in a Nutshell"), UML & Design World 2005, > Austin, TX--June 13-16 > -James Avery ("Visual Studio Hacks") Dayton .NET Developers, > Fairborn, OH--July 25 > ---------------------------------------------------------------- > Conference News > ---------------------------------------------------------------- > -Registration is Open for the O'Reilly Open Source Convention, > Portland, OR--August 1-5 > -Where 2.0 Conference Registration Open, > San Francisco, CA--June 29-30 > ---------------------------------------------------------------- > News > ---------------------------------------------------------------- > -"Cult of Mac" and "Degunking Windows" Win IPPY Awards > -E3 2005: War of the Consoles...Almost > -Mapping the 802.11 Protocol > -Embedded-system Programmers Must Learn the Fundamentals > -Rendering Everything as Text > -A Simpler Ajax Path > -Rexx: Power Through Simplicity > -Learning Lab: Linux/Unix SysAdmin Certificate Special > -An Introduction to Tiger Terminal > -Japan Primer for the Mac Techno-Tourist > -20 Cool Tiger Features You Might Not Have Heard About > -Refactoring Support for Visual Basic 2005 > -Ferreting Out Near-Identical Records in Access > -Building Web Parts, Part 1 > -Constructing Services with J2EE > -Wire Hibernate Transactions in Spring > -Look Ma--Hands! Choosing and Using MIDI Controllers > -Steve Turnidge: Turning Weed into Green > -Consumer Camera Time-Lapse Movies > -DHTML Utopia: Modern Web Design > -Search Engines Know More Than You Think > -MAKE: Audio, Flickr, and del.icio.us > > ================================================ > 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 > ---------------------------------------------------------------- > ***Essential Sharepoint > Publisher: O'Reilly > ISBN: 0596008805 > This comprehensive guide covers all the key topics for getting you started > with Microsoft SharePoint. Learn everything there is to know about > creating a team-oriented website: how to turn it on, set it up, and set > your applications to work with it. Covering hosting choices, > administration, customization, and more, it's ideal for anyone who wants > to improve productivity through information sharing and document > collaboration. > http://www.oreilly.com/catalog/essentialsp/ > > Chapter 1, "Why Use SharePoint?" is available online: > http://www.oreilly.com/catalog/essentialsp/ > > > ***Killer Game Programming in Java > Publisher: O'Reilly > ISBN: 0596007302 > This comprehensive guide has everything you need to program Java games. It > offers the most thorough coverage of Java 3D available, and clearly > details the older, better-known 2D APIs, 3D sprites, animated 3D sprites, > first-person shooter programming, sound, fractals, and networked games. > This practical book is a must-have for anyone who wants to create > adrenaline-fueled games in Java. > http://www.oreilly.com/catalog/killergame/ > > Chapter 22, "Flocking Boids," is available online: > http://www.oreilly.com/catalog/killergame/chapter/index.html > > > ***Classic Shell Scripting > Publisher: O'Reilly > ISBN: 0596005954 > The ability to program and customize the shell quickly, reliably, and > portably is important for anyone operating and maintaining Unix or Linux > systems. This book gives you everything you need to master these essential > skills. The authors provide the tips, tricks, and organized knowledge > necessary to create excellent scripts, as well as warnings of the traps > that can turn your best efforts into bad shell scripts. > http://www.oreilly.com/catalog/shellsrptg/ > > Chapter 5, "Pipelines Can Do Amazing Things," is available online: > http://www.oreilly.com/catalog/shellsrptg/chapter/index.html > > > ***Infosec Career Hacking > Publisher: Syngress > ISBN: 1597490113 > Do you code for the sheer joy and challenge? If you want to refine your > skills and learn new ones to build an InfoSec career, this book is for > you. The authors have all applied their inherent hacker skills to build > successful InfoSec careers. From them, you will learn about the variety of > available jobs and the skills required to excel in each one. > http://www.oreilly.com/catalog/1597490113/ > > > ***Learning Java, 3rd Edition > Publisher: O'Reilly > ISBN: 0596008732 > This bestselling hands-on tutorial delivers a no-nonsense approach to Java > 5.0 features, such as "generics," loops, and threads. It addresses all of > the important uses of Java, such as web applications, servlets, and XML, > that are increasingly driving enterprise applications. The accompanying CD > includes the Java 5.0 SDK for Windows, Linux, and Solaris, plus the > Eclipse IDE, the NetBeans IDE, and the many example programs from the > book. > http://www.oreilly.com/catalog/learnjava3/ > > Chapter 8, "Generics," is available online: > http://www.oreilly.com/catalog/learnjava3/chapter/index.html > > > ***DHTML Utopia > Publisher: SitePoint > ISBN: 0957921896 > "DHTML Utopia" is a unique book about using JavaScript, HTML, and CSS > together to create extremely usable, standards compliant and modern > websites as well as updating your current designs to enhance the user > experience. > http://www.oreilly.com/catalog/0957921896/index.html > > > ***SSH, The Secure Shell: The Definitive Guide, 2nd Edition > Publisher: O'Reilly > ISBN: 0596008953 > Written for a wide, technical audience, this book covers several > implementations of SSH for different operating systems and computing > environments. Whether you're an individual running your home system or a > corporate network administrator with thousands of users, our indispensable > guide has you covered. It starts with simple installation and use of SSH, > and works its way to in-depth case studies on large, sensitive computer > networks. > http://www.oreilly.com/catalog/sshtdg2/ > > Chapter 8, "Per-Account Server Configuration," is available online: > http://www.oreilly.com/catalog/sshtdg2/chapter/index.html > > > ***Degunking Linux > Publisher: Paraglyph > ISBN: 1933097043 > This book will help users get their Linux configurations working > efficiently by providing them with a proven and time-saving 12-step > program to get rid of clutter and organize everything from user files to > system upgrades. This is the only book that is completely focused on > helping Linux users learn the causes of sluggish performance and how to > apply smart solutions to improve overall system performance. > http://www.oreilly.com/catalog/1933097043/ > > > ***Designing Embedded Hardware, 2nd Edition > Publisher: O'Reilly > ISBN: 0596007558 > This book steers a course between books dedicated to writing code for > particular microprocessors and those that stress the philosophy of > embedded system design without providing any practical information. Loaded > with real examples, it also provides a roadmap of the pitfalls and traps > to avoid. If you want to build your own embedded system, or tweak an > existing one, this invaluable book gives you the understanding and > practical skills you need. > http://www.oreilly.com/catalog/dbhardware2/ > > Chapter 6, "Building Hardware," is available online: > http://www.oreilly.com/catalog/dbhardware2/chapter/index.html > > > ***Database in Depth > Publisher: O'Reilly > ISBN: 0596100124 > This concise guide sheds light on the principles behind the relational > model, giving you an unbiased view that's not influenced by any vendor or > product. Featuring an extensive set of exercises, this book is ideal not > only for database developers and designers, but also for a diverse field > of professionals and academics, including database administrators, > information modelers, database consultants, and more. > http://www.oreilly.com/catalog/databaseid/ > > Chapter 1, "Introduction," is available online: > http://www.oreilly.com/catalog/databaseid/chapter/index.html > > > ***MySQL in a Nutshell > Publisher: O'Reilly > ISBN: 0596007892 > This book clearly documents every detail you need to master MySQL. In > addition to providing a thorough reference to MySQL statements and > functions, the administrative utilities, and the most popular APIs, this > book even includes several tutorial chapters to help newcomers get > started. This wealth of information is conveniently packed into a concise, > comprehensive, and easy-to-use format. > http://www.oreilly.com/catalog/mysqlian/ > > Chapter 6, "Date and Time Functions," is available online: > http://www.oreilly.com/catalog/mysqlian/chapter/index.html > > > ***MAKE Magazine Subscriptions 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 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 > > ================================================ > Upcoming Events > ================================================ > ***For more events, please see: > http://events.oreilly.com/ > > > ***Adam Goldstein ("AppleScript: The Missing Manual"), SoHo Apple Store, > New York, NY--June 3 > Author Adam is a featured speaker at the SoHo Apple Store from > 7:00-9:00pm. > http://www.apple.com/retail/soho/week/20050320.html > > > ***O'Reilly at Tech Ed 2005, Orlando, FL--Jun 5-10 > Stop by our booth (#1046/1048), check out our new titles, and say hi to > our authors while you attend Tech Ed. Some of latest books include ".NET > Gotchas" and "Visual Studio Hacks." > http://www.microsoft.com/events/teched2005/default.mspx > > > ***O'Reilly at Apple WWDC, San Francisco, CA--June 6-10 > On Tuesday, June 7, grab a tasty bag lunch and spend your lunchtime with > founder and CEO of O???Reilly Media, Tim O???Reilly. Tim will talk about > the innovations that are on his radar, and how Mac developers can begin > distributing the future today. > http://developer.apple.com/wwdc/ > > > ***Sinan Si Alhir ("UML in a Nutshell"), UML & Design World 2005, > Austin, TX--June 13-16 > Author Sinan Si Alhir leads two sessions at this event: "Enterprise > Business Modeling" and "The Agile Unified Process (AUP)." > http://www.cmpevents.com/SDUM5/a.asp?option=G&V=3&id=84520 > > > ***James Avery ("Visual Studio Hacks") Dayton .NET Developers, > Fairborn, OH--July 25 > Author James discusses getting the most out of Visual Studio's Integrated > Development Environment with his talk titled "Pimp your IDE." James is the > founder of the Cincinnati .NET Users Group and is the founder and > president of InfoZerk, a software consulting company. > http://www.daytondevgroup.net/schedule.htm > > ================================================ > Conference News > ================================================ > ***Registration is Open for the O'Reilly Open Source Convention, > Portland, OR--August 1-5 > OSCON 2005 explores three deep trends affecting open source: the > commoditization of software, network-enabled collaboration, and software > customizability. Join us at this essential gathering of open source > leaders and practitioners of every persuasion to exchange ideas and push > the boundaries of vital open source technologies. This year, we introduce > the Open Source Business Review, along with a host of other exciting > presentations and events. > http://conferences.oreilly.com/oscon/ > > User Group members who register before June 20, 2005 get a double > discount. Use code "os05grpusr" when you register, and receive 15% off > the early registration price. > > To register for the conference, go to: > http://conferences.oreillynet.com/cs/os2005/create/ord_os05 > > > ***Where 2.0 Conference Registration Open, > San Francisco, CA--June 29-30 > Join us at the first O???Reilly Where 2.0 Conference. Location-based > services and mapping are becoming mainstream technologies. Meanwhile, > innovative new software makes it possible to apply the wealth of new data > to old business problems. Come explore the emerging consumer and > enterprise ecosystems around location-aware technologies that increasingly > impact the way we work and play. > http://conferences.oreilly.com/where/ > > Use code "whereug" when you register, and receive 15% off the registration > price. > > To register for the conference, go to: > http://conferences.oreillynet.com/cs/where2005/create/ord_where > > ================================================ > News From O'Reilly & Beyond > ================================================ > --------------------- > General News > --------------------- > ***"Cult of Mac" and "Degunking Windows" Win IPPY Awards > Congratulation to No Starch Press and Paraglyph Press for winning the 2005 > Independent Publisher Book Awards. No Starch's "The Cult of Mac" by > Leander Kahney won for Most Unique Design and Paraglyph Press's "Degunking > Windows" won in the Computer/Internet category. > http://www.independentpublisher.com/ > > > ***E3 2005: War of the Consoles...Almost > E3 is the world's largest video game trade show, which means a lot of > networking and deal brokering. However, E3 is also the first chance for > the average gamer to get a sneak peek at the video games in development. > In a hardcore gamer's world, the flashy and elaborate E3 exhibits are like > Christmas morning--only in May. Stephen Cawood offers this report on E3 > 2005. > http://www.oreillynet.com/pub/a/network/2005/05/23/E3expo.html > > > ***Mapping the 802.11 Protocol > A trip to London and a bit of unique inspiration gave Matthew Gast the > ideas that would lead to the first draft of a visual map describing the > relationship between the various components of the 802.11 standard and > related security standards. Matthew details the road he took to the final > version of his 802.11 protocol map. Matthew is the author of "802.11: The > Definitive Guide, 2nd Edition." > http://www.oreillynet.com/pub/a/wireless/2005/05/20/80211map.html > > > ***Embedded-system Programmers Must Learn the Fundamentals > No Starch's Randy Hyde's article in the new issue of "EDN Magazine." > Randy is the author of "Write Great Code" and "The Art of Assembly > Language." > http://www.edn.com/article/CA601846.html > > --------------------- > Open Source > --------------------- > ***Rendering Everything as Text > Ah, the days of plain-text everything are long gone, what with media files > (hooray!) and encumbered binary blobs (boo!). Is the solution to give up > your comfortable, efficient, and effective text-based tools? No way. > Philip Hollenback proposes that you can render any data format to > meaningful text for mail reading, indexing, and more. Here's how. > http://www.linuxdevcenter.com/pub/a/linux/2005/05/26/textonly.html > > > ***A Simpler Ajax Path > After years of hacks, tricks, and workarounds, there's finally a > cross-browser, cross-platform way to communicate between client and server > in web applications. Matthew Eernisse demonstrates how to send and receive > structured data with XMLHttpRequest and shows off some tricks to make > debugging and error handling easier. > http://www.onjava.com/pub/a/onjava/2005/05/18/swingxactions.html > > > ***Rexx: Power Through Simplicity > The P-languages get most of the press these days, but they're not the only > dynamic languages in the world. Arguably, Rexx is the grandfather of them > all. It's received little attention in the open source world, despite > several good open source implementations. Howard Fosdick shows off some of > the features of the language with practical examples. > http://www.onlamp.com/pub/a/onlamp/2005/05/26/rexx.html > > > ***Learning Lab: Linux/Unix SysAdmin Certificate Special > Learn system administration skills online and receive certification from > the University of Illinois Office of Continuing Education. Courses > include: The Unix File System, Networking and DNS, Unix Services > (including email and web servers), and Scripting for Administrators with > Sed, Awk, and Perl. It's all at the O'Reilly Learning Lab. Enroll and save > 40%. > http://www.oreilly.com/redirector.csp?link=UASys&type=news > > --------------------- > Mac > --------------------- > ***An Introduction to Tiger Terminal > Now that you've had a chance to enjoy all of the GUI goodies in Mac OS X > 10.4, you might be ready to check out what's happening with the Terminal > app. This article will introduce you to Tiger's Terminal app and CLI > (command-line interface). > http://www.macdevcenter.com/pub/a/mac/2005/05/20/terminal1.html > > > ***Japan Primer for the Mac Techno-Tourist > Many of us believe that Japan is the land of geek nirvana. If you're > contemplating a visit to the gadget promise land, you'll enjoy Todd > Ogasawara's report on everything from cell phone coverage to buying Mac > accessories. > http://www.macdevcenter.com/pub/a/mac/2005/05/27/japan.html > > > ***20 Cool Tiger Features You Might Not Have Heard About > Even though Tiger has been out for a while now, many of its major features > have nuances that haven't received much press--and there are a zillion > minor tweaks to discuss. Scott Knaster takes you on a tour of clever, and > sometimes even obscure Tiger goodies. > http://www.macdevcenter.com/pub/a/mac/2005/05/13/tiger_tips.html > > --------------------- > Windows/.NET > --------------------- > ***Refactoring Support for Visual Basic 2005 > Microsoft recently announced that they have teamed up with Developer > Express Inc. to release Refactor! for Visual Basic 2005 Beta 2, a free > plugin for Visual Studio that enables Visual Basic developers to simplify > and restructure source code inside of Visual Studio 2005. Wei-Meng Lee > walks you through the new refactoring. > http://www.ondotnet.com/pub/a/dotnet/2005/05/31/vbrefactoring.html > > > ***Ferreting Out Near-Identical Records in Access > Working with lists of contacts is a common database activity, but as a > list grows, so do the chances for duplicate records. Ken Bluttman shows > one technique for ferreting out these near-identical records in Access > using the InStr function to find when one value in one field is inside the > value of the same field in another record. Ken is the author of "Access > Hacks." > http://www.windowsdevcenter.com/pub/a/windows/2005/05/24/accesshacks.html > > > ***Building Web Parts, Part 1 > Web sites today contain a wealth of information; so much that a poorly > designed site can easily overwhelm users. To better help users cope, > portal web sites today (such as MSN) often organize their data into > discrete units that support a degree of personalization. In this first of > three articles, Wei-Meng Lee discusses how to use Web Parts for user > customization in your ASP.NET 2.0 web sites. > http://www.ondotnet.com/pub/a/dotnet/2005/05/23/webparts_1.html > > --------------------- > Java > --------------------- > ***Constructing Services with J2EE > Web services are a popular means of deploying service-oriented > applications, and the standards in J2EE 1.4 make it easier to develop > services that are portable and interoperable. Debu Panda shows you how, > and takes a look at how things will get easier in J2EE 5.0. > http://www.onjava.com/pub/a/onjava/2005/05/25/j2ee-services.html > > > ***Wire Hibernate Transactions in Spring > The proper handling of transactions across multiple data stores, > supporting multiple application flows, is the kind of heavy lifting J2EE > servers were built for. But what if you're using the lighter-weight Spring > framework? Binildas C.A. shows how you can wire Spring and Hibernate > together to achieve the transaction support you desire. > http://www.onjava.com/pub/a/onjava/2005/05/18/swingxactions.html > > --------------------- > Digital Media > --------------------- > ***Look Ma--Hands! Choosing and Using MIDI Controllers > If you really want to play today's wonderful software instruments, drop > that mouse and grab a dedicated MIDI controller. In this MP3-enhanced > tutorial, you'll hear the dramatic difference controllers make in musical > expressivity, then get buying and usage tips. > http://digitalmedia.oreilly.com/2005/06/01/controller1.html > > ***Steve Turnidge: Turning Weed into Green > Go behind the scenes with the co-founder of Weedshare.com, the service > that pays you--and the original artist--to share music. Driven by > ex-Microsoft and Real Networks employees, Weed is totally legal, and even > supports surround sound. > http://digitalmedia.oreilly.com/2005/05/25/weed.html > > ***Consumer Camera Time-Lapse Movies > Pocket digicams are great for still photos, and some of them even record > quality video. But you can push the envelope even further with these > devices. Here's how two photo novices created their first time-lapse > production. > http://digitalmedia.oreilly.com/2005/05/18/timelapse.html > > --------------------- > Web > --------------------- > ***DHTML Utopia: Modern Web Design > What do Flickr, Google Suggest, Google Maps, and GMail have in common? > They all employ some of the latest methods in modern, unobtrusive DHTML. > http://www.sitepoint.com/article/dhtml-utopia-modern-web-design > > > ***Search Engines Know More Than You Think > Learn how Google's personalized web search and Yahoo's Mindset work and > how they take searching to a whole new level. > http://www.sitepoint.com/blog-post-view.php?id=268282 > > --------------------- > MAKE > --------------------- > ***MAKE: Audio > The MAKE Team thought it would be fun to talk with pal Richard Giles in > Australia. They chatted about MAKE Volume 02, E3, Astromechs, VoIP for the > Nintendo DS, NASA's O2 challenge, the XBOX 360, Broadcast Flag part 2, and > more. Next up, they interview Jordan Kanarek and Jim Garretson from > roadcasting.org. What's roadcasting? Interactive, collaborative, mobile > radio stations for cars. It could be a glimpse of what's to come for our > daily commutes! > http://www.makezine.com/blog/archive/make_podcast/ > > > ***MAKE Flickr > Join the MAKE Flickr photo pool today. You never know what you'll see or > what we'll be giving away next! Where else can you see a potato cannon in > action? > http://www.flickr.com/groups/make/pool/ > > > ***MAKE del.icio.us > On the MAKE bookmark page, there are over 1,500 links to hacks, mods, DIY > projects, and all-around tinkering goodness. Be a MAKE voyeur and read > what we're reading. > http://del.icio.us/makemagazine > > This week's faves include: > > Artificial Intelligence: A Modern Approach > http://aima.cs.berkeley.edu/ > > Abusing Amazon Images > http://aaugh.com/imageabuse.html > > WSJ on Gaming > http://www.oreilly.com/go/wsj_on_gaming > > How to Stock Your Bar for a Party > http://www.degraeve.com/howto/stock-your-bar.php > > ***The MAKE blog is available at: > http://www.makezine.com/blog/ > > > ================================================ > >From Your Peers > =============================================== > ***Don't forget to check out the O'Reilly UG wiki to see what user groups > around the globe are up to: > http://wiki.oreillynet.com/usergroups/index.cgi > > Until next time-- > > Marsee Henon > > > ================================================================ > O'Reilly > 1005 Gravenstein Highway North > Sebastopol, CA 95472 > http://ug.oreilly.com/ http://www.oreilly.com > ================================================================ From grant at mclean.net.nz Sun Jun 12 14:07:25 2005 From: grant at mclean.net.nz (Grant McLean) Date: Mon, 13 Jun 2005 09:07:25 +1200 Subject: [Wellington-pm] Meeting this evening Message-ID: <1118610445.8555.2.camel@localhost> Hi All Meeting, 6:00pm this evening: http://wellington.pm.org/ Sam Vilain will be talking about Perl6 and Pugs. Regards Grant From grant at mclean.net.nz Mon Jun 13 19:13:08 2005 From: grant at mclean.net.nz (Grant McLean) Date: Tue, 14 Jun 2005 14:13:08 +1200 Subject: [Wellington-pm] Last night's meeting etc. Message-ID: <1118715188.4200.19.camel@localhost> Thanks again to Sam for an informative and entertaining presentation last night. Sam's slides are up on the web site: http://wellington.pm.org/archive/ On a related note Autrijus' slides on Perl6/Pugs from the recent Austrian Perl Workshop are online here (and contain mercifully little German): http://pugscode.org/talks/apw/slide1.html Next month's meeting will be on Monday July 11th. I'll be presenting on Sprog and if some else wants to volunteer to do a short talk (even just 10 minutes) then that would add a bit of variety. Cheers Grant From sam at vilain.net Mon Jun 13 20:45:55 2005 From: sam at vilain.net (Sam Vilain) Date: Tue, 14 Jun 2005 15:45:55 +1200 Subject: [Wellington-pm] HOP, and a question. In-Reply-To: References: Message-ID: <42AE52F3.8090803@vilain.net> michael at diaspora.gen.nz wrote: >2. What was the setting you changed to get the Compose key to work? > > (cc'ed to the perlmongers as perhaps many would like to know this...) There are lots of options available for playing with the keymap. Firstly, you could play with the settings in /etc/X11/XF86Config-4; Something like this is a basic keyboard setup with the right windows key set to be the compose key: Section "InputDevice" Identifier "Generic Keyboard" Driver "keyboard" Option "CoreKeyboard" Option "XkbRules" "xfree86" Option "XkbModel" "pc101" Option "XkbLayout" "us" Option "XkbOptions" "ctrl:nocaps,compose:rwin" EndSection This will give you all the normal compose combinations, and get rid of that annoying caps lock key. Eg, compose AE gets you ?, compose Y= ?, compose << = ?, etc. These are good and easy to remember and allow you to enter most latin scripts and much punctuation successfully in many X apps. I have been using `uxterm' for a while, which is xterm with the unicode options all turned on and they just work. To test this without restarting X; xmodmap -e 'keycode 116 = Multi_key' As well as compose, there's the "Mode_switch" key. This will let you switch between alternate keymaps on your keyboard, so that entering ???????????? etc is just Right Alt (even labelled AltGr on some keyboards) + Z/X. If your Mode_switch key isn't working, it's because the symbol map you chose only has one group of symbols. Try turning it on with: xmodmap -e 'keycode 113 = Mode_switch' In theory, XKB is a flexible infrastructure for doing these sorts of changes with handy short options in the config, however I could never find any decent documentation, and I'm highly suspicious that the system is more implementation than docs or spec. I got the "compose:rwin" option from /usr/X11R6/lib/X11/xkb/rules/xfree86 However IMHO XKB really shines in its general purpose, fully editable keymap mode. Using this: xkbcomp :0.0 some-file Will grab the keymap and put it into a file that is vaguely decipherable. With that and 'xev', you can just about figure out what's going on. Reverse the arguments to compile your changes into the current X server. Once you're happy, you just need to make sure it gets run during your login process, by putting it in your .xsession / .xinitrc if you have one. Ideally you should have the keymap load before your window manager. Personally, I always "carry around" my own keymap, as I do other things too, like make sure my "Alt" key and "Meta" key (usually incorrectly labelled with a Windows logo) are really "Alt" and "Meta" (this behaviour always seems to be unpredictable), and make my left control key do what the "Front" key on Solaris X did. And then I also can fine tune it for individual systems, such as extra "internet hot keys". I've attached my xkb map, in case like me, you can't figure out how to get the default X to put "Group2" symbols into your key map (ie, Mode_switch did nothing). Note that it uses the traditional Unix layout location of the control key (ie, next to "A"). Various people recommend using that key for that purpose; I am one of them for the simple reason it's a key you hit a lot, so putting it there is easier on your hands. Sam. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: samv.xkb Url: http://mail.pm.org/pipermail/wellington-pm/attachments/20050614/27020295/samv.pl From grant at mclean.net.nz Mon Jun 20 18:56:08 2005 From: grant at mclean.net.nz (Grant McLean) Date: Tue, 21 Jun 2005 13:56:08 +1200 Subject: [Wellington-pm] [Fwd: Newsletter from O'Reilly UG Program, June 17] Message-ID: <1119318968.1292.17.camel@localhost> -------- Forwarded Message -------- > From: Marsee Henon > To: perlmongers at catalyst.net.nz > Subject: Newsletter from O'Reilly UG Program, June 17 > Date: Fri, 17 Jun 2005 15:31:47 -0700 > ================================================================ > O'Reilly News for User Group Members > June 17, 2005 > ================================================================ > ---------------------------------------------------------------- > Book News > ---------------------------------------------------------------- > -Assembling Panoramic Photos: A Designer's Notebook > -Ending Spam > -Toad Pocket Reference for Oracle, 2nd Edition > -Mac OS X Tiger for Unix Geeks > -Firefox Secrets > -Ship It! > -eBay Hacks, 2nd Edition > -Digital Video Hacks > -Essential Mac OS X Panther Server Administration > -.NET Gotchas > -MAKE Subscriptions Available > ---------------------------------------------------------------- > Upcoming Events > ---------------------------------------------------------------- > -O'Reilly at JavaOne, San Francisco, CA--June 27-30 > -James Avery at the Dayton .NET Developers Group, > Fairborn, OH--July 25, 2005 > ---------------------------------------------------------------- > Conference News > ---------------------------------------------------------------- > -Early Registration Ending Soon for the O'Reilly Open Source Convention, > Portland, OR--August 1-5 > -Last Chance for Where 2.0 Conference, > San Francisco, CA--June 29-30 > ---------------------------------------------------------------- > News > ---------------------------------------------------------------- > -Historical Maps Online > -Creating a Textbook My Way: An Interview with Charles Anderson > -Wire Frame Your Site > -Live Backups of MySQL Using Replication > -Ajax on Rails > -Top Ten Data Crunching Tips and Tricks > -What's New In PHP 5.1 > -An Introduction to Tiger Terminal, Part 2 > -Ten PowerPoint 2004 Tips to Beat Tight Deadlines > -It's True! Jobs Switches to Intel: A Review of the WWDC 05 Keynote > -Using Tabbed Browsing in Internet Explorer 6 > -Using Microsoft's Malicious Software Removal Tool > -Porting a Project from Visual Studio .NET to Mono > -How to Talk About Jini, J2EE, and Web Services at a Cocktail Party > -Exploring Laszlo Classes, Attributes, and Events > -Adam Williams: Massive Guitars, Micro Computers > -Bring Your MIDI Music to Life > -MAKE's Rebellious Credo: Void the Warranty! > -MAKE: Blog > ================================================ > 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 > ---------------------------------------------------------------- > ***Assembling Panoramic Photos: A Designer's Notebook > Publisher: O'Reilly > ISBN: 0596009755 > Reflecting the very best of French photography, graphic design, and > digital artistry, this book is dazzling in concept and design. Part art > book, part how-to guide, this Designer's Notebook sits you down next to > renowned digital artists as they work step-by-step to create high-quality > panoramas and 360-degree virtual reality scenes. It's a goldmine for any > digital artist who wants to learn new Photoshop techniques for maximum > effect. > http://www.oreilly.com/catalog/assemblingadn/ > > Chapter 6, "On the Boulevards," is available online: > http://www.oreilly.com/catalog/assemblingadn/chapter/ch06.pdf > > > ***Ending Spam > Publisher: No Starch > ISBN: 1593270526 > This landmark title describes, in-depth, how statistical filtering is > being used by next generation spam filters to identify and filter spam. > Readers gain a complete understanding of the mathematical approaches used > in today's spam filters, decoding, tokenization, the use of various > algorithms (including Bayesian analysis and Markovian discrimination), and > the benefits of using open-source solutions to end spam. > http://www.oreilly.com/catalog/1593270526/ > > > ***Toad Pocket Reference for Oracle, 2nd Edition > Publisher: O'Reilly > ISBN: 0596009712 > This new edition, revised to reflect Toad for Oracle V8.0 and V8.5, is > packed with quick-reference material. It covers new features (e.g., > CodeXpert and Script Debugger), shortcut keys, productivity tips, and > more. If you're a developer needing to streamline code development or a > DBA trying to simplify day-to-day administrative tasks, this pocket-sized > guide is the one book to have by your side. > http://www.oreilly.com/catalog/toadpr2/ > > > ***Mac OS X Tiger for Unix Geeks > Publisher: O'Reilly > ISBN: 0596009127 > This is the book for Mac command-line fans. Completely revised and updated > to cover Mac OS X Tiger, this invaluable resource helps you quickly and > painlessly get acclimated with Tiger's familiar-yet-foreign Unix > environment. If you're a Unix geek with an interest in Mac OS X, you'll > find that this concise book is the ideal survival guide for taming the > Unix side of Tiger. > http://www.oreilly.com/catalog/macxtigerunix/ > > Chapter 2, "Searching and Metadata," is available online: > http://www.oreilly.com/catalog/macxtigerunix/chapter/index.html > > > ***Firefox Secrets > Publisher: SitePoint > ISBN: 0975240242 > "Firefox Secrets" is a guide to getting the most from the Mozilla Firefox > browser. It will teach you to use all the hidden features, extensions, and > tricks available to Firefox. This book is loaded with tips and advice on > everything from making your browser faster to essential tools for > developers, including plenty of examples throughout. > http://www.oreilly.com/catalog/0975240242/ > > > ***Ship It! > Publisher: Pragmatic > ISBN: 0974514047 > Aimed at beginning to intermediate programmers, this book provides a > wealth of practical advice on how to ensure successful software projects. > It begins by introducing the common technical infrastructure that every > project needs, letting readers choose from a variety of recommended > technologies according to their skills and budgets. The next sections > outline the necessary steps to get software out the door reliably, using > easy-to-adopt, best-of-breed practices that actually work. > http://www.oreilly.com/catalog/0974514047/ > > > ***eBay Hacks, 2nd Edition > Publisher: O'Reilly > ISBN: 0-596-10068-X > This second edition has been completely revised and updated with 30 brand > new hacks, plus tons of expanded, deepened, or otherwise completely > rewritten hacks. Learn clever tricks and shortcuts, such as advanced > searching techniques, selling strategies, photography tips, and even > research techniques for PowerSellers. This bestseller supplies you with > the tools you need to master eBay, whether as a buyer or seller, casual > surfer or serious collector, novice or seasoned expert. > http://www.oreilly.com/catalog/ebayhks2/ > > Sample Hack 87, "Sell and Ship Internationally," is available online > (along with six others): > http://www.oreilly.com/catalog/ebayhks2/chapter/index.html > > > ***Digital Video Hacks > Publisher: O'Reilly > ISBN: 0596009461 > >From acquiring footage, mixing, editing, and adding effects to final > distribution, this book provides unique tips, tools, and techniques for > every stage of video production. Whether you're looking for a new > technique to include in your next project, a solution to a common problem, > or just a little inspiration, "Digital Video Hacks" reintroduces you to > the digital video you only thought you knew. > http://www.oreilly.com/catalog/digitalvideohks/ > > > ***Essential Mac OS X Panther Server Administration > Publisher: O'Reilly > ISBN: 0596006357 > If you've ever wondered how to safely manipulate Mac OS X Panther Server's > many underlying configuration files, this book's for you. Full of > much-needed insight, clear explanations, troubleshooting tips, and > security information in every chapter, this comprehensive guide shows > system administrators how to utilize and customize the software's > capabilities and features for their individual needs. Topics covered > include installation, deployment, server management, web application > services, data gathering, and more. > http://www.oreilly.com/catalog/macxserver/ > > > ***.NET Gotchas > Publisher: O'Reilly > ISBN: 0596009097 > The ultimate guide for pain-free coding, this book tackles 75 common .NET > programming pitfalls, steering you away from application performance > problems and tainted code. The book is organized into nine chapters, each > focusing on those features and constructs of the .NET platform that > consistently baffle developers, complete with detailed examples, > discussions, and guidelines for avoiding them. It's the ideal resource for > .NET developers yearning for a more productive, stress-free existence. > http://www.oreilly.com/catalog/netgotchas/ > > > ***MAKE Magazine Subscriptions 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 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 > > ================================================ > Upcoming Events > ================================================ > ***For more events, please see: > http://events.oreilly.com/ > > > ***O'Reilly at JavaOne, San Francisco, CA--June 27-30 > Drop by our booth (#537) to say hi and check out our latest Java > offerings. This conference takes place at Moscone Center, > San Francisco, CA. > ttp://java.sun.com/javaone/sf/index.jsp > > ***James Avery at the Dayton .NET Developers Group, > Fairborn, OH--July 25, 2005 > Author James Avery ("Visual Studio Hacks") discusses getting the most out > of Visual Studio's Integrated Development Environment with his talk titled > "Pimp your IDE." James is the founder of the Cincinnati .NET Users Group > and is the founder and president of InfoZerk, a software consulting > company. The meeting starts at 6pm. > http://www.daytondevgroup.net/schedule.htm > > ================================================ > Conference News > ================================================ > ***Early Registration Ending Soon for the O'Reilly Open Source Convention, > Portland, OR--August 1-5 > OSCON 2005 explores three deep trends affecting open source: the > commoditization of software, network-enabled collaboration, and software > customizability. Join us at this essential gathering of open source > leaders and practitioners of every persuasion to exchange ideas and push > the boundaries of vital open source technologies. This year, we introduce > the Open Source Business Review, along with a host of other exciting > presentations and events. > http://conferences.oreilly.com/oscon/ > > User Group members who register before June 20, 2005 get a double > discount. Use code "os05grpusr" when you register, and receive 15% off > the early registration price. > > To register for the conference, go to: > http://conferences.oreillynet.com/cs/os2005/create/ord_os05 > > > ***Last Chance to Register for the Where 2.0 Conference, > San Francisco, CA--June 29-30 > Join us at the first O'Reilly Where 2.0 Conference. Location-based > services and mapping are becoming mainstream technologies. Meanwhile, > innovative new software makes it possible to apply the wealth of new data > to old business problems. Come explore the emerging consumer and > enterprise ecosystems around location-aware technologies that increasingly > impact the way we work and play. > http://conferences.oreilly.com/where/ > > Use code "whereug" when you register, and receive 15% off the registration > price. > > To register for the conference, go to: > http://conferences.oreillynet.com/cs/where2005/create/ord_where > > ================================================ > News From O'Reilly & Beyond > ================================================ > --------------------- > General News > --------------------- > ***Historical Maps Online > David Rumsey writes about his collection of more than 150,000 historical > maps of the Americas and the world, many of which he has made available > free to the public in an online map library. At O'Reilly's Where 2.0 > Conference, David will draw on his personal map collection, as well as his > work with geographic information systems, to discuss how information of > all kinds has been mapped and will be mapped in the future. > http://www.oreillynet.com/pub/a/network/2005/06/02/davidrumsey.html > > > ***Creating a Textbook My Way: An Interview with Charles Anderson > Charles Anderson is an assistant professor in the Division of Computer > Science at Western Oregon University, teaching mostly networking and > operating system courses. Being very particular about the materials > covered in his classes, he's had difficulty finding appropriate and timely > textbooks. Learn how Charles used SafariU to create his custom textbook, > while avoiding copyright fair use limitations and the time-consuming > process of gathering appropriate materials. Check out the SafariU homepage > for details and a demo. > http://www.oreillynet.com/pub/a/oreilly/news/safariuanderson.html > > > ***Wire Frame Your Site > Many elements of a site affect how successfuly it communicates with users. > Wire frames can untangle your site's layout from its graphical > communication, to help boost usability, logical content flow, and support > the creation of a compelling graphic design. > http://www.sitepoint.com/article/wire-frame-your-site > > --------------------- > Open Source > --------------------- > ***Live Backups of MySQL Using Replication > One of the difficulties with a large and active MySQL database is making > clean backups without having to bring the server down. A simple method to > ensure reliable backups is to set up replication for MySQL. Russell Dyer, > author of "MySQL in a Nutshell," walks through the process of using > replication for data backups. > http://www.onlamp.com/pub/a/onlamp/2005/06/16/MySQLian.html > > > ***Ajax on Rails > XMLHttpRequest and Ruby on Rails are two hot topics in web development. As > you ought to expect by now, they work really well together. Curt Hibbs > explains the minimal Ajax you need to know and the minimal Ruby you need > to write to Ajax-ify your Rails applications. > http://www.onlamp.com/pub/a/onlamp/2005/06/09/rails_ajax.html > > > ***Top Ten Data Crunching Tips and Tricks > Every day, programmers perform unglamorous but necessary data crunching: > recycling legacy data, checking configuration files, yanking data out of > web server logs, and more. Knowing how to crunch data with the least > amount of effort can make the difference between meeting a deadline and > making another pot of coffee. Greg Wilson, author of Pragmatic's "Data > Crunching," offers ten tips for crunch time. > http://www.onlamp.com/pub/a/onlamp/2005/06/09/datacrunching.html > > > ***What's New In PHP 5.1 > Explore the new features and changes to the popular open-source web > development technology. > http://www.sitepoint.com/blog-post-view.php?id=272086 > > --------------------- > Mac > --------------------- > ***An Introduction to Tiger Terminal, Part 2 > In this second tutorial on Tiger Terminal by MacinTech UG member Mary > Norbury-Glaser, you'll learn how to use the terminal app to look at > external volumes, then enable ssh to access files, scp to securely copy > them remotely, sftp for secure ftp, and finally how to use rsync to > synchronize files between two computers. > http://www.macdevcenter.com/pub/a/mac/2005/06/14/terminal2.html > > > ***Ten PowerPoint 2004 Tips to Beat Tight Deadlines > PowerPoint 2004 lets you turn text, graphics, sounds, and movies into > dazzling presentations that get your message across in high style. But > what if you're on a short deadline? Franklin Tessler, author of "Office > 2004 for Mac: The Missing Manual," shows you ten ways to use PowerPoint to > put together slideshows in no time. > http://www.macdevcenter.com/pub/a/mac/2005/06/10/office04forMac.html > > > ***It's True! Jobs Switches to Intel: A Review of the WWDC 05 Keynote > Don't get too comfortable after making the transition to Mac OS X. Steve > Jobs decides to keep things interesting by announcing during his WWDC 05 > keynote that Apple will switch to Intel processors. Here's what he said > and how he plans to make it happen. > http://www.macdevcenter.com/pub/a/mac/2005/06/07/wwdc.html > > --------------------- > Windows/.NET > --------------------- > ***Using Tabbed Browsing in Internet Explorer 6 > You don't need to wait for Internet Explorer 7 for tabbed browsing--with > the latest MSN Toolbar, you can use it in IE 6. Wei-Meng Lee shows you how > to use it. > http://www.windowsdevcenter.com/pub/a/windows/2005/06/14/ie_tabs.html > > > ***Using Microsoft's Malicious Software Removal Tool > The Microsoft Malicious Software Removal Tool can rid your PC of malware, > even if you're already protected by antivirus software. Mitch Tulloch > shows you the ins and outs of how to use it. Mitch is the author of > "Windows Server Hacks." > http://www.windowsdevcenter.com/pub/a/windows/2005/06/01/malware_removal.html > > > ***Porting a Project from Visual Studio .NET to Mono > Three years ago, when .NET was still in pre-release status, Kevin Farnham > developed a C# application to automatically generate stock market web > pages. Recently, he ported the project to Mono and Debian Linux. Follow > along to see how the port went. > http://www.ondotnet.com/pub/a/dotnet/2005/06/13/vs2mono.html > > --------------------- > Java > --------------------- > ***How to Talk About Jini, J2EE, and Web Services at a Cocktail Party > Heard about distributed technologies for Java, but not sure what they are > or why they're important? Kathy Sierra and Bert Bates, authors of "Head > First Java, 2nd Edition," present this cocktail-party overview. Hold your > own in conversation with Java geeks. > http://www.onjava.com/pub/a/onjava/2003/08/27/cocktails.html > > > ***Exploring Laszlo Classes, Attributes, and Events > Laszlo offers an interesting option for rich client-side GUIs--XML markup > of widgets and their event handling, which is then converted into a Flash > executable that is run with the Flash plugin in the user's browser. Satya > Komatineni introduces Laszlo and shows how to get started writing web > applications with it. > http://www.onjava.com/pub/a/onjava/2005/06/15/laszlo.html > > --------------------- > Digital Media > --------------------- > ***Adam Williams: Massive Guitars, Micro Computers > The former Powerman 5000 guitarist reveals how to make huge guitar sounds > on a home computer--without waking the neighbors--then shares loads of MP3 > examples. > http://digitalmedia.oreilly.com/2005/06/15/williams.html > > > ***Bring Your MIDI Music to Life > Jim Aikin shares numerous tips on getting the best musical expression out > of them--both through playing technique and crafty computer editing. > http://digitalmedia.oreilly.com/2005/06/08/controller2.html > > --------------------- > MAKE > --------------------- > ***MAKE's Rebellious Credo: Void the Warranty! > "New York Times" columnist Lawrence Downes recently touted the virtues of > O'Reilly's new MAKE magazine. Downes salutes MAKE's renegade DIY spirit, > noting, "In this world, to tinker--to open the case, to fiddle with wires, > and see what happens--is to rebel." Are you ready to rebel? (Free > registration required) > http://www.nytimes.com/2005/06/12/opinion/12sun3.html? > > > ***MAKE: Blog > Phillip Torrone kicks the tires on the iPod photo connector. The iPod > photo connector is a neat little accessory ($29) that you plug in to your > iPod photo and to your supported camera; it can transfer all the photos > off your camera and to the iPod, giving you 40/60 gigs of storage. The > connector charges the shuffle and you can make a super-cheap DIY version > of the Belkin media reader, too. > http://www.makezine.com/blog/archive/2005/06/ipod_photo_conn.html > > > ***For more information on MAKE, go to: > http://www.makezine.com/ > > > ================================================ > >From Your Peers > =============================================== > ***Don't forget to check out the O'Reilly UG wiki to see what user groups > around the globe are up to: > http://wiki.oreillynet.com/usergroups/index.cgi > > Until next time-- > > Marsee Henon > > > ================================================================ > O'Reilly > 1005 Gravenstein Highway North > Sebastopol, CA 95472 > http://ug.oreilly.com/ http://www.oreilly.com > ================================================================ From sam at vilain.net Tue Jun 21 23:37:11 2005 From: sam at vilain.net (Sam Vilain) Date: Wed, 22 Jun 2005 18:37:11 +1200 Subject: [Wellington-pm] When "use strict" gets taken too literally Message-ID: <42B90717.8080006@vilain.net> Just a little reminder of why we like Perl so much! :) -------------- next part -------------- A non-text attachment was scrubbed... Name: use_strict.jpg Type: image/jpeg Size: 60949 bytes Desc: not available Url : http://mail.pm.org/pipermail/wellington-pm/attachments/20050622/0898c0d0/use_strict.jpg From jarich at perltraining.com.au Wed Jun 22 00:06:23 2005 From: jarich at perltraining.com.au (Jacinta Richardson) Date: Wed, 22 Jun 2005 17:06:23 +1000 Subject: [Wellington-pm] When "use strict" gets taken too literally In-Reply-To: <42B90717.8080006@vilain.net> References: <42B90717.8080006@vilain.net> Message-ID: <42B90DEF.9080905@perltraining.com.au> Sam Vilain wrote: > Just a little reminder of why we like Perl so much! :) G'day Sam, Thankyou for sharing these photos with the rest of us. If I lived in Wellington and had been considering attending a Wellington Perl Monger meeting, this post of yours would have me seriously reconsidering. Instead I live in Melbourne, where this kind of thing on the PM list would be unacceptable. I suspect you think your mail was funny and that you may feel I'm over-reacting when I say that your post makes Wellington PM appear rather women-unfriendly. If I'm right, and you do think I'm overreacting then you might find some benefit in reading the "HOWTO Encourage Women in Linux" document on the linux documentation project site: http://www.tldp.org/HOWTO/Encourage-Women-Linux-HOWTO/ The message in that applies equally well to how to encourage women in Perl and most other male-dominated technical fields. Now if *I'm* being out of line by criticising behaviour on a list to which I am merely a guest, then I'll welcome being told so by Grant. If, on the other hand, anyone else feels that pictures like these don't belong on an open-subscription, Perl focussed, technical mailing list then I encourage you to respond so that other list members know where they stand. All the best, Jacinta -- ("`-''-/").___..--''"`-._ | Jacinta Richardson | `6_ 6 ) `-. ( ).`-.__.`) | Perl Training Australia | (_Y_.)' ._ ) `._ `. ``-..-' | +61 3 9354 6001 | _..`--'_..-_/ /--'_.' ,' | contact at perltraining.com.au | (il),-'' (li),' ((!.-' | www.perltraining.com.au | From sam at vilain.net Wed Jun 22 00:39:50 2005 From: sam at vilain.net (Sam Vilain) Date: Wed, 22 Jun 2005 19:39:50 +1200 Subject: [Wellington-pm] When "use strict" gets taken too literally In-Reply-To: <42B90DEF.9080905@perltraining.com.au> References: <42B90717.8080006@vilain.net> <42B90DEF.9080905@perltraining.com.au> Message-ID: <42B915C6.30901@vilain.net> Hi Jacinta, A fair comment. I wouldn't normally forward porn to the list, but heck this *is* two girls (geeks, I'd assumed) spanking each other with the Third Edition of _Programming Perl_, after all. I think we'd need to crank up Douglas Adams' Improbability Drive to see a repeat performance of event like this. Perhaps we can have some volunteers for males posing with their copies of _Programming Perl_ in suggestive positions? I'll bring the camera, leotards and whipped cream. Please let me assure you I have nothing but utmost respect for all of my fellow inhabitants of this fragile bubble of life, regardless of gender, race, colour, creed, species or pretty much anything, really. My most sincere apologies, Sam. Jacinta Richardson wrote: > Sam Vilain wrote: > >>Just a little reminder of why we like Perl so much! :) > > > G'day Sam, > > Thankyou for sharing these photos with the rest of us. If I lived in Wellington > and had been considering attending a Wellington Perl Monger meeting, this post > of yours would have me seriously reconsidering. Instead I live in Melbourne, > where this kind of thing on the PM list would be unacceptable. > > I suspect you think your mail was funny and that you may feel I'm over-reacting > when I say that your post makes Wellington PM appear rather women-unfriendly. > If I'm right, and you do think I'm overreacting then you might find some benefit > in reading the "HOWTO Encourage Women in Linux" document on the linux > documentation project site: http://www.tldp.org/HOWTO/Encourage-Women-Linux-HOWTO/ > > The message in that applies equally well to how to encourage women in Perl and > most other male-dominated technical fields. > > Now if *I'm* being out of line by criticising behaviour on a list to which I am > merely a guest, then I'll welcome being told so by Grant. If, on the other > hand, anyone else feels that pictures like these don't belong on an > open-subscription, Perl focussed, technical mailing list then I encourage you to > respond so that other list members know where they stand. > > All the best, > > Jacinta > From grant at mclean.net.nz Wed Jun 22 02:06:56 2005 From: grant at mclean.net.nz (Grant McLean) Date: Wed, 22 Jun 2005 21:06:56 +1200 Subject: [Wellington-pm] When "use strict" gets taken too literally In-Reply-To: <42B90717.8080006@vilain.net> References: <42B90717.8080006@vilain.net> Message-ID: <1119431216.4455.2.camel@localhost> On Wed, 2005-06-22 at 18:37 +1200, Sam Vilain wrote: > Just a little reminder of why we like Perl so much! :) Umm yeah. Probably not quite the image I'd like to see the group projecting. Grant From katrina at catalyst.net.nz Wed Jun 22 02:16:34 2005 From: katrina at catalyst.net.nz (katrina@catalyst.net.nz) Date: Wed, 22 Jun 2005 21:16:34 +1200 (NZST) Subject: [Wellington-pm] When "use strict" gets taken too literally In-Reply-To: <42B915C6.30901@vilain.net> References: <42B90717.8080006@vilain.net> <42B90DEF.9080905@perltraining.com.au> <42B915C6.30901@vilain.net> Message-ID: <60141.203.79.72.37.1119431794.squirrel@webmail.catalyst.net.nz> Thank you Jacinta, As an (albeit very occasional) attender of Wellington perlmongers I started writing a strident response to this, but in the end didn't do it. Put it down to sexism fatigue. > A fair comment. I wouldn't normally forward porn to the list, but heck > this *is* > two girls (geeks, I'd assumed) spanking each other with the Third Edition > of > _Programming Perl_, after all. What! You posted kiddie porn? It goes from bad to worse. They looked over 16 to me. > > Perhaps we can have some volunteers for males posing with their copies of > _Programming Perl_ in suggestive positions? I'll bring the camera, > leotards and > whipped cream. If only women thought exactly like men. Sam, you have missed the point. You might try the Catalyst jokes list where this would be, only marginally, more acceptable. Katrina From grant at mclean.net.nz Wed Jun 22 02:37:55 2005 From: grant at mclean.net.nz (Grant McLean) Date: Wed, 22 Jun 2005 21:37:55 +1200 Subject: [Wellington-pm] Pack/unpack - nagging guilt Message-ID: <1119433075.4455.29.camel@localhost> Moving swiftly on to topics more Perlish ... I recently had a need to take a string like this: #FFFFCCCC3333 and turn it into a list of three integers: (65535, 52428, 13107) Aha! I thought this looks like a job for unpack. I have long felt a nagging guilt that although pack/unpack look really powerful and the golfers and obfuscators seem to use them to achieve useful things in surprising ways, I've almost never used them. Not only that, every time I've thought I needed them I ended up using something else. Like this time. In this case, I ended up using something like this: my @rgb = map { hex } "#FFFFCCCC3333" =~ /^#(....)(....)(....)/; If I needed to turn an assortment of values into a densely packed sequence of bytes (eg: for some sort of network protocol) then pack would be the right tool for the job. Conversely, if I had a densely packed sequence of bytes that I needed to split out into an assortment of values then unpack would do the trick. In this case, I again fell into the trap of thinking a hex string looked like a densely packed sequence of bytes, when of course it's nothing of the sort. It's a string of ASCII characters representing a sequence of bytes. Given this realisation, I eventually did come up with a solution that used unpack. For that to work of course, I needed to use pack first. And to do that, I had to get rid of that pesky leading '#'. By which stage the regex/map/hex thing was starting to look like a picture of clarity. Anyone got any other imaginative solutions? With or without unpack. Cheers Grant From ewen at naos.co.nz Wed Jun 22 02:40:51 2005 From: ewen at naos.co.nz (Ewen McNeill) Date: Wed, 22 Jun 2005 21:40:51 +1200 Subject: [Wellington-pm] When "use strict" gets taken too literally In-Reply-To: Message from katrina@catalyst.net.nz of "Wed, 22 Jun 2005 21:16:34 +1200." <60141.203.79.72.37.1119431794.squirrel@webmail.catalyst.net.nz> Message-ID: <20050622094051.198603C4CA3B@basilica.la.naos.co.nz> In message <60141.203.79.72.37.1119431794.squirrel at webmail.catalyst.net.nz>, kat rina at catalyst.net.nz writes: >You might try the Catalyst jokes list where this would be, only >marginally, more acceptable. Ah, yes, the Catalyst jokes list, which I created so I didn't have to be on it.[0] But really, harmless though it might seem to some, neither really seems an appropriate forum. If we were going to have "perl porn" I'd rather it was analagous to, eg, "food porn" -- drool-worthy perl. Some of the "Just Another Perl Hacker" signatures would seem to qualify; or for the romantics: Perl poetry. Ewen [0] Yes, that's really how it came into existence. Prior to that another more general list was (ab)used. From pspam at paradise.net.nz Wed Jun 22 02:46:30 2005 From: pspam at paradise.net.nz (Peter C. Kelly) Date: Wed, 22 Jun 2005 21:46:30 +1200 Subject: [Wellington-pm] When "use strict" gets taken too literally In-Reply-To: <42B90717.8080006@vilain.net> References: <42B90717.8080006@vilain.net> Message-ID: <42B93376.6090802@paradise.net.nz> Hi Sam, Sam Vilain wrote: > Just a little reminder of why we like Perl so much! :) Allow me to start by saying I really enjoyed your Perl6 talk, and have twice recently been googling the big wide world and co-incidentally found instructions by you on how to solve my Perl problem. I certainly recognise that you have more mana among the perl-mongers than I do, being a mere junior programmer and erratic attendee. I think that your email raises important issues that are worth discussing. I have a very strong negative reaction to the image you sent. The image is a stereotypical image of pretty girls commercially posing together for a male audience. By publishing this image, you are encouraging and advertising the image's vendor, which hires young women for $140US per "photoset" to use their bodies to provide sexual pleasure for men[1]. I think it's entirely reasonable to take this as indicative that the author's attitude to the role of women is equally derisive - since that doesn't match my experience of you personally, I'll just note it as a reasonable perceception. As Jacinta has ably pointed out, posts like this make the list less inclusive. This isn't restricted to images of women: a friend of mine has been discouraged from attending Wellington Thursday Night Curry due to mailing list chatter that uses"gay" as an insult and personal attacks on those who post. It is true that in a typical PM meeting there is an overwhelming ratio of men to women, and that the culture of the group is narrower as a result. This post, uncommented on, would narrow the group further. Peter [1] If you must reference this, see the website advertised on the image - I recommend against it. From ewen at naos.co.nz Wed Jun 22 03:11:57 2005 From: ewen at naos.co.nz (Ewen McNeill) Date: Wed, 22 Jun 2005 22:11:57 +1200 Subject: [Wellington-pm] Pack/unpack - nagging guilt In-Reply-To: Message from Grant McLean of "Wed, 22 Jun 2005 21:37:55 +1200." <1119433075.4455.29.camel@localhost> Message-ID: <20050622101157.189183C4CA3B@basilica.la.naos.co.nz> In message <1119433075.4455.29.camel at localhost>, Grant McLean writes: >I recently had a need to take a string like this: > #FFFFCCCC3333 >and turn it into a list of three integers: > (65535, 52428, 13107) my @rgb = unpack("n*", pack("H*", substr("#FFFFCCCC3333", 1))); Possibly that's the solution that you came up with, and then rejected. Without benchmarking it I'd expect the unpack(pack(substr())) approach to be marginally faster than the map { hex } regex approach. But probably not enough to justify choosing one or the other unless you're doing it an awful lot. And in either case the subroutine call overhead (you would hide this in a subroutine, right) would probably be higher. And the unpack(pack(substr())) will fail in a different manner to the map { hex} regex approach, as well as being specific to 4-character hex values. (Well you could do 8-character hex values (N*) or 2-character hex (C*).) Ewen From michael at diaspora.gen.nz Wed Jun 22 04:46:16 2005 From: michael at diaspora.gen.nz (michael@diaspora.gen.nz) Date: Wed, 22 Jun 2005 23:46:16 +1200 Subject: [Wellington-pm] Pack/unpack - nagging guilt In-Reply-To: Your message of "Wed, 22 Jun 2005 21:37:55 +1200." <1119433075.4455.29.camel@localhost> Message-ID: Grant McLean writes: >Anyone got any other imaginative solutions? With or without unpack. Basically, you're looking to group 4 hex digits together, and add them up, multiplying the existing total by 16 with each new digit: $_ = '#FFFFCCCC3333'; my @rgb; my $c; for (/\w/g) { push @rgb, eval "0x$_"; $c++ % 4 and ($rgb[-2] *= 16) += pop @rgb; } I believe that's about as perverse as I can make things. Fits with the tone of the list, I suppose :). If anyone can explain why the following gives the error message "Modification of non-creatable array value attempted, subscript -2", I'd be interested: ($c+=push @rgb, eval "0x$_") % 4 and ($rgb[-2] *= 16) += pop @rgb for /\w/g; I'm quite confident there's a more perverse, golfier regexp based solution out there waiting to be discovered -- anyone want to take a shot? -- michael. From michael at diaspora.gen.nz Wed Jun 22 04:49:12 2005 From: michael at diaspora.gen.nz (michael@diaspora.gen.nz) Date: Wed, 22 Jun 2005 23:49:12 +1200 Subject: [Wellington-pm] Pack/unpack - nagging guilt In-Reply-To: Your message of "Wed, 22 Jun 2005 21:37:55 +1200." <1119433075.4455.29.camel@localhost> Message-ID: Grant McLean writes: > my @rgb = map { hex } "#FFFFCCCC3333" =~ /^#(....)(....)(....)/; I think you really mean: my @rgb = map(hex, "#FFFFCCCC3333" =~ /\w{4}/g); -- michael. From davidthebenton at gmail.com Wed Jun 22 11:42:36 2005 From: davidthebenton at gmail.com (David Benton) Date: Thu, 23 Jun 2005 06:42:36 +1200 Subject: [Wellington-pm] print "hello"; In-Reply-To: References: Message-ID: <42B9B11C.8000202@gmail.com> Hi everybody I've just joined up so this is first time for a few things like this is the first time I have posted on this mailing list and a first time I have posted on any mailing list. I also object that people would use this mailing list to distribute any sort of porn even if it is just for a laugh. As I actually object to any kind of porn at all. (So you are warned by the nobody) Anyway just saying hello and I will probably be fairly quite for a while as I'm only just learning. David, aka. Aclipse aka. NutBox From srdjan at catalyst.net.nz Wed Jun 22 13:59:13 2005 From: srdjan at catalyst.net.nz (Srdjan) Date: Thu, 23 Jun 2005 08:59:13 +1200 Subject: [Wellington-pm] When "use strict" gets taken too literally In-Reply-To: <42B93376.6090802@paradise.net.nz> References: <42B90717.8080006@vilain.net> <42B93376.6090802@paradise.net.nz> Message-ID: <42B9D121.2040002@catalyst.net.nz> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I bet you didn't expect Spanish Inquisition. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCudEhZtcHxCitRpgRAkgLAKDTjeOUglWMWZGFuA+W9j1zBgmIiQCeLR81 LlmGCoJOto5zcVtSmU/3u44= =nz3b -----END PGP SIGNATURE----- From srdjan at catalyst.net.nz Wed Jun 22 14:09:06 2005 From: srdjan at catalyst.net.nz (Srdjan) Date: Thu, 23 Jun 2005 09:09:06 +1200 Subject: [Wellington-pm] Pack/unpack - nagging guilt In-Reply-To: References: Message-ID: <42B9D372.3080809@catalyst.net.nz> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mmmm, maybe not quite. /#(\w{4}){3}\b/ is probably better, because you may want an empty array returned indicating a failure... michael at diaspora.gen.nz wrote: > Grant McLean writes: > >> my @rgb = map { hex } "#FFFFCCCC3333" =~ /^#(....)(....)(....)/; > > > I think you really mean: > > my @rgb = map(hex, "#FFFFCCCC3333" =~ /\w{4}/g); > > -- michael. > _______________________________________________ > Wellington-pm mailing list > Wellington-pm at pm.org > http://mail.pm.org/mailman/listinfo/wellington-pm > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCudNxZtcHxCitRpgRApmFAJ0dLA5S0a0NkedqRBuxeX8FsrCcoQCfcoZW LU6XhDTidSr6w2aiwWqT9xU= =4p79 -----END PGP SIGNATURE----- From grant at mclean.net.nz Wed Jun 22 18:18:24 2005 From: grant at mclean.net.nz (Grant McLean) Date: Thu, 23 Jun 2005 13:18:24 +1200 Subject: [Wellington-pm] Interview with Damian Conway Message-ID: <1119489504.29522.9.camel@localhost> The Perl Review web site has published an interesting interview with Damian Conway about his imminent book Perl Best Practices: http://theperlreview.com/Interviews/damian-bpp-20050622.html This is the book O'Reilly will be sending us for hosting their OSCON banner. Cheers Grant