🦋 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.
[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_
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")
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
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
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
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
lizmat clickbaits rakudoweekly.blog/2020/04/13/2020-...-surprise/ 08:37
Xliff falls for it. 08:38
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
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!
Xliff Why are Backtrace objects constantly settling for "Backtrace (24 frames)" no matter whether I use .full, .Str, .nice or .concise? 09:55
lizmat Xliff: good question 09:58
synthmeat why is this thing happening with explicit MAIN? gist.github.com/synthmeat/413e3729...153ee379da 10:30
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
AlexDaniel committable6: help 10:42
hmm…
AlexDaniel let's try again… :) 10:56
6c: gist.github.com/AlexDaniel/4339ab1...61b1c71bce
hmm 10:58
synthmeat 3-pipe problem? :D 11:04
lizmat weekly: andrewshitov.com/2020/04/14/one-month-later/ 11:28
notable6 lizmat, Noted! (weekly)
[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
Geth_ ¦ problem-solving: lizmat assigned to jnthn Issue "Sequence" means too many things in Raku github.com/Raku/problem-solving/issues/175 12:48
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...
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
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
AlexDaniel huh? 14:54
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 :)
AlexDaniel synthmeat: please file a ticket! 14:57
synthmeat where!?
AlexDaniel: rakudo/rakudo? 14:58
AlexDaniel synthmeat: yeah 14:59
synthmeat AlexDaniel: heyoo github.com/rakudo/rakudo/issues/3626 15:04
Altreus Major Major Major Major 15:26
AlexDaniel synthmeat: thanks 15:38
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
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
linkable6 DOC#3339 [closed]: github.com/Raku/doc/issues/3339 xt/aspell.t explosion.
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
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
[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 :)
El_Che my test needed a pair of extra parens: say "MATCH: " ~ (@args-pairs ~~ $sig); 18:51
[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_
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.
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
lizmat chloekek++ 20:03
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 :)
[Coke] :) 20:08
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
El_Che I am half way 21:40
cpan-raku New module released to CPAN! Gcrypt (0.5) by 03CTILMES 21:43
lichtkind jjatria: can you please sent video link? thanks 22:10
lizmat lichtkind: read da weekly! rakudoweekly.blog/2020/04/13/2020-...-surprise/ 22:19
lichtkind lizmat: thanks i actually seen that blog post but i guess skimmed the link because i thought it was from erlange 22:41
cpan-raku New module released to CPAN! Gcrypt (0.6) by 03CTILMES 22:43
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