Camelia, the Perl 6 bug

IRC log for #moarvm, 2013-08-12

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

All times shown according to UTC.

Time Nick Message
00:04 ggoebel joined #moarvm
00:05 lizmat joined #moarvm
00:06 crab2313 joined #moarvm
00:18 woolfy joined #moarvm
00:19 FROGGS joined #moarvm
00:40 FROGGS joined #moarvm
00:48 FROGGS joined #moarvm
01:19 FROGGS joined #moarvm
01:43 benabik joined #moarvm
01:56 colomon joined #moarvm
02:10 FROGGS joined #moarvm
02:13 benabik joined #moarvm
02:33 flussence joined #moarvm
03:00 dalek MoarVM/libuv2: 0febb98 | jimmy++ | 3rdparty/libuv/src/ (2 files):
03:00 dalek MoarVM/libuv2: small fixes for libuv
03:00 dalek MoarVM/libuv2: review: https://github.com/MoarVM/MoarVM/commit/0febb98c5d
03:05 FROGGS joined #moarvm
03:07 [Coke] ~.
03:32 dalek MoarVM/libvu3: 4acafef | jimmy++ | 3rdparty/libuv/include/uv- (2 files):
03:32 dalek MoarVM/libvu3: added uv_thread_yield
03:32 dalek MoarVM/libvu3: review: https://github.com/MoarVM/MoarVM/commit/4acafef064
03:32 dalek MoarVM/libvu3: 258c470 | jimmy++ | 3rdparty/libuv/include/uv- (2 files):
03:32 dalek MoarVM/libvu3: added uv_thread_exit
03:32 dalek MoarVM/libvu3: review: https://github.com/MoarVM/MoarVM/commit/258c4709fe
03:32 dalek MoarVM/libvu3: 56cd273 | jimmy++ | 3rdparty/libuv/ (3 files):
03:32 dalek MoarVM/libvu3: added uv_fs_flush function
03:32 dalek MoarVM/libvu3: review: https://github.com/MoarVM/MoarVM/commit/56cd273ce4
03:32 dalek MoarVM/libvu3: 1091745 | jimmy++ | 3rdparty/libuv/ (5 files):
03:32 dalek MoarVM/libvu3: added uv_fs_getstdin/uv_fs_getstdout/uv_fs_getstderr
03:32 dalek MoarVM/libvu3: review: https://github.com/MoarVM/MoarVM/commit/1091745ccc
03:38 dalek MoarVM/libvu3: a35c3ae | jimmy++ | 3rdparty/libuv/src/win/fs.c:
03:38 dalek MoarVM/libvu3: small fixes for uv_fs_mkdir_p
03:38 dalek MoarVM/libvu3: review: https://github.com/MoarVM/MoarVM/commit/a35c3ae812
03:40 crab2313 joined #moarvm
03:51 FROGGS joined #moarvm
04:28 FROGGS joined #moarvm
04:43 birdwindupbird joined #moarvm
05:09 FROGGS joined #moarvm
05:20 dalek MoarVM/libvu3: 3204eaa | jimmy++ | / (9 files):
05:20 dalek MoarVM/libvu3: removed some needless ops
05:20 dalek MoarVM/libvu3: review: https://github.com/MoarVM/MoarVM/commit/3204eaab32
05:26 crab2313 joined #moarvm
05:27 dalek MoarVM/libvu3: 829a60c | jimmy++ | / (7 files):
05:27 dalek MoarVM/libvu3: removed another needless ops
05:27 dalek MoarVM/libvu3: review: https://github.com/MoarVM/MoarVM/commit/829a60c3cc
05:34 JimmyZ segomos: ping?
05:45 FROGGS joined #moarvm
06:40 FROGGS[mobile] left #moarvm
06:42 woolfy left #moarvm
06:46 FROGGS joined #moarvm
06:47 FROGGS o/
06:49 JimmyZ FROGGS: good morning
06:50 JimmyZ FROGGS: we can do some LHF apr => libuv now
06:51 JimmyZ FROGGS: see https://gist.github.com/zhuomingliang/6077134 update
06:54 FROGGS JimmyZ: k, sounds nice
06:55 JimmyZ ;)
07:04 JimmyZ the main problem is about uv loop
07:05 JimmyZ I think uv_default_loop should be in instance, other loops are per thread in tc
07:06 JimmyZ and about req ... I don't know yet
07:29 FROGGS I'm currently fighting some nqp<=>rakudo module loading problem...
08:15 not_gerd joined #moarvm
08:15 not_gerd o/
08:17 FROGGS hi not_gerd
08:17 not_gerd JimmyZ: I've got a branch that builds linenoise and dyncall on windows
08:17 not_gerd JimmyZ: I'd like to add libuv to that as well
08:18 not_gerd JimmyZ: I'm asuming libvu3 is the branch to use?
08:22 JimmyZ not_gerd: nice, and yes
08:23 JimmyZ jnthn: ping
08:26 not_gerd JimmyZ: merge conflict - where did the hostname op fo?
08:26 not_gerd *go?
08:27 JimmyZ removed
08:35 crab2313 joined #moarvm
08:37 not_gerd why is bank 6 missing an opcode 0?
08:41 JimmyZ not_gerd: cd nqp-cc && make
08:42 not_gerd JimmyZ: see src/core/oplist
08:42 JimmyZ not_gerd: no, it's my fault
08:42 not_gerd ;)
08:42 not_gerd perhaps we should use lua - they start indexing from 1
08:43 JimmyZ not_gerd: we can update update_ops.p6 to auto ++
08:45 JimmyZ and with it, we don't need do 0x01 ... manually
08:45 not_gerd well, keeping the opcodes explicitly might make a good reference documentation
08:45 not_gerd but the tools should check consistency
08:45 JimmyZ oh, yeah
08:46 JimmyZ you're right
08:46 not_gerd update_ops.p6 should complain and tell the programmer to fix his mess...
08:47 JimmyZ +1
08:58 not_gerd https://github.com/gerdr/Moar​VM/commits/gerdr/integration # my pull requests + dyncall + linenoise + libuv
08:58 not_gerd currently only works on windows
09:04 JimmyZ not_gerd: how do you support libuv on *nix? not all src/unix/* need for linux
09:07 not_gerd JimmyZ: I'll probably have to keep a list of the platform-specific files in unix/
09:09 JimmyZ not_gerd: Did you see content in uv.gyp? that file contains some good logic for integration
09:12 not_gerd JimmyZ: yup, I'll probably have to re-produce part of that logic in perl
09:12 not_gerd however, HAVE_CONFIG_H might be a problem
09:12 not_gerd ie we might need to shell out to the configuration script...
09:13 JimmyZ yeah...
09:14 JimmyZ some configure detection, ie HAS_REALINE
09:14 JimmyZ MVM_HAS_READLINE
09:14 JimmyZ and with it, we don't need compile linenoise ...
09:15 JimmyZ can stell same ideas from parrot though
09:15 JimmyZ steal some ...
09:18 not_gerd we should probably also maintain a proper fork of libuv as well...
09:19 JimmyZ maybe
09:21 cognominal joined #moarvm
09:23 lizmat joined #moarvm
09:24 nwc10 diakopter/jnthn: Each iTLB miss causes the processor to do a walk over the page table (called a "page walk"). Page walks can be particularly compute-intensive for large applications (like Facebook's site) where the page table is so big that it exceeds the capacity of the last-level cache (LLC).
09:24 nwc10 from https://www.facebook.com/notes/facebook-​engineering/speeding-up-php-based-develo​pment-with-hiphop-vm/10151170460698920
09:39 JimmyZ jnthn: I want to merge https://github.com/MoarVM/MoarVM/pull/45 and linenoise branch...
09:41 jnthn +1 to 45, provided it's building/passing tets fine
09:41 jnthn Not so comfortable with the linenoise thing, so that stays in a branch for now
09:41 JimmyZ ok
09:45 patspam joined #moarvm
09:50 TimToady joined #moarvm
09:55 dalek MoarVM: 27aa573 | (Gerhard R)++ | / (60 files):
09:55 dalek MoarVM: keep forward declarations for all public structs and unions in src/types.h
09:55 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/27aa573810
09:56 patspam joined #moarvm
09:59 dalek MoarVM/libvu3: 3704e9b | (Gerhard R)++ | / (60 files):
09:59 dalek MoarVM/libvu3: keep forward declarations for all public structs and unions in src/types.h
09:59 dalek MoarVM/libvu3: review: https://github.com/MoarVM/MoarVM/commit/3704e9be44
10:04 patspam joined #moarvm
10:39 not_gerd bye, #moarvm
10:39 not_gerd left #moarvm
11:07 JimmyZ hmm, why threads fails on windows with "can't GC Stables", but passes on linux
11:07 JimmyZ *threads.t
11:30 lizmat joined #moarvm
11:32 JimmyZ jnthn: ping
11:32 FROGGS JimmyZ: it failed for me on linux from time to time too
11:32 JimmyZ oh
11:33 FROGGS at least till one week ago or so
11:33 FROGGS my moarvm is not up-to-date
11:40 lizmat joined #moarvm
11:51 colomon_ joined #moarvm
12:00 BabsSeed joined #moarvm
12:10 lizmat joined #moarvm
12:13 JimmyZ BabsSeed: welcome
12:36 BabsSeed JimmyZ: Thanks
13:30 lizmat joined #moarvm
13:34 BabsSeed JimmyZ: Wanting to get involved with development.
14:07 JimmyZ BabsSeed: good
14:10 BabsSeed JimmyZ: I'm just a little unsure as to what I should be doing, is there a 'to-do' list or anything? Are tasks allocated to contributors?
14:10 BabsSeed (I've only worked in closed source corporate environments or on 1-2 contributor open-source projects, never on a major free software project)
14:11 timotimo joined #moarvm
14:11 BabsSeed Well, I've written patches for free software, but never major features or contributions
14:12 FROGGS atm there is some work done on the libraries moarvm uses, this is for example the transition from libapr to libuv
14:13 FROGGS and moarvm ismost capable of selfhost NQP, diakopter++ is working on that
14:13 FROGGS so there are maybe some LHF (low hanging fruits) for the library-work
14:14 FROGGS JimmyZ++ and not_gerd++ are working on that mainly
14:14 JimmyZ I want to know why  "WideCharToMultiByte( CP_UTF8 ..." outputs messy chars ...
14:17 FROGGS JimmyZ: output to what? terminal?
14:17 JimmyZ FROGGS: any file ...
14:19 BabsSeed Right now I'm finishing up a few projects, hoping to get properly involved later this month but will get familiar with the code before that.
14:19 JimmyZ WideCharToMultiByte( CP_ACP ..   works well
14:19 JimmyZ but I want UTF8
14:20 BabsSeed I assume I need a github account :D
14:20 FROGGS BabsSeed: yeah, you need one :o)
14:21 FROGGS JimmyZ: I cant find that WideCharToMultiByte, is that in a branch only?
14:21 JimmyZ FROGGS: in my local ..
14:21 FROGGS hold on, I'm coming :P
14:23 JimmyZ basically 'm doing GBK to Unicode by MultiByteToWideChar, and then Unicode to UT8 by WideCharToMultiByte
14:23 FROGGS ahh, this is a windows function?
14:24 JimmyZ yeah,
14:24 BabsSeed FROGGS: Got one part down then - https://github.com/BabsSeed
14:24 JimmyZ wchar is annoying
14:24 JimmyZ jnthn: I really want to import https://github.com/moriyoshi/libmbfl :(
14:25 JimmyZ libmbfl is the lib by using in PHP's mb_string
14:26 JimmyZ and ruby and sublime
14:27 JimmyZ I want to do it, because getenvhask is getting my GBK env chars
14:27 JimmyZ *getenhash
14:32 crab2313 joined #moarvm
14:34 lizmat joined #moarvm
15:15 colomon joined #moarvm
15:48 dalek MoarVM: e4a10b0 | jimmy++ | src/io/procops.c:
15:48 dalek MoarVM: fixed encoding issue in MVM_proc_getenvhash function, mostly appears in CJK windows environment.
15:48 dalek MoarVM: review: https://github.com/MoarVM/MoarVM/commit/e4a10b03e4
15:52 JimmyZ I got it fixed eventually ...
15:52 segomos JimmyZ: pong
15:53 JimmyZ segomos: how about push you commit to somewhere?
15:53 JimmyZ and good night
15:53 segomos JimmyZ: am planning to when i can compile it..i changed the fs stat function to work with uv_fs_t
15:53 segomos err uv_stat_t ^
16:05 segomos backend storage is offline in part of the libuv branch...
16:32 lizmat joined #moarvm
17:00 segomos diakopter: can you give me push access to libuv branch?
17:03 not_gerd joined #moarvm
17:06 not_gerd BabsSeed: if you're looking for things to do, you could help me with my build system work
17:06 not_gerd (assuming you're not on windows)
17:13 crab2313 joined #moarvm
17:17 benabik joined #moarvm
17:41 crab2313 joined #moarvm
17:45 not_gerd left #moarvm
17:50 FROGGS joined #moarvm
18:21 japhb_ joined #moarvm
19:11 BabsSeed not_gerd
19:11 BabsSeed Oh he left :(
19:11 BabsSeed I have Windows & Linux boxes
19:18 not_gerd joined #moarvm
19:19 not_gerd BabsSeed: it would be helpful if you could try to build https://github.com/MoarVM/MoarVM/pull/46 on your linux box and tell me how it blows up
20:32 colomon joined #moarvm
20:32 BabsSeed not_gerd: Sure, sec lemme boot her up
20:32 BabsSeed not_gerd: I have Windows box, OBSD box and Linux box btw
20:34 not_gerd BabsSeed: linux would be helpful right now
20:34 not_gerd you know how to locally checkout the pull request?
20:46 BabsSeed not_gerd: Yeah, have to install git fast
20:47 BabsSeed not_gerd: Any prereqs?
20:49 not_gerd BabsSeed: nope, any dependencies are bundled
20:49 not_gerd jnthn develops on windows (ENOPACKAGEMANAGER)
20:50 not_gerd on linux, `perl Configure.pl` *should* work
20:50 not_gerd `make` will likely fail to link
20:52 BabsSeed not_gerd: I dev on Windows too
20:52 BabsSeed My excuse is I work with DirectX :P
20:57 * not_gerd cross-compiles from cygwin to mingw64
21:04 BabsSeed not_gerd: OK I pulled the master repo, cant seem to pull this patch :D
21:05 BabsSeed Spot the github noob
21:05 not_gerd BabsSeed: https://help.github.com/articles/c​hecking-out-pull-requests-locally
21:05 not_gerd you need to add a line to your .git/config
21:06 not_gerd then, you can `git checkout pr/46`
21:10 BabsSeed not_gerd: Thanks, running make now
21:10 BabsSeed (Have done perl Configure.pl)
21:11 not_gerd anything FAIL or everything OK when running Configure.pl?
21:13 BabsSeed All OK
21:13 BabsSeed No errors on 'make' either
21:14 not_gerd can you run ./moarvm ?
21:14 BabsSeed $ ./moarvm
21:14 BabsSeed Error: You must supply an
21:14 BabsSeed input file
21:14 BabsSeed Seems so
21:15 not_gerd curious
21:15 not_gerd other mentioned linux needed an -luuid
21:15 not_gerd I did not include it as I could not test it myself
21:16 BabsSeed I jHmm
21:16 BabsSeed I'm running Wheezy x64
21:16 BabsSeed And just ran what you said: perl Configure.pl; make
21:16 BabsSeed And seems to work :P
21:17 not_gerd well, to see if it *really* works, you'll have to build the nqp cross-compiler as well
21:17 BabsSeed I'm on it, need to get NQP first though, dont have it on this box
21:18 BabsSeed Oh nice, the config script will do it for me <3
21:18 BabsSeed How you know the script was written by perl devs: it allows for laziness
21:20 not_gerd well, the laziness is there and hubris probably as well
21:20 not_gerd impatience, though?
21:21 not_gerd that's not reallymy experience when building parrot/nqp/rakudo
21:21 BabsSeed nqp needs lreadline, licuuc and licudata
21:23 not_gerd I think one can disable those
21:23 BabsSeed I'll go install them
21:28 BabsSeed May try to compile moarvm on obsd later, anyone tried?
21:29 BabsSeed I have obsd on my 'router' (which is an i7 >_<)
21:30 BabsSeed Hmm, my issues all seem to be with nqp :D
21:30 BabsSeed make: *** [src/vm/parrot/ops/nqp_ops.so] Error 1
21:30 BabsSeed KnowHOWREPR.c:88:27: error: expected expression before 'void'
21:37 not_gerd BabsSeed: that's the ALIGNOF1 line?
21:42 BabsSeed not_gerd: That's what I see yeah
21:42 BabsSeed Sorry had to install emacs, my vi-fu is nothing special
21:42 BabsSeed spec.align = ALIGNOF1(void *);
21:46 not_gerd I suspect I figured out why it fails
21:46 not_gerd you have an install/ subdirectory?
21:47 not_gerd look for include/parrot/x.x.x/parrot/has_header.h
21:48 not_gerd if PARROT_HAS_COMPILER_OFFSETOF_ALIGNOF is not set, ALIGNOF1 won't work with all types
21:53 not_gerd you could probably make it compile by replacing ALIGNOF1(void *) --> ALIGNOF1(voidptr)
21:53 not_gerd that might break the opposite configuration, though
21:54 colomon joined #moarvm
21:57 BabsSeed Sec will check, sorry am cooking too
22:03 colomon joined #moarvm
22:06 segomos joined #moarvm
22:26 BabsSeed not_gerd: Issue was I had parrot installed from debian repo so it was using my ancient parrot instead of building new, I think
22:28 BabsSeed Trying with fresh parrot
22:31 segomos joined #moarvm
22:32 * not_gerd pushed configuration changes for *BSD ~10 minutes ago
22:32 BabsSeed not_gerd: Will try tomorrow, 00:30 here and have to be awake at 07:00
22:33 lizmat joined #moarvm
22:34 BabsSeed not_gerd: BSD that is, I'll finish this compile for Linux before I sleep
22:35 lizmat joined #moarvm
22:37 * not_gerd also needs to get some sleep
22:37 not_gerd BabsSeed: thanks for the help
22:37 not_gerd doing cross-platform development on a single one is a bit academic
22:38 segomos i have a linux box if you just want me to compile..
22:39 not_gerd segomos: if you have the time, try https://github.com/MoarVM/MoarVM/pull/46
22:41 BabsSeed not_gerd: No problem, I've got Xen running on one box so if we want to try specific archs (i386/x64) of *BSDs or Linuxes or specific kernel versions
22:41 BabsSeed Should all be available
22:44 segomos not_gerd: configure fails on osx for libuv.a
22:45 segomos https://gist.github.com/tony-o/6216048
22:45 not_gerd segomos: that's expected
22:45 not_gerd if you want to fix it yourself, see https://github.com/joyent/libu​v/blob/master/Makefile.am#L153
22:45 BabsSeed segomos: Compiling nqp now
22:45 BabsSeed Its a slow box, just a VM
22:45 segomos should i just build libuv manually and make?
22:45 not_gerd build/Makefile.in and Configure.pl need to be patched accordingly
22:46 not_gerd segomos: the whole point of that branch is to get the build system figured out
22:46 segomos ic
22:46 not_gerd bypassing it somewhat defeats the purpose ;)
22:52 BabsSeed not_gerd: At the weekend I'll set up a buildbox so we can automatically build & test stuff if that would help
22:52 BabsSeed I've got a 2x dual-core Opteron lying around
22:54 not_gerd segomos: just pushed some changes
22:54 not_gerd should now compile on darwin, but not link
22:57 not_gerd BabsSeed: that probably will help
22:57 not_gerd you should get in touch with jnthn and/or diakopter
22:57 BabsSeed Will do
22:58 FROGGS joined #moarvm
22:58 not_gerd that's it for me
22:58 not_gerd good night o/
22:58 BabsSeed not_gerd: http://paste2.org/UdbEtvkI
22:59 BabsSeed My output from compiling nqp-cc
22:59 BabsSeed OK, catch you tomorrow, I'll hit the hay too
22:59 BabsSeed error there though
22:59 not_gerd might be sime of the stuff JimmyZ++ did
23:00 not_gerd I suspect master doesn't doesn't have this problem
23:00 * not_gerd really off now
23:00 not_gerd left #moarvm
23:00 BabsSeed Linux cloudsdale 2.6.32-042stab078.28 #1 SMP Fri Aug 2 17:16:15 MSK 2013 x86_64 GNU/Linux
23:00 BabsSeed That's my VM info
23:00 BabsSeed If anyone knows why that may happen, let me know and I'll take another look tomorrow at lunch or compile break
23:52 cognominal joined #moarvm

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