Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2017-05-19

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:08 mcmillhj joined #perl6
00:15 go|dfish joined #perl6
00:26 mcmillhj joined #perl6
00:26 mcmillhj_ joined #perl6
00:40 skids joined #perl6
00:43 kurahaupo_ joined #perl6
00:44 Cabanossi joined #perl6
00:44 mcmillhj joined #perl6
00:44 mcmillhj_ joined #perl6
00:50 cpage_ joined #perl6
00:52 kurahaupo joined #perl6
00:54 kurahaupo joined #perl6
00:58 kurahaupo_ joined #perl6
01:03 kurahaupo joined #perl6
01:03 kurahaupo_ joined #perl6
01:04 kurahaupo__ joined #perl6
01:09 lookatme joined #perl6
01:09 lookatme morning, morning .
01:09 skids joined #perl6
01:10 sammers morning
01:11 cpage_ joined #perl6
01:12 kurahaupo joined #perl6
01:13 cpage__ joined #perl6
01:16 mcmillhj joined #perl6
01:31 mcmillhj joined #perl6
01:31 mcmillhj_ joined #perl6
01:32 Geth ¦ doc: a6365f339d | (Zoffix Znet)++ | doc/Type/IO/Handle.pod6
01:32 Geth ¦ doc: [io grant] Document IO::Handle.words/&words
01:32 Geth ¦ doc: review: https://github.com/perl6/doc/commit/a6365f339d
01:35 Zoffix joined #perl6
01:36 Zoffix .tell you should add yourself to the credits: https://github.com/rakudo/rakudo/blob/nom/CREDITS so release tools pick up the name you want when cutting release
01:36 yoleaux Zoffix: I'll pass your message to you.
01:39 geekosaur heh
01:39 lookatme :)
01:47 mcmillhj joined #perl6
01:47 Cabanossi joined #perl6
01:48 ilbot3 joined #perl6
01:48 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:50 Zoffix gahg
01:50 Zoffix .tell eater you should add yourself to the credits: https://github.com/rakudo/rakudo/blob/nom/CREDITS so release tools pick up the name you want when cutting release
01:50 yoleaux Zoffix: I'll pass your message to eater.
01:50 Zoffix yoleaux: stupid bot. What do we pay you for?
01:50 Zoffix .
01:51 Zoffix "freenode  -- │ you: Erroneous Nickname"
01:51 Zoffix Guess those messages will accumulate forever
01:51 geekosaur yep
01:52 geekosaur last time I ran a bot with a tell function, I weeded the message list once a month
01:55 mcmillhj_ joined #perl6
01:55 mcmillhj joined #perl6
01:55 cpage_ joined #perl6
02:02 Zoffix left #perl6
02:07 mcmillhj joined #perl6
02:08 lookatme joined #perl6
02:10 noganex_ joined #perl6
02:14 Cabanossi joined #perl6
02:23 mcmillhj joined #perl6
02:30 raiph joined #perl6
02:34 cog_ joined #perl6
02:36 Actualeyes joined #perl6
02:38 raiph joined #perl6
02:52 BenGoldberg joined #perl6
02:58 mcmillhj_ joined #perl6
02:58 mcmillhj joined #perl6
03:01 geekosaur joined #perl6
03:07 raiph joined #perl6
03:11 daxim joined #perl6
03:11 skids joined #perl6
03:16 mcmillhj joined #perl6
03:28 Cabanossi joined #perl6
03:28 mcmillhj joined #perl6
03:30 perigrin joined #perl6
03:37 kyan joined #perl6
04:01 lookatme joined #perl6
04:06 lookatme joined #perl6
04:08 lookatme joined #perl6
04:14 mcmillhj_ joined #perl6
04:14 mcmillhj joined #perl6
04:37 aborazmeh joined #perl6
04:37 aborazmeh joined #perl6
04:39 lookatme joined #perl6
04:41 tony-o robertle: do you want to send me a PR and i'll merge it in?
04:54 lookatme joined #perl6
04:57 adu joined #perl6
04:59 skids joined #perl6
04:59 mcmillhj joined #perl6
04:59 mcmillhj_ joined #perl6
05:01 KDr2__ joined #perl6
05:03 pmurias joined #perl6
05:05 nadim joined #perl6
05:09 mcmillhj joined #perl6
05:11 skids joined #perl6
05:25 domidumont joined #perl6
05:31 domidumont joined #perl6
05:41 xtreak joined #perl6
05:58 Cabanossi joined #perl6
06:00 mcmillhj_ joined #perl6
06:00 mcmillhj joined #perl6
06:02 wamba joined #perl6
06:09 domidumont1 joined #perl6
06:12 adu joined #perl6
06:18 lowbro joined #perl6
06:18 lowbro joined #perl6
06:21 parv joined #perl6
06:31 darutoko joined #perl6
06:34 lookatme joined #perl6
06:37 mcmillhj joined #perl6
06:38 lookatme joined #perl6
06:42 lookatme joined #perl6
06:58 Cabanossi joined #perl6
07:08 mcmillhj joined #perl6
07:08 mcmillhj_ joined #perl6
07:12 xtreak joined #perl6
07:18 ufobat joined #perl6
07:24 mcmillhj joined #perl6
07:25 mcmillhj_ joined #perl6
07:26 zakharyas joined #perl6
07:26 eater hmm how does tell work if I'm already online?
07:26 yoleaux 01:50Z <Zoffix> eater: you should add yourself to the credits: https://github.com/rakudo/rakudo/blob/nom/CREDITS so release tools pick up the name you want when cutting release
07:26 eater oh like that
07:28 Rawriful joined #perl6
07:31 mr-foobar joined #perl6
07:31 vike joined #perl6
07:34 kurahaupo_ joined #perl6
07:36 mcmillhj joined #perl6
07:36 mcmillhj_ joined #perl6
07:37 dakkar joined #perl6
07:38 kurahaupo joined #perl6
07:38 robertle tony-o: will do!
07:39 kurahaupo joined #perl6
07:41 kurahaupo_ joined #perl6
07:41 kurahaupo_ joined #perl6
07:43 Cabanossi joined #perl6
07:44 tony-o thank you sir
07:52 inokenty joined #perl6
07:54 mcmillhj joined #perl6
07:55 kurahaupo joined #perl6
07:56 kurahaupo__ joined #perl6
07:57 kurahaupo joined #perl6
07:58 kurahaupo joined #perl6
08:06 mcmillhj joined #perl6
08:15 domidumont joined #perl6
08:19 adu joined #perl6
08:21 mcmillhj joined #perl6
08:21 mcmillhj_ joined #perl6
08:33 labster joined #perl6
08:34 nadim joined #perl6
08:35 rindolf joined #perl6
08:39 wamba joined #perl6
08:45 xtreak joined #perl6
08:46 xtreak joined #perl6
08:48 xtreak joined #perl6
08:49 zakharyas joined #perl6
08:51 robertle joined #perl6
08:57 mcmillhj joined #perl6
08:57 mcmillhj_ joined #perl6
09:08 mcmillhj joined #perl6
09:08 xtreak joined #perl6
09:12 xtreak joined #perl6
09:13 Cabanossi joined #perl6
09:14 xtreak joined #perl6
09:22 b2gills joined #perl6
09:22 mcmillhj_ joined #perl6
09:22 mcmillhj joined #perl6
09:25 bjz joined #perl6
09:41 wamba joined #perl6
09:43 Cabanossi joined #perl6
09:58 eyck joined #perl6
10:16 margeas joined #perl6
10:17 bjz joined #perl6
10:24 astj joined #perl6
10:24 astj joined #perl6
10:48 bjz joined #perl6
10:59 tbrowder hi #perl6
11:03 tbrowder i notice that, according to the docs, perl6 pod can be rendered as a man page, but i don't see a Pod::To::Man module listed. maybe zef can someday automagically install man pages on *nix systems.
11:04 moritz maybe start by writing Pod::To::Man? :-)
11:05 imcsk8 joined #perl6
11:05 tbrowder but how is that done now with the --man option?
11:07 tbrowder i assume there must be one or more of the pod6 man sections in the code, but something must be rendering that to man format--or not, just text in man format i guess--haven't tried it.
11:08 moritz which --man option?
11:09 tbrowder see the docs, language, pod, bottom of the page: rendering pod
11:11 moritz that will just use the normal --pod output
11:11 moritz so it uses Pod::To::Text
11:11 tbrowder ok, thanks
11:29 cyphase joined #perl6
11:29 AlexDaniel joined #perl6
11:31 astj joined #perl6
11:34 yqt joined #perl6
11:36 xtreak joined #perl6
11:37 xtreak_ joined #perl6
11:43 Cabanossi joined #perl6
11:49 astj joined #perl6
11:53 nightfrog joined #perl6
12:16 devmikey joined #perl6
12:33 KDr2_ joined #perl6
12:54 itaipu joined #perl6
12:57 cpage_ joined #perl6
12:58 Cabanossi joined #perl6
12:59 mcmillhj joined #perl6
13:00 mcmillhj_ joined #perl6
13:06 infrabyte joined #perl6
13:06 infrabyte q
13:24 skids joined #perl6
13:52 robertle are there any guarantees around .tap executions on the same supply in terms of concurrency? can I rely on the block within the tap code to not be executed in parallel?
13:52 moritz robertle: iirc you can if you use .act instead of .tap
13:54 jnthn Supplies are by default serial
13:54 jnthn You *can* find a way to get a supply that won't deliver messages one at a time
13:55 jnthn But by default they process one message at a time
13:55 jnthn (The way being the unsanitized-Supply method or whatever it's called on Supplier)
13:55 robertle super, thanks!
13:55 jnthn .act promises it even then
13:55 jnthn But you're pretty safe with tap
14:13 Cabanossi joined #perl6
14:18 cpage_ joined #perl6
14:25 astj joined #perl6
14:25 adu joined #perl6
14:30 wamba joined #perl6
14:45 committable6 joined #perl6
14:47 lichtkind joined #perl6
15:02 cpage_ joined #perl6
15:05 AlexDaniel joined #perl6
15:07 committable6 joined #perl6
15:14 adu joined #perl6
15:17 khw joined #perl6
15:17 sufrostico joined #perl6
15:26 kurahaupo joined #perl6
15:40 wamba joined #perl6
15:43 Cabanossi joined #perl6
15:53 st_elmo joined #perl6
16:19 cognominal joined #perl6
16:26 setty1 joined #perl6
16:42 imcsk8 joined #perl6
17:05 lowbro joined #perl6
17:05 lowbro joined #perl6
17:14 mcmillhj joined #perl6
17:14 mcmillhj_ joined #perl6
17:28 * [Coke] biked in today for "ride your bike to work day". ow.
17:29 zostay m: my Pair @p = a => 1, b => 2; @p>>.key.WHAT.say
17:29 camelia rakudo-moar 164c0b: OUTPUT: «(Array[Pair])␤»
17:29 zostay that doesn't feel right
17:30 zostay m: my Pair @p = a => 1, b => 2; @p>>.key.say
17:30 camelia rakudo-moar 164c0b: OUTPUT: «[a b]␤»
17:31 zostay m: my Pair @p = a => 1, b => 2; @p.map(*.key).WHAT.say
17:31 camelia rakudo-moar 164c0b: OUTPUT: «(Seq)␤»
17:31 zostay m: my Pair @p = a => 1, b => 2; @p.map(*.key).say
17:31 camelia rakudo-moar 164c0b: OUTPUT: «(a b)␤»
17:38 raschipi joined #perl6
17:45 domidumont joined #perl6
17:56 andrzejku joined #perl6
17:58 Cabanossi joined #perl6
17:59 cdg joined #perl6
18:00 timotimo i'd have a hard time biking to prague
18:14 jmerelo joined #perl6
18:20 lichtkind joined #perl6
18:36 jmerelo Just sent a pull request to a repo with "awesome machine learning" stuff https://github.com/josephmisiti/awesome-machine-learning/pull/379
18:37 jmerelo There was nothing on Perl. I added also a couple of Perl 6 libraries. There's not a whole lot of any of them, sadly.
18:43 Cabanossi joined #perl6
18:44 sufrostico joined #perl6
18:57 nadim joined #perl6
19:02 AlexDaniel joined #perl6
19:06 Ven joined #perl6
19:16 Chillance joined #perl6
19:19 Ven_ joined #perl6
19:26 kyan joined #perl6
19:49 hythm m: my $var2 = defined my $var1 ?? "y" !! "n"
19:49 camelia rakudo-moar 164c0b: ( no output )
19:49 hythm m: my $var2 = defined my $var1 ?? "y" !! "n"; say $var2.perl
19:49 camelia rakudo-moar 164c0b: OUTPUT: «Bool::True␤»
19:50 hythm why $var2 is Bool and not "n"?
19:50 hythm m: my $var2 = my $var1 ?? "y" !! "n"; say $var2.perl
19:50 camelia rakudo-moar 164c0b: OUTPUT: «"n"␤»
19:51 zakharyas joined #perl6
19:52 labster joined #perl6
19:57 espadrine joined #perl6
19:57 webart joined #perl6
20:00 hythm m: my $var2 = my $var1.defined ?? "y" !! "n"; say $var2.perl
20:00 camelia rakudo-moar 164c0b: OUTPUT: «"n"␤»
20:00 hythm hmm, Whats the difference between calling defined $var and $var.defined!
20:05 Geth ¦ doc: the-eater++ created pull request #1315: Add docs for Proc::Async.ready
20:05 Geth ¦ doc: review: https://github.com/perl6/doc/pull/1315
20:07 webart feeds ... ("==>") ... when are they useful?
20:08 webart I like the "style" of he syntax for some reason
20:11 perlpilot webart: they're currently useful when you want to better indicate data flow in your code
20:11 webart since it seems like you are building a sort of processing pipeline
20:12 perlpilot webart: or change the direction of flow to be more "natural"
20:12 webart yeah ok
20:12 webart perl6 -e 'say "/usr/share/dict/words".IO.slurp.lines.grep("zygote") ' takes .8 seconds
20:13 mst I bet most of that is startup overhead
20:13 webart perl6 -e 'my @arr = "/usr/share/dict/words".IO.slurp.lines(:eager) ;  @arr ==> grep({m/<<zygote>>/}) ==> my $stuff; say $stuff'
20:13 webart takes 20 seconds :-)
20:13 webart ok very bad example
20:13 webart mst: agreed
20:13 mst also what about
20:13 webart startup time
20:13 mst "/usr/share/dict/words".IO.slurp.lines(:eager).grep("zygote") ?
20:14 * mst suspects it's the eagerness that's screwing the performance in the second case
20:14 webart I thought maybe ==> was optimized for something esoteric  along with what perlpilot mentioned
20:15 perlpilot webart: there's a promise of parallelization, but I don't think it's implemented yet.
20:16 webart obviously using ==> grep() instead of .grep() is dumb but I wondered if there was some performance area where it excelled
20:16 webart perlpilot: aha! that is it!
20:16 perlpilot S06 has some info on feed ops and what's guaranteed or not
20:16 perlpilot I dunno if any of that made it to docs.perl6.org  though
20:18 webart perlpilot: one day massive networked AI in the sky applications will use it :)
20:18 webart to "feed" on us 8-{
20:19 webart https://www.youtube.com/watch?v=BrNs0M77Pd4
20:19 Ven joined #perl6
20:21 perlpilot webart: If you have interest in using the feed ops for their implicit parallelization that is not yet implemented, you could take jnthn up on his offer (https://6guts.wordpress.com/2017/05/12/looking-for-perl-6-rakudo-and-moarvm-development-funding/) and fund him to make it happen  :-)
20:22 webart :-D  excellent
20:31 Ven_ joined #perl6
20:36 andrzejku joined #perl6
20:43 Ven_ joined #perl6
20:47 ugjka joined #perl6
20:57 nine It's kinda scary how freely available one's data is today. I just stumbled over http://glidertracker.de/#id=D-KFMF (go to Settings, Select 24h) That's my flight today.
20:58 Cabanossi joined #perl6
20:59 sufrostico joined #perl6
21:05 jnthn nine: ooh, some of it was over .cz, looks like? :)
21:10 nine jnthn: I'd say most of it actually. Like on many days, conditions in CZ were just better than down here :)
21:13 jnthn Was certianly a warm/clear day up here in Prague. :)
21:14 * jnthn hasn't yet been to that corner of the Czech Republic
21:34 Khisanth joined #perl6
21:43 MasterDuke joined #perl6
21:47 bjz joined #perl6
21:53 lostinfog joined #perl6
21:56 Ven joined #perl6
22:05 wamba joined #perl6
22:15 dct joined #perl6
22:16 Zoffix joined #perl6
22:16 Zoffix webart: where did you learn about `:eager` argument for .lines?
22:18 Geth ¦ doc: e016b7efc0 | eater++ (committed by Zoffix Znet) | doc/Type/Proc/Async.pod6
22:18 Geth ¦ doc: Add docs for Proc::Async.ready (#1315)
22:18 Geth ¦ doc: review: https://github.com/perl6/doc/commit/e016b7efc0
22:26 Zoffix hythm: no difference, other than `defined $foo, $bar` will be an error and will require parens: `defined($foo), $bar`. Perl 6 has many routines for those who prefer "functional" programing, which just delegete to a method call, in this case, `defined $foo` just calls `$foo.defined`
22:27 Zoffix hythm: so defined my $var1 ?? "y" !! "n" is same as `defined( my $var1 ?? "y" !! "n" )`
22:27 Zoffix And is always true
22:30 Zoffix zostay: FWIW, »... is not the same as .map(*...). Hyper will descend into iterables for nodal methods, while .map won't.
22:30 Zoffix m: dd (^3, [^4], '5')».Numeric
22:30 camelia rakudo-moar a7c23a: OUTPUT: «($(0, 1, 2), $[0, 1, 2, 3], 5)␤»
22:30 Zoffix m: dd (^3, [^4], '5').map: *.Numeric
22:30 camelia rakudo-moar a7c23a: OUTPUT: «(3, 4, 5).Seq␤»
22:35 Zoffix or rather... methods that are nodal will descend
22:36 Zoffix m: dd (^3, [^4], '5')».[0]
22:36 camelia rakudo-moar a7c23a: OUTPUT: «(0, 0, "5")␤»
22:36 Zoffix m: dd (^3, [^4], '5')».head
22:36 camelia rakudo-moar a7c23a: OUTPUT: «($(0, 1, 2), $[0, 1, 2, 3], "5")␤»
22:39 Zoffix webart: anyway, reason I asked is because there's no (longer) such an arg and if any no-archived materials mention it they need to be updated
22:39 Zoffix \o
22:39 Zoffix left #perl6
22:40 r3m joined #perl6
22:43 Cabanossi joined #perl6
22:43 Ven joined #perl6
23:06 Ven_ joined #perl6
23:08 cyphase joined #perl6
23:18 skids joined #perl6
23:24 Ven_ joined #perl6
23:37 sufrostico joined #perl6
23:40 Ven joined #perl6
23:43 zapwai joined #perl6
23:58 Cabanossi joined #perl6

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

Perl 6 | Reference Documentation | Rakudo