🦋 Welcome to the IRC channel of the core developers of the Raku Programming Language (raku.org #rakulang). This channel is logged for the purpose of history keeping about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | log inspection situation still under development | For MoarVM see #moarvm
Set by lizmat on 22 May 2021.
00:05 reportable6 left 00:08 reportable6 joined 01:46 frost joined 03:07 evalable6 left, shareable6 left, reportable6 left, quotable6 left, bloatable6 left, linkable6 left, greppable6 left, releasable6 left, unicodable6 left, committable6 left, squashable6 left, nativecallable6 left, bisectable6 left, benchable6 left, tellable6 left, statisfiable6 left, sourceable6 left, notable6 left, coverable6 left 03:08 tellable6 joined, bloatable6 joined, linkable6 joined 03:09 squashable6 joined, committable6 joined, shareable6 joined, reportable6 joined 03:10 greppable6 joined, notable6 joined 04:00 Xliff left, Xliff joined 04:07 releasable6 joined 04:09 coverable6 joined 04:10 sourceable6 joined 05:08 quotable6 joined, unicodable6 joined 05:09 benchable6 joined 05:10 nativecallable6 joined 05:36 squashable6 left 05:37 squashable6 joined 05:50 Voldenet_ joined, Voldenet left, Voldenet_ is now known as Voldenet 06:07 reportable6 left 06:08 evalable6 joined, reportable6 joined 06:10 statisfiable6 joined 07:10 evalable6 left, linkable6 left 07:13 evalable6 joined 07:43 frost left 08:08 bisectable6 joined 08:22 squashable6 left 09:13 frost joined 09:23 squashable6 joined
gfldex Is there a reason why Label does not expose $!line and $!file? In .gist they are used and as such not really hidden. 10:24
lizmat I don't see a reason why they could not be exposed, fwiw 10:32
Files=1351, Tests=117115, 296 wallclock secs (35.16 usr 9.54 sys + 4082.92 cusr 328.76 csys = 4456.38 CPU)
10:32 frost left
Geth rakudo: gfldex++ created pull request #4804:
expose $!file and $!line in Label
12:07 reportable6 left 12:15 Altai-man joined 12:32 [Coke] left 13:10 reportable6 joined 13:47 frost joined 14:12 linkable6 joined 14:38 [Coke] joined
|Tux| Rakudo v2022.02-82-g8fb0a66dc (v6.d) on MoarVM 2022.02-7-g2b96d1828
csv-ip5xs0.782 - 0.805
csv-ip5xs-205.043 - 5.259
csv-parser3.958 - 4.126
csv-test-xs-200.426 - 0.432
test6.510 - 6.563
test-t1.588 - 1.590
test-t --race0.944 - 0.970
test-t-2024.271 - 24.445
test-t-20 --race7.599 - 7.600
15:19 Xliff left
[Coke] is there a way to get a list of modules you installed specifically as opposed to all the ones that are installed? 16:16
Would simplify my "force-update rakudo install" script (right now getting a lot of "All candidates are currently installed" at the end since I already installed them as deps of something else) 16:17
It's in no way necessary for what I'm doing, but would be nice to have, I think 16:19
Altai-man lizmat, new comma complete just got released, not sure if fits for the weekly. 16:31
twitter.com/koto_san_kana/status/1...1067457545 <- 16:42
[Coke] notable6: twitter.com/koto_san_kana/status/1...1067457545 from altai-man 16:59
notable6 [Coke], I cannot recognize this command. See wiki for some examples: github.com/Raku/whateverable/wiki/Notable
[Coke] notable6: weekly twitter.com/koto_san_kana/status/1...1067457545 from altai-man
notable6 [Coke], Noted! (weekly)
Altai-man [Coke], thanks! 17:00
ugexe [Coke]: if you feed zef the list of all modules at once you shouldnt get that message 17:17
assuming it can all fit in however many characters are allowed for a single command
zef install Foo Bar Baz ABC EFG HIJ 17:18
or write out your list of installed modules to a META6.json with no modules but all the depends listed (which you can then `zef install .`) 17:20
its also better to do `zef install Foo Bar Baz` instead of `zef install Foo && zef install Bar && zef install Baz` because the former can build a more precise dependency graph, use additional parallelism, and have less overhead in general 17:23
boths ways work, just zef can take advantage of the additional context when you provide them all in one command 17:25
[Coke] ugexe: fair point, I was doing them one at a time 17:27
worth updating just for the ||ism
ugexe testing itself isn't done by default in parallel yet (although it can be with e.g. --test-degree=42) because module loading isn't thread safe, but fetching and extracting are (and in the future testing will be as well) 17:29
17:59 Altai-man left 18:08 reportable6 left, reportable6 joined
ugexe while there is an issue testing in parallel it actually wouldn't be because of the thread safety of module loading 18:16
mispoke on that point
18:26 discord-raku-bot left, discord-raku-bot joined 18:30 discord-raku-bot left 18:31 discord-raku-bot joined 18:49 Xliff joined
Xliff Has there been any thought as to being able to introspect t he actual AST of defined objects with RakuAST? 18:51
sub a ($a) { $a = 42 }; &a.ast <- returns RakuAST that would create &a 18:53
Of course, the returned AST would be immutable. 18:54
20:07 bisectable6 left, releasable6 left, statisfiable6 left, squashable6 left, coverable6 left, evalable6 left, committable6 left, tellable6 left, sourceable6 left, quotable6 left, shareable6 left, benchable6 left, nativecallable6 left, unicodable6 left, reportable6 left, notable6 left, greppable6 left, bloatable6 left, linkable6 left 20:08 bloatable6 joined, nativecallable6 joined, reportable6 joined, committable6 joined, releasable6 joined, shareable6 joined 20:09 linkable6 joined 20:10 notable6 joined, bisectable6 joined, quotable6 joined, statisfiable6 joined 20:47 discord-raku-bot left, discord-raku-bot joined 21:07 evalable6 joined 21:08 tellable6 joined, coverable6 joined 21:41 MitarashiDango[m joined 22:07 unicodable6 joined 22:08 squashable6 joined 22:09 sourceable6 joined, greppable6 joined 22:28 sena_kun left 22:30 sena_kun joined 23:02 |Tux| left
Geth rakudo: 028828ac88 | (Elizabeth Mattijsen)++ | src/core.c/Label.pm6
Expose Label.file/line

To aid introspection and allow self referencing warnings/error messages, expose $!file and $!line. Make Label.Str useful. gfldex++ for the impetus.