Re: RESPONSIBLE_PARTIES

2005-11-21 Thread Leopold Toetsch
On Nov 20, 2005, at 22:09, Joshua Hoblitt wrote: I've like to nominate Jerry for an entry in RESPONSIBLE_PARTIES as the test suite maintainer. Thanks for all your work Jerry. Any objections? Not at all - more the opposite ;-) -J leo

Re: RESPONSIBLE_PARTIES

2005-11-21 Thread Michael Lacey
"RESPONSIBLE" - is that like "BLAMEABLE"? *smile* Mike On 21/11/05, Leopold Toetsch <[EMAIL PROTECTED]> wrote: > > > On Nov 20, 2005, at 22:09, Joshua Hoblitt wrote: > > > I've like to nominate Jerry for an entry in RESPONSIBLE_PARTIES as the > > test suite maintainer. Thanks for all your work

Re: Call frame introspection (was Re: PDD20 - Call frames as PMCs)

2005-11-21 Thread Nicholas Clark
On Tue, Nov 15, 2005 at 10:30:38AM -0800, Chip Salzenberg wrote: > [*] an inode may have as few as zero or as many as USHORT_MAX[**] names, > and finding them all requires scanning a disks's entire directory tree Although one should note that you can loose valid names off the top of your dire

Re: \x{123a 123b 123c}

2005-11-21 Thread TSa
HaloO, Patrick R. Michaud wrote: There's also , unless someone redefines the subrule. And in the general case that's a slightly more expensive mechanism to get a space (it involves at least a subrule lookup). Perhaps we could also create a visible meta sequence for it, in the same way that

Re: Multidimensional argument list binding (*@;foo)

2005-11-21 Thread Ingo Blechschmidt
Hi, Luke Palmer wrote: > On 11/20/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: >> sub foo (*@;AoA) { @;AoA } >> >> my @array1 = ; >> my @array2 = ; >> >> my @AoA = foo @array1, @array2; >> say [EMAIL PROTECTED]; # 2? > > 1 > >> say [EMAIL PROTECTED]; # a b c? >

Re: statement_control() (was Re: lvalue reverse and array views)

2005-11-21 Thread Ingo Blechschmidt
Hi, Rob Kinyon wrote: > On 11/20/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: >> Yep. Also note that "for" is not a special magical construct in Perl >> 6, it's a simple subroutine (&statement_control:, with the >> signature ([EMAIL PROTECTED], Code *&code)). (Of course, it'll usually be >> op

Re: till (the flipflop operator, formerly ..)

2005-11-21 Thread Ingo Blechschmidt
Hi, Larry Wall wrote: > On Sun, Nov 20, 2005 at 08:51:03PM +0100, Ingo Blechschmidt wrote: > : according to the new S03, till is the new name for the flipflop > : operator. > > Presuming we can make it work out as an infix macro. Ah, it's a macro. This clarifies things. > : Do the flipflop oper

Re: Multidimensional argument list binding (*@;foo)

2005-11-21 Thread Luke Palmer
On 11/21/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: > Hm. How is (*@;AoA) different from (Array [EMAIL PROTECTED]) then? (Assuming > that > foo(@a; @b) desugars to foo([EMAIL PROTECTED], [EMAIL PROTECTED]).) Well, it's not at all, under that assumption. But that assumption is wrong. I thi

Re: statement_control() (was Re: lvalue reverse and array views)

2005-11-21 Thread Luke Palmer
On 11/21/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: > Of course, the compiler is free to optimize these things if it can prove > that runtime's &statement_control: is the same as the internal > optimized &statement_control:. Which it definitely can't without some pragma. I wonder if they sh

apo5 (was: Re: \x{123a 123b 123c})

2005-11-21 Thread Ruud H.G. van Tol
Larry Wall: > Juerd: >> Ruud: >>> Maybe >>> "\x{123a 123b 123c}" >>> is a nice alternative of >>> "\x{123a} \x{123b} \x{123c}". >> >> Hmm, very cute and friendly! Can we keep it, please? Please? Thanks for the support. > We already have, from A5, \x[0a;0d], so you can supposedly say >

Re: \x{123a 123b 123c}

