🦋 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.
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
holyghost Then, me artsy and software store at ko-fi.com/brandywine9 00:21
holyghost Myth Drannor is far away :-) 00:26
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
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
Raghav Hi 07:05
gfldex lolibloggedalittle: gfldex.wordpress.com/2021/09/24/convolution/ 07:41
lizmat weekly: gfldex.wordpress.com/2021/09/24/convolution/ 07:57
notable6 lizmat, Noted! (weekly)
lizmat weekly: wimvanderbauwhede.github.io/articl...u-in-raku/ 08:03
notable6 lizmat, Noted! (weekly)
lizmat, Noted! (weekly) 08:04
Geth ecosystem: a19ebb6c6e | (Elizabeth Mattijsen)++ | META.list
Remove 3 modules by stuartlittle

Because they live identically in the zef ecosystem as well
11:31
[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)
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
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
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
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
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
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
tonyo ah danke 16:50
Geth vim-raku: dkearns++ created pull request #33:
Set b:undo_indent
18:06
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
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]