Camelia, the Perl 6 bug

IRC log for #parrot, 2010-12-31

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:00 nwellnhof s/to/two/
00:04 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#1923) fulltest) at 2_11_0-369-gaa07b32 - Ubuntu 10.10  i386 (g++-4.5)
00:12 Myhrlin left #parrot
00:14 dalek parrot/nwellnhof/unicode_io: b0db14f | nwellnhof++ | src/io/buffer.c:
00:14 dalek parrot/nwellnhof/unicode_io: Flush write buffer in Parrot_io_readline_buffer
00:14 dalek parrot/nwellnhof/unicode_io:
00:14 dalek parrot/nwellnhof/unicode_io: Now that we call it directly...
00:14 dalek parrot/nwellnhof/unicode_io: review: https://github.com/parrot/parrot/commit/b0db14f18b
00:15 Myhrlin joined #parrot
00:22 cotto_work Is Kristian Inanov here?
00:31 Yuki`N dukeleto, looks like the CI project will probably take up most of the time I have until the end of GCI.
00:32 Yuki`N I'm not quite sure if it's very conducive to giving GCI credit for, either. :P
00:33 Yuki`N Looks like matt and kapace bumped up MappedByteArray without me, eh.
00:35 Yuki`N Actually no, doesn't look like it. I'll get working on that then, if someone can approve, http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129360069576
00:37 cotto_work Yuki`N: done
00:38 Yuki`N Thanks.
00:41 kennym left #parrot
00:51 Matt_ joined #parrot
00:58 Yuki`N cotto, mappedbytearray is at 82% on my machine.
00:59 Yuki`N aloha, coverage?
00:59 aloha Yuki`N: coverage is http://cv.perl6.cz or http://tapir2.ro.vutbr.cz/cover/cover-results/
01:00 Yuki`N It's less there, hmm.
01:00 cotto_work Yuki`N: that's not updated continuously.
01:01 Yuki`N Ah.
01:01 Yuki`N Not sure how I can complete the 30% at this rate.
01:02 rfw Yuki`N: gonna have to cover all 112% of mappedbytearray
01:03 Yuki`N oh dear.
01:03 cotto_work rfw: That's how it has to be.  100% just isn't good enough.
01:03 rfw cotto_work: parrot is 112% functional!
01:04 Matt_ Yuki`N: Yes - I brought the coverage up to 82% today.
01:05 Matt_ The task said it's at < 10% but it was actually at 40% when I claimed the task
01:05 Yuki`N I see.
01:05 Yuki`N I'll bring it as close to 100% as possible.
01:05 Matt_ cotto_work: Can you look at this: https://github.com/parrot/parrot/pull/57
01:14 whiteknight bah, we should be deprecating, removing, and cutting with a dull knife the Scalar PMC, not increasing test coverage
01:16 rfw i think i'll stop working on darter for a bit and go back to test coverage
01:16 elmex left #parrot
01:17 elmex joined #parrot
01:19 Matt_ whiteknight: then its a good thing I didn't go past +20% cause I was gonna do double the task required
01:20 cotto_work Matt_: will do, though probably later this evening.
01:20 Yuki`N I wish there was a way to make mmap() fail on purpose.
01:20 Yuki`N Unfortunately my system will never run out of memory.
01:20 Yuki`N Nor is it a good idea to make it do so.
01:20 cotto_work especially not as part of the test suite
01:21 rfw is make quickcover still broken?
01:22 Matt_ rfw: It is for me on GCC 4.5.1
01:22 Matt_ but make quickcover_new works great
01:23 rfw make: *** No rule to make target `quickcover_new'.  Stop.
01:23 rfw do i need to pull in a branch?
01:23 Matt_ it should work with the latest master
01:23 Matt_ did you maybe do a realclean and forget to configure again?
01:23 rfw nope
01:23 rfw same thing
01:24 rfw oh
01:24 rfw whoops
01:24 rfw pulled from wrong master
01:24 rfw heh
01:25 Yuki`N Let's see what magic I can accomplish with my 13 new exception-handling tests.
01:33 rfw someone: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129361526246
01:33 dalek website: jkeenan++ | On Roadmaps and Teams
01:33 dalek website: http://www.parrot.org/content/roadmaps-and-teams
01:34 cotto_work rfw: done.  That'll be an interesting one.  PMCProxy is unusual.
01:35 kid51 is now known as kid51_at_dinner
01:36 rfw urk, how do i get pmc keyed again in pir?
01:36 rfw just [key]?
01:38 davidfetter left #parrot
01:40 cotto_work $P0 = foo['bar']
01:40 cotto_work that's it
01:41 rfw okay i must be doing something else wrong
01:45 davidfetter joined #parrot
01:49 Yuki`N These share_ro VTABLEs are quite annoying.
01:50 cotto_work whiteknight: ping
01:50 whiteknight pong
01:50 cotto_work whiteknight: do you see a compelling reason for share_ro not to die?
01:51 Yuki`N cotto, I was able to get MappedByteArray from 82% to 96%, it's not quite 30% but can I claim completion anyway?
01:51 cotto_work sure
01:51 Yuki`N The only lines that are untested are when mmap fails (which is almost impossible to reliably replicate) and something that can never happen via PIR.
01:52 rfw Class 'Array' not found
01:52 rfw am i doing something wrong
01:52 rfw new $P3, 'Array'
01:52 Yuki`N try ['Array']
01:53 rfw did that too
01:53 rfw just got Class ['Array'] not found
01:53 cotto_work We no longer have an Array PMC.
01:53 rfw oh
01:53 rfw how do i declare an array?
01:54 cotto_work use one the specialized array types
01:54 rfw uh what are they?
01:55 rfw never mind got it
01:55 whiteknight cotto_work: I see a compelling reason for share_ro to die
01:55 whiteknight kill it with fire
01:55 cotto_work src/pmc/fixed*array and src/pmc/resizable*array
01:55 whiteknight then poke it with a sharp stick
01:55 cotto_work sweet
01:55 Yuki`N whiteknight, will do.
01:55 cotto_work whiteknight: can you make a gci task?
01:55 whiteknight as far as I am aware it's basically a hold over from the old threading system and STM system
01:56 Yuki`N My fork of parrot is quite dirty for some reason
01:56 whiteknight STM was ripped out, and I want to rip out our current threads too
01:56 Yuki`N It's got all sorts of commits not in master.
01:59 Yuki`N I've submitted a pull request for MappedByteArray, and also work to http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129360069576
02:00 cotto_work plobsing, nwellnhof ping
02:01 cotto_work Yuki`N: did you read docs/project/git_workflow.pod?
02:01 Yuki`N nope.
02:02 rfw whee i think i finised
02:02 rfw finished
02:02 elmex left #parrot
02:02 elmex joined #parrot
02:03 cotto_work Yuki`N: every time you don't read git_workflow, dukeleto kills a kitten
02:03 Yuki`N Lol.
02:03 Yuki`N It doesn't really apply to me as much, as I don't have direct access to the master parrot repository.
02:03 Yuki`N Instead my case is much more complex.
02:04 cotto_work Yuki`N: you can fork and clone
02:04 cotto_work that's the beauty of git, among other things
02:04 Yuki`N Yeah.
02:04 Yuki`N git checkout bobby/tables         # make sure we are on the branch
02:04 Yuki`N git rebase origin/bobby/tables    # get the latest sql injections
02:04 Yuki`N who wrote this
02:05 rfw hahahaha
02:05 cotto_work git blame
02:05 Yuki`N dukeleto. :(
02:05 rfw Yuki`N: well, if whiteknight wrote it, it would probably be git checkout LOL/CATZ
02:06 whiteknight what did I write?
02:06 rfw [15:04:41] <@Yuki`N>   git checkout bobby/tables         # make sure we are on the branch
02:06 whiteknight oh, right
02:07 rfw i'm kind of confused - how do i change a 'Class' into a 'PMCProxy'?
02:07 rfw can i just cast it directly?
02:08 rfw i.e. replace Class with PMCProxy
02:09 Yuki`N Now to see if I can clean up my history at all.
02:11 Yuki`N It's really quite strange.
02:12 Yuki`N Github says there are 24 commits to be pulled in, but only 1 changed file.
02:12 Yuki`N I don't know if I should just rebase the commits out.
02:13 rfw Yuki`N: did you do 24 commits on one test
02:14 Yuki`N Nope.
02:14 rfw then, what
02:14 Yuki`N The 23 other commits aren't even mine.
02:14 rfw oh
02:14 rfw did you merge someone else's crap in or something
02:15 Yuki`N Yeah.
02:15 Yuki`N I just
02:15 Yuki`N Rebased it all out. :/
02:16 rfw :/
02:16 * rfw rebases Yuki`N
02:16 Yuki`N whiteknight, since you're the one who usually handles the pull requests, https://github.com/parrot/parrot/pull/58
02:16 Yuki`N And then approve http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129360069576 whenever
02:17 Kristaba Can someone explain me how to add a file in the project (to add it in the make and headerizer process)?
02:18 gbacon joined #parrot
02:18 Yuki`N You can edit the makefile template in config/gen/makefiles/root.in
02:20 Yuki`N You can run headerizer on individual .c files if you want, `perl tools/dev/headerizer.pl path/to/file.c'
02:20 Yuki`N Not quite sure how you're *supposed* to do it, though.
02:21 whiteknight Kristaba: sure. Adding a file has two basic steps: Create the new file, and add it to the makefile in config/gen/makefiles/root.in
02:21 rfw arghwhywon'tyouworkyoustupidtest
02:22 whiteknight Setting up a file with headerizer is also two steps: Add tags at the top of the file to tell headerizer where the function prototypes should go, and add tags to the header file to tell where to put them
02:22 rfw how do i typecast in parrot?
02:22 whiteknight rfw: what do you mean?
02:22 rfw $P3 = new ['PMCProxy'];    $P3 = $P0 doesn't seem to work
02:22 rfw it just doesn't want to be a pmcproxy
02:22 whiteknight rfw: the "=" operator is sort of stupid
02:23 rfw what do i use instead?
02:23 whiteknight there are two opcodes: set and assign. I think "=" is assign
02:23 rfw ah, so i want "set"?
02:23 whiteknight you may want to try set $P3, $P0
02:23 whiteknight try i
02:23 whiteknight it
02:23 whiteknight or it may be the other way around
02:23 whiteknight try both
02:23 whiteknight I get confused
02:23 rfw :<
02:24 dalek parrot/gci_mappedbytearray_coverage: e66d2fd | Yuki`N++ | t/pmc/mappedbytearray.t:
02:24 dalek parrot/gci_mappedbytearray_coverage: Almost fully cover MappedByteArray.
02:24 dalek parrot/gci_mappedbytearray_coverage: review: https://github.com/parrot/parrot/commit/e66d2fdf09
02:30 kid51_at_dinner rfw: ping
02:30 kid51_at_dinner is now known as kid51
02:30 rfw kid51: pong
02:31 kid51 I got your message about --silent.
02:31 kid51 You are partially correct.
02:31 rfw ah
02:31 kid51 --silent does silence the output of the individual configuration steps
02:31 kid51 but it doesn't silence the 'pre-' and 'post-' messages.
02:31 rfw oh yeah, i noticed
02:35 Yuki`N whiteknight, I'm going to make a branch and get rid of all the share_ro's.
02:35 Yuki`N With share_ro removal I also increase the Object PMC's coverage a good amount.
02:36 cotto_work Yuki`N: it'll help with a lot of PMCs.
02:36 whiteknight Yuki`N: you want that to be a GCI task so you can get points for it?
02:36 cotto_work I'd like to do a bit of digging before we ditch it.
02:36 cotto_work just to be sure it's as useless as I think it is
02:37 Yuki`N whiteknight, sure, if it's not too much trouble.
02:37 dalek parrot: e66d2fd | Yuki`N++ | t/pmc/mappedbytearray.t:
02:37 dalek parrot: Almost fully cover MappedByteArray.
02:37 dalek parrot: review: https://github.com/parrot/parrot/commit/e66d2fdf09
02:37 Yuki`N cotto_work, yeah, it'll be branched.
02:37 Yuki`N I added one test to object, though, that's in my master right now I believe.
02:38 Yuki`N whiteknight, I'll probably take a GCI task for that, and a GCI task for object since I wrote (a) test for object, but the other pmc's that increase are just whatever. :P
02:38 rfw okay, this really really doesn't like me
02:38 Yuki`N I think string will reach 99% or 100% without share_ro.
02:38 whiteknight rfw: what's up? Sounds like you need a hand
02:38 rfw whiteknight: i can't seem to ever call the parents method
02:39 rfw $P3 = new ['PMCProxy']; $P3 = get_class $P0; $P4 = new ['FixedPMCArray']; $P4 = $P3.'parents'() is what i have right now
02:39 cotto_work share_ro is definitely an STM leftover
02:39 rfw and $P3 is definitely a PMCProxy
02:39 rfw so i don't understand why it doesn't work
02:40 Matt_ can someone go through this really quick: http://www.google-melange.com/gci/​task/show/google/gci2010/parrot_pe​rl_foundations/t129361611720#c4002
02:41 cotto_work Yuki`N: do you know what you need to do to nuke share_ro or should I spell it out a bit in the gci task?
02:42 cotto_work I don't mind if it helps, but there's also no need to bother telling you things you alread know.
02:42 Yuki`N cotto_work, besides removing all the VTABLE implementations I'm not sure.
02:42 cotto_work *already
02:42 Yuki`N There's some master list of VTABLEs, isn't there?
02:42 Kristaba whiteknight: I tried to add my files into root.in, but 'make headerizer' can't headerizer these files
02:42 cotto_work it's basically that and removing it from src/vtable.tbl
02:42 Yuki`N ah ok
02:42 whiteknight Yuki`N: http://www.google-melange.com/gci/ta​sk/suggest_task/google/gci2010/parro​t_perl_foundations/t129376332443?s=0 I don't think that task is public yet. When cotto or somebody else makes it public you can take it
02:42 whiteknight Kristaba: what error does it give you?
02:42 Yuki`N Ok.
02:43 cotto_work published
02:44 Yuki`N Is there a special trac bit you need to do stuff besides comment and make tickets?
02:44 Yuki`N e.g. closing them.
02:44 Yuki`N Claimed btw.
02:44 Kristaba whiteknight: I have no error, but the files aren't headerized after a 'make headerizer'
02:44 whiteknight rfw: wait, what are you trying to test?
02:44 rfw whiteknight: method parents of PMCProxy
02:44 cotto_work Yuki`N: you should be able to do all that
02:45 Yuki`N Last time I looked at an open ticket I couldn't take assign, or stuff like that.
02:45 cotto_work you can now
02:45 Kristaba whiteknight: Maybe I didn't add the files name in the good place into root.in
02:45 cotto_work I updated your permissions.
02:46 whiteknight rfw: try $P0 = new ['Integer'], $P1 = get_class $P0, $P2 = $P1.'parents'()
02:46 whiteknight Kristaba: there is a long list in there somewhere of all the files
02:46 rfw whiteknight: what parents does integer have that i can assert against?
02:46 whiteknight rfw: I believe Integer inherits from Scalar, currently
02:46 rfw ah okay
02:47 dalek parrot/gci_scalar_coverage: 85e9439 | (Matt Rajca)++ | t/pmc/float.t:
02:47 dalek parrot/gci_scalar_coverage: Increased test coverage for Scalar PMC
02:47 dalek parrot/gci_scalar_coverage: review: https://github.com/parrot/parrot/commit/85e94390dd
02:48 Kristaba whiteknight: Yes, in the "Dependencies" section?
02:49 whiteknight INTERP_O_FILES
02:49 whiteknight line 441
02:50 whiteknight Add your new file to that list. Then you need to make realclean and reconfigure
02:53 whiteknight rfw: There are two types of things: PMCProxy is the "Class" for built-in types. Class is for objects defined in PIR
02:53 whiteknight so get_class on a built-in type returns a PMCProxy
02:53 rfw whiteknight: ah
02:53 rfw well
02:53 rfw i'm getting class on PMCProxy now
02:53 rfw and checking if a parent is Class
02:53 rfw it seems to work
02:54 whiteknight right, get_class on PMCProxy will return a different PMCProxy
02:54 whiteknight It's the PMCProxy PMCProxy
02:54 whiteknight and the parent of that should be Class, I think
02:54 rfw is there a PMCProxy PMCProxy PMCProxy
02:54 whiteknight no, doesn't recurse infinitely
02:54 whiteknight though that would be funny
02:55 davidfetter left #parrot
02:55 Yuki`N Apparently there's also a share VTABLE.
02:56 bluescreen left #parrot
02:56 whiteknight share?
02:56 Yuki`N Yeah.
02:56 whiteknight KILL IT
02:56 Kristaba whiteknight: Perfect, thank you ;)
02:57 Yuki`N RIGHTO.
02:57 whiteknight Kristaba: We don't do this too often, so I'm sure we forget the details
02:57 whiteknight Yuki`N++
02:58 rfw yes i win
02:58 rfw 96% coverage!
02:58 Yuki`N rfw, :P
02:58 rfw oh wait
02:58 rfw wrong file!
02:58 Yuki`N Time to make test!
02:58 rfw 90.3%
02:58 aloha 0.903
03:00 whiteknight rfw++
03:00 Yuki`N whiteknight, "Badly balanced PMC source" is an error I'm getting.
03:00 whiteknight aloha, coverage?
03:00 aloha whiteknight: coverage is http://cv.perl6.cz or http://tapir2.ro.vutbr.cz/cover/cover-results/
03:00 rfw whiteknight: i was looking at fixedpmcarray by accident, heh
03:00 bluescreen joined #parrot
03:00 whiteknight Yuki`N: That usually pops up when there aren't matching braces
03:01 whiteknight make sure you got all the { and } pairs
03:01 * cotto_work goes home
03:01 Yuki`N Oh I accidentally deleted one to many }'s
03:01 rfw whiteknight: can you https://github.com/parrot/parrot/pull/59
03:01 rfw and http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129361526246
03:02 dalek parrot: 46c8406 | jkeenan++ | / (3 files):
03:02 dalek parrot: Implement option of fully silent configuration.
03:02 dalek parrot:
03:02 dalek parrot: Expand scope of '--silent' command-line option to handle pre- and
03:02 dalek parrot: post-configuration messages.  Cf.: http://trac.parrot.org/parrot/ticket/1897.
03:02 dalek parrot: rfw++ for spotting previous partial implementation..
03:02 dalek parrot: review: https://github.com/parrot/parrot/commit/46c8406019
03:02 dalek parrot: a3bd233 | jkeenan++ | t/pmc/mappedbytearray.t:
03:02 dalek parrot: Merge branch 'master' of git@github.com:parrot/parrot
03:03 dalek parrot: review: https://github.com/parrot/parrot/commit/a3bd233f96
03:04 rfw whiteknight: could you close
03:04 nwellnhof whiteknight: pong
03:04 whiteknight nwellnhof: pong
03:05 dalek parrot/gci_pmcproxy_coverage: 74eae86 | Whiteknight++ | / (21 files):
03:05 dalek parrot/gci_pmcproxy_coverage: Merge branch 'master' of github.com:parrot/parrot
03:05 dalek parrot/gci_pmcproxy_coverage: review: https://github.com/parrot/parrot/commit/74eae86925
03:05 dalek parrot/gci_pmcproxy_coverage: eb883bf | (Tony Young)++ | t/pmc/pmcproxy.t:
03:05 dalek parrot/gci_pmcproxy_coverage: Increasing PMCProxy test coverage
03:05 dalek parrot/gci_pmcproxy_coverage: review: https://github.com/parrot/parrot/commit/eb883bfc82
03:05 dalek parrot/gci_pmcproxy_coverage: d2e987f | Whiteknight++ | / (100 files):
03:05 dalek parrot/gci_pmcproxy_coverage: Merge branch 'master' of git://github.com/rofflwaffls/parrot
03:05 dalek parrot/gci_pmcproxy_coverage: review: https://github.com/parrot/parrot/commit/d2e987f2b6
03:05 rfw how do i change my name with dalek
03:05 nwellnhof whiteknight: you pinged a while before
03:05 nwellnhof rfw: on github, probably
03:06 rfw nwellnhof: hm but Yuki`N's github name isn't Yuki`N
03:06 rfw so i don't know how he does it
03:06 dalek parrot: d2e987f | Whiteknight++ | / (100 files):
03:06 dalek parrot: Merge branch 'master' of git://github.com/rofflwaffls/parrot
03:06 dalek parrot: review: https://github.com/parrot/parrot/commit/d2e987f2b6
03:06 dalek parrot: 5e1a75c | Whiteknight++ | t/pmc/pmcproxy.t:
03:06 dalek parrot: Merge remote branch 'origin/gci_pmcproxy_coverage'
03:06 dalek parrot: review: https://github.com/parrot/parrot/commit/5e1a75c171
03:06 whiteknight nwellnhof: I don't remember why. Probably safe to ignore
03:06 nwellnhof sorry, it was cotto
03:06 dalek TT #1897 closed by jkeenan++: Implement 'silent' configuration
03:06 dalek TT #1897: http://trac.parrot.org/parrot/ticket/1897
03:06 nwellnhof cotto: pong
03:07 Matt_ whiteknight: can you close this too: http://www.google-melange.com/gci/​task/show/google/gci2010/parrot_pe​rl_foundations/t129361611720#c4002
03:07 Kristaba Oh, another question :D
03:07 dalek parrot: 19d4723 | Whiteknight++ | t/pmc/float.t:
03:07 dalek parrot: Merge remote branch 'origin/gci_scalar_coverage'
03:07 dalek parrot: review: https://github.com/parrot/parrot/commit/19d472332f
03:07 Kristaba I have to change do_sub_pragmas calls to PackFile_fixup_subs, but I'm not sure of how to transform the old "PackFile_ByteCode *self" argument
03:07 Yuki`N rfw, in credits.
03:08 rfw Yuki`N: but i am in credits
03:08 Yuki`N CREDITS, your irc nick I believe is what dalek puts.
03:08 Kristaba Simply put it in interp->code ?
03:08 Yuki`N Make sure your full name is correct.
03:08 Yuki`N It might not be in trunk.
03:08 Yuki`N rather
03:08 Yuki`N master.
03:08 rfw https://github.com/parrot/​parrot/blob/master/CREDITS
03:08 rfw line 1057-1060
03:09 rfw oh
03:09 rfw should be U
03:09 rfw whiteknight: could you change my A: rfw to U: rfw
03:09 cotto_work nwellnhof: do you see any value in share_ro?
03:10 cotto_work It's on the chopping block and I want to make sure I'm not missing anything.
03:10 dalek parrot: b3e5f5e | Whiteknight++ | CREDITS:
03:10 dalek parrot: Fix entry for rfw++
03:10 dalek parrot: review: https://github.com/parrot/parrot/commit/b3e5f5ef14
03:10 * cotto_work really goes home.  Will backscroll
03:10 rfw do i get free karma for getting my nick changed? \o/
03:12 whiteknight rfw:  you've earned plenty of karma
03:12 whiteknight karma rfw?
03:12 aloha rfw? has karma of 0.
03:12 rfw karma rfw
03:12 aloha rfw has karma of 11.
03:12 nwellnhof cotto: i think it's used by the thread implementation
03:12 Yuki`N At this point I know that my karma goes directly to N lol.
03:12 Yuki`N karma Yuki`N
03:12 aloha Yuki`N has karma of 0.
03:12 Yuki`N karma N
03:12 aloha N has karma of 24.
03:12 rfw karma C
03:12 aloha C has karma of 150.
03:12 Yuki`N harr harr
03:14 Yuki`N TT1918 contains my findings.
03:14 Yuki`N It's like they weren't even there.
03:14 Yuki`N Checking the new coverage % of object.pmc now.
03:14 kid51 cotto: This GCI task should either be deleted or closed:  http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129315789586
03:14 dalek parrot/nwellnhof/unicode_io: 2e28508 | nwellnhof++ | / (10 files):
03:14 dalek parrot/nwellnhof/unicode_io: Implement get_chars in ByteBuffer and MappedByteArray
03:14 dalek parrot/nwellnhof/unicode_io:
03:14 dalek parrot/nwellnhof/unicode_io: This new method works for any encoding.
03:14 dalek parrot/nwellnhof/unicode_io: review: https://github.com/parrot/parrot/commit/2e28508b62
03:14 dalek parrot/nwellnhof/unicode_io: 70427c1 | nwellnhof++ | / (6 files):
03:14 dalek parrot/nwellnhof/unicode_io: Convert some other code to Parrot_find_encoding_by_string
03:15 dalek parrot/nwellnhof/unicode_io: review: https://github.com/parrot/parrot/commit/70427c13ec
03:15 kid51 Can you or dukeleto take care of that?
03:15 rfw holy crap the role pmc is huge
03:16 whiteknight rfw: and the kicker is that it's mostly unused, mostly untested, mostly unloved
03:18 rfw whiteknight:  Title: Evaluate possibly-dead functions in src/packfile/api.c
03:18 rfw what does this involve?
03:19 whiteknight let me look. Link?
03:19 rfw http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129372316240
03:20 whiteknight rfw: There are a few functions in that file that aren't covered by any tests, and I suspect they are dead
03:20 Topic for #parrot is now Parrot 2.11.0 Released | http://parrot.org | Log: irclog.perlgeek.de/parrot/today | More gci tasks | Merge html_cleanup | Get Plumage working | Review current embedding api | Study EventHandler | Run examples_tests, test HLLs before merges
03:20 whiteknight so the task is to search around for them and see if they are dead and can be removed
03:20 rfw ah
03:20 rfw requested
03:20 whiteknight it's a research task, so you don't actually have to remove any code
03:21 Yuki`N dalek is usually slow with the TT notifications. hmm
03:21 rfw i'm probably going to remove code anyway and see if it explodes
03:21 whiteknight (you can if you want)
03:21 whiteknight that's a good research technique
03:21 whiteknight it's called "slash and burn"
03:22 rfw Segment_new is definitely being used
03:22 dalek parrot/nwellnhof/unicode_io: 113b96f | nwellnhof++ | src/ (2 files):
03:22 dalek parrot/nwellnhof/unicode_io: Fix two compiler warnings
03:22 dalek parrot/nwellnhof/unicode_io: review: https://github.com/parrot/parrot/commit/113b96f389
03:22 whiteknight rfw: it's being referenced from one place that I can see, but I don't think it's ever actually being called
03:22 whiteknight and the coverage numbers support that idea
03:22 rfw hm
03:23 rfw whiteknight: i'm getting matches for it
03:23 rfw in all the object files
03:23 dalek TT #1918 created by Yuki`N++: Remove share and share_ro VTABLEs
03:23 dalek TT #1918: http://trac.parrot.org/parrot/ticket/1918
03:23 Yuki`N There we go.
03:23 whiteknight you still might want to try removing it to see what happens
03:23 rfw i don't think i can remove it safely
03:24 rfw since it's being registered with something
03:24 rfw doesn't look quite clean to do
03:25 whiteknight okay. It's your call
03:25 rfw okay, i can remove Parrot_switch_to_cs_by_nr and PackFile_remove_segment_by_name safely
03:26 whiteknight awesome.
03:26 whiteknight okay, I need to head off to bed now. I'll talk to you guys later
03:27 rfw night whiteknight
03:27 Yuki`N Night.
03:27 Yuki`N Whooh!
03:27 Yuki`N aloha, coverage
03:27 whiteknight goodnight
03:27 whiteknight left #parrot
03:28 Yuki`N aloha, coverage?
03:28 aloha Yuki`N: coverage is http://cv.perl6.cz or http://tapir2.ro.vutbr.cz/cover/cover-results/
03:28 Yuki`N object is up from 83% to 93%!
03:31 Kristaba OMG, I have a strange build error...
03:31 Kristaba "/home/leo/GCI/parrot/blib/lib/libparrot.so: undefined reference to `CONST_STRING' "
03:31 rfw oh i lie
03:31 rfw they can be removed
03:32 rfw i'm a horrible horrible liar
03:32 cotto ~~
03:33 Yuki`N Kristaba, you should get a file along with that error.
03:33 Yuki`N cotto, could I take credit for a 5% increase of object.pmc, even though it really resulted because of the share_ro removal?
03:34 cotto if you're on the share_ro task, sure
03:36 rfw cotto: could you look at http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129372316240
03:36 Kristaba Yuki'N: Oh, which file?
03:36 cotto kid51, deleted
03:37 Yuki`N Kristaba, the error should point you to a file.
03:37 kid51 cotto: gracias
03:37 Yuki`N I assume you've left out an include somewhere.
03:39 Kristaba The complete error is : cc -o miniparrot frontend/parrot/main.o src/null_config.o src/longopt.o \
03:39 Yuki`N cotto, I requested claim for http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129360674520
03:39 Kristaba -Wl,-rpath="/home/leo/GCI/parrot"/blib/lib -L/home/leo/GCI/parrot/blib/lib -lparrot -lm   -L/usr/lib  -licuuc -licudata  -lm    -ldl -lm -lpthread -lcrypt -lrt -lgmp -lreadline  -fstack-protector -L/usr/local/lib -Wl,-E
03:39 Kristaba /home/leo/GCI/parrot/blib/lib/libparrot.so: undefined reference to `CONST_STRING'
03:39 Kristaba collect2: ld returned 1 exit status
03:39 LaVolta joined #parrot
03:39 cotto Yuki`N, done
03:40 dalek TT #1919 created by rfw++: Removal of dead functions in src/packfile/api.c
03:40 dalek TT #1919: http://trac.parrot.org/parrot/ticket/1919
03:40 Yuki`N cotto, submitted for review.
03:41 Yuki`N >jumpyshoes 176
03:41 Yuki`N ffs jumpyshoes.
03:41 rfw cotto: could you look at my removal thing too
03:41 rfw Yuki`N: if google says what jumpyshoes is doing is fine I'M GOING TO DO THAT TOO
03:42 Yuki`N Lol.
03:42 Yuki`N We have Darter.
03:42 rfw yes, four points per person
03:42 rfw not much
03:42 Yuki`N Feels much more intense though `-`
03:42 rfw think i'm going to submit another patch to OBATA Akio
03:43 Yuki`N OBATA-sama.
03:45 cotto Yuki`N, approved
03:45 Yuki`N Thanks~
03:45 cotto rfw, looking
03:45 rfw thanks
03:47 cotto rfw, can you expand on what you mean by "safe to be nuked"?  Does that mean they're defined but never used, only used from unreachable/unreached branches, etc
03:47 rfw cotto: they're not used ever it would seem
03:47 rfw i can find no references to those functions whatsoever
03:50 cotto mention that in the ticket then.  Also, why do you say that PackFile_Segment_new should be replaced with NULLfunc and PackFile_Annotations_dump?  Reasoning is important to communicate.
03:50 Matt_ left #parrot
03:53 TonyC left #parrot
03:54 rfw cotto: i'm not sure about the PackFile_{Segment,Annotations}, actually
03:54 rfw they seem to have specific implementations but they're not being called
03:54 TonyC joined #parrot
03:55 cotto rfw, they might be called indirectly
03:56 rfw actually
03:56 rfw i think there should be tests written for them if they are indeed called
04:00 dalek parrot: fbbcdad | nwellnhof++ | / (7 files):
04:00 dalek parrot: Fix more compiler warnings
04:00 dalek parrot: review: https://github.com/parrot/parrot/commit/fbbcdadf72
04:01 nwellnhof incredible, the commit hash consists only of letters
04:02 Kristaba Yuki`N: Ok, it was a complex problem due to the c2str system and an include I left out, thank you ;)
04:05 plobsing nwellnhof: that has ~0.1% probability of happening. was bound to happen eventually.
04:06 nwellnhof plobsing: lol, i just made the same calculation. but even the first eight characters are letters. that's a 0.03% probability.
04:06 plobsing yeah, but only the first 7 are displayed
04:07 cotto NERDS
04:07 Kristaba left #parrot
04:21 Coke that's not a valid sha.
04:22 rfw you know i can'ta even tell how most of PackFile is being called
04:24 dukeleto ~~
04:25 cotto rfw, it's pretty indirect
04:25 rfw yeah, i can see that now
04:27 Yuki`N I think I just got Opcode up from 37% to at least 90%, hah.
04:27 cotto PackFile_funcs_register accepts a constant and a struct of function pointers.  All the functions are called in terms of those constants and function pointers, iirc.
04:28 plobsing yes, it's another vtable pattern
04:29 cotto there might be exceptions, but that't the general pattern
04:32 Yuki`N Yes, Opcode up to 93%.
04:34 Yuki`N dukeleto, can you approve http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129360974537
04:34 dukeleto Yuki`N++
04:36 dukeleto Yuki`N: accepted
04:37 Yuki`N I have a pull request for those tests plus some a test from the Object class. https://github.com/parrot/parrot/pull/60
04:37 Yuki`N Object PMC, rather.
04:44 Yuki`N Can someone explain how ResizablePMCArray is autovivifying?
04:44 Yuki`N I see no code that supports that claim.
04:48 * Coke gets kcachegrind working on his OSX box.
04:48 Yuki`N Never mind, I found it
04:48 dukeleto Yuki`N: it is deep down the rabbit hole
04:48 Yuki`N Indeed it is.
04:50 rfw cotto: http://trac.parrot.org/parrot/ticket/1919
04:50 rfw god that code is painful
04:54 Yuki`N Haha.
04:54 Yuki`N dukeleto, can you close? http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129360974537
04:55 rfw or dukeleto, could you look at that ticket
04:55 cotto rfw, like a boss
04:55 rfw oh, cotto's still there
04:55 cotto approved
04:55 cotto well-earned, I'm sure
04:55 rfw hooray
04:55 Yuki`N How does headerizer work, really?
04:56 rfw that goddamn dynamic dispatch
04:56 Yuki`N Lol.
04:56 Yuki`N I need a header put in because the file won't build.
04:56 Yuki`N But apparently you need an .o file before you can headerize?
04:57 cotto Yuki`N, I don't think headerizer cares about the actual object file.  It just uses that because that's what the Makefile deals with.
04:57 Yuki`N Ohhh
04:57 Yuki`N That makes sense now.
04:57 Yuki`N And my build continues on its merry way.
04:57 Yuki`N cotto could you close the link above?
04:58 cotto Yuki`N, ok.  Are those in a branch or in master in parrot's repo?
04:58 cotto i.e. has someone pulled them?
04:58 dalek parrot: ac94044 | nwellnhof++ | src/hash.c:
04:58 dalek parrot: Remove a Parrot_const_cast
04:58 dalek parrot: review: https://github.com/parrot/parrot/commit/ac94044889
04:59 Yuki`N cotto, Nobody's pulled them yet.
04:59 theory left #parrot
04:59 cotto ok
05:00 cotto reviewing now
05:02 dalek parrot: 8432080 | Yuki`N++ | t/pmc/object.t:
05:02 dalek parrot: Test another Object PMC edge-case.
05:02 dalek parrot: review: https://github.com/parrot/parrot/commit/8432080ddb
05:02 dalek parrot: 001af17 | Yuki`N++ | t/pmc/opcode.t:
05:02 dalek parrot: Increase coverage of the Opcode PMC.
05:02 dalek parrot: review: https://github.com/parrot/parrot/commit/001af177d0
05:02 cotto accepted
05:02 cotto er, approved
05:02 cotto whatever that thing you asked for was
05:02 Yuki`N Ah, thanks.
05:02 Yuki`N xD
05:06 Yuki`N Can you take care of accepting this one too? http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129373964971
05:06 Yuki`N I'm taking care of that pesty autovivification.
05:07 cotto done
05:09 kid51 left #parrot
05:14 dalek parrot/encapsulate-main: 51ac88d | plobsing++ | src/packfile/api.c:
05:14 dalek parrot/encapsulate-main: always run :load subs, no matter how something has been loaded
05:14 dalek parrot/encapsulate-main: review: https://github.com/parrot/parrot/commit/51ac88d527
05:14 dalek parrot/encapsulate-main: 0f6de1b | plobsing++ | / (25 files):
05:14 dalek parrot/encapsulate-main: add :main tags to benchmark examples
05:14 dalek parrot/encapsulate-main: review: https://github.com/parrot/parrot/commit/0f6de1be3f
05:16 nwellnhof_ joined #parrot
05:17 Yuki`N Killed it
05:17 Yuki`N with fire.
05:19 dalek tracwiki: v14 | nwellnhof++ | BuildWarnings
05:19 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Bui​ldWarnings?version=14&amp;action=diff
05:19 nwellnhof left #parrot
05:19 nwellnhof_ is now known as nwellnhof
05:24 Yuki`N Things look good so far.
05:24 plobsing left #parrot
05:24 Yuki`N Fulltest only failed because I forgot to change the plan.
05:26 gbacon left #parrot
05:30 cotto Yuki`N, branch?
05:31 Yuki`N cotto, pull request on github.
05:37 rurban_ joined #parrot
05:40 rurban left #parrot
05:40 rurban_ is now known as rurban
05:40 nwellnhof left #parrot
05:48 Yuki`N cotto, http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129373964971
05:59 cotto Yuki`N, great.  I'll accept that.  Have you tested with Rakudo and/or Partcl?
05:59 Yuki`N Nope, not yet.
05:59 Yuki`N I'll clone the rakudo repo now I suppose.
06:00 cotto done
06:00 cotto ok.  Make sure to install parrot too.  perl Configure.pl --prefix=/path/to/install/location
06:00 cotto and make sure that the executables are in your path so that Rakudo's Configure.pl can find them.
06:01 Yuki`N Yeah.
06:05 Yuki`N I guess I'll take the other Opcode task.
06:05 Yuki`N Still build Rakudo apparently.
06:06 Yuki`N *building
06:11 cotto It looks like we've had at least a 1.9% increase in overall test coverage over the course of gci.
06:14 Yuki`N Rakudo doesn't build.
06:14 Yuki`N But that's just because of api functions
06:18 cotto Yuki`N, what do you mean?
06:18 Yuki`N um
06:18 Yuki`N aloha, nopaste?
06:18 aloha Yuki`N: nopaste is is http://nopaste.snit.ch (works with the script in $_PARROT/tools/dev/nopaste.pl)
06:19 Yuki`N http://pastebin.com/jQnJuykp
06:19 Yuki`N Compile issues.
06:20 cotto indeed
06:20 cotto possibly from an old parrot?
06:20 Yuki`N Shouldn't be.
06:20 cotto many thing shouldn't be
06:21 Yuki`N How can I make sure it's not from an old parrot?
06:21 cotto nuke the install, run reconfig, install again
06:21 Yuki`N Heh, I didn't install to a prefix.
06:21 cotto also, make sure that there's nothing in rakudo's parrot_install dir.  It builds parrot there if you don't tell it otherwise.
06:27 Yuki`N Ok, nuked the install, and installing this time to a prefix
06:28 GeJ left #parrot
06:32 Yuki`N LOL DAMNIT
06:32 Yuki`N I HATE YOU LINUX
06:32 Yuki`N Good thing it's just a vm.
06:33 dalek parrot: f2c7203 | Yuki`N++ | / (2 files):
06:33 dalek parrot: Kill autovivification in Fixed/ResizablePMCArray.
06:33 dalek parrot:
06:33 dalek parrot: Signed-off-by: Christoph Otto <christoph_git@mksig.org>
06:33 dalek parrot: review: https://github.com/parrot/parrot/commit/f2c72034f3
06:34 cotto That was premature.
06:34 Yuki`N No.
06:34 Yuki`N I installed to ~/parrot_install
06:35 Yuki`N And of course for it's not a bash script so the ~ didn't get expanded.
06:35 Yuki`N So
06:35 Yuki`N I ls'd
06:35 Yuki`N I saw ~ as a directory.
06:35 Yuki`N I `rm -rf ~'
06:35 Yuki`N lol
06:35 Yuki`N TIME TO RECREATE MY USER.
06:35 cotto live and learn
06:38 dalek parrot: 61be0ca | nwellnhof++ | config/auto/git_describe.pm:
06:38 dalek parrot: Change git-describe regex
06:38 dalek parrot:
06:38 dalek parrot: The hashes returned from git-describe can be longer than seven
06:38 dalek parrot: chars if they're ambigious.
06:38 dalek parrot: review: https://github.com/parrot/parrot/commit/61be0ca64a
06:42 sorear Yuki`N: i'm suprised parrot works at all with a ~ in the path
06:43 sorear parrot has path reparsing issues; I've seen reports of spaces and hanzi causing problems
06:44 Yuki`N Hah.
06:47 Yuki`N Aha, this clone of parrot is going to take a while.
06:47 cotto slow connection?
06:47 Yuki`N Yeah, like 180kb/s down
06:47 Yuki`N I'm actually surprised the whole world didn't explode
06:51 Yuki`N Receiving objects:  54% (186957/346215), 49.39 MiB | 179 KiB/s oh my
06:58 cotto I may end up reverting that if rakudo starts failing spectests.
06:59 JimmyZ joined #parrot
07:00 Yuki`N Apparently.
07:01 Yuki`N My git-compiled version of parrot is too old.
07:01 Yuki`N I am confused.
07:01 cotto lolwut?
07:02 Yuki`N I have no idea.
07:02 Yuki`N It says I need RELEASE_2_11 and I have 2_10.
07:05 cotto and you definitely don't have an old parrot installed?
07:05 Yuki`N [nlum@yukiko rakudo]$ perl Configure.pl --parrot-config=/home/nlum/par​rot_install/bin/parrot_config
07:05 Yuki`N Reading configuration information from /home/nlum/parrot_install/bin/parrot_config ...
07:05 Yuki`N ===SORRY!===
07:05 Yuki`N Parrot revision RELEASE_2_11_0-343-g0264a39 required (currently RELEASE_2_10_1-1339-g39795d6)
07:06 Yuki`N Oh my fork apparently doesn't have tags.
07:08 Yuki`N Oh, git.
07:11 JimmyZ left #parrot
07:13 cotto Coke, ping
07:17 Yuki`N Trying to build Rakudo again.
07:38 Yuki`N cotto, it's still running spectests but they've all passed so far.
07:42 cotto Yuki`N, they'll take a while
07:42 cotto still running here too
07:43 cotto partcl is broken, so it's not clear your change breaks it more
07:43 Yuki`N ignorecase is broken
07:43 Yuki`N I don't think that's related to my change though.
07:45 Yuki`N left #parrot
07:48 fperrad joined #parrot
07:52 Yuki`N joined #parrot
07:52 Yuki`N Two tests failed so far.
08:02 cotto Yuki`N, how fast is your machine?
08:02 Yuki`N Um.
08:02 Yuki`N It's a VM.
08:02 Yuki`N 2 cores of my i7.
08:02 cotto "not very"?
08:02 cotto doesn't sound too bad
08:02 Yuki`N Yeah, not very.
08:03 Yuki`N I'm almost done.
08:03 Yuki`N Running sech.t
08:03 Yuki`N trig functions. `-`
08:03 cotto me too
08:03 cotto exactly now
08:03 contingencyplan joined #parrot
08:05 Yuki`N How do you pronounce "sinh" and "tanh" lol
08:05 cotto I don't.
08:06 Yuki`N I'm on integration.
08:06 Yuki`N Actually these tests are single-threaded.
08:06 Yuki`N so
08:08 Yuki`N http://pastebin.com/Gdk4kj9L
08:08 cotto looks like your machine is faster than mine
08:08 Yuki`N So all tests actually passed.
08:09 Yuki`N And I unfortunately must sleep now.
08:09 cotto 'night
08:09 Yuki`N left #parrot
08:41 perlite left #parrot
09:01 Kapace_ well, that was a really long lunch :O. anyways, that code at the end of parrotlibrary is need to test destroy() I found it from some other test... anyways I'll take another look at it tommorow..
09:01 Kapace_ Night...
09:14 cotto Kapace_, the code doesn't get covered otherwise?
09:23 sorear left #parrot
09:24 TimToady left #parrot
09:46 rfw left #parrot
09:52 TimToady joined #parrot
09:52 sorear joined #parrot
09:56 dalek parrot: 5089dca | cotto++ | / (2 files):
09:56 dalek parrot: remove unused function Parrot_switch_to_cs_by_nr
09:56 dalek parrot: review: https://github.com/parrot/parrot/commit/5089dca056
09:56 dalek parrot: ab1f1f9 | cotto++ | / (2 files):
09:56 dalek parrot: remove unused function PackFile_remove_segment_by_name
09:56 dalek parrot: review: https://github.com/parrot/parrot/commit/ab1f1f91da
09:56 dalek parrot: c40e82e | cotto++ | t/ (2 files):
09:56 dalek parrot: [t] fix FPA test plan
09:56 dalek parrot: review: https://github.com/parrot/parrot/commit/c40e82e658
10:02 kennym joined #parrot
10:27 LaVolta left #parrot
10:35 dalek parrot: c2dc001 | cotto++ | t/tools/pbc_dump.t:
10:35 dalek parrot: [t] add some test coverage for annotation dumping
10:35 dalek parrot: review: https://github.com/parrot/parrot/commit/c2dc001701
10:37 M_o_C joined #parrot
10:40 fbrito joined #parrot
10:40 fbrito left #parrot
10:40 fbrito joined #parrot
10:41 GeJ joined #parrot
10:48 cotto hi fbrito
10:48 fbrito cotto hello :)
10:48 cotto Happy Really Old Year!
10:49 fbrito thank you :D
10:50 fbrito can't believe that we are going to 2011
10:51 fbrito next year will be the 10th anniversary of the WTC attack. 10 years :o. I remember as if it were yesterday
10:59 cotto It looks to be a good year, anniversaries notwithstanding.
11:03 fbrito :D
11:15 cotto fbrito, how's the sub task going?
11:15 fbrito started it this morning
11:15 fbrito so far, so good :)
11:15 fbrito have to run quickcover again to see how much I have already increased
11:36 fbrito quickcover_new is awesome :)
11:45 fbrito 81.9% to 88.3%... hm :P not yet
11:52 cotto so close, yet not so close
12:04 fbrito hm... t/pmc/sub.t is have tests written in PIR
12:05 fbrito ah, nevermind. I found what I was looking for :)
12:07 fbrito I have to write a test for a Sub function written in C... that's going to be challenging
12:08 cotto fbrito, what are you testing?
12:08 fbrito http://tapir2.ro.vutbr.cz/cover/co​ver-results/2010-12/2010-12-24-2a9​5633/c_cover/src-pmc-sub-pmc.html
12:09 fbrito print_sub_name
12:11 cotto trace PARROT_SUB_TRACE_CALL_FLAG in PIR should do it
12:11 cotto just include interptrace.pasm
12:12 cotto I'm not sure if that code is useful, but it shouldn't be tough to exercise.
12:13 fbrito ok, I will have a look. thank you
12:20 cotto np
12:20 cotto 'night
12:20 fbrito good night
12:20 fbrito ehhe, 9am here :)
12:22 cotto 4am here
12:22 * cotto sleeps
12:41 fbrito msg cotto I am done with my Sub PMC task. Please take a look on it when you have some time :). Link: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129361644285
12:41 aloha OK. I'll deliver the message.
13:13 redicaps joined #parrot
13:20 GeJ Happy New Year everyone!
13:22 fbrito Thank you!
13:22 fbrito The same to you
13:24 M_o_C left #parrot
13:37 rurban_ joined #parrot
13:37 M_o_C joined #parrot
13:40 rurban left #parrot
13:40 rurban_ is now known as rurban
14:05 contingencyplan left #parrot
14:06 dalek parrot/gci_remove_autovivification: cf06c9f | Yuki`N++ | t/pmc/object.t:
14:06 dalek parrot/gci_remove_autovivification: Test another Object PMC edge-case.
14:06 dalek parrot/gci_remove_autovivification: review: https://github.com/parrot/parrot/commit/cf06c9f1e1
14:06 dalek parrot/gci_remove_autovivification: 05fd57c | Yuki`N++ | t/pmc/opcode.t:
14:07 dalek parrot/gci_remove_autovivification: Increase coverage of the Opcode PMC.
14:07 dalek parrot/gci_remove_autovivification: review: https://github.com/parrot/parrot/commit/05fd57c7a5
14:07 dalek parrot/gci_remove_autovivification: 45f9597 | Yuki`N++ | / (2 files):
14:07 dalek parrot/gci_remove_autovivification: Kill autovivification in Fixed/ResizablePMCArray.
14:07 dalek parrot/gci_remove_autovivification: review: https://github.com/parrot/parrot/commit/45f9597b5d
14:07 dalek parrot/gci_remove_autovivification: c90627c | Yuki`N++ | t/pmc/fixedpmcarray.t:
14:07 dalek parrot/gci_remove_autovivification: Fix plan.
14:07 dalek parrot/gci_remove_autovivification: review: https://github.com/parrot/parrot/commit/c90627c4e8
14:07 dalek parrot/gci_remove_autovivification: 39795d6 | Yuki`N++ | / (15 files):
14:07 dalek parrot/gci_remove_autovivification: Merge branch 'master' of git://github.com/parrot/parrot
14:07 dalek parrot/gci_remove_autovivification: review: https://github.com/parrot/parrot/commit/39795d60d6
14:15 dalek parrot/gci_sub_coverage: 2a7826e | fbrito++ | t/pmc/sub.t:
14:15 dalek parrot/gci_sub_coverage: [t] Add tests to Sub PMC
14:15 dalek parrot/gci_sub_coverage: review: https://github.com/parrot/parrot/commit/2a7826ef47
14:15 dalek parrot/gci_sub_coverage: 5ef9834 | fbrito++ | t/pmc/sub.t:
14:15 dalek parrot/gci_sub_coverage: [t] Add more tests to Sub PMC
14:15 dalek parrot/gci_sub_coverage: review: https://github.com/parrot/parrot/commit/5ef9834a3b
14:15 dalek parrot/gci_sub_coverage: 99a78e9 | fbrito++ | t/pmc/sub.t:
14:15 dalek parrot/gci_sub_coverage: [t] Add even more tests to Sub PMC
14:15 dalek parrot/gci_sub_coverage: review: https://github.com/parrot/parrot/commit/99a78e9e46
14:15 dalek parrot/gci_sub_coverage: f03d78b | fbrito++ | t/pmc/sub.t:
14:15 dalek parrot/gci_sub_coverage: [t] Increase test coverage of Sub
14:15 dalek parrot/gci_sub_coverage: review: https://github.com/parrot/parrot/commit/f03d78b518
14:15 dalek parrot/gci_sub_coverage: 5fd2b05 | fbrito++ | t/pmc/sub.t:
14:15 dalek parrot/gci_sub_coverage: [t] Remove wrong test that I have wrote
14:15 dalek parrot/gci_sub_coverage: review: https://github.com/parrot/parrot/commit/5fd2b050b2
14:17 kid51 joined #parrot
14:17 dalek parrot: 2a7826e | fbrito++ | t/pmc/sub.t:
14:17 dalek parrot: [t] Add tests to Sub PMC
14:17 dalek parrot: review: https://github.com/parrot/parrot/commit/2a7826ef47
14:17 dalek parrot: 5ef9834 | fbrito++ | t/pmc/sub.t:
14:17 dalek parrot: [t] Add more tests to Sub PMC
14:17 dalek parrot: review: https://github.com/parrot/parrot/commit/5ef9834a3b
14:17 dalek parrot: 99a78e9 | fbrito++ | t/pmc/sub.t:
14:17 dalek parrot: [t] Add even more tests to Sub PMC
14:17 dalek parrot: review: https://github.com/parrot/parrot/commit/99a78e9e46
14:17 dalek parrot: f03d78b | fbrito++ | t/pmc/sub.t:
14:17 dalek parrot: [t] Increase test coverage of Sub
14:17 dalek parrot: review: https://github.com/parrot/parrot/commit/f03d78b518
14:17 dalek parrot: 5fd2b05 | fbrito++ | t/pmc/sub.t:
14:17 dalek parrot: [t] Remove wrong test that I have wrote
14:17 dalek parrot: review: https://github.com/parrot/parrot/commit/5fd2b050b2
14:17 dalek parrot: cf65268 | Whiteknight++ | t/pmc/sub.t:
14:17 dalek parrot: Merge remote branch 'origin/gci_sub_coverage'
14:17 dalek parrot: review: https://github.com/parrot/parrot/commit/cf65268b5d
14:18 whiteknight joined #parrot
14:18 fbrito whiteknight: Hi! Happy New Year :)
14:18 fbrito and thank you very much for reviewing my work
14:18 whiteknight fbrito: happy new year!
14:19 whiteknight no, thank YOU for doing the work!
14:21 kid51 I have a git question
14:21 whiteknight kid51: what question?
14:22 kid51 If I have a branch which is tracking the remote 'origin', and I say 'git pull', should I expect that it pulls in all recent commits to origin in addition to any recent commits to my branch?
14:24 kid51 (Background info: I have an older version of git (1.5.6.5) in which I created this branch by saying:
14:25 kid51 git checkout --track -b tt1908/moretests_target origin
14:25 whiteknight kid51: I think git pull pulls for all branches
14:26 kid51 But at $job -- where we've been using git for several months now, with a more recent version -- when I am working in a branch and say 'git pull', I don't seem to get changes merged into the branch.
14:26 kid51 whiteknight:  So, in that sense, it has a much broader, more potent effect than saying 'svn up' in a branch?
14:27 kid51 , i.e., a Subversion branch?
14:27 whiteknight i think so
14:29 kid51 How then does that differ from 'rebasing' (an operation I have never yet had to perform)?
14:30 fbrito kid51: yesterday I found a interesting link about merge, rebase and cherry-pick: http://stackoverflow.com/questions/124​1720/git-cherry-pick-vs-merge-workflow
14:31 fbrito an interesting*
14:33 kid51 fbrito:  That is interesting, but that's more concerned with what happens "down the line" from where I am right now.
14:34 kid51 I'm talking about what happens when I'm working in a branch *before* the point where I'm ready to merge.
14:34 kid51 If what I think is happening is indeed happening, then I doubt I would ever need to worry about rebasing-vs-cherry-picking, etc.
14:35 kid51 But that's not how I'm accustomed to work (coming from a heavy use of SVN branches)
14:35 kid51 I don't *really* want to be pulling commits from master into my branch all along.
14:37 dalek parrot: 63d7ce6 | Whiteknight++ | /:
14:37 dalek parrot: Merge remote branch 'origin/gci_remove_autovivification'
14:37 dalek parrot: review: https://github.com/parrot/parrot/commit/63d7ce6cd1
14:37 LaVolta joined #parrot
14:38 LaVolta left #parrot
14:40 Coke cotto: pong.
14:44 fbrito seen cotto
14:44 aloha cotto was last seen in #parrot 2 hours 21 mins ago saying "4am here".
14:44 fbrito he went to bed
14:48 M_o_C left #parrot
14:50 Coke fbrito: he ping'd me. I pong him. that's how it's done.
14:50 Coke It also would have had the side effect of having aloha deliver any messages to me.
14:51 M_o_C joined #parrot
14:53 gbacon joined #parrot
15:01 fbrito whiteknight: when you have some time, can you please accept my claim request on this task? :D http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129361561487
15:02 whiteknight done
15:14 dalek TT #996 closed by whiteknight++: Socket.pmc should implement readline
15:14 dalek TT #996: http://trac.parrot.org/parrot/ticket/996
15:14 dalek TT #1901 closed by whiteknight++: Parrot_io_get_last_file_position should be removed in the next deprecation ...
15:14 dalek TT #1901: http://trac.parrot.org/parrot/ticket/1901
15:15 dalek parrot: e56a22f | Whiteknight++ | DEPRECATED.pod:
15:15 dalek parrot: Add DEPRECATION notice about Scalar PMC
15:15 dalek parrot: review: https://github.com/parrot/parrot/commit/e56a22f711
15:16 fbrito whiteknight: hm, it seems that your claim request acceptation didn't work
15:17 whiteknight let me check
15:17 whiteknight fbrito: done, again
15:18 whiteknight msg cotto when you get a chance can you look at TT #1870? If that's the route we want to take I would like to get in the deprecation notice before 3.0
15:18 aloha OK. I'll deliver the message.
15:18 fbrito whiteknight: nice! thank you
15:21 whiteknight msg Coke Can you take a quick look at TT #657 and see if it's still a problem with the new makefile and the dependency checking mechanisms? Thanks
15:21 aloha OK. I'll deliver the message.
15:22 whiteknight Is there anybody here who builds Parrot on Win32?
15:24 plobsing joined #parrot
15:27 Coke whiteknight: it's not fixed, but it's a duplicate of #682.
15:27 Coke I'll close it and point to the dup.
15:28 whiteknight Coke++
15:31 dalek TT #1894 closed by whiteknight++: EventHandler's VTABLE_invoke unused and crashes .
15:31 dalek TT #1894: http://trac.parrot.org/parrot/ticket/1894
15:31 dalek TT #657 closed by coke++: libparrot.dll missing entry points
15:31 dalek TT #657: http://trac.parrot.org/parrot/ticket/657
15:48 Coke fill_params is a big function.'
15:59 fbrito yeah! just increased code coverage of Task PMC from 86% to 98.5%
15:59 M_o_C left #parrot
16:00 whiteknight nice
16:04 dalek TT #1920 created by whiteknight++: Deprecate Threads
16:04 dalek TT #1920: http://trac.parrot.org/parrot/ticket/1920
16:06 Patterner left #parrot
16:06 Psyche^ joined #parrot
16:07 Psyche^ is now known as Patterner
16:19 PacoLinux this site seems interesting : http://www.1024cores.net/home/parallel-co​mputing/line-segment-intersection-problem
16:20 Matt_ joined #parrot
16:33 dalek parrot/tt1908/moretests_target: 87e332f | jkeenan++ | config/gen/makefiles/root.in:
16:33 dalek parrot/tt1908/moretests_target: Add 'moretests' make target: test + examples_tests + codetest (except perlcritict.t).
16:33 dalek parrot/tt1908/moretests_target: review: https://github.com/parrot/parrot/commit/87e332f1ac
16:35 redicaps left #parrot
16:37 whiteknight left #parrot
16:39 dalek parrot/tt1908/moretests_target: b198652 | jkeenan++ | config/gen/makefiles/root.in:
16:39 dalek parrot/tt1908/moretests_target: Typographic cleanup.
16:39 dalek parrot/tt1908/moretests_target: review: https://github.com/parrot/parrot/commit/b198652bfc
16:39 dalek parrot/tt1908/moretests_target: 4f3ddb7 | jkeenan++ | DEPRECATED.pod:
16:39 dalek parrot/tt1908/moretests_target: Merge branch 'master' of git@github.com:parrot/parrot into tt1908/moretests_target
16:39 dalek parrot/tt1908/moretests_target: review: https://github.com/parrot/parrot/commit/4f3ddb742d
16:49 kid51 msg whiteknight Feedback welcome on http://trac.parrot.org/par​rot/ticket/1908#comment:7
16:49 aloha OK. I'll deliver the message.
16:49 kid51 msg cotto Feedback welcome on http://trac.parrot.org/par​rot/ticket/1908#comment:7
16:49 aloha OK. I'll deliver the message.
17:13 fbrito cotto: when you have some time, please take a look on this task: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129361561487
17:14 fbrito msg cotto when you have some time, please take a look on this task: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129361561487
17:14 aloha OK. I'll deliver the message.
17:14 fbrito Happy New Year everyone! :D.
17:14 fbrito I am leaving right now
17:14 fbrito left #parrot
17:27 dalek Some 'plobsing' person just gave me a 11604 byte commit packet.  They need to be more careful in the future.
17:27 plobsing dalolz
17:31 plobsing_ joined #parrot
17:35 plobsing left #parrot
17:39 theory joined #parrot
17:47 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#1938) fulltest) at 2_11_0-427-ge56a22f - Ubuntu 10.10 i386 (g++-4.5 with --optimize)
17:48 Matt_ left #parrot
17:53 kid51 left #parrot
17:57 Matt_ joined #parrot
18:00 Matt_ left #parrot
18:00 Matt_ joined #parrot
18:06 dalek parrot/encapsulate-main: 23f62f8 | plobsing++ | t/pmc/orderedhash.t:
18:06 dalek parrot/encapsulate-main: add :main tag to tests added in recent merge
18:06 dalek parrot/encapsulate-main: review: https://github.com/parrot/parrot/commit/23f62f8697
18:06 plobsing_ damn gci kids. adding tests, tramplin' on lawns, and such.
18:11 fperrad left #parrot
18:12 whiteknight joined #parrot
18:16 Matt_ whiteknight: Do you have some time for a quick review: http://www.google-melange.com/gci/​task/show/google/gci2010/parrot_pe​rl_foundations/t129369874833#c2002
18:39 autark left #parrot
18:53 autark joined #parrot
18:57 jan left #parrot
19:02 davidfetter joined #parrot
19:06 dukeleto Year.new().happy!
19:11 Kapace_ morning, dukeleto, is it 2011 over there already?
19:22 dukeleto Kapace_: in my mind, yes :)
19:22 dukeleto Kapace_: i still have about 12.5 hours of 2010 left here
19:23 Matt_ dukeleto: can you do a quick review :P http://www.google-melange.com/gci/​task/show/google/gci2010/parrot_pe​rl_foundations/t129369874833#c2002
19:23 whiteknight plobsing: do we have an ETA on encapsulate-main merge?
19:24 dukeleto Matt_: i can't do a review now, but i can accept claim requests
19:24 Kapace_ http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129360615067
19:25 dukeleto Kapace_: accepted
19:25 Kapace_ thanks
19:25 Kapace_ anyone know how to set a custom_free or _clone _func?
19:25 whiteknight msg cotto whether we deprecate and remove the current thread implementation now or not, I think we need to get serious about designing a replacement for it. I've got a few ideas. I want to make sure they jive with lorito plans
19:25 aloha OK. I'll deliver the message.
19:25 whiteknight Kapace: what do you mean?
19:26 Kapace_ http://tapir2.ro.vutbr.cz/cover/cover​-results/2010-12/2010-12-24-2a95633/c​_cover/src-pmc-managedstruct-pmc.html shows that destroy() can call a custom_free_func()
19:26 Kapace_ I haven't seen how to set one anywhere in other tests etc
19:27 cotto ~~
19:27 Coke rakudo: say "hi"
19:27 p6eval rakudo f99d08:  ( no output )
19:27 Coke ... is that our fault?
19:27 dalek parrot: 9596abd | Whiteknight++ | NEWS:
19:27 dalek parrot: two quick news items
19:27 dalek parrot: review: https://github.com/parrot/parrot/commit/9596abdf93
19:28 cotto I'm popular today.
19:28 Kapace_ morning cotto
19:28 cotto hio Kapace_
19:28 Kapace_ cotto: from last night, yes I think destroy isn't called on ParrotLibrary if those last few lines aren't in
19:29 Kapace_ (according to my quickcover results)
19:29 M_o_C joined #parrot
19:30 dalek parrot/gci_error_handling: 56de7e3 | (Matt Rajca)++ | src/packfile/api.c:
19:30 dalek parrot/gci_error_handling: Use Parrot_ex_throw_from_c_args to report errors
19:30 dalek parrot/gci_error_handling: review: https://github.com/parrot/parrot/commit/56de7e31d3
19:30 cotto Kapace_, ok.  that's suspicious.
19:31 Kapace_ it should call destroy() if those lines aren't in? gc isn't picking them up?
19:31 cotto It should be destroyed when the interp shuts down.
19:32 dalek parrot/gci_task_coverage: cccac93 | fbrito++ | t/pmc/task.t:
19:32 dalek parrot/gci_task_coverage: [t] Add new test to Task PMC
19:32 dalek parrot/gci_task_coverage: review: https://github.com/parrot/parrot/commit/cccac93edc
19:32 dalek parrot/gci_task_coverage: 8f87d11 | fbrito++ | t/pmc/task.t:
19:32 dalek parrot/gci_task_coverage: [t] Add new test to Task PMC [2]
19:32 dalek parrot/gci_task_coverage: review: https://github.com/parrot/parrot/commit/8f87d1187e
19:32 dalek parrot/gci_task_coverage: b9b6a9f | fbrito++ | t/pmc/task.t:
19:32 dalek parrot/gci_task_coverage: [t] Add new test to Task PMC [3]
19:32 dalek parrot/gci_task_coverage: review: https://github.com/parrot/parrot/commit/b9b6a9ff42
19:32 dalek parrot/gci_task_coverage: 27625da | fbrito++ | t/pmc/task.t:
19:32 dalek parrot/gci_task_coverage: [t] Add new test to Task PMC [4]
19:32 dalek parrot/gci_task_coverage: review: https://github.com/parrot/parrot/commit/27625dae39
19:32 dalek parrot/gci_task_coverage: 88a870f | fbrito++ | t/pmc/task.t:
19:32 dalek parrot/gci_task_coverage: [t] Exercise mark VTABLE on Task PMC
19:32 dalek parrot/gci_task_coverage: review: https://github.com/parrot/parrot/commit/88a870fb12
19:32 dalek parrot/gci_task_coverage: 9fe4cfa | fbrito++ | t/pmc/task.t:
19:32 dalek parrot/gci_task_coverage: [t] Fix test description on Task PMC
19:32 dalek parrot/gci_task_coverage: review: https://github.com/parrot/parrot/commit/9fe4cfab95
19:36 dalek parrot/gci_make_targetnames: 1bb6425 | (Paul Johnson)++ | / (3 files):
19:36 dalek parrot/gci_make_targetnames: Changed cover to fullcover and quickcover to cover
19:36 dalek parrot/gci_make_targetnames: review: https://github.com/parrot/parrot/commit/1bb6425ee2
19:36 jan joined #parrot
19:37 Kapace_ cotto: I have to do something similar with managedstruct
19:37 cotto whiteknight, ping
19:37 Kapace_ null $P0, sweep 1 is sure to call destroy(), but I agree that it should happen automatically
19:37 whiteknight cotto: pong
19:37 cotto whiteknight, do you know why ^ is necessary?
19:37 whiteknight cotto: what is necessary?
19:38 cotto Kapace_> null $P0, sweep 1 is sure to call destroy(), but I agree that it should happen automatically
19:38 whiteknight I'm not sure I understand what that means
19:38 cotto Apparently that code is needed to convince the gc to call VTABLE_destroy on a PMC for some tests.
19:39 km0r3 joined #parrot
19:42 pjcj dukeleto: Somehow 1bb6425 is attributed to me, but it's really from wesjdj - he was using my machine, but on his login, so I'm not exactly sure how the checkin was attributed to me.
19:42 kennym left #parrot
19:44 pjcj in any case, neither cover (quickcover) nor the fullcover (cover) targets seem to be working properly anyway - we'll investigate further later
19:44 pjcj off to rutsch now ...
19:58 km0r3 left #parrot
20:00 dukeleto pjcj: that sounds odd
20:05 Coke pjcj: guessing you have a global .gitconfig.
20:10 fbrito joined #parrot
20:10 rfw joined #parrot
20:17 fbrito left #parrot
20:18 Kapace_ should I continue trying to set a custom destroy function or give up at 28.2% cover increase?
20:20 cotto Kapace_, which pmc?
20:20 Matt_ whiteknight: Can you close the task: http://www.google-melange.com/gci/​task/show/google/gci2010/parrot_pe​rl_foundations/t129369874833#c2002
20:20 Kapace_ cotto: managedstruct
20:20 whiteknight left #parrot
20:21 Kapace_ Matt_: don't you hate it when that happens, lol
20:25 cotto I'm working through any gci tasks in need of review now.
20:25 Kapace_ I can submit with 28.2% increase..
20:30 cotto msg whiteknight Did the task to switch cover and quickcover get merged?
20:30 aloha OK. I'll deliver the message.
20:35 davidfetter left #parrot
20:49 plobsing joined #parrot
20:53 plobsing_ left #parrot
20:59 Matt_ Is it safe to remove the dead VTABLES mentioned here: http://trac.parrot.org/parrot/ticket/1914 ? Its the only way of increasing the code coverage for the Capture PMC.
20:59 Kapace_ Matt_: you've been able to build rakudo?
21:00 Kapace_ for some reason I can't, so I can't test rakudo built without those functions
21:00 Matt_ Kapace_: Ill try now
21:01 Kapace_ are there any other HLLs that should be tested and reported to the ticket?
21:03 Coke lua is a good one to test.
21:04 Coke partcl used to be.
21:08 Kapace_ :( lua build fails in the same place as my previous rakudo build attempt
21:08 lucian joined #parrot
21:09 lucian left #parrot
21:10 rfw left #parrot
21:11 plobsing msg whiteknight: (re: encapsulate_main) I'm mopping up some examples tests. after that, nqp-rx needs to be updated. I've tried a proper fix a couple of times, with no success. I'll put it to the list.
21:11 aloha OK. I'll deliver the message.
21:13 Matt_ Kapace_: my build is still going
21:14 Kapace_ yeah, takes awhile eh?
21:16 rfw joined #parrot
21:20 Matt_ Kapace_: no errors here
21:20 Matt_ Which functions are we checking for removal?
21:21 Kapace_ Matt_: they're all listed in the ticket, and probably defined/exists/etc_keyed_str
21:22 Matt_ yeah I noticed all of those are 'dead' too
21:22 Matt_ Coerage could easily go up to the 90% if this is all fixed
21:22 Matt_ *90's
21:22 Kapace_ yeah, can I have a task too plz? :P
21:23 Matt_ There's like 3 for the Capture PMC, enough for it to go around :)
21:24 Kapace_ ok
21:24 mikehh btw - t/src/embed.t - TODO passed:   3  in --optimize builds, not in builds without --optimize
21:28 mikehh I think it is probably down to an ASSERT or something like that (optimized builds do not enforce ASSERTS)
21:28 Matt_ Kapace_: are we just checking if rakudo builds or doing testing on it too?
21:28 M_o_C left #parrot
21:29 chromatic joined #parrot
21:29 Kapace_ Matt_: I would do the tests too
21:29 cotto that's a good idea
21:29 chromatic GCI idea: write many small benchmarks which isolate NQP-rx features.
21:30 Matt_ kk building rakudo with the new parrot, then `make test`
21:30 * chromatic has the impression that careful and precise benchmarking could lead us to 30-50% NQP-rx performance improvements.
21:33 plobsing it is slow enough to seem reasonable
21:34 cotto chromatic, are you thinking of using something similar to the existing test infrastructure wrapped in a timer?
21:35 Coke chromatic: hey.
21:36 cotto if that's the case, we could write an example and create a batch of tasks based on that.
21:36 chromatic We need to test individual rules and features in isolation.  If the easiest way to do so is repurposing existing tests, let's do that.
21:37 chromatic Coke, I saw some benchmark figures from you.  fill_params at 9% seems reasonable.
21:37 rurban_ joined #parrot
21:37 Matt_ cotto: Should we test anything other than Rakudo. build went fine after commenting out the VTABLE's. Testing is underway...
21:37 chromatic We could make fill_params faster by removing the indirection necessary to handle both va_list and Context parameters/arguments, but that's a bigger change.
21:38 Matt_ cotto: Tests passed: http://cl.ly/1x2F1z072u3T3s1s1k2V
21:38 Matt_ \cc Kapace_
21:38 Kapace_ Matt_: lua if you can
21:38 plobsing boo va_list. why won't it die?
21:39 Matt_ how exactly do you get Lua to run on Parrot?
21:40 Kapace_ ask google or http://www.ohloh.net/p/lua-on-parrot
21:40 plobsing http://github.com/fperrad/lua.git
21:40 Kapace_ maybe this link is better: https://github.com/fperrad/lua
21:40 chromatic va_list exists for Parrot_ext_call(), or whatever it is now.
21:40 Matt_ kk. I thought it was more officially supported
21:40 rurban left #parrot
21:40 rurban_ is now known as rurban
21:41 Coke chromatic: is there a way with kcachegrind to see what is taking time /in/ a function? or is just (as I expect) function-level info.
21:41 plobsing Matt_: it has much core developer support because it is an HLL that tends to keep working for some reason
21:41 Coke (or some other cachegrind tool)
21:41 chromatic Coke, if you've built with -g you can.
21:41 chromatic perl Configure.pl --maintainer --optimize="-O3 -g" --ccflags="-march=native" --prefix=/home/chromatic/dev/tmp/parrot
21:42 Matt_ Kapace_: how did you try building Lua
21:42 Coke what does arch=native do?
21:42 Kapace_ Matt_: ./setup.pir, once you've cloned it
21:42 Matt_ kk
21:42 plobsing Matt_: you'll need to have parrot *installed*
21:43 plobsing and in your PATH
21:43 Kapace_ OK, this is really strange:
21:43 Matt_ ok. Was just gonna ask if you can specify where Parrot is installed
21:43 Kapace_ I have a fresh clone of rakudo, and i did perl Configure.pl --gen-parrot
21:43 Kapace_ which should get a clean copy of parrot, and use it
21:43 Coke that installs it in the ./parrot-mumble-something.
21:43 Kapace_ but I still get the same build errors
21:44 kennym joined #parrot
21:44 Coke Kapace_: if you already have a copy of parrot in place, it's not as clean as you might think.
21:44 Coke try removing the parrot* directories and trying again.
21:44 Kapace_ from /usr/local etc?
21:44 chromatic arch=native uses the best possible optimizations for your processor.
21:45 Coke chromatic: ... seems like that should be a default.
21:45 Coke danke.
21:45 Coke I regularly build with --optimize --ccflags="-g", which ends up being -O3 -g, so I'm halfway there.
21:45 Matt_ Kapace_: I didnt use --gen-parrot
21:46 Matt_ I specified the parrot_config file instaed
21:46 Matt_ its in the README in the root of the git repo
21:46 Kapace_ ok ill give that a shot
21:46 Coke Kapace_: If you are using --gen-parrot, the source is checked out into the local directory and installed to another local directory.
21:46 sorear Coke: when compiling on a 386 compatible, gcc defaults to only using 386 instructions, since you might want to give the binary to someone else
21:46 Coke but if you do it multiple times, the checked out copy is not thoroughly cleaned before rebuilding.
21:46 sorear Coke: -march=native means "I don't plan to publish the binary or downgrade my CPU after compiling"
21:47 Matt_ Kk. the test for lua failed. Not sure if its related
21:47 chromatic -march=native also means "You know, you might be onto something with this SSE thing."
21:47 sorear Coke: it's also possible to explicitly specifiy a minimum CPU, for instance -march=pentium2
21:48 Matt_ "Parse errors: Unknown TAP token: "sh: luac: not found""
21:48 Kapace_ doesn't sound related, rebuild with the functions uncommented or whatever to make sure, I guess
21:49 plobsing Matt_: you need "real" lua installed for testing for contrast-and-compare purposes
21:49 Coke native isn't valid on my platform.
21:49 Coke ah well.
21:49 contingencyplan joined #parrot
21:49 sorear Coke: powermac?
21:49 chromatic Darwin, likely.
21:49 Coke x86 mac.
21:50 Coke bah, nopaste is still down.
21:50 Coke Permissible names are: armv2, armv2a, armv3, armv3m, armv4, armv4t, armv5, armv5t, armv5te, armv6, armv6j, iwmmxt, ep9312.
21:50 chromatic The -g is the important part of what I posted anyhow.
21:50 Coke yes, but faster is better.
21:51 Coke -mtune=native looks like it might be how to spell that locally.
21:51 sorear no, -mtune is something else
21:51 sorear what version of gcc do you have?
21:51 Coke 4.2.1
21:52 Coke ... the docs seem to indicate it's what  chromatic said, actually.
21:55 chromatic -march implies -mtune, no?
21:58 Matt_ Kapace_: same results. I guess its not being used? That one test failure seems unrelated..
22:00 Kapace_ ok Matt_, report your findings to the ticket, maybe that will convince them to remove the functions :)
22:03 Matt_ done
22:05 Yuki`N joined #parrot
22:14 dalek parrot: 2fb6564 | kapace++ | t/pmc/managedstruct.t:
22:14 dalek parrot: Got managedstruct coverage up to 88.2
22:14 dalek parrot: review: https://github.com/parrot/parrot/commit/2fb6564579
22:14 dalek parrot: e4b3bac | cotto++ | t/pmc/managedstruct.t:
22:14 dalek parrot: [t] whitespace fix
22:14 dalek parrot: review: https://github.com/parrot/parrot/commit/e4b3bacc4c
22:15 cotto Kapace_, accepted.  thanks
22:15 mikehh rakudo (f99d081) - builds on parrot (2_11_0-428-g9596abd) - make test PASS, make spectest_smolder[(#1941), roast (ee3b704)] FAIL - Ubuntu 10.10 i386 (g++-4.5 with --optimize)
22:15 mikehh t/spec/integration/advent2009-day18.rakudo - Parse errors: Bad plan.  You planned 6 tests but ran 0.
22:15 mikehh 27,067 ok, 6 failed, 614 todo, 1,855 skipped and 0 unexpectedly succeeded
22:15 Kapace_ cotto: thanks, I really have to kick that bad habit of whitespace
22:15 Yuki`N Oh cotto, can you approve http://socghop.appspot.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129360981098
22:15 Yuki`N Kapace_, what os are you running?
22:16 Kapace_ Yuki`N: Ubuntu 10.10
22:16 Yuki`N Using gedit?
22:16 Kapace_ I'm using gedit
22:16 mikehh Kapace_: you need to run make codetest - it will pick up any coding standard problems
22:16 Kapace_ yeah :/
22:16 Yuki`N https://github.com/dinkel/gedit-whitespace-remover
22:16 Kapace_ oh that might be useful!
22:16 Yuki`N Removes trailing whitespace every time you save.
22:16 Kapace_ cool
22:17 mikehh I use Kate and have that setting there
22:17 mikehh i.e. remove trailing whitespace on save
22:18 Matt_ cotto: http://trac.parrot.org/par​rot/ticket/1914#comment:2
22:18 Matt_ can we proceed with the removal?
22:21 cotto Matt_, sure.  Just do it in a branch.
22:28 Matt_ cotto: Here is the new branch: https://github.com/mattrajca/parrot/co​mmits/capture_pmc_removed_dead_vtables
22:28 Matt_ not sure if you want a pull request yet
22:29 cotto no need
22:29 whiteknight joined #parrot
22:29 Matt_ http://www.google-melange.com/gci/task/show/google​/gci2010/parrot_perl_foundations/t129360454733#c1
22:30 Matt_ Here is the task
22:30 Matt_ this brings up the coverage to 88% from 77%
22:30 Matt_ There are other dead VTABLE's which Kapace_ will investigate
22:30 Matt_ (coverage should go up to the high 90's once they're all fixed / removed)
22:33 dalek parrot/gci_capture_cleanup: 2816668 | (Matt Rajca)++ | NEWS:
22:33 dalek parrot/gci_capture_cleanup: Merge branch 'master' of git://github.com/parrot/parrot
22:33 dalek parrot/gci_capture_cleanup: review: https://github.com/parrot/parrot/commit/2816668430
22:33 dalek parrot/gci_capture_cleanup: a4750d8 | cotto++ | src/packfile/api.c:
22:33 dalek parrot/gci_capture_cleanup: Merge branch 'master' of https://github.com/mattrajca/parrot into gci_capture_cleanup
22:33 dalek parrot/gci_capture_cleanup: review: https://github.com/parrot/parrot/commit/a4750d85d9
22:33 dalek parrot: b3df151 | Whiteknight++ | t/pmc/managedstruct.t:
22:33 dalek parrot: Merge branch 'master' of github.com:parrot/parrot
22:33 dalek parrot: review: https://github.com/parrot/parrot/commit/b3df1510f9
22:34 dalek parrot: 5b39b44 | Whiteknight++ | t/pmc/task.t:
22:34 dalek parrot: Merge remote branch 'origin/gci_task_coverage'
22:34 dalek parrot: review: https://github.com/parrot/parrot/commit/5b39b441d6
22:38 dalek parrot: 2662ff6 | cotto++ | t/pmc/task.t:
22:38 dalek parrot: [t] typo fix in test name
22:38 dalek parrot: review: https://github.com/parrot/parrot/commit/2662ff6723
22:40 cotto task requests accepted
22:41 Matt_ work submitted: http://www.google-melange.com/gci/task/show/goog​le/gci2010/parrot_perl_foundations/t129360454733
22:43 cotto done
22:48 rfw what was the thing about the object pmc's share_ro again?
22:48 Kapace_ rfw: burn it with fire?
22:48 rfw oh
22:49 rfw bleh so what do i do with this object pmc coverage thing
22:49 kennym left #parrot
22:50 rfw cotto: ping
22:51 whiteknight 119 closed tasks, and 10 days left to go
22:51 whiteknight you GCI students are kicking ass
22:51 rfw or whiteknight
22:51 rfw what do i do about share_ro
22:51 whiteknight rfw: BALEETED
22:51 rfw oh
22:52 rfw hm it's still in master
22:52 whiteknight kill it
22:52 whiteknight with a shovel
22:52 rfw do i get points for it?
22:52 rfw lolol
22:52 rfw rippan out
22:54 cotto rfw, pooooonnnnnngggggg
22:54 rfw cotto: too late :D
22:55 cotto oh noes
22:55 dalek parrot: 15df436 | cotto++ | / (3 files):
22:55 dalek parrot: Merge branch 'gci_make_targetnames'
22:55 dalek parrot: review: https://github.com/parrot/parrot/commit/15df436a86
22:56 cotto whiteknight, are you making sure to delete branches as the get merged?
22:58 pjcj Coke: ah yes, that's probably it - thanks
23:00 Yuki`N rfw, no it's all ripped out in a branch
23:00 Yuki`N :P
23:00 rfw Yuki`N: fjdlsag
23:00 Yuki`N I should test building rakudo with that branch actually.
23:00 rfw wanted to do that task too :(
23:00 Yuki`N Upping my Fedora VM to 4 CPUs
23:01 Yuki`N In preparation for super-fast parallel building.
23:01 kennym joined #parrot
23:06 rfw # Method 'get_user_id' not found for invocant of class 'OS'
23:06 rfw lolwhat
23:06 rfw heh but it's right there
23:08 cotto rfw, pmc2c drop stuff on the floor if it isn't formatted just right.
23:08 cotto dukeleto, ping
23:09 chromatic whiteknight: GCI idea: write many small benchmarks which isolate NQP-rx features.
23:11 rfw yeah it looks like get_user_id is being dropped
23:11 cotto rfw, is this in master?
23:11 rfw no
23:11 rfw the get_user_id branch
23:12 rfw heh so is can_execute
23:13 cotto looking into it now
23:13 rfw i think it's because can_execute isn't doc'd properly
23:14 rfw aha fixed
23:15 rfw # ./parrot: symbol lookup error: /root/parrot/runtime/parrot/dynext/os.so: undefined symbol: Parrot_get_user_id
23:15 rfw whiteknight: plz2fix :(
23:17 cotto rfw, can you push your tests?
23:17 cotto it looks fine to me
23:17 rfw cotto: haven't written any yet
23:17 cotto ah
23:17 rfw well
23:17 rfw haven't finished writing any
23:17 rfw but i'm getting undefined symbol when i call get_user_id
23:19 rfw pushing
23:19 Yuki`N cotto, rakudo builds with my branch remove_share_ro
23:19 Yuki`N Running the spec tests now.
23:20 cotto Yuki`N, great
23:20 cotto I'm not going to miss that.
23:22 rfw cotto: https://github.com/rofflwaffls/parrot/commi​t/5cdded14b860ba6352fec1ac214057ba068a72be
23:22 Yuki`N I'm using.
23:22 Yuki`N 86% of my RAM.
23:22 Yuki`N I've never used that much before.
23:22 cotto you're welcome
23:23 Yuki`N Maybe it's because I'm running 2VMs, and one of them is doing some intense git cloning and the other is running spectests.
23:23 Yuki`N Which apparently don't get affected by -j4
23:23 rfw my computer likes to die with one vm open
23:23 rfw granted, the vm runs with 4 cpus
23:23 rfw er, s/cpu/core/
23:23 Yuki`N Lol.
23:24 Yuki`N 8 virtual cores, 6GB ram, hell yes.
23:24 Yuki`N I want another 6GB actually...
23:24 rfw i only have 4 cores and 4gb
23:24 rfw heh
23:24 Yuki`N I'm apparently using 5.1GB ram now.
23:26 cotto That's cute.  Apparently Parrot_get_user_id given a prototype but never a definition.
23:26 rfw cotto: it is
23:26 rfw hold on
23:26 rfw ./config/gen/platform/generi​c/uid.c:Parrot_get_user_id()
23:26 rfw i think it's generated at runtime
23:26 rfw errr
23:26 rfw compile time
23:27 Yuki`N Duubious.
23:27 rfw yeah
23:27 cotto ah.  probably need to reconfigure
23:29 whiteknight left #parrot
23:30 cotto may have a fix
23:31 cotto there you go
23:31 rfw where do i go
23:31 tadzik happy new year parrots!
23:31 cotto https://gist.github.com/761425
23:31 cotto sorry. nopaste was down
23:33 rfw oh perl has a getpw* thing
23:33 rfw why theh ell was i using id -u
23:34 rfw oop, forgot to realclean
23:35 rfw hm cotto, still broken
23:35 cotto rfw, after reconfig?
23:36 rfw yep
23:36 rfw after realclean and Configure.pl
23:36 cotto which is the same as reconfig
23:36 cotto odd
23:37 rfw i see it in platform.c
23:37 rfw so in theory it should be fine
23:40 rfw but it's not being linked into libparrot.so
23:41 rfw oh i lie
23:41 rfw wait, i think i know why
23:45 cotto what's your theory?
23:45 rfw well, i thought it was because i had a system libparrot.so but after removing it it's still broken
23:46 Yuki`N lol
23:46 rfw cotto: does it work on yours?
23:46 cotto nope
23:47 Yuki`N No tests have failed so far.
23:47 Yuki`N A few dubious results, with all subtests passing.
23:49 cotto Ah.  Because it's using libparrot's exported symbols, it needs PARROT_EXPORT in Parrot_get_user_id.
23:50 cotto well, on it
23:51 rfw let's try that
23:51 cotto That raises the question of whether we want to expose those functions though libparrot.
23:51 cotto It fails another test with, but it can find the symbol.
23:51 kid51 joined #parrot
23:51 cotto hio kid51
23:51 rfw t/dynpmc/os.t .. ok
23:51 rfw All tests successful.
23:51 rfw yay cotto, it works
23:52 rfw thanks
23:52 cotto np, though we shouldn't have only that one function marked PARROT_EXPORT.
23:53 cotto I
23:54 cotto I'll open an rfc ticket.  I don't think there's much harm in exporting those functions, but it's good to see if anyone else has other ideas.

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

Parrot | source cross referenced