From dgwilson at gtemail.net Mon Oct 1 12:48:44 2001 From: dgwilson at gtemail.net (Douglas Wilson) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: la.pm map Message-ID: <20011001174845.16707.qmail@verizonmail.com> From: Ask Bjoern Hansen > seems like I am winning the longest commute competition... Only because San Diego was outside of the map boundaries :) -Doug -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 From ask at valueclick.com Mon Oct 1 12:52:45 2001 From: ask at valueclick.com (Ask Bjoern Hansen) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: la.pm map In-Reply-To: <20011001174845.16707.qmail@verizonmail.com> Message-ID: On Tue, 2 Oct 2001, Douglas Wilson wrote: > > From: Ask Bjoern Hansen > > > seems like I am winning the longest commute competition... > > Only because San Diego was outside of the map > boundaries :) #@$@. You need to get SD.pm to make a map too then. =) - ask (today at work within crawling distance from his bed) -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From rspier at pobox.com Mon Oct 1 13:17:48 2001 From: rspier at pobox.com (Robert Spier) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: la.pm map In-Reply-To: References: <20010924214508.A19798@newbabe.mengwong.com> Message-ID: <15288.45900.487744.309731@rls.cx> >seems like I am winning the longest commute competition... Nope. :) >it would be fun if you could make it make lines between each persons >home and work; then we could see how people are (not?) commuting >across town. Sadly, tiger won't do that. You get what you pay for. Someone mentioned that XEarth has fancier features, but I'm pretty sure it's maps aren't as nice for doing "local things." Of course, if someone wants to write a tool that calculates linear distance based on latitude and longitudinal coordinats, I'd be happy to run it on the dataset. -R From rspier at pobox.com Mon Oct 1 13:18:57 2001 From: rspier at pobox.com (Robert Spier) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: la.pm map In-Reply-To: References: <20011001174845.16707.qmail@verizonmail.com> Message-ID: <15288.45969.407229.126841@rls.cx> >> Only because San Diego was outside of the map >> boundaries :) > >#@$@. You need to get SD.pm to make a map too then. =) I'd be happy to provide them with my script and URLs and such. > - ask (today at work within crawling distance from his bed) Long night? ;) -R (at work, wishing he was in bed.) From greg at evilfunhouse.com Mon Oct 1 13:21:14 2001 From: greg at evilfunhouse.com (Gregory Williams) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: la.pm map In-Reply-To: <15277.26189.367448.865123@rls.cx>; from rspier@pobox.com on Sat, Sep 22, 2001 at 09:34:21PM -0700 References: <15277.26189.367448.865123@rls.cx> Message-ID: <20011001142114.F4763@mangala.evilfunhouse.com> On Sat, Sep 22, 2001 at 09:34:21PM -0700, Robert Spier quoth: > I thought it would be neat to see how we (la.pm) is distributed > geographically around the region. I'm going to do this with a service > called Tiger, provided by the Census Bureau. [1] As an interesting side note, (or maybe I missed talk of it in this thread? :), Michael Schwern released the Geo::TigerLine module which provides a perl interface to using the Tiger data. He gave a talk on it at TPC5, and it looked pretty cool. http://search.cpan.org/search?dist=Geo-TigerLine Oh, and when I'm in LA, i'm at: 34.037743 N 118.486322 W thanks, .greg -- Working over a modem is like eating with chopsticks! - Adam Pisoni From ask at valueclick.com Mon Oct 1 15:24:26 2001 From: ask at valueclick.com (Ask Bjoern Hansen) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: la.pm map In-Reply-To: <15288.45969.407229.126841@rls.cx> Message-ID: On Mon, 1 Oct 2001, Robert Spier wrote: > > - ask (today at work within crawling distance from his bed) > > Long night? ;) No, too short. The sleeping part at least. :) > -R (at work, wishing he was in bed.) so you figured out how to talk to your box at home from work, huh? -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From rspier at pobox.com Mon Oct 1 17:20:13 2001 From: rspier at pobox.com (Robert Spier) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: la.pm map In-Reply-To: References: <15288.45969.407229.126841@rls.cx> Message-ID: <15288.60445.822802.454835@rls.cx> Ask Bjoern Hansen writes: >On Mon, 1 Oct 2001, Robert Spier wrote: >> > - ask (today at work within crawling distance from his bed) >> Long night? ;) >No, too short. The sleeping part at least. :) Aren't they all? >> -R (at work, wishing he was in bed.) >so you figured out how to talk to your box at home from work, huh? Apparently so. -R From darkuncle at darkuncle.net Tue Oct 2 15:40:24 2001 From: darkuncle at darkuncle.net (Scott Francis) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: ToorCon tomorrow! In-Reply-To: ; from disordr@hotmail.com on Fri, Sep 28, 2001 at 04:33:12AM +0000 References: Message-ID: <20011002134024.A23675@darkuncle.net> On Fri, Sep 28, 2001 at 04:33:12AM +0000, disordr c pontificated: > > Ok, Remind me, yet again, what are the hours/days of toorcon, and how much > is it? > I dont think I can go on Friday, But i'd like to visit on saturday. > where is it? > i guess i can go to the website, but i need some handholding here. > who will i know there? cp5? push? yep, anybody else from irc://#suid@irc.suidnet.org probably. it ran 10 - 8 Saturday and Sunday, more or less. > thanks, > > Philip -- Scott Francis darkuncle@ [home:] d a r k u n c l e . n e t Systems/Network Manager sfrancis@ [work:] t o n o s . c o m UNIX | IP networks | security | sysadmin | caffeine | BOFH | general geekery GPG public key 0xCB33CCA7 illum oportet crescere me autem minui -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 872 bytes Desc: not available Url : http://mail.pm.org/archives/losangeles-pm/attachments/20011002/df2194f6/attachment.bin From darkuncle at darkuncle.net Wed Oct 3 15:53:34 2001 From: darkuncle at darkuncle.net (Scott Francis) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: roomie wanted! Message-ID: <20011003135333.A27993@darkuncle.net> My current roommate is moving south to Orange County sometime soon (next month?) to be closer to several of his consluting clients. :) I am looking for a geek roomie to share a _very_ nice 2-br condo in the NoHo Arts District where the 101, 170 and 134 freeways converge. Parks, fitness, YMCA, lots of arts/theatre stuff, small restaurants in short walking distance. About 1.5 miles from Universal Studios and Ventura Blvd. I'm moving down to Encinitas next summer (about 8-9 months) but I'd really like to have a roommate in the meantime. Amenities include cable (free for the last year ;), full network services (DSL from cyberverse.net, highly reliable; full internal network w/firewall and public/private IP spaces, plus new 802.11b wireless :), fully furnished, yada yada yada. Rent: $1000 month, to be split 50/50. Plus utilities, currently running less than $100/month. If any of you are interested, or know somebody who is, please drop me a line and let me know. (robrt, if I'd known about then when you moved, we might be hacking in the same condo about now, and saving money on rent to boot ... =\) thanks all! -- Scott Francis darkuncle@ [home:] d a r k u n c l e . n e t Systems/Network Manager sfrancis@ [work:] t o n o s . c o m UNIX | IP networks | security | sysadmin | caffeine | BOFH | general geekery GPG public key 0xCB33CCA7 illum oportet crescere me autem minui -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 872 bytes Desc: not available Url : http://mail.pm.org/archives/losangeles-pm/attachments/20011003/1ef5e973/attachment.bin From CommPort5 at LucidX.com Wed Oct 3 18:41:23 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Back on Message-ID: <3BBBA223.8030402@LucidX.com> Well my main desktop (freebsd) which I get all my mail from has been down for a while and I'm not sure what's really wrong with it (when I plug it in it starts booting but it shouldn't and the few times it did boot up it would freeze sometimes before it even got to the OS or sometimes after). So I decided to install netscape (for mail) on windows and it's incredibly slow, ugly, and doesn't have some simple stuff I want, but at least I'm back to reading email. Also I've just been busy, just got back from toorcon with darkuncle (which was great) and school is a killer of time. Well, if anyone has an idea of what's wrong with the box, please do tell :) And I look forward to seeing you all at the next meeting -Samy Kamkar From rspier at pobox.com Thu Oct 4 11:57:18 2001 From: rspier at pobox.com (Robert Spier) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: roomie wanted! In-Reply-To: <20011003135333.A27993@darkuncle.net> References: <20011003135333.A27993@darkuncle.net> Message-ID: <1002214638.3bbc94eede78d@webmail.mengwong.com> Quoting Scott Francis : > (robrt, if I'd known about then when you moved, we might be hacking in > the > same condo about now, and saving money on rent to boot ... =\) Oh well! Crystal Balls don't always work the way they're supposed to. :) For anyone whose interested, Scott's apartment is really nice, and in a really great location. -R From asudarikov at xceed.com Fri Oct 5 13:28:39 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Prepend Message-ID: Hey there. Got a question fer ya. Can anyone please help me prepend a line to a file? What I have is this: I make a query and returned rows are many. I want to fetch them one by one and right them in a certain pipe-dilimeted format, counting them. I then need to make count of records the first line of that file that I was writing to. I can do another (SELECT COUNT(*)) query, but don't want to. I can put all info fetched into list and then count, but don't want to. And... I can't use $sth->rows; with my (Sybase) DBD. Please help. How do I prepend a line to a file? Cheers, Private Arkadiy From jeff at yoak.com Fri Oct 5 14:46:41 2001 From: jeff at yoak.com (Jeff Yoak) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Prepend In-Reply-To: Message-ID: <4.2.2.20011005123327.04510f08@pop.pandaconsulting.net> At 01:28 PM 10/5/2001 -0500, Arkadiy Sudarikov wrote: >Hey there. Got a question fer ya. Can anyone please help me prepend a line >to a file? There is no really cool way to do that... well... depending on what your idea of cool is. :-) I mean there is no way to "open to prepend" or anything. You either need to write a new file and move it, or read it in the memory and then open to write and print it out. Or if you need it flock safe because it might happen simultaneously, try open +< read it in, seek to the beginning, write your new line and then print the rest. Or if your priority is terseness of expression, you could: perl -pi -e 's/$_/newline\n$_/ if $.==1' foo.txt This puts "newline\n" as the first line. From asudarikov at xceed.com Fri Oct 5 13:50:38 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Prepend Message-ID: my $sth->prep... $sth->execute($foo, $bar$, $baz); my $records=0; while (my $hashref=$sth->fetchrow_hashref) { ++$records; print FILE $hashref->{'Data'}, "\n" } print FILE $records, "\n"; I kinda need to accomplish this, only last line that prints $records needs to go in the beginning of the file... Maybe something like seek, read, I-don't-know-what... Thanks, though! -----Original Message----- From: Andrew Baio [mailto:andy@waxy.org] Sent: Friday, October 05, 2001 11:41 AM To: Arkadiy Sudarikov Subject: Re: LA.pm: Prepend At 01:28 PM 10/05/2001 -0500, you wrote: >I can do another (SELECT COUNT(*)) query, but don't want to. >I can put all info fetched into list and then count, but don't want to. >And... I can't use $sth->rows; with my (Sybase) DBD. You're out of luck, I'm afraid. There's no way to get a count of records retrieved in Sybase without retrieving them all. So either load them into an array and get the count of the array, or append your output to a variable and increment a counter. When you're done doing either, write out to a file. -- Andy. From asudarikov at xceed.com Fri Oct 5 14:08:39 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Prepend Message-ID: Because I am expecting half a million records... Data comes from database for Hilton Hotels reservations, like... week's amount of reservations... worldwide. -----Original Message----- From: Andrew Baio [mailto:andy@waxy.org] Sent: Friday, October 05, 2001 12:03 PM To: asudarikov@xceed.com; list@la.pm.org Subject: Re: LA.pm: Prepend At 01:50 PM 10/05/2001 -0500, you wrote: >my $sth->prep... >$sth->execute($foo, $bar$, $baz); > >my $records=0; >while (my $hashref=$sth->fetchrow_hashref) { > ++$records; > print FILE $hashref->{'Data'}, "\n" } > >print FILE $records, "\n"; There's no way, that I know of, to prepend a line to a filehandle without opening and reading the file. This a FAQ, actually (question 2): http://www.perldoc.com/perl5.6/pod/perlfaq5.html Why not just wait to write the output? >my ($records, $out); >while (my $hashref = $sth->fetchrow_hashref) { > $records++; > $out .= $hashref->{'Data'} . "\n"; >} > >print FILE $records . "\n"; >print FILE $out; -- Andy. From jamespitts at yahoo.com Fri Oct 5 16:45:33 2001 From: jamespitts at yahoo.com (James Pitts) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Prepend In-Reply-To: Message-ID: <20011005214533.78678.qmail@web9608.mail.yahoo.com> Does the following query work in Sybase: select count(*) as count, * from table Arkadiy Sudarikov wrote: Hey there. Got a question fer ya. Can anyone please help me prepend a line to a file? What I have is this: I make a query and returned rows are many. I want to fetch them one by one and right them in a certain pipe-dilimeted format, counting them. I then need to make count of records the first line of that file that I was writing to. I can do another (SELECT COUNT(*)) query, but don't want to. I can put all info fetched into list and then count, but don't want to. And... I can't use $sth->rows; with my (Sybase) DBD. Please help. How do I prepend a line to a file? Cheers, Private Arkadiy --------------------------------- Do You Yahoo!? NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. Yahoo! by Phone. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/losangeles-pm/attachments/20011005/7084fc9e/attachment.htm From asudarikov at xceed.com Fri Oct 5 16:49:06 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Re: Prepend Message-ID: Yes, it does... Only "AS Count" won't work, because COUNT is a name of a function (in fact, you're using it)... So, SELECT COUNT(*) AS C FROM table works... and SELECT COUNT(*) AS Records FROM table works... Cheers, Arkadiy Does the following query work in Sybase: select count(*) as count, * from table From jamespitts at yahoo.com Fri Oct 5 17:32:03 2001 From: jamespitts at yahoo.com (James Pitts) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Prepend In-Reply-To: Message-ID: <20011005223203.85704.qmail@web9608.mail.yahoo.com> Shit. Depending on what kind of machine you are doing this on, you may have to do this in several chunks. Maybe 100,000 records each. You might want to create a temp data file before attempting the prepend. You could then use direct unix commands (cat) to prepend the target file with the data in the temp file. This is how I would do it on my anemic amd box with 128M ram. - James Arkadiy Sudarikov wrote: Because I am expecting half a million records... Data comes from database for Hilton Hotels reservations, like... week's amount of reservations... worldwide. --------------------------------- Do You Yahoo!? NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. Yahoo! by Phone. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/losangeles-pm/attachments/20011005/9ee8782b/attachment.htm From dgwilson at gtemail.net Fri Oct 5 18:37:26 2001 From: dgwilson at gtemail.net (Douglas Wilson) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Prepend Message-ID: <20011005233727.8465.qmail@verizonmail.com> > >my ($records, $out); > >while (my $hashref = $sth->fetchrow_hashref) { > > $records++; > > $out .= $hashref->{'Data'} . "\n"; > >} > > > >print FILE $records . "\n"; > >print FILE $out; Hmm, you could print a blank line with about 10 spaces to begin, print all your records, then seek back to the beginning of the file and print the number of records without a newline. As long as the number isn't over a gazillion and you don't mind some blank spaces after the number, it should work. You could even format the number to be right justified within those 10 spaces with sprintf. -Doug -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 From asudarikov at xceed.com Fri Oct 5 14:39:27 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Re: Prepend Message-ID: Here is what I am going to do: my $sth=$dbh->prepare(q(...)); $sth->execute($foo, $bar, $baz); my $records=0; while ($sth->fetchrow) { ++$records } print FILE $records, "\n"; $sth->execute($foo, $bar, $baz); while (my $hashref=$sth->fetchrow_hashref) { print FILE $hashref->{'Data'}, "\n" } $sth->finish; It's prepared once, cached, and executed twice. First time to get the count, second to format and output data. From ask at valueclick.com Sat Oct 6 04:44:28 2001 From: ask at valueclick.com (Ask Bjoern Hansen) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Re: Prepend In-Reply-To: Message-ID: On Fri, 5 Oct 2001, Arkadiy Sudarikov wrote: > It's prepared once, cached, and executed twice. First time to get the count, > second to format and output data. That must be about three billion times more inefficient than just doing count(*) the first time. (Or saving to a temporary file and then creating the final file after you have the count). - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From rspier at pobox.com Sun Oct 7 18:02:15 2001 From: rspier at pobox.com (Robert Spier) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Map Updates Message-ID: <15296.57079.720691.209656@rls.cx> Dear phl.pm and la.pm, I've updated my maps - neither looks too interesting because they don't have too many dots. But since interest seems to be slim, I'm crossing this project off my todo list, but i will update it periodically if people send me new data. http://newbabe.pobox.com/~rspier/lapm/lapm-map.gif http://newbabe.pobox.com/~rspier/lapm/phlpm-map.gif -R From darkuncle at darkuncle.net Wed Oct 10 17:46:57 2001 From: darkuncle at darkuncle.net (Scott Francis) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: next LA.pm Message-ID: <20011010154657.A50804@darkuncle.net> unfortunately, about 10 days ago my fiancee scheduled for us to go down to Encinitas this weekend to visit family and check out apartments and stuff. So it looks like I'll have to postpone my talk on Practical Perl for Sysadmins until next month's meeting. Sorry. =\ (OTOH, I'm sure I'll be having a wonderful time down on the beach ... ;) -- Scott Francis darkuncle@ [home:] d a r k u n c l e . n e t Systems/Network Manager sfrancis@ [work:] t o n o s . c o m UNIX | IP networks | security | sysadmin | caffeine | BOFH | general geekery GPG public key 0xCB33CCA7 illum oportet crescere me autem minui -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 872 bytes Desc: not available Url : http://mail.pm.org/archives/losangeles-pm/attachments/20011010/8d662721/attachment.bin From conrad at fringehead.org Wed Oct 10 17:55:16 2001 From: conrad at fringehead.org (Conrad Heiney) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: next LA.pm In-Reply-To: <5917FBD67850D511B8810002554C28F501274EE3@la-mail01.foxsports.net> Message-ID: <5917FBD67850D511B8810002554C28F56244C6@la-mail01.foxsports.net> How about "Practical Perl for Sysadmins: Writing a Perlpoint Presentation that Does your Presentation For you while you're Cuddling in San Diego with your Fiancee"? ISAGN > -----Original Message----- > From: owner-losangeles-pm@pm.org > [mailto:owner-losangeles-pm@pm.org] On Behalf Of Scott Francis > Sent: Wednesday, October 10, 2001 3:47 PM > To: list@la.pm.org > Subject: LA.pm: next LA.pm > > > unfortunately, about 10 days ago my fiancee scheduled for us > to go down to Encinitas this weekend to visit family and > check out apartments and stuff. So it looks like I'll have to > postpone my talk on Practical Perl for Sysadmins until next > month's meeting. Sorry. =\ > > (OTOH, I'm sure I'll be having a wonderful time down on the > beach ... ;) > -- > Scott Francis darkuncle@ [home:] d a r k u > n c l e . n e t > Systems/Network Manager sfrancis@ [work:] t > o n o s . c o m > UNIX | IP networks | security | sysadmin | caffeine | BOFH | > general geekery > GPG public key 0xCB33CCA7 illum oportet crescere > me autem minui > From ask at valueclick.com Wed Oct 10 18:19:38 2001 From: ask at valueclick.com (Ask Bjoern Hansen) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: next LA.pm In-Reply-To: <5917FBD67850D511B8810002554C28F56244C6@la-mail01.foxsports.net> Message-ID: On Wed, 10 Oct 2001, Conrad Heiney wrote: > How about "Practical Perl for Sysadmins: Writing a Perlpoint > Presentation that Does your Presentation For you while you're Cuddling > in San Diego with your Fiancee"? ISAGN At TPC I gave up and did my slides in PowerPoint (over beer the night before, uhu). A PerlPoint talk would be nice. :-) - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From darkuncle at darkuncle.net Wed Oct 10 23:19:02 2001 From: darkuncle at darkuncle.net (Scott Francis) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: next LA.pm In-Reply-To: <5917FBD67850D511B8810002554C28F56244C6@la-mail01.foxsports.net>; from conrad@fringehead.org on Wed, Oct 10, 2001 at 03:55:16PM -0700 References: <5917FBD67850D511B8810002554C28F501274EE3@la-mail01.foxsports.net> <5917FBD67850D511B8810002554C28F56244C6@la-mail01.foxsports.net> Message-ID: <20011010211902.A52616@darkuncle.net> On Wed, Oct 10, 2001 at 03:55:16PM -0700, Conrad Heiney pontificated: > How about "Practical Perl for Sysadmins: Writing a Perlpoint > Presentation that Does your Presentation For you while you're Cuddling > in San Diego with your Fiancee"? ISAGN heh, now THAT is something I could definitely go for. ;) -- Scott Francis darkuncle@ [home:] d a r k u n c l e . n e t Systems/Network Manager sfrancis@ [work:] t o n o s . c o m UNIX | IP networks | security | sysadmin | caffeine | BOFH | general geekery GPG public key 0xCB33CCA7 illum oportet crescere me autem minui -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 868 bytes Desc: not available Url : http://mail.pm.org/archives/losangeles-pm/attachments/20011010/dbb8bc31/attachment.bin From ronnetron at hotmail.com Thu Oct 11 18:49:04 2001 From: ronnetron at hotmail.com (Ron Smith) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Saturday's Meeting Message-ID: What time is the meeting, and where? Ron _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp From CommPort5 at LucidX.com Thu Oct 11 20:30:44 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Saturday's Meeting References: Message-ID: <3BC647C4.6010604@LucidX.com> The meeting's this Saturday at 5PM at the Blur in Venice, address on the page. All meeting information will always be posted on the site http://la.pm.org/meetings/ (that has address, discussion, etc.) Ron Smith wrote: > What time is the meeting, and where? > > Ron > > > _________________________________________________________________ > Get your FREE download of MSN Explorer at > http://explorer.msn.com/intl.asp > > > -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From CommPort5 at LucidX.com Fri Oct 12 18:07:20 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Getting to Saturday's meeting! Message-ID: <3BC777A8.8060105@LucidX.com> Hey, everyone! Well, something came up and I 'just' found out I'm unable to get a ride to the meeting tomorrow, so is anyone going through Pasadena to get to the meeting and would be willing to give me a lift (I'm actually in Arcadia, right next to Pasadena)? And of course I'll pay for gas and anything else needed :) Thanks -Samy From CommPort5 at LucidX.com Fri Oct 12 22:50:53 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Getting to Saturday's meeting! References: <3BC777A8.8060105@LucidX.com> Message-ID: <3BC7BA1D.7080307@LucidX.com> Paul was nice enough to offer me a ride so tomorrow I'll be coming with him and everything is still as planned. Only person not able to make it is Scott (at least he'll have fun in Encinitas) but we still have James and Bryan speaking and Duane will have to show us some neat stuff that's done at the Blur :) So I'll see you all tomorrow and hope to also see some new faces -Samy From bbacker at yahoo.com Sat Oct 13 12:41:04 2001 From: bbacker at yahoo.com (Bryan Backer) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: computer at tonight's meeting? Message-ID: <20011013174104.20778.qmail@web12103.mail.yahoo.com> I'll be at tonight's meeting and plan to share some info and a simple example of Inline and wrapping C funcs. However, my laptop is too ill to attend -- will somebody else have a machine there that I can stick a floppy into to display some HTML ? Actually, I never asked how many people are coming -- will we need more than one machine to huddle around ? Thanks, Bryan ===== ------------ bbacker@mail.yahoo.com __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com From CommPort5 at LucidX.com Sat Oct 13 12:56:58 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: computer at tonight's meeting? References: <20011013174104.20778.qmail@web12103.mail.yahoo.com> Message-ID: <3BC8806A.1090808@LucidX.com> Well I _just_ bought a laptop about a week ago and can bring that...it's an old machine and has nothing but a default install of some version of windows but I'm sure it will do. There might be machines at the Blur you could use but I'm not sure about that. We also probably won't get any more people than we would at the last meeting. -Samy Bryan Backer wrote: >I'll be at tonight's meeting and plan to >share some info and a simple example of >Inline and wrapping C funcs. > >However, my laptop is too ill to attend -- >will somebody else have a machine there >that I can stick a floppy into to display >some HTML ? Actually, I never asked how >many people are coming -- will we need >more than one machine to huddle around ? > >Thanks, >Bryan > > > >===== >------------ bbacker@mail.yahoo.com > >__________________________________________________ >Do You Yahoo!? >Make a great connection at Yahoo! Personals. >http://personals.yahoo.com > > -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From darkuncle at darkuncle.net Sat Oct 13 16:06:00 2001 From: darkuncle at darkuncle.net (Scott Francis) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Getting to Saturday's meeting! In-Reply-To: <3BC7BA1D.7080307@LucidX.com>; from CommPort5@LucidX.com on Fri, Oct 12, 2001 at 08:50:53PM -0700 References: <3BC777A8.8060105@LucidX.com> <3BC7BA1D.7080307@LucidX.com> Message-ID: <20011013140600.A61130@darkuncle.net> On Fri, Oct 12, 2001 at 08:50:53PM -0700, Samy Kamkar [CommPort5] pontificated: > Paul was nice enough to offer me a ride so tomorrow I'll be coming with > him and everything is still as planned. Only person not able to make it > is Scott (at least he'll have fun in Encinitas) but we still have James > and Bryan speaking and Duane will have to show us some neat stuff that's > done at the Blur :) I am actually coming at you LIVE from Encinitas right now :) (courtesy of my brand spankin' new FREE sprintpcs wireless modem - the thing actually works (well, enough for a shell connection, if I'm not too impatient about the lag ... 14.4 is back again ... :) ) get yours at http://sprintpcs.i33.com/b2bwwmodem/signup.asp if they're not out already) I'm now a big fan of this card. If I could just get it hacked to work under OpenBSD ... :) at least it's recognized and configured properly by the generic kernel ... > So I'll see you all tomorrow and hope to also see some new faces Hope you guys are having fun - I'll see you all next month for sure ... > -Samy -- Scott Francis darkuncle@ [home:] d a r k u n c l e . n e t Systems/Network Manager sfrancis@ [work:] t o n o s . c o m UNIX | IP networks | security | sysadmin | caffeine | BOFH | general geekery GPG public key 0xCB33CCA7 illum oportet crescere me autem minui -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 872 bytes Desc: not available Url : http://mail.pm.org/archives/losangeles-pm/attachments/20011013/25663630/attachment.bin From CommPort5 at LucidX.com Sat Oct 13 16:13:24 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Getting to Saturday's meeting! References: <3BC777A8.8060105@LucidX.com> <3BC7BA1D.7080307@LucidX.com> <20011013140600.A61130@darkuncle.net> Message-ID: <3BC8AE74.5030100@LucidX.com> Yeah, I hear those are cool. I actually ordered one some time ago (but they stopped the offer a few days ago)...they said they sent it but I just gotta check my mail for it now. I also have to get a regular ethernet card for my laptop that works...I have two but neither work, any recommendations from anyone for just a regular eth card that works on both nix and win? > >I am actually coming at you LIVE from Encinitas right now :) >(courtesy of my brand spankin' new FREE sprintpcs wireless modem - the thing >actually works (well, enough for a shell connection, if I'm not too impatient >about the lag ... 14.4 is back again ... :) ) get yours at >http://sprintpcs.i33.com/b2bwwmodem/signup.asp if they're not out already) > >I'm now a big fan of this card. If I could just get it hacked to work under >OpenBSD ... :) at least it's recognized and configured properly by the >generic kernel ... > >>So I'll see you all tomorrow and hope to also see some new faces >> > >Hope you guys are having fun - I'll see you all next month for sure ... > Hope you're havin fun too > -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From darkuncle at darkuncle.net Sat Oct 13 16:37:45 2001 From: darkuncle at darkuncle.net (Scott Francis) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Getting to Saturday's meeting! In-Reply-To: <3BC8AE74.5030100@LucidX.com>; from CommPort5@LucidX.com on Sat, Oct 13, 2001 at 02:13:24PM -0700 References: <3BC777A8.8060105@LucidX.com> <3BC7BA1D.7080307@LucidX.com> <20011013140600.A61130@darkuncle.net> <3BC8AE74.5030100@LucidX.com> Message-ID: <20011013143745.B61130@darkuncle.net> On Sat, Oct 13, 2001 at 02:13:24PM -0700, Samy Kamkar [CommPort5] pontificated: > Yeah, I hear those are cool. I actually ordered one some time ago (but > they stopped the offer a few days ago)...they said they sent it but I > just gotta check my mail for it now. > I also have to get a regular ethernet card for my laptop that works...I > have two but neither work, any recommendations from anyone for just a > regular eth card that works on both nix and win? 3com or IBM is your best bet for something that's hassle-free. I'm actually using an old (REALLY old) IBM 'ethernet II' pcmcia NIC that only does 10mbps (but then again, I never really use it, now that I have 802.11b running in the house :) ). > Hope you're havin fun too so far, so good :) -- Scott Francis darkuncle@ [home:] d a r k u n c l e . n e t Systems/Network Manager sfrancis@ [work:] t o n o s . c o m UNIX | IP networks | security | sysadmin | caffeine | BOFH | general geekery GPG public key 0xCB33CCA7 illum oportet crescere me autem minui -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 872 bytes Desc: not available Url : http://mail.pm.org/archives/losangeles-pm/attachments/20011013/9cb5a3a6/attachment.bin From CommPort5 at LucidX.com Sun Oct 14 14:59:38 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: how perl saved my life Message-ID: <3BC9EEAA.7000908@LucidX.com> Just about ten minutes ago, I screwed up. I was working on my compression program (and I have a lot of it finished) and then something just popped into my head that..something in HTML I wanted to try, so I did. I opened up /webdir/other/tmp.html and played around for a bit then when I was finished I wanted to get rid of it, so instead of rm /webdir/other/tmp.html, I did rm tmp (having bash complete the file). Funny thing was, I wasn't in /webdir/other/, I was in the compression code directory and I just happened to name the program 'tmpbzip'. bash-2.03$ rm tmpbzip Bang, I'm dead. Now I knew the data was still somewhere on the partition, but wouldn't be there for long since it would be overwritten very quickly. So I had to think of something fast and didn't want to run any commands or anything that would happen to overwrite that data in the partition. I then su'd root for whatever I would need to do and then did a `df`: su-2.03# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 49583 29898 15719 66% / /dev/ad0s1f 1893575 1430752 311337 82% /usr /dev/ad0s1e 19815 11976 6254 66% /var procfs 4 4 0 100% /proc The file I deleted happened to be on /usr, so I knew that partition was /dev/ad0s1f. The pressure was on, heart was beating *buh-boom..buh-boom* I also remembered in the header of the program I was working on, a few lines after #!/usr/bin/perl, I had the usage statement which went something like: bzip [ -fvV123456... And I also knew /var was on a different fs. This is good to know if I need to write data anywhere because if I write something to /usr, there's a big chance my data (program still in the filesystem) will be overwritten. So bam: su-2.03# perl -e 'open(X,"/dev/ad0s1f");while(sysread(X,$x,4096)){if($l==1){print $x}if($x=~/-fvV123/){$l=1;print $x;}}' > /var/data ... a few minutes go by ... Oct 14 12:31:49 LucidX /kernel: pid 7643 (perl), uid 0 on /var: file system full We found something! I ^C and head /var/data: su-2.03# head -n 30 /var/data #!/usr/bin/perl # # bzip 0.1 # # usage: bzip [ -fvV12345679 ] Perl saved my life. Just thought this would be cool to share with all of you, just in case any of you run into the same problem (I believ ext2 has some type of recovery thing you can use but this was on FreeBSD)... So simply, how the program works, so you all know....(here's a nice-a-fied version, I wasn't looking for a clean program at the time :) open(X, " Someone from activestate asked me to forward this on to the list and I thought it may be of interest to some of you, especially since it's in LA. Get plugged into Visual Studio .NET with Perl, Python & XSLT ActiveState @ Microsoft Professional Developers Conference Los Angeles, CA, 2001/10/16 Keen on seeing the latest open source programming languages work with cutting-edge Microsoft technologies? We'll be at PDC 2001, Oct. 22-26, at the LA Convention Center. Drop by our booth #438 for interactive demos and have your fortune told with Visual Perl's new Web services functionality. Or come to a talk to check out the new Perl, Python and XSLT tools for Visual Studio .NET. We'll be featuring Visual Perl, Visual Python, and Visual XSLT, our high-productivity development environment plug-ins for Visual Studio .NET. We're also showing ActiveState's new PerlNET technology, which makes it possible to build .NET components using Perl, and makes existing Perl code available to .NET framework applications. ActiveState demos will also be held at the VSIP booth in the Microsoft Pavilion. Learn more at a technical talk featuring ActiveState technologies: Panel: Programming Languages and Compilers Speaker: Jan Dubois, Senior Perl developer, ActiveState When: Tuesday, Oct. 23, from 6-9 pm Where: Partner Theatre Session: System.XML Drilldown Get an introduction to System.Xml and see Visual XSLT in action Speaker: Fadi Fakhouri, Program Manager, Microsoft When: October 24 @ 1:15 pm Where: Room 403AB Hope to see you there! -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From asudarikov at xceed.com Wed Oct 17 18:16:53 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:06 2004 Subject: LA.pm: Quotes Message-ID: Heya, kids, I have a perl code that's got both ' and " (I can't substitute them, unless, of course, I do, like, \cddd or something). I want to run it with perl -e. perl -e uses ' or " and this conflicts with my snippet. What's your suggestions? Thanks, Private Arkadiy From jeff at yoak.com Wed Oct 17 18:23:20 2001 From: jeff at yoak.com (Jeff Yoak) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Quotes In-Reply-To: Message-ID: <4.2.2.20011017162247.037fcea8@pop.pandaconsulting.net> At 06:16 PM 10/17/2001 -0500, Arkadiy Sudarikov wrote: >Heya, kids, I have a perl code that's got both ' and " (I can't substitute >them, unless, of course, I do, like, \cddd or something). I want to run it >with perl -e. perl -e uses ' or " and this conflicts with my snippet. What's >your suggestions? Send us the snippet... we'll escape it for perl -e. Cheers, Jeff From greg at evilfunhouse.com Wed Oct 17 18:50:43 2001 From: greg at evilfunhouse.com (Gregory Williams) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Quotes In-Reply-To: ; from asudarikov@xceed.com on Wed, Oct 17, 2001 at 06:16:53PM -0500 References: Message-ID: <20011017195042.J1161@mangala.evilfunhouse.com> On Wed, Oct 17, 2001 at 06:16:53PM -0500, Arkadiy Sudarikov quoth: > Heya, kids, I have a perl code that's got both ' and " (I can't substitute > them, unless, of course, I do, like, \cddd or something). I want to run it > with perl -e. perl -e uses ' or " and this conflicts with my snippet. What's > your suggestions? Use q{} and qq{} instead of '' and "". .g -- You don't need teeth to program! - Adam Pisoni From dgwilson at gtemail.net Wed Oct 17 19:12:39 2001 From: dgwilson at gtemail.net (Douglas Wilson) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Quotes Message-ID: <20011018001240.2792.qmail@verizonmail.com> From: Arkadiy Sudarikov > Heya, kids, I have a perl code that's got both ' and " (I can't substitute > them, unless, of course, I do, like, \cddd or something). I want to run it > with perl -e. perl -e uses ' or " and this conflicts with my snippet. What's > your suggestions? w/*nix you can just wrap the whole thing in double quotes, then just backslash any inner double quotes. And/or use q{} or qq{} if that's all you're using the inner quotes for. -Doug -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 From asudarikov at xceed.com Wed Oct 17 19:17:54 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Quotes Message-ID: Thanks, ya all. But what to do if my " is in regex (pattern-matching)? -----Original Message----- From: Douglas Wilson [mailto:dgwilson@gtemail.net] Sent: Wednesday, October 17, 2001 5:13 PM To: Arkadiy Sudarikov; list@la.pm.org Subject: Re: LA.pm: Quotes From: Arkadiy Sudarikov > Heya, kids, I have a perl code that's got both ' and " (I can't substitute > them, unless, of course, I do, like, \cddd or something). I want to run it > with perl -e. perl -e uses ' or " and this conflicts with my snippet. What's > your suggestions? w/*nix you can just wrap the whole thing in double quotes, then just backslash any inner double quotes. And/or use q{} or qq{} if that's all you're using the inner quotes for. -Doug -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 From asudarikov at xceed.com Wed Oct 17 18:51:20 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Quotes Message-ID: No, no, I don't need to quote anything in my snippet, I need to just use (let's say, print) these ("'", """) characters.. On Wed, Oct 17, 2001 at 06:16:53PM -0500, Arkadiy Sudarikov quoth: > Heya, kids, I have a perl code that's got both ' and " (I can't substitute > them, unless, of course, I do, like, \cddd or something). I want to run it > with perl -e. perl -e uses ' or " and this conflicts with my snippet. What's > your suggestions? Use q{} and qq{} instead of '' and "". .g -- You don't need teeth to program! - Adam Pisoni From CommPort5 at LucidX.com Wed Oct 17 20:46:40 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Quotes References: Message-ID: <3BCE3480.7080103@LucidX.com> This probably isn't the best idea, but it's a way. You can just store both of them in variables and access them later (or call them directly later with chr()), like this: $dquote = chr(34); # " $squote = chr(39); # ' Arkadiy Sudarikov wrote: >No, no, I don't need to quote anything in my snippet, I need to just use >(let's say, print) these ("'", """) characters.. > >On Wed, Oct 17, 2001 at 06:16:53PM -0500, Arkadiy Sudarikov quoth: > >>Heya, kids, I have a perl code that's got both ' and " (I can't substitute >>them, unless, of course, I do, like, \cddd or something). I want to run it >>with perl -e. perl -e uses ' or " and this conflicts with my snippet. >> >What's > >>your suggestions? >> > >Use q{} and qq{} instead of '' and "". > >.g > -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From asudarikov at xceed.com Wed Oct 17 18:27:05 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Re: Quotes Message-ID: Are you saying that perl -e doesn't need to be quoted? From dgwilson at gtemail.net Thu Oct 18 15:59:55 2001 From: dgwilson at gtemail.net (Douglas Wilson) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Quotes Message-ID: <20011018205956.30119.qmail@verizonmail.com> From: Arkadiy Sudarikov > Thanks, ya all. But what to do if my " is in regex (pattern-matching)? Its *nix, right (Windows has much stranger command line quoting requirements)?? # print lines containing single or double quotes perl -n -e "print if /['"\""]/" The first single quote is inside double quotes, so its safe. The first double quote terminates the first part of the -e argument. The second double quote is escaped, so it becomes a literal part of the -e expression (as long as there's no whitespace, the argument continues). The third double quote starts the next part of the -e argument. And you know what the last double quote does. Another possible option is a here doc: perl <) { print if /['"]/; } EOT -Doug -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 From asudarikov at xceed.com Fri Oct 19 16:41:23 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Regex Message-ID: Call me dumb mofo, but... I still don't get it... I mean, I have this string in hash ref, accessible as $hashref->{'Foo'}. That string contains, like, numbers and spaces. Now, I need to do print join ', ', 'foo', $hashref->{'Foo'}, 'bar'; but I need to strip spaces from $hashref->{'Foo'}. So, how can I do my s/\s+//g within this context, on the same line? Something like print join ', ', 'foo', $hashref->{'Foo'}=~ s/\s+//g, 'bar'; Thanks for help, Private Arkadiy From CommPort5 at LucidX.com Fri Oct 19 17:55:00 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Regex References: Message-ID: <3BD0AF44.5010806@LucidX.com> If I were you, I'd just do it in seperate functions...here's a way, but there may be better ways (although best way is to just to first s/// then do the print :) print join(", ", "foo", ($x->{'Foo'} =~ s/\s+//g) && $x->{'Foo'}, "bar\n"); Arkadiy Sudarikov wrote: >Call me dumb mofo, but... I still don't get it... > >I mean, I have this string in hash ref, accessible as $hashref->{'Foo'}. >That string contains, like, numbers and spaces. > >Now, I need to do print join ', ', 'foo', $hashref->{'Foo'}, 'bar'; but I >need to strip spaces from $hashref->{'Foo'}. So, how can I do my s/\s+//g >within this context, on the same line? Something like print join ', ', >'foo', $hashref->{'Foo'}=~ s/\s+//g, 'bar'; > >Thanks for help, >Private Arkadiy > > -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From CommPort5 at LucidX.com Fri Oct 19 18:01:12 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Regex [Ack!] References: Message-ID: <3BD0B0B8.3030800@LucidX.com> Ack! Jeremy just sent in a better way (but his message bounced ... so I'm passing this along for him): " print join ', ', 'foo', split(/\s+/, $hashref->{'Foo'}), 'bar' Jeremy -- "If you can talk you can sing. If you can walk you can dance." " Arkadiy Sudarikov wrote: >Call me dumb mofo, but... I still don't get it... > >I mean, I have this string in hash ref, accessible as $hashref->{'Foo'}. >That string contains, like, numbers and spaces. > >Now, I need to do print join ', ', 'foo', $hashref->{'Foo'}, 'bar'; but I >need to strip spaces from $hashref->{'Foo'}. So, how can I do my s/\s+//g >within this context, on the same line? Something like print join ', ', >'foo', $hashref->{'Foo'}=~ s/\s+//g, 'bar'; > >Thanks for help, >Private Arkadiy > > -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From david at cnation.com Fri Oct 19 19:17:36 2001 From: david at cnation.com (David Pisoni) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Regex In-Reply-To: <3BD0AF44.5010806@LucidX.com> References: <3BD0AF44.5010806@LucidX.com> Message-ID: Methinks the && construction will short circuit (read, not print anything) if $x->{'Foo'} has no whitespace at all. IMHO your original advice is best -- do the substitution first. Enjoy, David At 15.55 -0700 10/19/2001, Samy Kamkar [CommPort5] wrote: >If I were you, I'd just do it in seperate functions...here's a way, but there may be better ways (although best way is to just to first s/// then do the print :) > >print join(", ", "foo", ($x->{'Foo'} =~ s/\s+//g) && $x->{'Foo'}, "bar\n"); > >Arkadiy Sudarikov wrote: > >>Call me dumb mofo, but... I still don't get it... >> >>I mean, I have this string in hash ref, accessible as $hashref->{'Foo'}. >>That string contains, like, numbers and spaces. >> >>Now, I need to do print join ', ', 'foo', $hashref->{'Foo'}, 'bar'; but I >>need to strip spaces from $hashref->{'Foo'}. So, how can I do my s/\s+//g >>within this context, on the same line? Something like print join ', ', >>'foo', $hashref->{'Foo'}=~ s/\s+//g, 'bar'; >> >>Thanks for help, >>Private Arkadiy >> > >-- >Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com >LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From dgwilson at gtemail.net Fri Oct 19 20:17:35 2001 From: dgwilson at gtemail.net (Douglas Wilson) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Regex Message-ID: <20011020011735.2683.qmail@verizonmail.com> > print join(", ", "foo", ($x->{'Foo'} =~ s/\s+//g) && $x->{'Foo'}, "bar\n"); That will only succeed if there ARE spaces in the variable. But you're right, its probably better to just do it in two steps. Though you could do (ugly though): print join(", ", "foo", do {(local $_ = $$x{'Foo'}; s/\s+//g; $_ }, "bar\n"; -Doug -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 From CommPort5 at LucidX.com Fri Oct 19 20:34:51 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Regex References: <3BD0AF44.5010806@LucidX.com> Message-ID: <3BD0D4BB.4080709@LucidX.com> Yup, shoulda made the + a * ( s/\s*//g ) but I would just go with either two seperate functions or what Jeremy said: print join ', ', 'foo', split(/\s+/, $hashref->{'Foo'}), 'bar' -Samy Samy Kamkar wrote: > If I were you, I'd just do it in seperate functions...here's a way, > but there may be better ways (although best way is to just to first > s/// then do the print :) > > print join(", ", "foo", ($x->{'Foo'} =~ s/\s+//g) && $x->{'Foo'}, > "bar\n"); > > Arkadiy Sudarikov wrote: > >> Call me dumb mofo, but... I still don't get it... >> >> I mean, I have this string in hash ref, accessible as $hashref->{'Foo'}. >> That string contains, like, numbers and spaces. >> >> Now, I need to do print join ', ', 'foo', $hashref->{'Foo'}, 'bar'; >> but I >> need to strip spaces from $hashref->{'Foo'}. So, how can I do my >> s/\s+//g >> within this context, on the same line? Something like print join ', ', >> 'foo', $hashref->{'Foo'}=~ s/\s+//g, 'bar'; >> >> Thanks for help, >> Private Arkadiy >> >> > -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From rspier at pobox.com Sat Oct 20 13:04:33 2001 From: rspier at pobox.com (Robert Spier) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: fwd: Happy Birthday Perl 5 Message-ID: <15313.48305.934082.475799@rls.cx> ------- start of forwarded message ------- Date: Wed, 17 Oct 2001 22:32:23 -0400 To: perl5-porters@perl.org From: Mark-Jason Dominus cc: mjd@plover.com Subject: Happy Birthday Perl 5 Message-ID: <20011018023223.14790.qmail@plover.com> Perl 5 was released on this date in 1994. ------- end of forwarded message ------- -- From rspier at pobox.com Tue Oct 23 00:12:37 2001 From: rspier at pobox.com (Robert Spier) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: ny.pm: Annual thumb-the-nose-at-Boston.pm Message-ID: <15316.64581.92423.176617@rls.cx> I thought I'd share what other pm groups are doing ;) The context of the 'tuesday' thing is ny.pm is trying to schedule a meeting. -R (found this amusing) ------- start of forwarded message ------- Date: Tue, 23 Oct 2001 00:57:49 -0400 (EDT) From: brian d foy To: ny@lists.pm.org Subject: Annual thumb-the-nose-at-Boston.pm Message-ID: pudge, Uri, and anyone else from Boston.pm who isn't supposed to be on this list -- the Yanks are in the World Series again. thanks for the Babe, 1918, etc. tuesday is no good because the Yankees will be winning game three that night. if you miss one game you miss 25% of the series. ;) -- brian d foy ------- end of forwarded message ------- -- From CommPort5 at LucidX.com Tue Oct 23 22:59:17 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Nov. meeting Message-ID: <3BD63C95.3070401@LucidX.com> Hey everyone, just wanted to let you all know the Nov. meeting is going through the process right now of getting set :) I'm just awaiting some confirmations on talks and it'll be set, but to let everyone know, Duane will be hosting the meeting again at the Blur in Venice. Thanks Duane! It's set for November 10th and will start at 4 PM (please try to show up at that time because we will start the talks not too long after). I will post details on the meeting and speakers on the page and mail the list when everything is set. See you all then! -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From asudarikov at xceed.com Wed Oct 24 15:56:24 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Perl is money Message-ID: Hi. Does anyone have a sprintf (regex?) string that formats money amounts? Like, it takes a number (float) and reformats it, maybe even placing decimal comma every three digits from the right and pads and approximates cents, making it a string... Thanks, ya all, Arkadiy From asudarikov at xceed.com Wed Oct 24 16:59:25 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Perl is money Message-ID: Yeah. Yes. I *DO* have a (printed) copy. Actually, Sammy, e-books? -----Original Message----- From: Mike Henderson [mailto:mike@easterninformatics.com] Sent: Wednesday, October 24, 2001 2:14 PM To: Arkadiy Sudarikov; 'list@la.pm.org' Subject: Re: LA.pm: Perl is money The _Perl Cookbook_ (you *do* have a copy, right? ;^) )lists a "commify" routine in Section 2.17 that implements this neatly with a regex. --- Arkadiy Sudarikov wrote: > Hi. Does anyone have a sprintf (regex?) string that > formats money amounts? > > Like, it takes a number (float) and reformats it, > maybe even placing decimal > comma every three digits from the right and pads and > approximates cents, > making it a string... > > Thanks, ya all, > Arkadiy __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com From asudarikov at xceed.com Wed Oct 24 19:08:35 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: FW: LA.pm: Perl is money Message-ID: -----Original Message----- From: Arkadiy Sudarikov Sent: Wednesday, October 24, 2001 5:08 PM To: 'brobison@deimos.org' Subject: RE: LA.pm: Perl is money I deal with a lot of money (no, really, about 61,000,000.00 a week.) So, sprintf '%.2f', $money works better for me... -----Original Message----- From: brobison@warmachine.deimos.org [mailto:brobison@warmachine.deimos.org] Sent: Wednesday, October 24, 2001 2:23 PM To: Arkadiy Sudarikov Subject: Re: LA.pm: Perl is money On Wed, Oct 24, 2001 at 03:56:24PM -0500, Arkadiy Sudarikov wrote: > Hi. Does anyone have a sprintf (regex?) string that formats money amounts? > > Like, it takes a number (float) and reformats it, maybe even placing decimal > comma every three digits from the right and pads and approximates cents, > making it a string... > > Thanks, ya all, > Arkadiy sub commify_format { my $number = shift; $number = sprintf('%9.2f',$number); $number = reverse $number; $number =~ s#(\d\d\d)(?=\d)(?!\d*\.)#$1,#g; return scalar reverse $number; } -- Barry Robison - brobison@deimos.org The formula of my happiness A Yes, a No, a straight line, a goal. From asudarikov at xceed.com Wed Oct 24 19:45:00 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Perl is money continued Message-ID: $revenue=sprintf '%.2f', $revenue; $revenue=reverse $revenue; $revenue=~ s/(\d\d\d)(?=\d)(?!\d\d\.)/$1,/g; $revenue=reverse $revenue; Is this really the best way to do it? There GOTTA BE other way to do it =o) I see how the regex works, it's good... It's just... reverse... From asudarikov at xceed.com Fri Oct 26 23:31:48 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Efficiency Message-ID: I Benchmarked { SELECT COUNT(*) } and { SELECT * and $count++ while fetch } and got same times... Now, what does that mean? Shouldn't one be "better" than the other? From rspier at pobox.com Sat Oct 27 00:23:30 2001 From: rspier at pobox.com (Robert Spier) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Efficiency In-Reply-To: References: Message-ID: <1004160211.9108.1.camel@bear> Neither of those statements are perl code. You also didn't say HOW you benchmarked. Your question is pretty meaningless then, and not answerable. On Fri, 2001-10-26 at 21:31, Arkadiy Sudarikov wrote: > I Benchmarked { SELECT COUNT(*) } and { SELECT * and $count++ while fetch } > and got same times... Now, what does that mean? Shouldn't one be "better" > than the other? From asudarikov at xceed.com Sat Oct 27 00:27:59 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Efficiency Message-ID: Yeah, yeah. I didn't Benchmark to find out how fast is my Perl code-- I Benchmarked to see how fast with whole operation with some Perl code, connection to database, preparing the statement handler, executing it, fetching it, and flushing statement handler is. -----Original Message----- From: Robert Spier [mailto:rspier@pobox.com] Sent: Friday, October 26, 2001 10:24 PM To: Arkadiy Sudarikov Cc: 'LA.pm' Subject: Re: LA.pm: Efficiency Neither of those statements are perl code. You also didn't say HOW you benchmarked. Your question is pretty meaningless then, and not answerable. On Fri, 2001-10-26 at 21:31, Arkadiy Sudarikov wrote: > I Benchmarked { SELECT COUNT(*) } and { SELECT * and $count++ while fetch } > and got same times... Now, what does that mean? Shouldn't one be "better" > than the other? From ask at valueclick.com Sat Oct 27 07:35:26 2001 From: ask at valueclick.com (Ask Bjoern Hansen) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Efficiency In-Reply-To: Message-ID: On Fri, 26 Oct 2001, Arkadiy Sudarikov wrote: > I Benchmarked { SELECT COUNT(*) } and { SELECT * and $count++ while fetch } > and got same times... Now, what does that mean? Shouldn't one be "better" > than the other? If the database is small the overhead of connecting and all will be much more than transferring a few rows. Try with a database with a few hundred thousand large rows. - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From dgwilson at gtemail.net Sat Oct 27 10:54:32 2001 From: dgwilson at gtemail.net (Douglas Wilson) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Efficiency Message-ID: <20011027155433.4468.qmail@verizonmail.com> Try something like: use Benchmark qw(cmpthese); use DBI; DBI->connect(..., {RaiseError=>1}); my $sql1 = "select 1 from table"; my $sql2 = "select count(*) from table"; my $sth1 = $dbh->prepare($sql1); my $sth2 = $dbh->prepare($sql2); my $cnt; # Pick a sufficiently large negative number cmpthese(-10, { FETCHALL=>sub { $sth1->execute; ++$cnt while $sth1->fetch; }, CNT=>sub { $sth2->execute; $cnt = $dbh->selectrow_array($sth2); } }); Even this can be a meaningless test due to disk or database caching, etc... -Doug -----Original Message----- From: Arkadiy Sudarikov Date: Fri, 26 Oct 2001 23:31:48 -0500 To: "'LA.pm'" Subject: LA.pm: Efficiency > I Benchmarked { SELECT COUNT(*) } and { SELECT * and $count++ while fetch } > and got same times... Now, what does that mean? Shouldn't one be "better" > than the other? > > -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 From asudarikov at xceed.com Sat Oct 27 15:08:25 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Efficiency Message-ID: I did. About 8 thousand rows. -----Original Message----- From: Ask Bjoern Hansen To: Arkadiy Sudarikov Cc: 'LA.pm' Sent: 10/27/2001 7:35 AM Subject: Re: LA.pm: Efficiency On Fri, 26 Oct 2001, Arkadiy Sudarikov wrote: > I Benchmarked { SELECT COUNT(*) } and { SELECT * and $count++ while fetch } > and got same times... Now, what does that mean? Shouldn't one be "better" > than the other? If the database is small the overhead of connecting and all will be much more than transferring a few rows. Try with a database with a few hundred thousand large rows. - ask -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From ask at valueclick.com Sat Oct 27 15:29:50 2001 From: ask at valueclick.com (Ask Bjoern Hansen) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Efficiency In-Reply-To: Message-ID: On Sat, 27 Oct 2001, Arkadiy Sudarikov wrote: > I did. About 8 thousand rows. Uh, that's a really really small database (unless you store many megabytes in each row). How big is the table (in megabytes)? - ask > -----Original Message----- > From: Ask Bjoern Hansen > To: Arkadiy Sudarikov > Cc: 'LA.pm' > Sent: 10/27/2001 7:35 AM > Subject: Re: LA.pm: Efficiency > > On Fri, 26 Oct 2001, Arkadiy Sudarikov wrote: > > > I Benchmarked { SELECT COUNT(*) } and { SELECT * and $count++ while > fetch } > > and got same times... Now, what does that mean? Shouldn't one be > "better" > > than the other? > > If the database is small the overhead of connecting and all will be > much more than transferring a few rows. > > Try with a database with a few hundred thousand large rows. > > > - ask > > -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From asudarikov at xceed.com Sat Oct 27 15:43:17 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Efficiency Message-ID: Actually... I selected 8 thousand rows from... he he he, Hilton Online Reservations History log. I think Hilton Hotel probably is going to have a big-ass History log. So, uh, database is huge, and table is huge... Unfortunately, I can't tell you right now the COUNT(*) FROM res_history or how much space this Sybase instance occupies. -----Original Message----- From: Ask Bjoern Hansen To: Arkadiy Sudarikov Cc: ''LA.pm' ' Sent: 10/27/2001 3:29 PM Subject: RE: LA.pm: Efficiency On Sat, 27 Oct 2001, Arkadiy Sudarikov wrote: > I did. About 8 thousand rows. Uh, that's a really really small database (unless you store many megabytes in each row). How big is the table (in megabytes)? - ask > -----Original Message----- > From: Ask Bjoern Hansen > To: Arkadiy Sudarikov > Cc: 'LA.pm' > Sent: 10/27/2001 7:35 AM > Subject: Re: LA.pm: Efficiency > > On Fri, 26 Oct 2001, Arkadiy Sudarikov wrote: > > > I Benchmarked { SELECT COUNT(*) } and { SELECT * and $count++ while > fetch } > > and got same times... Now, what does that mean? Shouldn't one be > "better" > > than the other? > > If the database is small the overhead of connecting and all will be > much more than transferring a few rows. > > Try with a database with a few hundred thousand large rows. > > > - ask > > -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From asudarikov at xceed.com Sat Oct 27 15:10:53 2001 From: asudarikov at xceed.com (Arkadiy Sudarikov) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Efficiency Message-ID: Wow. You took the code straight from my editor :) Your code is exactly what I wrote... Thanks though, Arkadiy -----Original Message----- From: Douglas Wilson To: Arkadiy Sudarikov; 'LA.pm' Sent: 10/27/2001 10:54 AM Subject: Re: LA.pm: Efficiency Try something like: use Benchmark qw(cmpthese); use DBI; DBI->connect(..., {RaiseError=>1}); my $sql1 = "select 1 from table"; my $sql2 = "select count(*) from table"; my $sth1 = $dbh->prepare($sql1); my $sth2 = $dbh->prepare($sql2); my $cnt; # Pick a sufficiently large negative number cmpthese(-10, { FETCHALL=>sub { $sth1->execute; ++$cnt while $sth1->fetch; }, CNT=>sub { $sth2->execute; $cnt = $dbh->selectrow_array($sth2); } }); Even this can be a meaningless test due to disk or database caching, etc... -Doug -----Original Message----- From: Arkadiy Sudarikov Date: Fri, 26 Oct 2001 23:31:48 -0500 To: "'LA.pm'" Subject: LA.pm: Efficiency > I Benchmarked { SELECT COUNT(*) } and { SELECT * and $count++ while fetch } > and got same times... Now, what does that mean? Shouldn't one be "better" > than the other? > > -- _______________________________________________ Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! http://www.net2phone.com/cgi-bin/link.cgi?143 From CommPort5 at LucidX.com Sun Oct 28 17:29:01 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Meeting on Sat, Nov. 10th Message-ID: <3BDC94BD.7030600@LucidX.com> The meeting for the 10th is set, all information is below. You can also get this information from the website, http://la.pm.org, http://la.pm.org more specifically. Also, be aware, this meeting is set at 4 PM, NOT 5 PM. Saturday, October 13th - 4 PM Address: The Blur, 1118 Abbot Kinney Blvd. in Venice (90291-3314) Big thanks to Duane for hosting the meeting again! Time: 4 PM on Saturday, November 10th Discussion: Abe and Greg will be presenting a talk on source filtering, focusing on their attempts to write a source filter that utilizes encryption and bytecode. Their end goal is a mechanism for distributing propreitary perl applications in a 'compiled' manner, and they'd appreciate feedback from any perl mongers who might be able to debunk their obfuscation. Also, Scott will be speaking on "Practical Perl for System Administrators: A brief overview of Perl scripts I have used to solve annoying and potentially time-consuming problems as a system and network administrator in the past few years. Focus on automation and quick solutions, rather than necessarily on proper programming practice or software architecture." A map to the Blur is linked on the page: http://la.pm.org/meetings As always, hope to see you all there :) -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From ask at valueclick.com Sun Oct 28 18:17:20 2001 From: ask at valueclick.com (Ask Bjoern Hansen) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Efficiency In-Reply-To: Message-ID: On Sat, 27 Oct 2001, Arkadiy Sudarikov wrote: > Actually... I selected 8 thousand rows from... he he he, Hilton Online > Reservations History log. I think Hilton Hotel probably is going to have a > big-ass History log. So, uh, database is huge, and table is huge... uh, but still: if you are only benchmarking on 8 thousand rows, then it won't make a difference how you do it. :-) - ask > Unfortunately, I can't tell you right now the COUNT(*) FROM res_history or > how much space this Sybase instance occupies. > > -----Original Message----- > From: Ask Bjoern Hansen > To: Arkadiy Sudarikov > Cc: ''LA.pm' ' > Sent: 10/27/2001 3:29 PM > Subject: RE: LA.pm: Efficiency > > On Sat, 27 Oct 2001, Arkadiy Sudarikov wrote: > > > I did. About 8 thousand rows. > > Uh, that's a really really small database (unless you store many > megabytes in each row). > > How big is the table (in megabytes)? > > > - ask > > > -----Original Message----- > > From: Ask Bjoern Hansen > > To: Arkadiy Sudarikov > > Cc: 'LA.pm' > > Sent: 10/27/2001 7:35 AM > > Subject: Re: LA.pm: Efficiency > > > > On Fri, 26 Oct 2001, Arkadiy Sudarikov wrote: > > > > > I Benchmarked { SELECT COUNT(*) } and { SELECT * and $count++ while > > fetch } > > > and got same times... Now, what does that mean? Shouldn't one be > > "better" > > > than the other? > > > > If the database is small the overhead of connecting and all will be > > much more than transferring a few rows. > > > > Try with a database with a few hundred thousand large rows. > > > > > > - ask > > > > > > -- ask bjoern hansen, http://ask.netcetera.dk/ !try; do(); more than a billion impressions per week, http://valueclick.com From rspier at pobox.com Sun Oct 28 20:18:31 2001 From: rspier at pobox.com (Robert Spier) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Meeting on Sat, Nov. 10th In-Reply-To: <3BDC94BD.7030600@LucidX.com> References: <3BDC94BD.7030600@LucidX.com> Message-ID: <1004321912.21343.2.camel@bear> > Abe and Greg will be presenting a talk on source filtering, focusing on > their attempts to write a source filter that utilizes encryption and > bytecode. Their end goal is a mechanism for distributing propreitary > perl applications in a 'compiled' manner, and they'd appreciate feedback > from any perl mongers who might be able to debunk their obfuscation. Abe and Greg- will you provide us with some obfuscated code (that runs properly, of course) before the meeting, so we can look at it ahead of time? We (I) can agree (promise) not to discuss it on the list until after your presentation. -R From greg at evilfunhouse.com Sun Oct 28 21:28:07 2001 From: greg at evilfunhouse.com (Gregory Williams) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Meeting on Sat, Nov. 10th In-Reply-To: <3BDC94BD.7030600@LucidX.com>; from CommPort5@LucidX.com on Sun, Oct 28, 2001 at 03:29:01PM -0800 References: <3BDC94BD.7030600@LucidX.com> Message-ID: <20011028222806.B1299@mangala.evilfunhouse.com> On Sun, Oct 28, 2001 at 03:29:01PM -0800, Samy Kamkar [CommPort5] quoth: > Abe and Greg will be presenting a talk on source filtering, focusing on > their attempts to write a source filter that utilizes encryption and > bytecode. Their end goal is a mechanism for distributing propreitary > perl applications in a 'compiled' manner, and they'd appreciate feedback > from any perl mongers who might be able to debunk their obfuscation. I won't be able to attend, but I'd love to see this talk. Will it be available (after the meeting) in any form (transcript/recording/paper)? :) thanks, greg -- There is no excuse to ship a product which cannot self replicate. - Damian Conway From CommPort5 at LucidX.com Mon Oct 29 18:13:20 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Meeting on Sat, Nov. 10th References: <3BDC94BD.7030600@LucidX.com> <20011028222806.B1299@mangala.evilfunhouse.com> Message-ID: <3BDDF0A0.8050602@LucidX.com> If they supply any docs/code/etc. for us, I will definately put it up on the page (assuming it's okay with them). I'll put up a page on the LAPM site with anything that speakers would like to be put up there, such as Bryan's code (I'll put his up ASAP). I'll email the list when I get something to put up -Samy Gregory Williams wrote: >On Sun, Oct 28, 2001 at 03:29:01PM -0800, Samy Kamkar [CommPort5] quoth: > >>Abe and Greg will be presenting a talk on source filtering, focusing on >>their attempts to write a source filter that utilizes encryption and >>bytecode. Their end goal is a mechanism for distributing propreitary >>perl applications in a 'compiled' manner, and they'd appreciate feedback >>from any perl mongers who might be able to debunk their obfuscation. >> > >I won't be able to attend, but I'd love to see this talk. Will it be available (after the meeting) in any form (transcript/recording/paper)? :) > >thanks, >greg > -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com From CommPort5 at LucidX.com Mon Oct 29 20:14:46 2001 From: CommPort5 at LucidX.com (Samy Kamkar [CommPort5]) Date: Wed Aug 4 00:02:07 2004 Subject: LA.pm: Bryan's Inline Talk Message-ID: <3BDE0D16.6010306@LucidX.com> I'd just like to let everyone know that I put up all of Bryan's stuff for the great talk on Inline and Inline::C he did at http://la.pm.org/meetings/speakers/bbacker/ You can also download everything on there from the 'lapm_simple_inline_talk.v.02.tgz' tarball he supplied. -- Samy Kamkar -- (877) 898-1424 -- cp5@LucidX.com LucidX.com / LA.pm.org / pdump.org / code.LucidX.com