🦋 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:32 ggoebel left 00:54 pmurias left 02:04 TreyHarris left 02:12 vrurg left 02:19 vrurg joined 02:40 marcusr left 02:41 marcusr joined 02:57 Doc_Holliwould joined 02:59 holli left 03:00 Doc_Holliwood joined 03:03 Doc_Holliwould left 03:04 Doc_Holliwould joined 03:07 Doc_Holliwood left 03:11 ZzZombo_ joined 03:14 ZzZombo left, ZzZombo_ is now known as ZzZombo 03:35 Doc_Holliwood joined 03:38 Doc_Holliwould left, ZzZombo_ joined 03:39 Doc_Holliwould joined 03:40 ZzZombo left, ZzZombo_ is now known as ZzZombo 03:41 Doc_Holliwood left 03:42 Doc_Holliwood joined 03:45 Doc_Holliwould left 03:46 Doc_Holliwould joined 03:49 Doc_Holliwood left, Doc_Holliwood joined 03:52 Doc_Holliwould left 03:53 Doc_Holliwould joined 03:55 Doc_Holliwood left 03:56 Doc_Holliwood joined 04:00 Doc_Holliwould left, Doc_Holliwould joined 04:03 Doc_Holliwood left, Doc_Holliwood joined 04:06 Doc_Holliwould left 04:07 Doc_Holliwould joined 04:09 Doc_Holliwood left 04:10 Doc_Holliwood joined 04:13 Doc_Holliwould left 04:14 Doc_Holliwould joined 04:17 Doc_Holliwood left, Doc_Holliwood joined 04:20 Doc_Holliwould left 04:21 Doc_Holliwould joined 04:23 Doc_Holliwood left 04:24 Doc_Holliwood joined 04:27 Doc_Holliwould left 04:28 Doc_Holliwould joined 04:31 Doc_Holliwood left, Doc_Holliwood joined 04:34 Doc_Holliwould left 04:35 Doc_Holliwould joined 04:37 Doc_Holliwood left 04:38 Doc_Holliwood joined 04:41 Doc_Holliwould left 04:42 Doc_Holliwould joined 04:45 Doc_Holliwood left, Doc_Holliwood joined 04:48 Doc_Holliwould left 04:49 Doc_Holliwould joined 04:52 Doc_Holliwood left, Doc_Holliwood joined 04:55 Doc_Holliwould left
moon_child Doc_Holliwood: can you stop joinspamming 04:55
04:56 cpan-raku left, Doc_Holliwould joined 04:57 cpan-raku joined, cpan-raku left, cpan-raku joined 04:59 Doc_Holliwood left, Doc_Holliwood joined 05:02 Doc_Holliwould left 05:03 Doc_Holliwould joined 05:06 Doc_Holliwood left, Doc_Holliwood joined 05:09 Doc_Holliwould left 05:10 Doc_Holliwould joined 05:12 Doc_Holliwood left 05:13 Doc_Holliwood joined 05:16 Doc_Holliwould left 05:17 Doc_Holliwould joined 05:20 Doc_Holliwood left 05:21 Doc_Holliwood joined 05:23 Doc_Holliwould left 05:24 Doc_Holliwould joined 05:27 Doc_Holliwood left 05:28 Doc_Holliwood joined 05:30 Doc_Holliwould left 05:31 Doc_Holliwould joined 05:34 Doc_Holliwood left
xkr47 is there something like `use strict; use warnings;` from perl5 or is it default nowadays? 05:46
06:03 Doc_Holliwood joined 06:06 Doc_Holliwould left 06:07 Doc_Holliwould joined 06:09 Doc_Holliwood left 06:10 Doc_Holliwood joined 06:13 Doc_Holliwould left 06:14 Doc_Holliwould joined
AlexDaniel xkr47: yeah, you get that by default in raku 06:15
06:16 Doc_Holliwood left 06:17 Doc_Holliwood joined 06:20 Doc_Holliwould left 06:21 Doc_Holliwould joined 06:23 Doc_Holliwood left 06:24 holli joined 06:27 Doc_Holliwould left 06:28 Doc_Holliwood joined 06:31 holli left, Doc_Holliwould joined 06:34 Doc_Holliwood left 06:35 Doc_Holliwood joined 06:38 Doc_Holliwould left, Doc_Holliwould joined 06:41 Doc_Holliwood left 06:42 Doc_Holliwood joined 06:44 Doc_Holliwould left 06:45 Doc_Holliwould joined 06:48 Doc_Holliwood left 06:49 Doc_Holliwood joined 06:51 Doc_Holliwould left 06:52 Doc_Holliwould joined 06:56 Doc_Holliwood left, holli joined 06:57 jmerelo joined 06:58 Doc_Holliwould left 06:59 Doc_Holliwood joined
Geth_ doc: 44c5963b99 | (Luis F. Uceta)++ | doc/Language/setbagmix.pod6
Place C<> around operator and types
07:00
doc: beb775cad0 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/setbagmix.pod6
Merge pull request #3078 from uzluisf/master

