🦋 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
Geth_ doc: softmoth++ created pull request #3460:
Str.subst: Add examples for nth(*), etc.
03:44
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
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
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
Geth_ doc/link-pod: 3ab283fbd3 | (Stoned Elipot)++ | doc/Language/mop.pod6
xref Pod
10:56
doc: stoned++ created pull request #3462:
xref Pod
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
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
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
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
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
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
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
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
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
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.
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
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)
raku-bridge <tmtvl> As long as Rakuneers keep saying "Raku" instead of P6, the new name will catch on... eventually. 16:28
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
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
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
[Coke] (don't want the slowest test to be the last one that gets started) 16:52
Manifest0 MasterDuke: It was from master HEAD. 16:56
MasterDuke of moarperf? 16:57
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
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
suman Example consider this C function 17:38
doublednorm(double, double, double, int);
Manifest0 "int" is at least int16 (according to wikipedia: en.wikipedia.org/wiki/C_data_types ) 17:40
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
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!
cpan-raku New module released to CPAN! Red (0.1.7) by 03FCO 21:06
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/
timotimo you really want to hook it up to something like Log::Timeline 22:00