Camelia, the Perl 6 bug

IRC log for #parrot, 2009-12-05

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 chromatic You send him to school, you buy him books, you read his thesis, and he still types 'make install'.
00:13 brrant joined #parrot
00:13 plobsing_ joined #parrot
00:15 dalek TT #1358 closed by coke++: 'make realclean' doesn't clean some nqp-rx files
00:17 dalek parrot-plumage: 88655fa | japhb++ | TODO:
00:17 dalek parrot-plumage: [META] Update TODO
00:17 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/88655fafefbbd8a72929029eb2f101c1c9754e19
00:17 dalek parrot-plumage: 3453ef9 | japhb++ | TODO:
00:17 dalek parrot-plumage: [META] Add doc TODOs
00:17 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/3453ef9e5b70dc074d78b2ec62ce8b516e29f96d
00:17 dalek parrot-plumage: dbe72a0 | japhb++ | src/ (2 files):
00:17 dalek parrot-plumage: [plumage,LIB] More Plumage::Project refactoring
00:17 dalek parrot-plumage: * Move responsibility for determining build sequence to Plumage::Project
00:17 dalek parrot-plumage: * Move responsibility for mkpath($build_root) to Plumage::Project's fetch action
00:17 dalek parrot-plumage: * Excise %STAGES and supporting code from plumage.nqp
00:17 dalek parrot-plumage: * Improve API of perform_actions{,_on_projects}
00:17 dalek parrot-plumage: * Add stub of update stage to Plumage::Project, reusing (and falling back to) fetch
00:17 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/dbe72a0b129342b518b8fad6fdfea7ba5f32c4b5
00:17 plobsing1 joined #parrot
00:18 japhb wheeee
00:18 japhb Infinoid++ again
00:18 japhb I CAN HAZ VERBOSITY
00:18 plobsing1 left #parrot
00:22 darbelo Infinoid++ # WE CAN HAZ LONG COMMIT MSGZ!
00:22 darbelo Oh, that reminds me who's LOLCODE's keeper nowadays?
00:22 darbelo t/01-vars.t ............ Failed 1/6 subtests
00:23 dalek tracwiki: v44 | bacek++ | ParrotQuotes
00:23 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Pa​rrotQuotes?version=44&action=diff
00:29 Whiteknight chromatic: need to make install to test things like pla and matrixy
00:29 Whiteknight what's surprising is that Parrot doesn't have a "make uninstall" target
00:29 Whiteknight ...and you read my thesis?
00:29 tetragon joined #parrot
00:30 chromatic No one read mine.
00:30 japhb chromatic, you had a thesis?  On what?
00:31 Whiteknight if I had to guess, I would say music theory
00:31 chromatic I was in the performance track, so no thesis there.
00:32 dalek TT #1336 closed by mikehh++: Convert t/pmc/bigint.t to PIR
00:32 chromatic For the history major... well, let's just put it this way, no one's interested unless they want to trace the obscure philosophical development of a line of thought from the second century to the 11th.
00:34 japhb OK, I'm at least curious enough to want to know what that line of thought actually was ....
00:35 chromatic If I'd been clever enough at the time, it would have been Augustinianism, Aristotelianism, and the Veneration of Mary.
00:37 mikehh All tests PASS (pre/post-config, smoke (#30591), fulltest) at r42897 - Ubuntu 9.10 amd64 (g++ with --optimize)
00:37 Topic for #parrotis now Parrot 1.8.0 Zygodactyly released | Priority: https://trac.parrot.org/parr​ot/wiki/ClassVtableOverrides | Latest modified TT's: http://icanhaz.com/parrotbugs | Parrot Languages: http://icanhaz.com/parrotlang
00:37 japhb chromatic, but given that intro, you weren't, so ... what was it then?  :-)
00:41 chromatic I missed Aristotle.
00:44 dalek parrot-plumage: 77385e8 | japhb++ | src/plumage.nqp:
00:44 dalek parrot-plumage: [plumage] Minor cleanups
00:44 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/77385e88e79c08d816cbd8ec47c2c0fe2f3c1be8
00:44 dalek parrot-plumage: a364c53 | japhb++ | t/ (2 files):
00:44 dalek parrot-plumage: [TESTS] exit(1) after a failing test run; fix broken test missed because failing tests used to exit(0)
00:44 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/a364c53bc7e3a26ecac9bcb43b2e16c0f84dd12d
00:48 japhb Is it intended that parrot subs can be called with extra named arguments that the callee does not expect to receive, and no error occurs?
00:49 Whiteknight japhb: yes, I think there is a setting though
00:49 darbelo Intended or not, I think it's been that way for a while.
00:49 japhb Whiteknight, a setting?  Where would I look for that?
00:50 Whiteknight I have no idea, to be honest
00:50 japhb darbelo, sure, I'm not surprised by that.  (Well, actually, I'm curious if it was before or after the PCC merge).  I was just curious if that was regarded as proper behavior, or an unfixed bug.
00:50 Coke I would imagine that the error is supposed to occur, actually, based on a reading of the CC pdd.
00:50 chromatic There's a warning to enable, but nothing does.
00:50 Coke note that the extra-args check is deliberately disabled on args that aren't declared as taking any params.
00:51 japhb Coke, ... because we expect them to look at the call sig instead?
00:54 Coke call sig didn't exist when that decision was made.
00:56 dalek tracwiki: v45 | cotto++ | ParrotQuotes
00:56 dalek tracwiki: This is how it usually works around here.
00:56 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Pa​rrotQuotes?version=45&action=diff
00:56 japhb Coke, some sort of pasm primitive support then?
00:59 kid51 joined #parrot
01:03 cotto_work chromatic, there's an "=point" in your blog post that looks out-of-place.
01:05 cotto_work also, C<0 but true>
01:09 chromatic Thanks, cotto_work.
01:17 dalek parrot-plumage: 4770abe | japhb++ | src/plumage.nqp:
01:17 dalek parrot-plumage: [plumage] Tell command_ subs what command invoked them; collapse all project action commands into one sub
01:17 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/4770abe9419595476fa42fcd7781ab1a7c085824
01:19 mikehh messages
01:19 cotto_work You have no new messages waiting.
01:21 mikehh cotto_work: just clearing messages I have sorted out :-}
01:21 cotto_work That's probably why you don't have any new ones. ;}
01:34 kid51 msg bubaflub Can you comment on http://trac.parrot.org/par​rot/ticket/1267#comment:6 ? Thanks.
01:34 purl Message for bubaflub stored.
01:38 dalek TT #1327 closed by jkeenan++: remove old languages files
01:56 dalek parrot: r42898 | jkeenan++ | trunk/config/gen/makefiles/docs.in:
01:56 dalek parrot: Applying patch submitted by Andy Dougherty in �http://trac.parrot.org/parrot/ticket/1216.
01:56 dalek parrot: review: http://trac.parrot.org/parrot/changeset/42898/
02:28 dalek TT #1359 created by plobsing++: [RFC] Merge freeze/thaw with PBC
02:39 davidfetter joined #parrot
02:44 dukeleto 'ello
02:44 japhb o/
02:46 dalek parrot: r42899 | jkeenan++ | trunk/config/auto/headers.pm:
02:46 dalek parrot: Delete commented-out code.
02:46 dalek parrot: review: http://trac.parrot.org/parrot/changeset/42899/
02:54 cotto ITS CATURDAY
02:54 cotto or at least close enough that I'm no longer required to do anything in particular
02:58 Whiteknight CATURDAY!
02:58 * Whiteknight slowly surfs to 4chan
03:03 dalek parrot-plumage: 3f6629b | japhb++ |  (3 files):
03:03 dalek parrot-plumage: [DOCS,META] Add add-action document; refer to it in add-command; update CONTRIBUTING in the README
03:03 dalek parrot-plumage: review: http://gitorious.org/parrot-plumage/parrot-plumag​e/commit/3f6629b2d0382b6f084d68d3209e4b37f26ddd06
03:07 davidfetter joined #parrot
03:17 * cotto finally gets his pafo cla ready to send off
04:00 Essobi joined #parrot
04:30 japhb Grrr.  'sudo make install' does not work in parrot HEAD, because of the redundant rebuild of docs/ops/ using perldoc, which drops privileges ... to user nobody, thus not having permissions to overwrite the files, which are mode 0644.
05:07 dukeleto japhb: patches welcome?
05:07 purl patches welcome is ponies welcome or Set Objectives, Achieve Results! or swahili for "Put up or shut up."
05:07 japhb dukeleto, I'm actually in the process of trying to do that.
05:07 dukeleto cotto: put it in the mail!
05:07 dukeleto japhb: great to hear
05:07 japhb The first problem is that I'm mistified as to why the redundant rebuild is happening in the first place.
05:08 japhb (trying something ....)  Oh, that worked.   Hmmmm.  Now to figure out why.
05:09 cotto_w0rk joined #parrot
05:12 japhb Ah.  Two revs ago, jkeenan applied a patch from doughera to the docs makefile.  I'm going to take a wild guess this is the problem.
05:14 cotto_working joined #parrot
05:17 dalek tapir: 0513ece | dukeleto++ | TODO:
05:17 dalek tapir: Clarify the TODO
05:17 dalek tapir: review: http://github.com/leto/tapir/commit/05​13ece79eb612f6de283399adc9301958e5f45b
05:17 dalek tapir: f1b25ca | dukeleto++ | t/harness.pir:
05:17 dalek tapir: Properly print a newline when a test file fails with exit code 0
05:17 dalek tapir: review: http://github.com/leto/tapir/commit/f1​b25cac8c0b98cabddc9cf1bebcb24cdd63128f
05:26 japhb Yup, r42898 is bad; updating trac
05:38 JimmyZ joined #parrot
05:42 JimmyZ good afternoon, #parrot
05:45 davidfetter good evening, JimmyZ
05:45 cotto_work joined #parrot
05:45 JimmyZ good evening, chromatic & davidfetter
05:47 dukeleto hola
05:50 cotto_w0rk joined #parrot
05:55 davidfetter dukeleto, long time no see :)
06:01 JimmyZ joined #parrot
06:02 JimmyZ ;)
06:02 JimmyZ left #parrot
06:04 JimmyZ joined #parrot
06:37 cotto It's nice to see Tapir using the exit_status method before I got around to using it for the purpose that I originally implemented it.
06:40 bacek joined #parrot
06:40 bacek o hai
06:40 cotto hio bacek
06:41 bacek cotto, glad to see you without "_work" suffix :)
06:42 cotto yeah.  I can commit stuff now.
06:42 cotto and the Internet connection is a low slower :(
06:43 cotto s/low/lot/
06:44 bacek cotto: if you'll commit new shiny generation GC we can wait little bit :)
06:45 cotto I can commit a generational GC that breaks the build and segfaults a lot.  How about that?
06:45 cotto also, it won't be a generational GC
06:46 cotto more like a G
06:48 chromatic I thought Whiteknight was going to produce some documentation on the GC api.
06:54 cotto ISTR it's on his long todo list
07:47 moritz Coke: fix for TT#1358 confirmed
07:50 dukeleto davidfetter: i barely ever run into you ;)
07:50 davidfetter dukeleto, i should hope not. that'd hurt
07:52 dukeleto cotto: what about working on your G(C) on a branch? maybe a git branch?
07:53 cotto It wasn't a serious offer.
07:53 cotto However, this weekend would be a good time to do some profiling work.
07:56 dukeleto cotto: don't you know quips on #parrot are legally binding? i will expect a G(C) branch right away ;)
08:02 dukeleto how do i get the proper CPPFLAGS that i need to use parrot header files in C? how do i programatically figure out that i need to do, say, -I/usr/local/include/parrot/1.8.0 ? fperrad or japhb might know
08:07 dukeleto PConfig{ccflags}, looks like
08:08 dukeleto parrot_config ccflags exists
08:08 dukeleto but no cppflags
08:11 cotto I smell a patch.
08:12 davidfetter smell that? do you smell that?
08:12 davidfetter nothing else in the world smells like that
08:17 cotto we don't appear to have any cppflags
08:18 davidfetter i love the smell of cppflags in the morning
08:32 chromatic Do you have pkg-config installed?  See parrot.pc
08:37 iblechbot joined #parrot
08:39 dalek plparrot: 415fb6b | dukeleto++ |  (2 files):
08:39 dalek plparrot: First attempt to get pgTAP to work with PL/Parrot
08:39 dalek plparrot: Currently getting this error:
08:39 dalek plparrot: ERROR:  column c.relistemp does not exist at character 308
08:39 dalek plparrot: STATEMENT:  CREATE OR REPLACE FUNCTION _temptypes( TEXT )
08:39 dalek plparrot:     RETURNS TEXT AS $$
08:39 dalek plparrot:         SELECT array_to_string(ARRAY(
08:39 dalek plparrot:             SELECT pg_catalog.format_type(a.atttypid, a.atttypmod)
08:39 dalek plparrot:               FROM pg_catalog.pg_attribute a
08:39 dalek plparrot:               JOIN pg_catalog.pg_class c ON a.attrelid = c.oid
08:39 dalek plparrot:              WHERE c.relname = $1
08:39 dalek plparrot:                AND c.relistemp
08:39 dalek plparrot:                AND attnum > 0
08:39 dukeleto oy vey
08:39 dalek plparrot:                AND CASE WHEN attisdropped THEN false ELSE pg_type_is_visible(a.atttypid) END
08:39 dalek plparrot:              ORDER BY attnum
08:39 dalek plparrot:         ), ',');
08:39 dalek plparrot:     $$ LANGUAGE sql;
08:39 dalek plparrot: review: http://github.com/leto/plparrot/commit/4​15fb6bd1ec5d2c89f80d9c96702ea66d25ea0d7
08:39 dalek plparrot: f3687f4 | dukeleto++ |  (2 files):
08:39 dalek plparrot: Add a tweaked pgtap.sql that works on my setup
08:39 dalek plparrot: Some failing tests which require basic type marshalling to work
08:39 dalek plparrot: review: http://github.com/leto/plparrot/commit/f​3687f4d7ec77ece4e1d35b81a6c936151596453
08:39 dalek plparrot: 7d60aac | dukeleto++ | HOWTO:
08:39 dalek plparrot: Thankfully, we can set USE_PGXS=1 and then we do not need the Postgres source to compile. theory++
08:39 dalek plparrot: review: http://github.com/leto/plparrot/commit/7​d60aac303a3cb656b6539fba833273646bd7ba3
08:39 dalek plparrot: 339eaaa | dukeleto++ | TODO:
08:39 dalek plparrot: Add a TODO file
08:39 dalek plparrot: review: http://github.com/leto/plparrot/commit/3​39eaaa8c6754549805ef130152e1b7df0537e5a
08:40 dalek plparrot: cc93f25 | dukeleto++ |  (2 files):
08:40 dalek plparrot: Merge branch 'pgtap'
08:40 dalek plparrot: review: http://github.com/leto/plparrot/commit/c​c93f25138d7ff335df58017141f3023126ddc87
08:40 dalek plparrot: d01a03c | dukeleto++ | src/handler/Makefile:
08:40 dalek plparrot: Grab the postgres version number for later inspection, thanks pgTAP and theory++
08:40 dalek plparrot: review: http://github.com/leto/plparrot/commit/d​01a03cbb70b46cd28ad1bdf6d61203725799f26
08:40 dalek plparrot: 93c8025 | dukeleto++ | src/handler/ (2 files):
08:40 dalek plparrot: First attempt to get the proper ccflags and junk to embed Parrot in the language handler
08:40 dalek plparrot: review: http://github.com/leto/plparrot/commit/9​3c8025588a4a56080420048794e8ef9b326cd86
08:40 dukeleto i would say *incoming*, but it is too late
08:42 dukeleto ERROR:  incompatible library "/Users/leto/git/postgresql/con​trib/plparrot/libplparrot.so": missing magic block
08:42 dukeleto who took my magic block?
08:43 dukeleto ENOMAGICBLOCK
08:49 davidfetter dukeleto, nu?
08:49 davidfetter PG_MODULE_MAGIC;
08:50 dukeleto davidfetter: it was a red herring
08:50 dukeleto davidfetter: i was messing with CPPFLAGS and screwing the pooch, evidently
08:51 chromatic Your compiler flags are not in the pooch.
08:52 dukeleto chromatic: how do you know if you don't look?
08:52 * davidfetter wonders if this is going to work
08:53 chromatic It's too dark inside a dog to read.
08:54 dukeleto chromatic: not if you bring a blowtorch
08:56 dalek plparrot: a705c02 | dukeleto++ | src/handler/Makefile:
08:56 dalek plparrot: Fiddling with this actually breaks PL/Parrot. Let's not do that.
08:56 dalek plparrot: Messing with CPPFLAGS gives this error when running the tests:
08:56 dalek plparrot: 1..2
08:56 dalek plparrot: ERROR:  incompatible library "/Users/leto/git/postgresql/con​trib/plparrot/libplparrot.so": missing magic block
08:56 dalek plparrot: HINT:  Extension libraries are required to use the PG_MODULE_MAGIC macro.
08:56 dalek plparrot: review: http://github.com/leto/plparrot/commit/a​705c025cb2da052d0b6eaa75f26498277172443
08:56 dalek plparrot: 2fe1598 | dukeleto++ | Makefile:
08:56 dalek plparrot: Makefile for the lazy bums like me who want to type less
08:56 dalek plparrot: review: http://github.com/leto/plparrot/commit/2​fe15980b61a1042c8c6a8d176e37c2396e6693f
08:57 fperrad joined #parrot
08:57 davidfetter just include it unconditionally. we're going to EOL the versions that didn't have it soon anyhow :)
08:59 dukeleto davidfetter: theory gave me lots of help at the pdx hackathon. he showed me pgTAP's Makefile and explained it
09:00 dalek tracwiki: v1 | cotto++ | CottoTasklist
09:00 dalek tracwiki: initial version
09:00 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Co​ttoTasklist?version=1&amp;action=diff
09:00 davidfetter dukeleto, yay!
09:00 fperrad_ joined #parrot
09:05 * dukeleto is currently stealing bits from plperl.c
09:05 davidfetter excellent!
09:05 * purl plays air guitar
09:05 davidfetter the one tim bunce fixed up?
09:06 dukeleto davidfetter: i am looking at the version in 8.3.8
09:06 dukeleto davidfetter: and only looking at the basics. when did bunce fix it up?
09:06 davidfetter initialization, safe containers, stuff like that
09:06 davidfetter properly runs END blocks as of the patch
09:08 dukeleto davidfetter: i am down in the internals, so that stuff doesn't effect me much, but good to know about
09:10 fperrad_ joined #parrot
09:17 fperrad_ joined #parrot
09:23 fperrad_ joined #parrot
09:35 fperrad_ joined #parrot
09:50 dalek tracwiki: v2 | chromatic++ | CottoTasklist
09:50 dalek tracwiki: http://trac.parrot.org/parrot/wiki/Co​ttoTasklist?version=2&amp;action=diff
09:51 cotto Yay!  Answers.
09:52 cotto chromatic++
09:54 dalek plparrot: d3accdd | dukeleto++ | src/handler/plparrot.c:
09:54 dalek plparrot: Add a basic skeleton for plparrot_call_handler
09:54 dalek plparrot: review: http://github.com/leto/plparrot/commit/d​3accdd09837ead6952e121c44257935aa163c87
09:54 dalek plparrot: 4761a72 | dukeleto++ | Makefile:
09:54 dalek plparrot: Improve Makefile
09:54 dalek plparrot: review: http://github.com/leto/plparrot/commit/4​761a720dd99c1c2aa30655c9db7345ad6d52271
09:54 dalek plparrot: e07cd49 | dukeleto++ | src/handler/plparrot.c:
09:54 dalek plparrot: Make a test pass by returning the first element of whatever the call_handler function was given
09:54 dalek plparrot: review: http://github.com/leto/plparrot/commit/e​07cd49d8fd8656371292b77b8a2b4c4173fa92a
09:58 JimmyZ joined #parrot
10:04 fperrad joined #parrot
10:21 fperrad joined #parrot
10:25 szabgab joined #parrot
10:50 fperrad_ joined #parrot
10:53 fperrad joined #parrot
11:05 mikehh joined #parrot
11:16 viklund joined #parrot
11:17 dalek xml: d552308 | fperrad++ | xml/sax/xml/grammar.pg:
11:17 dalek xml: remove POD
11:17 dalek xml: review: http://github.com/fperrad/xml/commit/d5​5230871d163d662a90025e40d35c7badfbfa00
11:38 iblechbot joined #parrot
12:40 dalek winxed: r239 | julian.notfound++ | trunk/Makefile:
12:40 dalek winxed: use harness in stage 1 tests
12:40 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=239
12:46 mikehh joined #parrot
13:12 iblechbot joined #parrot
13:34 joeri joined #parrot
13:46 kid51 joined #parrot
14:01 dalek parrot: r42900 | jkeenan++ | trunk/config/gen/makefiles/docs.in:
14:01 dalek parrot: Reverting r42898 per report in �http://trac.parrot.org/parrot/ticket/1216.
14:01 dalek parrot: review: http://trac.parrot.org/parrot/changeset/42900/
14:13 lucian joined #parrot
14:17 payload joined #parrot
14:17 naypalm joined #parrot
14:29 payload joined #parrot
14:45 payload joined #parrot
14:50 mikehh joined #parrot
15:09 mikehh All tests PASS (pre/post-config, smoke (#30606), fulltest) at r42900 - Ubuntu 9.10 i386 (g++ with --optimize)
15:29 he joined #parrot
15:30 he_ joined #parrot
15:50 Psyche^ joined #parrot
16:17 dalek tapir: b6b04ec | Whiteknight++ |  (2 files):
16:17 dalek tapir: quick todo note
16:17 dalek tapir: review: http://github.com/leto/tapir/commit/b6​b04ec3fc9ca6a6e60c2072d2957d0aca69223d
16:17 dalek tapir: 20fe6a4 | Whiteknight++ |  (3 files):
16:17 dalek tapir: Merge branch 'master' of git@github.com:leto/tapir
16:17 dalek tapir: review: http://github.com/leto/tapir/commit/20​fe6a423c8f4e5c51482de989c99f5342aef208
16:17 dalek nqp-rx: e6cb831 | pmichaud++ | src/Regex/Regex.pir:
16:17 dalek nqp-rx: Initial version of regex matching.
16:17 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/e​6cb831b3b53cc9e02ca32eab374a2052b31b749
16:17 dalek nqp-rx: fe021de | pmichaud++ |  (4 files):
16:17 dalek nqp-rx: Add ability to smartmatch regex/token/rule (although anchoring is
16:17 dalek nqp-rx: currently incorrect).
16:17 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/f​e021de05a74913f49c29892f45e6dc65c0e6b0a
16:17 dalek nqp-rx: 01c9533 | pmichaud++ |  (5 files):
16:17 dalek nqp-rx: Refactoring for Regex::Method.
16:17 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/0​1c953360b9c7d0d19e14b18566cb0ee05fbfb47
16:17 dalek nqp-rx: 6297c85 | pmichaud++ | src/Regex/Regex.pir:
16:18 dalek nqp-rx: Remove obsolete file.
16:18 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/6​297c85e67e37f009c700185cd56dc6a97a90e54
16:18 dalek nqp-rx: df1c1da | pmichaud++ | src/NQP/Actions.pm:
16:18 dalek nqp-rx: Small refactor of regex/token/rule action.
16:18 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/d​f1c1da18daf402bfc86c35b0f2e4df779393436
16:18 dalek nqp-rx: 5a0677a | pmichaud++ |  (3 files):
16:18 dalek nqp-rx: Add /.../ form of regexes and matching.
16:18 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/5​a0677a741b1f84dfe185ecf0df081507b3eb90b
16:20 cconstantine joined #parrot
16:47 mikehh joined #parrot
16:53 payload joined #parrot
16:57 Coke japhb: I was AFK; I think you're looking for a super well thought out design decision that let subs with no params have no args checking; I think it was just so you could write one-offs with a :main that got passed an ignored argv.
17:00 Coke *passed in
17:00 Coke er, no, I had it right the first time.
17:00 flh joined #parrot
17:02 flh hi everyone
17:02 purl Howdy, flh, you fantastic person you.
17:03 Coke down, purl.
17:03 purl And down SAFE!
17:05 patspam joined #parrot
17:05 bubaflub joined #parrot
17:09 flh I'm a bit annoyed by the recent CallSignature(Returns) refactor: it seems like I can't build by hand a full (i.e., with returns) CallSignature from C
17:12 flh I didn't find any API to play with the returns_* attributes of CallSignature: have I missed it?
17:14 mikehh joined #parrot
17:20 japhb Coke: Ah, I understand, thank you.
17:44 Zak joined #parrot
17:48 mikehh joined #parrot
17:54 mikehh joined #parrot
18:01 mikehh joined #parrot
18:06 Zak joined #parrot
18:08 mikehh joined #parrot
18:09 flh parrot has named args, but can we also have "named returns"? I couldn't find any example in Parrot sources
18:18 cotto f1h, yes.  It works both ways iirc though named returns are much less common.
18:27 dalek winxed: r240 | julian.notfound++ | trunk/ (2 files):
18:27 dalek winxed: add --stage option to t/harness and fix mistake in make test1, PacoLinux++
18:27 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=240
18:31 cotto flh, the only example seems to be in t/op/calling.t starting on line 1921.
18:31 cotto Consider yourself encouraged to write more tests.
18:32 flh I'll remember it :) yet for the moment, I rather consider myself encouraged to patch CallSignature
18:36 davidfetter joined #parrot
18:43 theory joined #parrot
19:00 preflex joined #parrot
19:06 theory joined #parrot
19:16 dalek partcl-nqp: f634404 | (Will Coleda)++ |  (16 files):
19:16 dalek partcl-nqp: Add rudimentary [package], about the level of partcl's
19:16 dalek partcl-nqp: * [info library]
19:16 dalek partcl-nqp: * library/ directory (copied from partcl copied from tcl)
19:16 dalek partcl-nqp: * [package require (tcltest|opt)]
19:16 dalek partcl-nqp: review: http://github.com/partcl/partcl-nqp/commit​/f634404411ad7cbac107bd2486d78a0009f58566
19:18 Coke pmichaud: ping
19:21 Coke Tene: ping
19:29 chromatic joined #parrot
19:47 payload joined #parrot
20:09 dukeleto should we update parrot.org to point people at @parrotvm on twitter and @parrot on identi.ca ?
20:10 dukeleto i see a steady stream of people following both accounts, but i have no idea how they find out about them
20:10 chromatic +1
20:10 purl 1
20:10 dukeleto chromatic: are the parrot.org htdocs stored in a repo somewhere? how do they get updated?
20:11 cotto dukeleto, Maybe the like birds and got confused.
20:12 cotto ;)
20:12 chromatic I think it's Drupal.
20:13 dukeleto Oh. My. $deity.
20:14 dukeleto do we have an in-house web-design person? i try not to touch that stuff with a 10-foot pole
20:14 lucian joined #parrot
20:15 dukeleto all we actually need to do is decide how we want to link to twitter/identi.ca . two small text links are a good start
20:15 dukeleto we can get all fancy and make them custom images if we want, or use one of the standard twitter images
20:16 dukeleto so if I have a login to parrot.org, in theory i can update the templates associated with the index page?
20:16 dukeleto i have never used drupal
20:18 Zak joined #parrot
20:18 chromatic I believe you can.
20:19 PacoLinux joined #parrot
20:20 plobsing_ gc question: roughly how much improvement would we see by not marking 500..600 leaf PMCs per GC run?
20:21 chromatic That depends on how many other PMCs we have to mark and sweep and the ratio of live/recyclable PMCs.
20:25 plobsing_ I'm just wondering if that is a small or large number of PMCs and whether it is worth the effort trying to eliminate their marking.
20:26 chromatic Which PMCs are those?
20:26 plobsing_ cached NCI call PMCs
20:27 plobsing_ they are constant and live the life of the interpreter.
20:27 chromatic Where do you see them?
20:28 dukeleto shouln't caches not be marked unless invalidated?
20:28 chromatic That depends what kind of cache.
20:29 plobsing_ src/nci.c, build_call_func
20:30 plobsing_ what I am thinking is that these should somehow be put in some non-collectible segment of memory (is the constant pool collectable?)
20:30 chromatic It isn't.
20:30 plobsing_ and then have the hash caching these contain pointers that the GC won't follow
20:31 chromatic It doesn't get swept; that's how it remains constant.
20:31 plobsing_ like a hash of ints
20:31 plobsing_ this is a slight hack, which is why I ask whether its worth it
20:32 chromatic You can try it.
20:32 chromatic Make them all constant PMCs (and make sure they don't contain any pointers to non-constant STRINGs or PMCs), make the HashPointer PMC constant, and after the first GC run, they won't get marked.
20:33 chromatic ... unless they're reachable from somewhere other than IGLOBALS_NCI_FUNCS.
20:34 plobsing_ wait a sec, the HashPointer PMC might not be constant. It will always point to constants, but its contents might grow if we have an actual frame builder.
20:34 plobsing_ is that OK for the constant pool?
20:34 chromatic As long as it never points to anything that isn't constant, it's fine.
20:34 chromatic Complications set in at src/pmc/nci.pmc lines 127, 131-133.
20:35 plobsing_ its not NCI pmcs
20:35 plobsing_ its the unmanaged struct PMCs that manage the C function pointers
20:36 chromatic Oh, right.  I'm misreading this.
20:36 chromatic As long as they don't have non-constant initializers, they should be fine.
20:37 dalek winxed: r241 | julian.notfound++ | trunk/ (2 files):
20:37 dalek winxed: Improve assignment in stage 1
20:37 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=241
20:38 chromatic src/nci.c looks like the only place to use IGLOBALS_NCI_FUNCS, so you should be free and clear to make that a constant PMC.
20:42 chromatic Of course, that only applies to code that uses NCI.  We delay initialization of the thunks until something needs one.
20:44 plobsing_ calling a non-vtable method on a core PMC fits that. I would assume thats a fairly common operation.
20:45 bubaflub joined #parrot
20:45 chromatic True.
20:46 pmichaud Coke: pong
20:49 dukeleto whoa, i just found my PL/Parrot talk on youtube: http://www.youtube.com/watch?v=WFbTAVleQ7s
20:49 dukeleto i insulted everyone equally :)
20:49 dukeleto the rest of the talks: http://www.pythian.com/news/5807/o​pensqlcamp-lightning-talk-videos/
20:51 Tene Coke: pong
20:59 cotto win
21:04 plobsing_ hmmm... the constant hash doesn't like being cloned (required to spawn threads apparently)
21:13 plobsing_ what should I use for benchmarking?
21:14 dukeleto plobsing_: euler_bench
21:14 purl it has been said that euler_bench is http://github.com/notbenh/euler_bench or that which dukeleto uses to benchmark parrot
21:17 plobsing_ dukeleto: are there any there that are particularily gc-heavy?
21:17 dukeleto plobsing_: http://www.nntp.perl.org/group/perl.​perl5.porters/2009/10/msg152921.html
21:17 dukeleto plobsing_: no, that is a benchmarking framework
21:18 mikehh joined #parrot
21:19 dukeleto plobsing_: there are gc benchmarks here: examples/benchmarks/gc_*
21:19 dukeleto plobsing_: what are you trying to benchmark? a branch? against what?
21:20 chromatic oofib.pir can be GC heavy
21:20 chromatic the NQP-rx Actions.pm benchmark runs the GC a lot.
21:27 mikehh All tests PASS (pre/post-config, smoke (#30623), fulltest) at r42900 - Ubuntu 9.10 i386 (gcc with --optimize)
21:30 cotto What's the difference between CONTEXT() and CURRENT_CONTEXT()?
21:31 cotto It's not entirely clear from tracing through the code.
21:50 dukeleto cotto: find the definition of each macro?
21:52 cotto That wasn't very helpful.
21:53 cotto #define CURRENT_CONTEXT(interp) ((interp)->ctx)
21:53 cotto #define CONTEXT(interp)         Parrot_pcc_get_context_struct((interp), (interp)->ctx)
21:54 cotto That function basically does the same thing.
21:54 pmichaud one of them uses the API, the other doesn't.
21:55 pmichaud (that's my guess.)
21:56 cotto I'll poke bacek when he's on.  He seems to know something about that part of the code.
22:01 dukeleto cotto: CONTEXT() looks newer
22:01 dukeleto cotto: CONTEXT uses the pcc api, CURRENT_CONTEXT does not
22:02 dukeleto cotto: so yes, they seem to do the same thing, but one is probably the newer, preferred API.
22:05 dalek winxed: r242 | julian.notfound++ | trunk/winxedst1.winxed:
22:05 dalek winxed: operator - in stage 1
22:05 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=242
22:06 plobsing_ joined #parrot
22:07 cotto silly bird
22:10 kid51 joined #parrot
22:11 Coke tene - partcl-nqp is failing a test with a for loop that contains an if that contains a break. the break isn't breaking.
22:12 Coke pmichaud: how can I make, say, 1 == 2 invoke a function instead of a pirop?
22:13 nopaste "pmichaud" at 66.25.4.52 pasted "...what am I forgetting here?" (25 lines) at http://nopaste.snit.ch/18974
22:13 pmichaud Coke: just eliminate the :pirop  from the token definition.  It will then call a function called &infix:<==>
22:14 pmichaud I'm planning to also allow a :name option that will let you specify the function to be called... just haven't done that yet.
22:16 cotto dukeleto, both CONTEXT and CURRENT_CONTEXT were added by bacek in the same (apparent) commit.
22:17 dukeleto cotto: was it a merge commit?
22:17 Coke pmichaud: you need to register the hll map in an :init block.
22:17 Coke see partcl-nqp src/class/tclstring.pmc
22:17 Coke s/pmc/pir
22:17 pmichaud ...it has to be in an init block?  weird.
22:17 cotto r40958
22:17 cotto checking...
22:17 dalek fun: 0c0d119 | fperrad++ |  (8 files):
22:17 dalek fun: update infrastructure with setup.pir (distutils)
22:18 dalek fun: review: http://github.com/TiMBuS/fun/commit/0c​0d1194feebbbff168f0b9bf425339a249f9b57
22:18 dalek fun: dd934e1 | fperrad++ |  (4 files):
22:18 dalek fun: refactor with opcode 'load_language'
22:18 dalek fun: review: http://github.com/TiMBuS/fun/commit/dd​934e1e946a281670c434af3323cf34ea986b8d
22:18 dalek fun: c246251 | fperrad++ | plumage/fun.json:
22:18 dalek fun: add a Plumage description
22:18 dalek fun: review: http://github.com/TiMBuS/fun/commit/c2​46251c7c32536c12125ac2d398c4756e43168d
22:18 dalek fun: 3606e26 | Jarrod++ | src/ (2 files):
22:18 dalek fun: Added changes to the language setup, provided by fperrad++
22:18 dalek fun: review: http://github.com/TiMBuS/fun/commit/36​06e26839cd447aaf8702c07ff857692855c40f
22:18 dukeleto Merge context_pmc3 branch into trunk.
22:18 dukeleto DRAGONS ENTER THE BUILDING.
22:18 Coke double checking, but... I think so.
22:18 dukeleto is r40958
22:18 pmichaud nopaste coming
22:18 dukeleto cotto: here is your gold watch ;)
22:18 cotto yup
22:19 dukeleto i though i recognized that commit number :)
22:19 dukeleto i have received many gold watches as well
22:19 nopaste "pmichaud" at 66.25.4.52 pasted "still no luck with hll_map" (27 lines) at http://nopaste.snit.ch/18976
22:19 pmichaud if I do an explicit "box" in main, it gets the correct hll_mapped type, though.
22:20 Coke ah.
22:20 nopaste "pmichaud" at 66.25.4.52 pasted "still no luck with hll_map, #2" (32 lines) at http://nopaste.snit.ch/18977
22:21 Coke pmichaud: perhaps a missing use of the hll ctx function.
22:21 plobsing_ dukeleto: how do I get euler_bench to work against 2 differing parrot interpreters?
22:21 Coke (the fact that it works with box means you're registering it properly.)
22:21 pmichaud I wonder if that's a PCC refactor bug.
22:22 * pmichaud tries an older parrot.
22:22 cotto msg bacek What's the difference between CONTEXT() and CURRENT_CONTEXT() and when should they be used?
22:22 purl Message for bacek stored.
22:23 cotto yay for the magical messaging robot
22:23 cotto < purl-- >
22:24 dukeleto plobsing_: did you read the post i made to p5p? you list the paths to those interpreters in the yaml file
22:25 dukeleto plobsing_: then you can run it like this: BENCH_CONFIG=bench.yaml ./bin/bench ~/svn/parrot/examples/benchmarks/include_pir.pir  parrot --count=100 --order=avg
22:25 dukeleto listing parrot in the args means it looks for all interpreters assigned to the parrot language in the yaml file
22:26 dukeleto plobsing_: there should be an example yaml file that shows how to do it
22:28 Coke which namespace is the &infix:<==> in ?
22:28 Coke the grammar's?
22:29 pmichaud it's a normal function call, like any other (so 'commands' for now)
22:30 pmichaud sub &infix:<==>($a, $b) { ... }
22:31 pmichaud looks like we lost hll mapping of arguments
22:31 chromatic I thought CURRENT_CONTEXT() was a source-level backwards compatibility macro.
22:32 Coke pmichaud: hurm. I would expect that to have broken partcl.
22:32 chromatic HLL mapping of auto-promoted arguments?
22:32 * Coke runs a make test over there.
22:32 pmichaud chromatic: yes.
22:32 pmichaud nopaste coming
22:34 nopaste "pmichaud" at 66.25.4.52 pasted "no mapping of native arguments in trunk" (35 lines) at http://nopaste.snit.ch/18978
22:34 pmichaud interestingly, return values *are* mapped.
22:34 chromatic That sounds easy to fix.
22:34 pmichaud so the hll_map test in t/pmc/parrotinterpreter.t passes
22:35 pmichaud shall I file the ticket or wait for the imminent fix?
22:35 chromatic Let me read the code and think about it.
22:35 pmichaud (sounds like "file the ticket" then :-)
22:36 chromatic If I don't have it fixed in an hour, file away.
22:36 pmichaud okay.
22:40 chromatic That was easy.  I thought there was a TODO about it.
22:48 chromatic That should do it.
22:48 dalek parrot: r42901 | cotto++ | trunk/src/runcore/profiling.c:
22:48 dalek parrot: [profiling] fix filename reporting in profiling output
22:48 dalek parrot: review: http://trac.parrot.org/parrot/changeset/42901/
22:48 dalek parrot: r42902 | chromatic++ | trunk (2 files):
22:48 dalek parrot: [PCC] Made boxed incoming parameters respect HLL map types (reported by Patrick
22:48 dalek parrot: Michaud).
22:48 dalek parrot: review: http://trac.parrot.org/parrot/changeset/42902/
22:49 pmichaud that does appear to fix things... thanks.
22:56 chromatic You're welcome.
22:57 pmichaud ugh, I thought TT #562 had been fixed by now.
23:11 pmichaud plumage?
23:11 purl somebody said plumage was the future Parrot module ecosystem.  It will include tools to search metadata, handle dependencies, install modules, and so forth. The repository is at http://gitorious.org/parrot-plumage/parrot-plumage and the design docs are at https://trac.parrot.org/pa​rrot/wiki/ModuleEcosystem
23:11 japhb *pop*
23:11 japhb yes ...?
23:11 purl Yada yada yada hasn't been implemented yet! (unless you run bleadperl)
23:12 pmichaud needing to look up some information from Glue
23:13 Coke ugh. I can implement ==, but I need a working "toInteger" first. bah.
23:13 mikehh joined #parrot
23:18 lucian joined #parrot
23:18 brrant joined #parrot
23:24 lucian joined #parrot
23:35 Zak joined #parrot
23:53 cconstantine joined #parrot
23:55 mikehh All tests PASS (pre/post-config, smoke (#30624), fulltest) at r42902 - Ubuntu 9.10 amd64 (g++ with --optimize)

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

Parrot | source cross referenced