2005-11-21 Thread Larry Wall
On Sun, Nov 20, 2005 at 10:27:17AM -0600, Patrick R. Michaud wrote: : On Sat, Nov 19, 2005 at 06:32:17PM -0800, Larry Wall wrote: : > On Sun, Nov 20, 2005 at 01:26:21AM +0100, Juerd wrote: : > : Ruud H.G. van Tol skribis 2005-11-20 1:19 (+0100): : > : > Maybe : > : > "\x{123a 123b 123c}" : >

Re: \x{123a 123b 123c}

2005-11-21 Thread Patrick R. Michaud
On Mon, Nov 21, 2005 at 03:23:35PM +0100, TSa wrote: > Patrick R. Michaud wrote: > >There's also , unless someone redefines the subrule. > >And in the general case that's a slightly more expensive mechanism > >to get a space (it involves at least a subrule lookup). Perhaps > >we could also crea

Re: test suite refactoring

2005-11-21 Thread jerry gay
On 11/20/05, jerry gay <[EMAIL PROTECTED]> wrote: > for now, i've reorganized the pge tests, moving them into the > t/compilers/pge/ directory and subdirs, in revision 10112. smoke tests > and bug reports are welcome for all platforms. in testing, i've come > across that may affect msvc6 on win32 (

Re: apo5 (was: Re: \x{123a 123b 123c})

2005-11-21 Thread Larry Wall
On Mon, Nov 21, 2005 at 05:49:59PM +0100, Ruud H.G. van Tol wrote: : Larry Wall: : > Juerd: : >> Ruud: : : >>> Maybe : >>> "\x{123a 123b 123c}" : >>> is a nice alternative of : >>> "\x{123a} \x{123b} \x{123c}". : >> : >> Hmm, very cute and friendly! Can we keep it, please? Please? : : Tha

Re: \x{123a 123b 123c}

2005-11-21 Thread Larry Wall
On Mon, Nov 21, 2005 at 09:02:57AM -0800, Larry Wall wrote: : But I'd like to reserve < > for delimiting what is returned by $<>, : the string officially matched: : : "foo bar baz" ~~ /:w foo < \w+ > baz/ : say $/; # foo bar baz : say $<>; # bar Though it occurs to me that there's

Re: statement_control() (was Re: lvalue reverse and array views)

2005-11-21 Thread TSa
HaloO, Luke Palmer wrote: On 11/21/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: Of course, the compiler is free to optimize these things if it can prove that runtime's &statement_control: is the same as the internal optimized &statement_control:. Which it definitely can't without some p

Re: statement_control() (was Re: lvalue reverse and array views)

2005-11-21 Thread Larry Wall
On Mon, Nov 21, 2005 at 03:51:19PM +, Luke Palmer wrote: : On 11/21/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: : > Of course, the compiler is free to optimize these things if it can prove : > that runtime's &statement_control: is the same as the internal : > optimized &statement_control:.

Re: statement_control() (was Re: lvalue reverse and array views)

2005-11-21 Thread Larry Wall
On Mon, Nov 21, 2005 at 10:45:56AM -0800, Larry Wall wrote: : Another issue in "if" optimization is whether the blocks in fact do : anything blockish that have to be scoped to the block. This is a : determination that Perl 5 makes when it's compiling blocks. It's : basically an attribute that mig

Re: Multidimensional argument list binding (*@;foo)

2005-11-21 Thread Ingo Blechschmidt
Hi, Luke Palmer wrote: > On 11/21/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: >> Hm. How is (*@;AoA) different from (Array [EMAIL PROTECTED]) then? (Assuming >> that >> foo(@a; @b) desugars to foo([EMAIL PROTECTED], [EMAIL PROTECTED]).) > > Well, it's not at all, under that assumption. But

Re: apo5

2005-11-21 Thread Ruud H.G. van Tol
Larry Wall: > Ruud H.G. van Tol: > dev.perl.org one day latency but html-ified > svn.perl.org up to the minute but only in pod Thanks, much better. Can't say that I haven't been there before. There is a "[[:alpha:][:digit:]" and a "[[:alpha:][:digit]]" on the A5-page. >> The '^' could

Re: statement_control() (was Re: lvalue reverse and array views)

2005-11-21 Thread Rob Kinyon
On 11/21/05, TSa <[EMAIL PROTECTED]> wrote: > HaloO, > > Luke Palmer wrote: > > On 11/21/05, Ingo Blechschmidt <[EMAIL PROTECTED]> wrote: > > > >>Of course, the compiler is free to optimize these things if it can prove > >>that runtime's &statement_control: is the same as the internal > >>optimized

Re: test suite refactoring

2005-11-21 Thread chromatic
On Sat, 2005-11-19 at 21:05 +0100, Bernhard Schmalhofer wrote: > Setting the Perl5 search path can be handled with FindBin. See for > example languages/m4/t/basic/001_comletely_empty.t: > > use FindBin; > use lib "$FindBin::Bin/../../lib", "$FindBin::Bin/../../../../lib"; That's fairly ugly

Re: Multidimensional argument list binding (*@;foo)

2005-11-21 Thread Larry Wall
On Sun, Nov 20, 2005 at 09:11:33PM +0100, Ingo Blechschmidt wrote: : Also, is specifying other, non-slurpy arguments prior to a slurpy : @;multidim_arglist legal? Yes, though we have to be careful about what happens when we bind the entire first dimension and then get a <== boundary. That's proba

Re: Multidimensional argument list binding (*@;foo)

2005-11-21 Thread Larry Wall
On Mon, Nov 21, 2005 at 03:48:30PM +, Luke Palmer wrote: : To illustrate: : : sub foo ([EMAIL PROTECTED]) { : say [EMAIL PROTECTED]; : } : sub bar (*@;a) { : say +@;a; : } : foo(1,2,3; 4,5,6); # 6 : bar(1,2,3; 4,5,6); # 2 : : That is, the regular [E

Re: Multidimensional argument list binding (*@;foo)

2005-11-21 Thread Larry Wall
On Mon, Nov 21, 2005 at 07:49:16PM +0100, Ingo Blechschmidt wrote: : Aha! FYI, I got that interpretation from r6628 of S09 [1]: : > The following two constructs are structurally indistinguishable: : > : > (0..10; 1,2,4; 3) : > ([0..10], [1,2,3,4], [3]) Sorry, started revising that one a c

Re: RESPONSIBLE_PARTIES

2005-11-21 Thread Joshua Hoblitt
On Mon, Nov 21, 2005 at 10:53:53AM +, Michael Lacey wrote: > "RESPONSIBLE" - is that like "BLAMEABLE"? *smile* > Mike Perhaps a better name for the file would be ENTITIES_AT_FAULT. ;) -J -- pgpc2X54zgxoq.pgp Description: PGP signature

