Re: using MD5 parrot library in Q:PIR block

2010-06-09 Thread Cosimo Streppone
In data 10 giugno 2010 alle ore 08:48:42, Gerd Pokorra ha scritto: I think the easiest way would be to add a method in the file "runtime/parrot/library/Digest/MD5.pir" that gives the md5 checksum back as a string. I can look at the source code and try to do this for you if you want and add a

Re: using MD5 parrot library in Q:PIR block

2010-06-09 Thread Gerd Pokorra
I think the easiest way would be to add a method in the file "runtime/parrot/library/Digest/MD5.pir" that gives the md5 checksum back as a string. I can look at the source code and try to do this for you if you want and add a method may be called "_md5_sum_get". -- Gerd Am Mittwoch, den 09.06.20

Re: The obligation of free stuff: Google Storage

2010-06-09 Thread Aaron Sherman
On Wed, Jun 9, 2010 at 10:04 AM, Aaron Sherman wrote: > Has anyone begun to consider what kind of filesystem interface we want > for things like sftp, Amazon S3, Google Storage and other remote > storage possibilities? Is there any extant work out there, or should I > just start spit-balling? In

Re: Contribution to Perl 6 Week 6: help improve the sidebars in the book

2010-06-09 Thread Carl Mäsak
Dean (>): > Here are some patches which > > 1) Modify Pod::PseudoPod::LaTeX to (when requested) emit LaTeX code which > requires that certain environments be defined (rather than enforcing style in > Pod::PseudoPod::LaTeX itself). In particular, the "sidebar" environment. > Tests included. > > 2

Re: using MD5 parrot library in Q:PIR block

2010-06-09 Thread Cosimo Streppone
On Wed, 09 Jun 2010 16:00:42 +0200, Gerd Pokorra wrote: Here is a simple example that works. #!/usr/bin/perl6 Q:PIR { load_bytecode 'Digest/MD5.pbc' .local pmc md5sum, md5print md5sum = get_root_global ['parrot'; 'Digest'], '_md5sum' $P0 = md5sum('foo') md5print = get_ro

[perl #75632] [BUG] Null PMC access when assigning to the (questionably declared) variable $A::b in Rakudo

2010-06-09 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75632] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75632 > std: package A {}; my $A::b std 31183: OUTPUT«ok 00:01 108m␤» hm. rakudo: package A

The obligation of free stuff: Google Storage

2010-06-09 Thread Aaron Sherman
On a lark, I submitted a request to Google for membership in the Google Storage beta on the basis of doing something virtual filesystemish for Perl 6. The bastards gave me an account, so now I feel as if I should do something. Has anyone begun to consider what kind of filesystem interface we want

using MD5 parrot library in Q:PIR block

2010-06-09 Thread Gerd Pokorra
Here is a simple example that works. #!/usr/bin/perl6 Q:PIR { load_bytecode 'Digest/MD5.pbc' .local pmc md5sum, md5print md5sum = get_root_global ['parrot'; 'Digest'], '_md5sum' $P0 = md5sum('foo') md5print = get_root_global ['parrot'; 'Digest'], '_md5_print' md5print($P0)

[perl #75626] [TODO] Implement Any.all (and .any, .one, .none) in Rakudo

2010-06-09 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #75626] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=75626 > well, it was $_, so just .all works ooh! rakudo: .all rakudo 34c1ba: OUTPUT«Method '

Re: Digest module and Q:PIR blocks

2010-06-09 Thread Cosimo Streppone
On Wed, 09 Jun 2010 03:52:03 +0200, Will Coleda wrote: Here's my best guess: sub test (Str $test) { my $result = Q:PIR { # This loads into the /current/ HLL, but should probably load into # the /parrot/ HLL. load_bytecode 'Digest/MD5.pbc' .local pmc md5su

[perl #75594] patch to remove need_ext fossils in pmcs

2010-06-09 Thread jn...@jnthn.net via RT
On Mon Jun 07 14:26:44 2010, cognominal wrote: > bash-3.2$ git diff > diff --git a/src/pmc/mutablevar.pmc b/src/pmc/mutablevar.pmc > index 1e5d075..0d083ac 100644 > --- a/src/pmc/mutablevar.pmc > +++ b/src/pmc/mutablevar.pmc > @@ -19,7 +19,7 @@ needed as scalar containers forward to their > content