»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
00:01 mcmillhj left 00:04 Guest18 joined
Zoffix .tell skids AFAIK our current policy is not to add multi candidates whose job is to merely print an error message that the user is used wrong arguments. For one, that muddies up introspection as it gives candidates that can't actually be used. The `unique`s issue could be addressed in other ways, though perhaps we should audit the entire codebase for this type of issue and address it uniformly throughout. 00:05
yoleaux Zoffix: I'll pass your message to skids.
00:10 mcmillhj joined
squashable6 🍕 zoffixznet++ labeled issue “Wrong args silently get ignored on some routines”: github.com/rakudo/rakudo/issues/1474 00:11
🍕 zoffixznet++ opened issue “Wrong args silently get ignored on some routines”: github.com/rakudo/rakudo/issues/1474
Zoffix .tell skids opened an Issue for that: github.com/rakudo/rakudo/issues/1474 00:12
yoleaux Zoffix: I'll pass your message to skids.
squashable6 🍕 zoffixznet++ edited issue “Wrong args silently get ignored on some routines”: github.com/rakudo/rakudo/issues/1474 00:14
00:15 mcmillhj left
Geth roast: f020377c78 | (Zoffix Znet)++ | S12-enums/basic.t
Test Pairs in list of enum declaration

RT#122929: rt.perl.org/Ticket/Display.html?id=122929
00:23
synopsebot RT#122929 [new]: rt.perl.org/Ticket/Display.html?id=122929 quoted LHS of pair constructor inside enum definition makes elements be ignored
00:24 leont joined
Zoffix BTW, for SQUASHathoners, we also have 4 TESTSNEEDED Issues on our GitHub tracker: github.com/rakudo/rakudo/issues?q=...testneeded 00:25
00:28 mcmillhj joined 00:33 mcmillhj left
squashable6 🍕 AlexDaniel++ edited wiki page “Monthly Bug Squash Day”: github.com/rakudo/rakudo/wiki/Mont...Squash-Day 00:34
🍕 AlexDaniel++ edited wiki page “Monthly Bug Squash Day”: github.com/rakudo/rakudo/wiki/Mont...Squash-Day 00:35
🍕 AlexDaniel++ edited wiki page “Monthly Bug Squash Day”: github.com/rakudo/rakudo/wiki/Mont...Squash-Day 00:36
AlexDaniel that's rather optimistic :) 00:37
squashable6 🍕 AlexDaniel++ edited wiki page “Monthly Bug Squash Day”: github.com/rakudo/rakudo/wiki/Mont...Squash-Day
00:38 Zoffix left 00:39 mcmillhj joined 00:42 zeddy_k left 00:44 mcmillhj left 00:53 mcmillhj joined
squashable6 🍕 AlexDaniel++ opened issue “Awesome error messages with muliple FailGoals”: github.com/rakudo/rakudo/issues/1475 00:55
🍕 AlexDaniel++ labeled issue “Awesome error messages with muliple FailGoals”: github.com/rakudo/rakudo/issues/1475
00:57 cdg joined
Geth roast: 2dd5ee1b59 | (Aleks-Daniel Jakimenko-Aleksejev)++ | S32-exceptions/misc.t
Test corresponding starters (again)

Resolves RT#125299. Further improvements can be discussed here: GH #1475.
00:57
synopsebot RT#125299 [open]: rt.perl.org/Ticket/Display.html?id=125299 [BUG] LTA error message when forgetting to close block inside string in Rakudo
00:58 mniip left
AlexDaniel aw dammit, that's not the right way to link things 00:58
should've been rakudo/rakudo#1475
synopsebot RAKUDO#1475 [open]: github.com/rakudo/rakudo/issues/1475 [LTA][RFC] Awesome error messages with muliple FailGoals
AlexDaniel but kk
00:58 mcmillhj left 00:59 GregDonald joined
squashable6 🍕 AlexDaniel++ edited issue “Awesome error messages with muliple FailGoals”: github.com/rakudo/rakudo/issues/1475 01:00
01:01 Rawriful left 01:02 cdg left 01:03 Cabanossi left 01:04 mcmillhj joined 01:05 Cabanossi joined, leont left 01:09 mcmillhj left
Geth rakudo: 877e3cf8e9 | (Zoffix Znet)++ | tools/build/NQP_REVISION
[NQP Bump] 1e4606f [MoarVM Bump] Brings 18 commits

NQP bump brought: github.com/perl6/nqp/compare/2018....5-g1e4606f
MoarVM bump brought: github.com/MoarVM/MoarVM/compare/2...7-g9a029b4 9a029b4 Merge pull request #792 from MasterDuke17/yet_more_jit_templates c639e60 Add JIT template for iter ... (16 more lines)
01:14
¦ rakudo: version bump brought these changes: github.com/perl6/nqp/compare/2018....60fd310... No newline at end of file
01:18 unicodable6 left, unicodable6 joined, ChanServ sets mode: +v unicodable6
squashable6 🍕 AlexDaniel++ edited wiki page “Monthly Bug Squash Day”: github.com/rakudo/rakudo/wiki/Mont...Squash-Day 01:21
01:21 squashable6 left, squashable6 joined, ChanServ sets mode: +v squashable6 01:24 mcmillhj joined, abraxxa joined 01:28 squashable6 left, squashable6 joined
squashable6 🍕 AlexDaniel++ edited wiki page “Monthly Bug Squash Day”: github.com/rakudo/rakudo/wiki/Mont...Squash-Day 01:28
01:29 abraxxa left, mcmillhj left 01:32 Aceeri_ left
Geth whateverable: c7f98a0307 | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Squashable.p6
Understand 🍕 and others things in the table

