»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend! Set by sorear on 4 February 2011. |
|||
00:01
am0c joined
00:14
dayangkun joined
|
|||
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:40 | |
s/it's/its/ | 00:41 | ||
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 | |
00:44
mtk joined
00:55
alec joined
|
|||
felher | night, #perl6 :) | 00:56 | |
sorear | night felher | 00:58 | |
01:04
MikeFair left
01:07
MikeFair_ joined
01:19
dayangkun left
01:20
Chillance joined
01:39
ifim joined
01:40
geekosaur joined
01:59
xinming joined
02:18
stevan_ joined
|
|||
colomon has the Niecza MP3 tools working again! | 02:21 | ||
sorear | yay! | 02:29 | |
02:30
am0c left
|
|||
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:30 | |
02:31
wooden joined
02:38
FROGGS_ joined
02:41
dayangkun joined,
dayangkun left,
MikeFair_ left
02:45
MikeFair_ joined
02:55
Khisanth left
03:02
orafu joined
03:08
xinming left
03:09
Khisanth joined
03:19
xinming joined
03:30
geekosaur left
03:34
geekosaur joined
03:37
geekosaur left,
geekosaur joined
03:47
xinming left,
mikec_ left,
jdv79 left,
jdv79 joined,
ruoso joined,
xinming joined,
felher joined,
mikec_ joined,
yves_ joined,
Bucciarati joined,
kst joined,
imarcusthis joined,
ggoebel joined,
slavik1 joined
|
|||
dalek | rl6-bench: 7f8ae16 | (Geoffrey Broadwell)++ | timeall: Stop forcing nqp timing dir to the old directory |
04:45 | |
rl6-bench: dab496f | (Geoffrey Broadwell)++ | timeall: Dial back rc-man-or-boy-test to 9 to avoid recursion depth errors across all implementations |
|||
05:04
grondilu joined
|
|||
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… | ||
..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» | |||
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:16
stevan_ left
05:17
stevan_ joined,
stevan_ left,
stevan_ joined
05:23
stevan_ left
05:25
kcwu joined
|
|||
dalek | pan style="color: #395be5">perl6-examples: 9bd229a | (L. Grondin)++ | rosalind/lrep-grondilu-p5.pl: [rosalind] LREP, Perl5 version, to be translated |
05:42 | |
06:01
Chillance left
06:12
quester joined
06:25
grondilu left
06:38
kaleem joined
07:10
JJ_Brain joined
07:11
kaare_ joined
07:15
JJ_Brain left
07:47
geekosaur left,
geekosaur joined
07:49
JJ_Brain joined
07:50
JJ_Brain left
07:55
quester left
08:15
bapa joined
08:20
kaare_ left
08:40
JJ_Brain joined
08:51
ifim left
08:53
JJ_Brain left
09:02
Kharec joined
09:19
hbg joined
09:26
some joined
09:29
some left
09:30
snearch joined
|
|||
hoelzro | morning #perl6 | 09:32 | |
hbg | morning | ||
:) | |||
Kharec | morning:) | ||
FROGGS_ | morning o/ | 09:34 | |
09:34
GlitchMr joined,
FROGGS_ is now known as FROGGS
|
|||
FROGGS | better | 09:35 | |
09:42
Psyche^ joined
09:43
hbg left,
Psyche^ is now known as Patterner
09:48
hbg joined
09:53
snearch left
09:59
rindolf joined
|
|||
moritz | \o | 10:00 | |
10:02
denisboyun_ joined
10:17
hbg left
10:18
rindolf left
10:19
rindolf joined
10:23
hash_table joined
10:33
JJ_Brain joined
10:35
SamuraiJack joined
10:40
JJ_Brain left,
denisboyun_ left
10:46
rindolf left
10:47
rindolf joined
|
|||
hoelzro | good going on the better Rakudo errors in 2012.12, Rakudo team! | 10:53 | |
(Rakudo Team)++ | |||
10:53
denisboyun_ joined
|
|||
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. | ||
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. | ||
jnthn is out for most of the day & | |||
11:00
rindolf left
11:01
rindolf joined
11:03
kaare_ joined
11:07
JJ_Brain joined
11:14
werwerwer joined
11:16
JJ_Brain left
11:19
JJ_Brain joined
11:20
JJ_Brain left,
rindolf left,
rindolf joined
11:32
denisboyun_ left
11:33
hash_table left,
pmurias joined
|
|||
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. | ||
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:35 | |
11:40
rindolf left,
rindolf joined
11:46
ServerSage joined
11:51
denisboyun joined
11:55
hbg joined
|
|||
pmurias | jnthn: is the description of the serialized format header correct? | 11:55 | |
jnthn: so entries seem duplicated? | |||
11:55
rindolf left
11:56
rindolf joined
11:59
MayDaniel joined
|
|||
hbg | What do you think about redesigning perl6.org website? | 12:01 | |
#perl6 | |||
pmurias | hbg: do you want to do that? | 12:02 | |
12:06
hbg left
|
|||
hoelzro | what's the meaning of parameters on a token? | 12:10 | |
ex. token sibble($l, $lang2, @lang2tweaks?) | |||
pmurias | hoelzro: isn't the meaning the same as with normal methods? | 12:12 | |
hoelzro | I have no idea | ||
I just came across it in Grammar.pm, and this is the first I've seen of it | |||
12:12
hbg joined
|
|||
pmurias | hoelzro: I think so, can't find it in spec | 12:12 | |
hoelzro | what invokes a token, though? | 12:13 | |
hoelzro may just need a better understanding of the regex stuff | |||
oh, I see | 12:14 | ||
a rule can invoke a subrule via <subrule(...)> | |||
interesting | |||
hbg | pmurias: I was disconnected so I didn't see any messages for a few minutes | 12:15 | |
So what do you think about redesigning perl6.org website? | |||
pmurias | that depends on what it's redesigned too ;) | ||
s/too/to | 12:16 | ||
hbg: do you want to redesign it or do you just dislike it? | 12:17 | ||
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:19 | |
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 | ||
pmurias: not just programmers but also designers and people who are interested in marketing,etc | |||
pmurias | I think nobody would protest a prettier/better website ;) | 12:23 | |
myself I don't have much graphic design skills so I can't help much | |||
jnthn: re format, I now see the description was correct. I was mistaking extra offsets for data as duplication | 12:26 | ||
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 | |
I can show you some examples of my work | |||
just to get idea | |||
Here is my work for LibreOffice project (link to my wiki page): wiki.documentfoundation.org/User:See | 12:33 | ||
12:33
rindolf left
12:34
rindolf joined
|
|||
pmurias | hbg: looks good ;) | 12:39 | |
lunch& | |||
12:39
pmurias left
|
|||
hbg | tnx;) | 12:43 | |
12:45
rindolf left
12:46
rindolf joined
|
|||
masak | today' autopun: i.imgur.com/EfgDd.png | 12:48 | |
today's* | 12:52 | ||
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:04 | ||
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:11 | |
13:14
rindolf left
13:15
rindolf joined
|
|||
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:15 | |
13:16
wamba left
|
|||
masak | hbg: yes, let's hope so. | 13:26 | |
13:34
grondilu joined
|
|||
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, … | ||
..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… | |||
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
13:42
denisboyun left
13:46
awwaiid joined
13:47
JJ_Brain left
13:48
rindolf left,
rindolf joined
14:04
kaleem left
14:07
Kharec left
14:08
hbg left,
Kharec joined
14:09
rindolf left,
rindolf joined
14:14
GlitchMr left
14:17
stevan_ joined
|
|||
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
14:26
bowtie joined
14:29
denisboyun_ joined
14:34
SamuraiJack left
14:42
SamuraiJack joined,
rindolf left
14:43
rindolf joined
14:50
rindolf left,
rindolf joined
14:58
SamuraiJack_ joined
14:59
SamuraiJack left
15:12
stopbit joined
15:13
Chillance joined,
GlitchMr joined,
denisboyun_ left
15:21
rindolf left
15:22
rindolf joined
15:31
arkydo joined
15:41
JJ_Brain joined
15:42
SamuraiJack_ left
15:45
SamuraiJack joined
15:47
jerome joined
15:49
rindolf left
15:51
JJ_Brain left
|
|||
moritz | bbi1d, have a good 2013 everybody! | 15:53 | |
15:53
xinming_ joined
15:56
xinming left
|
|||
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» | ||
gfldex | are operators supposed to be allowed as macros? | 15:57 | |
16:01
denisboyun_ joined
|
|||
grondilu | r: macro infix:[<-]($a, $b){ say 3 }; 1 <- 2; | 16:04 | |
p6eval | rakudo 13e805: OUTPUT«===SORRY!===Unable to parse expression in quote words; couldn't find final '>'at /tmp/45jHeGuUG4:1------> cro infix:[<-]($a, $b){ say 3 }; 1 <- 2;⏏<EOL> expecting any of: colon pair array composer … | ||
grondilu | r: macro infix:«<-»($a, $b){ say 3 }; 1 <- 2; | ||
p6eval | rakudo 13e805: OUTPUT«3===SORRY!===too few positional arguments: 2 passed, 3 (or more) expected» | ||
grondilu | r: macro infix:«test»($a, $b){ say 3 }; 1 test 2; | ||
p6eval | rakudo 13e805: OUTPUT«3===SORRY!===too few positional arguments: 2 passed, 3 (or more) expected» | ||
grondilu | iirc this used to work | 16:05 | |
16:07
denisboyun_ left,
denisboyun_ joined
|
|||
gfldex | i will ask masak about it ... next year :) | 16:09 | |
16:16
Targen_ joined
16:21
JJ_Brain joined
16:26
JJ_Brain left,
PacoAir joined
16:32
REPLeffect joined
16:58
JJ_Brain joined
17:03
JJ_Brain left
17:07
denisboyun__ joined,
nyuszika7h joined,
denisboyun_ left
|
|||
grondilu | when is next years for u guys? For me it's in 6 hours. | 17:10 | |
[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
17:42
zby_home_ joined
17:45
hbg joined
17:48
hbg left
17:59
rindolf left,
rindolf joined
18:05
werwerwer left
18:10
arkydo_ joined
18:12
arkydo left
18:15
bapa left
|
|||
[Coke] gets back to the jvm stuff and finds that eclipse has reformatted all of jnthn++'s files. bad eclipse. | 18:20 | ||
18:22
bapa joined
18:29
fgomez joined
|
|||
doy | r: class Foo { method bar (Foo $foo is alias:) { } } | 18:50 | |
p6eval | rakudo 13e805: OUTPUT«===SORRY!===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, … | ||
doy | hmmm | 18:51 | |
r: say class Foo { method bar (Foo $foo is alias:) { } } | |||
p6eval | rakudo 13e805: OUTPUT«===SORRY!===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, … | ||
doy | that's producing a null pmc access for me locally | ||
paste.tozt.net/2012-12-31oDyN8Mcu | |||
18:53
fgomez left
19:13
Chillance left
19:14
Chillance joined
19:24
GlitchMr left
|
|||
FROGGS | r: class Foo { method bar (Foo $foo is alias:) { } } | 19:30 | |
p6eval | rakudo 13e805: OUTPUT«===SORRY!===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 left,
rindolf joined
|
|||
rindolf | Hi all. Happy new (civil) year. | 19:43 | |
What's up? | |||
20:03
adam7504 joined
20:13
adam7504 left
20:16
GlitchMr joined
20:19
REPLeffect left
|
|||
doy | hmmm | 20:45 | |
how does CANDO work? | |||
the synopsis isn't very clear | 20:46 | ||
and there don't appear to be any spectests for it | |||
is there anything else i can look at? | 20:47 | ||
20:47
nyuszika7h left
20:48
nyuszika7h joined
|
|||
rindolf | NOCANDO. | 20:51 | |
20:55
SamuraiJack left
21:00
Kharec left
21:05
tcpr1347 left
|
|||
doy | hmmm | 21:23 | |
is there a way to lie about type checks | 21:26 | ||
21:33
rindolf left
21:34
rindolf joined
|
|||
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:44 | |
21:45
arkydo_ left
21:51
bluescreen10 left
21:53
rindolf left,
rindolf joined
21:56
fgomez joined
21:59
JJ_Brain joined
22:04
GlitchMr left
22:08
fgomez left
22:15
fgomez joined
|
|||
[Coke] | nqp: say($*OS); | 22:18 | |
p6eval | nqp: OUTPUT«» | ||
[Coke] | nqp: say($*EXECUTABLE_NAME); | ||
p6eval | nqp: OUTPUT«» | ||
[Coke] | nqp: say($*PID); | ||
p6eval | nqp: OUTPUT«» | ||
22:19
rindolf left
|
|||
[Coke] | How can I tell if I'm on windows from nqp? | 22:19 | |
22:19
rindolf joined
|
|||
[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 | |
22:20
fgomez left
|
|||
[Coke] | masak: ^^ | 22:20 | |
nqp: say(run('uname')); | 22:21 | ||
p6eval | nqp: OUTPUT«Could not find sub &runcurrent instr.: '' pc 46 ((file unknown):38) (/tmp/xwzLMBpeak:1)» | ||
[Coke] | I'll just use parrot_config for now. | 22:24 | |
22:27
fgomez joined
22:30
JJ_Brain left
|
|||
[Coke] | nqp: say(pir::interpinfo__Si(30)); | 22:35 | |
p6eval | nqp: OUTPUT«linux» | ||
[Coke] | anyone have a windows box and can tell me what that says for them? | 22:36 | |
FROGGS | I can tell you in about 10 hours, must go to bed and then install rakudo | 22:40 | |
gnight | 22:41 | ||
22:42
JJ_Brain joined
|
|||
JJ_Brain | Happy New Year! | 22:42 | |
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:44 | ||
22:47
ilogger2 joined,
ChanServ sets mode: +v ilogger2,
_sri joined,
groky joined,
rking joined
|
|||
[Coke] gets "make test" to work on non-windows for nqp-jvm-prep. | 22:48 | ||
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 | ||
(it looks like when I hit "pull request" it wants to include all of them.) | |||
ah, if I go to the commit first, that helps. | 22:55 | ||
dalek | rl6-roast-data: e356a35 | coke++ | / (3 files): today (automated commit) |
22:56 | |
perl6-roast-data: c13106b | coke++ | / (3 files): | |||
perl6-roast-data: today (automated commit) | |||
22:56
dalek joined,
ChanServ sets mode: +v dalek
23:06
Pleiades` joined
23:23
JJ_Brain joined
23:24
JJ_Brain left
|
|||
[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» | ||
[Coke] | masak: ^^ | ||
sorear | that's expected, itsn't it? | 23:34 | |
gcd_i isn't an instruction so imcc thinks it must be a function call | |||
the parser and emitter get out of sync, hilarity ensues | |||
23:36
JJ_Brain joined
|
|||
doy | r: class Foo { }; my $class = Foo; class Bar is $class { } | 23:37 | |
p6eval | rakudo 13e805: OUTPUT«===SORRY!===Unable to parse class definitionat /tmp/TWvDMcLsqL:1------> Foo { }; my $class = Foo; class Bar is ⏏$class { } expecting any of: postfix infix or meta-infix infix stopper state… | ||
doy | how do i do this? | ||
23:37
JJ_Brain left
|
|||
[Coke] | sorear: ah, was hoping for a more friendly error, | 23:39 | |
sorear: where is nqp's gcd op? (trying to implement github.com/jnthn/nqp-jvm-prep/blob...cs/LHF.md) | |||
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)» | ||
[Coke] kills some LHF from the nqp-jvm-prep file for jnthn++ | 23:51 | ||
23:54
JJ_Brain joined
|