Re: Missing or wrong version of dependency

2015-01-10 Thread Gabor Szabo
BTW the same happens if I try to run this command in the freshly cloned copy of https://github.com/supernovus/perl6-http-easy On Sat, Jan 10, 2015 at 11:28 PM, Gabor Szabo wrote: > I have the Rakudo Star installation with HTTP::Easy in it. I was trying to > play a bit > > with the source code of

Missing or wrong version of dependency

2015-01-10 Thread Gabor Szabo
I have the Rakudo Star installation with HTTP::Easy in it. I was trying to play a bit with the source code of HTTP::Easy, copied the HTTP/Easy.pm6 file to a private lib directory and the tried to launch a simple script using Bailador that uses HTTP::Easy. perl6 -Ilib sample.pl6 This is the err

Re: Could method calls warn in void context?

2015-01-10 Thread Gabor Szabo
On Sat, Jan 10, 2015 at 11:02 PM, Moritz Lenz wrote: > To elaborate a bit on the previous answer: > > On 10.01.2015 17:12, Tobias Leich wrote: > >> In case we would know that certain methods had no side effects (and are >> not called because of their side effects), ... >> >> But at the moment we

Re: Could method calls warn in void context?

2015-01-10 Thread Moritz Lenz
To elaborate a bit on the previous answer: On 10.01.2015 17:12, Tobias Leich wrote: In case we would know that certain methods had no side effects (and are not called because of their side effects), ... But at the moment we don't know and therefore we can't warn for every method. there are tw

Re: Memory leak in Rakudo Star 2014.12.1 ?

2015-01-10 Thread Gabor Szabo
On Sat, Jan 10, 2015 at 10:25 PM, wrote: > > > On 01/10/2015 08:39 PM, Gabor Szabo wrote: > > Well, whatever it is, this means that the web application fills all > > the memory and crashes every 30-40 requests. > > Luckily there are not many people who read the site :) > > > > Gabor > > > > > > I'

Re: Memory leak in Rakudo Star 2014.12.1 ?

2015-01-10 Thread timo
On 01/10/2015 08:39 PM, Gabor Szabo wrote: > Well, whatever it is, this means that the web application fills all > the memory and crashes every 30-40 requests. > Luckily there are not many people who read the site :) > > Gabor > > I'm expecting you're talking about https://github.com/szabgab/Per

Re: Memory leak in Rakudo Star 2014.12.1 ?

2015-01-10 Thread Gabor Szabo
On Sat, Jan 10, 2015 at 9:01 PM, wrote: > > On 01/10/2015 07:53 PM, Gabor Szabo wrote: > > On Sat, Jan 10, 2015 at 7:57 PM, wrote: > >> That happens because the result of the for statement is a list that is >> then sunk; it contains one scalar and one Int object for each iteration >> and rakudo

Re: Memory leak in Rakudo Star 2014.12.1 ?

2015-01-10 Thread timo
On 01/10/2015 07:53 PM, Gabor Szabo wrote: > On Sat, Jan 10, 2015 at 7:57 PM, > wrote: > > That happens because the result of the for statement is a list that is > then sunk; it contains one scalar and one Int object for each > iteration > and rakudo doesn

Re: Memory leak in Rakudo Star 2014.12.1 ?

2015-01-10 Thread Gabor Szabo
On Sat, Jan 10, 2015 at 7:57 PM, wrote: > That happens because the result of the for statement is a list that is > then sunk; it contains one scalar and one Int object for each iteration > and rakudo doesn't yet know to throw it away immediately. > The problem happens even without the internal $

Re: Memory leak in Rakudo Star 2014.12.1 ?

2015-01-10 Thread timo
That happens because the result of the for statement is a list that is then sunk; it contains one scalar and one Int object for each iteration and rakudo doesn't yet know to throw it away immediately. Regards - Timo

Memory leak in Rakudo Star 2014.12.1 ?

