»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
00:01 MasterDuke joined 00:07 slayergames joined 00:14 comborico1611 left 00:15 slayergames left
AlexDaniel [Coke]: oh, now that I backlogged #moarvm I see it was mentioned already :) 00:24
00:26 HaraldJoerg left 00:39 mcmillhj joined 00:44 mcmillhj left 00:47 MilkmanDan left 00:48 MilkmanDan joined 00:58 mcmillhj joined 01:02 mcmillhj left 01:04 lookatme joined 01:12 tharkun left 01:13 tharkun joined 01:26 mcmillhj joined 01:32 mcmillhj left 01:43 mcmillhj joined 01:46 ilbot3 left 01:47 mcmillhj left 01:48 zakharyas joined 01:49 AlexDaniel left 01:50 Davidz joined, Davidz left 01:56 ilbot3 joined, ChanServ sets mode: +v ilbot3 02:02 Khisanth left 02:13 mcmillhj joined 02:15 Khisanth joined 02:18 mcmillhj left 02:32 ufobat_ joined 02:35 ufobat left 03:03 pilne left 03:04 mcmillhj joined 03:09 mcmillhj left 03:21 lizmat left 03:24 mcmillhj joined 03:25 Khisanth left 03:28 mcmillhj left 03:52 Khisanth joined 03:56 mcmillhj joined 04:01 mcmillhj left 04:03 lizmat joined 04:06 Khisanth left 04:08 eliasr left 04:13 mcmillhj joined 04:18 mcmillhj left 04:20 Khisanth joined 04:23 khw left 04:26 xtreak joined 04:40 kent\n left 04:42 sno left 04:43 curan joined 04:44 mcmillhj joined 04:49 mcmillhj left 04:53 nightfrog left 04:54 nightfrog joined, kent\n joined 05:03 Khisanth left 05:06 jmerelo joined
jmerelo Morning 05:07
yoleaux 14 May 2018 22:16Z <El_Che> jmerelo: I would propose a "obsolete" tag. There are question tagged with perl6 on SO that are no longer relevant or do not even work anymore (e.g. perl6 on parrot)
14 May 2018 22:17Z <El_Che> jmerelo: the tag and a comment on the question
jmerelo .tell El_Che I think it's better to update them where possible... 05:08
yoleaux jmerelo: I'll pass your message to El_Che.
05:09 mcmillhj joined
jmerelo greppable6: nativeconv 05:11
greppable6 jmerelo, Found nothing!
05:12 thundergnat left 05:14 mcmillhj left 05:16 Khisanth joined 05:17 sauvin joined 05:19 kini left
Geth doc: ec3ec9e99d | (JJ Merelo)++ | doc/Language/nativecall.pod6
Reviews NativeCall

Eliminates accidental MD refs #2022
Also reviews changes in #1376 have been made. "is native" is added. Still the page needs improvement, but this closes #1376
05:22
synopsebot Link: doc.perl6.org/language/nativecall
05:23 mcmillhj joined 05:27 Resol joined, mcmillhj left, Resol left
Geth doc: e24101742d | (JJ Merelo)++ | doc/Language/5to6-nutshell.pod6
Suggests nextsame/nextwidth

