🦋 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:00 squashable6 left, quotable6 left, committable6 left, sourceable6 left, bloatable6 left, linkable6 left, benchable6 left, unicodable6 left, statisfiable6 left, greppable6 left, releasable6 left, evalable6 left, nativecallable6 left, shareable6 left, bisectable6 left, tellable6 left, reportable6 left, coverable6 left, notable6 left, bloatable6 joined, linkable6 joined, benchable6 joined, bisectable6 joined, evalable6 joined 00:01 releasable6 joined, quotable6 joined, committable6 joined, shareable6 joined, notable6 joined, greppable6 joined 00:02 tellable6 joined, reportable6 joined, sourceable6 joined 00:03 statisfiable6 joined, nativecallable6 joined, squashable6 joined, coverable6 joined, unicodable6 joined 00:20 deoac joined 00:28 [Coke]_ joined 00:29 [Coke] left 01:29 linkable6 left, nativecallable6 left, evalable6 left, statisfiable6 left, tellable6 left, bloatable6 left, coverable6 left, releasable6 left, sourceable6 left, unicodable6 left, benchable6 left, greppable6 left, squashable6 left, bisectable6 left, notable6 left, quotable6 left, reportable6 left, committable6 left, shareable6 left 01:30 releasable6 joined, benchable6 joined, shareable6 joined, nativecallable6 joined, committable6 joined 01:31 tellable6 joined, coverable6 joined, reportable6 joined, sourceable6 joined, linkable6 joined, notable6 joined 01:32 squashable6 joined, greppable6 joined, bisectable6 joined, quotable6 joined, evalable6 joined, bloatable6 joined, unicodable6 joined, statisfiable6 joined 01:36 Maylay left 01:37 Maylay joined 01:56 bigdata left 02:06 [Coke]_ left 02:08 MasterDuke left, deoac left 02:09 [Coke] joined 02:14 [Coke] left, [Coke]_ joined 03:14 coverable6 left, nativecallable6 left, sourceable6 left, bisectable6 left, greppable6 left, releasable6 left, bloatable6 left, linkable6 left, unicodable6 left, quotable6 left, notable6 left, benchable6 left, committable6 left, evalable6 left, shareable6 left, reportable6 left, tellable6 left, statisfiable6 left, squashable6 left, benchable6 joined, bloatable6 joined 03:15 shareable6 joined, greppable6 joined, reportable6 joined 03:16 releasable6 joined, squashable6 joined, coverable6 joined, nativecallable6 joined, notable6 joined, evalable6 joined, quotable6 joined, bisectable6 joined, statisfiable6 joined, unicodable6 joined, committable6 joined 03:17 sourceable6 joined, linkable6 joined, tellable6 joined 03:31 frost joined 03:43 [Coke] joined 03:44 [Coke]_ left 04:44 bisectable6 left, nativecallable6 left, benchable6 left, linkable6 left, tellable6 left, evalable6 left, greppable6 left, bloatable6 left, quotable6 left, releasable6 left, unicodable6 left, shareable6 left, reportable6 left, coverable6 left, committable6 left, statisfiable6 left, notable6 left, sourceable6 left, squashable6 left 04:45 reportable6 joined, unicodable6 joined, releasable6 joined, bisectable6 joined, linkable6 joined, notable6 joined, committable6 joined, evalable6 joined, bloatable6 joined, quotable6 joined, shareable6 joined 04:46 squashable6 joined, nativecallable6 joined, benchable6 joined 04:47 greppable6 joined, statisfiable6 joined, tellable6 joined, coverable6 joined, sourceable6 joined 05:20 [Coke]_ joined 05:21 [Coke] left 05:27 [Coke] joined 05:29 [Coke]_ left 06:08 reportable6 left 06:09 reportable6 joined 06:45 Nemokosch joined
Nemokosch Apple can always underperform my ever-so-low expectations of them 06:45
06:46 Nemokosch left 06:52 MoC joined 06:57 [Coke]_ joined 06:58 [Coke] left
Coke: thank you for the JSON link, I finally got to it 07:05
07:06 Sgeo left 08:06 sourceable6 left, benchable6 left, unicodable6 left, committable6 left, bisectable6 left, shareable6 left, releasable6 left, reportable6 left, tellable6 left, coverable6 left, nativecallable6 left, squashable6 left, bloatable6 left, notable6 left, quotable6 left, greppable6 left, evalable6 left 08:07 unicodable6 joined, greppable6 joined, tellable6 joined, quotable6 joined, committable6 joined, bisectable6 joined, squashable6 joined 08:08 benchable6 joined, sourceable6 joined, evalable6 joined, releasable6 joined 08:09 reportable6 joined, bloatable6 joined, notable6 joined 08:10 nativecallable6 joined, shareable6 joined, coverable6 joined 08:24 razetime joined 08:34 [Coke] joined 08:36 [Coke]_ left 08:41 [Coke]_ joined 08:43 MoC left, razetime left 08:44 [Coke] left, MoC joined
Is there an exposed <number> token somewhere? For matching numbers in a regular expression 08:55
I found it in Rakudo, then NQP, then HLL but I wouldn't want to copypaste it to an own script
08:55 razetime joined 09:07 pleasantpheasant left 09:14 pleasantpheasant joined 09:32 razetime left, razetime joined 09:56 razetime left 09:58 MoC left 10:11 [Coke] joined 10:12 [Coke]_ left 10:37 sena_kun joined 10:43 jaguart joined 11:19 frost left 11:22 jjido joined 11:30 jjido left 11:32 sena_kun left 11:33 sena_kun joined 11:36 simcop2387 left 11:37 simcop2387 joined 11:42 jjido joined 11:49 [Coke]_ joined 11:51 [Coke] left
Re: lifting ! negation over junctions - how do I express "if at least one element is not an Array"? 11:53
11:55 MoC joined 11:56 [Coke] joined 11:58 [Coke]_ left 12:04 Nemokosch joined 12:06 reportable6 left 12:09 jjido left, reportable6 joined 12:11 sena_kun left 12:12 sena_kun joined
lizmat m: dd ([],[],[]).are ~~ Array 12:13
camelia Bool::True
lizmat m: dd ([],[],()).are ~~ Array
camelia Bool::False
lizmat Nemokosch ^^
12:13 squashable6 left
lizmat sadly not documented yet 12:14
.are returns the type that is common to all values given
12:15 squashable6 joined 12:36 jaguart left
Nemokosch oh wow 13:06
thank you
El_Che p6steve: you should give podman a go. You can run the same setup on mac, win and linux and no root needed on Linux to run the containers 13:23
tellable6 El_Che, I'll pass your message to p6steve
13:26 [Coke]_ joined 13:28 [Coke] left 14:28 linkable6 left, evalable6 left 14:29 evalable6 joined 14:31 linkable6 joined 14:33 xinming left 14:36 xinming joined 14:50 Nemokosch left 14:52 Sgeo joined 15:03 [Coke] joined 15:05 [Coke]_ left
tonyo Podman++ 15:08
Doesn't eat 30gb of ram to run a 512mb container either
15:10 euandreh left 15:12 [Coke] left 15:14 [Coke] joined 15:17 euandreh joined 15:44 tejr left 15:48 tejr joined 15:51 sena_kun left
El_Che when developing I put my external services like keycloak and mysql in containers to run "author tests" 15:55
using podman make this very portable
16:00 MARTIMM joined 16:02 MARTIMM left 16:15 jetchisel left 16:17 jetchisel joined 16:24 deoac joined 16:40 [Coke]_ joined 16:42 [Coke] left 16:43 discord-raku-bot left, xinming left, discord-raku-bot joined 16:45 discord-raku-bot left 16:46 discord-raku-bot joined 16:58 discord-raku-bot left, discord-raku-bot joined 17:07 deoac left 17:41 euandreh left 17:42 euandreh joined
ugexe i'm soliciting ideas for for a zef-focused tpf grant. i was thinking maybe lockfile support, but that doesn't do much good unless we can change/disable the default repos (such that a script can be run using *only* an external repo, i.e. no site repo) 17:49
change/disable the default repos *in raku*
lizmat there's Zef::Configuration that allows you to do that
ugexe no, that can change zef configuration, not what repositories a raku implementation uses 17:50
`raku -I inst#whatever my-script.raku` will always include the site/home/vendor repos
which makes a lockfile mostly pointless 17:51
lizmat ah, ok :)
ugexe basically $*REPO.repo-chain should be settable via some ENV var 17:52
like entirely settable, not just additive
patrickb ugexe: There is the use case of rakubrew which I'd like to prevent installation into the installation repos, but into the home dir one (or one entirely separate). I think write protecting the repo dirs would word but is non portable. Some way to cleanly and transparently making the rakubrew installed zef do that would be nice. There might already be a related bug report. 17:53
ugexe then one can do `MY_ONLY_REPO=inst#foo raku my-scrip.raku` and only use modules in the inst#foo repo
patrickb s/word/work/
ugexe patrickb: there is a zef config to default to home 17:54
changing that to 'home' makes it install to 'home'. 'auto' installs to 'site' if it is writable, else 'home'
see: github.com/ugexe/zef/blob/6a14c383...kumod#L408 17:56
17:56 deoac joined
El_Che ugexe: If you don't take it as an insult, I would suggest refactoring the cli UI. One of the talks at raku conf described as a wall of text. 17:59
(if you don't take it as constructive criticism, I apologize)
ugexe yeah it sucks, but its a raku problem 18:00
El_Che a grant may provide you some time to work on that front?
Nemokosch well, it can be improved. Maybe not elegantly. 18:04
Confer GetOpt::Long and related attempts
ugexe i guess im more inclined to work on an area i have particular expertise in since i can know beforehand what is possible and the actual scope. i dont know enough about argument parsing to pick up that torch
18:06 reportable6 left
Nemokosch that's fair enough 18:06
18:08 reportable6 joined
In fact, I suppose anybody with enough time and patience could improve the feedback of failed argument parsing 18:08
18:17 [Coke] joined 18:19 [Coke]_ left 18:27 [Coke] left 18:30 [Coke] joined
El_Che fair enough 18:34
ugexe another thing is using CUR::Staging which means things would only be precompiled once (currently it happens twice; once when testing when they are loaded with a CUR::FileSystem and once when it gets installed to a CUR::Installation). the problem with this is that 1) `zef test .` would need to reinstall the dist in `.` to the temp CUR::Staging repo each time (which also would re-precompile everything, 18:36
something that doesn't happen with CUR::FileSystem) and 2) CUR::Staging workflow doesn't work when installing to repos other than site/home/vendor (i.e. no custom install locations)
18:40 [Coke] left 18:48 [Coke] joined 19:08 [Coke] left 19:11 squashable6 left, squashable6 joined 19:14 [Coke] joined
patrickb ugexe: I'd love to see you tackle the double precomp behavior. 19:15
19:24 [Coke]_ joined 19:27 [Coke] left 19:35 jjido joined 19:37 [Coke]_ left 19:49 Maylay left 19:52 jjido left 19:56 Maylay joined
tonyo ugexe: something like pyenv/venv? 20:16
tbrowder lizmat: i’m looking at yr Git::Status module seeking good practices. why do you use := here: “my $proc := run <…>, :out”? 20:18
and so on inside the block? anything to do with .precomp? 20:20
tonyo not sure if you saw last night tbrowder but i finally finished the cro tut deathbykeystroke.com/articles/2022...art-b.html 20:23
tbrowder tonyo: you da man! i need to look closer, but it looks like it’s the ultimate cookbook recipe for wannabe website hosts. you really should publish it as a Raku book, or at least part of one. 20:28
20:38 MoC left 20:51 archenoth left 21:05 Maylay left 21:08 Maylay joined 21:16 MasterDuke joined 21:54 [Coke] joined 21:59 [Coke] left, [Coke] joined 22:07 [Coke]_ joined 22:10 [Coke] left 22:12 deoac left, [Coke] joined 22:15 [Coke]_ left 22:19 deoac joined 22:25 sena_kun joined
tonyo heh, i think it might make more of a pamphlet unless i add in stuff about how to set up DNS and all the other stuff to consider when choosing a host, etc 22:35
but, tyvm
23:11 [Coke]_ joined 23:12 [Coke] left 23:14 sena_kun left 23:42 archenoth joined