Re: [perl #127048] AutoReply: Emoji sequences with ZERO WIDTH JOINER counted as separate chars when they probably shouldn't

2015-12-27 Thread Aleks-Daniel Jakimenko-Aleksejev
It should also be noted that ZERO WIDTH JOINER is used for other purposes too: https://books.google.ee/books?id=wn5sXG8bEAcC=PA287=J1bym1VbXE=unicode%20%22ZERO%20WIDTH%20JOINER=PA287#v=onepage=unicode%20%22ZERO%20WIDTH%20JOINER=false But I'm not sure if it should affect the character count in

Re: [perl #126757] LTA error message talks about ~ but there is no ~ in my code (33..126 .pick.chr)

2015-11-28 Thread Aleks-Daniel Jakimenko-Aleksejev
Thanks! Indeed! I should have tried understanding the issue and golfing it down myself. So the snippet can be golfed down to: say +126.chr The bug is still there, please don't close. In fact, the title is very precise. “126.chr” is still “126.chr”. It is less than awesome to whine about some

Re: [perl #125817] chr(999999999999999999999999999) – chr codepoint cannot be negative (LTA)

2016-01-25 Thread Aleks-Daniel Jakimenko-Aleksejev
This is not closable at all. Now it segfaults. Code: say chr Result: Segmentation fault Code: say chr Result: chr codepoint cannot be negative in block at /tmp/jicTmB4rt5 line 1 Code: say chr 999 Result: Cannot unbox 90 bit wide bigint into

Re: Verifiable Releases/The Build System is Ridiculous

2017-07-28 Thread Aleks-Daniel Jakimenko-Aleksejev
> If your main interest is security then > you might be better off with a project like OpenBSD and helping update > their Rakudo ports Uh… this sounds like we are not welcoming contributions, which is not the case. As clearly pointed out in this thread, there are things that can be improved (even

Re: [perl #129843] [LTA] Indexing on a Str throws generic “out of range” message which is less than awesome (“hello”[2])

2017-05-08 Thread Aleks-Daniel Jakimenko-Aleksejev
, Brandon Allbery <allber...@gmail.com> wrote: > > On Mon, May 8, 2017 at 2:52 PM, Aleks-Daniel Jakimenko-Aleksejev via RT < > perl6-bugs-follo...@perl.org> wrote: > >> Usually I'm against all perl5 error messages > > > This is a Pythonism (and C and other suc

Announce: Rakudo Perl 6 compiler, Release #115 (2017.09)

2017-09-17 Thread Aleks-Daniel Jakimenko-Aleksejev
721][8a215876]     [9b42484a][a4ce97ca] The following people contributed to this release: Elizabeth Mattijsen, Aleks-Daniel Jakimenko-Aleksejev, Pawel Murias, Will "Coke" Coleda, Samantha McVey, Jonathan Worthington, Moritz Lenz, Steve Mynott, Wenzel P. P. Peppmeyer, Nick Logan,

Re: [perl #132281] [REGRESSION] .gist of a bag used to say “bag()”, now it says “Bag()” ("blogger".comb.Bag)

2017-10-13 Thread Aleks-Daniel Jakimenko-Aleksejev
Oh. I guess this has to be rejected then. On Fri, Oct 13, 2017 at 2:46 PM, Elizabeth Mattijsen <l...@dijkmat.nl> wrote: > > > On 13 Oct 2017, at 07:37, Aleks-Daniel Jakimenko-Aleksejev (via RT) < > perl6-bugs-follo...@perl.org> wrote: > > > > # New Ticke

[perl #128520] Testing

2017-10-03 Thread Aleks-Daniel Jakimenko-Aleksejev
This is just a test. Writing a comment by email.

Announce: Rakudo Perl 6 compiler, Release #114 (2017.08)

2017-08-21 Thread Aleks-Daniel Jakimenko-Aleksejev
The following people contributed to this release: Elizabeth Mattijsen, Jonathan Worthington, Zoffix Znet, Samantha McVey, Will "Coke" Coleda, Pawel Murias, Aleks-Daniel Jakimenko-Aleksejev, Stefan Seifert, Jan-Olof Hendig, David Warring, Nick Logan, Larry Wall, Daniel Green, Timo Paulssen, Luca

Re: [perl #127330] [SLOW] 10_000 lines with 「say ‘a’;」 take 16 seconds to run

2017-10-11 Thread Aleks-Daniel Jakimenko-Aleksejev
Your comment makes no sense because almost all of that time is spent on the compilation. Have you tried --stagestats like suggested above? On Wed, Oct 11, 2017 at 7:43 PM, Parrot Raiser <1parr...@gmail.com> wrote: > Round trips to the OS, like repeated "says", have been slow relative > to

Announce: Rakudo Perl 6 compiler, Release #117 (2017.11)

2017-11-21 Thread Aleks-Daniel Jakimenko-Aleksejev
Chen, Pawel Murias, Zoffix Znet, Aleks-Daniel Jakimenko-Aleksejev, Christian Bartolomäus, Will "Coke" Coleda, Jan-Olof Hendig, Samantha McVey, Daniel Green, Tom Browder, Jeremy Studer, Jonathan Worthington, Stefan Seifert, Moritz Lenz, Nick Logan, Jarkko Haapalainen, W4anD0eR96, Patrick Seba

Announce: Rakudo Perl 6 compiler, Release #123 (2018.05)

2018-05-24 Thread Aleks-Daniel Jakimenko-Aleksejev
Julián Merelo Guervós, Elizabeth Mattijsen, Zoffix Znet, Will "Coke" Coleda, Aleks-Daniel Jakimenko-Aleksejev, Luca Ferrari, Christian Bartolomäus, 陈梓立, Samantha McVey, Stefan Seifert, Brian S. Julin, Ben Davies, Elena Merelo, Jeremy Studer, Paweł Murias, Daniel Green, Itsuki Toyota, Fritz

Announce: Rakudo Perl 6 compiler, Release 2018.04.1

2018-04-29 Thread Aleks-Daniel Jakimenko-Aleksejev
are outlined below: New in 2018.04.1:   + Fixes:     + Fixed hang in parsing of nums with huge exponents [4e38bc1f]     + Fixed denormals and precision issues in num parser [cc93bc9a] The following people contributed to this release: Zoffix Znet, Aleks-Daniel Jakimenko-Aleksejev If yo

Announce: Rakudo Perl 6 compiler, Release #116 (2017.10)

2017-10-26 Thread Aleks-Daniel Jakimenko-Aleksejev
d76af6aa][e513b857]     [f80a8461][fcbd8adb][21788c89][e2f8a57d][b58bd8fb][0dd6af71]     [f946bd35][cef3bf3e][92e51c3d][5144216f][ebd6440c] The following people contributed to this release: Zoffix Znet, Elizabeth Mattijsen, Pawel Murias, Jonathan Worthington, Aleks-Daniel Jakimenko-Aleksejev, Will

Announce: Rakudo Perl 6 compiler, Release #119 (2018.01)

2018-01-24 Thread Aleks-Daniel Jakimenko-Aleksejev
ValueObjAt, the .WHICH for value types [202459ce][4790587f]     + Introduced Proc!set-status [7a4743be] The following people contributed to this release: Zoffix Znet, Luca Ferrari, Elizabeth Mattijsen, Tom Browder, Christian Bartolomäus, Aleks-Daniel Jakimenko-Aleksejev, Jonathan Worthington, Pawel Muri

Announce: Rakudo Perl 6 compiler, Release #120 (2018.02)

2018-02-20 Thread Aleks-Daniel Jakimenko-Aleksejev
release: Zoffix Znet, JJ Merelo, Pawel Murias, Aleks-Daniel Jakimenko-Aleksejev, Stefan Seifert, Luca Ferrari, Will "Coke" Coleda, Tom Browder, Samantha McVey, Elizabeth Mattijsen, Christian Bartolomäus, Jeremy Studer, Curt Tilmes, Jan-Olof Hendig, Timo Paulssen, Itsuki Toyota, Pepe Schwarz,

Announce: Rakudo Perl 6 compiler, Release 2018.02.1

2018-02-22 Thread Aleks-Daniel Jakimenko-Aleksejev
owing people contributed to this release: Zoffix Znet, Aleks-Daniel Jakimenko-Aleksejev If you would like to contribute or find out more information, visit <http://perl6.org>, <http://rakudo.org/how-to-help>, ask on the <perl6-compiler@perl.org> mailing list, or ask on IRC #perl6 on free

Announce: Rakudo Perl 6 compiler, Release #118 (2017.12)

2017-12-20 Thread Aleks-Daniel Jakimenko-Aleksejev
for previously resolved issues [20d67a3d][831dab14]     [1b0be0f6][062c27f3][1101fea1][fed56be2][47552282][ced4af66]     [d4ad6fa9][eaf609ed][04eb1da6] The following people contributed to this release: Zoffix Znet, Elizabeth Mattijsen, Pawel Murias, Alex Chen, Tom Browder, Christian Bartolomä

Announce: Rakudo Perl 6 compiler, Release #124 (2018.06)

2018-06-21 Thread Aleks-Daniel Jakimenko-Aleksejev
Perl 6 fixes [e4ecf5e5][23af3491][7bc6e46f][cbb5ee5f] The following people contributed to this release: Elizabeth Mattijsen, Will "Coke" Coleda, Jonathan Worthington, Aleks-Daniel Jakimenko-Aleksejev, Zoffix Znet, Jeremy Studer, Rafael Schipiura, 陈梓立, Tom Browder, Samantha McVey, Chris

Announce: Rakudo Perl 6 compiler, Release #122 (2018.04)

2018-04-25 Thread Aleks-Daniel Jakimenko-Aleksejev
ase: Zoffix Znet, Elizabeth Mattijsen, Pawel Murias, Will "Coke" Coleda, Luca Ferrari, Aleks-Daniel Jakimenko-Aleksejev, cfa, 陈梓立, Christian Bartolomäus, Stefan Seifert, Jonathan Worthington, Samantha McVey, Jeremy Studer, Juan Julián Merelo Guervós, Timo Paulssen, Ronald Schmidt, Daniel Gree

Announce: Rakudo Perl 6 compiler, Release #121 (2018.03)

2018-03-19 Thread Aleks-Daniel Jakimenko-Aleksejev
   + Moved substr/substr-rw catcher methods from Any to Cool [aad79f8a]     + Remote debug support on MoarVM [ffeff74e][e32bda21] The following people contributed to this release: Zoffix Znet, Elizabeth Mattijsen, JJ Merelo, Will "Coke" Coleda, Paweł Murias, Christian Bartolomäus, T

Announce: Rakudo Perl 6 compiler, Release #127 (2018.10)

2018-10-28 Thread Aleks-Daniel Jakimenko-Aleksejev
rias, JJ Merelo, Tom Browder, Bart Wiegmans, Jonathan Worthington, Will "Coke" Coleda, Aleks-Daniel Jakimenko-Aleksejev, Samantha McVey, thebooort, Juan Julián Merelo Guervós, Ben Davies, Fernando Correa de Oliveira, Timo Paulssen, Daniel Green, MorayJ, Valentin Anger, threadless-screw, Jere

Announce: Rakudo Perl 6 compiler, Release #126 (2018.09)

2018-09-23 Thread Aleks-Daniel Jakimenko-Aleksejev
8225]     + Standardized use of proto's on `.STORE` methods [ed9b48de]     + Removed EmptySeq [a4db33e7] The following people contributed to this release: Zoffix Znet, Elizabeth Mattijsen, Paweł Murias, Bart Wiegmans, Samantha McVey, Stefan Seifert, Jeremy Studer, Timo Paulssen, Aleks-Daniel Jak

Announce: Rakudo Perl 6 compiler, Release #129 (2018.12)

2018-12-20 Thread Aleks-Daniel Jakimenko-Aleksejev
lease: Paweł Murias, Elizabeth Mattijsen, Aleks-Daniel Jakimenko-Aleksejev, Stefan Seifert, Jonathan Worthington, Ben Davies, Petr Rockai, Nick Logan, Samantha McVey, Timo Paulssen, Momo If you would like to contribute or find out more information, visit <https://perl6.org>, <https://raku

Announce: Rakudo Perl 6 compiler, Release #128 (2018.11)

2018-11-29 Thread Aleks-Daniel Jakimenko-Aleksejev
0eb7b85]     [0fa6988c][bf3575cc][18ded174] The following people contributed to this release: Stefan Seifert, Elizabeth Mattijsen, Zoffix Znet, Aleks-Daniel Jakimenko-Aleksejev, Paweł Murias, Timo Paulssen, Nick Logan, Tom Browder, Rob Hoelz, Jonathan Worthington, Joelle Maslak, Donald Hunter, B

Announce: Rakudo Perl 6 compiler, Release #130 (2019.03)

2019-03-07 Thread Aleks-Daniel Jakimenko-Aleksejev
ted to this release: Elizabeth Mattijsen, Jonathan Worthington, cfa, Paweł Murias, Will "Coke" Coleda, Aleks-Daniel Jakimenko-Aleksejev, Stefan Seifert, Timo Paulssen, Nick Logan, Richard Hainsworth, Daniel Green, Juan Julián Merelo Guervós, Tom Browder, Elena Merelo, Antonio, Altai-man, I

Announce: Rakudo Perl 6 compiler, Release 2019.07.1

2019-07-28 Thread Aleks-Daniel Jakimenko-Aleksejev
issues when installing into `/usr` [f41db044]     + Fixed unnecessary use of `git` in release tarballs [540926bf][e18b4f3b]     + Fixed intermittent failures in one of the performance tests [bd29d3f6] The following people contributed to this release: Patrick Böker, Aleks-Daniel Jakimenko-Aleksejev, T

Announce: Rakudo Perl 6 compiler, Release #131 (2019.07)

2019-07-17 Thread Aleks-Daniel Jakimenko-Aleksejev
Coleda, Paweł Murias, Juan Julián Merelo Guervós, Daniel Green, Ben Davies, Christian Bartolomäus, Altai-man, Nick Logan, Stefan Seifert, Aleks-Daniel Jakimenko-Aleksejev, Tobias Boege, Antonio, cfa, Samantha McVey, lukasvalle, Clifton Wood, Elena Merelo, Tom Browder, Rafael Schipiura, Moritz Le

Rakudo compiler, Release #132 (2019.11)

2019-11-28 Thread Aleks-Daniel Jakimenko-Aleksejev
interfering with some native subs [d662912e]     + Fixed leaking an open file handle when re-precompiling [2dd570de] The following people contributed to this release: Vadim Belman, JJ Merelo, Aleks-Daniel Jakimenko-Aleksejev, Timo Paulssen, Patrick Böker, Stefan Seifert, Daniel Green, Elizabeth Ma

[perl #131207] [REGRESSION] [REGEX] unexpected NFA

2017-04-24 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This is actually a regression. The code makes sense (more or less), I can't see why would it error out like this. Bisectable points to (2017-01-31) https://github.com/rakudo/rakudo/commit/9ed4449db57cab39a115c5347387d5978bd56057 On 2017-04-24 15:52:55, grond...@yahoo.fr wrote: > $ uname -a >

[perl #131003] [SEGV] Heap corruption when using Gumbo

2017-07-31 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
FWIW, still happens after all changes during this month. On 2017-07-22 16:21:30, alex.jakime...@gmail.com wrote: > I bisected it to > https://github.com/rakudo/rakudo/commit/40a953f5d9f5c661d8cf9b043643002d348a2000 > > On earlier rakudo versions it seems to be working fine. I haven't seen > it

[perl #131888] No such method 'cache' for invocant of type 'NQPMu'

2017-08-13 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I think things would go faster with this one if it was golfed down. Given the previous warnings saying “Use of uninitialized value $key of type Any in string context.”, the issue is quite possibly in Uzu itself (or maybe even Mustache). The ticket is of course valid because the error should not

[perl #131879] [REGRESSION] Memory “leak”

2017-08-11 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
There was some progress on this. jnthn++ I guess the most promising commit regarding this issue is https://github.com/MoarVM/MoarVM/commit/0d2e5f8cc0264eb495ea4f20f3a0c90d05d55710 , but there's at least one other commit that could've improved the situation (

[perl #131879] [REGRESSION] Memory “leak”

2017-08-14 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
OK, this is still not resolved, but it got noticeably better. The issue is reproducible with the snippet provided in the original report. On 2017-08-11 10:01:42, alex.jakime...@gmail.com wrote: > There was some progress on this. jnthn++ > > I guess the most promising commit regarding this issue

[perl #131785] [BUG] - runtime looping.

2017-08-11 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Great analysis! The first issue seems to be already mentioned in RT #126112 (and I vaguely recall one more ticket, but I'm failing to find it now). This ticket seems to be getting a bit unmanageable, please file smaller tickets for every issue you discover. On 2017-08-10 21:36:34,

[perl #131857] [REGRESSION] Aliased named parameters broke in a recent MoarVM commit

2017-08-13 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
No bug with MVM_SPESH_DISABLE=1. On 2017-08-07 19:48:36, ddgr...@gmail.com wrote: > [22:44] m: sub foo(:color(:$colour)) { $colour + 1 }; my > $s; > for ^100 { $s += foo(:color($_)) }; say $s; say now - INIT now > [22:44] <+camelia> rakudo-moar a91ad2: OUTPUT: «Unexpected named > argument >

[perl #131877] [LTA] better error message for exit("hello")

2017-08-10 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
There's a little problem with it. You see, right now this works: exit "1" So we simply cannot force it to do something else with Strs because that can break existing (perfectly valid) code. We can go through a long deprecation cycle but it's not worth it (IMO). But it may be possible to catch

[perl #131865] [REGRESSION] Looping over a HyperSeq in sink context does nothing (for .hyper { say 2 })

2017-08-10 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
IRC discussion: https://irclog.perlgeek.de/perl6/2017-08-09#i_14989886 Turns out that .hyper/.race never worked reliably anyway, so this ticket is less important than it looks. Maybe we should have a meta ticket that tracks all .hyper/.race issues. Another option would be to just close them all,

[perl #125656] [CONC] Creating too many Proc::Async objects fills the file descriptor table, which causes libuv to abort()

2017-07-13 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
On 2017-07-12 22:49:43, ug...@cpan.org wrote: > This only applies if you call .stdout or .stderr *and* never close them. Hm, isn't it fixed now? Similarly to https://github.com/perl6/doc/issues/1304 ?

[perl #125656] [CONC] Creating too many Proc::Async objects fills the file descriptor table, which causes libuv to abort()

2017-07-13 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
On 2017-07-13 08:18:20, alex.jakime...@gmail.com wrote: > On 2017-07-12 22:49:43, ug...@cpan.org wrote: > > This only applies if you call .stdout or .stderr *and* never close > > them. > > Hm, isn't it fixed now? Similarly to > https://github.com/perl6/doc/issues/1304 ? Ah, no, it's not. It's a

[perl #131757] Untodoed evil hack in Backtrace.pm

2017-07-17 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I don't think this ticket needs so much discussion… It's basically about implementing the damn thing properly (and coming up with a way to do it along the way). On 2017-07-16 21:17:22, alex.jakime...@gmail.com wrote: > See this: >

[perl #131757] Untodoed evil hack in Backtrace.pm

2017-07-17 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I think the purpose of the ticket was stated clearly in the first message. Feel free to change the comment in the source code to “This is a hack but there's no point to improve it” and close the ticket. To me it felt like the intention was to improve this part later, but no TODO comment was

[perl #128718] [CONC] Strange error when attempting to redo a supply block

2017-07-09 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Since when are we rejecting tickets like that? :) The title says “Strange error”. Current error message is: ===SORRY!=== redo without loop construct Two things: 1) No line number 2) Even if the line number was there, we don't want the behavior of this to be changing like crazy. See output on all

[perl #131764] Passing stdin to Proc::Async mostly does not work ($proc.print: …; $proc.close-stdin)

2017-07-18 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Alright, it seems that rakudo is not entirely incorrect here. See this discussion: https://irclog.perlgeek.de/perl6-dev/2017-07-18#i_14885863 TL;DR, one should use something like this: whenever $proc.print(“one\ntwo\nthree\nfour”) { $proc.close-stdin } So it seems that it's not a bug, but a

[perl #129882] [CONC] [IO] Proc with `.in.close` and `.out.slurp-rest` in different threads, hangs

2017-07-09 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
That's pretty good. But issues are not closed without tests, unless there's a good reason not to add a test. No reason was mentioned, therefore reopening this with “testneeded” tag. On 2017-07-09 15:49:46, jan-olof.hen...@bredband.net wrote: > On Wed, 19 Oct 2016 05:57:04 -0700, jn...@jnthn.net

[perl #130285] [REGRESSION] Unhealthy overflow in .head and .tail with huge negative numbers ( (4,5,6).tail(-9999999999999999999) )

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
ger > > $ 6 'my @a[999]' > Illegal dimension in shape: 999. All dimensions must > be integers bigger than 0 > > etc etc etc. > > > On 7 Dec 2016, at 01:37, Aleks-Daniel Jakimenko-Aleksejev (via RT) > > <perl6-bugs-follo...@perl.org&g

[perl #131781] :?smth should construct a truthy pair (say (:?foo))

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Eh. The effort required to implement the feature is much less than having discussions *like this*. I'll try to be quick. “there's large possibility of introducing some unwanted ambiguity somewhere” A good thing to keep in mind indeed. I don't really like these discussions before actual PRs, but

[perl #131781] :?smth should construct a truthy pair (say (:?foo))

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
sub foo($bar!) { say $bar }; foo(42) On 2017-07-22 11:19:41, alex.jakime...@gmail.com wrote: > Eh. The effort required to implement the feature is much less than > having > discussions *like this*. I'll try to be quick. > > “there's large possibility of introducing some unwanted ambiguity >

[perl #131781] :?smth should construct a truthy pair (say (:?foo))

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
t; > On Sun, Jul 23, 2017 at 6:05 AM Aleks-Daniel Jakimenko-Aleksejev via > RT < > perl6-bugs-follo...@perl.org> wrote: > > > sub foo($bar!) { say $bar }; foo(42) > > > > On 2017-07-22 11:19:41, alex.jakime...@gmail.com wrote: > > > Eh. The e

[perl #131003] [SEGV] Heap corruption when using Gumbo

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I bisected it to https://github.com/rakudo/rakudo/commit/40a953f5d9f5c661d8cf9b043643002d348a2000 On earlier rakudo versions it seems to be working fine. I haven't seen it crash once on anything earlier, but it is *very* slow on rakudos that old, so it's hard to tell. nqp changes:

[perl #131783] [LTA] :delete holes in Arrays get turned to Mus when coercing to List or Slip

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Perhaps also worth noting that this applies to other holes as well, e.g. those created by extending an array: my @a = 42; @a[5] = 49; say |@a # 42(Mu)(Mu)(Mu)(Mu)49 In fact, this the actual problem the user had. On 2017-07-22 18:52:03, c...@zoffix.com wrote: > On Sat, 22 Jul 2017 18:48:38

[perl #131797] “expected:” and “got:” messages in test output .Str-ify data, that's not entirely right (cmp-ok ‘a’, ‘~~’, /b/)

2017-07-25 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
".gist" is probably the wrong answer in this case. my @got = ‘one’, ‘two three’; say @got # OUTPUT: [one two three] ↑ Not very useful On 2017-07-25 12:52:25, alex.jakime...@gmail.com wrote: > Sometimes it is useful to test the input against regexes. Let's try: > > Code: > use Test; > cmp-ok

[perl #131781] :?smth should construct a truthy pair (say (:?foo))

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
ething. > > > > ‘:foo’ sets foo to True. ‘:!foo’ sets it to False. ‘:?foo’ looks like > > it's > > trying to ask something a question, but I'm not sure about what. > > > > On Sun, Jul 23, 2017 at 12:41 PM Aleks-Daniel Jakimenko-Aleksejev via > > RT < >

[perl #131781] :?smth should construct a truthy pair (say (:?foo))

2017-07-23 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
For those who don't agree that there is a connection between ? and !… Actually, there are some other places where ?↔! connection is implied. In fact, I will probably never list all of them. In regexes: * always succeeds, always fails (and no question implied) * tests for truthy and falsey

[perl #131781] :?smth should construct a truthy pair (say (:?foo))

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
xpression whether it's True or False. When used as a sigil like > $?FILE > it's asking the compiler about something. > > ‘:foo’ sets foo to True. ‘:!foo’ sets it to False. ‘:?foo’ looks like > it's > trying to ask something a question, but I'm not sure about what. > > On Sun, Jul

[perl #131781] :?smth should construct a truthy pair (say (:?foo))

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
For those reading this on RT, here's the previous comment in a readable way: I wouldn't be so eager to judge the proposal based on the original post. Sometimes I submit tickets fast, and sometimes ideas are not conveyed as clearly as I assumed. “How are those things related?” These were the

[perl #131781] :?smth should construct a truthy pair (say (:?foo))

2017-07-23 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Another interesting thing is that if this is implemented, then it will make it possible to use ? in other places where is used. For example, it will allow %h:?exists . It seems that it will also affect character classes (e.g. <:?Ll>). Some of these totally make sense, some not so much. But we

[perl #131805] [REGRESSION] [PERF] .grep-ing with a code block is now almost twice slower ( .grep({/foo/}) )

2017-07-27 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
ed by: > > $_ = 1; /1/ > > Because $_ contains an Int, this becomes a very slow path. Compare > this with: > > (^1)>>.Str.grep({!/1/}).elems.say > > which is 3x faster, even when using a sub-optimal hyper. > > Investigating further... > > > On 27 Jul

[perl #126642] [BUG] UInt:D parameter fails in a multi

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
A test was added in https://github.com/perl6/roast/commit/84e5309567a5f3ee0d1d7450e08225119b08f3af dogbert17++ On 2017-07-21 12:46:12, jan-olof.hen...@bredband.net wrote: > On Sat, 14 Nov 2015 14:06:52 -0800, grond...@yahoo.fr wrote: > > $ perl6 --version > > This is perl6 version

[perl #131780] [Double Free] Crash while running test

2017-07-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Is there any code snippet to reproduce it? The backtrace mentions mongo-perl6-driver… On 2017-07-22 02:38:03, mt1...@gmail.com wrote: > Test code erred in perl6 version 2017.07-31-g895bdc8 built on MoarVM > version 2017.07. > > Regards, > Marcel > > > The crash dump; > > > *** Error in

[perl #131686] [BUG] [X] @list-of-lists misbehaves with list of one list

2017-07-01 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I think this is related: https://github.com/perl6/doc/issues/1400 On 2017-07-01 12:25:39, pe...@mscha.org wrote: > This is OK: > > > say [X] ((1,2,3), (4,5,6)); > ((1 4) (1 5) (1 6) (2 4) (2 5) (2 6) (3 4) (3 5) (3 6)) > > say [X*] ((1,2,3), (4,5,6)); > (4 5 6 8 10 12 12 15 18) > > ... but this

[perl #131695] Confusion in precedence with <<$foo>>[0]

2017-07-03 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I don't really want to start another ticket for what I'm about to suggest, therefore I'll reopen this one. Not so long ago I filed this ticket: https://rt.perl.org/Ticket/Display.html?id=131640 The underlying issue is exactly the same. And it has actually happened during whateverable

[perl #129131] [RFC] Make .. a numeric operator, please (.say for ‘42’..‘51’)

2017-07-03 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Case in point: https://stackoverflow.com/questions/44835476 On 2016-08-29 19:28:10, alex.jakime...@gmail.com wrote: > First of all, take a look at this: > https://docs.perl6.org/language/traps#String_Ranges/Sequences > > The question is: why do we keep this trap? > > We all know that the idea of

[perl #131699] [LTA] Errors indexing past the end of a List

2017-07-04 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Hm. Wouldn't that make behavior of Lists and Arrays different? On 2017-07-04 05:29:20, comdog wrote: > Accessing a List element beyond the end of the List returns Nil, > although accessing an element before the beginning returns an out of > bounds failure. I think there's two things that can be

[perl #130366] BagHash/MixHash values don't check for zeroness

2017-07-04 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This was resolved together with https://rt.perl.org/Ticket/Display.html?id=131241 Tests needed, maybe. See other ticket for info on this. On 2016-12-17 01:42:04, elizabeth wrote: > $ 6 'my $b = .BagHash; $_-- for $b.values; dd $b' > BagHash $b = ("a"=>0,"c"=>0,"b"=>1,"e"=>0,"f"=>0,"d"=>0).BagHash

[perl #131686] [BUG] [X] @list-of-lists misbehaves with list of one list

2017-07-01 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I'd agree that it is a bug, yes. Well, the reason why it happens might be justified, but this is probably one of the fattest traps I've seen so far. I really think we should come up with a way to eliminate this trap somehow. Not sure how, but there must be a way and I really recommend anybody

[perl #131845] Binding a Seq to a `@` variable tries to consume it first

2017-08-06 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Not sure if this info is relevant now, but the hang was introduced in (2016-02-18) https://github.com/rakudo/rakudo/commit/9983c2c8434ed81c532a5706996f284283b48d0a On 2017-08-05 06:33:14, c...@zoffix.com wrote: > Since Seq is not a Positional type, *binding* it to a `@` variable is > typecheck

[perl #131915] [REGRESSION] Proc using more memory since being a Proc::Async

2017-08-16 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
TL;DR it went from 59820 to 215976 after this commit: https://github.com/rakudo/rakudo/commit/92bd7e4f54a92fa660f99b4d056d33a08fb98bd2 Bisect log: https://gist.github.com/678ce88a13272eab454a22568f3bddc7 On 2017-08-16 14:24:48, scoli...@gmail.com wrote: > Similar to

[perl #131914] [REGRESSION] Rakudo/Moar taking more memory at launch.

2017-08-16 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Also, it's not any different on HEAD: committable6test: 9658dd98c9dd8ec^^,9658dd98c9dd8ec,HEAD say "/proc/$*PID/statm".IO.lines[0].split(/\s/)[5] * 4096 / 1024 AlexDaniel, ¦9658dd98c9dd8ec^^: «58628» ¦9658dd9: «138220» ¦HEAD(3e70d44): «136436» On 2017-08-16 14:27:37, alex.jakime...@gmail.com

[perl #131914] [Regression] Rakudo/Moar taking more memory at launch.

2017-08-16 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Note that the tests on 92bd7e4^ and 92bd7e4 are not very related to this particular issue. To put simply: it went from 58628 to 138220 because of changes related to this commit (or maybe one or two commits before it):

[perl #131919] [RFC] Returning Failure from failed P6-level .parse

2017-08-19 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
The change was moved to v6.d in this commit: https://github.com/rakudo/rakudo/commit/d2278b471cb0bd691dc7a1235fbcb9318ff5d61f On 2017-08-17 08:50:48, alex.jakime...@gmail.com wrote: > See this commit: > https://github.com/rakudo/rakudo/commit/9501edae4f73a970e3270e3b0336a7b3045d3329 > > These

[perl #131924] [REGRESSION] \n\r and string concatenation improvements

2017-08-19 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
It was fixed in this commit: https://github.com/MoarVM/MoarVM/commit/5363a0742d9ea7183200a747c2d7531e82bc5c71 samcv++ Tests needed. On 2017-08-18 12:48:20, alex.jakime...@gmail.com wrote: > The issue happens in Email::Simple (one of its tests is now failing, > but it was ok in 2017.07). > >

[perl #131919] [RFC] Returning Failure from failed P6-level .parse

2017-08-19 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I had to revert one of the nqp commits related to .parse: https://github.com/perl6/nqp/commit/d4d77b66c46c57de800b147df61fe486b4486acd Here's a ticket for the module that was affected by the change: https://github.com/p6-css/CSS-Module-p6/issues/10 Most certainly we want this change back ASAP,

[perl #131801] Stranded strings with combiners or ZWJ on borders break my NFG expectations ( (“\x[0305]a” x 2).chars.say )

2017-08-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This is the same issue, but it is interesting nonetheless: m: dd (0x0F75.chr x 2).uninames rakudo-moar 636a3c: OUTPUT: «("TIBETAN VOWEL SIGN AA", "TIBETAN VOWEL SIGN U", "TIBETAN VOWEL SIGN AA", "TIBETAN VOWEL SIGN U").Seq␤» m: dd (0x0F75.chr ~ 0x0F75.chr).uninames rakudo-moar 636a3c: OUTPUT:

[perl #131915] [REGRESSION] Proc using more memory since being a Proc::Async

2017-08-17 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
https://irclog.perlgeek.de/perl6-dev/2017-08-17#i_15032963 On 2017-08-16 14:30:42, alex.jakime...@gmail.com wrote: > TL;DR it went from 59820 to 215976 after this commit: > https://github.com/rakudo/rakudo/commit/92bd7e4f54a92fa660f99b4d056d33a08fb98bd2 > > Bisect log: >

[perl #131922] [LTA] "Variadic" or "slurpy"?

2017-08-18 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This could've been a LHF, except for these tests: https://github.com/perl6/roast/blob/4bfd6d2374cb4ea1b8fa057a5f294b988e4dec44/S32-exceptions/misc.t#L180-L185 ¯\_(ツ)_/¯ But yes, I think it should say “slurpy” everywhere. On 2017-08-18 07:10:52, comdog wrote: > Consider this program which I

[perl #131245] [BUG] Ghost elements in array

2017-05-03 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This is probably my favorite bug of the year :) Thank you very much for your report. There was a discussion about it today: https://irclog.perlgeek.de/perl6-dev/2017-05-03#i_14521988 On 2017-05-02 10:42:33, shreya...@yahoo.com wrote: > > # create an array of 5 elements, remove 2, add a fifth

[perl #131003] [SEGV] Heap corruption when using Gumbo

2017-05-13 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
FWIW the problem is still there and is reproducible with the provided snippet (just in case somebody is wondering if the issue went away by itself after these months). On 2017-04-04 06:46:20, scoli...@gmail.com wrote: > Le Wed, 15 Mar 2017 17:12:00 -0700, alex.jakime...@gmail.com a écrit : > > I

[perl #131626] [PERF] ≥ and ≤ are 36x slower than Texas version; ≠ is 15x slower

2017-06-22 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This was discussed in https://github.com/rakudo/rakudo/pull/1032#issuecomment-284217342 In theory, this ticket should apply for other ops as well. Note that I said that I will change the way unicode ops are implemented, but I didn't have much time since then. Hoping to get to it at some point.

[perl #131376] [IO][REGRESSION] read on IO handle following SeekFromCurrent

2017-05-26 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Bisectable failed in the provided log, here is the right result: AlexDaniel, Bisecting by output (old=2015.12 new=95b4e5d) because on both starting points the exit code is 0 AlexDaniel, bisect log: https://gist.github.com/1b6f1bdabefa1cb13338451abceea153 AlexDaniel, (2017-05-25)

[perl #131398] Feature Request: trait for unimplemented subs/methods

2017-05-29 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
But we already have ..., !!! and ???. Isn't it what you want? m: sub foo() { … }; foo rakudo-moar 608e88: OUTPUT: «Stub code executed␤ in sub foo at line 1␤ in block at line 1␤␤Actually thrown at:␤ in block at line 1␤␤» m: sub foo() { !!! }; foo rakudo-moar 608e88: OUTPUT: «Stub code

[perl #131493] changed type of variable

2017-06-03 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Well, say IntStr ~~ Str # True In other words, IntStr *is* a Str. What I find interesting, however, is this difference: sub s (Str() :$str) {say $str.WHAT}; s(:str<1>) # IntStr sub s (Str :$str) {say $str.Str.WHAT}; s(:str<1>) # Str I would have expected the same output in both cases. On

[perl #126732] [RFC] Problem with superscripts when there is no number in front of it (³² == 9)

2017-06-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
“The only people I see complaining about it are those who just type it up randomly to see what it'd do” We had a bunch of segfaults and overflows that could only be caused by people throwing random stuff into the compiler. And yes, very often we had to go through this “wait, but normal people

[perl #131529] byte.Range should be 0..255 and not -∞^..^∞ (say byte.Range)

2017-06-07 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
See also this discussion: https://irclog.perlgeek.de/perl6-dev/2017-06-07#i_14699799 In other words, if you fix this, please also fix the dead code issue in “default {}”. On 2017-06-07 09:35:49, alex.jakime...@gmail.com wrote: > Code: > say byte.Range > > Result: > -Inf^..^Inf >

[perl #125813] [UNI] Malformed UTF-8 (string out of bounds) with “say ('a' x 10000).IO.open”

2017-06-09 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
An important line from bisectable output was omitted :) samcv, The result looks a bit unrealistic, doesn't it? Most probably the output is different on every commit (e.g. 「bisect: say rand」) We can try this: c: releases say ('a' x 1).IO.open AlexDaniel,

[perl #131269] Doc bug in https://docs.perl6.org/language/rb-nutshell

2017-05-08 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Thank you for your report! However, doc bugs are reported on github. I have moved your ticket there: https://github.com/perl6/doc/issues/1299 On 2017-05-07 20:49:39, ben-goldb...@hotmail.com wrote: > On https://docs.perl6.org/language/rb-nutshell, it says: > > > * No space allowed before the

[perl #129843] [LTA] Indexing on a Str throws generic “out of range” message which is less than awesome (“hello”[2])

2017-05-08 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
I agree with you, but we can do better. Usually I'm against all perl5 error messages, but I believe that this case is different. I am sure that this is what most people attempt to do at some point. I also know for sure that this is what I did a couple of times when I was starting with Perl 6. I

[perl #132093] Enum.succ and Enum.pred are O(n)

2017-09-15 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Well, the title says “Enum.succ and Enum.pred are O(n)” and the issue is still there, so this ticket is definitely not resolved. If anything, it was rejected. However, the reasoning for keeping O(n) kinda contradicts itself. If we're trading RAM for performance, and the amount of elements in

[perl #132088] [REGRESSION][NATIVECALL] code broken by latest build

2017-09-14 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Bisected to https://github.com/rakudo/rakudo/commit/cd7dc4ce934003b9da1e540e638ee6dbe1f44b1b Committable output https://gist.github.com/Whateverable/ee36fb271f2700f1684e1290a966e709 On 2017-09-14 08:16:43, ash.gabr...@gmail.com wrote: > Hello, > > I've written a module with release 2017-07. > >

[perl #132073] [BUG] isa method errors when called on a subset type object

2017-09-16 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
What about this commit? https://github.com/rakudo/rakudo/commit/0704cd97226e6300194342c88cef1c5fe711 On 2017-09-12 13:55:51, david.warring wrote: > current behavior of isa method on a subset: > > % perl6 -v > This is Rakudo version 2017.08-110-g5f3350656 built on MoarVM version >

[perl #132083] [REGRESSION] Possible regression with native ints

2017-09-16 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
This is definitely an issue in MoarVM, and it existed since 2014.02 but for some reason it was unnoticeable before recent changes. Code: my $value = -0x7FFF - 1; say $value; say -2147483648; say $value == -2147483648; Result (MoarVM): -2147483648 -2147483648 False Result (JVM): -2147483648

[perl #131764] Passing stdin to Proc::Async mostly does not work ($proc.print: …; $proc.close-stdin)

2017-09-18 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Closing this myself in favor of this ticket: https://github.com/perl6/doc/issues/1567 On 2017-07-17 23:51:21, alex.jakime...@gmail.com wrote: > Alright, it seems that rakudo is not entirely incorrect here. See this > discussion: https://irclog.perlgeek.de/perl6-dev/2017-07-18#i_14885863 > >

[perl #132030] [TESTNEEDED] [REGRESSION] Broken Text::CSV tests and possibly other ecosystem fallout (buffering)

2017-09-16 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Two of the mentioned modules have pending pull requests that add missing .close calls in tests. NCurses module is trickier, but arguably the failing test is a little bit wrong. See this discussion for more info: https://github.com/azawawi/perl6-ncurses/issues/16 In other words, the ecosystem is

[perl #132083] [REGRESSION] Broken math (-2147483648 != -2147483648)

2017-09-16 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
The issue seems to be resolved in https://github.com/MoarVM/MoarVM/commit/9c5fed708f35edb28f1adf91e9c141372882815f Tests needed. When adding tests for this, please cover this case also: say (-0x7FFF - 1).base(16) # should probably be -8000 but it erroneously gives -8000 On

[perl #131003] [ANNOYING][SEGV] Heap corruption when using Gumbo

2017-09-18 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
There was a little bit of progress with this here: https://github.com/MoarVM/MoarVM/pull/687 On 2017-09-01 12:53:36, alex.jakime...@gmail.com wrote: > https://irclog.perlgeek.de/perl6-dev/2017-09-01#i_15102810 > > On 2017-07-31 08:27:09, alex.jakime...@gmail.com wrote: > > FWIW, still happens

[perl #132111] Make it possible to change the buffer size on a handle (.set-buffer?)

2017-09-17 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Once this is implemented, replace nqp::setbuffersizefh with it in Test.pm6. On 2017-09-17 08:38:34, alex.jakime...@gmail.com wrote: > Using nqp, one can do something like: > > nqp::setbuffersizefh(nqp::getstdout(), 0); > > But it would be nice if it was available from Perl 6 level. > > > See

[perl #132093] Enum.succ and Enum.pred are O(n)

2017-09-14 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Actually, another direct implication of using .first is this: Code: enum Animal (Cat => 0, Dog => 0, Human => 42); say Dog.succ Result: Dog So it's not just the algorithmic complexity, and we need a test for that. On 2017-09-14 17:47:59, alex.jakime...@gmail.com wrote: > Source code: >

[perl #132108] [REGRESSION] Test output should not be buffered even for non-TTYs (prove -j 8 …)

2017-09-17 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
The change was made in https://github.com/rakudo/rakudo/pull/1160 See also: https://rt.perl.org/Ticket/Display.html?id=132111 On 2017-09-16 21:06:03, coke wrote: > See https://rt.cpan.org/Public/Bug/Display.html?id=108390 which was > mentioned here: > >

[perl #125466] [MATH] bitwise shift is inconsistent on int

2017-09-17 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
Plain-wrongs and WHATs print different results today. Bisectable points at https://github.com/rakudo/rakudo/commit/242baf256a210f1cb643cb6324916dbc76184c9f I think we now only need tests for this ticket. On 2015-06-23 09:05:43, hmbrand wrote: > $ perl6 -e'my int $i = int.Range.min; say $i; say

[perl #132030] [TESTNEEDED] [REGRESSION] Broken Text::CSV tests and possibly other ecosystem fallout

2017-09-13 Thread Aleks-Daniel Jakimenko-Aleksejev via RT
NCurses, Term::Choose, Term::Choose::Util, and Term::TablePrint: https://github.com/azawawi/perl6-ncurses/issues/16 This one is weird because it seems to be working unless you run it under prove. Perhaps the module is alright but it's the test that is broken. On 2017-09-13 18:16:56,

  1   2   3   4   5   >