Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2013-08-15

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:21 TimK1 left #perl6
00:42 nebuchadnezzar joined #perl6
00:43 [Coke] r: say 18 X- 6,7 X- 2,3,5,6, X- 3,5,6
00:43 camelia rakudo c0814a: OUTPUT«use of uninitialized value of type X in numeric context  in block  at /tmp/RgKOexUGYm:1␤␤10 9 7 6 15 7 6 9 8 6 5 14 6 5␤»
00:43 [Coke] r: say 18 X- 6,7 X- 2,3,5,6 X- 3,5,6
00:43 camelia rakudo c0814a: OUTPUT«7 5 4 6 4 3 4 2 1 3 1 0 6 4 3 5 3 2 3 1 0 2 0 -1␤»
00:44 [Coke] r: say (18 X- 6,7 X- 2,3,5,6 X- 3,5,6).uniq
00:44 camelia rakudo c0814a: OUTPUT«7 5 4 6 3 2 1 0 -1␤»
00:46 TimToady decomuting &
00:46 [Coke] TimToady: ~~
00:47 TimToady *mm
00:47 TimToady but what do you expect for 3:45am...
00:48 TimToady really &
00:50 FROGGS joined #perl6
00:51 obra joined #perl6
00:55 cognominal joined #perl6
01:02 crab2313 joined #perl6
01:25 kbaker joined #perl6
01:42 FROGGS_ joined #perl6
02:03 FROGGS_ joined #perl6
02:15 xinming joined #perl6
03:13 wtw_ joined #perl6
03:16 dmol joined #perl6
03:28 FROGGS joined #perl6
03:30 preflex_ joined #perl6
03:43 isBEKaml joined #perl6
03:44 nebuchadnezzar joined #perl6
03:58 ggoebel joined #perl6
04:01 fgomez joined #perl6
04:17 japhb .tell pmurias I noticed I was highlighted re: startup time issues with perl6-bench -- Thanks to pmichaud++, perl6-bench goes through some pains to determine both the global *interpreter/VM* startup time, measured by running an empty program many times, and *compile/init* startup time for each scalable test individually, measured by running the test at SCALE=0, as timotimo says.  This resulted in much more reliable and comparable results.
04:17 yoleaux japhb: I'll pass your message to pmurias.
04:19 japhb (That said, I'm very much open to pull requests from anyone who figures out a better way.)
04:21 japhb As for the in-proc v. out-of-proc question, across VMs and implementations I think the only way to be fair is to allow the results to be presented either with startup time included or excluded, so that users can consider whether startup time matters for their use case.
04:22 japhb (and of course that's exactly what perl6-bench does)
04:32 obra left #perl6
04:49 SamuraiJack joined #perl6
04:56 birdwindupbird joined #perl6
05:11 FROGGS joined #perl6
05:15 moritz good morning
05:16 kingbeast joined #perl6
05:33 woolfy joined #perl6
05:39 labster joined #perl6
05:42 FROGGS joined #perl6
06:00 lizmat joined #perl6
06:13 isBEKaml joined #perl6
06:16 woolfy left #perl6
06:36 FROGGS joined #perl6
06:39 TimToady waiting at AMS now
06:48 dayangkun_ joined #perl6
06:49 grondilu "AMS"?
06:49 Su-Shee good morning everyone.
06:51 abnorman joined #perl6
06:53 berekuk joined #perl6
06:53 crab2313 joined #perl6
07:01 tadzik moritz: up for some sightseeing today?
07:08 moritz tadzik: yes, until around 1500, when I have to be back at the hotel
07:09 moritz grondilu: amsterdam airport, probably
07:09 moritz tadzik: do you want your laptop back?
07:10 tadzik moritz: yeah, sure :)
07:12 moritz tadzik: are you coming to dnipro hotel? there'll be a few groups leaving for sightseeing soonish
07:14 tadzik do they organize themselves on the internets somewhere?
07:14 tadzik I may come sightseeing with you, if I know any details
07:15 moritz last I knew from breakfast, they were plannng to organize themselves offline after breakfast
07:16 tadzik *grumble*
07:16 isBEKaml joined #perl6
07:17 moritz just come here, here is all the action :-)
07:17 * moritz -> checking out
07:18 tadzik *grumble*
07:18 tadzik could you give me an ETA on when you'll be leaving?
07:22 DrEeevil joined #perl6
07:24 mst_ joined #perl6
07:28 JimmyZ what? can't push to github?
07:29 moritz tadzik: I'll wait for you in the lobby, because otherwise you won't get your laptop back :/
07:29 moritz tadzik: but we don't have any ETAs on anything
07:29 moritz some people are leaving right now, it seems
07:29 masak morn', #perl6
07:29 dalek Perlito: 30e4683 | (Flavio S. Glock)++ | TODO-perlito5:
07:29 dalek Perlito: Perlito5 - TODO update
07:29 dalek Perlito: review: https://github.com/fglock/Perlito/commit/30e4683550
07:29 JimmyZ The requested URL returned error: 502 while accessing https://github.com/
07:30 masak <moritz> tadzik: but we don't have any ETAs on anything
07:30 * masak .oO( what is this, the #perl6 channel? ) :P
07:30 moritz masak++
07:31 tadzik moritz: ok, I'll be on the move in a few minutes
07:31 tadzik should be at Dnipro by 11
07:31 sidus joined #perl6
07:32 moritz \o/
07:34 denis_boyun joined #perl6
07:37 FROGGS joined #perl6
07:40 masak rn: say join "", <92 111 47>>>.chr.join
07:40 camelia rakudo c0814a, niecza v24-88-g1f87209: OUTPUT«\o/␤»
07:40 spider-mario joined #perl6
07:41 masak rn: say <92 111 47>>>.chr.join
07:41 camelia rakudo c0814a, niecza v24-88-g1f87209: OUTPUT«\o/␤»
07:43 woolfy joined #perl6
08:00 woolfy left #perl6
08:06 jaffa4 joined #perl6
08:07 FROGGS joined #perl6
08:22 Vlavv joined #perl6
08:25 berekuk joined #perl6
08:28 stevan_ joined #perl6
08:32 japhb joined #perl6
08:39 Su-Shee left #perl6
08:39 Vlavv joined #perl6
08:57 dmol joined #perl6
08:58 PZt joined #perl6
09:02 cosimo joined #perl6
09:03 avar joined #perl6
09:03 avar joined #perl6
09:12 bearman joined #perl6
09:16 rindolf joined #perl6
09:25 mathw o/
09:38 Aww joined #perl6
09:49 timotimo ohai
09:49 dalek Perlito: f3543c1 | (Flavio S. Glock)++ | / (4 files):
09:49 dalek Perlito: Perlito5 - js - tweak code formatter
09:49 dalek Perlito: review: https://github.com/fglock/Perlito/commit/f3543c1ba4
09:51 Creaprog joined #perl6
09:51 Creaprog Hello
09:54 Aww Hello
10:02 daniel-s_ joined #perl6
10:03 nyuszika7h joined #perl6
10:16 Creaprog Hello
10:17 Creaprog Perl6 is the best perl ?
10:17 FROGGS joined #perl6
10:27 grondilu crazedpsyc:  define "best"
10:28 grondilu crazedpsyc: ^sorry, this was for Creaprog
10:29 dalek Perlito: 819d067 | (Flavio S. Glock)++ | / (2 files):
10:29 dalek Perlito: Perlito5 - eval - fix syntax
10:29 dalek Perlito: review: https://github.com/fglock/Perlito/commit/819d06718e
10:33 japhb joined #perl6
10:37 pmurias joined #perl6
10:41 avuserow joined #perl6
10:49 timotimo jnthn: i think you should click "merge" on pull request number 1 and "close" on pull request number 2 on your Test::Mock project up on github :)
11:07 dalek Perlito: 51901ee | (Flavio S. Glock)++ | / (2 files):
11:07 dalek Perlito: Perlito5 - Eval - tests
11:07 dalek Perlito: review: https://github.com/fglock/Perlito/commit/51901ee622
11:14 [particle]1 joined #perl6
11:18 [particle] joined #perl6
11:54 denisboyun joined #perl6
11:54 nyuszika7h joined #perl6
11:58 bearman joined #perl6
11:59 nebuchadnezzar joined #perl6
12:01 tadzik lizmat: ping
12:03 stevan_ joined #perl6
12:22 kbaker joined #perl6
12:30 dalek Perlito: f62bbad | (Flavio S. Glock)++ | / (2 files):
12:30 dalek Perlito: Perlito5 - Eval - tests; fix Sub
12:30 dalek Perlito: review: https://github.com/fglock/Perlito/commit/f62bbadee2
12:36 xinming joined #perl6
12:38 dalek Perlito: 39fbeed | (Flavio S. Glock)++ | TODO-perlito5:
12:38 dalek Perlito: Perlito5 - TODO update
12:38 dalek Perlito: review: https://github.com/fglock/Perlito/commit/39fbeed601
12:38 woolfy joined #perl6
12:46 PacoAir joined #perl6
12:49 crab2313 joined #perl6
12:52 pmurias joined #perl6
12:53 pmurias joined #perl6
13:07 pmurias jnthn: ping
13:07 yoleaux 04:17Z <japhb> pmurias: I noticed I was highlighted re: startup time issues with perl6-bench -- Thanks to pmichaud++, perl6-bench goes through some pains to determine both the global *interpreter/VM* startup time, measured by running an empty program many times, and *compile/init* startup time for each scalable test individually, measured by running the test at SCALE=0, as timotimo says.  This resulted in much more reliable and comparable results.
13:07 preflex yoleaux: you have 2 new messages. '/msg preflex messages' to read them.
13:10 pmurias a bot wants to deliver messages to a different bot?
13:10 timotimo yeah
13:11 timotimo it's become sort of an in-side joke i think?
13:14 kbaker_ joined #perl6
13:19 bluescreen10 joined #perl6
13:26 alester joined #perl6
13:28 [Coke] I keep asking who runs preflex, but no one answers.
13:28 [Coke] tempting to just boot him.
13:29 timotimo preflex: owner?
13:30 timotimo preflex: owner
13:30 timotimo preflex: .owner
13:30 timotimo preflex: help
13:30 preflex try 'help help' or see 'list' for available commands
13:30 timotimo preflex: list
13:30 preflex Botsnack: [botsnack]; Cdecl: [cdecl]; 8ball: [8ball]; excuses: [excuse]; Factoid: [+, -, ., ?, delete, get, store]; Help: [help, list]; Karma: [++, --, karma, karmabot, karmatop]; Nickometer: [nickometer]; Nickr: [nickr]; PlokiRE: [re]; Seen: [seen]; Sixst: [6st, ordinal]; Tell: [ask, clear-messages, messages, tell]; Rot13: [rot13]; Quote: [be, quote, remember]; WCalc: [calc, wcalc]; Version:
13:30 preflex [version]; XSeen: [xseen]; ZCode: [zdec, zenc]
13:30 timotimo huh.
13:31 geekosaur try "/whois preflex"...
13:31 timotimo don't see the relevant info
13:32 geekosaur not that it wasn't obvious to me just from timing
13:32 geekosaur [15 09:32] * [preflex] (~preflex@unaffiliated/mauke/bot/preflex): There is no .
13:32 geekosaur look at the cloak
13:32 timotimo mauke is not a person i recognize
13:33 geekosaur they aren't in here for some reason, I note. active in #perl and #haskell and several other channels though
13:33 timotimo ah, ok
13:33 rindolf joined #perl6
13:37 panchiniak_ joined #perl6
13:42 benabik joined #perl6
13:52 kbaker joined #perl6
13:54 dalek Perlito: 5a122ec | (Flavio S. Glock)++ | / (3 files):
13:54 dalek Perlito: Perlito5 - grammar - optimize
13:54 dalek Perlito: review: https://github.com/fglock/Perlito/commit/5a122ec0d4
13:57 GlitchMr joined #perl6
14:05 bluescreen10 joined #perl6
14:20 thou joined #perl6
14:21 kaare_ joined #perl6
14:32 grondilu rn: say "foo".encode('ascii').WHAT
14:32 camelia niecza v24-88-g1f87209: OUTPUT«(Buf)␤»
14:32 camelia ..rakudo c0814a: OUTPUT«(Blob)␤»
14:32 grondilu has the spec been changed or something?
14:33 geekosaur recently-ish, yes
14:34 timotimo r: say Blob.^mro
14:34 camelia rakudo c0814a: OUTPUT«(Blob) (Any) (Mu)␤»
14:34 timotimo r: say Buf.^mro
14:34 camelia rakudo c0814a: OUTPUT«(Buf) (Any) (Mu)␤»
14:34 timotimo r: say Buf ~~ Blob; say Blob ~~ Buf
14:34 camelia rakudo c0814a: OUTPUT«True␤False␤»
14:38 Psyche^ joined #perl6
14:40 grondilu rn: sub f(Buf $b) { $b }; say f "foo".encode("ascii")
14:40 camelia niecza v24-88-g1f87209: OUTPUT«Buf.new(...)␤»
14:40 camelia ..rakudo c0814a: OUTPUT«Nominal type check failed for parameter '$b'; expected Buf but got Blob instead␤  in sub f at /tmp/tdBEVKAbCo:1␤  in block  at /tmp/tdBEVKAbCo:1␤␤»
14:43 grondilu there are quite a lot of functions that take a Buf as argument.  They'll have to be changed.  Ex.  http://rosettacode.org/wiki/CRC-32#Pure_Perl_6
14:43 * grondilu just changed this one already
14:46 jeffreykegler joined #perl6
14:47 donaldh joined #perl6
14:51 diederich joined #perl6
14:59 araujo joined #perl6
15:09 berekuk joined #perl6
15:21 djanatyn joined #perl6
15:27 alexghacker joined #perl6
15:28 alexghacker Is there a way to operate on strings at the Unicode Extended Grapheme Cluster level? (see http://www.unicode.org/reports/tr29/ )
15:29 alexghacker I'm particularly interested in doing so within the context of regex, rules, and grammars
15:33 EvanTeitelman joined #perl6
15:39 panchiniak_ left #perl6
15:42 not_gerd joined #perl6
15:44 not_gerd alexghacker: per spec, that should be the default
15:44 not_gerd I don't think that'S implemented yet, though
15:45 alexghacker ah, I see
15:45 alexghacker I think that accounts for my confusion
15:46 not_gerd perl6 (or parrot - not sure) introduced the concept of NFG, where grapheme clusters get assigned a dynamic codepoint to you can have a fixed-width grapheme-based encoding
15:47 not_gerd afaik the MoarVM Rakudo backend will default to that string representation
15:48 not_gerd see http://www.parrot.org/content/what-nfg-why-you-want-parrot-have-it
15:49 dmol1 joined #perl6
15:53 isBEKaml joined #perl6
15:56 alexghacker perl6: say "\c[LATIN CAPITAL LETTER A, COMBINING RING ABOVE]" ~~ m/\c[LATIN CAPITAL LETTER A]/;
15:56 camelia rakudo c0814a, niecza v24-88-g1f87209: OUTPUT«「A」␤␤»
15:56 alexghacker matching doesn't seem to respect those grapheme boundaries
16:00 not_gerd r: say "\c[LATIN CAPITAL LETTER A, COMBINING RING ABOVE]".chars
16:00 camelia rakudo c0814a: OUTPUT«2␤»
16:00 not_gerd should be 1
16:02 abnorman joined #perl6
16:02 ivanoff joined #perl6
16:03 alexghacker Is that a problem with how I created the string, or a problem with how the string is interpreted?
16:04 not_gerd alexghacker: it's a bug that I suspect won't be resolved until Rakudo/MoarVM arrives
16:06 lizmat tadzik: pong
16:06 alexghacker not_gerd: thanks
16:06 not_gerd I'm not really the best person to answer these questions, but the people who are still lost in Kiev or something ;)
16:07 not_gerd *who are, are
16:07 * lizmat is just back from the arms of Morpheus
16:07 pmurias joined #perl6
16:09 denis_boyun joined #perl6
16:10 rafl joined #perl6
16:10 domidumont joined #perl6
16:11 alexghacker well then, as long as you cool kids don't mind me hanging out with you for a while, I'll just stay here until the lost are found
16:11 [Coke] alexghacker: welcome aboard.
16:12 [Coke] there are several long-open tickets about how NFG / graphemes are not the default. (mainly because they are not yet I)
16:19 * [Coke] scopes out prices for frankfurt.
16:19 ggoebel joined #perl6
16:26 ivanoff Hi all! Can anybody review #76896 test  S02-lexical-conventions/sub-block-parsing.t
16:26 dalek roast: c875071 | ivanoff++ | S02-lexical-conventions/sub-block-parsing.t:
16:26 dalek roast: #76896 - sub/hash syntax
16:26 dalek roast: review: https://github.com/perl6/roast/commit/c8750719a6
16:30 [Coke] automated run of spec failed on diakopter's run today (first unattended run) - seeing if I can find out wy
16:30 [Coke] diakopter: if a cronjob failed, what are the odds it's in a log somewhere?
16:30 [Coke] (I have no mail on the box)
16:32 domidumont joined #perl6
16:33 [Coke] looks like git clone was hanging, but now it isn't? will try another automated run in a few minutes
16:33 geekosaur github's having issues again fwiw
16:34 [Coke] that would do it.
16:39 pmurias what are the guarantees for nqp::where?
16:39 pmurias it's just supposed to be a unique integer
16:39 pmurias ?
17:02 skids joined #perl6
17:05 itz joined #perl6
17:10 EvanTeitelman joined #perl6
17:20 ggoebel2 joined #perl6
17:26 timotimo cue people mocking users of a centralized hosting platform for dvcs
17:27 timotimo it is true though, maybe there should be a mirror service for our most important repositories that can act as sort of a drop in replacement
17:28 segomos hubgit.net
17:28 segomos where the reading order is rtl
17:33 pmurias timotimo: github's down?
17:35 geekosaur https://status.github.com/
17:35 geekosaur supposedly back at the momnt
17:37 tadzik lizmat: nevermind :)
17:40 geekosaur pity there's no .ig tld, or the backup could be moc.buht.ig :)
17:42 timotimo hm)
17:42 timotimo m)
17:54 masak o/
17:58 timotimo hey masak
17:58 timotimo back home? :)
17:58 masak timotimo: no, still in .ua
17:59 masak we had a nice day of seeing sights, drinking nice beer, and eating nice food :)
17:59 masak now we are sat down for some light-hearted hackathoning with lots of interruptions :)
18:16 segomos geekosaur: lol
18:16 timotimo sounds nice :)
18:19 dalek Perlito: 31e3bac | (Flavio S. Glock)++ | / (4 files):
18:19 dalek Perlito: Perlito5 - js - more ampersand tests
18:19 dalek Perlito: review: https://github.com/fglock/Perlito/commit/31e3bacd99
18:24 Rotwang joined #perl6
18:31 [Coke] r: $spaces = -> Int $a { " " x $a}; say $spaces(10);
18:31 camelia rakudo c0814a: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/5sFZIRpZSSâ�¤Variable '$spaces' is not declaredâ�¤at /tmp/5sFZIRpZSS:1â�¤------> [32m$spaces[33mâ��[31m = -> Int $a { " " x $a}; say $spaces(10[0mâ�¤    expecting any of:â�¤        postfixâ�¤Â»
18:31 [Coke] r: my $spaces = -> Int $a { " " x $a}; say $spaces(10);
18:31 camelia rakudo c0814a: OUTPUT«          ␤»
18:31 [Coke] r: my $spaces = -> int $a { " " x $a}; say $spaces(10);
18:31 camelia rakudo c0814a: OUTPUT«          ␤»
18:32 timotimo r: my $spaces = &indent.assuming("")
18:32 camelia rakudo c0814a: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/tESq5Avoxsâ�¤Undeclared name:â�¤    &indent used at line 1â�¤â�¤Â»
18:32 jnthn evening, #perl6
18:32 yoleaux 13 Aug 2013 17:06Z <FROGGS> jnthn: I tried to use a custom ModuleLoader for v5, but something with the context went wrong so that I'm unable to `require` a script and use its subs via indirect lookup
18:32 yoleaux 13 Aug 2013 17:07Z <FROGGS> jnthn: so I still need to "hack" rakudo... https://github.com/rakudo-p5/v5/blob/master/rakudo.patch
18:32 yoleaux 13 Aug 2013 19:38Z <japhb> jnthn: Pretty please can you post your talk slides for those of us stuck in the wrong hemisphere.
18:32 yoleaux 14 Aug 2013 08:38Z <FROGGS> jnthn: For a regex like / a | b | c /, we could evaluate the three branches in parallel, right? I think this could speed-up parsing a lot...
18:32 yoleaux 14 Aug 2013 09:55Z <diakopter> jnthn: *poke*
18:32 timotimo r: my $spaces = "".indent(*)
18:32 camelia rakudo c0814a:  ( no output )
18:32 timotimo r: my $spaces = "".indent(*); say spaces(10).perl
18:32 camelia rakudo c0814a: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/22QT2MmRQ1â�¤Undeclared routine:â�¤    spaces used at line 1â�¤â�¤Â»
18:32 timotimo r: my $spaces = "".indent(*); say $spaces(10).perl
18:32 camelia rakudo c0814a: OUTPUT«No such method 'postcircumfix:<( )>' for invocant of type 'Str'␤  in block  at /tmp/8WCsIucb_a:1␤␤»
18:33 timotimo :o
18:33 timotimo * doesn't propagate through invocations
18:34 [Coke] jeez, jnthn speaks and we are beaten down with a flood of text! ;)
18:34 * [Coke] wonders how yap-see-you is going.
18:34 Mouq joined #perl6
18:35 * timotimo wonders when the video recordings are going to hit the interwebs
18:35 * jnthn is uploading le slajds from his talks :)
18:36 nwc10 jnthn: airport no longer sells that vodka
18:36 jnthn wtf!
18:36 abnorman joined #perl6
18:36 nwc10 yes, I couldn't remember its name exactly, but helpful Polish attendee could remember it, and asked, and they have not had it for a bit
18:36 nwc10 lot of other stuff. And all the imported brand names are overpriced
18:37 jnthn yeah
18:37 jnthn only other place I found to buy it wsa some huge supermarket in Tallinn
18:37 nwc10 that would be a bit of a detour for me :-)
18:38 jnthn If you go, be sure to stay in a high rise hotel... :)
18:38 nwc10 is there some amusing surprise that they have? Such as no lifts?
18:39 jnthn No, it's just appropriate, 'cus it's a tall inn :P
18:39 timotimo :D
18:39 nwc10 jnthn++ # talks full of awesome
18:39 nwc10 Oh
18:39 nwc10 aaargh :-)
18:39 nwc10 masak was, um, efficient at puns this morning
18:39 nwc10 there only needs to be one...
18:40 * nwc10 checks 6guts. Yes, no previous mention of Promises, Channels, Select, or how they combine
18:40 nwc10 oh, wait, some on promises. But they aren't fantastically interesting on their own
18:40 arnsholt Lots of puns when several sizers are gathered? I'm shocked I tell you, shocked =D
18:43 stevan_ joined #perl6
18:48 jnthn Will link my talks from YAPC::EU site in a moment; in the meantime, http://jnthn.net/articles.shtml is now updated with all the latest slides
18:50 dalek joined #perl6
18:51 colomon jnthn++
18:51 jnthn Links added to http://act.yapc.eu/ye2013/slides now also
18:53 jnthn nwc10: Yes, the talk at YAPC::EU was the first time I really presented/explained that work.
18:53 jnthn nwc10: Hope your flight back was fine
18:53 nwc10 suitably uneventful
18:53 jnthn Yay
18:53 nwc10 "food" was a packet of pretzels - planes and clouds
18:53 jnthn Belgian Beer Cafe was suitably tasty
18:53 nwc10 it lives up to the name?
18:54 PerlJam nwc10: "suitably uneventful"  Was that an unintentional pun?  ;)
18:54 nwc10 unintentional
18:54 jnthn aye
18:54 jnthn It has lots of Begina beer on tap, and moar in bottles \o/
18:54 PerlJam jnthn++ nice slides
18:54 nwc10 jnthn: security theatre queue was about 5 minutes, but passport was 20. Took about 45 minutes from front door to airside. But gates are right nearby. (You probably know this)
18:55 jnthn 20?! ugh
18:55 jnthn But yeah, I'd have allowed sufficient time anyways
18:55 nwc10 yes. but better aircon and more light that Lisbon's security queue in 2009
18:55 jnthn aircon++
18:56 timotimo loving the slides so far
18:56 dalek rakudo/nom: d14fd44 | jonathan++ | src/vm/jvm/core/Threading.pm:
18:56 dalek rakudo/nom: Up the default thread pool maximum.
18:56 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/d14fd44190
18:56 nwc10 we had 45 minutes spare before boarding.
18:56 jnthn Ah, very comfy
18:58 nwc10 taxi right was rapid (and not insanely fast)(But I had no seatbelt)(And some other car got pulled over by a speed trap)
18:58 nwc10 had traffic been evil, we would not have had 45 minutes
18:59 timotimo i found it a bit counterintuitive that you decided to demo the channels with sending a list of values
19:00 dalek rakudo/nom: 5f46018 | tadzik++ | src/vm/jvm/core/Threading.pm:
19:00 dalek rakudo/nom: Fix a typo in the error message.
19:00 dalek rakudo/nom:
19:00 dalek rakudo/nom: Ha-ha!
19:00 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/5f460187c8
19:00 timotimo because channels are about lists, so are they flattening or list-of-lists?
19:01 jnthn timotimo: You can send whatever you want down a Channel; the impl doesn't enforce a context on the things in the channel at the moment
19:01 jnthn If you want to send arrays down there, it's just fine
19:02 jnthn Or objects, or hashes, or... :)
19:02 nwc10 closures?
19:02 jnthn Yes if you're careful :P
19:03 jnthn nwc10: Just remember that if you pass multiple closures that manipulated outer state you could be in hot water with sharing.
19:04 nwc10 mmmm. food should be in hot water. Not me. I am not food. I will be careful.
19:04 PerlJam jnthn: i'm curious about nth_or_timeout(4),  why "last" out of the loop instead of "return $p"?  also, does the keep not execute when you do: $p.break(); $p.keep(); because the promise has already been broken?
19:04 jnthn As there's no promise that only one thing is pulling from the queueue and executing the closures
19:04 nwc10 yes. aha. fun.
19:05 jnthn PerlJam: You can't return 'cus you're in an async
19:05 jnthn The routine returns "immediately", async only schedules that block to run in the thread pool
19:05 ajr joined #perl6
19:06 jnthn Um, yes, you're right that it is calling keep after break. D'oh.
19:06 PerlJam jnthn: I guess I was expected a return-like thingy for async
19:06 PerlJam er, expecting
19:06 jnthn There's not one, at least nothing spec'd.
19:07 jnthn async in void context needs to actually deliver its exceptions somewhere
19:07 jnthn That's on my "loose ends to tie up" list. Like many things. :)
19:08 jnthn (Answer is that it'll send 'em off to the scheduler, though.)
19:08 crab2313 joined #perl6
19:09 pmurias jnthn: is it possible to cross compile with QRegex::P6Regex?
19:10 jnthn I guess it can be set up...
19:11 jnthn I never tried it, but it knows how to work as a standalone thing, so it should be just like setting up NQP to cross-compile, for example.
19:12 pmurias it uses a NQPRoutine at one point
19:12 pmurias which can't be serialized
19:12 jnthn It..can't?
19:13 pmurias well it can, but it is taken from the setting of the compiler
19:13 jnthn oh, hm, I guess it's possible it's never been used to generate bytecode, just in-process
19:13 pmurias the thing I actually want to do is run the tests in nqp/t/qregex
19:13 jnthn Oh, I never even attempted those until post-bootstrap
19:14 jnthn It needs eval really
19:14 jnthn So I just left them until bootstrap was done and it's easy then :)
19:14 jnthn It'd need a fairly different harness-y thing to cross-compile them, I suspect
19:15 pmurias I would prefer to know my grammars work correctly before bootstraping
19:16 pmurias jnthn: I could create a different harnessy-y think which just translates the regexes to nqp code, which I can compile
19:16 jnthn I was comfortable enough with the basic tests in t/nqp and the fact that I had a selfhost that passed t/nqp :)
19:17 jnthn If you can parse all the t/nqp with your grammar engine running the NQP grammar, probably it works quite well ;)
19:17 jnthn But yes, if you like, you can create a different harness
19:17 colomon hey, I'm on a slide!
19:18 colomon jnthn++
19:19 locsmif_ joined #perl6
19:19 jnthn :)
19:22 timotimo a channel could be used to evaluate code in another thread
19:22 jnthn timotimo: Well, but you could just do an async block
19:23 timotimo oh
19:23 timotimo i meant in a *specific* other thread
19:23 timotimo anyway. jnthn, can you figure out why Rakudo::Debugger is failing to run? it failed to build before, but that was just a matter of removing perl6_group (or what is it called?) from the makefile and leaving only perl6_ops (or something like that)
19:26 jnthn timotimo: Hm, on Rakudo Parrot, yes?
19:26 ivanoff Hi, everyone! )
19:26 * jnthn didn't try to do it on JVM yet
19:26 ivanoff Anyone knows, how to find video from YAPC::EU 2013?
19:27 ivanoff or where
19:28 ivanoff r: say 'I\'m alive'
19:28 camelia rakudo 5f4601: OUTPUT«I'm alive␤»
19:28 ivanoff ))
19:29 timotimo yes, rakudo parrot; didn't look at jvm yet
19:29 timotimo i was just assuming it would hit some little roadblock that would leave me completely stumped
19:31 pmurias jnthn: arrays in nqp have to provide a .push method?
19:31 timotimo jnthn: did you see my results from turning add/sum/mul_n into add/sub/mul_i if it can be proven to be correct?
19:31 nwc10 ivanoff: I don't think that they are up anywhere yet. At least, I've not heard anyone say anything
19:32 timotimo jnthn: summary: on one benchmark (two dimensional loop with native ints) it got 300% improvement (yes, 4x more runs per second) on jvm and 30% improvement on parrot
19:33 ivanoff nwc10: Thanks! I found only couple videos, so... still looking for... ))
19:35 jnthn pmurias: Yes; you can nab code from NQPMu.nqp for that (NQPArray class)
19:35 jnthn pmurias: It's literally method push($thing) { nqp::push(self, $thing) }
19:35 jnthn timotimo: Not had chance to loook at that yet
19:36 jnthn Still catching up a bit after YAPc :)
19:36 pmurias jnthn: it's the only part of the nqp setting that's commented out in nqp-js ;)
19:36 jnthn pmurias: ah :)
19:36 timotimo my next attempt was to turn lexicals into locals which was supposedly easier on nqp, but i stumbled into some roadblocks there, too ... stopped after a bit of frustration, but if you have a few spare minutes for me some time, i can prepare some targetted questions and get going again
19:36 jnthn pmurias: What's it block on, ooc?
19:37 pmurias ooc?
19:37 timotimo "out of curiosity"
19:37 pmurias I'm using native javascript arrays for nqp arrays.
19:38 jnthn oh.
19:38 jnthn yes, you actually need the VMArray REPR.
19:38 jnthn Relied on not only here, but in Rakudo too
19:40 pmurias I should propably to that, and worry about performance once everything is working
19:41 FROGGS segomos: you dont override use, you make a module that tells the grammar to switch to your provided one for example
19:42 [Coke] jnthn++ concurrency slides.
19:42 dalek rakudo-star-daily: 5283210 | coke++ | log/ (5 files):
19:42 dalek rakudo-star-daily: today (automated commit)
19:42 dalek rakudo-star-daily: review: https://github.com/coke/rakudo-star-daily/commit/5283210a32
19:42 dalek rakudo-star-daily: 3931fbb | coke++ | log/ (5 files):
19:42 dalek rakudo-star-daily: today (automated commit)
19:42 dalek rakudo-star-daily: review: https://github.com/coke/rakudo-star-daily/commit/3931fbb62c
19:42 dalek rakudo-star-daily: cdede41 | coke++ | log/ (4 files):
19:42 dalek rakudo-star-daily: today (automated commit)
19:42 dalek rakudo-star-daily: review: https://github.com/coke/rakudo-star-daily/commit/cdede4110a
19:42 segomos i was trying to do that yesterday but didn't have much luck..i was trying with prefix and just a bare sub with export
19:46 [Coke] ooh, I'm on a slide, too. whee!
19:46 * [Coke] high-fives colomon!
19:48 * colomon high-fives [Coke]!
19:49 * masak high-fives a baby!
19:51 masak http://1000awesomethings.com/2008/11/27/886-high-fiving-babies/
19:53 PerlJam Have you guys looked at your github identicons?
19:53 PerlJam mine looks like a guy with his hands up as if at gun point.
19:53 PerlJam https://identicons.github.com/perlpilot.png
19:53 jnthn my...what?
19:53 PerlJam https://identicons.github.com/jnthn.png
19:54 PerlJam github did some cute thing for those without gravatars, but it's available for everyone.
19:54 ivanoff :)))
19:54 PerlJam https://identicons.github.com/perl6.png
19:54 PerlJam etc.
19:55 [Coke] I got a flying U.
19:55 [Coke] ... or maybe a restaurant bench.
19:55 masak I got a guy doing \o/ !!! :) https://identicons.github.com/masak.png
19:56 masak that's so appropriate! \o/
19:56 masak how did they know?!?
19:57 tadzik masak: could you upload my facebook photo somewhere?
19:57 masak tadzik: on it.
19:58 PerlJam masak: yours kind of looks like a guy dancing
19:58 masak PerlJam: http://bash.org/?4281
19:58 [Coke] https://identicons.github.com/parrot.png looks like a shot from the old school missle command.
20:00 masak [Coke]: *clearly* it's a bird lying down.
20:00 [Coke] http://identicons.github.com/jnthn.png is probably just all beard.
20:01 PerlJam Coke: the negative space resonates ... like a tuning fork  ;)
20:01 masak moritz is a three-legged android.
20:05 berekuk joined #perl6
20:06 not_gerd joined #perl6
20:07 not_gerd jnthn++ # talk slides
20:09 masak jnthn++ # making YAPC::EU awesome
20:11 timotimo .o( turing fork )
20:12 lue https://identicons.github.com/lue.png  ummm...
20:13 rjbs #perl6++ # I continue to struggle to always hug trolls, and when it works, it's the best.
20:15 masak rjbs: well, there are mean trolls and confused trolls. all the ones at YAPC::EU were of the confused kind. even a kind word tends to help with them.
20:15 rjbs Both kinds very often need hugs.
20:15 rjbs but I agree that one should brush up on trollwatching skills before spreading one's arms
20:16 pmurias masak: how did the Perl 7 stuff end?
20:16 masak lue: that's one of these: https://en.wikipedia.org/wiki/File:Hand_crafted_wooden_prayer_wheel.jpg
20:17 rjbs I like to assume that mine is a scary helmet https://identicons.github.com/rjbs.png — like in http://twitter.com/GearboxSoftware/status/368049819991826432/photo/1
20:18 masak pmurias: the slot dedicated to versioning discussion ended with TimToady, lizmat, and me being asked up on stage into comfy chairs. and then we sat there for 10..12 minutes, talking about Perl 6 and how this year is special because people are seeing some things that Perl 6 brings to the table that Perl 5 doesn't.
20:18 masak (like real threading, and multi-VM presence)
20:19 * TimToady is now sitting at LAX
20:19 masak must... not... make pun on that...
20:20 jnthn No fishy puns, please
20:20 TimToady please just wait until we're ex-LAX
20:20 masak :P
20:21 masak shouldn't the opposite of 'use strict;' be 'use lax;' ?
20:24 tadzik haha
20:27 segomos FROGGS: i was trying to do that yesterday but didn't have much luck..i was trying with prefix and just a bare sub with export
20:27 timotimo https://identicons.github.com/timo.png - this kind of looks like three people sitting around a table or something
20:28 FROGGS segomos: look what v5 does, it needs a rakudo hack atm though (in rakudo.patch), https://github.com/rakudo-p5/v5/
20:28 FROGGS I'm pi: https://identicons.github.com/froggs.png
20:29 masak timotimo: crew cut person with theatre glasses.
20:30 timotimo masak: i don't get it
20:35 jnthn 'night, #perl6
20:35 pmurias 'night
20:36 masak timotimo: oh, that's just what I thought your identicon looked like.
20:36 timotimo gnite jnthn :)
20:37 timotimo masak: i interpreted that correctly, but i cannot see your interpretation
20:38 masak don't worry about it :)
20:39 masak it's interesting how so few pixels seem to form something meaningful.
20:39 timotimo indeed
20:39 masak the left-right symmetry in them seems to help a lot.
20:40 timotimo seems so, yes
20:44 berekuk is p6mw still a thing?
20:45 berekuk last commit is 5 months ago, so I'm not sure
20:45 masak what where what
20:45 berekuk https://github.com/perl6/perl6-most-wanted
20:45 masak yes, I think that's still a thing.
20:46 berekuk I've been looking at this old idea - http://questhub.io/realm/meta/quest/512203d8e05a54a63a000022
20:46 masak I've heard people refer to it more recently than five months ago.
20:46 berekuk and if it's still "wanted", I'd create a stencil on QH for it (I'd appreciate a help with phrasing it, btw)
20:47 berekuk and… while I'm here, maybe more generic question: can anyone help me with list of interesting reusable tasks related to perl6?
20:47 berekuk I've got this one: http://questhub.io/realm/perl/stencil/51dec5ef05581e3320000002, but I'm sure there are many more I'm not aware of
20:50 not_gerd left #perl6
20:52 masak berekuk: hm, I think I get it.
20:53 masak berekuk: maybe "find an old ticket in the #perl6 RT queue and try it on your own Rakudo to see if it's still not fixed" would be one such thing.
20:53 berekuk yes
20:53 masak berekuk: or "test a Perl 6 script from Rosetta Code to see if it works"
20:53 berekuk yep, sounds good too (and really easy, but that's not a problem)
20:54 berekuk how about "setup smoke testing"? (not sure if it exists for rakudo)
20:54 timotimo haha, when googling for "play perl" i get two kinds of results: "play perl is awesome and famous!" and "how to play a sound with perl"
20:54 [Coke] for the rakudo ones, probably best to start with "things not marked testneeded" and "least recently modified first"
20:54 timotimo not "where can i find and use play perl?"
20:54 * [Coke] tries play perl early on but hasn't been back.
20:55 [Coke] *tried
20:55 timotimo well, there's already a rosettacode data github repo where all scripts are present as files
20:55 timotimo that should make smoke testing easier
20:55 timotimo just have to write a short little harness for each of the scripts that complains if the result is not as expected
20:56 berekuk timotimo: it's called "questhub" now, and yes, it has SEO issues
20:56 timotimo ah, that's what it is!
20:56 masak timotimo: I'm interested in helping with that.
20:56 [Coke] timotimo: see roast/rosettacode
20:57 [Coke] which was my horrible initial attempt before that RC repo showed up.
20:59 berekuk masak: if you register on QH, I'll make you a realm keeper for Perl realm, and you'll be able to add these tasks to the list yourself (here's the full list: http://questhub.io/realm/perl/stencils, as you can see, it's mostly about perl5, which is a shame)
20:59 timotimo if my train ride tomorrow lasted 10 hours, i would probably do it :P
20:59 timotimo but it only lasts 1, so i'll read a book instead i guess
21:00 berekuk heh
21:00 Pleiades` joined #perl6
21:00 masak berekuk: sounds good. I'll register.
21:03 masak berekuk: done. I'm 'masak' there now.
21:04 berekuk masak: grants, errm, granted, you should see the "New stencil" on stencils page now
21:04 berekuk you can also edit other stencils, e.g. "Try Rakudo" one
21:05 masak berekuk: yup. I see it.
21:12 * moritz is home again
21:13 timotimo ah, stencils are like a template that you can fill out to create a new quest?
21:13 timotimo hm, no, they are more like ... an instruction?
21:14 timotimo nope, i don't know what they are
21:15 berekuk timotimo: they are both
21:15 berekuk you "take" a stencil and get a quest with description which helps you to complete it
21:16 berekuk if this was a game, they'd just be called "quests" which you take from NPC, but since we already have unique quests (which are just tasks you invent for yourself), it'd be confusing, so I had to invent a new name
21:19 timotimo right
21:20 timotimo so if i like a stencil, can i upvote it and every person who creates a quest from it gets that point by default?
21:20 berekuk timotimo: nope, you can't like a stencil
21:21 timotimo but stencils do have points at the right, how are they increased?
21:21 berekuk we discussed this before - https://github.com/berekuk/questhub/issues/126 - and I think it's not a good idea
21:21 timotimo also, the flattr button is a bit bugged; the mouseover appears to the right of the page
21:21 berekuk realm keeper chooses it (from 1, 2 or 3) :)
21:21 timotimo gotta run now
21:21 berekuk timotimo: oops, right
21:21 berekuk thanks, bye :)
21:27 timotimo this time i managed to get to the tram stop before the tram
21:27 timotimo it was really close last time and this time, too
21:27 lue hmm... would it be correct to think of a QH stencil as a typical game's quest, and a QH quest as someone taking the challenge?
21:28 berekuk yes
21:30 timotimo good argument on that issue
21:31 berekuk I don't know if it's too late to rename, and "challenge" doesn't sound less template-y to me (but I'm not a native speaker)
21:32 lue if you're up for renaming, may I suggest stencil-->quest or mission, and quest-->goal ? ("It is my goal to complete this quest/mission")
21:32 lue (not that it's hard to learn what the existing terms mean)
21:33 berekuk I might as well replace "goal" with conventional and boring "task"
21:33 timotimo is it hard to get sign up with github going?
21:33 berekuk I'm not sure I'm up for renaming, but I know "stencil" word confuses many people
21:33 timotimo or is your use of sign up with twitter deeper than just sso?
21:34 berekuk no, not very hard. I just didn't paid attention to that task since we got email signups long time ago
21:34 berekuk twitter is just for auth and userpic
21:35 timotimo i would think a more wordy explanation of stencils on the front page would be a very good start
21:35 berekuk is the sidebar explanation confusing too?
21:35 berekuk the one on http://questhub.io/realm/perl/stencils
21:36 timotimo just mentioning the word stencil rather than just the icon would maybe be enough
21:36 berekuk oh, right, thanks, that could help
21:37 timotimo chore or errands could be a different term although they have negative connotations to me
21:37 timotimo but yes, the sidebar explanation is good
21:38 berekuk heh, we went through many words (http://questhub.io/realm/meta/quest/51db41b85a854b176100002b), they all sucked
21:38 berekuk "stencil" just sucked a bit less
21:41 timotimo i likevthe way stencil sounds
21:41 timotimo it is such a physical word
21:44 berekuk yes. the issue is with connotations, people make assumptions about how it should work, and it's not intuitive
21:44 berekuk maybe I should've just chosen the random string of characters as a name :)
21:45 lue r: say ("a".."z").roll(6)
21:45 camelia rakudo 5f4601: OUTPUT«g l h t a g␤»
21:46 masak 'night, #perl6
21:47 lue "challenge" (which you mentioned earlier) seems like a nice alternative if necessary. But "stencil" works fine, after a small explanation.
21:47 lue ♞, masak o/
21:48 berekuk lue: the issue is that you can't tell which one of "challenge" and "quest" is a template and which one is an instance
21:51 lue Hm. I can see why it was a bother for you guys to name these things :) .
21:51 timotimo i get to choose a username after i click "sign in with twitter", rights
21:51 timotimo ?
21:52 berekuk yep
21:53 berekuk timotimo: "sign in with email" uses persona, so it's SSO too, if you prefer it (if you're on gmail, you won't have to invent the new password either way)
21:54 timotimo i don't really use gmail, although i do have it.
22:04 timotimo there's still lots of mention of "Play Perl" on the about page, most of them are from the titles of articles, but there's "Play Perl Realm" twice on the page; i suggest replacing "Play Perl Realm" with just "the Perl Realm" and adding a short paragraph about how questhub was called play perl before above the testimonials
22:05 berekuk oh thank you, that's right, I renamed the realm and forgot to edit /about
22:06 timotimo :)
22:08 timotimo there's a up/down button and a ? button in the description edit field that do nothing for me
22:08 timotimo (well, the up/down button flips when i click it)
22:09 timotimo nqp: say(nqp::div_i(1, 2))
22:09 camelia nqp: OUTPUT«0␤»
22:09 timotimo nqp: say(1 / 2)
22:09 camelia nqp: OUTPUT«0.5␤»
22:12 berekuk timotimo: yeah, I'm really sorry, I broke it (http://questhub.io/realm/meta/quest/52013655a98d75820d000004) and was too busy with YAPC to fix it
22:12 timotimo don't worry about it :)
22:12 berekuk will fix it tomorrow
22:13 timotimo i thought it might have been one of these pesky bugs that you only see in one browser if it has one exact configuration etc etc.
22:13 berekuk actually
22:13 berekuk up/down button should work
22:13 berekuk it's "?" button that's broken
22:13 berekuk up/down starts working if you enter any text, it switches the preview box
22:14 timotimo er, the "start quest" button doesn't work :o
22:15 berekuk now *that* shouldn't happen
22:15 berekuk have you selected a realm on the left?
22:15 timotimo turned off adblock plus, reloaded, still won't react to clicks
22:15 timotimo ooooh
22:15 timotimo no, i have not
22:16 timotimo oh my, that needs a bigger indicator for dumb n00bs like mee
22:16 berekuk thanks, accepted as a quest :) - http://questhub.io/realm/meta/quest/520d534a9cd2a2477e0000c0
22:17 pochi joined #perl6
22:22 timotimo the ui looks very clean and nice, though. may just be because i haven't tired of bootstrap pages :D
22:26 berekuk timotimo: thanks :) I'm trying to gradually rewrite all bootstrap bits, one by one
22:26 skids joined #perl6
22:28 timotimo i've got a couple more quests to add, but i need to sleep so i can catch my train "early" tomorrow
22:31 timotimo should we perhaps add a "join #perl6 on freenode and chat about your experiences and expectations" to the "try rakudo perl6" stencil?
22:32 berekuk timotimo: I don't think it should be mandatory, but if it's just an advice, then good
22:32 berekuk I made you a realm keeper too :)
22:33 berekuk (I don't like how many of us are there already, and that's not what I had in mind, "keeper" is more of a moderator position, but whatever.)
22:33 berekuk so you can edit it yourself
22:34 timotimo oh god, now i have to come up with a good wording of it :|
22:34 timotimo i'll do it tomorrow or later
22:34 timotimo for now, i'll really go to bed.
22:35 berekuk good night
22:35 timotimo in the players list, the "open quests" number on the right is black, but on the stencils list it is orange ... minor nitpick :)
22:43 benabik joined #perl6
23:05 PZt joined #perl6
23:16 BenGoldberg joined #perl6
23:28 BenGoldberg .ud require 'errno.pl'
23:28 yoleaux ENOTFOUND
23:30 dalek roast: 9d65308 | (Elizabeth Mattijsen)++ | S02-names/is_default.t:
23:30 dalek roast: Unfudge now passing tests
23:30 dalek roast: review: https://github.com/perl6/roast/commit/9d65308424
23:33 BenGoldberg r: my @a := gather { .take for ^Inf } but role { method infinite() { True } }; .say for @a;
23:33 camelia rakudo 5f4601: OUTPUT«This type does not support elems␤  in method REIFY at src/gen/CORE.setting:7492␤  in method reify at src/gen/CORE.setting:6718␤  in method reify at src/gen/CORE.setting:6705␤  in method reify at src/gen/CORE.setting:6810␤  in method reify at src/gen/CORE.setting:67…
23:33 BenGoldberg Why does that happen?
23:35 dalek rakudo/nom: 144a3f8 | (Elizabeth Mattijsen)++ | src/core/ (3 files):
23:35 dalek rakudo/nom: Make Nil assignment on hash/array elements with defaults just work
23:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/144a3f87f5
23:35 lizmat sleep&
23:37 stevan_ joined #perl6
23:44 grondilu n: say my @ := (gather .take for ^10) but role {}
23:44 camelia niecza v24-88-g1f87209: OUTPUT«0 1 2 3 4 5 6 7 8 9␤»
23:44 grondilu rn: say my @ := (gather .take for ^10) but role {}
23:44 camelia niecza v24-88-g1f87209: OUTPUT«0 1 2 3 4 5 6 7 8 9␤»
23:44 camelia ..rakudo 5f4601: OUTPUT«This type does not support elems␤  in method REIFY at src/gen/CORE.setting:7492␤  in method reify at src/gen/CORE.setting:6718␤  in method reify at src/gen/CORE.setting:6705␤  in method reify at src/gen/CORE.setting:6705␤  in method reify at src/gen/CORE.setting:68…
23:44 grondilu rn: say (gather .take for ^10) but role {}
23:44 camelia niecza v24-88-g1f87209: OUTPUT«0 1 2 3 4 5 6 7 8 9␤»
23:44 camelia ..rakudo 5f4601: OUTPUT«This type does not support elems␤  in method REIFY at src/gen/CORE.setting:7492␤  in method reify at src/gen/CORE.setting:6718␤  in method reify at src/gen/CORE.setting:6705␤  in method reify at src/gen/CORE.setting:6705␤  in method reify at src/gen/CORE.setting:68…
23:45 pjcj joined #perl6
23:48 BenGoldberg r: my @a := gather { .take for ^Inf } but role {}; say 'alive';
23:48 camelia rakudo 5f4601: OUTPUT«alive␤»
23:48 BenGoldberg r: my @a := gather { .take for ^Inf } but role {}; say @a;
23:48 camelia rakudo 5f4601: OUTPUT«(timeout)»
23:48 BenGoldberg r: my @a := gather { .take for ^Inf } but role { method infinite() { True } }; .say @a;
23:49 camelia rakudo 5f4601: OUTPUT«[31m===[0mSORRY![31m===[0m Error while compiling /tmp/hExenQrZZPâ�¤Two terms in a rowâ�¤at /tmp/hExenQrZZP:1â�¤------> [32mle { method infinite() { True } }; .say [33mâ��[31m@a;[0mâ�¤    expecting any of:â�¤        method argumentsâ�¤        postfixâ�¤        infix stopper…
23:49 BenGoldberg r: my @a := gather { .take for ^Inf } but role { method infinite() { True } }; say @a;
23:49 camelia rakudo 5f4601: OUTPUT«This type does not support elems␤  in method REIFY at src/gen/CORE.setting:7492␤  in method reify at src/gen/CORE.setting:6718␤  in method reify at src/gen/CORE.setting:6705␤  in method reify at src/gen/CORE.setting:6705␤  in method reify at src/gen/CORE.setting:68…
23:49 BenGoldberg r: my @a := gather { .take for ^Inf } but role { method infinite() { False } }; say @a;
23:49 camelia rakudo 5f4601: OUTPUT«(timeout)»
23:51 BenGoldberg r: my @a := gather { .take for ^Inf } but role {}; say @a;
23:52 camelia rakudo 5f4601: OUTPUT«(timeout)»
23:53 BenGoldberg r: my @a := (gather map { .take } ^Inf) but role {}; say @a;
23:53 camelia rakudo 5f4601: OUTPUT«Cannot call 'map'; none of these signatures match:␤:(&code, *@values)␤  in sub map at src/gen/CORE.setting:2213␤  in sub thread_junction at src/gen/CORE.setting:2826␤  in method AUTOTHREAD at src/gen/CORE.setting:2854␤  in sub map at src/gen/CORE.setting:2213␤  in …
23:53 BenGoldberg r: my @a := (gather map { *.take } ^Inf) but role {}; say @a;
23:53 camelia rakudo 5f4601: OUTPUT«Cannot call 'map'; none of these signatures match:␤:(&code, *@values)␤  in sub map at src/gen/CORE.setting:2213␤  in sub thread_junction at src/gen/CORE.setting:2826␤  in method AUTOTHREAD at src/gen/CORE.setting:2854␤  in sub map at src/gen/CORE.setting:2213␤  in …
23:53 BenGoldberg r: my @a := (gather map -> { take * } ^Inf) but role {}; say @a;
23:53 camelia rakudo 5f4601: OUTPUT«Cannot call 'map'; none of these signatures match:␤:(&code, *@values)␤  in sub map at src/gen/CORE.setting:2213␤  in sub thread_junction at src/gen/CORE.setting:2826␤  in method AUTOTHREAD at src/gen/CORE.setting:2854␤  in sub map at src/gen/CORE.setting:2213␤  in …
23:54 BenGoldberg r: my @a := (map { $_ }, ^Inf) but role {}; say @a;
23:54 camelia rakudo 5f4601: OUTPUT«(timeout)»
23:54 BenGoldberg r: my @a := (map { $_ }, ^Inf) but role {method infinite { True }}; say @a;
23:54 camelia rakudo 5f4601: OUTPUT«This type does not support elems␤  in method REIFY at src/gen/CORE.setting:7492␤  in method reify at src/gen/CORE.setting:6718␤  in method reify at src/gen/CORE.setting:6705␤  in method reify at src/gen/CORE.setting:6705␤  in method reify at src/gen/CORE.setting:68…
23:57 BenGoldberg r: my @a := say (map { $_ }, ^Inf).infinite;
23:57 camelia rakudo 5f4601: OUTPUT«Nil␤Type check failed in binding; expected 'Positional' but got 'Bool'␤  in block  at /tmp/dJ1JQrfWfl:1␤␤»
23:57 BenGoldberg r: my @a := say ((map { $_ }, ^Inf).infinite);
23:57 camelia rakudo 5f4601: OUTPUT«Nil␤Type check failed in binding; expected 'Positional' but got 'Bool'␤  in block  at /tmp/a5V2bZBDHa:1␤␤»
23:57 BenGoldberg r: say ((map { $_ }, ^Inf).infinite);
23:57 camelia rakudo 5f4601: OUTPUT«Nil␤»

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

Perl 6 | Reference Documentation | Rakudo