Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2012-12-31

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:01 am0c joined #perl6
00:14 dayangkun joined #perl6
00:40 lue rakudo's .write(Buf) method currently returns True (which I assume means "all bytes written"), instead of the number of bytes written like it's supposed to. Is this a known bug?
00:41 lue s/it's/its/
00:44 flussence the True value is hardcoded, which I'm pretty sure is a bug. Can't find anything in RT about it though
00:44 mtk joined #perl6
00:55 alec joined #perl6
00:56 felher night, #perl6 :)
00:58 sorear night felher
01:07 MikeFair_ joined #perl6
01:20 Chillance joined #perl6
01:39 ifim joined #perl6
01:40 geekosaur joined #perl6
01:59 xinming joined #perl6
02:18 stevan_ joined #perl6
02:21 * colomon has the Niecza MP3 tools working again!
02:29 sorear yay!
02:30 colomon Just a matter of getting taglib talking to mono again, not really a big deal.  dunno why it gave me trouble last time I tried it.
02:31 wooden joined #perl6
02:38 FROGGS_ joined #perl6
02:41 dayangkun joined #perl6
02:45 MikeFair_ joined #perl6
03:02 orafu joined #perl6
03:09 Khisanth joined #perl6
03:19 xinming joined #perl6
03:34 geekosaur joined #perl6
03:37 geekosaur joined #perl6
03:47 jdv79 joined #perl6
03:47 ruoso joined #perl6
03:47 xinming joined #perl6
03:47 felher joined #perl6
03:47 mikec_ joined #perl6
03:47 yves_ joined #perl6
03:47 Bucciarati joined #perl6
03:47 kst joined #perl6
03:47 imarcusthis joined #perl6
03:47 ggoebel joined #perl6
03:47 slavik1 joined #perl6
04:45 dalek perl6-bench: 7f8ae16 | (Geoffrey Broadwell)++ | timeall:
04:45 dalek perl6-bench: Stop forcing nqp timing dir to the old directory
04:45 dalek perl6-bench: review: https://github.com/japhb/pe​rl6-bench/commit/7f8ae16aa0
04:45 dalek perl6-bench: dab496f | (Geoffrey Broadwell)++ | timeall:
04:45 dalek perl6-bench: Dial back rc-man-or-boy-test to 9 to avoid recursion depth errors across all implementations
04:45 dalek perl6-bench: review: https://github.com/japhb/pe​rl6-bench/commit/dab496fcac
05:04 grondilu joined #perl6
05:04 grondilu rn: my @x = 0 xx 5; @x[2, 4]++; say @x
05:04 p6eval niecza v24-12-g8e50362: OUTPUT«Unhandled exception: cannot increment a value of type Parcel␤  at <unknown> line 0 (ExitRunloop @ 0) ␤  at /home/p6eval/niecza/lib/CORE.setting line 270 (Mu.succ @ 9) ␤  at <unknown> line 0 (ExitRunloop @ 0) ␤  at /tmp/kA4kLeBK13 line 1 (mainline @ 4) ␤  a…
05:04 p6eval ..rakudo 13e805: OUTPUT«No such method 'succ' for invocant of type 'Parcel'␤  in sub postfix:<++> at src/gen/CORE.setting:1616␤  in block  at /tmp/dBqyxVM3oR:1␤␤»
05:05 grondilu rn: my @x = 0 xx 5; @x[2, 4]»++; say @x
05:05 p6eval rakudo 13e805, niecza v24-12-g8e50362: OUTPUT«0 0 1 0 1␤»
05:17 stevan_ joined #perl6
05:17 stevan_ joined #perl6
05:25 kcwu joined #perl6
05:42 dalek perl6-examples: 9bd229a | (L. Grondin)++ | rosalind/lrep-grondilu-p5.pl:
05:42 dalek perl6-examples: [rosalind] LREP, Perl5 version, to be translated
05:42 dalek perl6-examples: review: https://github.com/perl6/perl​6-examples/commit/9bd229a350
06:12 quester joined #perl6
06:38 kaleem joined #perl6
07:10 JJ_Brain joined #perl6
07:11 kaare_ joined #perl6
07:47 geekosaur joined #perl6
07:49 JJ_Brain joined #perl6
07:55 quester left #perl6
08:15 bapa joined #perl6
08:40 JJ_Brain joined #perl6
09:02 Kharec joined #perl6
09:19 hbg joined #perl6
09:26 some joined #perl6
09:29 some left #perl6
09:30 snearch joined #perl6
09:32 hoelzro morning #perl6
09:32 hbg morning
09:32 hbg :)
09:32 Kharec morning:)
09:34 FROGGS_ morning o/
09:34 GlitchMr joined #perl6
09:35 FROGGS better
09:42 Psyche^ joined #perl6
09:48 hbg joined #perl6
09:59 rindolf joined #perl6
10:00 moritz \o
10:02 denisboyun_ joined #perl6
10:19 rindolf joined #perl6
10:23 hash_table joined #perl6
10:33 JJ_Brain joined #perl6
10:35 SamuraiJack joined #perl6
10:47 rindolf joined #perl6
10:53 hoelzro good going on the better Rakudo errors in 2012.12, Rakudo team!
10:53 hoelzro (Rakudo Team)++
10:53 denisboyun_ joined #perl6
10:54 jnthn phenny: tell [Coke] doubles are fine. _n implies double, _i implies long, _s implies String, in general.
10:54 phenny jnthn: I'll pass that on when [Coke] is around.
10:56 jnthn phenny: tell pmurias yes, just reading the binary data is probably best. It's what I shall do for the JVM implementation.
10:56 phenny jnthn: I'll pass that on when pmurias is around.
10:56 * jnthn is out for most of the day &
11:01 rindolf joined #perl6
11:03 kaare_ joined #perl6
11:07 JJ_Brain joined #perl6
11:14 werwerwer joined #perl6
11:19 JJ_Brain joined #perl6
11:20 rindolf joined #perl6
11:33 pmurias joined #perl6
11:34 pmurias jnthn: I'm experimenting with reading the binary data on the javascript side
11:34 phenny pmurias: 10:56Z <jnthn> tell pmurias yes, just reading the binary data is probably best. It's what I shall do for the JVM implementation.
11:35 pmurias jnthn: one (maybe crazy) idea is that if we serialize the QAST too we could represent compiled programs in a backend portable manner ;)
11:40 rindolf joined #perl6
11:46 ServerSage joined #perl6
11:51 denisboyun joined #perl6
11:55 hbg joined #perl6
11:55 pmurias jnthn: is the description of the serialized format header correct?
11:55 pmurias jnthn: so entries seem duplicated?
11:56 rindolf joined #perl6
11:59 MayDaniel joined #perl6
12:01 hbg What do you think about redesigning perl6.org website?
12:01 hbg #perl6
12:02 pmurias hbg: do you want to do that?
12:10 hoelzro what's the meaning of parameters on a token?
12:10 hoelzro ex. token sibble($l, $lang2, @lang2tweaks?)
12:12 pmurias hoelzro: isn't the meaning the same as with normal methods?
12:12 hoelzro I have no idea
12:12 hoelzro I just came across it in Grammar.pm, and this is the first I've seen of it
12:12 hbg joined #perl6
12:12 pmurias hoelzro: I think so, can't find it in spec
12:13 hoelzro what invokes a token, though?
12:13 * hoelzro may just need a better understanding of the regex stuff
12:14 hoelzro oh, I see
12:14 hoelzro a rule can invoke a subrule via <subrule(...)>
12:14 hoelzro interesting
12:15 hbg pmurias: I was disconnected so I didn't see any messages for a few minutes
12:15 hbg So what do you think about redesigning perl6.org website?
12:15 pmurias that depends on what it's redesigned too ;)
12:16 pmurias s/too/to
12:17 pmurias hbg: do you want to redesign it or do you just dislike it?
12:18 pmurias hbg: personally I sort of like the layout but the page could be made more pretty
12:18 hbg pmurias: I like how simple it is now, I just just wanted to see what community think about idea that someone try to redesign website
12:20 hbg pmurias: and I would be glad to help with redesign, to make it more modern and that could possible atract more people to get involved in project
12:20 hbg pmurias: not just programmers but also designers and people who are interested in marketing,etc
12:23 pmurias I think nobody would protest a prettier/better website ;)
12:23 pmurias myself I don't have much graphic design skills so I can't help much
12:26 pmurias jnthn: re format, I now see the description was correct. I was mistaking extra offsets for data as duplication
12:29 hbg I was involved in other open source projects where I also worked on design so I wanted to see if I can help perl community with my skills
12:29 hbg I can show you some examples of my work
12:29 hbg just to get idea
12:33 hbg Here is my work for LibreOffice project (link to my wiki page): https://wiki.documentfoundation.org/User:See
12:34 rindolf joined #perl6
12:39 pmurias hbg: looks good ;)
12:39 pmurias lunch&
12:43 hbg tnx;)
12:46 rindolf joined #perl6
12:48 masak today' autopun: http://i.imgur.com/EfgDd.png
12:52 masak today's*
13:04 masak hbg: I would say "go for it". I don't think anyone can promise that we'll switch over to a new design if someone makes it, but we would deinfitely consider it.
13:11 hbg Of course, thank you . As I said, just wanted to see what community think, I will start learning perl and learn more about community
13:15 rindolf joined #perl6
13:15 hbg masak: I will follow perl6 community,I am still learning about people who are involved in project, and I hope in the future as language improves we will improve design with it
13:26 masak hbg: yes, let's hope so.
13:34 grondilu joined #perl6
13:34 grondilu rn: say all("Is this a correct method to reckognize an ASCII string?".ords) < 128
13:34 p6eval niecza v24-12-g8e50362: OUTPUT«all(Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, Bool::True, …
13:34 p6eval ..rakudo 13e805: OUTPUT«all(True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, True, Tru…
13:35 grondilu rn: say so all("Is this a correct method to reckognize an ASCII string?".ords) < 128
13:35 p6eval rakudo 13e805, niecza v24-12-g8e50362: OUTPUT«True␤»
13:41 JJ_Brain joined #perl6
13:46 awwaiid joined #perl6
13:48 rindolf joined #perl6
14:08 Kharec joined #perl6
14:09 rindolf joined #perl6
14:17 stevan_ joined #perl6
14:18 moritz rn: say so all('not quite æscii'.ords) < 128
14:18 p6eval rakudo 13e805, niecza v24-12-g8e50362: OUTPUT«False␤»
14:23 bluescreen10 joined #perl6
14:26 bowtie joined #perl6
14:29 denisboyun_ joined #perl6
14:42 SamuraiJack joined #perl6
14:43 rindolf joined #perl6
14:50 rindolf joined #perl6
14:58 SamuraiJack_ joined #perl6
15:12 stopbit joined #perl6
15:13 Chillance joined #perl6
15:13 GlitchMr joined #perl6
15:22 rindolf joined #perl6
15:31 arkydo joined #perl6
15:41 JJ_Brain joined #perl6
15:45 SamuraiJack joined #perl6
15:47 jerome joined #perl6
15:53 moritz bbi1d, have a good 2013 everybody!
15:53 xinming_ joined #perl6
15:56 gfldex r: macro infix:<<<->>($a, $b){ say 3 }; 1 <- 2;
15:56 p6eval rakudo 13e805: OUTPUT«3␤===SORRY!===␤too few positional arguments: 2 passed, 3 (or more) expected␤»
15:57 gfldex are operators supposed to be allowed as macros?
16:01 denisboyun_ joined #perl6
16:04 grondilu r: macro infix:[<-]($a, $b){ say 3 }; 1 <- 2;
16:04 p6eval rakudo 13e805: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Unable to parse expression in quote words; couldn't find final '>'â�¤at /tmp/45jHeGuUG4:1â�¤------> [32mcro infix:[<-]($a, $b){ say 3 }; 1 <- 2;[33mâ��[31m<EOL>[0mâ�¤    expecting any of:â�¤        colon pairâ�¤        array composerâ�¤        â€¦
16:04 grondilu r: macro infix:«<-»($a, $b){ say 3 }; 1 <- 2;
16:04 p6eval rakudo 13e805: OUTPUT«3␤===SORRY!===␤too few positional arguments: 2 passed, 3 (or more) expected␤»
16:04 grondilu r: macro infix:«test»($a, $b){ say 3 }; 1 test 2;
16:04 p6eval rakudo 13e805: OUTPUT«3␤===SORRY!===␤too few positional arguments: 2 passed, 3 (or more) expected␤»
16:05 grondilu iirc this used to work
16:07 denisboyun_ joined #perl6
16:09 gfldex i will ask masak about it ... next year :)
16:16 Targen_ joined #perl6
16:21 JJ_Brain joined #perl6
16:26 PacoAir joined #perl6
16:32 REPLeffect joined #perl6
16:58 JJ_Brain joined #perl6
17:07 denisboyun__ joined #perl6
17:07 nyuszika7h joined #perl6
17:10 grondilu when is next years for u guys?  For me it's in 6 hours.
17:11 [Coke] nearly 12 here.
17:11 phenny [Coke]: 10:54Z <jnthn> tell [Coke] doubles are fine. _n implies double, _i implies long, _s implies String, in general.
17:25 rindolf joined #perl6
17:42 zby_home_ joined #perl6
17:45 hbg joined #perl6
17:59 rindolf joined #perl6
18:10 arkydo_ joined #perl6
18:20 * [Coke] gets back to the jvm stuff and finds that eclipse has reformatted all of jnthn++'s files. bad eclipse.
18:22 bapa joined #perl6
18:29 fgomez joined #perl6
18:50 doy r: class Foo { method bar (Foo $foo is alias:) { } }
18:50 p6eval rakudo 13e805: OUTPUT«[31m===[0mSORRY![31m===[0m�Cannot call 'trait_mod:<is>'; none of these signatures match:�:(Mu:U $child, Mu:U $parent)�:(Attribute:D $attr, :rw(:$rw)!)�:(Attribute:D $attr, :readonly(:$readonly)!)�:(Attribute:D $attr, :box_target(:$box_target)!)�:(Routine:D $r, …
18:51 doy hmmm
18:51 doy r: say class Foo { method bar (Foo $foo is alias:) { } }
18:51 p6eval rakudo 13e805: OUTPUT«[31m===[0mSORRY![31m===[0m�Cannot call 'trait_mod:<is>'; none of these signatures match:�:(Mu:U $child, Mu:U $parent)�:(Attribute:D $attr, :rw(:$rw)!)�:(Attribute:D $attr, :readonly(:$readonly)!)�:(Attribute:D $attr, :box_target(:$box_target)!)�:(Routine:D $r, …
18:51 doy that's producing a null pmc access for me locally
18:51 doy http://paste.tozt.net/2012-12-31oDyN8Mcu
19:14 Chillance joined #perl6
19:30 FROGGS r: class Foo { method bar (Foo $foo is alias:) { } }
19:30 p6eval rakudo 13e805: OUTPUT«[31m===[0mSORRY![31m===[0m�Cannot call 'trait_mod:<is>'; none of these signatures match:�:(Mu:U $child, Mu:U $parent)�:(Attribute:D $attr, :rw(:$rw)!)�:(Attribute:D $attr, :readonly(:$readonly)!)�:(Attribute:D $attr, :box_target(:$box_target)!)�:(Routine:D $r, …
19:42 rindolf joined #perl6
19:43 rindolf Hi all. Happy new (civil) year.
19:43 rindolf What's up?
20:03 adam7504 joined #perl6
20:16 GlitchMr joined #perl6
20:45 doy hmmm
20:45 doy how does CANDO work?
20:46 doy the synopsis isn't very clear
20:46 doy and there don't appear to be any spectests for it
20:47 doy is there anything else i can look at?
20:48 nyuszika7h joined #perl6
20:51 rindolf NOCANDO.
21:23 doy hmmm
21:26 doy is there a way to lie about type checks
21:34 rindolf joined #perl6
21:44 perigrin doy: the trick is to be convincing ... just look them straight in the eye and say "I'm a String. Wanna let me in?"
21:53 rindolf joined #perl6
21:56 fgomez joined #perl6
21:59 JJ_Brain joined #perl6
22:15 fgomez joined #perl6
22:18 [Coke] nqp: say($*OS);
22:18 p6eval nqp: OUTPUT«␤»
22:18 [Coke] nqp: say($*EXECUTABLE_NAME);
22:18 p6eval nqp: OUTPUT«␤»
22:18 [Coke] nqp: say($*PID);
22:18 p6eval nqp: OUTPUT«␤»
22:19 [Coke] How can I tell if I'm on windows from nqp?
22:19 rindolf joined #perl6
22:19 [Coke] nqp: say($?VM)
22:19 p6eval nqp: OUTPUT«Null PMC access in get_string()␤current instr.: '' pc 849 (src/stage2/gen/NQPCORE.setting.pir:383) (src/stage2/NQPCORE.setting:403)␤»
22:20 [Coke] masak: ^^
22:21 [Coke] nqp: say(run('uname'));
22:21 p6eval nqp: OUTPUT«Could not find sub &run␤current instr.: '' pc 46 ((file unknown):38) (/tmp/xwzLMBpeak:1)␤»
22:24 [Coke] I'll just use parrot_config for now.
22:27 fgomez joined #perl6
22:35 [Coke] nqp: say(pir::interpinfo__Si(30));
22:35 p6eval nqp: OUTPUT«linux␤»
22:36 [Coke] anyone have a windows box and can tell me what that says for them?
22:40 FROGGS I can tell you in about 10 hours, must go to bed and then install rakudo
22:41 FROGGS gnight
22:42 JJ_Brain joined #perl6
22:42 JJ_Brain Happy New Year!
22:44 JJ_Brain May I ask if there is a P=NP expert here?  I may have solved the problem.  The problem is arXiv did not accept it.
22:46 SHODAN joined #perl6
22:46 renormalist joined #perl6
22:46 bonsaikitten joined #perl6
22:46 PerlJam joined #perl6
22:46 [Coke] joined #perl6
22:46 szbalint joined #perl6
22:46 doy joined #perl6
22:46 kst joined #perl6
22:46 nuba joined #perl6
22:46 araujo joined #perl6
22:46 araujo joined #perl6
22:47 ilogger2 joined #perl6
22:47 _sri joined #perl6
22:47 groky joined #perl6
22:47 rking joined #perl6
22:48 * [Coke] gets "make test" to work on non-windows for nqp-jvm-prep.
22:52 [Coke] I've committed a few things to master in a fork of jnthn++'s repo - how can I make a pull request on github of one of those commits?
22:52 [Coke] (it looks like when I hit "pull request" it wants to include all of them.)
22:55 [Coke] ah, if I go to the commit first, that helps.
22:56 dalek perl6-roast-data: e356a35 | coke++ | / (3 files):
22:56 dalek perl6-roast-data: today (automated commit)
22:56 dalek perl6-roast-data: review: https://github.com/coke/perl6​-roast-data/commit/e356a35408
22:56 dalek perl6-roast-data: c13106b | coke++ | / (3 files):
22:56 dalek perl6-roast-data: today (automated commit)
22:56 dalek joined #perl6
23:06 Pleiades` joined #perl6
23:23 JJ_Brain joined #perl6
23:31 [Coke] nqp: nqp::gcd_i(1000);
23:31 p6eval nqp: OUTPUT«error:imcc:syntax error, unexpected IREG, expecting '(' ('$I5003')␤ in file '(file unknown)' line 170070022␤␤»
23:31 [Coke] masak: ^^
23:34 sorear that's expected, itsn't it?
23:34 sorear gcd_i isn't an instruction so imcc thinks it must be a function call
23:34 sorear the parser and emitter get out of sync, hilarity ensues
23:36 JJ_Brain joined #perl6
23:37 doy r: class Foo { }; my $class = Foo; class Bar is $class { }
23:37 p6eval rakudo 13e805: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Unable to parse class definitionâ�¤at /tmp/TWvDMcLsqL:1â�¤------> [32m Foo { }; my $class = Foo; class Bar is [33mâ��[31m$class { }[0mâ�¤    expecting any of:â�¤        postfixâ�¤        infix or meta-infixâ�¤        infix stopperâ�¤        state…
23:37 doy how do i do this?
23:39 [Coke] sorear: ah, was hoping for a more friendly error,
23:39 [Coke] sorear: where is nqp's gcd op? (trying to implement https://github.com/jnthn/nqp-jv​m-prep/blob/master/docs/LHF.md)
23:42 [Coke] nqp: nqp::bigint_gcd(1000,3234);
23:42 p6eval nqp: OUTPUT«Error while compiling block : Error while compiling op bigint_gcd: No registered operation handler for 'bigint_gcd'␤current instr.: '' pc 44393 (src/stage2/QAST.pir:15511) (src/stage2/QAST.nqp:2355)␤»
23:51 * [Coke] kills some LHF from the nqp-jvm-prep file for jnthn++
23:54 JJ_Brain joined #perl6

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

Perl 6 | Reference Documentation | Rakudo