Re: How to help ?

2006-02-20 Thread Allison Randal
On Feb 20, 2006, at 16:21, Karl Forner wrote: I was expecting this kind of answer (Just Do It) ;-) Where/How could I add this kind of FAQ ? Write a draft, post it here for comments. Then polish it up and if it looks good, one of us will commit it. What you add may fit as a patch to docs/g

Re: Network Testing

2006-02-20 Thread David Steinbrunner
Matisse Enzer wrote: > > On Feb 17, 2006, at 7:57 AM, David Steinbrunner wrote: > >> ... that give the ability to ask for the current kb/s or the like. > > I think you'll have to roll your own, but you might get help from the > various NetPacket::* classes, such as >NetPacket::TCP Thanks f

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Matisse Enzer
On Feb 19, 2006, at 7:13 AM, Andreas J. Koenig wrote: Make sure you verify that all files in the distro are readable. Reject if the permissions are bogus. Recently we had an increasig number of distros that had absurd permissions. This reminds me - it doesn't seem like Module::Build allows on

Re: Network Testing

2006-02-20 Thread Matisse Enzer
On Feb 17, 2006, at 7:57 AM, David Steinbrunner wrote: ... that give the ability to ask for the current kb/s or the like. I think you'll have to roll your own, but you might get help from the various NetPacket::* classes, such as NetPacket::TCP -

Re: some newbie questions about synopsis 5

2006-02-20 Thread Damian Conway
Patrick clarified: At any rate, I find that having a subpattern capture base its index on the highest index of all of the previous alternation branches is easy to understand and works well in practice. It can also be easily changed with another alias if needed. I strongly agree, and would be

