Re: Something wrong with str.reverse

2010-06-22 Thread David Landgren
On 22/06/2010 09:07, Richard Hainsworth wrote: I was going to suggest this too after reading PM's post. I would suggest that for whatever reason a list operator was used on a scalar, including a hold over form another language (Ruby and perl5), a warning should be issued. Most likely to be an err

Re: [perl #39742] [BUG] installed parrot conflicts with dev parrot.

2006-12-20 Thread David Landgren
chromatic via RT did write: garaud and I hope to have fixed this as of r16139, though he still has some dynext and dynpmc failures on his FreeBSD 6.2-tobe box. Can anyone still confirm? I just synched to 16207, but the test suite produces the following: Failed Test Stat Wstat

Re: [perl #39742] [BUG] installed parrot conflicts with dev parrot.

2006-12-20 Thread David Landgren
chromatic via RT did write: garaud and I hope to have fixed this as of r16139, though he still has some dynext and dynpmc failures on his FreeBSD 6.2-tobe box. Can anyone still confirm? Let me have a look and I'll get back to you. David -- "It's overkill of course, but you can never have too

Re: 6-on-5 and read only aliasing

2006-12-15 Thread David Landgren
Nicholas Clark wrote: [...] Suggestions for a better name for BIND welcome. 4 letters or fewer. An alias, eh? That's like a nickname, isn't it? Well, since you're asking, I propose NICK Nicholas Clark PS blead source is at rsync://public.activestate.com/perl-current/ -- Much of the

Re: [perl #39552] Segfault on FreeBSD during make

2006-07-19 Thread David Landgren
Chip Salzenberg via RT wrote: Is this bug still reproducible this even after removing everything Parrot-related from /usr/local? (Also /usr/bin and /usr/lib if you happen to have installed e.g. Debian's parrot packages.) I deleted /usr/local/{bin,doc,include,lib}/parrot (or something very clo

Re: [Slightly OT] Understanding Software Licences [was Re: Proposal Suggestion - Test::Run [was Re: [Israel.pm] Fwd: Call for proposals -- Perl Foundation Grants]]

2006-07-16 Thread David Landgren
Shlomi Fish wrote: On Friday 07 July 2006 18:39, Andy Lester wrote: Those who disagree with Shlomi on licenses are small-headed and ignorant. Got it. Keep digging that hole, Mr. Fish! That's not what I said or meant. What I meant was that someone here said and I quote: http://www.mail-ar

Re: TAP diagnostic syntax proposal

2006-07-13 Thread David Landgren
demerphq wrote: On 7/13/06, David Landgren <[EMAIL PROTECTED]> wrote: [...] >> They strike me as the teams most intuitively recognizable and least open >> to misinterpretation. I choose to disagree. If so i think you might be disagreing with yourself. :-) That was

Re: TAP diagnostic syntax proposal

2006-07-13 Thread David Landgren
demerphq wrote: On 7/12/06, Smylers <[EMAIL PROTECTED]> wrote: David Landgren writes: > Expected and actual has a long tradition in scientific endeavour, And are still sucky as they are different lengths meaning the two outputs are offset on the screen making it harder to see th

Re: TAP diagnostic syntax proposal

2006-07-12 Thread David Landgren
Jonathan T. Rockway wrote: I agree that "got" is generally a good word to avoid in formal writing, but in a testing protocol I think that it's an acceptable abbreviation No! Do not accept inferior substitutes, strive for perfection. for "the actual result". Especially since "received" doesn'

Re: Proposal Suggestion - Test::Run

2006-07-06 Thread David Landgren
Shlomi Fish n wrote: I don't see using the X11 licence for my software as anti-social. Like I said, But it is. You are forcing people to spend some of their precious time to understand the ramifications of this different license, and consider the differences between it and the GPL and AL.

Re: Module requirements

2006-04-05 Thread David Landgren
Smylers wrote: David Cantrell writes: rsnapshot (for example) has its own code for traversing a directory tree, its own cut-down Memoize, and probably a few others that I've not found yet. That said, I don't want to see those things go into the core, because I'm in the "the core is too big al

Re: Module requirements (was: Module::Build and installing in non-standardlocations)

2006-04-04 Thread David Landgren
demerphq wrote: On 4/4/06, Sébastien Aperghis-Tramoni <[EMAIL PROTECTED]> wrote: (*) Yes, I know that the core Perl distribution includes many modules, but ask any P5Porter and he'll answer you that the core is over-crowed and that all core modules that can be made dual-life should be released o

Re: New kwalitee metric - eg/ directory

2006-03-14 Thread David Landgren
Tels wrote: Moin, My modules are usually so feature crammed that they need a few examples for showing what you can all do with it or to enable the user oto use the modul without having to write/use perl code first. Plus, the code cut and pasted from Synopses winds up with 8 space leading i

Re: New kwalitee metric - eg/ directory

2006-03-14 Thread David Landgren
Steve Peters wrote: On Tue, Mar 14, 2006 at 04:52:18PM +0100, David Landgren wrote: [...] /eg scripts are a nice "hands-on" way of finding out how a module works in real life. No distribution should be without one! Unless, of course, it has an examples/ directory, which would

New kwalitee metric - eg/ directory

2006-03-14 Thread David Landgren
Hey! It's been over two months since we last had one of these suggestions! I did battle with a module that shall remain nameless the other day. I had a difficult time figuring out how to use it. In times like these, I like being about to go to the build directory and p(aw|ore) through the eg/

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-02-03 Thread David Landgren
David Cantrell wrote: brian d foy wrote: <[EMAIL PROTECTED]> wrote: Hopefully it will be something like: $I::don't::bother::to::write::portable::code=1; ;-) Seriously though, I would expect things in Win32::* to only work on Windows, things in Linux::* only to work on linux, and so on for many

Re: YAML and Makefile.PL (was various topics)

2006-01-29 Thread David Landgren
Tels did write: Moin, [...] So, MakeMaker should be fixed to generate proper META.ymls without the kludges nec that I needed. Of course, Schwern wills say "patches welcome" and I am not up to patch MakeMaker :-( (The other way would be the META.yml file for CPAN to be generated, but that

Re: CPANTS: released_while_burning_midnight_oil

2005-11-15 Thread David Landgren
David Cantrell wrote: A. Pagaltzis wrote: * Ian Langworth <[EMAIL PROTECTED]> [2005-11-14 18:15]: PS. If you feel that sarcasm and satire are not best reflected in email, I cordially suggest that you eat a helicopter. What wine is more appropriate with helicopters, though, white or red? If t

Re: Sometimes MakeMaker won't make.

2005-11-08 Thread David Landgren
James E Keenan wrote: Rob Bloodgood wrote: Adam Kennedy wrote: Doesn't makemaker only like you if you have a single .pm file just in the root directory? And otherwise you have to have your lib files actually under lib? lib/Tree/Splay.pm lib/Tree/Splay/Node.pm lib/Tree/Splay/IntRange.pm t/01_

Re: Proposed Kwalitee tests: has_license and/or has_meta_yml_license

2005-11-02 Thread David Landgren
Chris Dolan wrote: On Nov 2, 2005, at 10:19 AM, David Landgren wrote: Chris Dolan wrote: In the last year as a Fink maintainer (Mac OS X debian-like package manager), I've come across a couple CPAN modules that have no license information at all. It's very frustrating. I

Re: Proposed Kwalitee tests: has_license and/or has_meta_yml_license

2005-11-02 Thread David Landgren
Chris Dolan wrote: In the last year as a Fink maintainer (Mac OS X debian-like package manager), I've come across a couple CPAN modules that have no license information at all. It's very frustrating. I've submitted RT bugs, but one of them has been fixed (thanks Ken Williams). To encoura

Re: cpan testers and dependencies

2005-10-12 Thread David Landgren
Fergal Daly wrote: http://www.nntp.perl.org/group/perl.cpan.testers/257538 shows a fail for Test-Benchmark but the fail seems to be caused by CPANPLUS not installing dependencies: Apparently it's a bug in CPANPLUS that stops it from keeping track of grand children dependencies. @INC winds up

Re: Test::Kwalitee - Where is it hosted?

2005-10-04 Thread David Landgren
Dave Cross wrote: David Landgren wrote: Gavin Henry wrote: Dear List, In "Perl Testing - A Developers Notebook" it has a section on Test::Kwalitee. I can't find this module anywhere, nothing on the CPAN or on Google. It would only be POD, I imagine. Anyone know wh

Re: Test::Kwalitee - Where is it hosted?

2005-10-04 Thread David Landgren
Gavin Henry wrote: Dear List, In "Perl Testing - A Developers Notebook" it has a section on Test::Kwalitee. I can't find this module anywhere, nothing on the CPAN or on Google. It would only be POD, I imagine. Anyone know where it's hosted? Kwalitee, as in cpants.perl.org, is run by Thoma

Re: Apologies for my last post.

2005-09-28 Thread David Landgren
Thomas Klausner wrote: Hi! On Wed, Sep 28, 2005 at 12:41:31PM +0100, Gavin Henry wrote: I have just re-read the summary of this list; "A list for discussing and planning CPANTS, the quality assurance effort for CPAN modules." and realised this is the wrong list for my last post. No it's

Re: New kwalitee test, has_changes

2005-09-23 Thread David Landgren
Adam Kennedy wrote: Michael Graham wrote: [...] But I think a more useful measure of kwalitee would be a 20%-30% coverage test. Something like that sounds much more reasonable than a high number. Of course, if you've seen the first third of the PPI talk you realise we still have all the pr

Re: New kwalitee test, has_changes

2005-09-21 Thread David Landgren
demerphq wrote: On 9/21/05, David Landgren <[EMAIL PROTECTED]> wrote: I know I had my eyes opened by Devel::Cover. I thought I had pretty good coverage in Regexp::Assemble. In fact I had about 60%. I lifted it up to 100% statement coverage (some branching and conditional paths are never

Re: New kwalitee test, has_changes

2005-09-21 Thread David Landgren
David Cantrell wrote: demerphq wrote: On 9/15/05, David Landgren <[EMAIL PROTECTED]> wrote: As I was downloading the newest version of Devel::Cover this morning, I pondered on the concept of 1 Kwalitee point for coverage >= 80% ... I have to wonder about how you handle modules

Re: CPANTS: has_license ?

2005-09-19 Thread David Landgren
Gábor Szabó wrote: What do you think about adding a has_license kwalitee to CPANTS ? Checking if the META.yml has that entry ? This will penalise all the modules that use ExtUtils::MakeMaker, which, last time I looked, does not generate the license metadata, even though the module may clearly

Re: CPANTS new

2005-09-19 Thread David Landgren
Thomas Klausner wrote: Hi! On Sun, Sep 18, 2005 at 09:30:03PM +0200, David Landgren wrote: Yeah, but I'm loathe to dedicate two separate test files merely to score two points of Kwalitee. As it is, I'd just much rather bundle both tests in a 00_basic.t file along with all the othe

Re: CPANTS new

2005-09-19 Thread David Landgren
Thomas Klausner wrote: [...] The cpants analysis fails to recognise this as valid. What is it looking for and/or could it be taught to look for this? I thought that it was only looking for a string eval of "use Test::Pod". It does, but the qq{} you're using isn't recognised by the regex. I'l

Re: CPANTS new

2005-09-18 Thread David Landgren
Andrew Savige wrote: I based mine on the Test::Pod::Coverage docs: use Test::More; eval "use Test::Pod::Coverage 1.00"; plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@; all_pod_coverage_ok(); and scored the coverage kwalitee point... Yeah, but I'm loat

Re: CPANTS new

2005-09-18 Thread David Landgren
Thomas Klausner wrote: Hi! Data using the new metric 'has_changelog' is now available from http://cpants.perl.org Ooh! my kwalitee improved :) except other people's kwalitee improved more than mine :( Thanks again to Adam Kennedy, H.Merijn Brand and Smylers for various suggestions/help wi

Re: New kwalitee test, has_changes

2005-09-15 Thread David Landgren
Ricardo SIGNES wrote: * "Christopher H. Laco" <[EMAIL PROTECTED]> [2005-09-15T08:23:57] Would this look for Change OR ChangeLog? Both seem to be popular on CPAN. ...and some modules have a HISTORY or CHANGES section of POD, and DBI has DBI::Changes. As long as you use a recent ExtUtils::M

Re: HTTP::Recorder

2005-07-13 Thread David Landgren
Michael G Schwern wrote: On Tue, Jul 12, 2005 at 07:35:40PM -0400, Ian Langworth wrote: I'd like to improve HTTP::Recorder. I've contacted Linda Julien (http://search.cpan.org/~leira/) via her CPAN email address, but I've received no response. The module hasn't been touched in over a year and e

Re: 5.004_xx in the wild?

2005-07-05 Thread David Landgren
Michael G Schwern wrote: [...] That said, here's the main differences: * No qr//. Even if you target 5.5.4 qr// still has lots of bugs. [...] Once you go through the initial pain of backporting its not too big a deal to keep things working as long as you're not doing XS. qr// is the only

Re: 5.004_xx in the wild?

2005-07-04 Thread David Landgren
Ben Evans wrote: On Mon, Jul 04, 2005 at 02:00:57PM +1000, Adam Kennedy wrote: Michael G Schwern wrote: I'm going through some work to restore Test::More and Test::Harness to work on 5.4.5, minor stuff really, and I'm wondering if its worth the trouble. Has anyone seen 5.004_xx in the wild?

Re: what slow could be in Compress::Zlib? (was RE: 5.004_xx in the wi ld?)

2005-07-04 Thread David Landgren
Konovalov, Vadim wrote: I've just been through the should-I-shouldn't-I-support-5.4 with my (painfully slow) rewrite of Compress::Zlib. In the end I ... I always thought that Compress::Zlib is just a wrapper around zlib which in turn is C and developed elsewhere (and in stable state for a lo

Re: [EMAIL PROTECTED]: Re: fixing is_deeply]

2005-07-01 Thread David Landgren
demerphq wrote: On 6/30/05, Michael G Schwern <[EMAIL PROTECTED]> wrote: Yves has some controversial ideas about what is and is not data structure equivalence. I'd like comments on it. Well while im disappointed that its considered to be a controversial position (why is accuracy and correct

Re: Test::More diagnostic change... again

2005-06-27 Thread David Landgren
Michael G Schwern wrote: I just went to go patch in the code ref stuff to is_deeply() and found that I had unfinished changes to the diagnostic output. Remember, it was about including the description in the failure diagnostics. So instead of this: /Users/schwern/tmp/test...NOK 1

Re: is_deeply() and code refs

2005-06-26 Thread David Landgren
Tels wrote : -BEGIN PGP SIGNED MESSAGE- Moin, On Sunday 26 June 2005 07:18, Collin Winter wrote: [...] After tinkering with B::Deparse for a bit, I think this particular "oddity" may just be a result of poorly-written docs (or, more probably, poorly-read on my part). The module seems

Re: Phalanx 100 list

2005-06-02 Thread David Landgren
Kevin Scaldeferri wrote: My understanding is that inclusion on the Phalanx 100 doesn't constitute any sort of endorsement of the modules. It's hopefully a statement that the module is widely used, but not a judgment on whether it ought to be. They are not endorsed, but they are considered "im

Re: Displaying the description in diagnostic output

2005-05-24 Thread David Landgren
Ian Langworth wrote: On 5/13/05, David Landgren <[EMAIL PROTECTED]> wrote: So what I *really* think about Perl's test reporting is that the results are shown in the wrong order, and that it would also be better to use a less ambiguous word than 'got'. 'actual

Re: Displaying the description in diagnostic output

2005-05-13 Thread David Landgren
Michael G Schwern wrote: [...] This is what I morphed it into. /Users/schwern/tmp/duringNOK 1 # Failed test (/Users/schwern/tmp/during.t at line 5) # got: '23' # expected: '42' /Users/schwern/tmp/duringNOK 2

Re: Fwd: Re: Pugs 6.2.0 released.

2005-05-09 Thread David Landgren
Jonathan Worthington wrote: "Juerd" <[EMAIL PROTECTED]> wrote: You both use "iff". What does that mean? I believe it's to be read "if and only if". Yes, but that doesn't explain what it means. Rather than me try to explain it (poorly)... http://en.wikipedia.org/wiki/If_and_only_if David

Re: = vs <== [was: Perl 6 Summary for 2005-01-31 through 2004-02-8]

2005-02-10 Thread David Landgren
Aaron Sherman wrote: So hold on to your socks... what about: @x @y; This reminds me of AWK's string concatenation behaviour: print "this " $1 " that " $2 This was nice feature at the time, but caused problems down the track when they wanted to add functions to the language in a subsequen

Re: Perl 6 Summary for 2005-01-31 through 2004-02-8

2005-02-10 Thread David Landgren
Uri Guttman wrote: [...] i think so but i can't read larry's mind (nor would i want to! :) XP = extreme programming DBC = design by contract (or even designed by conway :) MP = ?? Modular Programming David

Re: Periodic Table of the Operators

2004-05-27 Thread David Landgren
Mark Lentczner wrote: All - Awhile back, I saw Larry Wall give a short talk about the current design of Perl 6. At some point he put up a list of all the operators - well over a hundred of them! I had a sudden inspiration, but it took a few months to get around to drawing it... http://www.o

Re: is static?

2003-03-18 Thread David Landgren
Damian Conway wrote: [...] Hence, I would argue, one ought to simply mark it with a trait: sub foo() { my $s is retained = 0; $s++; } Other possible trait names: is kept is preserved is permanent is reused is saved is stored is restored is irr