🦋 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:08 reportable6 left 00:10 reportable6 joined 00:42 coleman left 00:46 zacts joined 00:51 zacts left 00:52 zacts joined 01:02 swaggboi left 01:09 swaggboi joined 01:16 zacts left 02:11 ocomport joined 02:34 melezhik joined
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.
02:39 melezhik left 02:54 melezhik joined
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
03:03 melezhik left 03:17 vrurg_ joined 03:20 vrurg left 03:27 Guest35 left 04:22 zacts joined 04:54 zacts left 05:18 dwarring left 06:07 reportable6 left 06:10 reportable6 joined 07:10 bloatable6 left, evalable6 left, committable6 left, quotable6 left, benchable6 left, sourceable6 left, releasable6 left, greppable6 left, shareable6 left, statisfiable6 left, reportable6 left, nativecallable6 left, bisectable6 left, linkable6 left, coverable6 left, notable6 left, tellable6 left, unicodable6 left 07:11 greppable6 joined, evalable6 joined, committable6 joined, bisectable6 joined 07:12 nativecallable6 joined, linkable6 joined, shareable6 joined, notable6 joined, reportable6 joined, sourceable6 joined, unicodable6 joined, coverable6 joined 07:13 quotable6 joined, statisfiable6 joined, benchable6 joined, tellable6 joined 07:14 releasable6 joined, bloatable6 joined 07:39 lichtkind joined 07:45 lichtkind left
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
08:23 Sgeo left 09:23 hythm joined
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
10:02 zacts joined 10:03 zacts left 10:34 hythm left 10:36 razetime joined 10:37 zacts joined 10:52 zacts left 10:57 zacts joined 11:10 saint- joined, lichtkind joined 11:30 zacts left 12:07 reportable6 left 12:09 reportable6 joined
Geth ¦ doc: Altai-man self-assigned Clarify categories for new terms github.com/Raku/doc/issues/4056 12:10
12:15 melezhik joined
melezhik . 12:15
12:18 melezhik left
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
12:49 Xliff joined 13:06 [Coke] left, razetime left 13:14 razetime joined 13:18 [Coke] joined
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
13:36 discord-raku-bot left, discord-raku-bot joined 13:57 Guest35 joined 14:21 razetime left 15:21 coverable6 left, shareable6 left, bisectable6 left, benchable6 left, tellable6 left, linkable6 left, notable6 left, unicodable6 left, committable6 left, quotable6 left, reportable6 left, nativecallable6 left, sourceable6 left, greppable6 left, greppable6 joined, reportable6 joined 15:22 quotable6 joined, coverable6 joined, bisectable6 joined, shareable6 joined 15:23 linkable6 joined, benchable6 joined 15:24 notable6 joined, committable6 joined, unicodable6 joined, nativecallable6 joined, sourceable6 joined, tellable6 joined 15:40 n1to joined 15:41 n1to left 15:42 n1to joined
nine [Coke]: zef --install-to='inst#/tmp/testrepo' --deps-only install . ; prove6 -I'inst#/tmp/testrepo' 15:49
16:10 zacts joined
[Coke] nine++ 16:21
16:34 melezhik joined
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
16:37 melezhik left, melezhik joined 16:38 melezhik left 16:39 zacts left
Geth doc: 276ab6d28e | Coke++ | CONTRIBUTING.md
Remove reference to obsolete file

Closes #4061
16:39
16:40 linkable6 left, linkable6 joined
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
16:54 melezhik joined 16:56 melezhik left 17:10 zacts joined
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
17:50 Sgeo joined 18:08 reportable6 left 18:09 melezhik joined 18:11 reportable6 joined 18:12 melezhik left, melezhik joined
melezhik . 18:12
tellable6 2022-04-23T16:50:41Z #raku <patrickb> melezhik: That seems sensible!
18:13 melezhik left
p6steve drakonis: ok - I see 18:47
18:50 TempIRCLogger joined 18:54 TempIRCLogger left, TempIRCLogger joined 19:19 ThDrMz left 19:32 ThDrMz joined 19:46 sena_kun left 19:48 sena_kun joined
Xliff \o 20:40
Has anyone experimented with connecting NativeCall to C++ generics/templates?
20:48 evalable6 left, linkable6 left, linkable6 joined 20:49 evalable6 joined 21:16 timo joined 21:32 colomon joined
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
21:44 p6steve left 21:56 ocomport left 22:02 Sgeo_ joined 22:03 Sgeo left 22:05 colomon left 22:06 Sgeo_ left 22:17 n1to left 22:23 zacts left 22:27 simcop2387 left 22:28 perlbot_ joined 22:29 simcop2387 joined, perlbot left 22:30 perlbot_ is now known as perlbot 22:41 zacts joined 22:46 lichtkind left 23:41 coleman joined 23:43 zacts left 23:51 donpdonp|z_ left