Re: Unintended consequences

2006-05-23 Thread David H. Adler
On Mon, May 22, 2006 at 09:45:31PM -0500, Andy Lester wrote: Here's an example of why I'm not real excited about CPANTS: http://community.livejournal.com/perl/120747.html You mean the fact that there's a perl community on LJ? :-) dha -- David H. Adler - [EMAIL PROTECTED] -

RE: Getting to hello world?

2006-05-23 Thread Conrad Schneiker
James Peregrino [EMAIL PROTECTED] writes: You folks took me too literally :) I meant: Given a system without pugs/parrot/haskell (I assume perl5 is required), what are the things you need to install I just translated my german Pugs First Blood notes about how to compile Pugs. Try one

CPANTS is not a game.

2006-05-23 Thread Michael G Schwern
I haven't looked at what's going on in CPANTS for a while but Andy's post made me have a look and oh dear. There's a problem. CPANTS is not a game. If you make it a game, the system does not work. Let's review. CPANTS is not a measure of module quality since module quality is not well defined

Re: Getting to hello world?

2006-05-23 Thread James E Keenan
Gabor Szabo wrote: On Ubuntu it was quite straigt forward, I think this is everything I needed: sudo apt-get install subversion sudo apt-get install ghc6 Given that, in the above, you installed subversion and ghc6 for all users ... [snip] # To compile Parrot svn co

