From gwadej at anomaly.org Tue Jan 3 05:15:42 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 3 Jan 2006 07:15:42 -0600 Subject: [pm-h] January Meeting Reminder Message-ID: <20060103071542.742b9dab@sovvan> I hope everyone had a happy holiday season. It's reminder time. The next Houston.pm meeting is next Tuesday, January 10 at 7pm. Paul Archer will be leading the session. G. Wade -- "any technology sufficiently advanced is indistinguishable from a Perl script." -- Programming Perl, 2nd ed. From gwadej at anomaly.org Wed Jan 4 19:30:05 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 4 Jan 2006 21:30:05 -0600 Subject: [pm-h] Interesting article on Perl startup times Message-ID: <20060104213005.17c9cfb9@sovvan> I've finally gotten around to reading some of the articles on my outstanding list. This one looks good for anyone that has trouble with Perl programs not starting quickly enough. perl.com: A Timely Start http://www.perl.com/pub/a/2005/12/21/a_timely_start.html G. Wade -- Many people would sooner die than think. In fact, they do. -- Bertrand Russell From gwadej at anomaly.org Sat Jan 7 11:24:14 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 7 Jan 2006 13:24:14 -0600 Subject: [pm-h] A new Perl Testing module Message-ID: <20060107132414.0c1fccb5@sovvan> Here's an article on perl.com about a new Test module that someone may find to be useful. perl.com: Testing Files and Test Modules http://www.perl.com/pub/a/2005/12/08/test_files.html?CMP=OTC-BD0016219291&ATT=Testing+Files+and+Test+Modules G. Wade -- If there's no solution, there's no problem. -- Rick Hoselton From gwadej at anomaly.org Wed Jan 11 05:15:23 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Wed, 11 Jan 2006 07:15:23 -0600 Subject: [pm-h] Last night's meeting Message-ID: <20060111071523.51381903@sovvan> We had a pretty good turnout to the meeting last night, including two people who were new to the group. The project-presentation went pretty well and we learned a few things about Inline::C and libusb in the process. There was some question about whether we should continue this next month or maybe have a completed example next month. (Even though that would mean postponing the GUI matchup another month.) There was even a somewhat lively discussion of some of the code formatting recommendations from Perl Best Practices. I'll try to get a write-up about the meeting on the website in the next few days. G. Wade -- $HOME is where your dotfiles are. -- Gym Quirk From gwadej at anomaly.org Thu Jan 12 05:09:32 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 12 Jan 2006 07:09:32 -0600 Subject: [pm-h] Perl libusb interface Message-ID: <20060112070932.3b3ce5e6@sovvan> A few people have expressed interest in picking up next month with the USB project again. Does anyone else have an opinion? I did a little looking on CPAN and found there is a module called Device::USB that provides a wrapper around libusb. Unfortunately, it only provides an function to list devices. Would we want to begin building this interface as a group project? If so, we could contact the author of Device::USB to find out if he would be willing to turn the module over to us. Otherwise, we can just name it differently. G. Wade -- No, no, you're not thinking, you're just being logical. -- Neils Bohr From tigger at io.com Thu Jan 12 05:12:26 2006 From: tigger at io.com (Paul Archer) Date: Thu, 12 Jan 2006 07:12:26 -0600 (CST) Subject: [pm-h] Perl libusb interface In-Reply-To: <20060112070932.3b3ce5e6@sovvan> References: <20060112070932.3b3ce5e6@sovvan> Message-ID: <20060112071113.D80800@eris.io.com> 7:09am, G. Wade Johnson wrote: > A few people have expressed interest in picking up next month with the USB > project again. Does anyone else have an opinion? > Well, obviously I'm interested. 8-) > I did a little looking on CPAN and found there is a module called Device::USB > that provides a wrapper around libusb. Unfortunately, it only provides an > function to list devices. > > Would we want to begin building this interface as a group project? If so, we > could contact the author of Device::USB to find out if he would be willing to > turn the module over to us. Otherwise, we can just name it differently. > I talked to [mumble] about adding to Device::USB. He was all for it, and very enthusiastic. I didn't talk about ownership, though. Paul ---------------------------------------------------------------------------- Actual listing in the TV section of the Marin (CA) Independent-Journal: Movie "The Wizard of Oz": Transported to a surreal landscape, a young girl kills the first woman she meets, then teams up with three complete strangers to kill again. ---------------------------------------------------------------------------- From gwadej at anomaly.org Thu Jan 12 16:57:27 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 12 Jan 2006 18:57:27 -0600 Subject: [pm-h] Perl libusb interface In-Reply-To: <20060112071113.D80800@eris.io.com> References: <20060112070932.3b3ce5e6@sovvan> <20060112071113.D80800@eris.io.com> Message-ID: <20060112185727.594eaa09@sovvan> I was thinking about it on the way to work this morning and had a somewhat different idea. Device::USB seems to be somewhat higher-level than libusb in the one method he has implemented. So, I was thinking we could steal an approach from the Perl XML community. How about we build Device::USB::LibUSB that is a relatively thin wrapper over libusb. Then, we can implement a higher-level interface in Device::USB. If another library turns out to be better than libusb, Device::USB could be ported to that library instead. What does everyone think? G. Wade On Thu, 12 Jan 2006 07:12:26 -0600 (CST) Paul Archer wrote: > 7:09am, G. Wade Johnson wrote: > > > A few people have expressed interest in picking up next month with the USB > > project again. Does anyone else have an opinion? > > > Well, obviously I'm interested. 8-) > > > > I did a little looking on CPAN and found there is a module called > > Device::USB that provides a wrapper around libusb. Unfortunately, it only > > provides an function to list devices. > > > > Would we want to begin building this interface as a group project? If so, > > we could contact the author of Device::USB to find out if he would be > > willing to turn the module over to us. Otherwise, we can just name it > > differently. > > > I talked to [mumble] about adding to Device::USB. He was all for it, and > very enthusiastic. I didn't talk about ownership, though. > > Paul > > > > ---------------------------------------------------------------------------- > Actual listing in the TV section of the Marin (CA) Independent-Journal: > Movie "The Wizard of Oz": Transported to a surreal landscape, a young girl > kills the first woman she meets, then teams up with three complete strangers > > to kill again. > ---------------------------------------------------------------------------- > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston -- I've been living on the edge too long, where the winds of limbo roar. -- "Veteran of Psychic Wars", Blue Oyster Cult From tigger at io.com Thu Jan 12 17:31:02 2006 From: tigger at io.com (Paul Archer) Date: Thu, 12 Jan 2006 19:31:02 -0600 (CST) Subject: [pm-h] Perl libusb interface In-Reply-To: <20060112185727.594eaa09@sovvan> References: <20060112070932.3b3ce5e6@sovvan> <20060112071113.D80800@eris.io.com> <20060112185727.594eaa09@sovvan> Message-ID: <20060112193037.K80800@eris.io.com> Sounds like a good idea to me! Paul PS How do you write a test suite for something like that? 6:57pm, G. Wade Johnson wrote: > I was thinking about it on the way to work this morning and had a somewhat > different idea. Device::USB seems to be somewhat higher-level than libusb in > the one method he has implemented. > > So, I was thinking we could steal an approach from the Perl XML community. How > about we build Device::USB::LibUSB that is a relatively thin wrapper over > libusb. Then, we can implement a higher-level interface in Device::USB. > > If another library turns out to be better than libusb, Device::USB could be > ported to that library instead. > > What does everyone think? > > G. Wade > > On Thu, 12 Jan 2006 07:12:26 -0600 (CST) > Paul Archer wrote: > >> 7:09am, G. Wade Johnson wrote: >> >>> A few people have expressed interest in picking up next month with the USB >>> project again. Does anyone else have an opinion? >>> >> Well, obviously I'm interested. 8-) >> >> >>> I did a little looking on CPAN and found there is a module called >>> Device::USB that provides a wrapper around libusb. Unfortunately, it only >>> provides an function to list devices. >>> >>> Would we want to begin building this interface as a group project? If so, >>> we could contact the author of Device::USB to find out if he would be >>> willing to turn the module over to us. Otherwise, we can just name it >>> differently. >>> >> I talked to [mumble] about adding to Device::USB. He was all for it, and >> very enthusiastic. I didn't talk about ownership, though. >> >> Paul >> >> >> >> ---------------------------------------------------------------------------- >> Actual listing in the TV section of the Marin (CA) Independent-Journal: >> Movie "The Wizard of Oz": Transported to a surreal landscape, a young girl >> kills the first woman she meets, then teams up with three complete strangers >> >> to kill again. >> ---------------------------------------------------------------------------- >> _______________________________________________ >> Houston mailing list >> Houston at pm.org >> http://mail.pm.org/mailman/listinfo/houston > > > -- > I've been living on the edge too long, where the winds of limbo roar. > -- "Veteran of Psychic Wars", Blue Oyster Cult > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > ------------------------------------------------------------------------ The Bible is not my Book and Christianity is not my religion. I could never give assent to the long complicated statements of Christian dogma. ---------------------- Abraham Lincoln---------------------------------- From gwadej at anomaly.org Thu Jan 12 18:13:11 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Thu, 12 Jan 2006 20:13:11 -0600 Subject: [pm-h] Perl libusb interface In-Reply-To: <20060112193037.K80800@eris.io.com> References: <20060112070932.3b3ce5e6@sovvan> <20060112071113.D80800@eris.io.com> <20060112185727.594eaa09@sovvan> <20060112193037.K80800@eris.io.com> Message-ID: <20060112201311.3ea67371@sovvan> On Thu, 12 Jan 2006 19:31:02 -0600 (CST) Paul Archer wrote: > Sounds like a good idea to me! > > Paul > > PS How do you write a test suite for something like that? It's pretty hard to write a generic test suite for a piece of hardware that someone else doesn't have. One thing that would be possible is to build a replacement for the libusb library that you use during testing to verify that your interface with the library works. The rest of what the Perl module does is setting up and tearing down calls to the library. G. Wade > > 6:57pm, G. Wade Johnson wrote: > > > I was thinking about it on the way to work this morning and had a somewhat > > different idea. Device::USB seems to be somewhat higher-level than libusb > > in the one method he has implemented. > > > > So, I was thinking we could steal an approach from the Perl XML community. > > How about we build Device::USB::LibUSB that is a relatively thin wrapper > > over libusb. Then, we can implement a higher-level interface in > > Device::USB. > > > > If another library turns out to be better than libusb, Device::USB could > > be ported to that library instead. > > > > What does everyone think? > > > > G. Wade > > > > On Thu, 12 Jan 2006 07:12:26 -0600 (CST) > > Paul Archer wrote: > > > >> 7:09am, G. Wade Johnson wrote: > >> > >>> A few people have expressed interest in picking up next month with the > >USB>> project again. Does anyone else have an opinion? > >>> > >> Well, obviously I'm interested. 8-) > >> > >> > >>> I did a little looking on CPAN and found there is a module called > >>> Device::USB that provides a wrapper around libusb. Unfortunately, it > >only>> provides an function to list devices. > >>> > >>> Would we want to begin building this interface as a group project? If > >so,>> we could contact the author of Device::USB to find out if he would be > >>> willing to turn the module over to us. Otherwise, we can just name it > >>> differently. > >>> > >> I talked to [mumble] about adding to Device::USB. He was all for it, and > >> very enthusiastic. I didn't talk about ownership, though. > >> > >> Paul > >> > >> > >> > >> > >-------------------------------------------------------------------------- > >--> Actual listing in the TV section of the Marin (CA) Independent-Journal: > >> Movie "The Wizard of Oz": Transported to a surreal landscape, a young > >girl> kills the first woman she meets, then teams up with three complete > >strangers> > >> to kill again. > >> > >-------------------------------------------------------------------------- > >--> _______________________________________________ > >> Houston mailing list > >> Houston at pm.org > >> http://mail.pm.org/mailman/listinfo/houston > > > > > > -- > > I've been living on the edge too long, where the winds of limbo roar. > > -- "Veteran of Psychic Wars", Blue Oyster Cult > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > > > > > ------------------------------------------------------------------------ > The Bible is not my Book and Christianity is not my religion. I could > never give assent to the long complicated statements of Christian dogma. > ---------------------- Abraham Lincoln---------------------------------- > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston -- Be careful about reading health books. You may die of a misprint. -- Mark Twain From gwadej at anomaly.org Sat Jan 14 14:41:55 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 14 Jan 2006 16:41:55 -0600 Subject: [pm-h] January meeting. Message-ID: <20060114164155.6ea29448@sovvan> I have posted a writeup of the January meeting. I hope to update it with the code we worked on as well as pictures and such. Since there has been some interest in continuing the project next month, I've blocked out the next two meetings in the calendar for work on the project. We can always reschedule if it takes more or less time than that. G. Wade -- "And so it begins" -- Ambassador Kosh From gwadej at anomaly.org Sat Jan 14 14:50:18 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 14 Jan 2006 16:50:18 -0600 Subject: [pm-h] Inline::C and libusb Message-ID: <20060114165018.561dc4da@sovvan> In doing the writeup on the meeting, I took a little time to look back at the Inline::C docs. I was hoping to get a handle on some of the problems we were having. It turns out that we can probably pass pointers to structures around with a little bit of typemap magic. I haven't gotten far enough to be sure of all of the details, but essentially, typemaps are a way to tell XS and Inline::C how to map a data type to its Perl equivalent. The TYPEMAPS configuration option allows us to add to the typemap. Additionally, there's an AUTOWRAP option that handles parsing simple declarations without need for functions. Unfortunately, Inline::C does not support reading the header files and doing the mapping for us. That is apparently supported in some of the other languages, but not in C. G. Wade -- Those who live by the sword get shot by those who don't. From mikeflan at earthlink.net Sun Jan 15 08:07:34 2006 From: mikeflan at earthlink.net (Mike Flannigan) Date: Sun, 15 Jan 2006 10:07:34 -0600 Subject: [pm-h] January meeting. References: <20060114164155.6ea29448@sovvan> Message-ID: <43CA7346.3AFAED30@earthlink.net> Anybody have a url to get to this write-up? The link below didn't lead me there. Mike "G. Wade Johnson" wrote: > I have posted a writeup of the January meeting. I hope to update it with the > code we worked on as well as pictures and such. > > Since there has been some interest in continuing the project next month, I've > blocked out the next two meetings in the calendar for work on the project. We > can always reschedule if it takes more or less time than that. > > G. Wade > -- > "And so it begins" -- Ambassador Kosh > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston From will.willis at gmail.com Sun Jan 15 08:10:34 2006 From: will.willis at gmail.com (Will Willis) Date: Sun, 15 Jan 2006 10:10:34 -0600 Subject: [pm-h] January meeting. In-Reply-To: <43CA7346.3AFAED30@earthlink.net> References: <20060114164155.6ea29448@sovvan> <43CA7346.3AFAED30@earthlink.net> Message-ID: <6ee1e6090601150810u36493d2fw8f3d9b623e2167a8@mail.gmail.com> http://houston.pm.org/talks/2006talks/0601Talk/index.html -Will On 1/15/06, Mike Flannigan wrote: > > > Anybody have a url to get to this write-up? > The link below didn't lead me there. > > > Mike > > > "G. Wade Johnson" wrote: > > > I have posted a writeup of the January meeting. I hope to update it with > the > > code we worked on as well as pictures and such. > > > > Since there has been some interest in continuing the project next month, > I've > > blocked out the next two meetings in the calendar for work on the > project. We > > can always reschedule if it takes more or less time than that. > > > > G. Wade > > -- > > "And so it begins" -- Ambassador Kosh > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.pm.org/mailman/private/houston/attachments/20060115/c093b015/attachment.html From gwadej at anomaly.org Tue Jan 17 21:00:25 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Tue, 17 Jan 2006 23:00:25 -0600 Subject: [pm-h] January code Message-ID: <20060117230025.463b952a@sovvan> Code for the January presentation is now up on the site. The write-up on the presentation is http://houston.pm.org/talks/2006talks/0601Talk/index.html G. Wade -- Virtual is when it's not but it looks like it is and transparent is when it is but it looks like it isn't. -- Rick Hoselton From gwadej at anomaly.org Fri Jan 20 19:47:53 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Fri, 20 Jan 2006 21:47:53 -0600 Subject: [pm-h] More OO Perl Message-ID: <20060120214753.59405e85@sovvan> Here's an interesting set of slides on an OO approach called Inside-Out Objects. I really won't know what to think about this technique until I've built some substantial code with it. G. Wade -- DON'T PANIC! I'm a trained professional, and far more qualified to panic in this situation than you are. From tigger at io.com Sat Jan 21 09:06:44 2006 From: tigger at io.com (Paul Archer) Date: Sat, 21 Jan 2006 11:06:44 -0600 (CST) Subject: [pm-h] More OO Perl In-Reply-To: <20060120214753.59405e85@sovvan> References: <20060120214753.59405e85@sovvan> Message-ID: <20060121110625.C48870@eris.io.com> Looks like you forgot the URL/attachment. paul Yesterday, G. Wade Johnson wrote: > Here's an interesting set of slides on an OO approach called Inside-Out > Objects. I really won't know what to think about this technique until I've > built some substantial code with it. > > G. Wade > -- > DON'T PANIC! I'm a trained professional, and far more qualified to panic in > this situation than you are. > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston > ---------------------------------------------------------------- As to Jesus of Nazareth...I think the system of Morals and his Religion, as he left them to us, the best the World ever saw or is likely to see; but I apprehend it has received various corrupting Changes, and I have, with most of the present Dissenters in England, some doubts as to his divinity. --------------------Benjamin Franklin--------------------------- From gwadej at anomaly.org Sat Jan 21 09:27:04 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Sat, 21 Jan 2006 11:27:04 -0600 Subject: [pm-h] More OO Perl In-Reply-To: <20060121110625.C48870@eris.io.com> References: <20060120214753.59405e85@sovvan> <20060121110625.C48870@eris.io.com> Message-ID: <20060121112704.20d1b279@sovvan> "Of all the things I've lost, I miss my mind the most." -- Ozzy Osbourne use Perl | Slides from NY Inside-Out Talk http://use.perl.org/article.pl?sid=06/01/18/2149232 That will probably help. Thanks, Paul. G. Wade On Sat, 21 Jan 2006 11:06:44 -0600 (CST) Paul Archer wrote: > Looks like you forgot the URL/attachment. > > paul > > Yesterday, G. Wade Johnson wrote: > > > Here's an interesting set of slides on an OO approach called Inside-Out > > Objects. I really won't know what to think about this technique until I've > > built some substantial code with it. > > > > G. Wade > > -- > > DON'T PANIC! I'm a trained professional, and far more qualified to panic > > in this situation than you are. > > _______________________________________________ > > Houston mailing list > > Houston at pm.org > > http://mail.pm.org/mailman/listinfo/houston > > > > > > ---------------------------------------------------------------- > As to Jesus of Nazareth...I think the system of Morals and his > Religion, as he left them to us, the best the World ever saw > or is likely to see; but I apprehend it has received various > corrupting Changes, and I have, with most of the present > Dissenters in England, some doubts as to his divinity. > --------------------Benjamin Franklin--------------------------- > _______________________________________________ > Houston mailing list > Houston at pm.org > http://mail.pm.org/mailman/listinfo/houston -- It's easier to port a shell than a shell script. -- Larry Wall From gwadej at anomaly.org Mon Jan 23 18:28:46 2006 From: gwadej at anomaly.org (G. Wade Johnson) Date: Mon, 23 Jan 2006 20:28:46 -0600 Subject: [pm-h] Fw: O'Reilly Gives Early Access to Cutting-Edge Technology Message-ID: <20060123202846.2b6d8210@sovvan> Hi, all. O'Reilly asked me to forward this. It looks like it might be interesting to some of us. -------------------------------------------------------------------------- O'Reilly's Safari Books Online has just announced a new service called Rough Cuts that gives you early access to content on cutting-edge technologies months before it's published. Rough Cuts allows you to purchase work-in-progress manuscripts of selected titles. You'll even have the chance to shape the final product by sending feedback to the author and editors. The beta version just debuted with four works-in-progress covering Ajax, Ruby, and Flickr. For more information, go to: http://www.oreilly.com/roughcuts/ Titles now available: Ajax Hacks: Rough Cuts Version http://www.oreilly.com/catalog/ajaxhks/ Flickr Hacks: Rough Cuts Version http://www.oreilly.com/catalog/flickrhks/ Ruby Cookbook: Rough Cuts Version http://www.oreilly.com/catalog/rubyckbk/ Ruby on Rails: Up and Running: Rough Cuts Version http://www.oreilly.com/catalog/rubyrails/ Rough Cuts FAQ http://www.oreilly.com/roughcuts/faq.csp -------------------------------------------------------------------------- -- "Very sad life. Probably also have sad death. But at least there is symmetry." -- Zathras