»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
00:01 margeas left 00:08 mcmillhj joined 00:12 mcmillhj left 00:16 go|dfish joined 00:26 mcmillhj joined, mcmillhj_ joined 00:31 mcmillhj_ left, mcmillhj left 00:40 skids joined 00:42 Cabanossi left 00:43 kurahaupo_ joined 00:44 Cabanossi joined, mcmillhj joined, mcmillhj_ joined 00:46 kurahaupo left 00:49 mcmillhj_ left 00:50 mcmillhj left, cpage_ joined, zacts left 00:51 skids left, kurahaupo_ left 00:52 kurahaupo joined 00:54 kurahaupo left, kurahaupo joined 00:58 kurahaupo_ joined 01:01 kurahaupo left 01:03 kurahaupo_ left, kurahaupo joined 01:04 kurahaupo_ joined, kurahaupo__ joined, cpage_ left 01:07 kurahaupo left 01:08 kurahaupo_ left 01:09 lookatme joined
lookatme morning, morning . 01:09
01:09 skids joined
sammers morning 01:10
01:11 cpage_ joined 01:12 kurahaupo joined 01:13 cpage__ joined 01:15 kurahaupo__ left, cpage_ left, cpage__ is now known as cpage_ 01:16 mcmillhj joined 01:22 mcmillhj left 01:25 cpage_ left 01:31 mcmillhj joined, mcmillhj_ joined
Geth doc: a6365f339d | (Zoffix Znet)++ | doc/Type/IO/Handle.pod6
[io grant] Document IO::Handle.words/&words
01:32
01:34 AlexDaniel left 01:35 Zoffix joined 01:36 mcmillhj_ left, mcmillhj left
Zoffix .tell you should add yourself to the credits: 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.
geekosaur heh 01:39
lookatme :)
01:41 Cabanossi left 01:42 mcmillhj joined 01:44 Cabanossi joined 01:46 ilbot3 left 01:47 mcmillhj left, skids left 01:48 ilbot3 joined, ChanServ sets mode: +v ilbot3
Zoffix gahg 01:50
.tell eater you should add yourself to the credits: github.com/rakudo/rakudo/blob/nom/CREDITS so release tools pick up the name you want when cutting release
yoleaux Zoffix: I'll pass your message to eater.
Zoffix yoleaux: stupid bot. What do we pay you for?
. 01:51
"freenode -- │ you: Erroneous Nickname"
Guess those messages will accumulate forever
geekosaur yep
last time I ran a bot with a tell function, I weeded the message list once a month 01:52
01:55 mcmillhj_ joined, mcmillhj joined, cpage_ joined 01:56 beginner left 02:00 mcmillhj_ left, mcmillhj left 02:03 Zoffix left 02:07 mcmillhj joined 02:08 lookatme left, lookatme joined 02:10 noganex_ joined 02:11 noganex left, mcmillhj left 02:13 Cabanossi left 02:14 Cabanossi joined 02:15 Actualeyes left 02:23 mcmillhj joined 02:28 mcmillhj left 02:30 raiph left, raiph joined 02:34 cog_ joined 02:35 cognominal left 02:37 Actualeyes joined 02:38 raiph left, raiph joined 02:52 BenGoldberg joined 02:58 mcmillhj_ joined, mcmillhj joined 03:01 geekosaur left, geekosaur joined 03:02 mcmillhj_ left, mcmillhj left 03:07 raiph left, raiph joined 03:10 daxim left 03:11 daxim joined 03:12 skids joined 03:16 mcmillhj joined 03:18 BenGoldberg left 03:20 mcmillhj left, skids left 03:25 kyan left 03:26 perigrin left 03:27 Cabanossi left, khw left 03:28 Cabanossi joined, mcmillhj joined 03:30 perigrin joined 03:33 mcmillhj left 03:37 kyan joined 04:01 lookatme left, lookatme joined 04:06 lookatme left, lookatme joined 04:07 lookatme left 04:08 lookatme joined 04:09 lookatme left 04:12 imcsk8 left 04:14 mcmillhj_ joined, mcmillhj joined 04:19 mcmillhj_ left, mcmillhj left 04:37 aborazmeh joined, aborazmeh left, aborazmeh joined 04:39 lookatme joined
tony-o robertle: do you want to send me a PR and i'll merge it in? 04:41
04:54 lookatme left, lookatme joined 04:57 adu joined 04:59 skids joined, mcmillhj joined, mcmillhj_ joined 05:01 KDr2__ joined 05:03 pmurias joined, mcmillhj left, KDr2__ is now known as KDr2 05:04 mcmillhj_ left 05:05 nadim joined 05:06 aborazmeh left 05:08 skids left 05:09 mcmillhj joined 05:11 skids joined 05:14 mcmillhj left 05:25 skids left, domidumont joined 05:30 domidumont left 05:31 domidumont joined 05:41 xtreak joined 05:53 adu left, kyan left 05:57 Cabanossi left 05:58 Cabanossi joined 06:00 mcmillhj_ joined, mcmillhj joined 06:02 wamba joined 06:05 mcmillhj_ left, mcmillhj left 06:09 domidumont1 joined 06:12 adu joined 06:13 domidumont left 06:18 lowbro joined, lowbro left, lowbro joined 06:21 parv joined 06:31 darutoko joined 06:34 lookatme left, lookatme joined 06:37 mcmillhj joined 06:38 lookatme left, lookatme joined 06:42 mcmillhj left, lookatme left 06:43 lookatme joined 06:56 Cabanossi left 06:58 Cabanossi joined 07:03 domidumont1 left 07:08 mcmillhj joined, mcmillhj_ joined 07:11 xtreak left 07:12 xtreak joined, mcmillhj left 07:13 mcmillhj_ left 07:18 ufobat joined 07:24 vike left, mcmillhj joined 07:25 mcmillhj_ joined 07:26 zakharyas joined
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: github.com/rakudo/rakudo/blob/nom/CREDITS so release tools pick up the name you want when cutting release
eater oh like that
07:28 Rawriful joined, wamba left 07:29 mcmillhj left, adu left, mcmillhj_ left 07:31 mr-foobar joined, vike joined 07:34 kurahaupo_ joined, kurahaupo left 07:36 mcmillhj joined, mcmillhj_ joined 07:37 dakkar joined 07:38 kurahaupo joined
robertle tony-o: will do! 07:38
07:38 robertle left, kurahaupo left 07:39 kurahaupo joined 07:40 kurahaupo_ left 07:41 kurahaupo_ joined, mcmillhj_ left, mcmillhj left, kurahaupo_ left, kurahaupo_ joined 07:42 Cabanossi left 07:43 kurahaupo left, Cabanossi joined 07:44 inokenty left
tony-o thank you sir 07:44
07:45 eyck left 07:47 zakharyas left 07:52 inokenty joined 07:53 nadim left 07:54 mcmillhj joined 07:55 kurahaupo joined 07:56 kurahaupo left, kurahaupo__ joined 07:57 kurahaupo joined 07:58 kurahaupo left, kurahaupo_ left, kurahaupo joined, kurahaupo left, mcmillhj left 08:00 kurahaupo__ left 08:06 mcmillhj joined 08:11 mcmillhj left 08:15 domidumont joined 08:19 adu joined 08:21 mcmillhj joined, mcmillhj_ joined 08:26 mcmillhj_ left, mcmillhj left 08:33 labster joined 08:34 nadim joined 08:35 rindolf joined 08:39 wamba joined 08:45 xtreak left, xtreak joined 08:46 cpage_ left, xtreak left, xtreak joined 08:48 xtreak left, xtreak joined 08:49 zakharyas joined 08:51 robertle joined 08:52 xtreak left 08:57 mcmillhj joined, mcmillhj_ joined 09:02 mcmillhj_ left, mcmillhj left 09:08 mcmillhj joined, xtreak joined 09:12 Cabanossi left, xtreak left, xtreak joined 09:13 mcmillhj left, Cabanossi joined 09:14 xtreak left, xtreak joined 09:22 b2gills joined, mcmillhj_ joined, mcmillhj joined 09:25 bjz joined 09:26 mcmillhj_ left, mcmillhj left 09:37 wamba left 09:39 lookatme left 09:41 wamba joined, adu left 09:42 Cabanossi left 09:43 Cabanossi joined 09:58 eyck joined, parv left 10:09 bjz left 10:16 margeas joined 10:17 bjz joined 10:23 astj_ left 10:24 astj joined, astj left, astj joined 10:43 bjz left 10:48 bjz joined, silug left 10:56 labster left
tbrowder hi #perl6 10:59
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:03
moritz maybe start by writing Pod::To::Man? :-) 11:04
11:05 imcsk8 joined
tbrowder but how is that done now with the --man option? 11:05
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:07
moritz which --man option? 11:08
tbrowder see the docs, language, pod, bottom of the page: rendering pod 11:09
moritz that will just use the normal --pod output 11:11
so it uses Pod::To::Text
tbrowder ok, thanks
11:21 wamba left 11:23 cyphase left 11:25 pmurias left 11:29 cyphase joined, AlexDaniel joined 11:31 astj left, astj joined 11:34 yqt joined 11:35 astj left 11:36 xtreak left, xtreak joined 11:37 xtreak left, xtreak_ joined 11:39 KDr2 left 11:41 Cabanossi left 11:43 Cabanossi joined 11:49 astj joined 11:53 nightfrog joined, astj left 11:54 nightfrog is now known as culb 12:11 AlexDaniel left 12:16 devmikey joined 12:33 KDr2_ joined 12:54 itaipu joined, bjz left 12:57 Cabanossi left, cpage_ joined 12:58 Cabanossi joined 12:59 mcmillhj joined 13:00 xtreak_ left, mcmillhj_ joined 13:02 KDr2_ is now known as KDr2 13:06 infrabyte joined
infrabyte q 13:06
13:07 infrabyte left 13:24 skids joined 13:26 nadim left
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
jnthn Supplies are by default serial 13:54
You *can* find a way to get a supply that won't deliver messages one at a time
But by default they process one message at a time 13:55
(The way being the unsanitized-Supply method or whatever it's called on Supplier)
robertle super, thanks!
jnthn .act promises it even then
But you're pretty safe with tap
14:12 Cabanossi left 14:13 Cabanossi joined 14:16 cpage_ left 14:18 cpage_ joined 14:25 astj joined, adu joined 14:30 wamba joined, g4 left 14:44 committable6 left 14:45 committable6 joined, ChanServ sets mode: +v committable6 14:47 lichtkind joined 14:49 committable6 left 14:52 astj left 15:00 lowbro left 15:01 cpage_ left 15:02 cpage_ joined 15:05 AlexDaniel joined, MilkmanDan left 15:07 committable6 joined, ChanServ sets mode: +v committable6 15:12 adu left 15:14 adu joined, adu left 15:17 khw joined, sufrostico joined 15:22 sufrostico left 15:26 kurahaupo joined 15:28 wamba left 15:34 vytas left 15:40 wamba joined 15:42 Cabanossi left, domidumont left 15:43 Cabanossi joined 15:52 cog_ left 15:53 st_elmo joined 16:19 cognominal joined 16:22 dakkar left 16:23 mcmillhj_ left, mcmillhj left 16:26 setty1 joined 16:30 AlexDaniel left 16:32 st_elmo left 16:34 nebuchadnezzar left 16:41 zakharyas left 16:42 imcsk8 left, imcsk8 joined 17:05 lowbro joined, lowbro left, lowbro joined 17:11 Actualeyes left 17:14 mcmillhj joined, mcmillhj_ joined
[Coke] biked in today for "ride your bike to work day". ow. 17:28
zostay m: my Pair @p = a => 1, b => 2; @p>>.key.WHAT.say 17:29
camelia (Array[Pair])
17:29 KDr2 left
zostay that doesn't feel right 17:29
m: my Pair @p = a => 1, b => 2; @p>>.key.say 17:30
camelia [a b]
zostay m: my Pair @p = a => 1, b => 2; @p.map(*.key).WHAT.say 17:31
camelia (Seq)
zostay m: my Pair @p = a => 1, b => 2; @p.map(*.key).say
camelia (a b)
17:37 wamba left 17:38 raschipi joined 17:45 domidumont joined 17:55 Cabanossi left 17:56 andrzejku joined 17:58 Cabanossi joined 17:59 ufobat left, cdg joined
timotimo i'd have a hard time biking to prague 18:00
18:07 lichtkind left 18:14 jmerelo joined 18:20 lichtkind joined 18:33 raschipi left
jmerelo Just sent a pull request to a repo with "awesome machine learning" stuff github.com/josephmisiti/awesome-ma...g/pull/379 18:37
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:41 jmerelo left 18:42 Cabanossi left 18:43 Cabanossi joined 18:44 sufrostico joined 18:57 nadim joined 19:02 AlexDaniel joined 19:03 itaipu left 19:06 sufrostico left, Ven joined 19:07 Ven is now known as Guest63831 19:10 Guest63831 left 19:16 Chillance joined 19:19 Ven_ joined 19:20 Ven_ left 19:25 domidumont left 19:26 darutoko left, kyan joined
hythm m: my $var2 = defined my $var1 ?? "y" !! "n" 19:49
camelia ( no output )
hythm m: my $var2 = defined my $var1 ?? "y" !! "n"; say $var2.perl
camelia Bool::True
hythm why $var2 is Bool and not "n"? 19:50
m: my $var2 = my $var1 ?? "y" !! "n"; say $var2.perl
camelia "n"
19:51 zakharyas joined 19:52 labster joined 19:57 espadrine joined, webart joined
hythm m: my $var2 = my $var1.defined ?? "y" !! "n"; say $var2.perl 20:00
camelia "n"
hythm hmm, Whats the difference between calling defined $var and $var.defined!
Geth doc: the-eater++ created pull request #1315:
Add docs for Proc::Async.ready
20:05
webart feeds ... ("==>") ... when are they useful? 20:07
I like the "style" of he syntax for some reason 20:08
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
perlpilot webart: or change the direction of flow to be more "natural" 20:12
webart yeah ok
perl6 -e 'say "/usr/share/dict/words".IO.slurp.lines.grep("zygote") ' takes .8 seconds
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'
takes 20 seconds :-)
ok very bad example
mst: agreed
mst also what about
webart startup time
mst "/usr/share/dict/words".IO.slurp.lines(:eager).grep("zygote") ? 20:14
20:14 andrzejku left
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
perlpilot webart: there's a promise of parallelization, but I don't think it's implemented yet. 20:15
webart obviously using ==> grep() instead of .grep() is dumb but I wondered if there was some performance area where it excelled 20:16
perlpilot: aha! that is it!
perlpilot S06 has some info on feed ops and what's guaranteed or not
I dunno if any of that made it to docs.perl6.org though
webart perlpilot: one day massive networked AI in the sky applications will use it :) 20:18
to "feed" on us 8-{
www.youtube.com/watch?v=BrNs0M77Pd4 20:19
20:19 Ven joined 20:20 Ven is now known as Guest58788
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 (6guts.wordpress.com/2017/05/12/loo...-funding/) and fund him to make it happen :-) 20:21
webart :-D excellent 20:22
20:26 khw left 20:29 Guest58788 left 20:31 Ven_ joined 20:36 andrzejku joined 20:42 Ven_ left 20:43 Ven_ joined 20:46 UgJkA left, setty1 left 20:47 ugjka joined 20:56 Cabanossi left
nine It's kinda scary how freely available one's data is today. I just stumbled over glidertracker.de/#id=D-KFMF (go to Settings, Select 24h) That's my flight today. 20:57
20:58 Cabanossi joined 20:59 sufrostico joined 21:03 mcmillhj left, devmikey left, mcmillhj_ left 21:05 andrzejku left
jnthn nine: ooh, some of it was over .cz, looks like? :) 21:05
21:09 zakharyas left 21:10 skids left
nine jnthn: I'd say most of it actually. Like on many days, conditions in CZ were just better than down here :) 21:10
jnthn Was certianly a warm/clear day up here in Prague. :) 21:13
jnthn hasn't yet been to that corner of the Czech Republic 21:14
21:21 Khisanth left 21:23 sufrostico left 21:34 Khisanth joined 21:41 MasterDuke left 21:43 MasterDuke joined 21:47 bjz joined 21:53 lostinfog joined 21:54 lostinfog left 21:55 Ven_ left 21:56 Ven joined 21:57 Ven is now known as Guest72935 22:05 wamba joined 22:11 bpmedley left 22:14 cdg left 22:15 dct joined 22:16 Zoffix joined
Zoffix webart: where did you learn about `:eager` argument for .lines? 22:16
Geth doc: e016b7efc0 | eater++ (committed by Zoffix Znet) | doc/Type/Proc/Async.pod6
Add docs for Proc::Async.ready (#1315)
22:18
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:26
hythm: so defined my $var1 ?? "y" !! "n" is same as `defined( my $var1 ?? "y" !! "n" )` 22:27
And is always true
zostay: FWIW, »... is not the same as .map(*...). Hyper will descend into iterables for nodal methods, while .map won't. 22:30
m: dd (^3, [^4], '5')».Numeric
camelia ($(0, 1, 2), $[0, 1, 2, 3], 5)
Zoffix m: dd (^3, [^4], '5').map: *.Numeric
camelia (3, 4, 5).Seq
Zoffix or rather... methods that are nodal will descend 22:35
m: dd (^3, [^4], '5')».[0] 22:36
camelia (0, 0, "5")
Zoffix m: dd (^3, [^4], '5')».head
camelia ($(0, 1, 2), $[0, 1, 2, 3], "5")
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
\o
22:39 Zoffix left 22:40 r3m left, r3m joined 22:41 Cabanossi left, Rawriful left 22:43 Guest72935 left, Cabanossi joined, Ven joined 22:44 Ven is now known as Guest39520 22:52 dct left 22:59 Guest39520 left 23:03 cyphase left 23:05 robertle left, bjz left 23:06 Ven_ joined 23:08 cyphase joined 23:18 skids joined 23:20 Ven_ left 23:24 Ven_ joined 23:33 Ven_ left 23:37 sufrostico joined 23:40 Ven joined, Ven left 23:43 zapwai joined 23:48 rindolf left 23:49 TimToady left 23:57 Cabanossi left 23:58 Cabanossi joined