[00:03] .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] melezhik, I'll pass your message to tbrowder [00:03] though rakudo itself should be hosted on github [00:03] 2020-06-05T23:43:05Z #raku 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 [02:09] *** Voldenet left [02:09] *** Voldenet joined [02:15] *** soar left [02:15] *** 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 [03:44] ¦ doc: softmoth++ created pull request #3460: Str.subst: Add examples for nth(*), etc. [03:44] ¦ doc: review: https://github.com/Raku/doc/pull/3460 [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 [05:11] *** 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 [06:30] *** cpan-raku left [06:30] *** cpan-raku joined [06:33] *** OpenZen joined [06:36] *** aluaces joined [06:36] *** aluaces is now known as alberto [06:37] *** alberto is now known as Guest42969 [06:37] *** 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 [07:09] ¦ doc: 5fd94fecfe | (Tim Smith)++ | doc/Type/Str.pod6 [07:09] ¦ doc: Str.subst: Add examples for nth(*), etc. [07:09] ¦ doc: review: https://github.com/Raku/doc/commit/5fd94fecfe [07:09] ¦ doc: 22c861ba09 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Str.pod6 [07:09] ¦ doc: Merge pull request #3460 from softmoth/subst-whatever [07:09] Link: https://docs.raku.org/type/Str [07:09] ¦ doc: [07:09] ¦ doc: Str.subst: Add examples for nth(*), etc. [07:09] ¦ doc: review: https://github.com/Raku/doc/commit/22c861ba09 [07:29] *** xinming_ left [07:30] *** xinming_ joined [07:48] *** stoned75 joined [07:55] *** soursBot joined [08:12] ¦ doc/link-trait-of: 144ba20373 | (Stoned Elipot)++ | doc/Language/containers.pod6 [08:12] ¦ doc/link-trait-of: Fix link to trait of [08:12] ¦ doc/link-trait-of: review: https://github.com/Raku/doc/commit/144ba20373 [08:13] ¦ doc: stoned++ created pull request #3461: Fix link to trait of [08:13] ¦ doc: review: https://github.com/Raku/doc/pull/3461 [08:20] *** Doc_Holliwood left [08:24] ¦ doc: 144ba20373 | (Stoned Elipot)++ | doc/Language/containers.pod6 [08:24] ¦ doc: Fix link to trait of [08:24] ¦ doc: review: https://github.com/Raku/doc/commit/144ba20373 [08:24] ¦ doc: 513ffb7db6 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/containers.pod6 [08:24] ¦ doc: Merge pull request #3461 from Raku/link-trait-of [08:24] Link: https://docs.raku.org/language/containers [08:24] ¦ doc: [08:24] ¦ doc: Fix link to trait of [08:24] ¦ doc: review: https://github.com/Raku/doc/commit/513ffb7db6 [08:24] *** soar left [08:41] *** JJMerelo left [08:41] *** 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 [09:22] *** soursBot joined [09:23] *** kensanata joined [09:35] *** chloekek joined [09:35] *** Altai-man_ joined [09:36] *** andrzejku joined [09:38] *** aborazmeh joined [09:38] *** aborazmeh left [09:38] *** aborazmeh joined [09:38] *** sena_kun left [10:00] *** chloekek left [10:00] *** 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 [10:45] *** soursBot joined [10:48] *** OpenZen left [10:48] *** kensanata joined [10:48] *** andrzejku left [10:56] ¦ doc/link-pod: 3ab283fbd3 | (Stoned Elipot)++ | doc/Language/mop.pod6 [10:56] ¦ doc/link-pod: xref Pod [10:56] ¦ doc/link-pod: review: https://github.com/Raku/doc/commit/3ab283fbd3 [10:56] ¦ doc: stoned++ created pull request #3462: xref Pod [10:56] ¦ doc: review: https://github.com/Raku/doc/pull/3462 [11:00] *** molaf left [11:01] ¦ doc: 3ab283fbd3 | (Stoned Elipot)++ | doc/Language/mop.pod6 [11:01] ¦ doc: xref Pod [11:01] ¦ doc: review: https://github.com/Raku/doc/commit/3ab283fbd3 [11:01] ¦ doc: b91e0eb3f4 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/mop.pod6 [11:01] ¦ doc: Merge pull request #3462 from Raku/link-pod [11:01] Link: https://docs.raku.org/language/mop [11:01] ¦ doc: [11:01] ¦ doc: xref Pod [11:01] ¦ doc: review: https://github.com/Raku/doc/commit/b91e0eb3f4 [11:05] *** cpan-raku left [11:06] *** cpan-raku joined [11:06] *** cpan-raku left [11:06] *** cpan-raku joined [11:12] *** soursBot left [11:12] *** aborazmeh left [11:14] *** soursBot joined [11:17] Guys, after 7 months I had a new suggestion for a poll, could you guys give your opinions, please? https://github.com/FCO/Red/issues/406#issuecomment-640040391 [11:21] *** ivan` left [11:22] *** Black_Ribbon left [11:33] *** aborazmeh joined [11:33] *** aborazmeh left [11:33] *** 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 [11:58] *** 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 [12:33] ¦ doc/supply-collate: b36d5ae995 | (Stoned Elipot)++ | doc/Type/Supply.pod6 [12:33] ¦ doc/supply-collate: Add Supply.collate [12:33] ¦ doc/supply-collate: review: https://github.com/Raku/doc/commit/b36d5ae995 [12:34] ¦ doc: stoned++ created pull request #3463: Add Supply.collate [12:34] ¦ doc: review: https://github.com/Raku/doc/pull/3463 [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 [13:14] *** aborazmeh joined [13:14] *** aborazmeh left [13:14] *** aborazmeh joined [13:20] *** ShimmerFairy left [13:35] *** Altai-man_ joined [13:36] *** brtastic left [13:38] *** sena_kun left [13:38] *** molaf joined [13:42] *** benlittle joined [13:44] p6: grammar g { token TOP { } }; say g::TOP [13:44] rakudo-moar 9c74d9836: OUTPUT: «Could not find symbol '&TOP' in 'g'␤ in block at line 1␤␤» [13:45] How can you access a token defined inside a grammar? [13:47] p6: grammar g { out token TOP { } }; say g::TOP; g.parse: 'a' [13:47] rakudo-moar 9c74d9836: OUTPUT: «5===SORRY!5=== Error while compiling ␤Undeclared routine:␤ out used at line 1. Did you mean 'put'?␤␤» [13:47] p6: grammar g { our token TOP { } }; say g::TOP; g.parse: 'a' [13:47] rakudo-moar 9c74d9836: OUTPUT: «Too few positionals passed; expected 1 argument but got 0␤ in regex TOP at line 1␤ in block at line 1␤␤» [13:48] *** mowcat joined [14:05] *** soar joined [14:09] *** soar left [14:09] *** flyingtiger joined [14:12] *** oneeggeach joined [14:30] *** benlittle left [14:33] m: Supply.from-list(1..10).head(*-5).List [14:33] rakudo-moar 9c74d9836: ( no output ) [14:33] m: say Supply.from-list(1..10).head(*-5).List [14:33] rakudo-moar 9c74d9836: OUTPUT: «(6 7 8 9 10)␤» [14:33] say (1..10).head(*-5) [14:33] stoned75, rakudo-moar 9c74d9836: OUTPUT: «(1 2 3 4 5)␤» [14:34] I am a bit surprised by this difference [14:37] *** aborazmeh left [14:47] *** Doc_Holliwood joined [15:04] *** soursBot left [15:05] feels to me say (1..10).head(*-5) is wrong [15:05] stoned75: this warrants an issue [15:06] so getting the name raku out there is important [15:06] i am not sure though if blogposts like this help: https://colincrain.wordpress.com/2020/06/06/drop-the-mic-chopped-and-screwed-remix/ [15:07] Doc_Holliwood: why (haven't looked at it thoroughly yet) [15:07] lizmat: an issue in which repo ? rakudo ? [15:07] the raku code in there is not raku. it's perl, modified to the minimal raku that it runs [15:08] well, yeah, that alas is the consequence of it really being a Perl Weekly Challenge [15:09] stoned75: rakudo/rakudo please [15:10] ok, thanks [15:11] *** cpage_ joined [15:14] *** cpage left [15:14] *** cpage_ is now known as cpage [15:16] *** zacts joined [15:18] *** benlittle joined [15:23] p6: grammar g { our token TOP { } }; say g::TOP [15:23] rakudo-moar 9c74d9836: OUTPUT: «Too few positionals passed; expected 1 argument but got 0␤ in regex TOP at line 1␤ in block at line 1␤␤» [15:23] p6: grammar g { our token TOP { } }; say g::TOP.^name [15:23] rakudo-moar 9c74d9836: OUTPUT: «Too few positionals passed; expected 1 argument but got 0␤ in regex TOP at line 1␤ in block at line 1␤␤» [15:26] p6: grammar g { our token TOP { } }; say (g::TOP).^name [15:26] rakudo-moar 9c74d9836: OUTPUT: «Too few positionals passed; expected 1 argument but got 0␤ in regex TOP at line 1␤ in block at line 1␤␤» [15:28] p6: grammar g { our token TOP { } }; say g::<&TOP>.^name [15:28] rakudo-moar 9c74d9836: OUTPUT: «Regex␤» [15:28] p6: grammar g { token TOP { } }; say g::<&TOP>.^name [15:28] *** Sgeo joined [15:28] rakudo-moar 9c74d9836: OUTPUT: «Any␤» [15:29] p6: grammar g { our token TOP { } }; say g::<&TOP>.^name; say so g.parse: 'a' [15:29] rakudo-moar 9c74d9836: OUTPUT: «Regex␤No such method 'TOP' for invocant of type 'g'␤ in block at line 1␤␤» [15:30] p6: grammar g { token TOP { }; our token term { } }; say g::<&TOP>.^name; say so g.parse: 'a' [15:30] rakudo-moar 9c74d9836: OUTPUT: «Any␤No such method 'term' for invocant of type 'g'. Did you mean any of these?␤ item␤ perl␤ trim␤␤ in regex TOP at line 1␤ in block at line 1␤␤» [15:30] MasterDuke: I have another coredump. This time i have moarvm build with --debug=3 [15:30] MasterDuke: https://send.firefox.com/download/1b48412fb97a852a/#dO4nT9ARiVvTTQNGzRnAeg [15:33] *** soursBot joined [15:34] 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:36] *** sena_kun joined [15:38] *** Altai-man_ left [15:42] *** zacts left [15:54] *** JJMerelo joined [15:56] *** Doc_Holliwood left [15:57] ¦ doc: caseyjackmiles++ created pull request #3465: Fix doc/Language/regexes.pod6 xt/ failures. Fixes #3408. [15:57] ¦ doc: review: https://github.com/Raku/doc/pull/3465 [15:57] DOC#3408 [open]: https://github.com/Raku/doc/issues/3408 [docs][easy to resolve][xt] doc/Language/regexes.pod6 xt/ failures [15:59] ¦ doc: a33ff8ef3b | (Jack Miles)++ | 2 files [15:59] ¦ doc: Fix doc/Language/regexes.pod6 xt/ failures. Fixes #3408. [15:59] ¦ doc: [15:59] ¦ doc: Add 'UCD' to xt/words.pws to fix xt/aspell test failures. [15:59] ¦ doc: Add 'square' to description of \x character class to fix xt/braces test [15:59] ¦ doc: failures. [15:59] DOC#3408 [closed]: https://github.com/Raku/doc/issues/3408 [docs][easy to resolve][xt] doc/Language/regexes.pod6 xt/ failures [15:59] ¦ doc: review: https://github.com/Raku/doc/commit/a33ff8ef3b [15:59] ¦ doc: 479a8345eb | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 2 files [15:59] ¦ doc: Merge pull request #3465 from caseyjackmiles/master [15:59] ¦ doc: [15:59] ¦ doc: Fix doc/Language/regexes.pod6 xt/ failures. Fixes #3408. [15:59] ¦ doc: review: https://github.com/Raku/doc/commit/479a8345eb [16:02] *** stoned75 left [16:09] 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:10] timotimo: suggestions ^^^ [16:14] *** Guest42969 is now known as aluaces [16:16] *** pecastro joined [16:16] *** xinming_ left [16:17] *** xinming_ joined [16:18] benlittle: For what it's worth: [16:18] m: grammar g { token TOP { } }; say so m/ / for 'a', ':' [16:18] rakudo-moar 9c74d9836: OUTPUT: «True␤False␤» [16:18] m: grammar g { token TOP { + } }; say "ab 23nnn gfd".comb(/ /) [16:18] rakudo-moar 9c74d9836: OUTPUT: «(ab nnn gfd)␤» [16:19] *** Doc_Holliwood joined [16:22] *** flyingtiger left [16:25] *** stoned75 joined [16:28] As long as Rakuneers keep saying "Raku" instead of P6, the new name will catch on... eventually. [16:41] *** oneeggeach left [16:42] *** KindTwo joined [16:43] *** KindOne left [16:44] m: grammar g { token TOP { hi.there } }; say g.^lookup("TOP").raku [16:44] rakudo-moar a9796fe5a: OUTPUT: «token TOP { hi.there }␤» [16:44] m: grammar g { token TOP { hi.there } }; say "hi!there" ~~ g.^lookup("TOP") [16:44] rakudo-moar a9796fe5a: OUTPUT: «Type check failed in binding to parameter ''; expected g but got Match (Match.new(:orig("hi!there"...)␤ in regex TOP at line 1␤ in block at line 1␤␤» [16:44] well, not quite like that [16:45] m: grammar g { token TOP { hi.there } }; say g.^lookup("TOP")("hi!there") [16:45] rakudo-moar a9796fe5a: OUTPUT: «Type check failed in binding to parameter ''; expected g but got Str ("hi!there")␤ in regex TOP at line 1␤ in block at line 1␤␤» [16:45] also not like that [16:45] m: grammar g { token TOP { hi.there } }; my &thetop = g.^lookup("TOP"); say "hi!there" ~~ / <&thetop> / [16:45] rakudo-moar a9796fe5a: OUTPUT: «Type check failed in binding to parameter ''; expected g but got Match (Match.new(:orig("hi!there"...)␤ in regex TOP at line 1␤ in block at line 1␤␤» [16:45] maximum shrug [16:46] *** KindTwo is now known as KindOne [16:46] timotimo: do i have to have exactly the same binary for a core file to be useful? [16:47] 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 [16:47] 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? [16:48] there's also a "split debug symbols into extra file" faeture that you could investigate [16:48] BBL [16:49] 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 [16:50] Manifest0: oh, are you getting this in moarperf? [16:51] <[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] *** gabiruh joined [16:51] *** sno joined [16:52] <[Coke]> (don't want the slowest test to be the last one that gets started) [16:54] *** KindTwo joined [16:56] *** KindOne left [16:56] MasterDuke: It was from master HEAD. [16:57] of moarperf? [16:58] *** KindTwo is now known as KindOne [16:58] nope [16:59] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=moarvm-git [17:00] 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:01] 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] oh! nope. That's my script. Do you need it? [17:02] 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 [17:22] *** aborazmeh left [17:22] *** aborazmeh joined [17:31] *** KindTwo joined [17:32] *** Chris2020 left [17:33] *** KindOne left [17:35] *** ChrisRakuIrc joined [17:35] *** Altai-man_ joined [17:35] *** KindTwo is now known as KindOne [17:36] *** suman joined [17:36] https://docs.raku.org/language/nativetypes#Types_with_native_representation_and_size [17:37] 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 [17:38] Example consider this C function [17:38] double dnorm(double, double, double, int); [17:38] *** sena_kun left [17:40] "int" is at least int16 (according to wikipedia: https://en.wikipedia.org/wiki/C_data_types ) [17:45] *** kensanata joined [17:46] *** ChrisRakuIrc left [17:49] *** soursBot left [17:58] *** soursBot joined [17:58] *** gordonfish left [18:05] ¦ doc: b36d5ae995 | (Stoned Elipot)++ | doc/Type/Supply.pod6 [18:05] ¦ doc: Add Supply.collate [18:05] ¦ doc: review: https://github.com/Raku/doc/commit/b36d5ae995 [18:05] ¦ doc: f72ae13d75 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Supply.pod6 [18:05] ¦ doc: Merge pull request #3463 from Raku/supply-collate [18:05] Link: https://docs.raku.org/type/Supply [18:05] ¦ doc: [18:05] ¦ doc: Add Supply.collate [18:05] ¦ doc: review: https://github.com/Raku/doc/commit/f72ae13d75 [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 [18:21] 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 [20:32] *** aborazmeh left [20:32] *** aborazmeh joined [21:00] *** brtastic joined [21:06] New module released to CPAN! Red (0.1.7) by 03FCO [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 [21:35] *** rindolf left [21:38] *** sena_kun left [21:43] *** molaf joined [21:43] how can I run a specific test on comma? [21:45] SmokeMachine: That's not a way to do that yet. [21:45] ok, thanks [21:45] Uh, well, that's not quite true: you can set it up to run as a normal script, of course [21:45] But you don't get the results display [21:46] yes... [21:46] * jnthn makes sure we have an issue filed to implement that [21:47] I was expecting something like this https://usercontent.irccloud-cdn.com/file/QuKQbdT8/image.png [21:48] Probably has to be at the level of a particular .t file [21:49] yes [21:49] But that can certainly be done [21:49] unless we have support for a testing framework that does support selecting tests to be run [21:50] tap. benefit: pretty simple, in theory. drawback: pretty simple [21:51] 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] lolibloggedalittle: https://gfldex.wordpress.com/2020/06/06/down-the-error-rabbit-hole/ [21:55] *** splatt9990 joined [21:57] *** brtastic left [22:00] you really want to hook it up to something like Log::Timeline [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 [23:36] *** sena_kun joined [23:38] *** Altai-man_ left [23:42] *** sena_kun left [23:51] *** afresh1 joined [23:57] *** [particle]1 left