šŸ¦‹ 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:00 marcusr left, marcusr joined 00:19 leonardus left, tbrowder left 00:24 leonardus joined, tbrowder joined, leonardus left, leonardus joined 00:25 leonardus left 00:27 leonardus joined 00:48 leonardus left, tbrowder left 00:54 leonardus joined, tbrowder joined, leonardus left, leonardus joined 00:55 leonardus left 00:56 AlexDaniel joined, AlexDaniel left, AlexDaniel joined 00:57 leonardus joined
Geth Ā¦ problem-solving: vrurg assigned to jnthn Issue Implementation of importing of classes with composite names perhaps needs better consideration github.com/perl6/problem-solving/issues/128 01:44
01:48 leonardus left, tbrowder left 01:54 leonardus joined, tbrowder joined, leonardus left, leonardus joined 01:55 leonardus left 01:56 leonardus joined
uzl[m] I'm trying out Comma but whenever I leave the IDE and come back I've to click the editor in order to input any text again. Is this some behavior that can be disabled? 02:37
02:48 leonardus left, tbrowder left 02:53 leonardus joined, tbrowder joined, leonardus left, leonardus joined 02:55 leonardus left 02:57 leonardus joined 03:01 wildtrees left 03:48 squashable6 joined
tony-o why is kawaii vanushing forever? 04:08
04:20 jaldhar joined 04:36 jaldhar left, jaldhar joined 04:46 jaldhar left, jaldhar joined 04:56 jaldhar left, jaldhar joined 05:00 jaldhar left, jaldhar joined 05:04 jaldhar left, jaldhar joined 05:06 jaldhar left 05:07 jaldhar joined 05:22 jaldhar left, jaldhar joined 05:31 marcusr left 05:32 marcusr joined 05:36 jaldhar left, jaldhar joined 05:42 jaldhar left, jaldhar joined 05:48 leonardus left, tbrowder left 05:49 tbrowder joined 05:56 jaldhar left, jaldhar joined 06:04 jmerelo joined 06:07 titsuki left 06:10 jaldhar left, jaldhar joined 06:14 jaldhar left, jaldhar joined
ZzZombo m: DYNAMIC().say 06:17
camelia 5===SORRY!5=== Error while compiling <tmp>
Calling DYNAMIC() will never work with declared signature (\name)
at <tmp>:1
------> 3<BOL>7ā5DYNAMIC().say
ZzZombo m: DYNAMIC('asd').say 06:20
camelia Dynamic variable asd not found
in block <unit> at <tmp> line 1
ZzZombo m: DYNAMIC('$*PERL').say 06:21
camelia Perl 6 (6.d)
ZzZombo m: dd DYNAMIC('$*PERL')
camelia Perl Perl 6 = Perl.new(compiler => Compiler.new(id => "B16703D62EB4E14317ED4FABCC380B63D166630E", release => "", codename => "", name => "rakudo", auth => "The Perl Foundation", version => v2019.07.1.460.g.044.b.33902, signature => Blob, desc => Str),ā€¦
ZzZombo m: dd DYNAMIC('PERL')
camelia Failure.new(exception => X::Dynamic::NotFound.new(name => "PERL"), backtrace => Backtrace.new)
ZzZombo ??
m: DYNAMIC('PERL')
camelia Dynamic variable PERL not found
in block <unit> at <tmp> line 1
ZzZombo oh 06:22
06:26 jaldhar left, jaldhar joined 06:36 HoboWithAShotgun joined 06:38 Doc_Holliwood left 06:42 jaldhar left, jaldhar joined 06:54 jaldhar left, jaldhar joined 07:14 jaldhar left, jaldhar joined
ZzZombo m: my $i = 2 but role { CALL-ME() { 'called'.say }};$i() 07:21
camelia 5===SORRY!5=== Error while compiling <tmp>
Unexpected block in infix position (missing statement control word before the expression?)
at <tmp>:1
------> 3my $i = 2 but role { CALL-ME()7ā5 { 'called'.say }};$i()
expecting any of:ā€¦
ZzZombo m: my $i = 2 but role R { CALL-ME() { 'called'.say }};$i() 07:22
camelia 5===SORRY!5=== Error while compiling <tmp>
Unexpected block in infix position (missing statement control word before the expression?)
at <tmp>:1
------> 3my $i = 2 but role R { CALL-ME()7ā5 { 'called'.say }};$i()
expecting any ofā€¦
07:23 go|dfish joined 07:26 kensanata joined 07:31 HoboWithAShotgun left 07:38 jmerelo left 07:39 wamba joined 07:42 jaldhar left, jaldhar joined 07:46 jaldhar left, jaldhar joined 07:50 stoned75 left 08:00 jaldhar left, jaldhar joined 08:02 jaldhar left, jaldhar joined 08:12 jaldhar left, jaldhar joined 08:14 jaldhar left, jaldhar joined
ZzZombo m: my $i = 2 but role {method CALL-ME() { 'called'.say }};$i() 08:37
camelia called
ZzZombo So why does this work w/o making `$i` a Callable?
m: my $i = 2 but Callable {method CALL-ME() { 'called'.say }};$i() 08:38
camelia 5===SORRY!5=== Error while compiling <tmp>
Unexpected block in infix position (missing statement control word before the expression?)
at <tmp>:1
------> 3my $i = 2 but Callable7ā5 {method CALL-ME() { 'called'.say }};$i(
expectingā€¦
ZzZombo m: my $i = 2 does Callable {method CALL-ME() { 'called'.say }};$i()
camelia 5===SORRY!5=== Error while compiling <tmp>
Unexpected block in infix position (missing statement control word before the expression?)
at <tmp>:1
------> 3my $i = 2 does Callable7ā5 {method CALL-ME() { 'called'.say }};$i(
expectinā€¦
ZzZombo aw, screw that, doesn't matter.
08:39 wamba left 08:56 sena_kun joined 09:00 jaldhar left, jaldhar joined 09:11 wamba joined 09:16 jaldhar left, jaldhar joined 09:28 Altai-man_ joined 09:31 sena_kun left 09:32 jaldhar left, jaldhar joined 09:46 jaldhar left, jaldhar joined
ZzZombo m: say 1.+DEFINITE 09:47
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot use .+ on a non-identifier method call
at <tmp>:1
------> 3say 1.+DEFINITE7ā5<EOL>
expecting any of:
method arguments
ZzZombo m: say 1.+new
camelia (0 0)
ZzZombo m: say 1.+Bool
camelia (True True)
ZzZombo m: say 0.+Bool 09:48
camelia (False True)
ZzZombo m: say 0.+uc
camelia (0)
ZzZombo m: say 0.+Cool
camelia No such method 'Cool' for invocant of type 'Int'. Did you mean any of these?
Bool
roll

in block <unit> at <tmp> line 1
ZzZombo m: say 0.+roll
camelia (0)
ZzZombo m: say 0.*Bool 09:49
camelia (False True)
ZzZombo m: say 0|1.*Bool 09:54
camelia any(0, (True True))
ZzZombo m: say (0|1).*Bool
camelia (True True)
ZzZombo m: say (0|1).*^mro 09:55
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed postfix call
at <tmp>:1
------> 3say (0|1).*7ā5^mro
ZzZombo m: say (0|1).*WHAT
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot use .* on a non-identifier method call
at <tmp>:1
------> 3say (0|1).*WHAT7ā5<EOL>
expecting any of:
method arguments
10:04 jaldhar left, jaldhar joined 10:20 jaldhar left, jaldhar joined 10:31 lil joined
lil hello guy's 10:32
now i can undefine variable?
Altai-man_ assign Nil to it? 10:33
lil it need to implement logout function in web app based on Cro
Altai-man_ m: my $a = 42; say $a; $a = Nil; say $a; 10:34
camelia 42
(Any)
Altai-man_ m: my $a is default(42); say $a; $a = Nil; say $a;
camelia 42
42
10:34 jaldhar left, jaldhar joined
Altai-man_ be careful though that assigning `Nil` returns variable to its "undefined" state and when a default value is set, it'll be it 10:34
for Cro session just `= Nil` should be enough 10:35
lil I thought that there is a certain function, thanks!
10:36 jaldhar left, jaldhar joined 10:44 jaldhar left 10:45 jaldhar joined 10:48 lil left 10:50 jaldhar left, jaldhar joined
Altreus hello a ping 10:53
yes, there are issues with situations I'm not entirely clear on
otherwise I'd handle them xD
tbrowder hi, raku ppl! 11:01
anyone know how to search cpan for p6/raku modukes 11:02
*modules?
11:08 tobs joined
tbrowder okay, i'm answering my own question: on our modules.perl6.org page, in the search window enter "from:cpan" and search. if you want an author and know his cpan name you can enter "from:cpan author:ANAME" 11:16
lizmat tbrowder++ 11:20
tbrowder thnx, and you don't need to know the full name, so using "from:cpan author:ELIZ" i get 102 modules for lizmat! 11:24
lizmat wow, sometimes I forget there are that many :-)
tbrowder lizmat: btw, i snagged RAKU for a florida license plate for my truck and will send a pic when it gets here in a few weeks 11:25
lizmat would be a nice picture for the weekly :-) 11:26
tbrowder i can then send my old perl 6 plate to the perl museum 11:27
11:29 sena_kun joined
lizmat would go nice next to the "Perl" US license plate we already have :-) 11:30
11:30 jaldhar left, jaldhar joined 11:31 Altai-man_ left 11:46 jaldhar left, jaldhar joined
tbrowder ok, give me a shipping address and it'll be on its way soon (tom.browder@gmail.com). 11:47
lizmat tbrowder: sent :-) 11:50
and thanks in advance! 11:51
tbrowder you are very welcome! 11:52
12:39 AlexDaniel left 12:43 joule joined 13:04 wamba left 13:12 lucasb joined 13:18 cpan-raku left, cpan-raku joined, cpan-raku left, cpan-raku joined 13:29 Altai-man_ joined 13:32 sena_kun left 13:34 wamba joined 14:02 jaldhar left, jaldhar joined 14:07 jaldhar left 14:30 AlexDaniel joined, AlexDaniel left, AlexDaniel joined 14:52 davidholoshka joined
davidholoshka Hi I have a cro server on port 20000 behind an apache2 proxy. The cro server stops responding to apache 503 after a random number of minutes ~5 - 10. Apache reports connection refused. I see no errors in the trace it just stops. The processes are still running. Any idea what might cause this or how I could get it to report a problem ? 14:58
15:07 wamba left
timotimo davidholoshka: can you try connecting directly to cro from the same machine that apache runs on? 15:16
davidholoshka cro and apache are on the same virtual server debian 9 15:19
15:21 lizmat joined
jnthn Is it using any CPU? 15:21
mspo telnet and get back to us 15:23
15:25 davidholoshka left 15:29 sena_kun joined 15:31 Altai-man_ left 15:40 KotH joined 16:03 daxim left 16:10 daxim joined 16:22 daxim left
AlexDaniel kawaii: fwiw, by ā€œfigured it outā€ I meant that we are moving towards a better way for running blin, your efforts and contributions are still very needed :) 16:24
16:27 daxim joined 16:28 JBmc joined, lizmat left 16:30 lizmat joined 16:33 jmerelo joined 16:36 kensanata left 16:41 JBmc left 16:43 lizmat left 16:55 wamba joined
jmerelo There are only 5 slots to go for the Advent Calendar github.com/perl6/advent/blob/maste...9/schedule 16:55
Claim yours before it's too late! 16:56
jnthn Wow, and we're barely into November! Nice going!
[Coke] jmerelo: might be worth adding the new deadline for content in to the signup sheet 17:00
(though with five slots left I guess it doesn't matter as much.) 17:01
17:01 lizmat joined
[Coke] jmerelo: feel free to ping me if you end up with an open slot, I can do a short one as the GC Secretary with a Raku slant. 17:02
(But am super happy if I don't have to)
jmerelo [Coke]: OK, will do. I'll also start asking people to actually write the stuff very soon.
[Coke]: please add yourself at the very end, as extra. I'll use that just in case someone eventually is not able to make it. 17:03
[Coke] jmerelo: done 17:08
jmerelo [Coke]++ 17:09
17:29 wamba left 17:31 sena_kun left 17:40 chloekek joined 17:42 lucasb left 17:43 daxim left 17:48 daxim joined 18:07 wamba joined 18:18 patrickb joined 18:20 wamba left 18:21 daxim left 18:27 daxim joined 18:30 wamba joined 18:31 wildtrees joined 18:32 wamba left 18:44 daxim left 18:50 daxim joined 18:55 robertle joined
jmerelo The call for ideas for the next Google Summer of Code is also open github.com/perl-foundation-outreac...2020-ideas 18:59
Also, we need to gather some SEO juice for the new Raku documentation. Now it's almost impossible to find something there from a search, and they don't show up when you search for perl6, obviously 19:05
We just need to link them, so please if you ask some question in StackOverflow, or write some article, link to relevant pages in the docs.raku.org documentation. 19:06
19:16 patrickb left
guifa jmerelo++ 19:22
19:23 patrickb joined 19:33 jmerelo left 19:46 wamba joined 20:07 lizmat left 20:08 lizmat joined 20:11 daxim left 20:13 ufobat__ joined 20:15 daxim joined
brass I have a question about licenses 20:16
I'm used to reading about the GPL and BSD-style licenses, but what does the Artistic License 2.0 offer that's different?
There seems to be almost nothing written about it online 20:17
20:17 ufobat_ left
mspo it's written in pretty clear language 20:18
it's very permissive 20:19
brass But why is it favoured by the perl/raku community over say BSD?
mspo don't know 20:21
20:22 Demos[m] joined
Demos[m] is this room synced with #perl6? 20:22
BinGOs en.wikipedia.org/wiki/Artistic_License
japhb Demos[m]: No. 20:24
Grinnz brass: www.gnu.org/licenses/license-list....icLicense2 choosealicense.com/licenses/artistic-2.0/ may be useful 20:25
mspo apparently Larry wrote it 20:27
version 1
brass Hm I just read it 20:28
It seems vaguely like the lgpl
japhb Part of the intent of the Artistic License is that people who make modified versions can't claim that their version is standard. It means that the author of the work gets artistic control over the future of the original version without fearing "silent embrace and extend"
mspo brass: the interesting part is the "satisfy any ONE of the following conditions" 20:29
brass a choose your own adventure license 20:30
japhb Artistic 1 was often explicitly dual-licensed. Artistic 2 allows relicensing under 4.c.ii, thus allowing people who want to go pure-GPL to do so, for instance.
But Artistic 2 is not *itself* viral like GPL is, so those that object to that need not make use of 4.c.ii 20:32
mspo yeah it's nice to give a legal way for people who relicense to gpl anyway 20:34
;)
20:49 daxim left 20:50 joule left 20:54 daxim joined 21:01 lizmat left 21:05 wamba left 21:06 wamba joined 21:08 daxim left 21:13 daxim joined
AlexDaniel brass: honestly, it doesn't offer much 21:25
brass: which is why most other projects use other licenses with similar conditions that are just more well known 21:26
it's not bad in any way, it's just odd :) 21:29
21:33 TreyHarris joined
uzl[m] The Artistic License 2.0 is GPL-compatible www.gnu.org/licenses/license-list....icLicense2 21:41
BTW, anybody that uses Comma here?! I'm trying it out but whenever I leave the IDE and come back I've to click the editor in order to input any text again. I'm wondering if this is some sort of behavior that can be disabled? 21:46
21:50 chloekek left 21:51 go|dfish left
timotimo "leave and come back" means just switching to a different window or workspace? 21:53
[Coke] some of the authors are in here, even. (but maybe not just now) 21:54
[Coke] tries to duplicate and finds he's got 3 versions of Comma installed?
timotimo comma complete, comma community, and comma camelia 21:55
[Coke] cannot duplicate. click to edit, alt tab, alt tab, type type 21:57
er, command-tab, not alt-tab.
(this after updating to the latest Comma CP version) 22:00
(wow my subscription is still active!)
22:04 chloekek joined 22:05 go|dfish joined
timotimo when i switch from a different virtual desktop to the one that has WebStorm on it, it always ends up with another window focused 22:06
and it's extremely annoying
xinming m: (infix:<+>(3, 5)).perl.say; 23:03
camelia 8
xinming m: (infix:{"+"}(3, 5)).perl.say;
camelia ===SORRY!===
Cannot find method 'has_compile_time_value' on object of type NQPMu
xinming m: ((infix:{"+"})(3, 5)).perl.say;
camelia ===SORRY!===
Cannot find method 'has_compile_time_value' on object of type NQPMu
xinming In this case, Why will infix:<+> work, But not infix:{'+'} ?
23:04 chloekek left 23:08 risorg23 joined
risorg23 does anyone know of any way to add autocompletion for raku on emacs? 23:12
as far as i'm aware, only syntax highlighting and checking exists for the time being 23:13
23:19 wamba left 23:24 KotH left 23:25 KotH joined
AlexDaniel risorg23: hmm, I simply use dabbrev-expand globally 23:31
which isn't a proper autocompletion but it works for me 23:32
risorg23: I use it together with key-chord mode so that the expansion is triggered by keys under my fingertips 23:33
risorg23 yeah, i use that too but i wish something like company-raku existed 23:38