🦋 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:00 cetjs left 00:03 abdan left 00:04 abdan joined, djerius left, djerius joined
abdan How do we perform alternate capturing group consist of some alternates just like on the "usual" regex default i.e. not get reset ? 00:05
00:08 reportable6 left 00:10 reportable6 joined
abdan How do we perform alternate capturing group consist of some alternates just like on the "usual" regex default i.e. not get reset ? 00:20
00:20 abdan left 00:39 jjido left
[Coke] Your message made it through. 00:39
Most of the channel is in .eu time zones, FYI
I don't understand the ask, myself. can you give a more concrete example? 00:43
lucs Er, they left. 01:07
Voldenet but logs are eternal 01:10
lucs FSVO "eternal", but, fair enough :) 01:11
Voldenet I'll have them carved in stone to win an interned dispute ;) 01:14
lucs Hehe!
Voldenet I could suggest burning them onto wooden slices, but data rot could get them at some point 01:18
01:39 evalable6 left, linkable6 left 01:41 linkable6 joined 01:58 toothedsword joined 02:39 evalable6 joined 02:44 simcop2387 left, perlbot left 02:48 toothedsword left 03:07 Maxdamantus left, perlbot joined 03:10 simcop2387 joined, toothedsword joined 03:17 frost joined 03:33 toothedsword left 04:33 coverable6 left, evalable6 left, unicodable6 left, linkable6 left, nativecallable6 left, shareable6 left, tellable6 left, notable6 left, committable6 left, bisectable6 left, bloatable6 left, sourceable6 left, releasable6 left, statisfiable6 left, benchable6 left, greppable6 left, quotable6 left, squashable6 left, reportable6 left, squashable6 joined, shareable6 joined, reportable6 joined, greppable6 joined, bisectable6 joined 04:34 releasable6 joined 04:35 benchable6 joined, tellable6 joined, committable6 joined 04:36 notable6 joined, sourceable6 joined 04:45 mexen left 05:12 frost left 05:33 linkable6 joined 05:34 quotable6 joined, nativecallable6 joined 06:06 reportable6 left 06:08 frost joined 06:18 kjp left 06:33 bloatable6 joined 06:34 coverable6 joined 06:35 statisfiable6 joined 06:43 Garbanzo_ joined 06:54 frost left 07:23 guifa left 07:24 frost joined 07:34 evalable6 joined 07:35 unicodable6 joined 08:08 reportable6 joined 08:11 frost left 08:19 Garbanzo_ left 08:23 jjido joined 08:53 jjido left 09:00 jjido joined 09:40 jjido left 10:40 Sgeo left 11:30 jjido joined 12:07 reportable6 left 12:10 reportable6 joined 12:29 abraxxa-home joined 12:49 hasrthur joined 12:52 hasrthur left 13:42 raiph joined
raiph 6c: say 'abefo' ~~ /a [(b) | (c) (d)] (e)[(f)|(g)]/ 13:44
committable6 raiph, gist.github.com/373ba9e4c3ad65da7d...30c8ac5b42 13:45
raiph c: 2014.01 say 'abefo' ~~ /a [(b) | (c) (d)] (e)[(f)|(g)]/ 13:51
committable6 raiph, gist.github.com/9458ce85957a0ed0c1...d82dd1e645
14:03 A26F64 joined
Anton Antonov Is there a separate version of Comma of MacOS M1 (Apple Silicon) ? 14:10
14:56 timo joined 15:00 A26F64 left 15:22 abraxxa-home left 15:38 abraxxa-home joined 15:43 raiph left 15:46 abraxxa-home left 15:49 whatnext joined
whatnext hello all :) I have a question about CRO - if there are any CRO experts around :) 15:49
say I have some routes, and I want e.g. a new database connection each time any route is called, so my routes might be like `get -> 'page' { $db_connection.do_something() }` - how can I avoid explicitly creating $db_connection in every route? 15:52
MasterDuke i don't know, but you could also try asking in #cro 16:14
whatnext ah I didn't realise that channel existed - thanks for the tip :) 16:18
MasterDuke np
16:31 Skarsnik joined 16:53 hasrthur joined 16:58 hasrthur left 17:37 djerius left
MasterDuke m: my $a := MAST::Bytecode.new; $a.write_uint32(my uint $b := 4)   # lives just fine 17:38
camelia ===SORRY!=== Error while compiling <tmp>
Cannot bind to natively typed variable '$b'; use assignment instead
at <tmp>:1
------> ode.new; $a.write_uint32(my uint $b := 4⏏)   # lives just fine
MasterDuke nqp: my $a := MAST::Bytecode.new; $a.write_uint32(my uint $b := 4)   # lives just fine
camelia ( no output )
17:38 djerius joined
MasterDuke nqp: my $a := MAST::Bytecode.new; $a.write_uint32_at(my uint $b := 4, 0);  # throws with an odd error 17:39
camelia Too few positionals passed; expected 3 arguments but got 2
at gen/moar/stage2/MASTNodes.nqp:69 (/home/camelia/rakudo-m-inst-1/share/nqp/lib/MASTNodes.moarvm:write_uint32_at)
from <tmp>:1 (<ephemeral file>:<mainline>)
from gen/moar/stage2/NQPHLL.nqp:…
MasterDuke nqp: my $a := MAST::Bytecode.new; my uint $c := 0; $a.write_uint32_at(my uint $b := 4, $c);  # still throws 17:40
camelia Too few positionals passed; expected 3 arguments but got 2
at gen/moar/stage2/MASTNodes.nqp:69 (/home/camelia/rakudo-m-inst-1/share/nqp/lib/MASTNodes.moarvm:write_uint32_at)
from <tmp>:1 (<ephemeral file>:<mainline>)
from gen/moar/stage2/NQPHLL.nqp:…
MasterDuke nqp: my $a := MAST::Bytecode.new; my uint $b := 4; $a.write_uint32_at($b, my uint $c := 0);  # doesn't throw
camelia ( no output )
MasterDuke nqp: my $a := MAST::Bytecode.new; $a.write_uint32_at(4, my uint $c := 0);  # doesn't throw either 17:43
camelia ( no output )
MasterDuke i'm really not paying attention, that was supposed to be for #moarvm 17:45
[Coke] Anyone ever block that guest account? 17:46
17:52 hasrthur joined
lizmat [Coke] no, but it was a. a Guest account, and b. looked like a pretty general AWS IP number ? 17:56
18:07 reportable6 left 18:08 reportable6 joined 18:50 Sgeo joined 19:32 whatnext left 20:34 lichtkind joined 20:37 hasrthur_ joined, hasrthur left 20:53 MasterDuke left 20:58 Garbanzo_ joined 21:06 squashable6 left 21:07 squashable6 joined 21:16 MasterDuke joined 21:31 kjp joined 21:52 djerius left 21:53 lichtkind left 21:54 djerius joined 22:15 juanfra__ joined 22:19 juanfra_ joined, juanfra_ left, juanfra__ left, juanfra__ joined 23:08 Curiosa joined 23:13 Curiosa left 23:43 hasrthur_ left