🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku
Set by ChanServ on 14 October 2019.
00:01 asy left
torbjorn yes, I tried the debugger. It doesn't really offer anything in addition to the Tracer, as far as I can see, I can't really hit the enter key 754 times to get to the end. it offers to run till rule <name>, but I have only tokens, not rules (if that matters), at least its not stopping on any of my named tokens 00:01
00:01 asymptotically joined
torbjorn the last line I see is: * MATCH "Module #0\n\tName: module-device-restore\n\tArgument:\n\tUsage cou" 00:01
If I had seen the last of that long string , I think that might have helped me, but, like I said, this is 28kb long 00:02
ah I can define breakpoints in the grammar, ill try that 00:05
00:11 HarmtH left, HarmtH_ joined 00:13 HarmtH_ left, HarmtH joined 00:31 pecastro left 00:42 wamba left 00:45 benkolera joined 00:51 mowcat left 00:53 __jrjsmrtn__ left, _jrjsmrtn joined 01:14 HarmtH left, HarmtH_ joined 01:15 Kaiepi left, Kaiepi joined 01:26 asymptotically left, asymptotically joined
softmoth m: my $hyp = (gather { take $(:line("line 1")) }).hyper; $hyp.Str; put "RESULT: ", $hyp.map({ .raku }).join; # Is this a Rakudo bug? Or is it wrong to call .Str and then .map? 01:42
camelia A worker in a parallel iteration (hyper or race) initiated here:
in block <unit> at <tmp> line 1

