01:04 kylese left, hulk joined 01:19 sibl joined 01:25 _________ left 01:26 _________ joined 01:33 MasterDuke joined 02:02 kylese joined, hulk left 02:10 MasterDuke left 02:15 kylese left, kylese joined 03:02 lichtkind_ joined 03:05 lichtkind left 03:39 sibl left 03:45 sibl joined 03:55 sibl left 04:00 lichtkind__ joined 04:03 lichtkind_ left 05:56 Inline left 06:00 sibl joined 06:03 Inline joined 06:06 sibl left 06:10 sibl joined 06:12 kylese left 06:13 kylese joined 07:00 sibl left 07:09 Sgeo left 07:24 sibl joined 07:38 sibl left 07:51 dakkar joined 08:12 dmvrtx left 08:13 dmvrtx joined
apogee_ntv japhb: The readme on the Selkie repo (github.com/m-doughty/Selkie) and API docs (github.com/m-doughty/Selkie/blob/m.../index.md) are pretty comprehensive imo. 08:30
Notcurses::Native 0.4.0 is released, fixes some potential memory leaks by annotating which objects are user-freed and which are system-freed, pulls notcurses from my fork instead of vendoring it (makes submitting upstream fixes easier), fixes a memory leak which was silently allocating Str and not freeing underlying char* buffer. 08:34
I am about to push Selkie 0.8.0 which has a couple of default flips (bc breaks). Selkie subscriptions now default to deep check equality, you can remove :deep-equality-check at all callsites and if you want the old default behavior, you now need to pass :identity-check-only. Effect payloads are now *required* to be associative (most probably already are) but if you have any that aren't, they now need 08:48
wrapping. An empty hash will have no payload effect. It also uses Notcurses::Native 0.4.0 which fixes some memory leaks.
These breaks are documented in Changes 08:49
08:49 sibl joined
apogee_ntv SmokeMachine: Relevant for Selkie::UI 08:49
BTW I would recommend Selkie::UI pins exact version of Selkie if it doesn't already until 1.0.0, at 1.0.0 there will be no bc breaks until 2.0.0 08:50
Pre-1.0.0 minors are allowed a bc break, no bc breaks in patch versions
10:06 Pixi` joined 10:08 Pixi left 10:10 sibl left 10:24 donaldh joined 10:36 librasteve_ left 10:42 kurahaupo left 11:12 kurahaupo joined 11:31 kurahaupo left, donaldh left, dmvrtx left, donaldh joined 11:32 dmvrtx joined 11:36 sibl joined 11:39 kurahaupo joined
SmokeMachine apogee_ntv: it is currently setting the minimum version… I’ll update it to a specific version 11:43
Thanks 11:44
apogee_ntv I dont know if there's a way to pin a minor or major in zef 11:45
If you can pin the minor I will not break bc on a minor.
Once it gets to 1.0 only a major will break bc unless you rely on undocumented behavior (bugs) 11:46
SmokeMachine m: say v1.0.3 ~~ v1.*; say v2.0.0 ~~ v1.* # I think it is possible 11:52
evalable6 True
False
SmokeMachine apogee_ntv: I was reading about your terminal and I have 1 question: have you thought on using Raku itself for configuration? Maybe with something like this? raku.land/zef:FCO/Configuration 11:54
apogee_ntv: about breaking changes, on Red, when I do breaking changes (happened once) I change the api… (I mean the api version) so, now we are on Red:api<2> 11:58
apogee_ntv SmokeMachine: We would be on api ~18 by now :D 11:59
SmokeMachine apogee_ntv: I don’t see that as a problem…
apogee_ntv Maybe not, tbh once we're on 1.0 the API will be locked. It will only be added to with new modules & new kwargs, defaults will not change. 12:01
SmokeMachine 👍
What about the configuration in Raku for your terminal? 12:02
apogee_ntv For my terminal?
I use Kitty
I dont maintain a terminal 12:05
SmokeMachine Sorry, it seems I misread the author’s name… 12:07
Sorry 12:08
avuserow: have you thought about using Raku for your terminal’s configuration? Maybe something like raku.land/zef:FCO/Configuration ?
apogee_ntv I do contribute to notcurses very occasionally.
The C lib that Selkie sits on top of. 12:09
SmokeMachine I mean RelayTerm
apogee_ntv Ah
SmokeMachine Sorry for the confusion 12:10
apogee_ntv No worries
12:30 johnjay left 13:09 sibl left 13:10 hurufu joined
disbot4 <melezhik.> o/ 13:49
<melezhik.> Is any way to speed up Raku regexp ? Applying relatively simple regexp on array of few thousands short strings takes 10 minutes 13:51
<melezhik.> Very slow
<melezhik.> Maybe Rakuast will improve that ?
lizmat if you're not interested in the actual match, just *if* there is something, you're better of with .contains(/foo/)
as that will not create the expensive Match object 13:52
RakuAST in itself will not improve that
ugexe rakuast doesn't return match objects
lizmat ?
ugexe i dont know if that is intentional though
disbot4 <melezhik.> github.com/melezhik/Sparrow6/blob/...kumod#L223 13:53
<melezhik.> Yeah I am taking about regexp , not about contain …
lizmat ugexe: re rakuast not returning Match objects? what to do mean?
ugexe let me look what i actually mean. there is some variation of smartmatch that does not return the match object but the naive example i tried does return it so maybe im wrong
disbot4 <melezhik.> For my day job project it maybe a bottle neck 13:54
lizmat melezhik:
my $matched = $data.comb(/<$pattern>/,:match) doesn't do what you want ? 13:55
disbot4 <melezhik.> Is it any different from the current implementation? Could it be faster ? 13:56
ugexe my $m = 1 ~~ m/\w/; say "house" ~~ $m 13:57
evalable6 「1」
disbot4 <melezhik.> Yeah I mean I can remove <mymatch=$pattern> for sure and rewrite it your way
lizmat well, it would be doing less
ugexe that returns True on rakuast
lizmat which is *always* an advantage
disbot4 <melezhik.> Well the question how much faster it’ll be )) 13:58
<melezhik.> But I can try )
lizmat no idea
disbot4 <melezhik.> Yeah …
ugexe m: say run($*EXECUTABLE, q|-e|, q|my $m = 1 ~~ m/\w/; say "house" ~~ $m|, :merge).out.slurp(:close); BEGIN %*ENV<RAKUDO_RAKUAST> = 1 14:02
evalable6 True
ugexe m: say run($*EXECUTABLE, q|-e|, q|my $m = 1 ~~ m/\w/; say "house" ~~ $m|, :merge).out.slurp(:close);
evalable6 「1」
lizmat hmmm... that's a weird difference 14:08
14:09 Inline left 14:32 annamalai left, annamalai joined 14:38 kjp left, kjp joined 14:39 abraxxa joined, hurufu left 15:46 Inline joined 15:56 Inline left 16:08 annamalai left 16:19 Pixi` is now known as Pixi 16:21 annamalai joined 16:33 human-blip left 16:35 human-blip joined 16:37 dakkar left 16:59 Aedil3 left 17:01 Aedil3 joined 17:13 dg left 17:18 dg joined 18:37 belluzj joined 18:45 belluzj left 18:47 belluzj joined, belluzj left 19:28 ShimmerFairy left 19:30 ShimmerFairy joined 19:53 ShimmerFairy left, dg left, human-blip left, kurahaupo left, Pixi left, lichtkind__ left, dg joined, lichtkind__ joined 19:54 human-blip joined 20:02 kurahaupo joined 20:03 Inline joined 20:11 nicole left 21:15 simcop2387 left 21:22 simcop2387 joined 21:42 undermine joined 22:02 vasko4535586 joined 22:06 perryprog left 22:07 perryprog joined, ShimmerFairy joined 22:12 Sgeo joined 22:16 vrurg_ joined 22:20 vrurg left 22:23 leifgunnar left 22:28 leifgunnar joined