»ö« 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:02 cdg joined 00:07 cdg left 00:13 Ven`` left, Ven`` joined 00:15 [particle]1 is now known as [particle] 00:23 cpage_ joined 00:24 margeas left 00:27 tushar joined, tushar left, tushar joined 00:32 thou left 00:36 tushar left 00:41 arnsholt left
weabot what's the preferred way of installing zef manually? 00:42
00:44 mantovani joined 00:45 cdg joined, shadoxx left 00:46 shadoxx joined
MasterDuke weabot: i think it's something like `perl6 -I lib bin/zef install .` in whatever directory you've cloned it to 00:47
00:47 mcmillhj joined
weabot alright thanks! 00:47
Geth doc: 0cc05104f3 | (Zoffix Znet)++ | doc/Type/IO/Handle.pod6
Document IO::Handle.slurp(:bin) arg

Rakudo impl: github.com/rakudo/rakudo/commit/e2ec569b7c Spec: github.com/perl6/roast/commit/1aa8a8ad18
00:48
synopsebot Link: doc.perl6.org/type/IO/Handle
00:50 cdg left
jdv79 jnthn: gist.github.com/anonymous/e2f9cc44...b3771aef15 00:51
sorry but that's the best i could golf it down too
00:51 mcmillhj left
jdv79 run that a few times and one will block up; seemingly on the qqx line 00:51
or anyone else that could provide insight 00:52
00:53 mudman left
jdv79 .tell jnthn if you have a chance - if i run this a few times it seems to block on the qqx line: gist.github.com/anonymous/e2f9cc44...b3771aef15 00:53
yoleaux jdv79: I'll pass your message to jnthn.
00:59 ChoHag left
AlexDaniel_ squashable6: status 01:01
squashable6 AlexDaniel_, ⚠🍕 Next SQUASHathon in ≈8 hours (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel_ I'm pulling the list of RT tickets right now, I won't be online in 8 hours
01:02 mcmillhj joined 01:07 mcmillhj left
AlexDaniel_ … although maybe I'll run it again a few hours later 01:07
01:08 shadoxx left 01:09 shadoxx joined 01:15 mcmillhj joined 01:17 cdg joined 01:20 mcmillhj left 01:26 KotH left, Cabanossi left 01:27 Cabanossi joined 01:28 KotH joined 01:31 mcmillhj joined 01:32 grondilu_ left, grondilu joined 01:37 mcmillhj left 01:38 mcmillhj joined 01:42 shadoxx_ joined, mcmillhj left 01:43 shadoxx left 01:44 mcmillhj joined 01:45 ilbot3 left 01:49 mcmillhj left 01:54 ilbot3 joined, ChanServ sets mode: +v ilbot3 01:57 yht joined 01:58 mcmillhj joined 02:03 mcmillhj left 02:04 tyilanmenyn joined 02:05 timotimo left, ggherdov left, domm left, sjn left, hahainternet left, sjn joined 02:06 domm joined, tyil left, mack[m] left, f3ew left, timotimo joined 02:08 squashable6 left, statisfiable6 left, unicodable6 left, quotable6 left, nativecallable6 left, unicodable6 joined, nativecallable6 joined, quotable6 joined, statisfiable6 joined, squashable6 joined 02:09 releasable6 left, peteretep_ joined 02:10 jkva__ joined 02:11 hahainternet joined, ilmari_ joined, cdg left 02:12 peteretep left, Technaton left, jkva_ left, ilmari left, andrewalker left, Bucciarati left, sacomo left, mienaikage left, daxim left, rodarmor left, shmibs left, jkva__ is now known as jkva_, peteretep_ is now known as peteretep, ilmari_ is now known as ilmari, Bucciarati joined, f3ew joined 02:13 andrewalker joined, shmibs joined, rodarmor joined 02:14 Technaton joined 02:15 unicodable6 left, nativecallable6 left, quotable6 left, statisfiable6 left, squashable6 left 02:16 SCHAPiE left, mienaikage joined, mack[m] joined 02:20 shadoxx joined, shadoxx_ left, rodrigok joined 02:22 SCHAPiE joined 02:25 rodrigok left, Cabanossi left, releasable6 joined 02:27 Cabanossi joined
weabot Missing block 02:29
------> <BOL>⏏<EOL>
expecting any of:
statement end
this doesn't tell me much, what's the best way to find out where it's wrong?
it's at stage2 in nqp during parsing, that's all I know
the file is about 1200 lines long so it's a bit hard to find 02:30
02:32 ab5tract_ joined, nativecallable6 joined, quotable6 joined, unicodable6 joined, ChanServ sets mode: +v unicodable6, squashable6 joined, statisfiable6 joined 02:33 japhb_ joined, [ptc]_ joined, mspo_ joined 02:35 Bucciarati left, ab5tract left, zacts left, [ptc] left, japhb left, leedo_ left, mspo left 02:37 daxim joined, Bucciarati joined, sacomo joined 02:38 SCHAPiE left 02:39 zacts joined, statisfiable6 left, squashable6 left, nativecallable6 left, quotable6 left, releasable6 left
weabot wtf is going on here 02:39
02:39 releasable6 joined, nativecallable6 joined, squashable6 joined, quotable6 joined, statisfiable6 joined 02:40 leedo_ joined 02:41 noganex_ joined 02:42 kurahaupo_ left 02:44 noganex left 02:46 SCHAPiE joined
TEttinger weabot: looks like the bots (-able6) are being worked on 02:51
02:52 rodrigok joined 02:53 rodrigok left, rodrigok joined 02:54 rodrigok left, rodrigok joined
AlexDaniel_ not really, there's some issue with freenode it seems 02:56
maybe not, but bots shuold not quit because of ping timeouts normally 02:57
especially half of them, hmm…
02:59 rodrigok left 03:00 rodrigok joined
AlexDaniel_ only those with ipv6 addresses are affected, hmm… 03:00
ipv4**
AlexDaniel_ shrugs
03:15 eliasr left 03:25 shadoxx left
AlexDaniel_ squashable6: status 03:27
squashable6 AlexDaniel_, ⚠🍕 Next SQUASHathon in ≈6 hours (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
03:33 shadoxx joined 03:43 BenGoldberg left, labster left 03:54 Cabanossi left 03:56 Cabanossi joined 03:57 ch3ck3r joined 03:58 mcmillhj joined 04:01 rodrigok left 04:03 mcmillhj left 04:06 ggherdov joined 04:09 flatwhite joined, kerframil left 04:10 mcmillhj joined 04:12 cdg joined 04:14 skids left, mcmillhj left 04:16 cdg left 04:22 hoffentlichja joined 04:27 mcmillhj joined 04:31 mcmillhj left 04:36 xtreak joined 04:38 araraloren left, araraloren_ joined 04:50 piojo joined
piojo Hi, does anyone here use or develop cro? 04:51
I've started using it as a server to provide a simple HTTP API that queries a database, but I noticed moar crashes after a couple days, and when I compiled moarvm with debug symbols, it decided to hang instead of crashing. 04:53
I'm using the september perl6 release, on linux.
what's the way to debug this further? If I use perl6-debug, can I pause the hung process and see what it's doing? 04:56
04:59 wamba joined 05:03 tyilanmenyn is now known as tyil 05:05 cgfbee joined
hoffentlichja is the convention for constants in perl6 still all caps snake case? 05:20
05:25 evalable6 left, evalable6 joined 05:33 Wiertek joined 05:35 Morfent left 05:39 domidumont joined 05:40 mr-foobar left 05:41 mr-foobar joined 05:43 domidumont left 06:03 squashable6 left, evalable6 left, releasable6 left, statisfiable6 left, quotable6 left, nativecallable6 left, unicodable6 left, committable6 left, bloatable6 left, greppable6 left, coverable6 left, benchable6 left, bisectable6 left 06:04 bloatable6 joined, committable6 joined, quotable6 joined, nativecallable6 joined, ChanServ sets mode: +v committable6, ChanServ sets mode: +v quotable6, ChanServ sets mode: +v nativecallable6, unicodable6 joined, greppable6 joined, coverable6 joined, evalable6 joined, ChanServ sets mode: +v evalable6, bisectable6 joined, benchable6 joined, releasable6 joined, squashable6 joined, statisfiable6 joined 06:08 Xliff_ joined 06:09 Cabanossi left 06:10 mr-foobar left 06:11 Xliff left, Cabanossi joined 06:12 domidumont joined, domidumont left 06:14 domidumont joined, mr-foobar joined
teatime .tell lizmat the link "the issues at hand" on latest weekly is broken. 06:22
yoleaux teatime: I'll pass your message to lizmat.
06:23 wamba left, troys_ is now known as troys 06:24 Morfent joined 06:32 cpage_ left 06:40 mr-foobar left 06:42 mr-foobar joined 06:44 llfourn left 06:55 Guest21598 left 07:00 rindolf joined 07:02 wamba joined 07:03 giraffe joined, giraffe is now known as Guest43993 07:04 troys left 07:08 Morfent left 07:09 mr-foobar left 07:13 mr-foobar joined, lowbro joined 07:14 lowbro left, lowbro joined 07:16 Morfent joined 07:27 cpage_ joined 07:31 leont_ joined 07:38 leont_ left, Cabanossi left 07:41 timotimo left, Cabanossi joined, mr-foobar left 07:43 mr-foobar joined 07:54 rba left
Ulti piojo: might be worth leaving an issue on the main github repository github.com/croservices/cro-ssl/issues also jnthn here is one of the people involved 07:57
piojo: there are also some environment variables you can set so Rakudo logs things as it goes, but these would get really big after two days 07:58
07:58 wander4096 joined
Ulti also wrong ling doh github.com/croservices/cro 07:59
08:08 Cabanossi left 08:11 mr-foobar left, Cabanossi joined 08:12 mr-foobar joined, xtreak left
stmuk nice GH issue for Fri 08:12
github.com/Microsoft/vscode/issues/32405
piojo Ulti: thanks. I don't think I have enough details to make a bug report at this point, but I'll try to catch jnthn when he's online 08:13
08:22 rba joined 08:29 someuser joined 08:40 Cabanossi left, mr-foobar left 08:41 Cabanossi joined 08:44 mr-foobar joined 08:47 xtreak joined 08:51 rba left 08:52 Morfent left 08:54 Zoffix joined
Zoffix teatime: broken how? Works for me. You might have to be logged in to github to be able to access the page tho 08:54
08:55 rba joined 08:58 pmurias joined
pmurias what is 'my int $foo is default(*)' supposed to even do? 08:58
I found it fudged in the tests
08:59 rba left
Zoffix would guess "leave last value" 08:59
08:59 rba joined, telex left
Zoffix as in `my int $foo is default(*) = 42; $foo = Nil; say $foo` still got 42 up in it 08:59
moritz that looks quite constructed to me 09:00
what would my int $foo is default(*); say $foo; do ?
09:00 telex joined
moritz not really constructed; more like an abuse of what "default" means 09:01
pmurias btw, why do we have the Nil reverts stuff to default behavior?
moritz because we[tm] thought it was a good idea?
09:01 jonas1 joined
jnthn I don't think we can do `is default` on natives. There's nowhere to stash the default away. 09:02
yoleaux 00:53Z <jdv79> jnthn: if you have a chance - if i run this a few times it seems to block on the qqx line: gist.github.com/anonymous/e2f9cc44...b3771aef15
Zoffix moritz: it'd be 0 because it's int :) Dunno what the case for `my $n` would be tho
09:02 rba left 09:03 xinming left
moritz I'm in favor of scraping the test 09:03
Zoffix +1
teatime Zoffix: Indeed, I'm not logged in, and it gives a 404. Is it the same data etc. as this: github.com/search?q=is%3Aopen+is%3...ktoberfest
because that works fine even logged out
09:03 wamba left
Zoffix teatime: yeah, looks to be it 09:04
huggable: hacktoberfest
huggable Zoffix, Hacktoberfest Issues: github.com/issues?utf8=%E2%9C%93&a...ktoberfest
Zoffix huggable: hacktoberfest :is: Hacktoberfest Issues: github.com/search?q=is%3Aopen+is%3...ktoberfest 09:05
huggable Zoffix, Added hacktoberfest as Hacktoberfest Issues: github.com/search?q=is%3Aopen+is%3...ktoberfest
teatime .tell lizmat looks like because I'm not logged in; this works even if logged out: github.com/search?q=is%3Aopen+is%3...ktoberfest
yoleaux teatime: I'll pass your message to lizmat.
jnthn pmurias: Nil - so that you can return a typed container to its correct undefined value without knowing that type. Most useful if you want to *return* Nil, because then you don't know what the caller will assign it into.
Zoffix squashable6: status 09:06
squashable6 Zoffix, ⚠🍕 Next SQUASHathon is just a few moments away (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
Zoffix Is it waiting for someone to flip the switch? It's 5:06 on my clock....
AlexDaniel: yo
teatime is lizmat the correct person for p6weekly?
going off my poor memory heh
09:06 piojo left
Zoffix teatime: yeah, she did write the last 100+ weeklies. timotimo also has the keys to make changes 09:07
Oh and timotimo wrote several of those last 100+ weeklies
squashable6: loud 09:08
squashable6 Zoffix, ALRIGHT, LET'S DO IT!!!
Zoffix squashable6: status
squashable6 Zoffix, ⚠🍕 Next SQUASHathon is just a few moments away (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
Zoffix the anticipation is killing me... :D
09:09 rba joined 09:10 mr-foobar left 09:12 Morfent joined 09:14 mr-foobar joined 09:15 wamba joined 09:17 cog__ joined
AlexDaniel_ Zoffix: no 09:19
Zoffix: it should work automatically 09:20
Zoffix Oh man it treats 59m as "few moments"
stupid robot
AlexDaniel_ a few moments away = less than one hour
Zoffix That's not a few moments! :)
09:20 cog_ left
Zoffix Maybe it's cultural... 09:20
AlexDaniel_ github.com/perl6/whateverable/issues/244 09:21
Zoffix I heard somewhere being late for half hour is acceptable.
09:21 TEttinger left 09:22 yht left 09:23 holyghost left
teatime 2017-10-07 00:00:00 UTC-12 *is* in the past though, right 09:23
or did my back-of-envelope calc go wrong
AlexDaniel_ you should use +14 for the calculation I think
09:24 UTC right now, +14 is 23:24 09:24
09:24 Cabanossi left
AlexDaniel_ sounds about right 09:24
09:26 Cabanossi joined
Geth whateverable/few-moments: 1a61e78749 | (Zoffix Znet)++ (committed using GitHub Web editor) | lib/Misc.pm6
Don't call 1 hour "a few moments"

  - Return number of minutes until $then when it's just minutes
  - Return 'a few moments' only when there is less than a minute left
09:28
whateverable: zoffixznet++ created pull request #245:
Don't call 1 hour "a few moments"
Zoffix AlexDaniel_: github.com/perl6/whateverable/pull/245 09:29
Didn't run any tests....
Geth whateverable: 1a61e78749 | (Zoffix Znet)++ (committed using GitHub Web editor) | lib/Misc.pm6
Don't call 1 hour "a few moments"

  - Return number of minutes until $then when it's just minutes
  - Return 'a few moments' only when there is less than a minute left
whateverable: a625d4e53a | (Aleks-Daniel Jakimenko-Aleksejev)++ (committed using GitHub Web editor) | lib/Misc.pm6
Merge pull request #245 from perl6/few-moments

Don't call 1 hour "a few moments"
Zoffix \o/
09:30 squashable6 left, squashable6 joined, ChanServ sets mode: +v squashable6
AlexDaniel_ squashable6: next 09:30
squashable6 AlexDaniel_, ⚠🍕 Next SQUASHathon is in 29 minutes (2017-10-07 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
09:30 mr-foobar left, jeek left
Zoffix \o/ 09:31
09:33 cdg joined, mr-foobar joined, rba_ joined
AlexDaniel_ Zoffix: fwiw not only you'd need to have thousands of rakudo builds for running the tests, but squashable has no tests whatsoever /o\ 09:34
I'm working on that too, but you know… 177 issues /o\
Zoffix :) 09:35
09:36 okl joined 09:37 rba left 09:38 cdg left
Zoffix for SQUASHAthoners: S32-str/Collation.t will be failing until we do the nqp/moarvm bump (which requires fixing a bug in moarvm/nqp first). You can ignore the failures in that file 09:38
09:40 yht joined
Zoffix This will be an interesting test in our infrastructure... what with 4 different repos depending on one another in some way :) 09:40
09:41 timo joined, timo is now known as Guest65627 09:43 ufobat joined 09:50 rba_ is now known as rba 09:54 Guest65627 is now known as timotimo 09:55 holyghost joined
Zoffix m: my $x; my $y := $x; $x = (42,$y); say $x; 10:00
camelia (\List_84653920 = (42 List_84653920))
AlexDaniel_ squashable6: status
squashable6 AlexDaniel_, 🍕🍕 SQUASHathon is in progress! The end of the event in 2 days and ≈1 hour. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
Zoffix m: my $x; my $y := $x; $x = Map.new((:a(42),:b($y))); say $x
camelia Map.new((:a(42),:b(Any)))
Zoffix Seems like an incongruency: you can shove a writable container into a List but not into a map?
10:01 darutoko joined 10:02 kurahaupo joined
squashable6 🍕 AlexDaniel++ wrote a comment on “AppVeyor and JIT”: github.com/MoarVM/MoarVM/issues/71...-334714128 10:06
🍕🍕🍕 First contribution by AlexDaniel++! ♥
🍕 AlexDaniel++ closed issue “AppVeyor and JIT”: github.com/MoarVM/MoarVM/issues/718
10:10 Cabanossi left
squashable6 🍕🍕🍕 First contribution by zoffixznet++! ♥ 10:10
Zoffix :) maybe geth should be reporting here too for rakudo/nqp/moarvm during squashatong 10:11
10:11 Cabanossi joined 10:13 AlexDaniel_ left 10:25 okl left 10:29 W4RL0RD joined
AlexDaniel Maybe 10:30
Probably 10:31
10:34 rba left 10:35 margeas joined 10:40 Morfent left
stmuk started? in which TZ is it Sat? 10:45
pmurias language design question: if on a 32bit backend I assign say a 40bit long bignum to a 'int' should that thrown an exception? 10:59
m: my int $foo = 100000000000000000000;
camelia Cannot unbox 67 bit wide bigint into native integer
in block <unit> at <tmp> line 1
pmurias m: my int32 $foo = 2**40;
camelia ( no output )
pmurias m: my int32 $foo = 2**40;say $foo;
camelia 0
11:00 evalable6 left, evalable6 joined, ChanServ sets mode: +v evalable6, AlexDaniel_ joined 11:02 wamba left
squashable6 🍕🍕🍕 First contribution by pmurias++! ♥ 11:03
11:04 llfourn joined 11:05 AlexDaniel_ left 11:14 ChoHag joined, domidumont left 11:19 AlexDaniel_ joined
squashable6 🍕🍕🍕 First contribution by lizmat++! ♥ 11:21
11:25 Aaronepower joined, xtreak left 11:28 xtreak joined 11:31 rba joined 11:32 Grrrr joined 11:34 kurahaupo left, kurahaupo joined 11:39 Aaronepower left, rba left 11:40 Cabanossi left, rba joined 11:41 Cabanossi joined
Zoffix stmuk: UTC+14 11:41
and UTC+13, and UTC+12 too by now 11:42
pmurias: yeah, it should throw. However, if it goes outta bound with operations (e.g. $foo++), it should do what hardware does (which is wrap around on all the OSes we support, I was told) 11:43
11:46 xtreak left 11:48 domidumont joined 11:52 NEveD joined 11:56 Praise- joined, Praise- left, Praise- joined, Praise left
Geth roast: 7de1138c34 | (Zoffix Znet)++ | S32-hash/perl.t
Map.perl preserves Map's scalar containeration
11:58
12:05 |oLa|1 joined, |oLa| left
Zoffix perlpilot: you around? Is there anyway you could edit rakudo's and moarvm's `geth` hooks' URLs and add `,#perl6` at the end of them so geth reports in #perl6 for it too, during SQUASHathon? SQUASHathon is kinda ded and boring without commit announcements. 12:12
moritz I've changed it for rakudo 12:15
12:16 evalable6 left, evalable6 joined
moritz I don't have permissions for MoarVM 12:16
Zoffix moritz++ Thanks :)
timotimo squashathon is going on and my wrists require me to not type much :| 12:19
Zoffix Shake your hand like... ever used a mercury thermometre and know how to shake it to reset it? Do a motion like that 12:20
Also: fill a pot with hot water and stick your wrists there for a while 12:21
12:24 Cabanossi left
Geth rakudo/nom: 381c4c3bb2 | (Zoffix Znet)++ | src/core/Map.pm
Add space between els in Map.gist

We add one in Hash, List, and Buf .gists
  (Noticing though that Buf and List gists separate els with spaces,
but Hash/Map with commas + spaces)
12:24
roast: 8a3908c3e2 | (Zoffix Znet)++ | S32-hash/map.t
Spec Map.gist trimming to 100 els
12:25
12:26 Cabanossi joined 12:27 yht left
Geth doc: 4aadcc3c8e | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Map.pod6
Document Map.gist trimming to 100 els

Impl: github.com/rakudo/rakudo/commit/aad8991e2a Spec: github.com/perl6/roast/commit/8a3908c3e2
12:29
synopsebot Link: doc.perl6.org/type/Map
perlpilot good $localtime all. 12:33
Zoffix \o
perlpilot So far the squashathons seem to be scheduled when I'm busy. I'm at work now, and then I'm moving this weekend. 12:34
When's the next one?
Zoffix Why are so many people moving lol? Like 4 people in this channel are moving
perlpilot: it's first Saturday of the month every month 12:35
perlpilot Zoffix: #perl6 is full of movers and shakers :)
weabot Zoffix so it's technically not started yet?
12:36 flatwhite left
Zoffix weabot: it started already. It's Saturday in some timezones already. 12:36
perlpilot Zoffix: oh, and btw, I don't have access to make that change on MoarVM either. I'm not sure besides jnthn who does.
Zoffix OK :)
weabot alright
so the 48 hour period where it's still saturday somewhere, gotcha ;) 12:37
Zoffix I think it's a 26-hour period
squashable6: status 12:38
squashable6 Zoffix, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈23 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
Zoffix, Log and stats: gist.github.com/afd6c9f05704fc6c42...71a5b58f25
Zoffix Ah, ok, guess more
UTC-12 to UTC+14
No idea how many hours that is in total :) 12:39
m: say 26+24 12:40
camelia 50
Zoffix I guess that many, but it sounds too many
12:43 setty1 joined
Zoffix s: (1+2i), 'Num', \(); 12:44
SourceBaby Zoffix, Something's wrong: ␤ERR: Cannot resolve caller sourcery(List, List); none of these signatures match:␤ ($thing, Str:D $method, Capture $c)␤ ($thing, Str:D $method)␤ (&code)␤ (&code, Capture $c)␤ in block <unit> at -e line 6␤␤
Zoffix oops wc
12:44 ShalokShalom_ joined, HoboWithAShotgun joined
Zoffix buggable: tag lhf 12:44
buggable Zoffix, There are 5 tickets tagged with LHF; See fail.rakudo.party/t/LHF for details
Zoffix buggable: tag testneeded
buggable Zoffix, There are 55 tickets tagged with TESTNEEDED; See fail.rakudo.party/t/TESTNEEDED for details
Zoffix ^ Lots of opportunity for newcomers in this SQUASHathon 12:45
lhf = low hanging fruit (easy tickets)
12:47 profan left, ShalokShalom left 12:53 Ven`` left 12:54 AlexDaniel_ left 12:57 rba left 12:58 rba joined, lucasb joined 13:01 AlexDaniel_ joined
Geth rakudo/nom: b377de1c48 | (Zoffix Znet)++ | src/core/Exception.pm
Versatilize X::Numeric::CannotConvert a bit