[perl #38598] [TODO] PIR Examples, Libraries, and Tests - Migrate to New Subroutine Attributes

2006-02-20 Thread via RT
# New Ticket Created by chromatic # Please include the string: [perl #38598] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38598 > Hi there, The old PIR subroutine attributes ("method", "@MULTI", "@MAIN", "@LOAD", "@IMM

Re: [perl #38597] Build broken on OS X?

2006-02-20 Thread Joshua Isom
I've spent a lot of time looking for something that would work(and found some stuff that documentation seemed to say should work but didn't for me), and on darwin, that's the only way I know how, either that or a static parrot. The only other option I can think of that would perhaps do the tri

Re: [perl #38597] Build broken on OS X?

2006-02-20 Thread Joshua Hoblitt
Is there some reason that this can't be a -L flag passed to CC? IMHO - it's bad policy to go littering makefile with env variable declaration as the effect is global until the end of the makefile. -J -- On Mon, Feb 20, 2006 at 06:40:24PM -0600, Joshua Isom wrote: > It was working on 11676, and I

Re: [perl #38597] Build broken on OS X?

2006-02-20 Thread Joshua Isom
It was working on 11676, and I got it to build with 11686. But I notice one problem: "Library not loaded: /usr/local/lib/libparrot.dylib" On darwin, if you want a shared parrot, you must set DYLD_LIBRARY_PATH to include parrot's blib/lib. For tcsh(os x default), it'd be "setenv DYLD_LIBRARY

Re: [perl #33603] Undef != Undef

2006-02-20 Thread Joshua Isom
And what about Null? And if they're not equal, what effect would that have on sorting? Although for sorting, I guess that NaN != NaN would have the some issue, but undef values in an array are more likely. On Feb 20, 2006, at 4:34 PM, Joshua Hoblitt via RT wrote: Can we get a design descisi

Re: [perl #31980] Factorial example gives incorrect result

2006-02-20 Thread Joshua Hoblitt
On Tue, Feb 21, 2006 at 01:03:59AM +0100, Leopold Toetsch wrote: > > On Feb 20, 2006, at 23:44, Joshua Hoblitt via RT wrote: > > >What happened to the factorial PASM example? It seems to have > >disappeared and it hasn't re-appeared as a PIR example either. > > It used bogus high numbers beyond

Re: How to help ?

2006-02-20 Thread Karl Forner
On 2/21/06, Allison Randal <[EMAIL PROTECTED]> wrote: > > On Feb 20, 2006, at 9:56, Bernhard Schmalhofer wrote: > > > >> P.S > >> I suppose that I'm not the only one willing to help facing this > >> difficulty. > >> Maybe a tutorial or a FAQ could attract more contributors ? > >> > > Yes. > > In fa

Re: [perl #31156] [TODO] Performance - Add profiling build options

2006-02-20 Thread Joshua Hoblitt
On Tue, Feb 21, 2006 at 01:02:23AM +0100, Leopold Toetsch wrote: > > On Feb 20, 2006, at 23:28, Joshua Hoblitt via RT wrote: > > >Is this really worth doing? Since profiling flags are compiler > >specific > >isn't it better to just let them be set as additional CFLAGS? > > How do I add to CFLA

Re: [perl #37388] [TODO] build - remove -expnetwork from Configure

2006-02-20 Thread Joshua Hoblitt
On Tue, Feb 21, 2006 at 01:01:11AM +0100, Leopold Toetsch wrote: > > On Feb 20, 2006, at 23:25, Joshua Hoblitt via RT wrote: > > >This flag is in use by the inter::exp step but it's not doing much. > >Should this flag be kept or not? > > I'd remove it, The whole step or just the flag? -J --

list_set_length

2006-02-20 Thread Karl Forner
I apologize for my probably naive question... Trying to decipher t/pmc/array.t, I began wondering what happens if you set a negative length to an array. It lead me to array.pmc::set_integer_native, which just forwards its size argument to list.c::list_set_length without any check. list_set_leng

Re: How to help ?

2006-02-20 Thread Allison Randal
On Feb 20, 2006, at 9:56, Bernhard Schmalhofer wrote: P.S I suppose that I'm not the only one willing to help facing this difficulty. Maybe a tutorial or a FAQ could attract more contributors ? Yes. In fact, this may be the best place you can start, even if it's only in the form of "he

Re: [perl #31980] Factorial example gives incorrect result

2006-02-20 Thread Leopold Toetsch
On Feb 20, 2006, at 23:44, Joshua Hoblitt via RT wrote: What happened to the factorial PASM example? It seems to have disappeared and it hasn't re-appeared as a PIR example either. It used bogus high numbers beyond int32 range and was just broken. leo

Re: [perl #31156] [TODO] Performance - Add profiling build options

2006-02-20 Thread Leopold Toetsch
On Feb 20, 2006, at 23:28, Joshua Hoblitt via RT wrote: Is this really worth doing? Since profiling flags are compiler specific isn't it better to just let them be set as additional CFLAGS? How do I add to CFLAGS from the perl Configure.pl command? leo

Re: [perl #37388] [TODO] build - remove -expnetwork from Configure

2006-02-20 Thread Leopold Toetsch
On Feb 20, 2006, at 23:25, Joshua Hoblitt via RT wrote: This flag is in use by the inter::exp step but it's not doing much. Should this flag be kept or not? I'd remove it, leo

[perl #38597] Build broken on OS X?

2006-02-20 Thread via RT
# New Ticket Created by Will Coleda # Please include the string: [perl #38597] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38597 > r11684 make realclean CXX='ccache g++-4.0' CC='ccache gcc-4.0' /usr/bin/perl Configure.

Re: Building parrot-0.4.1 on Win32

2006-02-20 Thread Joshua Hoblitt
On Tue, Feb 21, 2006 at 10:06:36AM +1100, Sisyphus wrote: > Yes, /usr/local/lib is already in /etc/ld.so.conf. Perhaps you need to run `ldconfig` as root. > $LD_LIBRARY_PATH is initially empty. If I don't add '/usr/local/lib' to it, > then when I run 'parrot hello.pir', I get (transcribed): > >

Re: Building parrot-0.4.1 on Win32

2006-02-20 Thread Sisyphus
- Original Message - From: "Nick Glencross" <[EMAIL PROTECTED]> To: "Sisyphus" <[EMAIL PROTECTED]>; "Perl 6 Internals" Sent: Monday, February 20, 2006 9:47 PM Subject: Re: Building parrot-0.4.1 on Win32 > On 2/20/06, Sisyphus <[EMAIL PROTECTED]> wrote: > > > Oh one other thing ...

[perl #31980] Factorial example gives incorrect result

2006-02-20 Thread Joshua Hoblitt via RT
What happened to the factorial PASM example? It seems to have disappeared and it hasn't re-appeared as a PIR example either. -J --

[perl #31138] [TODO] build - Configure - dependencies fix

2006-02-20 Thread Joshua Hoblitt via RT
No one ever made any actualy attempt to impliment the build in scons, makepp, etc. and since we're moving towards Configure in PASM/miniparrot I'm going to close out this bug. -J --

[perl #33603] Undef != Undef

2006-02-20 Thread Joshua Hoblitt via RT
> [EMAIL PROTECTED] - Wed Dec 29 18:22:10 2004]: > > > This code: > > new P0, .Undef > new P1, .Undef > eq P0, P1, L1 > print "not " > L1: print "ok\n" > end > > prints "not ok". Should it? If Parrot considers every Undef PMC to > be distinct, it's going to ma

[perl #31156] [TODO] Performance - Add profiling build options

2006-02-20 Thread Joshua Hoblitt via RT
> [coke - Sun Aug 15 13:41:43 2004]: > > Add profiling build options > > (From the TODO file) > > Is this really worth doing? Since profiling flags are compiler specific isn't it better to just let them be set as additional CFLAGS? -J --

[perl #37388] [TODO] build - remove -expnetwork from Configure

2006-02-20 Thread Joshua Hoblitt via RT
This flag is in use by the inter::exp step but it's not doing much. Should this flag be kept or not? -J --

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Tyler MacDonald
Adam Kennedy <[EMAIL PROTECTED]> wrote: > > I'd still like such a thing to be visible in some way. Of course > >you're going to happily skip tests that require a database if you don't > >have DBI_DSN set. > Not necesarily... it all depends on how important it is to you. I see > some potential

Re: WRT *BooleanArray

2006-02-20 Thread Leopold Toetsch
On Feb 20, 2006, at 18:25, Bernhard Schmalhofer wrote: Is there a performance penalty for having these methods? No, just a bit of more code size. Well, looks like compiler writers wants these methods, so we'll keep 'em. leo

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Adam Kennedy
Now 100% skips, THAT could potentially be interesting, or maybe TODOs. But then I don't necesarily know why it would be worthy of a different result code. Is there metadata stored apart from these result codes? If so it might be useful to just store the statistics on skips. Assuming this

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Tyler MacDonald
Adam Kennedy <[EMAIL PROTECTED]> wrote: > Firstly is that it might turn an otherwise normal result into something > else, with no clear rule. It makes a judgement call that some level of > testing is good or bad, which isn't really the place of an installer to > call. > > The reason Kwalitee ha

Re: How to help ?

2006-02-20 Thread Bernhard Schmalhofer
Karl Forner schrieb: Hi all, I'd really like to try helping developing Perl6 and Parrot, I subscribed to the mailing-list, read some docs, got and compiled parrot via svn (in a vmware-played ubuntu ;-) ). Welcome Karl. But it is not obvious to see where to begin, and where I can be usefu

Re: WRT *BooleanArray

2006-02-20 Thread Bernhard Schmalhofer
Bob Rogers schrieb: From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Mon, 20 Feb 2006 14:55:03 +0100 in order to store the contents of a PMC into a boolean array? What do I et al. I think, if you use a BooleanArray with compact storage you are knowing why and don't need automatic conver

WRT *BooleanArray

2006-02-20 Thread Bob Rogers
From: Leopold Toetsch <[EMAIL PROTECTED]> Date: Mon, 20 Feb 2006 14:55:03 +0100 *) I don't think that *BooleanArray should support: set P0[0], 3.2 set P0[1], "foo" set P0[2], P1 So I would need to do set I1, P1 set P0[2], I1 in order to store the cont

Re: WRT *BooleanArray

2006-02-20 Thread Matt Fowles
Leo~ On 2/20/06, Leopold Toetsch <[EMAIL PROTECTED]> wrote: > *) the resizable variant is heavily borked WRT allocation size > fixes welcome > > *) I don't think that *BooleanArray should support: > >set P0[0], 3.2 >set P0[1], "foo" >set P0[2], P1 > > nor > >set N0, P[0] >.

[perl #38594] [BUG] source line numbers

2006-02-20 Thread via RT
# New Ticket Created by Leopold Toetsch # Please include the string: [perl #38594] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/rt3/Ticket/Display.html?id=38594 > PASM/PIR source line info is off by one (at least) on several instructions. Please

Re: 'ghc-pkg.exe: cannot find package plugins' during 'perl Makefile.PL'

2006-02-20 Thread Audrey Tang
Syed Uzair Aqeel wrote: > pugs-tmp-4928.hs:5:2: Not in scope: `setCatchSigwinch' > Substitution pattern not terminated at (eval 12) line 1. Does Makefile.PL die right there, or does it go on and write a Makefile? If the latter, you should be able to just continue "make; make install". Audrey s

WRT *BooleanArray

2006-02-20 Thread Leopold Toetsch
*) the resizable variant is heavily borked WRT allocation size fixes welcome *) I don't think that *BooleanArray should support: set P0[0], 3.2 set P0[1], "foo" set P0[2], P1 nor set N0, P[0] ... et al. I think, if you use a BooleanArray with compact storage you are knowing why

Code freeze

2006-02-20 Thread Leopold Toetsch
Folks, developers, countrymen, the next release will go out soon (very likely this Wed), which means: * no more feature changes to parrot core, config, libs * bug fixes, documentation updates are very welcome as well as: * test results, smoke and PLATFORMS updates Thanks, leo

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Sébastien Aperghis-Tramoni
Barbie wrote: > > 12. System is incompatible with the package. > > Linux::, Win32::, Mac:: modules. Irreconcilable differences. > > Not sure how you would cover this, but point 12 seems to possibly fit. > POSIX.pm is created for the platform it's installed on. A recent package > I was testing,

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Adam Kennedy
Regarding the blow, I may have been a little unclear on the layout of the points. The first line is the name of the error. Following lines are meant to provide details to help clarify what it means. Barbie wrote: On Sun, Feb 19, 2006 at 10:22:20PM +1100, Adam Kennedy wrote: 2. Incompatible p

How to help ?

2006-02-20 Thread Karl Forner
Hi all, I'd really like to try helping developing Perl6 and Parrot, I subscribed to the mailing-list, read some docs, got and compiled parrot via svn (in a vmware-played ubuntu ;-) ). But it is not obvious to see where to begin, and where I can be useful. My main objective is to have a fast, rel

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Yitzchak Scott-Thoennes
On Mon, Feb 20, 2006 at 11:36:27AM +, Barbie wrote: > > 12. System is incompatible with the package. > > Linux::, Win32::, Mac:: modules. Irreconcilable differences. > > Not sure how you would cover this, but point 12 seems to possibly fit. > POSIX.pm is created for the platform it's insta

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Tels
Moin, On Monday 20 February 2006 04:20, Adam Kennedy wrote: > (Andreas J. Koenig) wrote: > >> On Sun, 19 Feb 2006 22:22:20 +1100, Adam Kennedy <[EMAIL PROTECTED]> > >> said: > > > > > > 1. Broken or corrupt packaging. > > > A bad tarball, MANIFEST files missing. > > > > Make sur

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Barbie
On Sun, Feb 19, 2006 at 10:22:20PM +1100, Adam Kennedy wrote: > > 2. Incompatible packaging. > Packaging unwraps, but missing files for the testing scheme. You may want to split this into a result that contains no test suite at all (UNKNOWN) and one that has missing files according to the M

Re: Building parrot-0.4.1 on Win32

2006-02-20 Thread Nick Glencross
On 2/20/06, Sisyphus <[EMAIL PROTECTED]> wrote: > Oh one other thing on Linux I had to add (the standard location) > /usr/local/lib to LD_LIBRARY_PATH. I've not had to do that before ... and > the README suggests that I shouldn't have to do it wrt parrot. It says: > > "But please note th

Re: Building parrot-0.4.1 on Win32

2006-02-20 Thread Sisyphus
- Original Message - From: "Jonathan Worthington" . . > So > I guess one answer is to try the latest Parrot, either from SVN or by > downloading a snapshot: > http://svn.perl.org/snapshots/parrot/ > Thanks for the reply, Jonathan. A few things came up and I've not been able to get back u