Camelia, the Perl 6 bug

IRC log for #parrot, 2008-05-04

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:45 jjames joined #parrot
02:00 Theory joined #parrot
02:05 Zaba joined #parrot
02:12 Infinoid hmmm
02:13 Infinoid Method 'set_string_native' not found for invocant of class 'Packfile'
02:13 Infinoid the code was:    pf.'set_string_native'($S0)
02:13 Infinoid the method is:     VTABLE void set_string_native(STRING *str) {
02:13 Infinoid I'm pir-clueless... is there something special I need to do to call vtable functions?
02:18 Infinoid oh, looks like "set pf, $S0" works in that case.  but now I have the same problem figuring out how get_integer_keyed_str gets called
02:18 particle yes
02:19 particle $I0 = $P0[$S0]
02:19 particle get an integer from a keyed string
02:20 particle remember, VTABLE is not METHOD
02:21 Infinoid tried that, it wants to call get_integer_keyed(), not get_integer_keyed_str()
02:22 Infinoid vtables look so much like methods, I want to call them as methods :)
02:24 Infinoid sorry... this is the first time I've written a .pmc.  it isn't going so well.
02:33 Zaba joined #parrot
02:34 Infinoid I made a get_integer_keyed() function which dispatches to get_integer_keyed_str(), that seems to get farther.
02:35 TimToady EECC?
02:35 janus joined #parrot
02:36 * particle would love to help more, but has to run :( &
02:47 Infinoid "string_equal" is oddly named.  the docs say it returns 0 on equality and 1 otherwise, but at first glance, I expected the opposite
02:48 Infinoid and since I'm not used to that, "if (!string_equal(interp, a, b))" doesn't read very clearly
02:48 tetragon Sounds similar to strcmp
02:48 Eevee that is kinda terrible
02:49 tetragon (not that I use strcmp when strncmp is available)
02:50 Infinoid yeah, but at least with strncmp, I'm used to it :)
02:50 Infinoid and it serves a purpose, since you can pass it immediately to a sort routine
02:52 Andy joined #parrot
02:55 Infinoid also, string_equal can return -1, despite its documentation implying it can't
02:55 Infinoid also also, its unclear what the difference in behavior between string_equal and string_compare is
02:55 * Infinoid gives up and looks to see what the other pmcs are using.
03:05 tetragon joined #parrot
03:05 tetragon string_compare is overt in its possibility of returning a negative value
03:05 tetragon string_equal hides it in CHARSET_COMPARE
03:05 * tetragon also grumbles about wireless access points
03:07 Infinoid well, string_compare can do whatever it wants, since I didn't find any documentation on it :)
03:22 dalek r27313 | infinoid++ | trunk:
03:22 dalek : [pod]
03:22 dalek : string_equal() returns CHARSET_COMPARE(), which can return -1, therefore
03:22 dalek : string_equal can return -1.  Fix the documentation accordingly.
03:22 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27313
03:29 dalek r27314 | infinoid++ | pdd13pbc:
03:29 dalek : [PDD13]
03:29 dalek : * implement Packfile.set_string_native, add init()/destroy() methods to
03:29 dalek :   manage the PackFile struct.
03:29 dalek : * implement Packfile.get_*_keyed_str(), so we can query .pbc header fields
03:29 dalek :   from pir.
03:29 dalek : * Add some get_*_keyed() functions to dispatch to get_*_keyed_str(), which
03:29 dalek :   makes everything work.  Though I don't know why I needed to do that.
03:29 dalek : * Add an exception type: E_MalformedPackFileError
03:29 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27314
03:29 nopaste "Infinoid" at 75.28.78.127 pasted "For posterity: the .pir file I used to test the above" (21 lines) at http://nopaste.snit.ch/12884
03:56 Theory joined #parrot
04:19 Theory joined #parrot
04:19 tetragon joined #parrot
04:37 Psyche^ joined #parrot
05:04 Zaba joined #parrot
05:23 Psyche^ joined #parrot
06:06 desertmax joined #parrot
06:27 Zaba joined #parrot
06:53 slightlyoff_ joined #parrot
09:20 barney joined #parrot
09:27 iblechbot joined #parrot
09:51 Ivatar joined #parrot
10:14 desertmax joined #parrot
10:59 kid51 joined #parrot
11:07 mire joined #parrot
11:21 rdice joined #parrot
11:48 dalek joined #parrot
11:48 dalek r27315 | infinoid++ | pdd13pbc:
11:48 dalek : [PDD13] Make improvements suggested by chromatic++.
11:48 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27315
11:48 dalek r27316 | allison++ | pdd25cx:
11:48 dalek : [pdd25cx] Fix old exception name in generated dynamic PMCs.
11:48 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27316
11:48 dalek r27317 | bernhard++ | trunk:
11:48 dalek : [Plumhead]
11:48 dalek : Disentangle the PCT and ANTLR3 variants.
11:48 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27317
11:48 wolverian joined #parrot
11:51 pmichaud joined #parrot
11:51 Jonathan joined #parrot
11:52 Juerd joined #parrot
11:56 leo joined #parrot
11:56 PerlJam joined #parrot
12:58 Zaba joined #parrot
13:07 ambs joined #parrot
13:10 ambs .
13:10 Zaba moin ambs
13:11 ambs hellows
13:17 Zaba hmm...
13:19 Zaba ambs, can you look into these test failures: http://rafb.net/p/ASPvpc84.html
13:19 ambs Zaba, those files are yours?
13:20 Zaba ambs, it's non-changed r27319
13:20 ambs ok, then give me some minutes and I'll fix them
13:20 Zaba okay
13:20 ambs but they are not relevant
13:21 ambs are just tests against the SVN repository
13:21 Zaba ambs, it's whitespace on EOLs too :>
13:21 Zaba just cosmetic problems indeed
13:21 ambs yes :)
13:22 ambs coding standards, basically
13:23 barney Should be fixed now
13:24 ambs barney, all? :)
13:24 ambs damn, no karma for me :D
13:25 barney Yes, it was all in the new file driver_nqp.pir
13:48 ambs hmmms.
13:48 ambs dalek is dead!
13:48 ambs purl, wake up dalek!
13:48 purl ambs: huh?
13:56 wolverian joined #parrot
13:56 dalek joined #parrot
13:56 dalek bernhard.schmalhofer@gmx.de | Plumhead:
13:56 dalek link: http://www.perlfoundation.or​g/parrot/index.cgi?plumhead
13:57 dalek r27318 | bernhard++ | trunk:
13:57 dalek : [Plumhead]
13:57 dalek : Start with setting up PAST in NQP for 'Plumhead PHC'.
13:57 dalek : Some tests are passing, most are failing.
13:57 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27318
13:57 dalek r27319 | bernhard++ | trunk:
13:57 dalek : [Plumhead]
13:57 dalek : Clean up generated files.
13:57 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27319
13:57 dalek r27320 | bernhard++ | trunk:
13:57 dalek : [Plumhead]
13:57 dalek : Satisfy codingstd for driver_nqp.pir
13:57 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27320
13:57 dalek r27321 | fperrad++ | trunk:
13:57 dalek : [Lua]
13:57 dalek : - add a bytecode disassembler (first step of a Lua 5.1 VM bytecode translator)
13:57 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27321
13:58 ambs dalek-- # for being dead!
13:59 pmichaud joined #parrot
13:59 Juerd joined #parrot
13:59 leo joined #parrot
13:59 Jonathan joined #parrot
14:04 PerlJam joined #parrot
14:08 Andy joined #parrot
14:16 Zaba joined #parrot
14:25 jan joined #parrot
14:26 wknight8111 joined #parrot
14:31 dalek joined #parrot
14:49 davidfetter joined #parrot
15:00 guru joined #parrot
15:04 kid51 joined #parrot
15:06 dalek allison@perl.org | Concurrency Tasks:
15:06 dalek link: http://www.perlfoundation.org/pa​rrot/index.cgi?concurrency_tasks
15:06 shorten dalek's url is at http://xrl.us/bjqpy
15:21 diakopter ambs: feather was down
15:22 ambs diakopter, those are just excuses :)
15:23 diakopter hey, at least dalek rejoined automagically.  svnbotl would've required supranatural resurrection
15:24 ambs hehehe
15:30 guru joined #parrot
15:30 Infinoid ...and dalek queued the messages so nothing was lost, too!
15:58 tetragon joined #parrot
16:05 Juerd Note: feather's connection was down; the machine itself not.
16:11 ambs See? I told you that were just excuses :)
16:13 Bill joined #parrot
16:16 Juerd joined #parrot
16:20 rdice joined #parrot
16:27 teknomunk joined #parrot
16:27 teknomunk joined #parrot
17:09 kid51 joined #parrot
17:13 dalek r27322 | infinoid++ | pdd13pbc:
17:13 dalek : [PDD13] Packfile PMCs need the "destroy" bit set, so they can free up
17:13 dalek : the underlying PackFile object.
17:13 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27322
17:24 Infinoid (...even though the underlying PackFile API still leaks memory.)
17:35 ambs joined #parrot
17:39 Theory joined #parrot
17:44 ambs any Vadim around?
18:01 dalek r27323 | infinoid++ | trunk:
18:01 dalek : [packfile] Fix a small memory leak in pf_debug_unpack, reported by valgrind++.
18:01 dalek diff: http://www.parrotvm.org/svn​/parrot/revision?rev=27323
18:17 Zaba joined #parrot
18:35 AndyA joined #parrot
19:02 dalek allison@perl.org | Concurrency Tasks:
19:02 dalek link: http://www.perlfoundation.org/pa​rrot/index.cgi?concurrency_tasks
19:02 shorten dalek's url is at http://xrl.us/bjqpy
19:03 particle joined #parrot
19:14 dalek allison@perl.org | Concurrency Tasks:
19:14 dalek link: http://www.perlfoundation.org/pa​rrot/index.cgi?concurrency_tasks
19:14 shorten dalek's url is at http://xrl.us/bjqpy
19:30 dalek allison@perl.org | Concurrency Tasks:
19:30 dalek link: http://www.perlfoundation.org/pa​rrot/index.cgi?concurrency_tasks
19:30 shorten dalek's url is at http://xrl.us/bjqpy
19:31 ambs joined #parrot
19:43 grim_fandango joined #parrot
19:47 jjuran joined #parrot
20:12 Khisanth joined #parrot
20:30 Tene Ack.  I was supposed to port the allow-trailing-commas fix from nqp to rakudo a while back.
20:30 Tene I'll do it when I get to my hotel.
20:32 jan joined #parrot
20:35 slavorg joined #parrot
20:54 mj41 joined #parrot
21:20 teknomunk joined #parrot
22:07 Zaba joined #parrot
22:31 Bill joined #parrot
22:35 jan joined #parrot
23:06 Coke .
23:09 tetragon :
23:14 Infinoid ¿
23:15 tetragon ?
23:27 Infinoid !
23:28 Juerd
23:28 tetragon ?
23:29 Infinoid »
23:29 Infinoid parrotbug is taking its sweet time.
23:29 Juerd ..
23:29 tetragon ?
23:29 Juerd ?
23:30 Juerd
23:30 Infinoid ¡
23:31 tetragon ?
23:34 * tetragon wonders about the wide variety of ?asterisks? in Unicode
23:43 Infinoid ¤

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

Parrot | source cross referenced