From rdice at pobox.com Sat Apr 1 06:35:15 2006 From: rdice at pobox.com (Richard Dice) Date: Sat, 01 Apr 2006 09:35:15 -0500 Subject: [Buffalo-pm] MJD presenting at a Very Special Toronto Perl Mongers meeting, Sat 13 May 2006 Message-ID: <442E8FA3.1020301@pobox.com> Hi everyone, I've been working with Mark-Jason Dominus (MJD) over the past few months for him to give a talk to the Toronto Perl Mongers. I have final confirmation now. We're scheduling the talk for the afternoon of Saturday 13 May, duration of approx. 4 hours. (Exact location information will be forthcoming.) I have attached here a note from MJD he asked me to distribute. The main thrust of his speaking tour is in prepartion for his newest book, currently under constructions, "Perl Program Repair Shop and Red Flags". He would like code contributions -- see details in his letter. We'll get him to give a talk about this and also another from his repetoire. (See the "Free talks" section on http://perl.plover.com/yak/#free ) Suggestions are welcome! The talk is free, but donations are both appreciated and needed. The only support for this event is what comes from its attendees. Thanks to all who have pledged already. Daniel Magnuszewski has told me that he'd help organizer the Buffalo.pm folks who might want to attend. If you have any questions about who MJD is, making a donation, etc., you can talk to either of us. (Carpooling and more local type things Daniel could handle much better than I.) Cheers, Richard (The following is verbatim from MJD.) Dear Toronto Perl Mongers, I'm coming to visit you on May 13 as part of my tour to gather material for my new book, which I hope will be published in 2007. The book is about code review and refactoring in Perl. (For more complete information, please see http://perl.plover.com/flagbook/ .) To do the job right, I need real examples of real code that other people wrote. I'll review the code and fix it up, and explain in the book what I did and why. Please send me some code to look at so that I have something to talk about on May 13. I need it no later than Friday, April 14, but sooner is better. What I need: code for a program or module that is between 150 and 700 lines long, not counting comments or blank lines. Also, you must be authorized to give me permission to use the code in my book. If I use your code in the talk, I will give you a free copy of my last book, _Higher-Order Perl_. (http://hop.perl.plover.com/) If I use your code in the new book, you'll get a free copy of that when it comes out. If you want more details about what I need, please see: http://perl.plover.com/flagbook/contribute.html To contribute, send code to: mjd-contrib-tor at plover.com Questions? Send them to: mjd at plover.com Thanks. From rdice at pobox.com Sat Apr 1 07:57:36 2006 From: rdice at pobox.com (Richard Dice) Date: Sat, 01 Apr 2006 10:57:36 -0500 Subject: [Buffalo-pm] MJD presenting at a Very Special Toronto Perl Mongers meeting, Sat 13 May 2006 In-Reply-To: References: Message-ID: <442EA2F0.4070105@pobox.com> > Richard, is there a (TPM or MJD) PayPal account or some other online > pledge system? If not, how would you like to receive donations from the > us? Do you accept C.O.D ;-) > > Sorry, no. COD can be done -- I'm sure people will be handing me fistfulls of cash at the event so I will be bringing my receipt book. Though, it decreases my anxiety level if I receive the money before-hand, of course. :-) One option would be to get a Canadian dollar money order drawn up at your bank to snail-mail me. (I will provide my residence address to anyone who is interested in doing that.) If you choose to do this then it could be best to pool donations on your end so that you can split the fee for creating such a device across several donations. (If the prices are anything like what they are here to do the reverse, I'd guess it would be about a U$4 charge.) Regardless, I would appreciate it if people could at least pledge the money first by emailing me to let me know what they are going to give. I need to keep tabs on the health of the fundraising effort. Right now I still need about $700, so there is plenty of room for donations. Every bit counts. > I'd like to get a count of people who are probable or definite for > attending this. This way we can start to put car pools and plans > together. Please send me an email (either on or off the list) stating > whether you are probable or definite. > > Thanks for the organizing. Cheers, Richard From rdice at pobox.com Sat Apr 1 09:18:38 2006 From: rdice at pobox.com (Richard Dice) Date: Sat, 01 Apr 2006 12:18:38 -0500 Subject: [Buffalo-pm] MJD presenting at a Very Special Toronto Perl Mongers meeting, Sat 13 May 2006 In-Reply-To: References: Message-ID: <442EB5EE.2060401@pobox.com> Kevin Eye wrote: > Is there a recommended donation, perhaps based on the total expense and the > ballpark number of people expected? I think a number that people could think > of as a ticket price would really encourage donations. I know I'm always a > sucker for that. > > The problem with that approach is that you're neglecting to consider the third factor: the % of people who actually contribute. (People do or don't contribute for a variety of reasons. Just like there's no judgement for not being a CPAN author or a p5p member or a Pugs contributor within the Perl community, there's no judgement (in my mind) if someone attends but doesn't donate. I hope those who can do, but I trust everyone to understand their own situation best.) If you mutiply that in as well, I'd say $40 per person would work out. So far some people who have donated have put in $20, some have put in $100 apiece. Do what you're comfortable doing. (Organizing these kinds of events in the past I have seen incredible generosity from Perl Mongers, both as a group and from individuals who just pull out the stops. For this event, ordinary genosity will do. :-) ) The arrangements with MJD is that any "extra" money that is donated will go to The Perl Foundation. So there's no such worry that we might end up with too much. It all goes to Perl and its works in the end. Cheers, Richard From rdice at pobox.com Sat Apr 1 09:21:35 2006 From: rdice at pobox.com (Richard Dice) Date: Sat, 01 Apr 2006 12:21:35 -0500 Subject: [Buffalo-pm] MJD presenting at a Very Special Toronto PerlMongers meeting, Sat 13 May 2006 In-Reply-To: References: Message-ID: <442EB69F.8090700@pobox.com> DANIEL MAGNUSZEWSKI wrote: > Does MJD have any online payment available where we can send it directly > to him with an Attn/subject matter of the Toronto talk? Just a thought. > Another suggestion is Fundable ( http://www.fundable.org )? Not sure if > this would be good for this situation because I think they take about 5% > as a fee. > > I haven't talked with him about these things. You can email him yourself, mjd at plover.com. If you get in touch with him then let me know what he said. But remember that COD can work out okay too. Just let me know of whatever pledges you can make and/or any donations you give to MJD directly through other methods, so I can account for it in the budget. Cheers, Richard From rdice at pobox.com Sun Apr 2 12:35:13 2006 From: rdice at pobox.com (Richard Dice) Date: Sun, 02 Apr 2006 15:35:13 -0400 Subject: [Buffalo-pm] MJD talk -- a new way to donate, via PayPal! Message-ID: <44302771.90302@pobox.com> Hello... There were some suggestions from a Buffalo.pm-er that it would be good if there was a PayPal account through which MJD trip donations could be made. TPMs own inestimable Fulko Hew has set this up. For all those interested, go to: http://hew.ca/ Thanks, Fulko! And thanks again to all the donors who help make this event happen. Cheers, Richard From john at perlwolf.com Wed Apr 5 00:47:24 2006 From: john at perlwolf.com (John Macdonald) Date: Wed, 5 Apr 2006 03:47:24 -0400 Subject: [Buffalo-pm] [tpm] MJD talk -- a new way to donate, via PayPal! In-Reply-To: References: <44302771.90302@pobox.com> Message-ID: <20060405074724.GH19035@lupus.perlwolf.com> On Tue, Apr 04, 2006 at 02:59:20PM -0400, G. Matthew Rice wrote: > Yep. That helped. I had some money leftover from a brief ebay love affair You can find *anything* for sale on eBay. -- From dmagnuszewski at mandtbank.com Thu Apr 6 11:59:28 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Thu, 06 Apr 2006 14:59:28 -0400 Subject: [Buffalo-pm] Using a C API with Perl... Message-ID: Mongers, There are API's, for C and Java, within the Mac OSX SDK. I want the ability to use the C API within Perl. I've come across perlxs (http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlxs.pod) but I'm not sure if there is a better/easier way of doing this. Would it be faster if I just wrote a program in C (using the API) that receives input from STDIN - from there I could just create a pipe to it within the Perl script? The data being sent through the system is very time sensitive, so I'd like to use the method that will create the lowest latency and load. Any thoughts/suggestions? -Dan From cbrandt at buffalo.edu Thu Apr 6 12:09:32 2006 From: cbrandt at buffalo.edu (Jim Brandt) Date: Thu, 06 Apr 2006 15:09:32 -0400 Subject: [Buffalo-pm] Using a C API with Perl... In-Reply-To: References: Message-ID: <4435676C.9060902@buffalo.edu> Does this help? http://search.cpan.org/~ingy/Inline-0.44/ If you want to run other code from Perl programs, Inline is the way to go. APIs to what? DANIEL MAGNUSZEWSKI wrote: > Mongers, > > There are API's, for C and Java, within the Mac OSX SDK. I want the > ability to use the C API within Perl. I've come across perlxs > (http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlxs.pod) but I'm not > sure if there is a better/easier way of doing this. Would it be faster > if I just wrote a program in C (using the API) that receives input from > STDIN - from there I could just create a pipe to it within the Perl > script? The data being sent through the system is very time sensitive, > so I'd like to use the method that will create the lowest latency and > load. > > Any thoughts/suggestions? > > -Dan > > _______________________________________________ > Buffalo-pm mailing list > Buffalo-pm at pm.org > http://mail.pm.org/mailman/listinfo/buffalo-pm -- Jim Brandt Administrative Computing Services University at Buffalo From dmagnuszewski at mandtbank.com Thu Apr 6 12:38:06 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Thu, 06 Apr 2006 15:38:06 -0400 Subject: [Buffalo-pm] Using a C API with Perl... Message-ID: Cool, I'll check it out - I forgot about inline. Would Inline be the way to go if I wanted to write a Perl wrapper for the API, aka, writing a Perl API? The API that I need to use is the CoreMIDI framework within the CoreAudio SDK (http://developer.apple.com/documentation/MusicAudio/Reference/CACoreMIDIRef/index.html). The CoreMIDI framework vends C API for both discovering MIDI devices and sending MIDI data to those devices using the API. There is currently a module out there called Mac::CoreMIDI (http://search.cpan.org/~crenz/Mac-CoreMIDI-0.04/lib/Mac/CoreMIDI.pm) that is a XS Interface for the Mac OS X CoreMIDI API, but it does not deal with sending out MIDI data to a destination - which is what I need it to do! -Dan >>> "Jim Brandt" 04/06/06 3:09 PM >>> Does this help? http://search.cpan.org/~ingy/Inline-0.44/ If you want to run other code from Perl programs, Inline is the way to go. APIs to what? From 011106-mail.pm.org at timothyace.com Thu Apr 6 13:49:26 2006 From: 011106-mail.pm.org at timothyace.com (Timothy Michael Ace) Date: Thu, 6 Apr 2006 16:49:26 -0400 Subject: [Buffalo-pm] Using a C API with Perl... In-Reply-To: References: Message-ID: I starting writing a PERL module for OS X using XS to interface with the keychain. I thought it was fairly straightforward, though I found that XS has a lot of stuff in it. I know there has to be shortcuts available to me that I am not taking. I sort of abandoned the module since it can only be run as a user that is currently logged in. -Tim From eye at buffalo.edu Thu Apr 6 14:02:21 2006 From: eye at buffalo.edu (Kevin Eye) Date: Thu, 06 Apr 2006 17:02:21 -0400 Subject: [Buffalo-pm] Using a C API with Perl... In-Reply-To: Message-ID: My suggestion would be that if what you're doing is just wrapping more of the CoreMIDI API, I'd try to add it to the existing perl module. For one thing, all the setup of the XS would be half done and there would be plenty of examples to follow. For another, you could easily submit your additions. If if makes more sense to keep it separate, I'd recommend the Inline suite over XS. I've never used XS, but I've used Inline::C a lot and it couldn't be easier (unless you're on Windows). However, are the OS X APIs available in C, or do you have to use Objective C, which is quite different? Also, you can look into two projects, "CamelBones" and "PerlObjCBridge" (man PerlObjCBridge on your OS X box). I've never used Cocoa or Objective C enough for them to make sense to me, but I think they intend to expose all of Cocoa to Perl. - Kevin On 4/6/06 3:38 PM, "DANIEL MAGNUSZEWSKI" wrote: > Cool, I'll check it out - I forgot about inline. Would Inline be the way > to go if I wanted to write a Perl wrapper for the API, aka, writing a > Perl API? > > The API that I need to use is the CoreMIDI framework within the > CoreAudio SDK > (http://developer.apple.com/documentation/MusicAudio/Reference/CACoreMIDIRef/i > ndex.html). > The CoreMIDI framework vends C API for both discovering MIDI devices and > sending MIDI data to those devices using the API. > > There is currently a module out there called Mac::CoreMIDI > (http://search.cpan.org/~crenz/Mac-CoreMIDI-0.04/lib/Mac/CoreMIDI.pm) > that is a XS Interface for the Mac OS X CoreMIDI API, but it does not > deal with sending out MIDI data to a destination - which is what I need > it to do! > > -Dan > >>>> "Jim Brandt" 04/06/06 3:09 PM >>> > Does this help? > > http://search.cpan.org/~ingy/Inline-0.44/ > > If you want to run other code from Perl programs, Inline is the way to > go. > > APIs to what? > > > > > > > _______________________________________________ > Buffalo-pm mailing list > Buffalo-pm at pm.org > http://mail.pm.org/mailman/listinfo/buffalo-pm -- Kevin Eye Web Applications Developer Marketing and Creative Services University at Buffalo 330 Crofts Hall Buffalo, NY 14260 eye at buffalo.edu phone (716) 645-5000 x1435 fax (716) 645-3765 From dmagnuszewski at mandtbank.com Fri Apr 7 06:33:16 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Fri, 07 Apr 2006 09:33:16 -0400 Subject: [Buffalo-pm] Using a C API with Perl... Message-ID: I know. I'm torn. After reading over the Inline docs and cookbook, it seems intuitive and real easy to use. I believe that they are regular C - nothing about Objective C is mentioned. What is the difference between C, Objective C, and Cocoa? I've looked into CamelBones before, but not for this project. I'll take a look at that and PerlObjCBridge, and see if those can help. -Dan >>> "Kevin Eye" 04/06/06 5:02 PM >>> My suggestion would be that if what you're doing is just wrapping more of the CoreMIDI API, I'd try to add it to the existing perl module. For one thing, all the setup of the XS would be half done and there would be plenty of examples to follow. For another, you could easily submit your additions. If if makes more sense to keep it separate, I'd recommend the Inline suite over XS. I've never used XS, but I've used Inline::C a lot and it couldn't be easier (unless you're on Windows). However, are the OS X APIs available in C, or do you have to use Objective C, which is quite different? Also, you can look into two projects, "CamelBones" and "PerlObjCBridge" (man PerlObjCBridge on your OS X box). I've never used Cocoa or Objective C enough for them to make sense to me, but I think they intend to expose all of Cocoa to Perl. - Kevin From eye at buffalo.edu Fri Apr 7 06:52:53 2006 From: eye at buffalo.edu (Kevin Eye) Date: Fri, 07 Apr 2006 09:52:53 -0400 Subject: [Buffalo-pm] Using a C API with Perl... In-Reply-To: Message-ID: > I believe that they are regular C - nothing about Objective C is > mentioned. What is the difference between C, Objective C, and Cocoa? Apparently, Objective-C is a variant of C (not C++) that is object oriented and very dynamic. (http://en.wikipedia.org/wiki/Objective_c) Cocoa is Apple's Objective-C framework for writing native apps. Apparently it's very slick, but it's also got a big learning curve, as you've got to use a language that's new to most people (Objective-C) and Apple's tools (XCode, Interface Builder, etc.) to get the most out of it. - Kevin -- Kevin Eye Web Applications Developer Marketing and Creative Services University at Buffalo 330 Crofts Hall Buffalo, NY 14260 eye at buffalo.edu phone (716) 645-5000 x1435 fax (716) 645-3765 From rdice at pobox.com Sat Apr 8 06:29:16 2006 From: rdice at pobox.com (Richard Dice) Date: Sat, 08 Apr 2006 09:29:16 -0400 Subject: [Buffalo-pm] Using a C API with Perl... In-Reply-To: References: Message-ID: <4437BAAC.5080103@pobox.com> Depending on the complexity of the C API, Inline::C might not be able to cope with it. If that's the case you could try using SWIG instead. It's a C/C++ API -> many language binding toolkit, which in the case of Perl actually has the ability to generate "perl Makefile.PL" style modules. http://www.swig.org/ http://www.swig.org/papers/Perl98/swigperl.htm Cheers, Richard DANIEL MAGNUSZEWSKI wrote: > Mongers, > > There are API's, for C and Java, within the Mac OSX SDK. I want the > ability to use the C API within Perl. I've come across perlxs > (http://search.cpan.org/~nwclark/perl-5.8.8/pod/perlxs.pod) but I'm not > sure if there is a better/easier way of doing this. Would it be faster > if I just wrote a program in C (using the API) that receives input from > STDIN - from there I could just create a pipe to it within the Perl > script? The data being sent through the system is very time sensitive, > so I'd like to use the method that will create the lowest latency and > load. > > Any thoughts/suggestions? > > From dmagnuszewski at mandtbank.com Mon Apr 10 06:27:30 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Mon, 10 Apr 2006 09:27:30 -0400 Subject: [Buffalo-pm] Using a C API with Perl... Message-ID: >>> "Kevin Eye" 04/06/06 5:02 PM >>> > My suggestion would be that if what you're doing is just > wrapping more of the CoreMIDI API, I'd try to add it to > the existing perl module. For one thing, all the setup of > the XS would be half done and there would be plenty of > examples to follow. For another, you could easily submit > your additions. Yeah, I talked to the module owner and he informed me that Chris Nandor had just sent him some new code that would allow for sending MIDI data. This may eliminate my need for doing this, but I'm not positive yet. Now I'm just waiting for him to update the module and upload it to CPAN. Thanks to everyone for their suggestions - there's definitely many options available to do this. -Dan From dmagnuszewski at mandtbank.com Mon Apr 10 07:04:31 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Mon, 10 Apr 2006 10:04:31 -0400 Subject: [Buffalo-pm] Topics For This Month's Meeting - April 18th Message-ID: Mongers, This is an FYI that we are just over a week away from this month's meeting - which will be held on April 18th in Bell 242, UB North Campus. I'd like to get the topics confirmed. We will need a "Main" topic along with a beginner topic. Previously recommended topics: Intro To Perl (and cool tricks) Using Perl For Serial I/O (David Andruczyk - any progress?) GIS & Perl More GUI Stuff... Creating Executable Files In Perl (perl2exe, PAR, etc) SWISH Mod_Perl Pack/Unpack Functions Ajax Perl and Terminal Services Lightning Talks Personally, I wouldn't mind doing the beginner topic, then following that with lightning talks. Thoughts? -Dan From dmagnuszewski at mandtbank.com Mon Apr 17 07:53:39 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Mon, 17 Apr 2006 10:53:39 -0400 Subject: [Buffalo-pm] The April Buffalo Perl Mongers Meeting Is Tomorrow! Message-ID: Mongers, Just an FYI that there is a meeting tomorrow: Time: 8 PM Place: Bell 242, UB North Campus The topics have not yet been ironed out, but I will confirm and let everyone know by the end of the day. -Dan From dmagnuszewski at mandtbank.com Mon Apr 17 14:07:32 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Mon, 17 Apr 2006 17:07:32 -0400 Subject: [Buffalo-pm] April Meeting Topic - Perl Jam! Message-ID: April Meeting Agenda Time: 8 PM Place: 242 Bell Hall, UB North Campus Topic #1: Perl Jam - Music in the key of Perl (60 Minutes) Part 1 of an "n" part series... This talk will discuss my personal adventures of trying to create (decent sounding) music with Perl. A good portion of computer generated (or algorithmic) music, tends to sound like R2-D2 during a screaming match - which can be cool, but not all the time. My goal was to try and create random, dynamic, and improvisational music, controlled by a computer program. What genre encompasses these qualities? Jazz, of course. I figured that I could encode the fundamentals of playing Jazz music in Perl. How well are things working out for me so far? That's what I'll discuss during my presentation and live concert. Topic #2: Introductory Topic Currently, there are no introductory topics suggested. Jim can give his presentation on "Sorting in Perl" if there are no other suggestions. If there's something you'd like to see presented, then let us know. See you tomorrow! -Dan From dmagnuszewski at mandtbank.com Mon Apr 17 14:08:21 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Mon, 17 Apr 2006 17:08:21 -0400 Subject: [Buffalo-pm] Fwd: YAPC::NA 2006 - Call for Virtual Presentation Message-ID: FYI -------------- next part -------------- An embedded message was scrubbed... From: "Sarah Burcham" Subject: YAPC::NA 2006 - Call for Virtual Presentation Date: Mon, 17 Apr 2006 14:57:25 -0500 Size: 3205 Url: http://mail.pm.org/pipermail/buffalo-pm/attachments/20060417/1c07f9e2/attachment.mht From rdice at pobox.com Tue Apr 18 01:03:05 2006 From: rdice at pobox.com (Richard Dice) Date: Tue, 18 Apr 2006 04:03:05 -0400 Subject: [Buffalo-pm] code submissions for the MJD trip Message-ID: <44449D39.6060400@pobox.com> Hi everyone, I got some feedback from MJD recently that he hasn't received much in the way of code submissions for his Toronto trip yet. If this doesn't change then unfortunately we might have to reschedule his trip for a later date. If anyone out there has been sitting on the fence regarding this, or has been meaning to put something together but has been procrastinating, now is the time to change that. A final decision regarding scheduling will have to be made over the next few days. Guidelines for submission: http://perl.plover.com/flagbook/contribute.html Email contributions to: mjd-contrib-tor at plover.com Cheers, Richard From dmagnuszewski at mandtbank.com Tue Apr 18 11:52:55 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Tue, 18 Apr 2006 14:52:55 -0400 Subject: [Buffalo-pm] Reminder - April Meeting Is Today! Message-ID: Just a reminder of today's meeting... Meeting Agenda Time: 8 PM Place: 242 Bell Hall, UB North Campus Topic #1: Perl Jam - Music in the key of Perl (60 Minutes) Part 1 of an "n" part series... This talk will discuss my personal adventures of trying to create (decent sounding) music with Perl. A good portion of computer generated (or algorithmic) music, tends to sound like R2-D2 during a screaming match - which can be cool, but not all the time. My goal was to try and create random, dynamic, and improvisational music, controlled by a computer program. What genre encompasses these qualities? Jazz, of course. I figured that I could encode the fundamentals of playing Jazz music in Perl. How well are things working out for me so far? That's what I'll discuss during my presentation and live concert. Topic #2: Introductory Topic Currently, there are no introductory topics suggested. Jim can give his presentation on "Sorting in Perl" if there are no other suggestions. If there's something you'd like to see presented, then let us know. See you later! -Dan From dmagnuszewski at mandtbank.com Wed Apr 19 06:28:48 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Wed, 19 Apr 2006 09:28:48 -0400 Subject: [Buffalo-pm] OT - John McCarthy Giving A Talk At UB... Message-ID: For those interested, John McCarthy will be giving a talk at UB this Friday, April 21st at 2 PM. John McCarthy has been Professor of Computer Science at Stanford University since 1962. His research is mainly in artificial intelligence. Long ago he originated the Lisp programming language and the initial research on general purpose time-sharing computer systems. More can be found in his Web page ( http://www-formal.stanford.edu/jmc ). -------------- next part -------------- A non-text attachment was scrubbed... Name: UB_CSEPoster.pdf Type: application/pdf Size: 1380129 bytes Desc: not available Url : http://mail.pm.org/pipermail/buffalo-pm/attachments/20060419/31a20413/attachment-0001.pdf From dmagnuszewski at mandtbank.com Wed Apr 19 10:11:23 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Wed, 19 Apr 2006 13:11:23 -0400 Subject: [Buffalo-pm] code submissions for the MJD trip Message-ID: Just a reminder for those of you who have yet to donate for the MJD talk: http://hew.ca/ Richard, Are you guys near-goal on funds? -Dan >>> "Richard Dice" 04/18/06 4:03 AM >>> Hi everyone, I got some feedback from MJD recently that he hasn't received much in the way of code submissions for his Toronto trip yet. If this doesn't change then unfortunately we might have to reschedule his trip for a later date. If anyone out there has been sitting on the fence regarding this, or has been meaning to put something together but has been procrastinating, now is the time to change that. A final decision regarding scheduling will have to be made over the next few days. Guidelines for submission: http://perl.plover.com/flagbook/contribute.html Email contributions to: mjd-contrib-tor at plover.com Cheers, Richard From jkeen at verizon.net Wed Apr 19 12:57:23 2006 From: jkeen at verizon.net (Jim Keenan) Date: Wed, 19 Apr 2006 14:57:23 -0500 (CDT) Subject: [Buffalo-pm] OT - John McCarthy Giving A Talk At UB... Message-ID: <27621155.698061145476643566.JavaMail.root@vms076.mailsrvcs.net> >From: DANIEL MAGNUSZEWSKI >Date: Wed Apr 19 08:28:48 CDT 2006 >To: buffalo-pm at mail.pm.org >Subject: [Buffalo-pm] OT - John McCarthy Giving A Talk At UB... >For those interested, John McCarthy will be giving a talk at UB this >Friday, April 21st at 2 PM. > >John McCarthy has been Professor of Computer Science at Stanford >University since 1962. His research is mainly in artificial >intelligence. Long ago he originated the Lisp programming language and >the initial research on general purpose time-sharing computer systems. Looks very interesting. If it had been 3 weeks earlier, I would have re-timed my Buffalo visit to take it in. jimk From dmagnuszewski at mandtbank.com Wed Apr 19 14:42:12 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Wed, 19 Apr 2006 17:42:12 -0400 Subject: [Buffalo-pm] May Meeting - Lightening Talks Message-ID: Mongers, Last night we decided on having lightening talks for our May 16th meeting. I will have a place up shortly for people to sign up with their topics. This will be good for everyone, as we will cover a wide range of topics (both advanced and beginner). If you are unfamiliar with lightening talks check out: http://perl.plover.com/lt/lightning-talks.html For those of you who were at the meeting last night, I know there was a lot of information outside of the Perl domain. If anyone is interested in reading up on the different things I talked about, then they can check out some of the sites that I have used during my research: http://www.perl.com/pub/a/2004/08/31/livecode.html http://www.toplap.org http://en.wikipedia.org/wiki/Computer_generated_music http://en.wikipedia.org/wiki/Live_coding http://www.audiosynth.com http://en.wikipedia.org/wiki/SuperCollider http://chuck.cs.princeton.edu http://en.wikipedia.org/wiki/ChucK http://www.automatous-monk.com http://www-128.ibm.com/developerworks/java/library/j-camusic/?ca=dgr-lnxwj01j-camusic http://www.csounds.com http://www.tldp.org/HOWTO/MIDI-HOWTO-8.html http://www.alsa-project.org http://search.cpan.org/search?query=midi&mode=all http://search.cpan.org/search?query=music&mode=all http://en.wikipedia.org/wiki/Midi http://en.wikipedia.org/wiki/Open_Sound_Control I'll see everyone next month! -Dan From joshj at linuxmail.org Tue Apr 25 14:56:15 2006 From: joshj at linuxmail.org (joshj at linuxmail.org) Date: Tue, 25 Apr 2006 17:56:15 -0400 (EDT) Subject: [Buffalo-pm] mod_perl2, pass control back to apache? Message-ID: I have a mod_perl app. I have it so that a certain directory can only be accessed if the user has a valid session. If its not valid it returns an Apache::Const::FORBIDDEN. Is there any way I can set this up so that control of the file is somehow given back to Apache once the user's session is validated? I'll try to clarify a bit: The user goes to get a listing of the directory. But they are not logged in. They get the Forbidden page. This works fine. If the user is logged in then I want them to be able to get that classic Apache Directory listing. Then they can click on the files and they will get them. If I have to take care of this stuff on the Perl side then I have to manually create the directory listing. Which isn't bad. but serving up the files is a bit of a problem because I can't figure an easy way to determing the content_type. Is there a way to get the content_type or mime-type from the ApacheRequest object? Another option would be to proxy this to another apache server that only listens on localhost and just serves up static files. Does any of this sound doable? -Josh J From bennymack at gmail.com Tue Apr 25 15:04:41 2006 From: bennymack at gmail.com (Ben. B.) Date: Tue, 25 Apr 2006 18:04:41 -0400 Subject: [Buffalo-pm] mod_perl2, pass control back to apache? In-Reply-To: References: Message-ID: I'm not 100% sure but I think what you're looking for is the DECLINED constant. What you would do is have your request object return DECLINED then apache would take over again. I learned this trick while using mod_perl in conjunction with HTML::Mason http://www.masonhq.com/?HandlingDirectoriesWithDhandlers On 4/25/06, joshj at linuxmail.org wrote: > I have a mod_perl app. I have it so that a certain directory can only be > accessed if the user has a valid session. If its not valid it returns an > Apache::Const::FORBIDDEN. Is there any way I can set this up so that > control of the file is somehow given back to Apache once the user's > session is validated? I'll try to clarify a bit: > > The user goes to get a listing of the directory. But they are not logged > in. They get the Forbidden page. This works fine. > > If the user is logged in then I want them to be able to get that classic > Apache Directory listing. Then they can click on the files and they will > get them. > > If I have to take care of this stuff on the Perl side then I have to > manually create the directory listing. Which isn't bad. but serving up > the files is a bit of a problem because I can't figure an easy way to > determing the content_type. Is there a way to get the content_type or > mime-type from the ApacheRequest object? > > Another option would be to proxy this to another apache server that only > listens on localhost and just serves up static files. Does any of this > sound doable? > > -Josh J > _______________________________________________ > Buffalo-pm mailing list > Buffalo-pm at pm.org > http://mail.pm.org/mailman/listinfo/buffalo-pm > From joshj at linuxmail.org Tue Apr 25 16:49:50 2006 From: joshj at linuxmail.org (joshj at linuxmail.org) Date: Tue, 25 Apr 2006 19:49:50 -0400 (EDT) Subject: [Buffalo-pm] mod_perl2, pass control back to apache? In-Reply-To: References: Message-ID: Thus spake Ben. B. on Tue, 25 Apr 2006 > I'm not 100% sure but I think what you're looking for is the DECLINED > constant. What you would do is have your request object return > DECLINED then apache would take over again. I learned this trick while > using mod_perl in conjunction with HTML::Mason That is exactly what I was looking for! Thanks man, worked like a charm. -Josh > > http://www.masonhq.com/?HandlingDirectoriesWithDhandlers > > On 4/25/06, joshj at linuxmail.org wrote: >> I have a mod_perl app. I have it so that a certain directory can only be >> accessed if the user has a valid session. If its not valid it returns an >> Apache::Const::FORBIDDEN. Is there any way I can set this up so that >> control of the file is somehow given back to Apache once the user's >> session is validated? I'll try to clarify a bit: >> >> The user goes to get a listing of the directory. But they are not logged >> in. They get the Forbidden page. This works fine. >> >> If the user is logged in then I want them to be able to get that classic >> Apache Directory listing. Then they can click on the files and they will >> get them. >> >> If I have to take care of this stuff on the Perl side then I have to >> manually create the directory listing. Which isn't bad. but serving up >> the files is a bit of a problem because I can't figure an easy way to >> determing the content_type. Is there a way to get the content_type or >> mime-type from the ApacheRequest object? >> >> Another option would be to proxy this to another apache server that only >> listens on localhost and just serves up static files. Does any of this >> sound doable? >> >> -Josh J >> _______________________________________________ >> Buffalo-pm mailing list >> Buffalo-pm at pm.org >> http://mail.pm.org/mailman/listinfo/buffalo-pm >> > From rdice at pobox.com Wed Apr 26 16:07:13 2006 From: rdice at pobox.com (Richard Dice) Date: Wed, 26 Apr 2006 19:07:13 -0400 Subject: [Buffalo-pm] Update on MJD talk (Sat 13 May 2006, afternoon) Message-ID: <444FFD21.1090500@pobox.com> Hi everyone, Here are a few updates on the MJD talk plans. (Yes, I'm still busting my hump for this!) MJD has bought his plane tickets! If that doesn't say that the talk is a go then nothing does! He'll arrive the morning of Friday 12th May and return to Philly the morning of Sunday 14th May. As previously mentioned many times, the talk will be the afternoon of Saturday 13th May. For all who are interested we'll get out for dinner/pubbing after that, too. There might be time for random other group socialization as well; I'll be sure to email the list if anything comes together. MJD wanted to pass along his thanks for receiving a *lot* of code contributions. (My thanks to everyone, too.) I believe he told me that it was the most he's received from any PM group thus far on the "Flag book tour." (Btw, in case anyone is interested in seeing where he's been and where he'll be going on the tour, you can see the list he's keeping at: http://perl.plover.com/flagbook/tour.html ) Of course, the info that everyone is waiting for is the precise time/place of the talk. Equally of course, I don't quite have that entirely worked out just yet. :-) I have leads with both Seneca/York and U. Toronto I'm pursuing. The time window is for the start to be around 1-2pm and end about 4 hours later. Venue availability will play a part in what the final times work out to be. The talks: 1) The custom-built "red flag" talk using the example provided by the currently-mysterious TPM member, about 2 hours 2) "Perl Contains the Lambda Calculus (How to write a 163 line program to compute 1 + 1)" -- about 90 minutes; a fitting homage to his recent book "Higher Order Perl". (Maybe I'll finally understand the Y-combinator after this talk!) 3) ??? don't know yet. I'm asking him to pick a "fun talk" talk at random for another 1/2 hour. Maybe two 15 minute ones. His choice. Regarding donations, yes, there is still room to donate! (Translation: we're not there yet.) I'll be at the TPM meeting tomorrow (Thursday) night with my receipt book for anyone who'd like to contribute then, and of course I'll bring it to the afternoon of the event as well. If anyone is interested in donating via PayPal you can check out the web page that TPM regular Fulko Hew set up for the trip: http://hew.ca/ Thanks everyone. When I have the venue & time details finally nailed down I'll get them to the list. Looking forward to seeing you tomorrow night as well as on May 13th! Cheers, Richard From dmagnuszewski at mandtbank.com Thu Apr 27 06:47:16 2006 From: dmagnuszewski at mandtbank.com (DANIEL MAGNUSZEWSKI) Date: Thu, 27 Apr 2006 09:47:16 -0400 Subject: [Buffalo-pm] YAPC::NA 2006 Schedule Is Out! Message-ID: FYI... http://www.yapcchicago.org/the-schedule Looks like we will have a fellow BPM'er (Jim Brandt) giving a talk too!