Re: [perl #131991] AutoReply: [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread Shy Guy via RT
This is Rakudo version 2017.07-155-gc229022cb built on MoarVM version 2017.07-378-g5e94da03 implementing Perl 6.c. Linux Kataomoi 4.13.0-rc6 CPU E3-1230 V2 @ 3.30GHz GenuineIntel GNU/Linux Also tested on IRC with Moar and Star On Tue, Aug 29, 2017 at 1:22 PM, perl6 via RT wrote: > Greetings,

[perl #131991] AutoReply: [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread Shy Guy via RT
This is Rakudo version 2017.07-155-gc229022cb built on MoarVM version 2017.07-378-g5e94da03 implementing Perl 6.c. Linux Kataomoi 4.13.0-rc6 CPU E3-1230 V2 @ 3.30GHz GenuineIntel GNU/Linux Also tested on IRC with Moar and Star This is not specific to right side nested alternations. *Example 4:*

Re: [perl #131983] [BUG] mixin thread safety

2017-08-29 Thread J . David Lowe via RT
Agreed. In that case, the threads are just racing to observe a mutating value while it's in the "expected" state. I will add my voice to the chorus calling for either making roles into closures, or producing a compile-time warning or error. It's tempting to use roles to "monkey patch", and woul

[perl #131991] [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread via RT
# New Ticket Created by Shy Guy # Please include the string: [perl #131991] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131991 > *Description:* Longest alternation seems to only evaluate the first nested alternation of its

Re: [perl #131983] [BUG] mixin thread safety

2017-08-29 Thread J . David Lowe
Agreed. In that case, the threads are just racing to observe a mutating value while it's in the "expected" state. I will add my voice to the chorus calling for either making roles into closures, or producing a compile-time warning or error. It's tempting to use roles to "monkey patch", and woul

[perl #131991] AutoReply: [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread Shy Guy
This is Rakudo version 2017.07-155-gc229022cb built on MoarVM version 2017.07-378-g5e94da03 implementing Perl 6.c. Linux Kataomoi 4.13.0-rc6 CPU E3-1230 V2 @ 3.30GHz GenuineIntel GNU/Linux Also tested on IRC with Moar and Star This is not specific to right side nested alternations. *Example 4:*

Re: [perl #131991] AutoReply: [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread Shy Guy
This is Rakudo version 2017.07-155-gc229022cb built on MoarVM version 2017.07-378-g5e94da03 implementing Perl 6.c. Linux Kataomoi 4.13.0-rc6 CPU E3-1230 V2 @ 3.30GHz GenuineIntel GNU/Linux Also tested on IRC with Moar and Star On Tue, Aug 29, 2017 at 1:22 PM, perl6 via RT wrote: > Greetings,

[perl #131994] [REGRESSION] int32 goes crazy on -2147483648 (my int32 $x = -2147483648; say $x * 1.0)

2017-08-29 Thread via RT
# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #131994] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131994 > This one is really old. Code: my int32 $x = -2147483648; my Int $z =

[perl #129019] [BUG] Range.WHICH fails on many kinds of endpoints

2017-08-29 Thread Brian S. Julin via RT
On Sat, 20 Aug 2016 10:24:51 -0700, zef...@fysh.org wrote: > > (:a..:b).WHICH > Range|a True..b True > > (List..Pair).WHICH > Use of uninitialized value $!min of type List in string context. > Methods .^name, .perl, .gist, or .say can be used to stringify it to > something meaningful. in block at

[perl #131991] [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread Larry Wall via RT
Yes, as noted above, this is a dup of rejected ('better docs needed', really) ticket #130562.

[perl #131991] [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread Larry Wall via RT
Yes, as noted above, this is a dup of rejected ('better docs needed', really) ticket #130562.

[perl #131991] [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread Ron Schmidt via RT
Closing on request: https://irclog.perlgeek.de/perl6/2017-08-29#i_15087239 I have never closed anybody else's ticket before so let me know if I am doing anything wrong.

[perl #122004] Spooky capture with native int

2017-08-29 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Well, it was clearly wrong to say that we don't care about it, sorry about that. Maybe it's not the top priority thing (for example, there is a module to do this: https://github.com/azawawi/perl6-memoize), but there are still plans to get it done eventually. I'll change the title a little bit so t

[perl #131991] [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread Ron Schmidt via RT
Looks to me like possible dup of RT 130562 https://rt.perl.org/Ticket/Display.html?id=130562 See also doc issue: https://github.com/perl6/doc/issues/1141

[perl #130181] [BUG] .WHAT.:: leaks internal exception

2017-08-29 Thread Brian S. Julin via RT
On Sat, 26 Nov 2016 10:50:44 -0800, FROGGS.de wrote: > say Int.new.WHAT.:: > > rakudo-moar 7c5ea3: OUTPUT«===SORRY!===␤MVMArray: Can't pop from an > empty array␤» > > IMO it should do the same as: > m: say Int:: > rakudo-moar 7c5ea3: OUTPUT«Int␤» > > fixed in rakudo 74ca5ce951, roast tests in

[perl #131991] [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread Zoffix Znet via RT
Adding more content from OP (seems there's some possible delay/issue with RT emails) per https://irclog.perlgeek.de/perl6/2017-08-29#i_15086833 This is Rakudo version 2017.07-155-gc229022cb built on MoarVM

[perl #131991] [REGEX] Longest Alternation followed by an Alternation fails

2017-08-29 Thread Zoffix Znet via RT
Adding more content from OP (seems there's some possible delay/issue with RT emails) per https://irclog.perlgeek.de/perl6/2017-08-29#i_15086833 This is Rakudo version 2017.07-155-gc229022cb built on MoarVM

Re: Floating point Num addition produces rationals?

2017-08-29 Thread Timo Paulssen
Here's a C program that simulates exactly how rakudo creates nums from strings and shows the same problem: https://gist.github.com/zoffixznet/46ae8dd7d85096d58dc557f60f82a179 Here's an IRC conversation with the author of the post you linked to followed by investigation and discovery of this probl

Re: Floating point Num addition produces rationals?

2017-08-29 Thread Timo Paulssen
This is an insidious bug rooted in how we parse floating point numbers, combined with a caching-related problem that causes the order of 0.1e0 vs 1e-1 to matter for all further outcomes. I wasn't able to find a ticket for this in our bug tracker, but it most definitely is something we will fix.

Floating point Num addition produces rationals?

2017-08-29 Thread Andy Bach
http://www.evanmiller.org/a-review-of-perl-6.html has Scientific notation (such as 1e-1 for 1×10-1) always produces a floating-point Num in Perl 6. For reasons I don’t understand, however, they sometimes seem to add up as rationals, rather than floating-point: > 0.1e0 + 0.2e0 == 0.3e0 False > 1e

My work around for Net::SMTP crashing on SSL

2017-08-29 Thread ToddAndMargo
Problem: https://github.com/retupmoca/P6-Net-SMTP/issues/17 Workaround: curl smtps://smtp.zoho.com:465 -v --mail-from "xx...@zoho.com" --mail-rcpt "y...@zoho.com" --ssl -u xx...@zoho.com:zz -T "mail.txt" -k --anyauth Curl can be called directly or through the curl m

[perl #131983] [BUG] mixin thread safety

2017-08-29 Thread Sam S. via RT
@David I think this is not a thread safety issue, but rather a result of `role`s (intentionally) not being closures. I.e. a duplicate of this RT: This is a duplicate of https://rt.perl.org/Ticket/Display.html?id=130965

[perl #131985] [BUG] curly-brace interpolation thread safety

2017-08-29 Thread Sam S. via RT
Possibly related to: https://rt.perl.org/Ticket/Display.html?id=131871