Zoffix
.oO( I guess I can abuse benchable in the meantime )
00:05
benchable6, 2015.07 use Test; throws-like ‘gather for ^3 -> $a, $b { take 1 }’, X::AdHoc, backtrace => /line/;
benchable6 Zoffix, starting to benchmark the 1 given commits
Zoffix, ¦«2015.07»:«run failed, exit code = 1, exit signal = 0»
Zoffix benchable6, 2015.07 use Test; throws-like 'gather for ^3 -> $a, $b { take 1 }', X::AdHoc, backtrace => /line/;
benchable6 Zoffix, starting to benchmark the 1 given commits
Zoffix, ¦«2015.07»:«run failed, exit code = 1, exit signal = 0»
Zoffix benchable6, 2015.12 use Test; throws-like ‘gather for ^3 -> $a, $b { take 1 }’, X::AdHoc, backtrace => /line/; 00:06
benchable6 Zoffix, starting to benchmark the 1 given commits
Zoffix, ¦«2015.12»:0.2746
Zoffix oh :( guess not
benchable6, 2015.12 m: use Test; my $o = class { has $.o; method say (*@o) { $!o ~= @o.join: "\n"; } }.new; Test::output() = $o; throws-like ‘gather for ^3 -> $a, $b { take 1 }’, X::AdHoc, backtrace => /line/; die $o.o 00:10
benchable6 Zoffix, starting to benchmark the 1 given commits
Zoffix, ¦«2015.12»:«run failed, exit code = 1, exit signal = 0»
Zoffix benchable6, 2015.12 use Test; my $o; Test::output() = class {method say (*@o) { $o ~="@o[]"}}.new; throws-like ‘gather for ^3 -> $a, $b {take 1}’, X::AdHoc, :backtrace(/line/);IO::Socket::Async.connect('irc.freenode.net', 6667).then: { given $^p.result { .print: "NICK Zoffix42\nUSER z z z z\nJOIN #zofbot\nPRIVMSG #zofbot :$o\n"; react {whenever .Supply {$^v.say}}}}; await Promise.in(10).then: {exit} 00:23
benchable6 Zoffix, starting to benchmark the 1 given commits
Zoffix Oh, shit... I forgot it's doing it 10 times :'D 00:24
But it works!
benchable6 Zoffix, ¦«2015.12»:10.0018
Zoffix Better not use it again; all these reconnects likely aren't good for freenode :)
timotimo poor freenode
getting hammered like crazy by your bots 00:25
i'm sad i missed that in #zofbot
Zoffix hmmm
benchable6, source
benchable6 Zoffix, github.com/perl6/whateverable
Zoffix timotimo, i.imgur.com/sJf0LTu.png 00:26
timotimo fantastic 00:27
Zoffix drools at venturebeat.com/2016/09/08/ibm-unve...-learning/ 00:33
\o/ 00:42
dalek ast: 4a02aaa | (Zoffix Znet)++ | integration/error-reporting.t:
too many positionals error in gather/for/take includes line number

RT#127012: rt.perl.org/Ticket/Display.html?id=127012
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=127012
timotimo shouldn't it be "too many ... errors ... include line number"? :P
Zoffix `The "too many positionals" error....` 00:43
m: gather for ^3 -> $a, $b {take 1}
camelia rakudo-moar b771bc: OUTPUT«Too few positionals passed; expected 2 arguments but got 1␤ in code at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»
Zoffix or too few 00:44
dalek ast: 6997130 | (Zoffix Znet)++ | integration/error-reporting.t:
Fix inaccuracy in test description
ast: 9f65df7 | (Zoffix Znet)++ | S12-methods/default-trait.t:
error message for default() type mismatch indicates correct expected type

RT#126108: rt.perl.org/Ticket/Display.html?id=126108
00:51
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=126108
AlexDaniel Zoffix: yeah, we should run it an infinite loop… and it should also clean up the mess that was left behind segfaulted bots… 00:53
committable6: HEAD ‘I'm up! I'm up!’ 00:54
committable6 AlexDaniel, ¦«HEAD»: WARNINGS for /tmp/fd7OrNkd2v:␤Useless use of constant string "I'm up! I'm up!" in sink context (line 1)
AlexDaniel committable6: HEAD say ‘I'm up! I'm up!’
committable6 AlexDaniel, ¦«HEAD»: I'm up! I'm up!
dalek ast: e15eb97 | (Zoffix Znet)++ | integration/error-reporting.t:
useful error message for ‘%::{''}’ construct

RT#125772: rt.perl.org/Ticket/Display.html?id=125772
01:01
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=125772
dalek ast: 7414702 | (Zoffix Znet)++ | integration/error-reporting.t:
stub code must not produce `Unhandled exception` message

RT#125680: rt.perl.org/Ticket/Display.html?id=125680
01:07
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=125680
dalek ast: cda0cb3 | (Zoffix Znet)++ | S11-modules/require.t:
&-less import of sub does not produce `Null PMC access` error

RT#118407: rt.perl.org/Ticket/Display.html?id=118407
01:17
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=118407
dalek ast: 3815be0 | (Zoffix Znet)++ | integration/weird-errors.t:
previously segfaulting chunk of code does not segfault

RT#114672: rt.perl.org/Ticket/Display.html?id=114672
01:26
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=114672
dalek ast: 7143a33 | (Zoffix Znet)++ | S32-num/power.t:
rasing a Rat to largish power does not throw

RT#112788: rt.perl.org/Ticket/Display.html?id=112788
01:35
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=112788
MasterDuke Zoffix++ testing all the bugs 01:55
dalek ast: ebfe979 | (Zoffix Znet)++ | / (5 files):
roles in precompiled modules recognize type names

RT#112626: rt.perl.org/Ticket/Display.html?id=112626
01:57
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=112626
dalek ast: 0aea0c8 | (Zoffix Znet)++ | packages/Test/Util.pm:
Document :args and :compiler-args on is_run
02:02
Zoffix buggable, tag TESTNEEDED
buggable Zoffix, There are no tickets tagged with TESTNEEDED
Zoffix You're damn right. (•_•) ( •_•)>⌐■-■ (⌐■_■) 02:03
Zoffix leaves to murder people in Far Cry 4
.tell jnthn would you add what 'async-socket-str-fixes' brought in to the ChangeLog? I've no idea. 03:28
yoleaux2 Zoffix: I'll pass your message to jnthn.
dalek kudo/nom: b7bf596 | (Zoffix Znet)++ | docs/ChangeLog:
Log all changes to date

Includes 8a66833 2287173 87f772e bb6da76 f17d9b4 60b56ac b771bcc
Does not include c408e88; jnthn++ to add changes
03:35
Zoffix NeuralAnomaly, status
NeuralAnomaly Zoffix, [✘] Next release will be in 1 hour and 6 days. Since last release, there are 43 new still-open tickets (0 unreviewed and 0 blockers) and 2 unreviewed commits. See perl6.fail/release/stats for details
Zoffix NeuralAnomaly, status 03:36
NeuralAnomaly Zoffix, [✔] Next release will be in 1 hour and 6 days. Since last release, there are 43 new still-open tickets (0 unreviewed and 0 blockers) and 0 unreviewed commits. See perl6.fail/release/stats for details
Zoffix m: say -0 03:55
camelia rakudo-moar b7bf59: OUTPUT«0␤»
Zoffix m: say -0e0
camelia rakudo-moar b7bf59: OUTPUT«-0␤»
dalek kudo/nom: 0a71256 | lizmat++ | docs/ChangeLog:
8 * 5 = 40 as List.permutations calls permutations()
05:44
lizmat .tell Zoffix voice of the devil: shouldn't LEFT/RIGHT DOUBLE PARENTHESIS be 6.d ? 05:59
yoleaux2 lizmat: I'll pass your message to Zoffix.
ShimmerFairy what're those parens for? 06:16
lizmat just an extra alternative set of parentheses afaik 06:18
geekosaur perl6 has a notion of paired brackets. it didn't include those, so you had to say eg. s⸨foo⸨bar⸨ instead of s⸨foo⸩⸨bar⸩ 06:21
ShimmerFairy ah, ok 06:22
TimToady it would have to be s⸨foo⸩ = 'bar'; 06:23
geekosaur mm, right, sorry
[Tux] This is Rakudo version 2016.08.1-154-g0a71256 built on MoarVM version 2016.08-43-g3d04391 09:06
csv-ip5xs 9.820
test 15.183
test-t 6.842
csv-parser 17.495
dalek kudo/nom: ccecbfe | niner++ | src/core/CompUnit/PrecompilationUnit.pm:
Cache PrecompilationIds for a nice little speedup

Since PrecompilationIds are immutable, we can cache them without doing any harm. This saves a lot of re-checking of id strings as for example the compiler-id is passed around a lot.
Brings GTK::Simple's loading time from 260ms to 227ms, saving another 13 %.
10:14
Zoffix m: say q⸨meow⸨ 10:55
yoleaux2 05:59Z <lizmat> Zoffix: voice of the devil: shouldn't LEFT/RIGHT DOUBLE PARENTHESIS be 6.d ?
camelia rakudo-moar ccecbf: OUTPUT«===SORRY!=== Error while compiling <tmp>␤Couldn't find terminator ⸩ (corresponding ⸨ was at line 1)␤at <tmp>:1␤------> say q⸨meow⸨⏏<EOL>␤ expecting any of:␤ ⸩␤»
Zoffix star: say q⸨meow⸨
camelia star-m 2016.04: OUTPUT«meow␤»
Zoffix m: say q⸨meow⸩
camelia rakudo-moar ccecbf: OUTPUT«meow␤»
timotimo honestly, i don't expect people to use the braces like that and not think that's a bug that's going to be fixed 10:56
Zoffix lizmat, well, if I got by pmichaud++'s comments here, then if it's not in the roast it's fine: github.com/perl6/specs/commit/b148...t-18777938
timotimo Zoffix: we don't have a test for every single character that "the same character works as the end-of-quote delimiter" :)
Zoffix lizmat, and there's a whole bunch of these brackets here. And the only breakage that would occur is for someone to use two opening braces as quoters: github.com/perl6/roast/blob/9650cd...code.t#L47
timotimo, that was my reasoning in the regex question. 10:57
timotimo so to be fair, you could declare today that if the starting delimiter is A, the end delimiter ought to be Z (or O, depending on religiousness or something)
Zoffix And pmichaud said 'but to summarize here: Yes, the answer is "bare \b is not in the roast"'
"Most importantly, I think we really really really want to avoid saying that an implementation's specific behavior is an implied part of the language specification." 10:58
rt is down again :( I need to hurry up and make perl6.fail display individual tickets 11:05
timotimo you'll be caching the data from those tickets directly on perl6.fail, then? 11:08
or is it just the web interface that's down and the API backend would still give you the data you want?
Zoffix caching. Right now every 10m I connect and get subjects/statuses for modified tickets. I'll also add fetching individual ticket data. 11:10
timotimo does rt give you a way to know what tickets have had changes? 11:11
or do you have to fetch all tickets every single time? :(
Zoffix Yes, you can ask for UpdatedSince. It's granularity is a day though, so you get all the tickets modified in the last day each time. When I fetch the subjects/statuses, I'll see if the modified dates are the same as in DB and not fetch individual data for those tickets. Lastly, this doesn't catch deleted tickets (like spam), so once a day, I'm also going to be fetching the full list of subject/statuses and compare that to the db and toss all the 11:14
tickets that RT did not return yet I have open in the db
And API is down tooo. It's hosted off the same main URL as the web interface, so I think if one goes so does the other. 11:15
timotimo OK, that's kinda bad 11:17
i mean the API/web interface thing
dalek ast: 30b20c3 | (Zoffix Znet)++ | S19-command-line/repl.t:
loop controls do not exit the REPL

RT#127631: rt.perl.org/Ticket/Display.html?id=127631
11:37
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=127631
Zoffix Looks like using cache:rt.perl.org/Ticket/Display.html?id=127631 in google lets you at least view content of tickets 12:02
:( now google gives me errors ~_~ i.imgur.com/K0lF644.png 12:04
Xyzzzzz .tell Zoffix ticket can be closed; tests added in github.com/perl6/roast/commit/30b20c399c rt.perl.org/Ticket/Display.html?id=127631 12:37
yoleaux2 Xyzzzzz: I'll pass your message to Zoffix.
lizmat .tell Zoffix test for 2**10000000 fails for me on OS X (commit c7a56068): it produces "1" 12:56
yoleaux2 lizmat: I'll pass your message to Zoffix.
dalek kudo/nom: 2323420 | lizmat++ | src/core/List.pm:
Streamline handling of empty (combin|permut)ations
12:57
ast: f6a6ff4 | (Zoffix Znet)++ | S03-operators/overflow.t:
Fudge test that still fails on OSX

RT#125938: rt.perl.org/Ticket/Display.html?id=125938
13:03
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=125938
dalek kudo/nom: 356efac | MasterDuke17++ | src/core/IO/Handle.pm:
Make IO::Handle.get a bit faster by using more nqp

  "<8MB file>".IO.lines is about 10% faster in my testing, going from
  ~3.6s to ~3.3s.
13:04
kudo/nom: 5763373 | lizmat++ | src/core/IO/Handle.pm:
Merge pull request #873 from MasterDuke17/IO--Handle.pm_optimizations

Make IO::Handle.get a bit faster by using more nqp
kudo/nom: dcd7f02 | bartolin++ | lib/Test.pm6:
Use '+=' and '-=' instead of postfix ops

This is a workaround for rakudo-j, because postfix:<++> and postfix:<--> are dying here:
  rt.perl.org/Ticket/Display.html?id...xn-1422445
13:06
kudo/nom: 1ddb7c0 | (Zoffix Znet)++ | lib/Test.pm6:
Merge pull request #875 from usev6/patch-2

Use '+=' and '-=' instead of postfix ops
kudo/nom: 376b5f4 | niner++ | src/core/CompUnit/PrecompilationRepository.pm:
Revert "Speed up loading dependencies by removing .modified checks"

This reverts commit f55e113290a3a931c7960fb404cdb012872e642c.
While we do indeed compare the checksums of the precomp files, we still need to check if the source file has changed. So unfortunately, we cannot get rid of this rather expensive check. Brings GTK::Simple's loading time back up to 257ms.
15:41
mst nine: oh, damn, that one turned out not to work out?
nine Unfortunately not. But at least we're still slightly better off than we have been this morning. 15:43
Zoffix nine, back to 257ms? That doesn't sound bad at all; or is that a wrong number? 15:46
yoleaux2 12:37Z <Xyzzzzz> Zoffix: ticket can be closed; tests added in github.com/perl6/roast/commit/30b20c399c rt.perl.org/Ticket/Display.html?id=127631
12:56Z <lizmat> Zoffix: test for 2**10000000 fails for me on OS X (commit c7a56068): it produces "1"
nine Zoffix: it's not terrible, but it's a setback on the way to 200ms :) 15:48
Zoffix bah came to #perl6 to ask about interpolating %foo.keys as array in regex.... Ended up spending 3.5h trying to debug rt.perl.org/Ticket/Display.html?id=129247 17:11
I wonder how many seconds it will take for jnthn to fix it :}
m: my %what = foo => 42, bar => 43; say 'foo3bar4' ~~ /$<cat>=@(%what.keys) 4/; 17:13
camelia rakudo-moar 376b5f: OUTPUT«===SORRY!===␤Cannot find method 'rxtype' on object of type QAST::Op␤»
TimToady m: my %what = foo => 42, bar => 43; say 'foo3bar4' ~~ /$<cat>=[@(%what.keys)] 4/; 17:20
camelia rakudo-moar 376b5f: OUTPUT«「bar4」␤ cat => 「bar」␤»
TimToady m: my %what = foo => 42, bar => 43; my @what = %what.keys; say 'foo3bar4' ~~ /$<cat>=@what 4/;
camelia rakudo-moar 376b5f: OUTPUT«===SORRY!===␤Cannot find method 'rxtype' on object of type QAST::Op␤»
TimToady m: my %what = foo => 42, bar => 43; my @what = %what.keys; say 'foo3bar4' ~~ /$<cat>=[@what] 4/;
camelia rakudo-moar 376b5f: OUTPUT«「bar4」␤ cat => 「bar」␤»
timotimo that could even be asploding in the optimizer for all i know 17:24
TimToady anyway, it's not %what.keys that's the problem here 17:25
dalek ast: 8d1e5b0 | usev6++ | S (3 files):
Fudge some failing tests for JVM
18:23
ast: 7ea3557 | usev6++ | / (6 files):
Test for Exception, not for X::AdHoc

Following commit 19c27b7667 I went through the tests added after christmas and modified those that expected faulty code to die with X::AdHoc. This way it becomes easier to upgrade to specific typed exceptions in the future.
18:53
[Coke] .tell AlexDaniel added masterduke 20:02
yoleaux2 10 Sep 2016 19:41Z <AlexDaniel> [Coke]: please give MasterDuke (ddgreen@gmail.com) privileges to close RT tickets
[Coke]: I'll pass your message to AlexDaniel.
AlexDaniel .
yoleaux2 20:02Z <[Coke]> AlexDaniel: added masterduke
AlexDaniel thanks
dalek kudo/nom: 06ec5ad | lizmat++ | src/core/Rakudo/Internals.pm:
Introduce .ListsFromSeq

  - abstracted from List.permutations
  - can now also be used in other situations, e.g. List.combinations
20:12
kudo/nom: 04af57c | lizmat++ | src/core/List.pm:
Make List.combinations(n) 8x faster

  - by using the new Rakudo::Internals.ListsFromSeq
  - also apply this to List.permutations (no performance gain there)
timotimo nice 20:13
Zoffix What exactly is $/.CURSOR? I see here it's used to call .peek_delimiters method on but at the end of the highlighted region we're using `self` to call another method. What's the difference between $/.CURSOR and self? github.com/rakudo/rakudo/blob/nom/...#L129-L135 21:05
timotimo it's an instance of the Cursor class 21:07
m: grammar Test { token TOP { foo { say $/.CURSOR.what; say $/.CURSOR.perl } } }; Test.parse("foobar")
camelia rakudo-moar 04af57: OUTPUT«Method 'what' not found for invocant of class 'Test'␤ in regex TOP at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»
timotimo m: grammar Test { token TOP { foo { say $/.CURSOR.WHAT; say $/.CURSOR.perl } } }; Test.parse("foobar")
camelia rakudo-moar 04af57: OUTPUT«(Test)␤Test.new␤»
timotimo it's actually an instance of the grammar you're parsing with
m: "foobar" ~~ / foo { say $/.CURSOR.WHAT } /; 21:08
camelia rakudo-moar 04af57: OUTPUT«(Cursor)␤»
timotimo whe you have "just" a regex, it's the regular Cursor class
Zoffix m: grammar Test { token TOP { foo { say $/.CURSOR.WHAT; say $/.CURSOR.perl; say self.perl } } }; Test.parse("foobar")
camelia rakudo-moar 04af57: OUTPUT«(Test)␤Test.new␤Test.new␤»
Zoffix Is `self` the same thing?
m: grammar Test { token TOP { foo { say $/.CURSOR.WHAT; say $/.CURSOR === self } } }; Test.parse("foobar")
camelia rakudo-moar 04af57: OUTPUT«(Test)␤False␤»
Zoffix m: grammar Test { token TOP { foo { say $/.CURSOR.WHAT; say $/.CURSOR.^mro; say self.^mro } } }; Test.parse("foobar") 21:09
camelia rakudo-moar 04af57: OUTPUT«(Test)␤((Test) (Grammar) (Cursor) (Any) (Mu))␤((Test) (Grammar) (Cursor) (Any) (Mu))␤»
timotimo i hope that helps? 21:10
Zoffix I don't get what the difference between $/.CURSOR and self is
timotimo check it's position information 21:11
Zoffix m: grammar Test { token TOP { foo { say $/.CURSOR.WHAT; say $/.CURSOR.pos; say self.pos } } }; Test.parse("foobar") 21:12
camelia rakudo-moar 04af57: OUTPUT«(Test)␤3␤0␤»
Zoffix Thanks, timotimo++
timotimo :)
MasterDuke how is the 'stalled' RT status supposed to be used? e.g., RT #128035, should that stay 'open', or be changed to 'stalled'? 21:41
synopsebot6 Link: rt.perl.org/rt3//Public/Bug/Displa...?id=128035
Zoffix Dunno, but stalled tickets are ignored in both [Coke]'s reporter script and my perl6.fail 21:53
So it may get really "lost" :)
geekosaur stalled generally means it can't proceed until another ticket is finished (ideally you then link it to that ticket) 21:55
MasterDuke ok, i'll leave it open 22:02