🦋 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:09 rbt joined
[Coke] .ask bartolin if an opcode is jvm specific, and it isn't used in src/vm, and it isn't used in rakudo, can we remove it? 00:09
tellable6 [Coke], I'll pass your message to bartolin_
[Coke] .tell bartolin_ (e.g. "sayfh") 00:10
tellable6 [Coke], I'll pass your message to bartolin_
00:14 softmoth_ joined 00:17 softmoth left 00:20 softmoth_ left, softmoth joined 00:26 softmoth left 00:36 softmoth joined 00:42 Doc_Holliwood left 00:45 softmoth left 00:46 hungrydonkey joined 01:04 Cabanossi left 01:07 cognomin_ joined 01:10 cognominal left 01:19 cognominal joined 01:21 ukine joined 01:22 cognomin_ left 01:31 cognomin_ joined 01:32 aborazmeh left 01:35 cognominal left 01:37 molaf left 01:38 seance joined 01:48 rbt left, rbt joined 01:49 molaf joined 01:59 vike left 02:01 hungrydonkey left, hungrydonkey joined 02:08 hungrydonkey left 02:09 hungrydonkey joined 02:11 hungrydonkey left 02:24 mowcat joined 02:34 vike joined 02:51 ensamvarg_ left 03:00 Hexeratops left 03:17 mowcat left 03:18 mowcat joined, mowcat left 03:59 xinming left, xinming joined 04:02 MasterDuke left 04:05 oneeggeach joined 04:07 oneeggeach left 04:16 molaf left 04:26 cpan-raku left 04:27 cpan-raku joined, cpan-raku left, cpan-raku joined 04:31 Doc_Holliwood joined 04:32 samebchase-2 joined, pierrot_ joined, peri404 joined, NODE left 04:34 peri404 is now known as perigrin, sjn_ joined 04:35 perigrin left, NODE joined, a6502_ joined 04:36 freezing_ joined 04:37 Kaeipi left 04:38 ecocode_ joined 04:41 nekomune joined 04:46 tailgate joined 04:47 ingy joined, pierrot_ is now known as pierrot 04:48 pierrot is now known as Guest58783 04:49 Guest58783 left, Guest58783 joined 04:59 Guest58783 is now known as pierrot 05:03 Kaiepi joined 05:14 xinming left, xinming joined 05:15 sauvin joined
bartolin_ [Coke]: (removing unused and jvm specific opcodes) I think that those could be removed. (In the case of sayfh it seems to be a leftover from the nqp-io overhaul in 2017: github.com/Raku/nqp/commit/05e5d75c72) 05:28
tellable6 2020-04-14T00:09:57Z #raku <[Coke]> bartolin if an opcode is jvm specific, and it isn't used in src/vm, and it isn't used in rakudo, can we remove it?
2020-04-14T00:10:12Z #raku <[Coke]> bartolin_ (e.g. "sayfh")
05:51 rbt left, rbt joined 06:03 sjm_uk joined 06:05 rindolf joined, seance left 06:07 rindolf left 06:12 Sgeo_ joined 06:15 Sgeo__ left
Geth_ doc: 1fbe42f257 | (Stoned Elipot)++ | 2 files
Document Str.indices ignorecase/ignoremark

Refs #3229
06:22
doc: 5be174c745 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 2 files
Merge pull request #3335 from Raku/str-indices-i_m

Document Str.indices ignorecase/ignoremark
linkable6 DOC#3229 [open]: github.com/Raku/doc/issues/3229 [docs][new] Changes and additions for 2020.02
06:29 xinming left, xinming joined 06:37 vike left 06:39 Doc_Holliwood left 06:42 Possum joined 06:44 MasterDuke joined 06:54 ensamvarg_ joined 06:57 vike joined 07:08 abraxxa joined 07:09 ensamvarg left 07:11 ensamvarg joined 07:14 ensamvarg left 07:15 ensamvarg joined 07:21 abraxxa left 07:22 abraxxa joined 07:27 abraxxa left 07:28 abraxxa joined, dakkar joined 07:29 abraxxa left 07:31 abraxxa1 joined, rindolf joined 07:34 moon-child joined 07:43 Doc_Holliwood joined 07:54 abraxxa1 left 07:55 abraxxa joined 07:56 natrys joined 08:11 mahafyi joined 08:13 libertas left, libertas joined 08:18 pecastro joined
Xliff This error doesn't make any sense... 08:18
"Invocant of method 'Bridge' must be an object instance of type 'Int', not a type object of type 'Int'. Did you forget a '.new'?
"
But I don't have a method "Bridge" in my code. 08:19
08:21 ensamvarg left, Altai-man_ joined, ensamvarg joined
lizmat Xliff: full stack trace ? 08:23
MasterDuke Xliff: Bridge-related errors are about converting between types of numbers. e.g., a method takes a Real and you give it a Num or something like that
Xliff lizmat: gist.github.com/Xliff/21615ae16aa7...4aa1787eb0 08:26
08:27 Doc_Holliwood left
Xliff For the line that triggers the error, see: github.com/Xliff/p6-GStreamer/blob...yer.t#L232 08:28
lizmat m: say 25 + Int
camelia Invocant of method 'Bridge' must be an object instance of type 'Int', not a type object of type 'Int'. Did you forget a '.new'?
in block <unit> at <tmp> line 1
lizmat that's what's happening, the error is LTA 08:29
or we should assume 0 + warn ?
Xliff Ah!
lizmat: Thanks for the explanation! I found the problem. 08:34
08:34 mahafyi left 08:36 mahafyi joined
lizmat clickbaits rakudoweekly.blog/2020/04/13/2020-...-surprise/ 08:37
Xliff falls for it. 08:38
08:39 unclechu left, Demos[m] left, AlexDaniel` left, uzl[m] left, wamba[m] left, benkolera left, awwaiid left, BlackChaosNL[m] left, wildtrees[m] left, matiaslina left, CIAvash left 08:50 uzl[m] joined 08:54 oodani left 08:55 oodani joined
Altreus for once I saw the raku weekly on reddit before I saw it on here 09:12
lizmat yeah, that may happen :-) 09:14
09:19 unclechu joined, BlackChaosNL[m] joined, AlexDaniel` joined, wildtrees[m] joined, benkolera joined, awwaiid joined, Demos[m] joined, wamba[m] joined, CIAvash joined, matiaslina joined 09:22 cpan-raku left 09:24 cpan-raku joined, cpan-raku left, cpan-raku joined 09:28 Sgeo__ joined 09:31 Sgeo_ left
Altreus what is LTA? 09:32
lizmat Less Than Awesome 09:34
Altreus aah! It's a trap! 09:35
I fell for it, pebkac!
09:44 libertas left 09:46 libertas joined 09:52 aborazmeh joined, aborazmeh left, aborazmeh joined 09:54 rbt left
Xliff Why are Backtrace objects constantly settling for "Backtrace (24 frames)" no matter whether I use .full, .Str, .nice or .concise? 09:55
09:55 rbt joined
lizmat Xliff: good question 09:58
10:05 sena_kun joined, mahafyi left 10:06 Altai-man_ left 10:20 aborazmeh left 10:22 aborazmeh joined, aborazmeh left, aborazmeh joined 10:24 mahafyi joined
synthmeat why is this thing happening with explicit MAIN? gist.github.com/synthmeat/413e3729...153ee379da 10:30
10:35 Doc_Holliwood joined 10:37 epony left
AlexDaniel hmm sounds familiar 10:38
anyway 10:39
6c: gist.github.com/AlexDaniel/4339ab1...61b1c71bce
synthmeat 6.d over 'ere 10:40
AlexDaniel that's okay
it's all releases that support 6c
10:41 dakkar left, dakkar joined
AlexDaniel committable6: help 10:42
hmm…
10:43 committable6 left 10:49 committable6 joined 10:53 committable6 left 10:54 committable6 joined
AlexDaniel let's try again… :) 10:56
6c: gist.github.com/AlexDaniel/4339ab1...61b1c71bce
hmm 10:58
10:58 committable6 left 11:00 committable6 joined
synthmeat 3-pipe problem? :D 11:04
11:05 mahafyi left 11:24 xinming left, xinming joined
lizmat weekly: andrewshitov.com/2020/04/14/one-month-later/ 11:28
notable6 lizmat, Noted! (weekly)
11:29 Doc_Holliwood left, mowcat joined 11:30 epony joined 11:32 epony left 11:34 xinming left 11:35 xinming joined 11:49 k-man left 11:50 k-man_ joined 11:51 xinming left, xinming joined 11:54 aborazmeh left 11:55 Black_Ribbon left 12:03 Altai-man_ joined 12:06 sena_kun left 12:15 JulianLevens joined 12:17 pilne left 12:19 JulianLevens_ left, pilne joined 12:27 Sgeo_ joined 12:30 Sgeo__ left 12:32 Doc_Holliwood joined
[Coke] bartolin_: ok. removed opcodes count as fewer failing doc tests, so I'll see about opening tickets and/or PRs for review. 12:41
12:46 pilne left
Geth_ ¦ problem-solving: lizmat assigned to jnthn Issue "Sequence" means too many things in Raku github.com/Raku/problem-solving/issues/175 12:48
12:50 pilne joined 12:52 squashable6 left 12:53 squashable6 joined 12:55 squashable6 left 12:57 squashable6 joined 13:00 gfldex joined, tmtvl joined
tmtvl Does camelia run a default REPL? 13:01
m: say 42 + 13:02
42;
camelia 5===SORRY!5=== Error while compiling <tmp>
Missing required term after infix
at <tmp>:1
------> 3say 42 +7⏏5<EOL>
expecting any of:
prefix
term
tmtvl Ergh, that wasn't what I meant to do...
13:02 tmtvl left 13:09 aborazmeh joined, aborazmeh left, aborazmeh joined 13:15 netrino joined 13:17 Doc_Holliwood left 13:23 caterfxo joined
tbrowder jnthn: can your work on macros and such as you recently briefed be seen in a public repo? 13:24
jnthn Not yet; will push it to a branch in the Rakudo repo in a day or two 13:27
tbrowder thnx, it all sounds very exciting! 13:35
13:41 molaf joined 13:51 tbrowder left, tbrowder joined 14:03 xinming left, xinming joined 14:04 sena_kun joined 14:06 Altai-man_ left 14:18 Doc_Holliwood joined 14:43 aborazmeh left
AlexDaniel c: HEAD gist.github.com/AlexDaniel/4339ab1...61b1c71bce 14:53
committable6 AlexDaniel, ¦HEAD(43c7e96): «Use of uninitialized value $n of type Any in string context.␤Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful.␤␤0␤1␤2␤ in block at ./sandbox/LAST line 7␤»
AlexDaniel c: 2018.01 gist.github.com/AlexDaniel/4339ab1...61b1c71bce
14:54 Xliff left
AlexDaniel huh? 14:54
14:54 committable6 left 14:55 committable6 joined
AlexDaniel c: 2018.01 gist.github.com/AlexDaniel/4339ab1...61b1c71bce 14:55
committable6 AlexDaniel, gist.github.com/c62b05ad0bd10f5289...e3a3d5f70a
AlexDaniel omg
c: 2018.01 gist.github.com/AlexDaniel/4339ab1...61b1c71bce 14:56
committable6 AlexDaniel, ¦2018.01: «Use of uninitialized value $n of type Any in string context.␤Methods .^name, .perl, .gist, or .say can be used to stringify it to something meaningful.␤␤0␤0␤0␤0␤0␤0␤0␤0␤0␤0␤0␤0␤ in block at ./sandbox/LAST line 8␤»
AlexDaniel 6c: gist.github.com/AlexDaniel/4339ab1...61b1c71bce
committable6 AlexDaniel, gist.github.com/6dd390dbe257fce676...ee128c64f2
AlexDaniel synthmeat: sorry, I had to go, now we'll finally see what's going on :)
14:57 softmoth joined
AlexDaniel synthmeat: please file a ticket! 14:57
synthmeat where!?
AlexDaniel: rakudo/rakudo? 14:58
AlexDaniel synthmeat: yeah 14:59
14:59 squashable6 left 15:02 squashable6 joined
synthmeat AlexDaniel: heyoo github.com/rakudo/rakudo/issues/3626 15:04
15:07 softmoth left 15:14 xinming_ joined 15:16 pilne left 15:17 xinming left 15:18 molaf left 15:21 pilne joined
Altreus Major Major Major Major 15:26
15:28 kensanata joined 15:29 pilne left, softmoth joined, chloekek joined 15:32 Doc_Holliwould joined 15:33 pilne joined, Doc_Holliwood left 15:35 pilne left, ensamvarg_ left
AlexDaniel synthmeat: thanks 15:38
15:39 pilne joined 15:40 chloekek left 15:41 clarjon1 left
Geth_ doc: caf425b428 | (Stoned Elipot)++ | doc/Type/Str.pod6
Document Str.contains ignorecase/ignoremark