2015-01-10 Thread Gabor Szabo
I have Rakudo Start 2014.12.1 compiled with MoarVM running on OSX and it seems to be leaking memory, but I need your help in confirming my understanding: I created this script to show it: use v6; sub MAIN(Int $count) { prompt("Start"); for 1 .. $count -> $i { my $x = 42; }

Re: Could method calls warn in void context?

2015-01-10 Thread Tobias Leich
In case we would know that certain methods had no side effects (and are not called because of their side effects), ... But at the moment we don't know and therefore we can't warn for every method. Am 10.01.2015 um 15:50 schrieb Gabor Szabo: > I keep writing code like this: > > $str.substr(/regex/

Could method calls warn in void context?

2015-01-10 Thread Gabor Szabo
I keep writing code like this: $str.substr(/regex/, 'replaement) when I should write $str.=substr(/regex/, 'replaement) The former will *return* the replaced string to the void but not change it. I don't know if the above can be ever useful, but maybe this kind of constructs should warn. Or m

Re: time and now showing different time?

2015-01-10 Thread timo
On 01/10/2015 03:12 PM, Gabor Szabo wrote: > > say time; say now; say time; say now; > > 1420898839 > Instant:1420898874.659941 > 1420898839 > Instant:1420898874.663946 > > This looks really strange to me. > Why do the calls to 'now' show different full seconds than the calls > to 'time' ? > > Gab

time and now showing different time?

2015-01-10 Thread Gabor Szabo
> say time; say now; say time; say now; 1420898839 Instant:1420898874.659941 1420898839 Instant:1420898874.663946 This looks really strange to me. Why do the calls to 'now' show different full seconds than the calls to 'time' ? Gabor

Re: [perl #123497] AutoReply: p6doc does not work on OSX (Rakudo * 2014.09)

2015-01-10 Thread Gabor Szabo
On Sat, Jan 10, 2015 at 2:27 PM, Moritz Lenz via RT < perl6-bugs-follo...@perl.org> wrote: > On 10.01.2015 12:45, Gabor Szabo wrote: > > If I put > > > > #!/usr/bin/env perl6 > > > > as the sh-bang of either of those script, they start to work. > > That's quite dangerous. Precompiled modules (on w

[perl #123579] [Parrot] precompiling Pod::To::HTML for R* hangs

2015-01-10 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #123579] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=123579 > When building the rakudo-star-daily, precompiling Pod::To::HTML to PIR hangs on the parro

Re: [perl #123497] AutoReply: p6doc does not work on OSX (Rakudo * 2014.09)

2015-01-10 Thread Moritz Lenz
On 10.01.2015 12:45, Gabor Szabo wrote: If I put #!/usr/bin/env perl6 as the sh-bang of either of those script, they start to work. That's quite dangerous. Precompiled modules (on which scripts often depend) only work with the rakudo that compiled them. If a different one is in $PATH before

Re: [perl #123497] AutoReply: p6doc does not work on OSX (Rakudo * 2014.09)

2015-01-10 Thread Gabor Szabo
Or more specifically #!/Users/gabor/rakudo-star-2014.12.1/install/bin/perl6-m On Sat, Jan 10, 2015 at 1:57 PM, Gabor Szabo wrote: > /Users/gabor/rakudo-star-2014.12.1/install/bin/perl6-m > > > On Sat, Jan 10, 2015 at 1:49 PM, Tobias Leich via RT < > perl6-bugs-follo...@perl.org> wrote: > >> wha

Re: [perl #123497] AutoReply: p6doc does not work on OSX (Rakudo * 2014.09)

2015-01-10 Thread Gabor Szabo
/Users/gabor/rakudo-star-2014.12.1/install/bin/perl6-m On Sat, Jan 10, 2015 at 1:49 PM, Tobias Leich via RT < perl6-bugs-follo...@perl.org> wrote: > what was in there before? > > Am 10.01.2015 um 12:45 schrieb Gabor Szabo: > > If I put > > > > #!/usr/bin/env perl6 > > > > as the sh-bang of either

Re: [perl #123497] AutoReply: p6doc does not work on OSX (Rakudo * 2014.09)

2015-01-10 Thread Tobias Leich
what was in there before? Am 10.01.2015 um 12:45 schrieb Gabor Szabo: > If I put > > #!/usr/bin/env perl6 > > as the sh-bang of either of those script, they start to work. > > Gabor > >

Re: [perl #123497] AutoReply: p6doc does not work on OSX (Rakudo * 2014.09)

2015-01-10 Thread Gabor Szabo
If I put #!/usr/bin/env perl6 as the sh-bang of either of those script, they start to work. Gabor