The bot extracts dates from the wiki page, so here's a little hack to make it understand new stuff.
01:32
01:38 aborazmeh joined, aborazmeh left, aborazmeh joined 01:41 mcmillhj joined 01:44 abraxxa joined 01:46 mcmillhj left 01:51 abraxxa left
AlexDaniel is there any easy way to write REPL tests? 01:54
o, I see something 01:55
k nevermind
02:00 mcmillhj joined 02:05 mcmillhj left
Geth rakudo: 4385e3fc0b | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/02-rakudo/repl.t
Test for an old issue in REPL

Chances are that we will never see the same issue again, but here's a test anyway. Resolves RT#112986.
02:10
synopsebot RT#112986 [open]: rt.perl.org/Ticket/Display.html?id=112986 [REPL] error 'Use of uninitialized $_ of type Any in numeric context" throws extra errors
Geth rakudo: 156876dbf7 | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/02-rakudo/repl.t
Oops in 4385e3fc0b5

The message is slightly different nowadays, so we should be testing for the current variant.
02:13
squashable6 🍕 AlexDaniel++ wrote a comment on commit 4385e3fc0b52: github.com/rakudo/rakudo/commit/43...t-27322312 02:14
AlexDaniel ouch, that needed to be fixed anyway
double oops then :) 02:15
time to get some sleep I guess
02:19 markong left 02:20 mcmillhj joined 02:26 mcmillhj left 02:31 mcmillhj joined 02:36 mcmillhj left 02:45 ilbot3 left 02:47 mcmillhj joined 02:52 mcmillhj left 02:57 ilbot3 joined, ChanServ sets mode: +v ilbot3 02:58 samcv left 02:59 samcv joined, mcmillhj joined, zakame joined 03:04 mcmillhj left 03:14 AlexDaniel left 03:16 zakame left, mcmillhj joined 03:22 mcmillhj left 03:30 mcmillhj joined
titsuki m: my $text="The sun"; say so $text ~~ /<< The/; 03:30
camelia True
03:35 mcmillhj left 03:42 mniip joined
Geth doc: titsuki++ created pull request #1756:
Add examples for << and >> (regex)
03:48
doc: 171326ad02 | (Itsuki Toyota)++ | doc/Language/regexes.pod6
Add examples for << and >> (regex)
doc: a2b6f08344 | (Itsuki Toyota)++ (committed using GitHub Web editor) | doc/Language/regexes.pod6
Merge pull request #1756 from titsuki/add-boundary-example

Add examples for << and >> (regex)
synopsebot Link: doc.perl6.org/language/regexes
03:48 mcmillhj joined 03:54 mcmillhj left 03:59 ZzZombo left 04:04 mcmillhj joined 04:09 mcmillhj left 04:10 traxex2 joined 04:18 mcmillhj joined 04:24 mcmillhj left 04:31 mcmillhj joined 04:35 mcmillhj left 04:39 Cabanossi left 04:41 Cabanossi joined 04:46 mcmillhj joined 04:51 mcmillhj left 04:59 khw left, mcmillhj joined 05:03 Guest18_ joined 05:04 mcmillhj left, aborazmeh left, Guest18 left 05:06 b2gills left 05:07 b2gills joined 05:14 mcmillhj joined 05:19 mcmillhj left 05:25 mcmillhj joined 05:28 parv joined 05:31 mcmillhj left 05:32 epony left 05:40 mcmillhj joined 05:43 Sgeo joined 05:45 mcmillhj left 05:51 epony joined 05:53 mcmillhj joined 05:58 mcmillhj left 06:06 mcmillhj joined, stux|RC-- joined 06:07 llfourn_ joined, d4l3k_ joined, ChanServ sets mode: +v d4l3k_, mithaldu__ joined, Grauwolf_ joined 06:08 skaji_ joined, mrsolo_ joined, zostay_ joined, SmokeMachine_ joined, BuildTheRobots_ joined 06:09 kent\n joined, obfusk_ joined 06:10 parv left, DrForr_ joined, smash_ joined, ponbiki_ joined 06:11 mcmillhj left, joy_ joined 06:15 Grauwolf left, mithaldu_ left, kentnl left, mrsolo left, zostay left 06:16 llfourn left, p6lert left, synopsebot left, dalek left, leah2 left, BuildTheRobots left, statisfiable6 left, joy left, benchable6 left, bloatable6 left, smash left, obfusk left, SmokeMachine left, stux|RC-only left, skaji left, ponbiki left, DrForr left, joy_ is now known as joy, mrsolo_ is now known as mrsolo, mithaldu__ is now known as mithaldu_, zostay_ is now known as zostay, SmokeMachine_ is now known as SmokeMachine, BuildTheRobots_ is now known as BuildTheRobots, skaji_ is now known as skaji, d4l3k_ is now known as dalek 06:17 quotable6 left, coverable6 left, committable6 left, bisectable6 left 06:18 greppable6 left, releasable6 left 06:19 squashable6 left, squashable6 joined 06:21 ingy joined, marcusramberg joined 06:24 leah2 joined 06:25 mcmillhj joined 06:30 mcmillhj left 06:41 mcmillhj joined 06:44 obfusk_ left, obfusk joined 06:46 mcmillhj left 06:53 mcmillhj joined 06:58 mcmillhj left, benchable6 joined, ChanServ sets mode: +v benchable6, bloatable6 joined 06:59 statisfiable6 joined 07:06 wamba joined 07:11 mcmillhj joined 07:15 quotable6 joined, ChanServ sets mode: +v quotable6, greppable6 joined, committable6 joined, ChanServ sets mode: +v committable6, bisectable6 joined, releasable6 joined, coverable6 joined 07:16 mcmillhj left 07:23 mcmillhj joined 07:27 mcmillhj left
squashable6 🍕 zoffixznet++ opened issue “WhateverCode + adverb = …”: github.com/rakudo/rakudo/issues/1476 07:35
🍕 zoffixznet++ labeled issue “WhateverCode + adverb = …”: github.com/rakudo/rakudo/issues/1476
Geth ecosystem/nige123-patch-1: 2421114439 | (Nigel Hamilton)++ (committed using GitHub Web editor) | META.list
Update META.list
07:36
07:36 Zoffix joined
Geth ecosystem: nige123++ created pull request #383:
Update META.list
07:37
ecosystem: 5de457e2fe | (Nigel Hamilton)++ (committed by Zoffix Znet) | META.list
Add `jmp` to ecosystem

  "search files and jump to matching lines in a text editor":
  github.com/nige123/jmp.nigelhamilton.com/
