🦋 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:02 lichtkind left, reportable6 left 00:04 reportable6 joined
holyghost [OT] Here's a Creative Commons film script/book/campaign I'm working on : www.mediafire.com/file/he7j9zsjyj6...1.pdf/file 00:13
It's just a work document now, for making a game out of it. There's a narrative of 2.5 pages in the first chapter 00:14
00:21 djerius left
holyghost Then, me artsy and software store at ko-fi.com/brandywine9 00:21
00:22 djerius joined
holyghost Myth Drannor is far away :-) 00:26
00:43 kjp left 00:48 kjp joined 01:48 committable6 left, bloatable6 left, squashable6 left, greppable6 left, coverable6 left, nativecallable6 left, statisfiable6 left, bisectable6 left, shareable6 left, quotable6 left, benchable6 left, notable6 left, releasable6 left, sourceable6 left, tellable6 left, unicodable6 left, evalable6 left, reportable6 left, linkable6 left, nativecallable6 joined 01:49 tellable6 joined, bloatable6 joined, reportable6 joined, benchable6 joined, evalable6 joined 01:50 squashable6 joined, shareable6 joined 01:51 releasable6 joined, unicodable6 joined
Geth doc: e10cad70ca | (Tom Browder)++ | doc/Language/typesystem.pod6
Clarify effect of 'is required' on a private attribute
02:33
doc: e6572e4128 | (Tom Browder)++ (committed using GitHub Web editor) | 0 files
Merge branch 'master' into is-req
doc: e6003863e0 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/typesystem.pod6
Merge pull request #3967 from tbrowder/is-req

Clarify effect of 'is required' on a private attribute
02:49 committable6 joined 02:50 statisfiable6 joined 03:49 notable6 joined, greppable6 joined 03:51 bisectable6 joined
xinming in a scrpit, when we do rule xxx { } I get error which is undeclared name xxx used at... 04:05
m: rule ccc { \d+ }; 04:06
camelia Potential difficulties:
Useless declaration of a has-scoped method in mainline (did you mean 'my rule ccc'?)
at <tmp>:1
------> 3rule 7⏏5ccc { \d+ };
xinming m: my rule ccc { \d+ };
camelia ( no output )
xinming So, the rule/token declarator are forced to have my, am I right?
I thought rule/token/regex are all subs, which means should be the same as sub 04:07
codesections m: say (rule {foo}).^mro 04:27
camelia ((Regex) (Method) (Routine) (Block) (Code) (Any) (Mu))
codesections they're actually Methods 04:28
(so, a type of Routine (like Subs), but with a different default declarator and a few other differences)
xinming thanks, got it. 04:42
04:48 linkable6 joined 04:50 quotable6 joined 05:50 linkable6 left, quotable6 left, bisectable6 left, shareable6 left, nativecallable6 left, notable6 left, reportable6 left, tellable6 left, evalable6 left, statisfiable6 left, unicodable6 left, greppable6 left, bloatable6 left, benchable6 left, squashable6 left, releasable6 left, committable6 left, tellable6 joined, releasable6 joined, greppable6 joined, notable6 joined, unicodable6 joined 05:51 coverable6 joined, committable6 joined, quotable6 joined, statisfiable6 joined 05:52 linkable6 joined, squashable6 joined 06:20 pounce left 06:48 sourceable6 joined 06:50 bisectable6 joined 06:51 nativecallable6 joined, shareable6 joined 06:52 evalable6 joined 06:57 spacekookie left, spacekookie joined 07:05 Raghav joined
Raghav Hi 07:05
07:06 Raghav left, djerius left 07:07 djerius joined 07:13 Sgeo left
gfldex lolibloggedalittle: gfldex.wordpress.com/2021/09/24/convolution/ 07:41
07:48 frost joined 07:50 bloatable6 joined, benchable6 joined 07:56 patrickb joined
lizmat weekly: gfldex.wordpress.com/2021/09/24/convolution/ 07:57
notable6 lizmat, Noted! (weekly)
08:03 reportable6 joined
lizmat weekly: wimvanderbauwhede.github.io/articl...u-in-raku/ 08:03
notable6 lizmat, Noted! (weekly)
lizmat, Noted! (weekly) 08:04
08:04 tejr left 08:07 tejr joined 08:19 Geth left 08:20 RakuIRCLogger left 08:40 RakuIRCLogger joined 08:41 Geth joined 09:01 patrickb left 09:03 holyghost left 09:47 moon-child left 09:51 moon-child joined 09:52 lichtkind joined, Oshawott left 09:59 holyghost joined 10:43 Altai-man joined 11:09 holyghost left
Geth ecosystem: a19ebb6c6e | (Elizabeth Mattijsen)++ | META.list
Remove 3 modules by stuartlittle

Because they live identically in the zef ecosystem as well
11:31
12:02 reportable6 left 12:04 patrickb joined 12:35 djerius left 12:37 djerius joined 13:02 reportable6 joined
[Coke] any mac users here that use homebrew over macports? 13:24
Wondering if you have to jump through any hoops when upgrading the OS.
(macports provides guidance, but it feels like *several* manual steps)
13:26 [Coke] left, [Coke] joined
El_Che [Coke]: I have a mac but a very light mac use 13:31
I haven't encountered problems with homebrew after os updates
13:41 Sgeo joined
Geth ecosystem: bc5226ad53 | (Elizabeth Mattijsen)++ | META.list
Fix C::Parser URL
14:06
ecosystem: 438b22d8ba | (Elizabeth Mattijsen)++ | META.list
Some more META fixes
14:20
14:22 archenoth joined
Geth ecosystem: 1eee0c9e9a | (Elizabeth Mattijsen)++ | META.list
Inline::Perl5 / Inline::Python live on CPAN
14:30
ecosystem: c3d46c84ec | (Elizabeth Mattijsen)++ | META.list
Fix Pod::Parser URL

