01:15 kvw_5_ joined 01:18 kvw_5 left 04:01 ilogger2 joined 06:31 domidumont joined 06:35 zostay left 06:36 kawaii joined 06:37 zostay joined 07:42 Geth joined, LizBot joined 07:52 LizBot left, LizBot joined
Geth rakudo/REPL-now: 7116b95079 | (Elizabeth Mattijsen)++ | 10 files
Turn REPL.here into just "repl"

As suggested by jnthn. Since this is now a globally visible sub, make sure the local tests are adapted for it.
08:07
08:10 sena_kun joined 08:16 donaldh joined
Geth rakudo/REPL-now: 6acd314aa7 | (Elizabeth Mattijsen)++ | src/Perl6/Optimizer.nqp
Add &repl to the poison list

This makes the REPL in:
   my $a = 42; repl; say $a
actually know about $a, and allow it to be changed, and see the result of the change afterwards. jnthn++ for the hint.
09:29
nwc10 lizmat: `10 ** $exponent` where `my int $exponent = $value.abs.log(10).floor;` - that's going to be pow_i() ? 09:35
um, I guess I can answer that with gdb 09:36
lizmat I think you want to ask that MasterDuke ?
nwc10 it was your printf code :-)
but I can answer my own question with gdb
lizmat ah, you mean in RakuAST ?
nwc10 yes
lizmat pretty sure I didn't come up with that myself 09:37
nwc10 it's certainly much cleaner and clearer than the current NQP code
lizmat and it should be much faster, as it actually builds code to be run
rather than interpret over and over again 09:38
nwc10 answer: OP(pow_i): { 09:41
so yes, this is better
lizmat is quite in a different place right now 09:46
nwc10: so I believe you :-)
09:47 evalable6 joined, linkable6 joined
nwc10 me too 09:48
Geth rakudo/REPL-now: ff87a1d9f6 | (Elizabeth Mattijsen)++ | src/core.c/REPL.pm6
Don't show the intro when called from code
09:58
rakudo/new-disp: 101a2c06ed | (Jonathan Worthington)++ | src/vm/moar/dispatchers.nqp
Implement many-level callsame with multi dispatch
10:13
releasable6 Next release in ≈3 days and ≈7 hours. 2 blockers. Please log your changes in the ChangeLog: github.com/rakudo/rakudo/wiki/ChangeLog-Draft 11:00
sena_kun releasable6, status 11:02
releasable6 sena_kun, Next release in ≈3 days and ≈7 hours. 2 blockers. 0 out of 174 commits logged (⚠ 1 warnings)
sena_kun, Details: gist.github.com/74cf944df1cb9b6559...8232527431
tbrowder hi, i'm getting compile failures during build of rakudo with a PR and having trouble finding the trouble spot in single file that was changed. 12:36
any clever ideas to track down the exact source line causing the trouble (chnged file is 'src/core.c/DateTime.pm6')? 12:38
sena_kun tbrowder, not sure if anybody can help without trace of the error posted somewhere. 12:39
tbrowder i will update the pr and put error output in a gist later to day. 12:42
i was just hoping there was some new trick to narrow down the line number of source 12:43
thnx
lizmat tbrowder: compilation errors in the setting are tricky :-) 12:48
you can maybe check in gen/moar/CORE.c.setting ? 12:49
tbrowder ok, thnx 13:07
lizmat: that did it, THNX! the line number in the "trace" was exactly the one i suspected in the gen/moar/CORE.c.setting. 13:23
i looked into adding some more info in the tooling years ago but got lost in the forest. 13:24
lizmat yeah... I've worked on that a lot about 5 years ago... 13:25
believe me, it was way worse before :-) 13:26
tbrowder anyhoo, pressing on... 13:27
Geth rakudo: codesections++ created pull request #4327:
Minimal fix for MAIN usage regression from #4278
14:48
14:48 linkable6 left 14:50 linkable6 joined 15:25 softmoth joined
nine m: m: class A is Str { method foo() { dd } }; my \Str = A; my $a = "bar"; $a.foo 15:53
camelia ===SORRY!===
No compile-time value for Str
nine linkable6: is this ^^^ the failure mode of putting A into a module?
16:05 domidumont left
lizmat no 16:16
but lemme doublecheck
argh... PEBCAK 16:19
it just works
if you do Map.new( (Str => A) ) rather than Map.new(Str => A) in EXPORT 16:20
nine ^^^
Geth nqp/new-disp: dcd7b6cd95 | (Jonathan Worthington)++ | src/vm/moar/QAST/QASTOperationsMAST.nqp
Map assertparamcheck op

So far it was only emitted during parameter compilation, but it'll be useful to have it available more generally.
16:23
nqp/new-disp: f14c148548 | (Jonathan Worthington)++ | t/moar/53-dispatch.t
Test dispatcher-resume-on-bind-failure
lizmat bisectable6: dd True.pairs 16:45
bisectable6 lizmat, Will bisect the whole range automagically because no endpoints were provided, hang tight
lizmat, Output on all releases: gist.github.com/5c505e552e4d357087...8ea2c6ba81 16:46
lizmat, Bisecting by output (old=2021.03 new=596ccef) because on both starting points the exit code is 0
lizmat, bisect log: gist.github.com/660c914c7a3f86d47e...0bf39d9306
lizmat, (2021-03-05) github.com/rakudo/rakudo/commit/61...cd6aaef410
lizmat, Output on all releases and bisected commits: gist.github.com/affcd8e0b9292b1a1c...7111991b69
Geth rakudo/new-disp: 41c2d4cea5 | (Jonathan Worthington)++ | src/vm/moar/dispatchers.nqp
Handle `where` in multi-dispatch with new-disp
16:59
rakudo: ad81b98065 | (Tom Browder)++ (committed using GitHub Web editor) | INSTALL.md
Add more help with trouble-shooting build problems
17:35
17:40 maggotbrain joined 18:00 jmerelo joined 18:10 jmerelo left 18:13 Xliff joined
Xliff o/ 18:14
Is there a Capture::Tiny equivalent for Raku?
nwc10 \o 18:15
er, "Raku" I think :-)
oh wait, sorry
I'm not thinking
Xliff IE - I would like to redirect STDOUT to a Str
nwc10 it was a sensible question.
*I* got confused - thought it was another module
I don't know. I'm aware of all the pain one needs to go through to make these things work (in Perl 5)
sena_kun Xliff, maybe IO::Capture::Simple? 18:19
18:20 MasterDuke joined 18:24 japhb left 18:31 domidumont joined 18:32 softmoth left 18:57 squashable6 joined
Geth nqp/sprintf-tweaks: bfaea65d9c | (Nicholas Clark)++ | src/HLL/sprintf.nqp
Hoist the repeated calculation in `stringify-to-precision2` to a variable.

The difference between `10` and `10.0` makes no difference in this context.
19:22
19:26 lucasb joined 19:30 MasterDuke left
Xliff sena_kun: Thanks. Already looking into that. 19:35
20:05 domidumont left 20:06 domidumont joined, domidumont left
vrurg greppable6: add_phaser 21:29
greppable6 vrurg, 11 lines, 5 modules: gist.github.com/672889ce5604148f45...e82209777e
21:51 rba left, rba_ joined 21:52 rba_ is now known as rba 21:56 MasterDuke joined 22:39 softmoth joined 23:36 lucasb left 23:37 b2gills joined