07:38
Zoffix Any idea what this offset calculation in whatever curry is about github.com/rakudo/rakudo/blob/mast...9652-L9655 ? At first, I thought it was to only curry `*+42` in constructs like `foo 1, 2, 3, *+42`, but when I dump QAST going through the curry, it's just the `*+42` portion. Which constructs would have offset other than 0?
07:40 mcmillhj joined 07:45 mcmillhj left 07:48 Alikzus left
Zoffix Ah, it's for metas 07:51
07:52 Alikzus joined 08:00 mcmillhj joined 08:03 someuser joined, darutoko joined 08:05 mcmillhj left
Zoffix With stuff like `5 R- *` we get Op<call>(Op<call>(META_OP), 5, *) and the offset makes it skip over Op<call>(META_OP) when raking for Whatevers 08:08
Don' 08:13
Don't get why it fails to parse if offset is always set to 0 tho :/
"Useless use of R- in sink context ... .Cannot resolve caller Numeric(Whatever: ); none of these signatures match:" for `5 R- *`
Oh, `$e` is set to $offset+$up_to arity. nevermind 08:14
08:15 mcmillhj joined 08:20 mcmillhj left 08:35 mcmillhj joined 08:40 mcmillhj left 08:45 leont joined 08:49 mcmillhj joined 08:54 mcmillhj left 09:03 mcmillhj joined 09:05 domidumont joined 09:08 mcmillhj left 09:09 domidumont left 09:10 domidumont joined 09:19 mcmillhj joined 09:20 zeddy_k joined 09:24 mcmillhj left 09:31 AlexDaniel joined, leont left
AlexDaniel squashable6: status 09:32
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈2 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/75ace8e05071c6bcf3...548dd77a19
El_Che Perl devroom streaming from #FOSDEM: live.fosdem.org/watch/k4601 09:36
09:37 mcmillhj joined 09:40 notostraca left 09:42 mcmillhj left
squashable6 🍕 AlexDaniel++ wrote a comment on “Add tests for testing al…”: github.com/rakudo/rakudo/pull/1316...-362894219 09:42
09:50 mcmillhj joined 09:53 Zoffix left 09:55 mcmillhj left 10:00 mcmillhj joined 10:04 leont joined 10:05 mcmillhj left 10:07 Guest18_ left
squashable6 🍕 AlexDaniel++ closed issue “Reserved characters in t…”: github.com/rakudo/rakudo/issues/1247 10:09
Geth roast: 06c4fc5465 | (Aleks-Daniel Jakimenko-Aleksejev)++ | S15-unicode-information/uniprop.t
Test segfaults with reserved characters

These tests take just ≈0.7s to run but at the same time have a fairly high “success” rate (≈35% chance of failing on affected commits). Don't know if it's the best way to test a flapper like this, but I guess it's better than nothing.
... (5 more lines)
buggable New CPAN upload: IRC-Client-Plugin-UrlTitle-1.0.0.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...0.0.tar.gz 10:12
Geth roast: 8d03e9ab17 | (Aleks-Daniel Jakimenko-Aleksejev)++ | S15-unicode-information/uniprop.t
Oops, add plan to the subtest
10:15
10:16 mcmillhj joined 10:21 mcmillhj left
buggable New CPAN upload: App-Assixt-0.1.3.tar.gz by TYIL cpan.metacpan.org/authors/id/T/TY/...1.3.tar.gz 10:22
tyil eee 10:29
woops
10:35 mcmillhj joined 10:37 setty1 joined 10:40 mcmillhj left
AlexDaniel .tell lizmat please revisit RT#131813 10:41
yoleaux AlexDaniel: I'll pass your message to lizmat.
AlexDaniel squashable6: status
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/e8f4034a64aa26d5c4...08d73c56af
AlexDaniel uuu
10:43 eliasr joined 10:46 Actualeyes left, mcmillhj joined 10:48 leont left
AlexDaniel .tell lizmat and also maybe this RT#127403 10:50
yoleaux AlexDaniel: I'll pass your message to lizmat.
10:51 mcmillhj left 10:54 leont joined
squashable6 🍕 AlexDaniel++ labeled issue “Postfix → Prefix ++/-- optimization”: github.com/rakudo/rakudo/issues/1477 11:05
🍕 AlexDaniel++ opened issue “Postfix → Prefix ++/-- optimization”: github.com/rakudo/rakudo/issues/1477
Geth roast: 396a739553 | (Aleks-Daniel Jakimenko-Aleksejev)++ | S06-operator-overloading/prefix.t
Add a test for postfix→prefix optimization

