Camelia, the Perl 6 bug

IRC log for #parrot, 2010-05-16

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 cotto clock?
00:03 purl cotto: LAX: Sat 5:03pm PDT / CHI: Sat 7:03pm CDT / NYC: Sat 8:03pm EDT / LON: Sun 1:03am BST / BER: Sun 2:03am CEST / IND: Sun 5:33am IST / TOK: Sun 9:03am JST / SYD: Sun 10:03am EST /
00:06 cotto bacek, got any hacking plans for the day?
00:07 bacek cotto, not really. It's kids day for me.
00:07 bacek So, I'm heading off.
00:07 cotto Great for you!  Have a good time.
00:07 bacek cu
00:46 dalek parrot: r46691 | plobsing++ | trunk (5 files):
00:46 dalek parrot: remove deprecated sizeof_i_i op. TT #633
00:46 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46691/
00:46 dalek TT #633 closed by plobsing++: sizeof_i_i opcode uses old integer types.
00:46 dalek TT #633: http://trac.parrot.org/parrot/ticket/633
00:48 rurban_ joined #parrot
00:57 theory joined #parrot
01:02 theory joined #parrot
01:03 dalek parrot: r46692 | plobsing++ | trunk/DEPRECATED.pod:
01:03 dalek parrot: change removal eligibility from 6 month to 3 month deprecation cycles
01:03 purl dalek: that doesn't look right
01:03 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46692/
01:18 agricola joined #parrot
01:19 cotto change purl into a cow
01:19 purl cotto: that doesn't look right
01:20 cotto She'd probably have made a crummy hamburger anyway.
01:20 cotto purl, purl?
01:20 purl i am a retard or a trannybot or a fuckslut in GumbyBRAIN's mind or the national trannywreck champion or better than any of you #perl fucktards or very vile or the one to watch >:) or omniscient or 13 or well behaved or useless or fun or a megalomaniac or known to get testy if not fed or slacking off or gummy in scalar context or a silly bot or a stitch
01:21 sorear purl, flooterbuck?
01:21 purl hmmm... flooterbuck is well, flooterbuck is the kind of infobot that i am or a dagbrown, mendel, warewolf and kd production or actually maintained or http://github.com/dagbrown/flooterbuck/ or git-clone git://github.com/dagbrown/flooterbuck.git or a complete pile of ass written in perl 4 or mostly warewolf's fault really.
01:37 Coke plobsing: yes?
01:43 plobsing Coke: can you test to see that my recent fix to TT #1632 work for you?
01:47 Coke how are dynops not part of the corevm?
01:50 Coke plobsing: checking
01:55 JimmyZ joined #parrot
01:56 Coke plobsing: no segfault. now I'm getting:
01:56 nopaste "coke" at 192.168.1.3 pasted "this." (7 lines) at http://nopaste.snit.ch/20565
01:58 plobsing looks like a string vs integer issue
02:11 Coke nope.
02:11 Coke getNumber() (helper sub) is throwing an exception where it didn't used to. something in PGE.
02:14 Coke this is throwing the error:
02:14 Coke match = parse(str, 'pos'=>$I0, 'grammar'=>'TclExpr::Grammar')
02:15 nopaste "coke" at 192.168.1.3 pasted "new error from PGE" (10 lines) at http://nopaste.snit.ch/20566
02:19 shockwave joined #parrot
02:24 dalek parrot: r46693 | plobsing++ | trunk/src/ops/core.ops:
02:24 dalek parrot: allow dlvar on libparrot the same as dlfunc
02:25 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46693/
02:25 dalek parrot: r46694 | cotto++ | branches/ops_pct/compilers/opsc (2 files):
02:25 dalek parrot: [opsc] small simplifications
02:25 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46694/
02:27 cotto pmichaud++ for tose
02:27 cotto *those
02:35 integral joined #parrot
02:50 theory joined #parrot
03:00 JimmyZ joined #parrot
03:11 abqar joined #parrot
03:13 janus joined #parrot
04:13 tcurtis Is there any definitive list anywhere of the valid values for the pasttype attribute of PAST::Op nodes?
04:15 snarkyboojum joined #parrot
04:16 sorear tcurtis: PAST::Compiler.keys
04:17 sorear pasttype values translate directly into method names
04:17 sorear so, actually it wouldn't be keys anymore
04:30 tcurtis Thanks, sorear++.
04:32 sorear I think there should be a wiki page somewhere with a list of low-hanging optimizer fruits
04:32 sorear so that Joe Impatient can help take load off tcurtis
04:32 sorear or is coming up with rules not at all a bottleneck for you?
04:36 tcurtis I don't know yet. We'll see once I've implemented PAST::Walker and PAST::Pattern.
04:43 TiMBuS joined #parrot
05:06 LoganLK joined #parrot
05:12 plobsing do any opcodes other than clear[insp] modify registers that are not their direct arguments?
05:12 snarkyboojum joined #parrot
05:12 cotto interesting question
05:12 * purl scratches her chin...
05:12 cotto I'm not quite sure why we have the clear ops around still
05:13 plobsing I'd like to deprecate them because they throw the optimizer for a loop
05:13 plobsing also I don't see any practical use for them
05:14 cotto We also seem to have set[insp]_ind
05:14 tcurtis Is there a name for the things that PMC's "provide"?
05:15 cotto Those are odd.
05:15 plobsing It would make optimizing bytecode much easier if ops were required to only operate on their arguments
05:16 * cotto points plobsing at DEP.pod and trac
05:16 plobsing I intend to. I just want to know if there is legitimate functionality there.
05:17 cotto clear sounds like a throwback from when Parrot thought it was a cpu.
05:24 cotto Heh.  The setx_ind ops have a warning that the could mess up the register allocator and say "handle with care".
05:25 plobsing I'll be sure to wear gloves when I rip them out.
05:25 cotto I think "handle with fire" would be more helpful instructions.
05:26 tcurtis Sounds like it should be "handle with unicorns".
05:28 cotto Perhaps an op audit is in order.
05:29 cotto I have to wonder how much more junk is lurking in there.
05:29 plobsing there is some cruft lying about everywhere.
05:30 * plobsing considers the set_pointer_keyed_str to be of dubious value.
05:30 cotto I'm reasonably sure that the setx_ind ops aren't even tested.
05:31 plobsing I know that clearx are, but only for the purpose of showing that they work
05:33 sorear setx_ind ... my initial reaction was "WTF!?"
05:33 cotto That's good.
05:35 plobsing initial reaction? does that mean you've warmed up to the idea?
05:36 plobsing if so, can you help me see the light? all I see is red when I look at that code.
05:39 cotto I'm saying that sorear's reaction indicates sanity.
05:40 sorear plobsing: indexed access to frames makes sense in whatever our low-level IR becomes
05:40 sorear as a PIR opcode, it needs to die
05:41 cotto Hmmm.  We have eq_addr and issame which do almost the same thing.
05:41 cotto plus neq_addr and isntsame
05:41 sorear and by low level, I mean [esp+eax*4-0x2C]
05:42 plobsing please say we aren't implementing all the x86 addressing modes!
05:42 sorear plobsing: no, that's llvm's job
05:42 sorear or libjit's, or whatever
05:43 sorear (though, from the looks of it, we've gotten into a bit of technical decision phobia and are going to implement yet another abstraction layer instead of picking a code generator)
05:43 cotto sorear, then let's implement them in Lorito and rip them out of pir
05:43 plobsing why do we need indirect register access?
05:43 plobsing if you want something like that, use a lexpad
05:44 sorear plobsing: for stack-allocated inline arrays
05:44 sorear cotto: that's what I just said
05:45 plobsing sorear: parrot is CPS. I don't see how stack-allocated arrays are supposed to work.
05:47 tcurtis How do you test what a PMC type "provides"?
05:48 JimmyZ CPS?
05:48 purl well, CPS is continuation passing style
05:48 plobsing tcurtis: the does opcode, I think
05:50 plobsing JimmyZ: in stead of a return pointer, parrot has a continuation pointer, and call frames are not guarranteed to be in any sort of ordering
05:52 tcurtis plobsing: indeed. Thanks.
05:53 snarkyboojum joined #parrot
05:53 sorear joined #parrot
05:53 JimmyZ plobsing: thanks, and purl++
05:59 cotto anyone know how to fix tab completion for ack in Ubuntu 10.04?
06:00 plobsing what's broken about it?
06:00 cotto It messes up file paths and has been making me crazy.
06:00 cotto It adds an extra space after dirs
06:00 plobsing why not just delete the custom handler and rely on the (mostly sane) default behaviour?
06:01 cotto That makes way too much sense.
06:11 cotto the exchange ops seem strange
06:14 plobsing didn't parrot use specific registers in the calling convention at some point? then it would have made sense to shuffle things between registers.
06:15 plobsing also they might be useful for optimizaters, but that would require a sufficiently smart optimizer
06:15 plobsing s/optimizaters/optimizations/
06:33 dalek website: tcurtis++ | PAST Pattern Matching
06:33 dalek website: http://www.parrot.org/cont​ent/past-pattern-matching
06:45 plobsing tcurtis: how does your PAST transformer library differ from TGE?
06:49 tcurtis TGE?
06:49 purl TGE is slooooow. or the tree grammar engine or how you transform a PGE Match Hierarchy into PIR code.
06:50 plobsing compilers/tge
07:05 tcurtis Frankly, I don't know.
07:06 sorear AFAIK TGE is dead.
07:06 plobsing oic. I don't know much about that side of parrot.
07:06 sorear NQP-rx-based compilers don't use it
07:06 plobsing any idea why?
07:07 sorear It's a neat idea but you don't see deep transformations that much outside of optimizer theory
07:07 sorear tcurtis is going to be the only user in all likelyhood
07:07 sorear opbots names
07:08 sorear opbots trust tcurtis
07:08 slavorgn Ok
07:08 slavorg Ok
07:08 plobsing well even if it is dead, you might be able to steal some code and save some time
07:09 sorear there are a lot of dead-ish languages still on PGE/TGE though
07:09 sorear so we can't just deprecate and kill unless we don't like our "30 dynamic languages run on parrot!!!" gimmick
07:10 plobsing I thought PGE was on the chopping block
07:10 sorear That's very good to hear.
07:11 plobsing thought. as I said, I know almost nothing of these things
07:14 cotto I think the biggest reason it's still around is that Lua uses it.
07:17 sorear I'll rewrite lua in NQP-rx, then.
07:18 plobsing sorear++
07:18 sorear There's a peculiar shortage of NQP-rx languages that use lexicals
07:18 sorear Lua would make an excellent test case
07:23 tcurtis It looks like TGE is closer to tree traversal than pattern matching.
07:46 plobsing I'm guessing based on the error messages I'm getting that the CONST_STRING pre-processor doesn't support multiple entries on one line
07:50 sorear hehehehe
07:50 sorear it's doing that to protect you.
07:51 sorear CONST_STRING isn't a full preprocessor; it's just a pre-extractor
07:51 plobsing yeah, I know enough about it to hate it
07:51 sorear at C compile time, CONST_STRING("this stuff is actually being ignored") = CONST_STRING_LINE_(2394) = CONST_STRING_2394 = interp->strings[94]
07:52 sorear ah
07:52 plobsing the only reason I have 2 CONST_STRINGS on the same line is that the CONST_STRING pre-processor whines when you put a CONST_STRING in an expression broken over lines
07:53 plobsing as in 'CONST_STRING(interp, "1"), \n CONST_STRING(interp, "2")'
07:54 sorear right
07:54 sorear if you had 2 CONST_STRING in the same statement, it wouldn't be possible to tell them apart at compile time
07:55 sorear because some C compilers only reset __LINE__ on semicolons
07:56 plobsing would it work if the preprocessor inserted some kind of hash based on string contents?
07:57 sorear The C preprocessor isn't powerful enough to do that.
07:57 sorear c2str doesn't change the C at all - it just builds the global strings table
07:57 plobsing the CONST_STRING preprocessor
07:57 plobsing oic
08:02 tcurtis Good night, folks. Feel free to msg, email, or contact-in-some-other-manner me if you have any suggestions concerning my GSoC stuff.
08:05 JimmyZ good night
08:10 fperrad joined #parrot
08:19 iblechbot joined #parrot
08:41 snarkyboojum_ joined #parrot
08:49 rurban_ joined #parrot
09:22 moritz http://www.parrot.org/cont​ent/past-pattern-matching does this sound like TGE re-invented to anybody else?
09:23 moritz that said I haven't every used TGE
09:24 fperrad_ joined #parrot
10:05 dalek parrot: r46695 | fperrad++ | trunk/t/library/lwp.t:
10:05 dalek parrot: [LWP] test unknown protocol
10:05 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46695/
10:14 mikehh joined #parrot
10:22 dalek parrot: r46696 | NotFound++ | trunk (5 files):
10:22 dalek parrot: cleanup runloop creation and destruction and experimental unroll opcode, TT #1635
10:22 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46696/
10:22 dalek parrot: r46697 | NotFound++ | trunk/t/pmc/exception-old.t:
10:22 dalek parrot: fix and un-todo a exception test by using the unroll opcode
10:22 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46697/
10:35 particle1 joined #parrot
10:36 eternaleye joined #parrot
10:38 dalek parrot: r46698 | mikehh++ | trunk/src/call/ops.c:
10:38 dalek parrot: fix codetest failure - assert args
10:38 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46698/
10:54 JimmyZ joined #parrot
10:54 dalek parrot: r46699 | mikehh++ | trunk/src/ops/experimental.ops:
10:54 dalek parrot: fix codetest failure - line length
10:54 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46699/
11:00 lucian joined #parrot
11:17 iblechbot joined #parrot
11:34 Whiteknight joined #parrot
11:35 uniejo joined #parrot
11:39 AzureStone joined #parrot
12:32 dalek parrot: r46700 | bacek++ | trunk (13 files):
12:32 dalek parrot: Add 'does invokable' to all PMCs with VTABLE_invoke (except Object). Part of TT#1597
12:32 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46700/
13:06 kid51 joined #parrot
13:11 dalek winxed: r467 | julian.notfound++ | trunk/winxedst (2 files):
13:11 dalek winxed: use unroll in exception handling
13:11 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=467
13:19 joeri joined #parrot
13:21 dalek parrot: r46701 | jkeenan++ | trunk/ext/nqp-rx/src/stage0/nqp-setting.pm:
13:21 dalek parrot: [codingstd] Set file metadata on nqp-setting.pm.
13:21 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46701/
13:37 dalek parrot: r46702 | jkeenan++ | trunk/t (2 files):
13:37 dalek parrot: [codingstd] Add several entries to list of files where duplicate copyright
13:37 dalek parrot: notices are expected (mainly due to heredocs for generated files).  Remove one
13:37 dalek parrot: truly duplicated copyright notice.  ext/nqp-rx/src/stage0/.nqp-setting.pm is
13:37 dalek parrot: still problematic.
13:37 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46702/
13:44 snarkyboojum joined #parrot
13:58 kid51 mikehh ping
14:18 fperrad_ joined #parrot
14:20 Coke TGE is not dead.
14:33 dalek rakudo: 32150d5 | (Martin Berends)++ | src/Perl6/Module/Loader.pm:
14:33 dalek rakudo: [Perl6/Module/Loader.pm] when a 'use' or 'need' cannot find a module, just say
14:33 dalek rakudo: so and exit with doing an unnecessary stack trace.
14:33 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/3​2150d50edf77d5bbb32af03a9880a69eed10ef9
14:33 JimmyZ joined #parrot
14:34 moritz now it dies with
14:34 moritz Null PMC access in find_method('new')
14:34 moritz current instr.: '!create_anon_enum' pc 1000 (src/glue/enum.pir:51)
14:34 moritz called from Sub '_block18' pc 67 (EVAL_2:13)
14:35 moritz because it called $P0 = get_hll_global 'EnumMap'
14:40 Mokurai1 joined #parrot
14:41 pmichaud m09:22 <moritz> http://www.parrot.org/cont​ent/past-pattern-matching does this sound like TGE re-invented to anybody else?
14:42 pmichaud I think that past-pattern-matching sounds more like what TGE was intended to become but never did.
14:53 pmichaud kid51: I'm cleaning up the codetest problem for nqp-setting
14:55 plobsing joined #parrot
14:55 pmichaud iirc, I think it was decided that files in ext/ didn't have to meet any of Parrot's coding standards.
14:55 pmichaud or something close to that.
15:00 moritz Coke++ mentioned as much on parrot-dev
15:00 pmichaud ah, hadn't seen that message yet (hadn't sync'd mail).  Coke++
15:01 pmichaud anyway, for ext/nqp-rx I'm going to go ahead and work around the problem entirely anyway
15:01 pmichaud first, I'll change nqp-setting.pm to nqp-setting.nqp
15:01 pmichaud then I'll add a "#! nqp" marker at the beginning of the generated file
15:02 pmichaud either one of those or both should get it to be ignored by the codetest targets
15:09 theory joined #parrot
15:10 tetragon joined #parrot
15:21 kid51 pmichaud:  thanks
15:23 pmichaud kid51: testing now
15:24 kid51 I saw that post from Coke and agree with it.  But yesterday there was a point when all the codingstd tests were passing, so I thought mikehh or someone had implemented a permanent fix.
15:24 kid51 (as opposed to a bandaid)
15:24 pmichaud Me too.  Anyway, what I'm doing now will definitely avoid the problem, as well as make it slightly easier for someone coming from outside to understand.
15:25 pmichaud for example, the generated file from nqp-rx now says explicitly it was generated within nqp-rx
15:25 kid51 I've stared at Parrot::Distribution and Parrot::Docs::* many times over the past 3.5 years and always come away with my head spinning.
15:29 kid51 Hmm, lemme try something
15:30 kid51 Perhaps if I add: ext/ to the list of excluded directories starting at line 505 of lib/Parrot/Distribution.pm's get_perl_exemption_regexp()
15:31 dalek nqp-rx: 4e9b9f4 | pmichaud++ | build/gen_setting.pl:
15:31 dalek nqp-rx: Add "#! nqp" marker and generation note to beginning of nqp-setting.nqp .
15:31 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/4​e9b9f4de0bd85eff170fc9f6f59a842d9365755
15:31 dalek nqp-rx: e76a952 | pmichaud++ | build/Makefile.in:
15:31 dalek nqp-rx: Rename nqp-setting.pm to nqp-setting.nqp .
15:31 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/e​76a95255068a8c37da718e3bde7b54fdfc46ef9
15:31 dalek nqp-rx: 3397f77 | pmichaud++ | src/stage0/ (4 files):
15:31 dalek nqp-rx: Update bootstrap.
15:31 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/3​397f77ce373cd541469aff3bf9d9921c77688e8
15:31 dalek nqp-rx: 44e68e4 | pmichaud++ |  (2 files):
15:31 dalek nqp-rx: More cleaning up for nqp-setting.pm -> nqp-setting.nqp .
15:31 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/4​4e68e428ca138d51863b024b7d2d9095f5e5f3c
15:31 dalek nqp-rx: 136d1b6 | pmichaud++ | src/stage0/ (3 files):
15:31 dalek nqp-rx: Update bootstrap.
15:31 dalek nqp-rx: review: http://github.com/perl6/nqp-rx/commit/1​36d1b6c190993bbd514e1f0c5dc4f7afd03a6be
15:34 pmichaud kid51: should now be fixed in r46703
15:34 pmichaud at least for the nqp-rx stuff.
15:35 kid51 Thanks.  My partial fix will be coming in a few minutes as well.  Can you post to list?
15:35 mikehh kid51: for some reason ext/nqp-rx/src/stage0/nqp-setting.pm is failing codetest (5 tests) - it shouldn't even be tested
15:35 dalek parrot: r46703 | pmichaud++ | trunk (5 files):
15:35 dalek parrot: [nqp]: Rename nqp-setting.pm to nqp-setting.nqp to avoid make codetest issues.
15:35 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46703/
15:35 dalek parrot: r46704 | fperrad++ | trunk (3 files):
15:35 dalek parrot: [LWP] "GET �http://www.parrot.org HTTP/1.1" works
15:35 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46704/
15:35 pmichaud mikehh: I just worked around that in r46703 :)
15:35 kid51 mikehh:  Yes that's what pmichaud and I are working on
15:35 kid51 ... even as we speak :-)
15:35 pmichaud I don't know *why* it was being tested, but it won't be any more.  :-)
15:35 pmichaud it's now nqp-setting.nqp
15:36 pmichaud and the first line is "#! nqp"
15:36 kid51 It was being tested because it was not being excluded from the list of files designated as 'perl' in Parrot::Distribution.
15:36 kid51 That will change in a few minutes.
15:36 mikehh kid51: the tests pass in ops_pct branch which as far as I know had the same version of nqp-rx
15:37 mikehh anyway looking at that now
15:40 kid51 mikehh:  Am retesting in trunk after r46705; if you want to port those revisions into branch, feel free.
15:42 mikehh kid51: I was woring on that earlier, but had to go out, trying to figger ot why it was working in ops_pct branch and failing in trunk - will work on that later
15:50 Mokurai1 joined #parrot
15:52 snarkyboojum joined #parrot
15:54 * kid51 breathes sigh of relief:  make codetest PASS in trunk (r46707)
15:54 dalek parrot: r46705 | jkeenan++ | trunk/lib/Parrot/Distribution.pm:
15:54 dalek parrot: Exclude files under ext/ from the scope of get_perl_language_files().
15:54 dalek parrot: Accomplished by adding ext/ to directories exempted.  This will affect these
15:55 dalek parrot: codingstd tests:
15:55 dalek parrot: t/perl/Parrot_Distribution.t
15:55 dalek parrot: t/codingstd/trailing_space.t
15:55 purl well, t/codingstd/trailing_space.t is saying that there are trailing spaces or tabs in compilers/pirc/src/pirlexer.c and compilers/pirc/src/pirmain.c
15:55 dalek parrot: t/codingstd/copyright.t
15:55 purl well, t/codingstd/copyright.t is broken again if someone wants to fix it.
15:55 dalek parrot: t/codingstd/cuddled_else.t
15:55 dalek parrot: t/codingstd/svn_id.t
15:55 dalek parrot: t/codingstd/perlcritic.t
15:55 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46705/
15:55 dalek parrot: r46706 | pmichaud++ | trunk/compilers/pct/src/PCT/HLLCompiler.pir:
15:55 dalek parrot: [pct]:  Add a better note to PCT::HLLCompiler explaining the @INC
15:55 dalek parrot: workaround for older Perl 5 Test::Harness.  sorear++
15:55 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46706/
15:55 dalek parrot: r46707 | jkeenan++ | trunk/runtime/parrot/library/HTTP:
15:55 dalek parrot: Set svn:ignore on Message.pbc.
15:55 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46707/
15:55 dalek parrot: r46708 | mikehh++ | trunk/compilers/pct/src/PCT/HLLCompiler.pir:
15:55 dalek parrot: fix codetest failure - trailing space
15:55 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46708/
15:58 mikehh ok codetest now passes, there were some problems with distro_tests earlier (MANIFEST.generated sort)
16:00 japhb joined #parrot
16:01 khairul joined #parrot
16:06 kid51 mikehh:  Yes.  Correcting that in r46710
16:06 preflex joined #parrot
16:11 dalek parrot: r46709 | plobsing++ | trunk/DEPRECATED.pod:
16:11 dalek parrot: opcode deprecations
16:11 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46709/
16:11 dalek parrot: r46710 | jkeenan++ | trunk/MANIFEST.SKIP:
16:11 dalek parrot: Update MANIFEST to reflect change in svn:ignore.
16:11 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46710/
16:13 fperrad_ joined #parrot
16:13 dalek TT #1642 created by plobsing++: [DEPRECATION] ops which modify registers that are not their direct ...
16:13 dalek TT #1642: http://trac.parrot.org/parrot/ticket/1642
16:13 dalek TT #1643 created by plobsing++: [DEPRECATION] exchange op
16:13 dalek TT #1643: http://trac.parrot.org/parrot/ticket/1643
16:22 plobsing Parrot::Pmc2c::Parser has a line '# To be deprecated'. Anyone know what this is about?
16:25 preflex joined #parrot
16:27 dalek parrot: r46711 | mikehh++ | trunk/MANIFEST.generated:
16:27 dalek parrot: modify (by hand) MANIFEST.generated to fix sort order
16:27 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46711/
16:43 kid51 mikehh:  Until just now, I was unaware of the existence of t/distro/manifest_generated.t
16:43 kid51 Should it be included in 'make codetest'?
16:43 kid51 Does tools/dev/mk_manifest_and_skip.pl have to change to guarantee that t/distro/manifest_generated.t will PASS?
16:45 mikehh kid51: I think it's finw in distro_tests - it gets tested in fulltest
16:45 mikehh we probably need a separate utility to make sure MANIFEST.generated is a) sorted and b) complete
16:48 rurban__ joined #parrot
16:49 mikehh All tests PASS (pre/post-config, make corevm/make coretest, smoke (#33861), fulltest) at r46711- Ubuntu 10.04 amd64 (g++)
17:01 dalek parrot: r46712 | plobsing++ | trunk/src/ops/set.ops:
17:01 dalek parrot: update string clone for stringnull
17:01 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46712/
17:05 kid51 mikehh:  The sorting would be easy.  But guaranteeing its completeness has always eluded us.  There was an old RT about that; problem was partially addressed with MANIFEST.configure.generated.
17:05 kid51 RT may have been carried forward into Trac.
17:06 kid51 But, in general, MANIFEST.generated has always been hand-edited.
17:07 mikehh kid51: the test was checked in by plobsing++ about 10 days ago, but copyright seems to indicate it was around before
17:07 kid51 He could have simply copied the copyright notice from another file.
17:07 plobsing that is probably the case
17:08 Whiteknight what happened to the codestring branch. Was it merged?
17:08 Whiteknight or was it BALEETED?
17:08 kid51 svn log --stop-on-copy indicates file was first committed on May 06
17:09 kid51 My impression is that Coke was eventually able to cherry-pick the best stuff and commit it to trunk.
17:09 Whiteknight okay
17:09 Whiteknight that's sort of what it's looking like in the svn logs, but I wanted to be sure
17:10 kid51 I just fixed copyright in t/distro/manifest_generated.t
17:12 mikehh kid51: as regards codetest - I generally run manifest_tests and codetest after a configure, distro_tests require a build
17:15 kid51 k
17:15 kid51 For reference, here is the RT in which MANIFEST.generated was discussed:  http://rt.perl.org/rt3//Publ​ic/Bug/Display.html?id=40817
17:17 dalek parrot: r46713 | jkeenan++ | trunk/t/distro/manifest_generated.t:
17:17 dalek parrot: File was first committed in 2010, so that's the only year that needs to appear in current copyright notice.
17:17 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46713/
17:22 theory joined #parrot
17:33 dalek parrot: r46714 | plobsing++ | trunk/src/ops/math.ops:
17:33 dalek parrot: use abs/fabs in stead of roll-your-own abs
17:33 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46714/
17:34 iblechbot joined #parrot
17:47 NotFound_gf plobsing: don't do that.
17:48 plobsing NotFound_gf: don't do what?
17:48 NotFound_gf plobsing: use abs/fabs
17:48 plobsing why not?
17:48 plobsing we already did in the inplace ops
17:49 moritz too platform specific?
17:49 plobsing my manpages say that abs/fabs are C89
17:50 NotFound_gf We allow to select INTVAL and FLOATVAL types, and that functions use specific types that aren't always compatible.
17:51 plobsing oic
17:51 NotFound_gf Also, abs can be overloaded in C++ and some compiler have had problems with bad implementation of that,
17:54 Coke branches/codetest is dead and gone.
17:55 dalek lua: 81fcdb3 | fperrad++ |  (4 files):
17:55 dalek lua: refactor PMC with 'provides invokable'
17:55 dalek lua: review: http://github.com/fperrad/lua/commit/81​fcdb3c5b126197d6efe3655c50f407ea634a9a
17:57 Coke effective perler?
17:57 Coke brian d foy?
17:57 purl i guess brian d foy is at mailto:comdog@brian-d-foy.com and is also BRIAN D FOY or at http://www.169th.com/OPFOR/slack.jpg or http://www.brian-d-foy.com/ or BRAIN D. FOY or "No bowling jacket for you!" or "Forbid Any" or "I, of Dry Ban!" or playing GI Joe as of early 2003 or http://use.perl.org/~brian_d_foy/journal/10253 or at http://use.perl.org/~brian_d_foy/journal/15320
17:58 Coke I am annoyed that bdf is using code without attribution.
18:01 mikehh In the book or on his blog?
18:10 sorear whose code?
18:10 purl i guess whose code is online.
18:16 plobsing NotFound_gf: replacing all instances of fabs() with Parrot_fabs() (operates on FLOATVALs) causes test failures
19:30 dalek rakudo: 87e0e1b | moritz++ | src/Perl6/Actions.pm:
19:30 dalek rakudo: enable calling a fully qualified enum key
19:31 dalek rakudo: review: http://github.com/rakudo/rakudo/commit/8​7e0e1babad36010d1ab9cba88f8b49a8ff1f629
20:21 LoganLK joined #parrot
20:23 fperrad_ joined #parrot
20:34 dalek parrot: r46715 | fperrad++ | trunk/runtime/parrot/library/LWP.pir:
20:34 dalek parrot: [LWP] complete progress()
20:34 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46715/
20:38 cotto fperrad++ on the lwp stuff
20:42 cotto particle1, ping
21:07 dalek parrot: r46716 | fperrad++ | trunk (2 files):
21:07 dalek parrot: [LWP] add an example: get.pir
21:07 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46716/
21:17 cotto msg particle Do you know what http://trac.parrot.org/parrot/ticket/1049 is about?
21:17 purl Message for particle stored.
21:43 GeJ Good morning everyone.
21:44 cotto happy monday, GeJ
21:50 bacek ~~
21:56 dalek parrot: r46717 | fperrad++ | trunk/runtime/parrot/library (2 files):
21:56 dalek parrot: [LWP] improve (& fix) GET http
21:56 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46717/
21:56 dalek parrot: r46718 | cotto++ | trunk/lib/Parrot/OpsRenumber.pm:
21:56 dalek parrot: [opsrenumber] minor simplification, no functional changes (even in the rare case when this script is run)
21:56 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46718/
21:56 mikehh joined #parrot
22:07 bacek seen pmichaud
22:07 purl pmichaud was last seen on #parrot 6 hours, 31 minutes and 29 seconds ago, saying: and the first line is "#! nqp"
22:08 sorear bacek: pmichaud was last seen in #perl6 7 minutes ago
22:08 pmichaud here for a bit, yes.
22:08 bacek sorear, thanks
22:09 bacek pmichaud, If I replace PAST::Block.symtable with OrderedHash than I can implement multis in NQP in about 20 lines of code.
22:09 bacek Any objections?
22:09 pmichaud I'd like to see a patch.
22:09 bacek I'll create separate branch in nqp than
22:09 pmichaud seems to me that multimethod information might belong on the parameter nodes anyway
22:10 pmichaud and in the case of Rakudo, MMD information really belongs orthogonal to the parameters, because rakudo uses :capture
22:10 bacek Parameter nodes are just PAST::Vars?
22:10 pmichaud so I'm not sure that the symbol table is the correct place to be holding MMD information
22:10 pmichaud bacek: yes
22:11 pmichaud but overall I've found that things are much cleaner when mmd information can be separated from parameter information
22:11 bacek pmichaud, $BLOCKINIT?
22:12 pmichaud no
22:12 pmichaud I think I'd prefer one or both of
22:12 pmichaud (1)  a .multi attribute on PAST::Block
22:12 pmichaud (2)  automatically constructing multi information from attributes on PAST::Var with :scope<parameter>
22:12 davidfetter joined #parrot
22:13 bacek I thinking about (2)
22:13 bacek (And this is reason to switch symtable to OrderedHash)
22:13 pmichaud why is tht?
22:13 bacek To preserve order?
22:13 pmichaud I mean, what does that have to do with the symtable?
22:13 pmichaud order already exists in the parameter nodes
22:14 pmichaud don't need the symtable to do that
22:14 bacek Ah... Yes.
22:14 bacek Even easier :)
22:14 bacek What about adding .type to PAST::Var for storing type info?
22:15 bacek Or use .vivibase?
22:15 pmichaud no, not vivibase
22:15 pmichaud vivibase can be much more complex than a type
22:16 pmichaud I think it should be .multi or .multitype
22:16 pmichaud again, assuming that the type being used for mmd dispatch could be different from the actual type of the parameter
22:16 pmichaud for example, the following is valid in Parrot
22:17 pmichaud .sub 'foo' :multi(XYZ)
22:17 pmichaud .param string abc
22:17 bacek yes.
22:17 pmichaud note that abc is a 'string', but mmd uses XYZ
22:18 bacek Ok. I'll implement first version in nqp using just hashes and then we can propagate it into PCT for proper encapsulation/handling.
22:19 pmichaud so, I think that .type on PAST::Var should be reserved for the type of the variable, with something else used to indicate the type for mmd dispatch
22:19 pmichaud maybe .paramtype is better
22:19 pmichaud anyway, I'll happily review draft code and say what I like or don't like
22:19 bacek Deal :)
22:19 patspam joined #parrot
22:20 bacek Later tonight. $dayjob is waiting for me...
22:20 pmichaud sure, I need to review sorear++'s stuff first anyway :)
22:29 cotto can a PAST be frozen and thawed to/from a file correctly?
22:29 sorear it's just a tree structure
22:29 sorear PAST::Json would be a great addition to the toolchain
22:30 sorear I don't know how to operate our bytecode serializer, so I don't know if that would work
22:30 pmichaud we've played with the idea of freezing/restoring to json or yaml, but still needs some work.
22:32 szabgab joined #parrot
22:45 dalek parrot: r46719 | fperrad++ | trunk (5 files):
22:45 dalek parrot: [LWP] some fix
22:45 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46719/
22:48 fperrad_ joined #parrot
22:58 Psyche^ joined #parrot
22:59 tcurtis joined #parrot
23:01 dalek parrot: r46720 | fperrad++ | trunk/runtime/parrot/library/LWP.pir:
23:01 dalek parrot: [LWP] cleanup
23:01 dalek parrot: review: http://trac.parrot.org/parrot/changeset/46720/
23:03 snarkyboojum joined #parrot
23:21 Coke mikehh: it was on his blog. the JAPHS there with the camel and no punctuation. (both are from wikipedia)
23:21 Coke s/no/all/
23:27 mikehh Coke: yes I saw that, just wondering, I have the book on order
23:29 mikehh just waiting for the book from cromatic
23:31 mikehh chromatic
23:55 kid51 joined #parrot

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

Parrot | source cross referenced