Camelia, the Perl 6 bug

IRC log for #parrot, 2010-04-15

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:03 sorear Invalid charset number '1537' specified
00:03 sorear parrot trunk does not build for me
00:04 darbelo Did you try a 'make realclean' ?
00:04 sorear known?
00:04 purl somebody said known was good
00:04 sorear no
00:05 darbelo You probably need to.
00:05 sorear :(
00:05 darbelo We changed the packfile format a bit.
00:06 sorear How is the deprecation cycle stuff going to work?
00:06 darbelo Deprecation cycle stuff?
00:06 sorear with immutable strings and changed packfile format
00:08 darbelo Any parts of the API that change in a backwards-incompatible way get listed in DEPRECATED.pod, with a date after which you can't rely on them anymore.
00:09 darbelo The packfile/bytecode format has no such explicit guarantee.
00:12 darbelo purl: msg plobsing Do your changes to packfiles need a PBC_COMPAT bump?
00:12 purl Message for plobsing stored.
00:17 cotto I don't think immutable strings will be merged prior to the release.  It's only necessary to be sure to get the proper deprecation notices in place.
00:18 darbelo AFAICT immutable strings *can't* merge before 2.3 ships.
00:20 sorear Is the entire string API going to be deprecated in 2.3?
00:21 darbelo Not really. Most of the functions are fine the way they are now.
00:21 Coke I would tend to doubt that.
00:21 Coke (to sorear)
00:21 darbelo The ones that modyfy strings in place have to go, obviously.
00:22 darbelo And bacek took an axe to a few ops IIRC.
00:23 darbelo But there shouldn't be too many changes to most things.
00:28 bacek_at_work I did put deprecation notice for strings, afair.
00:28 darbelo =item STRING COW [eligible in 2.4]
00:28 darbelo Yep.
00:29 darbelo But not the inplace ops.
00:30 bacek_at_work I updated ticket but not DEPRECATED.pod...
00:30 bacek_at_work darbelo, can you update it please?
00:30 darbelo Sure, TT# ?
00:31 bacek_at_work 1540
00:36 darbelo bacek_at_work: done.
00:36 darbelo It's r45678 if you want to check that I didn't miss anything.
00:38 bacek_at_work darbelo, thanks
00:38 tcurtis joined #parrot
00:44 Whiteknight allison++ #email to the list about immutable strings
00:45 darbelo Just read it, it looks like we'll need to add some more stuff to the deprecated pile.
00:46 Whiteknight oh, darn
00:46 Whiteknight I hate deprecating things </lies>
00:46 darbelo Just make sure to deprecate them before 2.3 ships out.
00:51 dalek parrot: r45678 | darbelo++ | trunk/DEPRECATED.pod:
00:51 dalek parrot: Update the list of deprecated items to reflect the altest changes to TT #1540.
00:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45678/
00:51 darbelo Someone needs to update my updates in light of allison's mail to the list.
00:51 * darbelo has to go now.
00:55 abqar joined #parrot
01:16 davidfetter did anybody ever get started on a p5 implementation atop parrot?
01:18 cotto davidfetter, blitzkost is the closest to that effort
01:18 * davidfetter 600613s
01:18 cotto though it embeds Perl 5 in Parrot rather than trying to parse it correctly
01:18 jsut joined #parrot
01:21 cotto msg bacek Make sure to add a list of deprecated items related to the immutable strings branch.
01:21 purl Message for bacek stored.
01:40 plobsing joined #parrot
01:43 dalek partcl-nqp: 1891de6 | Coke++ |  (2 files):
01:43 dalek partcl-nqp: run this test modulo todos.
01:44 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/1891de6a012e814c5d0ab360c15c3ae7e96324dc
01:44 dalek partcl-nqp: f75d6b1 | Coke++ |  (2 files):
01:44 dalek partcl-nqp: implement as much of [vwait] as we had in partcl-original.
01:44 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/f75d6b1f6789a996e65c957b4abbab21e2756f31
01:44 dalek partcl-nqp: 59cc1c2 | Coke++ |  (2 files):
01:44 dalek partcl-nqp: implement [format] in the style of partcl-original.
01:44 dalek partcl-nqp: Avoid the unicode-avoidance for now until we need it.
01:44 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/59cc1c2ea4ab338e318a25bf53c8cbc07623a232
01:49 davidfetter joined #parrot
02:07 chromatic joined #parrot
02:57 sorear davidfetter: I'm working on Blizkost, which uses the P5 guts in order to be compatible with promiscous CPAN XS modules
02:57 sorear Larry is working on STD_P5, which is probably going to turn into Ponie 2 at some point
02:59 davidfetter i take it ponie2 is *not* perl2/parrot
03:01 sorear STD_P5 is a parser for Perl 5
03:01 sorear do not confuse this with Punie
03:01 sorear or Pynie, for that matter
03:02 davidfetter heh
03:06 Coke panie.
03:09 patspam joined #parrot
03:10 brooksbp joined #parrot
03:16 abqar joined #parrot
03:18 dalek plparrot: e4fe808 | dukeleto++ |  (2 files):
03:18 dalek plparrot: Wrap PIR subroutines
03:18 dalek plparrot: Stored procedures are now wrapped in their own anonymous subroutine, so that
03:18 dalek plparrot: users do not have the ability to override other functions
03:18 dalek plparrot: review: http://github.com/leto/plparrot/commit/e​4fe8089d5772b768427a149f98a2a1645319e51
03:18 dalek plparrot: cf6540a | dukeleto++ |  (2 files):
03:18 dalek plparrot: Merge branch 'subwrap'
03:18 dalek plparrot: review: http://github.com/leto/plparrot/commit/c​f6540a4037cec15849eb248ede09974d0b0565b
03:29 patspam joined #parrot
03:32 janus joined #parrot
04:08 Austin joined #parrot
04:26 brooksbp_ joined #parrot
05:10 brooksbp joined #parrot
05:17 allison joined #parrot
05:18 rt7 joined #parrot
05:34 brooksbp_ joined #parrot
05:55 chromatic joined #parrot
05:55 eternaleye joined #parrot
06:06 jhelwig joined #parrot
06:07 uniejo joined #parrot
06:32 aukjan joined #parrot
06:35 gerd joined #parrot
06:39 aukjan joined #parrot
07:16 aukjan joined #parrot
07:25 aukjan joined #parrot
07:28 iblechbot joined #parrot
07:34 tcurtis Does make cover really need to take several hours?
07:34 sorear if it's covering Perl code, yes
07:35 sorear the DB:: interface is hideously slow
07:35 sorear if it's mostly running over C, it shouldn't take more than 2-3x as long as make fulltest
07:42 Gerd joined #parrot
07:48 dalek plparrot: 3cd468d | dukeleto++ |  (2 files):
07:48 dalek plparrot: Add naive support for timestamp-related datatypes
07:48 dalek plparrot: review: http://github.com/leto/plparrot/commit/3​cd468d500f517886a3f06823cb8c856b950f73c
07:49 gerd joined #parrot
08:22 tcurtis joined #parrot
08:31 fperrad joined #parrot
08:32 fperrad_ joined #parrot
09:20 allison joined #parrot
09:21 bacek joined #parrot
09:45 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#33202), fulltest) at r45678 - Ubuntu 10.04 beta amd64 (g++ with --optimize)
09:46 bacek o hai
09:46 mikehh hi bacek - need any branch testing done?
09:47 moritz is the immutable strings branch far enough to get HLLs running on it?
09:47 bacek moritz, yes. But rakudo's binder fails epically.
09:48 moritz does NQP-rx run on it?
09:48 bacek mikehh, immutable_strings testing would be nice.
09:48 bacek moritz, yes, afaiu
09:49 mikehh backe - ok will work on it as soon as I reboot (updateing Ubuntu 10.04 beta - kernel changes)
09:50 snarkyboojum joined #parrot
09:50 bacek mikehh, ok
09:50 * mikehh bbiab
09:58 allison joined #parrot
10:05 mikehh joined #parrot
10:10 dalek parrot: r45679 | bacek++ | branches/immutable_strings_part1/src/string/api.c:
10:10 dalek parrot: Remove useless string_capacity function
10:10 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45679/
10:10 dalek parrot: r45680 | bacek++ | branches/immutable_strings_part1/src/string/api.c:
10:10 dalek parrot: Don't "copy" old string in Parrot_str_clone. Just create new fresh string header.
10:10 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45680/
10:24 allison joined #parrot
11:06 mikehh bacek: immutable_strings_part1 won't build with g++, gcc - make corevm builds, lots of failures with make coretest, make fails
11:07 bacek mikehh, ah... sorry, I forgot to dcommit last one.
11:07 bacek done, r45681
11:14 mikehh bacek: immutable_strings_part1 - with gcc make corevm/make coretest, make world/make test PASS
11:15 dalek parrot: r45681 | bacek++ | branches/immutable_strings_part1/src/string/api.c:
11:15 dalek parrot: Revert previous commit. It causes some problem with building PGE.
11:15 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45681/
11:17 mikehh bacek: immutable_strings_part1 - g++ fails to build - src/string/charset/unicode.c
11:31 bacek mikehh, thanks
11:34 clinton joined #parrot
11:41 payload joined #parrot
11:42 payload1 joined #parrot
11:55 khairul joined #parrot
12:01 dalek kakapo: 51facfb | austin++ |  (2 files):
12:01 dalek kakapo: Updated IsNull matcher
12:01 dalek kakapo: review: http://gitorious.org/kakapo/kakapo/commit​/51facfbabe4b230e14d0848ba473cd8def338fa2
12:01 dalek kakapo: 5a3b504 | austin++ |  (2 files):
12:01 dalek kakapo: Got is-a-type matcher working
12:01 dalek kakapo: review: http://gitorious.org/kakapo/kakapo/commit​/5a3b504e886a81eeebad1186d83c9bbc23a50d5d
12:01 dalek kakapo: 78210be | austin++ |  (2 files):
12:01 dalek kakapo: Got AllOf Matchers working, tested
12:01 dalek kakapo: review: http://gitorious.org/kakapo/kakapo/commit​/78210be1b6beef4db1c6b2f825f3f857b61f0076
12:01 dalek kakapo: b60568c | austin++ |  (2 files):
12:01 dalek kakapo: Got AnyOne Matchers working, tested
12:01 dalek kakapo: review: http://gitorious.org/kakapo/kakapo/commit​/b60568cafc61512d659cc005b4a64bdb50a5c776
12:01 dalek kakapo: 7fa5a4c | austin++ |  (2 files):
12:01 dalek kakapo: Got Defined matcher up, tested
12:01 dalek kakapo: review: http://gitorious.org/kakapo/kakapo/commit​/7fa5a4cb1af720147bacb6f3c1229ff12026c0c8
12:01 dalek kakapo: a7ed2e5 | austin++ |  (2 files):
12:01 dalek kakapo: Got IsString matcher tested
12:01 dalek kakapo: review: http://gitorious.org/kakapo/kakapo/commit​/a7ed2e58ab46556af29812c45003905af428d382
12:01 snarkyboojum joined #parrot
12:01 dalek kakapo: d2170da | austin++ |  (2 files):
12:01 dalek kakapo: Got IsInteger  matcher tested
12:01 dalek kakapo: review: http://gitorious.org/kakapo/kakapo/commit​/d2170dafd85ce3fe745ce8f429233b064f339f7e
12:01 dalek kakapo: a9bff64 | austin++ |  (2 files):
12:01 dalek kakapo: Got IsNumber matcher tested
12:01 dalek kakapo: review: http://gitorious.org/kakapo/kakapo/commit​/a9bff644ce581f385d0e22c8ac086f910b5e639d
12:04 dalek parrot: r45682 | bacek++ | branches/immutable_strings_part1/src/string/api.c:
12:04 dalek parrot: Actually avoid useless str_copy in str_clone and str_append
12:04 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45682/
12:06 dalek kakapo: dd2db16 | austin++ |  (2 files):
12:06 dalek kakapo: Got PassFail matcher tested
12:06 dalek kakapo: review: http://gitorious.org/kakapo/kakapo/commit​/dd2db16c3ea64662fdb543ffc69fd7179bce9909
12:06 whiteknight joined #parrot
12:08 bacek purl, Good morning, #parrot is <reply>Good morning, Mr. Whitworth!
12:08 purl OK, bacek.
12:09 whiteknight ...
12:09 whiteknight good morning, #parrot
12:09 purl Good morning, Mr. Whitworth!
12:09 whiteknight :)
12:09 bacek :)
12:13 whiteknight how are you doing this morning, bacek?
12:14 bacek whiteknight, pretty ok. Broke branch during syncing with trunk...
12:17 tetragon joined #parrot
12:18 whiteknight ouch. hate it when that happens
12:18 bacek whiteknight, nm. I fixed it already :)
12:19 whiteknight of course. it's easy for a magical coding robot
12:20 dalek parrot: r45683 | bacek++ | branches/immutable_strings_part1 (109 files):
12:20 dalek parrot: Sync branch with trunk
12:20 dalek parrot: Conflicts:
12:20 dalek parrot: src/pmc/namespace.pmc
12:21 dalek parrot: src/pmc/string.pmc
12:21 dalek parrot: src/string/api.c
12:21 dalek parrot: src/string/encoding/fixed_8.c
12:21 dalek parrot: t/pmc/string.t
12:21 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45683/
12:21 dalek parrot: r45684 | bacek++ | branches/immutable_strings_part1/t/pmc/string.t:
12:21 dalek parrot: Fix test plan after merge.
12:21 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45684/
12:21 Austin good morning, #parrot
12:21 purl Good morning, Mr. Whitworth!
12:21 Austin Hmmm
12:22 Austin Needs work.
12:22 bacek purl, forget good morning, #parrot
12:22 purl bacek: I forgot good morning, #parrot
12:23 Austin For reasons which are unclear to me, I've encountered a whole bunch of references to REBOL recently.
12:24 Austin Bafflingly, it's a closed/unfree language which a bunch of people are pushing as "the way to do it".
12:24 moritz looking at rebol examples, I'm hardpressed to actually see a structure in this thing
12:25 moritz looks like a huge pile of built-in libraries
12:25 Austin Yeah, it's like the Cobol version of PHP.
12:26 Austin Chromatic linked to a language rant that I would have sworn came from like 1993, but didn't.
12:26 Austin "You shouldn't have to declare your variables!"
12:27 moritz I've read that too...
12:27 Austin "You shouldn't have to import anything to do I/O!"
12:27 moritz the author does have some points, but some of it is pretty much nonesense
12:27 Austin Heh. The 1990's called, they want their shoes back.
12:27 moritz "one single aggregate type"
12:28 moritz what a bad idea
12:28 kurahaupo Javascript anyone?
12:33 ruoso joined #parrot
12:37 dalek parrot: r45685 | bacek++ | branches/immutable_strings_part1/src/string/api.c:
12:37 dalek parrot: Throw exception on attempt to replace in NULL strings.
12:37 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45685/
12:40 Coke javascript is a nice language. =-)
12:41 Coke I see that austin's been busy!
12:42 Coke oooh, Mono on MacOS X
12:43 JimmyZ joined #parrot
12:47 iblechbot joined #parrot
12:53 dalek parrot: r45686 | mikehh++ | branches/immutable_strings_part1/MANIFEST.SKIP:
12:53 dalek parrot: regenerate MANIFEST.SKIP
12:53 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45686/
12:53 dalek parrot: r45687 | mikehh++ | branches/immutable_strings_part1 (10 files):
12:53 dalek parrot: set svn properties
12:53 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45687/
12:55 lucian joined #parrot
12:56 lucian joined #parrot
12:58 JimmyZ_ joined #parrot
13:06 bubaflub joined #parrot
13:19 dalek nqp-rx: 210c0b7 | pmichaud++ | src/HLL/Actions.pm:
13:19 dalek nqp-rx: Avoid global-namespace lookup of quotemod_check (TT #389).
13:19 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/2​10c0b7fef0dbfea31e8b20d8aa705f32f0f1598
13:19 dalek nqp-rx: c7127ad | pmichaud++ | src/stage0/ (3 files):
13:19 dalek nqp-rx: Update bootstrap.
13:19 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/c​7127adfa3abf9bf650d41d2930bd690c485dd36
13:25 pmichaud good morning, #parrot
13:26 mikehh hi pmichaud
13:27 dalek parrot: r45688 | bacek++ | branches/immutable_strings_part1​/include/parrot/string_funcs.h:
13:27 bacek hi pmichaud
13:27 mikehh bacek: you still have a c++ comment in src/string/encoding/fixed_8.c
13:27 dalek parrot: Rerun headerizer.
13:27 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45688/
13:27 dalek parrot: r45689 | bacek++ | branches/immutable_strings_part1 (5 files):
13:27 dalek parrot: Constify to_encoding
13:27 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45689/
13:27 dalek parrot: r45690 | bacek++ | branches/immutable_strings_part1/src/string/api.c:
13:27 dalek parrot: Remove commented out write_COW. They are actually not required.
13:27 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45690/
13:27 dalek parrot: r45691 | pmichaud++ | trunk/ext/nqp-rx/src/stage0 (3 files):
13:27 dalek parrot: [nqp-rx]:  Eliminate use of namespace-lookup for quotemod_check.  (TT #389)
13:27 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45691/
13:27 bacek mikehh, it's gone. I'm just checking locally
13:31 atrodo joined #parrot
13:42 dalek joined #parrot
13:47 * bacek killed dalek... Again...
13:47 Austin You bastard!
13:49 * bacek just don't like competition with other robots.
13:53 patspam joined #parrot
14:01 dalek parrot: r45693 | bacek++ | branches/immutable_strings​_part1/src/string/encoding (4 files):
14:01 dalek parrot: Actually remove now unused set_bytes and set_codepoints functions
14:01 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45693/
14:08 bacek mikehh, ok. Branch should be ready for tests.
14:10 mikehh bacek: looks good - starting fulltest now
14:10 bacek mikehh, thanks
14:18 dalek tracwiki: v36 | bacek++ | BranchDescriptions
14:18 dalek tracwiki: remove pcc_mergecells branch
14:18 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Branc​hDescriptions?version=36&amp;action=diff
14:22 dalek rakudo: 0f1a5cd | pmichaud++ | src/Perl6/Actions.pm:
14:22 dalek rakudo: Avoid direct-namespace lookup of HLL::Grammar::quotemod_check.
14:22 dalek rakudo: I'm not sure how this worked anyway, since it's supposedly in
14:22 dalek rakudo: a different HLL-root.
14:22 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/0​f1a5cd0394e07107f0ea5f13ea5df32ce84b708
14:23 particle pmichaud: related to TT#1542 perhaps?
14:23 snarkyboojum_ joined #parrot
14:24 JimmyZ joined #parrot
14:28 pmichaud particle: looking
14:29 Coke schwern++
14:29 pmichaud particle: yes, TT#1542 looks *very* suspicious.
14:30 particle pmichaud: i thought so, based on your excellent commit message
14:32 mikehh immutable_strings_part1:
14:32 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#33211), fulltest) at r45693 - Ubuntu 10.04 beta amd64 (g++ with --optimize)
14:33 theory joined #parrot
14:33 mikehh bacek: everything ok and g++ too
14:34 bacek mikehh, I did one more commit. I promise, it was last one! :)
14:34 dalek parrot: r45694 | bacek++ | branches/immutable_strings_part1 (26 files):
14:34 dalek parrot: Remove Parrot_str_append function which was actually synonym for str_concat
14:34 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45694/
14:34 dalek parrot: r45695 | fperrad++ | trunk/runtime/parrot/library/distutils.pir:
14:34 dalek parrot: [distutils] use TAP/Harness library for step 'test' (instead of P5 prove)
14:34 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45695/
14:34 dalek parrot: r45696 | fperrad++ | trunk/runtime/parrot/library/TAP/Parser.pir:
14:34 dalek parrot: [TAP] small fix
14:34 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45696/
14:34 dalek parrot: r45697 | fperrad++ | trunk/examples (2 files):
14:34 dalek parrot: [examples] update setup.pir
14:34 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45697/
14:42 mikehh bacek: that blew up a bunch of tests
14:43 bacek mikehh, at r45698?
14:43 khairul joined #parrot
14:44 mikehh no r45697- I'll svn up
14:45 JimmyZ_ joined #parrot
14:45 bacek mikehh, i forgot to grep outside of src/. My bad.
14:51 dalek parrot: r45698 | bacek++ | branches/immutable_strings_part1 (5 files):
14:51 dalek parrot: Remove last references to Parrot_str_append
14:51 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45698/
15:01 mikehh immutable_strings_part1 branch:
15:01 mikehh All tests PASS (pre/post-config, make corevm/make coretest, test, fulltest) at r45698 - Ubuntu 10.04 beta amd64 (gcc with --optimize)
15:07 mikehh it builds and passes corevm/coretest, test for g++ as well
15:13 mikehh bacek: looks good - part2?
15:13 bacek mikehh, after merge.
15:14 bacek more cleanups, remove deprecated inplace ops, etc.
15:14 bacek consting of strings passed
15:14 mikehh bacek: excellent
15:15 jsut_ joined #parrot
15:15 mikehh bacek: when are you going to merge - after 2.3?
15:15 bacek yes
15:15 bacek There is a lot of incompatible changes.
15:16 bacek (And Rakudo still failing epically...)
15:17 mikehh 'k - back to testin' and fixin' trunk
15:17 dalek lua: 360858c | fperrad++ | setup.pir:
15:17 dalek lua: use tapir instead of prove
15:17 dalek lua: review: http://github.com/fperrad/lua/commit/36​0858cdb189cfe95ce59c1ac0a26a62380119cb
15:22 chromatic joined #parrot
15:24 dalek parrot: r45699 | fperrad++ | trunk/tools/dev/tapir.pir:
15:24 dalek parrot: [tapir] fix exit status
15:24 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45699/
15:24 dalek parrot: r45700 | fperrad++ | trunk:
15:24 dalek parrot: add tapir in svn:ignore
15:24 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45700/
15:44 he 86 failed tests on NetBSD/macppc 4.0, ref. http://smolder.plusthree.com/ap​p/projects/report_details/33212 - that's a lot worse than it used to be.
15:46 darbelo It's all packfiles, ouch.
15:51 brooksbp joined #parrot
15:52 darbelo he: Did you make realclean, start from a fresh checkout, or just "svn up; make" ?
15:53 muixirt joined #parrot
15:55 muixirt hi
15:55 purl what's up, muixirt.
15:55 dalek wmlscript: 6d84106 | fperrad++ | setup.pir:
15:55 dalek wmlscript: use tapir instead of prove
15:55 dalek wmlscript: review: http://github.com/fperrad/wmlscript/commit​/6d8410669959d58b160583d518329f0664bd89b3
15:55 muixirt for what is 'nci_thunk_gen' good for
15:56 Austin thunks?
15:56 purl thunks are implemented in the singleton POE::Session.  There's one thunk per POE call signature.  You include a bit of data with the outbound event that maps the inbound event back to you.
15:56 Austin What do I win?
15:56 darbelo muixirt: It generates nci thunks ;)
15:57 darbelo Austin: A parrot bug that breaks your code on the next release.
15:58 Austin darbelo: Cool. I'm trying to collect the entire set.
15:58 muixirt darbelo: and what have i done wrong because invoking it i get an error msg: "load_bytecode" couldn't find file 'data_json.pbc'
16:00 darbelo There was something bootstrapy about that code. But I can never remember what.
16:01 muixirt so basically one have to do bindings for system libraries manually?
16:01 plobsing joined #parrot
16:02 darbelo muixirt: plobsing wrote that, IIRC. He'll know better.
16:02 plobsing convenient timing. what did I miss?
16:03 darbelo muixirt is having troubles with nci_thunk_gen.
16:04 muixirt so how would i start for getting some bindings to system libraries?
16:04 plobsing darbelo: wrt PBC_COMPAT - last time I bumped it, I got reverted, so I'm not sure what the rules are for bumping. But I notice that all stable releases get a bump, so why bother?
16:04 muixirt plobsing: invoking  nci_thunk_gen gives the error msg: "load_bytecode" couldn't find file 'data_json.pbc'
16:05 plobsing hmmm... you don't have data_json.pbc in parrots library search path. that's a fail right there. I thought we fixed that.
16:06 brooksbp_ joined #parrot
16:06 plobsing muixirt: to bind to systems libraries call 'loadlib' to get a shared library object and then call 'dlfunc' to get native function objects out of that library object
16:07 plobsing muixirt: you only need to use nci_thunk_gen if parrot does not currently support the signatures of the functions you need to bind.
16:08 plobsing you'll know that because it will give you an exception stating as much when you try and call that function (thunk finding is lazy right now, I'm considering whether we want to make it eager at some point)
16:10 muixirt once i tried nci bindings for libcurl but it was a tedious task, and a few months later it didn't worked anymore but i didn't bother to look into it
16:10 whiteknight plobsing: all stable revisions don't automatically get a bump
16:10 whiteknight plobsing: release policy is that if we've had several small bumps between releases we aggregate them all into a single large bump
16:11 plobsing oic, that's why my bump got rolled back
16:11 whiteknight who did the rollback? you should have at least gotten a friendly explanation
16:11 * Coke will give whiteknight a dollar the next time we have a stable release that doesn't have a bump,though. =-)
16:12 Austin Yeah. The only revisions that gets bumps are the ones with dots in them.
16:12 plobsing muixirt: if you're looking for something to automatically generate bindings by inspection, nci_thunk_gen is not it
16:12 whiteknight Coke: no, I'm not denying that one often brings the other
16:12 whiteknight but it's not a rule that it must
16:12 plobsing muixirt: I don't think we have that yet
16:13 muixirt well it's a hard problem
16:13 plobsing projects/patches welcome
16:14 darbelo I always thought 'You need to run mk_native_pbc' => 'You need to bump PBC_COMPAT'
16:14 darbelo Since, hey, you just made PBC incompatible.
16:14 plobsing I'll look into who rolled back my bump and ask them.
16:14 plobsing darbelo: I'll admit to that. And at a pretty fundamental level too.
16:16 plobsing muixirt: if you don't want to do low level stuff to get at NCI, check out http://github.com/jnthn/zavolaj/
16:17 muixirt plobsing: thanks for the pointer
16:30 davidfetter joined #parrot
16:32 tcurtis joined #parrot
16:44 theory joined #parrot
16:45 theory_ joined #parrot
17:10 chromatic joined #parrot
17:39 cotto_work morning, humans
17:41 darbelo fsvo humans.
17:42 * cotto_work starts to wonder
17:43 davidfetter is "morning humans" anything like "morning coffee?"
17:43 cotto_work nom
17:43 darbelo Slightly less tasty, but definitely more crunchy.
17:44 cotto_work I don't really like coffee.
17:47 darbelo I'm the opposite. With few exceptions, I can't stand humans.
17:47 whiteknight joined #parrot
17:48 cotto_work speaking of humans, here's whiteknight
17:48 whiteknight TADA!
17:48 moritz I thought you were speaking of humans :-)
17:49 * darbelo suspects everyone here is a bot.
17:49 whiteknight especially bacek
17:50 dalek parrot: r45701 | mikehh++ | trunk/MANIFEST.SKIP:
17:50 dalek parrot: regenerate MANIFEST.SKIP
17:50 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45701/
17:50 dalek parrot: r45702 | mikehh++ | trunk/runtime/parrot/library/distutils.pir:
17:50 dalek parrot: fix codetest failure - pod syntax
17:50 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45702/
18:02 lucian_ joined #parrot
18:04 dukeleto 'ello
18:05 cotto_work hi dukeleto
18:06 dukeleto cotto_work: good $localtime
18:13 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#33213), fulltest) at r45702 - Ubuntu 10.04 beta amd64 (g++ with --optimize)
18:28 jan joined #parrot
18:30 jsut joined #parrot
18:32 iblechbot joined #parrot
18:39 dalek parrot: r45703 | chromatic++ | branches/immutable_strings_pa​rt1/src/pmc/eventhandler.pmc:
18:39 dalek parrot: [PMC] Made EventHandler's get_string VTABLE return a compile-time constant,
18:39 dalek parrot: because now it can.
18:39 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45703/
18:47 darbelo dukeleto: ping
18:53 davidfetter joined #parrot
18:55 * chromatic wants -flto from GCC 4.5
19:00 dukeleto darbelo: pong
19:00 * moritz just sent chromatic a bug report :-)
19:02 darbelo dukeleto: Now tapir is bundled in parrot, is development going to happen in svn or will it be 'pulled from upstream' like nqp-rx?
19:02 arnsholt The precedence limit in NQP-rx's grammars, that means "only allow operators binding tighter than this level" right?
19:02 moritz chromatic: is there public source repository for Pod::PseudoPod::LaTeX anywhere?
19:03 chromatic I have my own SVN repo I haven't converted to Git yet.
19:03 Coke darbelo: is that even the same tapir, or is it a reimpl?
19:04 moritz chromatic: ping me if you do, I might get around to attack some of the bugs that affect the Rakudo * bug
19:04 darbelo Good question. I just saw a tapir executable and assumed it was the same one.
19:04 chromatic moritz, I'm checking to see if there are any changes in that repo since the last release to the CPAN.  I don't *think* so.
19:05 chromatic Confirmed.
19:05 chromatic Let me fork the gitpan repo.
19:06 integral joined #parrot
19:06 chromatic http://github.com/gitpan/Pod-PseudoPod-LaTeX
19:06 dukeleto darbelo: I didn't know tapir was bundled with parrot
19:07 dukeleto darbelo: i thought fperrad reimplemented something, but I am not sure
19:07 darbelo Oh... ok.
19:15 dukeleto darbelo: he never told me about it either, i just started seeing TAP/* stuff in the parrot repo
19:15 dukeleto darbelo: i think he has a commit bit on Tapir, so I don't quite know what is up
19:16 hercynium joined #parrot
19:39 joeri joined #parrot
19:44 * Coke wishes for a vi flag that said "edit this file and start me on the first occurence of "some pattern".
19:46 particle hrmm...
19:46 particle i can get you to a tag with -t
19:46 chromatic vi -c /pattern file
19:46 particle coke: from cmdline, or inside the tool?
19:47 chromatic Or at least vim -c /pattern
19:47 Coke use case - I run a test, I get a failure, I have the test name, but not the line number it occurred on.
19:47 particle well, ctags can fix that
19:47 Coke chromatic: woot. that's it.
19:47 particle but vim -c will work
19:47 particle chromatic++
19:47 cotto_work line numbers for test failures would be nice too
19:48 Coke I was trying --cmd, which does the command BEFORE the file was loaded. *facepalm*
19:50 cotto_work http://www.youtube.com/watch?v=ZOq2y5fTaHc
19:52 cotto_work very shiny jvm inspector
20:07 ircleuser joined #parrot
20:13 * cotto_work is building gcc 4.5.  This might take a bit.
20:17 moritz msg chromatic please review (and if ok, apply) the patches from <http://github.com/moritz/Po​d-PseudoPod-LaTeX/commits/>, they improve the rendering of the Perl 6 book significantly
20:17 purl Message for chromatic stored.
20:18 chromatic Will do.
20:20 moritz I've bumped the version number a bit, but you can revert that if you don't like it
20:20 moritz that was just for locally building Debian packages from it
20:21 moritz http://moritz.faui2k3.org/tmp/book.pdf for the PDF
20:22 moritz the only remaining problem is rendering of »
20:24 Austin What do you call an instantiation of a role?
20:24 Austin class Foo does R ; my $f := Foo.new ;
20:24 Austin what's $f?
20:24 Austin (in respect to R)
20:25 kjeldahl joined #parrot
20:25 moritz an implementation of R, or so
20:25 moritz or $f does Foo
20:26 Austin I was thinking that Foo was an implementation of R.
20:27 moritz right
20:27 particle an object
20:27 purl an object is pretty simple, there are no lazy defaults
20:28 Austin So is $f an "instance" of R, just as it would be an instance of some parent class of Foo?
20:28 particle roles are composition-time only
20:28 particle er, an instance, not an object
20:28 Austin particle: I get that.
20:28 Austin But there's still a relationship between $f and R, and I'm trying to give it a name.
20:28 particle if you try to instantiate a role, a class is punned
20:28 moritz $f does R
20:28 cotto_work joined #parrot
20:29 particle $f isa <anon-Foo> does Foo
20:29 Austin $f is a doer of R
20:29 chromatic moritz, if you send me a pull request I'll apply those.
20:31 moritz chromatic: sent
20:43 chromatic msg schwern Can you give me committer access on http://github.com/gitpan/Pod-PseudoPod-LaTeX ?
20:43 purl Message for schwern stored.
20:43 chromatic Hm, that wasn't what I intended.
20:44 particle the future is angry at you
20:44 chromatic Yes, because I beat it up.
20:45 moritz chromatic: you can just fork it yourself, and consider your fork the "official" version
20:45 chromatic Sure, and I may do that.  I want to know Schwern's intention with gitpan first though.
20:50 theory joined #parrot
20:50 chromatic moritz, I just uploaded 1.101050 to the CPAN.
20:50 moritz chromatic++
20:59 brooksbp joined #parrot
21:06 dalek parrot: r45704 | fperrad++ | trunk (3 files):
21:07 dalek parrot: [TAP] improve formatter
21:07 dalek parrot: review: http://trac.parrot.org/parrot/changeset/45704/
21:19 cotto_work cc1: error: LTO support has not been enabled in this configuration
21:19 cotto_work grrr
21:21 NotFound winxed pass all tests with the immutable_strings_part1 branch
21:21 cotto_work it'd be nice to know that I need to pass --enable-lto to gcc's configure before I spent a bunch of time buiding it
21:23 cotto_work This is a time when it'd be nice if Parrot had a separate build dirs a la gcc and Firefox.
21:25 bacek ~~
21:26 bacek Good morning, biological beings.
21:26 cotto_work ~~~
21:26 * cotto_work wonders if that makes him 50% smarter
21:28 * Coke is reminded to test partcl.
21:29 tcurtis How do locals and lexicals differ?
21:29 moritz tcurtis: what do you mean by "locals"?
21:29 moritz .local pmc foo?
21:30 * PerlJam almost answered with the standard perl response
21:30 tcurtis moritz, yes.
21:30 moritz tcurtis: .local is always tied to the current .sub
21:31 moritz tcurtis: wheras lexicals (via findlex etc.) present HLL lexicals
21:31 moritz tcurtis: and a HLL can compile an inner block to a different subroutine
21:31 moritz so HLL lexicals can spread around multiple PIR subs
21:31 Whiteknight joined #parrot
21:32 moritz (as far as I understand)
21:33 tcurtis Thanks. moritz++
21:35 particle .local attaches a human-readable name to a register inside a sub
21:45 kid51 joined #parrot
21:49 cotto_work joined #parrot
21:56 dalek rakudo: 3a1eb98 | jonathan++ | src/Perl6/Actions.pm:
21:56 dalek rakudo: We should only go looking for outer lexical candidates when introducing a lexical multi, not an our-scoped one. Fixes a regression.
21:56 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/3​a1eb980d3b16be274fa0be27224788ebfb06147
21:57 |Ryan52 joined #parrot
22:02 dalek rakudo: 5fd0669 | jonathan++ | t/spectest.data:
22:02 dalek rakudo: Add a # icu marker for a test that seems to need it.
22:02 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/5​fd0669fe164bfb9192545bef3d47cdca0a733be
22:23 cotto_work looks like there's a small improvement between gcc 4.4.1 and gcc 4.5.0 with -flto for an optimized parrot
22:26 Mokurai joined #parrot
22:27 cotto_work 2005807033/1999880110
22:27 purl 1.00296363915535
22:28 cotto_work valgrind shows a decrease, though wallclock time looks slightly faster
22:29 darbelo Did you run it at least 50 times and do a statistical comparison?
22:29 darbelo ;)
22:29 cotto_work That's why I say "looks".
22:29 cotto_work I'm too lazy to get something where I can say "is".
22:31 darbelo I wonder if valgrin could be convinced to output something a bit more like walltime...
22:32 cotto_work I thought it was smart about emulating the cost of various instruction but I didn't find anything in the docs about it.
22:35 darbelo My problem is that instruction counts, branch prediction and cache miss analysis are separate, so I can't really trust 'optimizations' that help one but hur another.
22:35 darbelo *hurt
22:36 darbelo That's exactly what happened when I ripped out next_for_gc. instruction counts went down, but branch mispredicitons and cache misses went up.
22:42 darbelo Technically, we could develop a 'wheight criteria' of 'A gain of W% in measure X is only justified if it hurts Y by les than Z%' but it'd be easier if it came with the tool.
22:44 pjcj joined #parrot
22:45 darbelo OTOH, I know enoguh about hardware to know that whatever we do It'll suck on at least one arch ;)
22:48 dalek rakudo: 78faa0c | jonathan++ | src/Perl6/ (2 files):
22:48 dalek rakudo: Bring our parsing of array and hash subscripting in line with STD. This also unbreaks zen slices.
22:48 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/7​8faa0c0928fdc9c3f034f07da2d77384b9f9a57
22:52 cotto_work joined #parrot
23:05 TiMBuS joined #parrot
23:09 ruoso joined #parrot
23:10 davidfetter joined #parrot
23:14 tetragon joined #parrot
23:51 lucian joined #parrot

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

Parrot | source cross referenced