🦋 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:18 Kaiepi left 00:36 Kaiepi joined 00:37 charsbar joined 00:54 Kaiepi left 00:57 Kaiepi joined 01:32 lucasb left 01:41 sine0 left 02:23 wildtrees left 03:13 gabiruh left, gabiruh joined 04:13 unicodable6 left, shareable6 left, releasable6 left, sourceable6 left, notable6 left, greppable6 left, coverable6 left, nativecallable6 left, quotable6 left, bisectable6 left, reportable6 left, bloatable6 left, benchable6 left, committable6 left, statisfiable6 left, squashable6 left 04:14 sourceable6 joined, statisfiable6 joined, reportable6 joined, bloatable6 joined 04:15 coverable6 joined, nativecallable6 joined 04:16 unicodable6 joined, quotable6 joined, benchable6 joined, bisectable6 joined, squashable6 joined, committable6 joined, shareable6 joined, greppable6 joined, notable6 joined 04:17 releasable6 joined 04:18 cpan-raku left 04:19 cpan-raku joined, cpan-raku left, cpan-raku joined 04:32 squashable6 left 04:36 squashable6 joined 05:39 evalable6 left 05:41 evalable6 joined 06:22 sauvin joined 06:31 jmerelo joined 06:33 rindolf joined
jmerelo .tell tbrowder I finally got tomorrow's article ready, so we can push your article back another day 07:05
tellable6 jmerelo, I'll pass your message to tbrowder
07:09 wamba joined
jmerelo m: class Foo { has num $.numillo; submethod BUILD( :$numillo = 3.5 ) {}}; my $foo = Foo.new; say $foo.raku 07:16
camelia Foo.new(numillo => 0e0)
sarna hi, can raku regexes match against streams? 07:25
07:25 squashable6 left 07:27 sauvin left 07:28 squashable6 joined 07:34 sauvin joined 07:39 jmerelo left
moritz no 08:16
sarna :( that's a shame 08:17
08:28 wamba left 08:45 kensanata joined 09:00 sena_kun joined 09:02 AlexDani` joined 09:03 [Coke]_ joined, tyilanmenyn joined, [Coke]_ left, [Coke]_ joined, skaji__ joined 09:04 tobs` joined, brass- joined, eythian_ joined 09:05 perlbot_ joined, moritz_ joined, nine_ joined, sauvin left 09:06 masak_ joined, huf_ joined, eir0 joined, xkr47_ joined 09:09 ellipsis joined 09:10 skyl4rk_ joined, sena_kun left, rindolf left, AlexDaniel left, markmarkmark left, marcusr left, skyl4rk left, veesh left, nine left, [Coke] left, xkr47 left, Geth left, eiro left, moritz left, huf left, perlbot left, eythian left, tobs left, Altreus left, tyil left, brass left, masak left, tadzik left, dotdotdot left, skaji_ left, perlbot_ is now known as perlbot, tyilanmenyn is now known as tyil, tobs` is now known as tobs, skaji__ is now known as skaji_ 09:11 skyl4rk_ is now known as skyl4rk 09:14 wamba joined 09:16 marcusr joined 09:17 Altreus joined, tadzik joined, veesh joined 09:18 rindolf joined, markmarkmark joined 09:19 sena_kun joined 09:25 ufobat__ joined 09:28 ufobat_ left 09:35 llfourn joined 09:41 guifa left 09:42 guifa joined
sarna m: say ++"hell0" 09:46
camelia Cannot resolve caller prefix:<++>(Str:D); the following candidates
match the type but require mutable arguments:
(Mu:D $a is rw)

The following do not match for other reasons:
(Bool $a is rw)
(Int:D $a is rw --> Int:D)
(M…
sena_kun sarna: what do you want to do?
sarna why doesn't it work here, but works in this one-liner? `@*ARGS[0..*-2].sort.map: *.Str.IO.rename(++@*ARGS[*-1])`
it's from the "Raku One-Liners" book 09:47
`@*ARGS[*-1]`'s type is `Str` too :(
tobs sarna: ++ wants a mutable thing. "hell0" is a literal, but @*ARGS[*-1] involves a container that can store the incremented string. 09:48
sarna tobs: ohhh
tobs m: say ++(my $tmp = "hell0")
camelia hell1
sarna heck :D thanks
09:49 hankache joined
moritz_ you can also access the ++ logic through the .succ method, without needing to write anything 09:50
m: say 'hell0'.succ
camelia hell1
sarna oh my 09:51
lizmat and voce-versa: 10:00
m: say "hell1".pred
camelia hell0
lizmat *vice
sarna m: say "0f".succ 10:08
camelia 0g
sarna broken! right there!
tbrowder .ask jmerelo confirm push my next advent post to day 19? 10:09
tellable6 tbrowder, I'll pass your message to jmerelo
10:13 hankache left
lizmat clickbaits rakudoweekly.blog/2019/12/16/2019-...-reviewed/ 10:15
sarna: what's broken ?
sarna lizmat: was just a joke, but it didn't detect it was a hex :) 10:17
lizmat inside a string, there's just characters
m: dd 0x2a # outside of strings 10:18
camelia 42
sena_kun releasable6: status
releasable6 sena_kun, Next release in ≈4 days and ≈8 hours. There are no known blockers. 0 out of 271 commits logged
sena_kun, Details: gist.github.com/b04af700b434b5d40d...bc827f80c2
10:18 wamba left
sarna lizmat: yeah, I think the current behavior is the best it could be 10:18
lizmat m: dd <0x2a> # using val() processing
camelia IntStr.new(42, "0x2a")
10:18 chloekek joined
sarna I wonder what happens if I do this 10:19
m: say "0z".succ
camelia 1a
sarna whew
m: say "zz".succ
camelia aaa
sarna :D
lizmat m: my $language = "Perl"; $language++ for ^32275; dd $language 10:20
camelia Str $language = "Raku"
sarna laughs out loud 10:21
chloekek Rename Perl 6 to Perl 32275.
tadzik incidentally, that's the number of days between Perl 6 was announced and the rename was officially announced :) 10:22
(not)
chloekek p6: say 32275 / 365
camelia 88.424658
sarna you had me in the first half tadzik 10:23
tadzik ...maybe it's in months :P 10:24
wait, nevermind
10:24 sauvin joined
sarna hours? that's 3.68 of a year 10:25
tadzik we're getting somewhere then :) 10:26
sarna headlines tomorrow: Perl finally getting somewhere 10:28
10:33 pilne left 10:34 abc_not_cba joined
abc_not_cba hi 10:34
rindolf abc_not_cba: hi 10:37
hi all
abc_not_cba Hi. Do you know the smartest programmer that's ever lived ? 10:38
www.youtube.com/watch?v=7uLzaKlZSQQ
10:40 patrickb joined
chloekek hi rindolf and abc_not_cba 10:41
rindolf chloekek: hi, sup? 10:43
chloekek Have a project and want to incorporate Raku somehow. 10:46
It’s a bunch of Perl (PSGI/Starman, JSON::XS, ØMQ) and D. 10:47
Maybe I’ll rewrite the integration tests with Raku. 10:49
10:50 lgtaube left 10:54 sena_kun left 11:01 abc_not_cba left 11:02 kensanata left
sarna chloekek: D? that's unusual 11:09
11:10 sena_kun joined
chloekek It’s got a lot of novel ideas. In that respect it’s similar to Raku. And they’re currently working on incorporating a memory safety system similar to Rust’s (there’s one already, but it’s rather restrictive in some cases). 11:12
It’s also about as old as Raku. :) Early 2000s. 11:13
sarna I see. exciting! 11:15
Kaiepi m: say EVAL "1" 11:22
camelia 1
Kaiepi m: say EVAL (my $ = 1)
camelia 5===SORRY!5=== Error while compiling <tmp>
EVAL is a very dangerous function!!! (use the MONKEY-SEE-NO-EVAL pragma to override this error,
but only if you're VERY sure your data contains no injection attacks)
at <tmp>:1
------> 3say EVAL …
Kaiepi m: say ::('&EVAL')(my $ = 1)
camelia 1
Kaiepi is that last one intended to be possible?
jnthn Well, the compiler can't really analyze indirect forms 11:29
Not in general, anyway
Note that if you use this form, then you'll probably also find you can't access lexicals properly in the surrounding context, since it can't tell not to elimiante them.
m: my $a = 42; say ::('&EVAL')('say $a') 11:30
camelia 42
True
jnthn Oh, though indirect lookup poisons opts too, I guess
11:37 kensanata joined 11:47 mid_laptop joined
sena_kun .seen atroxaper 11:48
tellable6 sena_kun, I saw atroxaper 2019-11-29T16:24:06Z in #raku: <atroxaper> jnthn: wow! I didn't know about :from<NQP> way. Thank you.
11:48 vividsnow left 11:49 vividsnow joined 12:01 llfourn left 12:05 MasterDuke left
chloekek Perhaps put it in a module called MONKEY-SEE-NO-EVAL and export it from there. 12:23
12:28 lgtaube joined 12:31 llfourn joined 12:35 mid_laptop left 12:36 llfourn left 12:37 eythian_ left 12:46 vividsnow left 12:53 vividsnow joined 12:55 sena_kun left 13:00 wamba joined 13:03 gabiruh left 13:07 mid_laptop joined 13:10 sena_kun joined 13:22 mid_laptop left 13:26 llfourn joined 13:31 llfourn left 13:47 llfourn joined 13:51 [Coke]_ is now known as [Coke[, [Coke[ is now known as [Coke], llfourn left 13:55 llfourn joined 13:59 llfourn` joined, llfourn left, holyghost joined 14:03 llfourn` left 14:06 llfourn` joined, lucasb joined 14:11 llfourn` left 14:17 llfourn` joined 14:19 robertle joined 14:22 llfourn` left 14:26 llfourn` joined 14:32 llfourn` left, llfourn` joined 14:37 llfourn` left 14:38 llfourn` joined 14:41 llfourn` left 14:42 llfourn` joined 14:46 llfourn` left 14:49 llfourn` joined 14:54 llfourn` left, llfourn` joined 14:55 sena_kun left 14:59 llfourn` left 15:04 wamba left
patrickb tadzik: I brought up the rakudobrew -> rakubrew rename discussion recently: colabti.org/irclogger/irclogger_lo...12-12#l170 15:04
15:04 wamba joined
patrickb tadzik: I don't want to just decide this over your head. Can you have another look? 15:04
15:05 llfourn` joined 15:10 llfourn` left, sena_kun joined 15:12 llfourn` joined 15:16 llfourn` left 15:21 llfourn` joined 15:24 skyl4rk left, skyl4rk joined 15:26 llfourn` left 15:27 llfourn` joined, mid_laptop joined 15:32 llfourn` left 15:37 llfourn` joined 15:40 abraxxa left, abraxxa joined 15:42 llfourn` left 15:46 llfourn` joined 15:51 llfourn` left 15:55 llfourn` joined
cpan-raku New module released to CPAN! Text::Utils (1.0.0) by 03TBROWDER 15:59
16:00 llfourn` left 16:05 kensanata left, llfourn` joined 16:09 llfourn` left 16:10 llfourn` joined
El_Che patrickb: hi 16:10
patrickb: what whas the new name again?
rakudo-moarvm-*
? 16:11
patrickb rakudo-moar-2019.11-01-... 16:12
16:13 wamba left
El_Che thx 16:14
16:15 llfourn` left 16:17 llfourn` joined
El_Che patrickb: github.com/nxadm/rakudo-pkg/releas...g/v2019.11 <-- updated names 16:17
build script also adapted for next builds 16:18
[Coke] for docs - added a util/aspell-wrapper to be able to spell check everything by cheating. (since rakudo bug prevents it currently) 16:19
16:19 jmerelo joined, llfourn` left
El_Che (bbl) 16:27
16:30 llfourn` joined 16:33 llfourn` left, llfourn` joined 16:35 chloekek left 16:38 llfourn` left 16:44 llfourn` joined 16:49 llfourn` left 16:54 sena_kun left 16:55 llfourn` joined 17:00 llfourn` left 17:01 rindolf left 17:04 wamba joined 17:06 llfourn` joined 17:09 rindolf joined 17:10 sena_kun joined 17:11 llfourn` left
cpan-raku New module released to CPAN! RedX::HashedPassword (0.0.2) by 03JSTOWE 17:16
17:17 llfourn` joined 17:20 Tirifto joined 17:21 nine_ is now known as nine, llfourn` left 17:22 llfourn` joined, wamba left 17:23 wamba joined 17:28 llfourn` left, chloekek joined 17:29 llfourn` joined 17:32 llfourn` left, llfourn` joined 17:37 llfourn` left 17:38 chloekek left 17:39 chloekek joined 17:42 AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined, llfourn` joined, mid_laptop left 17:47 llfourn` left 17:49 llfourn` joined 17:54 llfourn` left 18:00 patrickb left 18:01 llfourn` joined 18:06 llfourn` left 18:21 patrickb joined 18:40 Kaiepi left, llfourn` joined 18:42 vividsnow left 18:44 vividsnow joined 18:45 Kaiepi joined, llfourn` left 18:46 wildtrees joined 18:50 MasterDuke joined 18:53 sena_kun left 18:55 Kaiepi left 18:59 finanalyst joined 19:09 sena_kun joined 19:14 josef_October left 19:15 rjbs joined 19:16 sjm_uk joined, autarch joined, autarch left 19:19 Kaiepi joined 19:21 Geth joined 19:35 brass- left, jmerelo left 19:36 brass joined 19:59 ufobat joined 20:01 daxim left, ufobat__ left 20:06 daxim joined 20:09 cpan-raku left 20:10 cpan-raku joined, cpan-raku left, cpan-raku joined
cpan-raku New module released to CPAN! JSON::Class (0.0.14) by 03JSTOWE 20:22
20:37 stoned75 joined 20:41 llfourn` joined 20:42 mid_home joined 20:44 llfourn` left, llfourn` joined
cpan-raku New module released to CPAN! License::SPDX (3.7.1) by 03JSTOWE 20:53
20:54 sena_kun left 21:01 rindolf left 21:07 patrickb left
cpan-raku New module released to CPAN! P5getpwnam (0.0.7) by 03ELIZABETH 21:08
21:10 sena_kun joined 21:13 sjm_uk left 21:19 patrickb joined 21:21 eythian joined, eythian left, eythian joined 21:22 xkr47_ left, xkr47 joined 21:25 eythian left 21:35 eythian joined, eythian left, eythian joined 21:42 patrickb left 21:43 elcaro left 22:01 Guest38485 left 22:05 chloekek left 22:08 elcaro joined 22:12 sena_kun left 22:15 patrickb joined 22:27 MasterDuke left 22:44 eythian left, eythian joined, eythian left, eythian joined 22:45 llfourn` left 22:50 pilne joined, llfourn` joined 22:53 Kaiepi left 22:56 llfourn` left 23:10 gdonald joined
cpan-raku New module released to CPAN! MeCab (0.0.15) by 03TITSUKI 23:13
New module released to CPAN! Algorithm::LibSVM (0.0.10) by 03TITSUKI
23:22 finanalyst left 23:26 llfourn` joined 23:30 llfourn` left 23:37 Tirifto left 23:51 patrickb left