Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2015-05-10

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:16 laouji joined #perl6
00:21 dalek roast: 3d5362b | raydiak++ | S32-exceptions/misc.t:
00:21 dalek roast: Test position and expectations of X::Undeclared
00:21 dalek roast: review: https://github.com/perl6/roast/commit/3d5362b084
00:21 dalek roast: ff09baa | raydiak++ | S (2 files):
00:21 dalek roast: Merge branch 'master' of github.com:perl6/roast
00:21 dalek roast: review: https://github.com/perl6/roast/commit/ff09baa855
00:29 raydiak oops
00:30 dalek roast: 72b225f | raydiak++ | S32-exceptions/misc.t:
00:30 dalek roast: Correct test count
00:30 dalek roast: review: https://github.com/perl6/roast/commit/72b225f8e2
00:37 dalek rakudo-star-daily: 454cd90 | coke++ | log/ (2 files):
00:37 dalek rakudo-star-daily: today (automated commit)
00:37 dalek rakudo-star-daily: review: https://github.com/coke/rakudo-star-daily/commit/454cd904bc
00:37 dalek rakudo-star-daily: c9f0eab | coke++ | log/ (2 files):
00:37 dalek rakudo-star-daily: today (automated commit)
00:37 dalek rakudo-star-daily: review: https://github.com/coke/rakudo-star-daily/commit/c9f0eabaf3
00:37 dalek rakudo-star-daily: a74a399 | coke++ | log/ (2 files):
00:37 dalek rakudo-star-daily: today (automated commit)
00:37 dalek rakudo-star-daily: review: https://github.com/coke/rakudo-star-daily/commit/a74a39919a
00:37 dalek perl6-roast-data: 8450a53 | coke++ | / (9 files):
00:37 dalek perl6-roast-data: today (automated commit)
00:37 dalek perl6-roast-data: review: https://github.com/coke/perl6-roast-data/commit/8450a53173
00:37 dalek perl6-roast-data: 0e2217d | coke++ | / (9 files):
00:37 dalek perl6-roast-data: today (automated commit)
00:37 dalek perl6-roast-data: review: https://github.com/coke/perl6-roast-data/commit/0e2217d152
01:08 aborazmeh joined #perl6
01:08 aborazmeh joined #perl6
01:34 adu joined #perl6
01:45 skids ruoso: One thing I noticed while working with the slang code from EBNF, was that mixing two modules that use it in the same source gives a "duplicate definition of symbol HLL"
01:51 laouji joined #perl6
02:12 noganex joined #perl6
02:16 laouji joined #perl6
02:21 laouji joined #perl6
02:25 rmgk_ joined #perl6
02:27 dalek rakudo/nom: 221b981 | TimToady++ | src/ (4 files):
02:27 dalek rakudo/nom: clean up warnings on undefined things
02:27 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/221b981275
02:40 thou joined #perl6
02:47 dustinm` joined #perl6
02:49 TimToady m: say ~Nil
02:49 camelia rakudo-moar 221b98: OUTPUT«Use of Nil in string context␤␤»
02:50 berekuk_ joined #perl6
02:50 berekuk_ joined #perl6
02:51 berekuk_ joined #perl6
02:52 berekuk_ joined #perl6
02:52 berekuk_ joined #perl6
02:53 berekuk_ joined #perl6
02:53 berekuk_ joined #perl6
02:54 TimToady m: say (if 0 { 42 })
02:54 camelia rakudo-moar 221b98: OUTPUT«Empty␤»
02:54 berekuk_ joined #perl6
02:55 berekuk_ joined #perl6
02:55 berekuk_ joined #perl6
02:56 berekuk_ joined #perl6
02:57 berekuk_ joined #perl6
02:57 berekuk_ joined #perl6
02:58 berekuk_ joined #perl6
02:59 berekuk_ joined #perl6
02:59 berekuk_ joined #perl6
03:00 berekuk_ joined #perl6
03:01 berekuk_ joined #perl6
03:01 berekuk_ joined #perl6
03:02 berekuk_ joined #perl6
03:03 berekuk_ joined #perl6
03:03 berekuk_ joined #perl6
03:04 berekuk_ joined #perl6
03:05 berekuk_ joined #perl6
03:05 berekuk_ joined #perl6
03:06 berekuk_ joined #perl6
03:07 berekuk_ joined #perl6
03:07 berekuk_ joined #perl6
03:08 berekuk_ joined #perl6
03:08 ribasushi joined #perl6
03:09 berekuk_ joined #perl6
03:09 berekuk_ joined #perl6
03:10 berekuk_ joined #perl6
03:10 berekuk_ joined #perl6
03:11 berekuk_ joined #perl6
03:12 berekuk_ joined #perl6
03:12 berekuk_ joined #perl6
03:13 berekuk_ joined #perl6
03:14 berekuk_ joined #perl6
03:14 berekuk_ joined #perl6
03:15 berekuk_ joined #perl6
03:16 berekuk_ joined #perl6
03:16 berekuk_ joined #perl6
03:17 berekuk_ joined #perl6
03:18 berekuk_ joined #perl6
03:18 berekuk_ joined #perl6
03:19 berekuk_ joined #perl6
03:20 berekuk_ joined #perl6
03:20 berekuk_ joined #perl6
03:21 berekuk_ joined #perl6
03:21 berekuk_ joined #perl6
03:22 berekuk_ joined #perl6
03:23 berekuk_ joined #perl6
03:23 berekuk_ joined #perl6
03:24 berekuk_ joined #perl6
03:25 berekuk_ joined #perl6
03:25 berekuk_ joined #perl6
03:26 berekuk_ joined #perl6
03:27 berekuk_ joined #perl6
03:27 berekuk_ joined #perl6
03:28 berekuk_ joined #perl6
03:29 berekuk_ joined #perl6
03:29 berekuk_ joined #perl6
03:30 berekuk_ joined #perl6
03:30 berekuk_ joined #perl6
03:31 berekuk_ joined #perl6
03:32 berekuk_ joined #perl6
03:32 berekuk_ joined #perl6
03:33 berekuk_ joined #perl6
03:38 quester joined #perl6
03:41 raydiak such "joinspam" is so "lots" also "much" and ":P" many wow
03:44 dalek rakudo/nom: a6582d7 | TimToady++ | src/core/Bool.pm:
03:44 dalek rakudo/nom: actually implement xor as list assoc, durr
03:44 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a6582d7db1
03:44 dalek roast: 52cd1b6 | TimToady++ | S03-metaops/reduce.t:
03:44 dalek roast: unfudge [\xor] test
03:44 dalek roast: review: https://github.com/perl6/roast/commit/52cd1b6728
03:45 FROGGS_ joined #perl6
03:50 raydiak m: say ( () andthen 0 ) # ?
03:50 camelia rakudo-moar 221b98: OUTPUT«Code.new␤»
03:50 raydiak m: say( () andthen 0 ) # ?!
03:50 camelia rakudo-moar 221b98: OUTPUT«5===SORRY!5=== Error while compiling /tmp/opWm9rUqHL␤Unable to parse expression in argument list; couldn't find final ')' ␤at /tmp/opWm9rUqHL:1␤------> 3say( ()7⏏5 andthen 0 ) # ?!␤    expecting any of:␤        infix␤        infix sto…»
03:51 vendethiel joined #perl6
04:03 raydiak m: say ( () andthen 0 )() # still don't get it
04:03 camelia rakudo-moar 221b98: OUTPUT«0␤»
04:03 quester m: say (() or say "second")
04:03 camelia rakudo-moar 221b98: OUTPUT«second␤True␤»
04:03 quester m: say (() orelse say "second")
04:03 camelia rakudo-moar 221b98: OUTPUT«␤»
04:03 quester m: say (() and say "second")
04:03 camelia rakudo-moar 221b98: OUTPUT«␤»
04:03 quester m: say (() andthen say "second")
04:03 camelia rakudo-moar 221b98: OUTPUT«Code.new␤»
04:04 quester m: say (() andthen say "second")()
04:04 camelia rakudo-moar 221b98: OUTPUT«second␤True␤»
04:04 quester m: say (() orelse say "second")()
04:04 camelia rakudo-moar 221b98: OUTPUT«Cannot find method 'postcircumfix:<( )>'␤  in block <unit> at /tmp/pfipa3c_FP:1␤␤»
04:04 tony-o m: say {() orelse say "second"}()
04:04 camelia rakudo-moar 221b98: OUTPUT«␤»
04:08 quester raydiak and tony-o:  I'm not at all sure, but it looks vaguely bug-ish to me; I can't fathom offhand why it would want a parameter list for "andthen", but not for "and", "or", or "orelse".  Strange....
04:12 awwaiid Has anyone submitted a talk to Strange Loop? I am thinking of doing so.
04:13 dalek roast: 883f8f6 | TimToady++ | S17-scheduler/in.t:
04:13 dalek roast: Nil doesn't turn into () anymore
04:13 dalek roast: review: https://github.com/perl6/roast/commit/883f8f655e
04:18 lolisa joined #perl6
04:54 lolisa joined #perl6
05:38 kaare__ joined #perl6
05:47 dustinm` joined #perl6
06:08 quester left #perl6
06:15 adu joined #perl6
06:19 vendethiel joined #perl6
06:24 lizmat joined #perl6
06:36 lizmat good *, #perl6!
06:36 domidumont joined #perl6
06:37 lizmat m: my @a=^10; my $i = (2,3,4); say @a[$i].perl; say @a[(2,3,4)].perl   # this feels incongruent
06:37 camelia rakudo-moar a6582d: OUTPUT«3␤(2, 3, 4)␤»
06:40 sisar joined #perl6
06:42 domidumont joined #perl6
06:48 FROGGS[mobile] joined #perl6
06:49 raydiak m: my @a=^10; my \i = (2,3,4); say @a[i].perl; say @a[(2,3,4)].perl
06:49 camelia rakudo-moar a6582d: OUTPUT«(2, 3, 4)␤(2, 3, 4)␤»
06:49 FROGGS[mobile] m: my $i = (1,2,3); say $i
06:49 camelia rakudo-moar a6582d: OUTPUT«1 2 3␤»
06:49 FROGGS[mobile] ahh, itemness
06:49 raydiak aye
06:50 FROGGS[mobile] @i would probably also work
06:51 raydiak or @$i or maybe |$i or $i<>
06:53 raydiak m: my @a=^10; my $i = (2,3,4); say @a[$i<>].perl; say @a[|$i].perl;
06:53 camelia rakudo-moar a6582d: OUTPUT«5===SORRY!5=== Error while compiling /tmp/RADLind0_c␤Arg-flattening | is only valid in an argument list␤at /tmp/RADLind0_c:1␤------> 3i = (2,3,4); say @a[$i<>].perl; say @a[|7⏏5$i].perl;␤»
06:53 raydiak m: my @a=^10; my $i = (2,3,4); say @a[$i<>].perl;
06:53 camelia rakudo-moar a6582d: OUTPUT«(2, 3, 4)␤»
06:54 sisar Hello. After I'm done using a user defined operator, how do I de-define it ?
06:55 FROGGS[mobile] sisar: let it go out of scope
06:55 lizmat_ joined #perl6
06:56 raydiak yes better to define/import it only in the scope where you want it
06:57 FROGGS[mobile] or you can perhaps delegate to CORE::infix<foo> but well, that's not quite clean
06:58 sisar ok. i'm not sure I undertand what do you mean by 'delegate to CORE::infix<foo>'.  What is that ?
06:59 sisar is 'CORE' a special namespace ?
06:59 FROGGS[mobile] yes
07:00 FROGGS[mobile] useful if you want to implement an existing op by using the existing one
07:00 FROGGS[mobile] like I implemented a right associative infix:<-> that way
07:00 raydiak m: say CORE::.keys
07:00 camelia rakudo-moar a6582d: OUTPUT«SIGSEGV WhateverCode bit &FILETEST-X &callframe Pair SIGHUP &flat utf8 &TRANSPOSE &MAKE-DIR-LIST &infix:<∖> CurrentThreadScheduler PromiseStatus StringyEnumeration Distribution &splice &postcircumfix:<{ }> &callsame &GATHER Backtrace &sinh &infix:<lt> &f…»
07:01 sisar "SIGSEGV" :-o
07:01 FROGGS[mobile] hehe
07:01 raydiak m: say SIGSEGV.perl
07:01 camelia rakudo-moar a6582d: OUTPUT«Signal::SIGSEGV␤»
07:01 FROGGS[mobile] m: say SIGSEGV
07:01 camelia rakudo-moar a6582d: OUTPUT«SIGSEGV␤»
07:02 sisar what is this 'CORE::' thing ?
07:03 FROGGS[mobile] the place where the built ins are defined
07:03 raydiak the way I heard it explained before is it's basically all the names you can see which are not defined in your own code but techincally exist one scope level outwards
07:04 sisar ah. ok.
07:04 raydiak m: say CORE::<&say>.perl
07:04 camelia rakudo-moar a6582d: OUTPUT«sub say (Any |) { #`(Sub|45356136) ... }␤»
07:05 sisar just like perl6 allows defining new operators, does it allow me to delete built in operatos ? :p Can I somehow access this 'CORE' place and discard operatos ? :p
07:06 raydiak m: CORE::<&say> :delete; say "hm"
07:06 camelia rakudo-moar a6582d: OUTPUT«Can not remove values from a PseudoStash␤  in block <unit> at /tmp/jSbUhxD31x:1␤␤»
07:06 sisar *operators
07:06 raydiak no but you could mask them out with another one
07:08 sisar hmm. but masking correctly might mean that i need to think very carefully about masking all the aspects of how that operator works. Can't i just delete the op, and start from a 'clean slate' ?
07:09 raydiak if you are able to, I'd bet that anything which makes us fast like optimizer, JIT, etc, won't like it at all
07:09 sisar .oO ("Can not remove values from a PseudoStash" is an LTA reply by the language, methinks)
07:12 sisar .oO ( or maybe it thinks, if you are mature enough to know CORE, then you are mature enough to know what a "PseudoStash" is.)
07:12 raydiak of course another approach would be to do whatever it is you're trying to accomplish as a slang instead
07:14 raydiak if you're poking at them without knowing what they are, giving you the name to look up in the docs is probably helpful
07:14 raydiak (pseudostashes that is)
07:17 sisar aye.
07:17 jnthn morning, #perl6
07:18 FROGGS morning
07:21 raydiak g'morning o/
07:22 _mg_ joined #perl6
07:22 FROGGS m: say @*INC[0].WHAT # lizmat: did you get any further (idea wise) on how module installation can be made work again?
07:22 camelia rakudo-moar a6582d: OUTPUT«(Str)␤»
07:25 RabidGravy joined #perl6
07:33 FROGGS m: say %*CUSTOM_LIB<site>.WHAT
07:33 camelia rakudo-moar a6582d: OUTPUT«(Str)␤»
07:36 FROGGS lizmat: the problems we have now exist because we mix up locating modules and installing modules
07:39 FROGGS lizmat: would be nice to have a session where we sort that out, an since the GPW is over and I am back home I'll have time
07:54 raydiak good night, morning people; pleasant daydreams \o
07:56 lizmat joined #perl6
08:01 lizmat FROGGS: hope to find some time with tadzik either later today or tomorrow
08:02 lizmat pmichaud starts at OSDC.no: Innovating in the shadows of success
08:04 [Tux] The new "Use of Nil in string context" caused my OLD reference script to warn 8 times and slow down from 42 secs to a whopping 145 secs!
08:04 [Tux] the correct functioning actual script shows no slowdown
08:04 lizmat warnings are expensive
08:09 [Tux] but this specific warning does not show where exactly it stems from
08:09 [Tux] Use of Nil in string context  in block  at test.pl:160
08:10 [Tux] that block is 50 lines ling
08:13 lizmat :-(
08:16 dustinm` joined #perl6
08:16 tadzik g'morning
08:17 lizmat tadzik o/
08:20 tadzik wow, skids++ does awesome work with Grammar::BNF :)
08:21 [Tux] found it: my Str $s = func(...); if $str eq Nil { ... }
08:21 [Tux] changing eq to ~~ removes the issue
08:22 [Sno] joined #perl6
08:34 lizmat how can that ever be true ?
08:34 darutoko joined #perl6
08:34 lizmat m: my Str $a = Nil; say $a ~~ Nil
08:34 camelia rakudo-moar a6582d: OUTPUT«False␤»
08:35 lizmat m: my Str $a = Nil; say $a.WHAT
08:35 camelia rakudo-moar a6582d: OUTPUT«(Str)␤»
08:35 lizmat m: my Nil $a = Nil; say $a ~~ Nil
08:35 camelia rakudo-moar a6582d: OUTPUT«True␤»
08:38 lizmat m: my Nil $a = "foo"   # however, pretty useless
08:38 camelia rakudo-moar a6582d: OUTPUT«Type check failed in assignment to '$a'; expected 'Any' but got 'Str'␤  in block <unit> at /tmp/RLUxKWBU4v:1␤␤»
08:42 diana_olhovik joined #perl6
08:52 [Tux] sorry, in the real code $s was untyped
08:53 lizmat m: my $a = Nil; say $a.WHAT
08:53 camelia rakudo-moar a6582d: OUTPUT«(Any)␤»
08:53 lizmat m: my $a = Nil; say $a ~~ Nil
08:53 camelia rakudo-moar a6582d: OUTPUT«False␤»
08:53 [Tux] interesting, that old code *was* typed (and bad)
08:54 FROGGS lizmat: ohh cool
08:55 [Tux] m: my Str @x; my Str $x = @x[4] // Nil; $x.perl.say
08:55 camelia rakudo-moar a6582d: OUTPUT«Str␤»
08:55 [Tux] indeed, what lizmat found. looks like a bug to me
08:56 FROGGS m: my Mu $a = Nil; say $a ~~ Nil
08:56 camelia rakudo-moar a6582d: OUTPUT«False␤»
08:56 Foxcool joined #perl6
08:56 FROGGS [Tux]: assigning Nil to something restores it default value
08:56 FROGGS its*
08:56 [Tux] no
08:57 FROGGS no?
08:57 [Tux] m: my @x = ^9; @x = Nil; @x.perl.say
08:57 camelia rakudo-moar a6582d: OUTPUT«[Any]<>␤»
08:57 [Tux] m: my @x; @x.perl.say
08:57 camelia rakudo-moar a6582d: OUTPUT«[]<>␤»
08:57 [Tux] bug?
08:58 FROGGS I'm not sure
08:58 FROGGS perhaps yes
08:58 [Tux] that is what I found yesterday
08:58 FROGGS Nil does not disappear anymore in lists, and that causes trouble now
08:58 [Tux] and as Nil is not dropped from list context anymore, I found that behaviior consistent
09:00 FROGGS I expect that the Nil/Empty transition is not over yet and will take weeks
09:00 [Tux] if the statement is as you claimed "assigning Nil to something restores it default value", '@x = Nil' should equal '@x = ()'
09:00 * [Tux] will follow evolution as close as possible :)
09:02 diana_olhovik_ joined #perl6
09:02 FROGGS I'm just trying to say: "don't be surprised if your code does not work with HEAD at this point of the journey"
09:03 * [Tux] is not surprised but constantly willing to give feedback on my findings :)
09:03 FROGGS that's very helpful indeed
09:06 lizmat joined #perl6
09:06 lizmat joined #perl6
09:06 vendethiel joined #perl6
09:07 * FROGGS is glad that the GLR is not something he has to do directly
09:08 lizmat m: my @a = ^10; @a = Empty; say @a   # Empty is (), so please use ()
09:08 camelia rakudo-moar a6582d: OUTPUT«␤»
09:09 lizmat m: my $a = 42; $a = Empty; say $a
09:09 camelia rakudo-moar a6582d: OUTPUT«Empty␤»
09:09 lizmat mmm....
09:10 lizmat m: my $a = 42; $a = Empty; say $a.WHAT
09:10 camelia rakudo-moar a6582d: OUTPUT«Empty␤»
09:12 FROGGS lizmat: Nil assignment might need to be changed to Empty assignment?
09:12 lizmat no,
09:12 lizmat just discussed this with pmichaud and jnthn: don't get attached to Empty just yet  :-)
09:12 FROGGS or we want perhaps to both do something similar here
09:12 FROGGS yes yes
09:13 lizmat pmichaud just said he sees Empty as temporary scaffolding during the GLR
09:13 FROGGS I'd like to read a blog post about Empty and Nil at some point
09:13 FROGGS ahh
09:13 * [Tux] waits with using Empty until one of you tells me to use it :)
09:15 pmichaud good morning, #perl6
09:15 FROGGS hi pmichaud
09:15 rurban joined #perl6
09:16 pmichaud I'm still trying to get my head around exactly what Nil means these days.  :)
09:16 pmichaud But I'll have it straight in a day or two.
09:16 pmichaud The other news in GLR is that I think immutable iterators need to go away
09:16 * FROGGS is proud that this works now: 'fooäàAÁâåbar' ~~ m:m:i/<-[A]>+/  gives  'foo'
09:17 jnthn ooh :)
09:17 jnthn FROGGS++
09:17 moritz FROGGS: is that in nom?
09:17 FROGGS moritz: not yet
09:17 * jnthn gives FROGGS full marks
09:17 FROGGS :D
09:17 * moritz gives FROGGS full diacritics
09:17 pmichaud at least they'll go away in the sense of being a linked list of iterated chains that they are now
09:17 FROGGS hehe
09:17 jnthn I hope not to be a dire critic of his patch... :P
09:18 pmichaud This is a grave topic.
09:20 FROGGS moritz: I wont commit before having implemented ranges in character classes
09:20 moritz and it solves an acute pain, no?
09:20 moritz FROGGS: but it's in a branch, I hope?
09:20 FROGGS now that I am not in a train I probably have enough brain to think about that one
09:20 moritz FROGGS: I don't want it to get lost if your hard drive dies
09:21 FROGGS moritz: it is in a gist at least
09:21 FROGGS for nqp and rakudo
09:21 FROGGS and in a branch for MoarVM
09:22 FROGGS it needs a stage0 update so I don't want to push many of these to a branch
09:22 * moritz had a branch that changed one of his websites from prototype to jquery; it died with his laptop
09:24 FROGGS hmmm, I think I can commit everything but stage0 to a branch...
09:26 FROGGS[mobile] joined #perl6
09:27 dalek rakudo/nom: 1b4a809 | lizmat++ | src/core/ (3 files):
09:27 dalek rakudo/nom: Remove discontinuity for n == 1
09:27 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1b4a809386
09:40 * [Tux] joins moritz in giving ḞŖǑĢḠȘ full diacritics
09:43 pmichaud having just seen the code comments for Empty... it might not be scaffolding.  But it's likely to be rare-ish
09:43 pmichaud I'll still hold out hope that we can remove it somehow, though.
09:44 dalek roast: e79fa63 | lizmat++ | S (3 files):
09:44 dalek roast: Fix .pick(1)/.roll(1) discontinuity breakage
09:44 dalek roast: review: https://github.com/perl6/roast/commit/e79fa63e8f
09:45 lizmat m: "ḞŖǑĢḠȘ".chars.say
09:45 camelia rakudo-moar a6582d: OUTPUT«6␤»
09:49 jnthn m: "ḞŖǑĢḠȘ".codes.say
09:49 camelia rakudo-moar 1b4a80: OUTPUT«6␤»
09:49 jnthn That one's not even hard :P
09:51 masak good noon, #perl6
09:52 telex joined #perl6
09:57 ufobat joined #perl6
09:59 rindolf joined #perl6
10:01 ufobat hey there, i am looking for some advice. i am completly new to perl6 and i was trying to install it on my rasbpi. unfortunately installing the modules is not working cause the test on URI fails.
10:01 ufobat http://pastebin.com/VkiL1FJj
10:04 ufobat root@pi:~/.panda-work/1431250183_1/t# perl6 -e 'my @a = Nil; say @a.elems; say @a;'
10:04 ufobat 1
10:04 ufobat (Any)
10:05 moritz ufobat: try installing Rakudo Star
10:05 moritz ufobat: it comes with a compiler version and modules that fit together
10:05 [Tux] ufobat, that is work in progress. use @a =  (); instead for now
10:05 moritz ufobat: TimToady changed the behavior of Nil yesterday in Rakudo, and the modules haven't caught up yet
10:07 ufobat that was from panda install Task::Star, i followed the guide on rakudo.org/how-to-get-rakudo
10:07 ufobat allright, thank you
10:07 [Tux] moritz, I was able to install everything (of course except for Text::CSV :P) using this mornings git checkout with rakudobrew
10:08 [Tux] ah, Task::Star is more than I install, so what moritz said
10:08 ufobat huh! i did it this morning as well. moar and Task::Star
10:08 dalek rakudo/nom: e82920a | lizmat++ | src/core/CompUnit.pm:
10:08 dalek rakudo/nom: Don't need to force to precomp over older files
10:08 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e82920a9fd
10:16 silug joined #perl6
10:24 FROGGS m: say EnumMap.new.perl.EVAL
10:24 camelia rakudo-moar 1b4a80: OUTPUT«EnumMap.new()␤»
10:28 dalek roast: 65911b6 | FROGGS++ | S05-match/perl.t:
10:28 dalek roast: unfudge again passing test RT #125138
10:28 dalek roast: review: https://github.com/perl6/roast/commit/65911b6b95
10:28 synbot6 Link:  https://rt.perl.org/rt3/Public/Bug/Display.html?id=125138
10:31 chenryn joined #perl6
10:36 dalek nqp/ignoremark: edc965f | FROGGS++ | src/ (5 files):
10:36 dalek nqp/ignoremark: implement ignoremark for moarvm backend
10:36 dalek nqp/ignoremark:
10:36 dalek nqp/ignoremark: Ranges in character classes are still todo and require some thought.
10:36 dalek nqp/ignoremark: Also, this patch does not include the required stage0 bump, which we
10:36 dalek nqp/ignoremark: need because we use a new op called nqp::ordbaseat(str, offset).
10:36 dalek nqp/ignoremark: review: https://github.com/perl6/nqp/commit/edc965fb0b
10:37 dalek rakudo/ignoremark: 5ff3553 | FROGGS++ | src/ (2 files):
10:37 dalek rakudo/ignoremark: implement ignoremark, though needs tbd for interpolations
10:37 dalek rakudo/ignoremark: review: https://github.com/rakudo/rakudo/commit/5ff3553af6
10:50 diana_olhovik_ joined #perl6
10:59 lizmat joined #perl6
11:00 vendethiel joined #perl6
11:20 FROGGS hmmm, I wonder if our regex code would benefit from lcord and ucord ops
11:21 lizmat pmichaud might know :-)
11:22 FROGGS there are quite some cases where we create throw away strings, just to get their ord
11:22 FROGGS might be something for spesh instead
11:24 FROGGS like lc+ord => lcord; and substr($s, $n, 1)+uc+ordbaseat => ucordbaseat or so
11:24 FROGGS this avoids creating a GCable for one
11:48 yqt joined #perl6
11:52 _mg_ joined #perl6
12:08 masak I wrote https://gist.github.com/masak/7a1d84435d2bca36b717 as a first stab at implementing http://blog.plover.com/prog/haskell/monad-search.html in Perl 6.
12:09 masak it kind of breaks MJD's stated conditions of hiding the machinery in a nice way. I'm aware of that.
12:09 masak but, more pressingly, this solution takes 28 *minutes* to run! o.O
12:10 lizmat joined #perl6
12:11 masak m: my $iteration-count = 9 * 9 * 8 * 7 * 5 * 5 * 4 * 3; say $iteration-count
12:11 camelia rakudo-moar e82920: OUTPUT«1360800␤»
12:13 masak m: sub postfix:<minutes>($m) { 60 * $m }; sub postfix:<seconds)($s) { $s }; my $duration-seconds = 28\ minutes + 19.335\ seconds; my $iteration-count = 9 * 9 * 8 * 7 * 5 * 5 * 4 * 3; say $duration-seconds / $iteration-count
12:13 camelia rakudo-moar e82920: OUTPUT«5===SORRY!5=== Error while compiling /tmp/fNL1IWlhHp␤Unable to parse expression in quote words; couldn't find final '>'␤        ␤at /tmp/fNL1IWlhHp:1␤------> 3say $duration-seconds / $iteration-count7⏏5<EOL>␤    expecting any of:␤    …»
12:13 masak m: sub postfix:<minutes>($m) { 60 * $m }; sub postfix:<seconds>($s) { $s }; my $duration-seconds = 28\ minutes + 19.335\ seconds; my $iteration-count = 9 * 9 * 8 * 7 * 5 * 5 * 4 * 3; say $duration-seconds / $iteration-count
12:14 camelia rakudo-moar e82920: OUTPUT«0.001248776␤»
12:14 masak m: sub postfix:<minutes>($m) { 60 * $m }; sub postfix:<seconds>($s) { $s }; my $duration-seconds = 28\ minutes + 19.335\ seconds; my $iteration-count = 9 * 9 * 8 * 7 * 5 * 5 * 4 * 3; say $iteration-count / $duration-seconds
12:14 camelia rakudo-moar e82920: OUTPUT«800.783836␤»
12:14 masak so it checks 800 solution candidates a second.
12:15 masak (a) what's making this program so slow?
12:15 masak (b) any suggestions how to make it faster?
12:15 tadzik what does the fox s.. profiler say? :)
12:16 masak I have no experience running the profiler. I was hoping someone else does and can help me.
12:16 tadzik I will
12:16 masak I've heard that profiling something that takes 28 minutes is not a good start, so maybe a first step would be to produce a shorter run.
12:16 tadzik I will take the ring to mordor
12:16 masak ++tadzik :)
12:17 tadzik although I'd rather do that when I'm on AC power :)
12:17 * masak .oO( that's what Tesla said )
12:19 vendethiel m: say :10[1, 2, 3];
12:19 camelia rakudo-moar e82920: OUTPUT«123␤»
12:19 vendethiel m: say :10[1, 2, 3].perl;
12:19 camelia rakudo-moar e82920: OUTPUT«123␤»
12:19 tadzik masak: anyway, running the profiler is just perl6 --profile <code>
12:19 masak wow :)
12:19 tadzik that gives you an html file
12:19 masak vendethiel: nice, huh? that's the one thing I like better in the Perl 6 code than in the Haskell code.
12:19 tadzik and if that crashes your browser because it's too big, I wrote a Qt frontend for it too
12:19 masak ossum.
12:20 masak I will try this.
12:20 vendethiel masak: what's ∖?
12:20 masak vendethiel: set difference.
12:20 vendethiel aah :-)
12:20 masak as in math
12:20 Isp-sec joined #perl6
12:20 masak .u ∖
12:20 yoleaux U+2216 SET MINUS [Sm] (∖)
12:21 * masak .oO( that's the least horizontal minus sign I've ever seen )
12:21 vendethiel I admit to like :[]
12:21 masak quite likely have TimToady++ to thank for that one.
12:28 vendethiel m: my $a = 5; my $b = 6; say +($a ~ $b).perl
12:28 camelia rakudo-moar e82920: OUTPUT«Cannot convert string to number: base-10 number must begin with valid digits or '.' in '⏏"56"' (indicated by ⏏)␤  in block <unit> at /tmp/3aoEbQjVMP:1␤␤»
12:28 pmichaud how do I get readline history in my REPL?  ;-)
12:28 vendethiel m: my $a = 5; my $b = 6; say ($a ~ $b).Num.perl
12:28 camelia rakudo-moar e82920: OUTPUT«56e0␤»
12:28 vendethiel Oo
12:31 vendethiel m: say "56".Num.perl
12:31 camelia rakudo-moar e82920: OUTPUT«56e0␤»
12:31 dalek perl6-examples: 601400a | paultcochrane++ | t/categories/cookbook/01strings.t:
12:31 dalek perl6-examples: Update test info after example file rename
12:31 dalek perl6-examples: review: https://github.com/perl6/perl6-examples/commit/601400a955
12:32 masak vendethiel: you haz precedence troubles.
12:32 masak m: my $a = 5; my $b = 6; say +($a ~ $b)
12:32 camelia rakudo-moar e82920: OUTPUT«56␤»
12:32 masak m: my $a = 5; my $b = 6; say (+($a ~ $b)).perl
12:32 camelia rakudo-moar e82920: OUTPUT«56␤»
12:32 vendethiel yeah, I know 'bout that one, but why 56e0?
12:33 masak because Num means "floating point number" in Perl 6.
12:33 masak you might be thinking of Real, or Numeric
12:33 yqt joined #perl6
12:34 vendethiel alright
12:34 vendethiel m: say :10[(^10).pick xx 10] # :( ().pick
12:34 camelia rakudo-moar e82920: OUTPUT«8392453305␤»
12:36 masak prefix ops are in an unfortunate valley of contradictory user requirements.
12:36 masak we want prefix:<^> to bind very tightly, at least much of the time.
12:37 vendethiel it's *almost* a sigil, in some way.
12:37 masak but we want prefix:<!> and prefix:<~> and prefix:<+> to bind very loosely.
12:37 masak I think we're already at the "optimum", it's just that it's an unsatisfactory one.
12:38 vendethiel how tightly does xx even bind?
12:38 vendethiel m: sub mypick(@a) {@a.pick}; say mypick ^10 xx 10;
12:38 camelia rakudo-moar e82920: OUTPUT«7␤»
12:38 vendethiel guessed so :-)
12:42 masak new version, that doesn't run for 28 minutes: https://gist.github.com/masak/7a1d84435d2bca36b717#file-sendmore-profiling-version-p6
12:43 masak here, it runs just short of 10 seconds. I figure that's appropriate for profiling.
12:43 masak ...based on NOTHING :)
12:45 * masak dives into trying to understand the profiler output for the first time
12:46 diana_olhovik_ joined #perl6
12:46 vendethiel m: constant DEBUG = False; macro debug($code) { if DEBUG { $code } }; debug say 'hey';
12:46 camelia rakudo-moar e82920: ( no output )
12:46 pippo joined #perl6
12:46 vendethiel m: constant DEBUG = False; macro debug($code) { if DEBUG { $code } }; debug my $a = 5;
12:46 camelia rakudo-moar e82920: ( no output )
12:46 vendethiel m: constant DEBUG = False; macro debug($code) { if DEBUG { $code } }; debug my $a = 5; $a++;
12:46 camelia rakudo-moar e82920: ( no output )
12:47 pippo m: my @a = 1..10; @a \ 0;
12:47 camelia rakudo-moar e82920: OUTPUT«5===SORRY!5=== Error while compiling /tmp/hmacFDPwG9␤Two terms in a row␤at /tmp/hmacFDPwG9:1␤------> 3my @a = 1..10; @a7⏏5 \ 0;␤    expecting any of:␤        infix␤        infix stopper␤        statement end␤        statement modi…»
12:47 coffee` joined #perl6
12:47 vendethiel pippo: it's some unicode \ :)
12:47 itz http://domm.plix.at/perl/2015_05_things_i_learned_at_gpw2015.html
12:47 vendethiel m: say ^10 (\) 0;
12:47 camelia rakudo-moar e82920: OUTPUT«5===SORRY!5=== Error while compiling /tmp/RmJF7Af6rx␤Two terms in a row␤at /tmp/RmJF7Af6rx:1␤------> 3say ^107⏏5 (\) 0;␤    expecting any of:␤        infix␤        infix stopper␤        postfix␤        statement end␤        stat…»
12:47 masak
12:47 pippo vendethiel: Ah. Thanks!
12:48 masak I believe the Texas version is (-)
12:48 vendethiel m: say ^10 (-) 0;
12:48 camelia rakudo-moar e82920: OUTPUT«set(5, 7, 9, 4, 8, 3, 1, 6, 2)␤»
12:49 masak hm, some interesting bug is happening in the calculations in the JavaScript here. all my inclusive time percentages are reported back as "Infinity%" or "NaN%". guessing something might be wrong with the inputs, perhaps.
12:50 tadzik masak: I wonder what it shows in https://github.com/tadzik/p6profiler-qt then :)
12:50 tadzik segfaults? :P
12:51 masak hehe
12:51 masak anyway, the "Routines" tab tells me little to nothing.
12:51 masak there's no obvious culprit that I can see.
12:52 masak the call graph is "aah my eyes" and "aah my laptop fan" :/
12:55 masak there were 33340 deoptimizations done on Enum's BUILD *method* (not submethod, for some reason)
12:55 masak which is ridiculous, since my code doesn't even use enums.
12:56 pmichaud how do I get readline history in my REPL?  Several people at jnthn++'s tutorial are wanting to know
12:56 masak there are 7 occurrences of 'method BUILD' in the core. I think they are all mistakes.
12:56 masak will try to spectest a patch that changes them.
12:57 arnsholt pmichaud: There's a module you need to install. Linenoise
12:57 DrForr pmichaud: http://github.com/drforr/perl6-readline # might help there, it's at a point where the non-callback stuff binds and is tested.
12:58 DrForr Oh, has someone already done that? /me looks.
12:58 masak Baggy, CompUnitRepo::Local::Installation, Enum, Match, PairMap, Sett, and StrDistance.
12:58 masak the first six appear to have been authored by lizmat++. the last one by psch++.
12:59 DrForr Nice, maybe I can steal ideas for the rest of the examples from that.
12:59 DrForr hoelzro++
13:01 laouji joined #perl6
13:01 coffee` joined #perl6
13:02 pmichaud okay, since I'm not doing modules at the moment that means I can't do history.
13:03 pmichaud for the record... discussion here seems to lead to the notion that perhaps linenoise should be integrated with NQP
13:03 pmichaud (so that it's available for other languages eventually built on top of nqp)
13:03 lizmat masak: what's wrong with my BUILDs ?
13:03 lizmat because they're not submethods ?
13:04 itz there is also the "rlwrap" hack to get readline
13:04 pmichaud interesting datapoint:   "rlwrap ./perl6-m"   adds.... what itz++ just wrote
13:05 pmichaud (perhaps that belongs as a FAQ somewhere)
13:06 airdisa joined #perl6
13:09 dalek rakudo/nom: 28d259f | usev6++ | src/core/Str.pm:
13:09 dalek rakudo/nom: Avoid calling 'get_next_substitution_result' when at end of string
13:09 dalek rakudo/nom:
13:09 dalek rakudo/nom: This fixes failing tests in S05-transliteration/with-closure.
13:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/28d259f079
13:09 dalek rakudo/nom: aa721f4 | FROGGS++ | src/core/Str.pm:
13:09 dalek rakudo/nom: Merge pull request #423 from usev6/rt124656
13:09 dalek rakudo/nom:
13:09 dalek rakudo/nom: Avoid calling 'get_next_substitution_result' when at end of string
13:09 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/aa721f4bb3
13:11 ssqq joined #perl6
13:13 masak spectest failure in t/spec/S17-lowlevel/lock.rakudo.moar
13:13 ssqq How to change the prompt of perl6 REPL. `>` to other like 'repl>'
13:14 masak Failed test: 7
13:14 masak Non-zero exit status: 1
13:14 masak test runs fine with either `make` or `perl6`, but failed under `TEST_JOBS=4 make spectest`
13:17 pmichaud ssqq: I don't think we have a way to change the repl prompt at the moment.
13:17 pmichaud I could be wrong about that.
13:19 dalek roast: 9a2b99d | usev6++ | S05-transliteration/with-closure.t:
13:19 dalek roast: Unfudge passing tests, add another test for .trans with closure
13:19 dalek roast: review: https://github.com/perl6/roast/commit/9a2b99d279
13:20 lizmat I've seen reports of people moving linenoise.so into place manually, but I personally don't use the repl and I have no idea where the right place is
13:20 masak is there any advantage of `submethod BUILD(...) { self }` rather than just `submethod BUILD(...) {}` ?
13:21 masak I'm not aware of one.
13:21 itz there is no -shared target for linenoise.so you have to compile manually and move into either the current working directory or a LD_LIBRARY_PATH location
13:21 lizmat I guess it's part of a non-standard .new ?
13:22 masak could very well be. this was in Enum.pm, and when I changed `method` to `submethod`, I got an error in the vicinity of Pair.pm, a subclass.
13:23 pmichaud in looking at the linenoise details, I think I'd much prefer having linenoise linked in at the nqp level.  There's already nqp::readline() defined, and HLL::Compiler.readline as well.
13:23 masak blib/Perl6/BOOTSTRAP.moarvm originates the error. it expected a BUILD in Pair -- didn't find one. guess until now it's been inherited.
13:24 masak yep, the `method BUILD` in Enum is non-standard, alright. it takes two positionals. didn't notice that until now.
13:24 lizmat masak: yeah, just discussed with jnthn
13:25 lizmat we're cheating there
13:25 masak starting to realize that.
13:25 masak guess because Pairs are needed to have positionals in the first place.
13:25 ssqq_ joined #perl6
13:25 masak er, to have named params
13:25 lizmat the custom .new is also the reason why BUILD is returning self
13:26 masak ok.
13:26 masak leaving Enum.pm alone, then.
13:27 masak what about Setty.pm ? it also returns `self`, but it has :%!elems, a named parameter
13:27 masak the other five cases seem to be mistakenly `method` instead of `submethod`, but Setty I'm not sure of
13:27 itz pmichaud: I've a vague memory of seeing a similar discussion about linenoise on IRC before
13:28 lizmat masak: that one is probably cargo culted
13:28 pmichaud itz:  I can go back and check on it.
13:28 masak ok
13:29 masak spectesting.
13:30 coffee` joined #perl6
13:32 pmichaud rosetta code note:  The Perl 6 answer for "Prime decomposition" doesn't make use of the .is-prime builtin.  http://rosettacode.org/wiki/Prime_decomposition#Perl_6
13:32 masak probably predates it.
13:40 Sysaxed` joined #perl6
13:41 rindolf joined #perl6
13:46 [TuxCM] joined #perl6
13:48 hoelzro DrForr: I didn't know you'd written a readline module! we should modify the REPL to check for that for line editing support as well as linenoise
13:49 DrForr It's only on github so far, but it is a more or less complete perl6 binding to libreadline5.
13:49 hoelzro DrForr++
13:50 hoelzro pmichaud: linenoise used to be integrated at the VM level, but I removed it so that the REPL could be enhanced at a higher level
13:50 DrForr I put it on hold while a bug in paerametrized signatures got worked out, but I should take some time to finish up the docs and add it to modules.perl6.org.
13:51 hoelzro I was thinking that Linenoise would be included in Star releases, but maybe it should be included with Rakudo itself
13:51 masak DrForr: release early, release often :)
13:51 hoelzro DrForr: cool, ping me when it's ready, and we can work on adding support in the REPL!
13:52 DrForr Will do.
13:54 pmichaud hoelzro: I'm thinking Rakudo (and module) is too high level.
13:54 dalek rakudo/nom: 95d7e8b | lizmat++ | src/core/Enum.pm:
13:54 dalek rakudo/nom: Privatize Enum
13:54 dalek rakudo/nom:
13:54 dalek rakudo/nom: Half of the occurrences in the source were $!key and $!value, and the other
13:54 dalek rakudo/nom: half were $.key and $.value.  Since subclassing Enum was not possible
13:54 dalek rakudo/nom: because of this already, it felt like a good idea to make them all private
13:54 dalek rakudo/nom: for performance.
13:54 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/95d7e8b158
13:55 pmichaud hoelzro: I'd like to see if a basic version can go in as part of NQP, as part of HLL::Compiler (more).
13:55 masak lizmat++
13:55 hoelzro what would be the appropriate place for a blurb recommending the use of rlwrap, or the installation or Linenoise?
13:55 masak oh, meanwhile, my patch spectested fine.
13:55 lizmat masak++
13:55 masak just a spurious failure in t/spec/S05-transliteration/with-closure.rakudo.moar I think.
13:55 pmichaud Then a module (e.g., in Star) could be used to enhance it further if desired.
13:55 * masak re-runs that test just to be sure
13:56 masak nope. not spurious.
13:56 espadrine_ joined #perl6
13:56 masak hm, I did change Match.pm...
13:56 masak oh; that one is "special" too.
13:56 * masak changes it back and re-spectests
13:57 Sysaxed` joined #perl6
13:58 hoelzro pmichaud: I'm not opposed to having line editing support in NQP, but I don't know what that would look like
13:58 hoelzro I found it a little odd that invoking a readline library was a core operation in MoarVM, personally
14:00 pmichaud hoelzro: line editing support existed in NQP on Parrot
14:00 pmichaud it's not that odd, I don't think.
14:00 pmichaud I need to look a little more at the LineNoise module to see how it's implemented and what it's doing
14:01 pmichaud jnthn++ had a few other remarks about it also, so we should probably check with him
14:02 pmichaud (I'm in a workshop at the moment)
14:02 hoelzro ok
14:04 agentzh_ joined #perl6
14:12 raiph joined #perl6
14:16 dalek rakudo/nom: 27fc134 | lizmat++ | src/core/Pair.pm:
14:16 dalek rakudo/nom: Some minor Pair cleanup
14:16 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/27fc134e7d
14:20 masak hm, no, that didn't fix it.
14:20 masak oh, PairMap appears to be "special" as well.
14:20 * masak didn't even know we had PairMap
14:24 masak oh, it's relatively new. March this year.
14:26 masak but the spec for it is from 2009.
14:28 agentzh joined #perl6
14:28 agentzh joined #perl6
14:29 agentzh joined #perl6
14:31 masak wow. with every spectest run, I'm only making stuff worse. :)
14:32 skids joined #perl6
14:35 lizmat masak: yeah, I thought I'd implement some of it at one point
14:40 masak ok, at least one of those tests is flappy. (t/spec/S04-phasers/in-loop.rakudo.moar)
14:41 masak now re-running without TEST_JOBS
14:41 masak t/spec/S17-lowlevel/lock.rakudo.moar is a known flappy one, I guess.
14:43 dalek roast: bdf42e1 | usev6++ | S06-operator-overloading/sub.t:
14:43 dalek roast: Traits should come after params, use unique RT number
14:43 dalek roast: review: https://github.com/perl6/roast/commit/bdf42e1fba
14:52 lizmat masak: haven't seen that one fail recently, but it is one that failed regularly in the past
14:53 masak now spectesting without TEST_JOBS and without my patch, as a baseline.
14:53 dalek mu: d57faec | usev6++ | misc/rt.perl.org/cleanup_nyc_hackathon_tickets.txt:
14:53 dalek mu: Keep track of merged and resolved tickets
14:53 dalek mu: review: https://github.com/perl6/mu/commit/d57faec3ac
14:58 [TuxCM] why is in «my $e; { foo(); CATCH { default { $e = $_; }}; ~$e.say» calling $_.sink inside the default block?
14:59 [TuxCM] in «my $e; { foo(); CATCH { default { $e = $_; 1; }}; ~$e.say» (adding 1;) it does not
14:59 masak that's weird.
14:59 masak the reverse situation I'd have been able to explain...
15:00 [TuxCM] I'll try to golf that ...
15:01 pmichaud the CATCH block is running in sink context, I'd guess.
15:02 pmichaud i.e., the .sink is being called not inside the default block, but rather when the result is passed upwards to one of the outer blocks
15:04 masak t/spec/S05-transliteration/with-closure.rakudo.moar seems ti genuinely fail here.
15:04 [TuxCM] https://gist.github.com/Tux/fceeab1d62fc77c00382
15:05 pmichaud the outer block is in sink context (due to the ~$e.say following it).  Since that block contains a CATCH, it acts like a "try block", and executes its contents in sink context.  The value of $e is being returned in the first case, so it gets sunk.  In the second case it's the "1" that is being returned from the CATCH, and it gets sunk also (but is more quiet about it)
15:05 bartolin masak: I unfudged some tests today: https://github.com/perl6/roast/commit/9a2b99d2
15:06 * [TuxCM] is still confused
15:06 bartolin masak: are those failing? they should not with rakudo commit 28d259f
15:07 [TuxCM] «my $e; { foo(); CATCH { default { $_; }}; ~$e.say» is void context and should call sink
15:07 FROGGS[mobile] joined #perl6
15:08 [TuxCM] or should I write $e = { ... CATCH { default { $_ }}; ?
15:10 molaf_ joined #perl6
15:14 isBEKaml joined #perl6
15:16 _mg_ joined #perl6
15:18 masak bartolin: have to go, will investigate later.
15:20 diana_olhovik_ joined #perl6
15:21 pmichaud [TuxCM]: I'm not sure that the assignment is what you want there.
15:21 [TuxCM] I think I don't: it assigns the block
15:22 [TuxCM] (without calling it)
15:22 cognominal joined #perl6
15:22 Alina-malina joined #perl6
15:24 tadzik joined #perl6
15:25 kurahaupo1 joined #perl6
15:25 lizmat joined #perl6
15:31 timotimo raydiak: (backlogged) the JIT doesn't care if an operator comes from core or not; the static optimizer will only do some optimizations on some operators if they are the ones from core, because it relies on their specific semantics (like infix:<|> actually creating a Junction object of the "any" type)
15:31 agentzh_ joined #perl6
15:40 bartolin looks like there is a file S04/statements/lift.t in roast. lift was unspecced for quite a while -- would it make sense to remove that file from roast?
15:40 xfix joined #perl6
15:41 bartolin (the file is not included in rakudo's t/spectest.data)
15:44 FROGGS bartolin: I have 90 more files... so you can leave that to me
15:45 bartolin 90? wow, ++FROGGS
15:50 isBEKaml bartolin: you were the one behind the frenetic ticket drilldown on RT? I received a *lot* of emails over that! :-)
15:54 bartolin isBEKaml: yepp, I'm trying to clean up some of the recently tickets. (more than 400 fudged tests without a corresponding ticket got added to RT by dnmfarrell++, cmp. https://github.com/perl6/roast/commit/80933b15)
15:55 tony-o m: $*IN.watch.tap(-> $data { $d.say; }); sleep 1;
15:55 camelia rakudo-moar 27fc13: OUTPUT«5===SORRY!5=== Error while compiling /tmp/2MyUa1UlB9␤Variable '$d' is not declared␤at /tmp/2MyUa1UlB9:1␤------> 3$*IN.watch.tap(-> $data { 7⏏5$d.say; }); sleep 1;␤»
15:55 tony-o m: $*IN.watch.tap(-> $data { $data.say; }); sleep 1;
15:55 camelia rakudo-moar 27fc13: OUTPUT«Unhandled exception in code scheduled on thread 3␤no such file or directory␤␤»
15:55 agentzh_ joined #perl6
15:57 tony-o should i be able to tap that?
15:59 isBEKaml bartolin: 232 files in 1 commit? damn...
15:59 isBEKaml bartolin++
16:02 thou joined #perl6
16:12 araujo joined #perl6
16:17 silug joined #perl6
16:22 timotimo tony-o: STDIN isn't bound to a file, is it?
16:22 timotimo how is it supposed to watch that for file changes: :)
16:23 tony-o i thought i could tap it because it's a supply
16:28 timotimo well, some supplies execute code when you tap them
16:28 timotimo those are called "on-demand", if i'm not confusing terms here
16:28 tony-o ah , gotcha
16:31 timotimo i believe that's what's happening here
16:31 timotimo maybe the .watch method should return a failure or throw an exception if it's invoked on a handle we don't have an associated file for
16:32 timotimo that would make your code up there fail in the main thread
16:32 timotimo rather than just showing the exception on stderr (or stdout?) and going on
16:34 timotimo depending on your code and mindset, either would be preferable :P
16:35 tony-o and a catchable error is at least decent :-)
16:35 timotimo aye
16:35 tony-o it took my a little while to figure out where that was coming from
16:37 zakharyas joined #perl6
16:39 _mg_ joined #perl6
16:40 yqt joined #perl6
16:50 raiph joined #perl6
17:00 raydiak timotimo: wrt JIT I guess I was thinking about the effects of mixing a bunch of calls to various ops being dynamically redefined in the same scope, as opposed to having the different ops imported at compile time into a separate lexical scope like usual
17:02 raydiak of course my understanding of what's going on in there is almost so crude you could say it doesn't exist :)
17:03 timotimo in what instance were you expecting $*IN.watch to work? :)
17:04 timotimo raydiak: everything lexical is known at compile time already
17:04 timotimo that's what's so good about lexicalness :)
17:05 domidumont joined #perl6
17:05 raydiak timotimo: in for ^1e9 { say $_ + $_; ... }, are you trying to tell me that the JIT won'
17:05 raydiak t
17:06 raydiak notice if ... changes what infix:<+> means?
17:06 timotimo huh? of course it will
17:06 raydiak well that's the kind of nonsense I was trying to discourage :)
17:06 timotimo you can't lexically redefine + after it's already been used in the same scope
17:06 timotimo it'd get the new meaning "immediately"
17:07 dalek specs: 64ea7b7 | (Nick Logan)++ | S32-setting-library/IO.pod:
17:07 dalek specs: Update IO.pod
17:07 dalek specs:
17:07 dalek specs: method .spurt accepts named argument $bin
17:07 dalek specs: review: https://github.com/perl6/specs/commit/64ea7b7aa4
17:07 raydiak wasn't sure if it could be done or not at all, but had been trying to explain why you really probably don't want *that* anyway
17:08 timotimo hah
17:09 timotimo m: 1 + 1; sub infix:<+>($a, $b) { say "whoa!" }
17:09 camelia rakudo-moar 27fc13: OUTPUT«whoa!␤»
17:10 coffee` joined #perl6
17:12 raydiak don't recally the conversation in detail, he probably didn't have "in a for loop" in mind, so maybe what he wanted could have been done statically...
17:17 timotimo oh, you were still refering to "undefining something"?
17:18 raydiak yep just re-read it, that's what I was answering
17:19 raydiak sounded to me like he really wanted a slang or so instead
17:19 timotimo that's not possible, is it?
17:20 raydiak m: CORE::<&say> :delete
17:20 camelia rakudo-moar 27fc13: OUTPUT«Unhandled exception: Can not remove values from a PseudoStash␤   at src/gen/m-CORE.setting:14646  (/home/camelia/rakudo-inst-2/share/perl6/runtime/CORE.setting.moarvm:throw:121)␤ from src/gen/m-CORE.setting:16521  (/home/camelia/rakudo-inst-2/share/per…»
17:22 timotimo m: &say := sub lol(|c) { note "haha" }
17:22 camelia rakudo-moar 27fc13: OUTPUT«5===SORRY!5=== Error while compiling /tmp/WLPV8WVgHH␤Cannot use bind operator with this left-hand side␤at /tmp/WLPV8WVgHH:1␤------> 3&say := sub lol(|c) { note "haha" }7⏏5<EOL>␤    expecting any of:␤        postfix␤»
17:22 FROGGS m: my &say := sub lol(|c) { note "haha" }
17:22 camelia rakudo-moar 27fc13: ( no output )
17:23 raydiak yeah FROGGS was the first to suggest you could probably at least define it to point to something useless or nonexistant, but I didn't figure out if/how that would work and what it would look like, and didn't much care for the messiness anyway so moved on
17:24 raydiak oh I remember the last problem I was running in to, was just some special checks in rakudo for CORE names in certain cases, like...
17:25 raydiak m: my &say = { say "foo!\n" }; say()
17:25 camelia rakudo-moar 27fc13: OUTPUT«Memory allocation failed; could not allocate 159616 bytes␤»
17:25 raydiak m: my &say = { print "foo!\n" }; say()
17:25 camelia rakudo-moar 27fc13: OUTPUT«foo!␤»
17:25 raydiak there we go
17:25 raydiak but then, if you...
17:25 raydiak m: my &say = { print "foo!\n" }; say
17:25 camelia rakudo-moar 27fc13: OUTPUT«5===SORRY!5===␤Argument to "say" seems to be malformed␤at /tmp/cizDx4J0Hn:1␤------> 3my &say = { print "foo!\n" }; say7⏏5<EOL>␤Other potential difficulties:␤    Unsupported use of bare "say"; in Perl 6 please use .say if you meant $_, o…»
17:26 raydiak but by then I was pretty tired and my attention was just kinda floating around uselessly, so I wasn't even keeping track of the original problem I was trying to solve any more :)
17:26 timotimo right, we don't expect you to reimplement "say" to something that you don't need to supply an argument to
17:27 raydiak which, for operators, may or may not have been another issue he'd run in to
17:28 raydiak depending on what he was hoping to make them do
17:31 coffee` joined #perl6
17:32 raydiak all I really knew for sure was that he was destined to experience much pain and agony (and associate it with perl 6) if he kept trying to pound nails with a wrench, so I tried to suggest using a hammer, or bolts instead of nails :)
17:36 dalek rakudo/nom: a040b1a | TimToady++ | src/core/control.pm:
17:36 dalek rakudo/nom: warn should add file and line unless /\n$/
17:36 dalek rakudo/nom:
17:36 dalek rakudo/nom: (This code assumes the warning should always put the file and line from the
17:36 dalek rakudo/nom: user's program, not from the setting.)
17:36 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a040b1ac70
17:38 skids m: do { my sub abs { -42 }; say (abs) }
17:38 camelia rakudo-moar 27fc13: OUTPUT«5===SORRY!5=== Error while compiling /tmp/iI_dY5t6Gb␤Unsupported use of bare "abs"; in Perl 6 please use .abs if you meant $_, or use an explicit invocant or argument␤at /tmp/iI_dY5t6Gb:1␤------> 3do { my sub abs { -42 }; say (abs7⏏5) }␤»
17:38 tony-o does perl6 $*IN.slurp-rest wait for stdin to be closed?
17:39 TimToady should just wait for an eof indication
17:41 tony-o is there a way to use it as a stream?
17:41 zakharyas joined #perl6
17:41 TimToady it
17:41 tony-o or repoien it
17:41 TimToady it?
17:41 tony-o $*IN
17:42 TimToady depends on whether it's bound to a file or not, surely
17:42 tony-o it's not as timotimo schooled me earlier
17:43 skids .oO(heheh.  "bare abs".  just noticed that.)
17:44 tony-o https://gist.github.com/tony-o/06c5e6b9bf7dddb8733e
17:44 FROGGS m: my &say = { CORE::say "foo!\n" }; say()
17:44 camelia rakudo-moar 27fc13: OUTPUT«5===SORRY!5=== Error while compiling /tmp/9pmvvnmySm␤Two terms in a row␤at /tmp/9pmvvnmySm:1␤------> 3my &say = { CORE::say7⏏5 "foo!\n" }; say()␤    expecting any of:␤        infix␤        infix stopper␤        statement end␤     …»
17:44 FROGGS m: my &say = { CORE::say("foo!\n") }; say()
17:44 camelia rakudo-moar 27fc13: OUTPUT«Cannot find method 'Any'␤  in block <unit> at /tmp/4gM4jfQFcL:1␤␤»
17:45 FROGGS m: my &say = { &CORE::say("foo!\n") }; say()
17:45 camelia rakudo-moar 27fc13: OUTPUT«foo!␤␤»
17:45 tony-o am i looking at the wrong way of getting a stream of data from $*IN if i don't want to close $*IN prior to reading the data?
17:45 FROGGS raydiak: nothing checks for 'say', it is just that your code called itself... again and again
17:46 raydiak FROGGS: yeah that one was a mistake, I meant the "unsupported use of bare ..."
17:47 FROGGS ahh yes, that's a check in the grammar
17:50 skids That check seems aimed at heading off bareword errors for perl5ers.  And in the way for other folks.
17:51 skids Hrm, or no,  why is that check even there, really?
17:52 raydiak he was on to an idea though...if you could get a "no-CORE setting", or something closeish to it, it'd be a fun way for people to try their toy languages without even needing their own grammar, just relying on the *fix op declarations
17:52 raydiak skids: yes pretty sure it's for P5ers
17:52 raydiak p5: say "does this work?"
17:52 raydiak 5: say "does this work?"
17:52 raydiak camelia: help
17:52 camelia raydiak: Usage: <(niecza|debug-cat|prof-m|pugs|rakudo-jvm|nqp-parrot|std|nqp-jvm|p5-to-p6|nqp-js|star-m|star-j|rakudo-moar|nqp-moarvm|Prn|nqp-mvm|perl6|nrP|nqp-j|j|r|p56|sj|sm|nqp-p|nqp-q|rnP|p6|nqp-m|m|rakudo|nr|r-m|n|nqp|rj|rm|rPn|r-j|r-jvm|star|nom|rn|P|Pnr|nPr)(?^::\s) $perl6_program>
17:53 raydiak guess we have no 5 in the evalbot
17:53 vendethiel p5-to-p6: for (<>) print;
17:53 camelia p5-to-p6 : OUTPUT«Syntax Error near 0 at perlito5.pl line 13769.␤»
17:54 geekosaur needs braces, but that's a terrible way to report a syntax error
17:54 raydiak but yeah many p5 core functions would just work on $_ if you didn't pass them something
17:54 vendethiel npr: 1
17:54 vendethiel p5-to-p6: for (<>) {  print; }
17:54 camelia p5-to-p6 : OUTPUT«for <glob> {␤    .print␤}␤»
17:59 * raydiak greatly prefers P6's implicit invocant to P5's sometimes-implicit parameter
18:01 skids raydiak: yeah the check only seems to happen on things that are defined subs in P5.  So at least that limits it to a very slowly growing finite list.
18:04 raydiak oh yeah, I don't regard it as a problem we have necessarily, except for the person who says they want a "clean slate" CORE to work with
18:07 vendethiel raydiak: troo :-)
18:08 vendethiel m: sub prefix:<^^>(@a is copy){ @a }; for ^^lines { s/a/e/; .say; }
18:08 camelia rakudo-moar a040b1: OUTPUT«5===SORRY!5=== Error while compiling /tmp/16vzcqnnbC␤Expected a term, but found either infix ^^ or redundant prefix ^␤  (to suppress this message, please use a space like ^ ^)␤at /tmp/16vzcqnnbC:1␤------> 3ub prefix:<^^>(@a is copy){ @a }; for…»
18:09 vendethiel :(?
18:09 skids Though I guess a policy of "if P5 decides to backport this sub from P6, do not allow bare use" might be appropriate.
18:12 raydiak it'd be cleaner I'd think to just have a "multi sub say () { die ... }" in core, but it has a runtime penalty
18:12 raydiak I mean vs checking it in the grammar
18:12 ugexe is there a way to add something like a common phaser to methods, like adding roles to a class?
18:16 bartolin m: say (2,10).min():{ $^a leg $^b } # is this supposed to work?
18:16 camelia rakudo-moar a040b1: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value'␤»
18:16 bartolin m: say (2,10).min :{ $^a leg $^b } # is this supposed to work?
18:16 camelia rakudo-moar a040b1: OUTPUT«===SORRY!===␤Cannot find method 'has_compile_time_value'␤»
18:16 bartolin m: say (2,10).min:{ $^a leg $^b }
18:16 camelia rakudo-moar a040b1: OUTPUT«10␤»
18:19 raydiak no idea
18:19 FROGGS bartolin: no and no
18:19 skids I would doubt the first one should work at least.  Errors LTA.
18:19 FROGGS though, it should fail in the grammar, not the actions
18:20 skids std: say (2,10).min():{ $^a leg $^b }
18:20 camelia std 28329a7: OUTPUT«ok 00:00 142m␤»
18:20 FROGGS O.o
18:20 FROGGS std: say (2,10).min( $^a leg $^b ):{ $^a leg $^b }
18:20 camelia std 28329a7: OUTPUT«5===SORRY!5===␤Placeholder variable $^a may not be used outside of a block at /tmp/MpdQyaQ5VX line 1:␤------> 3say (2,10).min( 7⏏5$^a leg $^b ):{ $^a leg $^b }␤Placeholder variable $^b may not be used outside of a block at /tmp/MpdQyaQ5VX line 1:…»
18:20 FROGGS std: say (2,10).min( * leg * ):{ $^a leg $^b }
18:20 camelia std 28329a7: OUTPUT«ok 00:00 142m␤»
18:20 FROGGS that's insane
18:21 FROGGS std: say (2,10).min( * leg * ): { $^a leg $^b }
18:21 camelia std 28329a7: OUTPUT«ok 00:00 142m␤»
18:21 bartolin std: say (2,10).min :{ $^a leg $^b }
18:21 camelia std 28329a7: OUTPUT«ok 00:00 142m␤»
18:21 bartolin hmm
18:22 skids Maybe one of those "reserved use of the colon" intentionally unfinished areas.
18:23 bartolin ok, thanks for looking!
18:23 FROGGS I just think that std does not check that it already got an arglist
18:40 vendethiel could we realistically see TCO in perl6 (at some point in the Future(TM))?
18:40 TimToady no, that : is quite intentional
18:40 vendethiel (tail call optimization)
18:41 TimToady it's intended to be a by Ruby-esque in allowing a block after a parenthesize arg list $foo.bar(@args): { block }
18:41 TimToady s/by//
18:41 TimToady er, s/by/bit/
18:42 TimToady it also fixes the sitation where the first arg isn't really part of the list
18:42 TimToady map(*+2), @a X @b
18:42 TimToady er, s/,/:/
18:43 TimToady std: map(*+2): <a b c> X <d e f>
18:43 camelia std 28329a7: OUTPUT«ok 00:00 137m␤»
18:44 masak TimToady: I find I'm far more on in a situation where I want to do `listop expr() { ... }`
18:44 masak (I have a macros musing post about that, I think)
18:45 TimToady well, that's Ruby TTIARism
18:45 masak yes.
18:45 * TimToady mislikes it
18:45 masak thing is, special forms in the language like `if` and `while` already do it.
18:46 FROGGS everything is a TTIAR
18:46 masak sometimes I feel like making something that looks special-form-y like that.
18:46 masak &
18:46 TimToady I seem to recall that every DWIM comes with its corresponding WAT
18:51 TimToady m: warn "phooey"
18:51 camelia rakudo-moar a040b1: OUTPUT«phooey at /tmp/tWPdup3r8T line 1␤»
18:51 TimToady m: Nil.Str
18:51 camelia rakudo-moar a040b1: OUTPUT«Use of Nil in string context at /tmp/69bTFJqvGW line 1␤»
18:54 aborazmeh joined #perl6
18:54 aborazmeh joined #perl6
19:01 yqt joined #perl6
19:11 spider-mario joined #perl6
19:14 zakharyas joined #perl6
19:16 agentzh_ joined #perl6
19:32 larion joined #perl6
19:33 dwarring joined #perl6
19:34 masak hm, I was sure #125129 was in RT already, but I can't seem to find it when I search...
19:34 synbot6 Link:  https://rt.perl.org/rt3/Public/Bug/Display.html?id=125129
19:35 dalek nqp/ignoremark: 33039fc | FROGGS++ | src/ (2 files):
19:35 dalek nqp/ignoremark: implement ignoremark for charranges
19:35 dalek nqp/ignoremark: review: https://github.com/perl6/nqp/commit/33039fc1b2
19:36 dalek roast: 8e5a074 | FROGGS++ | S05-modifier/ignoremark.t:
19:36 dalek roast: add test for ignoremark + range in character class
19:36 dalek roast: review: https://github.com/perl6/roast/commit/8e5a0745e1
19:36 masak some great work seems to be happening in RT right now. I sincerely approve.
19:36 masak bartolin++
19:40 FROGGS we need more tests for regex modifiers, also for testing LTM (there are most likely no test for that at all)
19:44 FROGGS m: say (1,2,3).map({$^a + $^b}) # should placeholder params be optional by default?
19:44 camelia rakudo-moar a040b1: OUTPUT«Too few positionals passed; expected 2 arguments but got 1␤  in block <unit> at /tmp/xWOAymnHYW:1␤␤»
19:44 FROGGS hmpf
19:45 FROGGS S05-match/perl.t got broken again...
19:45 dalek roast: 3ec1592 | usev6++ | S05-interpolation/regex-in-variable.t:
19:45 dalek roast: Use existing ticket number
19:45 dalek roast: review: https://github.com/perl6/roast/commit/3ec1592552
19:45 dalek roast: 933dc19 | usev6++ | S05-modifier/ignorecase.t:
19:45 dalek roast: Use existing ticket number
19:45 dalek roast: review: https://github.com/perl6/roast/commit/933dc1997e
19:45 dalek roast: 1afc250 | usev6++ | S32-list/map.t:
19:45 dalek roast: Narrow fudging and replace reference to closed ticket
19:45 dalek roast: review: https://github.com/perl6/roast/commit/1afc250d31
19:46 bartolin FROGGS: I just added that ticket (about placeholder variables) so I could narrow down the fudgeing.
19:47 FROGGS bartolin: yeah, I am asking here because I saw the mail from RT
19:47 bartolin *g*
19:47 bartolin . o O (one of those mails ...)
19:47 FROGGS :o)
19:53 dalek rakudo/nom: 8eaab87 | FROGGS++ | t/spectest.data:
19:53 dalek rakudo/nom: add all test files from roast to spectest.data
19:53 dalek rakudo/nom:
19:53 dalek rakudo/nom: The goal is to get roast clean this year, so we either fix and include them
19:53 dalek rakudo/nom: or remove questionable files entirely.
19:53 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8eaab87b2f
19:55 vendethiel FROGGS++
19:56 bartolin FROGGS++
19:56 telex joined #perl6
19:57 masak here's to a clean roast! ????
19:57 FROGGS if somebody wants to look at S05-match/perl.t, it was working yesterday... one of the Empty/Nil changes might cause the breakage here
19:57 FROGGS m: say uniname '????'
19:57 camelia rakudo-moar a040b1: OUTPUT«COCKTAIL GLASS␤»
19:57 FROGGS :o)
20:02 dwarring hi perl6
20:02 FROGGS hi dwarring
20:03 dwarring hi FROGGS
20:03 dwarring m: my %h = classify { "foo" }, ();
20:03 camelia rakudo-moar a040b1: OUTPUT«Cannot look up attributes in a type object␤  in block <unit> at /tmp/_2S0X0mZLg:1␤␤»
20:03 dwarring m: my %h = classify { "foo" }, ("xx");
20:03 camelia rakudo-moar a040b1: ( no output )
20:04 dwarring that's started happening over the last few days
20:04 dwarring I'll put in an RT
20:04 FROGGS dwarring++
20:05 dwarring just seems to be the particular case of classify + empty list with hash assigment
20:29 dalek rakudo/nom: 64a0184 | (Carl Masak)++ | src/core/ (4 files):
20:29 dalek rakudo/nom: change some `method BUILD` to `submethod BUILD`
20:29 dalek rakudo/nom:
20:29 dalek rakudo/nom: As an infrastructural method, `BUILD` should in general be a submethod
20:29 dalek rakudo/nom: to prevent it from being inherited.
20:29 dalek rakudo/nom:
20:29 dalek rakudo/nom: There were 3 occurrences that I left alone: in Enum, Match, and
20:29 dalek rakudo/nom: PairMap. These, as I learned, are circular-chainsaw "cheats", and
20:29 dalek rakudo/nom: it appears they can't be submethods because of this.
20:29 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/64a0184434
20:29 masak I'm reasonably confident I didn't introduce any new spectest failures.
20:29 Sysaxed` joined #perl6
20:31 dalek roast: 50a6760 | usev6++ | S32-list/ (3 files):
20:31 dalek roast: Change fudged tests from 'skipped' to 'todo'
20:31 dalek roast: review: https://github.com/perl6/roast/commit/50a6760157
20:43 skids joined #perl6
20:44 dalek nqp: 4de33c4 | FROGGS++ | src/ (5 files):
20:44 dalek nqp: implement ignoremark for moarvm backend
20:44 dalek nqp:
20:44 dalek nqp: Ranges in character classes are still todo and require some thought.
20:44 dalek nqp: Also, this patch does not include the required stage0 bump, which we
20:44 dalek nqp: need because we use a new op called nqp::ordbaseat(str, offset).
20:44 dalek nqp: review: https://github.com/perl6/nqp/commit/4de33c43c0
20:44 dalek nqp: b289f69 | FROGGS++ | src/ (2 files):
20:44 dalek nqp: implement ignoremark for charranges
20:44 dalek nqp: review: https://github.com/perl6/nqp/commit/b289f69051
20:44 dalek nqp: d267664 | FROGGS++ | / (35 files):
20:44 dalek nqp: bump stage0, implementing ordbaseat for moar, and NYI for jvm/parrot
20:44 dalek nqp: review: https://github.com/perl6/nqp/commit/d267664345
20:56 [Sno] joined #perl6
20:56 dalek rakudo/nom: d356462 | FROGGS++ | / (3 files):
20:56 dalek rakudo/nom: implement ignoremark, though needs tbd for interpolations
20:56 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/d356462fed
20:57 dalek roast: 27cb51d | usev6++ | S32-list/sort.t:
20:57 dalek roast: Fix and unfudge tests, use existing ticket number
20:57 dalek roast:
20:57 dalek roast: RT #68112 was rejected back in 2012, so I adjusted
20:57 dalek roast: the tests to 'throws_like'
20:57 synbot6 Link:  https://rt.perl.org/rt3/Public/Bug/Display.html?id=68112
20:57 dalek roast: review: https://github.com/perl6/roast/commit/27cb51d709
20:58 dalek rakudo/nom: 48bb9a1 | FROGGS++ | t/spectest.data:
20:58 dalek rakudo/nom: run now passing test files
20:58 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/48bb9a13e7
20:58 colomon joined #perl6
21:02 dalek rakudo/nom: ace270c | FROGGS++ | t/spectest.data:
21:02 dalek rakudo/nom: ups, run NFG tests on moar only
21:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ace270cc65
21:06 laouji joined #perl6
21:11 dalek roast: 3d806ed | FROGGS++ | S05-interpolation/regex-in-variable.t:
21:11 dalek roast: readd missing quote in fudge message
21:11 dalek roast: review: https://github.com/perl6/roast/commit/3d806ed149
21:12 FROGGS m: say 'abxab' ~~ /(ab)x"$0"/
21:12 camelia rakudo-moar 64a018: OUTPUT«flatten requires a concrete string, but got null␤  in regex  at /home/camelia/rakudo-inst-2/share/perl6/runtime/CORE.setting.moarvm:1␤  in block <unit> at /tmp/TosM9i6cht:1␤␤»
21:12 FROGGS that seems to be new
21:13 coffee` joined #perl6
21:16 FROGGS m: say 'abxab' ~~ /(ab)x"ab"/
21:16 camelia rakudo-moar 64a018: OUTPUT«「abxab」␤ 0 => 「ab」␤»
21:18 Alina-malina joined #perl6
21:19 bartolin FROGGS: with aa721f4 I don't get that error (but there is a warning "Use of Nil in string context")
21:20 dalek mu: 33eeecc | usev6++ | misc/rt.perl.org/cleanup_nyc_hackathon_tickets.txt:
21:20 dalek mu: Keep track of merged and resolved tickets
21:20 dalek mu: review: https://github.com/perl6/mu/commit/33eeeccdc5
21:21 FROGGS bartolin: ahh, then I know what is wrong
21:34 spider-mario joined #perl6
21:38 timotimo FROGGS: you didn't want to add the lcordat/ucordat ops before doing the actual stage0 bump?
21:39 FROGGS timotimo: it is too late anyway now :o)
21:39 timotimo yes ;_;
21:40 FROGGS and I still don't know if we need these things as ops, or if speshing the three or four single ops to something like lcordat makes sense
21:41 timotimo oh
21:41 timotimo perhaps
21:41 eli-se joined #perl6
21:41 eli-se .botsnack
21:41 yoleaux :D
21:41 synbot6 om nom nom
21:48 silug joined #perl6
21:50 dalek roast: b0e8aa2 | (David Warring david.warring@gmail.com)++ | S02-names-vars/perl.t:
21:50 dalek roast: RT #125110 .perl method on composing chars. fudged for moar
21:50 dalek roast: review: https://github.com/perl6/roast/commit/b0e8aa2b88
21:50 synbot6 Link:  https://rt.perl.org/rt3/Public/Bug/Display.html?id=125110
21:52 eli-se thanks for the link synbot6
21:57 dalek rakudo/nom: f72bc96 | FROGGS++ | src/core/control.pm:
21:57 dalek rakudo/nom: unbust warning for Nil in strings in regexes
21:57 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f72bc967f2
22:04 dalek rakudo/nom: 3044df6 | (Radek Slupik)++ | CREDITS:
22:04 dalek rakudo/nom: Add rightfold to credits
22:04 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/3044df6276
22:04 dalek rakudo/nom: d52f84d | rightfold++ | CREDITS:
22:04 dalek rakudo/nom: Add rightfold's IRC username to CREDITS
22:04 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/d52f84d330
22:04 dalek rakudo/nom: f226f73 | FROGGS++ | CREDITS:
22:04 dalek rakudo/nom: Merge pull request #414 from rightfold/nom
22:04 dalek rakudo/nom:
22:04 dalek rakudo/nom: Add rightfold to credits
22:04 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/f226f73c13
22:08 dalek roast: e30caf9 | FROGGS++ | S32-basics/warn.t:
22:08 dalek roast: unfudge now passing warn() test
22:08 dalek roast: review: https://github.com/perl6/roast/commit/e30caf97df
22:18 jepeway joined #perl6
22:21 masak 'night, #perl6
22:21 FROGGS gnight #perl6
22:24 thou joined #perl6
22:27 dalek roast: a0269f9 | (David Warring david.warring@gmail.com)++ | S32-list/classify.t:
22:27 dalek roast: added test for RT #125148 - classify on an empty list
22:27 dalek roast: review: https://github.com/perl6/roast/commit/a0269f9680
22:27 synbot6 Link:  https://rt.perl.org/rt3/Public/Bug/Display.html?id=125148
22:46 lizmat joined #perl6
22:47 Timbus joined #perl6
22:48 cognominal joined #perl6
22:50 kurahaupo joined #perl6
23:08 larion joined #perl6
23:11 raiph joined #perl6
23:12 * lizmat wanted to check something before going to bed
23:13 lizmat alas, rakudo has become 2.2 times as slow all of a sudden
23:13 lizmat and this includes building the setting (parse time from 32 to 74 seconds)
23:14 lizmat bare startup from 0.16 to .355
23:14 rivarun joined #perl6
23:14 BenGoldberg joined #perl6
23:14 lizmat feels to me the NQP changes / stage0 update are to blame ;_(
23:14 * lizmat goes to sleep
23:15 lizmat good night, #perl6!
23:15 TimToady night
23:15 danaj joined #perl6
23:21 TimToady doesn't seem any slower here on parse time
23:45 agentzh_ joined #perl6
23:59 dayangkun joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo