🦋 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.
00:08 vZS1 left 00:11 pecastro left 00:16 BenGoldberg left 00:17 Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 00:27 apathor left 00:32 Celelibi left 00:48 Celelibi joined 00:52 BenGoldberg left, BenGoldberg joined 00:54 BenGoldberg left, BenGoldberg joined 01:01 aborazmeh joined, aborazmeh left, aborazmeh joined 01:24 sxmx left 01:39 guifa left 01:44 sxmx joined 01:45 sxmx left, sxmx joined 01:54 orinthe left, orinthe joined 01:55 silug left 01:56 silug joined 02:11 molaf left 02:14 silug left, silug9 joined 02:15 BenGoldberg left, Ben_Goldberg joined 02:16 Ben_Goldberg is now known as BenGoldberg 02:23 molaf joined 02:24 marcusr left 02:26 silug9 left, silug joined 02:27 marcusr joined 02:33 silug7 joined 02:34 silug left, silug7 is now known as silug 02:52 silug left 02:53 silug joined 03:04 Manifest0 left 03:05 silug left 03:06 Manifest0 joined, silug joined 03:17 silug left, silug joined 03:26 silug left, silug joined 03:35 silug left, silug joined 03:41 silug left, silug joined 03:47 silug left, lucasb left, silug joined 04:01 silug left, silug joined 04:16 silug left, silug joined 04:23 silug left, aborazmeh left, silug joined 04:43 silug left 04:44 silug8 joined 04:46 approaching236 left 04:50 silug8 left 04:51 silug joined 04:57 approaching236 joined 04:59 silug left, silug joined 05:05 silug8 joined, silug left, silug8 is now known as silug 05:09 silug6 joined 05:10 silug left, silug6 is now known as silug 05:15 BenGoldberg left 05:57 silug left 05:58 silug joined 06:02 xinming_ joined 06:05 xinming left 06:09 silug left 06:10 silug joined 06:13 molaf left 06:16 silug left, silug joined 06:21 silug left, silug9 joined 06:30 silug9 left, silug joined 06:33 ufobat joined 06:41 silug left, silug joined 06:46 silug3 joined 06:47 silug left, silug3 is now known as silug 06:51 jmerelo joined 06:53 silug left, silug joined 07:03 silug left, silug joined 07:30 approaching236 left 07:36 parabolize left 07:41 abraxxa joined 08:04 natrys joined 08:07 BenGoldberg joined, sena_kun joined
Zero_Dogg Anyone else having issues with vim syntax hilight? (using the vim-raku plugin). Quite often in module files vim (randomly) thinks the entire file is a string and hilights it as such (even with :syntax sync fromstart) 08:12
moon-child Zero_Dogg: yep, I have the same problem 08:13
Zero_Dogg moon-child: can't find any issue opened about it, might be time to open one? 08:18
08:19 stux|RC left 08:20 stux|RC joined 08:21 skids left, Sgeo left 08:29 dakkar joined 08:30 patrickb joined 08:32 domidumont joined
Zero_Dogg github.com/Raku/vim-raku/issues/22 08:33
08:38 cpan-raku left, patrickb left 08:39 cpan-raku joined, cpan-raku left, cpan-raku joined 08:42 BenGoldberg left 08:53 PavelB left 09:03 pecastro joined 09:41 wamba joined 09:54 Grauwolf_ joined 09:56 esh left, Grauwolf left 09:58 esh joined 09:59 vZS1 joined 10:05 natrys_ joined 10:06 Doc_Holliwould joined 10:08 natrys left 10:09 Doc_Holliwood left 10:15 squashable6 left 10:16 squashable6 joined 10:48 DarthGandalf joined 10:50 Black_Ribbon left 11:03 rindolf joined 11:18 Doc_Holliwould left 11:32 BenGoldberg joined
Zero_Dogg Is there any raku equivalent of 'perl -i' (ie. to replace 'perl -pi -E' with 'raku -pe') ? 11:53
SmokeMachine xinming_: was that you who asked me about has-one relationships on Red recently? I've just opened this issue, I'd like to know your (and anyone's) opinion about that, please: github.com/FCO/Red/issues/452 11:56
tobs Zero_Dogg: no, I believe you have to do that by yourself. The <> magic exists in a reduced form in the &lines sub, so you could think about wrapping around that. 11:57
Zero_Dogg tobs: nod, probably not worth it, perl -pi -E is for quick hacks, or as a super-powered sed, if I have to add boilerplate to it then it's most likely overkill 11:58
11:59 aborazmeh joined, aborazmeh left, aborazmeh joined, Doc_Holliwould joined 12:00 fridim left, jmerelo left 12:01 fridim joined
SmokeMachine .tell xinming_ was that you who asked me about has-one relationships on Red recently? I've just opened this issue, I'd like to know your (and anyone's) opinion about that, please: github.com/FCO/Red/issues/452 12:05
tellable6 SmokeMachine, I'll pass your message to xinming_
12:07 BenGoldberg left 12:09 Altai-man joined 12:11 sena_kun left 12:35 MilkmanDan left 12:36 MilkmanDan joined 12:47 Grauwolf_ is now known as Grauwolf 12:51 Doc_Holliwould left 12:57 sjm_uk joined 13:07 abraxxa left 13:13 abraxxa joined 13:29 aborazmeh left 13:30 aborazmeh joined, aborazmeh left, aborazmeh joined 13:56 aindilis joined 14:07 aborazmeh left 14:11 abraxxa left 14:12 abraxxa joined 14:16 xinming_ left, xinming_ joined
AlexDaniel tony-o: ping :) 14:21
14:23 silug left, silug joined 14:26 lucasb joined 14:33 wamba left, parabolize joined
xinming_ SmokeMachine: I think we need the feature, :prefetch and :cache when we create the relation. ;-) 14:36
tellable6 2020-11-04T12:05:59Z #raku <SmokeMachine> xinming_ was that you who asked me about has-one relationships on Red recently? I've just opened this issue, I'd like to know your (and anyone's) opinion about that, please: github.com/FCO/Red/issues/452
14:57 BenGoldberg joined 15:02 zxcvz joined 15:06 wamba joined 15:14 Sgeo joined 15:25 ape666 joined 15:32 BenGoldberg left 15:42 ape666 left 15:57 domidumont left 15:58 cfa joined
cfa o/ 16:00
SmokeMachine xinming_: we already have :prefetch (if my memory isn't tricking me) 16:03
16:10 sena_kun joined 16:11 Altai-man left, wamba left 16:33 natrys_ left 16:34 natrys joined 16:54 molaf joined 17:19 __jrjsmrtn__ left 17:23 __jrjsmrtn__ joined 17:31 wamba joined, dakkar left 17:49 skids joined 17:50 mowcat joined 17:54 approaching236 joined 17:59 domidumont joined 18:02 guifa joined 18:05 aborazmeh joined, aborazmeh left, aborazmeh joined
tony-o AlexDaniel: i'll take a look 18:16
tellable6 2020-09-30T15:10:24Z #raku <patrickb> tony-o Have you seen github.com/tony-o/perl6-pluggable/pull/17 ?
AlexDaniel` tony-o: thank you!
tony-o .tell patrickb merged on pluggable.
tellable6 tony-o, I'll pass your message to patrickb
tony-o AlexDaniel`: do you have which issue # handy? 18:17
nvm, found it - bummer. 18:19
AlexDaniel` thanks! 18:20
18:21 Doc_Holliwould joined
Geth_ problem-solving/master: 4 commits pushed by (Daniel Sockwell)++, (Aleks-Daniel Jakimenko-Aleksejev)++ 18:22
18:23 BenGoldberg joined
Geth_ problem-solving: ba2e9c49e4 | (Aleks-Daniel Jakimenko-Aleksejev)++ | .github/CODEOWNERS
Fix CODEOWNERS file according to the README

  AlexDanielcodesections (based on #242).
18:24
AlexDaniel` o/
18:39 domidumont left 18:46 aborazmeh left 18:55 guifa_ joined 18:56 BenGoldberg left 18:57 guifa left, guifa_ is now known as guifa
tony-o \o 19:01
19:14 cfa left
cpan-raku New module released to CPAN! Sparrowdo (0.1.11) by 03MELEZHIK 19:18
New module released to CPAN! Sparrow6 (0.0.31) by 03MELEZHIK
19:22 [particle] joined 19:28 [particle] left 19:33 MasterDuke joined 19:46 aborazmeh joined, aborazmeh left, aborazmeh joined 19:49 sjm_uk left 19:59 ufobat left 20:00 aluaces joined 20:06 aindilis left 20:09 Altai-man joined 20:11 sena_kun left
AlexDaniel` hmmm should I let Geth spam a little or turn it off… 20:22
let's try the silent way…
OK, problem-solving tickets are now reassigned 20:23
codesections: have fun! 👍
Geth_ ¦ doc: AlexDaniel self-unassigned FAQ/unicode_entry Unicode characters that look alike github.com/Raku/doc/issues/1444 20:27
20:28 Black_Ribbon joined
cpan-raku New module released to CPAN! Cro::WebSocket (0.8.4) by 03JNTHN 20:51
New module released to CPAN! Cro::WebApp (0.8.4) by 03JNTHN
New module released to CPAN! Cro::TLS (0.8.4) by 03JNTHN
New module released to CPAN! Cro::HTTP (0.8.4) by 03JNTHN
New module released to CPAN! cro (0.8.4) by 03JNTHN
New module released to CPAN! Cro::Core (0.8.4) by 03JNTHN
21:03 melezhik joined
melezhik How do I make a slice of 2 dimensions matrix ? 21:03
tellable6 2020-11-02T08:17:11Z #raku <nine> melezhik: $obj."$method-name"()
melezhik m: my @foo; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i,$j] = $i + $j } }; 21:05
camelia ( no output )
21:06 xinming_ left
melezhik m: my @foo; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i,$j] = $i + $j } }; say @foo[1,2]; 21:06
camelia ((Any) (Any))
melezhik m: my @foo; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i,$j] = "JJJ" } }; say @foo[1,2];
camelia ((Any) (Any))
21:06 xinming_ joined
melezhik m: my @foo; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i,$j] = "JJJ" } }; say @foo[0,0]; 21:06
camelia ((Any) (Any))
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i].push: "JJJ" } }; say @foo[0,0]; 21:08
camelia ([JJJ JJJ JJJ] [JJJ JJJ JJJ])
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i].push: "JJJ" } }; say @foo[0];
camelia [JJJ JJJ JJJ]
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i].push: "JJJ" } }; say @foo[0][0];
camelia JJJ
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i].push: "JJJ" } }; say @foo[0 .. 1][0 .. 1]; 21:09
camelia ([JJJ JJJ JJJ] [JJJ JJJ JJJ])
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i].push: "{i=$i} {j=$j} JJJ" } }; say @foo[0 .. 1][0 .. 1];
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared routine:
j used at line 1
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i].push: "{$i+$j}" } }; say @foo[0 .. 1][0 .. 1]; 21:10
camelia ([0 1 2] [1 2 3])
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i].push: "{'i='+$i + ' j=' +$j }" } }; say @foo[0 .. 1][0 .. 1]; 21:12
camelia Cannot convert string to number: base-10 number must begin with valid digits or '.' in '3⏏5i=' (indicated by ⏏)
in block at <tmp> line 1
in block <unit> at <tmp> line 1
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i].push: "{'i='+$i.to_s + ' j=' +$j.to_s }" } }; say @foo[0 .. 1][0 .. 1];
camelia No such method 'to_s' for invocant of type 'Int'. Did you mean any of
these: 'cos', 'does'?
in block at <tmp> line 1
in block <unit> at <tmp> line 1
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i].push: "{'i='+($i.fmt('%03d')) + ' j=' +($j.fmt('%03d') }" } }; say @foo[0 .. 1][0 .. 1]; 21:14
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in parenthesized expression; couldn't find final ')' (corresponding starter was at line 1)
at <tmp>:1
------> 3.fmt('%03d')) + ' j=' +($j.fmt('%03d') 7⏏5}" } }; sa…
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { @foo[$i].push: "{'i='+($i.fmt('%03d')) + ' j=' +($j.fmt('%03d')) }" } }; say @foo[0 .. 1][0 .. 1]; 21:15
camelia Cannot convert string to number: base-10 number must begin with valid digits or '.' in '3⏏5i=' (indicated by ⏏)
in block at <tmp> line 1
in block <unit> at <tmp> line 1
21:16 zxcvz left
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { my $val = "i=$i; j=$j"; @foo[$i].push: $val } }; say @foo[0 .. 1][0 .. 1]; 21:17
camelia ([i=0; j=0 i=0; j=1 i=0; j=2] [i=1; j=0 i=1; j=1 i=1; j=2])
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { my $val = "i=$i; j=$j"; @foo[$i].push: $val } }; say @foo[0][0];
camelia i=0; j=0
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { my $val = "i=$i; j=$j"; @foo[$i].push: $val } }; say @foo[1][1];
camelia i=1; j=1
melezhik m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { my $val = "i=$i; j=$j"; @foo[$i].push: $val } }; say @foo[1..2][1..2]; 21:18
camelia ([i=2; j=0 i=2; j=1 i=2; j=2] Nil)
melezhik so I know how to make a slice on Array, but I don't know if it possible to do the same with matrix (2 dim array )
m: my @foo = Array.new; for 0 .. 2 -> $i { for 0 .. 2 -> $j { my $val = "i=$i AND j=$j"; @foo[$i].push: $val } }; say @foo[1..2][1..2]; 21:19
camelia ([i=2 AND j=0 i=2 AND j=1 i=2 AND j=2] Nil)
melezhik gist.github.com/melezhik/b1d4060e1...15679ae4fa not I really want to ... I want an array of arrays as a result of Matrix slice, what I am doing wrong here? 21:24
21:31 Util joined 21:35 vZS1 left 21:37 vrurg_ joined, vrurg left, melezhik left 21:48 BenGoldberg joined 22:01 perlbot left, natrys left 22:03 perlbot joined 22:14 rindolf left
SmokeMachine .tell xinming_ the first step has been done: github.com/FCO/Red/issues/452 22:15
tellable6 SmokeMachine, I'll pass your message to xinming_
22:22 BenGoldberg left 22:44 AlexDaniel left 23:03 _jrjsmrtn joined 23:05 __jrjsmrtn__ left 23:11 aborazmeh left 23:27 sena_kun joined, Altai-man left 23:32 wamba left