»ö« 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 sorear on 25 June 2013. |
|||
00:03
kurahaupo_ joined
00:05
kurahaupo left,
kurahaupo_ is now known as kurahaupo
00:06
kurahaupo left
00:12
Psyche^ joined
|
|||
lue | .ask jnthn is there a technical reason the NQP Configure[VM].pl files aren't folded into one Configure.pl file, or is just a case of priorities? | 00:14 | |
yoleaux | lue: I'll pass your message to jnthn. | ||
00:16
Psyche^_ left
00:26
fuad left
00:28
xinming left
00:29
xinming joined
00:35
SmokeMachine left
00:37
ivanshmakov left
00:56
rpr223 joined
01:04
ivanshmakov joined
|
|||
diakopter | lue: Yes we would like to merge them.. | 01:05 | |
01:06
benabik left
01:22
benabik joined
01:25
FROGGS_ joined
01:28
FROGGS left
01:31
BenGoldberg joined
01:45
colomon left,
SmokeMachine joined
01:46
ivanshmakov left
01:47
ivanshmakov joined
01:48
xenoterracide__ left
01:59
ivanshmakov left
02:00
retupmoca joined,
ivanshmakov joined
02:03
btyler joined
02:06
colomon joined
02:14
ivanshmakov left
02:18
ivanshmakov joined
02:33
ivanshmakov left
02:35
ivanshmakov joined
02:42
retupmoca left,
sizz_ joined,
sizz left
02:51
ivanshmakov left
02:53
retupmoca joined
02:54
xenoterracide__ joined
02:56
ivanshmakov joined
02:59
cognominal left
03:11
colomon left
03:14
ivanshmakov left
03:16
colomon joined
03:22
ivanshmakov joined
03:24
zakharyas joined
03:49
preflex_ joined,
ChanServ sets mode: +v preflex_
03:50
preflex left,
preflex_ is now known as preflex
|
|||
retupmoca | I can't get panda to bootstrap with rakudo 2013.09: gist.github.com/retupmoca/6957964 | 03:52 | |
I'm just running ./bootstrap.pl - should I be doing something different? | |||
dalek | rl6-roast-data: 711a2a8 | coke++ | / (2 files): today (automated commit) |
03:56 | |
04:08
ivanshmakov left
04:14
ivanshmakov joined
|
|||
[Coke] | nqp: say(nqp::index("this", "h+", 1)); | 04:16 | |
camelia | nqp: OUTPUT«-1» | ||
[Coke] | nqp: say(nqp::index("this", "h", 1)); | 04:17 | |
camelia | nqp: OUTPUT«1» | ||
[Coke] | nqp: say(nqp::index("this", "h", 1,2,3,4,5,6)); | ||
camelia | nqp: OUTPUT«Error while compiling block : Error while compiling op call (source text: "nqp::index(\"this\", \"h\", 1,2,3,4,5,6)"): Error while compiling op index (source text: "nqp::index(\"this\", \"h\", 1,2,3,4,5,6)"): Error while compiling op indexfrom: Operation 'indexfrom' requ…» | ||
[Coke] | nqp-jvm: say(nqp::index("this", "h", 1,2,3,4,5,6)); | ||
camelia | nqp-jvm: OUTPUT«Operation 'indexfrom' requires 3 operands in (src/stage2/gen/QAST.nqp:319) in (src/stage2/gen/QAST.nqp:227) in compile_op (src/stage2/gen/QAST.nqp:227) in as_jast (src/stage2/gen/QAST.nqp:3683) in as_jast (src/stage2/gen/QAST.nqp:2958) in (…» | ||
BenGoldberg | nqp-jvm: say(nqp::index("this", "h", (1,2,3,4,5,6))); | 04:19 | |
camelia | nqp-jvm: OUTPUT«-1» | ||
BenGoldberg | Parens help :) | ||
nqp-m: say(nqp::index("this", "h", 1,2,3,4,5,6)); | 04:20 | ||
camelia | nqp-moarvm: OUTPUT«Bytecode validation error at offset 22, instruction 4:register operand index 50 out of range 0..9» | ||
BenGoldberg | :( | ||
[Coke] | that seems LTA, but I think in previous cases, the answer has been "don't do that, then." | 04:22 | |
[Coke] wonders why the asymmetry between index and rindex opcodes in nqp. | 04:23 | ||
04:29
ivanshmakov left
04:30
ivanshmakov joined
|
|||
dalek | p: 50407c1 | coke++ | docs/ops.markdown: document more opcodes. |
04:41 | |
[Coke] | updated gist.github.com/coke/6799633 | 04:43 | |
04:48
ivanshmakov left
04:49
ivanshmakov joined
|
|||
[Coke] asks folks to pick an op from that gist and write up a sentence on what it does so I can throw that into the docs. Danke. | 04:52 | ||
05:08
ivanshmakov left
05:10
ivanshmakov joined
05:31
ivanshmakov left
05:33
ivanshmakov joined
05:41
varna joined
|
|||
dalek | p: 67d8988 | moritz++ | docs/ops.markdown: [opcode docs] harmonize header levels |
05:47 | |
p: 68d0dbd | moritz++ | docs/ops.markdown: [doc] document nqp::getattr |
|||
05:47
darutoko joined
|
|||
dalek | p: a6a00f1 | moritz++ | docs/ops.markdown: [docs] document nqp::bindattr |
05:53 | |
05:54
ivanshmakov left
05:55
ivanshmakov joined
|
|||
moritz | nqp: nqp::call(say, 42, 'foo') | 05:55 | |
camelia | nqp: OUTPUT«invoke() not implemented in class 'NQPMu'current instr.: '' pc 99 ((file unknown):41511373) (/tmp/YRFI0So5pv:1)» | ||
moritz | nqp: nqp::call(&say, 42, 'foo') | ||
camelia | nqp: OUTPUT«42foo» | ||
moritz | nqp: say(nqp::can(42, 'foo')) | 05:57 | |
camelia | nqp: OUTPUT«0» | ||
moritz | nqp: say(nqp::can(NQPMu, 'bless')) | 05:58 | |
camelia | nqp: OUTPUT«1» | ||
dalek | p: a7d7169 | moritz++ | docs/ops.markdown: [docs] document nqp::create, correct nqp::can docs |
05:59 | |
moritz | nqp: my $x; nqp::bind($x, '42'); say $x | 06:02 | |
camelia | nqp: OUTPUT«Confused at line 2, near "say $x"current instr.: 'panic' pc 14748 (src/stage2/gen/NQPHLL.pir:5229) (src/stage2/gen/NQPHLL.nqp:279)» | ||
moritz | nqp: my $x; nqp::bind($x, '42'); say($x) | ||
camelia | nqp: OUTPUT«42» | ||
moritz | nqp: nqp::bind(42, 23) | ||
camelia | nqp: OUTPUT«Error while compiling block : Error while compiling op bind (source text: "nqp::bind(42, 23)"): First child of a 'bind' op must be a QAST::Varcurrent instr.: '' pc 55082 (src/stage2/QAST.pir:20123) (src/stage2/QAST.nqp:3316)» | ||
06:10
varna left
|
|||
dalek | p: 0cde6db | moritz++ | docs/ops.markdown: [docs] bind, callmethod |
06:11 | |
06:14
ivanshmakov left,
kaare_ joined
06:15
ivanshmakov joined
06:18
dwarring joined
06:35
btyler left
|
|||
moritz | oh my. Now I was about to write a small script which turns the ops.markdown into HTML, adds some meta info (version, where the file comes from) and run it periodically | 06:35 | |
and then I realized that github does that all for us already, and linking to github.com/perl6/nqp/blob/master/d...s.markdown is all it takes :-) | 06:36 | ||
[Coke] | moritz++: I've been documenting return value/exceptions based on java. If parrot is different, please mark the opcode as working differently across vms. (in which case we need to fix it.) | 06:38 | |
moritz++ for documenting things. Thanks! | |||
would create be better written as create(Type $type) ? | 06:39 | ||
(if it's not a type it throws an exception, I'm assuming. | |||
... and bed. moritz++ again. | |||
japhb__ | g'night, [Coke] | 06:40 | |
06:41
FROGGS[mobile] left
07:08
BenGoldberg left
07:09
aindilis left,
BenGoldberg joined
|
|||
woolfy | oO(over 30 minutes of quiet) | 07:11 | |
07:14
ssutch left
|
|||
moritz | [Coke]: there is no type named Type | 07:16 | |
nqp-jvm: say(nqp::can(NQPMu, 'bless')) | 07:17 | ||
camelia | nqp-jvm: OUTPUT«1» | ||
moritz | nqp-jvm: say(nqp::can(NQPMu, 'blerg')) | ||
camelia | nqp-jvm: OUTPUT«0» | ||
moritz | nqp: say(nqp::sha1('foo')) | 07:23 | |
camelia | nqp: OUTPUT«0BEEC7B5EA3F0FDBC95D0DD47F3C5BC275DA8A33» | ||
07:44
xenoterracide__ left
07:53
aindilis joined
07:56
Ben_Goldberg joined
07:57
BenGoldberg left
07:59
itz joined
08:09
kurahaupo joined,
kurahaupo left
|
|||
masak | aloha on this fine Sunday, com-p6ers. | 08:10 | |
08:12
FROGGS_ is now known as FROGGS
|
|||
FROGGS | morning | 08:13 | |
08:16
Rotwang joined
08:20
dansamo joined
08:32
aindilis left
08:36
aindilis joined
08:38
spider-mario joined
08:39
kurahaupo joined
08:44
kurahaupo left
08:56
xenoterracide__ joined
09:02
spider-mario_ joined,
spider-mario_ left,
spider-mario_ joined,
spider-mario left
09:03
spider-mario_ is now known as spider-mario
09:09
berekuk left,
dmol1 left
09:10
berekuk joined
09:16
dmol joined
09:28
wsri joined
09:29
SamuraiJack_ joined,
SamuraiJack_ left
09:33
grondilu joined
|
|||
dalek | nda: ae8936b | moritz++ | lib/Panda/Common.pm: remove deprecated * from bless |
09:36 | |
moritz | tadzik: seems like panda bootstrap is broken :( "build stage failed for Shell::Command: Failed building lib/Shell/Command.pm" without any visible error message before | 09:41 | |
arnsholt | jnthn: No objections to merging nativecall-jvm into master on my part | 09:45 | |
dalek | p: 72427c7 | (Tobias Leich)++ | / (11 files): update stage0, map bool_I and isbig_I, add bool_I's tests moritz++ |
09:54 | |
09:58
xenoterracide__ left
|
|||
dalek | p: d3790e8 | moritz++ | t/nqp/60-bigint.t: import bigint bool_I tests from moarvm/nqp-cc |
10:02 | |
p: fad34d4 | moritz++ | src/vm/moar/ (10 files): Merge branch 'master' of git://github.com/perl6/nqp |
|||
10:20
Ben_Goldberg left
10:27
Rotwang left
10:30
woolfy left
10:31
woolfy joined
10:32
cognominal joined
|
|||
diakopter | why can I never find the man-or-boy test written in nqp | 10:35 | |
10:36
denis_boyun joined
|
|||
moritz | because whoever wrote it didn't check it into nqp as a test, and put a 'This is the famous man-or-boy test' comment in front of it | 10:36 | |
then a simple 'git grep boy' would find it withing 2s | |||
diakopter | so.. where is it | 10:39 | |
nwc10 | um, I used google and the top hitis github.com/japhb/perl6-bench/blob/...r-boy-test | ||
diakopter | sure enough :) | 10:40 | |
except that's the slow one that creates $B needlessly most of the time | 10:41 | ||
oh I remember where I put it | |||
in the irclog | |||
nqp-m: sub A($k, $x1, $x2, $x3, $x4, $x5) { return $x4() + $x5() if $k <= 0; my $B := sub () { $k := $k - 1; return A($k, $B, $x1, $x2, $x3, $x4) }; return $B() }; sub K($n) { sub () { $n } }; my $s := nqp::time_n; say(A(18, K(1), K(-1), K(-1), K(1), K(0) )); say(nqp::time_n - $s); | 10:44 | ||
camelia | nqp-moarvm: OUTPUT«Bytecode validation error at offset 22, instruction 4:register operand index 50 out of range 0..9» | ||
diakopter | nqp-m: say(1) | ||
camelia | nqp-moarvm: OUTPUT«Bytecode validation error at offset 22, instruction 4:register operand index 50 out of range 0..9» | ||
diakopter | goo | ||
boo | |||
FROGGS | I guess it doesn't know that it needs to rebuild nqp | 10:45 | |
diakopter | ops | ||
oops | |||
diakopter hopes "someone else" fixes it before I get back from breakfast | 10:46 | ||
nqp: sub A($k, $x1, $x2, $x3, $x4, $x5) { return $x4() + $x5() if $k <= 0; my $B := sub () { $k := $k - 1; return A($k, $B, $x1, $x2, $x3, $x4) }; return $B() }; sub K($n) { sub () { $n } }; my $s := nqp::time_n; say(A(18, K(1), K(-1), K(-1), K(1), K(0) )); say(nqp::time_n - $s); | 10:49 | ||
camelia | nqp: OUTPUT«maximum recursion depth exceededcurrent instr.: '' pc 296 ((file unknown):74239404) (/tmp/aJmEIZJ8f7:1)» | ||
diakopter | nqp: sub A($k, $x1, $x2, $x3, $x4, $x5) { return $x4() + $x5() if $k <= 0; my $B := sub () { $k := $k - 1; return A($k, $B, $x1, $x2, $x3, $x4) }; return $B() }; sub K($n) { sub () { $n } }; my $s := nqp::time_n; say(A(15, K(1), K(-1), K(-1), K(1), K(0) )); say(nqp::time_n - $s); | 10:50 | |
camelia | nqp: OUTPUT«maximum recursion depth exceededcurrent instr.: '' pc 296 ((file unknown):52624812) (/tmp/BLAU0XeTal:1)» | ||
10:51
pecastro joined
10:59
pecastro left
11:03
SamuraiJack_ joined
11:06
pecastro joined,
denis_boyun left
|
|||
diakopter | WOW man-or-boy spends >51% of its time in the GC at input 18 | 11:08 | |
*awesome* GC optimization opportunity | |||
masak | sounds like. | 11:21 | |
who knew man-or-boy would be useful in so many ways? :) | |||
the "Heisenberg's uncertainty joke" needs its own joke category: twitter.com/patrickdijusto/status/...8175483905 | 11:31 | ||
jnthn | afternoon, #perl6 | 11:33 | |
yoleaux | 00:14Z <lue> jnthn: is there a technical reason the NQP Configure[VM].pl files aren't folded into one Configure.pl file, or is just a case of priorities? | ||
02:23Z <JimmyZ> jnthn: I got another backstrace: gist.github.com/zhuomingliang/6957379 | |||
jnthn | Sadly, those backtraces are largely useless for finding the actual problem... | 11:34 | |
diakopter | erm | ||
jnthn | (Since it tends to have gone wrong a while back) | ||
diakopter | why does one view show 51% in the gc | 11:35 | |
but another view shows only 8% | |||
jnthn | diakopter: lies, dammed lies, statistics? :) | 11:37 | |
dalek | p: 6aba3c2 | (Tobias Leich)++ | src/vm/moar/QAST/QASTRegexCompilerMAST.nqp: remove useless condition, BenGoldberg++ |
11:39 | |
jnthn | arnsholt: merging | 11:41 | |
BenGoldberg++ # nice catch | 11:43 | ||
11:44
rafl joined,
xinming left
|
|||
dalek | Heuristic branch merge: pushed 23 commits to nqp by jnthn | 11:44 | |
11:45
xinming joined
|
|||
jnthn | Gee, we've been keeping busy. 218 commits to the NQP repo sice the last monthly release... | 11:47 | |
dalek | kudo/nom: e22ac2a | jnthn++ | tools/build/NQP_REVISION: Get an NQP with basic NativeCall support for JVM. Also has a fix that lets us write NativeCall's array stuff in a way that is more portable between backends. |
11:52 | |
volaj: eeee9aa | jnthn++ | lib/NativeCall.pm6: Use standard nqp::atpos ops. These are now supported properly on 6model array REPR things on Parrot also. |
11:53 | ||
jnthn | eeee! | ||
arnsholt: OK, all done. Happy hacking ;-) | 11:54 | ||
11:56
xinming left,
kaare_ left
12:01
xinming joined
12:15
FOAD left
12:16
FOAD joined
12:17
woosley1 joined,
woosley1 left
|
|||
GlitchMr | rn: my Int $int = 7; if 0 { $int.Qet } | 12:44 | |
camelia | ( no output ) | ||
GlitchMr | It would be nice if error reporting would exist here. | ||
jnthn | GlitchMr: that's hard to do in general | 12:48 | |
GlitchMr: Because what if you did an augment elsewhere, etc. | |||
GlitchMr | hm, right | ||
12:54
colomon left
12:55
SamuraiJack_ left
12:57
colomon joined
13:01
pernatiy left
|
|||
tadzik | moritz: hmm, I'll take a look at it | 13:02 | |
(hello #perl6) | |||
jnthn | o/ tadzik | 13:04 | |
hoelzro | ahoy tadzik | 13:05 | |
masak | GlitchMr: methods are late-bound. very different from subs. | ||
13:06
Rotwang joined
|
|||
masak | "Any sufficiently analyzed magic is indistinguishable from SCIENCE!" www.girlgeniusonline.com/comic.php?date=20081205 | 13:10 | |
Rotwang | I like all the characters have oversized breasts | 13:12 | |
13:14
pernatiy joined
|
|||
masak | didn't even think of that. | 13:14 | |
13:15
colomon left
13:22
colomon joined
|
|||
dalek | p: fb2dbb0 | jnthn++ | src/vm/moar/QAST/QASTOperationsMAST.nqp: Map hllize/hllizefor on MoarVM. |
13:26 | |
13:31
spider-mario left
13:35
spider-mario joined
|
|||
dalek | kudo/moar-support: cc02954 | jnthn++ | .gitignore: Add .moarvm to .gitignore. |
13:39 | |
kudo/moar-support: 2461a84 | jnthn++ | src/vm/moar/Perl6/Ops.nqp: Stub a Perl6::Ops. It's mostly a commented out version of the JVM one. Need to get the extops infrastructure in place to start filling this out. |
|||
13:42
iSlug joined
13:44
iSlug left
13:48
aindilis left
13:51
kaare_ joined
13:54
denis_boyun joined
14:14
PacoAir joined
|
|||
arnsholt | jnthn: Cheerio! | 14:20 | |
14:21
dmol left
14:22
zakharyas left
|
|||
jnthn | :) | 14:26 | |
arnsholt | jnthn: I get 8 failed tests in file-ops.t and one in jvm/02-pipes.t, that expected? | 14:27 | |
14:29
ajr joined,
ajr is now known as Guest64741
|
|||
jnthn | arnsholt: Think I've seen those too | 14:29 | |
I'd thought they were Windows-specific though... | 14:30 | ||
arnsholt | And it looks like make install on JVM doesn't work properly here | 14:32 | |
Can't run NQP from outside my nqp directory | |||
Oh, right. I have to run nqp/install/bin/nqp, not nqp/nqp | 14:34 | ||
14:35
skids left
|
|||
hoelzro | jnthn: do you have a TODO list for Mokudo? | 14:37 | |
timotimo | roarkudo | ||
hoelzro | hmm | 14:38 | |
that's tough. | |||
arnsholt | I guess Mokudo should be the name during Movember, and Roarkudo the rest of the year =) | ||
jnthn | hoelzro: Get the compiler to build, get extops in place, get the MOP to build, get the bootstrap to build... :) | 14:39 | |
hoelzro: Though at the moment Actions seems to get miscompiled | |||
timotimo | i still have no clue why i can't build nqp on moar; there's some misparse going on | 14:40 | |
jnthn | timotimo: Yeah, that's osme kind of memory corruption bug | 14:41 | |
timotimo | most probably | ||
oh, hold on | 14:42 | ||
something changed | |||
false alarm, i'm still suffering from the bug | 14:43 | ||
[Coke] | moritz: I know there is no type named type. Please read the top of the docs file. if you want to rework everything to use real perl6 types and signatures, that's fine. | ||
arnsholt | jnthn: Did you try to run the Zavolaj test suite using Rakudo/JVM? | 14:44 | |
jnthn | arnsholt: No, I just ran the win32 API call example | ||
arnsholt | 'k | ||
jnthn | arnsholt: Trouble with the test suite is that it needs a C compiler, iirc | ||
arnsholt | Yep | 14:45 | |
jnthn | timotimo: Compiler? GCC? | ||
arnsholt | I just realized =) | ||
timotimo | yes, gcc | ||
gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 | |||
arnsholt | Previously we've been able to get cc and friends from $*VM<config>, but that's not set on JVM, of course >.< | 14:46 | |
jnthn | timotimo: How good are you with gdb? | 14:47 | |
timotimo | i can sort of kind of handle it | ||
i don't have much experience, but i kind of know what commands exist | |||
jnthn | Do you know how to set breakpoints? | 14:48 | |
timotimo | yes | ||
i just need to know where ;) | |||
diakopter | timotimo: have you tried completely separate/fresh clones? | ||
timotimo | i can try that, sure | 14:49 | |
jnthn | OK, the way I'm looking into these is putting a breakpoint on the first statement in orchestrate.c:run_gc | ||
line 262 or so | |||
diakopter | "these"? | ||
jnthn | This will break every time we are doing a GC run | ||
diakopter: missing MVMROOT | |||
diakopter | Rotwang: welcome to comics? | 14:50 | |
Rotwang: erm, art in general? | |||
JimmyZ | timotimo: I got the same errot | ||
*error | |||
jnthn | timotimo: If when it stops there you bt, you'll see where we are at that point in time | ||
colomon | diakopter, Rotwang: certainly Phil Foglio comics, at any rate... | ||
hoelzro | hmm | ||
Moar NQP takes 2GB to build? | 14:51 | ||
diakopter | until yesterday | ||
jnthn | hoelzro: Only if you haven't updated your Moar recently :) | ||
hoelzro: If you have it will max out at 160MB or so :) | |||
We fixed a, uh, leak. :) | |||
hoelzro | I just updated Moar =/ | ||
colomon | \o/ | ||
hoelzro | hmm | ||
nvm | |||
jnthn | Did you make install it to the place your NQP is looking? | ||
hoelzro | moar commits! | ||
timotimo | on host07 i can't build the nqp either, but i can debug that later | 14:52 | |
diakopter | timotimo: what are your exact configure lines | 14:53 | |
timotimo | perl Configure.pl for moar and perl ConfigureMoar.pl --prefix=../ for nqp | 14:54 | |
actually --prefix=. for moar and ../ for nqp | |||
diakopter | but.. | 14:55 | |
you have nqp checked out under moar? | |||
timotimo | yes | ||
diakopter | under "nqp"? | ||
oh | 14:56 | ||
timotimo | yes | ||
diakopter | your problem is you need to install somewhere other than the root of moar | ||
timotimo | jnthn: i've set up the break point, but i'm not sure what i should be looking for | ||
i ... do? | |||
hoelzro | hmm | 14:57 | |
diakopter | yes, try ../install for moar and ../../install for nqp | ||
jnthn | diakopter: I'm not sure that's a huge problem, fwiw | ||
diakopter: At lesat, I can't think waht it breaks... | |||
diakopter | it's overwriting under lib/ I think | ||
jnthn | oh... | ||
yeah, point | |||
timotimo | trying with a separate prefix now | ||
i still get that error | |||
diakopter | what error, with what command | 14:58 | |
timotimo | Starting program: /home/timo/build/MoarVM/nqp/install/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --module-path=src/stage1 --setting-path=src/stage1 --setting=NQPCORE --no-regex-lib --target=mbc --output=src/stage1/QAST.moarvm src/stage1/gen/QAST.nqp | ||
hoelzro | yay! | ||
diakopter | paste the configure and make lines | ||
timotimo | Routine declaration requires a signature at line 4107, near "(MAST::Nod" | ||
hoelzro | memory usage is better =) | ||
14:58
skids joined
|
|||
timotimo | moar: perl Configure.pl --prefix=nqp/install && make all install | 14:59 | |
nqp: perl ConfigureMoar.pl --prefix=install && make all | |||
camelia | nqp: OUTPUT«Confused at line 2, near "perl Confi"current instr.: 'panic' pc 14748 (src/stage2/gen/NQPHLL.pir:5229) (src/stage2/gen/NQPHLL.nqp:279)» | ||
timotimo | hehe | ||
diakopter | what OS is this? | ||
and what compiler? | |||
15:00
LlamaRider joined
|
|||
timotimo | this is linux mint based on ubuntu, the compiler is a gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 | 15:00 | |
diakopter | 32-bi or 64-bit | 15:01 | |
can you try fresh checkouts that aren't under each other and aren't installing to each other's directories? | |||
15:01
cognominal left
|
|||
timotimo | 64bit | 15:02 | |
[Coke] | moritz++ # docbugfixing | ||
timotimo | the checkouts were fresh. i'll make new ones completely separately | 15:03 | |
diakopter | also, is there an nqp in your path? | 15:05 | |
(shouldn't be) | |||
timotimo | there is a parrot nqp in my path | ||
making the prefix completely separate seems to have helped | 15:06 | ||
i get a working nqp from that | 15:08 | ||
diakopter | yay | ||
timotimo | that's an annoying way to break :( | ||
hoelzro | anyone have a ConfigureMoar.pl for Rakudo? | ||
diakopter | jnthn has a moar-support branch | 15:09 | |
hoelzro | ah, I should've thought to look at branches, thanks! | 15:10 | |
is building Rakudo with Moar supposed to segfault? | 15:13 | ||
I mean, is that common? | |||
jnthn | hoelzro: We've only had a ConfigureMoar for like, 48 hours, and it's only got further than the 2nd file for me in the last 3 hours :) | 15:14 | |
hoelzro: So we've no idea what's common yet. | |||
hoelzro | ok, just checking | ||
jnthn | You're probably the second person after me to try this... | ||
Where does it segv? | |||
hoelzro | /home/rob/.mokudo/bin/nqp --target=mbc --output=blib/Perl6/Actions.moarvm --encoding=utf8 \ src/Perl6/Actions.nqp | ||
jnthn | I don't get a segfault, but I do get bad output. | ||
Ah, that file mis-compiles for me (resulting bytecode is wrong) | |||
hoelzro | I'm trying to see if I can figure out what needs to be done | 15:15 | |
jnthn | Can you get a backtrace? | ||
hoelzro | lemme try | ||
jnthn | thanks | ||
hoelzro | gist.github.com/hoelzro/6963437 | 15:18 | |
jnthn | wow, that's a new one... | 15:19 | |
moritz | (for anybody who likes table tennis: www.laola1.tv/de-de/live/ws-final-l...38654.html live stream of European finals) | ||
Sweden vs. Germany | 15:20 | ||
[Coke] | is Mu:U sufficient to say "object represents a type" ? is "Mu:T" better, or does literally mean Mu's Type? | 15:23 | |
moritz | :T is actually better | 15:24 | |
Int:U Allow only undefined (abstract or failure) Int values | |||
Int:T Allow Int only as a type object | |||
is what S12 says | |||
so, I was wrong. | |||
[Coke] | Ok. so I'll push an update to the doc file that replaces Any with Mu, and replaces Type with Mu:T | 15:28 | |
tadzik | I'm amused how she can throw a ball so high, and yet perfectly upwards | 15:29 | |
masak loves the fact that the hanzi for "ping pong" are 乒乓 | 15:30 | ||
tadzik | : | ||
:D | |||
arnsholt | =D | 15:31 | |
What's the reading of those characters? | |||
masak | apparently, Chinese borrowed the term from English, not the other way around. | ||
arnsholt: I'm on it. | |||
they must be relatively new, at least in this meaning. | 15:32 | ||
arnsholt: or, you mean the pronunciation? it's PING1 PANG1. | |||
I'm getting nothing useful about either the character etymology or the constituent parts. | 15:33 | ||
which increases the prior that they're constructed completely custom for the sport. | 15:34 | ||
arnsholt | Indeed | 15:35 | |
Neat that they made up characters to mirror the sound! | |||
masak | yeah, that's what fascinates me about them. to me, those characters really *look* like "ping pang" :) | 15:36 | |
15:37
rindolf joined
15:47
Rotwang left
|
|||
JimmyZ | That's onomatopoeia in chinese | 15:52 | |
It's most about hieroglyphic or onomatopoeia | 15:54 | ||
masak | if by "it" you mean hanzi, allow me to respectfully disagree. most hanzi are radical+sound pairs. | 15:58 | |
16:01
hummeleB1 joined
16:03
Rotwang joined
|
|||
dalek | p: 391db37 | coke++ | t/docs/opcodes.t: Refactor. Pull code into subs, use keys instead of top level vars. Improve error reporting so that undocumented opcodes appear only once as errors no matter how many vms they are undocumented for. |
16:04 | |
[Coke] | gist.github.com/coke/6799633 is updated - now more accurately reporting 217 failures in opcode docs. (each opcode can only be undoc'd once, no matter how many vms you implement it on) | 16:08 | |
it also gives a much better view of which opcodes are currently vm specific. | 16:09 | ||
moritz: do you agree that Mu is a better option for "any type" in the opcode docs than Any? | 16:10 | ||
masak | [Coke]: depends if you're a local variable or a parameter, I think. | 16:11 | |
16:11
iSlug joined
|
|||
masak | r: my $x; say $x.^name | 16:12 | |
camelia | rakudo e22ac2: OUTPUT«Any» | ||
masak | r: sub foo($x?) { say $x.^name }; foo | 16:13 | |
camelia | rakudo e22ac2: OUTPUT«Any» | ||
masak | hm, guess not. | ||
r: class A { has $.x }; say A.x.^name | |||
camelia | rakudo e22ac2: OUTPUT«Cannot look up attributes in a type object in method x at src/gen/CORE.setting:2657 in block at /tmp/LFFbD5kPAd:1» | ||
masak | r: class A { has $.x }; say A.new.x.^name | ||
camelia | rakudo e22ac2: OUTPUT«Any» | ||
masak | r: my %h; say %h<x>.^name | 16:14 | |
camelia | rakudo e22ac2: OUTPUT«Any» | ||
16:15
daniel-s left,
daniel-s joined
|
|||
masak | [Coke]: looks like everything I can think of defaults to Any. | 16:15 | |
[Coke] | masak: that's r, not nqp. | 16:17 | |
sorry, this was in the context of nqp's docs/op.markdown | |||
dalek | p: b0e8901 | coke++ | docs/ops.markdown: Improve type declarations to follow perl6 rules. Any -> Mu Type (not even a real thing) -> Mu:t Minor rename of some argnames for consistency. moritz++ |
||
[Coke] | And I just pulled the trigger anyway. <sheepish grin> | ||
16:18
ivanshmakov left
16:19
benabik left
|
|||
masak | [Coke]: oh, ok. | 16:19 | |
[Coke] | ^^ says :t , but is really :T | ||
Ok. only 176 opcodes left to document. ;) | 16:20 | ||
16:23
ivanshmakov joined
16:24
xinming left
16:25
xinming joined
16:26
benabik joined
16:28
ivanshmakov left,
btyler joined
|
|||
TimToady | mokudo would be the way of wood/tree, or the way of the eye, or the way of silence | 16:37 | |
not sure any of those are quite right... | 16:38 | ||
well MO 模 means "pattern", MO 茂 means "grow thickly", and there are a bunch of KU possibilities | 16:43 | ||
masak thinks of en.wikipedia.org/wiki/The_Mikado | 16:46 | ||
16:47
denis_boyun left
|
|||
TimToady | 九 nine; 口 mouth, opening; 工 work; 宮 palace, shrine, prince; 苦bitter; 区 ward, section; 功 merit, service; 久 long time, lasting; 句 phrase, clause; 供offer, attendant; 紅red, crimson, rouge; 駆 gallop, spur on; 貢 tribute | 16:48 | |
but only 区 ward, section; 句 phrase, clause; and 駆 gallop, spur on are unambiguously KU; the rest can be KYUU or KOU or such, so might not read as well to a native speaker | 16:53 | ||
masak | "way of the wood gallop" :P | ||
sounds uncomfortable. | |||
TimToady | no, wood is already 'moku' | ||
masak | oh. | ||
TimToady | was just thinking of KUs that coulld go with MOs | 16:54 | |
pattern ward, or grow-thickly phrase :) | |||
masak | in Mandarin, KU1 哭 means "cry". | ||
TimToady | either of those is kinda okay | ||
pattern gallop is nice | |||
masak | I like "pattern ward" because I don't really know what that would be. | ||
TimToady | it's where the padded walls have designs on them | 16:55 | |
16:55
cognominal joined
|
|||
masak | :P | 16:55 | |
I typed "mokudou" into Google Translate's Chinese translit, and it gave me 魔窟都 -- "pandemonium all". | 16:56 | ||
I doubt that's very grammatical, though. | |||
TimToady | but most suitable :) | 16:57 | |
masak | 魔窟 translates to "den", "cave" or (apparently) "pandemonium". | ||
16:58
ssutch joined
|
|||
TimToady | 哭 can be used in Japanese, but apparently is pronounced KOKU | 16:58 | |
masak | looks like "two mouths like a dog" :) | 16:59 | |
TimToady | a dog howling with the power of two mouths, more likely :) | ||
masak | right. | ||
"bawl" | |||
TimToady | anyway, we don't have a single gloss for anything in English, so no reason it has to be only one in Japanese or Chinese either :) | 17:01 | |
TimToady likes the -kudo suffix in a punny way | |||
we have lots of kudos :) | 17:02 | ||
masak | haha | ||
TimToady | ra ra ra | ||
masak | someone should build a VM called Kudo, so that we can talk about porting Rakudo to it and calling it Kudokudo. | ||
TimToady | Three cheers for the Sun God / He sure is a fun god / Ra! Ra! Ra! | 17:03 | |
masak | hu-ra, hu-ra, hu-ra! | 17:04 | |
TimToady | there's no kudo.com, but there is a kudo.com | 17:05 | |
er, org | |||
:2nd | 17:06 | ||
17:06
imarcusthis- left
|
|||
TimToady | nr: my &foo = -> $x? { say $x.^name }; foo | 17:20 | |
camelia | niecza v24-98-g473bd20: OUTPUT«Unhandled exception: Nominal type check failed in binding '' in 'ClassHOW.name'; got Mu, needed Any at /home/p6eval/niecza/lib/CORE.setting line 0 (ClassHOW.name @ 1)  at /tmp/wqqvQ0QvgD line 1 (ANON @ 4)  at /tmp/wqqvQ0QvgD line 1 (mainlin…» | ||
..rakudo e22ac2: OUTPUT«Mu» | |||
TimToady | rakudo has that one right | 17:21 | |
masak | oh, that's where Mu comes in. | 17:23 | |
TimToady | S02:1363 | ||
synopsebot | Link: perlcabal.org/syn/S02.html#line_1363 | ||
17:30
xenoterracide__ joined
|
|||
masak | TimToady: yes, but what's the reason it ended up taking Mu and not Any? I'm guessing it has something to do with autothreading, but I can't think what. | 17:36 | |
17:40
darutoko left
17:41
hummeleB1 left
17:43
dansamo left
17:44
spider-mario left
17:48
xinming left
17:50
xinming joined
17:54
BenGoldberg joined
17:59
isBEKaml joined
18:00
bbkr__ left
18:03
pmurias joined,
sqirrel joined
18:06
rindolf left
18:11
iSlug left
18:19
isBEKaml left
18:26
btyler left
18:30
cognominal left,
btyler joined
18:34
cognominal joined
18:39
BenGoldberg left
18:49
iSlug joined
18:53
btyler left
19:03
btyler joined
|
|||
LlamaRider | Not the most helpful error message out there: | 19:03 | |
19:03
cognominal left,
fgomez joined
|
|||
LlamaRider | You cannot create an instance of this type ( in method bless at src/gen/CORE.setting:797 ) | 19:03 | |
19:03
cognominal joined
|
|||
LlamaRider | not too sure if this regressed from my working Parrot backend (now trying out the JVM stuff) | 19:04 | |
FROGGS | hmmm | ||
maybe you try to instanciate a role? | |||
err, wait, this should work... you wasn't able to augment it | 19:05 | ||
LlamaRider | hm, there is something fishy. Instantiating an object cleanly just throws a warning: | 19:07 | |
perl6 -Ilib -e ' use XML::LibXML; my $parser = XML::LibXML.new(); ' | |||
19:07
fgomez left
|
|||
LlamaRider | Passing an object candidate to Mu.bless is deprecated | 19:07 | |
ah! | 19:11 | ||
seriously... compare the above to the next two broken examples: | |||
perl6 -Ilib -e ' my $parser = XML::LibXML.new(); ' | 19:12 | ||
Could not find symbol '&LibXML' | |||
... | |||
This error makes perfect sense. | |||
but then if I do: | |||
perl6 -Ilib -e 'use XML::LibXML::Common; my $parser = XML::LibXML.new(); ' | |||
You cannot create an instance of this type | |||
timotimo | does it autovivify XML::LibXML or something like that? | 19:13 | |
LlamaRider | it's almot empty | ||
it has two empty methods and no mention of any other classes | |||
almost* | |||
timotimo | try XML::LibXML::.keys | ||
LlamaRider | 'use XML::LibXML::Common; XML::LibXML::.keys.say ' | 19:14 | |
prints only a single key 'Common' | |||
ok, then it does create that stash | 19:15 | ||
I am still unhappy with the error message (though I am happy I figured out what was going on :-)) | 19:16 | ||
btw, does anyone know if zavolaj/NativeCall can now hook into values from XS? | 19:18 | ||
that was poorly phrased | |||
I have a commented out TODO that looks like: | |||
# class LIBXML_RUNTIME_VERSION is OpaquePointer is native('libxml2') is symbol('xmlParserVersion'); | |||
I remember stopping the LibXML port because of it some months back | 19:19 | ||
19:20
iSlug left
19:27
spider-mario joined
|
|||
FROGGS | timotimo: if you declare a package Foo::Bar::Baz, it must (sort of) stub Foo and Foo::Bar too | 19:27 | |
s/too// | |||
LlamaRider | Hm, NativeCall doesn't bill under the JVM backend. I suppose that was to be expected. | 19:29 | |
build* | |||
moritz | LlamaRider: just today jnthn did some nqü and NativeCall hacking that should make it build | ||
LlamaRider: but you actually a very fresh copy of rakudo + nqp | 19:30 | ||
LlamaRider | will update and try again, thanks! | ||
moritz | LlamaRider: though not all features work in the JVM version yet | 19:31 | |
19:39
sqirrel left
19:47
kaare_ left
19:49
LlamaRider left
19:50
iSlug joined
19:52
spider-mario left
|
|||
lue | hello world! o/ | 19:58 | |
19:59
itz_ joined
20:01
itz left
20:06
go|dfish left
20:07
LlamaRider joined,
LlamaRider left
|
|||
arnsholt | NativeCall HEAD should work with NQP and Rakudo HEAD | 20:13 | |
20:13
dmol joined
|
|||
arnsholt | The test suite won't run however, and it looks like I'll have to fiddle a bit with the nativecall bits in NQP to get it working properly | 20:13 | |
NativeCall on JVM at this point is only useful for those who want to hack on the nativecall internals in NQP/JVM | 20:14 | ||
20:19
bbkr__ joined
20:24
benabik left
20:28
Rotwang left
20:33
bruges_ left,
Guest64741 left
20:35
bruges joined
20:39
iSlug left
20:41
xinming left
20:43
xinming joined
20:54
ajr joined
20:55
ajr is now known as Guest71715,
Guest71715 is now known as ajr_
20:59
dmol left,
telex left
21:00
telex joined
21:26
silug_ left
21:31
xinming left
21:34
xinming joined
|
|||
dalek | p: 6fa6d36 | jnthn++ | src/vm/moar/QAST/QASTOperationsMAST.nqp: Map named lexical lookup ops. |
22:19 | |
p: 246aaae | jnthn++ | src/vm/moar/QAST/QASTCompilerMAST.nqp: Remove fossil. |
|||
22:23
xorp left
|
|||
grondilu | Off topic: after the GPU, here come the NPU (Neural Processing Unit) www.33rdsquare.com/2013/10/brain-in...lcomm.html | 22:30 | |
lue | .oO(The robot apocalypse has finally begun. Slowly, but surely.) |
22:45 | |
22:53
PacoAir left
22:56
benabik joined,
ajr_ left
23:11
xinming left
23:15
xinming joined
23:18
ajr joined,
ajr is now known as Guest84225
23:19
Guest84225 is now known as ajr_
|
|||
dalek | rl6-roast-data: f912eeb | coke++ | / (3 files): today (automated commit) |
23:23 | |
23:23
gshank left
23:50
dansamo joined
|