Make it stringify .defined $!targets as is, while .perl'ifying others. This maintains the old output for X::Numeric::Real, while leaving open the possibility of using more than just a type for
  $!target if we'll need to.
13:01
13:04 mcmillhj joined 13:06 Ven`` joined
lucasb o/ 13:06
So, can I blindly add ":D" to all those methods in github.com/rakudo/rakudo/blob/98fa...m#L86-L224 ? 13:07
13:07 cdg joined
lucasb RT #1270 13:08
RT #127051
synopsebot RT#127051 [new]: rt.perl.org/Ticket/Display.html?id=127051 [LHF] error for 1/1.WHAT
Zoffix lucasb: not blindly. After you add it, make spectest (or stresstest if you got the time) and make sure it's clean
13:08 cdg left
Zoffix t/spec/S32-str/Collation.t (Wstat: 1280 Tests: 14 Failed: 5) 13:08
Failed tests: 1, 7, 10-12
Except for ^ those failures which are expected (awaiting nqp bump) 13:09
13:09 cdg joined
lucasb Zoffix: well, that's the thing. I don't have a recent installation around :D but I expect the change do be harmless 13:10
Zoffix lucasb: I don't follow the thing... You make the change, then build it, then run the tests.
13:10 cdg_ joined 13:11 eliasr joined
Zoffix git clone github.com/YOUR-FORK/rakudo && cd rakudo; <make changes>; perl Configure.pl --gen-moar --gen-nqp --backends=moar; make; make test; make install; make spectest 13:11
It's quite possible for failures or hangs to happen in this change, since we have those iffy ":Us are zeros" semantics in some places. 13:13
lucasb alright, I'll setup my local environment. (I was just being lazy and wanted to submit the thing in GH interface without testing :)
Zoffix: thanks!
Zoffix eww no :)
13:14 cdg left
Geth doc: eac84166a8 | (Zoffix Znet)++ (committed using GitHub Web editor) | doc/Type/Num.pod6
Document Num.Int

