Camelia, the Perl 6 bug

IRC log for #moarvm, 2013-08-01

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

All times shown according to UTC.

Time Nick Message
01:14 woosley left #moarvm
01:16 woosley joined #moarvm
03:23 dalek MoarVM/readlineintfh: e3ff6e5 | jimmy++ | 3rdparty/linenoise/linenoise.c:
03:23 dalek MoarVM/readlineintfh: fixed funny tab bug reported by FROGGS++
03:23 dalek MoarVM/readlineintfh: review: https://github.com/MoarVM/MoarVM/commit/e3ff6e538d
03:34 JimmyZ FROGGS: with ^^, ctrl+c should shut it down properly and tab works better
03:35 JimmyZ FROGGS: if you press tab, it does nothing, if you ctrl-r search and then press tab will do search
03:36 JimmyZ FROGGS: up/down works well here, I'm on ubuntu
03:41 JimmyZ FROGGS: re: it even displays something when pressing ESC, I can't got it.
04:26 diakopter chipdude: ping
04:26 Alpha64 left #moarvm
04:44 birdwindupbird joined #moarvm
04:51 JimmyZ FROGGS: you're right that's it say(NULL) problem, I catch it after fixed win32 bug.
04:51 JimmyZ FROGGS: so I changed it to exit if press ctrl-c
07:04 FROGGS joined #moarvm
07:22 JimmyZ hmm, looks like ubuntu unity deosn't work on virtualbox/vmware
07:24 FROGGS JimmyZ: there is a 2d-unity desktop, this might work for you
07:26 JimmyZ FROGGS: really? didn't the latest ubuntu drop 2d-unity
07:36 FROGGS ohh
07:59 JimmyZ FROGGS: I think I fixed all your readline bug reported
08:00 * FROGGS pulls
08:07 FROGGS nqp t/linenoise/linenoise.nqp
08:07 FROGGS hello> asdasd
08:07 FROGGS asdasd
08:07 FROGGS hello> ^[[A^[[B^[[A^[[B^[[B^[[A^[[A
08:07 FROGGS that is when pressing up/down
08:10 JimmyZ FROGGS: are you on ubuntu?
08:10 FROGGS yes
08:10 FROGGS 13.04 x64
08:11 dalek MoarVM/readlineintfh2: 21a874e | jimmy++ | 3rdparty/linenoise/linenoise.c:
08:11 dalek MoarVM/readlineintfh2: fixed funny tab bug reported by FROGGS++
08:11 dalek MoarVM/readlineintfh2: review: https://github.com/MoarVM/MoarVM/commit/21a874e60e
08:11 FROGGS ctrl+c works, but it instantially display things for ESC for example
08:12 FROGGS btw, current readlineintfh branch handles tab correctly
08:13 FROGGS but since I cant do history-up, I'm not sure it will be displayed correctly when getting back a line from history containing a tab
08:14 JimmyZ FROGGS: weird, I have no problem on ubuntu with up/down
08:15 FROGGS hmmmm
08:16 FROGGS my linenoise.o is old (from yesterday)
08:16 JimmyZ just remove it
08:16 FROGGS done
08:17 FROGGS no, same problem
08:20 FROGGS JimmyZ: you deleted the other branch?
08:20 JimmyZ FROGGS: yeah
08:21 FROGGS k
08:21 JimmyZ I did append commit
08:23 FROGGS arglbargl
08:23 FROGGS I have a merge conflict in the linenoise.c file and no idea how to solve it
08:24 JimmyZ FROGGS: switch to master
08:24 FROGGS I cant
08:25 JimmyZ git reset HEAD --hard
08:25 FROGGS I have to solve the conflict be fore switching...
08:25 FROGGS I'll try
08:25 JimmyZ then switch to master
08:26 JimmyZ git branch -D readlinefh2
08:26 FROGGS k
08:26 FROGGS looks good, thanks
08:26 JimmyZ hehe
08:28 dalek MoarVM/readlineintfh2: 96982a2 | (Tobias Leich)++ | build/Makefile.in:
08:28 dalek MoarVM/readlineintfh2: make clean for linenoise
08:28 dalek MoarVM/readlineintfh2: review: https://github.com/MoarVM/MoarVM/commit/96982a2f20
08:28 JimmyZ I press up/down ,and it switch pre/next history on ubuntu
08:29 FROGGS no, doesn't work here
08:31 JimmyZ :-(
08:33 JimmyZ could try adding printf("%c", c); before line 873 ?
08:33 FROGGS already done :o)
08:33 FROGGS (it compiles)
08:34 JimmyZ \o/
08:34 FROGGS hmmm, it doesnt print it
08:39 FROGGS it doesnt even print printf("while\n"); in line 838
08:41 FROGGS it either doesnt call linenoiseEdit or I'm editing & compiling the wrong file :o)
08:42 JimmyZ o.O
08:47 FROGGS okay, truncating the .c file has at least some influence: /home/froggs/dev/MoarVM/src/io/fileops.c:364: undefined reference to `linenoise'
08:50 JimmyZ FROGGS: you didn't do perl Configure.pl again
08:50 JimmyZ FROGGS: or you want 'git clean -xdf'
08:51 JimmyZ oh, I misunderstood
08:52 FROGGS no, I did configure (did it again, to be sure), and git clean -xdf doesnt help
08:53 FROGGS AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
08:53 FROGGS <----------------- stupid
08:53 FROGGS JimmyZ: spot the error: cd ~/dev/MoarVM && make clean && make && cd nqp-cc && nqp t/linenoise/linenoise.nqp
08:53 FROGGS :P
08:55 JimmyZ t/linenoise/linenoise.nqp
08:55 JimmyZ Is it same as me?
08:55 FROGGS that is your test.nqp file
08:56 FROGGS but no, that is not the error
08:56 JimmyZ $ nqp nqp-moar-cc.nqp t/linenoise/linenoise.nqp
08:56 tadzik nqp
08:56 FROGGS I forgot to actually use the cross compiler >.<
08:56 JimmyZ you miss nqp-moar-cc.qnp
08:56 FROGGS yeah
08:57 FROGGS OSI Layer 8 that is
08:57 JimmyZ so you are testing parrot without readline-dev?
08:57 JimmyZ :P
08:57 FROGGS *g*
09:10 FROGGS JimmyZ: looks better when I'm doing it right
09:11 FROGGS JimmyZ: it has a problem with umlauts fwiw
09:11 FROGGS if you type: äöü
09:12 FROGGS and then enter and up, it treats it as 6 chars long
09:13 FROGGS but having fun with multibyte chars and graphemes was sort of expected
09:15 FROGGS JimmyZ++ # awesome work, we need to port this to vm/parrot eventually someday
09:22 JimmyZ FROGGS: re 6 chars: that's because we didn't do NFG yet?
09:27 FROGGS if you say so
09:36 JimmyZ I want to make ctrl-r to act like readline, but I keep mind it should be another readline, if we reall want it, switch to readline ;P
09:36 JimmyZ s/should/shouldn't/
12:40 crab2313 joined #moarvm
13:03 _ilbot joined #moarvm
13:03 Topic for #moarvm is now https://github.com/moarvm/moarvm | IRC logs at  http://irclog.perlgeek.de/moarvm/today
13:21 JimmyZ FROGGS: re 6 chars again, could try using nqp graphs op in moarvm to see how many length?
13:22 FROGGS nqp nqp-moar-cc.nqp -e 'say(nqp::chars("äöü"))'
13:22 FROGGS 3
13:22 FROGGS or is there another op?
13:22 FROGGS ahh, graphs_s
13:24 JimmyZ FROGGS: I meant use in my readline test :P
13:25 FROGGS I'll do later, currently my mind is somewhere else
13:28 JimmyZ thanks
14:54 JimmyZ hello> äöü
14:54 JimmyZ 3
14:54 JimmyZ äöü
14:54 JimmyZ FROGGS: it outputs well here
14:54 JimmyZ and 3 chars
14:54 JimmyZ I press up and enter
14:54 JimmyZ same outputs
14:55 FROGGS weird
14:55 FROGGS :P
14:56 JimmyZ I'm on CentOS with ssh utf-8
15:32 bronco_creek joined #moarvm
16:07 cognominal joined #moarvm
16:36 Alpha64 joined #moarvm
16:52 benabik joined #moarvm
18:07 cognominal joined #moarvm
18:14 diakopter who picked linenoise? jnthn?
18:30 colomon joined #moarvm
18:41 FROGGS diakopter: I am not sure, why?
18:42 diakopter well I was curious if jnthn approved it
18:46 FROGGS he said nothing against it if I remember correctly
18:46 diakopter ok; I didn't even know if he was aware of it
18:50 FROGGS diakopter: he might have seen it, not sure: http://irclog.perlgeek.de/m​oarvm/2013-07-12#i_7320738
18:54 diakopter oh, I see; it's in a branch
18:54 diakopter that's fine
19:01 masak \o/

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