»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
Geth doc: cfa self-assigned Inconsistent index escaping github.com/perl6/doc/issues/2535
005ad89e57 | cfa++ | doc/Language/subscripts.pod6
00:06
00:09 Ven`` left 00:15 jme` joined, p6bannerbot sets mode: +v jme` 00:21 w_richard_w joined 00:22 p6bannerbot sets mode: +v w_richard_w, dct left 00:32 Pikk3wyn left 00:33 lucasb left
buggable New CPAN upload: Red-0.0.1.tar.gz by FCO cpan.metacpan.org/authors/id/F/FC/...0.1.tar.gz 00:45
SmokeMachine lizmat: ^^ :) 00:46
00:51 Cabanossi left, Cabanossi joined 00:52 p6bannerbot sets mode: +v Cabanossi
synopsebot Link: doc.perl6.org/language/subscripts
01:32 kurahaupo_ joined 01:33 p6bannerbot sets mode: +v kurahaupo_ 01:34 kurahaupo left, kurahaupo_ left 01:36 kurahaupo joined 01:37 p6bannerbot sets mode: +v kurahaupo 01:38 kurahaupo_ joined, p6bannerbot sets mode: +v kurahaupo_ 01:39 ryn1x joined 01:40 p6bannerbot sets mode: +v ryn1x 01:41 kurahaupo left
Geth doc: 3d513fbcda | cfa++ | Makefile
typo
01:41
01:46 w_richard_w left 01:55 kurahaupo_ left 02:05 aiaiste left 02:11 silug joined, p6bannerbot sets mode: +v silug 02:18 perplexity joined, p6bannerbot sets mode: +v perplexity, perplexity left
SmokeMachine what should I do on mi6's Changes file? 02:27
02:31 mowcat joined, hphs^ joined 02:32 p6bannerbot sets mode: +v mowcat, p6bannerbot sets mode: +v hphs^ 02:44 jme` left, rbt_ joined 02:45 p6bannerbot sets mode: +v rbt_
buggable New CPAN upload: Red-0.0.2.tar.gz by FCO modules.perl6.org/dist/Red:cpan:FCO 02:45
02:51 leont left
Geth ecosystem: a975ed5a3e | (Fernando Correa de Oliveira)++ (committed using GitHub Web editor) | META.list
Removing Red from the ecosystem

It's now on CPAN
02:56
02:59 molaf left 03:12 molaf joined 03:13 p6bannerbot sets mode: +v molaf 03:17 kurahaupo joined 03:18 p6bannerbot sets mode: +v kurahaupo 03:26 jme` joined 03:27 p6bannerbot sets mode: +v jme` 03:34 varun joined, p6bannerbot sets mode: +v varun, varun is now known as Guest44125
Guest44125 hi I am new to perl6 03:35
just wondering is there any plan to get perl6 ready for data science
03:35 reach_satori left
Guest44125 things like dealing with tabular data in data frame formats 03:36
03:38 Guest44125 left, varun joined 03:39 varun is now known as Guest87230, p6bannerbot sets mode: +v Guest87230
Guest87230 I am new to perl6 03:39
is to possible to use perl6 for dealing with tabular data 03:40
like dataframes in python
hi 03:45
03:45 Guest87230 left
lookatme_q Guest46388, hi 03:55
yes you can
03:57 |oLa|1 left 04:01 reach_satori joined 04:02 p6bannerbot sets mode: +v reach_satori 04:10 [particle]1 joined, p6bannerbot sets mode: +v [particle]1 04:15 hythm_ joined, p6bannerbot sets mode: +v hythm_
hythm_ p6: my @a = <a b c d e f g h>; my @b = @a.rotor(2); say @b[*]:k # 04:19
camelia (0 1 2 3)
hythm_ is there a concise way to get the keys of @b as [(0 0) (0 1) (1 0) (1 1) (2 0)]
qzix p6: say now 04:36
camelia Instant:1546576643.108247
qzix How to get only the value 1546576643.108247 in output? 04:37
SmokeMachine p6: say now.Num 04:39
camelia 1546576833.210346
SmokeMachine qzix: ^^ 04:40
qzix Thanks :)
04:48 Cabanoss- joined, Cabanossi left, p6bannerbot sets mode: +v Cabanoss- 04:56 sauvin joined, p6bannerbot sets mode: +v sauvin
qzix Just my 2c the above behavior seems a little inconsistent to me in this context. 05:01
p6: my $x = now; say $x.WHAT; say $x; say $x.Num; my $y = $x - now; say $y.WHAT; say $y;
camelia (Instant)
Instant:1546578114.378995
1546578114.3789954
(Duration)
-0.0028125
05:18 hythm_ left, kurahaupo left
pony m: say (now - now).Num 05:41
camelia -0.001327473350256231
qzix Agree you can get the value of Duration with Num but as oulined above you don’t have to yet with Instant we do. Couple other curiouse things to me which is around nowing the actual granularity of these values I think narrow rather than Num me be more appropriate but doing that also seems inconsistent when comparing the Instant values with Durations results. 05:44
05:48 curan joined, p6bannerbot sets mode: +v curan 05:49 AlexDaniel joined, p6bannerbot sets mode: +v AlexDaniel
AlexDaniel squashable6: next 05:50
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈4 hours (2019-01-05 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
06:34 kurahaupo joined 06:35 p6bannerbot sets mode: +v kurahaupo 06:38 saki joined, saki left
pony m: 1, 1, { $^a + $^b } ... * > 100 07:19
camelia Potential difficulties:
Useless use of ... in sink context
at <tmp>:1
------> 031, 1, { $^a + $^b } ...7⏏5 * > 100
pony m: say (1, 1, { $^a + $^b } ... * > 100)
camelia (1 1 2 3 5 8 13 21 34 55 89 144)
pony m: say (1, 1, { $^a + $^b } ...^ * > 100) 07:20
camelia (1 1 2 3 5 8 13 21 34 55 89)
07:27 w_richard_w joined, p6bannerbot sets mode: +v w_richard_w 07:31 w_richard_w left 07:56 robertle_ joined 07:57 p6bannerbot sets mode: +v robertle_ 08:03 natrys joined, p6bannerbot sets mode: +v natrys 08:05 ryn1x left 08:13 XieST joined 08:14 p6bannerbot sets mode: +v XieST 08:21 XieST left
daxim does a grammar ever fill in the `list` attribute of the return value of nested `Match`es? 08:24
moritz yes 08:30
m: say 'abc' ~~ /<alpha>+/; say $<alpha>.list.elems 08:31
camelia 「abc」
alpha => 「a」
alpha => 「b」
alpha => 「c」
3
moritz m: 'abc' ~~ /(.).(.)/; say $/.list>>.Str 08:32
camelia (a c)
daxim no, I mean a `grammar Foo {}` grammar
moritz these are the two cases
daxim: a grammar and a regex match produce the same match object structure
08:32 rbt_ left 08:33 rbt_ joined
moritz m: say (grammar { token TOP { <alpha>+ } }).parse('abc')<alpha>.list.elems 08:33
camelia 3
08:33 p6bannerbot sets mode: +v rbt_
daxim m: grammar Foo { token TOP { <S> } token S { <alpha>+ } }.parse('abc').perl.say 08:33
camelia 5===SORRY!5=== Error while compiling <tmp>
Strange text after block (missing semicolon or comma?)
at <tmp>:1
------> 3grammar Foo { token TOP { <S> }7⏏5 token S { <alpha>+ } }.parse('abc').per
expecting any of:
infix
moritz m: say (grammar { token TOP { (.).(.) } }).parse('abc').list.elems 08:34
camelia 2
moritz these are two cases where .list is interesting
daxim can we look at the real output? 08:35
I think the list method call coerces something
m: grammar Foo { token TOP { <alpha>+ }; }.parse('a').perl.say 08:36
camelia Match.new(orig => "a", pos => 1, hash => Map.new((:alpha([Match.new(orig => "a", pos => 1, hash => Map.new(()), list => (), from => 0, made => Any)]))), made => Any, list => (), from => 0)
moritz sure, you can say() the match objects, I just recommend doing it at a real terminal
daxim empty list
08:36 XieST joined
daxim ok, once again, with the grammar Foo {} construct, is the list attr ever filled in? 08:36
moritz yes, becaues TOP itself wasn't quantified
alpha is quantified, so $/<alpha>.list makes sense 08:37
08:37 p6bannerbot sets mode: +v XieST
moritz the other thing that fills Match.list is positional captures 08:37
m: say (grammar { token TOP { (.).(.) } }).parse('abc').perl 08:38
camelia Match.new(list => (Match.new(from => 0, pos => 1, list => (), orig => "abc", hash => Map.new(()), made => Any), Match.new(hash => Map.new(()), made => Any, orig => "abc", list => (), pos => 3, from => 2)), pos => 3, from => 0, hash => Map.new(("" => […
moritz m: say (grammar { token TOP { (.).(.) } }).parse('abc').list.elems
camelia 2
daxim I see, thanks
moritz www.apress.com/us/book/9781484232279 chapter 4 (iirc) for more :-)
daxim buy chapter $29.95, buy book $24.99 08:39
what a steal :D 08:40
moritz Apress belongs to Springer, which is focused on scientific publishing; makes more sense to buy separate chapters when a book is > 80 USD 08:42
amazon might have a cheaper ebook, but with DRM 08:43
XieST college students may downloads form this link free link.springer.com/content/pdf/10.1...3228-6.pdf 08:44
08:59 rindolf left 09:07 rindolf joined 09:08 p6bannerbot sets mode: +v rindolf 09:26 benchable6 left, coverable6 left, benchable6 joined, coverable6 joined 09:27 p6bannerbot sets mode: +v benchable6, p6bannerbot sets mode: +v coverable6 09:32 zakharyas joined 09:33 p6bannerbot sets mode: +v zakharyas 09:40 rindolf left 09:48 rindolf joined 09:49 p6bannerbot sets mode: +v rindolf
masak if we're generating bytecode from a language with macros, do we even need to put the macro bodies in the generated bytecode? 09:53
I mean, it's not like we're going to call those macros at runtime 09:54
(S06 has some wording about `moo()` being a "compile-time call" and `&moo()` being a "runtime call" to the macro. but I don't think that holds up to closer scrutiny. I can elaborate further if someone wants.) 09:55
(or, let's put it like this. my current stance "I don't think that works" really means "I'm unable to imagine how that would work". it's perhaps more a limiation in me than anything else.) :) 09:59
anyway, given that we're *not* calling macros at runtime, it seems to me we should at most be installing a callable stub which complains when called. 10:00
10:00 pmurias joined, p6bannerbot sets mode: +v pmurias
squashable6 🍕 JJ++ wrote a comment on “Colon-pair details in REPL look buggy”: github.com/perl6/roast/issues/507#...-451401552 10:00
🍕🍕🍕 First contribution by JJ++! ♥
pmurias masak: if you want to compile stuff at runtime you need the macros
masak: if not I don't see why would you need them
10:00 kurahaupo left 10:01 kurahaupo_ joined, p6bannerbot sets mode: +v kurahaupo_ 10:04 andrzejku joined 10:05 p6bannerbot sets mode: +v andrzejku
pmurias masak: re synopsis you could hypothetically go into compile time and compile and run the result of the macro, right? 10:08
squashable6 🍕 lizmat++ wrote a comment on “Colon-pair details in REPL look buggy”: github.com/perl6/roast/issues/507#...-451403830 10:10
🍕🍕🍕 First contribution by lizmat++! ♥
lizmat ah, we've started! :-)
10:17 pmurias left 10:19 pmurias joined, p6bannerbot sets mode: +v pmurias 10:25 mowcat left
El_Che hey lizmat 10:29
how is woolfie? Long time no see
lizmat she looks pretty good to me, sitting on the other side of the desk :-) 10:35
10:35 woolfy joined
El_Che waves to woolfy 10:35
squashable6 🍕 JJ++ transferred issue “Colon-pair details in REPL look buggy”: github.com/perl6/roast/issues/507
jnthn masak: Assuming you can export macros, and we have pre-compilation, that's one reason you'd need to. Another less common but possible case would be an EVAL with a macro in lexical scope. 10:41
El_Che jnthn: best wishes, looking fwd for your rakudo plans (as you blogged) 10:45
jnthn El_Che: Thanks :) Well, been getting started with some work on the static optimizer, which will give EA more targets :) 10:47
El_Che great! 10:48
10:48 woolfy left
El_Che Also the using Rakudo for big projects was interesting 10:49
lizmat El_Che: looks like woolfy was not allowed to say anything :-(
El_Che I thought p6bannerbot was supposed to distribute voices? 10:51
timotimo they are
something must be off
10:52 andrzejku left
timotimo hack seems to be in good health, but i can't find a process for the bannerbot on there 10:53
10:55 andrzejku joined
timotimo is the spam attack still on-going? it has been a while since it started 10:55
10:55 p6bannerbot sets mode: +v andrzejku 10:59 natrys left
AlexDaniel timotimo: we can try setting the flag off 11:07
11:12 ChanServ sets mode: +o AlexDaniel, AlexDaniel sets mode: -m
timotimo thanks 11:13
AlexDaniel lizmat: if you say something too fast after joining, the bot thinks that you're a spammer and doesn't voice you 11:14
lizmat even if you wait after that ? 11:15
AlexDaniel lizmat: yes. And yes, in some cases it doesn't voice legitimate users… but that's better than seeing all these spam messages…
lizmat true 11:16
AlexDaniel and I also was talking to myself a few times because of that :(
but now that +m is gone, let's see how it goes
lizmat yup 11:17
11:18 random_yanek left
lizmat wonders how bernsteinbear.com/blog/bytecode-interpreters/ would look in Perl 6 :-) 11:19
11:28 veesh joined 11:29 p6bannerbot sets mode: +v veesh 11:30 random_yanek joined, random_yanek left 11:31 veesh left 11:34 random_yanek joined, random_yanek left 11:36 random_yanek joined 11:37 p6bannerbot sets mode: +v random_yanek 11:40 veesh joined 11:41 p6bannerbot sets mode: +v veesh
squashable6 🍕🍕🍕 First contribution by jnthn++! ♥ 11:42
11:42 pmurias left, pmurias joined, p6bannerbot sets mode: +v pmurias 11:55 XieST left 12:10 reach_satori left 12:11 AlexDani` joined 12:12 p6bannerbot sets mode: +v AlexDani`, AlexDani` left, AlexDani` joined, hitchcock.freenode.net sets mode: +v AlexDani`, p6bannerbot sets mode: +v AlexDani`, AlexDaniel left, AlexDani` is now known as AlexDaniel 12:16 andrzejku left 12:18 zakharyas left 12:23 rindolf left 12:30 AlexDani` joined 12:31 p6bannerbot sets mode: +v AlexDani` 12:32 AlexDaniel left, AlexDani` is now known as AlexDaniel, AlexDaniel left, AlexDaniel joined, barjavel.freenode.net sets mode: +v AlexDaniel, p6bannerbot sets mode: +v AlexDaniel 12:36 rindolf joined 12:37 p6bannerbot sets mode: +v rindolf 13:02 veesh left 13:09 pmurias left 13:16 vrurg left 13:25 pmurias joined, p6bannerbot sets mode: +v pmurias 13:37 kurahaupo_ left, pmurias left 13:38 kurahaupo joined, p6bannerbot sets mode: +v kurahaupo
AlexDaniel seems to be ok, hmmm 13:44
13:46 pmurias joined, p6bannerbot sets mode: +v pmurias 13:51 sena_kun joined, p6bannerbot sets mode: +v sena_kun 13:53 pmurias left 13:55 curan left 13:57 zakharyas joined 13:58 pmurias joined, p6bannerbot sets mode: +v pmurias, abraxxa left, p6bannerbot sets mode: +v zakharyas 14:03 leont joined 14:04 p6bannerbot sets mode: +v leont 14:18 leont left 14:21 vrurg joined, pmurias left, titsuki joined 14:22 p6bannerbot sets mode: +v vrurg, p6bannerbot sets mode: +v titsuki 14:26 sena_kun left 14:33 reach_satori joined 14:34 p6bannerbot sets mode: +v reach_satori
cfa morning 14:48
14:52 xinming left
moritz hi 15:04
cfa hi moritz 15:05
happy new year 15:06
15:07 mowcat joined
moritz same to you :-) 15:07
15:07 p6bannerbot sets mode: +v mowcat
squashable6 🍕 lizmat++ opened issue “Cannot bind to an attribute from a role”: github.com/rakudo/rakudo/issues/2581 15:14
15:18 jme` left, leont joined 15:19 p6bannerbot sets mode: +v leont
cfa bisectable6: :a1:b2:c3 15:27
bisectable6 cfa, On both starting points (old=2015.12 new=f2ed3db) the exit code is 0 and the output is identical as well
cfa, Output on both points: «»
cfa bisectable6: my @a = :a1:b2:c3; say @a.elems
bisectable6 cfa, On both starting points (old=2015.12 new=f2ed3db) the exit code is 0 and the output is identical as well
cfa, Output on both points: «1␤»
AlexDaniel yeah
cfa cool
i gather you know the ticket this refers to
AlexDaniel don't remember it, I think it's on RT
old stuff 15:28
cfa AlexDaniel: github.com/perl6/doc/issues/2536 15:31
AlexDaniel m: my @a = :a1:b2:c3; say @a 15:38
camelia [a1 => True]
AlexDaniel looked through some tickets, can't find it… but please try :)
cfa will do in a bit 15:39
15:42 pmurias joined, p6bannerbot sets mode: +v pmurias
AlexDaniel cfa: there's RT#131089 which is related 15:43
synopsebot RT#131089 [open]: rt.perl.org/Ticket/Display.html?id=131089 Different parsing of combined colonpairs
AlexDaniel which links to RT#125353 and RT#124553 15:44
synopsebot RT#125353 [open]: rt.perl.org/Ticket/Display.html?id=125353 [BUG] %(:a:b) ignores all elements after the first one
RT#124553 [new]: rt.perl.org/Ticket/Display.html?id=124553 Roast rakudo skip/todo test:./S03-operators/adverbial-modifiers.t line:170 reason: 'Multi colonpair syntax not yet understood'
15:48 sjn left 15:49 lucasb joined, p6bannerbot sets mode: +v lucasb 16:07 pmurias left 16:16 SqrtNegInf left
AlexDaniel squashable6: status 16:16
squashable6 AlexDaniel, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈19 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
AlexDaniel, Log and stats: gist.github.com/4ebd4910d110471a1b...12b4a2ccbd
🍕🍕🍕 First contribution by AlexDaniel++! ♥ 16:31
🍕 AlexDaniel++ closed issue “New SEGV issue in Moar”: github.com/rakudo/rakudo/issues/2486
16:34 MilkmanDan left 16:36 MilkmanDan joined, p6bannerbot sets mode: +v MilkmanDan 16:38 rbt_ left 16:39 rbt_ joined, p6bannerbot sets mode: +v rbt_ 16:43 robertle_ left 16:53 MilkmanDan left 16:54 MilkmanDan joined, p6bannerbot sets mode: +v MilkmanDan
squashable6 🍕 AlexDaniel++ labeled issue “JIT ERROR: Negative offset for dynamic label 8” (exotictest): github.com/rakudo/rakudo/issues/2340 16:58
🍕 AlexDaniel++ wrote a comment on “JIT ERROR: Negative offset for dynamic label 8”: github.com/rakudo/rakudo/issues/23...-451502989 16:59
17:09 vrurg left
squashable6 🍕 AlexDaniel++ wrote a comment on “Inconsistent error for `chr` with large codepoints”: github.com/rakudo/rakudo/issues/22...-451507078 17:14
17:30 molaf left 17:32 sjn joined 17:33 p6bannerbot sets mode: +v sjn 17:35 sjn left 17:45 atacama joined, sjn joined, p6bannerbot sets mode: +v atacama 17:46 p6bannerbot sets mode: +v sjn 17:59 lucasb left 18:06 zakharyas left 18:09 domidumont joined, p6bannerbot sets mode: +v domidumont 18:13 kurahaupo_ joined 18:14 p6bannerbot sets mode: +v kurahaupo_ 18:16 kurahaupo left 18:20 random_yanek left 18:29 sauvin left 18:36 random_yanek joined 18:37 p6bannerbot sets mode: +v random_yanek 18:39 leont left
masak jnthn: ah! precompilation! didn't think of that! (and the EVAL use case is quite realistic as well) 18:42
18:48 jme` joined, p6bannerbot sets mode: +v jme` 18:49 vrurg joined, imcsk8 joined 18:50 p6bannerbot sets mode: +v vrurg, p6bannerbot sets mode: +v imcsk8 18:51 st_elmo joined 18:52 p6bannerbot sets mode: +v st_elmo 19:22 andrzejku joined 19:23 p6bannerbot sets mode: +v andrzejku 19:24 ChoHag joined 19:25 p6bannerbot sets mode: +v ChoHag 19:28 sena_kun joined 19:29 p6bannerbot sets mode: +v sena_kun
buggable New CPAN upload: Tomtit-0.0.17.tar.gz by MELEZHIK modules.perl6.org/dist/Tomtit:cpan:MELEZHIK 19:45
19:52 zakharyas joined, p6bannerbot sets mode: +v zakharyas 19:57 domidumont left 20:13 vrurg left
masak curious, slightly OT question: are people still using cpanminus? (I just tried to install it and failed.) 20:28
moritz yes 20:30
I use perlbrew, and 'perlbrew install-cpanm'
20:31 |oLa| joined, p6bannerbot sets mode: +v |oLa|
masak excellent. thank you. 20:35
20:36 st_elmo left 20:41 rbt_ left 20:45 andrzejku left
cfa i do too; i just install using curl, typically 20:50
(also using perlbrew---not sure i was even aware of that subcommand)
(thanks moritz!)
Geth doc: 16d418da26 | cfa++ | 2 files
Fix a couple of /Language links (replace with /language).
21:00
21:06 sena_kun left, koto joined, zachk joined, p6bannerbot sets mode: +v zachk 21:07 p6bannerbot sets mode: +v koto
El_Che perlminus == yes 21:11
Geth doc: dbc2dac837 | cfa++ | doc/Language/experimental.pod6
Fix a few malformed `pack` and `unpack` links from experimental.
21:17
synopsebot Link: doc.perl6.org/language/experimental
21:23 jme` left 21:29 tomaw_ joined, p6bannerbot sets mode: +v tomaw_ 21:30 tomaw left 21:32 tomaw_ is now known as tomaw 21:46 rindolf left 21:47 rindolf joined 21:48 p6bannerbot sets mode: +v rindolf 22:01 SqrtNegInf joined, p6bannerbot sets mode: +v SqrtNegInf
squashable6 🍕 robertlemmen++ wrote a comment on “"Cannot invoke this obje…”: github.com/rakudo/rakudo/issues/25...-451581987 22:04
🍕🍕🍕 First contribution by robertlemmen++! ♥
22:23 Aceeri joined, p6bannerbot sets mode: +v Aceeri 22:33 |oLa| left 23:01 vrurg joined 23:02 p6bannerbot sets mode: +v vrurg 23:07 xinming joined, rindolf left 23:08 p6bannerbot sets mode: +v xinming 23:35 koto left, molaf joined 23:36 p6bannerbot sets mode: +v molaf
vrurg What might be causing "Internal error: inconsistent bind result" on a construct like $obj.&routine( $foo, |args )? 23:38
23:40 ChoHag left 23:45 zakharyas left
moritz a bug in rakudo 23:47
jnthn When signature binding fails, the slow-path binder is used to figure out what went wrong and report a good error. That error occurs when instead it is perfectly happy with the binding, so fails to produce the error. This should never happen (and I've not seen it do so for a long time, so congrats or something...) 23:51
vrurg Aha, I guessed it's a bug (the text suggests) but can't strip it down to simple code. 23:52
23:53 molaf left
vrurg Perhaps would have to link to github in my report. Again. 23:53