Camelia, the Perl 6 bug

IRC log for #parrot, 2012-06-25

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:42 kid51 joined #parrot
01:06 seiferteric joined #parrot
02:29 bacek_at_work joined #parrot
05:29 kuku joined #parrot
05:43 aloha joined #parrot
07:08 bacek_at_work joined #parrot
07:17 brrt joined #parrot
07:21 dalek parrot/m0: 12b007e | jimmy++ | docs/pdds/draft/pdd32_m0.pod:
07:21 dalek parrot/m0: fix typo
07:21 dalek parrot/m0: review: https://github.com/parrot/parrot/commit/12b007e278
07:21 dalek parrot/whiteknight/io_cleanup1: 413ae84 | jimmy++ | src/ (3 files):
07:21 dalek parrot/whiteknight/io_cleanup1: fixed builds
07:21 dalek parrot/whiteknight/io_cleanup1: review: https://github.com/parrot/parrot/commit/413ae84c91
07:25 travis-ci joined #parrot
07:25 travis-ci [travis-ci] parrot/parrot#464 (m0 - 12b007e : Jimmy Zhuo): The build was broken.
07:25 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/06d08af0afb5...12b007e2787c
07:25 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/1698857
07:25 travis-ci left #parrot
08:13 dalek rakudo/nom: 53fc0ae | pmichaud++ | src/core/Bool.pm:
08:13 dalek rakudo/nom: Restore [^^] and [xor].
08:13 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/53fc0aedbe
08:19 lucian joined #parrot
09:08 dalek Heuristic branch merge: pushed 17 commits to rakudo/ex-hardening by moritz
09:26 dalek rakudo/nom: b9a332b | moritz++ | src/core/Backtrace.pm:
09:26 dalek rakudo/nom: improve robustness of internal error reporting
09:26 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/b9a332b3a5
09:26 dalek rakudo/nom: b68a884 | moritz++ | src/core/Backtrace.pm:
09:26 dalek rakudo/nom: be more tight about :D in invocant
09:26 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/b68a88423b
09:26 dalek rakudo/nom: 57d251f | moritz++ | src/core/Backtrace.pm:
09:26 dalek rakudo/nom: fix previous commit
09:26 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/57d251ff7a
09:26 dalek rakudo/nom: 2fdf4bc | moritz++ | / (11 files):
09:26 dalek rakudo/nom: Merge branch 'nom' into ex-hardening
09:26 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2fdf4bcf25
09:26 dalek rakudo/nom: 50774a3 | moritz++ | src/core/Backtrace.pm:
09:26 dalek rakudo/nom: [Backtrace] it is fine to generate empty backtraces
09:26 dalek rakudo/nom:
09:26 dalek rakudo/nom: this seems to happen only on the REPL. Fixes RT #113776
09:26 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/50774a3df4
09:26 dalek rakudo/nom: 094e41b | moritz++ | src/core/Backtrace.pm:
09:26 dalek rakudo/nom: Merge branch 'ex-hardening' into nom
09:26 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/094e41bed0
09:42 brrt joined #parrot
10:11 kjs joined #parrot
11:19 mtk joined #parrot
11:36 JimmyZ joined #parrot
11:37 JimmyZ kjs: hello
11:37 JimmyZ kjs: failures/funcall.m1 wfm
12:55 PacoAir joined #parrot
12:57 kjs joined #parrot
13:01 JimmyZ hello: kjs
13:05 kjs hi JimmyZ
13:05 JimmyZ kjs: failures/funcall.m1 wfm
13:05 kjs JimmyZ: did you uncomment all calls/
13:06 JimmyZ kjs: nope
13:06 kjs try that;-)
13:06 JimmyZ failures/funcall.m1 have comments?
13:06 kjs it says choose 1 of 3 or something
13:07 kjs all 3 calls wont work
13:07 JimmyZ kjs: that's not in funcall.m1
13:07 kjs ./run_m1.sh: line 14: 36711 Segmentation fault      ./m0 $filename.m0b
13:08 Coke so the segfault is really in m0 ?
13:08 JimmyZ kjs: you meant struct.m1
13:09 kjs Coke: well if you generate wrong instruction sequences then it's not M0s fault
13:09 kjs so it's M1 really
13:09 kjs i suspect
13:09 kjs JimmyZ: yes youre right. thats essentially same failure
13:10 Psyche^ joined #parrot
13:10 JimmyZ ;)
13:17 Coke kjs: m0 should never segfault.
13:18 Coke so, 2 separate errors, maybe, but segfaultsbad.
13:18 Coke I'd verify that with cotto/whiteknight/dukeleto, but that seems a reasonable goal.
13:19 kjs Coke: I would agree, long term. At mo it's very basic, and error handling like that isn't' implemented I think
13:19 kjs but yes good point
13:19 kjs thing is, it's a lot of bit twiddling that's going on.
13:19 kjs 1 small mistake and it blows up
13:19 atrodo Coke: You say that, but unless it's been fixed, parrot is pretty easy to segfault with a malformed bycode data
13:40 brrt joined #parrot
13:42 brrt hello #parrot
13:58 Coke atrodo: and that's a bug.
13:58 Coke which should be fixed.
14:04 atrodo Coke> http://irclog.perlgeek.de/p​arrot/2011-07-28#i_4181699
14:13 dalek nqp: 5a8707b | pmichaud++ | src/HLL/Compiler.pm:
14:13 dalek nqp: Add -V/--verbose-config option to HLL::Compiler (RT #62462).
14:13 dalek nqp: review: https://github.com/perl6/nqp/commit/5a8707b02d
14:18 Coke atrodo: OK. if there isn't a ticket open for that, there's a problem.
14:18 atrodo Coke> https://github.com/parrot/parrot/issues/498 ...
14:20 jsut joined #parrot
14:25 Coke atrodo: ... I get the feeling you're arguing with me, but that I'm winning. ;)
14:26 Coke note that that's PASM, not PIR. there were notes in the IRC log that it was probably doable in PIR, but I don't see a PIR sample.
14:27 atrodo Coke: I wouldn't say arguing, just, informing.  I think it's a very serious bug
14:27 atrodo Coke: But, besides that, it's bytecode.  It can be easily hand crafted without PASM or PIR
14:27 dalek rakudo/nom: 185f8fc | pmichaud++ | tools/build/NQP_REVISION:
14:27 dalek rakudo/nom: Bump NQP_REVISION to get -V option (RT #62462).
14:27 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/185f8fc1a9
14:28 Coke atrodo: then please do so and open a ticket.
14:28 Coke I would argue that if you pass hand-crafted PBC to parrot and it segfaults, that it should still be fixed, but that's a much lower priority than if you can segfault it one of parrot's own tools.
14:31 JimmyZ well, I'm waiting m0b
14:31 JimmyZ and then change the name to pbc
14:33 JimmyZ joined #parrot
14:44 contingencyplan joined #parrot
15:05 dalek winxed: d84049d | NotFound++ | winxedst0.cpp:
15:05 dalek winxed: a bunch of refactors and a few improvements in annotations in stage 0
15:05 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/d84049d3cc
15:13 Khisanth joined #parrot
15:25 dmalcolm joined #parrot
15:28 JimmyZ joined #parrot
15:45 ingy joined #parrot
16:02 brrt left #parrot
16:29 dukeleto kid51++ # congrats on the white camel!
16:52 jashwanth joined #parrot
17:26 darbelo joined #parrot
17:35 dalek m1: 348a52e | kjs++ | src/ (2 files):
17:35 dalek m1: clean up some code, and add a check for use of uninitialized variables.
17:35 dalek m1: review: https://github.com/parrot/m1/commit/348a52ebc1
17:35 kjs joined #parrot
17:42 dalek m1: 11e86f0 | kjs++ | src/ (3 files):
17:42 dalek m1: refactor warning() and reuse it in gencode.
17:42 dalek m1: review: https://github.com/parrot/m1/commit/11e86f0b20
17:47 dalek m1: 18c025c | kjs++ | src/ (3 files):
17:47 dalek m1: object node now also has a line number for more precise error handling.
17:47 dalek m1: review: https://github.com/parrot/m1/commit/18c025ca18
17:50 jashwanth hello dukeleto
17:51 darbelo joined #parrot
17:52 dalek m1: cf11e41 | kjs++ | / (2 files):
17:52 dalek m1: add status to TODO.minor cleanup/reformatting.
17:52 dalek m1: review: https://github.com/parrot/m1/commit/cf11e41386
17:58 birdwindupbird joined #parrot
18:52 dalek winxed: 2527d53 | NotFound++ | winxedst (2 files):
18:52 dalek winxed: return token instead of string in Builtin.getname
18:52 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/2527d53433
18:52 dalek winxed: 192aba6 | NotFound++ | winxedst0.cpp:
18:53 dalek winxed: missing annotation
18:53 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/192aba6431
18:53 dalek winxed: 83e2c8f | NotFound++ | winxedst0.cpp:
18:53 dalek winxed: annotate return in stage 0
18:53 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/83e2c8f474
18:53 dalek winxed: 2a7802c | NotFound++ | winxedst0.cpp:
18:53 dalek winxed: annotate argument list preparation in stage 0
18:53 dalek winxed: review: https://github.com/NotFoun​d/winxed/commit/2a7802c12e
18:59 benabik ~~
19:03 brrt joined #parrot
19:03 brrt good evening #parrot
19:13 tuxit joined #parrot
19:24 bluescreen joined #parrot
19:33 dalek nqp/toqast: 4c86f84 | jnthn++ | src/QAST/Node.nqp:
19:33 dalek nqp/toqast: $!name can't be str if we put it here, it turns out. May be better to move it into various other nodes where it can be, since it's just Regex with specialer needs.
19:33 dalek nqp/toqast: review: https://github.com/perl6/nqp/commit/4c86f847f4
19:33 dalek nqp/toqast: 20a37a9 | jnthn++ | src/Q (3 files):
19:33 dalek nqp/toqast: Various fixes so we can use native types on QAST::Regex attributes.
19:33 dalek nqp/toqast: review: https://github.com/perl6/nqp/commit/20a37a90fd
19:45 alvis joined #parrot
19:52 dalek rakudo/toqast: 841e783 | jnthn++ | src/QPerl6/ (2 files):
19:52 dalek rakudo/toqast: Translate method calls to QAST. Again, a few complicated ones left over (please don't 'help' by changing the leftovers!)
19:52 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/841e7839fb
19:59 brrt lazily, i ask if there is a simple way - a builtin, an opcode perhaps - to find the presence of a single character in a string in winxed
19:59 brrt i can probably figure this out by myself, but it is hard :-)
20:02 benabik brrt: indexof(haystack, needle)
20:03 Coke parrot$ perldoc src/ops/string.ops - look for "search"
20:12 brrt thanks
20:14 brrt handy stuff, i never realised you could run perldoc on that
20:29 tuxit joined #parrot
20:31 autark joined #parrot
20:45 brrt another question, winxed and shift?
20:46 dalek rakudo/toqast: 27f9453 | jnthn++ | src/QPerl6/ (2 files):
20:46 dalek rakudo/toqast: Translate a bunch of calls to QAST.
20:46 dalek rakudo/toqast: review: https://github.com/rakudo/rakudo/commit/27f9453d34
20:46 brrt ${ shift, foo, bar }; works
20:46 brrt but, ugly
20:46 benabik brrt: shift_<type>(array)
20:46 benabik e.g.  shift_int, shift_var
20:47 NotFound brrt: there are some ugly builtins.
20:47 NotFound Yeah, that.
20:47 brrt oh, that works
20:47 brrt thanks
20:48 brrt if it'd be welcome I'd like to write up my experiences with winxed
20:48 NotFound brrt: more than welcome!
20:50 brrt good, will do then
20:50 NotFound But I'll need someone to write ugly things. They say a language is not popular if it lacks a big bunch of haters.
20:51 NotFound (paradigmatic examples: cobol, pascal, C, java...)
20:55 brrt good point
20:55 brrt there are plenty ugly things
20:55 brrt but - as far as i'm concerned - most of them have to do with the hilarious mess that is vtable versus method
20:55 brrt versus opcode
21:14 brambles joined #parrot
21:14 perlite joined #parrot
21:45 dalek nqp/toqast: 702c1b7 | jnthn++ | / (2 files):
21:45 dalek nqp/toqast: Add a QAST::CompUnit, which will be involved in SC handling and a few other things we have one of per compilation unit.
21:45 dalek nqp/toqast: review: https://github.com/perl6/nqp/commit/702c1b7382
21:55 brambles joined #parrot
22:23 autark joined #parrot
22:33 whiteknight joined #parrot
22:35 whiteknight Good afternoon, #parrot
22:35 whiteknight Apparently a new C standard, C11 is in the works
22:35 whiteknight one more modernizing development that Microsoft isn't going to support and Parrot won't be able to use
22:49 brambles joined #parrot
23:28 dalek parrot/whiteknight/io_cleanup1: b4b92b9 | Whiteknight++ | / (3 files):
23:28 dalek parrot/whiteknight/io_cleanup1: Add in a function Parrot_io_get_standard_piohandle to replace the older Parrot_io_get_std_handle
23:28 dalek parrot/whiteknight/io_cleanup1: review: https://github.com/parrot/parrot/commit/b4b92b9892
23:28 dalek parrot/whiteknight/io_cleanup1: 5eee9ba | Whiteknight++ | src/ (10 files):
23:28 dalek parrot/whiteknight/io_cleanup1: Several build fixes for g++. kid51++ for the error report
23:28 dalek parrot/whiteknight/io_cleanup1: review: https://github.com/parrot/parrot/commit/5eee9bac9d
23:28 dalek parrot/whiteknight/io_cleanup1: dc11d0d | Whiteknight++ | src/ (4 files):
23:28 dalek parrot/whiteknight/io_cleanup1: Merge branch 'whiteknight/io_cleanup1' of github.com:parrot/parrot into whiteknight/io_cleanup1
23:28 dalek parrot/whiteknight/io_cleanup1: review: https://github.com/parrot/parrot/commit/dc11d0d1b5
23:31 whiteknight Thanks to commits from kid51++ and jimmyZ++, we're only failing the codetest about function docs now
23:32 whiteknight and it appears several people have been able to build NQP and Rakudo on the branch
23:40 whiteknight We need a tool to automatically insert documentation stubs for functions
23:41 kjs joined #parrot
23:41 kid51 joined #parrot
23:42 whiteknight unless there already is such a thing and I just don't know about it
23:45 dalek parrot/whiteknight/io_cleanup1: e85091e | Whiteknight++ | src/platform/ (2 files):
23:45 dalek parrot/whiteknight/io_cleanup1: Re-format some function-level docs so that the test recognizes that they exist
23:45 dalek parrot/whiteknight/io_cleanup1: review: https://github.com/parrot/parrot/commit/e85091ea0a
23:45 dalek parrot/whiteknight/io_cleanup1: d06de9b | Whiteknight++ | src/io/userhandle.c:
23:45 dalek parrot/whiteknight/io_cleanup1: Small doc fix for userhandle.c
23:45 dalek parrot/whiteknight/io_cleanup1: review: https://github.com/parrot/parrot/commit/d06de9b423
23:47 whiteknight I wonder how hard it would be to update headerizer to automatically jam in empty documentation stubs with TODO notes?
23:49 jlaire joined #parrot
23:49 kid51 I would support that if the creators of those functions were sent an email once a day reminding the authors to write the docs. :-)
23:50 whiteknight headerizer already spits out warnings when it finds a function without docs.
23:50 whiteknight it could just spit out a bigger warning
23:51 whiteknight we could update the c_function_docs.t test to find these auto-generated TODO notes and fail
23:58 kid51_ joined #parrot

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

Parrot | source cross referenced