Resolves rakudo/rakudo#1315. See rakudo/rakudo#1477 for further discussion.
squashable6 🍕 AlexDaniel++ closed issue “Postfix→Prefix optimization is too early”: github.com/rakudo/rakudo/issues/1315
11:06 mcmillhj joined 11:11 mcmillhj left
squashable6 🍕 AlexDaniel++ closed issue “Bad error when mistakenl…”: github.com/rakudo/rakudo/issues/1314 11:17
Geth roast: 868a2ba505 | (Aleks-Daniel Jakimenko-Aleksejev)++ | S05-substitution/subst.t
Test one case of using .substr instead of .subst

Perhaps there are many other ways to use one instead of the other, but the ticket only talked about this particular one. 🤷
Resolves rakudo/rakudo#1314.
squashable6 🍕 AlexDaniel++ wrote a comment on “Bad error when mistakenl…”: github.com/rakudo/rakudo/issues/13...-362899305
11:23 markong joined, mcmillhj joined
squashable6 🍕 zoffixznet++ self-assigned issue “Postfix → Prefix ++/-- optimization”: github.com/rakudo/rakudo/issues/1477 11:28
11:28 mcmillhj left
squashable6 🍕 zoffixznet++ wrote a comment on commit 868a2ba50523: github.com/perl6/roast/commit/868a...t-27327168 11:31
🍕 AlexDaniel++ wrote a comment on commit 868a2ba50523: github.com/perl6/roast/commit/868a...t-27327206 11:34
11:35 mcmillhj joined 11:40 mcmillhj left
Geth roast: c700a00f5b | (Aleks-Daniel Jakimenko-Aleksejev)++ | S05-substitution/subst.t
Revert "Test one case of using .substr instead of .subst"

This reverts commit 868a2ba50523db7fe75b7a55b176203533726428.
Moving to rakudo tests.
11:42
11:43 setty1 left 11:44 leont left
Geth rakudo: 9306e887cb | (Aleks-Daniel Jakimenko-Aleksejev)++ | t/05-messages/03-errors.t
Test one case of using .substr instead of .subst

Moved from roast:
  github.com/perl6/roast/commit/868a...3533726428
11:44
11:48 mcmillhj joined 11:53 leont joined, mcmillhj left
AlexDaniel squashable6: status 11:57
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event is in 2 minutes. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/1662584af2c1b93278...e46c47c484
12:00 Zoffix joined
AlexDaniel squashable6: status 12:01
squashable6 AlexDaniel, Next SQUASHathon in 25 days and ≈21 hours (2018-03-03 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel yaay
Zoffix squashable6: log 12:02
squashable6 Zoffix, Nothing there yet
AlexDaniel squashable6: log 2018-02-03
squashable6 AlexDaniel, Log and stats: gist.github.com/71523b3eb60371f942...0ffa9a9300
Zoffix Any idea why this would be dying with "No lexical found with name '$whatevercode_arg_1'" ? temp.perl6.party/out.html 12:03
As far as I can see I got the :decl and all that. FWIW this was constructed by moving QAST::Vars from one block to another 12:04
12:06 mcmillhj joined
AlexDaniel reportable6: snapshot 12:06
reportable6 AlexDaniel, Already working on it! Check 「list」 command after a while.
Zoffix Oh, nm, optimizer's param lowerer messes it all up down the line 12:08
12:10 mcmillhj left
Zoffix Or rather I just need to clone moved QAST::Vars 12:11
(lowerer rewrites them to lowers and they get changed in the other block, but their use isn't lowered, hence the error) 12:12
\o/ 12:14
$ ZZ0=1 ./perl6 -e '(4 < *.self < 6)(5).say' 12:15
True
m: (4 < *.self < 6)(5).say
camelia ===SORRY!===
QAST::Block with cuid 1 has not appeared
12:16 Guest18 joined 12:19 leont left, mcmillhj joined
Zoffix And `(* + * + * + * + *)(1, 2, 3, 4, 5)` is now 2.2x faster to run and 8% faster to compile.... All largely caused by DELETING 40 lines of code :) 12:20
Didn't run spectest tho and it sounds too good to be true :)
AlexDaniel
.oO( amazing perf improvements? Bring them on! Will revert before the release tho :P )
12:23
Zoffix Why revert?
releasable6: next
releasable6 Zoffix, Next release in 13 days and ≈6 hours. Blockers: github.com/rakudo/rakudo/issues?q=...%9A%A0%22. Changelog for this release was not started yet
Zoffix, Details: gist.github.com/4e46aa1e6e9c8d785f...984a23e3f6
AlexDaniel just joking that things that make stuff faster may break stuff :) 12:24
Zoffix :)
12:24 mcmillhj left
Zoffix I just hope Whatever curries are well-covered 12:25
(by roast)
AlexDaniel don't worry, all important features are well-covered somewhere! :) 12:27
12:29 MasterDuke joined 12:38 Rawriful joined 12:39 mcmillhj joined 12:44 mcmillhj left
Zoffix huggable: breakage 12:46
huggable Zoffix, nothing found
Zoffix huggable: breakage :is: <AlexDaniel> don't worry, all important features are well-covered somewhere! :) 12:47
huggable Zoffix, Added breakage as <AlexDaniel> don't worry, all important features are well-covered somewhere! :)
Zoffix I
I'll quote you when the release breaks :) 'cause the spectest is clean
:)
AlexDaniel that's ok, I'll just say that it was covered in their project xD 12:48
speaking of which, would've been great if whateverable was in the ecosystem so that at least toaster tripped over it… 12:50
Geth ecosystem/nige123-patch-1: 96cd8175b6 | (Nigel Hamilton)++ (committed using GitHub Web editor) | META.list
Update META.list
ecosystem: nige123++ created pull request #384:
Update META.list
AlexDaniel but I doubt it's going to work like that
12:56 mcmillhj joined 13:00 someuser left 13:01 mcmillhj left 13:02 rindolf joined
Geth rakudo: 752bb8b381 | (Zoffix Znet)++ | src/Perl6/Actions.nqp
Re-design Whatever currier

  - Fixes RT#128859: rt.perl.org/Ticket/Display.html?id=128859
  - Makes (* + * + * + * + *)(1,2,3,4,5) run 2.2x faster
  - Makes (* + * + * + * + *)(1,2,3,4,5) compile ~8% faster
  === [The mechanism of the OLD currier] ===
