🦋 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:52 wamba left 01:00 xinming left 01:03 xinming joined 01:29 Kaiepi left 01:34 Kaiepi joined 01:47 wbn joined 02:12 Grrrr joined 02:28 wildtrees left 02:41 chloekek left 03:41 nativecallable6 left, statisfiable6 left, coverable6 left, greppable6 left, quotable6 left, reportable6 left, bisectable6 left, releasable6 left, notable6 left, benchable6 left, committable6 left, shareable6 left, squashable6 left, unicodable6 left, bloatable6 left 03:42 bisectable6 joined, releasable6 joined, bloatable6 joined, coverable6 joined, nativecallable6 joined 03:43 notable6 joined, shareable6 joined 03:44 hythm joined, reportable6 joined, squashable6 joined, statisfiable6 joined, greppable6 joined, benchable6 joined, unicodable6 joined 03:45 quotable6 joined, committable6 joined
Xliff m: use NativeCall; my int16 = 1; 04:17
camelia 5===SORRY!5=== Error while compiling <tmp>
Malformed my
at <tmp>:1
------> 3use NativeCall; my int167⏏5 = 1;
Xliff m: use NativeCall; my int16 $a = 1;
camelia ( no output )
04:47 evalable6 joined 04:57 jt22 joined 05:07 stoned751 left, jt22 left 05:13 rindolf joined 06:16 jmerelo joined 06:24 hythm left
Xliff m: "abc".trans(['a'] => ['z], [ 'c' ] => ['y']).say 06:28
camelia 5===SORRY!5=== Error while compiling <tmp>
Two terms in a row
at <tmp>:1
------> 3"abc".trans(['a'] => ['z], [ '7⏏5c' ] => ['y']).say
expecting any of:
infix
infix stopper
statement end
sta…
Xliff m: "abc".trans(['a'] => ['z'], [ 'c' ] => ['y']).say 06:29
camelia zby
Xliff m: "abc".trans(['a'] => ['z'], [ 'c' ] => ['y']).say
camelia zby
jmerelo m: "abc".trans(['a','c'] => ['z','y']).say
camelia zby
tellable6 2019-11-23T17:53:07Z #raku-dev <lizmat> jmerelo: please privmsg me when you have a chance
jmerelo .seen lizmat
tellable6 jmerelo, I saw lizmat 2019-11-23T20:34:15Z in #raku: <lizmat> afk again& 06:30
06:55 andrzejku joined
jmerelo releasable6: status 07:12
releasable6 jmerelo, Next release will happen when it's ready. There are no known blockers. 248 out of 491 commits logged (⚠ 9 warnings)
jmerelo, Details: gist.github.com/4e69c6573b757af69a...cd9b11c305
07:15 cpan-raku left 07:20 cpan-raku joined, cpan-raku left, cpan-raku joined 07:54 wbn left, wbn joined 08:07 andrzejku left 08:24 wamba joined 08:33 xinming_ joined 08:36 xinming left 08:37 stoned75 joined
Geth_ doc/perl6: d59f179854 | (JJ Merelo)++ | Makefile
Adds new target, refs #3096
08:56
doc: ce70fb7d7a | (JJ Merelo)++ | Makefile
Adds new target

  (tested by using it). Closes #3096
09:59 sena_kun joined 10:03 Altai-man_ joined 10:05 sena_kun left
AlexDaniel Does anybody know who registered github.com/Raku ? 10:43
jmerelo AlexDaniel: might it have been tbrowder? 10:44
10:49 chloekek joined 10:54 rakudows joined 10:55 rakudows left
cpan-raku New module released to CPAN! Gnome::GObject (0.15.3) by 03MARTIMM 11:03
AlexDaniel anyway, whoever owns it please get in touch with me 11:17
El_Che wasn't it used by a non-raku dev?
11:31 andrzejku joined
El_Che It has 2 followers: tbrowder andd olorin37 11:34
I know 1 of the 2 :)
lizmat El_Che: the non-raku dev gave up the account, but I missed that, so apparently someone else took it now 11:38
11:50 barend joined 11:52 barend left
Altai-man_ m: ({ :42id }).sort(*.hehe).say; 11:52
camelia (id => 42)
Altai-man_ it seems a bit foot-shooting for me
though I understand there is a line between "short-circuit it for speed" and "prevent possible error" 11:53
m: ({ :42id }, { :30id },).sort(*.hehe).say;
camelia No such method 'hehe' for invocant of type 'Hash'. Did you mean 'head'?
in block <unit> at <tmp> line 1
Altai-man_ because ^
Geth_ doc: 63d3d4c6bb | (JJ Merelo)++ | README.md
Change docs for #3096
11:55
tbrowder AlexDaniel: i did not register github/rakul, but i found it recently and started following it 11:56
El_Che damn
11:58 andrzejku left
jmerelo Maybe we should preemptively create rakulang, just in case 11:58
Ah, AlexDaniel just did that
So, why bother. That's good enough. 11:59
12:04 sena_kun joined 12:05 Altai-man_ left
jmerelo This error in the documentation tests is happening infrequently, but often travis-ci.org/perl6/doc/builds/616...urce=email 12:25
Look at line 177 on
It's registered as a Rakudo bug, but it's almost impossible to understand what's going on there.
moritz could be non-deterministic behavior in the test or the tested code as well 12:32
13:05 jmerelo left
tbrowder strange that there is no info on the owner of github/raku. maybe perl6 owner can get github to look into the issue 13:07
cpan-raku New module released to CPAN! Gnome::Glib (0.15.2) by 03MARTIMM 13:08
13:24 chloekek left 13:29 leah2 joined 13:39 Guest38485 left 13:43 chloekek joined 13:46 Guest38485 joined 14:02 Altai-man_ joined 14:05 sena_kun left 14:08 normanrockwell joined 14:29 normanrockwell left 15:16 chloekek left 15:34 lucasb joined 15:42 normanrockwell joined 15:48 nosqrt left 16:03 sena_kun joined 16:05 Altai-man_ left
Kaiepi .tell jmerelo, why does the class tutorial in the docs exist on top of the object orientation documentation? most of it seems to be redundant 16:15
tellable6 Kaiepi, I'll pass your message to jmerelo
16:16 normanrockwell left
Kaiepi .tell jmerelo, and the stuff that isn't is stuff i thought was undocumented because it wasn't in the object orientation documentation 16:17
tellable6 Kaiepi, I'll pass your message to jmerelo
16:19 guifa joined 16:26 chloekek joined 16:46 normanrockwell joined 16:55 jmerelo joined 16:59 normanrockwell left
jmerelo Another place where we should update links is Wikipedia en.wikipedia.org/wiki/Raku_rules 17:00
tellable6 2019-11-24T16:15:22Z #raku <Kaiepi> jmerelo, why does the class tutorial in the docs exist on top of the object orientation documentation? most of it seems to be redundant
2019-11-24T16:17:25Z #raku <Kaiepi> jmerelo, and the stuff that isn't is stuff i thought was undocumented because it wasn't in the object orientation documentation
jmerelo .tell kaiepi there are tutorials all over the place which are supposed to provide use cases and a more extended rationale or narrative. 17:01
tellable6 jmerelo, I'll pass your message to Kaiepi
jmerelo .tell Kaiepi in the cases you mention, I am not really sure. Please raise an issue with the undocumented part. The redundant part should probably be improved instead of eliminated, I guess 17:02
tellable6 jmerelo, I'll pass your message to Kaiepi
17:15 normanrockwell joined 17:23 normanrockwell left 17:33 Xliff left
SmokeMachine sena_kun: would you mind to show me what `.^create` is breaking for you? 18:01
18:02 Altai-man_ joined 18:05 sena_kun left
Kaiepi jmerelo, my issue is that the object orientation page is already pretty exhaustive wrt how classes are used. apart from how you'd write static fields in raku, i'm not sure it adds much 18:06
tellable6 2019-11-24T17:01:18Z #raku <jmerelo> kaiepi there are tutorials all over the place which are supposed to provide use cases and a more extended rationale or narrative.
2019-11-24T17:02:11Z #raku <jmerelo> Kaiepi in the cases you mention, I am not really sure. Please raise an issue with the undocumented part. The redundant part should probably be improved instead of eliminated, I guess
jmerelo Kaiepi: so what you say is to explain less in the introduction to the class?
Kaiepi: anyway, an issue would really help. 18:07
Kaiepi ig so
18:29 lizmat left 18:30 lizmat joined
Kaiepi m: class Foo { method a { } }; say Foo.^has_method: 'a' 18:55
camelia No such method 'has_method' for invocant of type 'Perl6::Metamodel::ClassHOW'. Did you mean 'add_method'?
in block <unit> at <tmp> line 1
Kaiepi oh wait that's a sub not a method
m: class Foo { method a { } }; Foo.^methods.map(*.name) (cont) 'a' 18:57
camelia WARNINGS for <tmp>:
Useless use of "(cont)" in expression ".map(*.name) (cont) 'a'" in sink context (line 1)
Kaiepi m: class Foo { method a { } }; say Foo.^methods.map(*.name) (cont) 'a'
camelia True
Kaiepi m: class Foo { method a { } }; class Bar is Foo { }; say Bar.^methods.map(*.name) (cont) 'a'
camelia True
Kaiepi m: class Foo { method a { } }; role Bar is Foo { }; say Bar.^methods.map(*.name) (cont) 'a' 18:58
camelia False
Kaiepi m: class Foo { method a { } }; role Bar is Foo { }; say so Bar.^find_method: 'a'
camelia True
Kaiepi why isn't there a metamethod for checking if a method exists on a class or role? 18:59
m: class Foo { method a { } }; class Bar is Foo { }; say Bar.^declares_method: 'a' 19:00
camelia 0
Kaiepi oh wait 19:02
m: class Foo { method a { } }; class Bar is Foo { }; say Bar.^can: 'a'
camelia (a)
Kaiepi nvm, brain fart
cpan-raku New module released to CPAN! Gnome::Gdk3 (0.14.14) by 03MARTIMM 19:08
Kaiepi asking questions like "why can't you ... ?" instead of "can you ... ?" is a bad habit i need to get rid of 19:11
Geth_ doc: finanalyst++ created pull request #3098:
PrecompilationRepository document
19:33
19:33 andrzejku joined
cpan-raku New module released to CPAN! Gnome::GObject (0.15.4) by 03MARTIMM 19:39
19:40 lizmat left 19:42 lizmat joined 19:44 RobRaku joined
lizmat greets RobRaku 19:46
19:47 jmerelo left 19:55 andrzejku left
Altai-man_ m: my %users = 1 => { :username('Test') }; my %posts = 1 => { :1author-id, :created(now) }; %posts.values.map({ $_<username> = %!users{$_<author-id>}<username>; $_; }).sort(*.<created>).say 19:56
camelia 5===SORRY!5=== Error while compiling <tmp>
Variable %!users used where no 'self' is available
at <tmp>:1
------> 3osts.values.map({ $_<username> = %!users7⏏5{$_<author-id>}<username>; $_; }).sort(*
19:56 andrzejku joined
Altai-man_ m: my %users = 1 => { :username('Test') }; my %posts = 1 => { :1author-id, :created(now) }; %posts.values.map({ $_<username> = %users{$_<author-id>}<username>; $_; }).sort(*.<created>).say 19:56
camelia ({author-id => 1, created => Instant:1574625415.941691, username => Test})
Altai-man_ ^ can anyone help me with making the map clause friendlier?
or at least not so `$_ at the end`
Altai-man_ .oO ( a for loop ) 19:57
20:03 sena_kun joined 20:06 Altai-man_ left 20:10 stoned75 left 20:12 RobRaku left
AlexDaniel sena_kun: save to sql database, join it there? :D 20:13
sena_kun AlexDaniel, :] 20:14
AlexDaniel sena_kun: in some way it is surprising that this kind of data isn't already there
sena_kun cool fools like me are writting in-memory DBs!
20:15 RobRaku joined
sena_kun AlexDaniel, well, I decided to leave it as is, actually, so, please, never mind... 20:15
20:20 stoned75 joined 20:23 stoned75 left 20:26 stoned75 joined
cpan-raku New module released to CPAN! Gnome::Gtk3 (0.19.3) by 03MARTIMM 20:27
20:31 RobRaku left 20:35 woolfy1 joined, RobRaku joined 20:36 woolfy1 left 20:45 RobRaku left 20:46 RobRaku joined 20:50 RobRaku left 20:52 RobRaku joined 20:57 rindolf left 21:09 patrickb joined 21:15 RobRaku left 21:20 andrzejku left 21:33 normanrockwell joined 21:55 robertle left 22:03 Altai-man_ joined
libertas hi, what is the extension for raku files? .p6? .raku? 22:04
22:05 sena_kun left
Altai-man_ libertas, .raku, but it is safe to use .p6 for now and it'll be supported by all tooling for a long migration period 22:05
normanrockwell is the same true for .pm6? (new to Raku and I have recently started trying to write a small library) 22:07
libertas my vim editor doesn't seem to recognize .raku, that's why I asked
AlexDaniel normanrockwell: for modules it doesn't really matter that much, what you declare in META6.json is what's important 22:12
libertas: please file a ticket, it should be fixed github.com/vim-perl/vim-perl6/issues 22:13
normanrockwell AlexDaniel: you're talking about the 'provides' section of META6.json, correct? 22:16
AlexDaniel normanrockwell: yes
normanrockwell awesome, thanks! 22:17
22:20 normanrockwell left
libertas AlexDaniel: done. 22:23
I'd just like to say that I've never programmed in Perl*, but raku seems very well thought and I'm having fun with it 22:25
23:04 Altai-man_ left 23:19 wamba left 23:20 lucasb left 23:35 wamba joined 23:38 chloekek left 23:48 patrickb left 23:52 wamba left 23:55 Kaiepi left 23:58 Kaiepi joined