Re: pluralization idea that keeps bugging me

2008-01-26 Thread Yuval Kogman
een. It should be about the same level of complexity as Filter::Simple, except with much finer control and more correctness. I'm not the best person to answer this though. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpEFwVt1e30B.pgp Description: PGP signature

Re: pluralization idea that keeps bugging me

2008-01-26 Thread Yuval Kogman
#x27;s own string "interpolations" as things stand? E.g., is > there a way to add meaning to backslashed characters in a string that > would normally lack meaning? You can subclass the grammar and change everything. Theoretically that's a "yes"

Re: pluralization idea that keeps bugging me

2008-01-26 Thread Yuval Kogman
). -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418

Re: PERL arrays

2007-06-05 Thread Yuval Kogman
by this far using some online tutorial. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgp3Ah41oHUYd.pgp Description: PGP signature

Re: Should a dirhandle be a filehandle-like iterator?

2007-04-13 Thread Yuval Kogman
up with it and make it bloat. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpBdBGiCHX3R.pgp Description: PGP signature

Re: Interrogating closures

2006-11-30 Thread Yuval Kogman
; method blah { } } Conversely, I'd also like to be able to do Closure, which is a subrole of Code with a constructor. Or rather, an instantiated Code is a proto of Closure ;-) -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgp65NtyIUkFl.pgp Description: PGP signature

Interrogating closures

2006-11-30 Thread Yuval Kogman
capture containing the body and all the closed over variables would be cool. This keeps things concise and lightweight, but does add the ability to inspect (via a well defined api) what a closure is encapsulating, etc. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org

Re: Closures, compile time, pad protos

2006-11-22 Thread Yuval Kogman
On Wed, Nov 22, 2006 at 18:55:15 +0100, Juerd wrote: > Yuval Kogman skribis 2006-11-22 16:01 (+0200): > > my $x ::= 3; > > sub foo { say ++$x }; > > Why would you be allowed to ++ this $x? It's bound to an rvalue! Perhaps my $x ::= BEGIN { Scala

Re: Closures, compile time, pad protos

2006-11-22 Thread Yuval Kogman
; sub foo { say ++$x; } BEGIN { foo(); moose(); foo(); } foo(); moose(); foo(); *foam oozes out of ears* -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEB

Closures, compile time, pad protos

2006-11-22 Thread Yuval Kogman
t.(); Does create a new sequence. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpUCL8XSaAwR.pgp Description: PGP signature

Re: Trying to make a new operator

2006-09-17 Thread Yuval Kogman
't yet read the > declaration further down the file. s/use/parse/; -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpecCgUDpDGS.pgp Description: PGP signature

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-12 Thread Yuval Kogman
.. There are *so* many ways to do session handling that lugging them all into CGI.pm will just make a mess. It'd work much better as mixin plugins of some sort. I'd be happy to discuss my conclusions from redesigning the Catalyst session handling, if you like. -- Yuval Kogm

Re: synopses on smoke server

2006-09-05 Thread Yuval Kogman
it. Oh! I thought the Anna integration with the repo and all that was the tailored precisely for you guys. I stand corrected =) -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgp2Etmw71YFR.pgp Description: PGP signature

Re: synopses on smoke server

2006-09-05 Thread Yuval Kogman
smoke server. Another is written in Jifty: http://search.cpan.org/dist/Test-Chimps/ It's further along, but is a little more specific to BP's workflow. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpyHr3SZiGXL.pgp Description: PGP signature

Re: return Types: what are the enforcement details?

2006-08-30 Thread Yuval Kogman
er_hash. However, conversions that cannot be made could be cought at compile time, emitting a warning on an error depending if the runtime is a warning or an error. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgprdGNAViO2E.pgp Description: PGP signature

Re: Curious corner cases concerning closure cloning

2006-08-14 Thread Yuval Kogman
x27; or something like that. > for 1,2 -> $x { > END { say $x } > } undef, because END is like a declaration putting the closure in some global, and doesn't actually happen at runtime. Otoh for 1,2 -> $x { state $y = $x;

Re: request addition of immutable Blob type

2006-08-09 Thread Yuval Kogman
What about str? Or is it called buf now? -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgp4nJlEWZWEj.pgp Description: PGP signature

