00:07 jjido left, reportable6 left 00:10 reportable6 joined 00:17 epony joined 00:20 jpn joined 00:31 jpn left 00:43 jpn joined 00:53 jpn left 01:00 swaggboi left 01:05 jpn joined 01:18 euandreh left 01:19 euandreh joined 01:27 jpn left 01:30 swaggboi joined 01:42 jpn joined 01:46 euandreh left 01:47 jpn left, euandreh joined 01:53 Xliff joined
Xliff \o 01:54
Is there a &*ROUTINE analog for Blocks?
my $a = -> *@a { ... $*BLOCK or &*BLOCK doesn't work ... } 01:55
m: my $a = -> *@a { &?BLOCK.signature.params.say }; $a() 01:57
camelia (*@a)
Xliff \o/
m: sub a { &?BLOCK.signature.params.say }; a()
camelia ()
Xliff m: sub a { &?ROUTINE.signature.params.say }; a()
camelia ()
Xliff m: sub a { &*ROUTINE.signature.params.say }; a()
camelia Dynamic variable &*ROUTINE not found
in sub a at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: sub a (*@a) { &?BLOCK.signature.params.say }; a() 01:58
camelia (*@a)
Xliff Ah! That's nice
m: sub a (*@a) { { &?BLOCK.signature.params.say } }; a() 01:59
camelia (Mu $_? is raw = OUTER::<$_>)
02:00 jpn joined
Xliff m: sub a (*@a) { rand -> $_ { &?BLOCK.signature.params.say } }; a() 02:01
camelia ===SORRY!=== Error while compiling <tmp>
Unexpected block in infix position (missing statement control word before the expression?)
at <tmp>:1
------> sub a (*@a) { rand⏏ -> $_ { &?BLOCK.signature.params.say }
expecting any…
Xliff m: sub a (*@a) { (^10).pick -> $_ { &?BLOCK.signature.params.say } }; a()
camelia ===SORRY!=== Error while compiling <tmp>
Unexpected block in infix position (missing statement control word before the expression?)
at <tmp>:1
------> sub a (*@a) { (^10).pick⏏ -> $_ { &?BLOCK.signature.params.say }
expecti…
Xliff m: sub a (*@a) { do (^10).pick -> $_ { &?BLOCK.signature.params.say } }; a()
camelia ===SORRY!=== Error while compiling <tmp>
Unexpected block in infix position (missing statement control word before the expression?)
at <tmp>:1
------> sub a (*@a) { do (^10).pick⏏ -> $_ { &?BLOCK.signature.params.say }
expe…
Xliff m: sub a (*@a) { $_ = (^10).pick; { &?BLOCK.signature.params.say } }; a()
camelia (Mu $_? is raw = OUTER::<$_>)
Xliff m: sub a (*@a) { $_ = (^10).pick; { &?BLOCK.signature.params.say ; .say} }; a()
camelia (Mu $_? is raw = OUTER::<$_>)
6
02:03 razetime joined 02:05 euandreh left 02:13 euandreh joined 02:18 euandreh left 02:29 perlbot left 02:30 perlbot joined, simcop2387 left 02:33 simcop2387 joined 02:37 euandreh joined 02:41 jpn left, euandreh left 02:44 euandreh joined 02:47 habere-et-disper left 02:55 razetime left 02:56 razetime joined 03:04 Kaiepi joined 03:09 jpn joined 03:18 jpn left 03:31 jpn joined 03:36 sgrs left 04:09 jpn left 04:36 jpn joined 04:50 jpn left 04:57 sortiz joined 05:03 jpn joined
sortiz ToddAndMargo: My NativeHelpers::Blob module includes a blob-from-pointer sub. See: raku.land/github:salortiz/NativeHelpers::Blob 05:03
ToddAndMargo would you write out a sample so I can see what the syntax is?  I have a Pointer and I have the number of bytes.  How would I use them in your sub? 05:09
05:10 jpn left 05:17 Guest15 left
sortiz my Pointer[uint8] $P = get-a-pointer-somehow(...); my $buff = blob-from-pointer($P, 9); # Now buff is a Buf of size 9 taken from the memory pointed by $P 05:18
I'm using Pointer[uint8] for $P so it point to bytes. 05:22
05:22 jpn joined 05:25 razetime left 05:26 razetime joined
sortiz Ups, the use is `… = blob-from-pointer($P :elems(9));` elems is a named argument, sorry. 05:27
In the code of some DBDIsh drivers you can see some real use-cases. For example github.com/raku-community-modules/...akumod#L76 05:31
05:41 razetime left, razetime joined
ToddAndMargo Thank you! 05:48
05:58 sortiz left 05:59 jpn left 06:07 reportable6 left 06:08 reportable6 joined 06:22 razetime left, razetime joined 06:26 tirnanog left, jpn joined 06:32 jpn left 06:45 jpn joined 07:01 squashable6 left 07:02 squashable6 joined 07:09 jpn left 07:33 a3r0 left 07:34 a3r0 joined 07:38 jpn joined 07:40 abraxxa joined 07:44 patterner____ left, kybr left, patterner____ joined 07:45 kybr joined, abraxxa left, abraxxa joined 07:58 jjido joined 08:27 jpn left 08:40 jpn joined 09:07 jjido left 09:10 dakkar joined 09:28 razetime left 09:29 razetime joined 09:36 Sgeo left 09:44 MoC joined 09:47 razetime_ joined 09:48 razetime left 09:54 razetime_ left 09:55 razetime joined 10:03 sena_kun joined 10:08 jpn left 10:15 razetime left 10:16 razetime joined 10:18 MoC left 10:23 jpn joined 10:25 razetime left, razetime joined 10:30 razetime left 10:31 razetime joined 10:50 habere-et-disper joined 11:04 sgrs joined 11:06 habere-et-disper left 11:12 jmcgnh left 11:19 razetime left 11:20 jmcgnh joined, razetime joined 11:30 sena_kun left 11:31 sena_kun joined 11:34 razetime left, razetime_ joined 11:43 razetime_ is now known as razetime 12:08 reportable6 left 12:11 reportable6 joined 12:34 frost19 joined, ToddAndMargo left 12:46 jpn left 12:52 Maylay left, Maylay joined 13:13 jpn joined 13:21 frost19 left 13:42 Maylay left 13:46 jpn left 13:50 tirnanog joined 13:51 abraxxa left 14:02 Maylay joined 14:03 jpn joined 14:36 Maylay left 14:52 Maylay joined 15:24 Maylay left
tbrowder happy Thanksgiving for all US Rak[uu|oo]ns! 15:31
15:35 m_athias left, nine left, nine joined, m_athias joined
Nemokosch 😮 15:40
tbrowder ugexe: In a situation where two different modules have the same names for a bin prog. is there any way to get zef to warn about that before installation? 15:48
15:58 razetime left
Geth advent: tbrowder++ created pull request #100:
update
16:03
advent: e6de99eb2c | (Tom Browder)++ | raku-advent-2022/articles/tbrowder.md
update
advent: 57d73c0813 | (Tom Browder)++ (committed using GitHub Web editor) | raku-advent-2022/articles/tbrowder.md
Merge pull request #100 from tbrowder/tbrowder

update
16:05 linkable6 left 16:06 Maylay joined, linkable6 joined 16:10 Kaiepi left
Anton Antonov @tbrowser Ditto... 🦃 16:23
16:35 jpn left 16:43 jpn joined 17:04 epony left 17:09 MasterDuke joined 17:29 habere-et-disper joined 17:34 dakkar left 17:40 habere-et-disper left
Xliff tbrowder: Thanks! Happy Thanksgiving to you as well! 17:46
18:07 reportable6 left 18:08 jjido joined, reportable6 joined 18:29 Kaiepi joined 18:36 jpn left 18:42 euandreh left, euandreh joined 18:44 euandreh left, euandreh joined 18:48 euandreh left, euandreh joined 18:49 deoac joined 19:12 eseyman left 19:29 euandreh left, euandreh joined 19:34 Sgeo joined 19:48 euandreh left, deoac left 19:51 Guest9774 joined 19:53 Guest9774 left 19:57 euandreh joined 19:59 euandreh left 20:02 euandreh joined
patrickb o/ 20:09
I'm currently debugging Cro::Client. It seems as if a supply is not doing what it should. Is there a way to introspect a supplier/supply pair to see what subscribers there are? 20:10
20:17 ToddAndMargo joined 20:25 sena_kun left 20:31 MasterDukeMobile joined 20:40 MasterDukeMobile left 20:43 Xliff left 21:06 sgrs left 21:09 Guest32 joined 21:12 NemokoschKiwi joined
Nemokosch nine: can Inline::Python be used to import object from Python, or only for function calls? 21:13
21:13 NemokoschKiwi left 21:54 defaultxr left 22:01 sgrs joined 23:01 linkable6 left, evalable6 left 23:03 evalable6 joined 23:04 linkable6 joined 23:09 epony joined
[Coke] is there a way I can tell raku to ignore any installed modules? or setup a specific install directory so I can use just certain modules? 23:16
23:40 deoac joined