From djgoku at gmail.com Mon Dec 4 20:49:15 2006 From: djgoku at gmail.com (djgoku) Date: Mon, 4 Dec 2006 22:49:15 -0600 Subject: [Kc] iCal File for KCPM Meetings Message-ID: <99dd19c90612042049i5beb00e1oe9034e7655028824@mail.gmail.com> iCal file for all the meetings. jonathan -------------- next part -------------- A non-text attachment was scrubbed... Name: KCPM.ics Type: text/calendar Size: 1117 bytes Desc: not available Url : http://mail.pm.org/pipermail/kc/attachments/20061204/ee47e316/attachment.bin From djgoku at gmail.com Mon Dec 4 20:55:56 2006 From: djgoku at gmail.com (djgoku) Date: Mon, 4 Dec 2006 22:55:56 -0600 Subject: [Kc] iCal File for KCPM Meetings In-Reply-To: <99dd19c90612042049i5beb00e1oe9034e7655028824@mail.gmail.com> References: <99dd19c90612042049i5beb00e1oe9034e7655028824@mail.gmail.com> Message-ID: <99dd19c90612042055o476a5f53id0db36b6265f7705@mail.gmail.com> On 12/4/06, djgoku wrote: > iCal file for all the meetings. I forgot when Planet Sub closed so I put 7PM-9PM or is the meeting 7PM-10PM? I didn't find much while searching google on the hours. From djgoku at gmail.com Tue Dec 5 05:12:09 2006 From: djgoku at gmail.com (djgoku) Date: Tue, 5 Dec 2006 07:12:09 -0600 Subject: [Kc] iCal File for KCPM Meetings In-Reply-To: <934f64a20612042224o486e8fectfc60af27a395dbaf@mail.gmail.com> References: <99dd19c90612042049i5beb00e1oe9034e7655028824@mail.gmail.com> <99dd19c90612042055o476a5f53id0db36b6265f7705@mail.gmail.com> <934f64a20612042224o486e8fectfc60af27a395dbaf@mail.gmail.com> Message-ID: <99dd19c90612050512r126d8f0bg6da7cb744198867e@mail.gmail.com> On 12/5/06, David Nicol wrote: > is that a valid file? google calendar treated the ending date as the > end of the meeting.. I tried it on both iCal and Sunbird and worked accordingly. From djgoku at gmail.com Wed Dec 6 07:03:12 2006 From: djgoku at gmail.com (djgoku) Date: Wed, 6 Dec 2006 09:03:12 -0600 Subject: [Kc] iCal File for KCPM Meetings In-Reply-To: <934f64a20612051009v32337f3ekf7a8b405f3b2b6ee@mail.gmail.com> References: <99dd19c90612042049i5beb00e1oe9034e7655028824@mail.gmail.com> <99dd19c90612042055o476a5f53id0db36b6265f7705@mail.gmail.com> <934f64a20612042224o486e8fectfc60af27a395dbaf@mail.gmail.com> <99dd19c90612050512r126d8f0bg6da7cb744198867e@mail.gmail.com> <934f64a20612051009v32337f3ekf7a8b405f3b2b6ee@mail.gmail.com> Message-ID: <99dd19c90612060703t5ff64a1awbeda127cfff1d4a@mail.gmail.com> So I messed up if you notice on the 12/12/06 meeting it doesn't have the Location/URL nor end set to Never. That is the reason for google not liking this file. Here is an updated with all the corrections. -------------- next part -------------- A non-text attachment was scrubbed... Name: KCPM.ics Type: text/calendar Size: 843 bytes Desc: not available Url : http://mail.pm.org/pipermail/kc/attachments/20061206/055a5a09/attachment.bin From djgoku at gmail.com Wed Dec 6 07:24:36 2006 From: djgoku at gmail.com (djgoku) Date: Wed, 6 Dec 2006 09:24:36 -0600 Subject: [Kc] iCal File for KCPM Meetings In-Reply-To: <99dd19c90612060703t5ff64a1awbeda127cfff1d4a@mail.gmail.com> References: <99dd19c90612042049i5beb00e1oe9034e7655028824@mail.gmail.com> <99dd19c90612042055o476a5f53id0db36b6265f7705@mail.gmail.com> <934f64a20612042224o486e8fectfc60af27a395dbaf@mail.gmail.com> <99dd19c90612050512r126d8f0bg6da7cb744198867e@mail.gmail.com> <934f64a20612051009v32337f3ekf7a8b405f3b2b6ee@mail.gmail.com> <99dd19c90612060703t5ff64a1awbeda127cfff1d4a@mail.gmail.com> Message-ID: <99dd19c90612060724i2de5b319n5b16b020636458bb@mail.gmail.com> On 12/6/06, djgoku wrote: > So I messed up if you notice on the 12/12/06 meeting it doesn't have > the Location/URL nor end set to Never. That is the reason for google > not liking this file. Here is an updated with all the corrections. I tried adding this to Google Calender and it seems to make a long event from 12/12/06 @ 7PM to 1/11/08 @ 7PM? It opens correctly in both iCal and Sunbird, so I am not sure how many people use Google Calender so I won't worry about this. From djgoku at gmail.com Wed Dec 6 07:37:50 2006 From: djgoku at gmail.com (djgoku) Date: Wed, 6 Dec 2006 09:37:50 -0600 Subject: [Kc] iCal File for KCPM Meetings In-Reply-To: <99dd19c90612060724i2de5b319n5b16b020636458bb@mail.gmail.com> References: <99dd19c90612042049i5beb00e1oe9034e7655028824@mail.gmail.com> <99dd19c90612042055o476a5f53id0db36b6265f7705@mail.gmail.com> <934f64a20612042224o486e8fectfc60af27a395dbaf@mail.gmail.com> <99dd19c90612050512r126d8f0bg6da7cb744198867e@mail.gmail.com> <934f64a20612051009v32337f3ekf7a8b405f3b2b6ee@mail.gmail.com> <99dd19c90612060703t5ff64a1awbeda127cfff1d4a@mail.gmail.com> <99dd19c90612060724i2de5b319n5b16b020636458bb@mail.gmail.com> Message-ID: <99dd19c90612060737r5ec80397ta57387aa3a557193@mail.gmail.com> On 12/6/06, djgoku wrote: > I tried adding this to Google Calender and it seems to make a long > event from 12/12/06 @ 7PM to 1/11/08 @ 7PM? It opens correctly in both > iCal and Sunbird, so I am not sure how many people use Google Calender > so I won't worry about this. Alternate download if attachment doesn't work: http://tektronic.org/downloads/KCPM.ics From JYOUNG79 at kc.rr.com Thu Dec 7 08:40:20 2006 From: JYOUNG79 at kc.rr.com (JYOUNG79 at kc.rr.com) Date: Thu, 07 Dec 2006 10:40:20 -0600 Subject: [Kc] return vs newline Message-ID: Hi, I'm trying to loop thru paragraphs in a file but evidently the file has carriage returns instead of newlines so when perl reads it in, it reads it in as one big line instead of separate paragraphs. Does anyone know if there's a way to have perl use carriage returns instead so I can loop thru each paragraph one at a time? In the past I've used the code below in the shell to change all the returns in the file itself but I'd like to leave the file the way it is if possible: perl -pi -e 's/\r/\n/g' Thanks for your help. I'm running this on Mac OS 10.3 Jay From amoore at mooresystems.com Thu Dec 7 09:13:45 2006 From: amoore at mooresystems.com (Andrew Moore) Date: Thu, 7 Dec 2006 11:13:45 -0600 Subject: [Kc] return vs newline In-Reply-To: References: Message-ID: <20061207171345.GA25696@mooresystems.com> On Thu, Dec 07, 2006 at 10:40:20AM -0600, JYOUNG79 at kc.rr.com wrote: > Hi, > > I'm trying to loop thru paragraphs in a file but evidently the file has > carriage returns instead of newlines so when perl reads it in, it reads > it in as one big line instead of separate paragraphs. Does anyone know > if there's a way to have perl use carriage returns instead so I can > loop thru each paragraph one at a time? Hi Jay - I'm not sure I actually caught the difference between what you're considering "lines" versus "paragraphs", but here's my best shot: You can read about what affects this behavior under the "$INPUT_RECORD_SEPARATOR" heading in the perlvar perldoc. Also, check out the "Newlines" bit in perlport. But, I'm guessing that there's something else more simple going on here. Could you post a small sample of your code that fails to do what you expect, please? -Andy From JYOUNG79 at kc.rr.com Thu Dec 7 09:31:41 2006 From: JYOUNG79 at kc.rr.com (JYOUNG79 at kc.rr.com) Date: Thu, 07 Dec 2006 11:31:41 -0600 Subject: [Kc] return vs newline Message-ID: Hi Andy, Thanks for your reply. The code is simply looking through a text file for whatever the user wants to search for and then it counts how many time it appears in the file. I've commented out some lines below so I could test and see what was happening. ---------------------------- #!/usr/bin/perl -w print "Please enter text to search for: "; chomp($in = ); $n = 0; while (<>) { chomp; #if ($_ =~ /$in/i) { $n++ } print "$in = $_\n"; } #print "\nTotal count for $in: $n\n"; ---------------------------- Now that I'm looking at the results closer I'm not sure what's going on. Originally I thought the file might have carriage returns in it instead of newlines which would make perl read the whole thing in a while loop instead of separating out each paragraph. Anyway if I run the above code through the shell with a text file that just contains: =============================================== Wednesday, December 6, 2006 4:58:05 AM ========================= ====================== Job File: 12-06_05;57;45 AM_test.txt -- Name: Jay Young Dept: PSD then I get this in my shell window (which is totally wrong): Please enter month and day to search: hi Dept: PSD Young_05;57;45 AM_test.txt================ I'll mess around somemore with the code when I return from lunch. I'm still curious though, it's my understanding that when using a while loop to loop thru each paragraph from a file with Perl that you must have the 'newline' character in the file otherwise it won't work. Is there a way to get around this? I'll also look at the perldoc info you gave me. Thanks for your help. I really appreciate it. Jay On Thu, Dec 07, 2006 at 10:40:20AM -0600, JYOUNG79 at kc.rr.com wrote: >> Hi, >> >> I'm trying to loop thru paragraphs in a file but evidently the file has >> carriage returns instead of newlines so when perl reads it in, it reads >> it in as one big line instead of separate paragraphs. Does anyone know >> if there's a way to have perl use carriage returns instead so I can >> loop thru each paragraph one at a time? >Hi Jay - > >I'm not sure I actually caught the difference between what you're >considering "lines" versus "paragraphs", but here's my best shot: > >You can read about what affects this behavior under the >"$INPUT_RECORD_SEPARATOR" heading in the perlvar perldoc. Also, check >out the "Newlines" bit in perlport. > >But, I'm guessing that there's something else more simple going on >here. Could you post a small sample of your code that fails to do what >you expect, please? > >-Andy From djgoku at gmail.com Thu Dec 7 10:00:58 2006 From: djgoku at gmail.com (djgoku) Date: Thu, 7 Dec 2006 12:00:58 -0600 Subject: [Kc] return vs newline In-Reply-To: References: Message-ID: <99dd19c90612071000w34a3de32u24fe80c4a07f0e78@mail.gmail.com> On 12/7/06, JYOUNG79 at kc.rr.com wrote: > Hi Andy, > > Thanks for your reply. The code is simply looking through a text file > for whatever the user wants to search for and then it counts how many > time it appears in the file. I've commented out some lines below so I > could test and see what was happening. > > ---------------------------- > #!/usr/bin/perl -w > > print "Please enter text to search for: "; > > chomp($in = ); > > $n = 0; > > while (<>) { > chomp; > > #if ($_ =~ /$in/i) { $n++ } > print "$in = $_\n"; > } > > #print "\nTotal count for $in: $n\n"; > ---------------------------- > > Now that I'm looking at the results closer I'm not sure what's going > on. Originally I thought the file might have carriage returns in it > instead of newlines which would make perl read the whole thing in a > while loop instead of separating out each paragraph. Anyway if I run > the above code through the shell with a text file that just contains: > > =============================================== > Wednesday, December 6, 2006 4:58:05 AM > ========================= > ====================== > Job File: 12-06_05;57;45 AM_test.txt > -- > Name: Jay Young > Dept: PSD > > > then I get this in my shell window (which is totally wrong): > > Please enter month and day to search: hi > Dept: PSD Young_05;57;45 AM_test.txt================ > I'll mess around somemore with the code when I return from lunch. I'm > still curious though, it's my understanding that when using a while > loop to loop thru each paragraph from a file with Perl that you must > have the 'newline' character in the file otherwise it won't work. Is > there a way to get around this? I'll also look at the perldoc info you > gave me. I think you need to add some code for substr combination with index to search for multiple copies of $in per line. http://perldoc.perl.org/search.html?q=substring From djgoku at gmail.com Thu Dec 7 10:24:56 2006 From: djgoku at gmail.com (djgoku) Date: Thu, 7 Dec 2006 12:24:56 -0600 Subject: [Kc] return vs newline In-Reply-To: References: Message-ID: <99dd19c90612071024v3cfeee4ao4226a42b133b1f00@mail.gmail.com> On 12/7/06, JYOUNG79 at kc.rr.com wrote: > Hi Andy, > > Thanks for your reply. The code is simply looking through a text file > for whatever the user wants to search for and then it counts how many > time it appears in the file. I've commented out some lines below so I > could test and see what was happening. > > ---------------------------- > #!/usr/bin/perl -w > > print "Please enter text to search for: "; > > chomp($in = ); > > $n = 0; > > while (<>) { > chomp; > > #if ($_ =~ /$in/i) { $n++ } > print "$in = $_\n"; > } > > #print "\nTotal count for $in: $n\n"; > ---------------------------- > > Now that I'm looking at the results closer I'm not sure what's going > on. Originally I thought the file might have carriage returns in it > instead of newlines which would make perl read the whole thing in a > while loop instead of separating out each paragraph. Anyway if I run > the above code through the shell with a text file that just contains: > > =============================================== > Wednesday, December 6, 2006 4:58:05 AM > ========================= > ====================== > Job File: 12-06_05;57;45 AM_test.txt > -- > Name: Jay Young > Dept: PSD > > > then I get this in my shell window (which is totally wrong): > > Please enter month and day to search: hi > Dept: PSD Young_05;57;45 AM_test.txt================ > I'll mess around somemore with the code when I return from lunch. I'm > still curious though, it's my understanding that when using a while > loop to loop thru each paragraph from a file with Perl that you must > have the 'newline' character in the file otherwise it won't work. Is > there a way to get around this? I'll also look at the perldoc info you > gave me. http://perldoc.perl.org/perlfaq4.html#How-can-I-count-the-number-of-occurrences-of-a-substring-within-a-string%3f This may be of interest also. From amoore at mooresystems.com Thu Dec 7 12:30:42 2006 From: amoore at mooresystems.com (Andrew Moore) Date: Thu, 7 Dec 2006 14:30:42 -0600 Subject: [Kc] return vs newline In-Reply-To: References: Message-ID: <20061207203042.GA26861@mooresystems.com> On Thu, Dec 07, 2006 at 11:31:41AM -0600, JYOUNG79 at kc.rr.com wrote: > Hi Andy, > > Thanks for your reply. The code is simply looking through a text file > for whatever the user wants to search for and then it counts how many > time it appears in the file. I've commented out some lines below so I > could test and see what was happening. Hi Jay - I see a few problems here, and I'll point out the ones that jump to mind first. It looks like there's a problem printing out your output. I suspect that some lines are running over others, probaby because of a end-of-line problem. Perl is supposed to be smart about this and use "\n" to smartly use what's most correct for your OS type. (see perldoc perlport.) But, it may not be doing something right, and it looks like many of your lines of output are being written on top of each other. I've attached a copy of your script that I have rewritten a little bit. See if it works better for you. Some things I changed (not all of which matter) are: * use strict, this helps me catch some of my simple errors * used longer variable names. I couldn't differentiate $n and $in very well. * printed out the string I was searching for so that I could see it better * used 'warn' instead of print so that it would give me line numbers and handle my end-of-line problems better * put your file in a __DATA__ section. This actually may mask your end-of-line problem since the data is now in the script itself and considering that I wrote my copy on linux. I'm hopeful that when you expand this example to use an external file that you can handle that. Some things that could still be improved: * the /$searchfor/i regex should not be redone each time. we should make use qr() to make a stored regex that we refer to in the loop foir efficiency reasons. * we should probably untaint $searchfor * this doesn't count multiple occurrences in each line * do we really need to chomp the lines? Let me know if this helps you out or if you still have questions. -Andy -------------- next part -------------- A non-text attachment was scrubbed... Name: jay.pl Type: text/x-perl Size: 615 bytes Desc: not available Url : http://mail.pm.org/pipermail/kc/attachments/20061207/e03ebe4f/attachment.bin From JYOUNG79 at kc.rr.com Thu Dec 7 13:17:35 2006 From: JYOUNG79 at kc.rr.com (JYOUNG79 at kc.rr.com) Date: Thu, 07 Dec 2006 15:17:35 -0600 Subject: [Kc] return vs newline Message-ID: Hi Andy, Thanks so much for taking the time to help with this. Your code is working much better than mine but some strange stuff is going on with my text file: I made a new file and typed out the first chunk manually (so it would have the correct newline characters at the end of each line) and then I pasted the next 2 chunks in from my original file like so: =============================================== Wednesday, December 6, 2006 4:58:05 AM =============================================== Job File: 12-06_05;57;45 AM_test.txt -- Name: Jay Young Dept: PSD =============================================== Wednesday, December 6, 2006 4:58:05 AM =============================================== Job File: 12-06_05;57;45 AM_test.txt -- Name: Jay Young Dept: PSD =============================================== Wednesday, December 6, 2006 4:58:05 AM =============================================== Job File: 12-06_05;57;45 AM_test.txt -- Name: Jay Young Dept: PSD I then opened this new file up in pico and found this: =============================================== Wednesday, December 6, 2006 4:58:05 AM =============================================== Job File: 12-06_05;57;45 AM_test.txt -- Name: Jay Young Dept: PSD ===============================================^MWednesday, December 6, 2006 4:58:05 AM^M===============================================^MJob File: 12-06_05;57;45 AM_test.txt^M--^MName: Jay Young^MDept: PSD^M^M=== ============================================^MWednesday, December 6, 2006 4:58:05 AM^M===============================================^MJob File: 12-06_05;57;45 AM_test.txt^M--^MName: Jay Young^MDept: PSD So it looks like my file is getting messed up somewhere! This file is getting created on another mac by an Applescript using the "return" character (ASCII number 13). Seems it's messing things up for me though. Is there a way to change those ^M characters to \n and then loop thru each line? These files can get huge thou gh so I don't know of a good way about this. Thanks again Andy for your incredible help! djgoku, thanks for your replies too! They're much appreciated! Jay From JYOUNG79 at kc.rr.com Fri Dec 8 07:52:45 2006 From: JYOUNG79 at kc.rr.com (JYOUNG79 at kc.rr.com) Date: Fri, 08 Dec 2006 09:52:45 -0600 Subject: [Kc] return vs newline Message-ID: Andy, thanks for bringing up "$INPUT_RECORD_SEPARATOR". That was the answer I needed. I started looking at the perldoc info and found that if I change the newline to a carriage return like so: $/ = "\r"; right before my while loop (while (<>) {... ) then it works perfectly with my file now! I'm assuming that once the code is finished running that the input record separator switches back to it's default (\n)? Thanks again for your help on this. It's running great now! Jay From amoore at mooresystems.com Fri Dec 8 08:41:31 2006 From: amoore at mooresystems.com (Andrew Moore) Date: Fri, 8 Dec 2006 10:41:31 -0600 Subject: [Kc] return vs newline In-Reply-To: References: Message-ID: <20061208164131.GA3728@mooresystems.com> On Fri, Dec 08, 2006 at 09:52:45AM -0600, JYOUNG79 at kc.rr.com wrote: > Andy, thanks for bringing up "$INPUT_RECORD_SEPARATOR". That was the > answer I needed. Glad it helped! > I'm assuming that once the code is finished running > that the input record separator switches back to it's default (\n)? Yep, it will go back to default after your program terminates. If you need to to reset for something later in your code, you should save the original value and reset it manually. Frankly, I'm a little surprised that you have to do this. I thought perl's "\n" was smart enough to know about this as long as you stay on one single platform (even OSX). Oh well. -Andy From davidnicol at gmail.com Fri Dec 8 12:25:48 2006 From: davidnicol at gmail.com (David Nicol) Date: Fri, 8 Dec 2006 14:25:48 -0600 Subject: [Kc] return vs newline In-Reply-To: <20061208164131.GA3728@mooresystems.com> References: <20061208164131.GA3728@mooresystems.com> Message-ID: <934f64a20612081225vad7cf74t6bea812542c2ee09@mail.gmail.com> > Frankly, I'm a little surprised that you have to do this. I thought > perl's "\n" was smart enough to know about this as long as you stay on > one single platform (even OSX). Oh well. perl for OSX might need to get revised slightly to use something like qr/\015|\012/ for the default newline character in order to gracefully deal with older mac-style text. I would alert apple support to this thread in our archive:http://mail.pm.org/pipermail/kc/2006-December/000635.html oh drat, never mind: according to perldoc perlvar, Remember: the value of $/ is a string, not a regex. awk has to be better for something. :-) so installing something flexible like that would mean altering that basic fact. So we've got, OSX is BSD which uses newline for end-of-line, and legacy mac text needs to be treated on OSX as it would be treated when writing on Linux or BSD or whatever. Sorry to be making noise without signal here Dave From JYOUNG79 at kc.rr.com Mon Dec 11 13:18:13 2006 From: JYOUNG79 at kc.rr.com (JYOUNG79 at kc.rr.com) Date: Mon, 11 Dec 2006 15:18:13 -0600 Subject: [Kc] pc perl droplet Message-ID: Please forgive me for my total lack of knowledge with the pc platform. I'm curious though, is it possible to write a perl stand alone droplet for the pc that could run without perl being installed on that particular machine? At the moment I've got an incredibly simple applescript for the mac platform - The user simply drags a file or folder on the droplet and then it puts the path (as a string) to that file/folder in the clipboard. This way the user can paste the path to a particular file in their email, etc. I'd like to do something similar on a pc but don't know where to go to find out how to do this. Also, are you all meeting at Planet Sub tomorrow night? Thanks. Jay From djgoku at gmail.com Mon Dec 11 13:31:31 2006 From: djgoku at gmail.com (djgoku) Date: Mon, 11 Dec 2006 15:31:31 -0600 Subject: [Kc] pc perl droplet In-Reply-To: References: Message-ID: <99dd19c90612111331m6b0779d5qafb20c5391f87ac1@mail.gmail.com> On 12/11/06, JYOUNG79 at kc.rr.com wrote: > Please forgive me for my total lack of knowledge with the pc platform. > I'm curious though, is it possible to write a perl stand alone droplet > for the pc that could run without perl being installed on that > particular machine? Like create a standalone executable? If so, I heard that activestate software can do this other wise I think you will have to wait for Perl6. Though if anyone knows of another way I would be glad to know. > Also, are you all meeting at Planet Sub tomorrow night? I plan to be there! From frank at wiles.org Mon Dec 11 14:15:34 2006 From: frank at wiles.org (Frank Wiles) Date: Mon, 11 Dec 2006 16:15:34 -0600 Subject: [Kc] pc perl droplet In-Reply-To: References: Message-ID: <20061211161534.d89ec1dd.frank@wiles.org> On Mon, 11 Dec 2006 15:18:13 -0600 JYOUNG79 at kc.rr.com wrote: > Please forgive me for my total lack of knowledge with the pc > platform. I'm curious though, is it possible to write a perl stand > alone droplet for the pc that could run without perl being installed > on that particular machine? > > At the moment I've got an incredibly simple applescript for the mac > platform - The user simply drags a file or folder on the droplet and > then it puts the path (as a string) to that file/folder in the > clipboard. This way the user can paste the path to a particular file > in their email, etc. > > I'd like to do something similar on a pc but don't know where to go > to find out how to do this. > > Also, are you all meeting at Planet Sub tomorrow night? You've going to want to look into PAR on CPAN. It helps you package up an application for distribution in a number of ways. However, I think you need to have Perl itself installed on the system. But again, you can abstract that way with your own installer. Another good place to look is at SlimDevices.com, they not only sell a great product, but their software is Open Source and written in Perl. They have it setup so it is brain dead easy to install on Windows, Mac, and Linux. If I were going to try to distribute something on Windows I would certainly be taking some cues from them. --------------------------------- Frank Wiles http://www.wiles.org --------------------------------- From scratchcomputing at gmail.com Mon Dec 11 17:19:37 2006 From: scratchcomputing at gmail.com (Eric Wilhelm) Date: Mon, 11 Dec 2006 17:19:37 -0800 Subject: [Kc] pc perl droplet In-Reply-To: <20061211161534.d89ec1dd.frank@wiles.org> References: <20061211161534.d89ec1dd.frank@wiles.org> Message-ID: <200612111719.37374.ewilhelm@cpan.org> # from Frank Wiles # on Monday 11 December 2006 02:15 pm: >? ?You've going to want to look into PAR on CPAN. ?It helps you >? ?package up an application for distribution in a number of ways. > >? ?However, I think you need to have Perl itself installed on the >? ?system. ?But again, you can abstract that way with your own >? ?installer. You can also use 'pp' (PAR::Packager iirc) to create a standalone executable which contains perl and any dll dependencies. We've been doing this with dotReader (http://dotreader.com) and having no troubles despite the fact that we're bundling all of the wx libs. It is, however a bit large and slow -- about 15s the first time out and maybe 5 after that, but this is due to the size of the zip file (pp just makes a zip exe.) We want to be able to distribute it without an installer, so we'll probably dig into breaking parts into separate, smaller par files. In your case, just installing perl somewhere might be easier/faster. --Eric -- Moving pianos is dangerous. Moving pianos are dangerous. Buffalo buffalo buffalo buffalo buffalo buffalo buffalo. --------------------------------------------------- http://scratchcomputing.com --------------------------------------------------- From JYOUNG79 at kc.rr.com Tue Dec 12 08:38:29 2006 From: JYOUNG79 at kc.rr.com (JYOUNG79 at kc.rr.com) Date: Tue, 12 Dec 2006 10:38:29 -0600 Subject: [Kc] pc perl droplet In-Reply-To: <20061211161534.d89ec1dd.frank@wiles.org> References: <20061211161534.d89ec1dd.frank@wiles.org> Message-ID: I really appreciate everyone's input on this! I've been looking into a few of these and am still a bit lost (for example, I downloaded a free version of ActiveState and installed it but can't figure out how the heck to use it or create a droplet with it. I'm assuming I need to purchase software for it to work like I'm wanting?). If it's cool I'd like to ask some questions about this stuff at the meeting tonight. Thanks again for your help with this stuff. Jay ----- Original Message ----- From: Frank Wiles Date: Monday, December 11, 2006 4:17 pm Subject: Re: [Kc] pc perl droplet To: JYOUNG79 at kc.rr.com Cc: kc at pm.org > On Mon, 11 Dec 2006 15:18:13 -0600 > JYOUNG79 at kc.rr.com wrote: > > > Please forgive me for my total lack of knowledge with the pc > > platform. I'm curious though, is it possible to write a perl stand > > alone droplet for the pc that could run without perl being installed > > on that particular machine? > > > > At the moment I've got an incredibly simple applescript for the > mac > > platform - The user simply drags a file or folder on the droplet > and > > then it puts the path (as a string) to that file/folder in the > > clipboard. This way the user can paste the path to a particular > file > > in their email, etc. > > > > I'd like to do something similar on a pc but don't know where to go > > to find out how to do this. > > > > Also, are you all meeting at Planet Sub tomorrow night? > > You've going to want to look into PAR on CPAN. It helps you > package up an application for distribution in a number of ways. > > However, I think you need to have Perl itself installed on the > system. But again, you can abstract that way with your own > installer. > > Another good place to look is at SlimDevices.com, they not > only sell a great product, but their software is Open Source and > written in Perl. They have it setup so it is brain dead easy to > install on Windows, Mac, and Linux. If I were going to try to > distribute something on Windows I would certainly be taking > some cues from them. > > --------------------------------- > Frank Wiles > http://www.wiles.org > --------------------------------- > From djgoku at gmail.com Tue Dec 12 08:50:29 2006 From: djgoku at gmail.com (djgoku) Date: Tue, 12 Dec 2006 10:50:29 -0600 Subject: [Kc] pc perl droplet In-Reply-To: References: <20061211161534.d89ec1dd.frank@wiles.org> Message-ID: <99dd19c90612120850r4c4b8bdat4c4435d15a5d3c50@mail.gmail.com> On 12/12/06, JYOUNG79 at kc.rr.com wrote: > I really appreciate everyone's input on this! I've been looking into a > few of these and am still a bit lost (for example, I downloaded a free > version of ActiveState and installed it but can't figure out how the > heck to use it or create a droplet with it. I'm assuming I need to > purchase software for it to work like I'm wanting?). If it's cool I'd > like to ask some questions about this stuff at the meeting tonight. How to use perl from ActiveState? Start->Run->cmd c:\>perl script.pl Installing modules: Start->Run->cmd c:\>ppm Is this the droplet you speak of: "And, because MacPerl is optimized for use under Mac OS, you can use it to create "droplets", Perl applications that support the Mac OS "drag and drop" protocol." From davidnicol at gmail.com Tue Dec 12 10:33:09 2006 From: davidnicol at gmail.com (David Nicol) Date: Tue, 12 Dec 2006 12:33:09 -0600 Subject: [Kc] Fwd: Newsletter from O'Reilly UG Program, December 11 In-Reply-To: References: Message-ID: <934f64a20612121033p6510c64boe1068ccd495e18d4@mail.gmail.com> fascinating books to review or know about. Microsoft OS release has the whole flock aflutter. ---------- Forwarded message ---------- From: Marsee Henon Date: Dec 11, 2006 7:09 PM Subject: Newsletter from O'Reilly UG Program, December 11 To: kcpm-moderate at davidnicol.com Hi-- Have a great holiday season. Make sure you get your book requests in early since I'll be out of the office from December 21-January 1-- returning on January 2. If you're going to Macworld make sure you stop by our booth and say hi on Tuesday, January 9. I'll be there all day. --Marsee ================================================================ O'Reilly UG Program News--Just for User Group Leaders December 11, 2006 ================================================================ -Exhibit Hall Passes for Macworld or WPPI -Amazon and oreilly.com reviewers Needed for New Vista and Office Books -Put Up an Etel, MAKE, or CRAFT Banner, Get a Free Book ---------------------------------------------------------------- Book Info ---------------------------------------------------------------- ***Review Books are Available Copies of our books and PDFs are available for your members to review--just send me an email to request them and and please include the item's ISBN number (click on the "More Details" link to find the ISBN.) 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 newsletter or book review. For tips and suggestions on writing book reviews, go to: ***Group Purchase Discounts are Available Please let me know if you are interested and I can put you in touch with our sales department. ---------------------------------------------------------------- General News or Inquiries ---------------------------------------------------------------- ***Exhibit Hall Passes Available in print or PDF for the following shows: -Macworld Expo, San Francisco January 8-12, 2007 -Wedding & Portrait Photographers International Tradeshow, Las Vegas, March 26-28, 2007 ***We're looking for Amazon and oreilly.com reviewers for our new Vista and Office titles. "Windows Vista: The Missing Manual" will be shipping right before the holidays. Offer your members a head start before Vista releases. ***Put Up an Etel, MAKE, or CRAFT Banner, Get a Free Book We're looking for user groups to display our discount banners on their web sites. If you send me the link to your group's site with one or more banners, I'll send you the O'Reilly book(s) of your choice. ETel Banners: MAKE Banners: CRAFT Banners: ================================================================ O'Reilly News for User Group Members December 11, 2006 ================================================================ ---------------------------------------------------------------- New Releases ---------------------------------------------------------------- -3Ds Max 8 Accelerated -Access 2007: The Missing Manual -Agile Web Development with Rails, Second Edition -Ajax on Rails -Backup & Recovery -Building the Perfect PC, Second Edition -Capistrano and the Rails Application Lifecycle (PDF) -CD and DVD Forensics -Cisco IOS Cookbook, Second Edition -Dynamic HTML: The Definitive Reference, Third Edition -Everyday Scripting with Ruby -Excel 2007: The Missing Manual -Head First Object-Oriented Analysis and Design -Java and XML, Third Edition -Linux Kernel in a Nutshell -Make Projects: Small Form Factor PCs (PDF) -MAKE: Technology on Your Time Volume 08 -MCSA on Windows Server 2003 Core Exams in a Nutshell (PDF) -Mongrel (PDF) -PowerPoint 2007: The Missing Manual -Pragmatic Unit Testing in C# with NUnit, Second Edition -Prototype and Scriptaculous: Taking the Pain out of JavaScript (PDF) -Prototype Quick Reference (PDF) -Releasing CSS (PDF) -RFID+ Study Guide and Practice Exams -Secure Your Network for Free -SQL Hacks -SQL Server 2005 Reporting Essentials -Stealing the Network: How to Own a Shadow -Web Scripting Little Black Book -Windows Vista: The Missing Manual -Word 2007: The Missing Manual -MAKE & CRAFT Magazine Subscriptions ---------------------------------------------------------------- Upcoming Events ---------------------------------------------------------------- -Julieanne Kost at School of Visual Arts, New York City, NY-- December 7-8 -O'Reilly authors at Book Passage, Corte Madera, CA--January 7 -O'Reilly at Macworld, San Francisco, CA--January 9-12 -O'Reilly Authors at the Apple Store San Francisco, San Francisco, CA--January 10 -Stephen Johnson conducts workshop: The Landscape of California: Death Valley in Winter, Death Valley, CA--January 13-16 -Stephen Johnson conducts Fine Art Printing Workshop, Pacifica, CA--January 20-23 -Peter Morville at Bibliotek 2.0, Olso, Norway--January 25 -Peter Krogh ("The DAM Book"), ASMP/It's Your Business Event Series ---------------------------------------------------------------- Conference News ---------------------------------------------------------------- -The Where 2.0 Conference Call for Participation is Open -Call for Participation O'Reilly Tools of Change for Publishing Conference -Registration is now open for Web 2.0 Expo -Registration is Open for the 2007 Emerging Telephony Conference -Speak at RailsConf ---------------------------------------------------------------- News ---------------------------------------------------------------- -The Open Source gift guide -Digital Media Holiday Gift Guide -MAKE holiday gift guide -New Course Featuring AJAX--O'Reilly/University of Illinois Certificate Series -Makers Bill of Rights PDF -O'Reilly Labs Image Search -The 2006 Perl Advent Calendar is Looking for Submissions -When Linux Runs Out of Memory -6 Essential iPod Tips & Tricks -Tethered Shooting in Aperture -O'Reilly's Events at Macworld -Building Interactive iPod Experiences -Everything You Need to Know About Windows Vista -ASP.NET Graphs; Raise The bar -I18N Messages and Logging -Java Generics and Collections: Evolution, Not Revolution, Part 1 -Web 2.0 Summit Conversations -Distributing the Future: Latest Show: Finding Your Voice -Information Architecture 3.0 -Avoiding the 5 Most Common SEO Mistakes -Usability for Developers --------------------------------------------------------------- New Releases--Books, PDFs, and Rough Cuts ---------------------------------------------------------------- Get 35% off from O'Reilly, No Starch, Paraglyph, PC Publishing, Pragmatic Bookshelf, SitePoint, Syngress, or YoungJin products you purchase directly from O'Reilly. Just use code DSUG when ordering online or by phone 800-998-9938. Free ground shipping on orders of $29.95 or more. For more details, go to: Did you know you can request a free book or PDF to review for your group? Ask your group leader for more information. For book review writing tips and suggestions, go to: ***3Ds Max 8 Accelerated Publisher: Young Jin ISBN: 8931433719 3ds Max remains the world's most popular animation software. The hands-on, practical exercises presented in this book will allow new users to quickly master the basics and move on to creating their own creative animated projects. ***Access 2007: The Missing Manual Publisher: O'Reilly ISBN: 0596527608 "Access 2007: The Missing Manual" was written from the ground up for this redesigned application. You will learn how to design complete databases, maintain them, search for valuable nuggets of information, and build attractive forms for quick-and-easy data entry. ***Agile Web Development with Rails, Second Edition Publisher: Pragmatic Bookshelf ISBN: 0977616630 With this book, you'll learn how to use Rails Active Record to connect business objects and database tables. No more painful object-relational mapping. Just create your business objects and let Rails do the rest. ***Ajax on Rails Publisher: O'Reilly ISBN: 0596527446 This book teaches you how to use both Ajax and Rails to quickly build high-performance, scalable applications without being overwhelmed with thousands of lines of JavaScript code. More than just recipes, you'll also get a thorough, low-level understanding of what's happening under the hood. ***Backup & Recovery Publisher: O'Reilly ISBN: 0596102461 Packed with practical, freely-available backup and recovery solutions for Unix, Linux, Windows and Mac OS X systems--as well as various databases--this new guide is a complete overhaul of "Unix Backup & Recovery" by the same author, now revised and expanded with over 75% new material. ***Building the Perfect PC, Second Edition Publisher: O'Reilly ISBN: 0596526865 Regardless of your technical experience, "Building the Perfect PC" will guide you through the entire process of building or upgrading your own computer. You'll use the latest top-quality components, including Intel's Core 2 Duo and AMD's Athlon X2 CPUs. ***Capistrano and the Rails Application Lifecycle (PDF) Publisher: O'Reilly ISBN: 0596529627 This Short Cut shows you how to use Capistrano to automate the deployment of your Rails applications. It shows you realistic deployment scenarios, including some with complex server farms and includes a quick reference to Capistrano. ***CD and DVD Forensics Publisher: Syngress ISBN: 1597491284 The growth in the past decade of CD and DVD recording has changed computer forensics. Security professionals cannot ignore CDs and DVDs collected as evidence in an investigation and cannot assume that the same techniques for other media will work adequately. This book presents information about how information is stored on CDs and DVDs and how this relates to computer forensics and processing of evidence. Includes trial version of market leading software, CD/DVD Inspector. ***Cisco IOS Cookbook, Second Edition Publisher: O'Reilly ISBN: 0596527225 Thoroughly revised and expanded, "Cisco IOS Cookbook, 2nd Edition" adds sections on MPLS, Security, IPv6, and IP Mobility and presents solutions to the most common configuration problems. ***Dynamic HTML: The Definitive Reference, Third Edition Publisher: O'Reilly ISBN: 0596527403 Here is the comprehensive reference for designers of Rich Internet Applications who need to operate in all modern browsers, including Internet Explorer 7, Firefox 2, Safari, and Opera. You can instantly see browser support for the latest standards-based technologies. ***Everyday Scripting with Ruby Publisher: Pragmatic Bookshelf ISBN: 0977616614 In this book you'll learn the Ruby scripting language and the overall craft of scripting in the first part. In the second, you'll see how that knowledge can be applied to solve common testing problems. The second part of the book shows finished scripts, ready to use and deploy for testing as well as other common rote tasks. ***Excel 2007: The Missing Manual Publisher: O'Reilly ISBN: 0596527594 Like its siblings in the Missing Manual series, this book crackles with a fine sense of humor and refreshing objectivity about its subject, guiding readers through the new Excel with clear explanations, step-by-step instructions, lots of illustrations, and friendly, time-saving advice. ***Head First Object-Oriented Analysis and Design Publisher: O'Reilly ISBN: 0596008678 This witty and entertaining tutorial shows you how to analyze, design, and write great software that makes your boss happy, and your customers satisfied. You'll learn to solve real problems, regardless of their size and complexity, by applying good design principles and practices. ***Java and XML, Third Edition Publisher: O'Reilly ISBN: 059610149X This new edition shows you how to cut through all the hype about XML and put it to work. You'll learn how to use the APIs, tools, and tricks of XML to build real-world applications. After two chapters on XML basics, the rest of the book focuses on using XML from your Java applications. The result is a new approach to managing information that touches everything from configuration files to web sites. ***Linux Kernel in a Nutshell Publisher: O'Reilly ISBN: 0596100795 "Linux Kernel in a Nutshell" covers the entire range of kernel tasks, starting with downloading the source and making sure that the kernel is in sync with the versions of the tools you need. In addition to configuration and installation steps, the book offers reference material and discussions of related topics such as control of kernel options at runtime. ***Make Projects: Small Form Factor PCs (PDF) Publisher: O'Reilly ISBN: 0596529201 "Make Projects: Small Form Factor PCs shows you how to build small-form-factor PCs"--from kits and from scratch--that are more interesting and more personalized than what a full-sized PC can give you. Included are projects for building personal video recorders, versatile wireless access points, digital audio jukeboxes, portable firewalls, and much more. ***MAKE: Technology on Your Time Volume 08 Publisher: O'Reilly ISBN: 0596527195 Get ready to play with "Make Volume 08," our "Toys and Games" issue. You'll learn how to build a wind-up bird that really flies, how to restore an old pinball machine, and learn the secret history of the world's best-selling computer game from Myst's co-creator. You'll also meet a well-known toy inventor and learn how to make molds and casts with MythBusters star Adam Savage. ***MCSA on Windows Server 2003 Core Exams in a Nutshell (PDF) Publisher: O'Reilly ISBN: 0596510004 For Windows administrators preparing for Microsoft Certified Systems Administrator (MCSA) core exams 70-270, 70-290, and 70-291, this document not only provides the resources you need to succeed on the exams, but to succeed in the real world as well. ***Mongrel (PDF) Publisher: O'Reilly ISBN: 059652854X This shortcut teaches you how to use Mongrel, the new high-performance web application container for Rails. It starts with basic setup and installation, but goes well beyond the basics, showing you how to set up Mongrel clusters, how to use Mongrel behind Apache and other web servers, and more. ***PowerPoint 2007: The Missing Manual Publisher: O'Reilly ISBN: 0596527381 This new book, written specifically for this version of the software, not only offers the basics of how to create, save, set up, run, and print a basic bullets-and-background slideshow, but takes you into the world of multimedia, animation, and interactivity. You'll learn how to add pictures, sound, video, animated effects, and controls (buttons and links) to their slides, along with ways to pull text, spreadsheets, and animations created in other programs. ***Pragmatic Unit Testing in C# with NUnit, Second Edition Publisher: Pragmatic Bookshelf ISBN: 0977616673 All over the world, software teams are using unit testing both to verify their code and as a way of helping them design better code. This book is unique in the way it covers two aspects: showing developers both how to test and helping them determine what to test. ***Prototype and Scriptaculous: Taking the Pain out of JavaScript (PDF) Publisher: O'Reilly ISBN: 0596529198 This Short Cut demonstrates how to use Prototype for a wide range of tasks, including event handling, DOM processing, string and form process, and Ajax communications. It explores Scriptaculous' visual effects library, from pulsate to squish to fold and beyond. Need interface components? You'll find form autocompletion as well as drag and drop support. ***Prototype Quick Reference (PDF) Publisher: O'Reilly ISBN: 0596510187 This short cut provides a complete quick reference to the Prototype JavaScript framework. Prototype is an open-source library that is particularly useful to developers of dynamic Ajax applications, and to other web developers who need to work with DOM elements. ***Releasing CSS (PDF) Publisher: O'Reilly ISBN: 059652935X This Short Cut attempts to answer these questions to allow web designers a smoother transition to IE7 and, hopefully, an escape from Browser Hell. ***RFID+ Study Guide and Practice Exams Publisher: Syngress ISBN: 1597491349 With the rising popularity of RFID technology, there is an increasing need for RFID professionals. To help meet this need, CompTIA has just introduced the RFID+ certification. The primary purpose of this book is to help you pass the RFID+ certification exam. With a laser sharp focus on the exam objectives, it goes beyond just being an exam cram. ***Secure Your Network for Free Publisher: Syngress ISBN: 1597491233 A wide variety of quality security products are out there and available for use absolutely free of charge. All one needs is a little know how, some helpful examples like the ones in this book, and a desire to have a secure network. ***SQL Hacks Publisher: O'Reilly ISBN: 0596527993 SQL Hacks offers 100 hacks--unique tips and tools--that bring you the knowledge of experts who apply what they know in the real world to help you take full advantage of the expressive power of SQL. ***SQL Server 2005 Reporting Essentials Publisher: O'Reilly ISBN: 0596529414 This book shows you how to use Report Builder, a tool that lets information workers build ad hoc reports, and how to use Report Designer, a report development tool hosted in Visual Studio that lets you interactively create reports. This book shows you how to publish, manage, and run those reports. ***Stealing the Network: How to Own a Shadow Publisher: Syngress ISBN: 1597490814 The best-selling Stealing the Network series reaches its climactic conclusion as law enforcement and organized crime form a high-tech web in an attempt to bring down the shadowy hacker-villain known as Knuth in the most technically sophisticated Stealing book yet. ***Web Scripting Little Black Book Publisher: Paraglyph Press ISBN: 1933097191 This book will help administrators take full advantage of the most popular scripting languages and extensions, covering topics such as automating web pages and managing content, database setups and automation, essential e-commerce scripts, user support topics, securing scripts, FTP access and much more. ***Windows Vista: The Missing Manual Publisher: O'Reilly ISBN: 0596528272 "Windows Vista: The Missing Manual" offers complete and comprehensive coverage of all five versions of Vista. In his inimitable witty style, New York Times columnist and bestselling author David Pogue illuminates this subject with clear technical insight and hardnosed objectivity. He explains Vista's features clearly and thoroughly, revealing which work well and which don't. Written for beginners, veteran standalone PC users, and those who know their way around a network, this jargon-free guide is the book that should have been in the box! For more information on Vista, David Pogue, and Missing Manuals go to: http://del.icio.us/oreillymedia/vista ***Word 2007: The Missing Manual Publisher: O'Reilly ISBN: 059652739X "Word 2007: The Missing Manual" not only explains basics like how to create documents, enter and edit text, format, print, and fax, but also learn how to create sophisticated page layouts, insert forms and tables, use graphics, and create book-length documents with outlines and Master Documents. ***MAKE Magazine Subscriptions MAKE Magazine Subscriptions The annual subscription price for four issues is $34.95. When you subscribe with this link, you'll get a free issue--one plusfour more for $34.95. So subscribe for yourself or friends with this great offer for UG Members: five volumes for the cost of four. Subscribe at: ***Craft Magazine Subscriptions 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: ================================================ Upcoming Events ================================================ ***For more events, please see: ***Julieanne Kost at School of Visual Arts, New York City, NY-- December 7-8 Author Julieanne Kost ("Window Seat") will provide students with an in-depth seminar on using Adobe Photoshop CS2 and Adobe Lightroom beta, highlighting their combined support for a digital workflow. ***O'Reilly authors at Book Passage, Corte Madera, CA--January 7 Ask the experts. Leading digital photographers, Mikkel Aaland, Stephen Johnson, Ken Milburn, and Derrick Story answer all your questions. ***O'Reilly at Macworld, San Francisco, CA--January 9-12 Stop by the O'Reilly booth (#2112, South Hall) to say hi, peruse our new titles, and meet our expert authors. On hand will be David Pogue, Derrick Story, Andy Hertzfeld, Mikkel Aaland, Stephen Johnson, Eddie Tapp, Ken Milburn, and more. ***O'Reilly Authors at the Apple Store San Francisco, San Francisco, CA--January 10 Photographers Mikkel Aaland, Eddie Tapp, Stephen Johnson, Ken Milburn, and Derrick Story present "Expert Photography Tips...from Real Experts!" ***Stephen Johnson conducts workshop: The Landscape of California: Death Valley in Winter, Death Valley, CA--January 13-16 Photographer and author Stephen Johnson ("Stephen Johnson on Digital Photography") conducts a digital photography field workshop in Death Valley, exploring the vast expanse of sensual and strange earthworks of this desert. ***Stephen Johnson conducts Fine Art Printing Workshop, Pacifica, CA--January 20-23 Photographer and author Stephen Johnson ("Stephen Johnson on Digital Photography") presents a three day hands-on workshop. Work your photographs into a new level of perfection and beauty with fine teaching, print by print problem solving, great viewing and lighting conditions. ***Peter Morville at Bibliotek 2.0, Olso, Norway--January 25 Peter Morville ("Information Architecture for the World Wide Web, Third Ed." and "Ambient Findability") presents "Ambient Findability: Libraries and the Internet of Things" as the keynote speaker. ***Peter Krogh ("The DAM Book"), ASMP/It's Your Business Event Series Author Peter Krogh will be teaching the "Get Your DAM Stuff Together" track for ASMP's "It's Your Business" Series. For a complete list of cities and dates, go to: ================================================ Conference News ================================================ ***The Where 2.0 Conference Call for Participation We're looking for ground breaking ideas about location aware technology-amazing location systems, open source hacks, untapped geodata, and companies developing new products and services or mashing up old ones. If you think you know the next killer app to roll off the lab bench, tell us! Proposals are due January 5, 2007. Where 2.0 returns to the Fairmont Hotel in San Jose, CA May 29-30, 2007. ***Call for Participation O'Reilly Tools of Change for Publishing Conference O'Reilly Media is seeking proposals from publishers, editors, authors, marketing and production managers, publishing consultants, technology providers, and other interested parties to lead tutorials and sessions at the TOC Conference, happening June 18 - 20, 2007 at the Fairmont Hotel in San Jose, California. Submit a proposal to speak by January 22, 2007. ***Registration is now open for Web 2.0 Expo The Web 2.0 Expo is the first event specifically designed to help teach Web 2.0 techniques and best practices to people in the trenches directly involved in the design, development, engineering, marketing, and business of second-generation internet technology. Register now and save up to $200 on registration fees. Web 2.0 Expo happens April 15-18 at Moscone West in San Francisco, CA. ***Register for the 2007 Emerging Telephony Conference Explore the strategies for taming disruption and exploit opportunities being created by web telephony innovations. Use code "etel07usrg" when you register, and receive 15% off the early registration price. To register for the conference, go to: ================================================ News From O'Reilly & Beyond ================================================ --------------------- General News --------------------- ***The Open Source gift guide Make Magazine has put together their picks of interesting open source hardware projects, open source software, services, and things that have the Maker-spirit of open source. ***Digital Media Holiday Gift Guide Want to give a book or two to the digital lifestyler on your holiday list, but don't know where to start? Here's a handy guide for you (or a broad hint or two to your loved ones). For iPodders and dedicated digital photographers--these seven books from O'Reilly Media answer questions, explore new techniques, demystify digital gear, and inspire creativity. ***MAKE holiday gift guide Great gift ideas for the incorrigible makers and inquisitive tinkerers on your list. ***New Course Featuring AJAX--O'Reilly/University of Illinois Certificate Series O'Reilly Learning is proud to announce their new Client-Side Web Programming Certificate Series. These courses provide a complete understanding of front-end web development, from HTML and CSS, to JavaScript DOM and AJAX. And don't forget, user group members receive a special 30% discount! To redeem, use Promotion Code "ORALL1," good for a 30% discount, in Step #3 of the enrollment process. Each course comes with a free O'Reilly book and a 7-day money-back guarantee. Register online: Other O'Reilly Learning Courses include: -Linux/Unix System Administration -Web Programming -Open Source Programming -.NET Programming ***Makers Bill of Rights PDF Now you can print your own Bill of Rights poster anytime you want. ***O'Reilly Labs Image Search O'Reilly Labs has just rolled out Image Search, a crafty interface that allows you to search all the images in O'Reilly books. See what you get for Bill Gates or Steve Jobs. --------------------- Open Source --------------------- ***The 2006 Perl Advent Calendar is Looking for Submissions Do you have some Perl to contribute to the Perl Advent Calendar this year? It's not too late to submit your entry. Along with the fame of being listed on the site, winning contributors receive an O'Reilly book. Checkout the new location at http://advent.pm.org. For submission details, go to: ***When Linux Runs Out of Memory Memory is a precious commodity in computers. Generally the more you have, the better. Yet your application has to run alongside other applications, and each wants its own area of memory. What happens when there's not enough to go around? Mulyadi Santosa explores the memory management principles in the Linux kernel to explain how the Out of Memory killer works--and how to avoid it. --------------------- Digital Media --------------------- ***6 Essential iPod Tips & Tricks If you're planning to give or get a new iPod this holiday season, don't miss J.D. Biersdorfer's Six Fresh Tips from "iPod: The Missing Manual." ***Tethered Shooting in Aperture Sending captured images directly to your Mac provides some useful options in studio and time-lapse photography. In this tutorial, Micah Walter shows you how to incorporate Automator into your tethered workflow to help you shoot and process as efficiently as possible. --------------------- Mac --------------------- ***O'Reilly's Events at Macworld Come on by (#2112, South Hall) and say hi and listen to our authors. We'll have speakers all week long. For a rundown of all our activities go to our special Macworld event page: ***Building Interactive iPod Experiences The interactive multimedia presentation is one of the least-trumpeted features of the iPod. In this article, Erica Sadun introduces the basics of interactive iPod design by showing how to use the iPod Notes feature to create presentations that include text, links, images, music, and videos. --------------------- Windows/.NET --------------------- ***Everything You Need to Know About Windows Vista Preston Gralla gives you the bottom line on what Vista does better than XP, where it needs improvement--and how to perform the upgrade, step-by-step. ***ASP.NET Graphs; Raise The bar If you use static images to present graphs and charts online, now's the time to make your efforts more dynamic. In this results-focused tutorial, Pat explains how easy .NET makes t he dynamic generation and display of bar charts online. --------------------- Java --------------------- ***I18N Messages and Logging Sick of internationalizing by making your own code take responsibility for finding and using ResourceBundles? The i18nlog project offers an annotations-based way to simplify your internationalization tasks and even allow you to internationalize your logging. John Mazzitelli explains why this is a good idea. ***Java Generics and Collections: Evolution, Not Revolution, Part 1 In this excerpt from "Java Generics and Collections," authors Maurice Naftalin and Philip Wadler show how to make the switch to Java 5.0 generics, not by expecting you to flip a switch across your whole code base, but by having you gradually work generics into your code while maintaining compatibility. Part 2: --------------------- Podcasts --------------------- ***Web 2.0 Summit Conversations Audio and video Podcasts from some of the internet industry's leading thinkers and innovators on the future of Web 2.0. ***Distributing the Future: Latest Show: Finding Your Voice We have three pieces this week that hover around the theme of finding your voice. Google CEO Eric Schmidt talks to John Battelle about the corporate voice that Google has taken on. Moshe Cohen is a clown who performs using his voice but no words. In many of his missions, including Clowns Without Borders USA, he cheers people up but also leaves them with a deeper lesson. I've also remixed a piece by David Battino from the Digital Media Insider that looks at how much computer voices have improved. This is the last episode for 2006. (DTF 11-27-2006: 25 minutes, 55 seconds) --------------------- Web --------------------- ***Information Architecture 3.0 At a recent gathering of CIOs, Peter Morville was introduced, not as an information architect, interaction designer, or librarian, but as a futurist and so he's decided to make a prediction. ***Avoiding the 5 Most Common SEO Mistakes Are your SEO efforts hampered by any of the 5 most common SEO mistakes? They're not difficult to rectify...once you know what they are. Johnathon explains them clearly, and shows you how to correct them, in this hands-on tutorial. ***Usability for Developers Old school vs. New School web usability testing. Until next time-- Marsee Henon ================================================================ O'Reilly 1005 Gravenstein Highway North Sebastopol, CA 95472 http://ug.oreilly.com/ http://ug.oreilly.com/creativemedia/ ================================================================ -- perl -le'1while(1x++$_)=~/^(11+)\1+$/||print' From amoore at mooresystems.com Tue Dec 12 11:28:07 2006 From: amoore at mooresystems.com (Andrew Moore) Date: Tue, 12 Dec 2006 13:28:07 -0600 Subject: [Kc] KC Perl Mongers meeting tonight 7pm at Planet Sub Message-ID: <20061212192807.GA2742@mooresystems.com> Although I won't be able to make it tonight, it sounds to me like a couple of people are interested in meeting tonight. I guess that will be at 7pm at Planet Sub at 50th & Main in KCMO. Some topics that will probably come up: * stand-alone perl apps on windows using PAR or other methods * What's up with \n and line-endings on MacOS? * netflix prize? * meeting location change? Have fun, and try to recall what you talk about so that someone can post a meeting notes email to the list. Thanks! -Andy From djgoku at gmail.com Tue Dec 12 21:58:48 2006 From: djgoku at gmail.com (djgoku) Date: Tue, 12 Dec 2006 23:58:48 -0600 Subject: [Kc] December Meeting Notes Message-ID: <99dd19c90612122158l369dc2a4l5e635fcf3b0e24ea@mail.gmail.com> Topics: * ActiveState Perl on a Mac + PPM * pre/post increment/decrement * Mac backup software * DeCSS I think I may have missed some. From djgoku at gmail.com Tue Dec 12 22:16:58 2006 From: djgoku at gmail.com (djgoku) Date: Wed, 13 Dec 2006 00:16:58 -0600 Subject: [Kc] pc perl droplet In-Reply-To: <99dd19c90612120850r4c4b8bdat4c4435d15a5d3c50@mail.gmail.com> References: <20061211161534.d89ec1dd.frank@wiles.org> <99dd19c90612120850r4c4b8bdat4c4435d15a5d3c50@mail.gmail.com> Message-ID: <99dd19c90612122216l2fd9eecewd3a1a0acc4124e74@mail.gmail.com> On 12/12/06, djgoku wrote: > On 12/12/06, JYOUNG79 at kc.rr.com wrote: > > I really appreciate everyone's input on this! I've been looking into a > > few of these and am still a bit lost (for example, I downloaded a free > > version of ActiveState and installed it but can't figure out how the > > heck to use it or create a droplet with it. I'm assuming I need to > > purchase software for it to work like I'm wanting?). If it's cool I'd > > like to ask some questions about this stuff at the meeting tonight. ActiveState Perl on a Mac is a bit weird. For PPM on the Mac: Open Terminal -> and type ppm you should get something like this: $ ppm -bash: ppm: command not found # Now try PPM after the below command $ export PATH=/usr/local/ActivePerl-5.8/bin:$PATH YAY! Some linkage: http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/install.html#os%20x%20prerequisites From djgoku at gmail.com Wed Dec 13 08:20:47 2006 From: djgoku at gmail.com (djgoku) Date: Wed, 13 Dec 2006 10:20:47 -0600 Subject: [Kc] pc perl droplet In-Reply-To: <99dd19c90612122216l2fd9eecewd3a1a0acc4124e74@mail.gmail.com> References: <20061211161534.d89ec1dd.frank@wiles.org> <99dd19c90612120850r4c4b8bdat4c4435d15a5d3c50@mail.gmail.com> <99dd19c90612122216l2fd9eecewd3a1a0acc4124e74@mail.gmail.com> Message-ID: <99dd19c90612130820k45c7f501q26838308886c4299@mail.gmail.com> On 12/12/06, djgoku wrote: > On 12/12/06, JYOUNG79 at kc.rr.com wrote: > > I really appreciate everyone's input on this! I've been looking into a > > few of these and am still a bit lost (for example, I downloaded a free > > version of ActiveState and installed it but can't figure out how the > > heck to use it or create a droplet with it. I'm assuming I need to > > purchase software for it to work like I'm wanting?). If it's cool I'd > > like to ask some questions about this stuff at the meeting tonight. ActiveState Perl on a Mac is a bit weird. For PPM on the Mac: Open Terminal -> and type ppm you should get something like this: $ ppm -bash: ppm: command not found # Now try PPM after the below command $ export PATH=/usr/local/ActivePerl-5.8/bin:$PATH YAY! Some linkage: http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/install.html#os%20x%20prerequisites From djgoku at gmail.com Wed Dec 13 09:55:57 2006 From: djgoku at gmail.com (djgoku) Date: Wed, 13 Dec 2006 11:55:57 -0600 Subject: [Kc] Fwd: [perl #41081] [RESOLVED] KCPM In-Reply-To: References: Message-ID: <99dd19c90612130955s2b43ec3erc7074695fadd48be@mail.gmail.com> ---------- Forwarded message ---------- From: Robert via RT Date: Dec 13, 2006 11:46 AM Subject: [perl #41081] [RESOLVED] KCPM To: djgoku at gmail.com According to our records, your request regarding "KCPM" has been resolved. YAY the list is back up! From djgoku at gmail.com Wed Dec 13 09:57:59 2006 From: djgoku at gmail.com (djgoku) Date: Wed, 13 Dec 2006 11:57:59 -0600 Subject: [Kc] pc perl droplet In-Reply-To: <99dd19c90612130820k45c7f501q26838308886c4299@mail.gmail.com> References: <20061211161534.d89ec1dd.frank@wiles.org> <99dd19c90612120850r4c4b8bdat4c4435d15a5d3c50@mail.gmail.com> <99dd19c90612122216l2fd9eecewd3a1a0acc4124e74@mail.gmail.com> <99dd19c90612130820k45c7f501q26838308886c4299@mail.gmail.com> Message-ID: <99dd19c90612130957p4a6da024o4e820cdacb6c59e2@mail.gmail.com> On 12/13/06, djgoku wrote: > On 12/12/06, djgoku wrote: > > On 12/12/06, JYOUNG79 at kc.rr.com wrote: > > > I really appreciate everyone's input on this! I've been looking into a > > > few of these and am still a bit lost (for example, I downloaded a free > > > version of ActiveState and installed it but can't figure out how the > > > heck to use it or create a droplet with it. I'm assuming I need to > > > purchase software for it to work like I'm wanting?). If it's cool I'd > > > like to ask some questions about this stuff at the meeting tonight. > > ActiveState Perl on a Mac is a bit weird. > > For PPM on the Mac: > > Open Terminal -> and type ppm you should get something like this: > $ ppm > -bash: ppm: command not found > > # Now try PPM after the below command > $ export PATH=/usr/local/ActivePerl-5.8/bin:$PATH > > YAY! > > Some linkage: > http://aspn.activestate.com/ASPN/docs/ActivePerl/5.8/install.html#os%20x%20prerequisites Sorry for the double post, there was some issue (I was testing to make sure it just wasn't me.) that was resolved by pm.org! From darylvf at gmail.com Thu Dec 14 12:20:23 2006 From: darylvf at gmail.com (Daryl Fallin) Date: Thu, 14 Dec 2006 14:20:23 -0600 Subject: [Kc] repeating \t TAB in print statement? Message-ID: This is a totally newbie question, but I am doing a recursive subroutine and I would like to print a tab (\t) for each recursion into the subroutine. I thought something like print ("\t{$level} $rest $of $mydata"); would work. Thanks for the help. - daryl From frank at wiles.org Thu Dec 14 12:29:29 2006 From: frank at wiles.org (Frank Wiles) Date: Thu, 14 Dec 2006 14:29:29 -0600 Subject: [Kc] repeating \t TAB in print statement? In-Reply-To: References: Message-ID: <20061214142929.a3c4ad32.frank@wiles.org> On Thu, 14 Dec 2006 14:20:23 -0600 "Daryl Fallin" wrote: > This is a totally newbie question, but I am doing a recursive > subroutine and I would like to print a tab (\t) for each recursion > into the subroutine. > > I thought something like print ("\t{$level} $rest $of $mydata"); > would work. You're looking for something like this: print "\t" x $level . "$rest $of $mydata"; The construct "x" tells print to repeat the previous part $level times. Hope that helps. --------------------------------- Frank Wiles http://www.wiles.org --------------------------------- From darylvf at gmail.com Thu Dec 14 12:36:52 2006 From: darylvf at gmail.com (Daryl Fallin) Date: Thu, 14 Dec 2006 14:36:52 -0600 Subject: [Kc] repeating \t TAB in print statement? In-Reply-To: <20061214142929.a3c4ad32.frank@wiles.org> References: <20061214142929.a3c4ad32.frank@wiles.org> Message-ID: Awesome. That worked perfectly. Thank You! On 12/14/06, Frank Wiles wrote: > On Thu, 14 Dec 2006 14:20:23 -0600 > "Daryl Fallin" wrote: > > > This is a totally newbie question, but I am doing a recursive > > subroutine and I would like to print a tab (\t) for each recursion > > into the subroutine. > > > > I thought something like print ("\t{$level} $rest $of $mydata"); > > would work. > > You're looking for something like this: > > print "\t" x $level . "$rest $of $mydata"; > > The construct "x" tells print to repeat the previous part $level > times. > > Hope that helps. > > --------------------------------- > Frank Wiles > http://www.wiles.org > --------------------------------- > > From davidnicol at gmail.com Fri Dec 15 11:56:42 2006 From: davidnicol at gmail.com (David Nicol) Date: Fri, 15 Dec 2006 13:56:42 -0600 Subject: [Kc] repeating \t TAB in print statement? In-Reply-To: References: Message-ID: <934f64a20612151156p4aec0f60k14e8e21bb04d2c0b@mail.gmail.com> Here is some sugar that will not mess up your clear result-print line with obscure syntax, by hiding it elsewhere: use Tie::Function 0.01; tie my %indent, Tie::Function => sub{"\t"x$_[0]}; ... print "$indent{$level} $rest $of $mydata"; On 12/14/06, Daryl Fallin wrote: > I thought something like print ("\t{$level} $rest $of $mydata"); would work. -- He thought he could organize freedom how naive and controlling of him