Re: Binary distributions

2006-02-05 Thread David Golden
Tyler MacDonald wrote: 3) Tests are failing because of ActiveState's build system For 3), that could mean because the build system itself is screwed or they don't have some library available. Phillipe Chaisson aka "Gozer" (one of the mod_perl authors) is responsible for

Re: [perl #38406] [BUG] PGE - truncating PIR code generated by p6rule

2006-02-05 Thread Leopold Toetsch
On Feb 5, 2006, at 8:17, Allison Randal wrote: On Feb 4, 2006, at 16:51, Joshua Isom via RT wrote: 41 callmethodcc P1, "dump" - P1=Object(PAST::Node)=PMC(0x50ba68), 102 get_params PMC_C[29] (2), P0, I0 - , P0=PMCNULL, I0=5289976 106 repeat S0, "", I0- , ,

Param count checks

2006-02-05 Thread Leopold Toetsch
I've temporarely turned on [1] strict args/param count mismatch errors. Doesn't look too good. WRT return/results count mismatch, I think, this should be a little less strict and allow 'void' function calls of functions that return something [2]. But that's a different issue. Failed Test

Re: A GraphViz eye view of Parrot

2006-02-05 Thread Nicholas Clark
On Sat, Feb 04, 2006 at 11:18:59PM -0800, Allison Randal wrote: > It's just a Perl script, so yeah, could be done. Is it valuable > enough to spend the time? I was thinking of it as more of a one-off > for the heck of it. I don't know, and I'm not in a good position to judge given that I've n

Re: Binary distributions

2006-02-05 Thread Tels
Moin Offer Kaye (sorry, can't identify which part of your name which is the one you are called by :-) On Sunday 05 February 2006 07:59, Offer Kaye wrote: > On 1/28/06, Tels wrote: > > Of course you must reliaze that, except for pure-perl modules and > > very controlled environments, binary distri

Universal Roles, and deriving these roles for any class

2006-02-05 Thread Yuval Kogman
Background: At work we have a big C++ project. I just added a new object, and now $boss asked me to add the send/receive interface. These two methods allow an object to be serialized to and from a stream. Essentially it means // superclass methods for core types sendInt(int_member

Re: Binary distributions

2006-02-05 Thread Adam Kennedy
Tyler MacDonald wrote: Offer Kaye <[EMAIL PROTECTED]> wrote: Why not start off by providing ppm.cpan.org (as the OP suggested for linux distors), or something similar? There are many modules that I want to use where the PPM version provided by ActiveState or some other repository is badly of out

Re: TODO test paradox: better TODO test management?

2006-02-05 Thread demerphq
On 2/1/06, chromatic <[EMAIL PROTECTED]> wrote: > Having the test suite quit and say "Sorry, don't use this -- it works better > than we expect" seems awfully silly. Again, there's already a way to catch > your (rare) catastrophic bonus tests -- capture and check their return > values. Yes it is

Re: TODO test paradox: better TODO test management?

2006-02-05 Thread demerphq
On 2/5/06, demerphq <[EMAIL PROTECTED]> wrote: > On 2/1/06, chromatic <[EMAIL PROTECTED]> wrote: > > Having the test suite quit and say "Sorry, don't use this -- it works better > > than we expect" seems awfully silly. Again, there's already a way to catch > > your (rare) catastrophic bonus tests

Re: Binary distributions

2006-02-05 Thread Shlomi Fish
On Sunday 05 February 2006 13:54, Tels wrote: > Moin Offer Kaye (sorry, can't identify which part of your name which is > the one you are called by :-) > Just for everybody's information: Offer is his first name. (Means "Bambi" in Hebrew). Kaye is his last name. (Don't know what it means - it's

Re: Param count checks

2006-02-05 Thread Roger Browne
In another thread, Leopold Toetsch wrote: > ... WRT return/results count mismatch, I think, this > should be a little less strict and allow 'void' function calls of > functions that return something [2]. But that's a different issue. Some languages (including Amber) make a clear distinction be

Re: Param count checks

2006-02-05 Thread Chip Salzenberg
On Sun, Feb 05, 2006 at 07:35:17PM +, Roger Browne wrote: > In another thread, Leopold Toetsch wrote: > > ... WRT return/results count mismatch, I think, this > > should be a little less strict and allow 'void' function calls of > > functions that return something [2]. But that's a differen

Re: Is S05 correct?

2006-02-05 Thread Andrew Savige
--- Larry Wall wrote: > Yes, that's a typo. Which reminds me, I noticed some Synopsis typos as follows. S03: 1) "List flattening" section, sixth paragraph: ... call semantics as is does in scalar context Change "is" to "it". S04: 1) "The do-once loop" section, last paragraph: ... follow

Re: Binary distributions

2006-02-05 Thread Offer Kaye
On 2/5/06, Shlomi Fish wrote: > On Sunday 05 February 2006 13:54, Tels wrote: > > Moin Offer Kaye (sorry, can't identify which part of your name which is > > the one you are called by :-) > > > > Just for everybody's information: > > Offer is his first name. (Means "Bambi" in Hebrew). Moin Tels, d

Default tests, beta testing, etc.

2006-02-05 Thread Bryce Harrington
Chromatic and I were discussing CPAN testing at a conference yesterday. I made some comments about things that I thought would be useful and he encouraged me to post them here... Default tests - Like probably a lot of perl module writers, I don't write tests nearly as often as I should, but I h

Re: PGE vs bindings (was Re: embparrot still has two failures)

2006-02-05 Thread Patrick R. Michaud
On Sun, Feb 05, 2006 at 11:34:33AM +0800, Audrey Tang wrote: > That seems to be a fatal error at PGE's side: > >$ echo 'rule $x:=[]' | parrot demo.pir >error:imcc:syntax error, unexpected ']' >in file 'EVAL_2' line 79 I've now updated PGE (r11427) so that it provides a more useful e

Re: Binary distributions

2006-02-05 Thread Offer Kaye
On 2/5/06, Tyler MacDonald wrote: > >ActiveState always serves the last available version where all tests > passed on a given platform. It attempts to build and test every package on > CPAN at least once a week. If something isn't available, it means the tests > failed, which could mean: >

Re: Binary distributions

2006-02-05 Thread Tyler MacDonald
Offer Kaye <[EMAIL PROTECTED]> wrote: > Just an example, IO::All [1] version 0.33 has been available since Dec > 17, 2004. It passed testing many times, at least according to its > testers page [2]. My default 5.8.7 ActivePerl distribution lists > IO::All version 0.17 . According to http:/

Re: Param count checks

2006-02-05 Thread Roger Browne
I wrote: > > Some languages (including Amber) make a clear distinction between > > queries (which return something) and commands (which return nothing). > > > > If possible, please make the "little less strict" checking of function > > calls be optional [...] Chip: > Please detail this "query" vs

Re: Binary distributions

2006-02-05 Thread Tyler MacDonald
Offer Kaye <[EMAIL PROTECTED]> wrote: > >Phillipe Chaisson aka "Gozer" (one of the mod_perl authors) is > > responsible for the ActiveState PPM repositories now, > Hi Gozer, nice to meet you. Gratz on ActiveState's move to a new > company, good luck :) It's a Good Thing for all com

[perl #38438] r11402 tcl failures

2006-02-05 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #38438] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38438 > in r11401, all tcl tests passed on my machine. in r11402, I get several test failures:

Re: Default tests, beta testing, etc.

2006-02-05 Thread Chris Dolan
On Feb 5, 2006, at 2:36 PM, Bryce Harrington wrote: [snip] It would seem to be useful if CPAN were to have a couple really basic tests like this to run for perl modules that haven't created any tests themselves. Obviously, this only benefits immature modules, but this might be a

Re: Default tests, beta testing, etc.

2006-02-05 Thread Michael Peters
Bryce Harrington wrote: > Beta testing - CPAN tracks intra-module dependencies, and does automated > testing, but only on released modules. It would seem useful to allow > an author to upload a "beta" version of their module, and then run the > tests of a dozen or so modules that depend o

IPC::Run or something else?

2006-02-05 Thread Tamas Dober
Hello, I'm a beginner, please forgive me b/c of the simple questions. I'd like to test that that a batch file (starting a Java app) gives me the expected output or not. What I have now: use strict; use warnings; use IPC::Run 'run'; my $out; my @ls = ( '\/perl\/Feb\/packager\/bin\/package.ba

Re: IPC::Run or something else?

2006-02-05 Thread Tyler MacDonald
Tamas Dober <[EMAIL PROTECTED]> wrote: > Hello, > > I'm a beginner, please forgive me b/c of the simple questions. > > I'd like to test that that a batch file (starting a Java app) gives me the > expected output or not. I really like IPC::Run, but it is a bit of a heavy package to make

Re: IPC::Run or something else?

2006-02-05 Thread David Golden
Tamas Dober wrote: I'd like to test that that a batch file (starting a Java app) gives me the expected output or not. Could you please help me what direction I should go, what module should I use? I've had good experiences with IPC::Run3. It's pretty lightweight and intuitive. If you would

Re: Default tests, beta testing, etc.

2006-02-05 Thread Sébastien Aperghis-Tramoni
Bryce Harrington wrote: Default tests - Like probably a lot of perl module writers, I don't write tests nearly as often as I should, but I have collected a few simple default tests that I can toss into a new module and reuse without modification. For example: http://search.cpan.org/src

Re: Param count checks

2006-02-05 Thread Chip Salzenberg
On Sun, Feb 05, 2006 at 09:37:39PM +, Roger Browne wrote: > Some languages (such as Amber and Eiffel) make a formal distinction > between commands (which can change state but do not return a value) and > queries (which return a value but cannot change state). Interesting terminology. > A solu

overloading the variable declaration process

2006-02-05 Thread Darren Duncan
All, Speaking briefly, I would like it if Perl 6 provided a way for a class (or role, or meta-class, etc) to declare that all variables declared to be of that type are automatically/implicitly set to a particular value at declaration time, so that they are not undefined if the programmer usin

Re: Default tests, beta testing, etc.

2006-02-05 Thread A. Pagaltzis
* Bryce Harrington <[EMAIL PROTECTED]> [2006-02-05 21:40]: > http://search.cpan.org/src/BRYCE/Test-Parser-1.00/t/01_script_compile.t I know this is beside the point, but I have to point out that this script will break on at least Windows – and probably every other non-Unix OS as well. * Sébastien

Re: Binary distributions

2006-02-05 Thread Offer Kaye
On 2/5/06, Offer Kaye wrote: > > [3] > http://ppm.activestate.com/BuildStatus/5.8-windows/windows-5.8/Scalar-List-Util-1.15.txt > Something funky here... Last night I looked at "Scalar-List-Util"... but the correct name as Tyler said is "Scalar-List-Utils", with an "s" at the end. Looking at [1]

Re: Binary distributions

2006-02-05 Thread Yitzchak Scott-Thoennes
On Mon, Feb 06, 2006 at 08:16:11AM +0200, Offer Kaye wrote: > OT question - why is Scalar-List-Utils listed as "CORE"? It is not > part of the Perl5 core http://perldoc.perl.org/perl58delta.html#New-Modules-and-Pragmata

Re: IPC::Run or something else?

2006-02-05 Thread Yuval Kogman
On Sun, Feb 05, 2006 at 15:42:26 -0800, Tamas Dober wrote: > It seems I couldn't redirect the output. This is probably because the program prints on STDERR. Look into the redirect examples, and try to also capture \$err after \$out - see if that helps > Maybe IPC::Run is not a good choice? I th

Re: A GraphViz eye view of Parrot

2006-02-05 Thread dakkar
Nicholas Clark wrote: On Sat, Feb 04, 2006 at 11:18:59PM -0800, Allison Randal wrote: It's just a Perl script, so yeah, could be done. Is it valuable enough to spend the time? I was thinking of it as more of a one-off for the heck of it. I don't know, and I'm not in a good position to judge giv

Re: overloading the variable declaration process

2006-02-05 Thread Audrey Tang
On 2/6/06, Darren Duncan <[EMAIL PROTECTED]> wrote: > Speaking briefly, I would like it if Perl 6 provided a way for a > class (or role, or meta-class, etc) to declare that all variables > declared to be of that type are automatically/implicitly set to a > particular value at declaration time, so t

Re: Binary distributions

2006-02-05 Thread Offer Kaye
On 2/6/06, Yitzchak Scott-Thoennes wrote: > > http://perldoc.perl.org/perl58delta.html#New-Modules-and-Pragmata > I see what you mean... what threw me off was that it is not listed under: http://search.cpan.org/dist/perl-5.8.8/ Cheers, -- Offer Kaye

Re: PGE vs bindings (was Re: embparrot still has two failures)

2006-02-05 Thread Audrey Tang
On 2/6/06, Patrick R. Michaud <[EMAIL PROTECTED]> wrote: > On Sun, Feb 05, 2006 at 11:34:33AM +0800, Audrey Tang wrote: > > That seems to be a fatal error at PGE's side: > > > >$ echo 'rule $x:=[]' | parrot demo.pir > >error:imcc:syntax error, unexpected ']' > >in file 'EVAL_2' line 79

Re: Default tests, beta testing, etc.

2006-02-05 Thread Adam Kennedy
Beta testing - CPAN tracks intra-module dependencies, and does automated testing, but only on released modules. It would seem useful to allow an author to upload a "beta" version of their module, and then run the tests of a dozen or so modules that depend on it. This way, you would gain

Re: IPC::Run or something else?

2006-02-05 Thread Adam Kennedy
David Golden wrote: Tamas Dober wrote: I'd like to test that that a batch file (starting a Java app) gives me the expected output or not. Could you please help me what direction I should go, what module should I use? I've had good experiences with IPC::Run3. It's pretty lightweight and intu

Re: IPC::Run or something else?

2006-02-05 Thread Yuval Kogman
On Mon, Feb 06, 2006 at 18:38:32 +1100, Adam Kennedy wrote: > I second this. IPC::Run3 has treated me well on a few occasions, and I'm > gradually porting various things of mine over to IPC::Run3 as they come to my > attention for other issues. It looks like the ugprade path from IPC::Run3 to I

Re: Binary distributions

2006-02-05 Thread Adam Kennedy
Tyler MacDonald wrote: Offer Kaye <[EMAIL PROTECTED]> wrote: Just an example, IO::All [1] version 0.33 has been available since Dec 17, 2004. It passed testing many times, at least according to its testers page [2]. My default 5.8.7 ActivePerl distribution lists IO::All version 0.17 .