Re: statement_control() (was Re: lvalue reverse and array views)

2005-11-21 Thread Larry Wall
On Mon, Nov 21, 2005 at 02:05:31PM -0500, Rob Kinyon wrote: : This is very close to a proposal I made to the ruby-dev mailing list : (which was Warnocked). I proposed a very basic engine that would work : with the parser/lexer to determine what action to take instead of : using the huge case statem

Re: RESPONSIBLE_PARTIES

2005-11-21 Thread Joshua Hoblitt
On Mon, Nov 21, 2005 at 11:51:49AM +0100, Leopold Toetsch wrote: > > On Nov 20, 2005, at 22:09, Joshua Hoblitt wrote: > > >I've like to nominate Jerry for an entry in RESPONSIBLE_PARTIES as the > >test suite maintainer. Thanks for all your work Jerry. > > > >Any objections? > > Not at all - mor

Re: apo5

2005-11-21 Thread Larry Wall
On Mon, Nov 21, 2005 at 07:57:59PM +0100, Ruud H.G. van Tol wrote: : There is a "[[:alpha:][:digit:]" and a "[[:alpha:][:digit]]" on the : A5-page. Hmm, well, thanks--I went to fix it and I see Patrick beat me to the fix. But in one of the updates, it says: +[Update: Actually, that's now wri

Ponie Inquiry

2005-11-21 Thread Joshua Gatcomb
All: Back in the summer of 2003, Fotango offered financial support for Ponie development for 2 years. Nicholas took up the development hat after Arthur, but things are awfully quiet. Since summer 2005 has come and gone, I wonder if funding has been extended. I know that Nicholas opened up the repos

Re: apo5

2005-11-21 Thread Ruud H.G. van Tol
Larry Wall: > in one of the updates, it says: > > +[Update: Actually, that's now written C<< <+alpha+digit> >>, > avoiding +the mistaken impression entirely.] In dev's A05.html I only found: "[Update: That must now be written <++>, or it will be mistaken for «alpha> looks right to me. Ide

Re: statement_control() (was Re: lvalue reverse and array views)

2005-11-21 Thread Larry Wall
On Mon, Nov 21, 2005 at 11:43:21AM -0800, Larry Wall wrote: : Let's see, where did I put my stash of generic quotes? I would like to publicly apologize for my remarks, which were far too harsh for the circumstances. I can only plead that I was trying to be far too clever, and not thinking about h

Re: apo5

2005-11-21 Thread Ruud H.G. van Tol
Patrick R. Michaud: >> 's/$/foo/' becomes 's//foo/' >> > > Uh, no, because is still a zero width assertion. :-) That's why I chose it. It is not at the end-of-string? perl5 -e '$_="abc"; s/(?<=...)/x/; print' perl5 -e '$_="abc"; s/(?!.)/x/; print' 's//foo/' -- Grtz, Ruud

Re: Hashing: avoid MD5 and SHA-1; use SHA-2 or Whirlpool

2005-11-21 Thread Chip Salzenberg
On Wed, Nov 16, 2005 at 05:26:05PM -0800, Brent 'Dax' Royal-Gordon wrote: > My understanding is that the best attack on SHA-1 which can find two > plaintexts with the same hash value in 2^63 operations. > [...] > Basically, SHA-1 isn't a problem for us yet, but it's looking weak. OK. Thanks for q

Re: apo5

2005-11-21 Thread Juerd
Larry Wall skribis 2005-11-21 12:08 (-0800): > Unfortunately, though, > > would be ambiguous, and/or wrong. Well, we could of course change "-" to mean "-1 or fewer", as "+" means "+1 or more"... :D Juerd -- http://convolution.nl/maak_juerd_blij.html http://convolution.nl/make_juerd_happy

Re: apo5

2005-11-21 Thread Ruud H.G. van Tol
Patrick R. Michaud: > Ruud H.G. van Tol: >> Patrick R. Michaud: >>> Ruud H.G. van Tol: 's/$/foo/' becomes 's//foo/' >>> >>> Uh, no, because is still a zero width assertion. :-) >> >> That's why I chose it. It is not at the end-of-string? > > Because ".*" matches "", // would be true at > ev