(Existing) Perl 6 Wiki: (http://perl.net.au/wiki/Perl_6).

2006-05-23 Thread Conrad Schneiker
I was googling around, looking for the most suitable Perl Wiki for a possible addition of a Perl 6 section, and happened across this site: Perl 6 Wiki: (http://perl.net.au/wiki/Perl_6). Their posted policies, FAQ, and (http://perl.net.au/wiki/PerlNet:About), seem to be very favorably

Re: CPANTS is not a game.

2006-05-23 Thread Yuval Kogman
On Tue, May 23, 2006 at 01:18:48 -0700, Michael G Schwern wrote: I haven't looked at what's going on in CPANTS for a while but Andy's post made me have a look and oh dear. There's a problem. CPANTS is not a game. If you make it a game, the system does not work. Likewise it should not test

Re: (Existing) Perl 6 Wiki: (http://perl.net.au/wiki/Perl_6).

2006-05-23 Thread Juerd
Conrad Schneiker skribis 2006-05-23 0:42 (-0700): Perl 6 Wiki: (http://perl.net.au/wiki/Perl_6). That's a nice page, and Mediawiki is a nice wiki. But I'd really prefer a wiki written in Perl 6, because it's about time we started to show off. Serving important information with PHP is

Re: CPANTS is not a game.

2006-05-23 Thread Smylers
Michael G Schwern writes: There's a problem. CPANTS is not a game. If you make it a game, the system does not work. Hi there. I made a similarish point on this list about a year ago, to which you replied: http://groups.google.co.uk/[EMAIL PROTECTED] Your reply included: Finally, the

Re: CPANTS is not a game.

2006-05-23 Thread Andy Lester
How do you get authors to actually look at the CPANTS information and make corrections? Well, we like competition. Make it a game! So it was you -- or somebody impersonating you on this list -- who managed to persuade me that actually Cpants being a game was a good thing! The key is

Re: CPANTS is not a game.

2006-05-23 Thread David Golden
Andy Lester wrote: How do you get authors to actually look at the CPANTS information and make corrections? Well, we like competition. Make it a game! So it was you -- or somebody impersonating you on this list -- who managed to persuade me that actually Cpants being a game was a good

Re: Newbe: How do I configure @*INC ?

2006-05-23 Thread Jonathan Scott Duff
On Mon, May 22, 2006 at 11:02:15PM -0500, John M. Dlugosz wrote: Anyway, where is the configuration kept? I need to change the default values of @*INC to be where my copy is really located. You should be able to set the PERL6LIB environment variable to contain a semi-colon (on win32)

Re: CPANTS is not a game.

2006-05-23 Thread Chris Dolan
On May 23, 2006, at 8:39 AM, David Golden wrote: How does is_prereq improve quality? Or, put differently, how does measuring something that an author can't control create an incentive to improve? is_prereq is usually a proxy metric for software maturity: if someone thinks your module is

Re: [perl #39135] Problem with concat on Match objects

2006-05-23 Thread Leopold Toetsch
Am Samstag, 13. Mai 2006 05:36 schrieb Patrick R.Michaud (via RT): I've run into the following problem using concat with Match objects from PGE.  The code below performs a match, then attempts to concatenate a string with the results of the returned Match object: This is now fixed, I've

Re: CPANTS is not a game.

2006-05-23 Thread H.Merijn Brand
On Tue, 23 May 2006 09:35:27 -0500, Chris Dolan [EMAIL PROTECTED] wrote: On May 23, 2006, at 8:39 AM, David Golden wrote: How does is_prereq improve quality? Or, put differently, how does measuring something that an author can't control create an incentive to improve? is_prereq is

Re: CPANTS is not a game.

2006-05-23 Thread David Golden
Chris Dolan wrote: is_prereq is usually a proxy metric for software maturity: if someone thinks your module is good enough that he would rather depend on it than reinvent it, then it's probably a better-than-average module on CPAN. is_prereq is usually a vote of confidence, so it is likely a

Re: CPANTS is not a game.

2006-05-23 Thread Chris Dolan
On May 23, 2006, at 10:34 AM, David Golden wrote: Chris Dolan wrote: ... just checking for the presence of a t/pod_coverage.t file (which is a weak proxy for POD quality, but dramatically easier to measure). It doesn't check for the existence of a t/pod_coverage.t file. It checks that

Re: CPANTS is not a game.

2006-05-23 Thread Chris Dolan
On May 23, 2006, at 10:15 AM, H.Merijn Brand wrote: is_prereq is usually a vote of confidence, I respectfully disagree completely. It's been more than once that I did *not* install a module because it required a module that I did not trust, either because of (the programming style of) the

Re: (Existing) Perl 6 Wiki: (http://perl.net.au/wiki/Perl_6)

2006-05-23 Thread Conrad Schneiker
Please see forwarded note below. (( Paul: Didn't see this show up in the archives, so I'm forwarding it on your behalf. Looks like you have to be subscribed to post. Details for doing that are in: http://www.athenalab.com/Perl_6_Users_FAQ.htm Also please look at a posted reply:

Re: (Existing) Perl 6 Wiki: (http://perl.net.au/wiki/Perl_6)

2006-05-23 Thread Michael Mathews
I for one, think a Perl6-users wiki would be extremely useful, I'm just not sure why a site that distinguishes itself as a portal for the Australian and New Zealand Perl community makes the most sense (particularly to anyone trying to find the Perl6-users wiki from outside this mailing list).

perl 6 hosting?

2006-05-23 Thread Michael Mathews
I realise its still very, very early days, but considering the growing number of people who would enjoy just dabbling a little in perl6, it seems unreasonable to expect that the average person would install the many megabytes of beta (alpha?) software required, and keep it all updated with the

Re: perl 6 hosting?

2006-05-23 Thread Chris Yocum
That is an interesting idea but, as you say, fraught with security problems. Maybe we can find a team of people to create binaries on a regular basis for most of the major platforms? That would mitigate the security concerns and allow people to run up-to-date stuff. This is just a thought,

Re: CPANTS is not a game.

2006-05-23 Thread Michael G Schwern
On 5/23/06, David Golden [EMAIL PROTECTED] wrote: How does is_prereq improve quality? Can we avoid getting side-tracked by individual indicators? Move it to another thread, please.

Re: perl 6 hosting?

2006-05-23 Thread Andrew Shitov
updated with the latest releases. However, if someone had already done that, why not let folks log in remotely via shell accounts and try out the latest version on that computer? I have played with server-side Perl 6 m-m-m about two years ago: http://real.perl6.ru/. Wokrs well since April

Re: CPANTS is not a game.

2006-05-23 Thread Michael G Schwern
On 5/23/06, Andy Lester [EMAIL PROTECTED] wrote: How do you get authors to actually look at the CPANTS information and make corrections? Well, we like competition. Make it a game! So it was you -- or somebody impersonating you on this list -- who managed to persuade me that actually

[perl #39188] imcc dumps core when called with -o file.pasm.

2006-05-23 Thread via RT
# New Ticket Created by Andy Dougherty # Please include the string: [perl #39188] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=39188 As of this morning's snapshot (Tue May 23 07:15:07 2006 UTC) The following

[perl #39190] [PATCH] trivial ./parrot -h help text patch

2006-05-23 Thread via RT
# New Ticket Created by Andy Dougherty # Please include the string: [perl #39190] # in the subject line of all future correspondence about this issue. # URL: https://rt.perl.org/rt3/Ticket/Display.html?id=39190 Trying to debug why imcc dumps core, I puzzled over why parrot wouldn't accept

[perl #39190] [PATCH] trivial ./parrot -h help text patch

2006-05-23 Thread Will Coleda via RT
Thanks, applied.

Re: perl 6 hosting?

2006-05-23 Thread Randy W. Sims
Michael Mathews wrote: I realise its still very, very early days, but considering the growing number of people who would enjoy just dabbling a little in perl6, it seems unreasonable to expect that the average person would install the many megabytes of beta (alpha?) software required, and keep it

Re: perl 6 hosting?

2006-05-23 Thread Michael Mathews
Um, yes anyone wanna work on a tryperl6 virtual shell? --michael onperl.og On 23/05/06, Randy W. Sims [EMAIL PROTECTED] wrote: Maybe something along the lines of http://tryruby.hobix.com/ Randy.

[svn:parrot-pdd] r12774 - trunk/docs/pdds/clip

2006-05-23 Thread chip
Author: chip Date: Tue May 23 11:06:17 2006 New Revision: 12774 Modified: trunk/docs/pdds/clip/pdd23_exceptions.pod Log: Half-done. The new opcodes and directives are certain, and can be the basis of implementation work immediately. Modified: trunk/docs/pdds/clip/pdd23_exceptions.pod

Re: CPANTS is not a game.

2006-05-23 Thread chromatic
On Tuesday 23 May 2006 07:35, Chris Dolan wrote: is_prereq is usually a proxy metric for software maturity: if someone   thinks your module is good enough that he would rather depend on it   than reinvent it, then it's probably a better-than-average module on   CPAN. Contra: File::Find. --

Simple Print/Say Question

2006-05-23 Thread Chris Yocum
Hi all, I was converting a program that I wrote a while back from Perl5 to Perl6 and I got stuck on something really easy. In Perl5, when I want to print something out, in this case an array with lines between the columns, like this: 1|2|3 I would say something like: print $array[0] . | .

Re: Simple Print/Say Question

2006-05-23 Thread Gabor Szabo
On 5/23/06, Chris Yocum [EMAIL PROTECTED] wrote: 1|2|3 I would say something like: print $array[0] . | . $array[1] . | . $array[2] . \n; not the best way but it works. In Perl6 if say something like this: print @array[0] ~ | ~ @array[1] ~ | ~ @array[2] . \n; I get 1 2 3 | | | My

Re: Simple Print/Say Question

2006-05-23 Thread Chris Yocum
Oops. That last . is a typo on my part. Sorry about that! It should read, which it does in my code: print @array[0] ~ | ~ @array[1] ~ | ~ @array[2] ~ \n; However, your say join technique does not work. I will keep on it but for now I am off to dinner! Thanks!, Chris On 5/23/06, Gabor

Re: Simple Print/Say Question

2006-05-23 Thread Fagyal Csongor
Chris, Strange. I have just tried this using an old version (6.2.3) of Pugs: my (@array) = 1,2,3; print @array[0] ~ | ~ @array[1] ~ | ~ @array[2] ~ \n; It prints 1|2|3 on my terminal. Gabor's join-ed version also works. - Fagzal Oops. That last . is a typo on my part. Sorry about that!

Re: Simple Print/Say Question

2006-05-23 Thread Chris Yocum
Dear Fagyal, Huh. Strange. I tried the code on its own without the rest of the script and it did just fine as well. There must be something wrong in my script somewhere. Chris On 5/23/06, Fagyal Csongor [EMAIL PROTECTED] wrote: Chris, Strange. I have just tried this using an old

Re: Simple Print/Say Question

2006-05-23 Thread Ovid
This seems to work for me: pugs -e 'say (1,2,3).join(|)' 1|2|3 Or even: pugs -e '(1,2,3).join(|).say' 1|2|3 Cheers, Ovid -- If this message is a response to a question on a mailing list, please send follow up questions to the list. Web Programming with Perl --

Re: Simple Print/Say Question

2006-05-23 Thread Chris Yocum
Huh. The script is not too long so I will post it here for people to see since I cannot see anything wrong with it. It is just embarrassing to give out bad code. All it does is solves a bucket problem, which I have been working on for something else.

Re: Simple Print/Say Question

2006-05-23 Thread Chris Yocum
Dear Mr. Bach, You were indeed correct so I wrapped the %hash like this @{%hash} like you would to de-refrence an array and it worked perfectly. It was indeed just me. Thanks to everyone that responded! Chris On 5/23/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Oh, I just saw some

Re: CPANTS is not a game.

2006-05-23 Thread Thomas Klausner
Hi! I missed most of this discussion due to work and a very important shopping trip to IKEA (well, maybe not that important, but I'll let you argue this out with my girlfriend...) I'm also a bit exhausted now, so here are just some semi-random comments on this thread: - I think the biggest

[svn:perl6-synopsis] r9306 - doc/trunk/design/syn

2006-05-23 Thread larry
Author: larry Date: Tue May 23 12:54:49 2006 New Revision: 9306 Modified: doc/trunk/design/syn/S02.pod Log: Ambiguity noted by spinclad++. Modified: doc/trunk/design/syn/S02.pod == --- doc/trunk/design/syn/S02.pod

Perl 6 and Parrot links

2006-05-23 Thread Jurosz Michal
Hello, feel free to use http://wiki.kn.vutbr.cz/mj/index.cgi?Perl%206%20and%20Parrot%20links .

Re: (Existing) Perl 6 Wiki: (http://perl.net.au/wiki/Perl_6).

2006-05-23 Thread Paul Fenwick
G'day Conrad and P6ers, My apology for this being a very brief note. I'm on an interstate training assignment until the end of the week, and I'm scrounging net access where I can. Conrad Schneiker wrote: [snip] Their posted policies, FAQ, and (http://perl.net.au/wiki/PerlNet:About), seem to

Re: Getting to hello world?

2006-05-23 Thread Andy Dougherty
On Sun, 21 May 2006, James Peregrino wrote: You folks took me too literally :) I meant: Given a system without pugs/parrot/haskell (I assume perl5 is required), what are the things you need to install so that you can say perl6 -e say 'hello world' i.e. tar xf ghc.tar.gz ./configure

Re: Simple Print/Say Question

2006-05-23 Thread Dr.Ruud
Chris Yocum schreef: print @array[0] ~ | ~ @array[1] ~ | ~ @array[2] . \n; First the Perl6-equivalent of $ = '|' ; and then say @array ; -- Affijn, Ruud Gewoon is een tijger.

Re: Simple Print/Say Question

2006-05-23 Thread Ovid
Hi Chris, I hope you don't mind. With the idea of getting back into Perl6, I've taken the liberty of rewriting your code to clean it up a bit (somewhat successfully), and make it more perl6ish (somewhat unsuccessfully). The only significant issue I have with my version is the terribly nested

Re: Simple Print/Say Question

2006-05-23 Thread Ovid
Er, and the first loop is better written as this: for %buckets.values - my $arg_for { for 0 .. $arg_for{'count'} - $index { $arg_for{'array'}.push($index * $arg_for{'scale'}); } } Instead of: for %buckets.kv - my $bucket, $arg_for { for 0 .. $arg_for{'count'}

Re: Simple Print/Say Question

2006-05-23 Thread Ovid
- Original Message From: Larry Wall [EMAIL PROTECTED] You should not need my on the right side of a -. Also, you should be able to write $arg_forcount for constant subscripts. Thanks! The revised script is below for those who are interested. Cheers, Ovid - my %buckets = (

Re: CPANTS is not a game.

2006-05-23 Thread James E Keenan
David Golden wrote: How does is_prereq improve quality? I've mostly ignored CPANTS, in large part because I refuse to include t/pod.t and t/pod_coverage.t in my distributions because they don't pick up the format in which some of my best documentation is written. And refusing to

Re: parrot and pugs builds for os x

2006-05-23 Thread David Romano
FYI, another mirror is set up at http://lenin.net/~emile/www.unobe.com/packages/ David

Re: CPANTS is not a game.

2006-05-23 Thread Andy Lester
On May 23, 2006, at 9:24 PM, James E Keenan wrote: I've mostly ignored CPANTS, in large part because I refuse to include t/pod.t and t/pod_coverage.t in my distributions because they don't pick up the format in which some of my best documentation is written. And refusing to include those

Re: Classes moving into namespaces; parrot reserved namespace

2006-05-23 Thread Chip Salzenberg
I've got a partial solution to the pending question of namespace vs. class. Specifically, I've realized that Parrot already had most of a simple solution to populating a class's methods even if the class has no public namespace, what with the .const .Sub technique. When I went to implement the