Re: HLL Namespace Design

2005-09-06 Thread Joshua Hoblitt
On Mon, Sep 05, 2005 at 01:43:20PM -0400, Matt Diephouse wrote: > Namespace Capabilities [ snip ] > - Querying Information > It must be possible to get a list of both variables and subroutines, > sometimes together and sometimes seperate. Just a quick addition to that: It must b

parrotbug - slow or size limits?

2005-09-06 Thread Joshua Hoblitt
I submitted a patch to parrotbug about 4 hours ago and it hasn't shown up in RT yet nor have I received the auto-response email. The patch was rather large so I'm wondering if I haven't hit some sort of message size limit. Is this a normal lag or should I submit the patch directly through RT? Se

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-06 Thread Patrick R. Michaud
On Tue, Sep 06, 2005 at 07:26:37AM +1000, Damian Conway wrote: > Thomas Sandlass wrote: > > >I'm still contemplating how to get rid of the :: in the > >ternary > > > >Comments? > I believe that the single most important feature of the ternary operator is > that it is ternary. That is, unlike an

Re: [perl #37082] [BUG] Parrot HEAD failing on MacOS Tiger

2005-09-06 Thread Alberto Simões
r9142 and we are with the same problem. Cheers Alberto Bernhard Schmalhofer via RT wrote: Test 5 of t/examples/japh.t is failing on MacOS Tiger. Hi, I have played with the timing of the two threads in that test case. Could you update to revision 9142 or later and check whether it now works?

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Andrew Savige
--- Andy Lester <[EMAIL PROTECTED]> wrote: > Why are we worrying about these automated kwalitee tests? What will > happen once we find that DBIx::Wango has only passed 7 of these 23 > items on the checklist? I am not the one to answer this, but I'm curious to know where you are coming from. Is

Bug report

2005-09-06 Thread Dan Rowles
Dear all, I have submitted a bug report to "rt.cpan.org" and have been told to forward a copy of the bug report on to this list. The bug report is attached to this email. FYI - the "use Test::MockObject" line causes the code to die because Test::MockObject now depends on UNIVERSAL::can (the

Re: HLL Namespace Design

2005-09-06 Thread Tim Bunce
On Mon, Sep 05, 2005 at 01:43:20PM -0400, Matt Diephouse wrote: > In order to help finish Parrot's HLL namespace support, I've compiled > a list of features and information that I believe is necessary to > support the target languages. I've done so after doing a survey of > these languages. I may h

Re: Adding more kwalitee tests

2005-09-06 Thread Adam Kennedy
Apart from a user wanting to know which version of perl a module works with, it's a general "quality" (not kwalitee;-) principle to first specify, then test that the specification is met. So I would say that specifying which versions of perl your module is meant to work with should be done before

RE: Proposal: split ternary ?? :: into binary ?? and //

2005-09-06 Thread Thomas Sandlass
HaloO, Luke wrote: > > > ?? !! ain't bad either. > > > > It's definitely much better that sabotaging the > > (highly useful) // operator > > within (highly useful) ternaries. > > I guess the thing that I really think is nice is getting :: out of > that role and into the type-only domain. Right

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Adam Kennedy
Andy Lester wrote: Why are we worrying about these automated kwalitee tests? What will happen once we find that DBIx::Wango has only passed 7 of these 23 items on the checklist? I thought the same thing, until kwalitee turned competative. Now we have a situation in which a large number

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-06 Thread Luke Palmer
On 9/6/05, Thomas Sandlass <[EMAIL PROTECTED]> wrote: > Right. To make :: indicate type or meta was my primary concern. Okay, now why don't you tell us about this new binary :: you're proposing. Luke

perl6-all@perl.org

2005-09-06 Thread Damian Conway
H. The arity of a given multi might be 3 or 4 or 5. If *only* there were a way to return a single value that was simultaneously any of 3 or 4 or 5. Oh, wait a minute... Damian

Re: HLL Namespace Design

2005-09-06 Thread Matt Diephouse
Joshua Hoblitt <[EMAIL PROTECTED]> wrote: > On Mon, Sep 05, 2005 at 01:43:20PM -0400, Matt Diephouse wrote: > > Namespace Capabilities > [ snip ] > > - Querying Information > > It must be possible to get a list of both variables and subroutines, > > sometimes together and sometimes se

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Christopher H. Laco
Richard Clamp wrote: On 6 Sep 2005, at 08:10, Adam Kennedy wrote: So once you find out DBIx::Wango only passed 7 out of 23, it will go into the author's average, and if he ever looks presumably the competative spirit will kick in and he's fix some of the "problems" That's assuming that e

Re: HLL Namespace Design

2005-09-06 Thread Jonathan Worthington
"Tim Bunce" <[EMAIL PROTECTED]> wrote: Having said all that, I don't think it's worth worrying about inter-language issues until more fundamental namespace co-existance issues are more settled. Will a Python module clash with a Perl6 module of the same name? (That way lies insanity so I certainl

perl6-all@perl.org

2005-09-06 Thread Juerd
Luke Palmer skribis 2005-09-06 13:28 (+): > Well, we'd better document that pretty damn well then, and provide > min_arity and max_arity, too. Won't junctions do Array, then? I think &foo.arity.max would be very intuitive, and likewise, for @&foo.arity { ... } Juerd -- http://convolution.nl

perl6-all@perl.org

2005-09-06 Thread Luke Palmer
On 9/3/05, Damian Conway <[EMAIL PROTECTED]> wrote: > H. The arity of a given multi might be 3 or 4 or 5. > > If *only* there were a way to return a single value that was simultaneously > any of 3 or 4 or 5. > > Oh, wait a minute... Well, we'd better document that pretty damn well then, and

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Andy Lester
On Tue, Sep 06, 2005 at 05:10:40PM +1000, Adam Kennedy ([EMAIL PROTECTED]) wrote: > So once you find out DBIx::Wango only passed 7 out of 23, it will go > into the author's average, and if he ever looks presumably the > competative spirit will kick in and he's fix some of the "problems" But wil

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Richard Clamp
On 6 Sep 2005, at 08:10, Adam Kennedy wrote: So once you find out DBIx::Wango only passed 7 out of 23, it will go into the author's average, and if he ever looks presumably the competative spirit will kick in and he's fix some of the "problems" That's assuming that everyone is competitive

Re: Adding more kwalitee tests

2005-09-06 Thread David Golden
Ivan Tubert-Brohman wrote: Sorry for my ignorance, but I had never even heard of this option. I don't find any way of setting it via MakeMaker or Module::Build. Do I have to edit META.yml by hand? Would it get overritten by 'make dist'? The spec is here: http://module-build.sourceforge.net/ME

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Andy Lester
On Tue, Sep 06, 2005 at 09:12:43AM -0400, Christopher H. Laco ([EMAIL PROTECTED]) wrote: > If it serves no purpose for you, ignore it and go on > with life; as apposed to spending email list cycles on a > CPANTS-is-bad-why-are-we-doing-this diatribe. It's not as simple as "just ignore it" if th

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Christopher H. Laco
Andy Lester wrote: On Tue, Sep 06, 2005 at 09:12:43AM -0400, Christopher H. Laco ([EMAIL PROTECTED]) wrote: If it serves no purpose for you, ignore it and go on with life; as apposed to spending email list cycles on a CPANTS-is-bad-why-are-we-doing-this diatribe. It's not as simple as "jus

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread David Golden
Andy Lester wrote: Why are we worrying about these automated kwalitee tests? What will happen once we find that DBIx::Wango has only passed 7 of these 23 items on the checklist? I don't have any problem with someone proposing or running these kinds of automated test. It's helpful feedback

Re: Adding more kwalitee tests

2005-09-06 Thread David Golden
Adam Kennedy wrote: missing_no_index: Only the libraries (and .pod docs) in your dist should be indexed) things in inc/ and t/ and examples/ etc should NOT be indexed. Thus, there should be a no_index entry in the meta.yml for all of these directories (if they have .pm files in them). I like i

[perl #37089] [TODO] Test PGE's Glob

2005-09-06 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #37089] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=37089 > Tests need to be written for PGE's glob.

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Andy Lester
On Tue, Sep 06, 2005 at 10:07:02AM -0400, Christopher H. Laco ([EMAIL PROTECTED]) wrote: > Why would they stop uploading? How would they, the new uploaders, even > know about CPANTS? It's not like uploaded files automatically return a > scathing email and an html response page that says your "mo

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Christopher H. Laco
Andy Lester wrote: On Tue, Sep 06, 2005 at 10:07:02AM -0400, Christopher H. Laco ([EMAIL PROTECTED]) wrote: Why would they stop uploading? How would they, the new uploaders, even know about CPANTS? It's not like uploaded files automatically return a scathing email and an html response page th

Re: HLL Namespace Design

2005-09-06 Thread Matt Diephouse
Tim Bunce <[EMAIL PROTECTED]> wrote: > I think it would be worth mentioning if the namespace is hierarchical > (nested) or flat (the delimiters are part of the name). Good idea. > Another issue is whether there's an underlying hierarchy that can be > accessed (at leaf and/or non-leaf nodes) to do

RE: Proposal: split ternary ?? :: into binary ?? and //

2005-09-06 Thread Thomas Sandlass
HaloO, Luke wrote: > Okay, now why don't you tell us about this new binary :: you're proposing. Well, not a new one. Just plain old foo::bar::blahh and 'my ::blubb $x' with relaxed whitespace rules. The ternary ?? :: is a splinter in my mind's eye because it is not a compile time or symbol lookup

perl6-all@perl.org

2005-09-06 Thread Yuval Kogman
On Tue, Sep 06, 2005 at 13:28:24 +, Luke Palmer wrote: This should still work: > sub map (&code, [EMAIL PROTECTED]) { > gather { > my @args = @list.splice(0, &code.arity); > take &code([EMAIL PROTECTED]); > } > } multi sub foo (

global destruction

2005-09-06 Thread Nicholas Clark
For starters, in glossary.pod I'm failing to find definitions for "destruction" and "finalisation". One is about cleanup actions on objects/ PMCs that need something actively cleaned up, rendering active objects down to bare memory, and the other is about reclaiming bare memory for re-use. For sta

Re: Proposal: split ternary ?? :: into binary ?? and //

2005-09-06 Thread Nicholas Clark
On Tue, Sep 06, 2005 at 04:57:30PM +0200, Thomas Sandlass wrote: > There's yet another approach, to make ternary listfix: > > $val = $cond ?? "true" ?? "false"; So ^^ that one doesn't do the same thing as ^^ that one? I'd find that confusing in itse

perl6-all@perl.org

2005-09-06 Thread Austin Hastings
On a related note: Suppose I have a function with a non-obvious arity: I might, in a desperate attempt to find billable hours, describe the arity as a trait: sub sandwich($bread, $meat, $cheese, $condiment1, $qty1, ...) does arity ({ 3 + 2 * any(1..Inf); }); That's easy enough for trivi

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On Tuesday 06 September 2005 09:10, Adam Kennedy wrote: > Andy Lester wrote: > > Why are we worrying about these automated kwalitee tests? What will > > happen once we find that DBIx::Wango has only passed 7 of these 23 > > items on the checklist? > > I t

Re: Adding more kwalitee tests

2005-09-06 Thread Dave Rolsky
On Mon, 5 Sep 2005, Thomas Klausner wrote: has_perl_dependency: In the META.yml (assuming it exists) there is a dependency on the version of perl required to install the dist. The goal of this is to make life a little easier on installers and CPAN testers and a few other things. Many many mod

Re: HLL Namespace Design

2005-09-06 Thread Tim Bunce
On Tue, Sep 06, 2005 at 02:22:23PM +0100, Jonathan Worthington wrote: > "Tim Bunce" <[EMAIL PROTECTED]> wrote: > >Having said all that, I don't think it's worth worrying about > >inter-language issues until more fundamental namespace co-existance > >issues are more settled. > > > >Will a Python mod

[perl #37082] [BUG] Parrot HEAD failing on MacOS Tiger

2005-09-06 Thread Bernhard Schmalhofer via RT
> Bernhard Schmalhofer via RT wrote: > >>Test 5 of t/examples/japh.t is failing on MacOS Tiger. > > > > > > Hi, > > > > I have played with the timing of the two threads in that test case. > > Could you update to revision 9142 or later and check whether it now works? > [ambs - Di 06. Sep 2005,

Re: GMC release -- Punt

2005-09-06 Thread Andy Dougherty
On Sat, 3 Sep 2005, Nattfodd wrote: > thanks for the investigation, I'll look closely to it. It was reported > to fail on AMD64 too but we did not try setting GMC_ALIGN to 16. Also be > warned that I am very far from an alignment master, so I may have done > things wrong in my small hack. At f

\(...)?

2005-09-06 Thread Ingo Blechschmidt
Hi, # Perl 5 my @array_of_references = \($foo, $bar, $baz); print [EMAIL PROTECTED];# prints 3 print ${ $array_of_references[1] }; # prints $bar # Perl 6 my @array = \($foo, $bar, $baz); say [EMAIL PROTECTED]; # 3 (like Perl 5)? # Or 1, making \(...) s

Re: [perl #37082] [BUG] Parrot HEAD failing on MacOS Tiger

2005-09-06 Thread Nicholas Clark
On Tue, Sep 06, 2005 at 10:15:26AM -0700, Bernhard Schmalhofer via RT wrote: > Too bad. As I reached the end of intuitive bug fixing, I am now skipping > 'examples/japh/japh13.pasm' in 't/examples/japh.t'. > > Perhaps some MacOS X user can provide more insight. Is it just OS X? Or do all big end

Packages, Modules and Classes

2005-09-06 Thread Stevan Little
Hey all, I recently added Package and Module into the MetaModel (2.0) so that Package is an Object Module is a Package Class is a Module as mentioned here http://article.gmane.org/gmane.comp.lang.perl.perl6.language/4599. Currently Packages have names and Modules add version and auth

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread chromatic
On Tue, 2005-09-06 at 09:12 -0400, Christopher H. Laco wrote: > I really don't get why the people (not specifically you) who don't agree > with, don't care for, don't care about CPANTs or more CPANTS tests spend > all this effort going off on why it's such a bad thing and why it > shouldn't be

Re: [perl #37082] [BUG] Parrot HEAD failing on MacOS Tiger

2005-09-06 Thread Andy Dougherty
On Tue, 6 Sep 2005, Nicholas Clark wrote: > On Tue, Sep 06, 2005 at 10:15:26AM -0700, Bernhard Schmalhofer via RT wrote: > > > Too bad. As I reached the end of intuitive bug fixing, I am now skipping > > 'examples/japh/japh13.pasm' in 't/examples/japh.t'. > > > > Perhaps some MacOS X user can pr

Re: \(...)?

2005-09-06 Thread Juerd
Ingo Blechschmidt skribis 2005-09-06 19:46 (+0200): > If \(...) still constructs a list of references, are the following > assumptions correct? IIRC, the RHS of \ is in scalar context, and the comma in scalar context (the parens are just for precedence), creates an arrayref. Which is interesting

Re: \(...)?

2005-09-06 Thread Ingo Blechschmidt
Hi, Juerd wrote: > Ingo Blechschmidt skribis 2005-09-06 19:46 (+0200): >> If \(...) still constructs a list of references, are the following >> assumptions correct? > > IIRC, the RHS of \ is in scalar context, and the comma in scalar > context (the parens are just for precedence), creates an arra

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Andrew Savige
--- Andy Lester wrote: > But will the author actually care? Will the author even know this > exists? Are you going to send email to Bob and say "Hey, Bob, you only > passed 7 of 23 things"? What's Bob going to say in return? I see a > couple of options: Ah, now I see where you are coming from.

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Thomas Klausner
Hi! On Wed, Sep 07, 2005 at 05:31:37AM +1000, Andrew Savige wrote: > flame wars. Best, at least for now, is to simply publish some > kwalitee metrics as an optional aid to enthusiastic CPAN authors. > If they prove good and useful, they will naturally become better known. Some of my recent thoug

Re: Adding more kwalitee tests

2005-09-06 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, here is another idea for a metric: Modules/pragmas/etc use'd by Heap cnt in code: AutoLoader 1 Heap does use AutoLoader, but it never defined any methods to autoload, so this is totally in vain. (I did write a new version of Heap, offered i

perl6-all@perl.org

2005-09-06 Thread Damian Conway
Luke wrote: > Well, we'd better document that [junctive arity values] pretty damn > well then, and provide min_arity and max_arity, too. Unnecessary. The C and C builtins should be overloaded to Just Work on junctive values: if min &code.arity < 2 {...} > This is one of those places where

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread Andrew Savige
--- Thomas Klausner wrote: > *) CPANTS is not describing the one and only way how to write Perl / pack > distribution. It's more of an online mutliplayer game where people submit > their dists which than fight against my evil metrics. The multiplayer game you describe is subject to the testing phe

Re: Why are we adding more kwalitee tests?

2005-09-06 Thread chromatic
On Wed, 2005-09-07 at 05:31 +1000, Andrew Savige wrote: > I feel pushily promoting kwalitee metrics will do more harm than good. > And I agree with chromatic that officially endorsing any particular > kwalitee metric is a mistake that is likely to cause unproductive > flame wars. It's not that en