Perl 6 Summary for 2005-11-14 through 2005-11-21

2005-11-21 Thread Matt Fowles
Perl 6 Summary for 2005-11-14 through 2005-11-21 All~ Welcome to another Perl 6 Summary. The attentive among you may notice that this one is on time. I am not sure how that happened, but we will try and keep it up. On a complete side note, I think there should be a Perl guild o

[svn ci] Perl 5 tests for PGE::P5Regexp

2005-11-21 Thread jerry gay
i've checked in a subset of Perl 5.9.2's regexp tests for PGE to chew on. for now, i modified the stolen harness to emit PIR. the harness is currently very ugly... that won't be for long, however, as i'll refactor it soon. currently, only 130 of 960 tests are running, as the PIR-producing harness

Re: apo5

2005-11-21 Thread Ruud H.G. van Tol
Patrick R. Michaud: > Ruud H.G. van Tol: >> 's/$/foo/' becomes 's//foo/' > > Uh, no, because is still a zero width assertion. :-) That's why I chose it. It is not at the end-of-string? >>> >>> Because ".*" matches "", // would be true at >>> every position in the string, in

dis-junctive patterns

2005-11-21 Thread Gaal Yahas
In pugs, r7961: my @pats = /1/, /2/; say "MATCH" if 1 ~~ any @pats; # MATCH say "MATCH" if 0 ~~ any @pats; # no match So far so good. But: my $junc = any @pats; say "MATCH" if 1 ~~ $junc; # no match say "MATCH" if 0 ~~ $junc; # no match Bug? Feature? -- Gaal Yaha