🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:00 oodani left 00:01 oodani joined 00:29 dbonnafo joined
antononcube That image of a cat and a butterfly reminded me that a few days ago @nemokosch was mean to me too. I labored so much on a certain DALLE3 painting of raccoons and pears in a Rube Goldberg machine, and then on another painting with wolfs and rams, and when I shared them with him, he told me that they look the same!!! I was going to complain publicly about it -- like I am doing now -- but I started reading certain 00:32
speculations about happenings in Middle East, so, I kind of forgot...
00:34 dbonnafo left 00:55 guifa joined
guifa o/ 00:56
tellable6 2023-10-19T13:01:40Z #raku <tonyo> guifa: i'll take a look. the new fez serv is almost ready to rock pending a lot of testing and with it will come ingestion logs
00:59 buildable6 left 01:02 buildable6 joined 01:13 dg left 01:30 guifa left, guifa joined 01:47 guifa left 02:02 buildable6 left 02:05 buildable6 joined 03:05 buildable6 left 03:07 buildable6 joined 03:09 derpydoo left 03:33 hythm joined 04:06 buildable6 left 04:10 buildable6 joined 04:31 dbonnafo joined 04:36 dbonnafo left 04:39 jpn joined 04:42 dg joined 05:10 buildable6 left 05:12 buildable6 joined 05:17 buildable6 left, buildable6 joined 05:21 buildable6 left, buildable6 joined 05:28 dbonnafo joined 05:41 hythm left 06:12 buildable6 left 06:16 buildable6 joined 06:37 dbonnafo_ joined 06:40 dbonnafo left 06:44 dbonnafo_ left 07:06 Antim0des joined 07:11 Antim0des left, Antim0des joined 07:15 buildable6 left 07:19 buildable6 joined 07:34 buildable6 left, buildable6 joined
Geth ¦ App-Rakubrew: patrickbkr self-assigned 'Failed to extract archive.' on download | windows 10 github.com/Raku/App-Rakubrew/issues/73 07:57
¦ App-Rakubrew: patrickbkr self-assigned `rakubrew init` poor advice on Windows github.com/Raku/App-Rakubrew/issues/76 07:59
¦ rakubrew.org: patrickbkr self-assigned /files route returns 403 error github.com/Raku/rakubrew.org/issues/20
08:09 melezhik joined
melezhik o/ 08:09
tellable6 hey melezhik, you have a message: gist.github.com/d34d22f6412aeae1e0...cabbe879b1
melezhik nemokosch: ++ 08:10
08:12 melezhik left 08:13 sena_kun joined 08:19 buildable6 left 08:21 buildable6 joined, jpn left 08:24 jpn joined
thebb so I'm doing the exercism raku track and running prove6 gives all tests successful, but it complains about non-zero exist status, "Parse errors: No plan found in TAP output" 08:39
doing a search with that error refers to some perl5 issue apparently 08:40
it's ok otherwise but exercism will not let you pass that exercise because of that error 08:41
08:41 dbonnafo joined 08:46 jpn left, dbonnafo left 08:58 jpn joined 09:13 guessed joined 09:21 buildable6 left, lichtkind joined 09:23 buildable6 joined 09:33 sena_kun left 09:35 guessed left 09:39 dbonnafo joined 09:55 Sgeo left 10:20 guessed joined
nemokosch Are you sure it's the Perl 5 version of TAP? 10:21
10:23 buildable6 left 10:25 buildable6 joined 10:55 grondilu joined
grondilu Isn't the + quantifier supposed to work as ** 1..* ? 10:55
tellable6 2023-06-23T20:48:20Z #raku <lucs> grondilu: An interesting read: cacm.acm.org/blogs/blog-cacm/27357...s/fulltext
2023-06-23T22:44:42Z #raku <Voldenet> grondilu: I've tried some tasks, in general gpt3.5 was good at generating things that didn't even compile, but for instance using linux apis is a lot faster with gpt3.5 even with some broken code to fix
grondilu m: say grammar { rule TOP { <digit>+ } }.parse: "3 5 5 1"; 10:56
camelia Nil
grondilu m: say grammar { rule TOP { <digit>** 1..* } }.parse: "3 5 5 1";
camelia Nil
grondilu hang on
m: say grammar { rule TOP { <number>** 1..* }; token number { 0|<[1..9]><.digit>* } }.parse: "3 50 5 1"; 10:57
camelia Nil
grondilu damn ti
say grammar { rule TOP { <number> ** 1..* }; token number { 0 | <[1..9]><.digit>* } }.parse: my $x = ^100 .roll(10).join(' '); 10:59
evalable6 ï½¢47 3 2 27 23 37 52 64 77 71ï½£
number => …
grondilu, Full output: gist.github.com/cd0f2117fef7ec3d18...d74470f0ed
grondilu m: say grammar { rule TOP { <number> ** 1..* }; token number { 0|<[1..9]><.digit>* } }.parse: "3 50 5 1"; 11:00
camelia ï½¢3 50 5 1ï½£
number => ï½¢3ï½£
number => ï½¢50ï½£
number => ï½¢5ï½£
number => ï½¢1ï½£
Voldenet m: say grammar { rule TOP { <number> + }; token number { 0|<[1..9]><.digit>* } }.parse: "3 50 5 1"; 11:03
camelia ï½¢3 50 5 1ï½£
number => ï½¢3ï½£
number => ï½¢50ï½£
number => ï½¢5ï½£
number => ï½¢1ï½£
11:04
grondilu so the space matters, well I guess it does inside a rule but it's not intuitive
nemokosch that's like the main property of a rule 11:08
tbh rule feels like an unfeature 11:09
11:21 guessed left 11:25 buildable6 left 11:27 dbonnafo left 11:28 buildable6 joined 11:40 teatwo joined 11:42 timo left 11:43 teatime left 11:44 jpn left
tbrowder__ .ask ugexe can zef reliably copy a zef store's contents to another store? my use case is upgrading a binary download of rakudo and using the store of the previous version. 11:58
tellable6 tbrowder__, I'll pass your message to ugexe
ugexe why would you need to copy it? 12:02
12:04 teatwo left
ugexe like why not just let zef use the same default store regardless of rakudo version 12:04
12:04 teatwo joined
tbrowder__ the upgrade would be in a different location and have its own store (unless its ok to copy the upgaded binary over the previous one). 12:05
12:05 teatwo left
ugexe zef store is ~/.zef/store 12:05
12:05 teatwo joined
ugexe when you upgrade rakudo that path doesn't change 12:05
when you upgrade zef that path doesn't change 12:06
when you install a different version of raku it doesn't change 12:07
so i all of the above scenarios zef is going to use the same store
thus i'm not sure why you'd want to copy the store anywhere for reuse purposes
it is already reused
12:28 jpn joined, buildable6 left 12:29 buildable6 joined 12:34 jpn left 12:42 dbonnafo joined 12:47 dbonnafo left 12:58 jpn joined 13:29 buildable6 left 13:31 buildable6 joined 13:32 dbonnafo joined 13:46 guessed joined 14:02 dbonnafo left
tbrowder__ ah, i'm confusing store with something else. i'm experimenting with debian 12's raku/zef 14:09
and root's store is as you said 14:10
14:31 buildable6 left 14:32 buildable6 joined
tbrowder__ what needs to be copied is any bin files in inst-dir/lib/perk6/site/bin 14:43
*perl6
14:51 antim0d3s joined, Antim0des left
[Coke] in review, but Raku uses the same TAP, so a plan is also required to complete without warning. 14:57
ugexe those paths are Raku, not zef
anything in site/bin is going to rely on all the other files in site/ 14:58
including the rakudo-version-specific precompilation files
[Coke] docs.raku.org/type/Test#sub_plan
15:02 guessed left
ab5tract_ [Coke] What’s in review about TAP? 15:09
tbrowder__ so, after upgrading raku, all the modules there would have to be reinstalled with the new raku 15:28
but 15:29
hm, given the case of my user-installed modules, do they automatically get recompiled after a raku upgrade? 15:31
at first use after the raku upgrade?
15:32 buildable6 left 15:34 buildable6 joined 15:35 Tirifto left 15:37 Tirifto joined
ugexe yes. custom repository locations would not though 15:51
[Coke] ab5tract_: someone ws complaining about the missing plan warning 15:56
irclogs.raku.org/raku/2023-10-20.html#08:39 15:58
ugexe could also use done-testing() if you dont want a plan 16:01
[Coke] +1 16:13
The main issue with done-testing is that then you don't know if some tests weren't run for some reason.
ab5tract_ Still not sure what’s under review about it :) 16:28
16:34 buildable6 left 16:35 buildable6 joined
[Coke] ? 16:39
the review of the chat
I hadn't caught up to real time when I said that.
Sorry about the confusion 16:40
16:44 dbonnafo joined 16:49 derpydoo joined
ab5tract_ ah! 16:59
Now I comprehend :D
17:30 Sgeo joined 17:35 dbonnafo left, buildable6 left 17:37 buildable6 joined 17:41 buildable6 left, buildable6 joined 17:46 sena_kun joined 18:32 dbonnafo joined 18:37 buildable6 left 18:38 buildable6 joined 18:43 buildable6 left, buildable6 joined, jpn left 18:49 dbonnafo_ joined 18:52 dbonnafo left 18:55 dbonnafo_ left 18:58 FehmiD joined, naj joined, jpn joined 19:09 naj left, FehmiD left 19:21 notna joined 19:26 notna left 19:31 dbonnafo joined 19:38 buildable6 left 19:40 buildable6 joined 19:43 dbonnafo left 19:48 dbonnafo joined 20:40 buildable6 left 20:43 buildable6 joined 20:47 buildable6 left, buildable6 joined 20:53 sena_kun left, Altai-man joined 20:55 eseyman left 20:56 eseyman joined 21:05 perryprog left, perryprog joined 21:29 jpn left 21:36 El_Che left 21:37 El_Che joined 21:43 buildable6 left 21:47 buildable6 joined 21:52 dbonnafo left 22:19 Altai-man left 22:30 derpydoo left 22:47 buildable6 left 22:48 buildable6 joined 22:52 buildable6 left 22:53 buildable6 joined 22:54 lichtkind left 23:20 jgaz joined, jgaz left 23:21 antim0d3s left 23:22 sdfgsdfg joined 23:24 jgaz joined 23:40 teatwo left, teatwo joined 23:43 teatwo left, teatwo joined 23:48 buildable6 left 23:52 buildable6 joined