🦋 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.
perryprog Personally speaking... I would probably say SmallM and BigM 00:13
(Case-insensitive filesystem or not) 00:14
tonyo sorry [Coke] i meant to tag vrurg about fez v45 ^ 01:03
[Coke] . 13:09
Xliff m: my $a = 42; { say OUTER::<$a> } 14:31
camelia 42
Xliff m: sub b { say OUTER::<$a> }; sub a { $a = 42; b(}; 14:32
camelia ===SORRY!=== Error while compiling <tmp>
Variable '$a' is not declared. Perhaps you forgot a 'sub' if this was
intended to be part of a signature?
at <tmp>:1
------> sub b { say OUTER::<$a> }; sub a { ⏏$a = 42; b(};
Xliff m: sub b { say OUTER::<$a> }; sub a { $a = 42; b};
camelia ===SORRY!=== Error while compiling <tmp>
Variable '$a' is not declared. Perhaps you forgot a 'sub' if this was
intended to be part of a signature?
at <tmp>:1
------> sub b { say OUTER::<$a> }; sub a { ⏏$a = 42; b};
Xliff m: sub b { say OUTER::<$a> }; sub a { $a = 42; b() };
camelia ===SORRY!=== Error while compiling <tmp>
Variable '$a' is not declared. Perhaps you forgot a 'sub' if this was
intended to be part of a signature?
at <tmp>:1
------> sub b { say OUTER::<$a> }; sub a { ⏏$a = 42; b() };
Xliff m: sub b { say OUTER::<$a> }; sub a { my $a = 42; b() };
camelia ( no output )
Xliff m: sub b { say OUTER::<$a> }; sub a { my $a = 42; b() }; a() 14:33
camelia Nil
Xliff m: my $a = "Fonz"; sub b { say OUTER::<$a> }; sub a { my $a = 42; b() }; a()
camelia Fonz
Xliff m: my $a = "Fonz"; sub a { sub b { say OUTER::<$a> }; my $a = 42; b() }; a()
camelia 42
Xliff OOhhhh!
m: my $a = "Fonz"; sub a { sub b { say OUTER::<&?ROUTINE> }; my $a = 42; b() }; a() 14:35
camelia Nil
Xliff m: my $a = "Fonz"; sub a { sub b { say OUTER::<&?ROUTINE>.signature.gist }; my $a = 42; b() }; a()
camelia Nil
Xliff m: my $a = "Fonz"; sub a ($a?, $b?, $c?) { sub b { say OUTER::<&?ROUTINE>.signature.gist }; my $a = 42; b() }; a()
camelia Potential difficulties:
Redeclaration of symbol '$a'.
at <tmp>:1
------> ER::<&?ROUTINE>.signature.gist }; my $a⏏ = 42; b() }; a()
Cannot assign to a readonly variable or a value
in sub a at <tmp> line 1
in block …
Xliff m: my $a = "Fonz"; sub a ($a?, $b?, $c?) { sub b { say OUTER::<&?ROUTINE>.signature.gist }; $a //= 42; b() }; a() 14:36
camelia Cannot assign to a readonly variable or a value
in sub a at <tmp> line 1
in block <unit> at <tmp> line 1
Xliff m: my $a = "Fonz"; sub a ($a? is copy, $b?, $c?) { sub b { say OUTER::<&?ROUTINE>.signature.gist }; $a //= 42; b() }; a()
camelia Nil
Xliff m: my $a = "Fonz"; sub a ($a? is copy, $b?, $c?) { say &?ROUTINE.signature.gist.say }; a() 14:37
camelia ($a? is copy, $b?, $c?)
True
Xliff m: my $a = "Fonz"; sub a ($a? is copy, $b?, $c?) { say &?ROUTINE.signature.params }; a()
camelia ($a? is copy $b? $c?)
Xliff m: my $a = "Fonz"; sub a ($a? is copy, $b?, $c?) { say &?ROUTINE.signature.params.elems }; a()
camelia 3
Xliff m: my $a = "Fonz"; sub a ($a? is copy, $b?, $c?) { say &?ROUTINE.signature.arity }; a() 14:38
camelia 0
knarkhov Hi, rakoons! Quick question - I'm trying to build Rakudo Star 2023.02, but build is failed with "Stage mast: MoarVM panic: MVM_platform_alloc_pages failed: 12". 18:33
Might it be caused by low mem available or smth like this 18:35
[Coke] Very likely 18:36
how much memory do you have?
I don't know what the current recommended amount is, but I think 2G was the absolute minimum at one point. 18:37
knarkhov Mem: free:972M used:54M avail:864M
[Coke] Yup, that's probably it, then. Sorry.
There are prebuilt options for some OSes off rakudo.org 18:38
knarkhov yep, I know, but I have a Rakudo Star with some patches, previously was able to build it this server. 18:39
anyway thanks for quick response!
prebuilt ver unfortunately is not my case, got Unhandled exception: Bytecode stream version too low on raku exec, old low-res server(((( 18:46
last option for me - build it in docker and pack to dist, I will report about this challenge :-P 18:49
tonyo knarkhov: there's some stuff built in containers already 18:52
you may be able to just yank the build from
i have a nightly here: hub.docker.com/repository/docker/t...ly/general
been running since 2019-03 18:53
knarkhov tonyo, many thanks!!!! 18:57
[Coke] I have two CPAN releases showing on raku.land that have been replaced by zef releases. 18:59
I also have a 'Slang:Date' showing in zef that was a typo for Slang::Date - need to remove all 3 of these. 19:00
ugexe I think for deletions an additional metric might be to allow deletions on things that have like under like 20 downloads 19:15
tonyo right now i restrict it to 24 hours 19:20
currently working on patrickb's enhancement to add checking for that kind of typo ^
[Coke] I should also move my two p6c releases to zef 19:22
.. those two are also already duplicated on zef
[Coke] Not sure how to clean up any of those. 19:25
Nemokosch wdym duplicated? 19:33
[Coke] there's a version of the distribution in both 19:41
(p6c and cpan copies of my distros will not be updated going forward, only zef)
Nemokosch oh okay. p6c distributions are easy to remove, at least 20:00
[Coke] finds github.com/coke/famflags when going through old github repos, and wonders if the $dayjob he created that for still uses it or if they have moved to unicode flags by now. 20:01
knarkhov short report about struggling with running latest raku on low mem server. Well, I built my custom Rakudo Star 2023.01 inside Debian 9.3 docker on my workstation: [2023-03-29T20:46:38] [INFO] The installation took 0h 06m 18s 22:26
Then gzipped whole build dir, copied to my debian server with 1Gb onboard))) and manually created a few symlinks /usr/local/*, checked their names in docker installation. Finally I've installed a few non-Star modules and restarted my web suite. It works: pheix.org/#rakuver
[Coke] knarkhov++ 22:30