»ö« 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.
weabot what's the preferred way of installing zef manually? 00:42
MasterDuke weabot: i think it's something like `perl6 -I lib bin/zef install .` in whatever directory you've cloned it to 00:47
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
jdv79 jnthn: gist.github.com/anonymous/e2f9cc44...b3771aef15 00:51
sorry but that's the best i could golf it down too
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
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.
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
AlexDaniel_ … although maybe I'll run it again a few hours later 01:07
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
weabot wtf is going on here 02:39
TEttinger weabot: looks like the bots (-able6) are being worked on 02:51
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…
AlexDaniel_ only those with ipv6 addresses are affected, hmm… 03:00
ipv4**
AlexDaniel_ shrugs
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
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
hoffentlichja is the convention for constants in perl6 still all caps snake case? 05:20
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.
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
Ulti also wrong ling doh github.com/croservices/cro 07:59
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
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
pmurias what is 'my int $foo is default(*)' supposed to even do? 08:58
I found it fudged in the tests
Zoffix would guess "leave last value" 08:59
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 ?
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?
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
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
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
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
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! :)
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.
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
AlexDaniel_ sounds about right 09:24
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/
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
Zoffix \o/ 09:31
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
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
Zoffix This will be an interesting test in our infrastructure... what with 4 different repos depending on one another in some way :) 09:40
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?
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
squashable6 🍕🍕🍕 First contribution by zoffixznet++! ♥ 10:10
Zoffix :) maybe geth should be reporting here too for rakudo/nqp/moarvm during squashatong 10:11
AlexDaniel Maybe 10:30
Probably 10:31
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
squashable6 🍕🍕🍕 First contribution by pmurias++! ♥ 11:03
squashable6 🍕🍕🍕 First contribution by lizmat++! ♥ 11:21
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
Geth roast: 7de1138c34 | (Zoffix Znet)++ | S32-hash/perl.t
Map.perl preserves Map's scalar containeration
11:58
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
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
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
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?
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
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
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)
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
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
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
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
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.
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 :)
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 &
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
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
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
moritz you might want to draw the YourClass.^find_method outside the closure for performance reasons 14:07
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
HoboWithAShotgun you saying if i drop a dollar into the head i can swear in irc? 14:28
HoboWithAShotgun it works fine now, btw. thanks vm 14:28
moritz for the next hour, yes :-)
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
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
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
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
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 :)
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
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
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
Zoffix HoboWithAShotgun: what version of rakudo are you using? 15:17
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
HoboWithAShotgun i just wonder, WTF? HOW? 15:21
or better why
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 :>
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
HoboWithAShotgun where is the line between compact and obtuse? 16:13
Zoffix Right here: compact ┃ obtuse 16:19
HoboWithAShotgun that's a pretty line 16:27
i wish i had a line like that
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
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
gdonald rosettacode.org/wiki/Keyboard_inpu...nse#Perl_6 16:45
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
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
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
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
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
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
markldevine p6: say 3 17:36
camelia 3
Zoffix drive-by-eval 17:37
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
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)
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? :)
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
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)
Zoffix timotimo: lol, you've *just* noticed that? :) 18:09
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
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
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
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
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
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
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?
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?
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
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
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
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
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.
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
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.
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
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
smls Should .FLATTENABLE_HASH be tested directly, or is it considered internal? 20:47
smls re rt.perl.org/Ticket/Display.html?id...xn-1484603 20:48
Xliff_ perlawhirl: I'm already doing that for libxml2!!! 20:52
Plus, there is this. 20:53
github.com/MadcapJake/p6-MyHTML
MadcapJake++
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
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
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
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
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`
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 :)
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
teatime heh, there's not an Inline::JavaScript or Inline::NodeJS right 21:23
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
AlexDaniel_ teatime: it's not ready yet though 21:27
teatime: maybe talk to pmurias if you want to help
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
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
Zoffix Well, that's not true. There's also the option of parallelizing stuff. 21:47
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
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.
Xliff_ Will that return an error if a key in @keys doesn't exist? 22:03
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)}
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
Zoffix k, next run will start in 12 minutes and then take ~1h20m 22:09
AlexDaniel_ gfldex: that's very interesting
gfldex m: my %h = :1a, :2b; say ?all(%h<a c>:exists:delete); dd %h 22:10
camelia False
Hash %h = {:b(2)}
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++
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
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 )
AlexDaniel_ Zoffix: ♥ 22:23
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
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"
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
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
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
timotimo Zoffix: i'll alko throw out the interval bits of the commandline parser, yeah? 22:58
Zoffix Yeah 22:58
Geth modules.perl6.org: b1ff19737a | (Timo Paulssen)++ | 4 files
throw out all mention of the interval feature.
22:59
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 :}
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
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
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 &
timotimo oke! 23:30
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*
yoleaux Zoffix: build log 23:35
timotimo um, yoleaux, zoffix ain't here :P