Exception impl: github.com/rakudo/rakudo/commit/f04bd1d617f60
   Exception spec: github.com/perl6/roast/commit/fcee82fcff56f187
13:15
synopsebot Link: doc.perl6.org/type/Num
Zoffix &
13:19 mr-foobar left 13:22 mr-foobar joined, mspo_ is now known as mspo 13:23 smonff joined 13:27 damnlie left 13:29 skids joined 13:35 Wiertek left, smonff left 13:38 Cabanossi left, smonff joined 13:41 Cabanossi joined 13:43 rba left, rba joined 13:45 damnlie joined 13:48 smonff` joined
HoboWithAShotgun good localtime() you lovely freaks and freakettes, onward in my journey ... 13:50
so how do i export a method?
i mean manually via EXPORT
13:52 smonff left
HoboWithAShotgun i want to add some utility functions to my class so i can write $something->goo( ... ) instead of $something.somethingelse.meth("goo", ...) 13:53
but there are quite a few of those, and i dont want to DRY 13:54
13:56 smonff`` joined, smonff` left
stmuk /j moarvm 13:56
argg
Zoffix
.oO( accidental /j lottery... )
HoboWithAShotgun btw, i really realy love this foo( |@args ) syntax 13:59
that saves so, so much typing
moritz HoboWithAShotgun: it looks like you want delegation, not method exports
m: class ContainsAStr { has $.str handles <uc lc> }; given ContainsAStr.new(str => 'Purl') { say .uc; say .lc } 14:00
camelia PURL
purl
HoboWithAShotgun i misspoke
i solved that one last night using exactly that 14:01
moritz afaict there's not generic method exporter 14:02
HoboWithAShotgun i meant $something->goo ( ... ) instead of $something.some-longish-name("goo", ...)
moritz YourClass.add_method($alias, YourClass.^find_method($original_name)) 14:03
HoboWithAShotgun ok, and where do i put this?
Zoffix .^add_method
moritz right, .^add_method 14:04
HoboWithAShotgun: outside the class
and later do YourClass.^compose(...) call
oh, I think it can go inside the class too
hm, if you need the name of the alias inside, you might need to add a closure in between 14:05
or you could use FALLBACK, though that's kinda evil
YourClass.^add_method($alias, sub ($SELF, |c) {YourClass.^find_method($original_name)($SELF, $alias, |c) } ) 14:06
14:06 rba left
moritz you might want to draw the YourClass.^find_method outside the closure for performance reasons 14:07
14:07 mempko joined 14:09 rba joined 14:10 Cabanossi left 14:11 Cabanossi joined 14:12 Cabanossi left 14:13 Cabanossi joined 14:18 rba left
HoboWithAShotgun that doesnt seem to work. I get "STable conflict detected during deserialization. 14:21
(Probable attempt to load a mutated module or modules that cannot be loaded together)."
jnthn Usually a missing BEGIN
HoboWithAShotgun that seems to do it. i know get signature mismatch but might be me fucking up 14:23
Zoffix Anyone registered for PAUSE recently? Do you get the account right away or do you have to wait for a human to approve it first?
HoboWithAShotgun thanks so far
Zoffix huggable: swear jar 14:24
huggable Zoffix, Help Perl 6. Donate: donate.perlfoundation.org/
HoboWithAShotgun yup, it works 14:27
14:27 lucasb left
HoboWithAShotgun you saying if i drop a dollar into the head i can swear in irc? 14:28
14:28 domidumont left
HoboWithAShotgun it works fine now, btw. thanks vm 14:28
moritz for the next hour, yes :-)
14:28 domidumont joined
Zoffix Yeah, you can swear by putting a dollar per swear :") 14:28
HoboWithAShotgun i'll take the hour 14:29
Zoffix \o/
HoboWithAShotgun you twat :D
jnthn Finally, we found a way to fund Perl 6 development :P :P
moritz now we just need a few russians :-) 14:30
AlexDaniel_ squashable6: status
squashable6 AlexDaniel_, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈21 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
HoboWithAShotgun speaking of swearing, the scots are masters in this
squashable6 AlexDaniel_, Log and stats: gist.github.com/80f8f5c0a6b37c69ca...7eeb6ae389
🍕🍕🍕 First contribution by jnthn++! ♥ 14:33
Zoffix \o/ 14:34
14:34 rba joined 14:35 Technaton left
AlexDaniel_ samcv: if you can add #perl6 channel to Geth webhook that would be nice too 14:35
HoboWithAShotgun into the head... is it possible to aquire dyslexia over time?
develop, rather
14:35 domidumont1 joined
AlexDaniel_ HoboWithAShotgun: yeah… dementia? 14:35
HoboWithAShotgun i sure do hope not 14:37
AlexDaniel_ Zoffix: oh, it should be %23perl6 ?
not #perl6 ?
HoboWithAShotgun it would be horrible to get outsmarted by mum one day ;D
Zoffix AlexDaniel_: github converts it automagically
AlexDaniel_ ahhh, ok
Zoffix I used #perl6
14:38 domidumont left 14:39 Technaton joined
AlexDaniel_ jnthn: is it possible to give Zoffix (or me) more privileges on MoarVM and rakudo repos? Because we tend to do various bot stuff and trying to find someone to manage webhooks is a bit annoying 14:44
Zoffix (and rakudo :P) 14:46
14:47 cdg_ left 14:48 cdg joined 14:50 mcmillhj left 14:53 cdg left 14:54 mcmillhj joined
AlexDaniel_ moritz: ↑ or maybe you are the right person to ping about that stuff? 14:58
moritz AlexDaniel_: I don't even have permissions in the moarvm repo myself
AlexDaniel_ like, I'm not insisting or anything, but it will make my life a tiny bit easier :)
14:58 enheh joined 14:59 wamba joined
jnthn AlexDaniel_: Probably can, though trying to fix a bug before wandering off to take care of visiting family; please ping me about it at the weekend or so :) 14:59
AlexDaniel_ \o/
jdv79 jnthn: did you get a chance to look at the blocking issue i had? 15:04
jnthn jdv79: No
Zoffix Everyone wants a piece of jnthn :) 15:05
jdv79 wanted to know if its just me or should i bug it. ok.
jnthn jdv79: Will probably be next week before I've chance
jdv79 cool
jnthn One thing that stands out to me though is 15:06
15:07 rba left
jnthn gist.github.com/anonymous/e2f9cc44...e1-txt-L35 15:07
How many times will that line of code run?
Becuase it will work once and throw an exception every time after that
And bring down the react block with it
jdv79 that's just something i threw in to avoid sleeping in the example. its not part of the real code
jnthn OK
jdv79 it was sleeping instead before on the last line and results were the same 15:08
next week is fine. its friday. have a good weekend!
thanks for peeking at it 15:09
jnthn np, will try and remember next week but ping me if I forget 15:11
15:11 domidumont joined
HoboWithAShotgun allright, that was weird. i was creating a hash of pairs of strings representing the sub names for the exporter thing and it crashed with: 15:11
This type (QAST::WVal) does not support positional operations
by strategic commenting i found a single line in the hash assignment that was the problem 15:12
now i replaced it by exactly the same text and it works
jdv79 ok 15:13
HoboWithAShotgun i now have a program with two identical lines which either crashes or not, depending on which line i comment out
15:13 AlexDaniel_ left 15:14 domidumont1 left, AlexDaniel_ joined
Zoffix HoboWithAShotgun: what version of rakudo are you using? 15:17
15:18 Wiertek joined
HoboWithAShotgun This is Rakudo version 2017.08-91-g9785356 built on MoarVM version 2017.08.1-128-gde6dced 15:19
Zoffix HoboWithAShotgun: upgrade to latest commit (or use a release). You're using a minimally dev commit and there's been a lot of volatile changes recently 15:20
*minimally tested
huggable: sauce
huggable Zoffix, Install untested latest development version of Rakudo from source: github.com/zoffixznet/r#table-of-contents
HoboWithAShotgun its a non issue, i deleted the crash comment and all is fine
15:21 rba joined
HoboWithAShotgun i just wonder, WTF? HOW? 15:21
or better why
15:23 lowbro left, Cabanossi left 15:25 domidumont left 15:26 Cabanossi joined 15:27 wamba left, wamba joined 15:28 st_elmo joined
Geth nqp: 60f79d38e9 | (Zoffix Znet)++ | tools/build/MOAR_REVISION
Bump MoarVM
15:30
¦ nqp: version bump brought these changes: github.com/MoarVM/MoarVM/compare/2...5-gd4e230a
rakudo/nom: c4b96e457b | (Zoffix Znet)++ | tools/build/NQP_REVISION
Bump NQP
rakudo/nom: version bump brought these changes: github.com/perl6/nqp/compare/2017....9-g60f79d3
8ff76b5962 | (Elizabeth Mattijsen)++ | 27 files
Zoffix New blog post: "CPAN6 Is Here": 6lang.party/post/CPAN6-Is-Here 15:33
.tell tyil I promised you a post on CPAN6: 6lang.party/post/CPAN6-Is-Here There's certainly room for a better guide on the process :) 15:34
yoleaux Zoffix: I'll pass your message to tyil.
tyil Zoffix: sweet 15:35
yoleaux 15:34Z <Zoffix> tyil: I promised you a post on CPAN6: 6lang.party/post/CPAN6-Is-Here There's certainly room for a better guide on the process :)
tyil thanks :>
I got a PAUSE ID today
in anticipation of all this :>
15:37 AlexDaniel_ left 15:42 cdg joined, enheh left 15:45 smonff`` left 15:47 cdg left, setty1 left
tyil Zoffix: are there plans to render readme.adoc files as well? 15:47
Zoffix tyil: I have no immediate plans for the website, as I'm busy with @other-things. But people can implement stuff. The code that renders readme is here: github.com/perl6/modules.perl6.org...#L115-L128 15:48
tyil alright, thanks 15:49
.hug Zoffix
huggable hugs Zoffix
15:49 cdg joined 15:51 eroux joined 15:53 rba left 15:54 cdg left, enheh joined 16:03 vytautas joined, mcmillhj left
HoboWithAShotgun where is the line between compact and obtuse? 16:13
16:15 Wiertek left 16:19 Aaronepower joined
Zoffix Right here: compact ┃ obtuse 16:19
HoboWithAShotgun that's a pretty line 16:27
i wish i had a line like that
16:29 troys joined 16:30 ufobat left
Zoffix Good news! You know the language that can give you a line like that. Just type "\c[BOX DRAWINGS HEAVY VERTICAL]".say to get it 16:31
:)
vytautas want to read characters from terminal, one by one, as keys are pressed 16:34
googled, found termios
vytautas given example only prints first when second is pressed, second when third is pressed etc 16:35
lizmat Zoffix: is it because of Squashable that Geth also reports here ? 16:37
16:42 atroxaper joined
Zoffix lizmat: because of SQUASHathon, yeah. It'll be turned off in #perl6 after SQUASHathon is over 16:43
lizmat ok, just checkin :-)
Zoffix vytautas: probably because it's waiting for combiners?
vytautas: there's Terminal::Print people recommended when this topic was brought up before; maybe check it out 16:44
eco: Terminal::Print
buggable Zoffix, Terminal::Print 'Asynchronous printing to your terminal -- as a simple grid': github.com/ab5tract/Terminal-Print
Zoffix vytautas: and waiting for combiners issue is described here (I don't off-top-head know the way around it: docs.perl6.org/type/IO::Handle#Wai..._combiners )
Bu tmaybe the module sorts it out
16:45 Wiertek joined
gdonald rosettacode.org/wiki/Keyboard_inpu...nse#Perl_6 16:45
16:46 mcmillhj joined
Zoffix That code looks gross 16:48
Shelling out... and for each keypress 16:49
I guess it reads just one char.. ok
stmuk I think rt.perl.org/Ticket/Display.html?id=131814 should be closed 16:50
anyone agree?
timotimo stmuk: but "foo" is what the original poster expected, instead they got \"foo" 16:52
Zoffix I get \"foo\" on my terminal
Looks like rakudo is trying to escape the quotes with `\"` and it ain't working
timotimo that'd also be wrong, right?
it shouldn't escape these quotes, i think? 16:53
Zoffix Yeah, it should print without any slashes
stmuk well the ticket actually gives the wrong observed output anyway \"foo 16:54
I assume thats a typo for \"foo\"
Zoffix C:\Users\zoffix>perl6 -e "say qqx[echo \x[22]foo\x[22]];"
\"foo\"
That's on 2017.07 star
16:54 ch3ck3r left
stmuk well 2017.01 on windows correctly returns "foo" (without escapes) 16:55
as does 2017.05 16:57
Zoffix stmuk: I recall there was a Proc::Async bug with quopting that was fixed around .06 time and likely that fix introed this new bug
stmuk Zoffix: ah I'll poke around that 16:58
Zoffix stmuk: maybe this was it: github.com/MoarVM/MoarVM/commit/05a7dc3 16:59
stmuk ok I'll try adding that back in a branch
17:00 noganex_ left 17:03 noganex joined, AlexDaniel_ joined 17:05 japhb_ is now known as japhb 17:10 andrzejku joined 17:11 rba joined 17:12 someuser left
Geth ecosystem: 530861b810 | timo++ (committed using GitHub Web editor) | META.list
JSON::Fast now has its home on CPAN.
17:17
squashable6 🍕🍕🍕 First contribution by samcv++! ♥ 17:21
17:21 ken joined
Geth nqp: 02a426e0e6 | (Samantha McVey)++ | src/HLL/Grammar.nqp
Remove support for ornate parenthesis from quoting constructs

Reasons:
  * These are not recognized by Unicode as being brackets
  * They do not conform to Pi/Pf or Ps/Pf general category pairings
  * They don't have a Bidi_Mirroring_Glyph or a Bidi_Matching_Bracket pair
  * They have never been considered brackets for any of the history of
   Perl 6, and they never will be considered brackets
  * There are no modules which use these brackets, and no known users
  * It is not easily versionable, and not feasible to make it versioned
17:21
17:21 ken is now known as Guest36651
17:23 enheh left
japhb pmurias: Is there a big block in the remainder that you can win all at once? Or will every new JS feature only give you e.g. a fraction of a percent? 17:24
Dammit, scrollback was stuck, thought pmurias had just said something he said yesterday. :-( 17:26
17:26 Praise- is now known as Praise 17:28 leont_ joined
Geth nqp: 576d78eef8 | (Samantha McVey)++ | src/HLL/Grammar.nqp
Add a removal message if ornate parentheses are used

This message will eventually be removed, but in the very unlikely case anybody is using them, provide a useful message.
17:34
17:36 markldevine joined
markldevine p6: say 3 17:36
camelia 3
17:37 markldevine left
Zoffix drive-by-eval 17:37
17:40 wamba left, andrzejku left 17:42 atroxaper left, atroxaper joined, andrzejku joined 17:45 Ptolemarch joined, nadim_ joined, nadim left
AlexDaniel_ is wishing to see drive-by-bisect some day 17:50
I guess the squashathon is going to start on Saturday for me. Too tired today :)
squashable6: status 17:51
squashable6 AlexDaniel_, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈18 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel_, Log and stats: gist.github.com/634d2abdf2fc1f4533...3caa10b59c
AlexDaniel_ happy squashathoning everyone o/
Zoffix \O
17:52 ShalokShalom_ is now known as ShalokShalom 17:54 AlexDaniel_ left 17:55 AlexDaniel_ joined 17:57 mcsnolte joined 17:58 leont_ left 18:01 holyghost left, smls joined
stmuk Zoffix: adding the UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS back into moarvm src/io/procops.c does fix all the quoting problems 18:01
smls Hi all 18:02
stmuk but I'm seeing other errors with the build (which may be related to my VM which just crashed)
18:02 araraloren_ left
timotimo hey smls 18:02
stmuk the make install step fails with "Could not open (CompUnit::Repository::Staging). Failed to stat file: no such file or directory" 18:03
smls So how does the SQUASHathon work? :)
18:03 HoboWithAShotgun left
timotimo dangit, the module list updater is written in perl5 18:03
Zoffix sweet 18:04
squashable6: status
squashable6 Zoffix, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈17 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
Zoffix, Log and stats: gist.github.com/b15e0f806a74a93dc2...f06275b040
18:04 atroxaper left
Zoffix smls: for first Saturday of the month (in all timezones), we hack on some target repo. This month it's rakudo/rakudo, which also includes commits to moarvm/moarvm, perl6/nqp, and perl6/roast. Pick a problem to hack on. Submit fix. Receive free digital pizza. More info in the wiki: github.com/rakudo/rakudo/wiki/Mont...Squash-Day 18:05
buggable: pizza me
buggable Zoffix, enjoy this slice of Hawaiian pizza, my friend! Yummy 🍕
Zoffix yummy
buggable: tag hlf
buggable Zoffix, There are no tickets tagged with HLF
Zoffix buggable: tag testneeded
buggable Zoffix, There are 55 tickets tagged with TESTNEEDED; See fail.rakudo.party/t/TESTNEEDED for details
Zoffix smls: ^ those are LHF pickings, though I you might wish something a bit tougher :) 18:06
smls Zoffix: So any work on RT tickets during this time window, counts?
Zoffix smls: yeah
smls ok
Zoffix buggable: tag lhf 18:07
buggable Zoffix, There are 5 tickets tagged with LHF; See fail.rakudo.party/t/LHF for details
Zoffix (I meant this one, not hlf)
18:09 AlexDaniel_ left
Zoffix timotimo: lol, you've *just* noticed that? :) 18:09
18:09 W4RL0RD left
timotimo i didn't consider changing anything about that before 18:09
i mean contribute
or something 18:10
squashable6 🍕🍕🍕 First contribution by moritz++! ♥
Geth roast: 7fd6b6f3ac | (Moritz Lenz)++ | S04-statements/gather.t
Test for RT #127672

