Re: UI::Dialog Security Ideas

2013-08-20 Thread David Nicol
On Tue, Aug 20, 2013 at 11:39 AM, Kevin C. Krinke ke...@krinke.ca wrote: Hi all, I've just noticed (yes, I've been way out of the loop on my own projects for far too long) the user reviews of my module UI::Dialog. In particular: http://cpanratings.perl.org/user/avian What really spoils the

Re: Alien::XXX needs something more

2013-08-09 Thread David Nicol
and for windows is meant Strawberry, Activestate, Cygwin, or other?

Re: license information and link to source code repository from your CPAN distribution

2013-01-08 Thread David Nicol
Recently I checked and only 50% of the CPAN distributions have a link to a public version control system: http://blogs.perl.org/users/gabor_szabo/2013/01/50-of-the-new-cpan-uploads-lack-a-repository-link.html uh, CPAN /is/ a public version control system. You have a favorite VCS and want

Re: license information and link to source code repository from your CPAN distribution

2013-01-08 Thread David Nicol
On Tue, Jan 8, 2013 at 12:14 PM, Olaf Alders o...@wundersolutions.comwrote: uh, CPAN /is/ a public version control system. You have a favorite VCS and want to make diffs easily? Download, unpack, init, add, commit, work, diff. That doesn't sound easy at all. ;) For example, if you want to

Re: license information and link to source code repository from your CPAN distribution

2013-01-08 Thread David Nicol
On Tue, Jan 8, 2013 at 12:28 PM, John M. Gamble jgam...@ripco.com wrote: It was not intended as a constantly synchronized central repository of all of CPAN. That's what I meant, and it was something of a straw man.

Re: RFC: a universal tidier

2012-04-30 Thread David Nicol
On Sun, Apr 29, 2012 at 7:56 AM, Jonathan Swartz swa...@pobox.com wrote: Comments and suggestions for names welcome. Devel::MultiTidy? I like the Any:: name space for things that offer single interfaces to multiple back-ends. One could argue that Tidying really doesn't fit there though. And

Re: Proposal for building module info

2012-02-10 Thread David Nicol
At the moment I have everything internally under a CPAN::Curation:: namespace, but if released separately I don't think that's appropriate. CPAN::Module::Metadata for the data class? CPAN::Module::GetMetadata for the builder? CPAN::Module::Metadata::Factory? I like Curation. Museums are

metacpan logo contest voting?

2012-01-30 Thread David Nicol
I like http://entries.contest.metacpan.org/2012/01/andy-walker-3.html the best but it isn't clear how to register this, aside from giving it a Google plus point. -- Digital artists often sneer when they effect an effect because sometimes affect affects an effect's effect.

Re: The CPAN Morass

2011-12-02 Thread David Nicol
Bzzzt! Anachronism. I hereby retract my proposal to refund Linda W's fees. Perl is, of course, four years older than Linux. On Sat, Dec 3, 2011 at 12:21 AM, Linda W perl-didd...@tlinx.org wrote: What compiler on linux -- where perl was born, would you suggest?

Re: The CPAN Morass

2011-12-01 Thread David Nicol
I would like to nominate Linda W. for receipt of a full refund of her CPAN subscription fees.

Re: MetaCPAN is quickly becoming the de-facto interface to CPAN

2011-08-29 Thread David Nicol
On Sun, Aug 28, 2011 at 2:38 PM, Arthur Corliss corl...@digitalmages.com wrote:  Google switching to SSL by default is as pointless as metacpan.  In the former case it's the protection of delivery to/from an entity that not only doesn't have your best interest at heart, but has a business

Re: Looking for people to take over maintenance of my Perl modules on CPAN

