»ö« 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.
buggable 🎺🎺🎺 It's time for the monthly Accidental /win Lottery 😍😍😍 We have 3 ballots submitted by 2 users! DRUM ROLL PLEASE!... 00:00
And the winning number is 10! Congratulations to [Coke]! You win a roll of duck tape!
00:07 comborico left 00:14 skids joined 00:16 trnh left 00:17 bwisti left 00:20 trnh joined 00:29 markong left 00:39 trnh left
lookatme buggable: /win 5 00:43
buggable lookatme, Thank you for entering Accidental /win Lottery! The next draw will happen in -1 weeks, 6 days, 23 hours, 16 minutes, and 10 seconds
01:03 Cabanossi left 01:05 Cabanossi joined 01:08 cdg joined 01:09 comborico1611 joined
comborico1611 Yup. 01:10
01:12 cdg_ left, ribasushi joined 01:13 cdg left 01:17 Rawriful left 01:19 espadrine_ left 01:22 john_parr joined 01:40 aborazmeh joined, aborazmeh left, aborazmeh joined
tony-o surprised Slang::SQL is still working after all of the changes 01:49
01:51 astj_ left 02:04 _Kaiepi left 02:05 _Kaiepi joined 02:14 cdg joined 02:16 cdg left 02:17 cdg joined 02:20 comborico1611 left, cdg left, cdg joined 02:39 ZzZombo left, ZzZombo joined 02:45 ilbot3 left 02:57 ilbot3 joined, ChanServ sets mode: +v ilbot3 03:03 jeromelanteri joined, jeromelanteri left, jeromelanteri joined 03:04 jeromelanteri left, jeromelanteri joined 03:19 ponbiki_ joined, ponbiki_ left
buggable New CPAN upload: Result-0.1.0.tar.gz by SAMGWISE cpan.metacpan.org/authors/id/S/SA/...1.0.tar.gz 03:25
03:29 cdg left
buggable New CPAN upload: Seq-PreFetch-0.1.0.tar.gz by SAMGWISE cpan.metacpan.org/authors/id/S/SA/...1.0.tar.gz 03:35
New CPAN upload: Slang-Predicate-0.0.1.tar.gz by SAMGWISE cpan.metacpan.org/authors/id/S/SA/...0.1.tar.gz
03:39 ufobat___ joined 03:42 ufobat_ left
skids m: ␤=SEE-ALSO foo␤␤42.say␤ 03:50
camelia 42
skids ...that breaks with real newlines.
regression within last few months.
03:58 cdg joined
buggable New CPAN upload: Serialise-Map-0.1.0.tar.gz by SAMGWISE cpan.metacpan.org/authors/id/S/SA/...1.0.tar.gz 04:05
04:07 zephyrfalcon joined 04:19 eliasr left 04:22 Herby_ joined
Herby_ o/ 04:22
skids o/
04:23 Cabanossi left, Cabanoss- joined 04:24 Cabanoss- is now known as Cabanossi
Herby_ anyone here poke around with raspberry pi's? 04:25
skids Yes, but not me :-)
Herby_ i ordered one on a whim. wonder if anyone has got p6 working on it 04:26
skids gist.github.com/stmuk/84b49fc92cba...f6c4ce9bfe 04:27
mspo I have an older one in a shoe box somewhere
04:28 unicodable6 left, unicodable6 joined, ChanServ sets mode: +v unicodable6
Herby_ skids: thanks. I'm a linux rookie so I'm gonna have to do some reading to figure that out 04:28
04:34 khw left 04:47 xtreak joined 04:50 Herby_ left 04:53 aborazmeh left 04:56 wamba joined
ZzZombo Why does REPL not relay messages printed in used modules? 04:56
WTF, I can't return early from my trait, not even "fail" does that! 05:01
geekosaur traits are run at compile time. what does returning early mean in that context? 05:02
ZzZombo abort executing the rest of code?
executing/evaluating of the trait code, I mean. 05:03
geekosaur I would expect "fail" to be a bit odd at compile time, tbh 05:05
ZzZombo I couldn't even change code flow inside with an `if 0`! Is this documented somewhere? 05:13
geekosaur now *that* seems odd 05:16
conceivably there is something about control exceptions not working right at compile time, but I suspect that would be considered a bug 05:17
skids
.oO(nevermind apparently my instal script stopped working and I was running an old rakudo)
05:18
ZzZombo m: class C { has Numeric:D $.probability is default(1) where * >= 0 } 05:25
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot invoke this object (REPR: Null; VMNull)
at <tmp>:1
ZzZombo I broke something again :/
skids ZzZombo: maybe see if a "default { }" will leave the block. 05:26
ZzZombo What? Leave what block?
skids your trait
ZzZombo I don't understand your suggestion, like, at all. 05:27
skids You wanted to stop a trait block in the middle, right?
m: for ^4 { .say; default { }; "HERE".say } 05:28
camelia 0
1
2
3
ZzZombo No
I wanted the `is default(1)`, I don't even know what does "stop a trait block" mean. 05:29
skids I'm referrig to 'ZzZombo: WTF, I can't return early from my trait, not even "fail" does that!' 05:31
ZzZombo Ah, you should have clarified that.
m: class C { has Numeric:D $.probability is default(1) where { $_ >= 0 } } 05:35
camelia ( no output )
ZzZombo this works
m: say (* > 0).gist 05:36
camelia { ... }
ZzZombo m: say (* > 0).WHAT
camelia (WhateverCode)
ZzZombo m: say {$_ > 0}.WHAT
camelia (Block)
ZzZombo m: class C { has Numeric:D $.probability is default(1) where WhateverCode }
camelia 5===SORRY!5=== Error while compiling <tmp>
Type check failed in assignment to $!probability; expected <anon> but got Int (1)
at <tmp>:1
05:37
ZzZombo wtf
m: class C { has Numeric:D $.probability is default(1) where (* >= 0) }
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot invoke this object (REPR: Null; VMNull)
at <tmp>:1
05:39 zacts joined
skids subset seems to do the same thing. 05:42
m: class C { subset Ź of Numeric:D where * >= 0; has Ź $.probability is default(1) } 05:43
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot invoke this object (REPR: Null; VMNull)
at <tmp>:1
ZzZombo and you can't use junctions as well. 05:44
skids m: subset Ź of Numeric:D where * >= 0; my Ź $d; $d = 0 05:47
05:47 zephyrfalcon left
camelia ( no output ) 05:47
geekosaur I am wondering if this is related to compile time too 05:48
since a class body gets evaluated at compile time, iirc
skids works fine without the "is default" 05:49
05:49 hobbs left 05:50 hobbs joined, hobbs left, hobbs joined 05:51 curan joined
geekosaur yes, that's kinda the point. there may be some compile time confusion going on here 05:53
skids goes to bed
ZzZombo m: multi trait_mod:<is>(Sub $m,:@foo [Str:D :$bar=$m.name,:&c?]=Empty){say $m.gist,$bar};sub m is xmlbinding{} 05:57
camelia 5===SORRY!5===
Trait 'is xmlbinding' needs whitespace before block
at <tmp>:1
------> 3{say $m.gist,$bar};sub m is xmlbinding{}7⏏5<EOL>
Missing block (apparently claimed by 'is xmlbinding')
at <tmp>:1
------> 3{say $m.gist,$bar}…
ZzZombo m: multi trait_mod:<is>(Sub $m,:@foo [Str:D :$bar=$m.name,:&c?]=Empty){say $m.gist,$bar};sub m is xmlbinding {}
camelia 5===SORRY!5=== Error while compiling <tmp>
Can't use unknown trait 'is xmlbinding' in a sub declaration.
at <tmp>:1
expecting any of:
rw raw hidden-from-backtrace hidden-from-USAGE
pure default DEPRECATED inlinable no…
ZzZombo m: multi trait_mod:<is>(Sub $m,:@foo [Str:D :$bar=$m.name,:&c?]=Empty){say $m.gist,$bar};sub m is xmlbinding[] {}
camelia 5===SORRY!5=== Error while compiling <tmp>
Can't use unknown trait 'is xmlbinding' in a sub declaration.
at <tmp>:1
expecting any of:
rw raw hidden-from-backtrace hidden-from-USAGE
pure default DEPRECATED inlinable no…
ZzZombo m: multi trait_mod:<is>(Sub $m,:@foo [Str:D :$bar=$m.name,:&c?]=Empty){say $m.gist,$bar};sub m is foo[] {}
camelia sub m () { #`(Sub|64499736) ... }m
ZzZombo m: multi trait_mod:<is>(Sub $m,:@foo [Str:D :$bar=$m.name,:&c?]=Empty){say $m.gist,$bar};sub m is foo {}
camelia 5===SORRY!5=== Error while compiling <tmp>
Can't use unknown trait 'is foo' in a sub declaration.
at <tmp>:1
expecting any of:
rw raw hidden-from-backtrace hidden-from-USAGE
pure default DEPRECATED inlinable nodal
ZzZombo why the hell the default value of `Empty` doesn't get assigned to the array? 05:58
05:58 skids left 06:03 _Kaiepi left 06:05 _Kaiepi joined 06:13 piojo left 06:20 cdg left 06:21 cdg joined 06:22 piojo joined, piojo left 06:26 darutoko joined, cdg left 06:39 cdg joined 06:46 cdg left 06:55 domidumont joined 07:01 troys left 07:08 rindolf joined 07:11 domidumont left 07:12 domidumont joined 07:22 cdg joined 07:27 cdg left, telex left 07:28 telex joined 07:31 markong joined 07:34 wamba left 07:36 abraxxa joined 07:48 xtreak left, xtreak joined 07:49 rindolf left 07:50 xtreak left, xtreak_ joined 08:02 rindolf joined, aindilis` joined 08:04 aindilis left, wamba joined 08:11 scovit left 08:22 someuser joined 08:23 cdg joined 08:26 someuser left 08:27 someuser joined 08:28 cdg left 08:30 AlexDaniel joined 08:36 mniip left
lookatme I have not seen this syntax ever in documents `:@foo [Str:D :$bar=$m.name,:&c?]=Empty` 08:43
08:43 dakkar joined 08:46 zakharyas joined 08:47 xtreak_ left 08:49 zakharyas left, zakharyas joined
gfldex lookatme: it's a named parameter with a destructuring subsignature and a default value 08:52
and since the default value doesn't fit into the subsig, it wont work
lookatme a sub signature ? 08:54
gfldex they are official! docs.perl6.org/type/Signature#Sub-signatures 08:55
lookatme oh, I see 08:56
09:02 lookatme left
AlexDaniel squashable6: next 09:23
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in 1 day and ≈0 hours (2018-02-03 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
09:24 cdg joined, mniip joined 09:28 zeddy_k joined 09:29 cdg left 09:34 zakharyas left 09:36 scimon joined, xtreak joined 09:41 reportable6 left, reportable6 joined 09:46 reportable6 left, reportable6 joined, ChanServ sets mode: +v reportable6 09:49 empT joined 09:50 khw joined
ZzZombo "===SORRY!=== 09:53
Something went wrong in (Assignment)"
very helpful indeedy
AlexDaniel ZzZombo: I've seen worse :) 09:54
ZzZombo <gfldex> and since the default value doesn't fit into the subsig, it wont work
Any way round it?
AlexDaniel, but how do I find the source of the error then? 09:55
AlexDaniel ZzZombo: what if you try with --ll-exception ?
ZzZombo Not much better: "No exception handler located for catch" 09:57
AlexDaniel ZzZombo: can you rakudobug it?
huggable: rakudobug
huggable AlexDaniel, Report bugs on github.com/rakudo/rakudo/issues/new If you don't have access to GitHub, you can email your report to [email@hidden.address] . See also: github.com/rakudo/rakudo/wiki/rt-introduction
ZzZombo The backtrace is all out of my code entirely. 09:58
AlexDaniel it shouldn't do that, yes
ZzZombo I guess I actually shouldn't do that, because what I am doing seems like dirty hackery. 09:59
IDK, I guess I should first have someone take a look at my code.
10:07 traxex2 left, john51_ joined 10:08 evalable6 left, evalable6 joined, ChanServ sets mode: +v evalable6 10:09 bisectable6 left, committable6 left, bisectable6 joined, ChanServ sets mode: +v bisectable6, committable6 joined, ChanServ sets mode: +v committable6, john51 left 10:12 traxex2 joined 10:13 john51_ left, john51 joined 10:16 wamba left 10:19 Zoffix joined
Zoffix .ask skids irclog.perlgeek.de/perl6/2018-02-01#i_15763577 Breaks how? Can you file a ticket? github.com/rakudo/rakudo/issues/new I can't reproduce any problems on HEAD 10:20
yoleaux Zoffix: I'll pass your message to skids.
10:24 cdg joined
Zoffix ZzZombo: FWIW, you could file those problems so the core devs could actually address them github.com/rakudo/rakudo/issues/new 10:25
Empty is an empty Slip. Assigning it to an Array would just result in an empty Array 10:26
10:28 Zoffix left
ZzZombo Zoffix, that's the point? So in this case the defaults inside the destructuring assignment are supposed to be invoked, aren't they? 10:28
...
10:29 cdg left 10:33 zakharyas joined
ZzZombo I just found out you can't call ANY inherited methods from submethods under the pretense that "Virtual method call $.v may not be used on partially constructed object (maybe you mean $!v for direct attribute access here?)", despite the object being constructed a long time ago. 10:40
I get it as if this warning was written only with BUILD/TWEAK in mind, right? Shouldn't it allow anything else? 10:41
10:43 lowbro joined, lowbro left, lowbro joined 10:52 Zoffix joined
Zoffix ZzZombo: ah, sorry missed that. It does get assigned, but `is foo` doesn't get through this candidate 10:53
m: -> @ (:$foo = 42) = Empty { dd $foo }()
camelia Int $foo = 42
10:56 itaipu joined 10:57 wamba joined
Zoffix m: my $m = &say; my (@foo [Str:D :$bar=$m.name, :&c?]) = Empty; dd $bar 10:58
camelia Mu
Zoffix looks like still broken in `my` signature unpack :(
m: multi trait_mod:<is>(Sub $m, :$foo!) { -> :@foo [Str:D :$bar=$m.name,:&c?] = Empty { say $m.gist,$bar }(|(:$foo if $foo !=== True))}; sub m is foo[:bar<foo>] {} 11:00
camelia sub m () { #`(Sub|46510784) ... }foo
jnthn That's not a signature unpack
Zoffix ZzZombo: ^ that seems to work. Keeping trait signature simple, so you always get the right candidate, then unpacking the args inside the body. Normally, `my (@foo [Str:D :$bar=$m.name, :&c?])` would've worked, but looks like unpacking is still busted there
jnthn It's a list assignment. We should really complain about use of sub-sigs in that context 11:01
Needs to be := for a signature unpack
m: my $m = &say; my (@foo [Str:D :$bar=$m.name, :&c?]) := Empty; dd $bar
camelia Too few positionals passed to '<unit>'; expected 1 argument but got 0
in block <unit> at <tmp> line 1
Zoffix Oh really
m: my $m = &say; my (@foo [Str:D :$bar=$m.name, :&c?]) := \(Empty); dd $bar 11:02
camelia Mu
Zoffix m: my ($x, $, *@foo, :$foo = 42) = <a b c d e>; dd [$x, @foo, $foo]
camelia ["a", ["c", "d", "e"], Any]
Zoffix jnthn: it goes through the <signature> token doesn't it? (can't tell; hangs in --target=parse). Wouldn't it be possible to make defaults work too? 11:03
m: my ($x, "b", *@foo, :$foo = 42) = <a b c d e>; dd [$x, @foo, $foo]
camelia ["a", ["c", "d", "e"], Any]
Zoffix m: my ($x, "b", *@foo, :$foo = 42) = <a Z c d e>; dd [$x, @foo, $foo]
camelia Type check failed in assignment to anon; expected <anon> but got Str ("Z")
in block <unit> at <tmp> line 1
jnthn Zoffix: It does, but in the case of it being = we then take the signature and walk through it to pick out scalar/array/hash containers and pretend it's just a list of variables to declare 11:05
Zoffix Ahh
jnthn So it's parsed as a signature always
This is...annoying, but with one pass parsing we can't really look *that* far ahead
To see if it's gonna be an = or a :=
So we parse signature then tweak
Zoffix I see.
jnthn I think we should do a much more complete job of saying what things are going to be totally ignored in that process 11:06
11:08 roguelazer_ joined 11:09 ecocode_ joined, zostay_ joined, clkao_ joined, mrsolo_ joined 11:10 kentnl joined, ilmari_ joined 11:11 timo joined, roguelazer left, zostay left, ecocode left, clkao left, mrsolo left, geekosaur left, lumimies left, ilmari left, timotimo left, kent\n left, Levex left, zostay_ is now known as zostay, roguelazer_ is now known as roguelazer, mrsolo_ is now known as mrsolo, clkao_ is now known as clkao, ilmari_ is now known as ilmari, ilmari left, ilmari joined, timo is now known as Guest36665 11:12 mithaldu_ left, lumimies joined, breinbaas left, breinbaas joined 11:13 mithaldu_ joined, levex joined, ecocode_ left, nativecallable6 left, quotable6 left, coverable6 left, levex is now known as Guest17694 11:15 ribasushi left, Skarsnik joined 11:16 ecocode joined 11:17 eliasr joined 11:19 ribasushi joined 11:20 geekosaur joined 11:22 wamba left 11:24 evalable6 left, committable6 left, bisectable6 left, bisectable6 joined, ChanServ sets mode: +v bisectable6 11:25 itaipu left, cdg joined 11:30 cdg left 11:31 evalable6 joined, committable6 joined, ChanServ sets mode: +v evalable6, ChanServ sets mode: +v committable6 11:33 pmurias joined 11:39 nativecallable6 joined 11:40 coverable6 joined 11:41 unicodable6 left, quotable6 joined, ChanServ sets mode: +v quotable6, greppable6 left, greppable6 joined, unicodable6 joined, ChanServ sets mode: +v unicodable6
Zoffix m: class { has $.z is default(1) where * > 0 }.new.z.say 11:42
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot invoke this object (REPR: Null; VMNull)
at <tmp>:1
Zoffix m: class { has $.z is default(1) where {$_ > 0} }.new.z.say
camelia 1
Zoffix ZzZombo: ^ you can workaround it with a block, if you still need it. We also have UInt type
ZzZombo But I need floats as well. 11:43
Zoffix cool
11:45 notbenh left, notbenh joined
Zoffix (filed it as R#1465 ) 11:46
synopsebot R#1465 [open]: github.com/rakudo/rakudo/issues/1465 `where` clause in attributes doesn't get thunked right when `is default` is used
Zoffix m: use nqp; my $a; nqp::assign($a, 42); dd $a; my @a; nqp::assign(@a, 42); dd @a 11:49
camelia Int $a = 42
Cannot assign to an immutable value
in block <unit> at <tmp> line 1
Zoffix Is there a single op that can figure out whether it needs to assign or callmethod STORE?
m: use nqp; my $a; nqp::p6store($a, 42); dd $a; my @a; nqp::p6store(@a, 42); dd @a 11:51
camelia Int $a = 42
Array @a = [42]
ZzZombo Do I read it right the signature thing is unfixable? 11:54
Zoffix ZzZombo: not quite. Your original version doesn't work only because you're getting a different candidate than your trait. My original suggestion with list unpack in `my`—that one will be made to throw rather than work. But the signature unpack with `my` is meant to work (needs to be fixed tho) 11:57
m: my $m = &say; my (@foo [Str:D :$bar=$m.name, :&c?] = Empty) := \(); dd $bar
camelia Mu
Zoffix my `my` used `= list here` while the signature unpack `my` uses binding 11:58
m: multi trait_mod:<is>(Sub $m, :$foo!) { -> :@foo [Str:D :$bar=$m.name,:&c?] = Empty { say $m.gist,$bar }(|(:$foo if $foo !=== True))}; sub m is foo[:bar<foo>] {}
camelia sub m () { #`(Sub|41288384) ... }foo
Zoffix You can use this workaround tho
Zoffix notices saying that today too much :) 11:59
Basically using a block inside the trait's routine to unpack $foo and essentially being the body where all the magic happens
11:59 Guest36665 is now known as timotimo
ZzZombo Yea, gotcha. 11:59
12:05 Skarsnik left 12:06 Skarsnik joined 12:08 AlexDaniel left 12:09 mahafyi joined 12:13 xtreak left, xtreak joined 12:15 mahafyi left
Zoffix m: $_ = -42; .=abs; say $_ 12:15
camelia 42
Zoffix TIL that works :)
(the .= abs, with space in it doesn't)
12:15 xtreak left 12:30 zakharyas left 12:37 colomon joined 12:55 Zoffix left 13:11 xtreak joined 13:29 wamba joined, wamba left
Geth doc: 78b2e1b582 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/grammar_tutorial.pod6
tidy “grammar”
13:37
synopsebot Link: doc.perl6.org/language/grammar_tutorial
13:48 zakharyas joined 13:50 zeddy_k left 13:55 wamba joined 13:56 cdg joined 13:57 aborazmeh joined, aborazmeh left, aborazmeh joined 13:58 cdg left, cdg joined 14:03 aborazmeh left 14:12 tadzik left 14:13 tadzik joined 14:21 jeromelanteri left 14:30 Skarsnik left 14:37 giraffe left 14:47 cdg left, cdg joined 14:54 wamba left 15:00 zakharyas left 15:01 zakharyas joined, Skarsnik joined 15:04 plicease left 15:09 skids joined 15:33 psychoslave joined 15:35 comborico1611 joined
comborico1611 What is the term for "everything is an object"? 15:36
APic Excellent Question! 15:37
comborico1611 Heh. Thanks.
15:37 curan left
skids Dunno... first class everything? 15:37
yoleaux 10:20Z <Zoffix> skids: irclog.perlgeek.de/perl6/2018-02-01#i_15763577 Breaks how? Can you file a ticket? github.com/rakudo/rakudo/issues/new I can't reproduce any problems on HEAD
skids .tell Zoffix SEE-ALSO thing was my bad... I mistyped my install prefix so I had an old rakudo and did not realize it. 15:38
yoleaux skids: I'll pass your message to Zoffix.
skids or maybe... "golden hammer" :-) 15:41
ZzZombo Why can I not auto pun a parametrized role?
skids m: role A[$] { }; A[4].new.WHAT.say 15:42
camelia (A[Int])
15:43 AlexDaniel joined
ZzZombo m: role A[$] { }; class C is A[4] {} 15:43
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot resolve caller trait_mod:<is>(C, A, Array); none of these signatures match:
(Mu:U $child, Mu:U $parent)
(Mu:U $child, :$DEPRECATED!)
(Mu:U $type, :$rw!)
(Mu:U $type, :$nat…
skids m: role A[$] { }; class C is A[4].^pun {} 15:45
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot resolve caller trait_mod:<is>(C, A, Array); none of these signatures match:
(Mu:U $child, Mu:U $parent)
(Mu:U $child, :$DEPRECATED!)
(Mu:U $type, :$rw!)
(Mu:U $type, :$nat…
skids Hrm... 15:46
m: role A[$] { }; constant a = A[4].^pun; class C is a { }; C.^mro.say 15:47
camelia ((C) (A[Int]) (Any) (Mu))
15:47 Zoffix joined
Zoffix m: dd Int.(<a b c>) 15:47
yoleaux 15:38Z <skids> Zoffix: SEE-ALSO thing was my bad... I mistyped my install prefix so I had an old rakudo and did not realize it.
camelia 3
Zoffix What's the logic behind that? A .() on a type is equivalent to ()."$types.^name()"() ? 15:48
jnthn m: my $a = 41; $a.++; say 4a 15:49
camelia 5===SORRY!5=== Error while compiling <tmp>
Confused
at <tmp>:1
------> 3my $a = 41; $a.++; say 47⏏5a
jnthn m: my $a = 41; $a.++; say $a
camelia 42
jnthn It's one of those cases where the . is meaningless
Zoffix m: my $a = 41; $a.=++; say $a 15:50
camelia 5===SORRY!5=== Error while compiling <tmp>
Cannot use .= on a non-identifier method call
at <tmp>:1
------> 3my $a = 41; $a.=++7⏏5; say $a
Zoffix OK. Thanks.
skids Zoffix: fantastic article (and I'm not just saying that because you kudoed me in it :-)
comborico1611 What article?
skids rakudo.party/post/Perl-6-Core-Hack...STalicious 15:51
Zoffix There's a bogus roast test that'd need to be modified. It expects Any .= () to throw MethodNotFound
skids: thanks. And thanks for the tip that led me to fixing those bugs :)
comborico1611 Zoffix, what is the term for "everything is an object"?
Zoffix comborico1611: no idea
comborico1611 Grr
15:51 _Kaiepi left
comborico1611 Thanks, though. 15:51
skids Zoffix: In your quest to streamline your workflow you might want to play with github.com/rakudo/rakudo/wiki/dev-nqpslang 15:52
15:52 _Kaiepi joined, wamba joined
comborico1611 jnthn, what is the term for "everything is an object"? 15:52
skids Zoffix: sometimes using that ends up a bit like eating spaghetti though when there are too many local subs relied on by a rule. But it certainly helped me find that hint. 15:53
Zoffix skids: I'll try to give it a go sometime. Thanks.
scimon I think the term is "Everything is an object" (Seriously that's how I've heard it said). 15:54
jnthn comborico1611: I'm not aware of another term for that; I've always heard it stated that way. 15:55
comborico1611 Thank you.
jnthn comborico1611: It's not a particularly precise notion, because in reality for a bunch of languages it's more like "everything can least pretend to be an object if you use it as one"
*at least
15:56 nativecallable6 left
Zoffix oh, it still throws a method not found after my mods but it's an X::AdHoc :/ 15:56
jnthn That's how it is for Perl 6, C#, and Java, for example, which all support native types that are decidedly not objects, but if you use them as one then they will be magically boxed into one for you 15:57
15:57 nativecallable6 joined
skids comborico1611: for example, if a GOTO/label were a true "first class object" you could delete it and alter the code in-place. Not many languages support that. 15:57
comborico1611 Hmm. 15:58
15:59 xtreak left, nativecallable6 left
comborico1611 Object boxing would be the term then, or something like it. 15:59
Or object gilding. 16:00
skids "pernicious autoboxing" maybe?
comborico1611 That means dangerous, right?
skids Erm right I'm thinking of a different word. 16:01
profan .. pervasive?
not sure that's any better actually
skids profan++
comborico1611 The action is autoboxing, true. 16:02
Persistent autoboxing?
skids Well, I guess it depends on your attitude towards makeing everything an object :-)
comborico1611 Global autobox? 16:03
Autoboxed language?
skids permeating maybe. Too bad permeate doesn't have a cooler adjective form.
16:04 Zoffix left
comborico1611 I like that. 16:04
16:04 psychoslave left
comborico1611 That's where your pernicious came from. 16:04
Permicious :-)
skids That or lack of a good night's sleep :-) 16:05
comborico1611 Permeatous autoboxing. 16:06
Python was the first to do this, correct? 16:07
skids I'd imagine there's a long history behind it. 16:12
comborico1611 I'm seeing a heritage of ABC, Algol, Icon. I know nothing of those. 16:14
moritz everything except lisp and maybe tcl inherits from algol :-) 16:15
comborico1611 Hmm. Interesting. 16:16
16:17 reportable6 left, reportable6 joined, ChanServ sets mode: +v reportable6
comborico1611 skids, is this the term, "object-based subset"? 16:20
skids I'm the wrong person to ask... I'm an engineer not a CS person. I haven't even read Knuth. :-) 16:22
geekosaur moritz, fotran and snobol :)
comborico1611 geekosaur, Is there a good link to this into 16:23
Info*
I'm thinking a chart. 16:24
geekosaur en.wikipedia.org/wiki/Generational..._languages github.com/stereobooster/programmi...gical-tree (the latter is a chart... and a "be careful what you ask for") 16:25
comborico1611 Haha. Thanks!
geekosaur and be aware that there's not much in the way of linearity
skids is tempted to send you to that really outfield CS wiki where insane zealots opine on "patterns" and such, but is not that mean. 16:26
comborico1611 lol it looks like a circuit board!
skids Can't rmemeber the site name anyway.
geekosaur like, SNOBOL was FORTRAN-family, but its descendant Icon is Algol-family
and JavaScript is conceptually Lisp-family but syntactically Algol-family
comborico1611 Hmm! 16:28
geekosaur (and then you get Perl which is the computer language equivalent of English: en.wikipedia.org/wiki/James_Nicoll...anguage%22 16:30
skids
.oO(why does this remind me of the hillbilly family tree at the beginneing of Idiocracy?)
16:32
16:33 unicodable6 left, unicodable6 joined 16:34 bisectable6 left, nativecallable6 joined, ChanServ sets mode: +v nativecallable6, bisectable6 joined
comborico1611 Heh 16:35
16:35 domidumont left
comborico1611 That's pretty neat. Thanks, geekosaur! 16:36
16:37 st_elmo joined 16:39 mingdao left 16:40 mingdao joined, lowbro left 16:50 scimon left 16:59 abraxxa left
AlexDaniel is matiaslina here? 16:59
.seen matiaslina 17:00
yoleaux I haven't seen matiaslina around.
17:01 st_elmo left 17:02 st_elmo joined
buggable New CPAN upload: Algorithm-GooglePolylineEncoding-0.0.4.tar.gz by SCIMON cpan.metacpan.org/authors/id/S/SC/...0.4.tar.gz 17:05
17:10 _Kaiepi left 17:12 Kaiepi joined 17:24 dakkar left 17:39 zeddy_k joined 18:04 rindolf left 18:07 zeddy_k left, zeddy__k joined 18:20 rindolf joined 18:26 domidumont joined 18:43 darutoko left 18:59 markong left 19:00 cdg_ joined 19:01 markong joined 19:04 cdg left 19:05 cdg_ left 19:06 zeddy__k left 19:07 |oLa| left 19:16 st_elmo left 19:24 comborico joined, comborico1611 left 19:37 |oLa| joined 19:52 committable6 left 19:53 committable6 joined 19:59 trnh joined 20:02 trnh is now known as dct
Geth whateverable: 2c23d3edaf | (Aleks-Daniel Jakimenko-Aleksejev)++ | lib/Whateverable.pm6
Do not sd_notify in debug modes

This way it doesn't even need systemd .so files if you want to run it locally.
20:07
20:12 zakharyas left 20:18 colomon left 20:22 domidumont left 20:35 pmurias left 20:41 pmurias joined
pmurias geekosaur: how is JavaScript Lisp-family? 20:42
20:42 paul_ joined
geekosaur it started out as a scheme-ish language then got re-syntaxed with the rebranding from "livescript" to "javascript" 20:44
it still shows in how it treats values
20:49 zakharyas joined
traxex2 I remember reading that some pre-release version of javascript had lispy synta 20:49
syntax
and the way functions work in javascript is certainly very... functional 20:50
just verbose
20:51 lsm joined 20:54 markong left 20:57 Rawriful joined 21:03 wamba left 21:05 paul_ left 21:13 Skarsnik left 21:25 espadrine_ joined
AlexDaniel squashable6: next 21:42
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈12 hours (2018-02-03 UTC-12⌁UTC+14). See github.com/rakudo/rakudo/wiki/Mont...Squash-Day
21:52 zakharyas left 22:00 markong joined 22:02 rindolf left 22:05 skids left 22:07 cdg joined 22:11 cdg left 22:15 cdg joined
Geth whateverable: 7c0649d325 | (Aleks-Daniel Jakimenko-Aleksejev)++ | lib/Whateverable.pm6
Allow anonymous gists

If no token was provided. Useful if you just cloned the repo and tried to run something.
22:22
whateverable: 1505d08ecd | (Aleks-Daniel Jakimenko-Aleksejev)++ | bin/Reportable.p6
Clearly say that there are no snapshots

Instead of gisting an empty file.
22:29 cdg left 22:30 cdg joined 22:35 cdg left 22:39 lizmat joined
El_Che say whatever you want, but without lizmat, the channel is pretty dead :) 22:48
lizmat: think of me when you drin a fun cocktail listening to live progressive rock!
lizmat swimming pool 22:49
yoleaux 31 Jan 2018 20:24Z <DrForr> lizmat: You just made the @OSCON twitter front page.
lizmat what?
El_Che lizmat: I'll link it to you
lizmat: gimme a few minutes
lizmat: twitter.com/oscon/status/958795407064170496 22:50
lizmat aaaah... ok
:-)
thanks :)
that's bearable I guess :-) 22:52
22:57 setty1 joined
El_Che the post girls of Perl moved on like OSCON did :) 22:59
they went corporate
:)
23:02 leont joined 23:05 evalable6 left, evalable6 joined
lizmat El_Che: well, if you'd been at the OSCON where we had that booth 23:05
23:05 bisectable6 left, committable6 left, bisectable6 joined, committable6 joined
lizmat you would have seen that all of the "community" booths were in "Diagon Alley" 23:06
aka, a part of the exhibition where the muggles wouldn't come
El_Che hahaha 23:14
Geth whateverable: f09bb0fcdf | (Aleks-Daniel Jakimenko-Aleksejev)++ | 4 files
Disable “what:” command on non-cave channels

People trigger it unintentionally too often. Resolves #193.
23:18
23:20 nativecallable6 left, nativecallable6 joined, ChanServ sets mode: +v nativecallable6 23:31 setty1 left
Geth doc: 9a1530469a | (Samantha McVey)++ (committed using GitHub Web editor) | doc/Type/Encoding.pod6
Add link to list of encodings on the Encodings page
23:51
synopsebot Link: doc.perl6.org/type/Encoding
23:59 lizmat left