take inside a regex with m:g// runs the expected number of times
Zoffix Ah :)
synopsebot RT#127672 [new]: rt.perl.org/Ticket/Display.html?id=127672 「take」 inside global and exhaustive matching is broken (m:g/. {take 1}/)
moritz I can't seem to close this ticket 18:11
whatever action I do, I can only chose "new" or "new (unmodified)" as the next state 18:12
smls moritz: Can you go into the "Basics" tab and use the "Status" drop-down? 18:15
Zoffix resolves it 18:16
18:16 profan joined 18:17 ranguard joined
moritz smls: it seems Zoffix++ has resolved it in the mean time. Now I have two options again, "resolved" and "resolved (unchanged)" 18:17
Zoffix moritz: I added you to bug admins now. The old account listed has different email adddress 18:18
ranguard Zoffix: hi, CPAN6++ - small note: backpan.metacpan.org/authors/id/Z/...FIX/Perl6/ is useful URL as well (being a backpan)...
Zoffix Thanks. 18:19
huggable: metabackpan :is: backpan.metacpan.org/authors/id/Z/...FIX/Perl6/
huggable Zoffix, Added metabackpan as backpan.metacpan.org/authors/id/Z/...FIX/Perl6/
moritz m: say 1 ∈ (Set) ?? 'present' !! 'not present'; 18:20
camelia not present
moritz m: say Set ⊇ Set ?? 'present' !! 'not present';
camelia present
stmuk hmmm I think reverting the quoting change isn't sufficient since there are side effects on CURS 18:22
18:23 ranguard left
Zoffix Well, the quoting change fixed the bug. You can't just revert it, especially since now CURS use Proc::Async, so it's probably choking on the bug that commit fixed 18:23
$ perl6 -e 'm: say 1 ∈ (Set) ?? 'present' !! 'not present';'
Non ast passed to WANTED: NQPMu
m: say 1 ∈ (Set) ?? present !! not present;
camelia Non ast passed to WANTED: NQPMu
5===SORRY!5=== Error while compiling <tmp>
Your !! was gobbled by the expression in the middle; please parenthesize
at <tmp>:1
------> 3say 1 ∈ (Set) ?? present !!7⏏5 not present;
expecting any of…
Zoffix Looks right. a Set:U is treated as a 1-element Set with Set:U up in it. 1 is not part of it and Set:U is same set as Set:U 18:25
Zoffix &
stmuk ok I'll look further at the windows quoting bug tomorrow (if noone beats me to it) 18:28
18:32 st_elmo left 18:36 vytautas left 18:38 atroxaper joined 18:43 atroxaper left, konsolebox left 18:44 darutoko left
timotimo so i've made changes to the db builder libs; how do i check if everything's all right? 18:45
Geth modules.perl6.org/github_rate_limiting: fe7ce8d988 | (Timo Paulssen)++ | lib/ModulesPerl6/DbBuilder/Dist/Source/GitHub.pm
output info from rate limiter in log

