🦋 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.
melezhik . 02:34
tellable6 2022-04-22T23:14:19Z #raku <patrickb> melezhik: I have pushed some more progress to Devel::ExecRunnerGenerator. Now a `ake test-setup deploy-runner` is the incantation to use.
melezhik .tell patrickb I could think about custom build command that would replace a default one in SparkyCI , in that case - "ake test-setup deploy-runner" ... "zef install --depsonly && zef test ." will be still required afterwards? 02:58
tellable6 melezhik, I'll pass your message to patrickb
p6steve drakonis: why not distribute as a binary docker image? (like this stackoverflow.com/questions/516593...r-image)?? 08:15
drakonis size and lack of guarantees 08:19
plus it's supposed to be a library, so docker seems kind of weird 08:20
hythm m: sub f(int, int) {}; f(7, 42) 09:23
camelia ( no output )
hythm m: multi f(int, int) {}; f(7, 42)  ## is this a bug? 09:25
camelia Cannot resolve caller f(Int:D, Int:D); none of these signatures matches:
(int, int)
in block <unit> at <tmp> line 1
lizmat hythm: it's a known issue / problem / feature 09:31
consider this:
m: multi a(int $a) { dd }; multi a(Int:D) { dd }; a 42
camelia sub a(Int:D)
lizmat if you want to have dispatch based on native or not native, you need to fail your case 09:32
otherwise my example would be an ambiguous dispatch
m: multi a(int $a) { dd }; multi a(Int:D) { dd }; a my int $ =42 09:33
camelia sub a(int $a)
hythm got it, thanks lizmat 09:37
Geth ¦ doc: Altai-man self-assigned Clarify categories for new terms github.com/Raku/doc/issues/4056 12:10
melezhik . 12:15
Geth doc/document-index-categories: 6d14cbe219 | Altai-man++ | CONTRIBUTING.md
Explain new policy of index item categories
12:43
doc: Altai-man++ created pull request #4059:
Explain new policy of index item categories
12:44
Geth doc/other-languages-category: c751d6d115 | Altai-man++ | 6 files
Replace "Foreign" with "Other languages" category
13:33
doc: Altai-man++ created pull request #4060:
Replace "Foreign" with "Other languages" category
patrickb melezhik: That module is still in flux. My feeling is, that I would use the Akefile for the non standard setup bits (building the test support files and the runner itself) and separately do the `zef install --deps-only . && zef test ." in a standard manner. 13:36
tellable6 patrickb, I'll pass your message to melezhik
nine [Coke]: zef --install-to='inst#/tmp/testrepo' --deps-only install . ; prove6 -I'inst#/tmp/testrepo' 15:49
[Coke] nine++ 16:21
melezhik . 16:34
tellable6 hey melezhik, you have a message: gist.github.com/4c067f90c75f4a146f...96a8a745da
melezhik .tell patrickb sounds good, this matches current sparkyci design ... I think I may create custom pre build hook allowing to pass any arbitrary bash command that would precede "zef install ...&& zef test " main logic , this where you could tap in your ake command ... 16:36
tellable6 melezhik, I'll pass your message to patrickb
Geth doc: 276ab6d28e | Coke++ | CONTRIBUTING.md
Remove reference to obsolete file

Closes #4061
16:39
patrickb melezhik: That seems sensible! 16:50
tellable6 patrickb, I'll pass your message to melezhik
Geth doc: c751d6d115 | Altai-man++ | 6 files
Replace "Foreign" with "Other languages" category
16:53
doc: 16c3ee92c2 | Altai-man++ (committed using GitHub Web editor) | 6 files
Merge pull request #4060 from Raku/other-languages-category

Replace "Foreign" with "Other languages" category
Voldenet m: 1 ZXZXZXZXZ 2 17:19
camelia Potential difficulties:
Useless use of ZXZXZXZXZ in sink context
at <tmp>:1
------> 31 ⏏ZXZXZXZXZ 2
Voldenet m: say 1 ZXZXZXZXZ 2 17:20
camelia ((((((((((1 2))))))))))
Voldenet I really like this operator
breathes some new life into my boring code
gfldex Voldenet: Please don't wake the dragon! 17:32
Voldenet b-but it's a well-behaved list 17:33
it's a sort operator
nevermind, it isn't 17:34
still
m: say flat (1, 2) X (3, 4) 17:36
camelia (1 3 1 4 2 3 2 4)
Voldenet boring
m: say flat (1, 2) XXXXXXXXXXXXXX (3, 4)
camelia (1 3 1 4 2 3 2 4)
Voldenet everything about the code above says adventure
melezhik . 18:12
tellable6 2022-04-23T16:50:41Z #raku <patrickb> melezhik: That seems sensible!
p6steve drakonis: ok - I see 18:47
Xliff \o 20:40
Has anyone experimented with connecting NativeCall to C++ generics/templates?
colomon o/ all.  What's the current state of the art in lightweight database-y things for Raku?  Need some permanent store for a project, and while I could hack up something with text files, something a bit smarter than that where the work's already been done would be nice... 21:34
El_Che there is a sqllite modules I see 21:35
(I haven't used it)
japhb colomon: If lightweight is the key, El_Che is right -- probably use the SQLite driver. If you want something more multi-user robust, try Db::Pg. If you want an ORM, layer Red on top of Db::Pg. 21:43