Making sure it won't depend on Github redirecting
14:39
ecosystem: c7fe18222b | (Elizabeth Mattijsen)++ | META.list
Sort the meta list
14:46 archenoth left 14:50 archenoth joined
Geth ecosystem: 09d4e1a47b | (Elizabeth Mattijsen)++ | META.list
Remove some more modules now living in zef ecosystem
14:52
ecosystem: 33abc9af4b | (Elizabeth Mattijsen)++ | META.list
neural-net distro appears to have left the building
15:00
15:03 PotatoGim left 15:04 pjlsergeant left 15:05 pjlsergeant joined, PotatoGim joined 15:22 patrickb left
Geth ecosystem: fe816a49cd | (Elizabeth Mattijsen)++ | META.list
Remove all of Tony O'Dell's modules

They all live in the zef ecosystem now
15:31
jdv curious why a bunch of stuff is being removed from non-zef ecos. isn't it a good shake out that they can co-exist just fine? 15:33
lizmat but these were identical 15:34
the old ecosystem URL pointed to the META6.json of the zef version
jdv is that a problem?
i would have thought the overall design would be fine with that 15:35
lizmat well, the zef ecosystem is the first to force compliance of the auth string
cpan and the old ecosystem do not
so, the auth strings inside the META cannot be trusted on CPAN en the old ecosystem 15:36
so sites like raku.land and modules.raku.org apply their own logic to create an auth value
jdv yeah but doesn't zef prefer fez or whatever so that's a lesser issue?
lizmat which ignores what is in the meta
it creates duplicates on sites like raku.land 15:37
jdv oh
lizmat and it creates the illusion of having multiple versions of a module, when there really aren't any
fwiw, I'm working on a "backpan" for the raku ecosystem 15:38
and getting the auth right is important for that :-)
Altai-man .tell Kaiepi could you please when it's comfortable bump versions for your modules which were fixed for new-disp, otherwise the "fix" merged is not visible? The modules are: Data::Record, Trait::Traced, Kind::Subset::Parametric. 15:40
tellable6 Altai-man, I'll pass your message to Kaiepi
tbrowder ref fez: is the code for the fez server setup open for public view? 15:41
i'm really interested in the email and dialog handling 15:42
jdv last i heard it was not
tbrowder btw, my simple shot at module Raku::Lint is on pre-publishing display at github.com/tbrowder/Raku-Lint. suggestions welcome 15:46
tonyo tbrowder: it uses mailgun, what do you mean by dialog handling? 15:47
tbrowder the prompts during registration, etc. 15:49
it could be cgi i guess 15:50
tonyo ah, the prompts all happen on the client side and get sent as one bulk request to the server 15:51
15:51 clarjon1 left
tonyo that code is for review in the fez repo 15:51
as well as how the password prompt works
tbrowder tonyo: thnx! 16:23
lizmat none of your zef:tony-o modules disappeared from the ecosystem afaics 16:32
tonyo on p6c? 16:34
i haven't removed them yet
lizmat tonyo: github.com/Raku/ecosystem/commit/fe816a49cd is what I did
16:39 frost left 16:43 Altai-man left
tonyo ah danke 16:50
17:02 squashable6 left 17:11 abraxxa joined 17:15 abraxxa left 17:16 abraxxa joined 17:23 abraxxa left 18:02 reportable6 left 18:05 reportable6 joined
Geth vim-raku: dkearns++ created pull request #33:
Set b:undo_indent
18:06
18:07 lichtkind_ joined 18:09 lichtkind left 18:25 summerisle left 18:45 summerisle joined
xinming m: my $rx = /[<[\d\w]>+] ** 6 %% [':' | '-'] /; 18:47
camelia ( no output )
xinming In this example, we can have regex to match : or -, any example to use `if` caluse to ensure the character after %% to be the same? 18:48
19:05 abraxxa joined 19:09 abraxxa left 19:15 abraxxa joined 19:18 abraxxa left 19:33 squashable6 joined 19:41 djerius left 19:42 djerius joined 19:43 japhb left 19:46 japhb joined 20:46 linkable6 left, evalable6 left 20:47 evalable6 joined, linkable6 joined
codesections m: say {:c(2), :a(0), :b(1)}.sort».value.Array 20:48
camelia [0 1 2]
codesections that ^^^ turns a hash with numerical keys into an Array. But I thought I used to know a shorter/clearer way to do so. Does anyone know one? 20:49
ugexe those aren't numerical keys 20:54
if you are trying to sort on the value i'd just do .values.sort.Array 20:55
codesections m: #`[doh, of course I meant:] say {2 => 'c', 0 => 'a', 1 => 'b'}.sort».value.Array 21:32
camelia Don't know setting RESTRICTED
at gen/moar/ModuleLoader.nqp:249 (/home/camelia/rakudo-m-inst-1/share/perl6/lib/Perl6/ModuleLoader.moarvm:previous_setting_name)
from gen/moar/ModuleLoader.nqp:254 (/home/camelia/rakudo-m-inst-1/share/perl6/lib/…
codesections m: say {2 => 'c', 0 => 'a', 1 => 'b'}.sort».value.Array
camelia [a b c]
21:47 linkable6 left, evalable6 left 21:48 evalable6 joined 22:48 evalable6 left 22:50 linkable6 joined 23:20 sena_kun left