🦋 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.
01:17 eseyman left 01:19 eseyman joined 02:20 japhb left 02:26 japhb joined 02:29 hulk joined 02:31 kylese left 03:15 hulk left, kylese joined 03:46 jpn joined 03:52 jpn left 05:10 antim0d3s joined 05:11 sdfgsdfg left 05:20 teatime left 05:24 jpn joined 05:28 jpn left, justache left 05:32 justache joined 05:55 justache left 05:58 justache joined 06:00 teatime joined 06:52 justache left 06:56 justache joined 07:00 lizmat_ joined, justache left 07:03 justache joined 07:04 lizmat left 07:14 jpn joined 07:18 jpn left 07:39 perryprog left 07:40 perryprog joined, oodani_ joined, oodani left 08:24 abraxxa joined 08:34 jpn joined 08:39 jpn left 08:54 abraxxa left 08:57 abraxxa-home joined 09:01 peder left 09:02 peder joined 09:15 lizmat_ left, lizmat joined 09:17 jpn joined 09:37 sena_kun joined 09:55 Xliff__ joined, Xliff_ left 10:13 sena_kun left 10:44 Sgeo left 12:26 jpn left 12:43 jpn joined 14:12 maylay joined 14:45 TieUpYourCamel left
tbrowder__ m: class F { has $.id submethod TWEAK { say self.^name }}; my $o = F.new 15:15
camelia ===SORRY!=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> class F { has $.id⏏ submethod TWEAK { say self.^name }}; m
expecting any of:
infix stopper
statement end
tbrowder__ m: class F { submethod TWEAK { say self.^name }}; my $o = F.new 15:17
camelia F
tbrowder__ eggscellent 15:18
15:19 Sgeo joined 15:29 epony left 15:37 noob123 joined 15:41 epony joined 15:47 noob123 left 16:09 TieUpYourCamel joined, noob123 joined
noob123 I am having trouble installing zef from source.  I type raku -I. bin/zef install .    per the instructions on the zef site.  I get an error message of "No such method 'remove-artifacts' for invocant of type 16:16
'CompUnit::Repository::Staging'".  How do I resolve this?
(this is on ubuntu 22 running on WSL on windows 11)
ugexe what version of raku are you using? raku -v 16:18
noob123 Welcome to Rakudo™ v2022.02.
Implementing the Raku® Programming Language v6.d.
Built on MoarVM version 2022.02.
as installed by apt install raku
nemokosch for what it's worth, apt sources are not really kept up to date 16:21
noob123 ok - so, it sounds like I should avoid the apt version and install per the instructions on raku.org ?
ugexe ideally yeah. alternative I suspect you could install zef v0.19.1 and it would work 16:22
noob123 any opinions regarding the use of rakubrew ? 16:23
worth learning for a noob?
ugexe personally i would recommend it to anyone wanting to use raku 16:24
noob123 ok thanks ! 16:25
wow - using rakubrew was actually easy and zef works like a champ! 16:29
nemokosch rakubrew is probably the best way on Linux
haven't really seen it working on Windows unfortunately
noob123 Seemed to install fine under powershell but unable to install linenoise because it apparently needs a C compiler. 16:33
aka dependency on nmake 16:34
Still, I appreciate y'all help.  Thanks! 16:36
nemokosch I tried under batch and powershell alike on many different machines with no success... 16:45
16:50 noob123 left 17:00 constxqt_ left 17:04 lizmat_ joined 17:08 lizmat left 17:09 lizmat_ left, lizmat joined 17:14 constxqt_ joined 17:19 constxqt_ left 17:25 constxqt_ joined, gfldex left 17:29 gfldex joined 17:34 constxqt_ left 17:42 constxqt_ joined 17:49 constxqt_ left 17:53 sena_kun joined 18:00 noob123 joined 18:02 constxqt_ joined
noob123 @nemokosch interesting. On my Windows 11 pro using powershell 7.3.6 (slightly out of date), I am able to rakubrew mode shim; rakubrew download; and then raku -v  shows v2023.12 and both raku and zef seem to work.  As in, the help pages display.   Is there some additional aspect for which I should be on the lookout? 18:03
nemokosch I don't know, I'm happy if it works for you. I tried it on different Windows 10 machines and it always failed the way it is described in one of the GH issues 18:05
also it insisted that I'm in batch even when I was in Powershell
18:11 constxqt_ left 18:13 noob123 left, constxqt_ joined 18:20 constxqt_ left 18:28 jpn left 18:29 constxqt_ joined 18:30 jpn joined 18:35 constxqt_ left 18:37 itaipu left 18:40 constxqt_ joined 20:16 jpn left 20:20 lizmat_ joined 20:24 lizmat__ joined, lizmat left 20:27 lizmat_ left 20:29 lizmat__ left, lizmat joined 21:04 jpn joined 21:10 jpn left 21:20 jpn joined, lizmat left 21:33 jpn left 21:36 jpn joined 21:48 abraxxa-home left 22:04 jpn left 22:16 jpn joined 22:35 jpn left 22:37 jpn joined 22:42 sena_kun left 22:45 jpn left 22:59 jpn joined 23:09 jpn left 23:47 constxqt_ left 23:56 constxqt_ joined