Which would close #1389. Also eliminates accidental MD, references issue #2022. Some minor reformatting.
05:31
synopsebot Link: doc.perl6.org/language/5to6-nutshell
05:32 skids left 05:33 thundergnat joined 05:37 |oLa| joined 05:38 |oLa| left 05:39 |oLa| joined 05:54 |oLa| left, sno joined 05:55 kini joined, mcmillhj joined 06:01 mcmillhj left, wamba joined
Geth doc/master: 4 commits pushed by (JJ Merelo)++ 06:01
06:07 mcmillhj joined 06:12 mcmillhj left
buggable New CPAN upload: PDF-Class-0.1.9.tar.gz by WARRINGD modules.perl6.org/dist/PDF::Class:cpan:WARRINGD 06:12
06:16 Guest60583 joined, domidumont joined
Guest60583 `run 'echo', "\$0"` 06:16
how do you get $0? 06:17
jmerelo Guest60583: as in the executable name? Or the first argument of an external program? 06:18
tyil Guest60583: you mean just capture the output of the `run`?
Guest60583 `shell 'echo $0'` = /bin/sh
jmerelo p6: run "echo", "\$0" 06:19
camelia run is disallowed in restricted setting
in sub restricted at src/RESTRICTED.setting line 1
in sub run at src/RESTRICTED.setting line 14
in block <unit> at <tmp> line 1
Guest60583 shell = qx = qqx 06:20
jmerelo perl6 -e 'shell "echo \$0"' returns "/bin/sh" in my case 06:21
Guest60583 what does run use if not /bin/sh?
tyil run calls the application directly, not a shell iirc
Guest60583 how?
06:21 dolmen joined
tyil !p6 my $p = run 'echo', '$0', :out; $p.out.slurp.say; 06:22
p6: my $p = run 'echo', '$0', :out; $p.out.slurp.say;
camelia run is disallowed in restricted setting
in sub restricted at src/RESTRICTED.setting line 1
in sub run at src/RESTRICTED.setting line 14
in block <unit> at <tmp> line 1
tyil sad
06:22 domidumont left
tyil but that returns the literal $0 to me 06:22
Guest60583 how do you get the environment?
tyil thats in %*ENV 06:23
06:23 domidumont joined
Guest60583 `run 'echo', "%*ENV"` = %*ENV 06:24
tyil !p6 dd %*ENV 06:25
p6: dd %*ENV
camelia {:HOME("/home/camelia"), :LC_CTYPE("en_US.UTF-8"), :LOGNAME("camelia"), :MANPATH("/home/camelia/perl5/perlbrew/perls/perl-5.20.1/man:"), :ME("tyil"), :PATH("/home/camelia/perl5/perlbrew/bin:/home/camelia/perl5/perlbrew/perls/perl-5.20.1/bin:/usr/local…
Guest60583 is `run` faster than `echo` & `qx` & `qqx` because it does it without the shell overhead? 06:26
s/echo/shell
moritz Guest60583: have you tried to benchmark it? 06:27
jmerelo Guest60583: that might be the case. Did you benchmark it?
(and I saw moritz's answer while I was writing...)
Guest60583 how do you benchmark it?
cpu scheduling and stuff can interfere
run only runs a single command 06:28
loops are in the shell
s/shell/\/bin\/sh 06:29
06:31 w_richard_w1 joined
jmerelo Guest60583: that's always the case. Simply run it several times, up to 30. 06:31
06:33 dolmen left
El_Che jmerelo: I am not updating the early perl6 implementation :) 06:34
yoleaux 05:08Z <jmerelo> El_Che: I think it's better to update them where possible...
El_Che s
let's update pugs and parrot and see how far we get :)
06:34 wamba left 06:35 w_richard_w left, mcmillhj joined 06:39 mcmillhj left
jmerelo El_Che: good luck 06:41
06:44 w_richard_w1 left 06:46 mniip left
El_Che jmerelo: I'll create 2 tickets and tag them with TPF GRANT JMERELO 06:49
:)
"yes he can"
jmerelo El_Che: "yes, he will definitely, maybe, give it a try" 06:50
06:50 Ven`` joined, psychoslave joined
donpdonp m: Buf.new(227,225,243,232) eqv Buf.new(227,225,243,232) 06:51
camelia WARNINGS for <tmp>:
Useless use of "eqv" in expression ".new(227,225,243,232) eqv Buf.new(227,225,243,232)" in sink context (line 1)
06:52 robertle joined
El_Che train arrives 06:52
bbl
donpdonp m: say "{Buf.new(227,225,243,232) eqv Buf.new(227,225,243,232)}"
camelia True
donpdonp im seeing something weird. 06:53
say "chain check {$header.chain_id.perl} eqv {$chain.params.header.perl} is {$header.chain_id eqv $chain.params.header} {Buf.new(227,225,243,232) eqv Buf.new(227,225,243,232)}";
chain check Buf.new(227,225,243,232) eqv Buf.new(227,225,243,232) is False True 06:54
the perl output is the same as the literal expression (the last one), yet using the variables with eqv is false, and the literals with eqv is true
06:54 Ven`` left 06:56 Ven`` joined 06:58 Ven`` left 07:03 parv joined 07:04 Ven`` joined 07:07 mcmillhj joined 07:09 wamba joined 07:10 aindilis left 07:11 mcmillhj left 07:13 vivus-ignis joined 07:14 dakkar joined 07:20 Guest60583 left 07:27 amalia___ joined 07:34 mniip joined 07:35 mcmillhj joined, darutoko joined 07:38 vivus-ignis is now known as ignis__away 07:39 Ven` joined, Ven`` left 07:40 w_richard_w joined, mcmillhj left 07:43 ignis__away is now known as vivus-ignis 07:46 atroxaper joined 07:47 mcmillhj joined 07:51 ktown left 07:52 mcmillhj left
jmerelo m: say + "abcrd-12.3.4".comb.grep: /<alnum>/ 07:54
camelia 9
jmerelo m: say + "abcñé-12.3.4".comb.grep: /<alnum>/
camelia 9
07:55 araujo left
jmerelo m: say + "abcñé-12.3.Ⅲ".comb.grep: /<alnum>/ 07:56
camelia 8
jmerelo m: say + "abcñþ-12.3.4".comb.grep: /<alnum>/
camelia 9
jmerelo So roman numbers are not numbers...
m: say + "abcñþ-12.3.② ".comb.grep: /<alnum>/ 07:57
camelia 8
07:59 scimon joined 08:02 HaraldJoerg joined, ChoHag left
donpdonp a little simpler but just as confusing: say "{$chain.params.header.perl} {$chain.params.header eqv Buf.new(227,225,243,232)}"; => Buf.new(227,225,243,232) False 08:04
donpdonp headdesks
08:06 psychoslave left
donpdonp m: my $h = Buf.new(227,225,243,232); say "{$h.perl} {$h eqv Buf.new(227,225,243,232)}" 08:07
camelia Buf.new(227,225,243,232) True
donpdonp its something to do with the structure of $chain.params.header. Buf.new($chain.params.header) eqv Buf.new(227,225,243,232) => True. o^O 08:11
eqv is comparing more than the two Bufs.
08:23 mcmillhj joined 08:24 vivus-ignis is now known as ignis__away 08:27 mcmillhj left 08:29 ignis__away is now known as vivus-ignis 08:35 psychoslave joined 08:38 parv left 08:39 vivus-ignis is now known as ignis__away 08:41 mcmillhj joined, ignis__away is now known as vivus-ignis 08:44 wamba left 08:45 mcmillhj left 08:46 Ven` left
Geth doc: b77b8de74c | (JJ Merelo)++ | 5 files
Eliminating accidental markdown refs #2022
08:50
doc: bbf9ba2e07 | (JJ Merelo)++ | doc/Type/Cursor.pod6
Less accidental markdown refs #2022
synopsebot Link: doc.perl6.org/type/Cursor
doc: 92cb54cb69 | (JJ Merelo)++ | doc/Type/Routine.pod6
less accidental markdown refs #2022

And also adds reference to anon refs #1655
synopsebot Link: doc.perl6.org/type/Routine
08:51 xtreak left
Geth doc: c2fdf325f3 | (JJ Merelo)++ | doc/Type/Compiler.pod6
Less accidental markdown refs #2022
08:57
synopsebot Link: doc.perl6.org/type/Compiler
doc: bfd97bfb3c | (JJ Merelo)++ | doc/Type/Rational.pod6
Less accidental markdown refs #2022
synopsebot Link: doc.perl6.org/type/Rational
doc: 0d6b80178b | (JJ Merelo)++ | doc/Type/Cool.pod6
Last accidental markdown closes #2022
09:01
synopsebot Link: doc.perl6.org/type/Cool
09:05 HaraldJoerg1 joined 09:07 HaraldJoerg left 09:09 wamba joined
lizmat clickbaits p6weekly.wordpress.com/2018/05/14/...ough-time/ 09:10
jmerelo lizmat++ 09:13
09:15 mcmillhj joined 09:17 Ven`` joined, xtreak joined 09:20 mcmillhj left 09:31 w_richard_w left 09:44 Actualeyes joined 09:52 atroxaper left 09:56 Ven`` left 09:59 Guest34373 left 10:12 rindolf joined 10:19 giraffe joined 10:20 giraffe is now known as Guest5068 10:24 vivus-ignis is now known as ignis__away 10:42 MasterDuke left 10:56 zakharyas left 10:57 amalia___ left 11:00 curan left 11:10 Ven`` joined
buggable New CPAN upload: Inline-Perl5-0.33.tar.gz by NINE modules.perl6.org/dist/Inline::Perl5:cpan:NINE 11:12
11:27 Ven`` left, Ven` joined 11:29 enheh joined, ignis__away is now known as vivus-ignis
jkramer Is there a baggy type that supports negative weights? 11:31
m: <a a a b c>.Bag (-) <a b b b>.Bag
camelia WARNINGS for <tmp>:
Useless use of "(-)" in expression ".Bag (-) <a b b b>.Bag" in sink context (line 1)
jkramer Hmm what? o_O 11:32
m: <a a a b c>.Bag (-) <a b b b>.Bag
camelia WARNINGS for <tmp>:
Useless use of "(-)" in expression ".Bag (-) <a b b b>.Bag" in sink context (line 1)
jkramer Works in my p6 repl
Anyway, the result would be Bag(a(2), c). But I need Bag(a(2), b(-2), c)
m: say <a a a b c>.Bag (-) <a b b b>.Bag 11:33
camelia Bag(a(2), c)
jkramer Ah I keep forgetting that
Nevermind, Mix is what I was looking for :) 11:34
11:37 markong joined 11:38 xtreak left
Geth doc: d16c2da871 | (JJ Merelo)++ | doc/Type/Mix.pod6
Adds note on reverse refs #1105
11:40
synopsebot Link: doc.perl6.org/type/Mix
doc: 8f4aa59f2b | (JJ Merelo)++ | 3 files
Notes on reverse added, closes #1105
jmerelo m: say <a a a b c>.Mix (-) <a b b b>.Mix 11:41
camelia Mix(a(2), b(-2), c)
11:41 xtreak joined, pdcawley left
jmerelo jkramer: right. Maybe ask it in StackOverflow too? It's kind of quiet lately... 11:41
11:42 xtreak left
El_Che The SO question left unaswered are often NativeCall and encoding. If someone is knowledgable in those, feel free 11:53
Geth doc: 7cb7770c88 | (JJ Merelo)++ | 4 files
Adds note on ordering closes #1106
11:59
jkramer m: say (['foo'], Any, ['bar']).map(* or []) 12:05
camelia 5===SORRY!5=== Error while compiling <tmp>
Unable to parse expression in argument list; couldn't find final ')' (corresponding starter was at line 1)
at <tmp>:1
------> 3say (['foo'], Any, ['bar']).map(*7⏏5 or [])
expecting any o…
jkramer The parens seem balanced too me, am I missing something?
12:06 Ven` left 12:07 Ven`` joined
timotimo jkramer: you can't put an "or" there 12:08
the precedence does not allow it
12:11 eliasr joined 12:19 Ven`` left 12:21 wamba left 12:29 Ven`` joined 12:30 AlexDaniel joined 12:38 psychoslave left, psychoslave joined 12:39 vivus-ignis is now known as ignis__away, jmerelo left 12:40 Ven`` left, Ven`` joined, ignis__away is now known as vivus-ignis, mcmillhj joined 12:42 psychoslave left 12:43 psychoslave joined 12:48 dakkar left 12:49 dakkar joined, ryn1x left 12:50 ryn1x joined 12:52 zakharyas joined 12:54 irco left 12:55 ChoHag joined, ryn1x left 12:56 ryn1x joined, irco joined 12:59 ChoHag left 13:00 atroxaper joined 13:01 irco left
lizmat weekly: www.perl.com/article/the-perl-conf...he-corner/ 13:02
notable6 lizmat, Noted!
13:02 wamba joined 13:04 athenot joined 13:05 Ven`` left 13:07 ChoHag joined 13:09 athenot left 13:10 athenot joined 13:13 Zoffix joined
Zoffix m: say (["foo"], Any, ["bar"]) Z||[]xx* 13:13
camelia ([foo] [] [bar])
Zoffix m: say (["foo"], Any, ["bar"])».&[or]:[] 13:14
camelia ===SORRY!===
Cannot find method 'has_compile_time_value' on object of type NQPMu
Zoffix m: say (["foo"], Any, ["bar", Any])».&[or]: [] 13:17
camelia ([foo] [] [bar []])
13:18 Ven`` joined
Zoffix m: say (["foo"], Any, ["bar", Any]).map: *.&[or]: [] 13:19
camelia ([foo] [] [bar (Any)])
Zoffix ^_^ 13:20
13:21 Ven`` left, irco joined 13:22 vivus-ignis is now known as ignis__away 13:23 dakkar left 13:26 ignis__away is now known as vivus-ignis
Zoffix I feel like I'm cursed. Any time I try to actually use Perl 6, I run into issues that prevent me from doing so enjoyably. 13:29
Cro doesn't wanna do HTTP2: stackoverflow.com/questions/503503...-supported
13:32 ChoHag left
Zoffix jmerelo: roman numerals have "No" properly (Numeric Other), while "numbers" have "Nd" (Numeric Digit). You can use single No chars as numeric literals in code, but that's about where their "numberness" ends. 13:33
13:33 ChoHag joined
Zoffix m: say ②**Ⅲ 13:33
camelia 8
Zoffix m: say ²²
camelia 4
timotimo Zoffix: can you strace your script with -e open to see what .ld file it tries to use? also, i'm not sure if it makes a difference, but try "sudo ldconfig" to get libraries updated? 13:34
Zoffix Well, shit. timotimo FTW 13:35
sudo ldconfig fixed it.
timotimo: wanna respond to that SO answer?
timotimo cool, i'll put it up on stackoverflow
yeah
now how do i phrase it so that it doesn't sound weird that i actually know that what i'm writing is actually the right answer %)
Zoffix "You probably need to <blah blah blah>" 13:36
13:36 dakkar joined
timotimo i've phrased it so that it doesn't sound presumtuous to anyone coming to the thread with the same question but possibly a different actual situation 13:37
13:41 zakharyas left 13:45 ryn1x left, ryn1x joined 13:46 itaipu joined, thundergnat left 13:47 thundergnat joined
Zoffix donpdonp: maybe .perl is lying? Did you figure out the problem? 13:49
timotimo eqv is the one that also checks if the .WHAT matches up?
Zoffix s: &infix:<eqv>, \(Buf.new, Buf.new) 13:50
SourceBaby Zoffix, Sauce is at github.com/rakudo/rakudo/blob/9aa6...f.pm6#L856
timotimo yup
donpdonp Zoffix: i took the easy way out and rebuilt the Buf from the Buf :) 13:52
timotimo i sure hope it isn't one of the cases where there's two types of the same name that should be equal but have different addressess
Zoffix donpdonp: what's the code that was causing the problem?
donpdonp well now i need to learn what .WHAT does :)
Zoffix If it's a bug, it should be fixed.
donpdonp: it returns the type object of the thing
it's a fake method
timotimo since buf is one of the things that are punned roles
donpdonp Zoffix: well hard to narrow down the bug. $my_class.param.buf_var eqv $identical_buf is False 13:54
also its late here and my brain is tired.
Zoffix donpdonp: what's .param? Just some method?
donpdonp github.com/donpdonp/blkmev/blob/ma...in.pm6#L23 13:55
Zoffix donpdonp: also, is this in a module? As in, is the $my_class from one module, but.... .. Ok, I'll play with the repo
donpdonp $chain.params is set to BlkMeV::Chain::Params::BitcoinCash.new, which has a Buf (.header)
Zoffix FWIW you can write this github.com/donpdonp/blkmev/blob/e7...ev#L21-L22 as just `$client_supplier.emit: $chain, :$host.Pair, True;` That way `:$host` won't get passed as named arg 13:58
14:02 lizmat left 14:03 atroxaper left, ChoHag left, idiosyncrat joined
Zoffix gives up trying to repro it 14:06
14:07 Ven`` joined
Zoffix donpdonp: but in the future, it'd be helpful to have a working program that reproduces the problem. 14:08
Otherwise, the compiler bugs will remain. With future programmers wasting time due to them, over and over. 14:09
14:11 lizmat joined
idiosyncrat Hi. I've been doing a "Timeline" of parsing history, in which TimToady plays a signficant role. He's been generous in answering Q's in the past, and I hope he'll indulge another. 14:11
When *I* used yacc, I didn't know how to calculate LALR, so I did it by trial-and-error and a sense of what had worked in the past. 14:12
Once I did know enough math to calculate LALR states, I also knew better than to try to use yacc/bison :-) 14:13
14:13 Zoffix left
idiosyncrat TimToady: you created what AFAIK is the largest most-sophisticated yacc/bison grammar to achieve wide use. Did you ever explicitly calculate LALR states? 14:14
AlexDaniel .seen TimToady 14:19
yoleaux I saw TimToady 11 May 2018 00:39Z in #perl6: <TimToady> or maybe it's looking for the corresponding action routine
AlexDaniel idiosyncrat: maybe leave a message with .tell 14:20
14:22 araujo joined, araujo left, araujo joined
idiosyncrat .tell TimToady at irclog.perlgeek.de/perl6/2018-05-15#i_16168028 -- a Q for you re the parsing history of Perl, for my timeline, which I hope you'll indulge. 14:27
yoleaux idiosyncrat: I'll pass your message to TimToady.
idiosyncrat yoleaux: Thanks.
AlexDaniel` . 14:33
yoleaux 06:40Z <nine> AlexDaniel`: the Inline::Perl5 failures are caused by some change in MoarVM since 2018.04. I'd call that a blocker.
07:03Z <nine> AlexDaniel`: I've found the offending commit in MoarVM and reverted it. Inline::Perl5 is fine again!
14:48 wamba left 14:54 lizmat left 14:58 Ven`` left 14:59 Tison left 15:02 skids joined 15:11 krunen joined 15:15 lizmat joined 15:20 jmerelo joined 15:29 domidumont left, vivus-ignis is now known as ignis__away 15:33 ignis__away is now known as vivus-ignis 15:34 psychoslave left 15:39 enheh left 15:41 vivus-ignis is now known as ignis__away 15:42 molaf joined, atroxaper joined 15:47 ignis__away is now known as vivus-ignis 15:48 robertle left
atroxaper wake up at the morning and firstly check commaIDE beta release 15 days at row already.... 15:53
15:54 vivus-ignis left 15:55 domidumont joined 15:58 abraxxa left
Geth doc: 0ce405a2ee | (Will "Coke" Coleda)++ | doc/Type/Proc/Async.pod6
not perl6 code
15:59
synopsebot Link: doc.perl6.org/type/Proc::Async
15:59 domidumont left 16:05 wamba joined 16:16 sno left 16:21 athenot left 16:22 athenot joined 16:30 comborico1611 joined
skids ponders some colonlist synopsis language 16:32
16:32 lucasb joined
skids fake infix 'modify the previous topmost operator that is tighter in precedence than "loose unary"' 16:33
I'm wondering if that should read tighter-or-equal
16:33 scimon left
skids Currently so :a :b parses as a fake-infix on 'so' 16:34
16:35 dakkar left
skids (everything below ',' gets a parse-time "you can't adverb that" so that's good) 16:35
Geth doc: JJ self-assigned doc sub sink/sink context github.com/perl6/doc/issues/732
f6c4ad62ac | (Will "Coke" Coleda)++ | xt/words.pws
16:39
16:48 mcmillhj left 16:52 mcmillhj joined 16:53 mcmillhj left 17:00 pilne joined
lucasb Operator &prefix:<||> never really existed? I probably can remove placeholder for it in docs.perl6.org/language/operators right? 17:00
17:03 mcmillhj joined 17:08 Zoffix joined
lucasb also, some operators are missing from the precedence table at the top. for example set operators and function composition "o" 17:09
so, doc writers, what is the prefered way to handle Unicode vs. ASCII variants? Include both ways or just one of them? 17:10
I prefer to include both 17:11
lizmat both sounds like a good idea to me :-) 17:12
lucasb nice :)
17:14 domidumont joined 17:15 lizmat left
[Coke] I don't think we have concensus on that, but if we ever do, we'll have to review the whole site anyway, so don't worry about it for now. I think. 17:19
17:24 idiosyncrat left
skids My other colonlist question is: '(:a, :b :c, :d :e :f)' is supposed to be just '(:a,:b,:c,:d,:e,:f)', no? Since there is no tighter-than-comma place to put fake infixes... 17:26
17:31 domidumont left 17:32 lizmat joined
17:33 atroxaper left
Zoffix .ask TimToady do you have any ideas for R#1830 ? e.g. `my FatRat $x; $x *= 42` will never work as the value from zero-arg op call to init the value has wrong infectiousness (Int 1 in this case). I'm thinking: make all Numerics' .new be able to take another Numeric as intializer value, .Bridge'ing any non-core Numeric and if the var is Numeric do `$var.WHAT.new: op.()` for zero-arg call 17:33
yoleaux Zoffix: I'll pass your message to TimToady.
synopsebot R#1830 [open]: github.com/rakudo/rakudo/issues/1830 [math] `+=` meta op with FatRat typeobject LHS uses incorrect type
Zoffix m: my Buf $x = Buf.new ~ Buf.new 17:36
camelia ( no output )
Zoffix m: my Buf $x ~= Buf.new
camelia Cannot use a Buf as a string, but you called the Stringy method on it
in block <unit> at <tmp> line 1
Zoffix
.oO( so much for that plan.. )
Geth doc: 6d662d96d1 | (Lucas Buchala)++ (committed using GitHub Web editor) | doc/Language/operators.pod6
Add missing operators to precedence table
17:41
synopsebot Link: doc.perl6.org/language/operators
Zoffix .tell TimToady actually it affects non-Numeric cases too: github.com/rakudo/rakudo/issues/18...-389252637 17:42
yoleaux Zoffix: I'll pass your message to TimToady.
Zoffix ZofBot: TimToady our BDFL and Saviour! 17:43
17:49 psychoslave joined
jmerelo lucasb: both ways, but unicode is preferred for examples. 17:50
m: say (:a, :b :c, :d :e :f) ~~ (:a,:b,:c,:d,:e,:f) 17:52
camelia WARNINGS for <tmp>:
False
Useless use of ":e" in sink context (line 1)
Useless use of ":c" in sink context (line 1)
Useless use of ":a" in sink context (lines 1, 1)
buggable New CPAN upload: P5lcfirst-0.0.6.tar.gz by ELIZABETH modules.perl6.org/dist/P5lcfirst:cpan:ELIZABETH
New CPAN upload: P5lc-0.0.5.tar.gz by ELIZABETH modules.perl6.org/dist/P5lc:cpan:ELIZABETH
New CPAN upload: P5sleep-0.0.6.tar.gz by ELIZABETH modules.perl6.org/dist/P5sleep:cpan:ELIZABETH
New CPAN upload: P5caller-0.0.4.tar.gz by ELIZABETH modules.perl6.org/dist/P5caller:cpan:ELIZABETH
New CPAN upload: P5reverse-0.0.4.tar.gz by ELIZABETH modules.perl6.org/dist/P5reverse:cpan:ELIZABETH
New CPAN upload: P5each-0.0.4.tar.gz by ELIZABETH modules.perl6.org/dist/P5each:cpan:ELIZABETH
skids jmerelo: colonlists are currently very broken. I'm asking because I'm looking to fix them. 17:53
jmerelo skids: great :-) 17:54
skids (but it's kinda hard to "fix" withot knowing what would be considered "fixed" :-) 17:55
jmerelo skids: the reference would be roast, I guess
skids It's pathetically undertested.
lizmat re CPAN uploads: just adding missing authority info 17:56
17:57 psychoslave left
Geth doc: 793e986c13 | (JJ Merelo)++ | doc/Language/variables.pod6
Improves note on SCHEDULER closes #1065
18:01
synopsebot Link: doc.perl6.org/language/variables
doc: ea09b9b87e | (JJ Merelo)++ | doc/Language/operators.pod6
Minor typographic changes to ≅

This closes #1016 because it had been efectively done way before.
18:04
synopsebot Link: doc.perl6.org/language/operators
18:04 Zoffix left
Geth doc: JJ self-assigned &emit undocumented github.com/perl6/doc/issues/1032
9e2ce55f91 | (JJ Merelo)++ | doc/Type/Pair.pod6

But actually this closes #1204. Examples relevant to the issue were probably removed a long time ago, and the bug report says this should be closed, so I comply.
18:05
jmerelo p6: my @manna = :a1:b2:c3; dd @manna; 18:10
camelia Array @manna = [:a1]
jmerelo skids: maybe this is related? rt.perl.org/Public/Bug/Display.html?id=130816 18:11
18:11 HaraldJoerg joined
jmerelo m: sub s(*%h){ say %h.perl }; s :a1:b2; 18:12
camelia {:a1, :b2}
18:13 HaraldJoerg1 left
skids jmerelo: I'll put that on my list. 18:15
18:22 ChoHag joined 18:23 sauvin left
synopsebot Link: doc.perl6.org/type/Pair
18:28 espadrine joined
Geth ¦ doc: JJ self-assigned List.Set treatment of Pairs is poorly documented github.com/perl6/doc/issues/1245 18:29
18:40 zachk joined, zachk left, zachk joined 18:58 jmerelo left 19:02 psychoslave joined, darutoko left 19:07 doomvox joined 19:08 MilkmanDan left 19:09 MilkmanDan joined 19:16 sno joined 19:23 reportable6 left, greppable6 left, undersightable6 left, reportable6 joined, shareable6 left 19:24 greppable6 joined, ChanServ sets mode: +v greppable6, undersightable6 joined, shareable6 joined 19:27 [particle]1 joined 19:29 [particle] left 19:33 ChoHag left 19:34 mcmillhj left 19:42 ChoHag joined 19:43 Zoffix joined
Zoffix timotimo: yo, how did you get p6weekly.wordpress.com registered? I'm trying to setup a quick demo for a $work meeting but all it gives me are "paid plan" options :S 19:44
timotimo oh?
there's an almost invisible "start with free" button at the bottom 19:45
below the personal/premium/business selection
El_Che wordpress.com/#plans
Zoffix timotimo: yeah, I get "you ain't got any sites. Wanna create one" I click yes... it asks me what it's for and then shows this screen: i.imgur.com/XgBJBg6.png
19:46 Ven`` joined
timotimo weird, it should have .wordpress.com in there. it does on my end 19:46
19:47 cashfields joined
Zoffix El_Che: going through "get started" from that page now gives me the same page as in screenshot, except it also offers to "transfer domain to wordpress". 19:47
timotimo yeah i totally get the free one
19:48 mcmillhj joined
timotimo shall i set up one for you and we just try to transfer it somehow? 19:48
El_Che zoffix: imgur.com/a/9voXbXK
Zoffix nah
wtf :S
El_Che do they only give crappy names nowadays? 19:49
nope
timotimo they have analyzed your mouse movements and such and have found out that you are likely to shell out cash for a plan if they just make it difficult enough to find the free plan
Zoffix OK, I get the "Free" option is I use my US proxy. 19:50
But not if I connect from Canukistan
El_Che zoffix: imgur.com/a/HkJLSyU
cashfields help
Zoffix cashfields: what's up?
19:50 cashfields left
Zoffix :( 19:50
19:50 Ven`` left
El_Che Zoffix: I'll register all zoffix variantions and sell the to you for lots of Canadian dimes 19:51
Zoffix :) 19:52
19:53 mcmillhj left
Zoffix k, I see. If, when it asks you, you say you wanna sell products on the site, it doesn't offer you free option and it saves that setting in a cookie so even if you unselect "store" option it still doesn't show you free version 19:54
Thanks for the help \o
timotimo fun
19:55 dolmen joined
El_Che sneaky 19:55
but it's the only way to catch Canadians
19:55 dolmen is now known as Guest26896
El_Che Guest26896: going inverse-incognito? 19:56
19:58 Ven`` joined, mcmillhj joined 20:03 mcmillhj left 20:04 domidumont joined 20:05 mcmillhj joined 20:14 aindilis joined 20:15 Ven`` left
masak just learned that the C# designers are toying around with WhateverCode syntax for string indexing 20:16
20:16 Ven`` joined
masak but what Perl 6 calls @array[*-1], C# spells string[^1] 20:16
also, they're introducing Python's slice operator in indices `:`, except they're spelling it `..` 20:17
20:21 athenot left, dwarring joined 20:23 athenot joined 20:25 domidumont left
masak also nice to see C# stealing something from Java again (default interface implementations) 20:27
something which both languages stole from Perl 6, of course :P
20:28 Ven`` left, Ven`` joined
lucasb m: enum bool <true false>; multi f(true) { 'true' }; multi f(false) { 'false' }; say list f(true), f(false) 20:33
camelia (true false)
lucasb ^^ I wanted to do this with real booleans, but apparently I can't
m: multi f(True) {} 20:34
camelia Potential difficulties:
Literal values in signatures are smartmatched against and smartmatch with `True` will always succeed. Use the `where` clause instead.
at <tmp>:1
------> 3multi f(True7⏏5) {}
masak there's an old curse installed about smartmatching literal Bool types 20:35
m: my $b = True; say "well hello there" ~~ $b
camelia True
masak it's because of that ^ 20:36
the $b on the rhs (True) always matches, no matter what's on the lhs
m: my $b = True; say False ~~ $b
camelia True
masak m: multi f(Bool $b where $b == True) { say "this works" }; f(True); f(False) 20:37
camelia this works
Cannot resolve caller f(False); none of these signatures match:
(Bool $b where { ... })
in block <unit> at <tmp> line 1
masak but yeah, it's the WAT corresponding to a DWIM
20:38 Ven`` left
masak oh, and the real use case for the DWIM behavior is something like this: 20:39
m: sub is-odd($n) { $n % 2 != 0 }; say 33 ~~ is-odd($_) 20:40
camelia True
masak m: sub is-odd($n) { $n % 2 != 0 }; say 20 ~~ is-odd($_)
camelia False
lucasb that made it clearer. thanks masak 20:41
masak m: sub is-odd($n) { $n % 2 != 0 }; say 33 ~~ &is-odd; say 20 ~~ &is-odd 20:42
camelia True
False
masak apparently, that works, too :)
also also, the case for actually smartmatching with booleans is a lot stronger in a `when` clause than with the actual infix:<~~> operator, I'd wager 20:43
El_Che releasable6: status 20:44
releasable6 El_Che, Next release in ≈3 days and ≈22 hours. 2 blockers. 85 out of 86 commits logged
El_Che, Details: gist.github.com/5504c1cab33b76058c...7c73b01c9c
El_Che masak: I remember reading a post from a parrot dev moving to .net because with the years passing it had the things that he wantend parrot to have 20:46
AlexDaniel .tell nine pinging you just in case :) github.com/rakudo/rakudo/issues/1832 20:48
yoleaux AlexDaniel: I'll pass your message to nine.
AlexDaniel btw please anyone feel free to golf that issue ↑
masak El_Che: it's a bit hard to judge from the outside, but the whole .Net stack at least seems to be doing well and to have a vibrant community 20:49
I only vaguely know about C#, VB.Net, F#
El_Che masak: whiteknight.github.io/2015/01/15/pa...heend.html
that one 20:50
masak ooh, whiteknight
haven't heard that name in a long time
yeah, I think I read that post at the time. will give it a re-read, though 20:51
El_Che (not meant to discourage of course)
masak no, of course not
heading to bed now. good ♞ 20:52
El_Che good horse is what people on austria say, it seems :)
jk
20:56 CoderPuppy left 20:59 mcmillhj left 21:10 lizmat left, ChoHag left 21:12 dogbert2_ left 21:27 ktown joined 21:34 rindolf left 21:36 khw joined 21:47 dwarring left 21:48 damnlie left 21:49 damnlie joined 21:59 ufobat_ left 22:02 ChoHag joined 22:09 molaf left 22:11 ufobat_ joined, espadrine left
timotimo looks a bit more into GDPR 22:25
for i have a blog
22:28 ChoHag left, ufobat_ left 22:29 enheh joined
timotimo well, the important bit of that is that i use matomo to see how many people view my blog, what posts they tend to read, and so on 22:32
say, perl6.org and all related sites also write logs from the webserver, and i believe we do analyze them? 22:33
comborico1611 That's good! 22:34
timotimo what is? 22:35
comborico1611 To notice what people in the Perl community are interested in.
timotimo well, my blog only has posts about my profiler work so far 22:36
22:39 Herby_ joined
Herby_ o/ 22:39
yoleaux 14 May 2018 23:09Z <AlexDaniel> Herby_: irclog.perlgeek.de/perl6/2018-05-14#i_16165471
El_Che timotimo: how has been the feedback so far? 22:41
22:45 itaipu left 22:52 foo_ joined 22:53 foo_ left 22:58 psychoslave left
AlexDaniel Herby_: so IRC::Client expects something like a Str to be returned, but in whateverable it is often needed to pack much more information in the returned message 22:59
22:59 tharkun left, tharkun joined
AlexDaniel Herby_: like full output, or extra files that should be in the gist 22:59
23:00 Guest26896 left
AlexDaniel Herby_: so using `but` you can have a Str that has other stuff in it 23:00
m: role Foo { has $.stuff }; my $x = ‘hello’ but Foo(‘world’); say $x; if $x ~~ Foo { say $x.stuff }' 23:01
camelia 5===SORRY!5=== Error while compiling <tmp>
Strange text after block (missing semicolon or comma?)
at <tmp>:1
------> 3); say $x; if $x ~~ Foo { say $x.stuff }7⏏5'
AlexDaniel m: role Foo { has $.stuff }; my $x = ‘hello’ but Foo(‘world’); say $x; if $x ~~ Foo { say $x.stuff }
camelia hello
world
AlexDaniel m: role Foo { has $.stuff }; my $x = ‘hello’ does Foo(‘world’); say $x; if $x ~~ Foo { say $x.stuff } 23:02
camelia hello
world
AlexDaniel doesn't know the difference between `but` and `does`
Herby_: all that stuff is pretty much handled in this one method: github.com/perl6/whateverable/blob...#L526-L544 23:04
23:07 wamba left
Herby_ AlexDaniel: thanks for that info 23:10
I need to brush up on my OO and roles etc... :)
tyil .tell lizmat www.reddit.com/r/ProgrammingLangua...s/dz0mmxn/ since you collect comments about perl 6
yoleaux tyil: I'll pass your message to lizmat.
23:11 MasterDuke joined
Herby_ tyil++ 23:11
tyil just got home from the new The Hague Perl Mongers 23:12
Herby_ nice. how was it?
tyil and gave a preview of my first Perl 6 related talk
it was pretty cool
would recommend to anyone in the neighbourhood :D
23:14 lucasb left
Geth doc/car-grant-midrat: 32 commits pushed by (JJ Merelo)++, (Will "Coke" Coleda)++, skids++, (Lucas Buchala)++, (Zoffix Znet)++
review: github.com/perl6/doc/compare/4f765...66ffd4d44d
23:15
23:21 doomvox left
AlexDaniel tyil: you can use weekly: 23:23
tyil: like weekly : …………
oops
tyil woah
AlexDaniel tyil: weekly: …………
tyil every day you learn something new
and since its already 1:24, this is a new day 23:24
so I can stop learning for today
AlexDaniel tyil: btw some of your modules seem to be missing source-url in META6.json
23:24 athenot_ joined, athenot left
tyil yes, I am aware 23:24
it has been discussed already 23:25
AlexDaniel :)
tyil source-url is not specced yet so I dont use it yet
AlexDaniel weekly: www.reddit.com/r/ProgrammingLangua...s/dz0mmxn/
notable6 AlexDaniel, Noted!
tyil I've had very bad experience with using things that are documented somewhere and used somewhere but not actually specced yet
as in, they break installation of the module completely with very LTA errors 23:26
so I just dont use them at all now
I aint taking the risk
AlexDaniel tyil: yes but… it's really inconvenient when you can't file a bug report because there's no link at all
tyil better get it specced asap then 23:27
AlexDaniel or a PR
tyil shrugs
AlexDaniel tyil: is there a bug report for that?
tyil idk really, I was told it would be discussed at the Perl Toolchain Summit
AlexDaniel what's that? 23:28
tyil some event where they discuss Perl toolchain aspects
I wasnt there myself
AlexDaniel mmm…
23:29 wamba joined
tyil I was also informed that App::Assixt broke on a recent commit of perl 6 23:30
which saddens me
Zoffix tyil: source-url isn't part of spec. It's the ecosystem extension. You can add support->source which is part of proposed spec 23:31
tyil: the PTS already occured BTW.
tyil yes, as I told before, I'm eagerly awaiting it to be accepted and implemented instead of proposed
Zoffix AlexDaniel: but clones the objects before mixing in, while does doesn't
tyil and I know it occured, I havent heard anything new yet 23:32
so I just went on to write more articles on Perl 6 and patching my modules where necessary
and work on a new feature of assixt
23:32 Zoffix left
tyil with feedback from the local perl mongers 23:32
AlexDaniel tyil: it shouldn't sadden you I think. A 4 day old commit broke something, but didn't cause any failures in the spec. I test the ecosystem before the release, which is why we see that some modules are kaput 23:33
so it's marked as blocker for the release, and I make sure it's fixed before 2018.05
tyil neat 23:34
even though samcv does releases I dont know much of the process itself
AlexDaniel I do the same thing every month btw, but in the past I used not to publish any results from toaster 23:35
but basically I go through every failure and file blocker tickets
tyil if an actual release breaks something or someone comes to me and reports a bug I'll look at it, but I tend to only support Star releases since they're easier to target
AlexDaniel or submit PRs to modules if it's actually the module itself that is in the wrong
e.g. this month we have a bunch of modules that are sometimes red because of: 23:36
m: my %h = <a 1 b 2 c 3>; say %h.keys
camelia (c b a)
AlexDaniel m: my %h = <a 1 b 2 c 3>; say %h.keys
camelia (a c b)
tyil the randomized order of hashes 23:37
?
23:37 comborico1611 left, mcmillhj joined
AlexDaniel it's this change I think: github.com/MoarVM/MoarVM/pull/841 23:38
so yeah
23:41 mcmillhj left 23:42 wamba left
timotimo El_Che: you mean feedback on my posts? 23:48
23:51 w_richard_w joined 23:57 Zoffix joined
Zoffix m: class :: is Rat does Rational[Int, Int] { }.new.Numeric 23:57
camelia Ambiguous call to 'Numeric(<anon|1>: )'; these signatures all match:
:(Numeric:D: *%_)
:(Numeric:D: *%_)
in block <unit> at <tmp> line 1
Zoffix Is there some black magic to avoid this problem?
I want my type to… hmmm 23:58
Wait, nm, liskov is happy.
I want my type to be a subclass of Rat, but with differently parametarized Rational role
Oh wait, not happy.
Oh wait, happy, nm 23:59