... (41 more lines)
13:07
Zoffix synopse bot's ded, eh 13:09
13:09 synopsebot joined, ChanServ sets mode: +v synopsebot
Zoffix RT#128859 13:10
synopsebot RT#128859 [new]: rt.perl.org/Ticket/Display.html?id=128859 [BUG] WhateverCode in a chained comparison fails to parse ("QAST::Block with cuid 1 has not appeared")
Zoffix .botsnack
yoleaux :D
13:11 SourceBaby left, SourceBaby joined, ChanServ sets mode: +v SourceBaby
Geth roast: bfe4cb9c2c | (Zoffix Znet)++ | S02-types/whatever.t
Cover more cases of curries, including chaining

RT#128859: rt.perl.org/Ticket/Display.html?id=128859 Rakudo fix: github.com/rakudo/rakudo/commit/752bb8b381
13:11
13:12 Zoffix left 13:13 mcmillhj joined 13:18 mcmillhj left 13:29 mcmillhj joined 13:35 mcmillhj left
tyil it seems latest perl 6 (via rakudobrew, in Travis) is broken: travis-ci.org/scriptkitties/perl6-...1179#L1263 13:35
13:41 Zoffix joined
Zoffix tyil: thanks. My bad. I forgot to bump NQP 13:41
Zoffix does so
13:41 Guest18 left
colomon woah: I used Proc::Async a bit thoughtlessly, and now I seem to have 100+ instances of perl6 running on my system. It is EPICALLY SLOW. 13:41
Zoffix colomon: be sure you got latest and greatest Rakudo. A few months back, there were improvements made to Proc::Async's worker creation to avoid precisely the problem you described. 13:43
tyil Zoffix: ty
Zoffix tyil: should be good now (just hit "restart build" on travis to restart it) 13:45
colomon Zoffix: whoops 13:46
13:46 mcmillhj joined
tyil Imma fix the build on 2018.01 specifically, then I'll redo it on latest as well 13:47
13:50 Guest18 joined
Zoffix Cannot test 752bb8b381a06dd4d49247d36369fffa3327a641 (Commit exists, but a perl6 executable could not be built for it)»" That was my clue that something was wrong, but I assumed the bot just didn't build the commit yet : 13:50
AlexDaniel the error message would be different in that case 13:51
c: 2014.01~200 say 42
committable6 AlexDaniel, ¦2014.01~200: «No build for this commit»
Zoffix I'll keep that in mind for the future
13:51 mcmillhj left
AlexDaniel reportable6: list 13:53
reportable6 AlexDaniel, gist.github.com/1b359c180d316209d8...4d0deb0676
AlexDaniel reportable6: 2018-02-02T12:00:00Z 2018-02-04T12:00:00Z 13:54
reportable6 AlexDaniel, OK, working on it! This may take up to 40 seconds
13:54 margeas joined 13:55 markong left
reportable6 AlexDaniel, gist.github.com/4284081e6b689948b7...46ca94b47b 13:55
AlexDaniel Zoffix: fwiw that's another way to look at squashathon stats this week ↑ 13:56
Zoffix cool
13:58 mcmillhj joined
Zoffix This should be livestream for Perl room in FOSDEM: live.fosdem.org/watch/k4601 13:59
ZOFVM: Files=1287, Tests=153184, 141 wallclock secs (19.86 usr 3.04 sys + 3002.07 cusr 140.76 csys = 3165.73 CPU) 14:00
Quite a fast run (tho I'm fairly sure the numbers are skewed due to one or more test files running for ^ that long) 14:01
And rakudo travis is all green now: travis-ci.org/rakudo/rakudo/
Zoffix crawls back into the hole
14:01 Zoffix left 14:03 mcmillhj left 14:09 leont joined 14:11 mcmillhj joined 14:15 margeas left, mcmillhj left 14:21 mcmillhj joined 14:24 Actualeyes joined 14:26 mcmillhj left 14:34 mcmillhj joined 14:35 rindolf left 14:37 espadrine_ left 14:40 mcmillhj left
colomon Zoffix: that doesn’t seem to have helped? it’s spawned 245 so far with rakudo 2018.01 14:41
hasn’t slogged the system yet 14:42
colomon decides to kill it and try manually to limit the number of threads... 14:43
14:48 jeromelanteri left 14:49 bwisti joined 14:50 Guest18 left, mcmillhj joined 14:51 dogbert2_ joined 14:54 dogbert2 left 14:56 mcmillhj left 14:58 leont left 15:10 mcmillhj joined 15:11 [ptc] joined 15:15 mcmillhj left 15:19 zeddy_k left 15:24 mcmillhj joined, Rawriful left 15:27 zeddy_k joined 15:28 araralonre__ joined, mcmillhj left 15:31 araraloren_ left, [ptc] left 15:38 Rawriful joined 15:39 mcmillhj joined 15:44 mcmillhj left 15:49 araralonre__ left 15:50 someuser joined 15:55 mcmillhj joined
Voldenet Is there any simple way to implement roles without building large-ish classes? 15:57
the actual question is: how to build cyclic iterable without much boilerplate involved
m: class CyclicIterable does Iterable {has $.i;submethod iterator {class :: does Iterator {has $.i;has $!c;method r { $!c = $!i.iterator };method o { $!c.pull-one };submethod TWEAK { self.r };method pull-one {my $v := self.o;if $v =:= IterationEnd {self.r;$v := self.o;};$v}}.new(:$!i);}};my $c = CyclicIterable.new(:i<232 234>).head(10).say;
camelia (232 234 232 234 232 234 232 234 232 234)
Voldenet this works
15:59 lsm left, ponbiki_ is now known as ponbiki 16:00 ponbiki is now known as Guest81890, mcmillhj left, Guest81890 is now known as ponbiki_
Voldenet m: sub cyclic-iterate(Iterable:D $i) { gather loop { .take for @$i }};cyclic-iterate(<a b>).head(10).say; 16:05
camelia (a b a b a b a b a b)
Voldenet I guess the implementation above is very javalicious..., but I like the latter better for some reason
16:06 mcmillhj joined 16:11 mcmillhj left 16:12 skids joined
jnthn m: (|<a b> xx *).head(10).say 16:19
camelia (a b a b a b a b a b)
16:19 [ptc] joined, mcmillhj joined 16:22 rindolf joined 16:24 mcmillhj left, Guest18 joined 16:25 zakharyas joined 16:32 mcmillhj joined 16:37 mcmillhj left 16:38 someuser left 16:46 mcmillhj joined 16:51 mcmillhj left 17:05 mcmillhj joined 17:07 espadrine_ joined 17:10 mcmillhj left 17:19 mcmillhj joined 17:24 mcmillhj left
nine Anyone any idea about the Perl dinner tonight? 17:26
moritz sue spence mentioned something on twitter
wait a sec...
twitter.com/virtualsue/status/9601...0227601408
nine ooh that helps us a lot, thanks! 17:28
17:37 natrys joined 17:38 mcmillhj joined 17:39 epony left 17:40 setty1 joined
Voldenet > perl6 --stagestats -e 'sub prefix:<a> { }; sub a { };' > Stage parse : 0.352 17:41
...wut
while > perl6 --stagestats -e 'sub a { }; sub b { };' > Stage parse : 0.072 17:42
17:43 mcmillhj left
Voldenet uh, I'm not sure why each additional operator overload takes around 300ms to parse, is there a bot I can check that with? 17:44
17:45 khw joined
AlexDaniel it's a known issue 17:50
it's rebuilding the grammar or something 17:51
17:51 mcmillhj joined 17:56 mcmillhj left 17:59 ponbiki_ is now known as ponbiki 18:02 mcmillhj joined 18:03 zakharyas1 joined
MasterDuke Voldenet: you could try benchable6 18:04
benchable6: help
benchable6 MasterDuke, Like this: benchable6: f583f22,HEAD my $a = ‘a’ x 2¹⁶; for ^1000 {my $b = $a.chop($_)} # See wiki for more examples: github.com/perl6/whateverable/wiki/Benchable
AlexDaniel bench: 2015.12,HEAD sub prefix:<a> { }; sub a { };
benchable6 AlexDaniel, starting to benchmark the 2 given commits
AlexDaniel, benchmarked the given commits, now zooming in on performance differences 18:05
18:05 zakharyas left
benchable6 AlexDaniel, ¦2015.12: «0.4203» ¦e89721d: «0.3960» ¦a21d2f9: «0.3536» ¦HEAD: «0.4770» 18:05
Voldenet I guess there's a way around it
making a module with exported prefixes
AlexDaniel yes
Voldenet it's not extremely fast, but reduces the overhead to fixed value, which is good enough 18:06
18:07 mcmillhj left
Voldenet bench: 2017.12,HEAD sub prefix:<a> { }; sub a { }; 18:11
benchable6 Voldenet, starting to benchmark the 2 given commits
Voldenet, benchmarked the given commits, now zooming in on performance differences
Voldenet, ¦2017.12: «0.4633» ¦HEAD: «0.4791»
18:13 mcmillhj joined 18:16 leont joined 18:19 mcmillhj left 18:22 Ven`` joined 18:29 mcmillhj joined 18:31 |oLa| left 18:33 |oLa| joined 18:34 mcmillhj left 18:42 Ven`` left, mcmillhj joined 18:43 someuser joined 18:45 |oLa| left 18:47 mcmillhj left 18:50 leont left, darutoko left 18:58 mcmillhj joined 19:03 mcmillhj left 19:04 zakharyas1 left 19:05 |oLa| joined, |oLa| left 19:06 zakharyas joined 19:08 reportable6 left, squashable6 left, statisfiable6 left, reportable6 joined, squashable6 joined, statisfiable6 joined 19:10 mcmillhj joined 19:15 mcmillhj left 19:19 |oLa| joined 19:20 mcmillhj joined 19:25 mcmillhj left 19:26 s0me0ne-unkn0wn joined 19:28 Guest18 left 19:33 mcmillhj joined 19:38 mcmillhj left 19:40 notostraca joined 19:47 mcmillhj joined 19:52 mcmillhj left, Guest18 joined
Voldenet m: sub x { my ($a, $b); ( :$a :$b ) }; x() 20:00
camelia ===SORRY!===
Unknown QAST node type NQPMu
Voldenet hm, that's not the best error message
AlexDaniel that's true
6c: sub x { my ($a, $b); ( :$a :$b ) }; x()
committable6 AlexDaniel, ¦6c (27 commits): «===SORRY!===␤Unknown QAST node type NQPMu␤ «exit code = 1»»
Voldenet m: (:$_ :$_) 20:01
camelia ===SORRY!===
Unknown QAST node type NQPMu
20:02 mcmillhj joined
skids Shouldn't that be a valid colonpair list syntax (just NYI)? 20:04
yoleaux 00:05Z <Zoffix> skids: AFAIK our current policy is not to add multi candidates whose job is to merely print an error message that the user is used wrong arguments. For one, that muddies up introspection as it gives candidates that can't actually be used. The `unique`s issue could be addressed in other ways, though perhaps we should audit the entire codebase for this type of issue and address it uniformly throughout.
00:12Z <Zoffix> skids: opened an Issue for that: github.com/rakudo/rakudo/issues/1474
20:04 cdg joined
Voldenet m: my ($a, $b); { :$a :$b } 20:06
camelia ===SORRY!===
Unknown QAST node type NQPMu
Voldenet I think that actually should be the valid syntax for hashes
20:07 mcmillhj left
moritz with a comma inbetween, maybe? 20:11
20:15 zeddy__k joined, domidumont left 20:17 zeddy_k left
geekosaur problem is that we want to use the same syntax for "named parameters" :foo :bar :baz(5) 20:18
20:19 mcmillhj joined
skids How far the comma-less adverb list syntax can be worked down into the syntax without introducing some sort of sticky ambiguity... I don't think has been thoroughly investigated? 20:21
moritz anyway, the error message is LTA 20:22
so we should consider it a bug either way
skids Yeah. 20:23
20:23 leont joined 20:24 mcmillhj left
skids RT#124553 covers the NYI for params. Just that case though. 20:25
synopsebot RT#124553 [new]: rt.perl.org/Ticket/Display.html?id=124553 Roast rakudo skip/todo test:./S03-operators/adverbial-modifiers.t line:170 reason: 'Multi colonpair syntax not yet understood'
20:27 natrys left
skids RT#125353 and RT#131089 also involve the NYIness. 20:29
synopsebot RT#125353 [open]: rt.perl.org/Ticket/Display.html?id=125353 [BUG] %(:a:b) ignores all elements after the first one
RT#131089 [open]: rt.perl.org/Ticket/Display.html?id=131089 Different parsing of combined colonpairs
skids Ah... RT#127023 seems to already have been lodged. 20:30
synopsebot RT#127023 [new]: rt.perl.org/Ticket/Display.html?id=127023 [BOOTSTRAP] error message “Unknown QAST node type NQPMu” ( (:w :h<1>) )
20:31 cdg left 20:32 mcmillhj joined 20:37 mcmillhj left 20:39 notostraca is now known as TEttinger 20:40 zakharyas left 20:45 mcmillhj joined 20:46 wamba left 20:47 wamba joined 20:49 mcmillhj left 20:52 wamba left
xi- why is there no binary for rakudo-star 2018.01? 21:00
21:01 xenotrope joined
moritz because nobody made one, yet 21:02
21:03 mcmillhj joined 21:08 mcmillhj left 21:15 itaylor57 left 21:17 mcmillhj joined
Voldenet m: <1 2 3> .map({ $_*2 }).&({ $^a }).say 21:19
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed postfix call
at <tmp>:1
------> 3<1 2 3> .map({ $_*2 }).7⏏5&({ $^a }).say
Voldenet hm, this shows an error in a funny place
shouldn't it be shown before first .map?
moritz why? 21:20
the first .map looks fine
m: say <1 2 3> .map({ $_*2 })
camelia (2 4 6)
Voldenet m: <1 2 3>.map({ $_*2 }).&({ $^a }).say
camelia (2 4 6)
Voldenet m: <1 2 3>.map({ $_*2 }) .&({ $^a }).say 21:21
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed postfix call (only alphabetic methods may be detached)
at <tmp>:1
------> 3<1 2 3>.map({ $_*2 }) .7⏏5&({ $^a }).say
Voldenet The last error actually makes sense
21:22 mcmillhj left
Voldenet The first error is a bit tough to understand, it's not the postfix call that's malformed, it actually can't be used there because of the space before .map 21:23
moritz on the other hand, if you leave out the & call, all is fine 21:30
and parsing typically commits to what it sees early on
21:35 rindolf left 21:36 mcmillhj joined 21:40 rindolf joined
Voldenet in fact, I wouldn't mind if .& operator meant 'call second operand with first operand' 21:40
m: my @k = *.sort, *.sort.reverse; say flat (^10).classify(* % 2).sort(*.key).map(*.value) Z.& @k 21:41
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed postfix call
at <tmp>:1
------> 3ssify(* % 2).sort(*.key).map(*.value) Z.7⏏5& @k
Voldenet m: sub infix:<.&> { $^b($^a) }; my @k = *.sort, *.sort.reverse; say flat (^10).classify(* % 2).sort(*.key).map(*.value) Z.& @k
21:41 mcmillhj left
camelia (0 2 4 6 8 9 7 5 3 1) 21:41
21:47 mcmillhj joined
Voldenet m: sub infix:<.&> { $^b($^a) }; 1 .& &say 21:48
camelia 1
21:51 mcmillhj left
tyil the perl stand at fosdem was awesome, much more people that showed interest in Perl 6 than I imagined 22:03
I'm planning to give two talks at fosdem next year on perl 6 myself :> 22:04
jnthn will try to make it next year :)
tyil there's also the dutch perl workshop in a couple months :3 22:05
jnthn Oh...details? 22:06
22:07 mcmillhj joined
tyil perl.events/nlpwindex.html the site is still under development 22:07
but the information itself should be accurate
jnthn grumbles about the withdrawal of the Prague - Amsterdam sleeper train some years back 22:08
tyil never been to prague, I cant relate to your pain
22:12 mcmillhj left
jnthn It's just very convenient to go to the station in an evening and wake up roughly where you want to be in the morning :) 22:12
Whereas with day trains it's, like, a whole day 22:13
I'm tempted though...the dates are do-able even if not perfect.
colomon is there some obvious way I’m missing to get the list of directories in an IO::Path? Can obviously do a chain of .parent calls, but it feels like something common enough to be built in… 22:14
like /usr/local/bin goes to “use”, “local”, “bin" 22:15
*usr
timotimo colomon: you can grab its .spec and use things like split or splitdir or splitpath 22:17
no, splitpath is the volume/dirname/filename thing 22:18
jnthn tyil: Are you one of the organizers (or do you know who is)? 22:22
El_Che NLPW? theo 22:23
tyil jnthn: I am not one of the organisers, but I'll probably see them next tuesday at the perl monger meetup
22:23 mcmillhj joined
jnthn El_Che: Ah, thanks :) 22:24
El_Che jnthn: 1 day workshop, 1 day perl6 course with Shitov
jnthn Yeah, I was thinking "hmm, I wonder if there'd be any interest in a Perl 6 training" and then noticed that yes, so much that somebody already is doing it. :-) 22:26
colomon timotimo++: splitdir, brill! wonder why it isn’t referenced by the IO::Path documentation, but it seems like exactly what I need
leont AFAIK it's still in a fairly early planning phase 22:27
El_Che jnthn: a cro training maybe?
or a more advanced parallel track?
jnthn Dunno, or a concurrency one
El_Che indeed
leont Oooh
22:28 mcmillhj left
jnthn I don't want to be a douche and compete with Andrew's one. :-) But if I can do something that'd attract a different audience instead, I'd consider it. 22:29
timotimo colomon: aye, a prominent link to the spec docs would be nice 22:34
22:34 Ven`` joined 22:37 mcmillhj joined 22:41 Zoffix joined
Zoffix xi-: we're still testing release candidates. You can give RC0 a whirl; the binaries are at pl6anet.org/drop/ 22:42
xi- I just built it instead
would that be the same?
22:42 mcmillhj left
Zoffix nine: you probably saw, but `Actually use new-from-git-describe` is exploding travis again :) 22:42
xi-: I think so, yes.
22:48 Ven`` left 22:49 dct left 22:51 mcmillhj joined
Zoffix e: use QAST:from<NQP>; BEGIN try $*W.compile_time_evaluate: $, QAST::Want.new; say $!^.message 22:53
evalable6 (exit code 1) ===SORRY!===
Unknown QAST node type NQPMu
Zoffix That's the bug for the colonpair thing. Should be fairly easy to fix
gonna give it a go later tonight, unless someone beats me to it
22:56 mcmillhj left 22:57 Rawriful left 23:02 mcmillhj joined 23:07 mcmillhj left 23:09 Zoffix left
stmuk www.youtube.com/watch?v=tSZV8IXIsM4 23:12
23:12 MasterDuke left 23:15 mcmillhj joined
AlexDaniel note 23:17
note #####
evalable6 Noted
23:20 mcmillhj left 23:26 espadrine_ left 23:30 setty1 left 23:33 mcmillhj joined 23:34 evalable6 left, evalable6 joined 23:37 mcmillhj left 23:41 shinobi-cl joined
shinobi-cl hello, perl6 23:42
gfldex m: say „Hello shinobi-cl!“
camelia Hello shinobi-cl!
gfldex .oO( Why is there no bot for that? ) 23:43
shinobi-cl I've finished a small module for perl6, a bidimensional array.... Before committing it to the perl6 modules repo, i would like some feedback. There is a small example on how to use it: github.com/shinobi/Data-StaticTable/wiki/How-To
23:44 colomon left 23:47 mcmillhj joined, colomon joined 23:51 cdg joined
gfldex shinobi-cl: I rarely see ‚get-‘ as a prefix for getters in Perl 6. And you seam not to like Whatever much. 23:51
23:52 mcmillhj left
gfldex m: say «We love {*}!» 23:52
camelia (We love * !)
shinobi-cl gfldex: Noted ✎. What do you suggest? i will remove them from the function names, they are not really required. And what do you mean by whatever? The * operator? How should i use it in this module? 23:54
gfldex m: my @a = [[1,2,3],<a b c>]; say @a[*;1]; 23:55
23:55 cdg left
camelia (2 b) 23:55
gfldex m: subset StaticTable::Position of Int where * >= 1; sub s(StaticTable::Position $i){ dd $i }; s(*) 23:57
camelia Type check failed in binding to parameter '$i'; expected Int but got Whatever (*)
in sub s at <tmp> line 1
in block <unit> at <tmp> line 1
gfldex m: subset StaticTable::Position of Int where * >= 1|Whatever; sub s(StaticTable::Position $i){ dd $i }; s(*)
camelia Type check failed in binding to parameter '$i'; expected Int but got Whatever (*)
in sub s at <tmp> line 1
in block <unit> at <tmp> line 1
shinobi-cl gfldex: well.. there is a method to convert the statictable contents to a shaped array, so this should work. i will add it as a test though
AlexDaniel m: multi sub foo($ where /^x/) { nextwith ‘zzz’ }; multi sub foo($ where ‘yyy’) { say ‘yyy’ }; multi sub foo($ where ‘zzz’) { say ‘zzz’ }; foo(‘xx’) 23:58
camelia ( no output )
AlexDaniel why no output?
23:59 rindolf left