Re: Type annotation on expressions

2006-08-08 Thread Yuval Kogman
12:17 < nothingmuch> i mean 12:17 < nothingmuch> the rules here are reversed 12:17 < nothingmuch> Point is not a parameter to .as in the natural sense 12:17 < audreyt> it is going to fail only if we consider the return type http://

Re: weak roles

2006-08-08 Thread Yuval Kogman
other_api in appropriate places like a > delegation interface. It's not quite as DWIMmy, but the class > doesn't do either role so errors will be caught quickly. It is also > annotation-agnostic. Hmm... Are the 'adapts' things actual class bodies? Like an inner c

Re: weak roles

2006-08-08 Thread Yuval Kogman
On Tue, Aug 08, 2006 at 11:35:30 +, Luke Palmer wrote: > On 8/8/06, Yuval Kogman <[EMAIL PROTECTED]> wrote: > >I personally prefer delegates for almost any design dillema, but > >most CPAN modules aren't that way. > > Well, what way are they? Usually not

Re: Type annotation on expressions

2006-08-08 Thread Yuval Kogman
Actually this particular example is just like coercion, and it's a bad one sorry. It's much more relevant for: fun( $x.foo :: Bar ); in order to annotate the return type for a call's context even if the 'fun' function's signature accepts Any. --

Re: weak roles

2006-08-08 Thread Yuval Kogman
this is necessary for anything heavyweight and probably better design, but again, hard to encourage on a wide scale. > Oh, and hello everyone. Long time no see :-) Welcome back =) -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgppRdobmMO5g.pgp Description: PGP signature

Re: Type annotation on expressions

2006-08-08 Thread Yuval Kogman
On Tue, Aug 08, 2006 at 11:12:11 +0100, Daniel Hulme wrote: > I may be in a little world of my own here, but isn't this what 'as' is > supposed to do? > > foo($x as Moose); as is a method invocation not a type annotation... It's related, but not the same (l

Type annotation on expressions

2006-08-08 Thread Yuval Kogman
syntax is shiny but everybody wants the colon: foo( ( $x :: Moose ) ); If we do find something (please ignore the fact that :: is probably not going to be the syntax), are these two the same? my $x = ( $y :: Moose ); my Moose $x = $y; -- Yuval Kogman <[EMAIL PRO

Re: weak roles

2006-08-08 Thread Yuval Kogman
the same time, and whoever is invoking the methods must explicitly say which behavior it prefers. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpx3ynOr3Awk.pgp Description: PGP signature

Re: weak roles

2006-08-08 Thread Yuval Kogman
that this wouldn't > work for the Perl community... Base classes, as opposed to roles, don't work well at *all* for these types of scenarios. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgp8oZIwW4xxN.pgp Description: PGP signature

weak roles

2006-08-07 Thread Yuval Kogman
#x27;re not as popular as they should be 2. they're more classes to write 3. they're harder to use Consequentially we have fairly few delegate based APIs for these problems (Email:Abstract is the only one I know). -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobli

underscores in the core lib

2006-08-06 Thread Yuval Kogman
However, we will also have new APIs, like the OO meta model: my @attrs = $meta.attributes; # shallow my @deep = $meta.compute_all_attributes; # deep, also from superclasses Than my @attrs = $meta.attrs; my @deep = $meta.compattrs; -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpPWBBdd6XLw.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained

2006-07-14 Thread Yuval Kogman
[&&] (@a »eq« @b) Neither - it's on the natural types. If the types are different it's != -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpGRy3LtVSsx.pgp Description: PGP signature

Re: optimizing with === immutable comparitor

2006-07-14 Thread Yuval Kogman
ics allow that, but it has nothing to do with the language it might not even be faster. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpMbWueVorC2.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained

2006-07-14 Thread Yuval Kogman
s are the same, or two hashes, you need to use Data::Compare, or to overload either == or eq, neither of which is a perfect fit. I have to catch my flight, so I'll explain more later. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpjrJLdJQ8jS.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained

2006-07-13 Thread Yuval Kogman
sub &infix: ( Any $x, Any $y ) { ~$x === ~$y } -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpA33D2068QT.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained

2006-07-13 Thread Yuval Kogman
On Thu, Jul 13, 2006 at 12:50:19 -0700, Larry Wall wrote: > On Thu, Jul 13, 2006 at 09:32:08PM +0300, Yuval Kogman wrote: > : [1] My preferred ergonomics: > : > : 1. eqv goes away > : 2. what was eqv is renamed to === > : 3. === becomes =:=, which has a "constan

Re: Run time dispatch on ~~

2006-07-13 Thread Yuval Kogman
my @list = $tree.filter_children( $match ); # very generic and useful -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgp2x3GRPz6iD.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!) -- Explained

2006-07-13 Thread Yuval Kogman
3. === becomes =:=, which has a "constant" feel to it 4. =:= is rarely useful IMHO, so you can just type variable($x) =:= variable($y) Ciao -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpnFt3Yt2IXy.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!)

2006-07-13 Thread Yuval Kogman
jects. That creates a mess - sometimes objects compare themselves based on their value, and sometimes based on their containing slot. These are very different semantics. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpwbesNugIxd.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!)

2006-07-12 Thread Yuval Kogman
s equal, etc). Should I go on? > I'd avoid saying "memory", here. Some implementations of Perl 6 might > not know what memory looks like (on a sufficiently abstract VM). "Slot" -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpAR436ytaZh.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!)

2006-07-12 Thread Yuval Kogman
rhs matches the code ref (the code ref gets it as an argument it's a match! That's why ~~ isn't a comparison operator, but a smart match operator - it DWIMs *very* deeply. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpKGobq7eHqB.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!)

2006-07-12 Thread Yuval Kogman
to the same variable as the RHS. Does this dereference? > Probably not, but I'm not sure, based on S03. Then it's a purely lexical opeation, and it doesn't even work for my $x := $array[3]; $x =:= $array[3]; but i'll pretend you didn't say that ;-) -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpkrsvQqGF99.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!)

2006-07-12 Thread Yuval Kogman
. This actually works like we expected, appearantly pugs does some sort of COW Under := slot semantics the first test should be false, the second should be true, the third should be true, the fourth should be false, the fifth should be false, and the sixth should be false. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpGSy7OFZEBd.pgp Description: PGP signature

Re: ===, =:=, ~~, eq and == revisited (blame ajs!)

2006-07-12 Thread Yuval Kogman
is retained from perl 5 without introducing new complexity to the objects being compared as strings/numbers. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpNhYctTCtP5.pgp Description: PGP signature

===, =:=, ~~, eq and == revisited (blame ajs!)

2006-07-12 Thread Yuval Kogman
t =:= && === inside, and it could optimize arrays to check length first, and it could cache checksums and it could do whatever - please don't bring this up as a performance issue, it is one of correctness and ergonomics that must be resolved first. -- Yuval Kogman <[EMAIL PROTECTED]&g

Re: S?? OS interaction, POSIX and S29

2006-07-11 Thread Yuval Kogman
name than OS. That said, there's no reason why there shouldn't be a convenience wrapper around a more partitioned set of APIs, that provides a more toolchain like approach, and keeps the docs together. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpLxNij9Cay0.pgp Description: PGP signature

Re: TAP extension proposal: test attributes

2006-07-07 Thread Yuval Kogman
etc), the position of the test so that we can use backlinks, and color the test file in HTML, and potentially other info. It would be nice if this would be standardized. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpU3j8aoOoow.pgp Description: PGP signature

Re: TAP extension proposal: test groups

2006-07-01 Thread Yuval Kogman
was very hacky to make work. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpdvFvErE3pF.pgp Description: PGP signature

Re: TAP::Harness

2006-07-01 Thread Yuval Kogman
since TAP revisions are not explicitly asked for... Too bad I missed talking to you at the hackathon - if I had only thought about this we could have talked in meat-space. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpJMbWwaOVFC.pgp Description: PGP signature

Re: TAP::Harness

2006-07-01 Thread Yuval Kogman
mess). -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpcMgQCUTVKz.pgp Description: PGP signature

Re: Classy logging for Classes

2006-06-22 Thread Yuval Kogman
ethod, but this is not always the most "correct" behavior. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpDfNOJ4cich.pgp Description: PGP signature

Re: easier duck typing in .can

2006-06-18 Thread Yuval Kogman
On Sun, Jun 18, 2006 at 18:08:00 +1200, Sam Vilain wrote: > Why would you not use .does or .isa there? Are you wanting this > to go through all of the Class/Role's methods and check that the > $object.can() them? Because if you don't control $object's class you can&#

easier duck typing in .can

2006-06-17 Thread Yuval Kogman
r; # claim that you can do it, and if possible also # get compile time verification } without affecting our hard earned renewed purity of .isa and .does (due to roles in Perl 6). Comments? -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpDjfA2jPh0W.pgp Description: PGP signature

Re: eval

2006-05-24 Thread Yuval Kogman
On Wed, May 24, 2006 at 19:54:53 +0300, Gabor Szabo wrote: > if eval "command" fails, where can I get the error message ? > > aka $@ in P5 ? $! http://dev.perl.org/perl6/doc/design/syn/S04.html#Exception_handlers -- Yuval Kogman <[EMAIL PROTECTED]> http:/

Re: CPANTS is not a game.

2006-05-23 Thread Yuval Kogman
ess $ENV{TEST_POD} is off. They add kwalitee, but they usually fail making this even more of a contest when size doesn't matter ;-) -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpJrzR5jQP6v.pgp Description: PGP signature

Re: A shorter long dot

2006-04-29 Thread Yuval Kogman
On Sat, Apr 29, 2006 at 19:03:28 -0700, chromatic wrote: > Two invisible things look completely different to you? If dots looked like this: then they would be invisible. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpjWtFYwS1YC.pgp Descrip

Re: Fw: ([EMAIL PROTECTED]) Re: A shorter long dot

2006-04-29 Thread Yuval Kogman
; > > > Any ideas? > > Forward that message (with full headers) to [EMAIL PROTECTED] > who will then apply the LART. > > As I figure I'm about to get one, I'll (also) forward mine. Just got one... By LARTing you mean forcibly unsubscribing? because the message was se

Re: A shorter long dot

2006-04-29 Thread Yuval Kogman
$ba. .bar; $x. .bar; $foo.bar; $ba.:bar; $x. :bar; Frankly I don't think there's *that* much of a difference - each has pros and cons. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpFJG3Gj3Rdx.pgp Description: PGP signature

Re: Test::Memory::Cycle (well really Devel::Cycle) - support for closures

2006-04-23 Thread Yuval Kogman
Oops, bad patch. I added lib/Test/Memory/Cycle.pm as a symlink so that I don't have to 'make' each time to run the tests. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpb5Xz3jyQ6k.pgp Description: PGP signature

Test::Memory::Cycle (well really Devel::Cycle) - support for closures

2006-04-23 Thread Yuval Kogman
nally feel that this be a bit louder, but whatever Lincoln feels is best is his own choice. Anyway, have fun. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 diff -Nur Devel-Cycle-1.04/lib/Devel/Cycle.pm Devel-Cycle-with_code/lib/Devel/Cycle.pm --- Devel

Re: The "whatever" context

2006-04-10 Thread Yuval Kogman
s. Just for grep or for any function? If just grep that means that grep simply doesn't use want. If it's any function, then it means that all are constants are "list" or "whatever", and all we really have are coercers. -- Yuval Kogman <[EMAIL PROTECTED]> htt

The "whatever" context

2006-04-09 Thread Yuval Kogman
r scalar values without having to think (== good for when you are evaluating a fucntion ref and you don't know what it is, but you want the "natural" value to be returned). b. writing eval bots and interactive shells: (whatever eval $expr).perl; ;-) -- Yuval Kogman <[E

Re: Set Theory (Was: Do junctions support determining interesections of lists)

2006-04-04 Thread Yuval Kogman
e garbage collector? ;-) -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpNHDuQGy9dD.pgp Description: PGP signature

Re: replacement of $

2006-04-01 Thread Yuval Kogman
On Sun, Apr 02, 2006 at 02:04:07 +0300, Larry Wall wrote: ^^^-- (actually that was IDT in the headers) > Hi, > I'm in Israel and Japan at the same time! Nice one though ;-) If you guys would have participated in the keysigning parties... -- Y

Re: 'temp $x;' with no assignment

2006-03-27 Thread Yuval Kogman
On Mon, Mar 27, 2006 at 14:54:05 -0600, Jonathan Scott Duff wrote: > Make me believe your 90/10 numbers. http://cpansearch.bulknews.net/ is broken right now... =( -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpaJiBDVaA0d.pgp Description: PGP signature

Re: 'temp $x;' with no assignment

2006-03-27 Thread Yuval Kogman
On Mon, Mar 27, 2006 at 14:35:52 -0600, Jonathan Scott Duff wrote: > On Mon, Mar 27, 2006 at 05:26:48PM +0200, Yuval Kogman wrote: > How did $x become 10?!?!? :-) GHC has this lovely error: "my brain just exploded" I think Perl 6 should have a similar runtime warning about ho

Announce: Test::TAP::HTMLMatrix 0.05 and Test::TAP::Model 0.06

2006-03-27 Thread Yuval Kogman
consolidated (the example is actually a bit overly verbose - it could have just been Test::TAP::HTMLMatrix->new( $model_ok, $modeL_failing )). The resulting HTML file displays the two test runs together, with their differences highlighted and expanded. Have fun! -- Yuval Kogman <[EMAIL PROTECTED]

'temp $x;' with no assignment

2006-03-27 Thread Yuval Kogman
} # $x is 5 again and otherwise pretty much DWIMs, except from a historical perspective. -- Yuval Kogman <[EMAIL PROTECTED]> http://nothingmuch.woobling.org 0xEBD27418 pgpoFwInBPODZ.pgp Description: PGP signature

Re: where will we die to?

2006-03-23 Thread Yuval Kogman
On Thu, Mar 23, 2006 at 08:14:03 -0800, Larry Wall wrote: > On Thu, Mar 23, 2006 at 02:27:07PM +0200, Yuval Kogman wrote: > > How else would you implement it that doesn't impact performance? > One of the main reasons for having exceptions is that they're exceptional, >

where will we die to?

2006-03-23 Thread Yuval Kogman
entries have a catch block. The other thing is to be able to trace an exception: if we have 'die "foo" but traced' then the exception should print "cought at rethrowed" as it's doing that. This second thing is much harder for me to pretend to implement --

Re: "Erroneous" CPAN Testers Reports

2006-03-14 Thread Yuval Kogman
test_failure prereq_failure etc etc. Human *AND* machine readable. -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: *shu*rik*en*sh*u*rik*en*s*hur*i*ke*n*: neeyah pgpd64dMeavnV.pgp Description: PGP signature

Re: "Erroneous" CPAN Testers Reports

2006-03-13 Thread Yuval Kogman
n.testers/297804 The *really* bad thing is that i didn't even get a "Can't locate ok.pm in @INC" in the output, only that some tests failed, and no further output. -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\

Re: RFC - weird stuff I had to do (for fun or profit)

2006-03-13 Thread Yuval Kogman
27;s still pretty brutal ;-) Conclusions: I would have been happier if I could have a nice hook interface with which i could trap both module includes, and all IO operations and insert my own magic into the mess to aid me in my *DEVELOPMENT* process (not production related at all =) -- () Yuva

RFC - weird stuff I had to do (for fun or profit)

2006-03-13 Thread Yuval Kogman
s and core modules can be revisited and maybe better designed. Please reply to this thread with your tales of glory (or failures, and the reason they failed). -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me climbs a brick wall with

Re: XML parsing in P6

2006-03-12 Thread Yuval Kogman
On Mon, Mar 13, 2006 at 06:33:06 +, Luke Palmer wrote: > Luke Luke! You're back from the dead! *dance* -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me beats up some cheese: neeyah! pgpuZTuJK9VUu.pgp Description: PGP signature

Re: XML parsing in P6

2006-03-12 Thread Yuval Kogman
On Sun, Mar 12, 2006 at 21:42:59 +0200, Yuval Kogman wrote: > You can probably have a shell account on feather.perl6.nl (Juerd > needs your full name and I don't know if this can be done by proxy > or not), and definately on my machine, where you can use > screen/irssi to your he

Re: XML parsing in P6

2006-03-12 Thread Yuval Kogman
On Mon, Mar 13, 2006 at 01:00:42 +0530, Premshree Pillai wrote: > On 3/13/06, Yuval Kogman <[EMAIL PROTECTED]> wrote: > > #perl6 on freenode might be a better choice - much more people are > > active. > > I know. I am currently at a friend's place, and seems like

Re: XML parsing in P6

2006-03-12 Thread Yuval Kogman
like 'start_tag', etc. Some more "fun" XML modules exist on on the CPAN, which provide more "treeish" APIs than event parser APIs. Ciao! -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me climbs a brick wall with his fingers: neeyah! pgplqLqOqmFwV.pgp Description: PGP signature

Re: Show-stopping Bug in Module::Install and the Havoc it Created

2006-03-10 Thread Yuval Kogman
k it's overkill. -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me wields bonsai kittens: neeyah pgp3nqjk41dmP.pgp Description: PGP signature

Re: What is the Value of t/0-signature.t?

2006-03-09 Thread Yuval Kogman
not signature tests are useless (i think they are, but then again i also think i have some modules with Test::Distribution that checks that... so I am a hypocrit ;-) the usability of these tests will be good enough. (I'm CCing audrey so that she'll know I'm dissing her module ;-) -

Re: ANNOUNCE - Smolder 0.01

2006-03-05 Thread Yuval Kogman
nd Test::TAP::Model that > should make it easier to gather more information. Shlomi Fish wrote Test::Run, a Test::Harness fork and was considering improving Test::TAP::Model as well... It might be beneficial for you guys to help each other out if you can. -- () Yuval Kogman <[EMAIL PROTE

Re: socket addresses (was Re: early draft of I/O PDD)

2006-03-05 Thread Yuval Kogman
> just uses a string, which is a file system path. But I think that specifying > an op for just one address format is too narrow. Objects that stringify! Objects that stringify! -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me whallops greyface with a fnord: neeyah!!! pgp2d8OPP5NHE.pgp Description: PGP signature

Re: ANNOUNCE - Smolder 0.01

2006-03-05 Thread Yuval Kogman
ut that hasn't been tested) and MySQL 4.x. Could you please please please pretty please with a cherry on top add SQLite support? Another, much more pretentious request is that you refactor anything and everything you can into generic modules and put them on the CPAN. -- () Yuval Kogman &

Perl 6 design wiki?

2006-03-03 Thread Yuval Kogman
ess formal" documentation of a language, if you will. Pugs has example code, some quick start guides, and a few other nice things in it's repository, which are not pugs specific in any way. -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hac

Re: early draft of I/O PDD

2006-03-03 Thread Yuval Kogman
n is humanly possible for one person. I'll use the > discussion to write up a more complete PDD (probably with a few alternatives > written in), > and then work with Chip to review/revise it. > > Thanks, > Allison > -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me sushi-spin-kicks : neeyah pgp8tEwohagCA.pgp Description: PGP signature

Re: Separate compilation and compile-time things

2006-03-02 Thread Yuval Kogman
just hopefully not bite > people > too often? Should doing what this is trying to do be possible in a > different, longer-huffmanized way? I think separate compilation is more consistent - it allows much -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me tips over a cow: neeyah!! pgp8X8bmCof23.pgp Description: PGP signature

Re: Separate compilation and compile-time things

2006-03-02 Thread Yuval Kogman
eated in the compiler's runtime this is slightly consistent ;-) -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me supports the ASCII Ribbon Campaign: neeyah!!! pgpWiJRp1WJ6s.pgp Description: PGP signature

Re: A proposition for streamlining Perl 6 development

2006-02-09 Thread Yuval Kogman
On Wed, Feb 08, 2006 at 12:37:05 -0800, chromatic wrote: > On Tuesday 07 February 2006 23:55, Yuval Kogman wrote: > > > Does this imply that we should think up this process? > > Go ahead. We'll start at the Israel hackathon, with a little preamble. > The last time so

Re: A proposition for streamlining Perl 6 development

2006-02-08 Thread Yuval Kogman
wards trying to answer these questions. Thanks -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /methinks long and hard, and runs away: neeyah!!! pgpEyRQC2JVbl.pgp Description: PGP signature

Re: A proposition for streamlining Perl 6 development

2006-02-07 Thread Yuval Kogman
the big void in the middle - the design of the perl 6 runtime, not just syntax/features. What I'm suggesting is a start in this clarification - trying to componentize the existing syntax/feature spec that we do have, so tha the design of the runtime can be simplified and more concrete/attai

Re: A proposition for streamlining Perl 6 development

2006-02-07 Thread Yuval Kogman
meta model's methods and features, for example. The doc explaining macros does not detail what the AST macros get (the definition of the AST). Etc etc etc. These things are also important to implementation, and amount to a huge chunk of code. If we can layer this code, chunk it up, compon

Re: A proposition for streamlining Perl 6 development

2006-02-07 Thread Yuval Kogman
On Wed, Feb 08, 2006 at 08:59:35 +0800, Audrey Tang wrote: > On 2/8/06, Yuval Kogman <[EMAIL PROTECTED]> wrote: > > If Audrey is willing, I think a correct new direction for pugs is to > > try and separate the parts even more - the prelude is a mess right > > now, many

Re: A proposition for streamlining Perl 6 development

2006-02-07 Thread Yuval Kogman
On Tue, Feb 07, 2006 at 14:02:54 -0800, chromatic wrote: > On Tuesday 07 February 2006 13:28, Yuval Kogman wrote: > > > Right now the biggest problem in Perl 6 land is project management. > > I disagree, but even if it were true, I don't think the solution is to add &g

Re: A proposition for streamlining Perl 6 development

2006-02-07 Thread Yuval Kogman
6's design, which I think is also important. -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me does not drink tibetian laxative tea: neeyah! pgplMQF1DxiDk.pgp Description: PGP signature

A proposition for streamlining Perl 6 development

2006-02-07 Thread Yuval Kogman
e burn out. People have to do things more related to day jobs (that's why my pugs hacking is on hold, for example), people think things half way, etc. If we have a layered approach we can concentrate on providing something that is more balanced ... Phew. Ciao! -- () Yuval Kogman <[EMAIL

Re: IPC::Run or something else?

2006-02-05 Thread Yuval Kogman
m IPC::Run3 to IPC::Run is quite easy. If you sever do need weird callbacks, several processes at a time, or PTY support it should be an easy switch. However, for the mean while IPC::Run3 is probably just what you need. -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /

Re: IPC::Run or something else?

2006-02-05 Thread Yuval Kogman
choice? I think it's a very good choice. -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me does a karate-chop-flip: neeyah!! pgp5ZdeQI5sSt.pgp Description: PGP signature

Universal Roles, and deriving these roles for any class

2006-02-05 Thread Yuval Kogman
for other interfaces. This also reminds me a bit of attribute grammars - i'd like to be able to automatically derive node roles inside AGs by just specifying a generic universal behavior, and behavior for the leaves. Err, comments please =) -- () Yuval Kogman <[EMAIL PROT

Re: Macros?

2006-01-29 Thread Yuval Kogman
On Sun, Jan 29, 2006 at 20:29:43 +, Herbert Snorrason wrote: > On 29/01/06, Yuval Kogman <[EMAIL PROTECTED]> wrote: > > Basically the plan is that when an internal AST language is decided > > upon, the macros will be able to get either the source code text, or > >

Re: Macros?

2006-01-29 Thread Yuval Kogman
anguage (maybe it'll be PIL based) is not yet final, so there's not much to say. -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: /me climbs a brick wall with his fingers: neeyah! pgpPcvW74VE2z.pgp Description: PGP signature

Re: facades, use_ok, and lexical export

2006-01-09 Thread Yuval Kogman
as a function could simply import $module into the non lexical scope because it's a runtime thing, unless it's made into a macro/some other compile time construct, that is more declarative in nature, and makes the whole process more opaque. -- () Yuval Kogman <[EMAIL PROTECTED]> 0x

Re: Perl grammar for Perl5 -> Perl6

2005-12-08 Thread Yuval Kogman
ecursion, exclusion > and so forth. Since perl 5's actual parser and tokenizer will be used for this it won't be very extensible, but this is important because perl is reallly hard to parse. -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &

Re: Capabilities in Perl6?

2005-12-01 Thread Yuval Kogman
rms of this security stuff. This is a very good start towards a model where a crippled runtime is mixed with a fully priviliged one, with grey areas in the middle. -- () Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker & /\ kung foo master: MMM

  1   2   3   4   >