Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2016-09-27

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:02 stevieb joined #perl6
00:05 pierre_ joined #perl6
00:08 pierre_ joined #perl6
00:19 Unavowed joined #perl6
00:28 rgrinberg joined #perl6
00:36 * grondilu learns about hypot:  https://en.wikipedia.org/wiki/Hypot
00:36 grondilu m: say hypot(1, 2)
00:36 camelia rakudo-moar 447d59: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Undeclared routine:␤    hypot used at line 1␤␤»
00:36 grondilu that looks LTA
00:45 grondilu though it'd be very easy to make a module.
00:46 perlawhirl yeah, that pseudocode in the wikipedia article just needs some 'my' and '$' thrown in and it's almost good to go
00:46 * grondilu write it
00:46 grondilu *writes
00:47 perlawhirl https://gist.github.com/0racle/a​6e351c878d06f41566edef45e579a38
00:47 perlawhirl m: https://gist.github.com/0racle/a​6e351c878d06f41566edef45e579a38
00:47 camelia rakudo-moar 447d59: OUTPUT«47.7598157450382␤»
00:47 perlawhirl maybe change all the vars to \vars, throw in some type constraints
00:49 Zoffix joined #perl6
00:52 Zoffix m: sub hypot { abs Complex.new: $^a, $^b }; say hypot 3, 4
00:52 camelia rakudo-moar 447d59: OUTPUT«5␤»
00:54 bob777 joined #perl6
00:54 perlawhirl or just that
00:54 adu joined #perl6
00:54 Zoffix m: use NativeCall; sub hypot (num32 $x, num32 $y) returns num32 is native {};  say hypot 3e0, 4e0
00:54 camelia rakudo-moar 447d59: OUTPUT«434.445037841797␤»
00:54 Zoffix there's some way to do that, if you get the types right :)
00:55 grondilu m: sub hypot { .max*sqrt(1 + (.min/.max)²) given minmax($^x.abs, $^y.abs) }; say hypot 1, 2
00:55 camelia rakudo-moar 447d59: OUTPUT«2.23606797749979␤»
00:55 grondilu m: sub hypot { .max*sqrt(1 + (.min/.max)²) given minmax($^x.abs, $^y.abs) }; say hypot 3, 4
00:55 camelia rakudo-moar 447d59: OUTPUT«5␤»
00:55 Zoffix m: sub hypot { abs Complex.new: $^a, $^b }; say hypot 1, 2
00:55 camelia rakudo-moar 447d59: OUTPUT«2.23606797749979␤»
00:56 grondilu m: sub hypot { abs Complex.new: $^a, $^b }; say hypot 1e0, 2e0;
00:56 camelia rakudo-moar 447d59: OUTPUT«2.23606797749979␤»
00:56 grondilu the wikipedia page should give a numeric example where there is a problem with the naive implementation.
00:57 timotimo yeah
01:01 * grondilu mentions it in the talk page.
01:04 geekosaur I think you wanted hypotf for the NativeCall one
01:05 geekosaur unless you pass doubles (num64?)
01:05 geekosaur and likewise return
01:07 Zoffix m: use NativeCall; sub hypotf (num32 $x, num32 $y) returns num32 is native {};  say hypotf 3e0, 4e0
01:07 camelia rakudo-moar 447d59: OUTPUT«5␤»
01:07 Zoffix ah
01:10 grondilu oh that's cool
01:11 pierre_ joined #perl6
01:11 grondilu m: use NativeCall; sub hypotfl(num64 $, num 64 $) returns num64 {*}; say hypotfl 3e0, 4e0
01:11 camelia rakudo-moar 447d59: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤A parameter may only have one prefix type constraint␤at <tmp>:1␤------> 3 NativeCall; sub hypotfl(num64 $, num 647⏏5 $) returns num64 {*}; say hypotfl 3e0, ␤»
01:12 grondilu m: use NativeCall; sub hypotfl(num64 $, num64 $) returns num64 {*}; say hypotfl 3e0, 4e0
01:12 camelia rakudo-moar 447d59: OUTPUT«This type cannot unbox to a native number: P6opaque, Whatever␤  in sub hypotfl at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
01:12 grondilu meh
01:12 grondilu m: use NativeCall; sub hypotfl(num64 $, num64 $) returns num64 {}; say hypotfl 3e0, 4e0
01:12 camelia rakudo-moar 447d59: OUTPUT«Cannot unbox a type object␤  in sub hypotfl at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
01:13 grondilu m: use NativeCall; sub hypotfl(num64 $, num64 $) returns num64 is native {}; say hypotfl 3e0, 4e0
01:13 camelia rakudo-moar 447d59: OUTPUT«Cannot locate symbol 'hypotfl' in native library ''␤  in method setup at /home/camelia/rakudo-m-inst-1/share/perl6/sou​rces/24DD121B5B4774C04A7084827BFAD92199756E03 (NativeCall) line 310␤  in method CALL-ME at /home/camelia/rakudo-m-inst-1/share/perl6/s…»
01:13 grondilu m: use NativeCall; sub hypotl(num64 $, num64 $) returns num64 is native {}; say hypotl 3e0, 4e0
01:13 camelia rakudo-moar 447d59: OUTPUT«Inf␤»
01:13 grondilu jeez
01:13 mr-foobar joined #perl6
01:14 geekosaur l is long double
01:14 geekosaur hypot is double
01:14 grondilu isn't long double num64?
01:15 timotimo we don't have support for long double in moar
01:15 geekosaur long double is 80 bit on intel
01:15 grondilu ok
01:15 geekosaur m: use NativeCall; sub hypot(num64 $, num64 $) returns num64 is native {}; say hypot 3e0, 4e0
01:15 camelia rakudo-moar 447d59: OUTPUT«5␤»
01:15 scott cppreference says "long double - extended precision floating point type. Does not necessarily map to types mandated by IEEE-754. Usually 80-bit x87 floating point type on x86 and x86-64 architectures."
01:15 geekosaur yep
01:17 timotimo there's also long long double
01:17 timotimo but on MSVC++, a long double is 64bit
01:17 timotimo unless you give it some flag
01:18 scott I've never heard of long long double
01:18 scott only float/double/long double and char/short/int/long/long long
01:19 timotimo i've been fascinated by extra-long floating point types for a few weeks
01:20 geekosaur long double is nonstandard, as cppreference implied. msvc "supported" it as an alias for double, then finally when they added their own extended precision double had to invent long long double
01:20 scott lol
01:20 timotimo https://en.wikipedia.org/wiki/Extended_precision
01:21 geekosaur (msvc's behavior there caused much gnashing of teeth among numeric methods types, because it silently didn't provide the precision everyone expected)
01:21 scott actually, I still can't find google results for "long long double", even MSVC-related
01:21 ka joined #perl6
01:22 pierre_ joined #perl6
01:22 Unavowed joined #perl6
01:23 geekosaur https://www.google.com/webhp?sourceid=c​hrome-instant&amp;ion=1&amp;espv=2&amp;​ie=UTF-8#q=%22long%20long%20double%22
01:23 geekosaur need the quotes or google silently drops the second "long" as a duplicate
01:23 geekosaur o.O
01:23 geekosaur http://www.cplusplus.com/forum/beginner/40003/
01:24 Zoffix left #perl6
01:24 geekosaur "long long long double" --- seems to have been a thinko...
01:24 timotimo *shrug*
01:25 grondilu that makes me wonder.  Are there functions in rakudo that are defined as Native?
01:26 scott geekosaur: I had the quotes, and there is nothing official-looking in those results
01:28 timotimo grondilu: no
01:32 avalenn joined #perl6
01:36 finanalyst joined #perl6
01:36 finanalyst left #perl6
01:37 FROGGS_ joined #perl6
01:43 Unavowed joined #perl6
01:47 ilbot3 joined #perl6
01:47 Topic for #perl6 is now »ö« Welcome to Perl 6! | https://perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:,  or /msg camelia p6: ... | irclog: http://irc.perl6.org or http://colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
01:58 pdcawley joined #perl6
02:00 zakharyas joined #perl6
02:04 Unavowed joined #perl6
02:09 noganex_ joined #perl6
02:24 Unavowed joined #perl6
02:29 pdcawley joined #perl6
02:45 cog__ joined #perl6
03:06 Unavowed joined #perl6
03:18 BenGoldberg m: use NativeCall; my $h = sub (num64 $, num64 $) returns num64 is native is symbol("hypot") {*}; say $h(3e0, 4e0);
03:18 camelia rakudo-moar 447d59: OUTPUT«5␤»
03:19 BenGoldberg m: use NativeCall; (sub (num64 $, num64 $) returns num64 is native is symbol("hypot") {*}).(3e0, 4e0).say;
03:19 camelia rakudo-moar 447d59: OUTPUT«5␤»
03:20 cbk_ joined #perl6
03:20 scott why do people write the bodies of native subs as `{*}`?
03:26 aries_liuxueyang joined #perl6
03:29 ugexe m: class Foo { proto method foo(|) {say 1; {*}; say 3; }; multi method foo { say 2;} }; Foo.foo
03:29 camelia rakudo-moar 447d59: OUTPUT«1␤2␤3␤»
03:31 scott I'm not sure how that applies to native calls (was it supposed to?)
03:32 ugexe it works the same way
03:33 [1]ringer1 left #perl6
03:34 scott I tried it with native sub and it said `{*} may only appear in proto`
03:34 scott I don't see why plain native subs have a `*`
03:35 ugexe you are declaring the signature and delegating somewhere
03:35 scott it also works without the `*`
03:36 scott as far as I can tell
03:36 scott in fact the body generally just seems to be ignored
03:47 Actualeyes joined #perl6
03:49 timotimo joined #perl6
04:00 cpage_ joined #perl6
04:01 timotimo joined #perl6
04:08 Cabanossi joined #perl6
04:45 wamba joined #perl6
04:56 pierre_ joined #perl6
05:05 Cabanossi joined #perl6
05:09 Unavowed joined #perl6
05:10 andrzejku joined #perl6
05:30 Unavowed joined #perl6
05:33 ponbiki joined #perl6
05:46 andrzejku hello :)
05:50 labster joined #perl6
05:51 Unavowed joined #perl6
05:51 perlawhirl hi andrzejku... it's quiet around this time
05:51 andrzejku ye I see
05:51 andrzejku quiet and threateningly
05:52 perlawhirl threateningly? how so?
05:57 pierre_ joined #perl6
05:59 domidumont joined #perl6
06:00 domidumont1 joined #perl6
06:04 domidumont joined #perl6
06:04 dj_goku joined #perl6
06:05 bbkr good morning perl6
06:07 perlawhirl afternoon
06:07 perlawhirl here anyways
06:12 Unavowed joined #perl6
06:14 galuh joined #perl6
06:20 pierre_ joined #perl6
06:22 domidumont joined #perl6
06:23 cog__ joined #perl6
06:26 firstdayonthejob joined #perl6
06:28 salva joined #perl6
06:29 rindolf joined #perl6
06:31 mohae_ joined #perl6
06:32 Unavowed joined #perl6
06:46 domidumont joined #perl6
06:47 domidumont joined #perl6
06:54 nadim joined #perl6
06:54 wamba joined #perl6
07:03 andrzejku joined #perl6
07:14 darutoko joined #perl6
07:18 Unavowed joined #perl6
07:29 dakkar joined #perl6
07:32 CIAvash joined #perl6
07:38 * lizmat clickbaits https://p6weekly.wordpress.com/2016/09​/26/2016-39-keys-to-cover-moar-tests/
07:39 moritz lizmat: shouldn't that be :$!a in the submethod BUILD signature?
07:40 moritz lizmat++
07:47 wamba joined #perl6
07:50 labster joined #perl6
07:52 bjz joined #perl6
07:54 dalek ecosystem/MARTIMM-patch-1: 4a876a1 | (Marcel Timmerman)++ | META.list:
07:54 dalek ecosystem/MARTIMM-patch-1: PRECIS framework
07:54 dalek ecosystem/MARTIMM-patch-1:
07:54 dalek ecosystem/MARTIMM-patch-1: Implementation of PRECIS framework implementing  rfc7564. Also rfc7613 etc. obsoleting stringprep and saslprep.
07:54 dalek ecosystem/MARTIMM-patch-1: review: https://github.com/perl6/e​cosystem/commit/4a876a1586
07:58 RabidGravy joined #perl6
07:59 Unavowed joined #perl6
07:59 Ven` joined #perl6
08:02 perigrin joined #perl6
08:06 andrzejku joined #perl6
08:13 TheDir joined #perl6
08:17 xiaomiao joined #perl6
08:22 bjz joined #perl6
08:23 dalek ecosystem: 4a876a1 | (Marcel Timmerman)++ | META.list:
08:23 dalek ecosystem: PRECIS framework
08:23 dalek ecosystem:
08:23 dalek ecosystem: Implementation of PRECIS framework implementing  rfc7564. Also rfc7613 etc. obsoleting stringprep and saslprep.
08:23 dalek ecosystem: review: https://github.com/perl6/e​cosystem/commit/4a876a1586
08:23 dalek ecosystem: 8ebaf88 | RabidGravy++ | META.list:
08:23 dalek ecosystem: Merge pull request #254 from perl6/MARTIMM-patch-1
08:23 dalek ecosystem:
08:23 dalek ecosystem: PRECIS framework
08:23 dalek ecosystem: review: https://github.com/perl6/e​cosystem/commit/8ebaf88f33
08:28 kurahaupo joined #perl6
08:31 frew joined #perl6
08:33 lizmat moritz: good catch, fixed  :-)
08:35 moritz lizmat: now you know that people actually read your posts :-)
08:35 lizmat :-)
08:48 baest lizmat: I've read it too :) Interesting as always
08:54 wamba joined #perl6
08:59 wamba joined #perl6
09:02 andrzejku joined #perl6
09:03 El_Che lizmat: much appreciated posts
09:03 larion joined #perl6
09:04 ka joined #perl6
09:10 eliasr joined #perl6
09:18 dalek Inline-Perl5: 8331ff2 | niner++ | META.info:
09:18 dalek Inline-Perl5: Version 0.14
09:18 dalek Inline-Perl5: review: https://github.com/niner/Inl​ine-Perl5/commit/8331ff26a3
09:19 pierre_ joined #perl6
09:20 mohae joined #perl6
09:20 pierre_ joined #perl6
09:23 pierre_ joined #perl6
09:26 melezhik_ joined #perl6
09:31 cog__ joined #perl6
09:45 canopus joined #perl6
09:58 DrForr joined #perl6
10:00 bjz joined #perl6
10:01 raydiak joined #perl6
10:03 Unavowed joined #perl6
10:04 buggable joined #perl6
10:04 huggable joined #perl6
10:05 NeuralAnomaly joined #perl6
10:07 pdcawley joined #perl6
10:08 andrzejku joined #perl6
10:10 pdcawley joined #perl6
10:23 zakharyas joined #perl6
10:24 pdcawley joined #perl6
10:45 Unavowed joined #perl6
11:11 Unavowed joined #perl6
11:26 andrzejku joined #perl6
11:33 rindolf joined #perl6
11:37 Unavowed joined #perl6
11:41 sammers joined #perl6
11:57 kaare_ joined #perl6
11:59 pierre_ joined #perl6
12:04 vike joined #perl6
12:05 bjz_ joined #perl6
12:06 imcsk8_ joined #perl6
12:08 stevieb joined #perl6
12:09 Unavowed joined #perl6
12:19 moritz m: say dd 42
12:19 camelia rakudo-moar 222d16: OUTPUT«42␤Nil␤»
12:26 rindolf h: dd
12:27 rindolf https://docs.perl6.org/routine/dd - I see.
12:27 andrzejku joined #perl6
12:27 rindolf How is it different from .perl?
12:30 pierre_ joined #perl6
12:30 dalek doc: f907bcd | (Zoffix Znet)++ | doc/Type/Cool.pod6:
12:30 dalek doc: Document behaviour of .round at mid-points
12:30 dalek doc: review: https://github.com/perl6/doc/commit/f907bcd4bb
12:31 moritz m: my Int $x = 42; dd $x
12:31 camelia rakudo-moar 222d16: OUTPUT«Int $x = 42␤»
12:31 moritz rindolf: ^^ see above; includes variable name, type, and output
12:31 hackedNODE rindolf: .perl is for roundtripping code and is part of Perl 6. dd is for dumping data for development inspection and is a Rakudo-specific function
12:32 hackedNODE m: my $x = 42; $x.perl.EVAL.say;
12:32 camelia rakudo-moar 222d16: OUTPUT«42␤»
12:32 hackedNODE m: my $x = 42; dd($x).EVAL.say;
12:32 camelia rakudo-moar 222d16: OUTPUT«Int $x = 42␤Use of Nil in string context␤  in block <unit> at <tmp> line 1␤Nil␤»
12:33 ilmari dd prints the output, it doesn't return it
12:33 ilmari s/output/result/
12:33 hackedNODE ah
12:33 rindolf moritz: hackedNODE : OK, thanks.
12:39 [ptc] rakudo 2016.09, nqp and moar just accepted into Debian unstable (amd64).  Great work by the Debian maintainer team!
12:41 kurahaupo joined #perl6
12:43 RabidGravy cool
12:43 Juerd Very.
12:44 masak debian++
12:44 RabidGravy fedora is trailing on 2016.07
12:51 cog__ joined #perl6
12:52 rindolf [ptc]: great!
12:53 rgrinberg joined #perl6
12:53 nine openSUSE is at 2016.07.1, too. Who's that sloth that fell so far behind?
12:53 yoleaux 23 Sep 2016 22:22Z <jnthn> nine: About your question about wrap of a core method in backlog, you'd better stick "no precompilation" on your code if you do that, since it's a monkey patch and those don't compose under precomp.
12:53 nine Oh, it's me
12:54 hackedNODE m: multi foo (Real) {'wrong'}; multi foo (Cool) {'wrong'}; multi foo (Numeric) {'right'}; say foo 4e0
12:54 camelia rakudo-moar 222d16: OUTPUT«wrong␤»
12:54 hackedNODE Is there a value that will hit foo(Numeric)?
12:55 hackedNODE .... and which can be used as a number in multiplication, without custom ops
12:55 kurahaupo maybe a Rat?
12:55 hackedNODE Rat is real
12:55 hackedNODE m: multi foo (Real) {'wrong'}; multi foo (Cool) {'wrong'}; multi foo (Numeric) {'right'}; say foo 4.5
12:55 camelia rakudo-moar 222d16: OUTPUT«wrong␤»
12:55 moritz hackedNODE: a Complex
12:55 psch m: multi foo (Real) {'wrong'}; multi foo (Cool) {'wrong'}; multi foo (Numeric) {'right'}; say foo 4i
12:55 camelia rakudo-moar 222d16: OUTPUT«right␤»
12:55 psch moritz++
12:55 moritz m: say Complex ~~ Cool
12:55 camelia rakudo-moar 222d16: OUTPUT«True␤»
12:55 moritz hm
12:55 moritz maybe not
12:56 hackedNODE Well, can't use Complex either. It's a candidate too
12:56 psch but Numeric is narrower than Cool
12:56 hackedNODE (sorry, omited that one)
12:56 psch oh
12:56 kurahaupo hackedNODE: rational and floating point don't coincide
12:57 hackedNODE kurahaupo: floating point is Num
12:57 psch m: multi foo (Real) {'wrong'}; multi foo (Cool) {'wrong'}; multi foo (Numeric) {'right'}; my $val = Numeric.^pun but 0; say foo $val; say $val * 2
12:57 hackedNODE c: &postfix:<i>, \(class :: does Numeric {})
12:57 camelia rakudo-moar 222d16: OUTPUT«right␤Use of uninitialized value of type Numeric+{<anon|61261280>} in numeric context␤  in block <unit> at <tmp> line 1␤0␤»
12:57 Undercover hackedNODE, Ehhh... I'm too scared to run that code.
12:57 psch uh hmm
12:57 psch m: multi foo (Real) {'wrong'}; multi foo (Cool) {'wrong'}; multi foo (Numeric) {'right'}; my $val = Numeric.^pun.new but 0; say foo $val; say $val * 2
12:57 ZoffixW joined #perl6
12:57 camelia rakudo-moar 222d16: OUTPUT«right␤Memory allocation failed; could not allocate 131072 bytes␤»
12:57 moritz looking at https://docs.perl6.org/ima​ges/type-graph-Numeric.svg I don't see a type that should hit it
12:57 ZoffixW c: &postfix:<i>, \(class :: does Numeric {})
12:57 psch right
12:57 Undercover ZoffixW, The code is NOT hit during stresstest See http://perl6.WTF/src_core_Co​mplex.pm.coverage.html#L465 for details
12:58 hackedNODE Trying to hit ^ that one
12:59 psch i think that candidate is for the benefit of non-CORE Numeric types in the first place?
12:59 psch 'cause we probably want narrower candidates for everything that we already know about
12:59 hackedNODE I see.
13:00 ZoffixW c: &infix:<*>, \(class :: does Numeric {}, i)
13:00 Undercover ZoffixW, The code is hit during stresstest See http://perl6.WTF/src_core_Nu​meric.pm.coverage.html#L198 for details
13:01 hackedNODE How can a non-core Numeric work there then? As in, how can it be used in multiplication with standard ops and still get right value? From what I see above seems like it'll just go into an infiniloop
13:01 hackedNODE m: class :: does Numeric {} * 42
13:01 camelia rakudo-moar 222d16: OUTPUT«WARNINGS for <tmp>:␤Useless use of "*" in expression "class :: does Numeric {} * 42" in sink context (line 1)␤Use of uninitialized value of type <anon|68069232> in numeric context␤  in block <unit> at <tmp> line 1␤»
13:01 hackedNODE m: say class :: does Numeric {} * 42
13:01 camelia rakudo-moar 222d16: OUTPUT«Use of uninitialized value of type <anon|75660368> in numeric context␤  in block <unit> at <tmp> line 1␤0␤»
13:01 hackedNODE oh
13:02 hackedNODE Is there a way to give it some value?
13:02 mcmillhj joined #perl6
13:02 hackedNODE m: say class :: does Numeric { method Numeric { 42 } } * 42
13:02 camelia rakudo-moar 222d16: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Cannot have a multi candidate for 'Numeric' when an only method is also in the package '<anon|63683920>'␤at <tmp>:1␤»
13:02 hackedNODE wat
13:02 hackedNODE m: say class :: does Numeric { multi method Numeric { 42 } } * 42
13:02 camelia rakudo-moar 222d16: OUTPUT«1764␤»
13:02 hackedNODE m: say class :: does Numeric { multi method Numeric { 42 } } * i
13:02 camelia rakudo-moar 222d16: OUTPUT«0+42i␤»
13:03 hackedNODE m: use Test; cmp-ok postfix:<i>( class :: does Numeric { multi method Numeric { 42 } } ), '==', 42i
13:03 camelia rakudo-moar 222d16: OUTPUT«ok 1 - ␤»
13:03 hackedNODE Thanks, all
13:04 ZoffixW left #perl6
13:10 cdg joined #perl6
13:12 gregf_ joined #perl6
13:26 pierre_ joined #perl6
13:30 Unavowed joined #perl6
13:41 ocbtec joined #perl6
13:42 dalek doc: a6d207f | (Zoffix Znet)++ | doc/Type/Str.pod6:
13:42 dalek doc: fix typo
13:42 dalek doc: review: https://github.com/perl6/doc/commit/a6d207f07f
13:46 hackedNODE The type graph on https://docs.perl6.org/type/Cool shows IO::Path is Cool, but...
13:46 hackedNODE m: say IO::Path ~~ Cool
13:46 camelia rakudo-moar 222d16: OUTPUT«False␤»
13:47 wamba joined #perl6
13:47 hackedNODE m: say ("foo\x[308]" ~~ /.+/).subst-mutate: 'x', 'o'
13:47 camelia rakudo-moar 222d16: OUTPUT«Cannot resolve caller subst-mutate(Match: Str, Str); none of these signatures match:␤    (Cool:D $self is rw: $matcher, $replacement, *%named)␤  in block <unit> at <tmp> line 1␤␤»
13:47 hackedNODE m: say Match ~~ Cool
13:47 camelia rakudo-moar 222d16: OUTPUT«True␤»
13:47 hackedNODE ? How come it doesn't match that candidate?
13:47 hackedNODE oh, nm, is rw
13:50 hackedNODE m: say "meow".IO ~~ Cool
13:50 camelia rakudo-moar 222d16: OUTPUT«True␤»
13:50 * hackedNODE shrugs
13:51 hackedNODE m: say "meow".IO.^name
13:51 camelia rakudo-moar 222d16: OUTPUT«IO::Path␤»
13:51 hackedNODE m: say "meow".IO ~~ IO::Path
13:51 camelia rakudo-moar 222d16: OUTPUT«False␤»
13:52 hackedNODE what's going on
13:52 skids joined #perl6
13:53 hackedNODE m: use MONKEY-GUTS; say nqp::istype("meow".IO, IO::Path)
13:53 camelia rakudo-moar 222d16: OUTPUT«0␤»
13:54 poohman joined #perl6
13:56 hackedNODE And the answer is...
13:56 ilmari m: "mew".IO.WHAT.say
13:56 camelia rakudo-moar 222d16: OUTPUT«(Path)␤»
13:56 hackedNODE *drumroll*
13:56 hackedNODE dam restricted setting :)
13:57 hackedNODE m: Proc::Async.WHAT.say
13:57 camelia rakudo-moar 222d16: OUTPUT«Proc::Async is disallowed in restricted setting␤  in sub restricted at src/RESTRICTED.setting line 1␤  in method gist at src/RESTRICTED.setting line 33␤  in block <unit> at <tmp> line 1␤␤»
13:57 hackedNODE Well, it'd say '(Async)'
13:59 hackedNODE Strangely, locally the .say complains: "Too few positionals passed; expected at least 2 arguments but got only 1"
14:00 timotimo that usually happens when you try to .say("foobar") on a handle, but it ended up not giving you one
14:02 moritz pro tip: say $thing.^name for debugging :-)
14:02 hackedNODE :)
14:02 moritz not sure why people are so fixed on .WHAT
14:03 hackedNODE Yeah, I use .^name instead of .WHAT, because .WHAT doesn't give you the full name
14:03 jnthn Or .WHO which is a char shorter *and* gives you the full name :)
14:03 moritz or, more to the point, .WHAT gives you the type *object* and you want the type *name*
14:03 hackedNODE m: "mew".IO.WHO.say
14:03 camelia rakudo-moar 222d16: OUTPUT«IO::Path␤»
14:03 hackedNODE m: "mew".IO.WHO.^name.say
14:03 camelia rakudo-moar 222d16: OUTPUT«Stash␤»
14:04 jnthn (And yes, this actually gives you the Stash, which gists to the name)
14:04 FROGGS joined #perl6
14:09 Actualeyes1 joined #perl6
14:14 ka joined #perl6
14:25 Khisanth joined #perl6
14:26 acrussell joined #perl6
14:30 dalek doc: ac4b28c | (Zoffix Znet)++ | doc/Type/Str.pod6:
14:30 dalek doc: Document :st, :nd, :rd, and :th adverbs on .subst
14:30 dalek doc: review: https://github.com/perl6/doc/commit/ac4b28cd53
14:39 mcmillhj joined #perl6
14:40 andrzejku joined #perl6
14:40 pmurias joined #perl6
14:45 mcmillhj joined #perl6
14:47 andrzejku joined #perl6
14:50 FROGGS joined #perl6
15:02 lichtkind joined #perl6
15:03 petercommand joined #perl6
15:04 Cabanossi joined #perl6
15:06 itaipu joined #perl6
15:09 mcmillhj joined #perl6
15:12 rindolf joined #perl6
15:13 AlexDaniel joined #perl6
15:20 Ven` joined #perl6
15:20 Ven` m: sub infix:{'+'}($a, $b) { $a - $b }; say 3 + 1;
15:20 camelia rakudo-moar 222d16: OUTPUT«===SORRY!===␤Internal error: find_var_decl could not find $_␤»
15:22 Ven` m: constant my $a = '+'; BEGIN say $a;
15:22 camelia rakudo-moar 222d16: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Missing initializer on constant declaration␤at <tmp>:1␤------> 3constant my7⏏5 $a = '+'; BEGIN say $a;␤»
15:22 Ven` m: constant $a = '+'; BEGIN say $a;
15:22 camelia rakudo-moar 222d16: OUTPUT«+␤»
15:23 Ven` m: constant $a = '+'; sub infix:<<$a>>($, $) {}
15:23 camelia rakudo-moar 222d16: ( no output )
15:23 Ven` m: constant $a = '+'; sub infix:<<$a>>($, $) {}; say 3 + 4
15:23 camelia rakudo-moar 222d16: OUTPUT«Nil␤»
15:23 TimToady m: sub infix:['+']($a, $b) { $a - $b }; say 3 + 1;
15:23 camelia rakudo-moar 222d16: OUTPUT«2␤»
15:23 TimToady m: sub infix:('+')($a, $b) { $a - $b }; say 3 + 1;
15:23 camelia rakudo-moar 222d16: OUTPUT«4␤»
15:24 Ven` TimToady: Ugh, obviously I forgot to escape my simple quotes when I tried that. Sigh...
15:25 mcmillhj joined #perl6
15:26 Ven` All works fine! Thanks. (well, I guess the error for {'x'} is a bit weird)
15:26 TimToady well, :{} is gonna make a hash or a closure for the value, which is odd
15:28 TimToady :[] actually makes a list, but it knows it can handle a list, especially when you need multiple delims
15:29 TimToady as for :(), I have no idea what it's thinking there, since there's nothing to invoke
15:29 TimToady well, no, it's not invoking, so those are just grouping parens, like foo => (1,2,3)
15:29 TimToady so probably should work just like :[]
15:37 rgrinberg joined #perl6
15:38 andrzejku joined #perl6
15:41 FROGGS joined #perl6
15:43 dalek doc: ba2cbe8 | (Zoffix Znet)++ | doc/Type/Str.pod6:
15:43 dalek doc: Document .subst-mutate returns a List when :g is used
15:43 dalek doc: review: https://github.com/perl6/doc/commit/ba2cbe84bb
15:47 cdg joined #perl6
15:52 raiph joined #perl6
16:00 CIAvash joined #perl6
16:11 cog__ joined #perl6
16:16 itaipu joined #perl6
16:21 girafe joined #perl6
16:23 mcmillhj joined #perl6
16:23 acrussell joined #perl6
16:25 boby joined #perl6
16:25 boby rakudo: say 19+23
16:25 camelia rakudo-moar 222d16: OUTPUT«42␤»
16:26 raiph m: https://glot.io/snippets/eiuanq8oe9
16:26 camelia rakudo-moar 222d16: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Confused␤at <tmp>:1␤------> 3https:7⏏5//glot.io/snippets/eiuanq8oe9␤    expecting any of:␤        colon pair␤»
16:26 boby rakudo: say (0, { $_ + 3 } ... 12);
16:26 camelia rakudo-moar 222d16: OUTPUT«(0 3 6 9 12)␤»
16:27 hackedNODE m: say 0, 3 … 12
16:27 camelia rakudo-moar 222d16: OUTPUT«(0 3 6 9 12)␤»
16:28 boby rakudo: say (0, { ($_ -1) + ($_ -2) } ... 13);
16:28 camelia rakudo-moar 222d16: OUTPUT«(0 -3 -9 -21 -45 -93 -189 -381 -765 -1533 -3069 -6141 -12285 -24573 -49149 -98301 -196605 -393213 -786429 -1572861 -3145725 -6291453 -12582909 -25165821 -50331645 -100663293 -201326589 -402653181 -805306365 -1610612733 -3221225469 -6442450941 -12884901885 …»
16:28 wamba joined #perl6
16:28 hackedNODE The bot also can be used via /msg
16:31 boby ok thank you
16:34 Xliff_ joined #perl6
16:34 girafe2 joined #perl6
16:34 cdg_ joined #perl6
16:34 mad__ joined #perl6
16:34 mad__ joined #perl6
16:34 perlpilot_ joined #perl6
16:34 setty2 joined #perl6
16:35 dataange` joined #perl6
16:36 atta joined #perl6
16:36 huggable joined #perl6
16:36 Unavowed joined #perl6
16:36 NeuralAnomaly joined #perl6
16:36 [particle]1 joined #perl6
16:37 buggable joined #perl6
16:37 risou__ joined #perl6
16:37 pdcawley_ joined #perl6
16:37 dalek joined #perl6
16:37 integral_ joined #perl6
16:37 jsimonet1 joined #perl6
16:37 jonas1 joined #perl6
16:37 albongo joined #perl6
16:37 integral_ joined #perl6
16:37 albongo joined #perl6
16:37 telex joined #perl6
16:37 vcv joined #perl6
16:38 jcallen_ joined #perl6
16:38 sftp joined #perl6
16:38 Khisanth joined #perl6
16:38 mr-foobar joined #perl6
16:38 sammers joined #perl6
16:38 f3ew joined #perl6
16:38 larion_ joined #perl6
16:38 keix joined #perl6
16:38 obfusk joined #perl6
16:38 rodarmor joined #perl6
16:38 zoosha joined #perl6
16:38 chansen_ joined #perl6
16:38 acrussell_ joined #perl6
16:38 emdashcomma joined #perl6
16:38 cpage_ joined #perl6
16:38 skids1 joined #perl6
16:38 bbkr joined #perl6
16:38 gfldex joined #perl6
16:39 captain-adequate joined #perl6
16:39 dogbert17 joined #perl6
16:39 xiaomiao joined #perl6
16:39 SHODAN joined #perl6
16:39 jonadab joined #perl6
16:39 Woodi joined #perl6
16:40 ocbtec joined #perl6
16:40 edenc joined #perl6
16:40 dj_goku joined #perl6
16:40 dj_goku joined #perl6
16:40 ribasushi joined #perl6
16:40 andrzejku joined #perl6
16:40 MilkmanDan joined #perl6
16:41 Upasaka joined #perl6
16:42 mcmillhj joined #perl6
16:42 smash joined #perl6
16:42 canopus joined #perl6
16:42 nowan joined #perl6
16:44 dogbert2 joined #perl6
16:44 Unavowed_ joined #perl6
16:44 Exodist joined #perl6
16:44 Possum joined #perl6
16:45 bbkr_ joined #perl6
16:46 [particle] joined #perl6
16:46 acrussell joined #perl6
16:46 dj_goku_ joined #perl6
16:46 dj_goku_ joined #perl6
16:47 zhmylove_ joined #perl6
16:47 buggable_ joined #perl6
16:47 dustinm` joined #perl6
16:47 d4l3k_ joined #perl6
16:47 NeuralAnomaly_ joined #perl6
16:47 buggable_ joined #perl6
16:47 Actualeyes joined #perl6
16:47 jcallen joined #perl6
16:47 stmuk_ joined #perl6
16:47 _chee joined #perl6
16:47 captain-adequate joined #perl6
16:48 cdg joined #perl6
16:48 Kaffe joined #perl6
16:48 bjz joined #perl6
16:48 obfusk joined #perl6
16:48 ponbiki joined #perl6
16:48 risou___ joined #perl6
16:48 ribasushi_ joined #perl6
16:48 aries_liuxueyang joined #perl6
16:48 rodarmor joined #perl6
16:48 sammers joined #perl6
16:48 timotimo joined #perl6
16:48 setty1 joined #perl6
16:48 Jonis__ joined #perl6
16:48 SHODAN joined #perl6
16:48 xiaomiao joined #perl6
16:48 domidumont joined #perl6
16:49 andrzejku joined #perl6
16:49 salparadise joined #perl6
16:49 profan joined #perl6
16:49 imcsk8 joined #perl6
16:49 skids joined #perl6
16:50 canopus joined #perl6
16:50 frew joined #perl6
16:50 TimToady joined #perl6
16:51 FROGGS joined #perl6
16:51 xxpor joined #perl6
16:51 pmurias joined #perl6
16:52 cpage joined #perl6
16:52 woolfy joined #perl6
16:52 smash joined #perl6
16:52 clkao joined #perl6
16:52 krakan joined #perl6
16:52 vcv joined #perl6
16:53 pnu_ joined #perl6
16:53 rgrinberg joined #perl6
16:53 atta joined #perl6
16:54 perigrin joined #perl6
16:54 sivoais joined #perl6
16:55 gfldex joined #perl6
16:55 eliasr joined #perl6
16:56 zoosha joined #perl6
16:57 giraffe joined #perl6
16:58 kyclark joined #perl6
16:59 mniip joined #perl6
17:00 mcmillhj joined #perl6
17:00 stevieb joined #perl6
17:01 sufrostico joined #perl6
17:01 lichtkind_ joined #perl6
17:02 RabidGravy joined #perl6
17:02 vytas joined #perl6
17:06 ka joined #perl6
17:08 cdg_ joined #perl6
17:09 imcsk8_ joined #perl6
17:11 Kaffe_ joined #perl6
17:11 mr-fooba_ joined #perl6
17:11 synopsebot6 joined #perl6
17:11 huggable_ joined #perl6
17:11 Undercover joined #perl6
17:11 d4l3k_ joined #perl6
17:11 SHODAN joined #perl6
17:11 ocbtec joined #perl6
17:11 zoosha_ joined #perl6
17:11 nowan joined #perl6
17:11 sammers joined #perl6
17:11 woolfy1 joined #perl6
17:11 romrador joined #perl6
17:11 Upasaka_ joined #perl6
17:12 jsimonet1 joined #perl6
17:12 firstdayonthejob joined #perl6
17:12 jcallen joined #perl6
17:12 dustinm` joined #perl6
17:12 luis` joined #perl6
17:12 stmuk_ joined #perl6
17:12 zengargo1le joined #perl6
17:12 Gothmog_ joined #perl6
17:12 obfusk joined #perl6
17:12 risou___ joined #perl6
17:12 captain-adequate joined #perl6
17:12 andrzejku joined #perl6
17:14 kyclark joined #perl6
17:14 dj_goku joined #perl6
17:14 dj_goku joined #perl6
17:14 xxpor joined #perl6
17:16 bjz joined #perl6
17:16 sftp joined #perl6
17:16 domm1 joined #perl6
17:17 ponbiki_ joined #perl6
17:17 salparadise joined #perl6
17:19 awwaiid joined #perl6
17:20 k_re joined #perl6
17:21 zhmylove joined #perl6
17:21 captain-1dequate joined #perl6
17:21 huggable joined #perl6
17:21 NeuralAnomaly joined #perl6
17:21 Undercover joined #perl6
17:21 d4l3k_ joined #perl6
17:21 NeuralAnomaly joined #perl6
17:21 zengargoyle joined #perl6
17:21 rodarmor joined #perl6
17:22 [ptc]_ joined #perl6
17:22 melezhik joined #perl6
17:22 aries_liuxueyang joined #perl6
17:22 frew1 joined #perl6
17:22 sftp joined #perl6
17:22 profan_ joined #perl6
17:22 Woodi_ joined #perl6
17:22 itaipu_ joined #perl6
17:22 giraffe_ joined #perl6
17:23 sivoais joined #perl6
17:24 domm1 joined #perl6
17:24 RabidGravy joined #perl6
17:24 lichtkind_ joined #perl6
17:24 telex joined #perl6
17:25 dj_goku joined #perl6
17:25 dogbert17 joined #perl6
17:25 sammers joined #perl6
17:26 canopus_ joined #perl6
17:26 xxpor joined #perl6
17:26 krakan_ joined #perl6
17:26 Upasaka joined #perl6
17:26 pmurias joined #perl6
17:27 Gothmog_ joined #perl6
17:27 bjz joined #perl6
17:28 stevieb joined #perl6
17:28 camelia joined #perl6
17:32 pmurias_ joined #perl6
17:32 SourceBaby joined #perl6
17:32 huggable joined #perl6
17:32 dalek joined #perl6
17:32 timeless joined #perl6
17:32 rodarmor joined #perl6
17:32 timeless joined #perl6
17:32 timeless joined #perl6
17:32 timeless joined #perl6
17:33 Jonis_ joined #perl6
17:33 ggherdov joined #perl6
17:33 profan joined #perl6
17:33 jsimonet1 joined #perl6
17:33 ircuse joined #perl6
17:33 infina joined #perl6
17:33 krakan_ joined #perl6
17:34 xxpor joined #perl6
17:34 riatre joined #perl6
17:34 BuildTheRobots joined #perl6
17:34 albongo joined #perl6
17:34 ocbtec joined #perl6
17:35 yeltzooo joined #perl6
17:35 jcallen joined #perl6
17:35 infina joined #perl6
17:35 bjz joined #perl6
17:36 sammers joined #perl6
17:36 camelia joined #perl6
17:39 DrParis joined #perl6
17:39 chansen_ joined #perl6
17:39 eliasr joined #perl6
17:42 pnu_ joined #perl6
17:42 Matias[m] joined #perl6
17:44 zostay joined #perl6
17:44 infina joined #perl6
17:44 infina joined #perl6
17:46 clkao joined #perl6
17:50 skids joined #perl6
17:52 PotatoGim joined #perl6
17:55 jnap_ joined #perl6
17:56 aindilis joined #perl6
18:02 tbrowder joined #perl6
18:05 itaipu joined #perl6
18:08 andrzejku joined #perl6
18:09 labster joined #perl6
18:10 Actualeyes1 joined #perl6
18:10 d4l3k_ joined #perl6
18:10 jsimonet1 joined #perl6
18:10 rodarmor joined #perl6
18:10 sivoais joined #perl6
18:10 Jonis_ joined #perl6
18:10 Gothmog_ joined #perl6
18:10 huggable joined #perl6
18:10 krakan joined #perl6
18:11 telex joined #perl6
18:11 zoosha joined #perl6
18:11 [ptc] joined #perl6
18:11 sftp joined #perl6
18:12 xxpor joined #perl6
18:12 sammers joined #perl6
18:14 zostay joined #perl6
18:15 ggherdov joined #perl6
18:16 profan joined #perl6
18:17 smash joined #perl6
18:19 wamba joined #perl6
18:20 andrzejku joined #perl6
18:20 Jonis__ joined #perl6
18:20 BuildTheRobots joined #perl6
18:20 BuildTheRobots joined #perl6
18:20 BuildTheRobots joined #perl6
18:21 rgrinberg1 joined #perl6
18:21 jcallen joined #perl6
18:21 itaipu_ joined #perl6
18:21 lichtkind_ joined #perl6
18:22 ggherdov joined #perl6
18:26 harmil_wk joined #perl6
18:26 DrParis joined #perl6
18:28 tbrowder joined #perl6
18:28 mrsolo joined #perl6
18:28 mrsolo joined #perl6
18:28 tbrowder joined #perl6
18:29 nwc10 joined #perl6
18:29 nwc10 https://www.youtube.com/watch?v=A1YxNYiyALg - about 30 seconds to kick-off
18:29 nwc10 ie https://t.co/SwNQJ9Ht4D
18:29 nwc10 er, thanks
18:30 nwc10 this: http://www.spacex.com/Mars
18:30 nwc10 which should explain the on-topic-ness for the off-topic
18:31 hackedNODE "Activate Adobe Flash. This plugin is vulnerable and should be updated"
18:31 petercommand joined #perl6
18:31 * hackedNODE watches intently
18:32 petercommand joined #perl6
18:32 * nwc10 is wondering how soon the soon is
18:32 nwc10 hopefully sooner than a Falcon Heavy. Is it 2013 yet?
18:32 pdcawley_ joined #perl6
18:32 b2gills joined #perl6
18:32 dgl joined #perl6
18:32 bitmap joined #perl6
18:32 grondilu joined #perl6
18:33 grondilu Hello #perl6
18:33 hackedNODE \o
18:33 grondilu off-topic:  SpaceX's announcement about their mars plan  https://www.youtube.com/watch?v=A1YxNYiyALg
18:33 hackedNODE lool
18:33 nwc10 grondilu++ # confirming my opinion about what off-topic is on-topic :-)
18:34 hackedNODE So what's the plan? I can't watch anything.
18:34 nwc10 yes, I am wondering this too
18:34 nwc10 it's 4 minutes late
18:35 grondilu while you wait you can watch this I guess:  https://www.youtube.com/watch?v=0qo78R_yYFA
18:35 maybekoo2 joined #perl6
18:35 grondilu it's their interplanetary vessel plan
18:36 grondilu released an hour ago.
18:37 El_Che I would watch if they put the US presidential candidates on it ;)
18:37 El_Che or in :)
18:37 hackedNODE or under...
18:38 hackedNODE I don't know why Muricans complain about their candidates. You brought this on your own lol :)
18:39 kurahaupo joined #perl6
18:39 moritz anyone want to submit some p6 repos to https://hacktoberfest.digitalocean.com/ and mark some issues with the hacktoberfest tag to indicate that contributions would be welcome and easy?
18:40 * hackedNODE pets his two Hacktoberfest T-shirts
18:40 yoleaux joined #perl6
18:40 * Woodi_ prefers they finaly declassify that Star Gate gate for general public use... ;)
18:40 nwc10 curious that this new thing is three-fold symmetry (grid fins & landing legs) not 4
18:41 obfusk joined #perl6
18:46 hackedNODE moritz: from what I understand, you don't submit repos to anywhere. You just tag Issues in any GitHub-hosted repo with "Hacktoberfest" label
18:47 hackedNODE Which, sadly, excludes any of Rakudo's issues :/
18:52 andrzejku joined #perl6
18:55 moritz why?
18:55 hackedNODE Rakudo's issue tracker is disabled
18:55 hackedNODE I mean, people can submit PRs, but we can't tag RT tickets with "Hacktoberfest" :)
18:56 moritz oh, right
18:56 hackedNODE Of course, we can enable it temporarily, open just some Hacktoberfest issues, and then close it at the end
18:56 * hackedNODE isn't sure that's worth the effort
18:57 moritz no, we should just do it for other repos
18:57 moritz docs, roast, website, you name it
18:57 nwc10 those might also be easier for new folks to contribute to
18:58 nwc10 ooh, finally, live is live
19:01 labster joined #perl6
19:04 hackedNODE First Hacktoberfest issue done: https://github.com/perl6/roast/issues/161
19:04 hackedNODE I guess all LHF in docs repo can also be that
19:04 * hackedNODE marks
19:07 zengargoyle LHF?
19:07 itaipu joined #perl6
19:07 [Coke] Low Hanging Fruit
19:10 lostinfog joined #perl6
19:11 petercom1and joined #perl6
19:11 sammers joined #perl6
19:11 krakan joined #perl6
19:12 timeless joined #perl6
19:12 Khisanth joined #perl6
19:13 m0ltar joined #perl6
19:14 cbk_ joined #perl6
19:15 zengargoyle ah
19:15 wamba joined #perl6
19:16 avuserow joined #perl6
19:16 terminalfool joined #perl6
19:18 terminalfool joined #perl6
19:24 grondilu_ joined #perl6
19:26 ggoebel joined #perl6
19:26 labster joined #perl6
19:26 d4l3k_ joined #perl6
19:26 wamba1 joined #perl6
19:26 SourceBaby joined #perl6
19:26 huggable joined #perl6
19:26 labster joined #perl6
19:27 sammers joined #perl6
19:27 sftp_ joined #perl6
19:27 albongo joined #perl6
19:27 jcallen joined #perl6
19:27 jsimonet1 joined #perl6
19:28 rodarmor joined #perl6
19:28 obfusk joined #perl6
19:28 andrzejku joined #perl6
19:28 petercommand joined #perl6
19:29 grondilu joined #perl6
19:29 ugexe Inline::Perl5 + DBIx::Class + runtime generated schemas (package App::DB; use base 'DBIx::Class::Schema::Loader') is pretty nice for prototyping
19:30 avuserow joined #perl6
19:30 dalek Inline-Perl5: ab7ce57 | niner++ | lib/Inline/Perl5.pm6:
19:30 dalek Inline-Perl5: Remove unused optional argument
19:30 dalek Inline-Perl5: review: https://github.com/niner/Inl​ine-Perl5/commit/ab7ce57f59
19:30 nwc10 left #perl6
19:30 cbk_ joined #perl6
19:30 nine ugexe: :)
19:31 cognominal joined #perl6
19:31 Guest14330 joined #perl6
19:34 ugexe nine: any reason `perl6 -Ilib bin/inline-perl5-app.pl6` does not pass lib/ into @INC for Inline::Perl5? i.e. to include both perl6 and perl5 modules in the same lib/ i'm doing `PERL5LIB=lib perl6 -Ilib bin/inline-perl5-app.pl6`
19:34 rmmm joined #perl6
19:34 pnu_ joined #perl6
19:34 Ulti joined #perl6
19:35 breinbaas joined #perl6
19:35 wamba joined #perl6
19:35 huggable joined #perl6
19:35 Praise joined #perl6
19:35 Praise joined #perl6
19:35 Woodi_ joined #perl6
19:36 abruanese joined #perl6
19:36 labster1 joined #perl6
19:36 dalek joined #perl6
19:36 Bucciarati joined #perl6
19:36 infina_ joined #perl6
19:36 garu_ joined #perl6
19:36 DANtheBE- joined #perl6
19:36 Cabanossi joined #perl6
19:36 synopsebot6 joined #perl6
19:36 rodarmor joined #perl6
19:36 ggherdov joined #perl6
19:36 erdic joined #perl6
19:36 gensym joined #perl6
19:36 andrewalker joined #perl6
19:36 SourceBaby joined #perl6
19:36 raydiak joined #perl6
19:36 ponbiki joined #perl6
19:36 protium joined #perl6
19:36 ilogger2 joined #perl6
19:37 ingy joined #perl6
19:37 riatre joined #perl6
19:37 albongo joined #perl6
19:37 ugexe I guess I see why, since some perl6 modules have .pm extension and would then see packages in perl 5 that should not exist
19:37 nine ugexe: having both in the same tree might not be a good idea because the .pm extension is ambiguious
19:37 lizmat joined #perl6
19:37 kmwallio joined #perl6
19:37 jsimonet1 joined #perl6
19:37 zostay joined #perl6
19:38 Woodi_ is it possible to hang some station half-way to Mars ? for emergency or re supply ?
19:38 pochi joined #perl6
19:38 tbrowder joined #perl6
19:38 gfldex Woodi: no because of orbit mechanics it would drive away from it's half-way position fairly switfly
19:38 camelia joined #perl6
19:39 geekosaur also, earth and mars both move. where do you put it if earth and mars are in opposition?
19:39 sammers joined #perl6
19:39 geekosaur ...and rescue prospects for that station itself are kinda terrible
19:39 gfldex if you can get the timing right, you could have it at a halve way position for one mission tho
19:40 ribasushi joined #perl6
19:40 Woodi damn, everything swims :)
19:40 giraffe_ joined #perl6
19:40 moritz and then what? it's hard enough to reach the half-way point that you can't have a proper hospital there anyway
19:40 Khisanth joined #perl6
19:40 tinita joined #perl6
19:40 gypsydave5 joined #perl6
19:40 hackedNODE moritz: well, I tagged a bunch: https://github.com/issues?utf8=%E2%​9C%93&amp;q=is%3Aopen+is%3Aissue+us​er%3Aperl6+label%3AHacktoberfest+
19:41 Actualeyes joined #perl6
19:41 moritz or really most of the equipment that you'd use in any kind of rescue mission
19:41 infina_ joined #perl6
19:41 moritz hackedNODE++
19:41 pecastro joined #perl6
19:41 moritz hackedNODE: thanks a bunch!
19:42 clkao joined #perl6
19:42 lizmat_ joined #perl6
19:44 garu joined #perl6
19:44 huggable joined #perl6
19:44 synopsebot6 joined #perl6
19:44 d4l3k_ joined #perl6
19:44 jnap_ joined #perl6
19:44 jnap_ joined #perl6
19:45 harmil_wk It's turtles all the way down... qww<"{"{"{"..."}"}"}">
19:45 nine_ joined #perl6
19:45 eythian joined #perl6
19:45 DANtheBE- joined #perl6
19:45 eythian joined #perl6
19:46 jsimonet2 joined #perl6
19:46 rodarmor joined #perl6
19:46 Khisanth joined #perl6
19:46 ponbiki_ joined #perl6
19:46 albongo joined #perl6
19:46 markk joined #perl6
19:46 woodruffw joined #perl6
19:46 riatre joined #perl6
19:46 woodruffw joined #perl6
19:47 dalek Inline-Perl5: e445bab | niner++ | / (2 files):
19:47 dalek Inline-Perl5: Save a native call per P5 method invocation
19:47 dalek Inline-Perl5:
19:47 dalek Inline-Perl5: The first argument of a (non-package) method invocation is an object.
19:47 dalek Inline-Perl5: No need to increase the refcnt before the call just to decrease it again
19:47 dalek Inline-Perl5: while setting up the arguments on the perl stack.
19:47 dalek Inline-Perl5: review: https://github.com/niner/Inl​ine-Perl5/commit/e445babcc9
19:47 kshannon joined #perl6
19:48 silug joined #perl6
19:48 PotatoGim joined #perl6
19:48 ggoebel joined #perl6
19:48 woolfy joined #perl6
19:49 kurahaupo joined #perl6
19:49 dalek Inline-Perl5: f05da26 | niner++ | lib/Inline/Perl5.pm6:
19:49 dalek Inline-Perl5: Remove unused self argument from invoke
19:49 dalek Inline-Perl5:
19:49 dalek Inline-Perl5: Passing self was probably part of earlier attempts at implementing
19:49 dalek Inline-Perl5: inheritance. However the parameter has been ignored already and is
19:49 dalek Inline-Perl5: now gone.
19:49 dalek Inline-Perl5: review: https://github.com/niner/Inl​ine-Perl5/commit/f05da26439
19:49 mspo joined #perl6
19:50 shadowpaste joined #perl6
19:50 Woodi joined #perl6
19:50 Alikzus joined #perl6
19:51 giraffe_ joined #perl6
19:56 timeless joined #perl6
19:56 woolfy joined #perl6
19:58 ggoebel joined #perl6
19:58 tbrowder joined #perl6
20:00 ggherdov joined #perl6
20:04 BuildTheRobots joined #perl6
20:06 senochan joined #perl6
20:07 senochan Does anyone know how to specify the port to run bailador on?
20:07 mrsolo joined #perl6
20:08 [Coke] baile(12345);
20:08 senochan ahh, thanks
20:08 El_Che ahaha
20:08 El_Che bailador is polite
20:09 El_Che baila -> imperative, regular you
20:09 senochan This is the first time I've used something like bailador, I like it a lot
20:09 El_Che baile -> imperative, formal you (vous in french)
20:13 cdg joined #perl6
20:15 AlexDaniel joined #perl6
20:21 cdg_ joined #perl6
20:22 dalek joined #perl6
20:23 jstimpfle joined #perl6
20:23 mattp_ joined #perl6
20:23 rodarmor joined #perl6
20:23 huggable joined #perl6
20:23 cgfbee joined #perl6
20:24 camelia joined #perl6
20:24 Alikzus joined #perl6
20:24 sjohnsen joined #perl6
20:24 cxreg joined #perl6
20:24 woolfy joined #perl6
20:24 jsimonet2 joined #perl6
20:24 riatre joined #perl6
20:24 albongo joined #perl6
20:24 ZoffixMobile joined #perl6
20:25 kmwallio joined #perl6
20:25 ZoffixMobile dogbert17, looks ok, but can be better. I'd use the is-deeply routine instead of just 'is', as that tests using eqv rather than just compare what the two values stringify to
20:27 Unavowed joined #perl6
20:27 ZoffixMobile oh...
20:28 shadowpaste joined #perl6
20:28 nine joined #perl6
20:28 ZoffixMobile star: my $list  = (1, (2, 3,), "a"); duckmap(-> Int $x { $x ~~ Int ?? $x !! Any }, $list)
20:29 bartolin joined #perl6
20:29 ZoffixMobile dogbert17, I think your block is wrong there. You ask for Int only in the sig, so the ternary will always be true. IIRC your original bug report did not have a sig on the block
20:31 ZoffixMobile oh, wrong chanmel
20:31 sjohnsen- joined #perl6
20:32 tbrowder joined #perl6
20:32 d4l3k_ joined #perl6
20:32 tbrowder joined #perl6
20:32 Woodi_ joined #perl6
20:32 kmwallio_ joined #perl6
20:33 sammers joined #perl6
20:33 DANtheBEASTman joined #perl6
20:33 ChoHag joined #perl6
20:33 mls_ joined #perl6
20:33 silug joined #perl6
20:33 mls_ joined #perl6
20:33 woolfy joined #perl6
20:33 jstimpfle joined #perl6
20:33 broquaint joined #perl6
20:33 camelia star-m 2016.04: OUTPUT«(timeout)»
20:34 albongo joined #perl6
20:34 dalek Inline-Perl5: 101bf73 | niner++ | / (3 files):
20:34 dalek Inline-Perl5: Pass back the type of a sole return value from P5 to P6
20:34 dalek Inline-Perl5:
20:34 dalek Inline-Perl5: Use another cheap int32 is rw argument for passing back the type of the return
20:34 dalek Inline-Perl5: value in the very common case that there is only one. This saves another native
20:34 dalek Inline-Perl5: call on such function calls or method invocations.
20:34 dalek Inline-Perl5: review: https://github.com/niner/Inl​ine-Perl5/commit/101bf73a6b
20:34 jsimonet2 joined #perl6
20:34 labster joined #perl6
20:36 ZoffixMobile star: my $list  = (1, (2, 3,), "a"); duckmap(-> Int $x { $x ~~ Int ?? $x !! Any }, $list)
20:36 rgrinberg1 joined #perl6
20:36 revdiablo joined #perl6
20:36 ZoffixMobile m: my $list  = (1, (2, 3,), "a"); duckmap(-> Int $x { $x ~~ Int ?? $x !! Any }, $list)
20:36 camelia star-m 2016.04: OUTPUT«(timeout)»
20:36 camelia rakudo-moar faaa51: ( no output )
20:37 Khisanth joined #perl6
20:37 ZoffixMobile dogbert17, never mind the last point :) ^^ it does hang before the fix :)
20:39 Guest61699 joined #perl6
20:39 AlexDaniel joined #perl6
20:41 ggherdov joined #perl6
20:43 BuildTheRobots joined #perl6
20:43 ufobat joined #perl6
20:43 silug_ joined #perl6
20:45 jast joined #perl6
20:45 orevdiabl joined #perl6
20:45 Unavowed_ joined #perl6
20:45 eyck joined #perl6
20:45 Alikzus joined #perl6
20:45 mls joined #perl6
20:45 ponbiki joined #perl6
20:45 jstimpfl1 joined #perl6
20:45 cxreg2 joined #perl6
20:46 avuserow_ joined #perl6
20:46 woolfy joined #perl6
20:46 huggable joined #perl6
20:46 dalek joined #perl6
20:46 labster1 joined #perl6
20:46 rodarmor joined #perl6
20:46 synopsebot6 joined #perl6
20:46 Khisanth joined #perl6
20:46 eythian joined #perl6
20:46 cpage joined #perl6
20:47 camelia joined #perl6
20:47 riatre joined #perl6
20:48 albongo joined #perl6
20:49 ZoffixMobile joined #perl6
20:50 sammers joined #perl6
20:50 pdcawley_ joined #perl6
20:50 b2gills joined #perl6
20:50 dgl joined #perl6
20:50 bitmap joined #perl6
20:50 ChoHag joined #perl6
20:51 giraffe_ joined #perl6
20:51 DrParis joined #perl6
20:52 firstdayonthejob joined #perl6
20:52 devmikey joined #perl6
20:52 devmikey joined #perl6
20:54 rgrinberg joined #perl6
20:55 jnap_ joined #perl6
20:55 tbrowder joined #perl6
20:56 BuildTheRobots joined #perl6
20:57 tadzik joined #perl6
21:01 PotatoGim joined #perl6
21:01 timeless joined #perl6
21:02 mrsolo joined #perl6
21:17 itaipu joined #perl6
21:27 firstdayonthejob joined #perl6
21:34 mcmillhj joined #perl6
21:40 khw joined #perl6
21:47 canopus joined #perl6
21:47 mcmillhj joined #perl6
21:58 labster joined #perl6
22:01 bjz joined #perl6
22:03 mcmillhj joined #perl6
22:17 itaipu joined #perl6
22:20 bjz joined #perl6
22:21 mcmillhj joined #perl6
22:28 rgrinberg joined #perl6
22:34 rgrinberg joined #perl6
22:39 gfldex m: sub f( |c ( $a ) where { c.defined } ) {}; f 42
22:39 camelia rakudo-moar fc3160: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Variable '&c' is not declared␤at <tmp>:1␤------> 3sub f( |c ( $a ) where { 7⏏5c.defined } ) {}; f 42␤»
22:39 labster joined #perl6
22:39 gfldex m: sub f( |c ( $a ) where { $a } ) {}; f 42
22:39 camelia rakudo-moar fc3160: OUTPUT«Constraint type check failed for parameter 'c'␤  in sub f at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
22:40 gfldex m: sub f( |c where { c.defined } ) {}; f 42
22:40 camelia rakudo-moar fc3160: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Variable '&c' is not declared␤at <tmp>:1␤------> 3sub f( |c where { 7⏏5c.defined } ) {}; f 42␤»
22:41 gfldex m: sub f( |c ( $a ) where { True } ) { dd c }; f 42
22:41 camelia rakudo-moar fc3160: OUTPUT«\(42)␤»
22:43 ZoffixMobile joined #perl6
22:43 aries_liuxueyang joined #perl6
22:44 gfldex m: sub f( *@a ( $b ) where { $b.defined } ) {}; f 42
22:44 camelia rakudo-moar fc3160: OUTPUT«Cannot call method 'defined' on a null object␤  in sub f at <tmp> line 1␤  in block <unit> at <tmp> line 1␤␤»
22:45 bjz joined #perl6
22:50 domm1 joined #perl6
22:50 cognominal joined #perl6
22:50 ab5tract joined #perl6
22:51 mcmillhj joined #perl6
22:52 cooper joined #perl6
22:52 cooper joined #perl6
22:53 profan joined #perl6
22:55 krakan joined #perl6
22:56 yoleaux joined #perl6
22:56 TEttinger joined #perl6
22:56 TheDir joined #perl6
22:57 Cabanossi joined #perl6
23:04 bjz joined #perl6
23:05 mcmillhj joined #perl6
23:06 sufrostico joined #perl6
23:11 skids joined #perl6
23:12 BenGoldberg joined #perl6
23:16 mcmillhj joined #perl6
23:19 zengargoyle joined #perl6
23:28 mcmillhj joined #perl6
23:31 M-Illandan joined #perl6
23:31 user9 joined #perl6
23:35 MasterDuke how do i use the --git-depth=<n> option of rakudo's Configure.pl?
23:35 MasterDuke i thought it would just do a shallow clone of nqp (and moarvm?), assuming i also have --gen-moar
23:41 cbk_ joined #perl6
23:43 mcmillhj joined #perl6
23:57 canopus joined #perl6
23:58 mcmillhj joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo