🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
melezhik .tell tbrowder probably it'd not be a big effort to extend RakuDist API to accept arbitrary tarballed distributions and run tests for it 00:03
tellable6 melezhik, I'll pass your message to tbrowder
melezhik though rakudo itself should be hosted on github
tellable6 2020-06-05T23:43:05Z #raku <tbrowder> melezhik: erg, more trouble than it's worth for me now for local. but maybe for stuff on github. on my Todo
00:06 melezhik left 00:08 sena_kun left 00:35 konvertex left 00:47 [particle] joined 00:48 [particle]1 left 01:44 Doc_Holliwood left 01:46 soar joined 02:01 rbt left 02:02 rbt joined 02:03 Voldenet left 02:05 Manifest0 left 02:06 Manifest0 joined 02:09 Voldenet joined, Voldenet left, Voldenet joined 02:15 soar left, libertas left 02:16 libertas joined 02:43 OpenZen left 02:44 Cabanossi left 02:45 OpenZen joined 02:50 soar joined 02:54 Cabanossi joined 02:57 bdju left 03:16 bdju joined 03:32 libertas- joined 03:34 libertas left 03:37 __jrjsmrtn__ joined 03:38 _jrjsmrtn left
Geth_ doc: softmoth++ created pull request #3460:
Str.subst: Add examples for nth(*), etc.
03:44
03:49 aborazmeh left 03:59 zacts joined 04:12 brtastic joined 04:13 Cabanossi left 04:22 Cabanossi joined 04:47 leont joined 04:52 brtastic left 05:11 OpenZen left, zacts left 05:15 sauvin joined 05:21 soar left 05:44 OpenZen joined 05:49 OpenZen left 05:52 Black_Ribbon left 05:53 Black_Ribbon joined 06:01 molaf joined 06:02 andrzejku joined 06:07 Doc_Holliwood joined 06:27 cpan-raku left 06:30 cpan-raku joined, cpan-raku left, cpan-raku joined 06:33 OpenZen joined 06:36 aluaces joined, aluaces is now known as alberto 06:37 alberto is now known as Guest42969, gabiruh left 06:38 gabiruh joined 06:39 soar joined 06:46 OpenZen left 06:57 sjm_uk joined 07:02 brtastic joined 07:04 JJMerelo joined
Geth_ doc: 5fd94fecfe | (Tim Smith)++ | doc/Type/Str.pod6
Str.subst: Add examples for nth(*), etc.
07:09
doc: 22c861ba09 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Str.pod6
Merge pull request #3460 from softmoth/subst-whatever

Str.subst: Add examples for nth(*), etc.
linkable6 Link: docs.raku.org/type/Str
07:29 xinming_ left 07:30 xinming_ joined 07:48 stoned75 joined 07:55 soursBot joined
Geth_ doc/link-trait-of: 144ba20373 | (Stoned Elipot)++ | doc/Language/containers.pod6
Fix link to trait of
08:12
doc: stoned++ created pull request #3461:
Fix link to trait of
08:13
08:20 Doc_Holliwood left
Geth_ doc: 144ba20373 | (Stoned Elipot)++ | doc/Language/containers.pod6
Fix link to trait of
08:24
doc: 513ffb7db6 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/containers.pod6
Merge pull request #3461 from Raku/link-trait-of

Fix link to trait of
linkable6 Link: docs.raku.org/language/containers
08:24 soar left 08:41 JJMerelo left, OpenZen joined 08:42 andrzejku left 08:46 OpenZen left 08:53 sena_kun joined 08:56 stoned75 left 09:12 patrickb joined 09:19 soursBot left 09:22 patrickb left, soursBot joined 09:23 kensanata joined 09:35 chloekek joined, Altai-man_ joined 09:36 andrzejku joined 09:38 aborazmeh joined, aborazmeh left, aborazmeh joined, sena_kun left 10:00 chloekek left, andrzejku left 10:04 soar joined 10:08 andrzejku joined 10:10 chloekek joined 10:16 rindolf joined 10:31 Sgeo left 10:37 kensanata left 10:40 brtastic left 10:42 OpenZen joined 10:43 stoned75 joined 10:45 soursBot left, soursBot joined 10:48 OpenZen left, kensanata joined, andrzejku left
Geth_ doc/link-pod: 3ab283fbd3 | (Stoned Elipot)++ | doc/Language/mop.pod6
xref Pod
10:56
doc: stoned++ created pull request #3462:
xref Pod
11:00 molaf left
Geth_ doc: 3ab283fbd3 | (Stoned Elipot)++ | doc/Language/mop.pod6
xref Pod
11:01
doc: b91e0eb3f4 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/mop.pod6
Merge pull request #3462 from Raku/link-pod