2011-08-02 Thread David Nicol
On Tue, Aug 2, 2011 at 11:03 AM, Terrence Brannon scheme...@gmail.com wrote: I read the docs for your Logic::Kleene ( http://search.cpan.org/~rrwo/Logic-Kleene-0.05/lib/Logic/Kleene.pm ) and although I cant imagine a practical case where I would return undef as opposed to an explicit true or

Re: MetaCPAN is quickly becoming the de-facto interface to CPAN

2011-07-29 Thread David Nicol
On Fri, Jul 29, 2011 at 8:17 AM, David Golden wrote: I think MetaCPAN is a great project and is evolving quickly, but hyperbole doesn't serve any real benefit. didn't someone here used to have sure it's hyperbole, but you can never have too much hyperbole as their .sig?

Re: Handling C++ structs with XSpp

2011-04-26 Thread David Nicol
Have you considered using Inline::CPP and writing your accessors as needed? Its another layer of indirection, but there may be fewer surprises.

Re: CPAN In The Comics

2011-03-23 Thread David Nicol
we could finish the composition Hey I code all day Well I code all night It's been six days since I saw sunlight I'm in troglodyte mode Troglodyte mode Got the Algol rhythm Got the Assam blues The lab is empty I took off my shoes The lights are out sunglasses on glowing pixels syntax errors

One possible future of parsing Graph::Easy input texts

2011-03-21 Thread David Nicol
On Sun, Mar 20, 2011 at 6:42 PM, dhu...@hudes.org wrote: In terms of considering parser improvements or reimplementation, the first step is to come up with a formal grammar for the language. Preferably a Context Free Grammar (CFG) expressed in BNF or EBNF. Once we have that we have options -

Re: One possible future of parsing Graph::Easy input texts

2011-03-21 Thread David Nicol
On Mon, Mar 21, 2011 at 4:04 PM, dhu...@hudes.org wrote: An interesting concept but describing the syntax as a grammar is not the same as an FSA. The FSA is part of the parser and lexer. I disagree. State Machine is a powerful abstraction that is useful in many places. The thing about

Re: best practices for module renaming

2011-02-08 Thread David Nicol
On Tue, Feb 8, 2011 at 6:29 AM, David Cantrell da...@cantrell.org.uk wrote: On Mon, Feb 07, 2011 at 08:59:40PM +0100, Xavier Noria wrote: Hi, I am the author of Net::FluidDB, which let's you talk to FluidDB. FluidDB has been renamed to Fluidinfo, and I should rename the module in accordance.

Re: Top level naming suggestion

2011-01-31 Thread David Nicol
Before I upload the code (which is already written, for all methods MetaCPAN allows, and more) to CPAN and Github, I just wanted to know that taking a top-level namespace here makes sense and get any input on it. Here are some notes: 1. It does not use Mechanize, LWP, or anything for which

Re: Discussion question: what is the best syntax for documenting a coderef parameter?

2010-12-09 Thread David Nicol
On Wed, Dec 8, 2010 at 7:59 PM, Eric Wilhelm enoba...@gmail.com wrote: If you can, avoid the need to document I will pass a callback to your callback. --Eric Continuation-style programming requires that all the time.

Discussion question: what is the best syntax for documenting a coderef parameter?

2010-12-07 Thread David Nicol
The pod for AnyEvent::Handle contains SNIP on_connect = $cb-($handle, $host, $port, $retry-()) This callback is called when a connection has been successfully established. The peer's numeric host and port (the socket peername) are passed as parameters, together with a retry callback. SNIP Is

Re: What hurts you the most in Perl?

2010-12-06 Thread David Nicol
We hear the same argument in reverse that people should work on Perl 5 instead of Perl 6, as if the people who are working on Perl 6 would _of course_ be working on Perl 5 if 6 didn't exist. There's no reason to think this is true, and many reasons to think it's not. Many Perl 6 people never

Re: Reducing rsync cost (was: Re: Using a better compression than .gz for one's CPAN modules)

2010-11-22 Thread David Nicol
On Mon, Nov 22, 2010 at 4:37 AM, David Landgren da...@landgren.net wrote: Yeah, this is the killer. In an ideal world, we would kill the symlinks such as authors/id/*, modules/by-category/*, modules/by-module/* and so on. These could be recreated via shell scripts locally on mirrors for people

Re: Please advise before I submit to CPAN

2010-09-09 Thread David Nicol
one surprising aspect of perl is that Cbless affects the object, not the reference, so it is possible to rebless things, which is handy if you use package-based state machines D:\perl -le bless $o=[],'abc';print $o; sub f{$l=shift; bless $l,'DEF'} f $o; print $o abc=ARRAY(0x3e5444)

Re: Storable Stream - Module namespace help

2010-08-09 Thread David Nicol
On Sun, Aug 8, 2010 at 4:58 AM, Marco Neves [ModAuthors] perl-module-auth...@knowhunter.cjb.net wrote: Hello,        In need for a way to transfer a large amount of small datastructures I created a module that stores and retrieves a stream of storables in a file. I'm confused -- a stream

Re: Roles on the CPAN

2010-08-05 Thread David Nicol
package that; use Moose; with 'fries'; # do we want this?

Re: Frozen Bubble 2.2.1

2010-08-05 Thread David Nicol
It appears that your use case -- you want to publish the beta version on CPAN without having the non-beta-testers get it too -- is not supported by xdg's essay. I see two possible approaches: 1: leapfrogging. Release the beta versions with version numbers that are less than the latest release

Re: Opinions about constants

2010-07-29 Thread David Nicol
On Thu, Jul 29, 2010 at 3:28 PM, Bill Moseley mose...@hank.org wrote: Wondering what you use for constants in your modules. I actually do stuff like BEGIN { my %SmallEnglishNumbers = qw/ ONE = 1 TWO = 2 TWELVE = 12, INF = -1 , ZAPHOD = 42 /; my $block; while (my ($k,$v) = each

Re: Usage of wantarray

2010-05-12 Thread David Nicol
On Wed, May 12, 2010 at 7:08 AM, Shlomi Fish shlo...@iglu.org.il wrote: On Wednesday 12 May 2010 00:55:13 Lutz Gehlen wrote: Hello everybody, recently, I read the following statement in a CPAN Ratings entry: this package also uses wantarray (a transgression amongst interface sensibilities).

Re: When and how to throw exceptions?

2010-04-10 Thread David Nicol
On Fri, Apr 9, 2010 at 1:54 AM, Ovid publiustemp-moduleautho...@yahoo.comwrote: (Javaesque psuedo-code): try { customer.read(); } catch ( Exception::IO::NotFound e ) { ... } catch ( Exception::IO::CantOpen e ) { ... } catch ( Exception::IO::CantRead e ) { ... } catch (

Re: Trimming the CPAN - Automatic Purging

2010-04-04 Thread David Nicol
It hasn't been done because its outside of the scope of design for rsync. It's meant to sync arbitrary filesets in which many, if not all, changes are made out of band.  It's decidely non-trivial to implement in that mode unless you're willing to accept a certain window in which your database

what's a good name for a pure-perl OnScopeExit mechanism?

2010-03-31 Thread David Nicol
local_onExit is how it is now http://davidnicol.diaryland.com/onExit.html The semantics should be exactly the same as Scope::OnExit, but the syntax is somewhat convoluted, abusing the Clocal mechanism as it does. Scope::OnExit::PurePerl would seem to imply the same syntax, which would be

Re: Trimming the CPAN - Automatic Purging

2010-03-31 Thread David Nicol
On Wed, Mar 31, 2010 at 10:45 AM, David Landgren da...@landgren.net wrote: On 31/03/2010 06:52, David Nicol wrote: new proposal: Make modules pay rent in order to remain on a mirror. Rent could be in the form of actual user interest, or good reviews. Use as a dependency could count as rent

Re: Trimming the CPAN - Automatic Purging

2010-03-30 Thread David Nicol
On Sun, Mar 28, 2010 at 2:32 PM, Elaine Ashton eash...@mac.com wrote: On Mar 28, 2010, at 12:48 PM, Randy Kobes wrote: Has some sort of disk quota system for CPAN author accounts ever been considered? Not specifically, no, at least not that I'm aware of. That would have to be

Re: Help with naming a module

2010-03-04 Thread David Nicol
I like the word Foliage. Also, there are many here among us who cannot help but smirk at the sight of the word shrubbery. Smirking is good.

Re: RFC: Proposal to simplify, speed-up /i regex matching while fixing things

2009-12-27 Thread David Nicol
On Sat, Dec 26, 2009 at 7:37 AM, Dr.Ruud rvtol+use...@isolution.nl wrote: Is there a module that provides a Cfc keyword that foldcases its input? No unfortunately not. Its a good idea tho, it would be useful. There is: perlapi  ibcmp_utf8  to_utf8_fold Unicode::UCD::casefold()

Re: Why you don't want to use /dev/random for testing

2009-11-11 Thread David Nicol
there's always http://fourmilab.ch/cgi-bin/Hotbits?nbytes=128fmt=hex although I don't know what their massively parallel availability is. Probably less than google charts. -- http://twitter.com/HankSwap tweets approximately every 36 hours using random delays. Promotional excerpts are fair use!

Re: module name for test data?

2009-09-29 Thread David Nicol
you could put the word corpus in there somewhere, since you're publishing some test data. For others to use it, who might be looking for test data, that's what a corpus is in test data jargon (i believe.) Test::Corpus::audio::mpd would set an example of publishing test data to CPAN under the

Re: I'd like a way to abandon a module

2009-08-13 Thread David Nicol
On Thu, Aug 13, 2009 at 7:38 AM, Andy Lestera...@petdance.com wrote: On Aug 13, 2009, at 6:43 AM, Adrian Howard wrote: Make an ABANDONED PAUSE user and give modules to it? I thought of that, but unless somehow the modules came out of PETDANCE into ABANDONED's directory, I still look like

Re: Naming advice for retry manager module

2009-04-21 Thread David Nicol
On Tue, Apr 21, 2009 at 3:11 PM, Bill Ward b...@wards.net wrote: Something like Object::Retry maybe?  Then things can inherit from it? The proposed module sounds more like a has-a than an is-a. Or maybe just a new method that would get included in the caller's namespace. Set the defaults at

Re: Science, Engineering, Craft (was once: something about hash references)

2009-03-06 Thread David Nicol
On Tue, Mar 3, 2009 at 6:54 PM, Eric Wilhelm enoba...@gmail.com wrote: Perhaps we should charge by the pound for CPAN modules?  Not lines of code, but some kind of metric which appropriately conveys heft (toughness/strength/finish are, of course, premium.) Executions without problem? That

Re: Name for barcode-reading module?

2009-02-23 Thread David Nicol
http://www.barcodehq.com/primer.html#READERS seems to indicate that decoder would be the term to use. On Sat, Feb 21, 2009 at 11:58 AM, sawyer x xsawy...@gmail.com wrote: I think Barcode::OCR depicts by the name exactly what it does. It does OCR of barcodes. Perfect. The rest I would have to

Re: RFC: String::Tagged

2009-01-30 Thread David Nicol
there is also intersection with the concept of ropes rather than strings as I understand the term,

Re: RFC: String::Tagged

2009-01-30 Thread David Nicol
On Fri, Jan 30, 2009 at 2:46 PM, Paul LeoNerd Evans leon...@leonerd.org.uk wrote: On Fri, Jan 30, 2009 at 02:00:13PM -0600, David Nicol wrote: there is also intersection with the concept of ropes rather than strings as I understand the term, A rope is a data structure designed to make string

Re: Module for base 85 encoding

2008-11-24 Thread David Nicol
On Mon, Nov 24, 2008 at 12:56 PM, Bill Ward [EMAIL PROTECTED] wrote: How about contacting the owner of Math::Base85 and see if you can somehow join forces? It seems to me this would make sense to have a single module that can output in either format. 1: RFC 1924 is an April fool. Those who

Re: Module for base 85 encoding

2008-11-24 Thread David Nicol
On Mon, Nov 24, 2008 at 1:26 PM, David Nicol [EMAIL PROTECTED] wrote: present in Mr. Clark's to-be-unveiled String::Base85 module. Unless I meant to write String::Ascii85, I stand with Darian Anthony Patrick in that preference.

Re: Integrating license related things of CPAN

2008-10-27 Thread David Nicol
On Sun, Oct 26, 2008 at 1:08 AM, Jonathan Rockway [EMAIL PROTECTED] wrote: If I use Term::ReadLine and it picks the Term::ReadLine::Gnu, is my module GPL now? JR may neither know nor care, but I think I know and I'd like to hear about it if I've got it wrong. No. You haven't distributed

Re: What's up with all these people uploading stuff under their own name.

2008-10-13 Thread David Nicol
As someone who claimed a top level CPAN domain and have been uploading things into it since (Tipjar::) some time ago, the reasons are: (1) branding good things (2) not sure if my basic things deserve to be at top level status (tipjar::fields) which is a policy I have abandoned (Macrame)

Re: Regulating Module Authorship

2008-09-22 Thread David Nicol
On Mon, Sep 22, 2008 at 10:57 AM, Aristotle Pagaltzis [EMAIL PROTECTED] wrote: * Dave Rolsky [EMAIL PROTECTED] [2008-09-22 17:55]: Note that this differs from ratings, which I don't find very useful at all. Agreed. And trust networking is how humans are wired anyway. formal trust metrics can

Re: Regulating Module Authorship

2008-09-22 Thread David Nicol
, readers of the lists to which I post, alert me off-list if you feel David Nicol has been too free in sharing hypothetical contrarian positions of late; I'm experiencing guilt about wasting people's valuable time. (this, and the recent flip-flopping WRT autodie semantics.)

Re: Carp::nosigdie - needs a better name

2008-09-03 Thread David Nicol
On Wed, Sep 3, 2008 at 3:12 PM, Eric Wilhelm [EMAIL PROTECTED] wrote: Also, as a debugging tool, I would rather be able to just load the module from a perl option. yes, absolutely. Until I saw your usage example I did not get how you use this handy tool. Since the localizing is the thing you

Re: Devel::Callsite is a better instance key than join $;,caller()[1,2]

2008-08-13 Thread David Nicol
On Wed, Aug 13, 2008 at 3:09 PM, Ted Zlatanov [EMAIL PROTECTED] wrote: I get paid by the number of CPAN modules released, so yes, this will be Devel::GetContext, one function per module :) I laughed BM If you want calls to every(5) to only return true once every five times BM even across

Devel::Callsite is a better instance key than join $;,caller()[1,2]

2008-08-07 Thread David Nicol
=head1 NAME Devel::Callsite - Get current callsite =head1 SYNOPSIS use Devel::Callsite; sub $site { return callsite() }; print $site-(), \n; # prints one number print $site-(), \n; # prints a different number =head1 DESCRIPTION This function returns the callsite (a number) one level

Re: Devel::Callsite is a better instance key than join $;,caller()[1,2]

2008-08-07 Thread David Nicol
On Thu, Aug 7, 2008 at 11:01 AM, Ted Zlatanov [EMAIL PROTECTED] wrote: I plan to add the interpreter (Perl context, actually) address when I get a chance, Ben Morrow was kind enough to point out what I was missing. Then it will be more correct than the current version. Does anyone know if

Re: Port to PyConstructs

2008-07-14 Thread David Nicol
On Sat, Jul 12, 2008 at 1:50 AM, Shlomi Fish [EMAIL PROTECTED] wrote: http://construct.wikispaces.com/ In short, it's a library that parse binary structs. Cool! http://dev.perl.org/perl6/rfc/122.html

Re: Name space: throwing exceptions easily

2008-07-02 Thread David Nicol
On Wed, Jul 2, 2008 at 5:44 PM, Aristotle Pagaltzis [EMAIL PROTECTED] wrote: * Aristotle Pagaltzis [EMAIL PROTECTED] [2008-07-03 00:25]: No one would say that they are trying to achieve slowness or inflexibility. Drafted any mission-critical change control policies recently?

Re: Must exist, right?

2008-06-20 Thread David Nicol
this presumes a hash-based object instead of a field of a hash-based object, but it can have blessed members unlike Chris Dolan's draft; it also takes multiple args to be slice keys rather than consecutive accesses into a deep AoA. Wrapping in an import function and the niftiness with closing

Andy differentiation

2008-06-19 Thread David Nicol
Armstrong: Hexten, London. Lester: Petdance, Chicago.

Re: Must exist, right?

2008-06-18 Thread David Nicol
Considering that Data::Dumper is entirely regular in how it will present a deconstruction of the data structure, and you have a clear concept of how you wish the example structure === accessor set thing to work, it's certainly possible, and would take maybe two hacking sessions to get right

Re: How to declare dependency on other modules?

2008-04-12 Thread David Nicol
On Fri, Apr 11, 2008 at 5:39 PM, Ricardo SIGNES [EMAIL PROTECTED] wrote: I don't see a really good way to automate this. -- rjbs start with an index of packages to distributions, grep the module source for Cuse statements, there you are. The function that converts the list of use

Re: Ideas for soc, Looking for mentors

2008-03-18 Thread David Nicol
shorewall-perl might be a place to start; shorewall comes up zero on cpan search, yet is a big perl program; so converting it to an O-O module should be a simple matter of time and coffee :) On Tue, Mar 18, 2008 at 5:20 PM, Eric Wilhelm [EMAIL PROTECTED] wrote: # from Juan Luis Belmonte # on

Re: Distributing C code

2008-03-17 Thread David Nicol
On Mon, Mar 17, 2008 at 12:45 PM, Guy Hulbert [EMAIL PROTECTED] wrote: Inline::C may be easier but I don't know how much it is used. It's used less than it used to, thanks to this guy: InlineX::CPP2XS Convert from Inline C++ code to XS. InlineX-CPP2XS-0.12 - 19 Sep 2007 - Sisyphus

P($n,$r) and C($n,$r)

2008-02-04 Thread David Nicol
I've written a couple of little recursive routines that provide arrays or arrayrefs of arrayrefs of all the possible permutations and combinations, of sets of n items, counting from 0 to n-1, and wondering if such a thing is worth cluttering up CPAN with. I'm using them for this crazy

Re: Naming convention for thin wrappers around C libfoo.so ?

2007-12-10 Thread David Nicol
On Dec 10, 2007 5:17 AM, Dominique Quatravaux [EMAIL PROTECTED] wrote: +1, imho it makes good sense to have (some future version of) Cache::Memcached depend on Lib::Memcached. me too

Re: With the Macrame macro system, Perl may now be a Lisp.

2007-12-06 Thread David Nicol
On Dec 6, 2007 6:23 PM, Bill Ward [EMAIL PROTECTED] wrote: Cute experiment, but I REALLY hope nobody tries releasing useful modules to CPAN that depend on this... Thank you After it has line number support it will be more practically useful. I'm sort of stuck on how much records of line

Re: With the Macrame macro system, Perl may now be a Lisp.

2007-11-30 Thread David Nicol
On Nov 30, 2007 7:24 PM, Jenda Krynicky [EMAIL PROTECTED] wrote: I'm missing the reason-for-being of the module it its docs. I read the whole documentation and the test script and I still don't get it. What is it supposed to be used for? Sorry, Jenda polymorphic functions / more complex

With the Macrame macro system, Perl may now be a Lisp.

2007-11-29 Thread David Nicol
Macrame 0.08 finally passes a variety of tests and has been uploaded. Please harangue it via rt.cpan.org.

what's the right way to test a source filter?

2007-08-07 Thread David Nicol
so I am closer than ever to releasing my way-cool source filter module, which is based on Filter::Simple. Big question: how do I write the test script?

Re: Name for EscapeCage

2007-06-30 Thread David Nicol
On 6/30/07, Eric Wilhelm [EMAIL PROTECTED] wrote: A dangerous animal in a sandbox will probably get out. so the most standard term i believe is jail

Re: Name for EscapeCage

2007-06-29 Thread David Nicol
String::Sandbox ??

Re: Name for EscapeCage

2007-06-29 Thread David Nicol
On 6/29/07, Bill Ward [EMAIL PROTECTED] wrote: No a sandbox is where you have a practice area where changes made have no lasting impact. For example ebay and paypal have sandbox areas where you can experiment with applications that use those services without actually buying anything. This is

Re: Need naming advice

2007-06-26 Thread David Nicol
does it do SSO? It provides a generic user account management system, with features such as: [...]

Re: line numbers with Filter::Simple

2007-06-01 Thread David Nicol
On 6/1/07, Rocco Caputo [EMAIL PROTECTED] wrote: caller() is a good solution. I use it, Filter::Util::Call, and some involved #line magic to maintain sane line numbers in Filter::Template. I am preprocessing the code to add line number identifiers between all lines, then when I process the

line numbers with Filter::Simple

2007-05-30 Thread David Nicol
We can declare a line number, in source code, like so # perl foo #line 54 die smiling foo smiling at - line 54. # and counting newlines within a Filter::Simple code block is easy enough but how do I find out what line to start at, so I can insert #line comments into my filter output that will

Re: taxonomy for data-structure modules?

2007-05-27 Thread David Nicol
On 5/26/07, Ken Williams [EMAIL PROTECTED] wrote: I think that's part of it. But another problem is that many people don't know the official names for the data structures they're thinking of, e.g. trie or skiplist or whatever, so they can't search very effectively for it. It does seem like a

anybody feel like translating some PHP to Perl?

2007-05-25 Thread David Nicol
http://news.com.com/2100-1029-6186430.html -- It is not possible to make a mistake. (customary greeting given by Bokononists when meeting a shy person)

Re: peer review for first CPAN module? (JavaScript minification)

2007-05-25 Thread David Nicol
On 5/25/07, Joshua ben Jore [EMAIL PROTECTED] wrote: You may want want to convert from UTF16 to perl native strings, then convert back. JavaScript is defined as being stored in UTF16 but that's kind of unusual elsewhere. Isn't it? As Dr. Ruud said; also, ECMAscript engine authors (at least

Re: (Create a new ?) namespace for applications on CPAN

2007-05-24 Thread David Nicol
On 5/23/07, Andy Lester [EMAIL PROTECTED] wrote: I meant about his irrelevant parallels to program being what you get at the opera, and script the lines of a play. So if you find non-geek usage irrelevant, what is the scope of the target demographic whose usage you seek to correct then? -- It

script or program?

2007-05-22 Thread David Nicol
On 5/22/07, Andy Lester [EMAIL PROTECTED] wrote: On May 22, 2007, at 11:07 AM, David Nicol wrote: I'm trying hard to get people to stop saying script when referring to their Perl programs. I'd prefer that we not use it anywhere at all. outside of computers, script is a better term

Re: (Create a new ?) namespace for applications on CPAN

2007-05-22 Thread David Nicol
On May 17, 2007, at 4:08 PM, Andy Lester wrote: I'm trying hard to get people to stop saying script when referring to their Perl programs. I'd prefer that we not use it anywhere at all. outside of computers, script is a better term for the carefully tuned deliverables that software engineer

towards TERN::macro (was Re: LISP module from CPAN)

2007-05-10 Thread David Nicol
On 5/10/07, Adrian Howard [EMAIL PROTECTED] wrote: On 9 May 2007, at 21:37, David Nicol wrote: [proposed macro syntax example:] macro hashkeyaccessor(fieldname) { sub fieldname { $_[0]- {fieldname}} }; hashkeyaccessor $_ for qw/FIELD NAMES GO HERE .../; [summary of benefits of approach

Re: LISP module from CPAN

2007-05-09 Thread David Nicol
On 5/9/07, Vadim [EMAIL PROTECTED] wrote: I consider eval $string as a replacement of macros. for instance, I did the following in a curl wrapper package, to make the curlies optional around the fieldnames: BEGIN { for (qw/ BUFFER CALLBACK DATA EVENT FAILURE FETCHTIMEOUT GET

Re: LISP module from CPAN

2007-05-09 Thread David Nicol
so if there were lisp-like macros available in perl, my sugar example might be something like the following? macro hashkeyaccessor(fieldname) { sub fieldname { $_[0]-{fieldname}} }; hashkeyaccessor $_ for qw/FIELD NAMES GO HERE .../; and I would save the trickiness of getting the

Re: How to name module for CPAN for common lisp connection

2007-05-08 Thread David Nicol
could your approach be made to work with the Inline:: framework? On 5/6/07, Vadim Konovalov [EMAIL PROTECTED] wrote: I want to publish perl-to-lisp bridge module to CPAN. It connects existing LISP implementation to Perl, which turns out to be robust LISP out from perl (as opposed to toy

Re: LISP module from CPAN

2007-05-08 Thread David Nicol
On 5/8/07, Vadim [EMAIL PROTECTED] wrote: no, it uses CFFI, so this should cover every implementation supporting that. Ever since reading Hackers and Painters http://www.amazon.com/exec/obidos/ISBN=0596006624/tipjartransactioA I've been defending Perl is a LISP! (which is actually quite

Re: New version of perl

2007-05-01 Thread David Nicol
On 5/1/07, Adrian Howard [EMAIL PROTECTED] wrote: http://search.cpan.org/~hooo/perl-0.0017/ I suppose a new release of Pollute should handle modifications to the hints variable. -- practical solutions to systemic problems

Re: Module Proposal: Parse::Reversible

2007-04-25 Thread David Nicol
has anyone mentioned xeger yet in this discussion?

Re: Licenses in a commercial application

2007-03-20 Thread David Nicol
On 3/20/07, Adam Kennedy [EMAIL PROTECTED] wrote: Gabor Szabo wrote: On 3/18/07, David Golden [EMAIL PROTECTED] wrote: If you install your program, but say And since it installs Perl, you can also use it to write your own Perl programs! that would be overtly making the interfaces visible. If

Re: Licenses in a commercial application

2007-03-20 Thread David Nicol
specifically, paragraph 4.c: [you may distribnuted modifed Perl provided you] give non-standard executables non-standard names, and clearly document the differences in manual pages (or equivalent), together with instructions on where to get the Standard Version. So, something like Whizzomatic

Re: Looking for a factory name

2007-01-19 Thread David Nicol
On 1/19/07, Paul LeoNerd Evans [EMAIL PROTECTED] wrote: That wasn't the intention, it's really just looking to find a class that is already installed and usable, that itself declares ability to be what you asked for. so the invention in a module that facilitates creation of portable modules

Re: Looking for a module name

2007-01-18 Thread David Nicol
is there a DesignPattern:: section? I did not take the time to fully understand your explanation but the gist I got was that you are comfortable with design patterns nomenclature. I know there are at least some documentary CPAN modules concerned with DP in Perl, but do not know if DP-based

gnome planner file format?

2006-12-27 Thread David Nicol
Has anyone written a perly interface to the gnome planner file format? It's XML so it's going to be basically a breeze, but I'd rather re-use someone else's tool if available.

Re: Modules dealing with data files

2006-11-13 Thread David Nicol
On 11/10/06, David Landgren [EMAIL PROTECTED] wrote: I suppose it will default to the site_perl directory if run in batch mode, but interactive installations allow the directory to be specified. OS distribution maintainers may wish to override the default (how? an environment variable à la

simple tail recursion code optimizer based on B::Deparse and eval

2006-09-05 Thread David Nicol
getting the invocation syntax right was kind of tricky since my first thought, which was that writing to $_[0] would overwrite the symtab entry for a subroutine when the optimizer was invoked tr_optimize(\function) turned out to be incorrect -- it will work with globs though -- no support for

framework for tail recursion in pure perl, including Ackerman function

2006-08-30 Thread David Nicol
the attached proof-of-concept is almost as ugly as my coroutines module on CPAN, but i have succeeded in implementing a tail-recursion framework in pure perl. In order to use it, all modifications to recursive function arguments must be made directly into @_, but a method is suggested for using

Re: framework for tail recursion in pure perl, including Ackerman function

2006-08-30 Thread David Nicol
On 8/30/06, Andy Armstrong [EMAIL PROTECTED] wrote: Sorry, I've missed something here - how is your 'framework' superior to a simple queue based approach? it demonstrates tail-recursion, as such, and is not intended to be a superior approach to other practices. I just realized that goto sub

Re: framework for tail recursion in pure perl, including Ackerman function

2006-08-30 Thread David Nicol
On 8/30/06, Andy Armstrong [EMAIL PROTECTED] wrote: I don't think goto sub can really be described as a framework... Or if it can may I start describing if() as a decision support system too? I won't stop you :) But why are you showing us this stuff? Who is it for? I'd have thought that

Re: Give up your modules!

2006-08-15 Thread David Nicol
On 8/14/06, James E Keenan [EMAIL PROTECTED] wrote: In the subsequent discussion, people suggested that we need the following: 1. Place for current module authors/maintainers who wish to transfer maintenance of certain modules to so indicate. 2. Place for people who are willing to take over

Re: This Week on perl5-porters - (12-18 June 2006)

2006-06-22 Thread David Nicol
On 6/22/06, David Landgren [EMAIL PROTECTED] wrote: Could Perl get Reversible Debugging? [...] We need a come from instruction http://xrl.us/nnuw I don't recall reading a demand for a come from instruction in that thread, but I had an idea last night that I was going to dismiss as

Re: Unresponsive? How about dead?

2006-04-25 Thread David Nicol
On 4/25/06, Steve Vance [EMAIL PROTECTED] wrote: I know there is a FAQ about module authors who are unresponsive. But I'm talking about one who is unresponsive, and his e-mail addresses all bounce, and his website is gone, and, well, I fear for the worst. Insert Monty Python Dead Parrot

  1   2   >