»ö« 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.
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.
diakopter lue: Yes we would like to merge them.. 01:05
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
[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
dalek p: 50407c1 | coke++ | docs/ops.markdown:
document more opcodes.
04:41
[Coke] updated gist.github.com/coke/6799633 04:43
[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
dalek p: 67d8988 | moritz++ | docs/ops.markdown:
[opcode docs] harmonize header levels
05:47
p: 68d0dbd | moritz++ | docs/ops.markdown:
[doc] document nqp::getattr
dalek p: a6a00f1 | moritz++ | docs/ops.markdown:
[docs] document nqp::bindattr
05:53
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::Var␤current instr.: '' pc 55082 (src/stage2/QAST.pir:20123) (src/stage2/QAST.nqp:3316)␤»
dalek p: 0cde6db | moritz++ | docs/ops.markdown:
[docs] bind, callmethod
06:11
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
woolfy oO(over 30 minutes of quiet) 07:11
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␤»
masak aloha on this fine Sunday, com-p6ers. 08:10
FROGGS morning 08:13
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
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
diakopter why can I never find the man-or-boy test written in nqp 10:35
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 exceeded␤current 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 exceeded␤current instr.: '' pc 296 ((file unknown):52624812) (/tmp/BLAU0XeTal:1)␤»
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
dalek Heuristic branch merge: pushed 23 commits to nqp by jnthn 11:44
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
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
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.
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
masak didn't even think of that. 13:14
dalek p: fb2dbb0 | jnthn++ | src/vm/moar/QAST/QASTOperationsMAST.nqp:
Map hllize/hllizefor on MoarVM.
13:26
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.
arnsholt jnthn: Cheerio! 14:20
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
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
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 =)
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?
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?
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
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
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
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␤»
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>
masak [Coke]: oh, ok. 16:19
[Coke] ^^ says :t , but is really :T
Ok. only 176 opcodes left to document. ;) 16:20
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
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
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".
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
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
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
LlamaRider Not the most helpful error message out there: 19:03
LlamaRider You cannot create an instance of this type ( in method bless at src/gen/CORE.setting:797 ) 19:03
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(); '
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
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
lue hello world! o/ 19:58
arnsholt NativeCall HEAD should work with NQP and Rakudo HEAD 20:13
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
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.
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
dalek rl6-roast-data: f912eeb | coke++ | / (3 files):
today (automated commit)
23:23