Re: [Boston.pm] Tomorrow: Tech Meeting, Tues 11/10 : Perl 6
+1 -F Sent from my iPhone > On Nov 9, 2015, at 7:05 PM, Uri Guttmanwrote: > >> On 11/09/2015 01:58 PM, Bill Ricker wrote: >> November Next Meeting: 2nd Tuesday >> Autumn Theme: Perl 6 for Xmas[image: external image camelia-logo.png] >> Get Ready To PartyTue Nov 10 2015 MIT E51-376 9.30pm >> >> >> (*NOTE: we're Staying in the wider room 376 second door, not the squarish >> 372 first door that we had some terms.)* > rsvp > > uri > > ___ > Boston-pm mailing list > Boston-pm@mail.pm.org > http://mail.pm.org/mailman/listinfo/boston-pm > ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Social Meeting, Tuesday, Aug 11
Unfortunately, I won’t be in this here town on the 11th :/ See you in the Perlsphere Ronald! -F On Aug 3, 2015, at 10:10 AM, Morse, Richard E.,MGH remo...@mgh.harvard.edu wrote: Hi! I’ll be there! Ricky On Jul 26, 2015, at 12:12 PM, Ronald J Kimball r...@tamias.net wrote: As Uri mentioned on the announcement list, we would like to have a social meeting on Tuesday, Aug 11, so that I can say goodbye to all of you, because I am moving to Minneapolis next month! We're planning to hold it at the Sunset Grill and Tap in Allston. Please RSVP here so Uri can get a head count and reserve space for us. As an extra enticement, I will be bringing some unclaimed Perl Monger shirts from 2006. (It's been a while since I made it to a meeting, so, for those of you who may not remember me, I was the leader of Boston.pm from 1999 to 2008. :) Ronald ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] SD Card (in)Security
Hello Fellow Perl Mongers, I gave a 10-minute interview at OSCON describing the final version of the SD card hacks we described: https://www.youtube.com/watch?v=wo-Qug3fZM0index=47list=PL055Epbe6d5YhDchEvY3O4nIuSLYyrx7K I will post a link to the talk slides once they are up on the site. Thanks to all for the help prepping the talk! Best -F _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] ver 5.20 of perl?
+1 on PerlBrew. By the way, Ubuntu 14.04 LTS's system Perl is 5.18. RHEL 7 should have Perl 5.16 if the Fedora 19 release it was forked from was not altered. Bottom line, looks like system Perl is getting younger. Not upgradable perhaps, but still something. Best-F Sent from my iPhone On Jun 27, 2014, at 2:32 PM, Sean Quinlan s...@quinlan.org wrote: 5.20 is the most recent stable release, so if they are trying to get current, that is it. Upgrading the system perl from 5.8.8 to 5.20 however is probably not advisable though. What is the role-out test plan? Who is responsible for fixing any code that breaks? What is the role-back plan? As fantastic as it would be, I've yet to work with anyone who actually moved forward with that on company-wide production servers after doing any real testing. You might suggest they look into perlbrew and maybe even pinto or carton as ways of managing installing 5.20 on all the production systems for deploying new code against without disrupting the system perl and everything that may depend on it. -HTH, Sean On Fri, Jun 27, 2014 at 11:17 AM, Greg London em...@greglondon.com wrote: one of the IT guys at work just asked what I thought about installing version 5.20.0 of perl on all our computers. We currently have 5.8.8. I don't even know if 5.20 is considered stable or not. Buggy? Issues? Is a different version better? Thoughts? My experience with IT (at every job I've ever worked at) is usually one of You have perl 5.4, that should be good enough. so, I wanted to make the most of this. Greg ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] Writing Readable, Maintainable Perl - From O'Reilly's blog
http://programming.oreilly.com/2013/12/can-one-write-readable-and-maintainable-perl.html Best -F _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] audio processing with perl
That looks like great material for a Boston.PM talk. There was a very nice audio processing talk (in Python) at OSCON this year. FFT and auditory examples combined. Thanks -F On Nov 22, 2013, at 4:25 PM, js js0...@gmail.com wrote: On 11/21/2013 17:31, Adam Russell wrote: So, can anyone recommend an introduction or tutorial on audio processing? Extra nice if it were perl centric , of course. i really don't know the state of audio programming in perl. in my experience, you do different things with audio data than with, say, text data. i have used both csound and pd to execute manipulations of audio data. i don't know how long or how in depth you are looking to make this project, but you might need to learn some things about digital signal processing if this is to work out as you might like it to. if you were to start an audio programming adventure, i'd recommend you look into pd tutorials, as csound is somewhat old school. maybe the old school is the one you need. i cannot say. at a different level of processing, audacity is probably worth looking into. good luck. -- \js : sentient being ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Perl community The Rising Costs of Aging Perlers
On 07/23/2013 11:02 AM, Jan Jackson wrote: However, when our previous Perl instructor moved to New Hampshire to run an organic farm, there was no one interested in taking over the class, so it ended, and Perl hasn't been taught at HES for some years now. I did submit a proposal to take over that class, but I was told there was not enough interest on the student side when we last discussed this three years ago. If you think restarting the Perl class is possible, I would be interested - please contact me privately. I had worked out a full syllabus and examples for a considerable number of classes, they must be stashed in my attic somewhere :) Modern Perl would require me to update those, but it would still be a good starting point. Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Tech Meeting: Embedded Perl with Federico
On Apr 11, 2013, at 12:02 AM, Bob Rogers rogers-...@rgrjr.dyndns.org wrote: From: Greg Londonem...@greglondon.com Date: Wed, 10 Apr 2013 23:18:12 -0400 I have no idea what the signaling looks like on that 4wire connector between the platters and controller electronics, but it would seem to me that the right bit of hardware hooked directly to those 4 wires would be the best way to wipe a drive. If you drive random data onto the data wire and slowly work the head from the inside to the outside track, you would wipe out formatting data, hidden sectors, sectors marked as bad, etc. That's what ATA Secure Erase is supposed to do. It is horrible how ATA nature as a synchronous protocol (the answer arrives back effectively instantly) is being perverted when you have to wait 78 minutes for an answer. Best -F _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] New Xkcd feaaturing Perl
http://www.xkcd.org/1171/ Best -F _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] Perl renaissance
Hello Boston PM Perl renaissance, Paul fenwick's talk at Linux.conf.au is now online. Worth watching while you wait for the governor to get your street plowed this weekend: http://mirror.linux.org.au/linux.conf.au/2013/mp4/The_Perl_Renaissance.mp4 Best -F _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] February Meeting 2/12 early reminder - We critique's Uri's Code for a change :-)
Will be there. ..and Will practice the heckling in advance! Best -F On Feb 9, 2013, at 1:16 AM, Bill Ricker wrote: Our Topic is how to release a module to CPAN. Uri will show us how his old to him new to CPAN module is packaged to go. This is our chance to heckle Uri. Be there ! It's fun ! Uri, please tell everyone what module it is ... i forget. -- Bill @n1vux bill.n1...@gmail.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] distributed computing in dynamic languages
On May 4, 2012, at 2:41 PM, Uri Guttman wrote: it is much easier than most people realize. the key is a simple message passing api. that allows for local or remote calls without changing the code. then you can do your work in one process or distributed with little extra help. this is a library thing and not something needed in the language. so the quality of the library matters as much as anything else and that means knowing how to design such a beast. So. Apache Zookeeper + Perl? Incidentally, just noticed Net::ZooKeeper… Best -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] distributed computing in dynamic languages
(and, yes, I am cleaning my mail queue at 3 am) Best -F On Aug 2, 2012, at 3:13 AM, Federico Lucifredi wrote: On May 4, 2012, at 2:41 PM, Uri Guttman wrote: it is much easier than most people realize. the key is a simple message passing api. that allows for local or remote calls without changing the code. then you can do your work in one process or distributed with little extra help. this is a library thing and not something needed in the language. so the quality of the library matters as much as anything else and that means knowing how to design such a beast. So. Apache Zookeeper + Perl? Incidentally, just noticed Net::ZooKeeper… Best -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] distributed computing in dynamic languages
Hello Mongers, Pragmatic Programmers has just announced a book on distributed programming in Ruby. Somewhat the possibility never occurred to me :) I am wondering, is there some obvious reason, like a well-structured library or language property, that makes one of the dynamic languages a better option that the others for distributed computing? I am not thinking HPC, more like remote method invocation. Thanks -F _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] Fwd: [pm_groups] Bulk Orders (of Modern Perl) for User Groups
This might be interesting for your groups: http://www.modernperlbooks.com/mt/2012/03/bulk-orders-for-user-groups.html We need to hit 5 orders to make a UG order of Modern Perl, 2012 edition - 23$ instead of 35$. Bill, myself and I volunteered, and we need a few more takers! Any others? Best -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] Perl titles on Sale at O'Reilly
I just thought I would share this: http://shop.oreilly.com/category/deals/perl-programming-power.do?imm_mid=0807b4cmp=em-orm-books-videos-perl-owo-elist-splitB-resend Best -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] The second P
Okay guys, I haven't gotten a definite answer on this when I asked a couple of years back, so I'l ask again - flog me as you may :) I have a need to properly learn a certain other P language, and I do not mean PHP either. For Perl, my favorite concise summary is the first chapter of Damian's OO Perl book. What about the other, unnamed, language? Guido has written up a short language on the book, but what else has proven popular with people who already knew Perl to expand their range of dynamic languages - without reading hundred of pages? Thanks -Federico PS: I promise to flog myself if you guys actually come up with a good suggestion! _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Tech meeting TONIGHT - new Web bug affects multiple languages, but not Perl
Thanks for giving it, it was quite interesting! Best -F On Jan 15, 2012, at 9:00 PM, David Larochelle wrote: Thanks to everyone who came to my talk on Tuesday. I put a copy of the slides online here: http://blogs.law.harvard.edu/dlarochelle/2012/01/15/hash-collision-complexity-attacks-perl-vs-other-languages/ -- David On Tue, Jan 10, 2012 at 8:17 PM, Brad Oaks brado...@gmail.com wrote: I was ill today too. Hope to catch you all next month! On Tue, Jan 10, 2012 at 9:22 AM, Bill Ricker bill.n1...@gmail.com wrote: Next Tech Meeting Tuesday, January 10, 2012 7 – 10p.m. MIT E51-376 David Larochelle will explain the new multi-language web Denial of Service (DoS http://boston.pm.org/kwiki/index.cgi?DoS) threat that doesn't affect Perl (but affects Python PHP). http://www.nruns.com/_downloads/advisory28122011.pdf CVE-2011-4885 Phuket property http://www.phuketproperty.com/ Reported 2003 http://www.cs.rice.edu/~scrosby/hash/CrosbyWallach_UsenixSec2003.pdfFixed in Perl 2005 http://perldoc.perl.org/perlsec.html#Algorithmic-Complexity-Attacks This will be the last time in the summer room E51-376. We'll return to old traditional E51-372 for Feb - May. (confirmed) Speaking of security ... if your home (or office) router has WPS simple setup feature, TURN WPS OFF. NOW. Wi-Fi Protected Setup (WPS) PIN Brute Force Vulnerability https://isc.sans.edu/diary/Wi-Fi+Protected+Setup+WPS+PIN+Brute+Force+Vulnerability/12292 Sean is acting facilitator for this session, so please RSVP to the main list boston...@pm.org -- Bill @n1vux bill.n1...@gmail.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Wiki Spam
we probably don't need a wiki. Content management ahoy! Just my 5 cents. Best-F On Jan 11, 2012, at 9:50 AM, Bill Ricker wrote: On Tue, Jan 10, 2012 at 3:37 PM, Tom Metro tmetro-boston...@vl.com wrote: I'll reiterate a prior recommendation to use Wikispaces. It's been working fine for BLU and a few other projects with minimal maintenance effort. (Much nicer wiki UI than kwiki, too.) If you set it to require a login (OpenID) you pretty much eliminate spam. The big downside to it is that you have to pay in order to use a fully custom domain, otherwise you get a subdomain, which you could redirect to from your desired domain. Tom's offer is very much appreciated. My previous reply was along the lines that we'd had so little wiki-ish authoring activity (aside from the spammers) that I doubting the conversion was worth the effort and cost, was wondering if we'd have a better fit moving to a Content Management System (such as the minimalist WEBDAV that pm.org supplies -- that Jerrad and I used on Advent 2.0 -- or something fancier, hopefully Perl based, maybe runnable where our wiki is now (Quinlan's)). For FAQ/contact pages and a monthly calender update we don't need much -- and only the few who actually do the editing need write access. That's all that's really happening now. I would like comment on those requirements -- do we need a wiki ? if so, what is who going to do with it that they haven't lately ? -- Bill @n1vux bill.n1...@gmail.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Tech meeting TONIGHT - new Web bug affects multiple languages, but not Perl
will be there. Best -F On Jan 10, 2012, at 1:09 PM, Uri Guttman wrote: On 01/10/2012 09:22 AM, Bill Ricker wrote: Sean is acting facilitator for this session, so please RSVP to the main list boston...@pm.org i am attending. ain't seen much response yet. will there be pizza (free or pay)? thanx, uri ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] RSVP: Tech meeting TONIGHT
On Jan 10, 2012, at 11:39 AM, Sean Quinlan wrote: http://www.nruns.com/_downloads/advisory28122011.pdf CVE-2011-4885 Phuket property http://www.phuketproperty.com/ Reported 2003 I think this bug should be rather called the Dynamic Language Vulnerability, but Phucket Property certainly gives it more character :) Best -F PS: I gather copying from a web page selection dragged in an ad link for Thai beachfront realty... _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Wiki Spam
On Jan 10, 2012, at 3:15 PM, Ronald J Kimball wrote: Worse than that: this was copied from our Wiki, which has been very heavily hit with wiki spam again. Hrm. I Tried to clean up, someone please double-check me. Best -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] Linting for Domain Languages
Hello Perl Mongers, I am thinking of playing around with the idea of Linting the install scripts used for automated Linux deployment. For KickStart, there is pyKickStart which could be a base to go on (not looked at it yet). For AutoYaST, it is a trivial problem (it's XML), so as long as I can get a current schema, it's done. For Preseed, which is the one that interests me at the moment, there isn't much I can find. One can feed the file to sudo debconf-set-selections -c file.seed and get some kind of test (but there are issues, for instance, whitespace is not handled correctly). But that's about it. I would like to build a full parser and then have the ability to do more then generate errors, but also syntax completion suggestions, possibly even highlighting. I am not scared of C, but I think a higher level language like Perl (or the other P) may be kinder to my time. Since there are a number of language wizards in the group, I am asking for pointers, as I have not worked on implementing a language parser before. So tutorials shorter than Aho to get this accomplished are very welcome :) How would you break the work, which modules would help? That is what I am really asking, so that I can ask the right questions next ;) I saw that Martin Fowler authored a tome on implementing DSLs. Anyone checked that out? Does it apply? Best -F _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] interested in damian training?
There is a sixth person interested here :) And I actually have a tad of personal training budget to put where my mouth is, if that ballpark number is close. Best -F On Aug 10, 2011, at 4:57 PM, Philip Durbin wrote: On 08/09/2011 06:36 PM, Uri Guttman wrote: if you or your perl shop would be interested in training by damian, please let me know. i don't have the fees yet but they may be in the $500-700 per student/day range. there will likely be discounts for multiple days of training and possibly even some scholarships. the potential dates would be in early october or if that doesn't work, next july. if there is a large demand for them, a different date could be scheduled. I talked this up at work and if the cost is only about $500 per person there are four or five of us who are interested. We would need more details before we can commit, of course, but it sounds like a great opportunity. Thanks for doing the legwork on this, Uri, and please keep us posted. Phil ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifredi at acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] latest file::slurp for testing
Hello Uri, It built, tested and installed all right on openSUSE 11.2 on my laptop, nothing amiss to report. Reading the article in extras, which I liked quite a bit by the way, I noticed one thing missing: slurping configuration has a few extra details (e.g. comments), it would be nice if you included an example on how to import slightly more sophisticated config files. The best example I know is one config file to rule them all http://inthebox.webmin.com/one-config-file-to-rule-them-all but, of course, there are others. I like your module, but I mostly enjoyed the explanation of slurping, pros and cons, you definitely do not see that every day. By the way, in the talk you mentioned the old Sys Admin magazine -- Linux New Media has started a new magazine along those lines last year, Admin Magazine: http://www.admin-magazine.com/ The first issue was being distributed at OSCON IIRC. The editor is a friend, if you are interested in writing for them, I can provide you with an introduction (you know these things are mostly for the glory of it of course... the payments for writing articles being what they are these days :). Just thought I'd mention it, I think you would be a good fit for them. Rock on! -Federico Uri Guttman wrote: hi all, as i said, the last meeting gave me some good solutions and they are implemented. the current beta for File::Slurp is at: sysarch.com File-Slurp-.14.tar.gz it has support for overloaded objects for both read_file and write_file with a test for both. the pod has been updated to reflect that and it also is cleaned up for passing in io handles. some patches were applied from a tester and they make it work back to at least 5.005. there are still a few tests which fail on winblows. if those of you who volunteered to test and/or fix those tests, can download and hack away, it would be very helpful. it passes all tests on my linux perl 5.10 setup. here are the reported windoze tests that fail: # Failed test 'read_file of :utf8 file' # at t/binmode.t line 29. # Looks like you failed 1 test of 2. t/binmode.t ... # Looks like you planned 7 tests but ran 6. t/error.t . Dubious, test returned 255 (wstat 65280, 0xff00) # Failed test 'default perms works' # at t/perms.t line 19. # got: '438' # expected: '416' # Failed test 'set perms works' # at t/perms.t line 23. # got: '438' # expected: '488' # Looks like you failed 2 tests of 2. t/perms.t . Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests see if you can reproduce them and even fix them. yes, i can also try the free virtual machine redmond is offering. i could also see if hemlock will kill me! :) thanx, uri -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] profiling memory usage
I haven't tried this, but I have been mulling it for some time: using Dtrace to debug Perl. Of course, you'd have to be on *BSD or OS-X (or Soracle), But if that's Ok, using runtime probes seems very promising for the memory leak/out of memory problem area. I saw a good tutorial at OSCON on the subject, and it had a Python section, I put on my TODO list the idea of making an equivalent for Perl last year... But never got to it. I suppose on Linux Systemtap may fit the bill... But the upstream kernel guys give it such bad Karma that I haven't spent time on it. Best-Federico On Mar 8, 2011, at 22:52, Tom Metro tmetro-boston...@vl.com wrote: Some code I'm working on is triggering an out of memory error, and I'd like to figure out what specifically is responsible. (It's a complex system with dozens of libraries and it runs in parallel across a cluster of machines. Running the code in a debugger isn't a practical option.) Any recommendation for tools to do this? I don't recall if the typical profiling tools record memory usage, but a traditional profiler would be overkill for what I need. The ideal solution would be something that could hook the OOM exception and dump the symbol table along with stats for how much memory each symbol is occupying. Another useful possibility would be dumping the call stack. Is it possible to trap the OOM error? I don't think a __DIE__ handler catches it. It seems to be an unusual error in that you often see multiple of them, as if the first few are warnings, and then eventually it is fatal. -Tom -- Tom Metro Venture Logic, Newton, MA, USA Enterprise solutions through open source. Professional Profile: http://tmetro.venturelogic.com/ ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] let's bring damian here
Count me in -F Greg London wrote: I'd be willing to chip in some money. Greg hi all, when damian conway has come to boston before he has given some amazing talks which bring out massive numbers of boston perl mongers. he has come here only when he had training gigs and that isn't likely to happen. but toronto did a cool thing at least once. they collected funds and paid for a talk by damian. he is usually open to such things if he can plan his schedule for a side visit. he usually gets an around the world plane ticket which gives him flexibilty in the states. i can't quote his expenses for a visit here but i would guess it is less than $1k total. i will ask both toronto.pm and damian what it would likely cost. anyhow, are people here interested in this? if a few perl using companies gave even $50 or $100 and we collected the rest, we could pull this off easily. ask at your place for a small donation or donate something yourself. at this point i want to just gauge overall interest and possible corporate help. i will get back with more info as i get it. thanx, uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Gourmet Hot Cocoa Mix http://bestfriendscocoa.com - ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Election day too Re: Rakudo Star - a useful, usable, 'early adopter's distribution of Perl 6 MIT 9/14 E51 7pm
See you there -F Bill Ricker wrote: In Mass this Tuesday is Primary Election day too. Polls will close during the meeting so allow time to vote earlier in the day. On 9/8/10, Bill Ricker bill.n1...@gmail.com wrote: Rakudo Star - a useful, usable, 'early adopter's distribution of Perl 6 Rumors of my death are greatly exaggerated -- Mark Twain Curious what the Perl community has been up to lately? Come see Perl 6's recent preview release. Since July, Perl Mongers groups around the world are doing demo nights to build and exercise Rakudo Star. Boston.PM's turn is September 14th, MIT E51-376 7:30pm (refreshments in hallway at 7). {This is the night before BLU's PGP night, second Tuesday is as late as it gets this month.} We'll install it and show what it can do. We may discuss what more the final release candidate will do, and if enough non-regulars turn up, we can discuss what's in 5.12 that's not in the 5.8.4 or older that's still on many commercial Unix systems. RSVP for count encouraged (so our kind refreshments sponsors CIDC know) but not required, to me bill.n1...@gmail.com or Boston-PM list. (If you have favorite snippets of Perl6 code to share, send them too) Directions - http://boston.pm.org/kwiki/index.cgi?MITDirections -- Bill Ricker, Boston.pm facilitator http://boston.pm.org/kwiki/ bill.n1...@gmail.com [*] http://perldoc.perl.org/perlhist.html Announce: Rakudo Star - a useful, usable, early adopter distribution of Perl 6 Submitted by pmichaud on Thu, 07/29/2010 - 05:18 On behalf of the Rakudo and Perl 6 development teams, I'm happy to announce the July 2010 release of Rakudo Star, a useful and usable distribution of Perl 6. The tarball for the July 2010 release is available from http://github.com/rakudo/star/downloads. Rakudo Star is aimed at early adopters of Perl 6. We know that it still has some bugs, it is far slower than it ought to be, and there are some advanced pieces of the Perl 6 language specification that aren't implemented yet. But Rakudo Perl 6 in its current form is also proving to be viable (and fun) for developing applications and exploring a great new language. These Star releases are intended to make Perl 6 more widely available to programmers, grow the Perl 6 codebase, and gain additional end-user feedback about the Perl 6 language and Rakudo's implementation of it. In the Perl 6 world, we make a distinction between the language (Perl 6) and specific implementations of the language such as Rakudo Perl. Rakudo Star is a distribution that includes release #31 of the Rakudo Perl 6 compiler [1 http://github.com/rakudo/rakudo], version 2.6.0 of the Parrot Virtual Machine [2 http://parrot.org/], and various modules, documentation, and other resources collected from the Perl 6 community. We plan to make Rakudo Star releases on a monthly schedule, with occasional special releases in response to important bugfixes or changes. Some of the many cool Perl 6 features that are available in this release of Rakudo Star: * Perl 6 grammars and regexes * formal parameter lists and signatures * metaoperators * gradual typing * a powerful object model, including roles and classes * lazy list evaluation * multiple dispatch * smart matching * junctions and autothreading * operator overloading (limited forms for now) * introspection * currying * a rich library of builtin operators, functions, and types * an interactive read-evaluation-print loop * Unicode at the codepoint level * resumable exceptions There are some key features of Perl 6 that Rakudo Star does not yet handle appropriately, although they will appear in upcoming releases. Thus, we do not consider Rakudo Star to be a Perl 6.0.0 or 1.0 release. ... [read more] http://rakudo.org/node/75 announcement (1) http://github.com/rakudo/rakudo (2) http://parrot.org/ -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - http://www.lucifredi.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Election day too Re: Rakudo Star - a useful, usable, 'early adopter's distribution of Perl 6 MIT 9/14 E51 7pm
LOL - yikes, sorry, did not realize I mass replied :) -F On Sep 13, 2010, at 18:48, Uri Guttman u...@stemsystems.com wrote: FL == Federico Lucifredi flucifr...@acm.org writes: FL See you there -F aolME TOO!!/aol uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Gourmet Hot Cocoa Mix http://bestfriendscocoa.com - ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] rakudo cheatsheet
How many do you want? Best-Federico On Jul 27, 2010, at 20:46, Uri Guttman u...@stemsystems.com wrote: here is the link for the perl 6 cheatsheet. as suggested in the post, we should print a bunch of these for the meeting. http://svn.pugscode.org/pugs/docs/Perl6/Cheatsheet/cheatsheet.txt uri -- Uri Guttman -- u...@stemsystems.com http://www.sysarch.com -- - Perl Code Review , Architecture, Development, Training, Support -- - Gourmet Hot Cocoa Mix http://bestfriendscocoa.com - ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] Perl at OSCON
Hello Fellow Mongers, we knew about Damian's cancellation due to family news at our last group meeting, but yesterday friend of Boston.pm brian d foy also begged out (he apparently had some last-minute surprise that sent him directly to the ER...). So, we are less Perl-y than usual here! It does not escape me the irony that the usual badge ribbons this year read Pythonista, Ruby Rockstar and Desperate Perl Hacker. Seems apropos enough! :) Best -Federico ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Mac scripting questions
On 5/14/10 5:20 PM, Richard Morse wrote: One caveat; it is not necessarily the case that an application will reload its defaults while running. You are 100% right, and iCal positively does not. However, I do tend to shutdown iCal and this appears to timely affect the background notifications, which is what I am after. Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] Mac scripting questions
Following up from yesterday's discussion on the speaker script disabling all annoyances, I was able to build a recording with Automator, and I was also able to find a script going about it the clickety-way: - Open this Scriplet in your Editor: tell application iCal to activate tell application System Events to tell process iCal --click menu item Preferences… of menu 1 of menu bar item iCal of menu bar 1 click menu item 3 of menu 1 of menu bar item 2 of menu bar 1 --click button Advanced of tool bar 1 of window 1 click button 3 of tool bar 1 of window 1 --click checkbox Turn off all alarms of window 1 click checkbox 1 of window 1 --click menu item Close of menu 1 of menu bar item File of menu bar 1 click menu item 10 of menu 1 of menu bar item 3 of menu bar 1 end tell tell application iCal to quit - BUT, the really interesting bit I was able to get to is the _actual_ reason why disabling alarms is not in the Dictionary for iCal: it is in the application defaults, which i was not aware of even existed! The defaults are programmatically accessible from the shell default command, for example: $ defaults read com.apple.iCal and the one I was after turns put to be simply: $ #check box -- 0 for uncheck $ defaults write com.apple.iCal 'Disable all alarms' 1 Best -Federico -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] O'Reilly School of technology: Perl I
Here is the discount code about the course Uri was mentioning. Looks like the cert will be 4 modules, to be published in 2010. The discount is, for some reason, still working as best I can tell. It is supposed to have expired 3/5... technology :) Best -F --- If you would like to view this information in your browser, click here: http://post.oreilly.com/rd/9z1zbn91qjrf9j8blrn9jp85i4mf4pprpmg90a739o0 *** O'Reilly School of Technology - New Online Course *** Perl 1: Introduction to Perl http://post.oreilly.com/rd/9z1zrqapnkfl02nbrg9f4ncocqeablgbrcrsc4bbpho OST is one of the best things I could have ever done for my career and self-fulfillment. Thank you, O'Reilly, for making online learning accessible and flexible! -Dawna MacDonell Perl 1: Introduction to Perl is a self-paced, instructor-coached course written by well-known Perl trainer and Perl Medic author Peter Scott. Students learn about data types, conditionals, interpolation, arrays, lists and hashes. We move on to cover subroutines, loops, formatted printing, data mapping, sorting, and working with external files. From beginning to end, students learn by doing real projects within the CodeRunner Editor. When finished, you'll earn 4 Continuing Education Units (CEUs) from the University of Illinois Office of Continuing Education. This is the first course in the upcoming Perl Programming Certificate. Enroll Now: http://post.oreilly.com/rd/9z1z4db0an2b86fc34udr5kpmfb0k4stjp9kl4cndng Price: $199 (plus a $9.95/month lab fee) (Price was $398 - Now half-price until March 5th) Includes Free Ebook: Learning Perl, 5th Edidtion -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] ConfigObj, Config::Std, [PBP]
On 3/2/10 9:55 PM, Bill Ricker wrote: This is based on a very fuzzy remembrance of module source-code deep-dive at the Arlington masterclass (in which we blew Mac video dongle with winter static in the rented sweatshop). hehe - I remember that. Sweatshop, tho !? :-P Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] ConfigObj
Just happened upon ConfigObj http://www.voidspace.org.uk/python/configobj.html#introduction As someone more inclined to do Perl than that other language, I would appreciate pointers to similar file format round-trippers, not just for ini but for other common formats. Federico PS: this could be a good subject for a talk... -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] I didn't realize that some of Git is conceptually based on early work by Sean Quinlan!
Identity theft Tuesday complete with DNA sequencing and cloning? More seriously, I had wondered if you two were one myself. Best -F Sean Quinlan wrote: Damn, and I sounded so cool for a minute there! ;) On Thu, Jun 25, 2009 at 11:03 PM, Chris Devers chris.dev...@gmail.comwrote: On Thu, Jun 25, 2009 at 10:53 PM, Bob Clancybob.cla...@verizon.net wrote: As I'm reading the beginning of the OReilly Git book ( http://my.safaribooksonline.com/9780596158187/pre-Preface#X2ludGVybmFsX1NlY3Rpb25Db250ZW50P3htbGlkPTk3ODA1OTYxNTgxODcvc2VjLWludHJvLVByZWNlZGVudHM= ) I see a link to a paper with a familiar name: The Venti Filesystem, (Plan 9), Bell Labs, http://www.usenix.org/events/fast02/quinlan/quinlan_html/index.html The Bell Labs / Google Sean Quinlan is not the same as Our Sean Quinlan: http://en.oreilly.com/velocity2008/public/schedule/speaker/26232 Different resume; seems to be a decade or more older. -- Chris Devers ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] (somewhat OT) question on job levels
Tom Metro wrote: Adam Russell wrote: I am trying to help a friend find gainful employment. To that end I have been helping him sift through job listings. Sift seems to imply that there are a lot. :-) I have noticed is that my understanding of job levels is somewhat off. For example, I see job listings for a senior developer with 5-7 years experience. I too was surprised when I first saw such a specification 10+ years ago, but it seems to be typical. I've seen senior specified with as few as 3 years, though 5+ is typical. Consider, though, that this often means 5+ years with the specific language or skill being requested. Most hiring managers looking for a Java developer will consider a guy with 15 years of COBOL, but only 2 years of Java, a junior developer. Or you can see requests for a Senior Java programmer with 10 years of experience, in 2002 - I have. And I did not miss a chance to point out... *cough* that I started working with Java Beta 2, and I could only claim 6. There's a lot of technological turnover in software engineering, obviously, and as the technologies shift, engineers get thrown back down the career ladder. Only if you let them do that, and if there are enough floating bodies to allow them the latitude. Most of the time, HR is busy pointing out what is wrong with the candidate. They would meet a Ph.D, ask for someone young - get a hotshot, ask for experience. It is the game, they need to drive your price down, and circular logic does not bother them. See Dilbert's famous cartoon I have invented a time machine and a serum of longevity, and have 200 years of UNIX experience - Catbert had a problem with that candidate, too. Best -F I am at a senior level with my current company and if I stick around Principle is probably at *least* 5 years away. I currently have 11 years experience. People seem to operate as if there is an industry standard for these levels, and as far as I've seen, there isn't. I sometimes wonder how sites like salary.com can neatly fit each job into a category and level. I assume they're doing a lot of fuzzy matching. Even if you can factor out some averages for these levels, they're going to be different for large vs. small organizations, and as Bill mentioned, boom times (when labor supply is tight) vs. slow times (when cash for raises is tight). So for someone writing code(hopefully mostly Perl!) for a living should expect what sort of career trajectory? Do all programmers wind up hitting a corporate wall(age-ism?) and end up contracting? It seems only a tiny percentage of companies (Intel, for example) see engineers as capable of moving into the executive ranks. If you're equating career path with increasing pay, and you want to remain a coder, you either need to aim for acquiring a small handful of highly demanded specialized skills that take many years to acquire, or you create a start-up and become a hands-on CTO (eventually shifting into some less executive-oriented position, like chief scientist or similar, as the organization grows). Otherwise if you can leave coding behind, you go the usual management route, get an MBA, etc. Some transition to sales engineers and move up the ranks from there. -Tom -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] schwag for next meeting
Matthew J Brooks wrote: But then that got me thinking... How about a Camel Book Toss? ;) Basically, whoever can toss their copy of Programming Perl the farthest [...] Heathen! Best-F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] schwag for next meeting
Steve Scaffidi wrote: [...] I actually *do* own a copy of Programming Python which I'd be *happy* to sacrifice, um, *offer* for this worthy cause! That book weighs a ton, and it was next to useless to me when I learned and worked with Python last year. I actually had the same thought when I saw this thread. Lutz's book is the most throwable O'Reilly, both in mass and uselessness. The smaller books on... the subject are much better (but I still can't really get myself past the indentation, I guess one could call it Make Tab Syndrome). Best-F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] schwag for next meeting
As one of the reviewers for Automating System Administration with Perl, I can only rabidly recommend the work as some of the best I have seen lately on both subjects (Perl and System Administration). Best-F Uri Guttman wrote: hi all, o'reilly sent me some new books to give out at our next meeting. i have 2 copies of the second edition of system administration with perl. it is written by david blank-edelman who teaches at northeastern. i heard something that he may even want to give a talk to us about the book. bill or i will look into that more. the other book (1 copy) is the regular expressions cookbook. it has 'detailed solutions in eight programming languages'. those are c#, vb.crap, java, javascript, perl, python, ruby and php. as with other cookbooks it is organized by recipes which shows the regex solution to a problem and then all the variations needed for the different langs. so we will have to come up with a way to award these books to worthy pm'ers. any ideas are welcome. thanx, uri -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] (somewhat OT) question on job levels
Bill Ricker wrote: (yes, that makes me a unix grey beard) We already knew of your secret identity! Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Hacking the WD Mybook 2 with Perl
Thanks Tom! Best -F Tom Metro wrote: Hacking the WD Mybook 2 with Perl - Building a cheap and very compact Linux NAS appliance - Polishing it with Perl glue I am using Perl glue to put together a cheap and small Linux NAS from the Western Digital Mybook II - there are a bunch of hackers doing this, but I wanted mine to have a certain detail and so some scripting here and there was required to make it happen - obviously in Perl. I see the July 2009 issue of Linux Journal includes the article Hacking Your Portable Linux Server by Federico Lucifredi. Congratulations on getting it published. I'd include a link to it, but Linux Journal has a policy of delaying the free publication of articles online. They don't even have the July issue online for subscribers yet. But if your patient (currently the April issue is available for free), it'll eventually show up here: http://www.linuxjournal.com/magazine -Tom -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] XUL outline or ppt : Larry's MIT talk
Ricker, William wrote: So the reason why I like the idea of these systems based on XUL is that they are web-friendly, there is a single format for everyone, Good and I can just type down the text and it gets aligned for me. What tool are you looking at? (The raw xul makes html+css look good.) The best I have so far is: http://blog.seesaw.it/articles/2006/11/06/a-quick-way-to-make-a-slideshow (there is a link to an XUL presentation that will load directly in firefox on the page). I am not so much against Powerpoint as much as pro-outliners, Outliners are good for organizing thoughts, not so good for communicating especially text-based outliners. Have you seen a good text outliner since DynoNotePad ? I do not use much - I inherently am very strict on my text layouts, so Sticky Notes or TextMate are enough for me right now :) Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Larry's MIT talk
Sartak wrote: On Thu, Apr 2, 2009 at 4:15 PM, Stephen Jarjoura st...@runester.com wrote: I enjoyed the great deal of humor, including the inside jokes. And, if there were 120..150 people present, then that's also the approximate card count for his slide deck. He actually had nearly 500 slides. And all in XUL, allegedly :-) Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Larry's MIT talk
Ricker, William wrote: He actually had nearly 500 slides. And all in XUL, allegedly :-) There are a couple Perl based tools to generate Xul slideshows from an outline. I hope he used one of those, would like to know which. Probably can find out with google-fu, we won't be the first to ask. I have been looking but all I can find is the Takahashi-style site in Japanese (or the link previously on this list to an .it site). I can also found multiple uses of the engine, but no mention of generators yet... so pointers welcome! When the toolchain and minimalist stye is considered, it's more of an animated outline and visual accompaniment than a traditional Death by PowerPoint. Bill, typing with thumbs True, but I have not yet done a single animated slide in my life. Bullets, code and occasionally pictures slapped on a background are all I need. If I can start writing my slides in text templates, my personal satisfaction with not having to ever look at Powerpoint or OO junk would be great. Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] official event page for larry's talk
Uri Guttman wrote: sipb finally sent me a url for the official event with larry's talk. spread this url around and stop asking me about it! :) http://events.mit.edu/event.html?id=10548538date=2009/4/1 uri I also got an official announcement from the HCS gang: HCS is inviting Larry Wall, legendary inventor of Perl, to Harvard on Tuesday 3/31. Come to Science Center Hall D at 5:30PM for an unedited version of the history of Perl, its current development, and much wit and panache. __ Larry Wall was educated at various places including the Cornish School of Music, the Seattle Youth Symphony, Seattle Pacific University, Multnomah School of the Bible, SIL International, U.C. Berkeley, and UCLA. Though trained primarily in music, chemistry, and linguistics, Larry has been working with computers for the last 35 years or so. He is most famous for writing _rn_, _patch_, and the Perl programming language, but prefers to think of himself as a cultural hacker whose vocation in life is to bring a bit of joy into the dreary existence of programmers. For various definitions of work for, Larry has worked for Seattle Pacific, MusiComedy Northwest, System Development Corporation, Burroughs, Unisys, the NSA, Telos, ConTel, GTE, JPL, NetLabs, Seagate, Tim O'Reilly, the Perl Foundation, and himself. Larry is currently employed by NetLogic Microsystems in Mountain View, California. To get to work, he walks past both the Computer History Museum and the Googleplex, which must mean something. Preferably something absurd. __ -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Fwd: [abcd] Can anyone give me details on Larry Wall at the Science Center on 3/31?
Nice to have confirmation - the announcement I had did not include the title, although it would have been interesting if Larry were to give different talks :) Best -F Bill Ricker wrote: Thanks for the forward, that confirms the topic is same as the next day's talk at MIT. Bill On Fri, Mar 27, 2009 at 8:31 AM, Bob Freeman bobfreema...@speakeasy.netwrote: The low-down on the HU Larry Wall talk. Cheers! Bob Begin forwarded message: From: Greg Brockman brock...@hcs.harvard.edu Date: March 26, 2009 5:27:43 PM EDT To: Philip Durbin pdur...@hmdc.harvard.edu Cc: Freeman, Robert M. r...@hms.harvard.edu, a...@abcd.harvard.edu a...@abcd.harvard.edu Subject: Re: [abcd] Can anyone give me details on Larry Wall at the Science Center on 3/31? Hello, The talk is being sponsored by the Harvard Computer Society and SEAS, and everyone is more than welcome to attend. The title is The Art of Ballistic Programming, which certainly seems to foreshadow a great talk. The relevant location info: Science Center Hall D 5:30 P.M. on Tuesday, 3/31 FYI, the talk at MIT is real. He's essentially doing a lecture series with us, MIT, and Yale. Hope to see you there! Sincerely, Greg Philip Durbin wrote: What is the title/topic? Who is sponsoring it? Is it open for all? Can't seem to find anything on Harvard's websites or through its internal search engines. I found this, but I would also like to know if it's open for all. [HCS] Larry Wall - Inventor of Perl - on Tuesday 3/31 http://lists.hcs.harvard.edu/pipermail/hcs-announce/2009-March/000327.html He's also giving a talk at MIT the next day (unless it's an April Fool's joke): http://stuff.mit.edu/afs/sipb/admin/minutes/minutes.2009-03-02 The Art of Ballistic Programming . . .? Phil - Bob Freeman, Ph.D. Bioinformatics consultant 51 Downer Avenue, #2 Dorchester, MA 02125 617/699.7057, vox If brains were taxed, he'd get a refund. -- Anonymous ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] challenge: Python one-liner
Hello guys, I just ran into this cute trick: python -m SimpleHTTPServer serves the current dir out on port 8000: spaceman:bin lucifred$ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 ... localhost - - [20/Mar/2009 14:32:55] code 404, message File not found localhost - - [20/Mar/2009 14:32:55] GET /favicon.ico HTTP/1.1 404 - 164.99.130.79 - - [20/Mar/2009 14:33:01] GET / HTTP/1.1 200 - 164.99.130.79 - - [20/Mar/2009 14:33:01] code 404, message File not found 164.99.130.79 - - [20/Mar/2009 14:33:01] GET /favicon.ico HTTP/1.1 404 - Suggestions for an equivalent Perl one-liner? Note that the python one is out of the box (I did not need to install anything). Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] challenge: Python one-liner
Charlie wrote: I'd call that a 0 liner. Which makes it an installer challenge, not a programming challenge. What's the point? It is just a clever hack to transfer files in a pinch. Best-F Original message Date: Fri, 20 Mar 2009 14:36:42 -0400 From: Federico Lucifredi flucifr...@acm.org Subject: [Boston.pm] challenge: Python one-liner To: Boston Perl Mongers boston...@pm.org Hello guys, I just ran into this cute trick: python -m SimpleHTTPServer serves the current dir out on port 8000: spaceman:bin lucifred$ python -m SimpleHTTPServer Serving HTTP on 0.0.0.0 port 8000 ... localhost - - [20/Mar/2009 14:32:55] code 404, message File not found localhost - - [20/Mar/2009 14:32:55] GET /favicon.ico HTTP/1.1 404 - 164.99.130.79 - - [20/Mar/2009 14:33:01] GET / HTTP/1.1 200 - 164.99.130.79 - - [20/Mar/2009 14:33:01] code 404, message File not found 164.99.130.79 - - [20/Mar/2009 14:33:01] GET /favicon.ico HTTP/1.1 404 - Suggestions for an equivalent Perl one-liner? Note that the python one is out of the box (I did not need to install anything). Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] challenge: Python one-liner
Ricker, William wrote: # python -m SimpleHTTPServer serves the current dir out on port 8000: So Python ships with a one-line security breach? I can confirm that sir :) Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] [Fwd: [HCS] Larry Wall - Inventor of Perl - on Tuesday 3/31]
Larry will be speaking in Harvard's Science Center D, 5:30 pm on Tuesday 3/31. This is one of the largest amphitheater classes Harvard has, so I politely suggest the local Perl Monger chapter help fill it up :-) What else to say? read the HCS announcement in attach if you need to know more :) Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] [Fwd: [HCS] Larry Wall - Inventor of Perl - onTuesday 3/31]
Uri Guttman wrote: i just called sipb and they confirmed the talk. it is not up on their site yet (and may not be ever, they don't sponsor talks too often). april 1, 4:30pm room 34-101 i should be able to make it there. and that leaves time for a dinner afterwards. but i bet sipb is going to do that but maybe some of us could crash it. :) more when i hear back from larry. i will be writing to sipb's general email and asking what social plans they may have. But if you did that, you would be missing out on the Powershell talk at Microsoft that will start at 6 pm :) Sorry, I could not resist. Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Git workshop for April
Shiny ponies! I like those! Will be there if I do not get booked for some exotic locale like Provo, UT. Best -F Steve Scaffidi wrote: Since the March meeting is almost upon us, I just wanted to start discussion on what people would like to do vis-a-vis git. My idea is pretty simple - I would like to do a tutorial-style workshop where people can follow along on their laptops to use git and see it in action. I would cover the following: - Core concepts (~15 min) - the creation of git (who why etc) - the Zen of git - unlearn what you know - git terminology - local vs remote repos - origin, head, master, checkout/commit vs pull/push - how git is related to traditional version control systems (TVCS) - what git does better than TVCS - what git doesn't yet do better than TVCS - Getting started (~25 min) - starting a new project with git - getting an existing project into git (one that isn't already using source control) - making your own private remote repository - NOTE: making a repo public is really something to be left for another day - HOWEVER, I would mention that it's insanely simple and flexible. - Working alone with git (~20 min) - getting code from an existing git repo (for example perl!) - hack hack hack - commit hack commit hack - commit push hack commit hack commit push - Working with others with git, the traditional way (~20 min) - you pull from the repo - someone else pulls from the repo - you're both pushing... how to keep in synch Anyhow... I obviously need to plan this carefully. There's a lot of information, but using git is surprisingly straight-forward... I know that the basics of getting started and using it for real work can be covered in one meeting. It's just a matter of avoiding all the git fanboi hype OMG linus! shiny! ponies! and instead focusing on when you want to get X done with TVCS, you do Z with git :) Shortly before the meeting I could send an email to this list showing people where to get git for their chosen platforms, perhaps with install instructions... that will save time for instruction :) -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] debugging CPAN Shell
Bill Ricker wrote: On Mon, Feb 2, 2009 at 10:06 PM, David Golden xda...@gmail.com wrote: And isn't a WD Mybook a hard drive? with a linux to interface between the disk and the USb apparently, which is why he's presenting his use of Perl on whis customization to Boston.PM in March. Even better, it is the model with a network interface, and once you break in, a full Linux system is waiting inside. Hint hint :-) Best -F -- Bill n1...@arrl.net bill.n1...@gmail.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] debugging CPAN Shell
David Golden wrote: On Mon, Feb 2, 2009 at 1:58 PM, Federico Lucifredi flucifr...@acm.org mailto:flucifr...@acm.org wrote: Hello Gents, I am trying to run the CPAN shell in a WD Mybook II (29 MB of Ram). It hangs ignominiously. What's your 'perl -V' output? What version of CPAN.pm? What is in your CPAN configuration file? What is on screen when it hangs? This is perl, v5.8.8 built for armv5tejl-linux [r...@lander ~]# perl -MCPAN -e 'print $CPAN::VERSION'; 1.7602 It's a little hard to give hints on debugging until you give a few more hints about your setup. :-) The machine has 32MB of RAM, plenty of space on the system partition. Memory is a mess. Free gives this picture: [flucifr...@filer ~]$ free -m total used free sharedbuffers cached Mem:29 27 1 0 5 6 -/+ buffers/cache: 15 13 Swap: 101 0101 [flucifr...@filer ~]$ And isn't a WD Mybook a hard drive? I'm not sure that would have much impact on the CPAN shell, anyway A hard drive with a 98 Bogomips ARM core hidden inside :-) -- David Golden -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] debugging CPAN Shell
David Cantrell wrote: On Mon, Feb 02, 2009 at 11:12:07PM -0500, Bill Ricker wrote: On Mon, Feb 2, 2009 at 10:06 PM, David Golden xda...@gmail.com wrote: And isn't a WD Mybook a hard drive? with a linux to interface between the disk and the USb apparently, which is why he's presenting his use of Perl on whis customization to Boston.PM in March. In that case, I would first look at whether perl is running out of memory and so Linux kills the process. 29MB really isn't a lot for something like CPAN.pm, and I assume that there's no swap space available because that would waste valuable disk space. Perhaps you can create a swap file. And now I have to hack my Mybook Studio II if I can ... Timeout for inactivity during Makefile.PL? [0] If you're accessing the net via proxies, you can specify them in the CPAN configuration or via environment variables. The variable in the $CPAN::Config takes precedence. Your ftp_proxy? Your http_proxy? Your no_proxy? You have no /root/.cpan/sources/MIRRORED.BY I'm trying to fetch one LWP not available CPAN: Net::FTP loaded ok Fetching with Net::FTP: ftp://ftp.perl.org/pub/CPAN/MIRRORED.BY Timeout at /usr/local/lib/perl5/5.8.8/Net/FTP.pm line 503 [r...@filer ~]# which ftp [r...@filer ~]# Oops. No ftp. But there is wget on the system. Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] debugging CPAN Shell
David Golden wrote: On Tue, Feb 3, 2009 at 4:08 PM, Federico Lucifredi flucifr...@acm.orgwrote: [r...@lander ~]# perl -MCPAN -e 'print $CPAN::VERSION'; 1.7602 That's pretty dated. Without knowing more about where it got hung up, I'd suggest upgrading that first. You might need to download and install the tarball manually. The other email showed an FTP timeout during what looks like configuration. Was that the hang you meant? You might just upload a configuration file manually if that seems to be the sticking point, or else manually edit the CPAN::Config .pm file with your wget program path. A hard drive with a 98 Bogomips ARM core hidden inside :-) Nice! Can I ssh to it? (To help with debugging, that is.) You could, if I put it on the outside subnet. But right now, it looks like it is hanging just because it is looking for an ftp client to use to download the metadata. Once I fix that, we shall see what the next hang is... Best -F -- David ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] debugging CPAN Shell
Hello Gents, I am trying to run the CPAN shell in a WD Mybook II (29 MB of Ram). It hangs ignominiously. Any hints as to why this may be - how to debug it ? Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] [ot] Wide area bonjour
Hello Fellow Mongers, I am asking here because I am down to my last ounce of patience with this. Anyone using wide-area Bonjour (i.e. mDNS publishing DNS UPDATE messages to a remote Bind server) among the Mac users? Specifically, under 10.5.x I have it working just fine on Windows, 10.4.x, and on my Avahi patches which I am cleaning up right now. But 10.5 is just broken or something changed and I am too stupid to figure it out - and it is driving me batty like few technical things in recent memory. Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org - GnuPG 0x4A73884C ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] hacker-friendly alarm systems?
Borderline off-topic... Anyone has a good recommendation for a home security system that is friendly to getting poked around by enterprising geeks? Hardware aside, and security aside, I seem to recall there were some home monitoring projects based on Perl - anyone familiar with these willing to comment on their being worth my ever diminishing free time? Best-F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - flucifr...@acm.org ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Social - December 9 - Redbones
Bill Ricker wrote: On Sun, Dec 7, 2008 at 3:20 PM, Uri Guttman [EMAIL PROTECTED] wrote: so if you are planning on attending rsvp to the list so we can get a count. $Count++; # me in for beer if not bbq $Count++; # Ron N (off-list) $Count++; # one Ubuntista likely (not on list) + One Suse-ista as well :-) Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - [EMAIL PROTECTED] ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] pretty-printing
Hello fellow Mongers, My memory chips are malfunctioning today, and I may have asked this before. I remember there were a few good tricks to properly print quantities like One foobar, Twelve foobars, and 123 foobars, one of which authored by The Damian himself. Can I get a hit of the clue stick? Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - [EMAIL PROTECTED] ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] a new perl book
Speaking of new Perl books, brian d foy's latest greatest is out as of last week: Mastering Perl - O'Reilly http://www.oreilly.com/catalog/9780596527242/ I had it on my preorder list and was not disappointed :-) Best -F BETSEY DYER wrote: I have been one of the listeners on your list for the last few years and I think posted only once. At the time it was about a book I was writing with a computer science colleague on teaching perl for the purpose of analyzing DNA strings. (=bioinformatics or genomics) We thought there was a need for such a book and actually we teach a course on it. And I am a Biologist who collaborates in Genomics with CS folks. So anyway--the book is out! It is called Perl for DNA Oxford U Press (and we negotiated hard to make it a pretty low price $29) AND this is kind of a long shot because I know this is a list for professionals who might not be intersted in a book like this for novice programmers but (just delete) If someone on the list feels like maybe reading the book and writing a little review on perlmongers, well--let me know and I will get you a copy gratis.(I will need actual paper mailing address)(Probably this wont happen but if bunches of people respond-I may just have to go with 1 or 2--but it reality maybe there will be silence (or the sounds of many people deleting this email)--and that's ok too) One little (possibly) intriguing feature of the book is that because it was co-authored by a biologist (me) it is full of little observations, digressions, and deconstructions--kind of a biologists view of the perl world and strings and linguistics and beauty and truth and even larry himself and others. It is NOT a perl bible- (that would be the camel book) and it is not for experts. Rather it is a friendly inviting (somewhat unconventional) approach for biologists who who like string searching and want to try some themselves. Betsey -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - http://www.lucifredi.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] damian meeting recap
Well, damian is always an event =) Now, Bill, where are those pictures ? ;-) Best -Federico Uri Guttman wrote: hi all, there was a massive turnout tonight for damian's talks. i counted 77 mongers and guests and only about 45-50 sent in rsvps! the rest of you should be very ashamed of yourselves as we did sorta run out of pizza! 18 pies was the order for an estimated 50+. so you who didn't rsvp and ate pizza stole it from the starving mouths of those who showed up a bit late and did rsvp! next time, do the right thing and rsvp so we order the right amount. now on to more nice things. :) thanx to the primary sponsors, greg london and richard morse. with their donations and hat passing we collected about $370 and our pizza expense was about $280 so the rest will go to tpf. thanx to those who brought drinks, paper goods and foil. and to those who helped set up the pizza tables. and to that solo guy who was cleaning up while damian started his second talk. thanx to those silly foil hat contestants. we will have to put some of those pix on our wiki. some of the foil hats were very cute and functional! some of you should go become milleners (see danny kaye in secret life of walter mitty for a great song about that). and the casualty rate was very low for a damian talk so the hat protection factors were high. thanx to bestfriendscocoa.com (hey, i gotta plug the wife's biz!) for donating the prizes for the hat contest. get some for the fall/winter weather. makes a great ice breaker at naughty parties! thanx to all the attendees for laughing constantly throughout the talks. most of you couldn't help it so that is understandable. :) thanx to damian for always giving us a talk when he is in town and for tonight's mind melting and patented CXAP. now that most of you have seen it, his pun on google's name is amazing to me in that no one has ever (to my knowledge) made it before. thanx to bill ricker for helping damian setup and for driving him home after damian drove us nutso. all in all a very fun and successful evening. hopefully many of you will come to other boston perl monger meetings where we don't have such famous speakers and just talk perl stuff. we do have some very interesting talks so come on down! thanx, uri ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] pretty-printing messages
Hey Guys and Gals, can anyone remind me how that pretty-printing module that El Damian showcased the other year was called? It was able to handle plurals (x file/s deleted), even irregular ones, among the many things ;-) I am not sure if it was the same module, but it certainly was the same talk, where he showcased executable comments that carried their own weight to quote his joke. best -f -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - http://www.lucifredi.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] pretty-printing messages
Hey Guys and Gals, can anyone remind me how that pretty-printing module that El Damian showcased the other year was called? It was able to handle plurals (x file/s deleted), even irregular ones, among the many things ;-) I am not sure if it was the same module, but it certainly was the same talk, where he showcased executable comments that carried their own weight to quote his joke. best -f -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - http://www.lucifredi.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Off topic: C question
Greg, google for Varargs, and you will have your answer :) If memory serves me right, the Gnu C library manual (which you should own, but is available in postscript at gnu.org) has a nice chapter on them. best -f On Sat, 2006-03-11 at 11:04 -0500, Greg London wrote: Off topic. Please reply offlist to email at greglondon dot com Sorry, but I need to get this working by Monday morning, and I'm out of people to ask. I need to write a function in C that wraps printf, passing printf all the parameters that got passed into the wrapper. In perl, it would look something like this: sub wrapper { # preprocessing print ( @_ ); # post processing } I cannot figure out how to do this in C. I've talked to a couple of coworkers and none of them knew how to do it, but none of them would say definitely that it was impossible to do, they just didn't know how to do it. Please reply offlist to email at greglondon dot com I'll buy pizza for one of the next monger meetings. Greg ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm -- _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - http://www.lucifredi.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] More Perl Style
Hello Uri, Thanks for the input. comments are below: since @triggers must be the same length as @commands then use that fact: my @triggers = ('0') x @triggers ; that's a good idea -- that I actually recently used. in this case I left the list explicit b/c the triggers will not necessarily be always all of the same value. i can't imagine ever doing a for loop on a flag. use flow control ops (last/next/redo) That won't cut it here -- I want to finish up the current row ( the inner ), and then terminate ( the outer ). last will only let me stop now. then you loop over that in normal perl fashion: for my $cmd_data ( @commands ) { eh. I must admit I was too lazy to remind myself of enough Perl to do a structure at that time, but I am gladly doing it now :D i don't like the look of that. it isn't bad code but not my style. just think about the failure mode of the shell commands you are running. they may print nothing to stdout but something to stderr. that or die may catch it but it would be better to test $? and see what the process itself exited with. also some commands may return some error text in stdout. i would do it this way: my $result = `$cmd` ; $? == 0 or die could not execute command [$cmd]\n ; This is a good idea, and in some cases I can also see adding another field to the structure - to trigger a hlat on certain exit codes. if( $result == $trig ) { print ON_RED, $result, RESET, \t ; last ; } else { print $result, \t ; } I went with a variant of this one as it seems the most elegant option when having to retain setting the flag to terminate the outer loop. too bad there isn't a last-outer-when-done-inner kind of thing :D that should be enough to keep you busy! :) I'd say! Thanks for the advice, hopefully writing some perl every month will keep my taste standards high and I will stop forgetting everything about it every four months:D -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - http://www.lucifredi.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] More Perl Style
Hello Guys, More Perl Style lessons for me, if anyone wants to chip in. Following is the script on the chopping block today - in the comments the parts that I did not manage to elegantize as much as I wanted. use Term::ANSIColor qw(:constants); use strict; #CONFIGURATION my $timelen = 3; my @commands = ( '/bin/netstat -ape | /usr/bin/wc -l', '/usr/bin/lsof | wc -l', '/bin/ps ax -L | wc -l' ); my @triggers = qw( 0 0 0); #- for(my $flag = 1; $flag;) #hate truth as a number... { my $date = `/bin/date -R`; #three lines seem much for this - any more elegant way to chomp things up? chomp $date; print $date.\t\t; for (my $i = 0; $i @commands; $i++) { my $cmd = $commands[$i]; #I don't like these lookups, but I don't see how to foreach this one my $trig = $triggers[$i]; my $result = `$cmd` or die (could not execute command.$cmd.\n); chomp $result; $result == $trig ? print ON_RED, $result, RESET : print $result; print \t; $flag = 0 if ($result == $trig); # finish the internal round, terminate the external. Any nicer way to do it ? } print \n; } Hum - the mail client is insisting in wrapping at 80-chars - usually nice but very appropriate to mess up things here :D best - Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish (Federico L. Lucifredi) - http://www.lucifredi.com ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Combinatorics (Permutations
On Wed, 2005-11-30 at 00:03 -0500, Federico Lucifredi wrote: [...] the sub in an Iterator, it did not really answer what I wanted, so I wrote my own, and I am polishing my own. your owning own own ? I think a YAWN might be in order. I am going to bed 8) -f ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Permutation with Replacement considered harmful RE: Combinatorics
Hello BIll! I did not know you were a mathematician =) On The terminology point you mentioned, I must squarely place the blame of the choice of words on the way Discrete Math is taught these days. Standard texts refer to Permutation, Combination, Permutation with Repetition, and Combination with Repetition. I have always seen it framed this way, but I can agree readily with your point as when I noticed that Mathworld was calling things differently, it seemed to make more sense that way. If you have any hope of rectifying the issue, I recommend you look at the relevant wikipedia page and submit corrections. The proper name for this in classic probability was Ordered Sampling from an Urn with Replacement; in modern linguistic combinatorics, it's more simply a String, as you've found. Which is a much better name for it. Anyhow, looking at the actual issue at hand - the module. In my explorations of it, I have found that it leves a bit to be desired in terms of performance -- generating the 65k striungs possible in the (a b c d) alphabeth takes 10 minutes, generating the 1'000'000 strings possible in ( a b c d e) takes 9 hours. Obviously, something is going on. I do not want to add frequency information, every symbol is equally likely for me, and I would like to code up this in a way that (a) is thread friendly, and (b), more importantly, is memory efficient, which the module is not. HUMOR If you don't need the weighting (frequency) feature, you could just use my $alphbet='aeiou'; my $n=2; my @strings=grep { /[$alphabet]{$n}/ } 'a'x$n .. 'z'x$n; print @strings; but it's not very efficient for large values of n unless the alphabet is dense in a..z, nor for alphabets that aren't subsets of Ascii. Boosting $n=6 will run out of memory. Switching to a for loop on the .. (which is optimized ) gets you partial results quickly my $ab=aeiou; my $n=6; for (q{a}x$n .. q{x}x$n) { next unless /[$ab]{$n}/; print; } but it takes quite a while to scan from au to ea, even on a gigahertz clock -- total elapsed time 5.5 minutes! (If you only need to do it once, that's quicker than downloading a module .. but otherwise ..) So I guess having a module to build these makes good sense ... at least until Perl6 lets us run our regexes and parser rules backwards to generate strings. /HUMOR I need to figure out a way to do it w/o using great amounts of ram, sadly. Well, *need* is a strong word, but I would like to =) Have fun in Combinatorics land, eheh - Actually, Combinatorics was the part of Discrete Math I liked the least. but I have to say that calling them Permutations, Combinations and Strings makes it more likable (the with repetition definition never made sense on an instinctive level, although it is a correct definition nonetheless)... by the way, what would a Combination with Repetition be called ? humm - sounds like I have to review the choose-pick notation. -f ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Combinatorics
On Mon, 2005-11-21 at 23:00 -0500, Federico Lucifredi wrote: Hey Guys, Anyone has a good way to generate all combinations with repetitions starting from a give charset ? I was looking at Math::Combinatorics, but I was disappointed to learn that combinations are computed w/o repetition, which is the case I am looking at. As usual, I managed to mix things up. What iI am looking for are *Permutations* (_with_ repetition, that part I managed to write right). HOUSTON! problem exists between chair and keyboard 8) Math::Combinatorics does provide such method, it is called strings() Any modules I missed ? -f glad to help myself -f ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Turning to the Dark Side
Hello Fellow Perl Mongers, In the wake of Darth Vader's imminent rise to control of the Old Republic, I am about to turn to the dark side as well: I am embracing Python. Well, it is not quite so strong a committment (and it won't bring blockbuster movies around either I am afraid), I am quite simply likely to take a job at a company that uses it for test scripts, and I like to learn new things. So, my question is, as a Perl-minded script programmer, what do you think I will like, what will I dislike, and (perhaps most importantly) what is likely to trip me up ? Yes, yes I know -- I have to resist the dark side and use the force to bring about some Perl (possibly changing my name to Luke in the process ;-) -Federico ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] OT(very):VT-100 Project
Hello Guys, Dan's description of how to tell whether your VT100 was upgraded is correct, but it's not quite true that an upgraded one is at VT102 levels. There are firmware bugs in VT100's which are not fixed by the 'advanced video option' which made them support 132x24 and insert/delete line. Those are fixed in a real VT102. (The response to a query for device ID is also different, but that's getting into the excessively arcane.) The fact that so many people still remember these thigs is kinda scary... -F ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] OT(very):VT-100 Project
Hello Guys, URI i have nightmares from my serial line days. so many years working on URI them in so many ways. and of course with vt-100s all around. How bad can that be =) From Tom and Ben's comments, I gather it is a standard DB25 with a null modem I need. Doh - I expected something more exotic =) Now I am starting to feel old.. I actually know the cable to wire a VT-100...wait, I was born right about at the same time of that terminal! The connector in the back looks like a plastic DB-25, so I guess that makes sense. I'll bet that that is a piece of trivia that you never expected to need to use again! :-) eh. Not really... I think I have a few parallel thingys around (I use plenty of emulators in my embedded work, and the DB-25 cable seems to be popular in interfacing with them. WILLIAMIt *is* that old. The VT100 used DB25 with proper DTE gender according WILLIAMto the original standard. (Modems are DCEs, computers and terminals are WILLIAMDTEs, by definition.) Is proper DTE gender female ? or male? (BTW: how come so many people love Pcs For Everyone ?) Someone asked if it is a 102... I think it is a plain 100 as far as I can remember. As I gather that the 102s had the same case but a different bezel, it should be easy to tell once I am home. Thanks for the feedback guys -- I'll let you know how it works out. -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University BU http://metcs.bu.edu/~lucifred ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] OT(very):VT-100 Project
Hello Fellow Mongers, please excuse my totally Perl-unrelated question, but I am sure more than a few of you will appreciate the idea: I want to get my working VT-100 connected to a Linux server to read e-mail in a *very* old style way ;-) I know everything I need about setting tty lines in Linux. What I do not know (and the expertise of the old timers here is the key) is what kind of cable to use to connect the darn thing... what is it called? Where do I find it? I can make one myself, but in that case I qould need a wiring diagram. Any (non-void) pointers? thx - Federico ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] OT: O'Reilly
Hello Andy, I'm sorry I wasn't on this (off-topic) thread earlier, but I don't have time to read every mailing list every day. I do some casual Perl coding of my own and edited a few Perl books at O'Reilly in the past, but I'm not in the Perl loop these days. So I can't judge whether a particular book idea would interest the right editors here, but I don't mind people coming to me with proposals, and I can forward them to somebody if they look at all viable. great - expect to hear a few questions from me then. I have to wrap up man 1.6, and then I will focus on finishing the proposal. The proposals alias works, but it takes time and sometimes the person handling the alias has trouble deciding whom to send the proposal to. Still, if you list a language it will probably go to the right person. The proposal email is fine, but I wanted to ask a few things *before* sending in the proposal. So far as I know, the O'Reilly editors take ideas from outsiders all the time, and are particularly willing to listen to outsiders who have some connection and some standing in the community. (Although the complex relationships between O'Reilly and some of the people on this list would be scary to try to elucidate.) That's nice to hear - I was getting scared by some of the other replies ;) _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University BU http://metcs.bu.edu/~lucifred ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] OT: O'Reilly
Hey Ben, How do you feel when you have a nice process in place through which people are supposed to contact you, and customers keep on persisting in trying to get direct numbers to inside contacts? I tend to get irritated by that, but YMMV. Maybe a random editor will be like me, maybe not. I am not trying to go *around* the process, I am just trying to get some advice from someone more in the know than myself, and someone on the inside is ideal to answer two or three stoopid questions before I send things in through the appropriate official channels. I as asking because, yeah, I can also figure that chromatic and Rael are editors there, but I am, indeed, concerned about bugging them out of the blue. Enough said. You must have missed Brian's talk of 'bribing' two weeks ago -- I am not going that far (yet!) =) -Federico PS: given how friendly the ppl at Pearson/AW seem to be, O'Reilly must really be under a deluge of proposals like Uri noted! _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University BU http://metcs.bu.edu/~lucifred ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] OT: O'Reilly
Hello Uri, I have a bookish request: does anybody have an editorial contact at O'Reilly I can exchange a few ideas with? I am cooking a proposal for them and I need a few tips here and there. BT I'd start with http://www.oreilly.com/oreilly/author/intro.html. been there, done that. What I need is someone to talk to *before* I send them the proposal, hence my hope someone might have an editor's email. and contact manning.com as well. they are open to proposals too. if you can't find the contact i should have some info still. I will keep that in mind, but right now I think this is such a fit for ORA that I have a hard time thinking of going to another publisher. -F uri -- Uri Guttman -- [EMAIL PROTECTED] http://www.stemsystems.com --Perl Consulting, Stem Development, Systems Architecture, Design and Coding- Search or Offer Perl Jobs http://jobs.perl.org ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] OT: O'Reilly
Hello fellow Mongers, I have a bookish request: does anybody have an editorial contact at O'Reilly I can exchange a few ideas with? I am cooking a proposal for them and I need a few tips here and there. Best - Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University BU http://metcs.bu.edu/~lucifred ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Social Meeting Plans Tech Meeting Followup
Ronald J Kimball wrote: About 25 people came to the tech meeting last night at BU. brian d foy presented his talk on Automating Software Releases, in which he told us about release(1) and Module::Release. I was held by my Harvard class yesterday, does anyone have notes on Brian's talk or are there any slides I can flip thru ? Best -F -- _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University BU http://metcs.bu.edu/~lucifred ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] [OT] undefined symbols and ld
Hello Mongers, As the best *nix pool of knowledge in town revolves around here (at least, in my assessment), I will pose this question here: I have had several runtime errors in the past several weeks due to unresolved symbols in C or C++ executables - missing library, I say, so I check with ldd and, sure enough, most of the time one of the dependencies has failed to resolve. However, in some cases ldd *does* indicate that everything has resolved and *still* there are undefined/unresolved symbols in my way. What is this due to and how can I troubleshoot it ? Is there something I should read to further my knowledge of Unix library conventions? So far, I have resolved these issues by guesstimating and it turned out (twice) that a library was missing, albeit ldd was not showing that... this is confusing me quite a bit. Now I am looking at an executable that tells me that _ZN2Qt3redE is undefined, but ldd says, again, that all the libraries are there. I thought I had a library version issue, but that does not seem to be the case. How do I proceed ? Of course, I tried google and a grep -r of everything in sight, but found that symbol only in a handful of binaries and I have no clue as to what build options brought the thing there Anybody willing to hit with the clue stick ? -Federico -- _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University BU http://metcs.bu.edu/~lucifred ___ Boston-pm mailing list Boston-pm@mail.pm.org http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] OT: blosxom
Hey Greg, I have been using blosxom since one of the early imaginary number version releases (0.x+i). I strongly recommend it, it is essentially a clever perl script, very minimalistic, it builds on *NIX assumprions (as it should!), so that you simply create a text file in a certain directory, the first line becomes the title, the rest the body. You can do this via ssh (my favorite option), but many plugins exist to do it from any facility you might think of (and it is easy to write your own). The date of the entry is taken from the system's file last modification. I have a little hack to pre-render things via lynx, but Rael incorporated a more flexible scheme doing the same thing into newer releases, so that you can have the script render once rather than per-each HTTP call, and serve the cached result. This is nice if you are expecting lots of traffic, of course, or if you run your webserver on a mac SE-30 as I do for a challenge =). Three thumbs up is my overall comment. I would tell you to go peek at my site, but I moved and it is still down. -Federico -Original Message- From: Greg London [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 7, 2004 06:34 PM To: [EMAIL PROTECTED] Subject: [Boston.pm] OT: blosxom my website is on Pair. I want to put a blog up on my site. Pair has blosxom on the list of tools they have. According to blosxom homepage, it's pure perl, so its sort of a on-topic question. Anyone know anything about blogging as far as which blogging software is good? Is it all a wash? Is blosxom any good? I've heard about Movable Type as another option. anyone in the know doing any blogging? Greg ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] OT: Recommendation for mail server?
Hello, To round out the virtual user solution I implemented, I used MySQL for the back-end database, Dovecot (http://www.dovecot.org/) for IMAP server (I'd recommend avoiding POP3 if you can), and maildrop (http://www.courier-mta.org/maildrop/) as the local delivery agent. Though I'm not satisfied with maildrop and am working on a Perl-based local delivery agent. I also recently set up dovecot and higly recommend the sucker. simple and effective (unlike Sendmail, ARRGH!). -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University BU http://metcs.bu.edu/~lucifred ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Timing out a long process and retaining the output
Hello Ben, I am in a hurry and I am not so sure why you are evaling in there, but I definitely DO wonder why you are setting the alarm after what is the code that I imagine you want to time out ? -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University BU http://metcs.bu.edu/~lucifred -Original Message- From: Ben Boulanger [mailto:[EMAIL PROTECTED] Sent: Saturday, September 18, 2004 10:28 PM To: [EMAIL PROTECTED] Subject: [Boston.pm] Timing out a long process and retaining the output Hi everyone, I'm having a hard time locating the solution to what I hope is a common/simple problem. I'm trying to run a very lengthy process, stop it about 60 seconds in and retain whatever output has been received at that point. The process is samba-tng's rpcclient pulling back the eventlog of a windows NT system. I've tried an eval, and for some reason it's not timing that out. Anyone have any ideas? Code is below: #!/usr/bin/perl -w use IO::Socket; STDOUT-autoflush(); my $test; $SIG{ALRM} = sub { print $test\n; die 'died in eval\n'; }; eval { open(CMD, /usr/local/samba/bin/rpcclient -S 172.21.173.230 -U administrator\%itv -c 'eventlog system'|grep -B 2 -A 7 -i dac960nt|grep -e '[0-9],[0-9],[0-9]'|); $test = test.; #my $total = 20; while (CMD) { $test .= $_; #$x++; #if ($x = $total) { # close(CMD); #} } print $test; alarm(10); }; -- A single conversation with a wise man is better than ten years of study. ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Re: randal talk social
Hello Fellow Mongers, (Bows in the presence of _The Master_) Yeah, those are just the newest latest things I've written. I can also do the classic intro to objects in 90 minutes (the perlboot talk), or a short talk on using Test::More, or any of another dozen things that I seem to be known as an expert on. :) Humm, Actually I would not mind hearing randal's take on objects. Might be the professor obsession in me, but... Now I only have to see where I put my first edition learning Perl to have it autographed 8) -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- Harvard University BU http://metcs.bu.edu/~lucifred ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Meeting topic?
I can suggest a topic that I'd like to hear, in case there are any mongers who'd like to talk on it: POE--perl object environment. I'm thinking of using it and would love to hear case stories from any who have -- both pleasures and pitfalls. Hate to open a me too thread, but I actually second that. -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- [EMAIL PROTECTED], http://www.lucifredi.com ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Is there a module to access memory usage?
I need to write a script that will return how much memory (RAM) is on a system as well as how much of it is being used. Can anyone assist? If this is done under UNIX/Linux, it might be easier than you think: just poke around the proc filesystem and you might find that all you need is really there -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- BU Harvard University [EMAIL PROTECTED], http://www.lucifredi.com ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Is there a module to access memory usage?
Fellow Speakeasy User Mike Burns wrote: If this is done under UNIX/Linux, it might be easier than you think: just poke around the proc filesystem and you might find that all you need is really there Hey pal, I did not guarantee it for *all* variants.. I said you *might* find it there. But I have to say I was surprised a bit, I knew Solaris did not have it, but never noticed that my (net)BSDs were lacking it. Is meminfo actually exclusive to Linux only ? If that is the case, one more mark in my list of small superior (convenient?) features for the penguin OS. Then again, perhaps that is one feature I would like to patch into NetBSD So many projects, so little time *sigh* -F [EMAIL PROTECTED] ~% uname -a FreeBSD long.example.org 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #0: Mon Feb 23 20:45:55 GMT 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 [EMAIL PROTECTED] ~% ls /proc [EMAIL PROTECTED] ~% [EMAIL PROTECTED] ~% uname -a OpenBSD lube.example.org 3.4 GENERIC#0 i386 [EMAIL PROTECTED] ~% ls /proc ls: /proc: No such file or directory [EMAIL PROTECTED] ~% [EMAIL PROTECTED] ~% uname -a SunOS russian.example.org 5.9 Generic_112233-12 sun4u sparc UNW,Sun-Blade-1500 [EMAIL PROTECTED] ~% ls /proc 0/ 136/17457/ 177/ 220/245/ 290/ 306/ 368/ 8730/ 1/ 139/17458/ 183/ 22788/ 252/ 296/ 309/ 369/ 8914/ 12971/ 13999/ 17460/ 189/ 233/268/ 297/ 326/ 371/ 8916/ 12978/ 149/17462/ 2/241/270/ 3/334/ 49/ 8918/ 12980/ 165/17471/ 202/ 242/272/ 301/ 344/ 59/ -- Mike Burns [EMAIL PROTECTED] http://netgeek.ws ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Embedding Perl
Poking at the memory space of an executable is not a good idea (tm). Confucious Say: He who likes to poke at protected memory likes to live on the edge =) Thanks for the comment. I will check out SWIG. -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- [EMAIL PROTECTED], http://www.lucifredi.com ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] Embedding Perl
Hello Fellow Mongers, I just returned to Boston, and I am looking forward to see Damian tomorrow. In the meantime, here is a question worthy of you: I have been asked to provide scripting capability into a Qt application (essentially, the reverse of what I have shown you in my talk a couple of years ago), and was thinking of embedding Perl into their program as a solution. I have two questions in the matter, as I have never tried this particular magic Perl spell: What kind of access will the scripts have to the proper C++ variables? Can these be objects or have to be static ? Or is it simply madness to poke at data that way (my take) and the best approach is to pass a data block to a Perl function from C++, then retrieve the results from that same memory area (or another one, but still allocated by C++). The person badgering me with this problem seems to think it is possible to poke at the memory space of an executable from another one (the standalone perl interpreter) and live happily everafter. Now, I know Perl is full of wonderous surprises, but unless it bends even standard Unix Kernel memory protection, it seems to me the best way to go is embedding. Should I check out other spell books other than perlembed? As far as I know, that's the only way to go, but perhaps there are *other* ways to embed Perl (No Dan, don't get started on Parrot jst yet ;-) -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- [EMAIL PROTECTED], http://www.lucifredi.com ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] OT: DSL service in NE
Hello All, I am asking for a quick word of advice on DSL service in New England... is it currently possible to get a DSL line hooked up without the extra 30$ cost of the Verizon phone line typically associated with it? I guess the answer is no, but one of you mongers might just have figured out a way around it... I think I am not the only one that would be happy with just cellular service for voice and DSL at home for data =) Besides, if you really needed lots of voice traffic, you could just hook up Vonage onto the DSL... -Federico ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Completing processing before SIGHUP
Hello There, The book also states that you can not IGNORE or trap a A KILL or STOP signal. Is it still the case with Perl 5.8 and Linux kernel 2.4x? That's a fact of *NIX life I am afraid: KILL is unstoppable (ignore), as is SIGSTOP - they provide the user/admin with a surefire way of either killing or stopping a process --Stevens. And, as catching these would also enable you to ignore them, you cannot do that either! I did not read the whole thread, but if you are doing more than just handling error conditions/froceful termination from the kernel, you should be aware that signals hanve slightly different behaviors across the *NIX spectrum. This is particularly relevant if you take to blocking them, or if you want them to interrupt/restart the so called slow system calls. -Federico ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Completing processing before SIGHUP
Hello There, The book also states that you can not IGNORE or trap a A KILL or STOP signal. Is it still the case with Perl 5.8 and Linux kernel 2.4x? That's a fact of *NIX life I am afraid: KILL is unstoppable (ignore), as is SIGSTOP - they provide the user/admin with a surefire way of either killing or stopping a process --Stevens. And, as catching these would also enable you to ignore them, you cannot do that either! I did not read the whole thread, but if you are doing more than just handling error conditions/froceful termination from the kernel, you should be aware that signals hanve slightly different behaviors across the *NIX spectrum. This is particularly relevant if you take to blocking them, or if you want them to interrupt/restart the so called slow system calls. -Federico ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Completing processing before SIGHUP
Hello There, The book also states that you can not IGNORE or trap a A KILL or STOP signal. Is it still the case with Perl 5.8 and Linux kernel 2.4x? That's a fact of *NIX life I am afraid: KILL is unstoppable (ignore), as is SIGSTOP - they provide the user/admin with a surefire way of either killing or stopping a process --Stevens. And, as catching these would also enable you to ignore them, you cannot do that either! I did not read the whole thread, but if you are doing more than just handling error conditions/froceful termination from the kernel, you should be aware that signals hanve slightly different behaviors across the *NIX spectrum. This is particularly relevant if you take to blocking them, or if you want them to interrupt/restart the so called slow system calls. -Federico ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] Completing processing before SIGHUP
Hello There, The book also states that you can not IGNORE or trap a A KILL or STOP signal. Is it still the case with Perl 5.8 and Linux kernel 2.4x? That's a fact of *NIX life I am afraid: KILL is unstoppable (ignore), as is SIGSTOP - they provide the user/admin with a surefire way of either killing or stopping a process --Stevens. And, as catching these would also enable you to ignore them, you cannot do that either! I did not read the whole thread, but if you are doing more than just handling error conditions/froceful termination from the kernel, you should be aware that signals hanve slightly different behaviors across the *NIX spectrum. This is particularly relevant if you take to blocking them, or if you want them to interrupt/restart the so called slow system calls. -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- [EMAIL PROTECTED], http://www.lucifredi.com - Original Message - From: Ranga Nathan [EMAIL PROTECTED] To: Boston List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Wednesday, June 02, 2004 0:34 Subject: Re: [Boston.pm] Completing processing before SIGHUP Thanks Andrew for the explanation... but I just read the signals section of Programming Perl 2nd edition (my precious book with Larry Walls autograph, camel stamp and TMTOWTDI stamp) which cautions against doing anything worthwhile after handling a signal, since the underlying C routines are not re-entrant on most platforms. In my case there is only one instance of the script required to run at any time (ha ha, soon there will pop up an exception!) , so it is OK. The book also states that you can not IGNORE or trap a A KILL or STOP signal. Is it still the case with Perl 5.8 and Linux kernel 2.4x? #+= Lastly # Ronald, Could we please set the Reply-To: to the mailing list address please, pretty please? ## Thanks Andrew Langmead [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 05/31/2004 04:59 PM To: Ranga Nathan [EMAIL PROTECTED] cc: Boston List [EMAIL PROTECTED] Subject:Re: [Boston.pm] Completing processing before SIGHUP On May 31, 2004, at 3:33 PM, Ranga Nathan wrote: Andrew Langmead [EMAIL PROTECTED] You should probably get your hands on a copy of Advanced Programming in the UNIX Environment http://www.aw-bc.com/catalog/academic/product/0,,0201563177,00%2ben- USS_01DBC.html by W. Richard Stevens. It is one of the best references I have seen for how the OS intereracts with applications for matters like this. [stuff deleted. I probably could have deleted the above too, but it is a great book and I wanted the opportunity to recommend it again.] You can set your $SIG{HUP} handler in a manner like: my $hangup = 0; $SIG{HUP} = sub { $hangup=1 }; and then check if the value of $hangup changes. This implies that normal execution continues have the HUP is handled and it is the application responsibility to recognize the change to the variable. Am I reading it right? If so this is the exact behaviour I want. so long as the execution resumes after the signal handling, it is up to the application to do whatever it can to reach a stable state and then terminate. Yes. Nearly every signal can be blocked, caught, or left to its default action. The default action for most signals is to terminate the process, which is the behavior you are used to seeing. If the signal is caught, the normal execution of your program is put aside, the signal handler run, and then you program resumes as normal. A signal handler is sort of like a subroutine that your program ran but wasn't expecting. Or if you at all familiar with a lower level form of programming, signals and signal handlers act almost exactly like interrupt service routines that a hardware device driver would handle. ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] [OT]: O'Reilly P2P 2001
Hello fellow Boston-pmers, I am seeking slides from a p2p-2001 conference presentation. Did any of the brains(TM) on the list attend ? Over and out! - Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- [EMAIL PROTECTED], http://www.lucifredi.com ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
[Boston.pm] mangled: perllocal.pod
Hello fellow Mongrels ;-) I used a script (from CPAN, no less) to eradicate a few modules from my install. It worked fine, *but* perllocal.pod still lists the modules (ehm...). Should I just go in there and wipe the mess myself or is there a way to tell perl to rebuild perllocal.pod ? -Federico _ -- 'Problem' is a bleak word for challenge - Richard Fish Muad'Dib of Caladan (Federico L. Lucifredi)- [EMAIL PROTECTED], http://www.lucifredi.com ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm
Re: [Boston.pm] mangled: perllocal.pod
Hello again, Here it is - straight from the CPAN FAQ. http://www.cpan.org/misc/cpan-faq.html#How_delete_Perl_modules -Federico - Original Message - From: Jerrad Pierce [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, May 31, 2003 20:57 Subject: Re: [Boston.pm] mangled: perllocal.pod I believe perllocal.pod is updated when installing modules with CPAN. I would then assume that no, there is no aoutmated way to clean perllocal.pod (although it sounds like the script you used should have, you could always provide the author with a patch... it might also have been useful to give the name of the script you used in case somebody else wants to take a look) -- H4sICNoBwDoAA3NpZwA9jbsNwDAIRHumuC4NklvXTOD0KSJEnwU8fHz4Q8M9i3sGzkS7BBrm OkCTwsycb4S3DloZuMIYeXpLFqw5LaMhXC2ymhreVXNWMw9YGuAYdfmAbwomoPSyFJuFn2x8 Opr8bBBidcc= -- MOTD on Sweetmorn, the 5th of Confusion, in the YOLD 3169. Celebrate Syaday!: We don't hate vegetarians, we just think they're funny. ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm ___ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm