Re: MML dispatch

2005-07-13 Thread TSa (Thomas Sandlaß)
HaloO Larry, you wrote: On Tue, Jul 12, 2005 at 08:13:22PM +0200, "TSa (Thomas Sandlaß)" wrote: : Actually it's a pitty, that the multi method call syntax isn't as : rich as the single method call syntax where we have .?method, .+method : and .*method. Something like (Snoopy, Mr_PotatoHead, Hope

Re: MML dispatch

2005-07-13 Thread Damian Conway
Mark Reed asked: OK, sorry if I missed this in an earlier discussion. For purposes of calculating this Manhattan distance, I gather that we're treating lists of N arguments/parameters as points in N-space. I further assume that the monoaxial distance between a parameter coördinate and the corr

Re: MML dispatch

2005-07-13 Thread Damian Conway
TSa (Thomas Sandlaß) wrote: Unique least-inherited most-specialized match, or default Do I read this correctly as dispatching partly in the class hierarchy and partly in the type hierarchy? Err. The class hierarchy *is* the type hierarchy in Perl 6. Or do you mean with 'least-inherit

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: MML dispatch

2005-07-13 Thread Damian Conway
TSa (Thomas Sandlaß) wrote: Is there also an answer to the odering versus metric question? Why was the former rejected and the latter choosen? MMD is really just a partitioning of the discrete N-dimensional search space formed by the class hierarchies of the N parameters of a multimethod/mult

Re: Need to talk to an EU patent attorney

2005-07-13 Thread David Cantrell
Tels wrote: As for the rest of the EU, software-only patents are very probably not enforcable, anyway. Yeah, but you can't afford to challenge them in court, so who cares. Adrian Howard wrote: > The FSFE in particular have been campaigning hard in Europe so should > hopefully have some decen

[perl #36525] [PATCH] python boolean fix

2005-07-13 Thread via RT
# New Ticket Created by Michal Wallace # Please include the string: [perl #36525] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=36525 > This is a simple patch to get pyboolean.pmc working in the pirate test suite again.

Mobilizing PM groups for parrot..

2005-07-13 Thread Will Coleda
Anyone have any ideas on how you might harness a PM group to work on parrot?

Re: Need to talk to an EU patent attorney

2005-07-13 Thread H.Merijn Brand
On Tue, 12 Jul 2005 14:00:51 -0700, Michael G Schwern <[EMAIL PROTECTED]> wrote: > Barbie's journal, via Ovid, made me aware of patent EP1170667 "Software > Package Verification" granted last month in the EU. > http://gauss.ffii.org/PatentView/EP1170667 Contact Steffen Beyer mailto:[E

Re: MML dispatch

2005-07-13 Thread TSa (Thomas Sandlaß)
HaloO Damian, thank you very much for your explaination. I just want to hint the Perl6 community to the fact that there exists a US patent on geometric MMD: http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=/netahtml/search-bool.html&r=1&f=G&l=50&co1=AND&d=ptxt&s1=ferragina

vtable changes?

2005-07-13 Thread Nicholas Clark
IIRC Chip said that his focus would be on maintaining PIR stability during this stage of development (I might have the wrong specific parrot source code representation, but the point was that it was source level, rather than binary bytecode, or PMC API) There were some PMC vtable changes recently

Partioning PMCs

2005-07-13 Thread Nicholas Clark
There was a thread back in May where I asked about how Ponie should implement perl 5 SvFLAGS() lookups in a way that is 1: Correct 2: Fast 3: Works on both Perl 5 subtype PMCs created by Ponie, and any other PMCs that happen to arrive inside ponie. The thread was inconclusive. But seemed to b

PMC changes?

2005-07-13 Thread Nicholas Clark
Is the PMC layout likely to remain stable? There's been talk of minimal PMC heads (data, vtable) in relation to the generational garbage collector proposals. Is this likely to happen? Related to this there has been talk of variable sized bodies. If there are changes, how much of the existing API w

Re: embedding/extending interface

2005-07-13 Thread Nicholas Clark
On Wed, May 11, 2005 at 11:18:30AM +0100, Nicholas Clark wrote: > On Tue, May 10, 2005 at 01:13:48PM -0400, Jeff Horwitz wrote: > > as part of both the pugs and mod_parrot effort, i've started working on > > bringing the embedding and extending interfaces into the modern parrot > > era. i'd like t

signals and events

2005-07-13 Thread Nicholas Clark
What is the state of signals and events support? As far as I can tell from watching which perl 5 regression tests fail or hang under parrot, currently parrot can't behave as a passive embedding target - it assumes that it needs to take ownership of all signals. Is this likely to change soon? Curre

Re: embedding/extending interface

2005-07-13 Thread Jeff Horwitz
On Wed, 13 Jul 2005, Nicholas Clark wrote: > On Wed, May 11, 2005 at 11:18:30AM +0100, Nicholas Clark wrote: > > On Tue, May 10, 2005 at 01:13:48PM -0400, Jeff Horwitz wrote: > > > as part of both the pugs and mod_parrot effort, i've started working on > > > bringing the embedding and extending in

refcounting hash

2005-07-13 Thread Nicholas Clark
Right now ponie is still reference counting. In effect it's duplicating the work of parrot's DOD registration scheme. For space and efficiency reasons it would be very useful to move the ponie reference counts outside the actual PMCs, and effectively store them in a hash, much like the DOD referenc

Re: User-defined infix subs/methods?

2005-07-13 Thread Michele Dondi
On Tue, 12 Jul 2005, Larry Wall wrote: Good, I'd forgotten about that. Which means that it's even harder for someone to compile a module in a "strange" dialect, since they'd essentially have to write their own version of "use" that forces recompilation ("reuse", if you will). And the harder we

Re: Perl 6 Summary for 2005-07-05 through 2005-07-12

2005-07-13 Thread Dave Whipp
Damian Conway wrote: Important qualification: Within a method or submethod, C<.method> only works when C<$_ =:= > $?SELF>. C<.method> is perfectly legal on *any* topic anywhere that $?SELF doesn't exist. Just to be clear, this includes any method/submethod with an explicitly named invo

Re: User-defined infix subs/methods?

2005-07-13 Thread Ingo Blechschmidt
Hi, Michele Dondi wrote: >> Good, I'd forgotten about that. Which means that it's even harder >> for someone to compile a module in a "strange" dialect, since they'd >> essentially have to write their own version of "use" that forces >> recompilation ("reuse", if you will). And the harder we mak

Re: Perl 6 Summary for 2005-07-05 through 2005-07-12

2005-07-13 Thread Juerd
Dave Whipp skribis 2005-07-13 8:44 (-0700): > > Within a method or submethod, C<.method> only works when C<$_ =:= > > $?SELF>. > >C<.method> is perfectly legal on *any* topic anywhere that $?SELF > >doesn't exist. > Just to be clear, this includes any method/submethod with an explicitly > named

Re: User-defined infix subs/methods?

2005-07-13 Thread Larry Wall
On Wed, Jul 13, 2005 at 05:10:14PM +0200, Michele Dondi wrote: : On Tue, 12 Jul 2005, Larry Wall wrote: : : >Good, I'd forgotten about that. Which means that it's even harder : >for someone to compile a module in a "strange" dialect, since they'd : >essentially have to write their own version of

[RELEASE] Pugs 6.2.8 released!

2005-07-13 Thread Autrijus Tang
After nearly 1000 commits, two hackathons, and an entire month of hard work, I am delighted to announce that Pugs 6.2.8 is finally upon us: http://pugscode.org/dist/Perl6-Pugs-6.2.8.tar.gz SIZE = 1309147 SHA1 = efd32419dcddba596044a42564936888a28b3c69 A live CD is available as usual,

RE: DBI v2 - The Plan and How You Can Help

2005-07-13 Thread Reidy, Ron
Sorry, instead of implicit 'commit', I mean to say implicit conversion. - Ron Reidy Lead DBA Array BioPharma, Inc. -Original Message- From: Reidy, Ron Sent: Wednesday, July 13, 2005 9:06 AM To: Sam Vilain; Dean Arnold Cc: dbi-users@perl.org; dbi-dev@perl.org; perl6-langu

RE: DBI v2 - The Plan and How You Can Help

2005-07-13 Thread Reidy, Ron
-Original Message- From: Sam Vilain [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 12, 2005 5:04 PM To: Dean Arnold Cc: dbi-users@perl.org; dbi-dev@perl.org; perl6-language@perl.org Subject: Re: DBI v2 - The Plan and How You Can Help >Dean Arnold wrote: >> RE: LOBs and "SQL Parse Trees": h

Method Resolution Order question

2005-07-13 Thread Stevan Little
Hello, More questions for the metamodel. I am trying to add proper submethod and private method handling and I have a question about method resolution order as a whole. I asked a similar question last week, but this time I have more details :) Given this class: class Foo { submethod

Re: MML dispatch

2005-07-13 Thread Larry Wall
On Wed, Jul 13, 2005 at 06:11:32PM +1000, Damian Conway wrote: : TSa (Thomas Sandlaß) wrote: : : >>Unique least-inherited most-specialized match, or default : > : > : >Do I read this correctly as dispatching partly in the class hierarchy : >and partly in the type hierarchy? : : Err. The class

Re: embedding/extending interface

2005-07-13 Thread chromatic
On Wed, 2005-07-13 at 15:41 +0100, Nicholas Clark wrote: > Did anything come of this? Or is chromatic still waiting in the wings for > confirmation that this is the right way to go? I'm still waiting for confirmation. I can send my existing (needs polish) patch if that will help speed the discus

Re: Raw bytes in perl6

2005-07-13 Thread Larry Wall
You guys are beating a live horse. Apocalypse 5 already discusses arrays pretending to be strings for the sake of parsing. The capability has to be there, and in fact Patrick has been bearing that in mind in the design of PGE. The only question for p6l is how much syntactic sugar you want. I've

Re: Method Resolution Order question

2005-07-13 Thread Larry Wall
On Wed, Jul 13, 2005 at 12:51:49PM -0400, Stevan Little wrote: : Hello, : : More questions for the metamodel. I am trying to add proper submethod : and private method handling and I have a question about method : resolution order as a whole. I asked a similar question last week, but : this time

Re: Need to talk to an EU patent attorney

2005-07-13 Thread Michael G Schwern
On Wed, Jul 13, 2005 at 10:11:04AM +0100, David Cantrell wrote: > >As for the rest of the EU, software-only patents are very probably not > >enforcable, anyway. > > Yeah, but you can't afford to challenge them in court, so who cares. I'm hoping I can talk sense into the inventors. Tim Foster has

Re: MML dispatch

2005-07-13 Thread David Storrs
On Jul 13, 2005, at 1:12 PM, Larry Wall wrote: If class Dog does role Bark and also does role Wag, then passing a Dog to multi (Bark $x) multi (Wag $x) should result in ambiguity. My understanding is that a Role is an abstract (i.e. cannot be instantiated) blob of methods and, pos

Re: MML dispatch

2005-07-13 Thread chromatic
On Wed, 2005-07-13 at 16:07 -0400, David Storrs wrote: > My understanding is that a Role is an abstract (i.e. cannot be > instantiated) blob of methods and, possibly, data. The purpose of a > Role is to paste it into a class--in other words, a Role is a not a > type, it is a part of a type.

Re: MML dispatch

2005-07-13 Thread David Storrs
On Jul 13, 2005, at 4:35 PM, chromatic wrote: On Wed, 2005-07-13 at 16:07 -0400, David Storrs wrote: My understanding is that a Role is an abstract (i.e. cannot be instantiated) blob of methods and, possibly, data. The purpose of a Role is to paste it into a class--in other words, a Role is

Re: User-defined infix subs/methods?

2005-07-13 Thread Larry Wall
On Wed, Jul 13, 2005 at 05:48:47PM +0200, Ingo Blechschmidt wrote: : If you wanted the compiler to parse SomeOtherModule.pm using Ruby's : grammar, you'd have to write: : : use Grammar::Ruby; : reuse SomeOtherModule You'd also have to write "reuse", because we're not going to write it for

Re: WTF? - Re: method calls on $self

2005-07-13 Thread Larry Wall
On Tue, Jul 12, 2005 at 04:43:06PM +0530, Aankhen wrote: : I agree with what is being said here. `.method` is a great way to : eliminate a lot of repetitive, tedious typing. Surely there is a : viable alternative that doesn't involve outlawing it? Certainly. The problem is that there are too ma

Re: MML dispatch

2005-07-13 Thread chromatic
On Wed, 2005-07-13 at 17:33 -0400, David Storrs wrote: > > What is a type besides a named blob of methods > > and, possibly, data? > A label that says how the data is stored internally. For example, > compare "Int" and "int". The former is a type and a blob of methods > and not necessaril

Re: DBI v2 - The Plan and How You Can Help

2005-07-13 Thread Sam Vilain
Dean Arnold wrote: Column 3 is a BYTEA column in Pg and needs special peppering to work. What sort of "peppering" ? DBI provides SQL_BLOB, and SQL_CLOB type descriptors (as well as SQL_BLOB_LOCATOR and SQL_CLOB_LOCATOR), so presumably DBD::Pg (or any other DBD supporting LOBs) provides the logic

Re: [RELEASE] Pugs 6.2.8 released!

2005-07-13 Thread Matt Diephouse
Autrijus Tang <[EMAIL PROTECTED]> wrote: > === Bug Fixes > > * Call parrot with "-G" (CGP) instead of "-j" (JIT) runcore to avoid segfaults Hopefully, you meant to write "-C" instead of "-G", as the first tells parrot to use the CGP core and the latter turns off GC. :-) -- matt diephouse http:/

Re: MML dispatch

2005-07-13 Thread David Storrs
On Jul 13, 2005, at 6:16 PM, chromatic wrote: On Wed, 2005-07-13 at 17:33 -0400, David Storrs wrote: What is a type besides a named blob of methods and, possibly, data? A label that says how the data is stored internally. For example, compare "Int" and "int". The former is a type and

DBI v2 - Data In and Data Out

2005-07-13 Thread John Williams
The proposals so far have dealt mostly with the SQL itself, and supporting database-neutral layers on top of DBI. Personally, I don't mind writing the SQL myself, I rarely need to make a particular statement work on two databases in my work, and I can optimize a lot better than any SQL generator.

Re: Method Resolution Order question

2005-07-13 Thread Stevan Little
Larry, On Jul 13, 2005, at 2:30 PM, Larry Wall wrote: : The Syn/Apoc seem to indicate that methods and submethods of the same : name can coexist. So the class definition itself is legal. However, it : brings up an issue when it comes time to call bar(). If the Syn/Apoc is giving that impressi

Re: MML dispatch

2005-07-13 Thread Larry Wall
On Wed, Jul 13, 2005 at 05:33:18PM -0400, David Storrs wrote: : I'd like to have it explained what Roles : offer that justifies their existence, since they won't be anything : but a restricted form of a class. Please check your assumptions. In addition to what chromatic said, I'd like to poin

Re: MML dispatch

2005-07-13 Thread David Storrs
(Taking things slightly out of order.) On Jul 13, 2005, at 7:32 PM, Larry Wall wrote: A class is restricted to having to provide a working interface to real objects. Can't there be pure-abstract, non-instantiable classes? Or are you still considering those to be interfaces to "real objec

Re: MML dispatch

2005-07-13 Thread Damian Conway
TSa (Thomas Sandlaß) wrote: I just want to hint the Perl6 community to the fact that there exists a US patent on geometric MMD: Well, fortunately it's really just a patent on the specific combination of a mathematical isomorphism and a well-known geometric algorithm to *optimize* method disp

Re: What do use and require evaluate to?

2005-07-13 Thread Larry Wall
On Tue, Jul 12, 2005 at 08:48:41PM +0300, Gaal Yahas wrote: : I propose to throw away the filesystem coupling, and map from a more : general name of the bit of code we are requiring to a more general : description of which instance of it we actually got. Once modules return : interesting values, it

Re: [RELEASE] Pugs 6.2.8 released!

2005-07-13 Thread Autrijus Tang
On Wed, Jul 13, 2005 at 07:01:18PM -0400, Matt Diephouse wrote: > Autrijus Tang <[EMAIL PROTECTED]> wrote: > > === Bug Fixes > > > > * Call parrot with "-G" (CGP) instead of "-j" (JIT) runcore to avoid > > segfaults > > Hopefully, you meant to write "-C" instead of "-G", as the first tells > par

Re: User-defined infix subs/methods?

2005-07-13 Thread Autrijus Tang
On Tue, Jul 12, 2005 at 02:10:06PM -0700, Larry Wall wrote: > Good, I'd forgotten about that. Which means that it's even harder > for someone to compile a module in a "strange" dialect, since they'd > essentially have to write their own version of "use" that forces > recompilation ("reuse", if you

Re: MML dispatch

2005-07-13 Thread Sam Vilain
Larry Wall wrote: In addition to what chromatic said, I'd like to point out that you've got the abstraction levels backwards by my lights: these days I tend to think of the class as a restricted form of role. A class is restricted to having to provide a working interface to real objects. Can I

Re: DBI v2 - Data In and Data Out

2005-07-13 Thread Yuval Kogman
On Wed, Jul 13, 2005 at 17:23:28 -0600, John Williams wrote: > The proposals so far have dealt mostly with the SQL itself, and > supporting database-neutral layers on top of DBI. > > Personally, I don't mind writing the SQL myself, I rarely need to make > a particular statement work on two databas