00:26 lucasb left 01:03 ggoebel_ left 01:24 ggoebel_ joined 03:24 leont left 03:53 maggotbrain joined 06:17 MasterDuke left
[Tux] Yesterday: 07:02
Rakudo v2020.11-101-gd1d2546e6 (v6.d) on MoarVM 2020.11-57-g51cc76c16
csv-ip5xs0.812 - 0.843
csv-ip5xs-207.797 - 8.252
csv-parser24.894 - 26.065
csv-test-xs-200.388 - 0.394
test7.544 - 8.334
test-t1.860 - 1.909
test-t --race0.805 - 0.864
test-t-2032.072 - 32.441
test-t-20 --race9.346 - 10.092
07:38 domidumont joined 07:47 patrickb joined
patrickb .tell rba raku.org is down. Can you have a look? 07:54
tellable6 patrickb, I'll pass your message to rba
patrickb ping rba
tellable6 2020-12-03T21:30:43Z #raku <samcv> patrickb no I don't use Raku at work, sadly
2020-12-03T22:05:51Z #raku <tony-o> patrickb i'm interested in it, for sure. ot
2020-12-03T22:06:34Z #raku <tony-o> patrickb it's been kind of a pain in my side, though. i have a working prototype and the code to run it. i need to figure out how to make it work in zef.
2020-12-03T22:06:56Z #raku <tony-o> patrickb in response to your ecosystem inquiry.
07:54 patrickb left 08:14 MasterDuke joined
nine lizmat: Thanks for finding those! That's exactly what I wanted to look into today as raku -e '(^10000).race.map({EVAL "q:to/END/;\nEND\n"}).sink' still fails very rarely with some message about a cursor 08:53
Though it looks like those are not actually the reason for the failures I see. 09:25
nqp: class Foo { }; role Bar { has $!bar; method set-bar() { $!bar := 1; } }; my $i := 0; my @threads; while $i < 16 { my $thread := nqp::newthread({ while 1 { my $foo := Foo.new; Foo.HOW.mixin($foo, Bar); $foo.set-bar } }, 0); nqp::push(@threads, $thread); nqp::threadrun($thread); $i++ }; nqp::threadjoin(@threads[0]); 09:26
camelia (signal XCPU)
nine Locally this immediately gives me "Unhandled exception: P6opaque: no such attribute '$!bar' on type Foo+{Bar} in a Foo+{Bar} mixin when trying to bind a value"
Which is the same as during compilation: P6opaque: no such attribute '$!named' on type QAST::IVal+{QAST::SpecialArg} in a QAST::IVal+{QAST::SpecialArg} mixin when trying to bind a value 09:27
10:02 frost-lab joined
nine Oh, it seems like the error happens either immediately or not at all. This suggests that the race condition is in generating the mixin. Once all threads get the type from the parametrics cache it seems to be fine 10:09
10:47 domidumont1 joined 10:49 domidumont left 11:33 domidumont1 left 11:47 domidumont joined 11:48 domidumont left 11:54 domidumont joined 12:06 domidumont left
lizmat Files=1346, Tests=117144, 227 wallclock secs (30.55 usr 7.58 sys + 3150.20 cusr 291.29 csys = 3479.62 CPU) 12:16
12:26 domidumont joined 12:43 domidumont left
Geth nqp: 84ff7e5edd | (Elizabeth Mattijsen)++ | tools/templates/MOAR_REVISION
Bump MoarVM to get nwc10's extensive hash work
13:02
rakudo: 6792cc425f | (Elizabeth Mattijsen)++ | 2 files
Use still slightly faster explicit nqp::add_i vs prefix ++

Looks like the ++$i codegens to a bare IVal, whereas the nqp::add_i codegens to a WVal containing an IVal. Yet the WVal version turns out to be about 1% faster in benchmarks still.
13:04
13:08 morayj joined 13:10 domidumont joined
[Coke] going forward, would it be worth keeping an optimizations used doc that has things like "using nqp::_add_i instead of ++ for <reason>" so folks looking to make optimizations (and then code updates for readability over speed) have a list? 13:16
lizmat [Coke]: well, this particular case I hope we can fix soon, either by changing the codegen of ++$I to use the WVal form, or even better, figure out why the bare IVal form is slower 13:18
Geth rakudo: 436437b7bf | (Elizabeth Mattijsen)++ | tools/templates/NQP_REVISION
Bump NQP to get nwc10++ latest hash work on MoarVM
13:20
13:27 morayj left 13:39 leont joined 13:49 lucasb joined
Geth rakudo: cb8eb68a92 | (Elizabeth Mattijsen)++ | src/core.c/Supply-coercers.pm6
Add :emit-(once-)on-empty to Suppy.batch(:$seconds)