Place C<> around operator and types
07:02 holli left
squashable6 🍕 AlexDaniel++ edited wiki page “Monthly Bug Squash Day”: github.com/rakudo/rakudo/wiki/Mont...Squash-Day 07:02
🍕🍕🍕 First contribution by AlexDaniel++! ♥
AlexDaniel squashable6: status 07:03
squashable6 AlexDaniel, Next SQUASHathon in 13 days and ≈20 hours (2019-11-16 UTC-12⌁UTC+20). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
07:03 Doc_Holliwould joined 07:05 Doc_Holliwood left 07:06 Doc_Holliwood joined 07:09 Doc_Holliwould left 07:10 Doc_Holliwould joined 07:12 Doc_Holliwood left 07:13 Doc_Holliwood joined 07:16 Doc_Holliwould left 07:17 Doc_Holliwould joined 07:19 Doc_Holliwood left 07:20 Doc_Holliwood joined 07:23 Doc_Holliwould left 07:24 Doc_Holliwould joined 07:26 Doc_Holliwood left 07:27 Doc_Holliwood joined 07:30 Doc_Holliwould left 07:31 Doc_Holliwould joined 07:33 Doc_Holliwood left 07:34 Doc_Holliwood joined 07:37 Doc_Holliwould left 07:38 Doc_Holliwould joined 07:40 Doc_Holliwood left 07:41 holli joined 07:44 Doc_Holliwould left 07:45 Doc_Holliwood joined 07:48 holli left, Doc_Holliwould joined 07:51 Doc_Holliwood left 07:52 Doc_Holliwood joined 07:55 Doc_Holliwould left, Doc_Holliwould joined 07:58 Doc_Holliwood left 07:59 holli joined 08:01 Doc_Holliwould left 08:02 Doc_Holliwood joined 08:05 holli left 08:06 Doc_Holliwould joined
xkr47 AlexDaniel, thx! 08:07
08:08 Doc_Holliwood left 08:09 Doc_Holliwood joined 08:12 Doc_Holliwould left 08:13 Doc_Holliwould joined 08:15 Doc_Holliwood left
xkr47 is there some shorthand for `defined($<x>) ?? $<x>.made !! defaultvalue` ? 08:15
08:16 holli joined 08:19 Doc_Holliwould left 08:20 Doc_Holliwood joined
jmerelo xkr47: Can't think of any 08:22
tellable6 2019-10-31T12:01:42Z #raku <tyil> jmerelo can you accept my request to join the outreach ML with my personal email address?
2019-10-31T18:34:51Z #raku-dev <El_Che> jmerelo the doc packages should be up (updated to 2019.07.1)
08:23 holli left
jmerelo .tell tyil sorry, I missed it somehow. 08:25
tellable6 jmerelo, I'll pass your message to tyil
jmerelo .tell El_Che thanks.
tellable6 jmerelo, I'll pass your message to El_Che
08:37 Doc_Holliwould joined 08:39 Doc_Holliwood left
tyil jmerelo: no worries 08:39
tellable6 2019-11-01T08:25:44Z #raku <jmerelo> tyil sorry, I missed it somehow.
xkr47 jmerelo, hmm it's like like mapping a defined value to another one, but leaving an undefined value undefined.. 08:40
jmerelo xkr47: that's in an Grammar action, right? But undefined values get a default value, right? 08:42
xkr47 Nil.map doesn't work
jmerelo xkr47: Nil is not really an object... 08:43
xkr47 I was trying `$<x>.map(sub ($a){$a.made}) || defaultvalue`
woo woo now my time calculator can calculate 5d / 2 -> 2,12:00:00.000 08:49
or 5d / 4m -> 1800 08:50
jmerelo xkr47: congrats! 08:53
xkr47 and now I discover there is a type Duration :)
09:07 xinming joined 09:08 sena_kun joined 09:09 xinming_ left 09:19 MasterDuke left 09:21 Altai-man_ joined 09:23 sena_kun left 09:40 veesh left 09:53 veesh joined
xkr47 what's the difference between str and Str ? 10:11
or int vs Int 10:12
aha, native types.. 10:13
Altai-man_ yup, native types 10:18
10:18 veesh left 10:32 veesh joined 10:45 holli joined 10:47 Doc_Holliwould left 10:48 Doc_Holliwould joined 10:52 holli left, Doc_Holliwood joined 10:55 Doc_Holliwould left, Doc_Holliwould joined 10:58 Doc_Holliwood left 10:59 Doc_Holliwood joined 11:01 Doc_Holliwould left 11:02 Doc_Holliwould joined 11:05 Doc_Holliwood left 11:06 holli joined 11:08 Doc_Holliwould left 11:09 Doc_Holliwood joined 11:11 holli left 11:13 Doc_Holliwould joined 11:15 Doc_Holliwood left 11:16 Doc_Holliwood joined 11:19 Doc_Holliwould left 11:20 Doc_Holliwould joined 11:22 sena_kun joined, Doc_Holliwood left 11:23 Altai-man_ left 11:52 jmerelo left
stoned75 Hi. are there typesetting rules applicable to perl6/doc repository ? 11:54
sena_kun stoned75, typesetting rules to be? there are guidelines at github.com/perl6/doc/blob/master/C...IBUTING.md 11:55
stoned75 ah of course. thanks! 11:56
sena_kun you are welcome! 11:57
11:59 joule joined 12:39 Wahnburger joined
Wahnburger Hello, i want to count dots "." in a string..i tried the perl syntax but this wont work..does someone can give me a hint? 12:40
jnthn m: say "foo.bar.baz".comb('.').elems
camelia 2
jnthn Like that?
Wahnburger yes, perfect :) 12:43
do you also have a hint regarding the windows/IO-Socket-Async-SSL issue? :) 12:47
jnthn Not really. 12:50
I guess other than looking through the way openssl is set up inside of the module and comparing it to how the synchronous implementation does it. 12:51
Oh, though that's assuming it's just a CA issue, but now I see there's some more general problem too. 12:53
12:54 pmurias joined 13:01 lucasb joined 13:02 ggoebel joined
Geth_ doc: fcf46393ac | (Stoned Elipot)++ | doc/Language/iterating.pod6
Fix formatting
13:05
Wahnburger I am wondering why this issue is relative rarely reported 13:13
i have tried 3 diffrent machines without success
[Coke] Wahnburger: is there a ticket? I can try on the windows box I have access to 13:15
Wahnburger here: stackoverflow.com/questions/586477...ws-machine and here: github.com/jnthn/p6-io-socket-asyn.../issues/46 13:16
I have installed the newest version of *star and then i have installed the cro modules with zef...nothing special
modul with the issue could only ne installed with --force-test :) 13:17
13:21 Altai-man_ joined 13:23 sena_kun left
[Coke] Wahnburger: why are you trying to run the install from inside a zef .store folder? 13:23
[Coke] finds he perl6 installed on this box already and tries a vanilla "zef install IO::Socket::Async::SSL" 13:26
Wahnburger uhmm.yes ...i tried to add some debug outputs to get it after. But the failure messages also happens with zef install IO::Socket::Async::SSL 13:30
[Coke] verified, added my perl6/zef versions, just in case. 13:31
Wahnburger verified what - the failure?
[Coke] the windows installer version is at least six months old, it's possible the module is requiring something newer.
yes.
Wahnburger ah I see, thx
how sad :/ i wanted to put my stuff on the windows server..its LOT faster there that inside thd bsd VMs 13:35
[Coke] for debug, might be helpful to see if that error was introduced with a release of the module. (that is, can you install an older version?) 13:38
Wahnburger from where? 13:42
ah, i see
13:43 sena_kun joined 13:45 Altai-man_ left
Wahnburger the issue was already reported for 0.7.3 but ill try it..and then 0.7.2 13:47
13:55 ggoebel left
[Coke] Sorry can't be of more help. 13:55
Wahnburger same issue with 0.7.3 14:08
aaand with 0.7.2 and 1 14:17
14:23 cpan-raku left, cpan-raku joined, cpan-raku left, cpan-raku joined
jnthn I don't think I've done any Windows porting work on that module, and don't recall merging any PRs relating to it, so it's quite possible it's never really worked there. 14:25
[Coke] jnthn: I figured it was either "never worked on windows", or "module changed to track something in rakudo that is now too old on windows distro" 14:28
jnthn Could be that also
lucs How do I get Inline::Perl5 to use the currently active perlbrew perl5? (it appears to use the perl5 that was active when perl6 was built) 14:30
Wahnburger so actual not Cro client apps for windows? 14:34
*actually
jnthn Windows porting is in the Cro roadmap, but we didn't get to it yet. 14:35
Though I think most of the work won't even be in Cro, but in dependencies. 14:36
lucs (I did build my perlbrew version, 5.30.0, with -Duseshrplib, and -Dusemultiplicity too)
Wahnburger yep
14:50 pmurias left 14:51 pmurias joined 14:56 Wahnburger left 15:43 Altai-man_ joined 15:44 mspo joined 15:45 sena_kun left
Doc_Holliwould i just ate pudding with a fork. my work here is done. 16:27
16:28 Kaeipi joined, stanrifkin joined 16:29 Kaiepi left 16:34 daxim left
brass In some programs I've seen people do things like $++, what do you call it when you just use the dollar sign without a variable name? 16:35
lucasb an anonymous variable :) 16:37
lizmat brass: that's the anonymous state variable
brass Oh it's a state variable neat 16:38
Found it in the docs, thanks :) docs.perl6.org/syntax/state#The_$_variable 16:39
It's hard to find these things sometimes if you don't know where to look
16:41 daxim joined
stanrifkin should i alias perl6 to raku? 16:47
[Coke] in your own install? I imagine that's personal preference at the moment. 17:02
17:37 donaldh joined 17:38 stoned75 left
Geth_ doc: 421ec01d7b | cfa++ | 3 files
Fix typos.
17:45
doc: 767eb5fa6d | cfa++ | 2 files
Learn a few new words.
17:45 stoned75 joined 17:46 Altai-man_ left
donaldh Is there any way a module can resolve types from my namespace? 17:51
i.e. use Class::Generator # exports new types into my namespace 17:52
17:52 stoned75 left
donaldh followed by Module.doStuff(ParentType) # it will need to resolve OtherType 17:53
17:53 stanrifkin left 17:55 stoned75 joined
Geth_ doc: 083855f02b | cfa++ | doc/Language/grammars.pod6
Fix typo.
17:55
doc: 5209172445 | cfa++ | 2 files
Learn a few more words.
doc: 89c0418f54 | cfa++ | 2 files
Learn a few bot names.
18:06
18:07 cfa joined
cfa o/ 18:08
[Coke] \o
timotimo donaldh: i'm not sure i understand 18:20
donaldh: is OtherType in your current namespace, or does it come from Class::Generator?
18:21 veesh left
donaldh Class::Generator creates the new types ParentType and OtherType and exports them to my namespace. 18:21
I call Module.doStuff(ParentType) and it needs to reference OtherType.
Concretely, parse protobuf, generate classes. Protobuf::Reader needs to instantiate classes for sub messages. 18:23
I suppose I should add resolve capability to generated classes for sub messages. 18:24
18:34 veesh joined 18:39 donaldh left 18:52 donaldh joined 19:00 donaldh left 19:08 donaldh joined 19:10 lucasb left 19:19 MasterDuke joined
tony-o .tell wahnburger perhaps a bisect might be the easiest way to find out if it ever worked (and most recent version it did work if so)? 19:22
tellable6 tony-o, I'll pass your message to Wahnburger
19:26 donaldh left 19:57 donaldh joined 20:08 donaldh left, donaldh joined
tony-o m: my $x = "\{\n \"name\" : \"Algorithm::Snail\",\n \"description\" : \"Snail sort (snailshell pattern, spiral order) sequence in grid (two dimensional array)\",\n \"version\" : \"0.2\",\n \"perl\": \"6.*\",\n \"auth\": \"github:mj41\",\n \"authors\" : [ \"Michal Jurosz\" ],\n \"license\": \"Artistic-2.0\",\n \"source-type\" : \"git\",\n \"source-url\" : 20:39
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in double quotes; couldn't find final '"' (corresponding starter was at line 1)
at <tmp>:1
------> 3-type\" : \"git\",\n \"source-url\" :7⏏5<EOL>
expecting …
tony-o \"git://github.com/mj41/Algorithm-Snail.git\",\n \"depends\" : [],\n \"build-depends\": [],\n \"provides\" : \{\n \"Algorithm::Snail\" : \"lib/Algorithm/Snail.pm6\",\n },\n \"support\": \{\n \"bugtracker\": \"github.com/mj41/Algorithm-Snail/issues\",\n \"license\": \"www.perlfoundation.org/artistic_license_2_0\"\n },\n \"tags\": [ \"algorithm\",
\"bidimensional\", \"sequence\", \"array\" ],\n \"test-depends\": [\n \"Test\"\n ]\n}"; say $x; say ::("Rakudo::Internals::JSON").from-json($x);
20:40 jjatria left, jjatria joined
tony-o m: gist.github.com/tony-o/b78699dcc6f...8461f78abf 20:40
camelia {
"name" : "Algorithm::Snail",
"description" : "Snail sort (snailshell pattern, spiral order) sequence in grid (two dimensional array)",
"version" : "0.2",
"perl": "6.*",
"auth": "github:mj41",
"authors" : [ "Michal…
tony-o hmm, that's failing locally
m: say $*VERSION 20:41
camelia Dynamic variable $*VERSION not found
in block <unit> at <tmp> line 1
tony-o m: say $*PERL
camelia Perl 6 (6.d)
MasterDuke m: say $*PERL.compiler.version 20:49
camelia v2019.07.1.453.g.54.e.0.aceec
20:49 joule left 20:56 donaldh left 20:57 donaldh joined 21:10 wildtrees joined 21:19 chloekek joined
tyil is there a way to mimick Moo's around functionality in Raku? (related to the description here: gitlab.com/tyil/raku-app-gtd/issues/8) 21:37
21:44 Wenjie1991 joined 21:45 Wenjie1991 left
donaldh If anyone is interested, protobuf implementation is creeping towards usable: github.com/donaldh/p6-pb 21:51
Forked from illustrious work by samuraisam, japhb, tadzik. 21:52
Grammar kinda supports protobuf v3 and nearly all tests pass. First successful message round-trip for me. 21:53
tadzik oh, I didn't know I'm involved :o :) 21:54
jnthn donaldh++
tadzik that's awesome :)
donaldh tadzik: well, you forked the repo, maybe you didn't actually contribute ;-)
21:58 donaldh left 21:59 donaldh joined, donaldh_ joined 22:03 donaldh left 22:06 donaldh_ left 22:07 chloekek left 23:04 gdonald left
Geth_ doc: d4c9b23754 | cfa++ | doc/Language/community.pod6
Revise formatting on the community page (=defn to multi-para lists).

Markup in =defn terms and definitions is currently ignored; the use of itemisation here is a workaround.
23:46
doc: e2b841168b | cfa++ | doc/Language/community.pod6
Formatting tweak; citation.
23:53
japhb donaldh: \o/ # I can't even tell you how useful that is to me. I just ran out of time back then to work on it, and have wanted it at least once a week every week since. 23:55
tellable6 japhb, I'll pass your message to donaldh
japhb does his best Evil Laugh while thinking about all the places he plans to use p6-pb. Mua-ha-ha-ha-haaaaaaaa .... 23:56
Now we just need a gRPC implementation, and I will have Lots Of Fun. 23:58