»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg camelia perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by moritz on 3 May 2013.
00:01 rurban1 left 00:02 revdiablo joined, Bucciarati_ joined, Bucciarati_ left 00:09 fgomez joined 00:23 Hor|zon_ left 00:24 Hor|zon joined
timotimo shift_pmc() not implemented in class 'List' - eeeehhhhh 00:32
oh, i'm handling a perl6 object inside nqp, am i not? 00:33
could someone have a look at ModuleLoader.nqp, the part that handles conflicts? 00:35
the inner loop that goes through the stash likely needs a bunch of changes, it's breaking PSGI
gotta run
01:06 anuby joined 01:09 Pleiades` joined 01:15 benabik left
timotimo roar. 01:22
i capitulate
my @pairs := nqp::getattr($orig.pairs, List, '$!items'); was obviously wrong 01:27
01:27 benabik joined 01:29 RedditAnalytics joined, Pleiades` left 01:31 colomon joined 01:35 prevost left 01:36 rindolf left
timotimo strange. in the star daily tests there is no error 01:42
[Coke] timotimo: until today when the whole thing exploded. 01:43
timotimo but that was yonly the configuration failing 01:46
not psgi triggering some module loader collision code that does not work
01:46 colomon left
timotimo can you quickly try to install psgi? 01:47
01:47 Pleiades` joined, colomon joined 01:48 colomon left, prevost joined 01:50 snearch left 01:55 prevost_ joined, lustlife joined 01:57 Pleiades` left, prevost left
[Coke] what are valid options for --target on rakudo-java? 02:01
02:04 Pleiades` joined
Juerd [Coke]: There has been some discussion about replacing feather with a new box. It's just a matter of money. 02:04
RedditAnalytics is having one of those "This code really should work, so there must be something wrong with the universe" moments 02:05
lue What's the problem? 02:06
RedditAnalytics the thing between the monitor and chair 02:08
benabik PEBCAK
lue I hate when my mouse acts up too.
RedditAnalytics :) Just having an issue with a strange module. almost have it. how are you guys doing? 02:09
lue I'm doing fine [ not doing any brain-bending coding at the moment, though :) ]
02:15 quietfanatic left 02:23 _jaldhar joined
[Coke] .ask jnthn where he wants rakudo-java errors reported. 02:40
yoleaux [Coke]: I'll pass your message to jnthn.
02:49 colomon joined 02:50 colomon_ joined
colomon_ o/ 02:51
02:53 colomon left, colomon_ is now known as colomon 02:55 lizmat joined
RedditAnalytics someone on the team should look at the Perl6 wikipedia article and update it -- especially under implementations 02:56
colomon Won't they just tell us that it isn't properly cited?
I mean, if we change it based on our actual knowledge.
RedditAnalytics true 02:57
lue WP's Perl 6 Talk page has someone refer to Camelia as a "queen bee" :) 03:03
colomon btw, at dinner we decide Rakudo needs MAGIC and MOAR-MAGIC switches. 03:08
*decided
masak :)
masak .oO( sometimes I wish for LESS-MAGIC, too... ) :P 03:09
lizmat en.wikipedia.org/w/index.php?title=...=552171473
benabik Less magic? I suggest lesspipe.sh 03:10
lue lizmat: I believe I approve of that update :)
lizmat :-) 03:11
lue
.oO(sub foo() { MAGIC { return acceptable_fallback; }; MOARMAGIC { autocorrect_code; carry_on; } ... } )
03:12
colomon www.outpost9.com/reference/jargon/jargon_46.html
benabik Or maybe less /usr/share/file/magic?
masak lizmat++ 03:14
lue or /dev/magic /dev/more_magic
03:18 lizmat left 03:22 lizmat joined 03:29 Pleiades` left
lue "There are no barewords in Perl 6. An undeclared bare identifier will always be taken to mean a subroutine name, ..." (S02:4206) does that match with the C<my \var;> stuff? 03:34
03:35 Pleiades` joined 03:36 bruges_ joined, Maddingu1 joined
masak lizmat: git clean -xdf 03:36
03:38 sunnavy_ joined, sergot joined 03:39 ironcame1 joined, Nom-_ joined
colomon ingy: "I'm so tired, all I want to do is write a parser." 03:39
flussence: we're all sitting here wondering about your "regex matching is taking up 84% of the execution time" comment from yesterday. 03:40
03:41 bruges left, Nom- left, odoacre_ left, Yappo_________ left 03:42 odoacre_ joined, Yappo_________ joined 03:43 lestrrat joined
flussence colomon: was running Text-Tabs-Wrap tests, there's one that tries to wrap a single 150+char word to 1 column, which looks like it calls a procedural regex over a hundred times. takes a minute on my desktop. 03:47
colomon flussence: so it's kind of awkward code -- but it's also going much slower than it was. Is that correct? 03:48
flussence yeah. I vaguely remember a long time ago I had a really ugly eval hack there, to work around Rakudo not having closure ranges in regex (the current code is a cleaner workaround for that, but seems really slow) 03:51
colomon so it might be a change in the code rather than a change in Rakudo.
still maybe worth investigating.
rn: say "hello".tcuc 03:54
camelia niecza v24-66-gaee6525: OUTPUT«HELLO␤»
..rakudo b2072f: OUTPUT«No such method 'tcuc' for invocant of type 'Str'␤ in block at /tmp/cc2N55RVvC:1␤␤»
TimToady lue: that is not undeclared; note the 'my' 03:55
03:57 adu joined
masak TimToady: people here at the impromptu hackathon are saying tcuc is quite an unnecessary thing. 03:57
like, title case and then upper case? what's the use case for that?
flussence colomon: it's worth noting the same test is nearly instant in niecza...
TimToady masak: langages which distinguish titlecase at the front of a word will still want titlecase at the front of an uppercase word 03:59
*guages
lue TimToady: thanks. I just decided to look up what a bareword is precisely, and it seems to be another one of those things where I don't know how it was done in Perl 5.
colomon rn: say 'ßß'.tc; say 'ßß'.tclc
camelia rakudo b2072f: OUTPUT«No such method 'tc' for invocant of type 'Str'␤ in block at /tmp/dxEbymiFEf:1␤␤»
..niecza v24-66-gaee6525: OUTPUT«Ssß␤Ssß␤»
colomon rn: say 'ßß'.tc; say 'ßß'.tcuc
camelia rakudo b2072f: OUTPUT«No such method 'tc' for invocant of type 'Str'␤ in block at /tmp/g7cDL3ZAek:1␤␤» 04:00
..niecza v24-66-gaee6525: OUTPUT«Ssß␤Ssß␤»
masak TimToady: why couldn't you just do .uc.tc ? 04:01
TimToady might lose info 04:02
lue
.oO(That should be ẞ)
masak TimToady: Nick Patch is saying nice things about the Perl 6 spec and its Unicode support. 04:03
TimToady sides, we want simple functions to hand to wordcase
masak TimToady: but it feels like there's a paucity of examples in the docs/spectests.
04:08 FROGGS_ joined, renormalist joined
colomon paucity of examples in the irclog, too. 04:10
dalek d: ea24a29 | larry++ | STD.pm6:
Catch use of \N{NAME}
masak .oO( too much paucity ) 04:11
jnthn Today's slides, fwiw: jnthn.net/papers/2013-yapcna-gramma...nerate.pdf 04:13
yoleaux 02:40Z <[Coke]> jnthn: where he wants rakudo-java errors reported.
FROGGS_ will have a look
jnthn [Coke]: In RT, though given so little works so far... :) 04:14
04:15 rurban1 joined 04:18 sqirrel joined 04:20 rurban1 left, colomon left 04:21 atroxaper joined 04:22 atroxaper left 04:23 kaare__ joined
dalek kudo-debugger: 17cdb70 | jonathan++ | lib/Debugger/UI/CommandLine.pm:
Remove workaround that's no longer needed.
04:23
masak rn: .say for [\~] "FROGGS".comb
camelia rakudo b2072f, niecza v24-66-gaee6525: OUTPUT«F␤FR␤FRO␤FROG␤FROGG␤FROGGS␤»
masak \o/
FROGGS_ :o) 04:24
I remember F/FR/FROGGS from somewhere...
masak rn: say "give me a $_!" for [\~] "FROGGS".comb 04:25
camelia rakudo b2072f, niecza v24-66-gaee6525: OUTPUT«give me a F!␤give me a FR!␤give me a FRO!␤give me a FROG!␤give me a FROGG!␤give me a FROGGS!␤»
FROGGS_ hehe
masak :D
FROGGS_ looks like you left <?before 'me'>
04:26 colomon joined
FROGGS_ I got a cool drawing of me btw 04:26
04:26 Psyche^ joined
lue rn: .say for [\~] "ground!".comb 04:26
camelia rakudo b2072f, niecza v24-66-gaee6525: OUTPUT«g␤gr␤gro␤grou␤groun␤ground␤ground!␤»
eternaleye jnthn: Just read your slides. Holy carp, that's wondrous.
lue (couldn't pass up the opportunity :P) 04:27
masak lue: or down, as it were.
lue :) (poor ex-whale...)
jnthn eternaleye: :) 04:30
04:30 Psyche^ is now known as Patterner
masak lue: well, poor bowl of petunias. 04:31
eternaleye <marvin> Poor me. 04:32
lue I don't feel too bad for the petunias. The whale was sweet and innocent. The petunias turn out to be vindictive and evil.
04:32 atroxaper joined
atroxaper r: say "Greeting!" 04:33
camelia rakudo b2072f: OUTPUT«Greeting!␤»
eternaleye jnthn: My reading of your slides comes across as "Here everybody, I'll just cut the work of supporting reading and writing formatted data in half. No biggie." :D 04:34
lue r: say "Hello atroxaper o/"; 04:35
camelia rakudo b2072f: OUTPUT«Hello atroxaper o/␤»
04:39 araujo left
lue jnthn: that's... amazing! jnthn++ 04:39
TimToady std: / \N{SPACE} /
camelia std ea24a29: OUTPUT«===SORRY!===␤Undeclared name:␤ 'SPACE' used at line 1␤Potential difficulties:␤ Unsupported use of \N{...}; in Perl 6 please use \c[...], or disambiguate with whitespace at /tmp/QYKoVJ0MGv line 1:␤------> / \N⏏{SPACE} /␤Check fail…
masak eternaleye, lue: where were you guys when jnthn was giving his talk? :P 04:40
eternaleye masak: At work, more's the pity.
masak people there mostly went "ummm, I... what?" 04:41
lue at !Texas
masak "this is probably super-awesome, but my brain just asploded"
eternaleye masak: Moreover, on linux - I had the same problem of the livestream dying frequently, and it wasn't working in any browser but opera at all.
lue masak: it'd take me at least a few good minutes to understand the code specifically, but I understand completely what it ultimately does.
eternaleye masak: Locationwise, I was in Washington State with no money to get to Texas. 04:42
04:42 dpk left
eternaleye Honestly, the insane part with his stuff is what it might mean for .perl 04:43
Total roundtripping of arbitrary p6 straight through the grammar that parsed it? YESPLZKTHX
lue O.o What if you applied this module to STD?
(STD the Perl 6 core, not the specific program) 04:44
eternaleye lue: *G*
jnthn eternaleye: I...think it's a little off being able to handle a grammar that complex :)
04:44 zby_home joined
eternaleye jnthn: Yeah, but the concept should hold. 04:44
jnthn eternaleye: Hopefully... :) 04:45
eternaleye jnthn: Sometimes, the critical thing is showing that it can be done at all.
jnthn Yes, that was my goal. Ask "what if" and show a possible way to get there :)
lue r: say m/<alpha>+/.perl; 04:47
camelia rakudo b2072f: OUTPUT«No such method 'match' for invocant of type 'Any'␤ in block at /tmp/AfBNxqF9RJ:1␤␤»
lue r: say /<alpha>+/.perl; # I think jnthn may have found the solution to this problem. Maybe. 04:48
camelia rakudo b2072f: OUTPUT«regex(Mu : Mu *%_) { ... }␤»
masak 'night, #perl6
lue good ♞ masak o/
04:48 arlinius joined 04:49 birdwindupbird joined
colomon \o night 04:52
lue colomon o/ 04:53
eternaleye r: say { m/<alpha>+/ }.perl 04:57
camelia rakudo b2072f: OUTPUT«Block.new()␤»
eternaleye r: say rx/<alpha>+/.perl
camelia rakudo b2072f: OUTPUT«regex(Mu : Mu *%_) { ... }␤»
04:58 yoleaux joined, ChanServ sets mode: +v yoleaux, dpk joined
eternaleye jnthn: One interesting thought: since the actions operate on a match object, and the backtions operate on something other than a match object, could someone use MMD in order to have them be the same object? That'd let you keep 'parse' and 'deparse' for a given construct close together. 04:59
Which might help maintainability.
jnthn Don't see why not 05:01
FROGGS_ I propose now officially the names barse instead of deparse and brammer besides bactions 05:04
it feels so natural to have the same letter in front of it :P 05:05
benabik Should we go with garse or prammer for the other direction? ;-)
FROGGS_ sounds good *g* 05:06
lets see what my pillow thinks about it... gnight 05:09
lizmat night FROGGS! 05:10
05:11 lizmat left
jnthn 'night, #perl6 05:13
eternaleye 'night, jnthn 05:15
sorear good * #perl6 05:17
05:19 rurban1 joined 05:23 rurban1 left
dalek rl6-bench: 6ce4295 | (Geoffrey Broadwell)++ | microbenchmarks.pl:
Add native typed versions of several microbenchmarks; fix a typo in nqp version of one test
05:25
05:35 DreamingInCode joined, tomyan joined
sorear o/ DreamingInCode 05:35
05:36 labster joined
DreamingInCode ^_^ 05:37
05:41 Nom-_ is now known as Nom- 05:42 Nom- left, Nom- joined 05:49 rurban joined 05:54 rurban left, dmol joined 05:55 raiph joined 05:57 prevost_ left 05:59 odoacre_ left 06:00 raiph left 06:12 Guest1337 joined 06:14 dmol left, DreamingInCode left 06:23 zby_home left 06:40 kunal_ joined 06:46 cognominal left, snoopy left 06:47 cognominal joined 06:50 kunal_ left, rurban joined 06:55 rurban left 06:59 tomyan left 07:02 adu left 07:20 rurban1 joined 07:24 labster left, rurban1 left 07:33 domidumont joined 07:40 Guest1337 left 07:41 domidumont left
PerlJam just read www.modernperlbooks.com/mt/2013/06/...costs.html 07:44
"super sixy project"? There's no way I can imagine that was an accident. 07:45
07:48 raiph joined 07:51 kaleem joined, domidumont1 joined
raiph PerlJam: I imagine he's going to keep trotting those out for another couple years at least 07:52
hoelzro_ morning, #perl6! 07:53
raiph o/
hoelzro curses, I just missed jnthn 07:57
...by 2.5 hours. 07:58
PerlJam raiph: probably
07:58 domidumont1 left
raiph r: say "ABbCCc".uc.comb.bag Z 1..26 # working towards a P6 version of www.reddit.com/r/readablecode/comme..._this_one/ 07:59
camelia rakudo b2072f: OUTPUT«"A" => 1 1 "B" => 2 2 "C" => 3 3␤»
07:59 domidumont joined 08:00 flaviusb joined
moritz r: say "ABbCCc".uc.comb.bag.list Z 1..26 08:00
camelia rakudo b2072f: OUTPUT«A 1 B 2 C 3␤»
raiph how do i pick the values not the keys? 08:01
moritz r: say "ABbCCc".uc.comb.bag.values
camelia rakudo b2072f: OUTPUT«1 2 3␤»
raiph r: say "ABbCCc".uc.comb.bag.values Z* 26...1 08:02
camelia rakudo b2072f: OUTPUT«26 50 72␤»
raiph r: say "ABbCCc".uc.comb.bag.values.reverse Z* 26...1
camelia rakudo b2072f: OUTPUT«78 50 24␤»
08:04 flaviusb left
moritz raiph: shouldn't you also sort? 08:06
the values coming out of a Bag are unordered 08:07
r: say "ABbCCc".uc.comb.bag.values.sort.reverse Z* 1..26
raiph yeah, what i was doing there was non-sensical. but it was fun to cargo cult rather than think about it :)
camelia rakudo b2072f: OUTPUT«3 4 3␤»
08:09 eviltwin_b joined 08:10 eviltwin_b left, eviltwin_b joined
raiph the idea is to do 26 * the count of the most frequent letter, 25 * the count of the next most, etc. 08:10
08:10 eviltwin_b is now known as geekosaur
tadzik hello #perl6 08:11
raiph hi tadzik
08:13 lustlife left 08:14 flaviusb joined 08:17 lustlife joined 08:18 flaviusb left 08:31 hlin_ joined, hlin_ left 08:33 flaviusb joined 08:37 bloonix left, flaviusb left 08:43 fhelmberger joined, dakkar joined 08:47 lizmat joined 08:51 flaviusb joined 08:53 Maddingu1 is now known as Maddingue
mathw morning 08:54
or whatever your $localtime is
o/ 08:55
raiph hi mathw
08:58 atroxaper left 09:00 bloonix joined 09:01 cogno joined 09:05 cogno left
raiph solution: www.reddit.com/r/readablecode/comme...ne/cacjhq2 09:14
moritz raiph++ 09:17
Timbus .comb.grep(/<alpha>/) -- is that not the same as .comb(/<alpha>/) ? 09:21
moritz ay, .comb(/<alpha>/) would be cleaner 09:22
09:23 SmokeMac_ joined 09:24 cogno_ joined 09:30 szbalint_ left, larks left, mattp__ left, GlitchMr joined, mattp__ joined, huf joined, mtk joined, ponbiki joined, sitaktif joined, Boohbah joined, szbalint_ joined, larks joined 09:31 nyuszika7h joined 09:32 vaelxon left 09:33 vaelxon joined 09:34 cogno_ left 09:48 araujo joined, araujo left, araujo joined 09:54 raiph left 09:56 pecastro joined 10:05 [particle] joined 10:07 anuby left 10:13 jac50 joined 10:17 pnu_ joined 10:18 flaviusb left 10:21 pecastro left 10:28 flaviusb joined 10:36 ponbiki_ joined 10:40 huf left, mtk left, ponbiki left, sitaktif left, szbalint_ left, Boohbah left, larks left, GlitchMr left, mattp__ left 10:45 GlitchMr joined, mattp__ joined, huf joined, mtk joined, sitaktif joined, Boohbah joined, szbalint_ joined, larks joined, geekosaur left 10:46 geekosaur joined 11:09 Konnjuta joined 11:19 rindolf joined 11:45 grondilu joined
grondilu ./nqp --target=pir --output=src/stage2/gen/NQPP5QRegex.pir \ src/stage2/gen/NQPP5QRegex.nqp 11:46
make: *** [NQPP5QRegex.pbc] Segmentation fault 11:47
11:49 gudahtt joined 11:50 risou_awy is now known as risou 12:05 tgt left
Teratogen what is .pir 12:05
12:08 tgt joined, flaviusb left 12:11 Konnjuta left
nwc10 Teratogen: en.wikipedia.org/wiki/Parrot_interm...esentation 12:13
Teratogen what other file extensions does Perl 6 use? 12:15
nwc10 *parrot* uses .pbc and .pir
Rakudo is mostly written in NQP, which is usually .nqp
Teratogen thanks
I collect file extensions and mime types
will add those to my list 12:16
I already have .pm and .pl
nwc10 some people are writing code as .pm6, but I think that that's redundant, as Perl 6 modules can be distinguised from Perl 5
Teratogen but .pm6 is in use meaning "Perl 6 Module"?
12:17 _jaldhar left
nwc10 it seems to be 12:17
Teratogen ok
12:20 colomon left 12:24 flaviusb joined 12:28 flaviusb left 12:29 skids left 12:30 huf left, mtk left, sitaktif left, szbalint_ left, Boohbah left, larks left, GlitchMr left, mattp__ left 12:33 konundra left 12:34 szbalint joined, GlitchMr joined, mattp__ joined, huf joined, mtk joined, sitaktif joined, Boohbah joined, larks joined
masak morning, #perl6 12:37
masak hunkers down to prepare his two remaining talks
nwc10 whereas jnthn has no more, so was out on the lash until the wee small hours? :-) 12:38
masak jnthn has one more. :)
12:38 James_ joined
masak and yes, I also think .pm6 is redundant, and I've always done it as .pm 12:38
12:38 James_ is now known as Guest74463 12:41 tgt left, jac50 left 12:43 flaviusb joined 12:45 Guest74463 is now known as jac50, konundra joined 12:46 kaleem left 12:47 flaviusb left 12:52 benabik left, jac50 left 12:53 benabik joined 12:59 autumn joined 13:01 flaviusb joined 13:02 geekosaur left 13:04 konundra left, konundra joined 13:06 flaviusb left, RedditAnalytics left 13:07 [particle]1 joined, RedditAnalytics joined
FROGGS_ If we do .pm6 we should always do .p6 or .pl6 too, but s[6] = '' is fine for me too 13:08
RedditAnalytics o/
13:09 bruges joined 13:10 lizmat left 13:17 atroxaper joined, [particle] left 13:19 bruges_ left, Timbus joined 13:22 flaviusb joined 13:23 sunnavy joined, danaj joined, perigrin_ joined 13:24 bakedb joined 13:25 anocelot_ joined 13:26 SmokeMachine joined, gfldex_ joined 13:27 Ulti joined, berekuk_ joined 13:28 nyuszika7h left, Util_ joined 13:29 dakkar left, rhr joined, dakkar joined 13:30 yoleaux left, dpk left, scottp left, anocelot left, masak left, BinGOs left, cotto left, bakedb_ left, arlinius left 13:31 cotto joined, snearch joined 13:32 lizmat_ joined 13:33 FROGGS_ left 13:34 PacoAir joined, sunnavy_ left, SmokeMac_ left, yves_ left, berekuk left, lizmat_ left, charsbar_______2 left, awwaiid joined, lizmat joined, nyuszika7h_ joined, charsbar_______2 joined, yves_ joined, masak_ joined, BinGOs_ joined, masak_ is now known as masak 13:36 [particle] joined 13:37 arlinius joined, snarkyboojum_ joined, aghbas_ joined, sftp joined, estrabd_ joined, kbenson1 joined, diederich joined, LordV joined, avar joined, cooper joined, SHODAN joined, drbean joined 13:38 [particle]1 left 13:39 flaviusb left 13:40 sorear left, felher left, sorear_ joined 13:41 felher joined, PZt left, Vlavv joined, preflex joined 13:42 RedditAnalytics left 13:43 Guest1337 joined, Util joined, rhr_ joined 13:44 rhr left, Util_ left, hugme left 13:45 hugme joined, FROGGS joined 13:47 ChanServ joined, dpk joined, barjavel.freenode.net sets mode: +o ChanServ 13:48 ChanServ left 13:49 scottp joined, felher is now known as Guest61852, RedditAnalytics joined 13:50 DarthGandalf joined, yoleaux joined, ChanServ sets mode: +v yoleaux 13:52 BinGOs_ is now known as BinGOs 13:53 BinGOs left, BinGOs joined
FROGGS o/ 13:54
masak \o 13:55
13:55 woolfy joined
FROGGS masak: still preparing your talk? 13:55
13:55 guru joined
FROGGS guru: \o/ 13:55
masak FROGGS: I'm done with the first one. preparing my second one.
13:55 guru is now known as Guest15518
FROGGS masak: k, I'm already sitting in that room, waiting for your talk :o) 13:56
13:57 eviltwin_b joined 13:58 Guest1337 left 13:59 skids joined, eviltwin_b is now known as geekosaur 14:00 Guest1337 joined
masak FROGGS: nice! will be there in a while. 14:00
moritz: I pushed a small <?>-related fix to JSON::Tiny. still passes all tests. (except for one, which was TODO already.) 14:01
moritz masak: ok, great
masak hm, I should be clearer. the test results are unchanged after the fix. :)
venue & 14:02
14:04 nyuszika7h_ left, nyuszika7h_ joined, nyuszika7h_ is now known as nyuszika7h
FROGGS masak: btw, the DateTime talk by dave rolsky could be interesting to you... 14:05
anocelot_ is enjoying rolsky's DT talk right now. 14:06
FROGGS yeah
14:07 sivoais joined, adu joined 14:08 xilo left
[Coke] jnthn: I'll keep the rakudo-java tickets to a minimum for now. Just opening the worst blockers. 14:09
(blockers to "running the test suite")
14:10 anocelot_ is now known as anocelot
[Coke] masak: could you please provide me with an RT query that will show me all open/new/stalled perl6 tickets that do not have the custom tag "testneeded". 14:11
I am unable to construct a query that does this - the statuses work fine. searching *for* the custom tag works fine. search for NOT the custom tag fails to exclude them. 14:12
14:14 sqirrel left, sqirrel joined, sivoais left 14:17 sivoais joined
[Coke] pmichaud: what's your feedback on creating a new ticket modifier in RT for "VM" and adding in Java, Parrot, and Moar? 14:18
also - we have no need for time estimated/worked/left, right? Wonder if those are removable.
nwc10 I don't think that perl5 has ever used estimated/worked/left 14:20
not sure if those are bog-standard RT, custom but installation wide, or per queue 14:21
not sure whom other than "perl5" and "perl6" are on rt.perl.org 14:22
dalek kudo/nom: 1d43629 | coke++ | README:
Add memory notes for RT #118287
14:24
14:24 sivoais left
[Coke] nwc10: there are at least 2 other queues. 14:24
14:26 baest_ joined 14:27 szbalint_ joined, rjbs- joined 14:28 Nom-_ joined 14:29 Colby` joined, __rnddim__ joined, kshannon_ joined, fgomez_ joined, ruoso_ joined 14:30 xilo joined, sivoais joined, lustlife left, Nom- left, baest left, rjbs left, szbalint left, vaelxon left, fgomez left, kshannon left, lue left, Pleiades` left, ruoso left, Colby` is now known as Pleiades`, lustlife joined, sivoais left, sivoais joined, vaelxon joined 14:33 btyler joined 14:36 Nom-_ left, Guest1337 left, FROGGS left, sorear_ left, skids left, huf left, mtk left, sitaktif left, Boohbah left, larks left, szbalint_ left, GlitchMr left, mattp__ left 14:38 sivoais left 14:39 Nom- joined, Guest1337 joined 14:40 sivoais joined, sivoais left 14:41 sivoais joined 14:43 woolfy left 14:44 lizmat left 14:48 sorear joined, szbalint_ joined, skids joined, GlitchMr joined, mattp__ joined, huf joined, mtk joined, sitaktif joined, Boohbah joined, larks joined 14:58 gfldex_ is now known as gfldex 14:59 FROGGS joined 15:01 btyler left, adu left, snearch left, benabik left, birdwindupbird left, btyler_ joined 15:02 RedditAnalytics left, snearch joined 15:03 Guest1337 left, kaleem joined, Timbus left, adu joined, Guest1337 joined 15:04 birdwindupbird joined, Timbus joined 15:06 benabik joined
gfldex r: use JavaScript; 15:09
camelia rakudo b2072f: OUTPUT«===SORRY!===␤Could not find JavaScript in any of: /home/p6eval/nom-inst/lib/parrot/5.2.0-devel/languages/perl6/site/lib, /home/p6eval/nom-inst/lib/parrot/5.2.0-devel/languages/perl6/vendor/lib, /home/p6eval/nom-inst/lib/parrot/5.2.0-devel/languages/perl6/lib, /home…
gfldex :(
15:09 birdwindupbird left 15:10 Guest15518 left 15:17 domidumont1 joined 15:20 domidumont left
timotimo oooh, impromptu percussion session 15:24
ah, that's masak up there, too
15:26 cotto left 15:28 nyuszika7h left, cotto joined 15:30 DreamingInCode joined 15:31 DreamingInCode is now known as dnorman
avuserow masak: code.google.com/p/es-operating-system/ 15:31
15:31 ivan`` joined
avuserow this is the nintendo operating system in javascript that I mentioned 15:31
15:31 dnorman is now known as Guest77551, labster joined, nyuszika7h_ joined
avuserow pmichaud: www.rust-lang.org/ <- this is rust, the language I mentioned regarding concurrency 15:32
15:33 baest_ left, baest joined
timotimo perlerlism :) 15:36
larry's voice is ridiculously loud and thus distorted 15:37
could anyone tell larry that?
TimToady: maybe you have your laptop open and can read this?
15:38 ivan``_ joined, baz joined, pmichaud_ joined
dalek : 58c266c | (Tobias Leich)++ | / (4 files):
make `defined` a term, and allow oldschool sub-calls
15:38
15:40 labster left, ivan`` left
avuserow (also anyone interested in concurrency should look at rust) 15:40
15:40 pmichaud left, snearch left, Pleiades` left, moritz left 15:41 rjbs- left, rjbs joined, sivoais_ joined
anocelot timotimo: TimToady says, "It's supposed to sound like the voice of God." 15:41
15:41 s1n1 joined, moritz joined, Guest77551 left
timotimo hahaha 15:41
good answer
15:41 baz left, sivoais left, DreamingInCode joined, snearch joined 15:43 nyuszika7h_ is now known as nyuszika7u, nyuszika7u is now known as nyuszika7h, japhb joined, Pleiades` joined, avuserow joined, masak_ joined, BinGOs_ joined 15:44 btyler joined, ivan``_ left, BinGOs left 15:45 BinGOs_ is now known as BinGOs, BinGOs left, BinGOs joined 15:47 masak left, btyler_ left, awwaiid left, Util left, ivan`` joined
timotimo there are posix signals in perl6? haven't seen them yet :( 15:48
15:48 arlinius left, lustlife left, kbenson1 left, diederich left
masak_ submits rakudobug 15:48
15:48 s1n1 left, xerox_ joined, SHODAN left
PerlJam :-) 15:48
TimToady you're not the real masak!!!
15:48 avuserow left, pmichaud_ left, kshannon_ left, drbean left, nyuszika7h left, quietfanatic joined
anocelot Patrick was almost right. masak vs masak_ . XD 15:49
15:49 Guest1337 left, scottp left, sftp left, avar left, drbean joined, masak_ is now known as masak, nyuszika7h joined 15:50 awwaiid joined
masak submits rakudobug 15:50
there. :)
anocelot XD
15:50 konundra left
TimToady you'll have to remove the one that masak_++ submitted 15:50
anocelot Now I just have to figure out how to type a hyperoperator in vim os OS X.
PerlJam anocelot: ^K << or ^K >>
anocelot: (I'm assuming that works on vim everywhere) 15:51
quietfanatic can't not read MMD as ミクミクダンス
15:52 fhelmberger left, sivoais_ left, ivan`` left, chayin joined, sftp_ joined, Shozan joined
TimToady link? 15:52
15:52 ivan`` joined
quietfanatic TimToady: ja.wikipedia.org/wiki/MikuMikuDance 15:53
anocelot PerlJam: I'm only getting ?. :(
benabik opt-\ = « and opt-shift-\ = »
15:53 nyuszika7h left
masak r: my $x = 0; my $result = 5 / $x; say "alive" 15:53
n: my $x = 0; my $result = 5 / $x; say "alive"
wow, freenode is really having a bad day.
15:53 ruoso joined, scottp joined
masak rn: my $x = 0; my $result = 5 / $x; say "alive" 15:53
camelia?
15:53 nyuszika7h_ joined
camelia rakudo b2072f: OUTPUT«alive␤» 15:53
niecza v24-66-gaee6525: OUTPUT«Potential difficulties:␤ $result is declared but not used at /tmp/YoxqGQi41S line 1:␤------> my $x = 0; my ⏏$result = 5 / $x; say "alive"␤␤alive␤»
niecza v24-66-gaee6525: OUTPUT«Potential difficulties:␤ $result is declared but not used at /tmp/KX1DIzz8Eg line 1:␤------> my $x = 0; my ⏏$result = 5 / $x; say "alive"␤␤alive␤»
..rakudo b2072f: OUTPUT«alive␤»
15:54 lustlife joined
masak hm. 15:54
anocelot »o« \o/
masak could someone help me reproduce pmichaud's bug, for the ticket?
15:54 s1n joined, Util joined, Shozan left, Shozan joined, pmichaud joined, ivan`` left, ivan`` joined
quietfanatic rn: my $zero = 0; my $value = 32 div $zero; say 'alive' 15:54
camelia niecza v24-66-gaee6525: OUTPUT«Potential difficulties:␤ $value is declared but not used at /tmp/t4nnfBLoy5 line 1:␤------> my $zero = 0; my ⏏$value = 32 div $zero; say 'alive'␤␤Unhandled exception: System.DivideByZeroException: Division by zero␤ at Builtins.divop (…
..rakudo b2072f: OUTPUT«Divide by zero␤ in sub infix:<div> at src/gen/CORE.setting:3431␤ in sub infix:<div> at src/gen/CORE.setting:3059␤ in block at /tmp/Nf7sWL1qpr:1␤␤»
15:54 Guest1337 joined 15:55 DreamingInCode left
masak quietfanatic++ 15:55
timotimo is it perhaps being constantfolded?
quietfanatic rn: my $zero = eval '0'; my $value = 32 div $zero; say 'alive'
timotimo r: say "pre-alive"; my $zero = 0; my $value = 32 div $zero; say 'post-alive'
camelia rakudo b2072f: OUTPUT«Divide by zero␤ in sub infix:<div> at src/gen/CORE.setting:3431␤ in sub infix:<div> at src/gen/CORE.setting:3059␤ in block at /tmp/azTHVJBMwT:1␤␤»
..niecza v24-66-gaee6525: OUTPUT«Potential difficulties:␤ $value is declared but not used at /tmp/TdOsVNJQ40 line 1:␤------> my $zero = eval '0'; my ⏏$value = 32 div $zero; say 'alive'␤␤Unhandled exception: System.DivideByZeroException: Division by zero␤ at Builtins.d…
rakudo b2072f: OUTPUT«pre-alive␤Divide by zero␤ in sub infix:<div> at src/gen/CORE.setting:3431␤ in sub infix:<div> at src/gen/CORE.setting:3059␤ in block at /tmp/23gK55SBTR:1␤␤»
timotimo oh, ok, at run time
TimToady sink context is not ignoring my maybe?
15:55 kshannon joined
quietfanatic unless the eval string gets constant folded, but I'd like the eval to return a Failure too then 15:55
TimToady shouldn't constant fold a variable 15:56
quietfanatic rn: my $zero = 0; my @a; @a.push: 32 div zero; say 'alive'
camelia niecza v24-66-gaee6525: OUTPUT«===SORRY!===␤␤Undeclared routine:␤ 'zero' used at line 1␤␤Potential difficulties:␤ $zero is declared but not used at /tmp/_mHPpRN1pF line 1:␤------> my ⏏$zero = 0; my @a; @a.push: 32 div zero; ␤␤Unhandled exception: Ch…
..rakudo b2072f: OUTPUT«===SORRY!===␤Undeclared routine:␤ zero used at line 1␤␤»
quietfanatic rn: my $zero = 0; my @a; @a.push: 32 div $zero; say 'alive'
camelia niecza v24-66-gaee6525: OUTPUT«Unhandled exception: System.DivideByZeroException: Division by zero␤ at Builtins.divop (Niecza.Constants c, Int32 opc, Niecza.Variable a1, Niecza.Variable a2) [0x00000] in <filename unknown>:0 ␤ at CORE.c26cf685-4f14-44e0-b67a-d822a4eb048d.C1462infix:<di…
..rakudo b2072f: OUTPUT«Divide by zero␤ in sub infix:<div> at src/gen/CORE.setting:3431␤ in sub infix:<div> at src/gen/CORE.setting:3059␤ in block at /tmp/DDl3be4vtr:1␤␤»
15:57 avuserow joined, konundra joined, baest left, cotto left, kaleem left, FROGGS left, ruoso_ left, __rnddim__ left, [particle] left, yves_ left, charsbar_______2 left, PacoAir left, atroxaper left, chayin_ left, takesako_____ left 15:58 baest joined, DreamingInCode joined
timotimo any way to receive/handle posix signals on rakudo at the moment? 15:58
PerlJam TimToady: how do you know no one knows the answers until you've asked the questions? 16:00
TimToady: maybe someone knows the answer but doesn't know they know :)
16:00 gdey joined
timotimo maybe he already asked everyone except you? :P 16:00
16:00 Maddingu1 joined
masak how very Zhuangzi. 16:00
TimToady it's a Bayesian thing
16:00 sunnavy left, breinbaas left
masak "How happy those fish look, swimming there in the river." 16:01
16:01 Maddingue left, hypolin left
masak "yeahbut -- you're not a fish; how do you know they're happy?" 16:01
"You're not *me* -- how do you know I don't know the fish are happy?"
16:01 Maddingu1 is now known as Maddingue
TimToady "Look at that fish over there; it has wires coming out of its brain!" 16:02
masak my favorite witty dialogue from millennia ago.
anocelot Do fish print their answers to standard trout?
PerlJam anocelot: heh
masak anocelot: ask mst.
16:02 SmokeMachine left
TimToady how am I supposed to pay attention to both of these thoughtstreams simultaneously? 16:03
PerlJam TimToady: parallelism!
The cursor on the screen looks like a little superscript something on the map 16:04
(well, it did until Pm moved it)
16:04 hypolin joined 16:05 guru joined, guru is now known as Guest56628 16:06 Guest56628 is now known as ajr_, atroxaper joined, sciurius joined 16:08 kbenson joined, breinbaas joined 16:09 sunnavy joined 16:10 cotto joined, kaleem joined, domidumont1 left 16:11 [particle] joined, __rnddim__ joined, DreamingInCode left, mucker joined 16:12 FROGGS joined
sorear good * #perl6 16:12
masak oh hai sorear
16:13 yves_ joined, charsbar_______2 joined, PacoAir joined, takesako_____ joined, SmokeMachine joined
adu hi sorear 16:13
16:14 SmokeMachine left, arlinius joined
sorear hi masak, adu 16:16
16:16 avar joined
ggoebel has anyone found a index of the streams and/or videos from yapcna? 16:17
timotimo you can search livestream.com for "yacp stream"
sorear yapc
timotimo indeed
anocelot Live streams? www.yapcna.org/yn2013/wiki?node=TalkVideos
16:18 DreamingInCode joined
ggoebel I'd pause jnthn's about halfway through before heading to bed... and woke up last night when the day 2 stream was reset to day 3... accompanied by a loud soundtrack 16:18
16:18 nyuszika7h_ left, nyuszika7h_ joined, nyuszika7h_ is now known as nyuszika7h
sorear o/ DreamingInCode 16:19
16:19 lizmat joined, labster joined
sorear o/ lizmat, labster 16:20
anocelot All this talk of slurpy and slushy stuff is making me thirsty. 16:22
sorear :D
labster \o sorear
16:22 lizmat left
labster an icee sounds good now 16:23
timotimo i enjoyed that talk, pmichaud++ :) 16:26
labster pmichaud++ for getting us started on the topic
timotimo TimToady++ for amusing and also sometimes helpful interjections
FROGGS definitely, pmichaud++
16:26 DreamingInCode left
FROGGS if I hadn't enough projects I'd like to get into int 16:27
it*
ggoebel thanks 16:28
16:28 zby_home joined
ggoebel looks like it isn't possible to rewind to yesterday's streams... :-( 16:29
16:29 quietfanatic left
timotimo ggoebel: the whole livestreaming.com system seems nice until you try it and find out that it doesn't actually work at all :( 16:29
ggoebel Here's to hoping someone releases the video for the individual talks later...
16:30 gdey left
timotimo surely will 16:31
16:33 FROGGS left
tadzik hello #perl6 :) 16:33
avuserow o/ 16:34
16:34 DreamingInCode joined, DreamingInCode is now known as dnorman, kaleem left
tadzik what a day 16:34
16:35 RedditAnalytics joined, dnorman is now known as Guest39885 16:36 labster left, kaleem joined
RedditAnalytics morning 16:36
timotimo hey tadzik
what about the day?
16:36 PZt joined
tadzik it's been tad long, flying NYC->WAW 16:36
timotimo oh yeah
RedditAnalytics what is WAW
timotimo warsow? 16:37
er, wait, that's the video game
"Frederic Chopin Airport (WAW) Details - Poland"
tadzik yeah, that's it
16:38 Guest39885 is now known as dnorman_ 16:41 PZt left 16:42 snearch left 16:43 gdey joined, Pzt33 joined
sorear o/ tadzik, timotimo, RedditAnalytics 16:43
RedditAnalytics \o 16:44
sorear tadzik: you left? :(
tadzik sorear: oh, yes. I didn't tell you?
sorry if I didn't. I had an exam ~2 hours ago, so really had to be in Poland
sorear maybe? you know how my memory is when I don't have my cybernetic augmentations handy 16:45
tadzik heh
but I remember you've been asking about my tiling WM during lightning talks the first day
my event-triggered memory tells me that
sorear yes
was wondering if that was my* xmonad :)
timotimo tiling wm? do tell :)
tadzik hehe. Nah, that's my i3 :)
timotimo oh, i3 16:46
are you a vim user per chance?
tadzik yeah, I am :)
not a hardcore vimer though
timotimo my super awesome perl6 presentation framework may be right up your alley :D
tadzik I'm hardly a poweruser of anything these days :)
oh yes, you told me about it :)
looking forward to seeing it
timotimo it uses i3 to snap a time-remaining graph to the bottom and switches focus between vim window and repl/terminal when needed
tadzik the only thing I know regarding vim and presentations is Vroom, which ingy uses 16:47
timotimo i'll have to repair my darn VM and then i can record a screencast
i've realised yesterday that i could drop the i3 requirement and use only tmux (currently it's i3 + tmux) 16:48
tadzik I never got around to try tmux 16:49
timotimo it's pretty excellent
16:50 stevan_ joined
timotimo its support for commands is pretty great, its splits work so much better than screen splits 16:50
tadzik I only use screen so my irc session doesn't go down
I think tiling wms are superior to everything else :)
timotimo hehe
tadzik that's probably the main reason I run X
well, maybe not 16:51
benabik tmux is nice for switching between X and SSH.
16:53 sivoais joined
sorear stevan_! 16:53
16:54 Pzt33 is now known as PZt 16:57 alester_ joined 17:00 pjcj_ joined, p5eval_ joined, gdey left
timotimo what's the comment in japhb's talk start with? 17:00
17:00 broquain1 joined 17:01 Tene_ joined, Tene_ left, Tene_ joined, `patch`_ joined
timotimo something about the forest fire benchmark being OO in perl6 and imperative in perl5? 17:01
17:01 raiph joined, dakkar left 17:04 Exodist joined 17:05 alester left, broquaint left, risou left, pjcj left, markov left, felipe left, tomaw left, wtw left, dnorman_ left, zby_home left, __rnddim__ left, sunnavy left, hypolin left, konundra left, mucker left, kshannon left, Guest1337 left, Util left, lustlife left, ruoso left, scottp left, awwaiid left, masak left, Pleiades` left, Nom- left, aghbas_ left, snarkyboojum_ left, estrabd_ left, LordV left, cooper left, arlinius left 17:06 broquain1 is now known as broquaint, Rix joined, RedditAnalytics left 17:07 alester_ is now known as alester 17:08 kaleem left, bonsaikitten joined, zby_home joined, arlinius joined, mucker joined, __rnddim__ joined, sunnavy joined, hypolin joined, kshannon joined, Guest1337 joined, Util joined, lustlife joined, scottp joined, ruoso joined, awwaiid joined, masak joined, Pleiades` joined, Nom- joined, cooper joined, LordV joined, estrabd_ joined, aghbas_ joined, snarkyboojum_ joined, cxreg joined, Gothmog_ joined, diakopte1 joined, zamolxes joined, genehack_ joined, dalek joined, groky joined, FOAD joined, Juerd joined, jercos joined, nwc10 joined, betterworld joined, prammer joined, woosley joined, barjavel.freenode.net sets mode: +v dalek, domidumont joined 17:09 tomaw joined 17:10 bonsaikitten is now known as Guest41996 17:11 preflex left 17:12 markov joined, vmspb joined 17:13 Khisanth joined, preflex joined, ChanServ sets mode: +v preflex 17:14 risou joined, jeffreykegler joined 17:19 domidumont left, domidumont joined 17:20 btyler left 17:22 Ayiko joined 17:27 atroxaper left 17:30 quietfanatic joined 17:35 benabik left
[Coke] masak: even if you could cut and paste the code from pmichaud's talk, RT would still break-format it for you. 17:37
17:37 prevost joined 17:40 domidumont1 joined, benabik joined 17:41 Tene_ is now known as Tene 17:43 domidumont left
[Coke] needs to just not look at any news coming out of yapc for a week. 17:45
17:46 kaleem joined 17:48 sftp_ is now known as sftp 17:49 kaleem left 17:52 Chillance joined 17:54 btyler joined 17:57 konundra joined
nwc10 did something else awesome happen? 17:57
timotimo i'm failing to install rakudo::debugger: "error:imcc:loadlib directive could not find library `perl6_group` 17:58
" huh?
[Coke] timotimo: did you install rakudo ? 17:59
timotimo huh, now i'm getting "cannot find perl6::BOOTSTRAP" in any of: ...
right after i make install'd it :|
timotimo clean-slates it as much as possible 18:00
18:00 labster joined 18:01 dmol joined 18:03 konundra left, konundra joined 18:06 benabik left
timotimo how long until we can just use rakudo-jvm to build our rakudo-parrot setting, so that it takes less time? :| 18:06
18:08 SunilJoshi joined, jeffreykegler left 18:10 rindolf left 18:11 rindolf joined
nwc10 timotimo: "the best way to predict the future is to invent^Whack on it" 18:12
timotimo hum. 18:13
nwc10 It might be possible already. In that, you'd need an NQP that cross-compiles from JVM to Parrot
and NQP is already capable of self-hosting on JVM
so it might also be capable of being a cross compiler
but I've no idea how to try to hack it to be one
18:13 FROGGS joined
nwc10 or it might not, because it might be that the PIR output steps rely on code written in PIR 18:14
timotimo right.
i just rm-rf'd install/ and make'd a new parrot and nqp and rakudo, but i still get the "loadlib directive could not find library perl6_group" - what's going wrong?
18:15 risou is now known as risou_awy, SunilJoshi left 18:16 rindolf left, rindolf joined, rindolf left
flussence aw nuts, I completely forgot to tune in today. 18:21
18:21 labster left 18:22 dnorman_ joined, lizmat joined 18:27 Shozan is now known as SHODAN 18:28 sqirrel left 18:30 colomon joined, woolfy joined
timotimo masak: "good idea" wins out due to LTM semantics 18:30
18:30 pecastro joined
timotimo what's the best practice of naming your classes with or without the pieces and the ::s and such? 18:30
like, in my lib/Game/DiceConquest/Field.pm, would i name my class DiceConquest::Field or maybe Field or maybe even Game::DiceConquest::Field? 18:31
sorear good * #perl6
colomon o/
sorear timotimo: you may be interested in git clean -dfx
timotimo oh 18:32
i removed a bit more than i'd hoped
well, shouldn't have put my stuff in there :P 18:33
18:34 japhb_ joined
dalek p: 609c1f7 | jonathan++ | src/vm/parrot/ops/nqp.ops:
Fix uninitialized memory access.
18:35
sorear o/ japhb_ 18:39
timotimo japhb_++ # liked your talk
sorear japhb_++
colomon japhb_++ # absolutely, plus it seems like a great toolkit for more benchmarks 18:40
timotimo so, the lib/foo/bar/baz.pm will decide how i spell the location in "use" statements and when i say class baz; it will be exported as "baz"; if i write "class foo::bar::baz", it'll be exported with that name, but i could even write "class Something::Entirely::Different", right?
sorear right. 18:41
timotimo good, that gives me some clarity
sorear I think there might be Issues though
18:41 rindolf joined
sorear rindolf! 18:41
18:42 benabik joined
rindolf sorear: hi. 18:42
Hi all.
[Coke] what's in a higher position?
timotimo OH! 18:43
wow
i've found out how to make the one-ear-only sound from the livestream.com thingie sound relly really good
sorear rindolf: I'm sitting next to jnthn, FROGGS, lizmat, woolfy, colomon, japhb_, and pmichaud, listening to masak. Where are you?
timotimo in windows 7 at least; right-click on the volume thingie, open your "playback devices" menu
select your speakers or whatever and click "properties" and then
enhancements -> "headphone virtualization" 18:44
rindolf sorear: at home - dealing with an Apache Jakarta package (apache fop) build problem.
They package Java binaries into the freaking source distribution. WTF?
sorear can make as much sense as packaging configure binaries 18:45
flussence *triple* /e?! 18:46
timotimo can you explain in simple terms what /e did in perl5? 18:47
sorear s/foo/bar/ = s[foo] = 'bar';
jnthn I triple /e when I parse floating point
sorear s/foo/bar/e = s[foo] = bar;
flussence s/$foo/$bar/e evals $bar
sorear s/foo/bar/ee = s[foo] = eval bar;
sergot hi ! o/
flussence s///ee, I've never actually gotten desperate enough to use that :)
sorear actually /e is not an eval, it's much closer to s[foo] =bar 18:49
it compiles to a loop, no runtime parsing
18:49 dnorman_ left
colomon tadzik: %log{$p} = gen-result($! // 'chocolate cake'); # ???? 18:50
18:51 rindolf left, rindolf joined 18:54 sqirrel joined, gdey joined
[Coke] jnthn: I saw that pun. thbbbthp 18:56
jnthn: you really made me hit the ceil with that one.
timotimo masak could use :!perl6 % 18:57
colomon the advantages of having much of the p6 team in the room to catch your livecoding typos...
flussence hey, that's 9 lines of dots
timotimo :D
flussence ooh 18:58
here it comes
timotimo great thing he has a test for it!
flussence I wonder if he did 9 intentionally to make it fail...
jnthn [Coke]: :D
timotimo as in: the grammar is the test for the test case :δ
:D
jnthn: gaaaaaah you are a bad bad man :D :D :D 18:59
FROGGS flussence++ 19:00
timotimo flussence++ :)
19:00 `patch`_ is now known as `patch`
sorear is sqirrel here? 19:01
(atn FROGGS)
sqirrel Yes here
sorear here=yapc::na 19:03
sqirrel No here in good old germany :-) 19:04
woolfy Two Perl 6 related Tuits available since this morning 08:00! Rakudo Tuits en MoarVM Tuits are now easily available in both buildings at YAPC::NA.
19:05 rindolf left, rindolf joined
pmichaud "direactly" :) 19:05
is that like reacting twice? 19:06
19:06 dnorman_ joined
timotimo wow, that's so fast 19:07
flussence haha, chrome of all things taking 10 times longer than perl6 to render a html file 19:08
colomon tadzik: ping?
19:14 quietfanatic left
flussence masak++ 19:14
colomon masak++ 19:15
timotimo oh, interesting, in stream 1 somebody is currently showing "hey, look, let's put array dereferencing at the end like $x->foo_bar->@$" and i'm thinking "that's like in perl6!" :) 19:17
ah, that person is aware of perl6
19:17 sorear left
nwc10 timotimo: that person's IRC client is on this channel 19:18
timotimo masak: you're teaching perl and similar things; but could you teach how to be a good person like you are? :3
indeed it is! :)
19:19 nyuszika7h left, woolfy left, woolfy joined, colomon left 19:20 PacoAir left, shlomif joined 19:21 PacoAir joined, s1n left 19:22 s1n1 joined, japhb__ joined
timotimo incidentally currently interested in learning something about AngularJS 19:22
19:23 vmspb left, colomon joined
colomon \o 19:23
19:23 gudahtt left 19:24 FROGGS left, japhb_ left, shlomif left, FROGGS joined
flussence you know what'd be cool? A way to have that first typo throw an error saying "failed on line 8 char 8, got "\n..."... instead of $" 19:24
timotimo awwaiid: HELLO :)
19:24 shlomif joined 19:25 PacoAir left
colomon flussence: it can't do that (yet?) but it would also be pretty easy to track down using the grammar tracer and/or debugger 19:25
19:25 sorear joined
timotimo flussence: maybe it'd work if you used ^ ~ $ <line>+ 19:26
19:26 avuserow1 joined
timotimo well, <line> ** 8 actually 19:26
r: say "";
camelia rakudo b2072f: OUTPUT«␤»
timotimo r: "foo␤foo␤foo␤foo␤foo" ~~ / ^ ~ $ [...] ** 4 % \n / 19:27
camelia rakudo b2072f: OUTPUT«Unable to parse expression in ; couldn't find final $␤ in any FAILGOAL at src/stage2/QRegex.nqp:1037␤ in regex at /tmp/jaZGu2Np3p:5␤ in method ACCEPTS at src/gen/CORE.setting:10509␤ in method ACCEPTS at src/gen/CORE.setting:683␤ in block at /tmp/jaZGu2Np3p:1…
19:27 domidumont1 left, woolfy left
diakopte1 . 19:27
19:27 woolfy joined, diakopte1 is now known as diakopter
timotimo that's *kinda* better (but it would still only give a False in the test case) 19:27
flussence hm... I wonder how easy it'd be to keep a list of the last dozen or so successful subrule matches in a branch, and return a "stacktrace" of those at the moment it decides to return a failed match. 19:28
nwc10 timotimo: I think that the NQP-JVM cross compiler was (still) using a native Java library to output bytecode, so I think that it would be viable to do something similar in reverse
timotimo hm, like with a high water mark in the rakudo perl6-grammar?
nwc10 have NQP-JVM spit out PIR (or serialise PAST)
and then run something on parrot for the very last stage that converts that to PBC
timotimo mhm 19:29
19:30 avuserow left, kbenson left, ivan`` left, konundra left, kbenson joined 19:31 Tene left
masak the question I got -- "How is it that you're so awesome?" -- made me flustered enough that I missed the obvious (and correct) answer: it's not me. it's Perl 6. 19:31
timotimo wow, the cursor has afterglow
19:31 rindolf left, nyuszika7h_ joined, dnorman_ left, labster joined, dnorman_1 joined
masak ...and if *you* program in Perl 6, you will be awesome, too! :D 19:32
19:32 dnorman_1 left, ivan``_ joined, ivan``_ left, ivan``_ joined
flussence rn: multi infix:<%>($lhs, $rhs) is looser<xx> { $lhs.join: $rhs }; say '........' xx 8 % "\n" 19:32
colomon \o/
camelia niecza v24-66-gaee6525: OUTPUT«........ ........ ........ ........ ........ ........ ........ ........␤»
..rakudo b2072f: OUTPUT«===SORRY!===␤Cannot call 'trait_mod:<is>'; none of these signatures match:␤:(Mu:U $child, Mu:U $parent)␤:(Mu:U $type, :rw(:$rw)!)␤:(Mu:U $type, :nativesize(:$nativesize)!)␤:(Mu:U $type, :hidden(:$hidden)!)␤:(Mu:U $type, *%fail)␤:(Attribute:D $attr…
19:32 konundra_ joined, Tene_ joined, Tene_ left, Tene_ joined
PerlJam masak: that's very perlian ... humble and hubris in the same sentence :) 19:33
timotimo flussence: &infix:<xx> instead
flussence ah
masak PerlJam: yes!
well, au++ once famously said "it's not me, it's Haskell+Parsec".
(though unlike me, au actually *is* awesome...) 19:34
flussence rn: multi infix:<%>($lhs, Str $rhs) is looser(&infix:<xx>) { $lhs.join: $rhs }; say '........' xx 8 % "\n"
camelia rakudo b2072f, niecza v24-66-gaee6525: OUTPUT«........ ........ ........ ........ ........ ........ ........ ........␤»
timotimo that's cute.
masak .oO( ausome )
flussence those \s'es should be \n's...
colomon that doesn't seem to have worked? 19:35
flussence rn: multi infix:<%>($lhs, Str $rhs) is looser(&infix:<xx>) { $lhs.join: $rhs }; say ('........' xx 8) % "\n"
camelia rakudo b2072f, niecza v24-66-gaee6525: OUTPUT«........␤........␤........␤........␤........␤........␤........␤........␤»
timotimo yeah, because of $ instead of @
colomon oh, nevermind
timotimo for the $lhs ;)
flussence rn: multi infix:<%>(@lhs, Str $rhs) is looser(&infix:<xx>) { @lhs.join: $rhs }; say '........' xx 8 % "\n"
camelia niecza v24-66-gaee6525: OUTPUT«Unhandled exception: System.DivideByZeroException: Division by zero␤ at (wrapper managed-to-native) object:__icall_wrapper___emul_lrem (long,long)␤ at Builtins.mod (Niecza.Constants c, Niecza.Variable a1, Niecza.Variable a2) [0x00000] in <filename unknow…
..rakudo b2072f: OUTPUT«␤»
masak timotimo: should still work, no?
timotimo not 100% sure. i know nothing about perl6 :P 19:36
19:36 nyuszika7h_ left, nyuszika7h_ joined, nyuszika7h_ is now known as nyuszika7h 19:37 PacoAir joined, quietfanatic joined
colomon tadzik: emmentaler is completely borked. 19:39
19:39 shlomif left
moritz r: multi infix:<%>(@lhs, Str $rhs) is looser(&infix:<xx>) { @lhs.join: $rhs }; say ( '........' xx 8 % "\n" ) 19:39
camelia rakudo b2072f: OUTPUT«␤»
moritz r: multi infix:<%>(@lhs, Str $rhs) is looser(&infix:<xx>) { @lhs.join: $rhs }; say ( '........' xx 8 % "\n" ).perl
camelia rakudo b2072f: OUTPUT«().list␤»
19:39 shlomif joined
moritz r: multi infix:<%>(@lhs, Str $rhs) is looser(&infix:<xx>) { say "custom op"; @lhs.join: $rhs }; say ( '........' xx 8 % "\n" ).perl 19:40
camelia rakudo b2072f: OUTPUT«().list␤»
timotimo aha!
flussence rn: say 8 % "\n"
camelia rakudo b2072f: OUTPUT«0␤»
..niecza v24-66-gaee6525: OUTPUT«Unhandled exception: System.DivideByZeroException: Division by zero␤ at (wrapper managed-to-native) object:__icall_wrapper___emul_lrem (long,long)␤ at Builtins.mod (Niecza.Constants c, Niecza.Variable a1, Niecza.Variable a2) [0x00000] in <filename unknow…
flussence seems like «is looser» is getting ignored?
FROGGS r: multi infix:<%>(\lhs, Str $rhs) is looser(&infix:<xx>) { say "custom op"; lhs.join: $rhs }; say ( '........' xx 8 % "\n" ).perl 19:41
camelia rakudo b2072f: OUTPUT«custom op␤("........", "........", "........", "........", "........", "........", "........", "........").list␤»
19:41 japhb__ left
masak so, why doesn't it work for @lhs ? 19:43
timotimo r: multi infix:<%>(\lhs, Str $rhs) is looser(&infix:<xx>) { say "custom op"; lhs.join: $rhs }; say ( infix:<xx>('........' xx 8, "\n") ).perl
camelia rakudo b2072f: OUTPUT«().list␤»
moritz r: multi infix:<%>(\lhs, Str $rhs) is looser(&infix:<xx>) { say lhs.perl; lhs.join: $rhs }; say ( '........' xx 8 % "\n" ) 19:44
camelia rakudo b2072f: OUTPUT«8␤........ ........ ........ ........ ........ ........ ........ ........␤»
timotimo r: multi infix:<%>(\lhs, Str $rhs) { say "custom op"; lhs.join: $rhs }; say ( infix:<xx>('........' xx 8, "\n") ).perl
camelia rakudo b2072f: OUTPUT«().list␤»
moritz lhs.perl says 8? 19:45
timotimo seems so
moritz ah, I know what's going on
quietfanatic r: multi infix:<%>(\lhs, Str $rhs) { say "custom op"; lhs.join: $rhs }; say ( infix:<%>('........' xx 8, "\n") ).perl
camelia rakudo b2072f: OUTPUT«custom op␤"........\n........\n........\n........\n........\n........\n........\n........"␤»
timotimo oh, facepalm.
moritz since there's already an infix %, you can't define a new one with a different precedence 19:46
flussence oh!
moritz so the precedence spec is simply ignored
quietfanatic oh, I think it'd be nice if you could do that
timotimo traits can be applied to the proto only?
quietfanatic or wait, is it because it's installing it as a multi?
timotimo can only be applied to the proto*
quietfanatic I see
benabik Multis with different precedence is probably a bad idea.
moritz r: sub infix:<%>(\lhs, Str $rhs) is looser(&infix:<xx>) { say lhs.perl; lhs.join: $rhs }; say ( '........' xx 8 % "\n" )
camelia rakudo b2072f: OUTPUT«8␤........ ........ ........ ........ ........ ........ ........ ........␤»
moritz r: sub infix:<%>(\lhs, Str $rhs) { say lhs.perl; lhs.join: $rhs }; say ( '........' xx 8 % "\n" ) 19:47
camelia rakudo b2072f: OUTPUT«8␤........ ........ ........ ........ ........ ........ ........ ........␤»
quietfanatic r: sub infix:<%%%>(\lhs, Str $rhs) is looser(&infix:<xx>) { say lhs.perl; lhs.join: $rhs }; say ( '........' xx 8 %%% "\n" )
camelia rakudo b2072f: OUTPUT«("........", "........", "........", "........", "........", "........", "........", "........").list␤........␤........␤........␤........␤........␤........␤........␤........␤»
quietfanatic you're right
19:49 shlomif left
masak could there maybe be a warning if you try to override the precedence? 19:49
sorear o/
masak it feels wrongish that it just throws it away.
19:49 geekosaur left, shlomif joined
benabik +1 19:49
19:50 sqirrel left
timotimo benabik: i was thinking about your comment of mmaping the .pbc; the format inside the core setting pbc at least doesn't really lend itself to sharing or often-accessing, because there's stuff that's still got to be deserialized :( 19:50
19:50 geekosaur joined
timotimo so maybe it *would* be better to open it once and then throwing it away 19:50
flussence I'm thinking it should be fatal, not warning. I mean, it's going to cause a misparse in that case anyway. 19:51
colomon masak: I think an error, even
timotimo it may very well be, that rakudo only has 300 mb run time memory consumption because it mmaps all those .pbc files
that would make me sadface
masak submits rakudobug
colomon: better? :)
colomon masak++
benabik timotimo: That wouldn't change loading it normally. Parrot won't throw away the string constants.
flussence
.oO( maybe it should allow it and autothread over all possible valid parses... )
colomon is the channel message passing .ask now instead of tell ? 19:52
timotimo OK
sorear .ask or .tell
yoleaux sorear: I'll pass your message to or.
colomon sorear++
19:53 shlomif left
colomon .ask tadzik Line 45 of smoker (emmentaler) is $panda.ecosystem.project-get-state($x) ne 'absent' -- surely that should be eq instead of ne? Otherwise we only test modules which are not in the ecoysystem. 19:53
yoleaux colomon: I'll pass your message to tadzik.
19:53 nwc10 is now known as or
or boo 19:53
yoleaux 19:52Z <sorear> or: .tell
19:53 or is now known as nwc10, shlomif joined
nwc10 now does the nickserv do something very stupid... 19:54
colomon .ask tadzik Also, something else seems to be borked in panda, because $panda.ecosystem.project-get-state($x) is returning "installed" for a module which panda does not report as installed.
yoleaux colomon: I'll pass your message to tadzik.
19:58 woolfy left
Util r: say -<< (1, 3, 5); 19:59
camelia rakudo b2072f: OUTPUT«-1 -3 -5␤»
19:59 sqirrel joined
Util r: 19:59
r: say -« 1, 3, 5;
camelia rakudo b2072f: OUTPUT«-135␤»
Util r: say -« (1, 3, 5);
camelia rakudo b2072f: OUTPUT«-1 -3 -5␤»
20:00 gdey left, quietfanatic left, shlomif left 20:01 shlomif joined 20:02 FROGGS left, lizmat left, btyler left
timotimo i see a jnthn! this is gonna be great fun! :) 20:02
20:03 stevan_ left 20:04 quietfanatic joined 20:05 labster left, shlomif is now known as rindolf
colomon .ask tadzik or it's possible that I do have it installed, and reporting it not installed from the panda list command was the error? I am confused. 20:05
yoleaux colomon: I'll pass your message to tadzik.
20:05 felipe joined 20:06 lizmat joined
timotimo r: class Pt { has $.x; has $.y; method new($x, $y) { self.bless(*, :$x, :$y) } }; say (\(-1,0), \(1,0), \(0,-1), \(0,1))>>.&Pt::new; 20:06
camelia rakudo b2072f: OUTPUT«No such method 'Any' for invocant of type 'Capture'␤ in method dispatch:<hyper> at src/gen/CORE.setting:1097␤ in block at /tmp/KGlOysWUU_:1␤␤»
masak ++jnthn is about to start his talk in 2.102
timotimo should something like that work?
20:06 rindolf left
PerlJam supports jnthn's talk from Ovid's talk 20:06
20:07 xilo left
timotimo gaaaah, train puns :D 20:07
masak :D
so I presume the streaming works :P 20:08
timotimo masak: are your gloves medical or cosmetical?
20:08 btyler joined
masak timotimo: my hands hurt and itch without them. 20:08
timotimo they still look kinda good, though :P
masak timotimo: winter is over, so I thankfull no longer need hand lotion.
timotimo: these gloves are real biking gloves. they've been to .nz :)
timotimo oh, that's the picture with the ... yeah
20:09 xilo joined
timotimo oh, wait, is jnthn going to introduce a new debugger? for nqp perhaps? 20:09
there's *always* a catch with jnthns talks :3
colomon masak: I completely zoned on that. Here now.
masak timotimo: do you also see IRC on my screen in the streaming? :)
timotimo do you sit directly in front of where jnthn stands? 20:10
masak yes.
timotimo i don't actually see your gloves there, i saw them in your talks
colomon sorear: TimToady was referencing the thing where someone took a picture of masak, etc posted from a hackathon and used it to illustrate an article about how computer people needed to learn to dress better.
20:10 xilo left
masak timotimo: oh! 20:10
flussence down in front! we're trying to read masak's screen!
sorear oh, right.
timotimo your monitor contents are not visible on the stream, but the edge of it is visible
masak :)
sorear masak: hear that? need to adjust monitor for visibility 20:11
masak sorear: not sure whether to show it or to hide it... :P
20:12 ajr_ left
flussence
.oO( I wonder what the round-trip time on this is )
20:14
oh wait, there's a clock right on the big screen there. 2 seconds-ish 20:15
20:15 xilo joined
sorear is jnthn's clock NTP-synced? 20:16
colomon rn: say "ratings" min 25 20:17
camelia rakudo b2072f, niecza v24-66-gaee6525: OUTPUT«25␤»
colomon rn: sasy +"ratings"
20:17 sqirrel left
camelia rakudo b2072f: OUTPUT«===SORRY!===␤Undeclared routine:␤ sasy used at line 1. Did you mean '&say'?␤␤» 20:17
..niecza v24-66-gaee6525: OUTPUT«===SORRY!===␤␤Undeclared routine:␤ 'sasy' used at line 1␤␤Unhandled exception: Check failed␤␤ at /home/p6eval/niecza/boot/lib/CORE.setting line 1502 (die @ 5) ␤ at /home/p6eval/niecza/src/STD.pm6 line 1147 (P6.comp_unit @ 36) ␤ at /hom…
colomon rn: say +"ratings"
camelia rakudo b2072f: OUTPUT«Cannot convert string to number: base-10 number must begin with valid digits or '.' in '⏏ratings' (indicated by ⏏)␤ in method gist at src/gen/CORE.setting:10161␤ in method gist at src/gen/CORE.setting:893␤ in sub say at src/gen/CORE.setting:11047␤ in block a…
..niecza v24-66-gaee6525: OUTPUT«Unhandled exception: Cannot parse number: ratings␤ at /home/p6eval/niecza/lib/CORE.setting line 1514 (die @ 5) ␤ at /home/p6eval/niecza/lib/CORE.setting line 3664 (ANON @ 10) ␤ at /home/p6eval/niecza/lib/CORE.setting line 3666 (NumSyntax.str2num @ 5) …
sorear nqp syntax errors are a bit noisy. 20:18
20:18 FROGGS joined 20:19 RedditAnalytics joined
timotimo jnthn: it would be sweet if there were more coarse-grained stepping inside regexes, maybe "run until the 10th character is successfully nommed" or something 20:20
RedditAnalytics i have a very alpha reddit search up. dev.redditanalytics.com/search ... you can put perl in for a query and see some cool stuff
it's rather slow though
sorear perl 6?
:):)
timotimo did not hear that comment from the audience at all :( 20:21
masak submits rakudobug
RedditAnalytics: is that Perl 6 running? 20:22
timotimo r: class Blub { method Str { "dog" } }; my %foo; %foo{Blub.new} = "hello"; say %foo;
camelia rakudo b2072f: OUTPUT«("dog" => "hello").hash␤»
20:22 labster joined
sorear timotimo: I asked why it didn't step into ws 20:22
RedditAnalytics there is one module in perl 6 ... two modules in perl 5 .. rewriting everything to Perl 6 20:23
masak RedditAnalytics++!
timotimo ah, ok.
masak RedditAnalytics: you are a model to us all.
sorear o/ labster
dalek pan style="color: #395be5">perl6-examples: da7a4ed | (David Warring)++ | parsers/CSSGrammar.pm:
added missing '~=' and '|=' attrib tokens; redordered <expr> terms; use '(' ~ ')' paren matching idiom
timotimo RedditAnalytics: you are a cool person :)
RedditAnalytics \o/
sorear RedditAnalytics =? David Warring 20:24
masak r: grammar G { rule TOP { f [ 'oo' ] } }; say so G.parse("f oo")
timotimo i wonder if jnthns beard is just getting gray in a very fortunate pattern of it it's styled to look like that
RedditAnalytics the server has 1 gig .. so search is slow (even with sphinx search) .. but getting a 32 gig server shortly
camelia rakudo b2072f: OUTPUT«True␤»
masak if I understand correctly, the above shouldn't parse.
RedditAnalytics nope
TimToady timotimo: it's natural
timotimo that's so cool.
20:25 lizmat left
TimToady well, though iiuc it's related to why he can't see very well too, so not so cool 20:25
I guess everything has its advantages and disadvantages :)
timotimo oh, was not aware of that :(
masak timotimo: you probably wouldn't get that shade of white if you just tried to dye it.
20:25 Guest1337 left
TimToady I could certainly be wrong about that though 20:25
it also seems to make jnthn++ very intelligent :) 20:26
masak TimToady: it sounds reasonable enough.
sorear feh, now I'm curious
masak (the beard<->eyesight relation, I mean)
both have to do with pigments.
sorear jnthn: is this some really fun thing with a page on OMIM?
sorear does not expect a prompt response 20:27
timotimo what's OMIM?
sorear www.ncbi.nlm.nih.gov/omim 20:28
it's an encyclopedia of genetic disorders. 'online mendelian inheritance in man'
20:28 Guest1337 joined
timotimo masak: although i should know better, i'm still astounded that some kind of 'defect' will lead to a pattern like that 20:28
20:29 btyler_ joined 20:30 btyler left
dalek rl6-roast-data: afef10c | coke++ | / (4 files):
today (automated commit)
20:31
20:31 lizmat joined
pmichaud "Perl 6 is kind of interesting, as in 'weird'." 20:31
I think Larry is kind of interesting also. :-P
timotimo pmichaud: you're the one on the kind of far right side? 20:32
dalek kudo-star-daily: 4e8ae7a | coke++ | log/ (5 files):
today (automated commit)
[Coke] yay, random failure in yesterday's r* run is gone, all modules are clean.
timotimo the head/hair shape seems to match, but i can't see your laptop
sorear yay!
pmichaud yes, I'm on the right side
colomon apparently needs to try out the debugger *and* macros. maybe even at the same time.
sorear colomon: :D 20:33
20:33 pochi joined
pmichaud "frightfully right" 20:35
20:35 stevan_ joined
timotimo indeed, the way things tend to "just work" inside perl6 and rakudo amazes me often 20:35
pmichaud masak++ 20:36
pmichaud wonders about "frightfullyright.org"
timotimo hah, whoops, really random number 20:37
`patch` colomon: gist.github.com/patch/5717017 20:38
colomon `patch`++
20:39 prevost left 20:41 konundra_ left
colomon `patch`: this is great stuff. 20:41
[Coke] timotimo: you need to move up on the adoption curve where things jus---wtf, compiler error?
timotimo r: class Foo {}; role Bar {}; my $a = Foo.new(); say $a.^roles; say ($a but Bar).^roles;
camelia rakudo b2072f: OUTPUT«␤(Bar)␤»
timotimo useful! <3
[Coke] divshot.github.io/geo-bootstrap/ - this may be the single most awesome twitter bootstrap theme I've ever had the privelege of seeing. 20:42
quietfanatic [Coke]: +1 20:43
20:43 labster left
timotimo <3 20:43
sorear snrk 20:45
20:45 lizmat left
[Coke] my boss just forwarded it to us. I think we may hold this back as an easter egg on some future application. 20:46
timotimo i showed it to a friend and his comment was "it's already in production in $product"
sorear idea: step by ast node. (may require targetted recompilation to be efficient)
idea: data breakpoints (mixes a role into a container) 20:47
20:48 stevan_ left, tgt joined
timotimo r: class Foo { method yoink { say "yoink } }; role Bar { method yoink { say "bar" } }; Foo.new.yoink; (Foo.new but Bar).yoink; 20:50
camelia rakudo b2072f: OUTPUT«===SORRY!===␤Unable to parse expression in double quotes; couldn't find final '"'␤at /tmp/9rkXdjadBU:1␤------> Foo.new.yoink; (Foo.new but Bar).yoink;⏏<EOL>␤ expecting any of:␤ postfix␤ statement end␤ st…
timotimo r: class Foo { method yoink { say "yoink" } }; role Bar { method yoink { say "bar" } }; Foo.new.yoink; (Foo.new but Bar).yoink; 20:51
camelia rakudo b2072f: OUTPUT«yoink␤bar␤»
timotimo ah, neat
just like i'd hoped
20:52 kaare__ left 20:54 zby_home left, btyler_ left 20:55 colomon left
timotimo r: sub nothing { }; for nothing -> $x { say $x }; 20:55
camelia rakudo b2072f: OUTPUT«===SORRY!===␤Missing block␤at /tmp/TP2q8HnHeu:1␤------> othing { }; for nothing -> $x { say $x }⏏;␤ expecting any of:␤ postfix␤ statement end␤ statement modifier␤ statement modifier loop␤ ho…
timotimo r: sub nothing { }; for nothing() -> $x { say $x };
camelia rakudo b2072f: ( no output )
timotimo r: class Foo { method yoink { say "yoink" } }; role Bar { method yoink { say "bar"; nextsame; } }; Foo.new.yoink; (Foo.new but Bar).yoink;
camelia rakudo b2072f: OUTPUT«yoink␤bar␤yoink␤»
20:56 quietfanatic left
timotimo all of this is cool. 20:56
masak jnthn++
timotimo has found what looks like a use case from afar; i haven't used something like that in any non-toy code yet
jnthn++ good talk, nice examples :)
masak pmichaud: frightfullyright.org is yours if you want it ;)
timotimo a texas hat! 20:59
(which probably has an actual name)
20:59 donaldh joined
timotimo the lbj auditorium has relaxation exercises? that's pretty cool 21:00
21:02 lizmat joined 21:04 stevan_ joined 21:05 stevan_ left, FROGGS left 21:06 __rnddim__ is now known as lue
timotimo an artist made sweet carricature pictures of lots and lots and lots of attendees? 21:09
21:09 lizmat left
sorear timotimo: yes, at the game night/banquet 21:10
21:10 thou joined, skids left 21:11 FROGGS joined, stevan_ joined
timotimo yapc is obviously a very cool event 21:11
FROGGS timotimo: ohh yes, it is 21:12
timotimo hm, is there a use case for trusting only one instance of a class? 21:13
r: class Human { }; class Dog { has Human $.owner; trusts $!owner }; # like this 21:14
camelia rakudo b2072f: OUTPUT«===SORRY!===␤Variable $!owner used where no 'self' is available␤at /tmp/RAF7prihl9:1␤------> Dog { has Human $.owner; trusts $!owner⏏ }; # like this␤»
timotimo is this talk going to be loud again? :) 21:16
21:16 sftp left
FROGGS timotimo: mst's talk follow all the same structure and loudness :o) 21:18
sorear timotimo: it's mst, loud is a foregone conclusion
timotimo it's the second mst talk i've "attended"
sorear timotimo: yapcs are awesome, pls come
timotimo i'm just a poor student, i won't be able to attend faraway yapcs 21:19
sorear not sure I'm making it to Kiev this year, but jnthn and friends will be, and I'll surely be at na2014
pmichaud yapcs are by far the most-value-for-cost conferences I've ever attended
FROGGS timotimo: what about kiev?
pmichaud timotimo: see "Send a Newbie"
anocelot timotimo: Instantiating something to hold class attributes/methods?
pmichaud timotimo: there is often funding to send first-time folks (especially poor students) to yapcs
21:19 quietfanatic joined
sorear quietfanatic! 21:19
timotimo oooh
quietfanatic hello
21:20 gdey joined, alester left, alester joined 21:21 sftp joined
pmichaud might be too late for yapc::eu funding, but do a search and maybe you can find something 21:21
21:21 stevan__ joined
sorear quietfanatic: i forget, are you louis or aron? 21:21
quietfanatic I'm lewis
sorear Larry: "That's our scheme: 21:22
masak: "In Perl 6!" 21:23
21:23 FieldsaBB joined
timotimo kiev is airplane-range, i think 21:23
i have no idea how much such things cost
sorear from here too
FROGGS timotimo: opodo.de and find out 21:24
21:24 gdey left
sorear San Diego, CA, US <-> Kiev is going to be about $1800 21:24
USD
timotimo which of the kiev airports would be good?
21:24 stevan_ left
pmichaud timotimo: www.send-a-newbie.enlightenedperl.org/ 21:24
21:24 sftp left
timotimo cheapest seems to be like 300 euros 21:26
21:26 tgt left
sorear timotimo: sounds about right. is that one-way? 21:28
timotimo it *seems* to be both-ways 21:30
21:30 mattp__ left
sorear pretty good 21:31
21:31 johnjohn101 joined
timotimo my $neighbourcount = [+] %bitfield{$coord.neighbours}; - this makes me happy (i hope it actually works, too) 21:31
21:31 mattp__ joined
sorear "bitfield"? not using +|/+& ? 21:32
timotimo hm, i think it'll give me something like this:
r: my %bf = KeyBag.new(); %bf<a b c d> = True; say [+] %bf<a b c d e f g h>; 21:33
camelia rakudo b2072f: OUTPUT«Odd number of elements found where hash expected␤ in method STORE at src/gen/CORE.setting:7023␤ in block at /tmp/Kop454oBXu:1␤␤»
timotimo ah, that's not how you do KeyBags.
r: my $bf = KeyBag.new(); $bf<a b c d> = True; say [+] $bf<a b c d e f g h>;
camelia rakudo b2072f: OUTPUT«use of uninitialized value of type Nil in numeric context in block at /tmp/A83BATo84t:1␤␤use of uninitialized value of type Nil in numeric context in block at /tmp/A83BATo84t:1␤␤use of uninitialized value of type Nil in numeric context in block at /tmp/A83BAT…
timotimo but i can :exists! 21:34
r: my $bf = KeyBag.new(); $bf<a b c d> = True; say [+] $bf<a b c d e f g h>:exists;
camelia rakudo b2072f: OUTPUT«use of uninitialized value of type Nil in numeric context in block at /tmp/88gWRp2wjX:1␤␤use of uninitialized value of type Nil in numeric context in block at /tmp/88gWRp2wjX:1␤␤use of uninitialized value of type Nil in numeric context in block at /tmp/88gWRp…
quietfanatic That second line doesn't work
$bf<a b c d> is four values but True is only one.
timotimo ah, good point.
r: my $bf = KeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>:exists;
sorear timotimo: ooc, where are you geographically?
camelia rakudo b2072f: OUTPUT«4␤»
timotimo sorear: karlsruhe, germany
quietfanatic: thank you! 21:35
21:35 sftp joined, adu left
quietfanatic You're welcome 21:35
TimToady :exists is specced to work on only one value, but maybe that's too restrictive
there are other failure modes if we do the other way though
people expecting implicit all() or any() semantics
timotimo oh
let's introduce :exists vs :exist (not really) 21:36
21:36 johnjohn101 left
timotimo TimToady: can you suggest something that's to spec and still concise? 21:36
TimToady not while someone is shouting in my ear :)
timotimo r: my $bf = KeyBag.new(); $bf<a b c d> = True xx *; say $bf<a b c d e f g h>>>// False; 21:38
camelia rakudo b2072f: OUTPUT«===SORRY!===␤Missing << or >>␤at /tmp/OTPVC66Nyb:1␤------> True xx *; say $bf<a b c d e f g h>>>//⏏ False;␤ expecting any of:␤ postfix␤ infix stopper␤ infix or meta-infix␤»
timotimo r: my $bf = KeyBag.new(); $bf<a b c d> = True xx *; say $bf<a b c d e f g h>>>.// False;
camelia rakudo b2072f: OUTPUT«===SORRY!===␤Preceding context expects a term, but found infix > instead␤at /tmp/15kskzxig6:1␤------> = True xx *; say $bf<a b c d e f g h>>>.⏏// False;␤»
TimToady ».so or some such maybe
timotimo r: my $bf = KeyBag.new(); $bf<a b c d> = True xx *; say $bf<a b c d e f g h> >>//>> False;
camelia rakudo b2072f: OUTPUT«True True True True 0 0 0 0␤»
timotimo er ... close enough?!
r: my $bf = KeyBag.new(); $bf<a b c d> = True xx *; say $bf<a b c d e f g h> >>||>> False;
camelia rakudo b2072f: OUTPUT«True True True True False False False False␤»
quietfanatic r: my $bf = KeyBag.new(); $bf<a b c d> = True xx *; say [&&] $bf<a b c d e f g h>
camelia rakudo b2072f: OUTPUT«0␤»
quietfanatic hm no
timotimo "use moose" sounds funny 21:39
21:41 cognominal left 21:42 cognominal joined
TimToady r: my $bf = KeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>».so 21:43
camelia rakudo b2072f: OUTPUT«4␤»
timotimo sounds good.
thank
>>.so>>.Int :P
the perl6 people don't share cpan yet :( 21:44
21:44 guru joined
TimToady r: say True + True 21:44
camelia rakudo b2072f: OUTPUT«2␤»
pmichaud timotimo: things are getting there, though
TimToady don't need the .Int
21:44 guru is now known as Guest81808
timotimo TimToady: that's true, [+] will coerce 21:45
quietfanatic class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (|$c) { return self.KeyBag::postcircumfix:<{ }>(|$c)».so }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>
TimToady perhaps not for 1 argument though...
quietfanatic r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (|$c) { return self.KeyBag::postcircumfix:<{ }>(|$c)».so }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>
camelia rakudo b2072f: OUTPUT«Obsolete use of | or \ with sigil on param $c␤===SORRY!===␤Unable to parse expression in block; couldn't find final '}'␤at /tmp/C4dVHiIKn5:1␤------> True xx *; say [+] $bf<a b c d e f g h>⏏<EOL>␤ expecting any of:␤ po…
TimToady nr: say [+] 'foo'; 21:46
camelia niecza v24-66-gaee6525: OUTPUT«foo␤»
..rakudo b2072f: OUTPUT«Cannot convert string to number: base-10 number must begin with valid digits or '.' in '⏏foo' (indicated by ⏏)␤ in method gist at src/gen/CORE.setting:10161␤ in method gist at src/gen/CORE.setting:893␤ in sub say at src/gen/CORE.setting:11047␤ in block at /tmp…
TimToady okay, niecza cheats :)
timotimo oh.
quietfanatic okay how do capture arguments work now
s/arguments/parameters
21:47 Guest81808 is now known as ajr_
timotimo what does Hallway++ refer to? 21:47
pmichaud www.google.com/url?sa=t&rct=j&...0653,d.aWc 21:48
aiigh
shadow.cat/blog/matt-s-trout/hwppna-2013/
there
21:48 xilo left
TimToady r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (\c) { return self.KeyBag::postcircumfix:<{ }>(c)».so }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h> 21:48
camelia rakudo b2072f: OUTPUT«===SORRY!===␤Unable to parse expression in block; couldn't find final '}'␤at /tmp/9HQtRuCiRq:1␤------> True xx *; say [+] $bf<a b c d e f g h>⏏<EOL>␤ expecting any of:␤ postfix␤ statement end␤ statement …
quietfanatic r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (\c) { return self.KeyBag::postcircumfix:<{ }>(c)».so } }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h> 21:49
TimToady r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (\c) { return self.KeyBag::postcircumfix:<{ }>(c)».so }; } my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>
camelia rakudo b2072f: OUTPUT«Cannot modify an immutable value␤ in method STORE at src/gen/CORE.setting:5427␤ in block at /tmp/GQ4jFudXoj:1␤␤»
rakudo b2072f: OUTPUT«===SORRY!===␤Two terms in a row␤at /tmp/7HoOTzkEvf:1␤------> KeyBag::postcircumfix:<{ }>(c)».so }; } ⏏my $bf = AutoKeyBag.new(); $bf<a b c d> ␤ expecting any of:␤ method arguments␤ postfix␤ statement end␤…
TimToady r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (\c) { return self.KeyBag::postcircumfix:<{ }>(c)».so }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>
camelia rakudo b2072f: OUTPUT«Cannot modify an immutable value␤ in method STORE at src/gen/CORE.setting:5427␤ in block at /tmp/6I8nKYt7CC:1␤␤»
timotimo ah, it's being explained now
TimToady r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (\c) { return callwith(c)».so }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h> 21:52
camelia rakudo b2072f: OUTPUT«Cannot call 'postcircumfix:<{ }>'; none of these signatures match:␤:(: Mu *%_)␤:(: :p(:$p)!, Mu *%_)␤:(: :k(:$k)!, Mu *%_)␤:(: :kv(:$kv)!, Mu *%_)␤:(: :v(:$v)!, Mu *%_)␤:(: :BIND(:$BIND)!, Mu *%_)␤:(\SELF: $key, Mu *%_)␤:(\SELF: $key, Mu \$BIND, Mu *%_)␤:(\SELF: $k…
TimToady r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (\c) { return callsame».so }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>
camelia rakudo b2072f: OUTPUT«Cannot modify an immutable value␤ in method STORE at src/gen/CORE.setting:5427␤ in block at /tmp/gGJvqavhIw:1␤␤»
21:52 quietfanatic left 21:53 quietfanatic joined
quietfanatic I smell a bug. 21:53
lue Huh. My local copy of S02-bits.pod has the second Twigil section mention just the part about interpolation, but the one on perlcabal.org/syn still holds the exact copy of the first Twigil section 21:54
TimToady r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (\c) { return callsame[]».so }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>
camelia rakudo b2072f: OUTPUT«Cannot modify an immutable value␤ in method STORE at src/gen/CORE.setting:5427␤ in block at /tmp/LskjzsLpmd:1␤␤»
quietfanatic r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (\c) is rw { return callsame».so }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h> 21:56
camelia rakudo b2072f: OUTPUT«Cannot modify an immutable value␤ in method STORE at src/gen/CORE.setting:5427␤ in block at /tmp/_iAvYmzfjx:1␤␤»
quietfanatic ah, I see
FROGGS can#t believe it, I'm older than mst >.<
quietfanatic This won't work without variable proxies.
Do we still not have those?
TimToady r: class AutoKeyBag is KeyBag { method at_key (\c) { return callsame.so }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h> 21:57
camelia rakudo b2072f: OUTPUT«Cannot modify an immutable value␤ in method STORE at src/gen/CORE.setting:5427␤ in block at /tmp/MlrjA6jzHk:1␤␤»
quietfanatic well, maybe not, depending
The problem is the ».so removes containerhood 21:58
TimToady r: class AutoKeyBag is KeyBag { method at_key (\c) is rw { return callsame.so }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>
21:58 xilo joined
camelia rakudo b2072f: OUTPUT«Cannot modify an immutable value␤ in method STORE at src/gen/CORE.setting:5427␤ in block at /tmp/F4LCwNCedA:1␤␤» 21:58
quietfanatic r: class AutoKeyBag is KeyBag { method at_key (\c) is rw { return callsame }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>».so 21:59
camelia rakudo b2072f: OUTPUT«4␤»
timotimo about time i write some tests for my code here ...
lue thinks the synopsis html generators are running. feather.perl6.nl's S02 is outdated in the second Twigils section too.
quietfanatic contrast with this. It's the .so returning immutable results that causes the problem
lue *aren't
TimToady "If at first you don't succeed, suck until you do succeed." --Arnold Wall 22:00
quietfanatic r: class AutoKeyBag is KeyBag { method at_key (\c) is rw { callsame //= 0; return callsame }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>
camelia rakudo b2072f: OUTPUT«===SORRY!===␤Null regex not allowed␤at /tmp/v5xt27rMeu:1␤------> { method at_key (\c) is rw { callsame //⏏= 0; return callsame }; }; my $bf = Auto␤»
quietfanatic r: class AutoKeyBag is KeyBag { method at_key (\c) is rw { callsame() //= 0; return callsame }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h> 22:01
camelia rakudo b2072f: OUTPUT«postcircumfix:<{ }> not defined for type AutoKeyBag␤ in method <anon> at src/gen/CORE.setting:10166␤ in any at src/gen/Metamodel.nqp:2504␤ in any find_method_fallback at src/gen/Metamodel.nqp:2492␤ in any find_method at src/gen/Metamodel.nqp:939␤ in method ST…
quietfanatic r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (\c) { callsame() //= 0; return callsame }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h>
camelia rakudo b2072f: OUTPUT«Cannot modify an immutable value␤ in block at /tmp/xHo0TXTMQm:1␤␤»
timotimo hallway++ seems pretty rad
quietfanatic r: class AutoKeyBag is KeyBag { method postcircumfix:<{ }> (\c) is rw { callsame() //= 0; return callsame }; }; my $bf = AutoKeyBag.new(); $bf<a b c d> = True xx *; say [+] $bf<a b c d e f g h> 22:02
camelia rakudo b2072f: OUTPUT«Cannot modify an immutable value␤ in block at /tmp/JueZbbbFG9:1␤␤»
22:03 lustlife left
timotimo so, xx will evaluate its LHS multiple times, interesting 22:04
r: say "foo" xx 2;
camelia rakudo b2072f: OUTPUT«foo foo␤»
timotimo what's the escape hatch?
22:06 FROGGS left, quietfanatic left, stevan__ left
[Coke] r: say {say 3} xx 3; 22:09
camelia rakudo b2072f: OUTPUT«Block.new() Block.new() Block.new()␤»
22:09 stevan_ joined 22:12 konundra joined, xilo left 22:19 FROGGS joined 22:20 benabik left
timotimo is the gong gonged when the person is ready or is the timing just very good on most of those talks? 22:21
FROGGS they gong too when the speaker finishes 22:22
timotimo yeah, that makes more sense
if you want to use rules, you should get a perl6 compiler :3 22:23
FROGGS :o)
22:23 gdey joined
FROGGS damnit, something is slowing down building v5 by factor 3 or so 22:23
timotimo you are not on AC, so your machine is using the powersave governor? 22:24
22:24 Tene_ is now known as Tene
FROGGS timotimo: I have AC here 22:24
timotimo hm. 22:25
22:28 xilo joined
FROGGS I guess I'll first bisect this 22:30
22:33 mtk left, mtk0 joined
timotimo what am i missing in the lbj? 22:34
mst lightning talks
diakopter why missing?
timotimo i'm watching the stream and someone yelled "code of conduct!"
apparently at something happening off-cam
22:34 colomon joined
pmichaud there was a bit of a hugfest at stage left 22:34
(camera right) 22:35
timotimo ah, so the "code of conduct!" invocation was really just a joke?
22:35 skids joined
pmichaud yes 22:35
mst your sarcasm detector appears to be faulty
flussence nah, it's just calibrated for different geography :) 22:36
timotimo for $f!Field::spawn-pellets() ⏏-> $pc { ← "two terms in a row" at the -> - am i doing private method invocation wrongly? 22:37
mst: your comment about why you have a windows machine was about the thinkpad instant-system-reinstallation button? i only heard the first few seconds of it on stream 22:38
flussence I heard it as "multi screen works properly"
mst timotimo: it was about "the bundled thinkpad tools talk to projectors very nicely"
timotimo oh, ok
RedditAnalytics they need to come out with a laptop that has three screens that fold out. I know they can do it 22:39
geekosaur I thought someone had already. was expensive and fragile as hell though
flussence after seeing that last one give up with X I don't blame mst :)
timotimo oh goard; it even asked me "previous line missing a semicolon?" and that's the mistake i made 22:41
RedditAnalytics wow man .. that's just ... bad. I've NEVER made that mistake. And a missing bracket? Never. 22:42
timotimo :D 22:43
haha, PiPE is cute. maybe it could be implemented as a slang nicely 22:44
RedditAnalytics about to benchmark how long it takes Perl 6 to parse 1.2 billion records 22:48
flussence see you next christmas :D
RedditAnalytics is that when v1.0 is ready?
:)
timotimo that's just "christmas" 22:49
pmichaud ..."with Moar love, baby!"
timotimo i did something wrong in my code, what a surprise :P
(so slow code, too) 22:50
i've been asked if i'd like to attend the next functional programming group session locally; with perl6 everything's possible %) 22:51
RedditAnalytics as an aside, I am amazed at the percentage of mobile requests compared to computers. Now every site has to have formatting for both 22:54
22:54 donaldh left 22:56 btyler joined 23:00 tomyan joined 23:03 Guest9549 joined
Guest9549 anyone here? 23:03
timotimo oooh, the $_ superman shirt looks cool 23:04
hey guest
Guest9549 how are u?
timotimo i'm fine. how can i help you? 23:05
also, how are you? :)
Guest9549 I'm good too... just checking things out
23:06 tomyan left 23:08 Guest9549 is now known as tash, colomon left
timotimo so this was a call to use more dependency injection compatible things? 23:08
(i'm watching the YAPCNA stream right now, for context) 23:09
mst mostly, yeah
this would be much easier if you were in #yapc on irc.perl.org 23:10
tash 02 :o)
timotimo well, i am now
23:12 tash left
timotimo that was a short visit 23:18
flussence picks self up off floor
FROGGS *g* 23:19
garu, my man \o/
garu++
timotimo keynote animations! 23:20
FROGGS >.< 23:25
timotimo m)
these people are amusing
flame war time! ;) 23:26
such telling laughs :) 23:27
wait, what? in method nuke-field at src/gen/CORE.setting:446 23:28
i don't think i put that there
23:29 gdey left 23:32 stevan_ left
flussence That was all friggin' awesome. 23:34
23:34 tgt joined 23:35 Guest41996 left 23:37 bonsaikitten joined
RedditAnalytics ahhh just typed my instead of var in javascript. 23:38
huf it always comes out as int for me ;) 23:39
[Coke] so, with rakudo-java, how can I see how "use v6" is failing? 23:44
23:53 Guest1337 left