🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:08 arkiuat joined 00:09 librasteve joined 00:12 arkiuat left 00:14 librasteve left 00:27 librasteve joined 00:32 librasteve left 00:37 arkiuat joined 00:41 arkiuat left 01:00 arkiuat joined 01:04 arkiuat left 01:14 ACfromTX joined 01:25 librasteve joined 01:33 arkiuat joined 01:37 arkiuat left 01:44 arkiuat joined 01:47 kylese left, hulk joined 01:50 arkiuat left 02:08 arkiuat joined 02:14 arkiuat left 02:15 hulk left 02:16 kylese joined 02:25 librasteve left 02:34 arkiuat joined 02:37 librasteve joined 02:39 arkiuat left 02:41 librasteve left 03:02 arkiuat joined 03:08 arkiuat left 03:09 librasteve joined 03:18 librasteve left 03:32 librasteve joined 03:34 arkiuat joined 03:39 librasteve left, arkiuat left 03:45 kylese left 03:48 kylese joined 03:51 librasteve joined 03:55 librasteve left 04:03 arkiuat joined 04:08 arkiuat left 04:18 librasteve joined 04:23 librasteve left 04:27 bingos_ joined 04:28 BinGOs left 04:37 arkiuat joined 04:39 guifa left 04:42 arkiuat left 04:51 librasteve joined 04:56 librasteve left 05:04 arkiuat joined 05:09 arkiuat left 05:10 librasteve joined 05:21 arkiuat joined 05:25 arkiuat left 05:43 Aedil joined 05:49 arkiuat joined 05:58 arkiuat left 06:27 arkiuat joined 06:32 arkiuat left 06:46 arkiuat joined 06:53 arkiuat left 06:54 Sgeo left
disbot3 <jubilatious1_98524> @librasteve Can you make an entry here? www.techempower.com/benchmarks/#section=intro 07:02
07:02 jjido joined 07:05 arkiuat joined 07:06 donaldh left 07:13 arkiuat left 07:16 librasteve left 07:19 librasteve joined 07:20 human-blip left 07:22 human-blip joined 07:24 librasteve left, arkiuat joined 07:26 bingos_ is now known as BinGOs 07:27 BinGOs left, BinGOs joined 07:29 arkiuat left 07:42 librasteve joined 07:47 librasteve left 07:49 arkiuat joined 07:54 arkiuat left 08:00 librasteve joined 08:06 librasteve left 08:08 wayland76 joined 08:10 jjido left 08:18 librasteve joined 08:20 Aedil left, dakkar joined 08:25 arkiuat joined 08:30 arkiuat left 08:40 librasteve left 08:42 arkiuat joined 08:47 arkiuat left 08:57 ecocode joined, librasteve joined 09:00 jjido joined 09:01 ecocode left
timo librasteve: i was wondering how you could tell that i was using vim for the blog post i published recently (the one about repeating parts of a text when a word is repeated) 09:01
09:06 arkiuat joined 09:11 arkiuat left 09:12 melezhik joined 09:13 donaldh joined, lichtkind joined
melezhik stackoverflow.com/search?q=Raku%2FSparrow - if someone is interested awk/sed VS Raku/Sparrow , post my answers from time to time 09:15
Sorted by newest - stackoverflow.com/search?tab=newes...searchOn=3 09:16
Please vote up IF you like it ) 09:17
09:20 wayland76 left
melezhik Someone consistently downvotes my answers though ( , sigh , people love awk better then Raku 09:39
09:40 arkiuat joined 09:44 jjido left, arkiuat left
disbot3 <jubilatious1_98524> @melezhik. Thanks for the links, Alexey! Will take a look. 09:49
melezhik jubilatious: ++ 09:55
09:56 librasteve left
apogee_ntv lizmat: I transferred the repo and just pushed 0.3.1 to zef with metadata reading/writing support. 09:57
lizmat apogee_ntv++
apogee_ntv I really like mi6 already :D
lizmat yeah, so do I :-) 09:58
apogee_ntv Is there any way to tell it to use a specific ssh identity file when pushing to git? 09:59
lizmat *phew* I only ever use one identity 10:00
apogee_ntv Yeah I have one for a client Azure cluster and it keeps trying to use that :D
10:00 librasteve joined 10:02 wayland76 joined 10:05 librasteve left
apogee_ntv It's not a major inconvenience, I just have to do a manual git push after everything else is done. 10:05
lizmat thinks that should be googleable 10:07
perhaps an env variable ?
apogee_ntv Thinking about it yeah I could probably export GIT_SSH_COMMAND from .zshrc
10:08 arkiuat joined
apogee_ntv I very rarely use the other identity for git, only terraform for that Azure cluster which changes once in a blue moon. 10:08
10:12 arkiuat left 10:16 euandreh joined 10:39 librasteve joined 10:40 arkiuat joined 10:45 arkiuat left 10:47 apac joined 11:11 arkiuat joined 11:13 jjido joined 11:18 jjido left 11:19 arkiuat left 11:24 Aedil joined 11:43 apac left 11:44 guifa joined 11:46 librasteve left, arkiuat joined
wayland76 weekly: wayland.github.io/blog/raku/Reachi...-Entry.xml 11:49
notable6 wayland76, Noted! (weekly)
11:50 guifa left, arkiuat left
lizmat www.shadowcat.co.uk/2025/07/09/rip...the-world/ 11:54
patrickb Oh wow. This is sad. 😢 11:56
[Coke] too young. :( 11:57
11:58 librasteve joined 12:02 librasteve left 12:04 jjido joined 12:11 arkiuat joined 12:12 melezhik left 12:13 librasteve joined 12:15 arkiuat left
apogee_ntv Far too young. 12:21
12:43 arkiuat joined
timo that's terrible :( 12:46
12:48 arkiuat left 13:02 jjido left
jdv that's crazy and terrible 13:06
13:10 arkiuat joined 13:15 arkiuat left 13:16 librasteve left 13:18 jjido joined 13:22 librasteve joined 13:27 librasteve left, arkiuat joined 13:32 arkiuat left 13:39 librasteve joined 13:42 jjido left 13:43 wayland joined, wayland76 left, apac joined 13:44 librasteve left 13:48 arkiuat joined 13:53 arkiuat left 13:56 librasteve joined
japhb Far too young is far too common. :-( 14:06
14:06 arkiuat joined 14:15 arkiuat left 14:28 arkiuat joined
ugexe his irc session lives on 14:30
disbot3 <jubilatious1_98524> Very sad news.
14:32 jjido joined 14:35 arkiuat left
disbot3 <melezhik.> jubilatious1_98524: SO reverted all your upvotes as serial ones , anyways I appreciate your support ))) 14:42
[Coke] pings Ruth about the YT playlist 14:50
14:55 librasteve left 14:57 arkiuat joined 15:02 arkiuat left 15:11 librasteve joined, apac left 15:19 librasteve left 15:29 arkiuat joined 15:35 arkiuat left, librasteve joined 15:43 librasteve left 15:45 apac joined 15:49 arkiuat joined 15:52 jjido left 15:57 arkiuat left 15:58 arkiuat joined 16:02 arkiuat left, librasteve joined 16:14 arkiuat joined 16:15 apac left 16:21 arkiuat left
apogee_ntv How can I compile a string as a regex? i.e. I have "/foo/gi" in a string (dynamic input) and want to make a Regex method from it? 16:26
tonyo is gi the replacement or flags? 16:30
apogee_ntv flags 16:31
From spec: - regex pattern: A Regular Expression pattern that is used to match the text, for example, `/hello/i`. 16:34
tonyo are you able to separate the flags?
m: my $x = "foo"; say "hello foo" ~~ m/$x/;
apogee_ntv I should be able to string split
camelia ï½¢fooï½£
16:35 dakkar left
tonyo m: my $x = "foo"; say "hello fo" ~~ m/$x/; 16:35
camelia False
lizmat apogee_ntv: maybe raku.land/zef:lizmat/Needle::Compile could be of use ?
tonyo neat lib
apogee_ntv m: my $x = "foo$"; my $flags = "i"; say "HELLO FOO" ~~ m/$x/$flags; 16:37
camelia ===SORRY!=== Error while compiling <tmp>
Non-variable $ must be backslashed
at <tmp>:1
------> my $x = "foo<HERE>$"; my $flags = "i"; say "HELLO FOO" ~~
expecting any of:
double quotes
prefix
term
apogee_ntv m: my $x = "foo$"; my $flags = "i"; say "HELLO FOO" ~~ m:Perl5/$x/i; 16:38
camelia ===SORRY!=== Error while compiling <tmp>
Non-variable $ must be backslashed
at <tmp>:1
------> my $x = "foo<HERE>$"; my $flags = "i"; say "HELLO FOO" ~~
expecting any of:
double quotes
prefix
term
apogee_ntv Hm
lizmat: Maybe, I guess this is less simple than I expected :D 16:39
16:40 arkiuat joined
apogee_ntv m: my $x = "foo$"; my $flags = "i"; say "HELLO FOO" ~~ m/:$flags $x/; 16:41
camelia ===SORRY!=== Error while compiling <tmp>
Non-variable $ must be backslashed
at <tmp>:1
------> my $x = "foo<HERE>$"; my $flags = "i"; say "HELLO FOO" ~~
expecting any of:
double quotes
prefix
term
16:46 arkiuat left 16:47 melezhik joined 16:59 arkiuat joined 17:04 arkiuat left 17:07 librasteve left 17:10 arkiuat joined 17:19 librasteve joined 17:20 arkiuat left 17:26 librasteve left 17:29 arkiuat joined 17:34 arkiuat left 17:43 Guest67 joined 17:46 Guest67 left 17:50 librasteve joined 17:54 librasteve left 18:00 Guest67 joined, arkiuat joined
Voldenet in the worst case you can always use eval 18:01
m: my $x = "f(.)\$0"; use MONKEY-SEE-NO-EVAL; my $rx = EVAL("rx:i/$x/"); say ($_, $_ ~~ $rx) for <FOO foo FOP fo>
camelia (FOO ï½¢FOOï½£
0 => ï½¢Oï½£)
(foo ï½¢fooï½£
0 => ï½¢oï½£)
(FOP Nil)
(fo Nil)
Voldenet it's extremely unsafe, but snce regexes are pretty much code, you have trust the input anyway 18:02
otherwise denial of service attacks are possible
18:04 arkiuat left 18:10 librasteve joined, Guest67 left 18:28 arkiuat joined 18:32 arkiuat left
apogee_ntv Not on Raku.Land yet but I just pushed LLM::Character, Character Card v3 import & fast lorebook matching for LLM inferencing (it's basically custom GPTs on steroids). 18:41
18:59 arkiuat joined
lizmat apogee_ntv: you may want to open up issues on github.com/m-doughty/Image-PNG-Portable 19:00
19:04 arkiuat left
apogee_ntv Done 19:05
19:06 melezhik left 19:14 librasteve left
lizmat apogee_ntv++ 19:20
19:21 [Coke] left 19:23 [Coke] joined 19:26 librasteve joined 19:30 librasteve left 19:33 arkiuat joined 19:36 jjido joined 19:38 arkiuat left 19:49 arkiuat joined 19:54 sftp joined 19:58 arkiuat left 20:00 librasteve joined 20:01 arkiuat joined 20:05 librasteve left 20:06 arkiuat left 20:12 arkiuat joined 20:15 oodani left 20:16 oodani joined
apogee_ntv How do you do a tell to someone for when they get online? 20:20
20:22 arkiuat left
[Coke] .tell apogee_ntv like this 20:25
tellable6 [Coke], I'll pass your message to apogee_ntv
apogee_ntv .tell Xliff Thoughts re: Notcurses - we should put a build script in the repo similar to the one I have for tokenizers that builds the right version since notcurses breaks BC so often. I looked over the high level interface and it looks very solid. Does it default to running in a second thread? 20:26
tellable6 apogee_ntv, I'll pass your message to Xliff
20:27 librasteve joined 20:36 arkiuat joined 20:41 arkiuat left 20:42 librasteve left 20:49 librasteve joined
apogee_ntv Thanks [Coke] 20:49
tellable6 2025-07-09T20:25:00Z #raku <[Coke]> apogee_ntv like this
20:53 librasteve left 21:02 arkiuat joined 21:05 Aedil left 21:06 arkiuat left 21:08 librasteve joined 21:13 librasteve left 21:16 apac joined, librasteve joined 21:21 guifa joined 21:22 librasteve left 21:23 apac left 21:34 librasteve joined 21:35 arkiuat joined 21:40 arkiuat left, [Coke] left 21:42 librasteve left 21:56 librasteve joined 21:59 arkiuat joined 22:00 librasteve left 22:11 arkiuat left 22:12 librasteve joined 22:16 lichtkind left 22:17 librasteve left 22:21 arkiuat joined 22:31 Sgeo joined 22:34 jjido left 22:36 phogg left 22:40 librasteve joined, jjido joined 22:44 librasteve left 22:51 jjido left 23:08 wayland left
apogee_ntv You cannot create an instance of this type <-- Any idea what usually causes this? Never seen it before. 23:12
23:12 librasteve joined
guifa What's the type? 23:15
some classes aren't designed to be instantiated (e.g. can't do .new on them)
23:18 librasteve left
apogee_ntv The answer is not having a use for the class :D I'm too tired to be coding evidently. 23:23
23:24 arkiuat left 23:30 librasteve joined 23:35 librasteve left 23:37 arkiuat joined, [Coke] joined 23:40 phogg joined 23:44 librasteve joined 23:48 arkiuat left 23:49 librasteve left 23:59 phogg` joined, phogg left, phogg` is now known as phogg, arkiuat joined