From whatever at davidnicol.com Thu Aug 5 16:15:30 2004 From: whatever at davidnicol.com (david nicol) Date: Thu Aug 5 16:15:39 2004 Subject: [Kc] meeting topic: user mode linux Message-ID: <1091740529.1010.18.camel@plaza.davidnicol.com> UML has been suggested for next tuesday's topic I will not be at the meeting -- david nicol "Someday, everything's going to be different when I paint my masterpiece." From garrett at scriptpro.com Fri Aug 6 06:38:15 2004 From: garrett at scriptpro.com (Garrett Goebel) Date: Fri Aug 6 06:38:39 2004 Subject: [Kc] meeting topic: user mode linux Message-ID: <71BEC0D4E1DED3118F7A009027B1202809D2521F@EXCH_MISSION> david nicol wrote: > > UML has been suggested for next tuesday's topic > > I will not be at the meeting FYI: I have 2 copies of the new Perl 6 Parrot Essentials book for anyone who'd like to lay claim to one. -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett at scriptpro dot com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20040806/1e1ad90b/attachment.htm From marsee at oreilly.com Fri Aug 6 18:33:34 2004 From: marsee at oreilly.com (marsee@oreilly.com) Date: Fri Aug 6 18:33:45 2004 Subject: [Kc] Newsletter from O'Reilly UG Program, August 6 Message-ID: ================================================================ O'Reilly UG Program News--Just for User Group Leaders August 6, 2004 ================================================================ -Free Expo Hall Passes available for PhotoShopWorld in Orlando, Florida--September 2 -Put Up an O'Reilly Mac OS X Conference Banner, Get a Free Book ---------------------------------------------------------------- Book Info ---------------------------------------------------------------- ***Review books are available Copies of our books are available for your members to review-- send me an email and please include the book's ISBN number on your request. Let me know if you need your book by a certain date. Allow at least four weeks for shipping. ***Please send copies of your book reviews Email me a copy of your newsletters or book reviews. For tips and suggestions on writing book reviews, go to: http://ug.oreilly.com/bookreviews.html ***Discount information Don't forget to remind your members about our 20% discount on O'Reilly, No Starch, Paraglyph, Pragmatic Bookshelf, and Syngress books and O'Reilly conferences. Just use code DSUG. ***Group purchases with better discounts are available Please let me know if you are interested and I can put you in touch with our sales department. ---------------------------------------------------------------- General News ---------------------------------------------------------------- **Free Expo Hall Passes available for PhotoShopWorld in Orlando, Florida--September 2 Let me know how many you need and I can send some. ***Put Up an O'Reilly Mac OS X Conference Banner, Get a Free Book We are looking for user groups to display our conference banner on their web sites. If you send me the link to your user group site with our O'Reilly Mac OS X Conference banner, I will send you the O'Reilly book of your choice. O'Reilly Mac OS X Conference Banners: http://ug.oreilly.com/banners/macosx2004/ ================================================================ O'Reilly News for User Group Members August 6, 2004 ================================================================ ---------------------------------------------------------------- Book News ---------------------------------------------------------------- -XML Hacks -CSS Pocket Reference, 2nd Edition -IRC Hacks -Cyber Adversary Characterization -OpenOffice.org Writer -AI for Game Developers -IT Ethics Handbook -Upgrading to PHP 5 -SpamAssassin -We the Media -Zero-Day Exploit -Mono: A Developer's Notebook ---------------------------------------------------------------- Upcoming Events ---------------------------------------------------------------- -Deke McClellend ("Adobe Photoshop CS One-on-One") 2004 Australian InDesign Conference--August 12-14 -Wil Wheaton ("Just a Geek" and "Dancing Barefoot") at Hollywood Borders--August 15 -Wil Wheaton ("Just a Geek" and "Dancing Barefoot") at Mysterious Galaxy Books, San Diego, CA--August 21 -O'Reilly at PhotoShopWorld, Orlando, Florida--August 31 & September 2 ---------------------------------------------------------------- Conference News ---------------------------------------------------------------- -Registration Is Open for O'Reilly's Mac OS X Conference-- October 25-28, 2004 ---------------------------------------------------------------- News ---------------------------------------------------------------- -We the Media Blog -Techies Reshape 9/11 History -O'Reilly Radar: OSCON 2004 -Top 10 Online Investing Tips -The Great Linux Desktop Migration Contest--Enter by August 9 -O'Reilly and MySQL AB Present the MySQL Users Conference -Questioning Promises at LinuxWorld -Open Source and NASA's Mars Rover -21.5 Things You Can Do with Office 2004 -Creating DVD/VCD Photo Slide Shows for Your Mac -OS 9, Mine, All Mine -Windows Server Hacks: Creating a Password Reset Disk -Power Up the Windows Clipboard -Rapid Application Development with VB.NET 2.0 -XML-Java Data Binding Using XMLBeans -Keeping Up with the Java Joneses -What Countermeasures Really Mean ---------------------------------------------------------------- News From Your Peers ---------------------------------------------------------------- -Report from OSCON 2004 ================================================ 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, 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 ---------------------------------------------------------------- ***XML Hacks Publisher: O'Reilly ISBN: 0596007116 This practical, roll-up-your-sleeves guide distills years of ingenious XML hacking into a complete set of tips, tricks, and tools for people who want to uncover the true power of XML. With plenty of real-world projects that illustrate how to define, read, create, and manipulate XML documents, you'll learn to put XML to work on the Internet and within productivity applications. Explore and experiment, discover clever shortcuts, show off just a little, and have fun in the process, with this invaluable book. http://www.oreilly.com/catalog/xmlhks/ A slew of sample hacks are available free online: http://www.oreilly.com/catalog/xmlhks/chapter/index.html ***CSS Pocket Reference, 2nd Edition Publisher: O'Reilly ISBN: 0596007779 "CSS Pocket Reference, 2nd Edition" is an indispensable reference for web designers and developers. This handy book condenses all the details in its companion volume, "Cascading Style Sheets: The Definitive Guide," into one easy-to-use cheat-sheet, covering the essential information you need to effectively implement CSS. There's an introduction to CSS, an alphabetical reference to the CSS2 and CSS 2.1 properties, and detailed information about CSS support in browsers. When you're stuck and need an answer quickly, you'll want this completely updated pocket reference at your fingertips. http://www.oreilly.com/catalog/csspr2/ A sample excerpt on "Basic Visual Layout" is available online: http://www.oreilly.com/catalog/csspr2/chapter/index.html ***IRC Hacks Publisher: O'Reilly ISBN: 059600687X IRC (Internet Relay Chat) is more than an accessible, multi-platform chat environment; it's a network of intercommunicating servers that allows thousands of clients to connect from anywhere in the world. "IRC Hacks" shows you how IRC works, and how to best use some of the features that have made IRC the most successful, most scalable, and most mature chat system on the planet. Featuring contributions from renowned IRC hackers, many of whom collaborated on IRC, this collection of tips and tools covers just about everything needed to become a true IRC master. http://www.oreilly.com/catalog/irchks/ Sample hacks are available online: http://www.oreilly.com/catalog/irchks/chapter/index.html ***Cyber Adversary Characterization Publisher: Syngress ISBN: 1931836116 The ever-increasing emphasis and reliance on the use of computers and the Internet has come hand in hand with the increased threat of cyber-crime. Many systems and infrastructures are exceedingly vulnerable to attacks, as the complexity of computer networks is growing faster than the ability to understand and protect them. Heightened vigilance is not enough, but needs to be coupled with active defensive measures to guarantee the best protection. This book provides the reader with understanding of and an ability to anticipate that "cyber adversary" silently waiting in the wings to attack. http://www.oreilly.com/catalog/1931836116/ ***OpenOffice.org Writer Publisher: O'Reilly ISBN: 0596008260 This handy reference to using Writer, the word processor that comes with OpenOffice.org, is the open source alternative to Microsoft Word. You???ll learn how to write, edit, and review documents; use templates and styles effectively; control page layout; insert, edit, and create graphics; and much more--even how to make a smooth transition from Word. With the complete office suite included on a CD, this book makes using Writer an easy decision. http://www.oreilly.com/catalog/openoffice/ Chapter 2, "Writing, Editing, and Reviewing Documents," is available online: http://www.oreilly.com/catalog/openoffice/chapter/index.html ***AI for Game Developers Publisher: O'Reilly ISBN: 0596005555 Written for the novice AI programmer, this book introduces techniques such as finite state machines, fuzzy logic, neural networks, and many others, in straightforward, easy-to-understand language, supported with code samples written in C/C++. The book explains basic techniques such as chasing and evading, pattern movement, and flocking to genetic algorithms, then presents a mix of deterministic (traditional) and non-deterministic (newer) AI techniques, all designed to provide usable techniques you can apply to your games right now. http://www.oreilly.com/catalog/ai/ ***IT Ethics Handbook Publisher: Syngress ISBN: 1931836140 Ethical judgments are no different in the area of computing from those in any other area. Computers raise problems of privacy, ownership, theft, and power, to name but a few. This book covers subjects ranging from defensive architecture, offensive issues, privacy, the use of information, and the human element of employer and employee ethics. The book is written by IT professionals for IT professionals, and always brings any discussion back to a practical example and application. http://www.oreilly.com/catalog/1931836140/ ***Upgrading to PHP 5 Publisher: O'Reilly ISBN: 0596006365 If you're using PHP 4, chances are good that an upgrade to PHP 5 is in your future. This book offers a concise appraisal of the differences between versions 4 and 5, a detailed look at what's new in PHP 5, and explanations of how these changes affect you. The book also covers more advanced features and each new feature is shown in code, helping you to know when to use it and how it's better than PHP 4. Chapter 4, "SQLite," is available online: http://www.oreilly.com/catalog/upgradephp5/chapter/index.html ***SpamAssassin Publisher: O'Reilly ISBN: 0596007078 SpamAssassin is the leading open source spam-fighting tool. The drawback? Until now, it was SpamAssassin's lack of published documentation. This clear, concise new guide shows system administrators how to integrate this tool effectively into their networks. The book clarifies installation, configuration, and use of SpamAssassin versions 2.63 and 3.0 for Unix sysadmins using Postfix, sendmail, Exim, or qmail mail servers. SpamAssassin, together with this essential book, provides the tools you need to take back your organization's inboxes. http://www.oreilly.com/catalog/spamassassin/ Chapter 2, "SpamAssassin Basics," is available online: http://www.oreilly.com/catalog/spamassassin/chapter/index.html ***We the Media Publisher: O'Reilly ISBN: 0596007337 Not content to accept the news as reported, grassroots journalists are dismantling Big Media's news monopoly, and publishing in real time to a worldwide audience via the Internet. The impact of their work is just beginning to be felt by professional journalists and the newsmakers they cover. In "We the Media," nationally known business and technology columnist Dan Gillmor tells the story of this emerging phenomenon, and sheds light on this deep shift in how we make and consume the news. http://www.oreilly.com/catalog/wemedia/ The book's Introduction is available online: http://www.oreilly.com/catalog/wemedia/chapter/index.html ***Zero-Day Exploit Publisher: Syngress ISBN: 19318360 A group of highly sophisticated cyber-terrorists have developed a Zero-Day Exploit targeting critical, pertrochemical infrastructure systems in the United States. Once launched, the exploit will cripple the country's ability to respond or defend itself. The only defense against disaster rests with an elite cyber-security expert with the skill and savvy to thwart the plot. http://www.oreilly.com/catalog/1931836094/ ***Mono: A Developer's Notebook Publisher: O'Reilly ISBN: 0596007922 This no-fluff, lab-style guide jumps right into Mono 1.0 as you work through nearly 50 mini-projects that introduce you to the most important and compelling aspects of the 1.0 release. You'll learn how to acquire, install, and run Mono on Linux, Windows, or Mac OS X. You'll work with the various Mono components: Gtk#; the CLR; the class libraries (.NET and Mono); and much more. This book lets you roll up your sleeves and see what Mono can do. http://www.oreilly.com/catalog/monoadn/ Chapter 3, "Core .NET," is available online: http://www.oreilly.com/catalog/monoadn/chapter/index.html ================================================ Upcoming Events ================================================ ***For more events, please see: http://events.oreilly.com/ ***Deke McClellend ("Adobe Photoshop CS One-on-One") 2004 Australian InDesign Conference, Melbourne, Australia--August 12-14 Deke is a featured speaker at the annual national conference dedicated to supporting this fast-growing application user community. http://www.theindesignconference.com/australia/indexa.html ***Wil Wheaton ("Just a Geek" and "Dancing Barefoot"), Hollywood Borders--August 15 Wil stops by the Hollywood Borders to sign copies of "Just a Geek" at 2:00pm. 1501 Vine Street, Hollywood, CA http://www.bordersstores.com/stores/store_pg.jsp?storeID=354 ***Wil Wheaton ("Just a Geek" and "Dancing Barefoot") at Mysterious Galaxy Books, San Diego, CA--August 21 WIl also stops by Mysterious Galaxy starting at 1:30 p.m. 7051 Clairemont Mesa Blvd., San Diego, CA http://www.mystgalaxy.com/ ***O'Reilly at PhotoShopWorld, Orlando, Florida--August 31 & September 2 Deke McClelland will be teaching Adobe Illustrator Techniques in a pre-conference session on August 31. Make sure you come by and say hi at our booth (#334) in the expo hall on September 2. Orange County Convention Center, Orlando, FL http://www.photoshopworld.com/ ================================================ Conference News ================================================ ***Registration Is Open for O'Reilly's Mac OS X Conference Join us for the third annual Mac OS X Conference, October 25-28, 2004, in Santa Clara, California. You'll hear from Stewart Copeland, the former drummer for the Police who now creates award-winning film and television scores using Mac OS X technology; "New York Times" columnist David Pogue; Andy Ihnatko of the "Chicago Sun-Times"; Karelia Sofware's Dan Wood; Brent Simmons of Ranchero Software; Michael Bartosh of 4AM Media; Mac authors Dori Smith, Gordon Meyer, and Ted Landau; and many more. User Group members who register before September 10, 2004 get a double discount. Use code DSUG when you register, and receive 20% off the "Early Bird" price. To register, go to: http://conferences.oreillynet.com/cs/macosx2004/create/ord_mac04 O'Reilly Mac OS X Conference October 25-28, 2004 Westin Santa Clara, Santa Clara, CA http://conferences.oreilly.com/macosxcon/ ================================================ News From O'Reilly & Beyond ================================================ --------------------- General News --------------------- ***"We the Media" Blog Nationally recognized technology columnist Dan Gillmor has launched a new blog that covers the shifts we're seeing as journalism becomes less of a lecture and more of a conversation. Check it out if you're interested in the future of journalism, and don't miss his latest book on the topic, "We the Media." http://wethemedia.oreilly.com/ ***Techies Reshape 9/11 History Within hours of the release of The 9/11 Commission Report, multiple formats of the report were posted online by people interested in increasing its accessibility and usability. One of those people was PDF expert Sid Steward, who reduced the file size of the commission's original PDF, added bookmarks, and created a front-page HTML portal. Learn how easy and flexible PDF can be in Sid's upcoming "PDF Hacks." http://www.wired.com/news/politics/0,1283,64346,00.html ***O'Reilly Radar: OSCON 2004 Daniel Steinberg reports on Tim O'Reilly's OSCON 2004 keynote. Tim's remarks focused on what is currently on his radar. He discussed Internet applications and social software, and ended with the announcement that O'Reilly will be producing the third annual MySQL Conference next year in Santa Clara, CA http://www.onlamp.com/pub/a/onlamp/2004/07/29/radar.html ***Top 10 Online Investing Tips Plucked from the pages of "Online Investing Hacks," author Bonnie Biafore offers ten of the most important things you can do to improve your financial situation, and the tools that will simplify these tasks. http://www.oreillynet.com/pub/a/network/2004/07/23/onlineinvestinghacks.html --------------------- Open Source --------------------- ***The Great Linux Desktop Migration Contest--Enter by August 9 If you're considering, or you have already embarked upon, a Linux desktop migration, here's your chance to help guide and inspire others and be eligible to win an all-expense-paid trip to Barcelona, Spain. Novell and O'Reilly Media have joined forces to present this contest and are looking for entries that describe the benefits realized from a desktop migration, a phased migration plan, or the most practical tips for migrating to Linux. http://www.linuxdevcenter.com/linux/contest/ ***O'Reilly and MySQL AB Present the MySQL Users Conference According to Tim O'Reilly, "MySQL is at the heart of revolutionary changes in the computer industry." Join us in Santa Clara, CA in April 2005 to meet the MySQL development team, peruse the latest products and services, get detailed insight into new features in MySQL 5.0, and much more. http://www.mysqluc.com/ ***Questioning Promises at LinuxWorld O'Reilly editor Andy Oram reports this week from LinuxWorld 2004 in San Francisco. He'll be exploring the promises of Linux and trying to determine how realistic they are, because, as Andy writes, "In many areas, the important foundations have been laid--but a lot remains to be done." http://oreillynet.com/pub/wlg/5357 ***Open Source and NASA's Mars Rover NASA's recent Mars Rover mission uses a host of open source tools. Three members of the team presented how they promoted open source software at NASA, use it in the project, and hope to release more code in the future. Ann Barcomb reports. http://www.onlamp.com/pub/a/onlamp/2004/08/02/oss_mars_rover.html --------------------- Mac --------------------- ***21.5 Things You Can Do with Office 2004 By now you've probably read about all the new features in Microsoft Office 2004. Good. Because we're not going to cover them here again. Instead, Giles Turnbull shows you 21 and a half things you can do in Office that you might not have previously realized. http://www.macdevcenter.com/pub/a/mac/2004/08/03/ms_office.html ***Creating DVD/VCD Photo Slide Shows for Your Mac Let's face it: you still have friends and family who've yet to enter the computer age. And yet you'd like to send them copies of your vacation photos (or your newborn, or your cat) taken with your digital camera. What to do? Wei-Meng Lee offers an alternative to using iPhoto for creating slide-show CDs--Ulead's DVD PictureShow for Mac. He walks us through how to burn digital photos onto disc so anyone with a DVD/VCD player can view them. http://www.macdevcenter.com/pub/a/mac/2004/07/27/DVDslideshowonMac.html ***OS 9, Mine, All Mine What serious Mac fan in his or her right mind would consider booting anything other than OS X? Well, lots of them. Giles Turnbull interviews a handful of dedicated OS 9 users to find out why. http://www.macdevcenter.com/pub/a/mac/2004/07/23/os9.html --------------------- Windows --------------------- ***Windows Server Hacks: Creating a Password Reset Disk Losing a password for an account can be anything from a pain to a disaster. Mitch Tulloch, author of "Windows Server Hacks," shows you how to solve the problem by creating a password recovery disk. http://www.windowsdevcenter.com/pub/a/windows/2004/08/03/password_reset.html ***Power Up the Windows Clipboard The Windows Clipboard is about as useless a utility as you can imagine. Throw it away and replace it with one of these clipboard power tools. http://www.windowsdevcenter.com/pub/a/windows/2004/08/03/clipboard.html ***Rapid Application Development with VB.NET 2.0 Jesse Liberty has supported the idea that it really doesn't matter if you program in C# or in VB.NET, since both are just syntactic sugar layered on top of the Microsoft Intermediate Language--the true language of .NET. But that appears to be changing with Whidbey. Get a look at the new My Object in VB.NET 2.0 in this article by Jesse, author of "Programming Visual Basic .NET, 2nd Edition." http://www.ondotnet.com/pub/a/dotnet/2004/08/02/libertywhidbey.html --------------------- Java --------------------- **XML-Java Data Binding Using XMLBeans XMLBeans, currently in the Apache incubation process, is a promising framework for providing XML/Java data binding unmarshalling well-formed XML into Java objects, and marshalling Java objects into XML files. Hetel Shah provides an introduction to its features. http://www.onjava.com/pub/a/onjava/2004/07/28/XMLBeans.html ***Keeping Up with the Java Joneses Ian Darwin covers a variety of new Java 1.5 features, including J2SE 1.5 threading, the return of printf, and the IDEs NetBeans and Eclipse. Ian wraps up this article with resources to help you keep up with the rest of the Java Joneses. Ian is the author of the recently released "Java Cookbook, 2nd Edition." http://www.onjava.com/pub/a/onjava/2004/07/28/javackbk2.html --------------------- Security --------------------- ***What Countermeasures Really Mean As the number and range of attacks on computer systems have grown exponentially and conventional firewalls and intrusion detection systems have proven inadequate for the task, security researchers have started to talk about employing "countermeasures" to preserve security. http://www.oreillynet.com/pub/a/security/2004/08/03/symbiot.html ================================================ News From Your Peers ================================================ ***Report from OSCON 2004 Steve Riggins of the Portland Mac Users Group and the statewide Oregon MacPioneers User Group gives us his scoop on the 2004 O'Reilly Open Source Convention in Portland, OR. Thanks Steve! And thanks to OMUG leader Steve Welsh for passing this along. http://homepage.mac.com/ydkm/News/oscon04report.htm 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/lpt?HomePage Until next time-- Marsee From DDumler at jccc.net Tue Aug 10 16:22:50 2004 From: DDumler at jccc.net (David Dumler) Date: Tue Aug 10 16:23:54 2004 Subject: [Kc] meeting topic: user mode linux Message-ID: <7D5D8911668F50499D80DA10A4ED68AB6268EB@ns-exch05.jccc.net> I haven't been to a meeting for a while, are we meeting in the Elvis room or the Stein room these days ?? I plan to attend this evening (the meeting is this evening right ?), however I probably won't arrive until around 8:00. David Dumler Programmer Analyst Johnson County Community College (913) 469-8500 x 4687 -----Original Message----- From: kc-bounces@mail.pm.org [mailto:kc-bounces@mail.pm.org]On Behalf Of Garrett Goebel Sent: Friday, August 06, 2004 6:38 AM To: kcpm Subject: [Kc] meeting topic: user mode linux david nicol wrote: > > UML has been suggested for next tuesday's topic > > I will not be at the meeting FYI: I have 2 copies of the new Perl 6 Parrot Essentials book for anyone who'd like to lay claim to one. -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett at scriptpro dot com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20040810/2af0c8a2/attachment.htm From ironicface at earthlink.net Tue Aug 10 16:46:51 2004 From: ironicface at earthlink.net (Teal) Date: Tue Aug 10 16:51:25 2004 Subject: [Kc] meeting topic: user mode linux In-Reply-To: <7D5D8911668F50499D80DA10A4ED68AB6268EB@ns-exch05.jccc.net> References: <7D5D8911668F50499D80DA10A4ED68AB6268EB@ns-exch05.jccc.net> Message-ID: <4119424B.7050709@earthlink.net> David Dumler wrote: > I haven't been to a meeting for a while, are we meeting in the Elvis > room or the Stein room these days ?? I plan to attend this evening (the > meeting is this evening right ?), however I probably won't arrive until > around 8:00. > > David Dumler > Programmer Analyst > Johnson County Community College > (913) 469-8500 x 4687 > Seems like last time was in the Elvis room? From dougl at dougledbetter.org Tue Aug 10 17:33:59 2004 From: dougl at dougledbetter.org (Doug Ledbetter) Date: Wed Aug 11 08:46:47 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) In-Reply-To: <71BEC0D4E1DED3118F7A009027B1202808CF0FB2@EXCH_MISSION> References: <71BEC0D4E1DED3118F7A009027B1202808CF0FB2@EXCH_MISSION> Message-ID: <6.1.0.6.2.20040810170549.02b4ea78@www1.hagenhosting.com> At 08:00 AM 5/26/2004, you wrote: >From: mjd@plover.com [mailto:mjd@plover.com] On >Behalf Of Marco Baringer >Sent: Wednesday, May 26, 2004 6:48 AM >To: perl-qotw@plover.com >Subject: Perl Quiz-of-the-Week #17 [x-adr] > >IMPORTANT: Please do not post solutions, hints, or other spoilers > until at least 60 hours after the date of this message. > Thanks. > > >The Game of Hangman >-------------------- Has it been 60 hours yet? ;) I sat on this one for quite awhile until I decided to use it to help my 15 year old expand his programming skills. He's writing this in Dark Basic but I hacked it out in Perl. I'm finished. He's not. :) I'm sure my code isn't the most efficient way of doing this, but I was mostly focusing on making the code readable. My son doesn't know Perl, but I hoped that my code would be easy enough to read that he could use it when he gets stuck in his Dark Basic coding. I have attached both the script "hangman.pl" and a dictionary "words.zip" if you don't have your own dictionary. Usage is explained by running the script without arguments. Comments and suggestions are welcomed. I've done a fair bit of Perl coding, but this is my first Perl game (possibly my last?). Most of my coding experience is either web related or system administration related. One thing I've noticed with my son is that he wants to sit down and write a graphical Real Time Strategy (RTS) game (ie- Age of the Empires) before doing any of the more simple and practical things first. Unfortunately, he doesn't have the skills it would take to do a complex graphical game yet. When I was his age, I had a TRS-80 and taught myself BASIC. There weren't any slick RTS or 3D games for the thing. The skill level required to write an amusing game on the TRS-80 or Apple IIe was much lower. He's been working on this hangman game, but he's really not very interested in it. He doesn't see the benefit of this text-based game as a building block toward bigger & better things in the future. He thinks he wants to be a game developer, but with his unwillingness to learn the basics of programming (loops, data structures, etc. -- all the things that aren't much fun), I'm really not sure if he's cut out to be a programmer. Anybody else have similar experiences? -dougl ____________________________________________________________ Doug Ledbetter -- Hagen Software, Inc. dougl@dougledbetter.org My PGP Public Key: http://dougledbetter.org/public_key.html -------------- next part -------------- #!/usr/bin/perl # hangman.pl game by Doug Ledbetter - 08/10/2004 # # dougl (at) dougledbetter.org # # This is the traditional game of hangman except that the computer does the hard work of selecting the random word. # # Known issues: # - if you guess correct letters again, they don't count against you. Maybe they should? use strict; # declare some variables my $words_file; my $max_tries; my $tries_made = 0; # keep track of the number of tries made my @words; # array to store the words my $magic_word; # the word they're trying to guess my @word; # array to store the individual characters in the magic word my @correct; # array to store their correct guesses my $debug = 0; if ($ARGV[0] ne "") { $words_file = $ARGV[0]; } else { print "ERROR: You must provide a file with a listing of words for me to use!\nUsage: hangman.pl words.txt [max_tries]\n\n"; exit; } if ($ARGV[1] ne "") { $max_tries = $ARGV[1]; } else { # they didn't provide a maximum number of tries, I'll give them 5 $max_tries = 5; } # initialize the random number seed srand(time() ^ ($$ + ($$ << 15))); # print a welcome message with instructions for playing print "\n\nWelcome to Hangman!\n\nIn this game you are given $max_tries tries to guess the random word I have chosen for you.\nYou will see blanks below representing each letter of the random word.\nYour job is to figure out what word I have chosen by guessing letters.\n\n"; # read all the words into an array open(my $words_fh, "<$words_file") or die "Cannot open the words file you provided ($words_file): $!\n"; # open the file for reading while (my $line = <$words_fh>) { chomp($line); # remove the newline character $line = lc($line); # lowercase the word if ( (length($line) > 1) && ($line !~ m/\W+/ig) ) { push(@words,$line); # store the word in the array if it's longer than 1 character and doesn't contain any non-word characters } #if ($debug) { print "$line\n"; } } # make sure we have some words if (scalar(@words) < 1) { die "ERROR: Not enough valid words to work with!\n"; } # choose a random word $magic_word = $words[int(rand(scalar(@words)))]; if ($debug) { print "MAGIC WORD: $magic_word\n"; } # load the magic word into the array one character at a time for (my $x=0; $x < length($magic_word); $x++) { $word[$x] = substr($magic_word,$x,1); $correct[$x] = ""; if ($debug) { print "Loading array: $word[$x]\n"; } } # main guessing loop while ($tries_made < $max_tries) { if ($debug) { print "TRIES: $tries_made\n"; } # check for correct guesses and print underlines if ($debug) { print "LENGTH: $#correct\n"; } print "Word: "; for (my $x=0; $x <= $#correct; $x++) { #print "$x: "; if ($correct[$x] ne "") { print $correct[$x]; } else { print " _ "; } } print "\n\n"; # new line # Get input print "Make your guess ($tries_made/$max_tries wrong so far): "; my $guess = ; chomp($guess); # strip off the newline # check input for validity if ($guess =~ m/[A-Za-z]{1}/i) { $guess = lc($guess); # lower-case it } else { print "ERROR: You entered invalid information. I only accept a single letter (a-z).\n"; die; } print "\nYou guessed: $guess - "; # Check answer loop my $found_correct_flag = 0; for (my $x=0; $x <= $#word; $x++) { #if ($debug) { print "EXAMINING($x): $word[$x] AGAINST $guess\n"; } if ($word[$x] eq $guess) { if ($debug) { print "CORRECT: $guess\n"; } $correct[$x] = $word[$x]; $found_correct_flag = 1; } } if (!$found_correct_flag) { print "Wrong!\n\n"; $tries_made++; # increment the number of bad guesses made } else { print "Right!\n\n"; } # Check for a winner my $winner_flag = 1; # assume they won for (my $x=0; $x <= $#correct; $x++) { if ($correct[$x] eq "") { $winner_flag = 0; # aw, they haven't guessed this one } } if ($winner_flag) { print "You win! The word was \"$magic_word\". Good job!\n"; exit(0); } } print "You made too many guesses and the poor guy hangs! You lose! The word was \"$magic_word\"\n"; exit(0); -------------- next part -------------- A non-text attachment was scrubbed... Name: words.zip Type: application/zip Size: 82969 bytes Desc: not available Url : http://mail.pm.org/pipermail/kc/attachments/20040810/aa283742/words-0001.zip From garrett at scriptpro.com Wed Aug 11 08:57:59 2004 From: garrett at scriptpro.com (Garrett Goebel) Date: Wed Aug 11 08:58:04 2004 Subject: [Kc] meeting topic: user mode linux Message-ID: <71BEC0D4E1DED3118F7A009027B1202809EA25DB@EXCH_MISSION> Apologies folks. Life has been hectic. I forgot yesterday was the 2nd Tuesday! I already know I won't be able to make the September meeting. And it looks like I will be going to Peru for June and July next Summer. Perhaps it is time to step back and pass the torch? Or at least step back a bit more into the shadows. KC.PM could use people with more time and energy available to dedicate to the group's activities. Are any persons willing to step up and take over responsibility for one or more of the following? o Meetings o Website o Mailing List o User Group Relations (O'Reilly) o [other things we should be doing, but which I failed to mention?] Garrett -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20040811/094d776a/attachment.htm From DDumler at jccc.net Wed Aug 11 09:06:32 2004 From: DDumler at jccc.net (David Dumler) Date: Wed Aug 11 09:07:35 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) Message-ID: <7D5D8911668F50499D80DA10A4ED68AB6268ED@ns-exch05.jccc.net> If your son is interested in game programming he should look at GLOP -- GAME LANGUAGE OF PERL. I went to a session on it at OSCON -- it is still a work in progress, but it looks pretty cool so far. As of 2 weeks ago it was not yet available on CPAN, but you can get it from sourceforge. -David D. -----Original Message----- From: kc-bounces@mail.pm.org [mailto:kc-bounces@mail.pm.org]On Behalf Of Doug Ledbetter At 08:00 AM 5/26/2004, you wrote: >From: mjd@plover.com [mailto:mjd@plover.com] On >Behalf Of Marco Baringer >Sent: Wednesday, May 26, 2004 6:48 AM >To: perl-qotw@plover.com >Subject: Perl Quiz-of-the-Week #17 [x-adr] > >IMPORTANT: Please do not post solutions, hints, or other spoilers > until at least 60 hours after the date of this message. > Thanks. > > >The Game of Hangman >-------------------- Has it been 60 hours yet? ;) I sat on this one for quite awhile until I decided to use it to help my 15 year old expand his programming skills. He's writing this in Dark Basic but I hacked it out in Perl. I'm finished. He's not. :) I'm sure my code isn't the most efficient way of doing this, but I was mostly focusing on making the code readable. My son doesn't know Perl, but I hoped that my code would be easy enough to read that he could use it when he gets stuck in his Dark Basic coding. I have attached both the script "hangman.pl" and a dictionary "words.zip" if you don't have your own dictionary. Usage is explained by running the script without arguments. Comments and suggestions are welcomed. I've done a fair bit of Perl coding, but this is my first Perl game (possibly my last?). Most of my coding experience is either web related or system administration related. One thing I've noticed with my son is that he wants to sit down and write a graphical Real Time Strategy (RTS) game (ie- Age of the Empires) before doing any of the more simple and practical things first. Unfortunately, he doesn't have the skills it would take to do a complex graphical game yet. When I was his age, I had a TRS-80 and taught myself BASIC. There weren't any slick RTS or 3D games for the thing. The skill level required to write an amusing game on the TRS-80 or Apple IIe was much lower. He's been working on this hangman game, but he's really not very interested in it. He doesn't see the benefit of this text-based game as a building block toward bigger & better things in the future. He thinks he wants to be a game developer, but with his unwillingness to learn the basics of programming (loops, data structures, etc. -- all the things that aren't much fun), I'm really not sure if he's cut out to be a programmer. Anybody else have similar experiences? -dougl ____________________________________________________________ Doug Ledbetter -- Hagen Software, Inc. dougl@dougledbetter.org My PGP Public Key: http://dougledbetter.org/public_key.html From dougl at dougledbetter.org Wed Aug 11 14:23:12 2004 From: dougl at dougledbetter.org (Doug Ledbetter) Date: Wed Aug 11 14:23:19 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) In-Reply-To: <7D5D8911668F50499D80DA10A4ED68AB6268ED@ns-exch05.jccc.net> References: <7D5D8911668F50499D80DA10A4ED68AB6268ED@ns-exch05.jccc.net> Message-ID: <6.1.0.6.2.20040811141652.0307b000@www1.hagenhosting.com> At 09:06 AM 8/11/2004, you wrote: >If your son is interested in game programming he should look at GLOP -- GAME >LANGUAGE OF PERL. I went to a session on it at OSCON -- it is still a work >in progress, but it looks pretty cool so far. As of 2 weeks ago it was not >yet available on CPAN, but you can get it from sourceforge. Thanks for the info. That's interesting. I don't know how popular game programming in Perl will become. ;) Unfortunately, GLOP hasn't released any files yet. With the type of stuff my son *wants* to write, he'll need to learn C or C++. Since I'm not much of a C/C++ programmer myself, I haven't pushed in that direction. I'm still curious to see if he will persevere with the simple stuff or if he will give up. It seems to me that either you are born a computer geek or you're not. He doesn't strike me as a computer geek so far. I don't want to force him down a path he's not built to travel. -dougl ____________________________________________________________ Doug Ledbetter -- Hagen Software, Inc. dougl@dougledbetter.org My PGP Public Key: http://dougledbetter.org/public_key.html From scottk at uclick.com Wed Aug 11 14:51:05 2004 From: scottk at uclick.com (Scott Kahler) Date: Wed Aug 11 14:51:35 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) In-Reply-To: <6.1.0.6.2.20040811141652.0307b000@www1.hagenhosting.com> References: <7D5D8911668F50499D80DA10A4ED68AB6268ED@ns-exch05.jccc.net> <6.1.0.6.2.20040811141652.0307b000@www1.hagenhosting.com> Message-ID: <1092253865.2962.18.camel@walkabout> I wouldn't be to concerned about it, he may still have the geekness in him but he has to find a project he's interested in. It's tough to see how writing simple code will blossom into a game. Have you shown him any MUDs or text interface games. Maybe showing him something like that would peak interest in the code more and show how the basics of programming come into play. After all MMORPGs find their roots in text based games. Also it is something he might be able to get in and tinker with more and see immediate results. On Wed, 2004-08-11 at 14:23, Doug Ledbetter wrote: > At 09:06 AM 8/11/2004, you wrote: > > >If your son is interested in game programming he should look at GLOP -- GAME > >LANGUAGE OF PERL. I went to a session on it at OSCON -- it is still a work > >in progress, but it looks pretty cool so far. As of 2 weeks ago it was not > >yet available on CPAN, but you can get it from sourceforge. > > > > Thanks for the info. That's interesting. I don't know how popular game > programming in Perl will become. ;) Unfortunately, GLOP hasn't released > any files yet. > > With the type of stuff my son *wants* to write, he'll need to learn C or > C++. Since I'm not much of a C/C++ programmer myself, I haven't pushed in > that direction. I'm still curious to see if he will persevere with the > simple stuff or if he will give up. It seems to me that either you are > born a computer geek or you're not. He doesn't strike me as a computer > geek so far. I don't want to force him down a path he's not built to travel. > > -dougl > > > > ____________________________________________________________ > > Doug Ledbetter -- Hagen Software, Inc. > dougl@dougledbetter.org > My PGP Public Key: http://dougledbetter.org/public_key.html > > _______________________________________________ > kc mailing list > kc@mail.pm.org > http://mail.pm.org/mailman/listinfo/kc Scott Kahler =-=-=-=-=-=-=-=-=-=-=-=-= Perl Geek http://www.uclick.com scottk@uclick.com =-=-=-=-=-=-=-=-=-=-=-=-= I don't have a big ego... I'm way too cool for that !!! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://mail.pm.org/pipermail/kc/attachments/20040811/59f257fa/attachment.bin From DDumler at jccc.net Wed Aug 11 15:09:43 2004 From: DDumler at jccc.net (David Dumler) Date: Wed Aug 11 15:10:51 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) Message-ID: <7D5D8911668F50499D80DA10A4ED68AB6268F0@ns-exch05.jccc.net> He might want to take a look at the GAME 101 course we are offering here at JCCC. It is the first course in the new "video game software development" degree program. I am looking at possibly putting together a course using GLOP but it won't ready until fall 2005 at the absolute earliest. -David -----Original Message----- From: kc-bounces@mail.pm.org [mailto:kc-bounces@mail.pm.org]On Behalf Of Doug Ledbetter At 09:06 AM 8/11/2004, you wrote: >If your son is interested in game programming he should look at GLOP -- GAME >LANGUAGE OF PERL. I went to a session on it at OSCON -- it is still a work >in progress, but it looks pretty cool so far. As of 2 weeks ago it was not >yet available on CPAN, but you can get it from sourceforge. Thanks for the info. That's interesting. I don't know how popular game programming in Perl will become. ;) Unfortunately, GLOP hasn't released any files yet. With the type of stuff my son *wants* to write, he'll need to learn C or C++. Since I'm not much of a C/C++ programmer myself, I haven't pushed in that direction. I'm still curious to see if he will persevere with the simple stuff or if he will give up. It seems to me that either you are born a computer geek or you're not. He doesn't strike me as a computer geek so far. I don't want to force him down a path he's not built to travel. -dougl ____________________________________________________________ Doug Ledbetter -- Hagen Software, Inc. dougl@dougledbetter.org My PGP Public Key: http://dougledbetter.org/public_key.html _______________________________________________ kc mailing list kc@mail.pm.org http://mail.pm.org/mailman/listinfo/kc From garrett at scriptpro.com Wed Aug 11 16:48:40 2004 From: garrett at scriptpro.com (Garrett Goebel) Date: Wed Aug 11 16:50:19 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) Message-ID: <71BEC0D4E1DED3118F7A009027B1202809EA2B42@EXCH_MISSION> Doug Ledbetter wrote: > > I'm still curious to see if he will persevere with the simple > stuff or if he will give up. It seems to me that either you > are born a computer geek or you're not. He doesn't strike me > as a computer geek so far. I don't want to force him down a > path he's not built to travel. You might consider steering him toward one of the FPS or RPG game modification communities. Level editing, etc. isn't too difficult. And you get the bonus of being able to walk through your creation. Not to mention that a lot of the games like Neverwinter Nights have not insignificant scripting engines. When I was a bit younger than your son, I was creating maps, etc. for some adventure style text based RPGs on an Apple II+. Nobody gave me a nudge or guidence, I just did it because it was fun. My brother at the same age could sit at the computer with a copy of Byte magazine and type in assembler for hours just to play a game someone else had written. If you can steer him toward something he's honestly interested in, then hopefully, his own intrinsic motivation and drive to accomplish moderately difficult tasks should guide him down the path into the tiny little details... Garrett -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett at scriptpro dot com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20040811/5182d245/attachment.htm From dougl at dougledbetter.org Wed Aug 11 17:30:56 2004 From: dougl at dougledbetter.org (Doug Ledbetter) Date: Wed Aug 11 17:31:23 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) In-Reply-To: <1092253865.2962.18.camel@walkabout> References: <7D5D8911668F50499D80DA10A4ED68AB6268ED@ns-exch05.jccc.net> <6.1.0.6.2.20040811141652.0307b000@www1.hagenhosting.com> <1092253865.2962.18.camel@walkabout> Message-ID: <6.1.0.6.2.20040811163717.02a82a18@www1.hagenhosting.com> At 02:51 PM 8/11/2004, you wrote: >I wouldn't be to concerned about it, he may still have the geekness in >him but he has to find a project he's interested in. It's tough to see >how writing simple code will blossom into a game. Have you shown him >any MUDs or text interface games. Maybe showing him something like that >would peak interest in the code more and show how the basics of >programming come into play. After all MMORPGs find their roots in text >based games. Also it is something he might be able to get in and tinker >with more and see immediate results. That could be. He has played a text-based Zork clone and he's attempting to write his own text-based adventure (from scratch) with LOTR themes. I'm thinking that is a rather large project to take on at this point. We'll see. -dougl ____________________________________________________________ Doug Ledbetter -- Hagen Software, Inc. dougl@dougledbetter.org My PGP Public Key: http://dougledbetter.org/public_key.html From ironicface at earthlink.net Thu Aug 12 00:12:00 2004 From: ironicface at earthlink.net (Teal) Date: Thu Aug 12 00:12:38 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) In-Reply-To: <6.1.0.6.2.20040811163717.02a82a18@www1.hagenhosting.com> References: <7D5D8911668F50499D80DA10A4ED68AB6268ED@ns-exch05.jccc.net> <6.1.0.6.2.20040811141652.0307b000@www1.hagenhosting.com> <1092253865.2962.18.camel@walkabout> <6.1.0.6.2.20040811163717.02a82a18@www1.hagenhosting.com> Message-ID: <411AFC20.6050908@earthlink.net> I think everyone is missing Doug's point. He was saying he didn't want to impose 'Geekness' on his son. Think of it as a child from a different clan. If he comes over to join your fire, cool. If not cool. Teal From garrett at scriptpro.com Thu Aug 12 11:00:20 2004 From: garrett at scriptpro.com (Garrett Goebel) Date: Thu Aug 12 11:00:30 2004 Subject: [Kc] Perl 'Expert' Quiz-of-the-Week #21 Message-ID: <71BEC0D4E1DED3118F7A009027B1202809EA2E55@EXCH_MISSION> IMPORTANT: Please do not post solutions, hints, or other spoilers until at least 60 hours after the date of this message. Thanks. IMPORTANTE: Por favor, no enviis soluciones, pistas, o cualquier otra cosa que pueda echar a perder la resolucin del problema hasta que hayan pasado por lo menos 60 horas desde el envo de este mensaje. Gracias. IMPORTANT: S'il vous plat, attendez au minimum 60 heures aprs la date de ce message avant de poster solutions, indices ou autres rvlations. Merci. Qing3 Zhu4Yi4: Qing3 Ning2 Deng3Dao4 Jie1Dao4 Ben3 Xin4Xi2 Zhi1Hou4 60 Xiao3Shi2, Zai4 Fa1Biao3 Jie3Da2, Ti2Shi4, Huo4 Qi2Ta1 Hui4 Xie4Lou4 Da2An4 De5 Jian4Yi4. Xie4Xie4. UWAGA: Prosimy nie publikowac rozwiazan, dodatkowych badz pomocniczych informacjii przez co najmniej 60 godzin od daty tej wiadomosci. Dziekuje. ---------------------------------------------------------------- In the 1960's, the grad students at the University of Chicago math department worked on a series of astoundingly useless and time-consuming puzzles. One of these follows. Consider the set of all possible strings of the alphabet ('a' .. 'z'). Let us agree to consider two strings "equivalent" if the following conditions hold: 1. They contain precisely the same letters, and 2. They both appear in Webster's Third International Dictionary. In such a case, the two strings are considered interchangeable in all contexts. For example, "am" and "ma" are equivalent, and this also implies that "amount" and "maount" are equivalent, as are "grammar" and "grmamar" and "gramamr" and "grmaamr". Moreover, equal letters can be cancelled from the front and back end of any string. For example, "abby" and "baby" are equivalent, and, cancelling the trailing "by", this implies that "ab" and "ba" are also equivalent, and can be exchanged anywhere. When two letters can be exchanged in this way, we say that they "commute". The third floor of the math building at UC had a huge 26x26 chart; the square in column i and row j contained a proof that letters i and j would commute. Sometimes these proofs can be rather elaborate. For example, the dictionary has "dire" and "ride", so, by cancelling the trailing "e"s, one has "dir" = "rid". The dictionary also has dirten = rident (No, I don't know what those mean.) Since "dir" = "rid" we have: rident = dirent and since "rident" = "dirten", dirten = dirent even though "dirent" is not a dictionary word. Cancelling the leading "dir" leaves: ten = ent but ten = net because "ten" and "net" are dictionary words, so ent = net and, cancelling the "t", en = ne and we've just proved that "en" and "ne" commute. This fact might be useful in later proofs. What's the point of all this? Well, the goal is to find out which letters commute with *every* other letter; such letters are said to be in the "center" of the system. As for the *point*, I'm not sure there is one. Apparently the math grads at UC didn't have enough to occupy their time. The chart in the UC math building has since been lost, so your task is to write a program whose input is a word list, with one word per line, and which makes appropriate deductions and eventually computes the center of the system. I don't have the headword list from Webster's Third, but I do have the list from Webster's Second, so let's use that. You can get a copy from http://perl.plover.com/qotw/words/Web2.bz2 http://perl.plover.com/qotw/words/Web2.gz -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20040812/67f722ef/attachment-0001.htm From garrett at scriptpro.com Thu Aug 12 12:16:26 2004 From: garrett at scriptpro.com (Garrett Goebel) Date: Thu Aug 12 12:16:59 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) Message-ID: <71BEC0D4E1DED3118F7A009027B1202809EA2F4C@EXCH_MISSION> Teal wrote: > > I think everyone is missing Doug's point. He was saying > he didn't want to impose 'Geekness' on his son. Think of > it as a child from a different clan. If he comes over to > join your fire, cool. If not cool. I agree. That's what I was trying to hint at anyway. Parenting and mentoring are hard. Whether you're enticing them with a carrot or a stick, if you attempt to entice someone to do something at odds with their personal motivations... you're in effect attempting to manipulate and control them. People tend to react rather negatively when they feel manipulated. Which is why pushing people in any direction tends to decrease their intrinsic motivation. Did you guess? I happen to be reading a book on this topic: "Punished by Rewards" by Alfie Kohn. Sorry for the diatribe... The best you can hope to do is listen carefully to your kids, try to figure out the passions that fuel and motivate them, and provide a little kindling. It sounded like Doug's kid might be interested in: http://www.rickadams.org/adventure or http://www.if-legends.org%7EAdventure/ or http://www.ifarchive.org Where he could read about and download the source for the grand-daddy of computer based interactive storytelling. I liked this quote: "Playing adventure games without tackling this one is like being an English major who's never glanced at Shakespeare." -- Steven Levy If he'd like to read about ScummVM, an ongoing game emulator project for classic adventure games: http://www.linuxdevcenter.com/pub/a/linux/2003/08/21/scummvm.html The link to the project in the article should be http://www.scummvm.org If he'd like to work with an existing text adventure development system, he might try: http://www.tads.org If you want to do something using Perl... you might check out some of these articles: Pearls of Perl A Perl intro preparing the reader to write an Adventure Game http://www.svs.com/djr01//PoP/PoP.html Adventure in Perl has been a fairly recent topic on the Perl Monks http://www.perlmonks.com/index.pl?node_id=378371 VoiceXML Adventure Game http://www.webreference.com/perl/tutorial/21 tktetris (Perl/tk) http://sourceforge.net/project/showfiles.php?group_id=19921 M.J. Dominus' Perl Paraphernalia (last updated 4.9.2003) promises source for an Adventure clone "coming soon" http://backpan.cpan.org/authors/id/M/MJ/MJD/ The New Adventure Shell Skinning a UN*X shell to look like Adventure using Perl http://nadvsh.sourceforege.net -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett at scriptpro dot com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20040812/51747173/attachment.htm From dougl at dougledbetter.org Thu Aug 12 17:05:05 2004 From: dougl at dougledbetter.org (Doug Ledbetter) Date: Thu Aug 12 17:05:09 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) In-Reply-To: <71BEC0D4E1DED3118F7A009027B1202809EA2F4C@EXCH_MISSION> References: <71BEC0D4E1DED3118F7A009027B1202809EA2F4C@EXCH_MISSION> Message-ID: <6.1.0.6.2.20040812170320.02f98250@www1.hagenhosting.com> At 12:16 PM 8/12/2004, you wrote: >Teal wrote: > > > > I think everyone is missing Doug's point. He was saying > > he didn't want to impose 'Geekness' on his son. Think of > > it as a child from a different clan. If he comes over to > > join your fire, cool. If not cool. > >I agree. That's what I was trying to hint at anyway. > >Parenting and mentoring are hard. Whether you're enticing them with a >carrot or a stick, if you attempt to entice someone to do something at >odds with their personal motivations... you're in effect attempting to >manipulate and control them. People tend to react rather negatively when >they feel manipulated. Which is why pushing people in any direction tends >to decrease their intrinsic motivation. "Parenting and mentoring are hard." That's a drastic understatement! >It sounded like Doug's kid might be interested in: Wow, you've provided a lot of information! Thanks! :) -dougl ____________________________________________________________ Doug Ledbetter -- Hagen Software, Inc. dougl@dougledbetter.org My PGP Public Key: http://dougledbetter.org/public_key.html From garrett at scriptpro.com Thu Aug 12 17:19:06 2004 From: garrett at scriptpro.com (Garrett Goebel) Date: Thu Aug 12 17:21:52 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) Message-ID: <71BEC0D4E1DED3118F7A009027B1202809EF845E@EXCH_MISSION> Doug Ledbetter wrote: > Garrett Goebel wrote: > > > > Parenting and mentoring are hard > > "Parenting and mentoring are hard." That's a drastic > understatement! I meant "hard" in the same way that Donald Knuth does when he describes a particular math problem as hard. I.e, nigh to impossible ;-) -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20040812/f0057fe8/attachment.htm From GOTTERSON at CERNER.COM Fri Aug 13 09:26:06 2004 From: GOTTERSON at CERNER.COM (Otterson,Gary) Date: Fri Aug 13 09:26:23 2004 Subject: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) Message-ID: What ever you do don't become discourage. When my kids were in junior high and early high school I tried every thing I could think of to get them interested in doing some kind of programming. In the summer months they would be complaining of the boredom, I tried to get them interested but nothing I did worked. A few years later when my oldest was in her Schema class (a dialect of LISP) at MIT she was very upset with me that I did not push her harder to learn to code. Dad was right. Not much satisfaction when I had to write the check so she could take the course over the next semester. It all worked out both kids graduated from college and are in IT and doing well. Don't give up! One thing I did observe was a lot of the kids at MIT that did come prepared having a strong programming or electronics background had started young. Their parents had got the interest started way before girl friends or boy friends, hanging out at the mall, or even sports. Not sure if this was good for them in the long run or not. Several of them that I talked to had received there first Radio Shack nerd kit when they were 10 or 11. I feel if I had put a nerd kit under the Christmas tree it would have gone strait to a dark corner of a closet and stayed there. The interest in science did not come until late in high school. Gary ________________________________ From: kc-bounces@mail.pm.org [mailto:kc-bounces@mail.pm.org] On Behalf Of Garrett Goebel Sent: Thursday, August 12, 2004 5:19 PM To: Doug Ledbetter; kc@mail.pm.org Subject: RE: [Kc] FW: Perl Quiz-of-the-Week #17 (hangman) Doug Ledbetter wrote: > Garrett Goebel wrote: > > > > Parenting and mentoring are hard > > "Parenting and mentoring are hard." That's a drastic > understatement! I meant "hard" in the same way that Donald Knuth does when he describes a particular math problem as hard. I.e, nigh to impossible ;-) -- Garrett Goebel IS Development Specialist ScriptPro Direct: 913.403.5261 5828 Reeds Road Main: 913.384.1008 Mission, KS 66202 Fax: 913.384.2180 www.scriptpro.com garrett@scriptpro.com CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ---------------------------------------- -- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20040813/44b10c84/attachment-0001.htm From davidnicol at pay2send.com Wed Aug 18 20:15:37 2004 From: davidnicol at pay2send.com (david nicol) Date: Wed Aug 18 20:15:45 2004 Subject: [Kc] [Fwd: [wordup] Great Hackers] (transcript of Paul Graham at Oscon) Message-ID: <1092878137.1614.12.camel@plaza.davidnicol.com> Enjoy -- david nicol this message was sent from a filtering e-mail address. Which is currently broken. -------------- next part -------------- An embedded message was scrubbed... From: Adam Shand Subject: [wordup] Great Hackers Date: Fri, 30 Jul 2004 17:16:45 +1200 Size: 32443 Url: http://mail.pm.org/pipermail/kc/attachments/20040818/4b248d82/attachment-0001.eml From marsee at oreilly.com Mon Aug 23 14:19:27 2004 From: marsee at oreilly.com (Marsee Henon) Date: Mon Aug 23 14:19:44 2004 Subject: [Kc] Newsletter from O'Reilly UG Program, August 23 Message-ID: ================================================================ O'Reilly UG Program News--Just for User Group Leaders August 23, 2004 ================================================================ -Free Expo Hall Passes available for PhotoShopWorld in Orlando, FL--September 2 -Put Up an O'Reilly Mac OS X Conference Banner, Get a Free Book ---------------------------------------------------------------- Book Info ---------------------------------------------------------------- ***Review books are available Copies of our books are available for your members to review-- send me an email and please include the book's ISBN number on your request. Let me know if you need your book by a certain date. Allow at least four weeks for shipping. ***Please send copies of your book reviews Email me a copy of your newsletters or book reviews. For tips and suggestions on writing book reviews, go to: http://ug.oreilly.com/bookreviews.html ***Discount information Don't forget to remind your members about our 20% discount on O'Reilly, No Starch, Paraglyph, Pragmatic Bookshelf, and Syngress books and O'Reilly conferences. Just use code DSUG. ***Group purchases with better discounts are available Please let me know if you are interested and I can put you in touch with our sales department. ---------------------------------------------------------------- General News ---------------------------------------------------------------- ***Free Expo Hall Passes available for PhotoShopWorld in Orlando, FL--September 2 Let me know how many you need and I can send some. ***Put Up an O'Reilly Mac OS X Conference Banner, Get a Free Book We are looking for user groups to display our conference banner on their web sites. If you send me the link to your user group site with our O'Reilly Mac OS X Conference banner, I will send you the O'Reilly book of your choice. O'Reilly Mac OS X Conference Banners: http://ug.oreilly.com/banners/macosx2004/ ================================================================ O'Reilly News for User Group Members August 23, 2004 ================================================================ ---------------------------------------------------------------- Book News ---------------------------------------------------------------- -Understanding Open Source and Free Software Licensing -PDF Hacks -iMovie 4 & iDVD: The Missing Manual, 4th Edition -The Linux Cookbook, 2nd Edition -CSS Cookbook -The Official Blender 2.3 Guide -Mono: A Developer's Notebook -SpamAssassin -Managing Security with Snort & IDS Tools ---------------------------------------------------------------- Upcoming Events ---------------------------------------------------------------- -Peter Morville ("Information Architecture for the World Wide Web"), Information Architecture & Findability, Boston, MA--September 17 -O'Reilly at the Macintosh Computer Expo, Santa Rosa, CA--September 18 -David Pogue (Missing Manual series), Digital Lifestyle Expo, New York, NY--September 25-26 ---------------------------------------------------------------- Conference News ---------------------------------------------------------------- -Registration Is Open for O'Reilly's Mac OS X Conference, Santa Clara, CA--October 25-28, 2004 ---------------------------------------------------------------- News ---------------------------------------------------------------- -Securing Key Chain Flash Drives -Technology and Tools of Change -Syngress Authors Scheduled to Appear on "60 Minutes" in September -Oracle Magazine's Editors' Choice Awards -Alleviate RSI the Hacker Way -A Day in the Life of #Apache -PHP Debugging Basics -What's on Your Macdar? -The Inside Scoop on the O'Reilly Mac OS X Conference -Further Your CS Development with Mac OS X -Performing Web Queries in Excel 2003 -Personalization in ASP.NET -Windows Server Hacks: Using Preconfigured User Profiles -Develop Your Own Plugins for Eclipse, Part 1 -An Introduction to IKVM ================================================ 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, 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 ---------------------------------------------------------------- ***Understanding Open Source and Free Software Licensing Publisher: O'Reilly ISBN: 0596005814 Licensing is a major part of what open source and free software are all about, and it's one of the most complicated areas of law. This concise guide focuses on annotated licenses, offering an in-depth explanation of your licensing options, how they compare and interoperate, and how license choices affect project possibilities. If you're an open source/free software developer, this book is an absolute necessity, bridging the gap between the open source vision and the practical implications of its legal underpinnings. http://www.oreilly.com/catalog/osfreesoft/ Chapter 2, "The MIT, BSD, Apache, and Academic Free Licenses," is available online: http://www.oreilly.com/catalog/osfreesoft/chapter/index.html ***PDF Hacks IISBN: 0596006551 "PDF Hacks" is ideal for anyone who works with PDF on a regular basis. The hacks presented here cover the full range of PDF functionality, from generating and manipulating to annotating and consuming PDF information. Far more than another guide to Adobe Acrobat, the book covers a variety of readily available tools for generating, deploying, and editing PDF. You'll be creating documents that are far more powerful than simple representations of paper pages. http://www.oreilly.com/catalog/pdfhks/ Ten sample hacks are available online: http://www.oreilly.com/catalog/pdfhks/chapter/index.html ***iMovie 4 & iDVD: The Missing Manual, 4th Edition Publisher: O'Reilly ISBN: 0596006934 Many annoyances have been eliminated and polished touches added to the new incarnations of iMovie and iDVD. This witty and entertaining guide from celebrated author David Pogue has been updated to reflect all of the changes, in detail and with scrupulous objectivity. The book covers every step of iMovie video production, from choosing and using a digital camcorder to burning the finished work onto DVDs. The book also provides a firm grounding in basic film technique. Make your movies look like Hollywood hits with "iMovie 4 & iDVD: The Missing Manual, 4th Edition." http://www.oreilly.com/catalog/imoviemm4/ ***The Linux Cookbook, 2nd Edition Publisher: No Starch Press ISBN: 1593270313 "The Linux Cookbook, 2nd Edition" is your guide to getting the most out of Linux. Organized by general task (such as working with text, managing files, and manipulating graphics), each section contains a series of step-by-step recipes that help you get your work done quickly and efficiently, most often from the command line. Perfect as an introduction to Linux and the command line, or as a desktop reference for the seasoned user. Covers the major Linux distributions. http://www.oreilly.com/catalog/1593270313/ ***CSS Cookbook Publisher: O'Reilly ISBN: 0596005768 "CSS Cookbook" offers hundreds of examples and CSS code recipes you can use immediately to format your web pages. An explanation accompanies each recipe, enabling you to customize the formatting for your specific purposes, and showing why the solution works so the techniques can be adapted to other situations. Reflecting CSS2 and including topics that range from basic web typography and page layout to techniques for formatting lists, forms, and tables, "CSS Cookbook" is a must-have resource for any web author considering CSS. http://www.oreilly.com/catalog/cssckbk/ Chapter 2, "Page Elements," is available online: http://www.oreilly.com/catalog/cssckbk/chapter/index.html ***The Official Blender 2.3 Guide Publisher: No Starch Press ISBN: 1593270410 Blender is a powerful, open source, cross-platform, free 3D graphics creation suite. Written by the developers who created and currently maintain Blender, "The Official Blender 2.3 Guide" covers methods of designing models, defining materials, and simulating light; rendering 3D scenes; creating 3D animations; as well as advanced topics such as using Blender as a video editor. Includes a 4-color insert and CD-ROM. http://www.oreilly.com/catalog/1593270410/index.html ***Mono: A Developer's Notebook Publisher: O'Reilly ISBN: 0596007922 This no-fluff, lab-style guide jumps right into Mono 1.0 as you work through nearly 50 mini-projects that introduce you to the most important and compelling aspects of the 1.0 release. You'll learn how to acquire, install, and run Mono on Linux, Windows, or Mac OS X. You'll work with the various Mono components: Gtk#; the CLR; the class libraries (.NET and Mono); and much more. This book lets you roll up your sleeves and see what Mono can do. http://www.oreilly.com/catalog/monoadn/ Chapter 3, "Core .NET," is available online: http://www.oreilly.com/catalog/monoadn/chapter/index.html ***SpamAssassin Publisher: O'Reilly ISBN: 0596007078 SpamAssassin is the leading open source spam-fighting tool. The drawback? Until now, it was SpamAssassin's lack of published documentation. This clear, concise new guide shows system administrators how to integrate this tool effectively into their networks. The book clarifies installation, configuration, and use of SpamAssassin versions 2.63 and 3.0 for Unix sysadmins using Postfix, sendmail, Exim, or qmail mail servers. SpamAssassin, together with this essential book, provides the tools you need to take back your organization's inboxes. http://www.oreilly.com/catalog/spamassassin/ Chapter 2, "SpamAssassin Basics," is available free online: http://www.oreilly.com/catalog/spamassassin/chapter/index.html ***Managing Security with Snort & IDS Tools Publisher: O'Reilly ISBN: 0596006616 This practical guide to managing network security covers reliable methods for detecting network intruders, from using simple packet sniffers to more sophisticated IDS (Intrusion Detection Systems) applications and the GUI interfaces for managing them. The book provides step-by-step instructions on getting up and running with Snort 2.1, and it covers how to shut down and secure workstations, servers, firewalls, routers, sensors, and other network devices. This is your comprehensive resource for monitoring illegal entry attempts. http://www.oreilly.com/catalog/snortids/ Chapter 6, "Deploying Snort," is available free online: http://www.oreilly.com/catalog/snortids/chapter/index.html ================================================ Upcoming Events ================================================ ***For more events, please see: http://events.oreilly.com/ ***Peter Morville ("Information Architecture for the World Wide Web"), Information Architecture & Findability, Boston, MA--September 17 Peter leads a new full-day seminar on information architecture from top to bottom, explaining how search and navigation systems can be designed to support and shape user behavior. http://semanticstudios.com/presentations/iaf/ ***Come Join O'Reilly at the Macintosh Computer Expo, Santa Rosa, CA--September 18 MCE is the North Coast Mac Users Group annual fundraising event. Speakers include O'Reilly authors Tom Negrino and Dori Smith ("Mac OS X Unwired"), Jason Snell (Macworld Magazine), Mike Descher (Adobe), author Jim Heid (Peachpit Press and Avondale Media), and Ronnie Roche (Apple Certified Help Desk Specialist). O'Reilly will be selling books onsite as one of the vendors. http://www.ncmug.org/mce.html MCE Flier: http://www.ncmug.org/mce/MCE_ad.pdf MCE Poster: http://www.ncmug.org/mce/MCE_poster.pdf Mac Computer Expo Saturday, September 18 9:30am to 3:30pm Student Lounge/Cafeteria Santa Rosa Junior College 1501 Mendocino Ave Santa Rosa, CA 95401 Admission is free to event, but parking fee is $3.00. ***David Pogue (Missing Manual series), Digital Lifestyle Expo, New York, NY--September 25-26 Author and Mac guru David Pogue is a keynote speaker at this event at the Marriott Marquis Hotel, New York, NY. http://www.dlexpo.com/ ================================================ Conference News ================================================ ***Registration Is Open for O'Reilly's Mac OS X Conference Join us for the third annual Mac OS X Conference, October 25-28, 2004, in Santa Clara, California. You'll hear from Stewart Copeland, the former drummer for The Police who now creates award-winning film and television scores using Mac OS X technology; "New York Times" columnist David Pogue; Andy Ihnatko of the "Chicago Sun-Times"; Karelia Sofware's Dan Wood; Brent Simmons of Ranchero Software; Michael Bartosh of 4AM Media; Mac authors Dori Smith, Gordon Meyer, and Ted Landau; and many more. User Group members who register before September 10, 2004 get a double discount. Use code DSUG when you register, and receive 20% off the "Early Bird" price. To register, go to: http://conferences.oreillynet.com/cs/macosx2004/create/ord_mac04 O'Reilly Mac OS X Conference October 25-28, 2004 Westin Santa Clara, Santa Clara, CA http://conferences.oreilly.com/macosxcon/ ================================================ News From O'Reilly & Beyond ================================================ --------------------- General News --------------------- ***Securing Key Chain Flash Drives The current crop of key chain Flash drives have incredible storage capacity. They are perfect for keeping personal data with you at all times. But what if you lose your keys? Here are a couple of easy ways to protect yourself, and your data. http://www.macdevcenter.com/pub/a/mac/2004/08/20/secure_flash.html ***Technology and Tools of Change Building the next generation of technology won't be easy, and will require developers, entrepreneurs, and the customers they serve to learn new skills. O'Reilly has a collection of tools for building the future, including a new book series, a new conference, and a new print-on-demand, custom books service. http://www.oreillynet.com/pub/a/oreilly/tim/opensource/toolsofchange_0804.html ***Syngress Authors Scheduled to Appear on "60 Minutes" in September Dr. Herbert Thompson and Spyros Nomikos, authors of "The Mezonic Agenda: Hacking the Presidency" (due out in October), will appear on the show on either September 22 or September 26. Make sure you tune in. For more information on this upcoming book go to: http://www.oreilly.com/catalog/1931836833/ ***Oracle Magazine's Editors' Choice Awards O'Reilly authors Cary Millsap and Jeff Holt have been named by Oracle Magazine's editors as Authors of the Year in recognition of their work on the "definitive tuning text," Optimizing Oracle Performance. http://www.hotsos.com/e-library/oop.html --------------------- Open Source --------------------- ***Alleviate RSI the Hacker Way Chances are, if you use a keyboard for several hours a day you'll eventually experience repetitive strain injury. Thankfully, it's possible to avoid or alleviate the symptoms with exercises, breaks, posture, and software. Software? Jono Bacon explores free software to help save your tender wrists. http://www.onlamp.com/pub/a/onlamp/2004/08/19/rsi_prevention.html ***A Day in the Life of #Apache Rich Bowen is back this month after a brief summer hiatus with his latest column based on his conversations on the IRC channel #apache. Want to know how to make your web site faster? Rich has some tips to enhance your server's performance. Rich is a coauthor of O'Reilly's "Apache Cookbook." http://www.onlamp.com/pub/a/apache/2004/08/19/apacheckbk.html ***PHP Debugging Basics Whether you're a PHP newbie or a wizard, your programs are going to have bugs in them. Nobody's perfect. David Sklar, author of "Learning PHP 5," provides some basic techniques for finding and fixing the problems in your programs. In particular, he covers how to set up error reporting as you like it, how to find parse errors, and how to inspect program data. http://www.onlamp.com/pub/a/php/2004/08/12/DebuggingPHP.html --------------------- Mac --------------------- ***What's on Your Macdar? O'Reilly Editor Chuck Toporek asks in his latest weblog "What would you like to see us publish a book on? Is there something we might have missed in one of the Panther editions that you'd like to see us work into an update?" http://www.oreillynet.com/pub/wlg/5453 ***The Inside Scoop on the O'Reilly Mac OS X Conference Sometimes, looking at a conference program grid is like looking at Edinburgh Castle. It's impressive, but you really don't know where all the bodies are buried unless you have a tour guide. http://www.macdevcenter.com/pub/a/mac/2004/08/12/osxcon.html ***Further Your CS Development with Mac OS X As the new school year approaches, Julie Starr has some ideas about what type of computer CS students should be considering. We'll give you a hint: It isn't a Windows box. http://www.macdevcenter.com/pub/a/mac/2004/08/13/dev_osx.html --------------------- Windows --------------------- ***Performing Web Queries in Excel 2003 "Excel 2003 Programming: A Developer's Notebook" shows programmers how to best use Excel 2003's new features, through a series of hands-on projects. In this sample lab from the book, learn how to perform a web query to import data from a web page into a worksheet using Excel's QueryTable object. http://www.windowsdevcenter.com/pub/a/windows/excerpt/excel2003prog_chap1/index.html ***Personalization in ASP.NET Personalizing your web site can enhance the experiences of users visiting your site. Personalization allows information about visitors to be persisted so that the information can be useful to the visitor when he visits your site again. Wei-Meng Lee shows you how it all works in ASP.NET 2.0. http://www.ondotnet.com/pub/a/dotnet/2004/08/16/whidbey_personalization.html ***Windows Server Hacks: Using Preconfigured User Profiles Roaming profiles make life easier for both users and system administrators. Mitch Tulloch, author of "Windows Server Hacks," shows you how to preconfigure roaming profiles to make them even more effective. http://www.windowsdevcenter.com/pub/a/windows/2004/08/17/roaming_profiles.html --------------------- Java --------------------- **Develop Your Own Plugins for Eclipse, Part 1 Part of the appeal of the Eclipse platform is its extensibility--in Eclipse, almost everything is a plugin, and it's easy to get plugins from third parties or write your own. Jerome Moliere shows how to get started with deploying Eclipse plugins. http://www.onjava.com/pub/a/onjava/2004/08/18/eclipseplugins.html ***An Introduction to IKVM Java and .NET are two different worlds, but they can live within one process with IKVM. This "JVM for .NET" allows .NET (or Mono) to leverage Java code, and vice versa. Avik Sengupta provides an introduction to this important new environment. http://www.onjava.com/pub/a/onjava/2004/08/18/ikvm.html 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/lpt?HomePage Until next time-- Marsee From whatever at davidnicol.com Thu Aug 26 01:36:40 2004 From: whatever at davidnicol.com (david nicol) Date: Thu Aug 26 01:36:48 2004 Subject: [Kc] Singlethreaded http server Message-ID: <1093502199.1018.59.camel@plaza.davidnicol.com> HTTP::Server::Singlethreaded 0.4 is on CPAN. Wheee. -- david nicol "Someday, everything's going to be different when I paint my masterpiece." From garrett at scriptpro.com Thu Aug 26 07:41:40 2004 From: garrett at scriptpro.com (Garrett Goebel) Date: Thu Aug 26 07:41:44 2004 Subject: [Kc] Perl Quiz-of-the-Week #22 Message-ID: <71BEC0D4E1DED3118F7A009027B120280A091E46@EXCH_MISSION> IMPORTANT: Please do not post solutions, hints, or other spoilers until at least 60 hours after the date of this message. Thanks. Qing3 Zhu4Yi4: Qing3 Ning2 Deng3Dao4 Jie1Dao4 Ben3 Xin4Xi2 Zhi1Hou4 60 Xiao3Shi2, Zai4 Fa1Biao3 Jie3Da2, Ti2Shi4, Huo4 Qi2Ta1 Hui4 Xie4Lou4 Da2An4 De5 Jian4Yi4. Xie4Xie4. ---------------------------------------------------------------- The purpose of this problem is very simple (and hopefully something many of us will be able to use). Inside a directory (say $ENV{HOME}/.upcoming) we have several files. Here's part of one: 02/26 lon brocard 03/06 michelangelo 05/29 simon cozens 12/28 randal schwartz 02/27 eduardo nuno 03/05 crapulenza tetrazzini 03/16 richard m. stallman This particular file is appropriately named 'birthdays'. You can have as many different files as you wish in that directory. Here's part of another file, 'events': 01 payday 15 payday 08/13/2004 slides for YAPC::EU::2004 03/01 feast of st. david 03/01/1565 Rio de Janeiro founded 03/09/2004 dentist appointment 10:00 As you can see, both the month and the year are optional. When not given a month, we'll have three spaces; by the end of the date we may have as many spaces and/or tabs up to the description. The 'events' file says that payday occurs on the 1st and 15th of every month, and that the Feast of St. David occurs each year on the first day of March. This week's problem consists of writing the script 'upcoming', which tells us about our upcoming events. Suppose today is 26 February. Then the output will contain: birthdays ===> 02/26 lon brocard --> 02/27 eduardo nuno events --> 03/01 payday --> 03/01 Feast of St. David Explanation: * For each file, you get a paragraph, if there are upcoming events mentioned in that file. * The program will print all the events that will occur in the next 'n' days, where 'n' is specified with a '-n' command-line flag. If '-n' is omitted, 'n' will default to 7 days. * For each event, you get a string that tells you about the event's proximity: 0 => ' ===>', 1 => ' -->', 2 => ' -->', 3 => ' -->', 4 => '-->', 5 => '->', 6 => '>', 7 => ' ', If the '-n' switch is given, and the event is in the specified range, but more then 7 days ahead, then the proximity string is something like (8) or (13) depending on how many days ahead the event is. Here we're running the program on 26 February, as before, but with the option '-n 12': birthdays ===> 02/26 lon brocard --> 02/27 eduardo nuno (8) 03/05 crapulenza tetrazzini (9) 03/06 Michelangelo events --> 03/01 Feast of St. David --> 03/01 payday (12) 03/09 dentist appointment 10:00 Note that the founding of Rio de Janeiro did not occur in either output, since it has already passed. As you'll notice, it's a little hard to schedule things such as the fourth Thursday of each month, or dates like Mother's Day (I don't know about the rest of the world, but that changes, here in Portugal). It might be a good idea to find a reasonable way to solve this. Happy hacking :-) -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20040826/9d8ba5bb/attachment.htm From garrett at scriptpro.com Thu Aug 26 07:41:58 2004 From: garrett at scriptpro.com (Garrett Goebel) Date: Thu Aug 26 07:42:02 2004 Subject: [Kc] Perl 'Expert' Quiz-of-the-Week #22 Message-ID: <71BEC0D4E1DED3118F7A009027B120280A091E47@EXCH_MISSION> IMPORTANT: Please do not post solutions, hints, or other spoilers until at least 60 hours after the date of this message. Thanks. IMPORTANT: S'il vous plat, attendez au minimum 60 heures aprs la date de ce message avant de poster solutions, indices ou autres rvlations. Merci. BELANGRIJK: Stuur aub geen oplossingen, hints of andere tips in de eerste 60 uur na het verzendingstijdstip van dit bericht. Waarvoor dank. Qing3 Zhu4Yi4: Qing3 Ning2 Deng3Dao4 Jie1Dao4 Ben3 Xin4Xi2 Zhi1Hou4 60 Xiao3Shi2, Zai4 Fa1Biao3 Jie3Da2, Ti2Shi4, Huo4 Qi2Ta1 Hui4 Xie4Lou4 Da2An4 De5 Jian4Yi4. Xie4Xie4. ---------------------------------------------------------------- Write a program, 'wordladder', which gets two arguments, which are words of the same length, and which constructs and prints a "word ladder" from the first word to the second word. A word ladder from word AAA to word BBB is a sequence of dictionary words such that: 1. the first word in the sequence is word AAA 2. each word in the sequence after the first differs from the previous word in exactly one letter position 3. the last word in the sequence is word BBB For example, given the two words "love" and "hate", the program might print the word ladder: love hove have hate Or it might print: love lave have hate It might also print a longer word ladder, such as love lore lobe robe role rose lose lost most mosh moth math hath hate If the program is unable to find a word ladder, it should print an appropriate error message to the standard error, and exit with a failure status. The program should also accept an optional third argument, which, if specified, is the name of a dictionary file which contains the permissible words. If the third argument is omitted, the program should use a default dictionary. Sample word lists are available from http://perl.plover.com/qotw/words/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/pipermail/kc/attachments/20040826/5c2ad541/attachment.htm