From andy at murren.org Fri Apr 5 06:41:15 2002 From: andy at murren.org (Andy Murren) Date: Thu Aug 5 00:29:12 2004 Subject: MCPM: Speaker Message-ID: <20020405074115.X29131@murren.org> Gang, A guy I know from NYC is willing to come out and give us a talk. Below are the subjects that he can cover. I will work on a place for the talk. The next dates for our meetings are: 1) 16 Apr 2) 21 May # I will be on vacation so this is not a good one to pick 3) 18 Jun Please reply to the list so we can hash out a date. ---------------------------------- * introduction to parrot as it pertains to perl6 (parrot concepts, parrot assembler, perl6 -> parrot assembler work, parrot data type implementations, parrot and other languages, parrot as it compares with other technologies - Dan Sugalski would probably be a better speaker on this topic though :) # Dan S is giving some talks see use.perl.org for info * embedding perl 5 to add functionality to C applications * perl4, perl5 and perl 6 compilation compared * perl and other languages (perl to xxx language converters, xxx language to perl converters, xxx language to perl bytecode converters, perl to xxx language bytecode converters, etc * modules and techniques for formalization and standardization of web application design (CGI::Application, HTML::Template, etc) Andy -- Andy Murren andy@murren.org From steve at walkertek.com Fri Apr 5 08:54:20 2002 From: steve at walkertek.com (Stephen Walker) Date: Thu Aug 5 00:29:12 2004 Subject: MCPM: Speaker In-Reply-To: <20020405074115.X29131@murren.org> Message-ID: Any of the dates should be good for me. I'm probably most interested in the parrot talks, although any of them are good. I may be able to have it here, Montville, in our conference room if we would like (White board, maybe projector). If no one has any objections I'll ask. Let me know. Thanks, Steve -- Steve Walker (swalker@walkertek.com) http://walkertek.com -- On Fri, 5 Apr 2002, Andy Murren wrote: > > Gang, > > A guy I know from NYC is willing to come out and give us a talk. > Below are the subjects that he can cover. I will work on a place for > the talk. The next dates for our meetings are: > > 1) 16 Apr > > 2) 21 May # I will be on vacation so this is not a good one to pick > > 3) 18 Jun > > Please reply to the list so we can hash out a date. > > ---------------------------------- > > * introduction to parrot as it pertains to perl6 (parrot concepts, parrot > assembler, perl6 -> parrot assembler work, parrot data type > implementations, parrot and other languages, parrot as it compares with > other technologies - Dan Sugalski would probably be a better speaker on > this topic though :) # Dan S is giving some talks see use.perl.org for info > > * embedding perl 5 to add functionality to C applications > > * perl4, perl5 and perl 6 compilation compared > > * perl and other languages (perl to xxx language converters, xxx language > to perl converters, xxx language to perl bytecode converters, perl to xxx > language bytecode converters, etc > > * modules and techniques for formalization and standardization of web > application design (CGI::Application, HTML::Template, etc) > > > Andy > > -- > Andy Murren > andy@murren.org > From rmaus at monmouth.com Fri Apr 5 10:24:11 2002 From: rmaus at monmouth.com (Richard L. Maus, Jr.) Date: Thu Aug 5 00:29:12 2004 Subject: MCPM: Speaker References: <20020405074115.X29131@murren.org> Message-ID: <3CADCFAB.92091A78@monmouth.com> Andy, I think any of the topics will be great to hear about. I'd be most interested to hear thoughts on modules and techniques for formalization and standardization of web application design. Additionally, I have spent some time playing with Parrot and I'd be interested in hearing where it is going and how it will play a part in Perl 6. Rick Andy Murren wrote: > Gang, > > A guy I know from NYC is willing to come out and give us a talk. > Below are the subjects that he can cover. I will work on a place for > the talk. The next dates for our meetings are: > > 1) 16 Apr > > 2) 21 May # I will be on vacation so this is not a good one to pick > > 3) 18 Jun > > Please reply to the list so we can hash out a date. > > ---------------------------------- > > * introduction to parrot as it pertains to perl6 (parrot concepts, parrot > assembler, perl6 -> parrot assembler work, parrot data type > implementations, parrot and other languages, parrot as it compares with > other technologies - Dan Sugalski would probably be a better speaker on > this topic though :) # Dan S is giving some talks see use.perl.org for info > > * embedding perl 5 to add functionality to C applications > > * perl4, perl5 and perl 6 compilation compared > > * perl and other languages (perl to xxx language converters, xxx language > to perl converters, xxx language to perl bytecode converters, perl to xxx > language bytecode converters, etc > > * modules and techniques for formalization and standardization of web > application design (CGI::Application, HTML::Template, etc) > > Andy > > -- > Andy Murren > andy@murren.org -- Richard L. Maus, Jr. (Rick) Home: 732-863-7367 rmaus@monmouth.com http://www.monmouth.com/~rmaus -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/archives/morriscounty-pm/attachments/20020405/27561067/attachment.htm From steve at walkertek.com Mon Apr 8 12:11:54 2002 From: steve at walkertek.com (Stephen Walker) Date: Thu Aug 5 00:29:12 2004 Subject: MCPM: file descriptor question In-Reply-To: Message-ID: I've got a general perl/linux question that I thought someone might be able to help me out with. I need a way of finding out how many open file descriptors a process has so that I can self limit the process. Anyone have a good way of doing this in perl? Thanks, Steve -- Steve Walker (swalker@walkertek.com) http://walkertek.com -- From steve at walkertek.com Tue Apr 9 09:48:52 2002 From: steve at walkertek.com (Stephen Walker) Date: Thu Aug 5 00:29:12 2004 Subject: MCPM: Re: file descriptor question In-Reply-To: Message-ID: I figured out a solutions. I'm using lsof to find the # of open descriptors for that process and sleeping until it falls below a certain level. Thanks. -- Steve Walker (swalker@walkertek.com) http://walkertek.com -- On Mon, 8 Apr 2002, Stephen Walker wrote: > I've got a general perl/linux question that I thought someone might be > able to help me out with. I need a way of finding out how many open file > descriptors a process has so that I can self limit the process. Anyone > have a good way of doing this in perl? > > Thanks, > Steve > > -- > Steve Walker (swalker@walkertek.com) http://walkertek.com > -- > > > From andy at murren.org Wed Apr 10 08:22:26 2002 From: andy at murren.org (Andy Murren) Date: Thu Aug 5 00:29:12 2004 Subject: MCPM: file descriptor question In-Reply-To: ; from steve@walkertek.com on Mon, Apr 08, 2002 at 01:11:54PM -0400 References: Message-ID: <20020410092226.A29644@murren.org> Steve, : : I've got a general perl/linux question that I thought someone might be : able to help me out with. I need a way of finding out how many open file : descriptors a process has so that I can self limit the process. Anyone : have a good way of doing this in perl? : If the process is a perl application and OO you could use a class var to increment and decrement the number of open files. I think Conway's 'Object Oriented Perl' has an example. Else use lsof The other option is to rewrite the app as a perl program. Andy -- Andy Murren andy@murren.org From andy at murren.org Tue Apr 16 12:56:14 2002 From: andy at murren.org (Andy Murren) Date: Thu Aug 5 00:29:12 2004 Subject: MCPM: See You Tonight Message-ID: <20020416135614.H1074@murren.org> See you all tonight about 7:30! Andy -- Andy Murren andy@murren.org From andy at murren.org Tue Apr 16 12:57:58 2002 From: andy at murren.org (Andy Murren) Date: Thu Aug 5 00:29:12 2004 Subject: MCPM: [nypm: Perl Tutorials "Program Repair Shop" and "Iterators and Generators"] Message-ID: <20020416135758.I1074@murren.org> All, For those interested. Does anyone want to see if we can get mjd up here later this year? ----- Forwarded message from owner-ny@lists.pm.org ----- From: mjd-perl-pm@plover.com Subject: Perl Tutorials "Program Repair Shop" and "Iterators and Generators" 28-29 May 2002 Organization: Plover Systems Date: Tue, 16 Apr 2002 08:38:06 -0400 This year I'll be doing three tutorials at the big Perl conference in San Diego. Two of them are new. As in previous years, I need to practice these before I go to San Diego, so I'll be giving both tutorials in Philadelphia next month. If you were to attend in San Diego, you would pay about $320. But you can come to my practice sessions for less than that. I will ask for a (voluntary) donation of $5 at each class to cover expenses. This request does not apply to Penn students, staff, or faculty. WHEN "Perl Program Repair Shop and Red Flags" will be held on Tuesday, 28 May. "Programming With Iterators and Generators" will be held on Wednesday, 29 May. Both tutorials will start at 6PM and end around 9:30 or 10:00 PM. They will be held in Heilmeier Hall (room 100, formerly Alumni Hall) in the Towne Building at University of Pennsylvania. (Directions below.) WHAT Perl Program Repair Shop and Red Flags This is not the same class as last year; it's a revised version with a substantial amount of new material. Be forewarned that some of the new material may be material that I did at last year's practice session and then cut out of the class before the conference, so there may be more overlap with last year's practice session than with what was actually presented at last year's conference. On the other hand, some of the repeated material is stuff I added in response to comments I got at last year's practice session, so maybe it all evens out. Here's the brochure description: PERL PROGRAM REPAIR SHOP AND RED FLAGS II You've probably been working too hard when you program, writing twenty lines of code when you only needed ten. But there is a better way, and I will show it to you. You'll learn how to improve your own code and the code of others, making it cleaner, more readable, more reusable, and more efficient, while at the same time making it 30-50% smaller. Smaller code contains fewer bugs and takes less time to maintain. This class expands on 'Repair Shop I' but is independent of it, with little overlap. We'll see more red flags and more common errors. I'll take a complete CGI tic-tac-toe application and reduce its code by half without removing any functionality or introducing any bugs. All code guaranteed authentic! Participants are encouraged to submit their own code for anonymous review in the class. (Send it to mjd-tpc6-repair2+@plover.com.) Class content varies depending on submissions, but is sure to include some of the following topics: Structural vs. functional code Elimination of structure Boolean values Programs that take two steps forward and one step back Programs that are 10% backslashes print print print print print C-style 'for' loops Loop counter variables Array length variables Unnecessary shell calls How (and why) to let 'undef' be the special value Confusion of internal and external representations of data Tool use Elimination of repeated code with higher-order functions Learning to use a hammer The 'swswsw' problem Avoiding special cases Using uniform data representations The brochure description for 'Programming with Iterators and Generators': PROGRAMMING WITH ITERATORS AND GENERATORS Sometimes you'll write a function that takes too long to run because it produces too much useful information. A search function might locate ten thousand matches. A database query might return ten million records. What can you do? Perl provides a simple and familiar model for dealing with such problems: The filehandle! Instead of reading every file in one giant gulp, we can use filehandles to staunch the flow of information, trickling it into the program in manageable gulps. In this class, we'll see several important modules, such as File::Find and DBI, which use this approach. We'll go inside these modules and see how to implement filehandle-like data structures and objects ourselves. We'll see how to write functions that suspend themselves and then pick up later where they left off. We'll learn how to take long-running slow functions and convert them into speedy filehandle-like data generator objects. This fundamental technique is a mainstay of programmers in other languages, but isn't as well-known as it should be. You'll be amazed at how many difficult problems become simple when you unleash the power of filehandles. Introduction: Filehandles are Iterators Iterators are Objects Common Examples of Iterators: readdir, each, and DBI Homemade iterators Examples File tree scanning Permutations Genomic Sequence Generator Filehandle Iterators A Flat-File Database Searching Databases Backwards Random Number Generation Alternatives to Iterators Filters and Transforms: 'map' and 'grep' for iterators Recursively-Constructed Iterators The Semipredicate Problem Alternative Interfaces to Iterators An Extended Example: Web Spiders Converting slow recursive functions to iterators WHERE The Towne Building is located at 220 South 33rd Street in Philadelphia. For directions to the University, see http://www.upenn.edu/admissions/undergrad/visiting/directions.html Maps are available at http://www.seas.upenn.edu/staff/pem.html HOW Unlike in past years, we have essentially unlimited space, so reservations are not required; just show up. However, if you want to receive the class handout materials, if any, you should reserve copies in advance. To reserve materials, please send an email message to mjd-perl-practice-2002+@plover.com Don't forget to say which class or classes you plan to attend. Please circulate this notice to any people or mailing lists that you think might want to see it. My profuse and heartfelt thanks to Chip Buchholtz and to the University of Pennsylvania School of Engineering and Applied Science for providing the space and AV equipment for these sessions. Mark-Jason Dominus mjd@plover.com ----- End forwarded message ----- -- David H. Adler - - http://www.panix.com/~dha/ "Dir-ty deeds...DONE TO SHEEP!" Heh heh...AC/DC, eat yer heart out. - Mary Roth **Majordomo list services provided by PANIX ** **To Unsubscribe, send "unsubscribe ny" to majordomo@lists.pm.org** ----- End forwarded message ----- -- Andy Murren andy@murren.org From steve at walkertek.com Tue Apr 16 22:30:00 2002 From: steve at walkertek.com (Stephen Walker) Date: Thu Aug 5 00:29:12 2004 Subject: MCPM: Some of the security stuff I mentioned In-Reply-To: <20020416135614.H1074@murren.org> Message-ID: Hey guys, here are a couple of the links that I mentioned. Good intrusion detection analysis: http://search.linuxsecurity.com/articles/intrusion_detection_article-4777.html Snort packet sniffer/IDS: http://www.snort.org Good web front end for snort: http://www.demarc.com Good place to get snort rules besides the snort site: http://www.whitehats.com Good security scanner: http://www.nessus.org If anyone is using or has used good systems for this kind of stuff let me know, I'm always interested in seeing what else is available. Thanks, Steve