so we can get an idea for how it operates - i.e. does it refresh to full only after the reset time is reached, or does it slowly fill up (leaky bucket style)
18:48
18:48 jonas1 left
18:48 HoboWithAShotgun joined
timotimo someone want to check this? i'll go AFK for a bit 18:48
El_Che thumbs up for seeing liz and wendy yesterday! 18:49
18:50 konsolebox joined
lizmat El_Che o/ 18:58
Zoffix timotimo: you can run `perl bin/build-project-list.pl` locally and see if it provides right output. Pithub's interface always confounded me so I don't know if that part is right, but you might want to move this `my $commits = $self->_repo($commit_request->list) or return;` part AFTER your block that prints out limits; otherwise it'll only get printed when a dist has fresh commits 18:59
timotimo: oh, nevermind 19:00
The cached checker is actually a dozen lines lower.
`cpanm -vn --installdeps .` will install all the prereqs locally.
(or you can try out a checkout on modules.perl6.org account on www.p6c.org) 19:01
Or you can just merge :P
smls In S05-mass/rx.t, why is the information of every test duplicated in a comment above it? 19:02
github.com/perl6/roast/blob/master...-mass/rx.t 19:03
And what is the y/n field? 19:04
Zoffix has no idea
moritz smls: rx.t is an automatic translation of some data-driven tests from earlier regex implementations 19:05
smls: the comments were the data-driven tests, and inserted to make it easier to check if the translation was done correctly 19:06
smls So should they added for new tests?
*be
moritz no
I don't see any benefits 19:07
smls ok
Zoffix timotimo: oh, I can actually test it myself.
ain't working right 19:09
Zoffix tries to fix
oh, a bit later 19:10
19:10 evalable6 left, evalable6 joined, ChanServ sets mode: +v evalable6 19:12 pecastro left 19:17 troys is now known as troys_ 19:23 pecastro joined 19:30 pecastro left, pecastro joined
Geth modules.perl6.org/github_rate_limiting: eff4140f69 | (Zoffix Znet)++ | lib/ModulesPerl6/DbBuilder/Dist/Source/GitHub.pm
Fix up rate limiter code