Died at:
Cannot invoke object with invocation handler in this context
softmoth m: my $hyp = (gather { take $(:line("line 1")) }).hyper; put $hyp.raku; put "RESULT: ", $hyp.map({ .raku }).join; 01:43
camelia HyperSeq.new(configuration => HyperConfiguration.new(batch => 64, degree => 3))
RESULT: :line("line 1")
01:43 neshpion joined
softmoth .Str or .gist causes the crash 01:43
01:45 MasterDuke left
ugexe well its usually wrong to hyper/race a lazy list 01:49
m: my @hyp = (gather { take $(:line("line 1")) }).hyper; @hyp.Str; put "RESULT: ", @hyp.map({ .raku }).join; 02:05
camelia RESULT: :line("line 1")
02:09 kvw_5_ joined
softmoth ugexe: Unfortunately I received the test case in question from a user, and am not sure exactly how to rewrite it to effectively test parallel iteration without the gather ... take 02:11
02:12 kvw_5 left
softmoth I'll try to sort that out 02:15
02:47 wingfold left, wingfold joined 02:51 wingfold left 03:03 wingfold joined 03:05 muffindrake left 03:07 muffindrake joined
japhb 🎉‭🎉‭🎉‭ It's out, folks! Heavily based on Cro and Red, the first major milestone release of MUGS, 0.1.0 (codename Proof-of-Concept) is now out! :-) :-) :-) See github.com/Raku-MUGS/MUGS/blob/mai.../v0.1.0.md for details, or ask on #mugs if you'd like to know more. :-) 03:07
weekly: github.com/Raku-MUGS/MUGS/blob/mai.../v0.1.0.md 03:08
notable6 japhb, Noted! (weekly)
03:46 guifa2 left 03:47 guifa2 joined
guifa2 japhb: btw, I noticed on your timeline that you had localization. Don't work too hard there — I have solutions coming :-) 03:48
03:48 neshpion left 03:57 londoed left, aindilis joined, londoed joined
japhb guifa2: Good to hear, looking forward to it. :-) 03:57
04:02 muffindrake left 04:04 muffindrake joined 04:45 parabolize left 04:55 muffindrake left
guifa2 grr i have two packages that need identical names and potentially be imported in the same scope. *tries to figure out better names* 05:01
05:17 wingfold_ joined, wingfold left 05:21 wingfold_ left
moon-child guifa2: package1 and package2 05:33
guifa2 moon-child: if only it were that easy haha
05:33 wingfold joined
guifa2 class Language (from LanguageTag::Language) and an enum-y package Language 05:34
I guess the best would be to require the package LanguageTag::Language and then leave the enumy one as the simple Language but … me
meh*
moon-child put the enum inside of the class 05:35
moon-child excels at bad advice 05:36
guifa2 I mean… it's not bad. It kind of works, but then basically requires the enums (and there's a LOT of them) so it's mandatory extra 05:37
There are ~8000 enums in the Language:: namespace 05:38
05:39 asymptotically left
guifa2 If I only had a few dozen symbols it'd be the optimal solution 05:39
05:40 asymptotically joined 05:51 wamba joined 05:54 berber44 left 05:59 softmoth left 06:05 rindolf joined 06:20 wingfold left 06:21 wingfold joined 06:24 londoed left, londoed joined 06:25 wingfold left 06:28 Vasya joined 06:33 Vasya is now known as Petya
Petya hello! is it possible to try raku online? I found a perl6 compiler on tio, but don't know how actual is it 06:36
06:37 wingfold joined
Petya is there a more recent Raku compiler on the Internet? 06:40
06:45 wamba left
guifa2 the TIO one is about one year old. Most everything you can try should work okay in it with the main exceptions of the COERCE method on classes and .raku is still only .perl 06:47
you can also try out perl6.github.io/6pad/ 06:48
glot.io/new/raku
and repl.it/languages/raku
All of them have AFAIK versions within the past year
Petya guifa2, Many thanks! Will try. BTW the link to glot.io on raku.org/resources/ leads to the old perl6 page and returns an error 06:58
07:00 guifa2 left 07:10 jmerelo joined 07:22 ufobat_ joined 07:26 frost-lab joined 07:28 domidumont joined 07:30 Sgeo left 07:35 wingfold_ joined, wingfold left 07:37 tealecloud joined 07:38 tealecloud left, wingfold_ left, tealecloud joined, wingfold joined 07:39 wingfold left, wingfold_ joined 07:41 Doc_Holliwood joined 07:42 frost-lab left 07:44 wingfold_ left 07:53 abraxxa joined 07:57 abraxxa left 07:58 abraxxa joined 08:01 frost-lab joined 08:09 frost-lab left, Fritz joined 08:10 wingfold joined 08:12 aindilis` joined 08:13 Fritz left 08:14 wingfold_ joined, wingfold left 08:16 aindilis left 08:19 wingfold_ left 08:20 frost-lab joined 08:21 sxmx left 08:24 Petya left 08:25 Petya joined 08:26 pecastro joined 08:30 Petya left 08:31 wingfold joined 08:36 wingfold left 08:45 Xliff joined 08:47 wingfold joined
Xliff \o 08:49
tellable6 2021-03-21T00:32:24Z #raku <softmoth> Xliff: thanks,
hey Xliff, you have a message: gist.github.com/41163281f0db5becee...c72af3bbca
Xliff I am having issues with raku regarding a BootHASH
08:50 MasterDuke joined 08:52 sena_kun left
Xliff gist.github.com/Xliff/06a93b02d82f...22454b9be8 08:54
^^ timotimo lizmat vrurg jnthn
Thanks in advance
08:57 dakkar joined 09:01 sena_kun joined 09:07 londoed left
MasterDuke Xliff: trying removing the trailing `\` on github.com/Xliff/p6-ICal/blob/boot...ns.pm6#L45 09:11
Xliff Huh! 09:12
Works! MasterDuke++
Why is that not reported as a syntax error?
MasterDuke np. just don't ask me to explain why that caused that error
Xliff D'oh! 09:13
MasterDuke but it's definitely LTA
Xliff Frustratingly so. 09:44
I thought I had commented out that entire file and the error still persisted. 09:45
09:47 wamba joined 09:51 PimDaniel joined 09:52 PimDaniel left 09:59 PimDaniel joined 10:01 wingfold left, dotdotdot left, ellipsis joined, wingfold joined 10:05 wingfold left 10:06 PimDaniel left 10:18 wingfold joined 10:23 wingfold left, wingfold joined 10:26 Black_Ribbon left 10:46 Xliff left 10:55 sxmx joined
lizmat just created github.com/rakudo/rakudo/pull/4261 Add IO::Path.user/group methods 10:56
12:08 benkolera left 12:14 MasterDuke left 12:31 MasterDuke joined 13:06 frost-lab left, wingfold left 13:07 wingfold joined 13:11 wingfold left 13:20 tyil left, tyilanmenyn joined 13:23 wingfold joined 13:28 wingfold_ joined, wingfold left 13:29 wingfold joined, wingfold_ left 13:30 wingfold_ joined, wingfold left 13:32 b2gills left 13:34 wingfold_ left 13:35 wingfold joined 13:39 MasterDuke left 13:40 MasterDuke joined
vrurg .ask Xliff having an issue for that would be better. 13:45
tellable6 vrurg, I'll pass your message to Xliff
13:53 jmerelo left 13:54 PimDaniel joined
PimDaniel \o 13:54
13:58 Sgeo joined
PimDaniel Suppose i have an instance object : my $obj = Thing.new, now i want it into a list: if i write : @liste[0] := $obj; i wach, that push @liste,$obj does not attach the object but makes a copy of it but dealing with indices is really borring and i don't need them. How to push an object? 13:59
I mean an object linked not copied.
lizmat what makes you think it is copied? 14:02
in any case: @list.push($obj) ?
PimDaniel lizmat : It does not remains in original object. 14:03
In other words : i thought it would act like a pointer. But no. 14:04
lizmat m: lass A { }; my $a = A.new; say $a.WHERE; my @b; @b.push($a); say @b[0]<>.WHERE 14:05
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared name:
A used at line 1
Undeclared routine:
lass used at line 1. Did you mean 'last'?
lizmat m: xlass A { }; my $a = A.new; say $a.WHERE; my @b; @b.push($a); say @b[0]<>.WHERE
camelia 5===SORRY!5=== Error while compiling <tmp>
Undeclared name:
A used at line 1
Undeclared routine:
xlass used at line 1. Did you mean 'last'?
lizmat m: class A { }; my $a = A.new; say $a.WHERE; my @b; @b.push($a); say @b[0]<>.WHERE
camelia 140566738492920
140566738492920
lizmat note that these numbers are the same ?
so they are the same object
PimDaniel Hum : may be what i'm trying to do is worse. 14:06
lizmat actually, we don't need the decont at all
m: class A { }; my $a = A.new; say $a.WHERE; my @b; @b.push($a); say @b[0].WHERE
camelia 140313922429888
140313922429888
lizmat PimDaniel: feels to me you're worrying about things you shouldn't worry about? 14:07
PimDaniel So i need to make atomic tests on my objects because i'm even not sure of what is going wrong.
lizmat I'm not sure what you're trying to achieve or debug
PimDaniel A 2D plan called screen which is a class of points. 14:08
The only goal is to access any points faster. 14:09
So it user a 2D buffer. 14:10
it *uses
the problem is if you put points into a list, each time you search a point to search informations of that point, you need to loop. 14:11
Well List or Array.Voilà. 14:12
i'll publish my code may be. Sorry to disturb.
14:17 PimDaniel left 14:27 judd7 joined 14:28 parabolize joined
lizmat and another Rakudo Weekly News hits the Net: rakudoweekly.blog/2021/03/22/2021-...mes-begin/ 14:49
uzl[m] lizmat++ 14:50
14:59 aluaces left 15:00 b2gills joined 15:09 benkolera joined 15:11 Doc_Holliwould joined 15:12 Doc_Holliwood left 15:18 simcop2387_ joined
leont Narrowly missed the deadline again, but I will finally publish that module tonight 15:23
lizmat ++leont 15:32
If you really want a deadline, I would say noon on Monday
CET
15:36 sivoais left, sivoais joined
El_Che lizmat++ 16:11
And I don't know John Longwalker's nick, but thank you for the nice words 16:13
16:31 Kaeipi joined 16:32 Kaiepi left 16:42 simcop2387_ left 16:53 simcop2387_ joined 16:54 Kaeipi left 16:57 aindilis` left, Kaiepi joined 16:58 aindilis joined, simcop2387_ left 17:14 simcop2387_ joined 17:18 mowcat joined, benkolera left, a3f left 17:19 softmoth joined, a3f joined
summerisle has it ever been suggested that, in a scenario where `role Role[::T] {*}` is defined as well as `role Role[Concrete] {*}` that methods from [::T] be inherited by [Concrete] rather than having effectively distinct implementations? 17:37
17:38 aluaces joined
summerisle currently you have to create a mixin role to provide common implementations and it can be a tad messy 17:38
17:38 dakkar left
summerisle of course a change like that at this point could also be breaking 17:38
17:43 mowcat left 17:45 jmerelo joined, Petya joined 18:00 aluaces left 18:06 wingfold left, neshpion joined, wingfold joined 18:09 domidumont left 18:11 wingfold left 18:15 wingfold joined 18:16 wingfold left 18:17 softmoth left, wingfold joined
jmerelo Season of docs is on: perl-foundation-outreach.github.io...ocs-ideas/ 18:19
please check out suggested ideas, add yours, contribute as a volunteer to any of the ideas if you want 18:20
This year Google will be paying the volunteers (and giving t-shirts too)
So any help is welcome
ugexe summerisle: in the old design docs there was something like `role Foo[::T] { has $!backend handles T; }` 18:21
summerisle hm
ugexe which would delegate any methods to T from Foo that T has
it is not implemented though 18:22
github.com/Raku/old-design-docs/bl...delegation
docs.raku.org/language/typesystem#...it-handles for the actual implementation as it exists 18:23
18:23 sena_kun left 18:26 sena_kun joined, tomaw left 18:29 aluaces joined, tomaw joined 18:31 ufobat_ left 18:35 HarmtH_ left, aindilis left 18:41 krunen left 18:42 krunen joined 19:05 a3f left 19:07 a3f joined 19:22 Petya left 19:24 Petya joined
raydiak you could currently do role Foo[::T] { has $!backend handles * = T; } 19:33
19:34 jmerelo left 19:38 wamba left 19:53 aborazmeh joined, aluaces left
raydiak btw summerisle github.com/rakudo/rakudo/issues/4258 I reported your bug yesterday morning, and by yesterday afternoon there was a PR open for the fix. I know you already worked around it, but just thought you might like to know 19:55
19:57 mowcat joined 20:02 Doc_Holliwould left 20:06 Doc_Holliwood joined 20:14 wamba joined 20:18 Petya left 20:22 wamba left, benkolera joined 20:23 wamba joined
brown121407 Hi! I'm trying to play with some raku modules but when installing Cro with zef, I get this: Cannot locate native library 'libssl.so': libssl.so 20:33
I have openssl on my system 20:34
Might it be because I'm using Guix as a package manager and libssl.so is actually at /gnu/store/ixm51m1jcfw4rhvwnd690szfv2w3pcsm-openssl-1.1.1j/lib/libssl.so ? 20:35
vrurg brown121407: most likely it is. I don't know how Guix works and how the rest of the system finds the libs, but I'd find out about this first. Also, look at LD_LIBRARY_PATH environment variable as a quick "patch". 20:40
MasterDuke or run the install under strace and see where it's looking 20:41
21:01 wamba left 21:03 wingfold left, aluaces joined, wingfold joined
brown121407 It looks like it was an issue with LD_LIBRARY_PATH not being set on my machine. After I set it to the correct values, NativeCall now finds the libraries correctly. 21:04
21:08 wingfold left 21:12 aborazmeh left 21:13 maggotbrain joined 21:21 cog joined, HarmtH joined 21:22 wingfold joined
cog A first cut of a bisector using a raku one-liner : gist.github.com/cognominal/9899069...87ae76c45a 21:22
21:27 wingfold left, wingfold joined 21:31 wingfold left 21:40 wingfold joined 21:41 wingfold_ joined, wingfold left 21:45 wingfold_ left
MasterDuke El_Che: ab5tract colabti.org/irclogger/irclogger_lo...03-18#l186 21:48
21:54 wamba joined
[Coke] when using Pod::To::HTML, is there an invocation I can use to get no styling, just "plain" html? 21:55
21:55 wingfold joined 21:56 wingfold_ joined, wingfold left
[Coke] Looks like render has a "sensible css default" that isn't overridable. 21:58
22:01 wingfold_ left, cog left 22:04 rindolf left 22:05 rindolf joined 22:07 ssm_ left 22:12 wingfold joined 22:17 wingfold_ joined, wingfold left 22:18 cog joined 22:21 ssm_ joined 22:22 wingfold_ left 22:34 wingfold joined 22:39 wingfold_ joined, wingfold left 22:44 wingfold_ left 22:56 rindolf left 22:57 wingfold joined 22:58 wingfold_ joined, wingfold left 22:59 lizmat left, wingfold_ left, wingfold joined 23:04 wingfold left 23:09 Black_Ribbon joined 23:17 pecastro left 23:18 wingfold joined 23:23 wingfold_ joined, wingfold left 23:27 wingfold_ left 23:38 wamba left 23:39 wingfold joined 23:40 wingfold_ joined, wingfold left 23:43 clarjon1 joined, softmoth joined 23:45 wingfold_ left 23:46 abraxxa left 23:48 abraxxa joined 23:50 mowcat left 23:56 wingfold joined 23:57 wingfold left, wingfold joined