🦋 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.
AlexDaniel oh. 00:01
wrong channel 00:02
00:04 lichtkind left 00:22 abraxxa left 00:40 aborazmeh left 01:01 melezhik joined
melezhik AlexDaniel: there is link to report, the very first column 01:02
tellable6 2020-04-14T23:57:13Z #raku <AlexDaniel> melezhik2: hmm there's no link to the output, can you make `Result` column clickable too?
AlexDaniel oh, there is 01:03
how did I miss that :S
melezhik NP. based on your comment I will make a result column clickable 01:05
and a column with module name will make a link to a module source code (raku.modules/github/gitlab)
AlexDaniel yeah, that's what I expected, I think 01:07
melezhik yeah 01:10
AlexDaniel: done 01:12
01:23 NODE left 01:25 Benett left, melezhik left 01:27 Benett joined 01:35 molaf left 01:36 softmoth joined 01:39 ofperfection joined 01:40 xinming_ left, xinming_ joined 01:47 Hexeratops joined 01:48 molaf joined 01:57 xinming_ left, xinming_ joined 02:40 ofperfection left 03:01 Hexeratops left 03:21 xinming_ left, xinming_ joined 03:23 cpan-raku left 03:24 cpan-raku joined, cpan-raku left, cpan-raku joined 03:36 SQuoll left 03:39 Benett left 03:44 Benett joined, molaf left 03:52 mowcat left 04:33 Doc_Holliwould joined 05:00 xinming_ left 05:01 xinming_ joined 05:06 sauvin joined 05:18 softmoth left 05:19 softmoth joined 05:22 toddr left 05:50 softmoth left, softmoth joined 05:53 sjm_uk joined 06:01 reportable6 left 06:04 reportable6 joined 06:34 Doc_Holliwould left 06:41 kensanata joined, gordonfish left 07:07 softmoth left 07:19 abraxxa joined 07:24 abraxxa left 07:25 abraxxa joined 07:28 Doc_Holliwould joined 07:31 pecastro joined 07:35 dakkar joined 07:49 k-man__ joined, k-man_ left 08:14 Doc_Holliwould left 08:26 ensamvarg left, ensamvarg joined 08:28 ensamvarg left, ensamvarg joined, ensamvarg left 08:29 ensamvarg joined 08:37 ensamvarg_ joined 08:38 ensamvarg left 08:39 ensamvarg joined 08:40 ensamvarg left 08:41 ensamvarg joined 08:42 sena_kun joined 08:43 ensamvarg_ left 09:02 rindolf joined
lizmat just realized that this is valid code 09:45
m: my $_-_-_-_-_-_ = "braille"; say $_-_-_-_-_-_
camelia braille
sena_kun AlexDaniel, I've patched github::pastebin and will see if that fixes blin image. :) 09:47
10:03 cpup left, cpup joined 10:04 Altai-man_ joined 10:06 sena_kun left 10:07 chloekek joined 10:10 Doc_Holliwould joined 10:14 BR_ joined, Black_Ribbon left
chloekek So according to S22 you can put phone numbers in META6.json. 10:17
Yeah I’m not going to display those, privacy legislation nightmare. 10:18
10:31 oneeggeach joined 10:33 aborazmeh joined, aborazmeh left, aborazmeh joined 10:34 oneeggeach left 10:35 _jrjsmrtn left, __jrjsmrtn__ joined 10:41 MasterDuke left 10:49 BR_ left, chloekek left
cpan-raku New module released to CPAN! Gnome::Gdk3 (0.15.5) by 03MARTIMM 10:52
11:04 mowcat joined 11:10 stoned75 left 11:17 wamba joined 11:24 aborazmeh left 11:26 colomon_ left 11:27 colomon___ joined 11:28 wamba left 11:29 Redfoxmoon left 11:31 Doc_Holliwould left, Redfoxmoon joined 11:39 xinming joined 11:41 xinming_ left 11:46 vike left 11:48 vike joined 11:52 caterfxo joined 11:56 molaf joined 12:00 xinming left, xinming joined 12:04 sena_kun joined, aborazmeh joined, aborazmeh left, aborazmeh joined 12:06 Altai-man_ left 12:16 Ne0S joined 12:17 Ne0S left 12:24 pmurias joined 12:26 Doc_Holliwould joined 12:37 Actualeyes joined 12:48 AlexDaniel left 12:50 pilne left 12:55 pilne joined 13:04 Doc_Holliwould left 13:06 xinming left 13:07 xinming joined
cpan-raku New module released to CPAN! Gnome::N (0.17.4) by 03MARTIMM 13:09
13:13 pilne left 13:18 pilne joined 13:20 aborazmeh left 13:33 pilne left 13:36 pilne joined 13:56 xinming left 13:58 xinming joined 13:59 softmoth joined 14:04 Altai-man_ joined 14:05 gordonfish joined 14:06 pilne left, sena_kun left 14:08 pilne joined 14:11 mowcat left 14:14 mowcat joined 14:17 rbt left, rbt joined 14:18 finsternis left 14:21 xinming left, xinming joined 14:23 pilne left 14:28 pilne joined 14:31 dakkar left 14:32 dakkar joined 14:44 Redfoxmoon left, Redfoxmoon joined 14:49 wamba joined 14:51 [Sno] left 14:53 [Sno] joined 15:01 mowcat left 15:02 molaf left 15:06 pilne left 15:09 xinming left, xinming joined 15:11 pilne joined 15:13 toddr joined, toddr left 15:15 toddr joined 15:19 wamba left 15:30 girafe joined 15:31 girafe2 left 15:32 stoned75 joined 15:33 Doc_Holliwood joined 15:34 xinming left 15:35 xinming joined, aborazmeh joined, aborazmeh left, aborazmeh joined 15:42 chloekek joined 15:47 Kaiepi left, Kaiepi joined 16:04 xinming left 16:05 sena_kun joined 16:06 xinming joined, Altai-man_ left 16:22 MasterDuke joined
cpan-raku New module released to CPAN! Gnome::Gio (0.5.1.1) by 03MARTIMM 16:28
16:31 girafe left 16:34 dakkar left, vrurg left 16:35 vrurg joined 16:39 vrurg_ joined 16:41 vrurg left
chloekek p6: sub f { UNDO die; }; f 16:46
camelia Died
in sub f at <tmp> line 1
in block <unit> at <tmp> line 1
chloekek Why does this die?
jnthn 'cus the default return value is Nil, which is considered failure 16:48
chloekek :/
jnthn (I believe it goes on .defined)
That's the seamntics of KEEP/UNDO; they look at the return value, and UNDO additionally fires if there's an exceptional exit too 16:49
chloekek Well that explains why all my transactions got rolled back.
jnthn If it didn't, it'd be useless with `fail`
chloekek I’ll file a doc issue. 16:50
> it'd be useless with `fail` -- or make fail call UNDO 16:58
Directly, rather than through an awkward definition of "unsuccessful" 16:59
17:01 vrurg joined, vrurg_ left
jnthn That assumes a bunch of coupling between things that doesn't exist; `fail` is really just `return` plus wrapping in a failure 17:01
El_Che Does anyone know why test_script in appveyor (Windows) does not return output when testing? ci.appveyor.com/project/nxadm/supe...201691#L70 17:09
I am trying to write down good windows testing instructions, but my own module is failing :) 17:10
so far I managed to move the windows setup from building rakudo like all the examples I found to using a precompiled windows rakudo. Way faster
17:12 mowcat joined
El_Che my tests captures std out and std err and check the values. It works fine on travis (Linux) 17:12
17:12 chloekek left
lucs Given 「my $x = "foo \\s+ bar"」, how do I use it as a regex? 「… ~~ / $x /」 fails, of course. 17:16
m: my $x = "foo \\s+ bar"; so 'foo bar' ~~ / $x /; 17:17
camelia WARNINGS for <tmp>:
Useless use of "so " in expression "so 'foo bar' ~~" in sink context (line 1)
lucs m: my $x = "foo \\s+ bar"; print so 'foo bar' ~~ / $x /;
camelia False
El_Che m: my $x = rx/foo \s+ bar/; say "foo bar" ~~ $x 17:18
camelia 「foo bar」
El_Che m: my $x = rx/foo \s+ bar/; say "foobar" ~~ $x
camelia Nil 17:19
jnthn m: my $x = "foo \\s+ bar"; print so 'foo bar' ~~ / <$x> /;
camelia True
lucs Heh, I thought I had tried that :/ 17:20
Thanks jnthn.
El_Che: Also cool, thanks.
El_Che lucs: I am pretty fond of rx 17:22
lucs Oh, what I had tried had the literal string in the regex: ... / <"foo \\s+ bar"> /
El_Che the comparison looks like a smart match
lucs Can something like that, without an extra variable, work?
El_Che something we learned to fear in Perl is handy and styleful in raku 17:23
:)
lucs raku++ eh :)
jnthn: Great RakuAST talk by the way. Mostly over my head, but your calm and dedication are very inspiring and confidence inducing. 17:25
17:25 sjm_uk left
lucs Too bad I won't be around for the next 95 years or so... 17:26
El_Che lucs: your code may be
lucs Um, that's kind of you, but probably not :) 17:27
17:34 patrickb joined, vrurg left 17:35 vrurg joined 17:43 sjm_uk joined 17:58 pilne left 18:03 pilne joined, Altai-man_ joined 18:06 sena_kun left 18:08 squashable6 left, squashable6 joined 18:13 xinming left 18:14 xinming joined, sauvin left 18:18 sjm_uk left
lucs m: my $s = 'infinite'; $s .= trans('fi' => 'fi'); print $s # :-( 18:21
camelia infnite
lucs Bug or mistake on my part? 18:22
[Coke] lucs: m: my $s = 'infinite'; say $s.trans('fi' => 'fi'); 18:24
m: my $s = 'infinite'; say $s.trans('fi' => 'fi');
camelia infnite
[Coke] (just testing to see if was getting returned there.) 18:26
18:26 kensanata left
lucs m: my $s = 'infinite'; $s ~~ s/'fi'/fi/; print $s # I guess I'll use this. 18:27
camelia infinite
18:28 AlexDaniel joined
[Coke] it's not about the ligature, though: 18:29
m: my $s = "infinite"; say $s.trans("fi"=>"EEEEEEEK");
camelia EnEEnEte
lucs Yow
[Coke] m: my $s = "infinite"; say $s.subst("fi"=>"EEEEEEEK");
camelia Cannot resolve caller match(Str:D: Pair:D, :g(Any)); none of these signatures match:
(Str: Cool:D $pattern, |c)
(Str: Regex:D $pattern, :continue(:$c)!, *%_)
(Str: Regex:D $pattern, :pos(:$p)!, *%_)
(Str: Regex:D $pattern, :glo…
[Coke] m: my $s = "infinite"; say $s.subst("fi","EEEEEEEK"); 18:30
camelia inEEEEEEEKnite
[Coke] ^^ you want .subst, not .trans
18:30 aborazmeh left
[Coke] m: my $s = 'infinite'; say $s.subst('fi','fi'); 18:30
camelia infinite
lucs Turns out I had a bunch to do, so trans() would have been neater.
But that'll do, yep. 18:31
[Coke] I think the doc could be clearer about the length of the source and replacements for .trans 18:32
it does say "characters", but that's super clear.
lucs Oh, I see. Mistake on my part then :) 18:33
Thanks!
[Coke] er, that's *NOT* super clear. 18:34
sorry. :)
lucs Yes, I caught that :)
[Coke] whew. 18:35
18:35 girafe joined
lucs :) 18:35
Given something like that, I suppose subst() will be quicker than a regex s/// ? 18:36
(I don't actually really care about quicker here, just curious.) 18:37
[Coke] I would expect subst to be slightly faster, but don't have numbers to back it up 18:41
m: my $s = "infinite"; $s.subst('nit','tin') for ^1000 ; say now - INIT now 18:42
camelia 0.0085513
[Coke] m: my $s = "infinite"; $s.subst('nit','tin') for ^100000 ; say now - INIT now
camelia 0.2246079
[Coke] m: my $s = "infinite"; $s ~~ s/'nit'/'tin'/ for ^100000 ; say now - INIT now
camelia 0.52795
lucs Yep 18:43
lizmat weekly: www.papercall.io/cfps/3181/submissions/new 18:54
notable6 lizmat, Noted! (weekly)
18:56 stoned75 left 18:57 girafe left 18:59 squashable6 left 19:01 squashable6 joined, xinming left, stoned75 joined 19:02 xinming joined 19:03 girafe joined 19:19 abraxxa left 19:21 abraxxa joined 19:45 softmoth left, softmoth joined 19:47 stoned75 left 19:55 samebchase joined 20:05 sena_kun joined 20:06 Altai-man_ left 20:07 m0ltar left, softmoth left 20:08 softmoth joined 20:09 m0ltar joined, xinming left 20:11 pmurias left, rbt left, rbt joined, xinming joined 20:13 rindolf left 20:17 xinming left 20:18 xinming joined 20:33 Kaiepi left 20:36 Kaiepi joined 20:37 aborazmeh joined, aborazmeh left, aborazmeh joined 20:51 rypervenche left 20:56 Ven`` joined 20:57 Kaiepi left, Kaiepi joined 21:00 Actualeyes left 21:05 Actualeyes joined 21:13 Altai-man_ joined 21:15 sena_kun left 21:20 patrickb left 21:29 discoD joined
Geth_ doc: kbucheli++ created pull request #3341:
how to flatten itemized sublists on an Iterable
21:47
21:49 farcas1982regreg left 21:56 molaf joined 22:20 Altai-man_ left 22:23 rbt left, rbt joined 22:33 Kaeipi joined, Kaiepi left 22:49 Doc_Holliwood left 22:52 Nileee joined
Nileee hi! 22:52
22:53 Nileee left, cpage joined, Nileee joined 22:54 Nileee left 22:56 cpage_ left 23:09 softmoth left 23:10 softmoth joined
sacomo hello 23:12
23:12 epony left, cpan-raku left 23:13 softmoth left, softmoth joined 23:15 cpan-raku joined, cpan-raku left, cpan-raku joined 23:17 girafe left 23:19 softmoth left 23:20 softmoth joined 23:21 epony joined, epony left 23:26 Black_Ribbon joined 23:37 epony joined 23:38 Ven`` left
timotimo hi sacomo 23:40
23:44 pecastro left 23:46 MasterDuke left