It's ->list on the ->commits that returns the request. The (crappily-named) ->_repo() then error-handles it and returns content.
19:31
Xliff_ I take it there is a lot of work going on in the rakudo tree, today?
19:32 patrickz joined
Xliff_ Right now rakudobrew fails when installing. 19:32
Zoffix oops
Accidentally sent masak++ a PR for modules site merge :)
Xliff_ ==> Bootstrapping Panda 19:33
Unable to parse expression in argument list; couldn't find final ')'
at SETTING::src/core/Exception.pm:57 (/home/cbwood/.rakudobrew/moar-nom/install/share/p
So rakudo did install, it is just panda that failed.
Geth modules.perl6.org: zoffixznet++ created pull request #85:
GitHub rate limiting
modules.perl6.org: fe7ce8d988 | (Timo Paulssen)++ | lib/ModulesPerl6/DbBuilder/Dist/Source/GitHub.pm
output info from rate limiter in log

so we can get an idea for how it operates - i.e. does it refresh to full only after the reset time is reached, or does it slowly fill up (leaky bucket style)
modules.perl6.org: eff4140f69 | (Zoffix Znet)++ | lib/ModulesPerl6/DbBuilder/Dist/Source/GitHub.pm
Fix up rate limiter code

It's ->list on the ->commits that returns the request. The (crappily-named) ->_repo() then error-handles it and returns content.
modules.perl6.org: b90f0895fc | (Zoffix Znet)++ (committed using GitHub Web editor) | lib/ModulesPerl6/DbBuilder/Dist/Source/GitHub.pm
Merge pull request #85 from perl6/github_rate_limiting

GitHub rate limiting
19:34
Zoffix Xliff_: panda is deprecated software. Use zef
Xliff_ OK, well FYI "rakudobrew" still uses panda. Someone may want to get in contact with the maintaner and update him on this.
timotimo it "uses" panda? 19:35
Xliff_ If I have the time and will, I will try to generate a PR.
timotimo only if you "rakudobrew build-panda", no?
19:35 domidumont joined
Xliff_ timotimo: "rakudobrew build moar" 19:35
Zoffix Xliff_: well, rakudobrew is also not-recommended :)
Xliff_ ^^ Attempts to install panda.
timotimo huh? there's no reason to install panda from that command
Zoffix Xliff_: weird
19:35 atroxaper joined
Xliff_ That's the only command I use. 19:35
Zoffix huggable: source
huggable Zoffix, Install untested latest development version of Rakudo from source: github.com/zoffixznet/r#table-of-contents
Xliff_ Zoffix: If rakudobrew is also no longer recommended (which is new news I must have missed) then what is a better alternative? 19:36
19:36 pecastro left
timotimo hm, does rakudobrew reinstall all packages you had before when you build a new version? 19:36
Xliff_ timotimo: That command will not. I don't know if there are other options in rakudobrew that will do that. 19:37
Zoffix timotimo: not in my experience
timotimo there's no code in rakudobrew that lets you install panda 19:38
or run panda
only code to complain
Xliff_ I would suspect such functionality would be better placed in zef.
Hrm. Maybe I am using an older version of rakudobrew.
timotimo perhaps, it comes with a self-upgrade command
Zoffix Xliff_: Rakudo Star has always been the recommended distribution for end users. `rakudobrew` is for core hackers who need multiple versions of rakudo at the same time. Those who want bleeding-edge freshly-squeezed rakudos can setup bash alias in the link huggable gave above 19:39
19:39 mempko left
Zoffix Xliff_: also there are compiler-only distro packages that you could also use 19:39
huggable: deb
huggable Zoffix, CentOS, Debian, Fedora and Ubuntu Rakudo packages: github.com/nxadm/rakudo-pkg/releases
19:40 atroxaper left
Zoffix Xliff_: also, to circle back to your original statement. Yeah, there are commits to rakudo flying in, but HEAD builds and passes all the tests (and our goal is to keep it in that state, even during squashathons). 19:40
Xliff_ I will probably alias commands, then. 19:41
I have been using rakudobrew since I started with perl6.
Be a shame to see it go.
git pull 19:42
perl Configure.pl --gen-moar --gen-nqp --backends=moar & gmake & gmake test & gmake install
I think those are the necesary bits.
Zoffix Why? It kinda sucks (atm), since you have to rehash every time you install binaries
Xliff_: you're on windows?
Xliff_ Linux guest in Windows host. So the answer to that question is indeterminable. 19:43
You would need a qubit.
Zoffix Xliff_: oh ok, I mis-spoke, rakudo HEAD builds and passes all the tests on Linux and OSX. Windows build is a bit lagging behind.
19:43 pecastro joined
Zoffix But you can install Rakudo Star: rakudo.perl6.org/downloads/star/ra...0(JIT).msi 19:44
.oO( a bit stale... )
And yeah, those are the commands. You also need to install zef: git clone github.com/ugexe/zef & cd zef & perl6 -I. bin/zef install . 19:45
You don't need to keep around the directory that command clones and you don't need to re-install zef after you update rakudo next time
19:46 mempko joined 19:47 masak joined
Xliff_ k 19:47
Geth roast: smls++ created pull request #341:
Add tests for backtracking into alternations
19:55
squashable6 🍕 smls++ opened pull request “Add tests for backtracking into alternations”: github.com/perl6/roast/pull/341
🍕🍕🍕 First contribution by smls++! ♥
timotimo Zoffix:
shall we force a rebuild? 19:56
smls ^^ This PR closes 2 RTs if merged!
squashable6 🍕 lizmat++ merged pull request “Add tests for backtracking into alternations”: github.com/perl6/roast/pull/341
Geth roast: 65a762217c | smls++ | 2 files
Add tests for backtracking into alternations

They're the bottom eight tests listed at
  github.com/perl6/nqp/pull/368
  (The other ones listed there, for quantifiers,
seem to be already covered in S05-mass/rx.t)
This closes RT #130117 and #131973.
19:57
roast: b1ba026b46 | lizmat++ (committed using GitHub Web editor) | 2 files
Merge pull request #341 from smls/master

