From hank.turowski at firstworld.net Fri Mar 9 01:57:04 2001 From: hank.turowski at firstworld.net (Hank Turowski) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] Re: electronics kits In-Reply-To: Message-ID: <4.2.0.58.20010309003554.00ad9708@accessone.com> I was looking for the same thing myself today. I went to the Radio Shack on Colorado and got some great stuff. They have resister packs on sale now, got three of the Tech America kits with 240 resisters each for about $15 total. I also picked up a copy of "Basic Electronics Theory" by Delton T. Horn. It gets knocked for typos on Amazon, but it seems good. Has simple experiments you can do to show examples of the theory presented by the text. If you really just want the step by step blinking light siren stuff, they have that too. And here are some places you can get kits online. http://www.rainbowkits.com/ http://www.ramseyelectronics.com/ http://www.globalspecialties.com/ (A little more tutorial, less flash) http://www.elenco.com/ I hope that helps. Hank Turowski At 11:49 2/28/2001 -0700, Walter Pienciak wrote: >Okay, > >Here's a off-topic request, but somehow I'm thinking some of you >know the answer: > >Where in Colorado (and the closer to Boulder the better) are there >stores that sell "electronics kits"? (After 2.5 years here, this >one makes me realize how much I still don't know about the area.) > >I'm not talking about the "build-your-own TV" Heathkit-type thing >(though knowing that would be cool too), but rather about the more mundane >stuff you might expect a young teenager be tinkering with: electronic >sirens and mosquito repellers and stress meters and LED dice ;^) >You know: that $10-$30 plastic bag with a PCB and a tangled pile >of resistors, diodes, and capacitors . . . > >Walter From walter at frii.com Fri Mar 9 11:43:20 2001 From: walter at frii.com (Walter Pienciak) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] Re: electronics kits In-Reply-To: <4.2.0.58.20010309003554.00ad9708@accessone.com> Message-ID: On Fri, 9 Mar 2001, Hank Turowski wrote: > I was looking for the same thing myself today. I went to the Radio Shack on > Colorado and got some great stuff. They have resister packs on sale now, > got three of the Tech America kits with 240 resisters each for about $15 > total. I also picked up a copy of "Basic Electronics Theory" by Delton T. > Horn. It gets knocked for typos on Amazon, but it seems good. Has simple > experiments you can do to show examples of the theory presented by the text. > > If you really just want the step by step blinking light siren stuff, they > have that too. > > And here are some places you can get kits online. > http://www.rainbowkits.com/ > http://www.ramseyelectronics.com/ > http://www.globalspecialties.com/ (A little more tutorial, less flash) > http://www.elenco.com/ > > I hope that helps. > > Hank Turowski Thanks, Hank, Little toy gizmos is exactly what I'm looking for. I have 3 daughters who I think need an intro to the soldering iron. It's hard to beat Saunders when I want to buy ONE diode or something like that. Or for fun value of browsing up and down their aisles looking in all the little bins at the thingies. On the other hand, they don't have gizmos. And I wasn't so happy with their prices on bulk cable. Well, I guess that's what mail order is for. And a little birdie told me to look at Home Depot. I've heard enough now about the Radio Shack (nee Tech America) on Colorado and I-25 that I went down. Wow! What a fun store. Best overall "electronics" store I've seen yet, out here. It even inspired me to get some X10 stuff out of the box and set it up for the girls (they're highly amused to have a remote control for their bedroom light). ObPerl: Has anyone played with the X10 Perl stuff? Walter From rise at knavery.net Sun Mar 11 04:20:33 2001 From: rise at knavery.net (rise) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] Breathtaking Perl app Message-ID: http://www.xiph.org/mgm/ If you're running Linux, NetBSD, or Solaris you might want to check this out. It's a Perl/Tk system load monitor, but it bears much the same resemblance to top that Mozilla bears to lynx[1]. Some of what it does I didn't know you could do in Perl/Tk[2], much of the rest I never conceived of someone wanting to do. Jonathan Conway [1] minus the bug differential [2] Ok, given that it implements it's own XPM management package maybe you _couldn't_ do some of that stuff until MGM was written. From walter at frii.com Sun Mar 11 19:12:41 2001 From: walter at frii.com (Walter Pienciak) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] forwarded "nonmember" bounce Message-ID: ---------- Forwarded message ---------- Date: Sun, 11 Mar 2001 15:22:21 -0600 From: owner-boulder-pm-list@pm.org To: boulder-pm-list-approval@pm.org Subject: BOUNCE boulder-pm-list@pm.org: Non-member submission from [Joel Maslak ] >From walter@frii.com Sun Mar 11 15:22:20 2001 Received: from bigsky.antelope.net (IDENT:root@bigsky.antelope.net [63.228.233.52]) by gocho.pm.org (8.11.3/8.11.3) with ESMTP id f2BLMKH06055 for ; Sun, 11 Mar 2001 15:22:20 -0600 Received: from localhost (jmaslak@localhost) by bigsky.antelope.net (8.9.3/8.9.3) with ESMTP id OAA08705 for ; Sun, 11 Mar 2001 14:32:45 -0700 X-Authentication-Warning: bigsky.antelope.net: jmaslak owned process doing -bs Date: Sun, 11 Mar 2001 21:32:45 +0000 (UTC) From: Joel Maslak To: boulder-pm-list@happyfunball.pm.org Subject: Re: [boulder.pm] Breathtaking Perl app In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 11 Mar 2001, rise wrote: > http://www.xiph.org/mgm/ Very cool... > resemblance to top that Mozilla bears to lynx[1]. Some of what it does I > didn't know you could do in Perl/Tk[2], much of the rest I never conceived > of someone wanting to do. Yes, it certainly goes outside the normal crappy looking Tk app. If you flinch when you hear Tk, you should check this one out. -- Joel From walter at frii.com Mon Mar 12 11:13:55 2001 From: walter at frii.com (Walter Pienciak) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] Breathtaking Perl app In-Reply-To: Message-ID: On Sun, 11 Mar 2001, rise wrote: > http://www.xiph.org/mgm/ This look interesting, and I'm interested in 1) seeing how it stacks up against netsaint and 2) what they're doing in Perl, but I'm DROWNING in user requests. See you next week. =8^0 Walter From rise at knavery.net Mon Mar 12 14:08:12 2001 From: rise at knavery.net (rise) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] Breathtaking Perl app In-Reply-To: Message-ID: On Mon, 12 Mar 2001, Walter Pienciak wrote: > This look interesting, and I'm interested in 1) seeing how it stacks > up against netsaint and Sorry, I guess I didn't make it quite clear. It's a local system monitor (though the plugin architecture looks simple enough that I'm thinking of writing a remote Apache::VMonitor plugin) in the vein of gtop or gkrellm. > 2) what they're doing in Perl, but I'm DROWNING in user requests. > See you next week. =8^0 When you surface let's set up another B.PM hike - we need more snow. Jonathan From walter at frii.com Mon Mar 19 09:21:42 2001 From: walter at frii.com (Walter Pienciak) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] forwarding "nonmember" bounce: client/server secure ? Message-ID: From: "Robert L. Harris" To: Boulder Perl Mongers Subject: client/server secure ? Message-ID: <20010316094558.B18962@rdlg.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i I've just been given the task of writing some perl code that will be executed on ServerA, connect to ServerB, ServerB will collect some information, run a command, etc, based on the request from A, then return some output to ServerA... Due to the nature of the servers, it needs to be encrypted and use some handshaking to make it very hard if not impossible to fake. Anyone have any simple code I can build upon or a good starting place? I've never done network/socket code before. Robert :wq! --------------------------------------------------------------------------- Robert L. Harris | Micros~1 : Senior System Engineer | For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' From nagler at bivio.com Mon Mar 19 09:46:23 2001 From: nagler at bivio.com (Rob Nagler) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] forwarding "nonmember" bounce: client/server secure ? References: Message-ID: <3AB629CF.C0348429@bivio.com> > Anyone have any simple code I can build upon or a good starting place? > I've never done network/socket code before. I highly recommend using mod_perl/Apache and SSL (https). It's the probably the most widely used and secure transport in the world. You can use libnet, libwww-perl, openssl, and Crypt-SSLeay to communicate ith the server. It's really quite easy. Rob From Robert.L.Harris at rdlg.net Mon Mar 19 11:35:26 2001 From: Robert.L.Harris at rdlg.net (Robert L. Harris) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] SSL Socket Question Message-ID: <20010319103526.E25031@rdlg.net> I never saw a reply or my original post come back. I need to do a 2way SSL communication between hosts. Anyone have any suggestions on where I can get some starting code from? I found some good client/server stuff, but nothing using SSL for the communications. Robert :wq! --------------------------------------------------------------------------- Robert L. Harris | Micros~1 : Senior System Engineer | For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' From rise at knavery.net Mon Mar 19 12:14:00 2001 From: rise at knavery.net (rise) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] forwarding "nonmember" bounce: client/server secure ? In-Reply-To: <3AB629CF.C0348429@bivio.com> Message-ID: On Mon, 19 Mar 2001, Rob Nagler wrote: > > Anyone have any simple code I can build upon or a good starting place? > > I've never done network/socket code before. > > I highly recommend using mod_perl/Apache and SSL (https). It's the > probably the most widely used and secure transport in the world. > > You can use libnet, libwww-perl, openssl, and Crypt-SSLeay to > communicate with the server. It's really quite easy. Note: The mail Walter forwarded didn't have you Cc'd. ---- That's probably your most scalable option and if you've ever written a mod_perl module (or if you can deal with going the CGI route) it should be pretty simple - just code a set of pages that take your arguments and call the appropriate command (or embed the information gathering logic in a perl module and call it directly from the server thread). If you set up certificates for both sides (and make sure that each side knows to accept only the certificate on the other) the connection should be very secure (in terms of the authentication as well encryption). If you don't have to have use SSL but need encryption and you're looking for a lower tech solution have you considered using SSH to call a command on ServerB? If you go that route you probably want to read "SSH The Definitive Guide" Ch. 11.1 - 'Unattended SSH' to get a good handle on the security and implementation details. If you absolutely have to code a socket based client/server run, don't walk to get a copy of Lincoln Stein's "Network Programming with Perl". It's a damn good book and it'll save you hours/days of grief dealing with blocking issues, threading, etc. You could probably grab one of the server & client listings in there, add SSL support with one of the SSL modules, set up the certificates, and have the skeleton for your solution. Jonathan Conway From Robert.L.Harris at rdlg.net Mon Mar 19 13:12:44 2001 From: Robert.L.Harris at rdlg.net (Robert L. Harris) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] forwarding "nonmember" bounce: client/server secure ? In-Reply-To: ; from rise@knavery.net on Mon, Mar 19, 2001 at 11:14:00AM -0700 References: <3AB629CF.C0348429@bivio.com> Message-ID: <20010319121244.I25031@rdlg.net> This looks like the first solution relies on 2 web servers, one on the client one on the server. There will be one on the server, but not on the clients. I didn't want to go the ssh route as that will require open passwords in the RSA, or require the users to know the passphrase which we really dont want. I've got a plan in the works for the authentication already, I just need to know how to do the secure sockets. It sounds like the book is the perfect way go and probably has alot of other useful information I can use. Thank you, Robert Thus spake rise (rise@knavery.net): > On Mon, 19 Mar 2001, Rob Nagler wrote: > > > > Anyone have any simple code I can build upon or a good starting place? > > > I've never done network/socket code before. > > > > I highly recommend using mod_perl/Apache and SSL (https). It's the > > probably the most widely used and secure transport in the world. > > > > You can use libnet, libwww-perl, openssl, and Crypt-SSLeay to > > communicate with the server. It's really quite easy. > > Note: The mail Walter forwarded didn't have you Cc'd. > > ---- > > That's probably your most scalable option and if you've ever written a > mod_perl module (or if you can deal with going the CGI route) it should be > pretty simple - just code a set of pages that take your arguments and call > the appropriate command (or embed the information gathering logic in a > perl module and call it directly from the server thread). If you set up > certificates for both sides (and make sure that each side knows to > accept only the certificate on the other) the connection should be very > secure (in terms of the authentication as well encryption). > > If you don't have to have use SSL but need encryption and you're looking > for a lower tech solution have you considered using SSH to call a command > on ServerB? If you go that route you probably want to read "SSH The > Definitive Guide" Ch. 11.1 - 'Unattended SSH' to get a good handle on the > security and implementation details. > > If you absolutely have to code a socket based client/server run, don't > walk to get a copy of Lincoln Stein's "Network Programming with Perl". > It's a damn good book and it'll save you hours/days of grief dealing with > blocking issues, threading, etc. You could probably grab one of the > server & client listings in there, add SSL support with one of the SSL > modules, set up the certificates, and have the skeleton for your solution. > > Jonathan Conway > > :wq! --------------------------------------------------------------------------- Robert L. Harris | Micros~1 : Senior System Engineer | For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' From rise at knavery.net Mon Mar 19 13:19:23 2001 From: rise at knavery.net (rise) Date: Wed Aug 4 23:58:30 2004 Subject: [boulder.pm] forwarding "nonmember" bounce: client/server secure ? In-Reply-To: <20010319121244.I25031@rdlg.net> Message-ID: On Mon, 19 Mar 2001, Robert L. Harris wrote: > This looks like the first solution relies on 2 web servers, one on the > client one on the server. There will be one on the server, but not on > the clients. One web server set up to answer the requests and clients that use LWP with IO::Socket::SSL and the OpenSSL library to POST/GET the requests. > I didn't want to go the ssh route as that will require open passwords > in the RSA, or require the users to know the passphrase which we really > dont want. I've got a plan in the works for the authentication already, > I just need to know how to do the secure sockets. Unless you're on a central system (or small cluster) where you could start an ssh-agent it sound like SSH just doesn't work for you. I was thinking of your problem as a remote monitoring situation (shows my bias :) and that's usually a whole different kettle of fish. > It sounds like the book is the perfect way go and probably has alot of > other useful information I can use. It's definitely the best reference for socket programming with perl. It doesn't go into detail on the SSL aspect, but that's because IO::Socket::SSL supports most of the IO::Socket::INET interface and thus can use identical code for most purpose. Just make sure you know what isn't implemented. You might also want to look at Net::Daemon::SSL so that you don't have to reinvent the wheel for the server side. Jonathan Conway From walter at frii.com Mon Mar 19 14:54:45 2001 From: walter at frii.com (Walter Pienciak) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] another forward Message-ID: ---------- Forwarded message ---------- Date: Mon, 19 Mar 2001 13:46:52 -0600 From: owner-boulder-pm-list@pm.org To: boulder-pm-list-approval@pm.org Subject: BOUNCE boulder-pm-list@pm.org: Non-member submission from ["Joel Sevinsky" ] >From walter@frii.com Mon Mar 19 13:46:51 2001 Received: from ucsu.colorado.edu (root@ucsu.Colorado.EDU [128.138.129.83]) by gocho.pm.org (8.11.3/8.11.3) with ESMTP id f2JJkp928054 for ; Mon, 19 Mar 2001 13:46:51 -0600 Received: from oemcomputer (chem103-27-dhcp.Colorado.EDU [128.138.103.27]) by ucsu.colorado.edu (8.10.0/8.10.0/ITS-5.0/standard) with SMTP id f2JJib101361 for ; Mon, 19 Mar 2001 12:44:37 -0700 (MST) From: "Joel Sevinsky" To: Subject: double posts Date: Mon, 19 Mar 2001 12:48:17 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Hello All, I have a question for everyone. I belong to many lists and two lists in particular have given me an annoying problem. The first is a gene array list for molecular biology. It seems whenever I receive mail from this list I get it in duplicate when I use Microsoft Outlook, but every other method (pine, mail) shows only single messages. Even Outlook itself thinks it is downloading single messages but two identical messages appear in my Gene Array folder. The owners of that list have no idea how this is happening but say that many people are experiencing the same problem. The reason I am asking this group is because a week ago (approximately) I started receiving double posts from this list. Does anyone have any idea why? I know that the simple and most agreeable solution is to stop using Microsoft Outlook, but I have many years of grad school all on Win9x and just 8 more months to go until I get my PhD, burn all the Win9x stuff to disk, and use Linux full time. Any help would be appreciated, particularly if there was any software or hardware changes pertaining to how the list mail is distributed. Thanks. Joel From walter at frii.com Thu Mar 22 11:28:34 2001 From: walter at frii.com (Walter Pienciak) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] outing request Message-ID: No, I don't want to know your sexual preference. But I would like to get out in them thar hills. Any takers for, oh, tomorrow afternoon? The weather might be marginal COZ038>040-222300- EASTERN LARIMER AND NORTHWESTERN WELD COUNTIES/FORT COLLINS AND VICINITY-EASTERN BOULDER COUNTY/BOULDER AND VICINITY-DENVER METROPOLITAN AREA- INCLUDING LOVELAND...NUNN...ERIE...LONGMONT...BRIGHTON...DENVER INTERNATIONAL AIRPORT...GOLDEN...PARKER 900 AM MST THU MAR 22 2001 .TODAY...PARTLY CLOUDY. ISOLATED SHOWERS OR THUNDERSTORMS IN THE AFTERNOON. HIGHS 60 TO 65. .TONIGHT...MOSTLY CLOUDY WITH ISOLATED EVENING SHOWERS AND THUNDERSTORMS. LOWS IN THE 30S. .FRIDAY...MOSTLY CLOUDY WITH SCATTERED AFTERNOON SHOWERS AND THUNDERSTORMS. HIGHS IN THE UPPER 50S TO THE LOWER 60S. CHANCE OF RAIN 30 PERCENT. .FRIDAY NIGHT...CLOUDY WITH A 40 PERCENT CHANCE OF SHOWERS POSSIBLY MIXING WITH SNOW LATE. LOWS 30 TO 35. but hey, I have a raincoat. If anyone's interested, let me know what time works for you. Suggested destinations are good too. (I just tend to wander around the mountain park otherwise.) Walter From rise at knavery.net Thu Mar 22 12:31:08 2001 From: rise at knavery.net (rise) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] outing request In-Reply-To: Message-ID: On Thu, 22 Mar 2001, Walter Pienciak wrote: > But I would like to get out in them thar hills. > Any takers for, oh, tomorrow afternoon? Works for me. > .FRIDAY...MOSTLY CLOUDY WITH SCATTERED AFTERNOON SHOWERS AND > THUNDERSTORMS. HIGHS IN THE UPPER 50S TO THE LOWER 60S. CHANCE OF > RAIN 30 PERCENT. We need the rain anyway. > but hey, I have a raincoat. If anyone's interested, let me know what > time works for you. Suggested destinations are good too. (I just tend > to wander around the mountain park otherwise.) Later in the afternoon is more convenient for me, but just about any time after 2 works. How about Red Rocks? Jonathan Conway rise@knavery.net From Robert.L.Harris at rdlg.net Thu Mar 22 13:39:44 2001 From: Robert.L.Harris at rdlg.net (Robert L. Harris) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] while{while{ ? Message-ID: <20010322123944.E14316@rdlg.net> I'm playing with forks and pipe() now. Here's a scenario: I have a parent that will get the names of some files to process. I will spawn children to do the processing and could have up to 4 children running at a time, with a number in the queue waiting, depending how fast the parent can prepare the files. Here's the rough structure: pipe(READER, WRITER) || die "$!"; (%Names)=&GetFileNames; my ($MaxProcess)="3"; my ($Processed)="0"; my ($PreProcessed)="0"; my ($Reading)="F"; my ($Keepgoing)="T"; while ($KeepGoing eq "T") { if (($Reading eq "F") && ($@Number >= $Pre-Processed)) { # # Make this fork a sub so we can do the processing as they're ready. # #$ReadyToProcess[$#ReadyToProcess]=&PrepareFile($Names{$Processed}); # $Reading="T"; $Pre-Processed++; } if ($#ReadyToProcess > 0) { $pid = fork {} if ($pid == 0) { close(READER); &DoProcess ($ReadyToProcess[0]); print WRITER "Done processing $ReadyToProcess[0]. Child Exiting.\n"; exit 0; } elsif ($pid > 0) { close(WRITER); ***************************************** $Processed++ if (Child exits based on content of $Reader)... ***************************************** } sleep 5; } (Debug, error catching, etc trimmed for readability) Now here's the delima. I need to have the parent read the filehandle reader, but not block, waiting on EOF so it can spawn more pre-process and processing files, but still read off of READER when data is there? Something like have the parrent check each itteration for data in the buffer, if there is some, do the processing, if not, continue on the loop. :wq! --------------------------------------------------------------------------- Robert L. Harris | Micros~1 : Senior System Engineer | For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' From SMSRussell at aol.com Thu Mar 22 18:04:00 2001 From: SMSRussell at aol.com (SMSRussell@aol.com) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] outing request Message-ID: In a message dated 3/22/01 10:41:08 AM Mountain Standard Time, walter@frii.com writes: << No, I don't want to know your sexual preference. >> Took me a minute to get the reference, since I didn't pay attention to the Subject line! (Thought I'd accidentally opened a spam...) Yes, I'd like to do an outing. I could do morning or late afternoon (maybe). Susan From walter at frii.com Thu Mar 22 19:14:52 2001 From: walter at frii.com (Walter Pienciak) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] outing request In-Reply-To: Message-ID: On Thu, 22 Mar 2001 SMSRussell@aol.com wrote: > Yes, I'd like to do an outing. I could do morning or late afternoon (maybe). > > Susan My workday is only so flexible, so it'll have to be tomorrow afternoon. How does 4 pm sound? How does Red Rocks Park (over there between Mapleton and Canyon just south of Mt. Sanitas) sound? A fun, short walk, with some uphill, but it ain't mountain climbing. We could meet at the entrance off Canyon. I think the Sanitas lots might be full by then. Walter From rise at knavery.net Thu Mar 22 22:42:33 2001 From: rise at knavery.net (rise) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] outing request In-Reply-To: Message-ID: On Thu, 22 Mar 2001, Walter Pienciak wrote: > How does 4 pm sound? How does Red Rocks Park (over there between > Mapleton and Canyon just south of Mt. Sanitas) sound? A fun, short > walk, with some uphill, but it ain't mountain climbing. > > We could meet at the entrance off Canyon. I think the Sanitas lots > might be full by then. Sounds good to me. Barring freak occurences I'll be there. Jonathan From walter at frii.com Thu Mar 22 22:57:22 2001 From: walter at frii.com (Walter Pienciak) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] outing request In-Reply-To: Message-ID: On Thu, 22 Mar 2001, rise wrote: > On Thu, 22 Mar 2001, Walter Pienciak wrote: > > > How does 4 pm sound? How does Red Rocks Park (over there between > > Mapleton and Canyon just south of Mt. Sanitas) sound? A fun, short > > walk, with some uphill, but it ain't mountain climbing. > > > > We could meet at the entrance off Canyon. I think the Sanitas lots > > might be full by then. > > Sounds good to me. Barring freak occurences I'll be there. > > Jonathan Sorry for this, but I can't make it at 4 -- but 4:30 is okay. (My oldest daughter is leaving for spring break in California at 4, and I want to see her off.) Walter From rise at knavery.net Thu Mar 22 23:27:48 2001 From: rise at knavery.net (rise) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] outing request In-Reply-To: Message-ID: On Thu, 22 Mar 2001, Walter Pienciak wrote: > Sorry for this, but I can't make it at 4 -- but 4:30 is okay. > > (My oldest daughter is leaving for spring break in California at 4, > and I want to see her off.) I can make 4:30. Susan? Jonathan From SMSRussell at aol.com Fri Mar 23 13:40:30 2001 From: SMSRussell at aol.com (SMSRussell@aol.com) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] outing request Message-ID: <66.d3ac438.27ed00ae@aol.com> In a message dated 3/22/01 10:32:42 PM Mountain Standard Time, rise@knavery.net writes: << I can make 4:30. Susan? >> Well, my husband has a 3:00 meeting, so it's hard to say. Don't wait for me, but I will try to make it if I can. I'll send another email when I know for sure! Susan From SMSRussell at aol.com Fri Mar 23 16:58:40 2001 From: SMSRussell at aol.com (SMSRussell@aol.com) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] outing request Message-ID: I will not be able to make the walk....hope it doesn't rain too hard on you all! Susan From Robert.L.Harris at rdlg.net Tue Mar 27 14:36:50 2001 From: Robert.L.Harris at rdlg.net (Robert L. Harris) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] Reading from a pipe with strict? Message-ID: <20010327133650.C26245@rdlg.net> I'm trying to check a pipe with select, with "use strict;" I have this line: my ($sel) = new IO::Select( READER ); with READER defined as: pipe(READER, WRITER) or die "Can't open pipe: $!\n"; and I'm getting this: Bareword "READER" not allowed while "strict subs" in use at ./encodeit line 133 (#1) What am I missing? :wq! --------------------------------------------------------------------------- Robert L. Harris | Micros~1 : Senior System Engineer | For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);' From Robert.L.Harris at rdlg.net Tue Mar 27 17:29:08 2001 From: Robert.L.Harris at rdlg.net (Robert L. Harris) Date: Wed Aug 4 23:58:31 2004 Subject: [boulder.pm] Reading from a pipe with strict? In-Reply-To: <3AC118C9.C800B97E@bivio.com>; from lichtin@bivio.com on Tue, Mar 27, 2001 at 03:48:41PM -0700 References: <20010327133650.C26245@rdlg.net> <3AC11596.EE1366A1@bivio.com> <20010327154142.D26245@rdlg.net> <3AC118C9.C800B97E@bivio.com> Message-ID: <20010327162908.A30662@rdlg.net> Know much about IO::Select and reading from it? I have this: while ($KeepGoing eq "T") { my ($sel) = new IO::Select( \*READER ); while(@PipeReady = $sel->can_read(5)) { foreach $FileHandle (@PipeReady) { if ($FileHandle == \*READER) { # We have something to read.... @LinesFromReader=<\*READER>; print "\@LinesFromReader :@LinesFromReader:\n" if ($Verbose eq "T"); foreach $tmp ( @LinesFromReader ) { #Process our lines if ( $tmp =~ /^Ripper/) { # Do something if output from child starts with "Ripper" } elsif ($tmp =~ /^Encoder/) { # Do something if output from child starts with "Encoder" } } } } } &DoSomeOtherStuffIndependantly; } It's all working nicely except when the pipe actually returns something and should go to the line with ^Ripper or ^Encoder. Then the print "\@LinesFromReader.... just prints alot of blank lines and doesn't quit as if it's not getting EOF from the dying child. $KeepGoing is set to F in the DoSomeOtherStuffIndependantly.... This is all kind of pieced together from what I've read here, there and everywhere. If someone has a good optimization, or such to repace the read, please speak up. Robert Thus spake Martin Lichtin (lichtin@bivio.com): > The * is the typeglob prefix, it makes it possible to pass > filehandles to subroutines. The \ converts it into a reference. > > Check out the perlsub manual page, where it says: > > If you're passing around filehandles, you could usually just use > the bare typeglob, like *STDOUT, but typeglobs references would be > better because they'll still work properly under use strict 'refs'. > For example: > > splutter(\*STDOUT); > sub splutter { > my $fh = shift; > print $fh "her um well a hmmm\n"; > } :wq! --------------------------------------------------------------------------- Robert L. Harris | Micros~1 : Senior System Engineer | For when quality, reliability at RnD Consulting | and security just aren't \_ that important! DISCLAIMER: These are MY OPINIONS ALONE. I speak for no-one else. FYI: perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'