With :emit-on-empty, you *will* get an emit even if the batch is empty. So that means you will get at least 1 emit for every $seconds.
With :emit-once-on-empty, you will get an emit once if the batch is empyty, and no further emits until more values have been received.
14:06
rakudo: 492651ea48 | (Elizabeth Mattijsen)++ | src/core.c/Supply-coercers.pm6
Add :emit-timed to Supply.batch(:$seconds)

When :emit-timed is specified, a timer will be running emitting whatever is in the batch every given number of seconds *if* there is something in the batch. The default is to only emit if a new value is received and it arrives in a new period.
This removes the previous proposal for :emit-on-empty and :emit-once-on-empty.
rakudo: 1ae04788c5 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | src/core.c/Supply-coercers.pm6
Merge pull request #4060 from rakudo/emit-on-empty

Add :emit-timed to Suppy.batch(:$seconds)
lizmat argh, should have squashed that
14:32 morayj joined
[Tux] Rakudo v2020.11-109-g1ae04788c (v6.d) on MoarVM 2020.11-82-g6294b666f
csv-ip5xs0.853 - 0.873
csv-ip5xs-208.775 - 9.254
csv-parser27.054 - 28.453
csv-test-xs-200.396 - 0.408
test8.319 - 8.503
test-t2.092 - 2.148
test-t --race0.887 - 1.017
test-t-2036.101 - 36.375
test-t-20 --race9.290 - 9.451
14:35
14:35 Kaiepi left 14:37 Kaiepi joined 14:39 frost-lab left 14:54 bazzaar joined 15:38 cog left 16:07 bazzaar left
[Coke] lizmat: I know you just did a big update to the nqp ops markdown - I updated the "are these opcodes tested" test to be raku as well, lots of misses at the moment. Let me know if you want me to make a ticket out of that or something. 16:07
16:09 bazzaar joined 16:18 bazzaar left, [Tux] left 16:29 [Tux] joined
lizmat [Coke] are you saying that the update lost documentation? 16:34
[Coke] no.
lizmat *phew*
[Coke] I'm saying we have lots of opcodes that aren't being tested
lizmat tested as in: not having documentation, right ? 16:35
if so, please make an issue of the current state of undocumentedness
[Coke] ... no
I mean not in t/
lizmat aah.. ok
still worth making an issue for :-) 16:36
[Coke] ok. will do
(the missing docs is already a separate ticket)
lizmat ack
[Coke] NACK
lizmat ? 16:40
[Coke] just replying to your ack, nothing. 16:43
lizmat ack :-) 16:51
[Coke] lizmat: added untested/unused opcodes to github.com/Raku/nqp/issues/686 16:55
though now that I've done that, I see that... sqrt_n shows up in the list, but it's in t/ 16:56
whoops. :)
lizmat notable6: weekly 16:58
notable6 lizmat, 1 note: 2020-11-30T17:07:08Z <patrickb>: github.com/Raku/raku.org/issues/155
lizmat notable6: weekly reset 17:02
notable6 lizmat, Moved existing notes to “weekly_2020-12-07T17:02:42Z”
Geth nqp: 0dad491aa2 | Coke++ | t/docs/tests.t
Allow for multiple opcodes per line
17:05
[Coke] lizmat: there, that's about 20 that were being tested or used that we properly track now. still 154 opcodes that are documented and not tested/used in build. 17:06
lizmat [Coke]: thanks, will probably look at that tomorrow 17:07
working on a pretty big RWN now
[Coke] thanks. as with everything, I'm cheating there, so "improve the test" is always an option. 17:08
MasterDuke [Coke]: i get `Malformed UTF-8 near bytes 00 00 b2 in block <unit> at t/docs/tests.t line 37` when i try to run that doc test 17:52
nm, it was processing .swp files left over from vim 17:54
18:18 domidumont left
[Coke] MasterDuke: feel free to patch it so it's only getting correct extensions. :) 19:03
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2020/12/07/2020-...haping-up/ 19:11
Geth nqp: c79f5feb70 | Coke++ | t/docs/tests.t
Search for opscodes with uppercase also

MasterDuke17++
[Coke] MasterDuke: fixed the case issue you id'd, thanks. 19:17
19:19 [Tux] left 19:29 [Tux] joined 19:30 [TuxCM] joined 19:32 [TuxCM] left 19:33 [TuxCM] joined
MasterDuke [Coke]: thanks, had to take a break for dinner and putting kids to bed 19:40
lizmat afk for a few hours& 19:50
19:59 maggotbrain left 20:06 morayj left 20:45 [TuxCM] left 20:50 morayj joined, [TuxCM] joined 20:51 morayj left
[TuxCM] I just upped my home PC from openSUSE 15.1 to openSUSE 15.2. I hope it does not have any impact on the timings 21:02
22:02 AlexDaniel` left 22:06 morayj joined 22:09 Kaiepi left 22:10 Kaiepi joined 22:32 AlexDaniel` joined 22:45 morayj left 23:53 Xliff left