Add tests for backtracking into alternations
synopsebot RT#130117 [open]: rt.perl.org/Ticket/Display.html?id=130117 [TESTNEEDED] [REGEX] Sequential alternation `||` does not respect `:ratchet`
synopsebot RT#131973 [open]: rt.perl.org/Ticket/Display.html?id=131973 [TESTNEEDED] [REGEX] Backtracking modifiers on individual atoms fail to override a regex-global `:ratchet` modifier.
19:58 stux|RC-only left, |oLa|1 left 20:00 n joined, n is now known as Guest57810 20:03 Guest57810 left 20:05 domidumont left 20:06 TreyHarris left 20:08 mcmillhj left 20:09 TreyHarris joined 20:10 smls left 20:15 Morfent joined 20:16 perlpilot left 20:20 lancew joined 20:35 mcmillhj joined
perlawhirl I'm getting error trying to make moarvm at the moment 20:35
Xliff_ Wow! There are no fast HTML parsers for Perl6. 20:36
perlawhirl error: redefinition of typedef ‘MVMJitCompiler’
pastebin.com/Xansbjdy
any ideas?
Xliff_ Of course, I am trying to parse a 2.5M HTML, but isn't that below average for page sizes these days? 20:37
Geth roast: 946d2ff79d | (Samantha McVey)++ | 2 files
Add ignorecase and ignoremark tests to cover interpolation

Add tests to cover RT132232 and RT132233 which I have just opened to track the interpolation issues with ignorecase. There may be issues with ignoremark or ignorecase+ignoremark as well.
synopsebot RT#132232 [new]: rt.perl.org/Ticket/Display.html?id=132232 [UNI] ignorecase returns too many graphemes for expanding foldcase graphemes
synopsebot RT#132233 [new]: rt.perl.org/Ticket/Display.html?id=132233 [UNI] ignorecase doesn't use foldcase semantics when the haystack is interpolated
20:39 pecastro left
perlawhirl Xliff_: use it as an excuse to write a NativeCall module for github.com/lexborisov/myhtml :) 20:39
eco: myhtml
buggable perlawhirl, HTML::MyHTML 'wrapper for MyHTML, a fast HTML parsing C library': github.com/MadcapJake/p6-MyHTML
perlawhirl oh... it is done
20:40 pecastro joined 20:42 smls joined 20:43 atroxaper joined
smls Should .FLATTENABLE_HASH be tested directly, or is it considered internal? 20:47
20:47 Ven joined 20:48 atroxaper left, Ven is now known as Guest1102
smls re rt.perl.org/Ticket/Display.html?id...xn-1484603 20:48
20:48 rindolf left 20:49 mcmillhj left 20:52 Aaronepower left
Xliff_ perlawhirl: I'm already doing that for libxml2!!! 20:52
Plus, there is this. 20:53
github.com/MadcapJake/p6-MyHTML
MadcapJake++
20:54 Cabanossi left
lizmat smls: FLATTENABLE_HASH is an implementation detail, afaik 20:54
smls ok
lizmat any tests should be in make test, not roast
Xliff_ Aaaannd... HTML::MyHTML isn't working. 20:55
20:56 Cabanossi joined 20:57 eroux left 21:00 Wiertek left 21:01 Aaronepower joined, pmurias left
Geth roast: 8773139c37 | smls++ | S06-signature/slurpy-and-interpolation.t
Test interpolating a typed hash into an argument list

Closes RT #126951
21:05
synopsebot RT#126951 [open]: rt.perl.org/Ticket/Display.html?id=126951 [TESTNEEDED] Interpolating a typed hash into an argument list produces wrong keys
21:05 andrzejku left 21:06 AlexDaniel_ joined
AlexDaniel_ squashable6: status 21:06
squashable6 AlexDaniel_, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈14 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel_, Log and stats: gist.github.com/484a1f8192e5052cb4...e3ba986d54
21:06 skids left, TEttinger joined
smls AlexDaniel_: Why is it not tracking RT tickets being closed? 21:08
AlexDaniel_ smls: because it can't :( 21:09
smls: I made the snapshot of the whole RT queue and will diff it against what we get after the squashathon
smls ok
AlexDaniel_ so we'll get stats but not bot announcements here, sorry if it's a problem
smls No worries 21:10
I count 5 tickets closed so far. 21:11
s/tickets/RTs/
AlexDaniel_ wow
21:12 Aaronepower left
AlexDaniel_ smls: fwiw, a link to the roast commit is sometimes useful 21:13
I'm thinking RT #131973 and RT #130117 were closed without a link
synopsebot RT#131973 [resolved]: rt.perl.org/Ticket/Display.html?id=131973 [TESTNEEDED] [REGEX] Backtracking modifiers on individual atoms fail to override a regex-global `:ratchet` modifier.
RT#130117 [resolved]: rt.perl.org/Ticket/Display.html?id=130117 [TESTNEEDED] [REGEX] Sequential alternation `||` does not respect `:ratchet`
21:15 patrickz left
AlexDaniel_ smls++ 21:15
smls AlexDaniel_: Link added. 21:16
AlexDaniel_ I see :)
okay, given that I can't sleep today and that it's already Saturday here… let's squash some tickets :)
21:17 Guest36651 left
smls :) 21:17
AlexDaniel_ buggable: TESTNEEDED 21:18
buggable: tag TESTNEEDED
buggable AlexDaniel_, There are 50 tickets tagged with TESTNEEDED; See fail.rakudo.party/t/TESTNEEDED for details
AlexDaniel_ wow, 50 tickets
21:22 Aaronepower joined
teatime heh, there's not an Inline::JavaScript or Inline::NodeJS right 21:23
21:24 Cabanossi left
AlexDaniel_ teatime: I guess so, yeah. At the same time we have rakudo.js… :) blogs.perl.org/users/pawel_murias/2...-test.html 21:26
21:26 Cabanossi joined
AlexDaniel_ teatime: it's not ready yet though 21:27
teatime: maybe talk to pmurias if you want to help
21:28 vike left
Geth rakudo/nom: 92e51c3d4e | (Elizabeth Mattijsen)++ | 5 files
Compile time defaults for attributes stored as value

  - store the compile-time value of a default if possible
  - makes object creation with concrete compile-time default values faster
   - about 40% faster for a single attribute, like "has $.foo = 42"
  - rather than generating a method to be installed and called during init
  - only supports concrete default values for now, type objects use old behaviour
... (12 more lines)
21:32
modules.perl6.org: 22de8d1ea1 | (Zoffix Znet)++ (committed using GitHub Web editor) | use-me-for-commit-triggers
[REBUILD] for github rates
21:34
Zoffix timotimo: done... I thought we didn't need to since the commit runs before the cache checker, but yeah, we need a rebuild so that it uses the max of github API reqs. Although, I don't think old build logs are backed up, so we'll need to keep an eye on the next one to grab it before it's overwritten 21:35
.in 30m build log
yoleaux Zoffix: I'll remind you at 22:05Z
Zoffix .in 2h build log
yoleaux Zoffix: I'll remind you at 23:35Z
Geth roast: 59398cd9cf | smls++ | S06-signature/slurpy-and-interpolation.t
bump plan for commit 8773139c3
21:36
roast: 9ea27ad2e7 | smls++ | S03-metaops/reduce.t
Add test for reducing a Seq with operator =>