Refs #3229
While here note that Str.contains' Regex support is also available since Rakudo version 2020.02.
15:42
linkable6 Link: docs.raku.org/type/Str
linkable6 DOC#3229 [open]: github.com/Raku/doc/issues/3229 [docs][new] Changes and additions for 2020.02
doc: 2ce2ee6508 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Str.pod6
Merge pull request #3332 from Raku/str-contains-i_m

Document Str.contains ignorecase/ignoremark
15:47 seance joined
Geth_ doc: coke self-assigned xt/aspell.t explosion. github.com/Raku/doc/issues/3339
4d1bfb474c | Coke++ | xt/code.pws

This allows the test to complete (and pass), and avoids the explosion.
Fixes #3339
15:58
15:59 softmoth left, pilne left 16:02 epony joined 16:03 Altai-man_ joined 16:04 pilne joined 16:06 sena_kun left
linkable6 DOC#3339 [closed]: github.com/Raku/doc/issues/3339 xt/aspell.t explosion.
16:20 caterfxo left 16:24 molaf joined 16:27 chloekek joined 16:28 kensanata left 16:33 dakkar left 16:40 Doc_Holliwould left 16:51 MasterDuke left 16:53 Doc_Holliwould joined 16:59 caterfxo joined 17:23 MasterDuke joined 17:26 caterfxo left 17:27 pilne left 17:31 pilne joined
chloekek p6: sub infix:<⅋⅋>($x is rw, &y) is rw { defined($x) ?? y() !! $x }; my %h; (%h<a> ⅋⅋ ({ die(1) })) = 1; (%h<a> ⅋⅋ ({ die(2) })) = 2; 17:37
camelia 2
in block <unit> at <tmp> line 1
chloekek Opposite of //. Is it possible to short-circuit this or do I need to make a slang for that? 17:38
.oO(macro)
jnthn Macro, if only we could get somebody to implement those... :) 17:40
chloekek Would be so cool for stuff like this. :) 17:42
wildtrees[m] is there anyway , or any examples of dynamic/changing layout(s) with Gtk::Simple? I have a vbox in my app window and want to either change the vbox that is set for the app or change all the contents of the vbox, it's a vbox of buttons if that matters 17:47
17:50 stoned75 left 17:52 farcas1982regreg joined 18:04 sena_kun joined 18:06 Altai-man_ left 18:11 sauvin left 18:13 mike_s joined 18:16 jast left 18:18 MasterDuke left
El_Che m: my $s = :($pos, $b); ('a', 'b') ~~ $s 18:24
camelia ( no output )
El_Che m: my $s = :($pos, $b); say ('a', 'b') ~~ $s 18:25
camelia True
El_Che I am struggling to match $b when it's a named param
m: my $s = :($pos, :$b); say ('a', '--b=foo') ~~ $s
camelia False
El_Che m: my $s = :($pos, :$b); say ('a', ('b' => 'foo')) ~~ $s
camelia True
El_Che @args is in the form of ('a', '--b=foo'), so I need to rewrited @args before I can use smartmatch? 18:26
I guess I answered my own question, but good to check if there is a better way 18:29
18:31 clarjon1 joined
[Coke] If you're trying to do something based on passed in args, I do that by having multiple MAINs 18:36
would that be a possibility for what you're trying?
El_Che [Coke]: I am rewriting MAIN behind the curtains 18:40
[Coke]: hopefully the module will be out soon :)
18:43 abraxxa left 18:45 abraxxa joined
El_Che my test needed a pair of extra parens: say "MATCH: " ~ (@args-pairs ~~ $sig); 18:51
18:54 MasterDuke joined 18:58 Doc_Holliwould left
[Coke] .ask bartolin_ so, printfh is slightly more used, it's made it into the stage-N snapshots. It's probably still removable, though. 19:03
tellable6 [Coke], I'll pass your message to bartolin_
19:04 stoned75 joined 19:07 mike_s left 19:11 rbt left, rbt joined 19:16 MasterDuke left 19:20 rindolf left 19:22 Doc_Holliwould joined 19:30 MasterDuke joined
chloekek CRAI got a fresh new look (and implementation, and correctly sorting version numbers): crai.foldr.nl/search?q=P5 19:34
And a dark theme but it doesn’t have a button to switch yet.
19:37 lichtkind joined 19:39 sjm_uk left
El_Che I created a small module to augment MAIN(), if anyway wants to give it a go it would be nice: github.com/nxadm/SuperMAIN 19:40
It add features to MAIN() that I missed, while keeping the MAIN() syntax en semantics
*s 19:43
19:50 sjn_ is now known as sjn 19:52 pmurias left 19:59 bbkr joined
lizmat chloekek++ 20:03
20:03 Altai-man_ joined
bbkr RakuAST video by @jnthn is awesome: - I don't have an audience here, so I actually have to think up the questions. (...) - What about memory use? - That's a really good question! 20:06
it made my day :)
20:06 sena_kun left
[Coke] :) 20:08
20:28 a3r0 joined 20:41 Kaiepi left 20:52 netrino left 20:54 chloekek left
jjatria I also just finished watching the RakuAST video, and I really liked it! For me, it also answered the really basic question of "why do we even want these for", and now I'm a convert. jnthn++ 20:55
21:08 natrys left 21:17 silug left 21:18 silug joined 21:21 natrys joined 21:24 Kaiepi joined
El_Che I am half way 21:40
cpan-raku New module released to CPAN! Gcrypt (0.5) by 03CTILMES 21:43
21:47 tobs left 22:04 rbt left, sena_kun joined 22:05 rbt joined, silug left, silug joined 22:06 Altai-man_ left 22:10 benlittle joined
lichtkind jjatria: can you please sent video link? thanks 22:10
22:15 aborazmeh joined, aborazmeh left, aborazmeh joined 22:18 natrys left
lizmat lichtkind: read da weekly! rakudoweekly.blog/2020/04/13/2020-...-surprise/ 22:19
22:27 lichtkind left 22:31 xinming_ left, xinming_ joined 22:33 lichtkind joined 22:34 stoned75 left 22:39 stoned75 joined 22:41 Doc_Holliwould left
lichtkind lizmat: thanks i actually seen that blog post but i guess skimmed the link because i thought it was from erlange 22:41
22:42 Itaipu left
cpan-raku New module released to CPAN! Gcrypt (0.6) by 03CTILMES 22:43
22:45 tobs joined 22:54 Black_Ribbon joined 22:57 Itaipu joined 22:59 pecastro left 23:29 seance left 23:33 sena_kun left
AlexDaniel melezhik2: hmm there's no link to the output, can you make `Result` column clickable too? 23:57
tellable6 AlexDaniel, I'll pass your message to melezhik