šŸ¦‹ Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
00:07 reportable6 left 00:10 reportable6 joined
Geth doc: 06c85115f1 | Coke++ | xt/01-raku-version.t
track new release
gfldex Is there a way to tell an infix to take a WhateverCode as an argument instead of forming a closure? 00:54
00:55 daxim joined
moon-child &[whatever](*, whatever)? 01:26
01:55 evalable6 left, linkable6 left
Geth raku-mode: Mercerenies++ created pull request #56:
Temporary fix for Issue #43
02:20 vrurg joined, frost joined 02:57 linkable6 joined 03:06 frost left 03:48 vrurg left 03:49 vrurg joined 04:49 quotable6 left, squashable6 left, benchable6 left, nativecallable6 left, releasable6 left, tellable6 left, linkable6 left, notable6 left, bloatable6 left, coverable6 left, shareable6 left, bisectable6 left, committable6 left, greppable6 left, statisfiable6 left, unicodable6 left, sourceable6 left, reportable6 left, quotable6 joined, unicodable6 joined 04:50 committable6 joined, notable6 joined, releasable6 joined 04:52 bisectable6 joined, bloatable6 joined 04:56 frost joined 04:57 evalable6 joined 05:51 coverable6 joined 06:10 squashable6 joined 06:49 nativecallable6 joined 06:51 vrurg_ joined, sourceable6 joined, greppable6 joined 06:52 benchable6 joined 06:54 vrurg left 07:09 squashable6 left 07:10 reportable6 joined 07:11 squashable6 joined 07:19 frost left 07:38 abraxxa joined 07:42 abraxxa left 07:43 abraxxa joined 07:50 linkable6 joined 07:52 tellable6 joined, immediate joined
immediate hello! I have a string of length 4, I need to make it 7 by repeating things. Context: 3 digit CSS color code, e.g., `#FAB` to become `#FFAABB`. I do this 07:58
m: my $s = "#FAB"; say "#" ~ $s.comb.skip.map(* x 2).join 07:59
camelia #FFAABB
immediate Question is how you would do it? Some regex could be?
07:59 laidback_01 left
immediate or is it fine enough? (im relateively new to language) 07:59
oh there is raku-beginner i should have posted there I guess... 08:01
08:02 laidback_01 joined 08:09 laidback_01 left
CIAvash m: say '#FAB'.subst: :g, /\w/, * x 2 # regex version 08:27
camelia #FFAABB
08:37 Sgeo left 08:39 laidback_01 joined
CIAvash m: say '#FAB'.comb.rotor(1, 3).&{.[0] ~ .[1]Ā».&(* x 2).join} # Another way to write your solution 08:46
camelia #FFAABB
08:48 frost joined
immediate thanks 08:50
08:51 statisfiable6 joined
CIAvash m: say '#FAB'.wordcase: :filter{.combĀ».&(* x 2).join} # and another solution 08:52
camelia #FFAABB
08:53 Darkcoal joined 09:08 frost left 09:10 dakkar joined
lizmat immediate: I would have used your original version 09:13
09:27 jjido joined 09:39 jjido left 09:51 shareable6 joined 10:08 squashable6 left 10:11 Guest53 joined 10:12 Guest53 left 10:22 immediate left 10:57 linkable6 left 11:34 curiosa joined 12:05 reportable6 left 12:10 squashable6 joined 12:44 curiosa left 13:07 reportable6 joined 13:23 SqrtNegInf joined
lizmat clickbaits rakudoweekly.blog/2022/02/14/2022-...-released/ 13:46
13:59 linkable6 joined 14:03 discord-raku-bot left 14:04 discord-raku-bot joined 14:08 vrurg joined 14:10 vrurg_ left 15:10 linkable6 left, evalable6 left, Sgeo joined 15:12 evalable6 joined 15:13 linkable6 joined
[Coke] bisectable doesn't work on windows, right? 15:22
is it something I could run on my laptop and use directly rather than via IRC?
MasterDuke yeah 15:30
checkout how Blin does it 15:35
ugexe i think those might relying on some non-windows commands 15:37
[Coke] I just figure if I have to do another bisect on this windows laptop, I'm going to want it to be a managed thing, not me doing the bisect and rebuild by hand (throwing out the deploy each time.)
I can fix that part.
I mean, theoretically 15:38
ugexe on windows i usually bisect by release 15:41
just switching between them with rakubrew
so yeah not the most automated process
you can also build specific commits ala `rakubrew build moar 234jfj39` 15:42
for once you find the release it started
[Coke] I used git bisect in a rakudo build, and did rm -rf /c/raku /c/sandbox/rakudo/nqp before each build, and it's gone ok 15:52
but either way there's management going on I'd rather script
crap. typed "git bisect good' on the last one... and it's hanging. like 5m now 16:04
ah, windows highlight paused output. oops 16:05
16:07 Xliff joined
[Coke] one of two skipped commits, an NQP bump or github.com/rakudo/rakudo/commit/da...fd658300cd 16:08
will try master with the latter reverted and see if that works. 16:09
Xliff CAn you untap a supply or force a tapped handler to stop responding to events? 16:10
16:13 abraxxa left
[Coke] does bisectable deal with nqp bumps and dig into nqp commits, or just report that out as a single rakudo commit? 16:13
MasterDuke single rakudo commit. that's been a longstanding todo (same with moarvm commits) 16:14
16:15 abraxxa-home joined 16:21 rypervenche left
[Coke] crap. ok, still doesn't work with the one commit reverted. 16:34
which leaves the skipped NQP bump.
16:37 laidback_01 left
[Coke] ... which includes a moarvm bump. :P 16:38
ah. it ONLY includes a moarvm bump. 16:40
with 15 commits. 16:43
so it looks like shareable is handing out builds to use, those builds are all a specific kind of build, so would step one to add windows be to add any second arch type to shareable? 16:45
(and then at some point, a windows variant can be one?)
Xliff Can you untap a supply or force a tapped handler to stop responding to events? 16:56
japhb Xliff: I think there's some implicit context in what you are asking. Are you talking about a live or on-demand supply? Are you expecting to undo a single tap without disturbing other taps? Do you have control of the code in the tap handler? 17:06
Xliff japhb: I'm not sure about supply type. I want to untap just a single event and yes, I would have control of the code in the handler. 17:07
I suspect the Supply being tapped would come from a source Supplier, since i would need .emit
japhb I think I would tend to have an atomic flag visible to the tapping react that indicates mode (whether to ignore or not), and just drop events that arrive when ignoring. 17:19
17:35 dakkar left 17:48 djerius left 17:49 djerius joined 18:04 juanfra__ left 18:06 reportable6 left 18:52 jjido joined 19:02 dogbert11 left 19:06 squashable6 left 19:11 dogbert17 joined 19:23 mexen left 19:40 jjido left 19:43 nikhil joined, nikhil left 19:49 Darkcoal left 20:08 reportable6 joined
El_Che opera just over-raku'd raku: www.theverge.com/2022/2/14/2293291...s-urls-yat 20:38
[Coke] with "NFT" in the article, it has lost all meaning. 20:39
El_Che very true 20:40
guifa So basically, we're at AOL keyword $foo all over again 20:56
El_Che yes, but with blockchain
guifa Are we gonna get a fezcoin so we can have NFT blockchain yadda yadda namesquatting for modules? 20:59
guifa . o O ( yadda is a real Raku thing after all )
El_Che I read somewhere yadda yadda came fron Lenny Bruce 21:00
tonyo i have 100% of the fezcoins 21:03
El_Che rakudo-pkg, now with free fezcoins included 21:04
[Coke] rakuoin 21:06
21:07 squashable6 joined
El_Che rakuonion if you're a troll like me :) 21:08
[Coke] the most suspicious commits in the moarvm range for me are adding some JIT items. ... oh, I can run my tests without the JIT. Grumble. 21:09
(retrying with a fresh master.) 21:11
(should have thought to do that step 1!)
21:11 discord-raku-bot left 21:12 discord-raku-bot joined 21:18 lgtaube left 21:33 abraxxa-home left 21:57 qorg11 left 22:16 qorg11 joined 22:19 dogbert17 left 22:36 lgtaube joined 22:47 linkable6 left 22:50 linkable6 joined
guifa I get the utility of <?> as an always succeed. Is there any way to usefully use <!>? The only way I can think that it might be useful would be if it failed the whole token it was in (even when in alternation in some way) 23:04
23:21 linkable6 left, squashable6 left, reportable6 left, evalable6 left, shareable6 left, statisfiable6 left, tellable6 left, benchable6 left, greppable6 left, sourceable6 left, nativecallable6 left, coverable6 left, bloatable6 left, bisectable6 left, releasable6 left, committable6 left, notable6 left, unicodable6 left, quotable6 left, jjatria left, [Coke] left, kybr left, corwin left, KotH left 23:23 linkable6 joined, squashable6 joined, reportable6 joined, evalable6 joined, shareable6 joined, statisfiable6 joined, tellable6 joined, benchable6 joined, greppable6 joined, sourceable6 joined, nativecallable6 joined, coverable6 joined, bloatable6 joined, bisectable6 joined, releasable6 joined, notable6 joined, committable6 joined, unicodable6 joined, quotable6 joined, jjatria joined, [Coke] joined, kybr joined, corwin joined, KotH joined