This closes RT #130906.
synopsebot RT#130906 [open]: rt.perl.org/Ticket/Display.html?id=130906 [TESTNEEDED] [REGRESSION] Reducing a Seq with `=>` fails with "P6opaque: no such attribute '$!reified' in type List"
Geth roast: be53acf443 | (Elizabeth Mattijsen)++ | S12-introspection/attributes.t
Adapt tests to new possible Attribute.build values
21:37
AlexDaniel_ Zoffix: hah, there's one case when I used .6pl file extension
that's from 2015
Geth roast: a745629ef4 | (Elizabeth Mattijsen)++ | 2 files
Untodo now passing tests
21:39
AlexDaniel_ m: sub foo() is cached {} 21:40
camelia 5===SORRY!5=== Error while compiling <tmp>
Use of the 'is cached' trait is experimental; please 'use experimental :cached'
at <tmp>:1
AlexDaniel_ m: use experimental :cached; sub foo() is cached {}
camelia ( no output ) 21:41
timotimo Zoffix: wowza, do you see that? at the end of our run we still have more than 3k requests left over 21:42
21:43 pecastro left, pecastro joined
squashable6 🍕🍕🍕 First contribution by timo++! ♥ 21:43
Zoffix timotimo: that wasn't a full run tho 21:44
m: say 900/60
camelia 15
Zoffix timotimo: and at most we'll save 15 minutes off the run
21:45 Rawriful joined
Zoffix Well, that's not true. There's also the option of parallelizing stuff. 21:47
21:50 committable6 left, committable6 joined 21:51 atroxaper joined 21:56 atroxaper left
AlexDaniel_ fwiw I rejected RT #125500 21:56
synopsebot RT#125500 [rejected]: rt.perl.org/Ticket/Display.html?id=125500 [SEGV] double free or corruption, invalid pointer
AlexDaniel_ I wanted to do that for more than a year, so I hope people don't mind 21:57
21:58 HoboWithAShotgun left, wamba joined, committable6 left, committable6 joined, ChanServ sets mode: +v committable6
Xliff_ Is there a way to remove a set of keys (in an array) from a Hash without using a loop? 22:02
Zoffix %h{@key}:delete
%h{@keys}:delete
Xliff_ Ah! neat.
22:03 masak left
Xliff_ Will that return an error if a key in @keys doesn't exist? 22:03
22:03 Guest1102 left 22:04 masak joined
yoleaux Zoffix: build log 22:05
AlexDaniel_ m: my %h; %h<foo>:delete
camelia ( no output )
AlexDaniel_ m: my %h; say %h<foo>:delete
camelia (Any)
AlexDaniel_ m: my %h = foo => 42; say %h<foo>:delete
camelia 42 22:06
AlexDaniel_ Xliff_: no
Xliff_: do you want it to produce an error?
gfldex m: my %h = :1a, :2b; say %h<a c>:exists:delete; dd %h 22:07
camelia (True False)
Hash %h = {:b(2)}
22:08 R0b0t1_ left
timotimo Zoffix: i'd totally take 15 minutes off that run 22:08
Zoffix m: say DateTime.today.utc
camelia No such method 'today' for invocant of type 'DateTime'. Did you mean 'day'?
in block <unit> at <tmp> line 1
Zoffix m: say DateTime.now.utc
camelia 2017-10-06T22:08:53.303578Z
22:08 smls left 22:09 Mrofnet joined
Zoffix k, next run will start in 12 minutes and then take ~1h20m 22:09
AlexDaniel_ gfldex: that's very interesting
22:09 devmikey joined 22:10 robertle left
gfldex m: my %h = :1a, :2b; say ?all(%h<a c>:exists:delete); dd %h 22:10
camelia False
Hash %h = {:b(2)}
22:10 R0b0t1_ joined, Cabanossi left
Zoffix Gonna be rebuilding R6 db in ~30-40m. First gonna add a button for managers to delete spam tickets 22:11
Xliff_ No. Thanks, AlexDaniel++
22:11 Cabanossi joined
Xliff_ So why am I getting a sink error if I do the following: next if $pn eq <token user_agent x-user-agent>.any; 22:11
22:12 Morfent left
AlexDaniel_ Xliff_: I'd need more code to reproduce it 22:14
m: my $pn = ‘token’; loop { last if $pn eq <token user_agent x-user-agent>.any }'
camelia 5===SORRY!5=== Error while compiling <tmp>
Strange text after block (missing semicolon or comma?)
at <tmp>:1
------> 3eq <token user_agent x-user-agent>.any }7⏏5'
AlexDaniel_ m: my $pn = ‘token’; loop { last if $pn eq <token user_agent x-user-agent>.any }
camelia ( no output )
22:16 Morfent joined 22:18 HoboWithAShotgun joined 22:19 Mrofnet left
AlexDaniel_ Zoffix: ♥ 22:23
22:23 atroxaper joined
Zoffix timotimo: OK, go for it :) If I were doing it, I'd stuff the remaining requeststs into $dist->{_builder}{something_or_other} (like it does here github.com/perl6/modules.perl6.org...Hub.pm#L95 ) and I think that key will be available here: github.com/perl6/modules.perl6.org...pm#L78-L79 where you can 22:25
calculate how long to sleep. Prolly starting at zero and then figuring out if you need to dial it up based on the remaining requests and the number of dists still needed to process. That loop processes ALL the dists, so the count will include CPAN dists too. The count of p6c dists only can be saved somewhere from this routine tho:
github.com/perl6/modules.perl6.org...#L128-L132
22:29 atroxaper left
timotimo Zoffix: i was literally just going to sleep until the reset time if the remaining requests went below like 5 22:36
AlexDaniel_ is it possible to do something like 「say ~Backtrace.new」 from nqp? 22:42
timotimo AlexDaniel_: if you don't find a better way, you can use any super obscure op, trig ops usually work well, and just gdb break on that
AlexDaniel_ I want it to keep going 22:43
timotimo that's no problem
after you made the breakpoint just do "commands", "call MVM_dump_backtrace(tc)", "c", "end"
22:44 skids joined
Geth modules.perl6.org: 4cf72ba4bc | (Timo Paulssen)++ | 2 files
by default only sleep if we hit github's rate limit.
22:45
timotimo this should be correct, right?
Xliff_ Still getting the error, with no explanation as to WHY it is occuring. 22:48
This time it is: next if $pn.text.lc ~~ /^ 'token' | 'user' | 'user_agent' | 'x-user-agent' $/;
The only other thing I can think of is that $pn comes from Inline::Perl5? 22:49
If I replace that "next if" with "say", the error goes away.
timotimo you'll probably want to have [ ] around the alteration
22:50 silug left
Zoffix timotimo: looks right. The only thing is all the ->_interval business can probably be removed now entirely. It's just ded code 22:51
timotimo i can do that
Zoffix timotimo++ 22:52
timotimo how do i build a link in my pod so that it ends up as a working inlined image in the markdown? 22:53
22:53 troys_ is now known as troys
Xliff_ m: for <a b c d> -> $abc { say $abc; next; say "Not here"; }; 22:56
camelia a
b
c
d
Xliff_ For some reason that call to "next" is generating a sink error.
timotimo TimToady is the expert on sink errors; maybe you can golf it a little and get us a --target=ast of that?
Xliff_ "Useless use of constant value next in sink context (line 30)" -- which is a WARNING, not an error, but still nonsensicle. 22:57
sensical
22:58 devmikey left
timotimo Zoffix: i'll alko throw out the interval bits of the commandline parser, yeah? 22:58
22:58 silug joined
Zoffix Yeah 22:58
Geth modules.perl6.org: b1ff19737a | (Timo Paulssen)++ | 4 files
throw out all mention of the interval feature.
22:59
23:02 hoffentlichja left
timotimo Zoffix: oh no, something's wrong with the modules site 23:06
[Fri Oct 6 23:04:24 2017] [info] Removed 770 dists that are no longer in the ecosystem 23:07
that's not right o_O
Zoffix whoops :}
23:08 lancew left
Zoffix Had a Oct 4th db laying around; swapped it to use that for now... 23:09
timotimo phew. 23:10
that must have been the first commit in this series, right? 23:11
Zoffix Dunno, don't see anything wrong, looking at github.com/perl6/modules.perl6.org...171...HEAD 23:14
timotimo i removed the last statement in that foor loop 23:16
but it doesn't have sinking like perl6 does, right?
i mean it has something like it
Zoffix last? I don't see it
Zoffix fires up a local copy
Oh, the loop is just for aliasing stuff to $_ 23:17
timotimo it had "dist has new commits" for basically all dists it looks like 23:19
that's weird? or is that from a "full rebuild"?
Zoffix That's normal if that's the full rebuild (should say at start of log)
timotimo it is 23:20
Zoffix I'm getting unhelpful errors. There's a syntax error somewhere
Oh see it
perl6ism :)
timotimo oh crap
what did i do?
Geth modules.perl6.org: 7c1ef83871 | (Zoffix Znet)++ | lib/ModulesPerl6/DbBuilder/Dist/Source/GitHub.pm
Fix perl6ism
timotimo dangit! 23:21
i could have thougt of that
Zoffix :)
timotimo thought*
anyway, i put another dist of mine on pause just now
Zoffix sweet 23:22
23:22 sivoais left
timotimo so, the old update logs will be thrown away ... i'd like to have known a bit more precisely how much time the new rate limiter saves 23:22
buggable New CPAN upload: SDL2-Raw-0.1.tar.gz by TIMOTIMO cpan.metacpan.org/authors/id/T/TI/...0.1.tar.gz
23:22 sivoais joined
timotimo there it is, nice. 23:22
Geth modules.perl6.org: 83336e9905 | (Zoffix Znet)++ | use-me-for-commit-triggers
[REBUILD] trigger rebuild with new limiter
23:24
Zoffix Ok. just started a new build. Old one took ~1hr20m.
Old old, I mean
Zoffix looks in build log
timotimo yeah, i see that, too 23:25
the one that deleted everything :D
Zoffix 1hr15m.
So that's basically the normal run.
timotimo how does Pithub react to hitting the rate limit? i think you get a "forbidden" error if you hit it
yes, you do. 23:26
Zoffix They'll show up in build log.
The errors. I think it actually says you're too fast or something
timotimo right, but it'll then skip ahead to the next dist?
Zoffix Yeah
timotimo it does
well, that sucks :)
we should put in some code that detects it (even though we defensively stop before exhausting the request count completely)
like, what if another script on the server also uses the github api and consumes some requests in parallel 23:27
(i'm not sure how exactly they determine who shares which request pool)
Zoffix There's an API key
timotimo ah, ok
what machine runs the updater? www? 23:28
it does
Zoffix Yeah, www/modules.perl6.org 23:29
timotimo where do i go to see the in-progress log? journalctl?
Zoffix Man, 7:59pm. I'm wasting valuable squashathon time :)
timotimo: there should be a file in /tmp I think 23:30
Zoffix &
23:30 Zoffix left
timotimo oke! 23:30
23:30 Mrofnet joined
timotimo holy crap, there's a lot of stuff in /tmp 23:30
all of those files belong to modules.perl6.org
oh, it's a crapton of empty folder 23:31
folders*
23:33 BenGoldberg joined, Morfent left 23:34 margeas left
yoleaux Zoffix: build log 23:35
timotimo um, yoleaux, zoffix ain't here :P
23:37 atroxaper joined 23:38 mempko left 23:41 atroxaper left 23:46 skids left 23:58 skids joined