xref Pod
linkable6 Link: docs.raku.org/language/mop
11:05 cpan-raku left 11:06 cpan-raku joined, cpan-raku left, cpan-raku joined 11:12 soursBot left, aborazmeh left 11:14 soursBot joined
SmokeMachine Guys, after 7 months I had a new suggestion for a poll, could you guys give your opinions, please? github.com/FCO/Red/issues/406#issu...-640040391 11:17
11:21 ivan` left 11:22 Black_Ribbon left 11:33 aborazmeh joined, aborazmeh left, aborazmeh joined 11:36 sena_kun joined 11:37 brtastic joined 11:38 Altai-man_ left 11:43 soursBot left 11:46 soursBot joined 11:47 aborazmeh left 11:52 libertas- left 11:58 rbt left, libertas joined 12:00 sno left 12:03 soar left 12:15 stoned75 left 12:21 stoned75 joined 12:23 kensanata left 12:32 andrzejku joined
Geth_ doc/supply-collate: b36d5ae995 | (Stoned Elipot)++ | doc/Type/Supply.pod6
Add Supply.collate
12:33
doc: stoned++ created pull request #3463:
Add Supply.collate
12:34
12:37 lichtkind joined 12:43 OpenZen joined 12:48 OpenZen left 12:49 epony left 12:59 epony joined 13:08 andrzejku left 13:14 OpenZen joined, aborazmeh joined, aborazmeh left, aborazmeh joined 13:20 ShimmerFairy left 13:35 Altai-man_ joined 13:36 brtastic left 13:38 sena_kun left, molaf joined 13:42 benlittle joined
benlittle p6: grammar g { token TOP { <alnum> } }; say g::TOP 13:44
camelia Could not find symbol '&TOP' in 'g'
in block <unit> at <tmp> line 1
benlittle How can you access a token defined inside a grammar? 13:45
p6: grammar g { out token TOP { <alnum> } }; say g::TOP; g.parse: 'a' 13:47
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
out used at line 1. Did you mean 'put'?
benlittle p6: grammar g { our token TOP { <alnum> } }; say g::TOP; g.parse: 'a'
camelia Too few positionals passed; expected 1 argument but got 0
in regex TOP at <tmp> line 1
in block <unit> at <tmp> line 1
13:48 mowcat joined 14:05 soar joined 14:09 soar left, flyingtiger joined 14:12 oneeggeach joined 14:30 benlittle left
stoned75 m: Supply.from-list(1..10).head(*-5).List 14:33
camelia ( no output )
stoned75 m: say Supply.from-list(1..10).head(*-5).List
camelia (6 7 8 9 10)
stoned75 say (1..10).head(*-5)
evalable6 (1 2 3 4 5)
stoned75 I am a bit surprised by this difference 14:34
14:37 aborazmeh left 14:47 Doc_Holliwood joined 15:04 soursBot left
lizmat feels to me say (1..10).head(*-5) is wrong 15:05
stoned75: this warrants an issue
Doc_Holliwood so getting the name raku out there is important 15:06
i am not sure though if blogposts like this help: colincrain.wordpress.com/2020/06/0...wed-remix/
lizmat Doc_Holliwood: why (haven't looked at it thoroughly yet) 15:07
stoned75 lizmat: an issue in which repo ? rakudo ?
Doc_Holliwood the raku code in there is not raku. it's perl, modified to the minimal raku that it runs
lizmat well, yeah, that alas is the consequence of it really being a Perl Weekly Challenge 15:08
stoned75: rakudo/rakudo please 15:09
stoned75 ok, thanks 15:10
15:11 cpage_ joined 15:14 cpage left, cpage_ is now known as cpage 15:16 zacts joined 15:18 benlittle joined
benlittle p6: grammar g { our token TOP { <alnum> } }; say g::TOP 15:23
camelia Too few positionals passed; expected 1 argument but got 0
in regex TOP at <tmp> line 1
in block <unit> at <tmp> line 1
benlittle p6: grammar g { our token TOP { <alnum> } }; say g::TOP.^name
camelia Too few positionals passed; expected 1 argument but got 0
in regex TOP at <tmp> line 1
in block <unit> at <tmp> line 1
benlittle p6: grammar g { our token TOP { <alnum> } }; say (g::TOP).^name 15:26
camelia Too few positionals passed; expected 1 argument but got 0
in regex TOP at <tmp> line 1
in block <unit> at <tmp> line 1
benlittle p6: grammar g { our token TOP { <alnum> } }; say g::<&TOP>.^name 15:28
camelia Regex
benlittle p6: grammar g { token TOP { <alnum> } }; say g::<&TOP>.^name
15:28 Sgeo joined
camelia Any 15:28
benlittle p6: grammar g { our token TOP { <alnum> } }; say g::<&TOP>.^name; say so g.parse: 'a' 15:29
camelia Regex
No such method 'TOP' for invocant of type 'g'
in block <unit> at <tmp> line 1
benlittle p6: grammar g { token TOP { <term> }; our token term { <alnum> } }; say g::<&TOP>.^name; say so g.parse: 'a' 15:30
camelia Any
No such method 'term' for invocant of type 'g'. Did you mean any of these?
item
perl
trim

in regex TOP at <tmp> line 1
in block <unit> at <tmp> line 1
Manifest0 MasterDuke: I have another coredump. This time i have moarvm build with --debug=3
MasterDuke: send.firefox.com/download/1b48412f...TQNGzRnAeg
15:33 soursBot joined
benlittle Is there a way to access the tokens inside a grammar block? It seems like you would need to use "our", but that breaks Grammar.parse... 15:34
15:36 sena_kun joined 15:38 Altai-man_ left 15:42 zacts left 15:54 JJMerelo joined 15:56 Doc_Holliwood left
Geth_ doc: caseyjackmiles++ created pull request #3465:
Fix doc/Language/regexes.pod6 xt/ failures. Fixes #3408.
15:57
linkable6 DOC#3408 [open]: github.com/Raku/doc/issues/3408 [docs][easy to resolve][xt] doc/Language/regexes.pod6 xt/ failures
Geth_ doc: a33ff8ef3b | (Jack Miles)++ | 2 files
Fix doc/Language/regexes.pod6 xt/ failures. Fixes #3408.

Add 'UCD' to xt/words.pws to fix xt/aspell test failures. Add 'square' to description of \x character class to fix xt/braces test failures.
15:59
linkable6 DOC#3408 [closed]: github.com/Raku/doc/issues/3408 [docs][easy to resolve][xt] doc/Language/regexes.pod6 xt/ failures
doc: 479a8345eb | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 2 files
Merge pull request #3465 from caseyjackmiles/master

Fix doc/Language/regexes.pod6 xt/ failures. Fixes #3408.
16:02 stoned75 left
MasterDuke Manifest0: hm, i'm only getting addresses, not even any function names. not sure why, but i haven't used gdb with core files from raku much 16:09
timotimo: suggestions ^^^ 16:10
16:14 Guest42969 is now known as aluaces 16:16 pecastro joined, xinming_ left 16:17 xinming_ joined
lucs benlittle: For what it's worth: 16:18
m: grammar g { token TOP { <alnum> } }; say so m/ <g::TOP> / for 'a', ':'
camelia True
False
lucs m: grammar g { token TOP { <alpha>+ } }; say "ab 23nnn gfd".comb(/ <g::TOP> /)
camelia (ab nnn gfd)
16:19 Doc_Holliwood joined 16:22 flyingtiger left 16:25 stoned75 joined
raku-bridge <tmtvl> As long as Rakuneers keep saying "Raku" instead of P6, the new name will catch on... eventually. 16:28
16:41 oneeggeach left 16:42 KindTwo joined 16:43 KindOne left
timotimo m: grammar g { token TOP { hi.there } }; say g.^lookup("TOP").raku 16:44
camelia token TOP { hi.there }
timotimo m: grammar g { token TOP { hi.there } }; say "hi!there" ~~ g.^lookup("TOP")
camelia Type check failed in binding to parameter '<anon>'; expected g but got Match (Match.new(:orig("hi!there"...)
in regex TOP at <tmp> line 1
in block <unit> at <tmp> line 1
timotimo well, not quite like that
m: grammar g { token TOP { hi.there } }; say g.^lookup("TOP")("hi!there") 16:45
camelia Type check failed in binding to parameter '<anon>'; expected g but got Str ("hi!there")
in regex TOP at <tmp> line 1
in block <unit> at <tmp> line 1
timotimo also not like that
m: grammar g { token TOP { hi.there } }; my &thetop = g.^lookup("TOP"); say "hi!there" ~~ / <&thetop> /
camelia Type check failed in binding to parameter '<anon>'; expected g but got Match (Match.new(:orig("hi!there"...)
in regex TOP at <tmp> line 1
in block <unit> at <tmp> line 1
timotimo maximum shrug
16:46 KindTwo is now known as KindOne
MasterDuke timotimo: do i have to have exactly the same binary for a core file to be useful? 16:46
timotimo well, if the addresses inside the binary don't match up, you'll be in trouble :) 16:47
not sure how exact "reproducible builds" works with this
but i imagine turning debug symbols on vs off and compiling should give at least a really similar binary except for the presence of a debug symbol section near the end?
there's also a "split debug symbols into extra file" faeture that you could investigate 16:48
BBL
MasterDuke we both are using arch, so so the binary should pretty similar...but i think i may have changed to use -march=native recently 16:49
guess that may change things
16:50 gabiruh left
MasterDuke Manifest0: oh, are you getting this in moarperf? 16:50
[Coke] docs: anyone mind if I add ##'s to the xt/ tests to force them to run in a certian order? Just want to abuse it to make the slower tests run first. (works better for ||zation) 16:51
16:51 gabiruh joined, sno joined
[Coke] (don't want the slowest test to be the last one that gets started) 16:52
16:54 KindTwo joined 16:56 KindOne left
Manifest0 MasterDuke: It was from master HEAD. 16:56
MasterDuke of moarperf? 16:57
16:58 KindTwo is now known as KindOne
Manifest0 nope 16:58
aur.archlinux.org/cgit/aur.git/tre...moarvm-git 16:59
MasterDuke i mean the core file says the command you were running was `rakudo service.p6 data/proxy.sqlite`. that service.p6 is moarperf, correct? 17:00
i have to go afk for a bit, but timotimo is the author of moarperf and also knows gdb better than i do. i recommend giving him a ping when he's back 17:01
Manifest0 oh! nope. That's my script. Do you need it?
MasterDuke ah. would be helpful, and the input if possible, since i'm not getting much out of the core file 17:02
but any more work will probably have to wait until after dinner on my end
17:06 Chris2020 joined 17:10 brtastic joined 17:22 aborazmeh joined, aborazmeh left, aborazmeh joined 17:31 KindTwo joined 17:32 Chris2020 left 17:33 KindOne left 17:35 ChrisRakuIrc joined, Altai-man_ joined, KindTwo is now known as KindOne 17:36 suman joined
suman docs.raku.org/language/nativetypes...n_and_size 17:36
For functions with int as argument in C function what should I use in raku? There are so many int types in raku 17:37
int 8 int16 int32 int64
17:37 brtastic left
suman Example consider this C function 17:38
doublednorm(double, double, double, int);
17:38 sena_kun left
Manifest0 "int" is at least int16 (according to wikipedia: en.wikipedia.org/wiki/C_data_types ) 17:40
17:45 kensanata joined 17:46 ChrisRakuIrc left 17:49 soursBot left 17:58 soursBot joined, gordonfish left
Geth_ doc: b36d5ae995 | (Stoned Elipot)++ | doc/Type/Supply.pod6
Add Supply.collate
18:05
doc: f72ae13d75 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Supply.pod6
Merge pull request #3463 from Raku/supply-collate

Add Supply.collate
linkable6 Link: docs.raku.org/type/Supply
18:07 Doc_Holliwood left 18:10 Doc_Holliwood joined 18:11 aborazmeh left 18:15 lucasb joined 18:16 kiwi_75 joined 18:18 benlittle left 18:20 benlittle joined
benlittle timotimo: Thanks for pointing out .^lookup. I haven't investigated that method yet! 18:21
lucs: That functionally does what I need it to. Thanks for reading between the lines!
18:25 soursBot left 18:27 soursBot joined 18:40 suman left 18:49 wamba joined 18:50 sjm_uk left 18:52 JJMerelo left 18:57 kiwi_75 left 19:26 MilkmanDan left 19:30 Black_Ribbon joined 19:36 sena_kun joined 19:38 Altai-man_ left 19:42 wamba left 19:49 molaf left 19:54 wamba joined 20:17 rbt joined 20:22 ilbelkyr left 20:32 aborazmeh joined, aborazmeh left, aborazmeh joined 21:00 brtastic joined
cpan-raku New module released to CPAN! Red (0.1.7) by 03FCO 21:06
21:19 wamba left 21:20 soursBot left 21:32 soursBot joined 21:33 skids joined 21:34 aborazmeh left 21:35 Altai-man_ joined, rindolf left 21:38 sena_kun left 21:43 molaf joined
SmokeMachine how can I run a specific test on comma? 21:43
jnthn SmokeMachine: That's not a way to do that yet. 21:45
SmokeMachine ok, thanks
jnthn Uh, well, that's not quite true: you can set it up to run as a normal script, of course
But you don't get the results display
SmokeMachine yes... 21:46
jnthn makes sure we have an issue filed to implement that
SmokeMachine I was expecting something like this usercontent.irccloud-cdn.com/file/.../image.png 21:47
jnthn Probably has to be at the level of a particular .t file 21:48
SmokeMachine yes 21:49
jnthn But that can certainly be done
timotimo unless we have support for a testing framework that does support selecting tests to be run
tap. benefit: pretty simple, in theory. drawback: pretty simple 21:50
jnthn The other thing that's really annoying to wire up at the moment is test times. We did try with the timing env-var in Test.pm I think it ended up almost impossible to work with the output. 21:51
gfldex lolibloggedalittle: gfldex.wordpress.com/2020/06/06/do...bbit-hole/
21:55 splatt9990 joined 21:57 brtastic left
timotimo you really want to hook it up to something like Log::Timeline 22:00
22:03 stoned75 left 22:08 grumble left 22:10 grumble joined 22:24 empee0 joined 22:28 kensanata left 22:41 Doc_Holliwood left 22:43 soursBot left 22:44 xinming_ left 22:47 xinming_ joined 22:55 chloekek left 22:56 MilkmanDan joined 23:00 Manifest0 left 23:09 libertas left 23:10 libertas joined 23:14 lichtkind left 23:16 MilkmanDan left 23:17 leont left 23:18 MilkmanDan joined 23:21 pecastro left 23:30 [particle]1 joined 23:31 [particle] left 23:34 benlittle left 23:36 benlittle joined, sena_kun joined 23:38 Altai-man_ left 23:42 sena_kun left 23:51 afresh1 joined 23:57 [particle]1 left