Camelia, the Perl 6 bug

IRC log for #parrot, 2010-10-10

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:19 theory left #parrot
01:30 hercynium joined #parrot
01:42 theory joined #parrot
01:49 PerlPilot joined #parrot
01:54 PerlJam left #parrot
02:35 janus left #parrot
02:36 janus joined #parrot
04:15 hercynium left #parrot
04:30 AzureStone left #parrot
04:40 AzureStone joined #parrot
04:46 dukeleto AzureStone: howdy
04:47 AzureStone Hi
04:48 AzureStone I am Japanese.
04:55 dukeleto AzureStone: all are welcome here :) How did you hear about Parrot ?
04:55 * dukeleto has 10 minutes of batter left
04:55 dukeleto battery, even.
04:56 AzureStone Perl6
04:57 dukeleto AzureStone: that is how I got interested in Parrot as well
04:57 dukeleto AzureStone: there is a large overlap between #parrot and #perl6
04:58 AzureStone Perl6 doing some research and learned parrot.
05:01 * dukeleto found a power outlet. Yay.
05:04 dukeleto AzureStone: what kind of stuff are you doing in Perl 6?
05:26 plobsing_ left #parrot
05:28 dukeleto I found a simple-to-fix coredump in ByteBuffer.
05:49 dalek parrot: r49487 | dukeleto++ | trunk (2 files):
05:49 dalek parrot: [pmc] Fix coredump in ByteBuffer when initialized with a negative size and add a test
05:49 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49487/
05:55 theory left #parrot
06:09 dukeleto coverage?
06:27 dukeleto The Iterator PMC has very little test coverage.
06:29 sorear The Iterator PMC has very little documentation, too
06:30 sorear or I should say, documented semantics; it's one of the inconsistent bits of the aggreggate API I was complaining about long ago
06:35 dalek parrot: r49488 | dukeleto++ | trunk/t/pmc/boolean.t:
06:35 dalek parrot: [pmc] Add tests for converting Boolean PMC to a numeric, which should bring the coverage up to 100%
06:35 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49488/
06:40 dukeleto sorear: it seems like a fairly important PMC
06:41 dukeleto Also, even the Integer PMC has < 60% test coverage. We need to fix that.
07:27 dukeleto Socket PMC's should have a get_bool vtable, right? They don't currently.
07:29 cotto What would it represent?
07:30 cotto open/closed?
07:32 dukeleto actually, it exists in the Socket PMC but not the Sockaddr PMC, but cloning a Socket seems to give a Sockaddr, which is odd
07:32 dukeleto cotto: it is documented to return if the socket is open
07:33 cotto Ah. Following the docs is a good idea.
07:33 dukeleto Yep, cloning a Socket returns a Sockaddr. Odd.
07:34 cotto quite odd
07:36 dukeleto cotto: i think it was returning the wrong value from it's vtable, seeing if I can make my test pass now
07:36 cotto return SELF for clone doesn't make sense
07:37 dukeleto cotto: yep, it should return data_struct, i think
07:37 dalek parrot: r49489 | dukeleto++ | trunk/t/pmc/socket.t:
07:37 dalek parrot: [t] Add a test for cloning a Socket PMC
07:37 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49489/
07:37 cotto I'd think "copy".
07:37 cotto data_struct not being a PMC
07:38 dukeleto cotto: hmmm. indeed.
07:41 cotto It makes me sad that that's been around since r37705
07:41 cotto dukeleto++ for increasing test coverage.
07:42 dukeleto no one really uses that PMC
07:42 cotto We should pick a couple PMCs and bump up their coverage for the next weekly goal.
07:42 dukeleto i want to apply the ipv6 patch we have waiting in Trac, so I am adding some basic tests to Socket
07:42 cotto +1
07:43 dukeleto cotto: returning "copy" still is a Sockaddr
07:43 cotto Oh my.  That's a sizable patch.
07:44 dukeleto cotto: SUPER of a Socket must be Sockaddr
07:44 cotto We should start a branch for it so it doesn't get too stale.
07:44 dukeleto cotto: yes, large patch with no tests. But they are cool features. If they work.
07:44 dukeleto cotto: that is an idea
07:44 cotto Or not.  I don't think the files it touches get modified very often.
07:45 dukeleto cotto: no, they don't. Not currently.
07:47 dukeleto cotto: where do i look up what SUPER exactly means?
07:47 cotto It calls the same VTABLE function of the PMC's parent.
07:47 cotto iirc
07:48 cotto verified
08:07 dalek parrot: r49490 | dukeleto++ | trunk (2 files):
08:07 dalek parrot: [t] More tests for Socket PMCs, including one TODO test for cloning a Socket
08:07 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49490/
08:23 dalek parrot: r49491 | dukeleto++ | trunk/t/pmc/socket.t:
08:23 dalek parrot: [t] Add tests for creating TCP and UDP sockets
08:23 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49491/
08:50 cotto http://www.slideshare.net/cog/chmod-x-chmod
08:51 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#517) fulltest) at r49491 - Kubuntu 10.10 RC amd64 (g++-4.5 with --optimize)
08:53 M_o_C joined #parrot
09:25 tadzik joined #parrot
10:16 mikehh rakudo (668719b) builds on parrot r49491 - make test PASS, make spectest_smolder(#518) FAIL - Kubuntu 10.10 RC amd64 (g++-4.5 with --optimize)
10:16 mikehh 27,049 ok, 3 failed, 611 todo, 1,888 skipped and 0 unexpectedly succeeded
10:17 mikehh t/spec/S09-typed-arrays/arrays.rakudo seems to be having problems
10:18 moritz that file works on my machine
10:18 moritz got a test output at hand?
10:20 mikehh moritz: I have run it a couple of times and it seems to hang in different places, in the test I did I was about to kill it when it completed
10:22 moritz mikehh: we should probably disable the test, types arrays are horribly broken at them moment anyway
10:22 mikehh moritz: it has hung on test 6 for me and now after not ok 35
10:23 mikehh moritz: it has now completed - 14m35.571s
10:23 moritz wow
10:24 mikehh so test 36 seems to take ages
10:24 mikehh but it gave me ok 36
10:26 mikehh moritz:  re-running it gets to test 36 fairly quickly, but is now waiting on that
10:30 mikehh moritz:
10:30 mikehh dies_ok { @x[0, 2] = 2, 3},
10:30 mikehh 'can not assign values of wrong type to a slice';
10:31 moritz runs into the recursion limit
10:33 mikehh moritz: up tp 402.4 MiB and 8 minutes so far
10:36 moritz mikehh: I've disabled that test for now
10:48 mikehh moritz: it completed in 14m13.912s this time - I re-run the build and tests again later
10:48 mikehh moritz nearly all of that time was in that test 30
10:50 tadzik left #parrot
11:14 allison joined #parrot
11:15 * allison celebrates release day on other project http://is.gd/fUEo0
11:26 allison left #parrot
11:30 ellefu left #parrot
11:34 moritz I can see why the want to release their 10.10 on 2010-10-10 :-)
11:35 moritz s/the/they/
11:35 moritz or maybe "you" :-)
11:53 tadzik joined #parrot
12:21 M_o_C left #parrot
12:34 ruoso joined #parrot
13:18 cotto left #parrot
13:20 Psyche^ joined #parrot
13:21 Patterner left #parrot
13:21 Psyche^ is now known as Patterner
13:49 he_ left #parrot
14:18 theory joined #parrot
14:21 hudnix left #parrot
14:28 cotto joined #parrot
14:28 he joined #parrot
14:29 theory left #parrot
14:41 kid51 joined #parrot
14:47 dalek parrot: r49492 | jkeenan++ | failed to fetch changeset:
14:47 dalek parrot: Merge tt1810_missing_step_tests branch into trunk. Only report missing step tests when --test or --test=build is used.
14:47 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49492/
14:49 kid51 Getting failures in t/tools/mk_language_shell.t.  See http://smolder.parrot.org/app​/projects/report_details/522
14:50 hercynium joined #parrot
14:51 nopaste "kid51" at 192.168.1.3 pasted "2 failures in mk_language_shell.t" (26 lines) at http://nopaste.snit.ch/24177
14:56 mikehh damnit Jim - I thought I tested that on i386
14:58 preflex left #parrot
14:59 mikehh I did and it passed for me - http://smolder.parrot.org/app​/projects/report_details/512
15:02 preflex joined #parrot
15:04 jan left #parrot
15:04 kid51 mikehh:  Hey, I'm just the messenger here!
15:07 kid51 mikehh:  This is the first time I've looked at that test file.
15:07 kid51 Why is it testing $? rather than $build_status and $test_status (variables defined but not used)?
15:08 mikehh kid51: yeah - it still passes for me but looking at smolderr reports it is failing on other platforms - I think it might be a realclean problem
15:09 kid51 OTOH, I get the same failures with $build_status and $test_status
15:11 kid51 mikehh:  I did make realclean;perl Configure.pl; make; prove t/tools/mk_language_shell.t.  Got same FAILs.
15:11 mikehh kid51: it is new - first introduced yesterday - somewhere around r49484
15:12 mikehh kid51: quite a bit of discussion on irc yesterday
15:12 kid51 One problem:  The two failing tests rely on Perl system calls.  There are a myriad (is a myriad?) of reasons why the system call might return a non-zero value.
15:13 * kid51 is on vacation and was mostly up in the air yesterday
15:14 * kid51 has not backscrolled for several days
15:16 lucian joined #parrot
15:16 mikehh kid51: well enjoy the vacation, got to go out for a bit, will check later
15:18 dalek parrot: r49493 | jkeenan++ | branches/tt1810_missing_step_tests:
15:18 dalek parrot: Branch has been merged into trunk and is no longer needed at HEAD.
15:18 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49493/
15:35 plobsing joined #parrot
15:54 dukeleto 'ello
16:01 dukeleto It seems that calling clone on a Socket actually calls the clone VTABLE on Socket's parent, Sockaddr, which is why cloning a Socket returns a Sockaddr
16:02 dukeleto Also, I think SockAddr is a horrible name. SocketAddress anyone?
16:10 kid51 left #parrot
16:11 jan joined #parrot
16:15 dukeleto jan: howdy
16:15 tadzik left #parrot
16:21 nopaste "moritz" at 192.168.1.3 pasted "what's wrong here?" (10 lines) at http://nopaste.snit.ch/24190
16:22 moritz Method 'reverse' not found for invocant of class 'String' # in the nopaste
16:22 moritz but PDD28 mentions that there should be one in the String PMC
16:23 moritz and that it's even implemented for ASCII strings
16:25 * dukeleto looks
16:25 dukeleto moritz: off the top of your head, do you know if Rakudo uses Parrot Sockets or Sockaddr's at all?
16:26 moritz dukeleto: I'm pretty sure it does
16:27 moritz # Create the socket handle
16:27 moritz sock = root_new ['parrot';'Socket']
16:27 moritz from src/core/IO/Socket/INET.pm
16:29 dukeleto moritz: i can reproduce your reverse issue, not sure what is going on
16:30 dukeleto moritz: i will look in the string tests to see what I can see
16:31 moritz only mention of reverse there is in reverse_index
16:33 dukeleto moritz: string.pmc does not seem to implement a reverse method
16:35 moritz opened tt#1821
16:38 dukeleto moritz++
16:39 dukeleto moritz: just a note, we have a bug in our Sockets such that cloning them doesn't work properly. Keep that in mind if you see any funny business with sockets.
16:47 hercynium left #parrot
16:52 particle left #parrot
16:58 cognominal joined #parrot
17:05 dalek parrot: r49494 | dukeleto++ | trunk/t/pmc/socket.t:
17:05 dalek parrot: [t] Add some tests for closing Sockets
17:05 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49494/
17:22 dukeleto cotto: can you add something about your improvements to the profcore to NEWS?
17:29 mikehh left #parrot
17:36 dalek parrot: r49495 | dukeleto++ | trunk/NEWS:
17:36 dalek parrot: [doc] Give NEWS some love
17:36 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49495/
17:51 dalek parrot: r49496 | dukeleto++ | trunk/t/pmc/socket.t:
17:51 dalek parrot: [t] Add tests for creating raw TCP and UDP sockets
17:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49496/
17:51 dalek parrot: r49497 | dukeleto++ | trunk/t/pmc/socket.t:
17:51 dalek parrot: [t] Add tests for creating IPv6 sockets
17:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49497/
17:57 tadzik joined #parrot
18:06 dalek parrot: r49498 | dukeleto++ | trunk/t/pmc/sockaddr.t:
18:06 dalek parrot: [t] Add a TODO test for get_bool on a SockAddr PMC
18:06 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49498/
18:17 particle joined #parrot
18:22 dalek parrot: r49499 | dukeleto++ | trunk/docs/pdds/pdd22_io.pod:
18:22 dalek parrot: [pdd] Fix a fib in PDD22 about get_bool on a Socket
18:22 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49499/
18:44 PerlJam joined #parrot
18:48 PerlPilot left #parrot
19:29 * dukeleto goes on a socket-related test binge
19:34 cotto dukeleto, most definitely
19:39 davidfetter left #parrot
19:41 cotto done
19:54 dalek parrot: r49500 | cotto++ | trunk/NEWS:
19:54 dalek parrot: [NEWS] add PCore improvements to the news
19:54 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49500/
20:25 davidfetter joined #parrot
20:26 M_o_C joined #parrot
20:27 perlite left #parrot
20:27 perlite joined #parrot
20:32 eternaleye left #parrot
21:11 darbelo left #parrot
21:16 M_o_C left #parrot
21:30 bacek joined #parrot
21:53 bacek left #parrot
21:57 dalek parrot: r49501 | dukeleto++ | trunk/t/tools/mk_language_shell.t:
21:57 dalek parrot: [t] Improve diagnostic messages in tests for mk_language_shell.t
21:57 dalek parrot: review: http://trac.parrot.org/parrot/changeset/49501/
23:45 szabgab left #parrot
23:45 szabgab joined #parrot
23:51 silug left #parrot

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

Parrot | source cross referenced