Perl 6 - the future is here, just unevenly distributed

IRC log for #moarvm, 2014-01-04

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

All times shown according to UTC.

Time Nick Message
02:07 [Coke] 182 test files aborted.
02:16 [Coke] started tracking failures here: https://gist.github.com/coke/8250608
02:16 [Coke] working on breaking that up into more useful bits.
02:38 benabik joined #moarvm
03:10 ssutch joined #moarvm
04:00 brother joined #moarvm
04:11 jnap joined #moarvm
05:11 jnap joined #moarvm
07:13 jnap joined #moarvm
07:40 [Coke] https://gist.github.com/coke/8250608 - tried to break it down by error, showing the # of aborted tests before the error, and the test files it impacts after.
07:40 [Coke] not quite a standalone script, but should help.
07:47 [Coke] biggest caused of aborted tests is : [1952] Cannot call method 'dispatch:<.^>' on a null object
07:47 [Coke] happens in, e.g. S02-magicals/args.t
07:59 colomon joined #moarvm
08:14 jnap joined #moarvm
09:29 Woodi joined #moarvm
09:29 ssutch joined #moarvm
09:29 benabik joined #moarvm
09:29 JimmyZ joined #moarvm
09:29 dagurval joined #moarvm
09:29 woolfy joined #moarvm
09:29 jnthn joined #moarvm
09:29 nwc10 joined #moarvm
09:29 eternaleye joined #moarvm
09:29 cognominal joined #moarvm
09:29 masak joined #moarvm
09:29 dalek joined #moarvm
09:29 retupmoca joined #moarvm
09:29 japhb_ joined #moarvm
09:29 sorear joined #moarvm
09:29 rurban joined #moarvm
09:29 timotimo joined #moarvm
09:29 ingy joined #moarvm
09:29 wsri joined #moarvm
09:29 lizmat joined #moarvm
09:29 lee__ joined #moarvm
09:29 camelia joined #moarvm
09:30 _sri joined #moarvm
09:30 flussence joined #moarvm
09:30 TimToady joined #moarvm
09:30 chipdude joined #moarvm
09:30 moritz joined #moarvm
09:30 rblackwe joined #moarvm
09:30 cxreg joined #moarvm
09:30 brother joined #moarvm
09:30 lue joined #moarvm
09:30 harrow joined #moarvm
09:30 FROGGS joined #moarvm
09:30 BinGOs joined #moarvm
09:35 arnsholt joined #moarvm
09:44 [Coke] joined #moarvm
09:44 tadzik joined #moarvm
09:53 ChanServ joined #moarvm
09:53 rblackwe joined #moarvm
09:53 colomon joined #moarvm
09:53 diakopter joined #moarvm
09:54 rblackwe joined #moarvm
10:15 jnap joined #moarvm
11:16 jnap joined #moarvm
12:08 colomon joined #moarvm
12:17 jnap joined #moarvm
13:18 jnap joined #moarvm
14:18 jnap joined #moarvm
14:29 ChanServ joined #moarvm
14:33 jnap joined #moarvm
15:46 nwc10 jnap: the torture code was itself buggy (not actually torturing)
15:46 nwc10 I believe that the bugs are now fixed, and NQP is being slowly tortured
15:46 nwc10 and Rakudo will follow
15:51 FROGGS nwc10: can you keep an eye on the uv__delete assertions? (i.e. if they still appear or not)
15:51 nwc10 had 5 in testing, but not sure what revision. I think last night's HEADs (with MoarVM stuff of mine added)
15:52 nwc10 both crap data in handle
15:52 nwc10 and assertion failures
15:52 FROGGS 67d6ba5 in moarvm fixes it for me...
15:53 dalek joined #moarvm
16:01 jnap joined #moarvm
16:04 jnap nwc10:  although your messages was probably not aimed at me, your use of the word torture has caused me to think deeply again about the types of words we use in IT, and how the possible reveal interesting things about our culture
16:04 [Coke] FROGGS: there were a bunch in yesterday's run.
16:05 [Coke] er, 2, which caused a bunch of failures: S05-metasyntax/angle-brackets.rakudo.moar and S06-signature/outside-subroutine.t
16:05 FROGGS [Coke]: my patch is only 16.5 hours old...
16:05 [Coke] if those 2 work, that's all the (current) cases from roast.
16:05 FROGGS but surely there are other segfaults which need to be tackled
16:15 timotimo jnap: agreed.
16:15 [Coke] FROGGS: 1791 individual tests aborted due to segfaults, yes.
16:16 [Coke] see https://gist.github.com/coke/8250608 for a list of test files. (//Segmentation fault)
16:17 FROGGS [Coke]: yes, I want to look into some of these this night
16:20 [Coke] masak: (email) *facepalm* d'oh.
16:20 [Coke] ww
20:59 [Coke] ah, the unrecognized character name is split up into chunks, but I bet fixing one will fix 'em all.
21:18 FROGGS ahh, shell() is not working... ym favourite :o)
21:19 FROGGS my*
21:19 timotimo on moarvm?
21:22 FROGGS yes
21:22 timotimo get going, then? :D
21:22 FROGGS ey sir! /o
21:23 timotimo o>
21:23 * FROGGS .oO( how do you type the rotated v? )
21:24 timotimo the same way you can turn a q into a p, b or d
21:24 FROGGS wow
21:24 FROGGS :D
21:25 FROGGS I am reading to much webfails obviously...
21:25 timotimo it's all good so long as you don't fail yourself :)
21:25 FROGGS no facebook no fail :o)
21:27 timotimo :D
21:31 timotimo should the repr for MVMSharedArray have locking built into its stuff?
21:32 timotimo well, at least for when the size needs to change
21:35 diakopter what is an MVMSharedArray
21:35 timotimo i'm interested in making shmget and friends available to nqp and rakudo on moarvm
21:35 timotimo to experiment with representational polymorphy
21:36 diakopter what is shmget
21:36 timotimo shm_get
21:36 diakopter what is shm_get
21:36 timotimo shared memory stuff on linux, system5 ipc
21:36 diakopter that's for cross-process sharing, I thought
21:37 timotimo yes, it is
21:37 diakopter (what would you use that for?)
21:37 timotimo sharing data across processes
21:38 diakopter I didn't see that discussed here yet
21:40 timotimo yeah. i didn't discuss it with anybody yet
21:40 diakopter what did you want to store in this array? you can't store pointers
21:40 timotimo it'd have to be a native int/num array
21:40 diakopter what nqp/perl6 type would use this repr
21:40 timotimo i was thinking Buf
21:41 diakopter h
21:41 diakopter hm
21:44 diakopter timotimo: the QAST::WVal.new( :value(nqp::getcodeobj(&p6sort)) ) trick is really powerful, isn't it? :)
21:46 timotimo i agree
21:46 timotimo i was amazed myself
21:47 diakopter I was thinking the other day this is another way to implement macros
21:50 diakopter (make them actually not "interpolate" and compile until first run)
21:53 FROGGS that sounds like an indirect lookup, and therefor slow
21:54 timotimo can we do "only the first time it's run"?
21:55 diakopter FROGGS: how would it be slower than compiling them up front?
21:57 FROGGS I dunno, I guess I said rubbish now that I think about it..
21:58 diakopter I don't doubt it would be slower by some amount due to optimizer overhead, maybe
23:03 dalek MoarVM: 7cea05b | (Tobias Leich)++ | src/io/procops.c:
23:03 dalek MoarVM: decont the values of the env hash
23:03 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/7cea05bebb
23:11 diakopter FROGGS: I think you need some more MVMROOT in that patch's region
23:11 FROGGS diakopter: where exactly?
23:17 diakopter FROGGS: well, also the declaration of r needs to be at the top of the block ;)
23:17 FROGGS ohh, yes
23:18 diakopter but you also need to root env_str
23:18 diakopter since the order of calling MVM_repr_get_str is not guaranteed
23:18 FROGGS k
23:18 diakopter (in the args to MVM_string_concatenate)
23:19 FROGGS yes, I see it
23:19 diakopter well, also that lines 116 and 117 might allocate conceivably
23:19 diakopter er 117
23:22 diakopter well, you actually should root iterval and &r.o for the same reason
23:23 diakopter but if you root &r.o you need to make sure to NULL it on initialization
23:32 diakopter stage parse: 92s
23:32 diakopter is that fast?
23:33 FROGGS slightly faster than my box
23:33 diakopter if I try to fix one of the unicode things, will I need to rebuild the setting to test it?
23:34 diakopter perl -MExtUtils::Command -e mkpath C:\Users\mwilson\src\install/languages/perl6/lib/Pod/To
23:34 diakopter mkdir C:\Users\mwilson\src\install/languages/perl6/lib: File exists; Cannot create a file when that file already exists at C:/Perl64/lib/ExtUtils/Command.pm lin
23:34 FROGGS no, usually not
23:34 diakopter e 288.
23:34 diakopter NMAKE : fatal error U1077: 'C:\Perl64\bin\perl.EXE' : return code '0x11'
23:35 diakopter is mkpath supposed to care about that?
23:35 FROGGS not very nice that this is fatal
23:35 FROGGS IIRC that behaves weird on windows only
23:35 diakopter ===  perl6-m -e "say('hi')" ===
23:35 diakopter hi
23:35 diakopter Execution time: 0.677 s
23:36 diakopter not horrible!
23:36 FROGGS :o)
23:36 diakopter sortof.
23:36 diakopter how to parallel nmake test on windows
23:37 diakopter er, spectest
23:39 FROGGS TEST_JOBS=6
23:39 diakopter well, my windows vm thinks it has 8 cores..
23:39 diakopter :)
23:39 FROGGS feel free to adjust it :o)
23:40 diakopter NMAKE : fatal error U1058: teNrminMaAtKEe d: b yf autsaelr
23:40 diakopter eSrtroorp .U
23:40 diakopter hee hee
23:40 FROGGS yeah, I've see that before
23:43 dalek MoarVM: 428cd37 | (Tobias Leich)++ | src/io/procops.c:
23:43 dalek MoarVM: root things that might move, diakopter++
23:43 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/428cd37093
23:44 diakopter oh heh.
23:44 diakopter perl -MExtUtils::Command -e cp lib/Test.moarvm C:\Users\mwilson\src\install/languages/perl6/lib
23:44 diakopter that creates the file lib
23:44 diakopter since the dir didn't exist beforehand
23:45 FROGGS umm
23:45 FROGGS now I understand that error message :o)
23:45 FROGGS add a slash to ...perl6/lib?
23:45 diakopter can you fix the rakudo makefile.in?
23:45 diakopter I don't have a rakudo push flag
23:45 FROGGS I can
23:46 diakopter I'd add the mkpath lib thing
23:46 diakopter well, or move the mkpath of the Pod one up
23:47 FROGGS I'd just add that at line 312: $(MKPATH) $(PERL6_LANG_DIR)/lib
23:47 diakopter k
23:48 FROGGS pushed
23:49 diakopter ty :)
23:51 diakopter heh link  /dll  /nologo /LTCG  /nologo /LTCG
23:51 FROGGS yeah, we really want to set these options
23:52 diakopter same with cl /c  /nologo /MT /Ox /GL  /DWIN32 /DAO_ASSUME_WINDOWS98  /nologo /MT /Ox /GL
23:55 diakopter I hit this last time:
23:55 diakopter perl -MExtUtils::Command -e chmod 755 C:\Users\mwilson\src\install/bin/perl6-m
23:55 diakopter annot chmod 755 C:\Users\mwilson\src\install/bin/perl6-m:No such file or directory at C:/Perl64/lib/ExtUtils/Command.pm line 274.
23:56 diakopter no need to do that on windows anyway, even if it was the right filename
23:56 [Coke] oh, here's a good one in the spec tests: Internal error: invalid thread ID in GC work pass
23:56 FROGGS /o\
23:56 diakopter [Coke]: that means GC bug (there shoudl be only 1 threadid, 0)
23:57 diakopter but probably just the same old non-rooting
23:57 diakopter not a problem with the gc itself, per se
23:58 diakopter can someone fix that ^ with the rakudo makefile install?
23:58 diakopter also, the line above it is wrong perl -MExtUtils::Command -e cp perl6-m C:\Users\mwilson\src\install/bin
23:59 diakopter that should have a .bat I thought

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